From f263a21e91056ef2e6ca615f28b74d2db2b4d5a4 Mon Sep 17 00:00:00 2001 From: gmfe4code Date: Mon, 10 Jan 2022 08:53:22 +0000 Subject: [PATCH] build docs --- .github/workflows/doc.yml | 43 - .storybook/babel.config.js | 7 - .storybook/less.less | 12 - .storybook/main.js | 109 --- .storybook/manager.js | 22 - .storybook/preview.js | 51 -- docs/0.40df3915.iframe.bundle.js | 1 + docs/0.5afb4d792e1636aad917.manager.bundle.js | 1 + docs/4.2721a6b439dcf025b61e.manager.bundle.js | 2 + ...39dcf025b61e.manager.bundle.js.LICENSE.txt | 8 + docs/4.3c6b4f9a.iframe.bundle.js | 3 + docs/4.3c6b4f9a.iframe.bundle.js.LICENSE.txt | 8 + docs/4.3c6b4f9a.iframe.bundle.js.map | 1 + docs/5.6c56b178.iframe.bundle.js | 1 + docs/5.b3a3fb4b3c95767d4aed.manager.bundle.js | 1 + docs/6.a265ea9e3402e296737a.manager.bundle.js | 2 + ...3402e296737a.manager.bundle.js.LICENSE.txt | 12 + docs/6.fee4dc21.iframe.bundle.js | 3 + docs/6.fee4dc21.iframe.bundle.js.LICENSE.txt | 12 + docs/6.fee4dc21.iframe.bundle.js.map | 1 + docs/7.ba55e9a2.iframe.bundle.js | 1 + docs/7.f09a30805ead77882513.manager.bundle.js | 1 + docs/8.938d827bad27c34de18b.manager.bundle.js | 1 + docs/favicon.ico | Bin 0 -> 32988 bytes docs/iframe.html | 133 ++++ docs/index.html | 55 ++ ...ain.8440a17218f1c18493b1.manager.bundle.js | 1 + docs/main.a806b955.iframe.bundle.js | 1 + ...ain.6bb37869d18fa74486b8.manager.bundle.js | 1 + docs/runtime~main.84aa0c63.iframe.bundle.js | 1 + .../static/media/empty.27cba24e.png | Bin .../static/media/error.67fdfbff.png | Bin .../static/media/error.931db96b.png | Bin .../static/media/gm-mobile-icons.09b195f7.svg | 0 .../media/gm-mobile-icons.12a6537e.woff | Bin .../media/gm-mobile-icons.55c803a6.woff2 | Bin .../static/media/gm-mobile-icons.7aac0541.ttf | Bin .../static/media/gm-mobile-icons.cb6c567c.eot | Bin .../static/media/iconfont.529bb6db.woff | Bin .../static/media/iconfont.5e0f0c3a.ttf | Bin .../static/media/iconfont.b51e4253.woff2 | Bin .../static/media/loading.575e01fc.gif | Bin .../static/media/placeholder.d056357f.png | Bin docs/vendors~main.0f7a831c.iframe.bundle.js | 3 + ...main.0f7a831c.iframe.bundle.js.LICENSE.txt | 102 +++ ...vendors~main.0f7a831c.iframe.bundle.js.map | 1 + ...ain.44381a6c01d1637dbdf0.manager.bundle.js | 2 + ...01d1637dbdf0.manager.bundle.js.LICENSE.txt | 88 +++ packages/business/package.json | 32 - .../src/component/product_selection/bottom.js | 50 -- .../src/component/product_selection/index.js | 82 -- .../product_selection/selected_list.js | 67 -- .../component/product_selection/stories.js | 46 -- .../component/product_selection/style.less | 116 --- .../src/component/signature/bottom.js | 44 -- .../business/src/component/signature/edit.js | 89 --- .../business/src/component/signature/index.js | 46 -- .../src/component/signature/stories.js | 31 - .../business/src/component/signature/view.js | 33 - packages/business/src/index.js | 10 - packages/business/src/index.less | 8 - packages/business/yarn.lock | 44 -- packages/c-business/README.md | 0 packages/c-business/package.json | 34 - .../src/component/coupon/coupon.tsx | 174 ----- .../c-business/src/component/coupon/index.ts | 5 - .../src/component/coupon/received_coupon.tsx | 66 -- .../src/component/coupon/stories.tsx | 147 ---- .../src/component/coupon/style.less | 326 -------- .../c-business/src/component/coupon/types.ts | 60 -- .../tab_date_select/get_screen_height.ts | 5 - .../get_screen_height.weapp.ts | 8 - .../src/component/tab_date_select/index.ts | 2 - .../src/component/tab_date_select/stories.tsx | 85 -- .../src/component/tab_date_select/style.less | 11 - .../tab_date_select/tab_date_select.tsx | 208 ----- .../src/component/tab_date_select/types.ts | 54 -- packages/c-business/src/index.less | 6 - packages/c-business/src/index.ts | 2 - packages/c-cookie/README.md | 0 packages/c-cookie/index.d.ts | 7 - packages/c-cookie/package.json | 30 - packages/c-cookie/src/cookie.ts | 15 - packages/c-cookie/src/cookie.weapp.ts | 28 - packages/c-cookie/src/index.ts | 3 - packages/c-cookie/src/stories.tsx | 41 - packages/c-font/README.md | 0 packages/c-font/fonts/_font-preview.html | 177 ----- packages/c-font/fonts/font.css | 111 --- packages/c-font/fonts/fonts.js | 141 ---- packages/c-font/index.less | 1 - packages/c-font/package.json | 23 - packages/c-font/stories.tsx | 37 - packages/c-font/svg/angle-left.svg | 1 - packages/c-font/svg/angle-right.svg | 1 - packages/c-font/svg/arrow-down.svg | 7 - packages/c-font/svg/arrow-triangle.svg | 14 - packages/c-font/svg/cart.svg | 11 - packages/c-font/svg/close-circle.svg | 1 - packages/c-font/svg/delete.svg | 1 - packages/c-font/svg/down-small.svg | 1 - packages/c-font/svg/down-up-circle.svg | 7 - packages/c-font/svg/expired.svg | 42 - packages/c-font/svg/info-circle.svg | 1 - packages/c-font/svg/keyboard_del.svg | 5 - packages/c-font/svg/loading.svg | 14 - packages/c-font/svg/minus-circle.svg | 1 - packages/c-font/svg/minus.svg | 1 - packages/c-font/svg/password-close.svg | 5 - packages/c-font/svg/password-open.svg | 6 - packages/c-font/svg/plus-circle.svg | 1 - packages/c-font/svg/plus.svg | 1 - packages/c-font/svg/remove.svg | 1 - packages/c-font/svg/search.svg | 1 - packages/c-font/svg/success-circle.svg | 1 - packages/c-font/svg/warning.svg | 1 - packages/c-qrcode/index.d.ts | 13 - packages/c-qrcode/package.json | 30 - packages/c-qrcode/src/index.ts | 2 - packages/c-qrcode/src/qrcode.tsx | 14 - packages/c-qrcode/src/qrcode.weapp.tsx | 38 - packages/c-qrcode/src/stories.tsx | 11 - packages/c-qrcode/src/type.ts | 14 - packages/c-qrcode/yarn.lock | 28 - packages/c-react/README.md | 0 packages/c-react/package.json | 36 - .../component/action_sheet/action_sheet.tsx | 90 --- .../src/component/action_sheet/index.ts | 2 - .../component/action_sheet/index.weapp.tsx | 24 - .../src/component/action_sheet/stories.tsx | 65 -- .../src/component/action_sheet/type.ts | 29 - .../c-react/src/component/badge/badge.tsx | 54 -- packages/c-react/src/component/badge/index.ts | 2 - .../c-react/src/component/badge/stories.tsx | 34 - .../c-react/src/component/badge/style.less | 45 -- .../c-react/src/component/button/base.tsx | 10 - .../src/component/button/base.weapp.tsx | 3 - .../c-react/src/component/button/button.tsx | 83 -- .../src/component/button/button_time.tsx | 64 -- .../c-react/src/component/button/index.ts | 6 - .../c-react/src/component/button/stories.tsx | 124 --- .../c-react/src/component/button/style.less | 136 ---- .../c-react/src/component/button/types.ts | 37 - .../c-react/src/component/calendar/base.tsx | 117 --- .../src/component/calendar/calendar.tsx | 28 - .../c-react/src/component/calendar/day.tsx | 129 --- .../c-react/src/component/calendar/index.ts | 10 - .../c-react/src/component/calendar/month.tsx | 108 --- .../src/component/calendar/months_list.tsx | 96 --- .../component/calendar/multiple_calendar.tsx | 11 - .../src/component/calendar/range_calendar.tsx | 29 - .../src/component/calendar/stories.tsx | 78 -- .../c-react/src/component/calendar/style.less | 104 --- .../c-react/src/component/calendar/types.ts | 83 -- .../c-react/src/component/calendar/util.ts | 9 - packages/c-react/src/component/cell/cell.tsx | 56 -- .../c-react/src/component/cell/cell_form.tsx | 39 - packages/c-react/src/component/cell/cells.tsx | 31 - .../c-react/src/component/cell/cells_form.tsx | 11 - packages/c-react/src/component/cell/index.ts | 11 - .../c-react/src/component/cell/stories.tsx | 286 ------- .../c-react/src/component/cell/style.less | 111 --- packages/c-react/src/component/cell/types.ts | 35 - .../src/component/checkbox/checkbox.tsx | 56 -- .../c-react/src/component/checkbox/index.ts | 2 - .../src/component/checkbox/stories.tsx | 67 -- .../c-react/src/component/checkbox/style.less | 68 -- .../component/custom_tabbar/custom_tabbar.tsx | 7 - .../custom_tabbar/custom_tabbar.weapp.tsx | 32 - .../src/component/custom_tabbar/index.ts | 1 - .../src/component/date_selector/container.tsx | 44 -- .../component/date_selector/date_selector.tsx | 50 -- .../src/component/date_selector/day.tsx | 136 ---- .../src/component/date_selector/index.ts | 2 - .../src/component/date_selector/stories.tsx | 62 -- .../src/component/date_selector/style.less | 95 --- .../src/component/date_selector/types.ts | 33 - .../src/component/dialog/common/base.less | 3 - .../src/component/dialog/common/base.tsx | 112 --- .../src/component/dialog/common/choose.less | 7 - .../dialog/common/choose.stories.tsx | 58 -- .../src/component/dialog/common/choose.tsx | 102 --- .../c-react/src/component/dialog/dialog.tsx | 227 ------ .../c-react/src/component/dialog/index.ts | 4 - .../c-react/src/component/dialog/input.tsx | 8 - .../src/component/dialog/input.weapp.tsx | 14 - .../c-react/src/component/dialog/stories.tsx | 266 ------- .../c-react/src/component/dialog/style.less | 69 -- .../c-react/src/component/dialog/types.ts | 67 -- .../src/component/digital_keyboard/Base.tsx | 164 ---- .../src/component/digital_keyboard/Btn.ts | 20 - .../src/component/digital_keyboard/base.less | 49 -- .../digital_keyboard/font/iconfont.css | 19 - .../digital_keyboard/font/iconfont.js | 1 - .../digital_keyboard/font/iconfont.json | 16 - .../src/component/digital_keyboard/index.tsx | 234 ------ .../component/digital_keyboard/stories.tsx | 303 -------- .../c-react/src/component/divider/divider.tsx | 17 - .../c-react/src/component/divider/index.ts | 1 - .../c-react/src/component/divider/stories.tsx | 10 - .../c-react/src/component/divider/style.less | 11 - .../src/component/draggable/draggable.tsx | 232 ------ .../c-react/src/component/draggable/index.ts | 1 - .../src/component/draggable/stories.tsx | 37 - .../c-react/src/component/error/error.tsx | 23 - packages/c-react/src/component/error/index.ts | 1 - .../c-react/src/component/error/style.less | 42 - packages/c-react/src/component/error/types.ts | 5 - packages/c-react/src/component/flex/flex.tsx | 103 --- packages/c-react/src/component/flex/index.ts | 2 - .../c-react/src/component/flex/stories.tsx | 20 - .../c-react/src/component/flex/style.less | 105 --- packages/c-react/src/component/flex/types.ts | 33 - .../c-react/src/component/form/context.tsx | 12 - packages/c-react/src/component/form/form.tsx | 124 --- packages/c-react/src/component/form/index.ts | 8 - .../src/component/form/items/index.tsx | 88 --- .../c-react/src/component/form/items/utils.ts | 32 - .../c-react/src/component/form/stories.tsx | 233 ------ .../src/component/inner_layer/index.ts | 2 - .../src/component/inner_layer/inner_layer.tsx | 40 - .../src/component/inner_layer/stories.tsx | 34 - .../src/component/inner_layer/style.less | 3 - .../src/component/inner_layer/types.ts | 8 - packages/c-react/src/component/input/index.ts | 7 - .../c-react/src/component/input/input.tsx | 26 - .../src/component/input/input.weapp.tsx | 37 - .../src/component/input/input_max_length.tsx | 19 - .../src/component/input/input_password.tsx | 30 - .../c-react/src/component/input/stories.tsx | 78 -- .../c-react/src/component/input/style.less | 58 -- packages/c-react/src/component/input/type.ts | 40 - packages/c-react/src/component/label/index.ts | 2 - .../c-react/src/component/label/label.tsx | 29 - .../c-react/src/component/label/stories.tsx | 32 - .../c-react/src/component/label/style.less | 31 - .../src/component/layout_root/get_path.ts | 3 - .../component/layout_root/get_path.weapp.ts | 7 - .../src/component/layout_root/index.ts | 2 - .../src/component/layout_root/layout_root.tsx | 117 --- .../component/layout_root/layout_root_v1.tsx | 136 ---- .../src/component/layout_root/types.ts | 55 -- .../c-react/src/component/loading/index.ts | 2 - .../c-react/src/component/loading/loading.svg | 15 - .../c-react/src/component/loading/loading.tsx | 297 ------- .../src/component/loading/loading.weapp.tsx | 30 - .../src/component/loading/loading2.svg | 15 - .../c-react/src/component/loading/stories.tsx | 14 - .../c-react/src/component/loading/style.less | 21 - packages/c-react/src/component/mask/index.ts | 2 - packages/c-react/src/component/mask/mask.tsx | 23 - .../c-react/src/component/mask/stories.tsx | 44 -- .../c-react/src/component/mask/style.less | 9 - packages/c-react/src/component/nav/index.ts | 2 - packages/c-react/src/component/nav/nav.tsx | 62 -- .../c-react/src/component/nav/stories.tsx | 104 --- packages/c-react/src/component/nav/style.less | 78 -- packages/c-react/src/component/nav/types.ts | 14 - .../src/component/nomore_loading/base.tsx | 6 - .../component/nomore_loading/base.weapp.tsx | 3 - .../src/component/nomore_loading/index.ts | 2 - .../nomore_loading/no_more_loading.tsx | 45 -- .../src/component/nomore_loading/stories.tsx | 12 - packages/c-react/src/component/page/index.ts | 2 - packages/c-react/src/component/page/page.tsx | 78 -- .../c-react/src/component/page/stories.tsx | 56 -- .../c-react/src/component/page/style.less | 42 - packages/c-react/src/component/panel/index.ts | 2 - .../c-react/src/component/panel/panel.tsx | 51 -- .../c-react/src/component/panel/stories.tsx | 54 -- .../c-react/src/component/panel/style.less | 27 - packages/c-react/src/component/panel/types.ts | 14 - .../picker/component/coupling_picker.tsx | 103 --- .../src/component/picker/component/picker.tsx | 65 -- .../picker/component/picker_column.tsx | 204 ----- .../picker/component/picker_column.weapp.tsx | 184 ----- .../src/component/picker/component/types.ts | 59 -- .../picker/confirm_coupling_picker.tsx | 86 -- .../src/component/picker/confirm_picker.tsx | 86 -- .../c-react/src/component/picker/index.ts | 14 - .../src/component/picker/picker_v1.tsx | 105 --- .../src/component/picker/select_picker.tsx | 37 - .../c-react/src/component/picker/statics.tsx | 29 - .../c-react/src/component/picker/stories.tsx | 284 ------- .../c-react/src/component/picker/style.less | 74 -- .../c-react/src/component/picker/types.ts | 78 -- packages/c-react/src/component/popup/index.ts | 3 - .../c-react/src/component/popup/popup.tsx | 103 --- .../c-react/src/component/popup/popup_v1.tsx | 140 ---- .../c-react/src/component/popup/stories.tsx | 199 ----- .../c-react/src/component/popup/style.less | 72 -- packages/c-react/src/component/popup/types.ts | 56 -- packages/c-react/src/component/price/index.ts | 2 - .../c-react/src/component/price/price.tsx | 110 --- .../c-react/src/component/price/storage.ts | 5 - .../src/component/price/storage.weapp.ts | 5 - .../c-react/src/component/price/stories.tsx | 44 -- packages/c-react/src/component/price/types.ts | 36 - packages/c-react/src/component/price/util.ts | 49 -- packages/c-react/src/component/radio/index.ts | 2 - .../c-react/src/component/radio/radio.tsx | 39 - .../c-react/src/component/radio/stories.tsx | 28 - .../c-react/src/component/radio/style.less | 33 - packages/c-react/src/component/radio/types.ts | 9 - .../src/component/repeat_times/index.ts | 2 - .../component/repeat_times/repeat_times.tsx | 37 - .../src/component/repeat_times/stories.tsx | 20 - .../src/component/repeat_times/types.ts | 6 - .../src/component/scroll_into_view/index.ts | 2 - .../scroll_into_view/scroll_into_view.tsx | 22 - .../scroll_into_view.weapp.tsx | 26 - .../component/scroll_into_view/stories.tsx | 40 - .../src/component/scroll_into_view/types.ts | 13 - .../src/component/search/fake_search.tsx | 40 - .../c-react/src/component/search/index.ts | 6 - .../c-react/src/component/search/page.tsx | 37 - .../c-react/src/component/search/search.tsx | 82 -- .../src/component/search/search.weapp.tsx | 81 -- .../c-react/src/component/search/stories.tsx | 146 ---- .../c-react/src/component/search/style.less | 52 -- packages/c-react/src/component/search/type.ts | 34 - .../c-react/src/component/square/index.ts | 2 - .../c-react/src/component/square/square.tsx | 19 - .../c-react/src/component/square/stories.tsx | 17 - .../c-react/src/component/square/style.less | 15 - .../c-react/src/component/square/types.ts | 5 - .../c-react/src/component/status/index.ts | 2 - .../c-react/src/component/status/status.tsx | 62 -- .../c-react/src/component/status/stories.tsx | 23 - .../c-react/src/component/status/types.ts | 10 - .../c-react/src/component/switch/Switch.tsx | 34 - .../c-react/src/component/switch/index.ts | 2 - .../c-react/src/component/switch/stories.tsx | 43 - .../c-react/src/component/switch/style.less | 48 -- .../c-react/src/component/switch/types.ts | 9 - packages/c-react/src/component/tabs/index.ts | 2 - .../c-react/src/component/tabs/stories.tsx | 53 -- .../c-react/src/component/tabs/style.less | 75 -- packages/c-react/src/component/tabs/tabs.tsx | 41 - packages/c-react/src/component/tabs/types.ts | 12 - .../c-react/src/component/tag_wrap/index.ts | 2 - .../src/component/tag_wrap/stories.tsx | 25 - .../c-react/src/component/tag_wrap/style.less | 36 - .../src/component/tag_wrap/tag_wrap.tsx | 41 - packages/c-react/src/component/text/index.ts | 4 - packages/c-react/src/component/text/text.tsx | 10 - .../c-react/src/component/text/text.weapp.tsx | 3 - .../src/component/text_field/TextField.tsx | 323 -------- .../c-react/src/component/text_field/index.ts | 2 - .../src/component/text_field/stories.tsx | 120 --- .../src/component/text_field/style.less | 157 ---- .../c-react/src/component/text_field/types.ts | 72 -- .../c-react/src/component/textarea/base.tsx | 12 - .../src/component/textarea/base.weapp.tsx | 25 - .../c-react/src/component/textarea/index.ts | 2 - .../src/component/textarea/stories.tsx | 35 - .../c-react/src/component/textarea/style.less | 28 - .../src/component/textarea/textarea.tsx | 43 - .../c-react/src/component/textarea/types.ts | 23 - packages/c-react/src/component/toast/index.ts | 2 - .../c-react/src/component/toast/stories.tsx | 42 - .../c-react/src/component/toast/style.less | 33 - .../c-react/src/component/toast/toast.tsx | 89 --- packages/c-react/src/component/toast/types.ts | 26 - .../c-react/src/component/tooltip/index.ts | 2 - .../c-react/src/component/tooltip/stories.tsx | 16 - .../c-react/src/component/tooltip/tooltip.tsx | 40 - .../c-react/src/component/v_list/index.ts | 3 - .../c-react/src/component/v_list/stories.tsx | 51 -- .../c-react/src/component/v_list/types.ts | 36 - .../c-react/src/component/v_list/v_list.tsx | 160 ---- packages/c-react/src/component/view/index.ts | 4 - packages/c-react/src/component/view/view.tsx | 10 - .../c-react/src/component/view/view.weapp.tsx | 3 - packages/c-react/src/event_type.ts | 7 - packages/c-react/src/hooks/index.ts | 1 - packages/c-react/src/hooks/use_form/index.ts | 2 - .../c-react/src/hooks/use_form/use_form.ts | 150 ---- packages/c-react/src/hooks/use_form/utils.ts | 23 - packages/c-react/src/index.less | 58 -- packages/c-react/src/index.ts | 45 -- packages/c-react/src/less/animation.less | 167 ---- packages/c-react/src/less/base.less | 66 -- packages/c-react/src/less/bg.less | 71 -- packages/c-react/src/less/border.less | 119 --- packages/c-react/src/less/button.less | 120 --- packages/c-react/src/less/display.less | 15 - packages/c-react/src/less/distance.less | 88 --- packages/c-react/src/less/ellipsis.less | 17 - packages/c-react/src/less/lineheight.less | 19 - packages/c-react/src/less/mixin.less | 199 ----- packages/c-react/src/less/opacity.less | 15 - packages/c-react/src/less/overflow.less | 17 - packages/c-react/src/less/position.less | 15 - packages/c-react/src/less/shadow.less | 9 - packages/c-react/src/less/text.less | 128 --- packages/c-react/src/less/variable.less | 117 --- packages/c-react/src/theme/dark.less | 30 - packages/c-react/src/theme/jd.less | 14 - packages/c-react/src/theme/taobao.less | 14 - packages/c-react/src/types.ts | 8 - .../src/utils/get_record_partical_object.ts | 4 - packages/c-react/src/utils/index.ts | 2 - packages/c-react/src/utils/utils.ts | 28 - packages/c-service-time/README.md | 0 packages/c-service-time/package.json | 31 - .../src/component/service_time_picker/enum.ts | 11 - .../component/service_time_picker/index.ts | 7 - .../multi_order_receive_time_picker.tsx | 206 ----- .../receive_time_picker.tsx | 226 ------ .../component/service_time_picker/statics.tsx | 22 - .../component/service_time_picker/stories.tsx | 49 -- .../component/service_time_picker/types.ts | 27 - .../component/service_time_picker/utils.ts | 281 ------- packages/c-service-time/src/index.ts | 1 - packages/c-tool/README.md | 0 packages/c-tool/package.json | 29 - packages/c-tool/src/events/event.ts | 26 - packages/c-tool/src/events/event.weapp.ts | 29 - packages/c-tool/src/events/index.ts | 3 - packages/c-tool/src/events/stories.tsx | 49 -- packages/c-tool/src/get_char_length.ts | 6 - packages/c-tool/src/group_by_with_index.ts | 11 - packages/c-tool/src/index.ts | 21 - packages/c-tool/src/is.stories.tsx | 40 - packages/c-tool/src/is.ts | 38 - packages/c-tool/src/pinyin.ts | 733 ------------------ packages/c-tool/src/storage_factory/index.ts | 94 --- packages/c-tool/src/uuid.ts | 56 -- packages/c-tool/src/warn.ts | 24 - packages/c-tool/yarn.lock | 8 - packages/locales/index.d.ts | 7 - packages/locales/package.json | 23 - packages/locales/src/index.js | 26 - packages/locales/src/lng/en.json | 39 - packages/locales/src/lng/th.json | 39 - packages/locales/src/lng/ug.json | 39 - packages/locales/src/lng/zh-HK.json | 39 - packages/locales/src/lng/zh.json | 1 - packages/locales/src/stories.js | 28 - packages/mp-business/README.md | 0 packages/mp-business/package.json | 26 - packages/mp-business/src/index.less | 2 - packages/mp-business/src/index.ts | 1 - packages/mp-request/README.md | 22 - packages/mp-request/package.json | 33 - packages/mp-request/src/config_error.ts | 95 --- packages/mp-request/src/config_headers.ts | 22 - packages/mp-request/src/config_progress.ts | 23 - packages/mp-request/src/config_trace.ts | 93 --- packages/mp-request/src/index.ts | 20 - packages/mp-request/src/init.ts | 50 -- packages/mp-request/src/request.ts | 70 -- packages/mp-request/src/types.ts | 14 - packages/mp-request/src/util.ts | 168 ---- packages/mp-request/yarn.lock | 8 - packages/mp/package.json | 36 - packages/mp/src/component/counter/counter.tsx | 198 ----- packages/mp/src/component/counter/index.ts | 2 - packages/mp/src/component/counter/stories.tsx | 92 --- packages/mp/src/component/counter/style.less | 56 -- packages/mp/src/component/image/image.tsx | 95 --- packages/mp/src/component/image/index.ts | 2 - packages/mp/src/component/image/stories.tsx | 142 ---- packages/mp/src/component/image/style.less | 3 - packages/mp/src/component/page/base.less | 10 - packages/mp/src/component/page/base.tsx | 105 --- packages/mp/src/component/page/index.ts | 2 - packages/mp/src/component/page/page.tsx | 115 --- .../mp/src/component/safe_bottom/index.ts | 1 - .../src/component/safe_bottom/safe_bottom.tsx | 27 - .../mp/src/component/safe_header/index.ts | 2 - .../src/component/safe_header/safe_header.tsx | 35 - packages/mp/src/component/status_bar/index.ts | 2 - .../src/component/status_bar/status_bar.tsx | 28 - packages/mp/src/component/swiper/index.ts | 7 - packages/mp/src/component/swiper/stories.tsx | 77 -- packages/mp/src/component/swiper/style.less | 42 - .../src/component/swiper/swiper_category.tsx | 59 -- .../mp/src/component/swiper/swiper_img.tsx | 72 -- .../component/swiper/swiper_pagination.tsx | 27 - packages/mp/src/component/swiper/types.ts | 25 - packages/mp/src/hook/use_first_did_show.ts | 19 - packages/mp/src/index.less | 9 - packages/mp/src/index.ts | 17 - packages/mp/src/router/index.ts | 236 ------ packages/mp/src/router/stories.tsx | 130 ---- packages/mp/src/storage/index.ts | 5 - packages/mp/src/storage/stories.tsx | 66 -- packages/mp/src/uploader/index.ts | 84 -- packages/mp/src/uploader/stories.tsx | 56 -- packages/mp/src/util.ts | 27 - packages/react/package.json | 35 - packages/react/src/classname_stories.tsx | 18 - .../react/src/component/canvas/canvas.tsx | 173 ----- packages/react/src/component/canvas/index.ts | 2 - .../react/src/component/canvas/stories.tsx | 11 - packages/react/src/component/canvas/types.ts | 18 - .../react/src/component/counter/counter.tsx | 148 ---- packages/react/src/component/counter/index.ts | 2 - .../react/src/component/counter/stories.tsx | 67 -- .../react/src/component/counter/style.less | 73 -- .../react/src/component/flip_number/index.js | 203 ----- .../src/component/flip_number/stories.js | 11 - .../react/src/component/flip_number/utils.js | 43 - .../form_scroll_into_view.tsx | 38 - .../component/form_scroll_into_view/index.ts | 1 - .../form_scroll_into_view/stories.tsx | 31 - .../react/src/component/header/header.tsx | 52 -- packages/react/src/component/header/index.ts | 2 - .../react/src/component/header/stories.tsx | 20 - .../react/src/component/header/style.less | 4 - packages/react/src/component/image/image.tsx | 88 --- packages/react/src/component/image/index.ts | 2 - .../react/src/component/image/placeholder.png | Bin 1989 -> 0 bytes .../react/src/component/image/stories.tsx | 69 -- packages/react/src/component/image/style.less | 17 - .../react/src/component/keyboard/_keyboard.js | 51 -- packages/react/src/component/keyboard/box.js | 48 -- .../react/src/component/keyboard/index.js | 5 - .../react/src/component/keyboard/keyboard.js | 212 ----- .../react/src/component/keyboard/statics.js | 98 --- .../react/src/component/keyboard/stories.js | 58 -- .../react/src/component/keyboard/style.less | 102 --- packages/react/src/component/keyboard/util.js | 66 -- packages/react/src/component/keyboard/wrap.js | 65 -- packages/react/src/component/lazy/index.ts | 11 - packages/react/src/component/lazy/item.tsx | 20 - packages/react/src/component/lazy/lazy.tsx | 58 -- .../react/src/component/lazy/lazy_list.tsx | 68 -- packages/react/src/component/lazy/stories.tsx | 62 -- packages/react/src/component/lazy/types.ts | 53 -- .../react/src/component/letter_index/index.js | 4 - .../src/component/letter_index/letter.js | 92 --- .../component/letter_index/letter_index.js | 68 -- .../letter_index/letter_index_multiple.js | 67 -- .../src/component/letter_index/stories.js | 64 -- .../src/component/letter_index/style.less | 55 -- .../react/src/component/letter_index/util.js | 44 -- packages/react/src/component/list/base.js | 146 ---- packages/react/src/component/list/index.js | 74 -- packages/react/src/component/list/stories.js | 85 -- packages/react/src/component/list/style.less | 42 - .../react/src/component/nprogress/index.js | 78 -- .../react/src/component/nprogress/stories.js | 26 - .../react/src/component/nprogress/style.less | 20 - .../react/src/component/progress_bar/index.ts | 2 - .../component/progress_bar/progress_bar.tsx | 44 -- .../src/component/progress_bar/stories.tsx | 16 - .../src/component/progress_bar/style.less | 43 - .../react/src/component/pull_up_down/base.js | 93 --- .../react/src/component/pull_up_down/hook.js | 168 ---- .../react/src/component/pull_up_down/index.js | 63 -- .../src/component/pull_up_down/stories.js | 57 -- packages/react/src/component/scroll/index.ts | 2 - .../react/src/component/scroll/scroll.tsx | 141 ---- .../react/src/component/scroll/stories.tsx | 86 -- .../react/src/component/scroll/style.less | 4 - packages/react/src/component/scroll/types.ts | 24 - .../src/component/tab_bar/flow_btn_tab_bar.js | 76 -- packages/react/src/component/tab_bar/index.js | 5 - packages/react/src/component/tab_bar/item.js | 65 -- .../react/src/component/tab_bar/stories.js | 96 --- .../react/src/component/tab_bar/style.less | 47 -- .../react/src/component/tab_bar/tab_bar.js | 46 -- .../react/src/component/uploader/index.ts | 2 - .../react/src/component/uploader/stories.tsx | 37 - .../react/src/component/uploader/style.less | 31 - .../react/src/component/uploader/types.ts | 16 - .../react/src/component/uploader/uploader.tsx | 62 -- packages/react/src/css_variable.js | 45 -- packages/react/src/css_variable.stories.js | 33 - packages/react/src/event_type.js | 8 - packages/react/src/index.less | 34 - packages/react/src/index.ts | 62 -- packages/react/src/normalize.css | 349 --------- packages/react/src/storage/index.js | 7 - packages/react/src/storage/stories.js | 66 -- packages/swiper/README.md | 0 packages/swiper/package.json | 31 - packages/swiper/src/index.less | 47 -- packages/swiper/src/index.ts | 11 - packages/swiper/src/preview_image/index.tsx | 84 -- packages/swiper/src/preview_image/stories.tsx | 52 -- packages/swiper/src/preview_image/style.less | 26 - packages/swiper/src/stories.tsx | 76 -- packages/swiper/src/swiper_category.tsx | 44 -- packages/swiper/src/swiper_img.tsx | 72 -- packages/swiper/src/types.ts | 31 - 589 files changed, 447 insertions(+), 27322 deletions(-) delete mode 100644 .github/workflows/doc.yml delete mode 100644 .storybook/babel.config.js delete mode 100644 .storybook/less.less delete mode 100644 .storybook/main.js delete mode 100644 .storybook/manager.js delete mode 100644 .storybook/preview.js create mode 100644 docs/0.40df3915.iframe.bundle.js create mode 100644 docs/0.5afb4d792e1636aad917.manager.bundle.js create mode 100644 docs/4.2721a6b439dcf025b61e.manager.bundle.js create mode 100644 docs/4.2721a6b439dcf025b61e.manager.bundle.js.LICENSE.txt create mode 100644 docs/4.3c6b4f9a.iframe.bundle.js create mode 100644 docs/4.3c6b4f9a.iframe.bundle.js.LICENSE.txt create mode 100644 docs/4.3c6b4f9a.iframe.bundle.js.map create mode 100644 docs/5.6c56b178.iframe.bundle.js create mode 100644 docs/5.b3a3fb4b3c95767d4aed.manager.bundle.js create mode 100644 docs/6.a265ea9e3402e296737a.manager.bundle.js create mode 100644 docs/6.a265ea9e3402e296737a.manager.bundle.js.LICENSE.txt create mode 100644 docs/6.fee4dc21.iframe.bundle.js create mode 100644 docs/6.fee4dc21.iframe.bundle.js.LICENSE.txt create mode 100644 docs/6.fee4dc21.iframe.bundle.js.map create mode 100644 docs/7.ba55e9a2.iframe.bundle.js create mode 100644 docs/7.f09a30805ead77882513.manager.bundle.js create mode 100644 docs/8.938d827bad27c34de18b.manager.bundle.js create mode 100644 docs/favicon.ico create mode 100644 docs/iframe.html create mode 100644 docs/index.html create mode 100644 docs/main.8440a17218f1c18493b1.manager.bundle.js create mode 100644 docs/main.a806b955.iframe.bundle.js create mode 100644 docs/runtime~main.6bb37869d18fa74486b8.manager.bundle.js create mode 100644 docs/runtime~main.84aa0c63.iframe.bundle.js rename packages/c-react/src/component/status/empty.png => docs/static/media/empty.27cba24e.png (100%) rename packages/mp/src/component/image/error.png => docs/static/media/error.67fdfbff.png (100%) rename packages/react/src/component/image/error.png => docs/static/media/error.931db96b.png (100%) rename packages/c-font/fonts/gm-mobile-icons.svg => docs/static/media/gm-mobile-icons.09b195f7.svg (100%) rename packages/c-font/fonts/gm-mobile-icons.woff => docs/static/media/gm-mobile-icons.12a6537e.woff (100%) rename packages/c-font/fonts/gm-mobile-icons.woff2 => docs/static/media/gm-mobile-icons.55c803a6.woff2 (100%) rename packages/c-font/fonts/gm-mobile-icons.ttf => docs/static/media/gm-mobile-icons.7aac0541.ttf (100%) rename packages/c-font/fonts/gm-mobile-icons.eot => docs/static/media/gm-mobile-icons.cb6c567c.eot (100%) rename packages/c-react/src/component/digital_keyboard/font/iconfont.woff => docs/static/media/iconfont.529bb6db.woff (100%) rename packages/c-react/src/component/digital_keyboard/font/iconfont.ttf => docs/static/media/iconfont.5e0f0c3a.ttf (100%) rename packages/c-react/src/component/digital_keyboard/font/iconfont.woff2 => docs/static/media/iconfont.b51e4253.woff2 (100%) rename packages/c-react/src/component/nomore_loading/assets/loading.gif => docs/static/media/loading.575e01fc.gif (100%) rename packages/mp/src/component/image/placeholder.png => docs/static/media/placeholder.d056357f.png (100%) create mode 100644 docs/vendors~main.0f7a831c.iframe.bundle.js create mode 100644 docs/vendors~main.0f7a831c.iframe.bundle.js.LICENSE.txt create mode 100644 docs/vendors~main.0f7a831c.iframe.bundle.js.map create mode 100644 docs/vendors~main.44381a6c01d1637dbdf0.manager.bundle.js create mode 100644 docs/vendors~main.44381a6c01d1637dbdf0.manager.bundle.js.LICENSE.txt delete mode 100644 packages/business/package.json delete mode 100644 packages/business/src/component/product_selection/bottom.js delete mode 100644 packages/business/src/component/product_selection/index.js delete mode 100644 packages/business/src/component/product_selection/selected_list.js delete mode 100644 packages/business/src/component/product_selection/stories.js delete mode 100644 packages/business/src/component/product_selection/style.less delete mode 100644 packages/business/src/component/signature/bottom.js delete mode 100644 packages/business/src/component/signature/edit.js delete mode 100644 packages/business/src/component/signature/index.js delete mode 100644 packages/business/src/component/signature/stories.js delete mode 100644 packages/business/src/component/signature/view.js delete mode 100644 packages/business/src/index.js delete mode 100644 packages/business/src/index.less delete mode 100644 packages/business/yarn.lock delete mode 100644 packages/c-business/README.md delete mode 100644 packages/c-business/package.json delete mode 100644 packages/c-business/src/component/coupon/coupon.tsx delete mode 100644 packages/c-business/src/component/coupon/index.ts delete mode 100644 packages/c-business/src/component/coupon/received_coupon.tsx delete mode 100644 packages/c-business/src/component/coupon/stories.tsx delete mode 100644 packages/c-business/src/component/coupon/style.less delete mode 100644 packages/c-business/src/component/coupon/types.ts delete mode 100644 packages/c-business/src/component/tab_date_select/get_screen_height.ts delete mode 100644 packages/c-business/src/component/tab_date_select/get_screen_height.weapp.ts delete mode 100644 packages/c-business/src/component/tab_date_select/index.ts delete mode 100644 packages/c-business/src/component/tab_date_select/stories.tsx delete mode 100644 packages/c-business/src/component/tab_date_select/style.less delete mode 100644 packages/c-business/src/component/tab_date_select/tab_date_select.tsx delete mode 100644 packages/c-business/src/component/tab_date_select/types.ts delete mode 100644 packages/c-business/src/index.less delete mode 100644 packages/c-business/src/index.ts delete mode 100644 packages/c-cookie/README.md delete mode 100644 packages/c-cookie/index.d.ts delete mode 100644 packages/c-cookie/package.json delete mode 100644 packages/c-cookie/src/cookie.ts delete mode 100644 packages/c-cookie/src/cookie.weapp.ts delete mode 100644 packages/c-cookie/src/index.ts delete mode 100644 packages/c-cookie/src/stories.tsx delete mode 100644 packages/c-font/README.md delete mode 100644 packages/c-font/fonts/_font-preview.html delete mode 100644 packages/c-font/fonts/font.css delete mode 100644 packages/c-font/fonts/fonts.js delete mode 100644 packages/c-font/index.less delete mode 100644 packages/c-font/package.json delete mode 100644 packages/c-font/stories.tsx delete mode 100644 packages/c-font/svg/angle-left.svg delete mode 100644 packages/c-font/svg/angle-right.svg delete mode 100644 packages/c-font/svg/arrow-down.svg delete mode 100644 packages/c-font/svg/arrow-triangle.svg delete mode 100644 packages/c-font/svg/cart.svg delete mode 100644 packages/c-font/svg/close-circle.svg delete mode 100644 packages/c-font/svg/delete.svg delete mode 100644 packages/c-font/svg/down-small.svg delete mode 100644 packages/c-font/svg/down-up-circle.svg delete mode 100644 packages/c-font/svg/expired.svg delete mode 100644 packages/c-font/svg/info-circle.svg delete mode 100644 packages/c-font/svg/keyboard_del.svg delete mode 100644 packages/c-font/svg/loading.svg delete mode 100644 packages/c-font/svg/minus-circle.svg delete mode 100644 packages/c-font/svg/minus.svg delete mode 100644 packages/c-font/svg/password-close.svg delete mode 100644 packages/c-font/svg/password-open.svg delete mode 100644 packages/c-font/svg/plus-circle.svg delete mode 100644 packages/c-font/svg/plus.svg delete mode 100644 packages/c-font/svg/remove.svg delete mode 100644 packages/c-font/svg/search.svg delete mode 100644 packages/c-font/svg/success-circle.svg delete mode 100644 packages/c-font/svg/warning.svg delete mode 100644 packages/c-qrcode/index.d.ts delete mode 100644 packages/c-qrcode/package.json delete mode 100644 packages/c-qrcode/src/index.ts delete mode 100644 packages/c-qrcode/src/qrcode.tsx delete mode 100644 packages/c-qrcode/src/qrcode.weapp.tsx delete mode 100644 packages/c-qrcode/src/stories.tsx delete mode 100644 packages/c-qrcode/src/type.ts delete mode 100644 packages/c-qrcode/yarn.lock delete mode 100644 packages/c-react/README.md delete mode 100644 packages/c-react/package.json delete mode 100644 packages/c-react/src/component/action_sheet/action_sheet.tsx delete mode 100644 packages/c-react/src/component/action_sheet/index.ts delete mode 100644 packages/c-react/src/component/action_sheet/index.weapp.tsx delete mode 100644 packages/c-react/src/component/action_sheet/stories.tsx delete mode 100644 packages/c-react/src/component/action_sheet/type.ts delete mode 100644 packages/c-react/src/component/badge/badge.tsx delete mode 100644 packages/c-react/src/component/badge/index.ts delete mode 100644 packages/c-react/src/component/badge/stories.tsx delete mode 100644 packages/c-react/src/component/badge/style.less delete mode 100644 packages/c-react/src/component/button/base.tsx delete mode 100644 packages/c-react/src/component/button/base.weapp.tsx delete mode 100644 packages/c-react/src/component/button/button.tsx delete mode 100644 packages/c-react/src/component/button/button_time.tsx delete mode 100644 packages/c-react/src/component/button/index.ts delete mode 100644 packages/c-react/src/component/button/stories.tsx delete mode 100644 packages/c-react/src/component/button/style.less delete mode 100644 packages/c-react/src/component/button/types.ts delete mode 100644 packages/c-react/src/component/calendar/base.tsx delete mode 100644 packages/c-react/src/component/calendar/calendar.tsx delete mode 100644 packages/c-react/src/component/calendar/day.tsx delete mode 100644 packages/c-react/src/component/calendar/index.ts delete mode 100644 packages/c-react/src/component/calendar/month.tsx delete mode 100644 packages/c-react/src/component/calendar/months_list.tsx delete mode 100644 packages/c-react/src/component/calendar/multiple_calendar.tsx delete mode 100644 packages/c-react/src/component/calendar/range_calendar.tsx delete mode 100644 packages/c-react/src/component/calendar/stories.tsx delete mode 100644 packages/c-react/src/component/calendar/style.less delete mode 100644 packages/c-react/src/component/calendar/types.ts delete mode 100644 packages/c-react/src/component/calendar/util.ts delete mode 100644 packages/c-react/src/component/cell/cell.tsx delete mode 100644 packages/c-react/src/component/cell/cell_form.tsx delete mode 100644 packages/c-react/src/component/cell/cells.tsx delete mode 100644 packages/c-react/src/component/cell/cells_form.tsx delete mode 100644 packages/c-react/src/component/cell/index.ts delete mode 100644 packages/c-react/src/component/cell/stories.tsx delete mode 100644 packages/c-react/src/component/cell/style.less delete mode 100644 packages/c-react/src/component/cell/types.ts delete mode 100644 packages/c-react/src/component/checkbox/checkbox.tsx delete mode 100644 packages/c-react/src/component/checkbox/index.ts delete mode 100644 packages/c-react/src/component/checkbox/stories.tsx delete mode 100644 packages/c-react/src/component/checkbox/style.less delete mode 100644 packages/c-react/src/component/custom_tabbar/custom_tabbar.tsx delete mode 100644 packages/c-react/src/component/custom_tabbar/custom_tabbar.weapp.tsx delete mode 100644 packages/c-react/src/component/custom_tabbar/index.ts delete mode 100644 packages/c-react/src/component/date_selector/container.tsx delete mode 100644 packages/c-react/src/component/date_selector/date_selector.tsx delete mode 100644 packages/c-react/src/component/date_selector/day.tsx delete mode 100644 packages/c-react/src/component/date_selector/index.ts delete mode 100644 packages/c-react/src/component/date_selector/stories.tsx delete mode 100644 packages/c-react/src/component/date_selector/style.less delete mode 100644 packages/c-react/src/component/date_selector/types.ts delete mode 100644 packages/c-react/src/component/dialog/common/base.less delete mode 100644 packages/c-react/src/component/dialog/common/base.tsx delete mode 100644 packages/c-react/src/component/dialog/common/choose.less delete mode 100644 packages/c-react/src/component/dialog/common/choose.stories.tsx delete mode 100644 packages/c-react/src/component/dialog/common/choose.tsx delete mode 100644 packages/c-react/src/component/dialog/dialog.tsx delete mode 100644 packages/c-react/src/component/dialog/index.ts delete mode 100644 packages/c-react/src/component/dialog/input.tsx delete mode 100644 packages/c-react/src/component/dialog/input.weapp.tsx delete mode 100644 packages/c-react/src/component/dialog/stories.tsx delete mode 100644 packages/c-react/src/component/dialog/style.less delete mode 100644 packages/c-react/src/component/dialog/types.ts delete mode 100644 packages/c-react/src/component/digital_keyboard/Base.tsx delete mode 100644 packages/c-react/src/component/digital_keyboard/Btn.ts delete mode 100644 packages/c-react/src/component/digital_keyboard/base.less delete mode 100644 packages/c-react/src/component/digital_keyboard/font/iconfont.css delete mode 100644 packages/c-react/src/component/digital_keyboard/font/iconfont.js delete mode 100644 packages/c-react/src/component/digital_keyboard/font/iconfont.json delete mode 100644 packages/c-react/src/component/digital_keyboard/index.tsx delete mode 100644 packages/c-react/src/component/digital_keyboard/stories.tsx delete mode 100644 packages/c-react/src/component/divider/divider.tsx delete mode 100644 packages/c-react/src/component/divider/index.ts delete mode 100644 packages/c-react/src/component/divider/stories.tsx delete mode 100644 packages/c-react/src/component/divider/style.less delete mode 100644 packages/c-react/src/component/draggable/draggable.tsx delete mode 100644 packages/c-react/src/component/draggable/index.ts delete mode 100644 packages/c-react/src/component/draggable/stories.tsx delete mode 100644 packages/c-react/src/component/error/error.tsx delete mode 100644 packages/c-react/src/component/error/index.ts delete mode 100644 packages/c-react/src/component/error/style.less delete mode 100644 packages/c-react/src/component/error/types.ts delete mode 100644 packages/c-react/src/component/flex/flex.tsx delete mode 100644 packages/c-react/src/component/flex/index.ts delete mode 100644 packages/c-react/src/component/flex/stories.tsx delete mode 100644 packages/c-react/src/component/flex/style.less delete mode 100644 packages/c-react/src/component/flex/types.ts delete mode 100644 packages/c-react/src/component/form/context.tsx delete mode 100644 packages/c-react/src/component/form/form.tsx delete mode 100644 packages/c-react/src/component/form/index.ts delete mode 100644 packages/c-react/src/component/form/items/index.tsx delete mode 100644 packages/c-react/src/component/form/items/utils.ts delete mode 100644 packages/c-react/src/component/form/stories.tsx delete mode 100644 packages/c-react/src/component/inner_layer/index.ts delete mode 100644 packages/c-react/src/component/inner_layer/inner_layer.tsx delete mode 100644 packages/c-react/src/component/inner_layer/stories.tsx delete mode 100644 packages/c-react/src/component/inner_layer/style.less delete mode 100644 packages/c-react/src/component/inner_layer/types.ts delete mode 100644 packages/c-react/src/component/input/index.ts delete mode 100644 packages/c-react/src/component/input/input.tsx delete mode 100644 packages/c-react/src/component/input/input.weapp.tsx delete mode 100644 packages/c-react/src/component/input/input_max_length.tsx delete mode 100644 packages/c-react/src/component/input/input_password.tsx delete mode 100644 packages/c-react/src/component/input/stories.tsx delete mode 100644 packages/c-react/src/component/input/style.less delete mode 100644 packages/c-react/src/component/input/type.ts delete mode 100644 packages/c-react/src/component/label/index.ts delete mode 100644 packages/c-react/src/component/label/label.tsx delete mode 100644 packages/c-react/src/component/label/stories.tsx delete mode 100644 packages/c-react/src/component/label/style.less delete mode 100644 packages/c-react/src/component/layout_root/get_path.ts delete mode 100644 packages/c-react/src/component/layout_root/get_path.weapp.ts delete mode 100644 packages/c-react/src/component/layout_root/index.ts delete mode 100644 packages/c-react/src/component/layout_root/layout_root.tsx delete mode 100644 packages/c-react/src/component/layout_root/layout_root_v1.tsx delete mode 100644 packages/c-react/src/component/layout_root/types.ts delete mode 100644 packages/c-react/src/component/loading/index.ts delete mode 100644 packages/c-react/src/component/loading/loading.svg delete mode 100644 packages/c-react/src/component/loading/loading.tsx delete mode 100644 packages/c-react/src/component/loading/loading.weapp.tsx delete mode 100644 packages/c-react/src/component/loading/loading2.svg delete mode 100644 packages/c-react/src/component/loading/stories.tsx delete mode 100644 packages/c-react/src/component/loading/style.less delete mode 100644 packages/c-react/src/component/mask/index.ts delete mode 100644 packages/c-react/src/component/mask/mask.tsx delete mode 100644 packages/c-react/src/component/mask/stories.tsx delete mode 100644 packages/c-react/src/component/mask/style.less delete mode 100644 packages/c-react/src/component/nav/index.ts delete mode 100644 packages/c-react/src/component/nav/nav.tsx delete mode 100644 packages/c-react/src/component/nav/stories.tsx delete mode 100644 packages/c-react/src/component/nav/style.less delete mode 100644 packages/c-react/src/component/nav/types.ts delete mode 100644 packages/c-react/src/component/nomore_loading/base.tsx delete mode 100644 packages/c-react/src/component/nomore_loading/base.weapp.tsx delete mode 100644 packages/c-react/src/component/nomore_loading/index.ts delete mode 100644 packages/c-react/src/component/nomore_loading/no_more_loading.tsx delete mode 100644 packages/c-react/src/component/nomore_loading/stories.tsx delete mode 100644 packages/c-react/src/component/page/index.ts delete mode 100644 packages/c-react/src/component/page/page.tsx delete mode 100644 packages/c-react/src/component/page/stories.tsx delete mode 100644 packages/c-react/src/component/page/style.less delete mode 100644 packages/c-react/src/component/panel/index.ts delete mode 100644 packages/c-react/src/component/panel/panel.tsx delete mode 100644 packages/c-react/src/component/panel/stories.tsx delete mode 100644 packages/c-react/src/component/panel/style.less delete mode 100644 packages/c-react/src/component/panel/types.ts delete mode 100644 packages/c-react/src/component/picker/component/coupling_picker.tsx delete mode 100644 packages/c-react/src/component/picker/component/picker.tsx delete mode 100644 packages/c-react/src/component/picker/component/picker_column.tsx delete mode 100644 packages/c-react/src/component/picker/component/picker_column.weapp.tsx delete mode 100644 packages/c-react/src/component/picker/component/types.ts delete mode 100644 packages/c-react/src/component/picker/confirm_coupling_picker.tsx delete mode 100644 packages/c-react/src/component/picker/confirm_picker.tsx delete mode 100644 packages/c-react/src/component/picker/index.ts delete mode 100644 packages/c-react/src/component/picker/picker_v1.tsx delete mode 100644 packages/c-react/src/component/picker/select_picker.tsx delete mode 100644 packages/c-react/src/component/picker/statics.tsx delete mode 100644 packages/c-react/src/component/picker/stories.tsx delete mode 100644 packages/c-react/src/component/picker/style.less delete mode 100644 packages/c-react/src/component/picker/types.ts delete mode 100644 packages/c-react/src/component/popup/index.ts delete mode 100644 packages/c-react/src/component/popup/popup.tsx delete mode 100644 packages/c-react/src/component/popup/popup_v1.tsx delete mode 100644 packages/c-react/src/component/popup/stories.tsx delete mode 100644 packages/c-react/src/component/popup/style.less delete mode 100644 packages/c-react/src/component/popup/types.ts delete mode 100644 packages/c-react/src/component/price/index.ts delete mode 100644 packages/c-react/src/component/price/price.tsx delete mode 100644 packages/c-react/src/component/price/storage.ts delete mode 100644 packages/c-react/src/component/price/storage.weapp.ts delete mode 100644 packages/c-react/src/component/price/stories.tsx delete mode 100644 packages/c-react/src/component/price/types.ts delete mode 100644 packages/c-react/src/component/price/util.ts delete mode 100644 packages/c-react/src/component/radio/index.ts delete mode 100644 packages/c-react/src/component/radio/radio.tsx delete mode 100644 packages/c-react/src/component/radio/stories.tsx delete mode 100644 packages/c-react/src/component/radio/style.less delete mode 100644 packages/c-react/src/component/radio/types.ts delete mode 100644 packages/c-react/src/component/repeat_times/index.ts delete mode 100644 packages/c-react/src/component/repeat_times/repeat_times.tsx delete mode 100644 packages/c-react/src/component/repeat_times/stories.tsx delete mode 100644 packages/c-react/src/component/repeat_times/types.ts delete mode 100644 packages/c-react/src/component/scroll_into_view/index.ts delete mode 100644 packages/c-react/src/component/scroll_into_view/scroll_into_view.tsx delete mode 100644 packages/c-react/src/component/scroll_into_view/scroll_into_view.weapp.tsx delete mode 100644 packages/c-react/src/component/scroll_into_view/stories.tsx delete mode 100644 packages/c-react/src/component/scroll_into_view/types.ts delete mode 100644 packages/c-react/src/component/search/fake_search.tsx delete mode 100644 packages/c-react/src/component/search/index.ts delete mode 100644 packages/c-react/src/component/search/page.tsx delete mode 100644 packages/c-react/src/component/search/search.tsx delete mode 100644 packages/c-react/src/component/search/search.weapp.tsx delete mode 100644 packages/c-react/src/component/search/stories.tsx delete mode 100644 packages/c-react/src/component/search/style.less delete mode 100644 packages/c-react/src/component/search/type.ts delete mode 100644 packages/c-react/src/component/square/index.ts delete mode 100644 packages/c-react/src/component/square/square.tsx delete mode 100644 packages/c-react/src/component/square/stories.tsx delete mode 100644 packages/c-react/src/component/square/style.less delete mode 100644 packages/c-react/src/component/square/types.ts delete mode 100644 packages/c-react/src/component/status/index.ts delete mode 100644 packages/c-react/src/component/status/status.tsx delete mode 100644 packages/c-react/src/component/status/stories.tsx delete mode 100644 packages/c-react/src/component/status/types.ts delete mode 100644 packages/c-react/src/component/switch/Switch.tsx delete mode 100644 packages/c-react/src/component/switch/index.ts delete mode 100644 packages/c-react/src/component/switch/stories.tsx delete mode 100644 packages/c-react/src/component/switch/style.less delete mode 100644 packages/c-react/src/component/switch/types.ts delete mode 100644 packages/c-react/src/component/tabs/index.ts delete mode 100644 packages/c-react/src/component/tabs/stories.tsx delete mode 100644 packages/c-react/src/component/tabs/style.less delete mode 100644 packages/c-react/src/component/tabs/tabs.tsx delete mode 100644 packages/c-react/src/component/tabs/types.ts delete mode 100644 packages/c-react/src/component/tag_wrap/index.ts delete mode 100644 packages/c-react/src/component/tag_wrap/stories.tsx delete mode 100644 packages/c-react/src/component/tag_wrap/style.less delete mode 100644 packages/c-react/src/component/tag_wrap/tag_wrap.tsx delete mode 100644 packages/c-react/src/component/text/index.ts delete mode 100644 packages/c-react/src/component/text/text.tsx delete mode 100644 packages/c-react/src/component/text/text.weapp.tsx delete mode 100644 packages/c-react/src/component/text_field/TextField.tsx delete mode 100644 packages/c-react/src/component/text_field/index.ts delete mode 100644 packages/c-react/src/component/text_field/stories.tsx delete mode 100644 packages/c-react/src/component/text_field/style.less delete mode 100644 packages/c-react/src/component/text_field/types.ts delete mode 100644 packages/c-react/src/component/textarea/base.tsx delete mode 100644 packages/c-react/src/component/textarea/base.weapp.tsx delete mode 100644 packages/c-react/src/component/textarea/index.ts delete mode 100644 packages/c-react/src/component/textarea/stories.tsx delete mode 100644 packages/c-react/src/component/textarea/style.less delete mode 100644 packages/c-react/src/component/textarea/textarea.tsx delete mode 100644 packages/c-react/src/component/textarea/types.ts delete mode 100644 packages/c-react/src/component/toast/index.ts delete mode 100644 packages/c-react/src/component/toast/stories.tsx delete mode 100644 packages/c-react/src/component/toast/style.less delete mode 100644 packages/c-react/src/component/toast/toast.tsx delete mode 100644 packages/c-react/src/component/toast/types.ts delete mode 100644 packages/c-react/src/component/tooltip/index.ts delete mode 100644 packages/c-react/src/component/tooltip/stories.tsx delete mode 100644 packages/c-react/src/component/tooltip/tooltip.tsx delete mode 100644 packages/c-react/src/component/v_list/index.ts delete mode 100644 packages/c-react/src/component/v_list/stories.tsx delete mode 100644 packages/c-react/src/component/v_list/types.ts delete mode 100644 packages/c-react/src/component/v_list/v_list.tsx delete mode 100644 packages/c-react/src/component/view/index.ts delete mode 100644 packages/c-react/src/component/view/view.tsx delete mode 100644 packages/c-react/src/component/view/view.weapp.tsx delete mode 100644 packages/c-react/src/event_type.ts delete mode 100644 packages/c-react/src/hooks/index.ts delete mode 100644 packages/c-react/src/hooks/use_form/index.ts delete mode 100644 packages/c-react/src/hooks/use_form/use_form.ts delete mode 100644 packages/c-react/src/hooks/use_form/utils.ts delete mode 100644 packages/c-react/src/index.less delete mode 100644 packages/c-react/src/index.ts delete mode 100644 packages/c-react/src/less/animation.less delete mode 100644 packages/c-react/src/less/base.less delete mode 100644 packages/c-react/src/less/bg.less delete mode 100644 packages/c-react/src/less/border.less delete mode 100644 packages/c-react/src/less/button.less delete mode 100644 packages/c-react/src/less/display.less delete mode 100644 packages/c-react/src/less/distance.less delete mode 100644 packages/c-react/src/less/ellipsis.less delete mode 100644 packages/c-react/src/less/lineheight.less delete mode 100644 packages/c-react/src/less/mixin.less delete mode 100644 packages/c-react/src/less/opacity.less delete mode 100644 packages/c-react/src/less/overflow.less delete mode 100644 packages/c-react/src/less/position.less delete mode 100644 packages/c-react/src/less/shadow.less delete mode 100644 packages/c-react/src/less/text.less delete mode 100644 packages/c-react/src/less/variable.less delete mode 100644 packages/c-react/src/theme/dark.less delete mode 100644 packages/c-react/src/theme/jd.less delete mode 100644 packages/c-react/src/theme/taobao.less delete mode 100644 packages/c-react/src/types.ts delete mode 100644 packages/c-react/src/utils/get_record_partical_object.ts delete mode 100644 packages/c-react/src/utils/index.ts delete mode 100644 packages/c-react/src/utils/utils.ts delete mode 100644 packages/c-service-time/README.md delete mode 100644 packages/c-service-time/package.json delete mode 100644 packages/c-service-time/src/component/service_time_picker/enum.ts delete mode 100644 packages/c-service-time/src/component/service_time_picker/index.ts delete mode 100644 packages/c-service-time/src/component/service_time_picker/multi_order_receive_time_picker.tsx delete mode 100644 packages/c-service-time/src/component/service_time_picker/receive_time_picker.tsx delete mode 100644 packages/c-service-time/src/component/service_time_picker/statics.tsx delete mode 100644 packages/c-service-time/src/component/service_time_picker/stories.tsx delete mode 100644 packages/c-service-time/src/component/service_time_picker/types.ts delete mode 100644 packages/c-service-time/src/component/service_time_picker/utils.ts delete mode 100644 packages/c-service-time/src/index.ts delete mode 100644 packages/c-tool/README.md delete mode 100644 packages/c-tool/package.json delete mode 100644 packages/c-tool/src/events/event.ts delete mode 100644 packages/c-tool/src/events/event.weapp.ts delete mode 100644 packages/c-tool/src/events/index.ts delete mode 100644 packages/c-tool/src/events/stories.tsx delete mode 100644 packages/c-tool/src/get_char_length.ts delete mode 100644 packages/c-tool/src/group_by_with_index.ts delete mode 100644 packages/c-tool/src/index.ts delete mode 100644 packages/c-tool/src/is.stories.tsx delete mode 100644 packages/c-tool/src/is.ts delete mode 100644 packages/c-tool/src/pinyin.ts delete mode 100644 packages/c-tool/src/storage_factory/index.ts delete mode 100644 packages/c-tool/src/uuid.ts delete mode 100644 packages/c-tool/src/warn.ts delete mode 100644 packages/c-tool/yarn.lock delete mode 100644 packages/locales/index.d.ts delete mode 100644 packages/locales/package.json delete mode 100644 packages/locales/src/index.js delete mode 100644 packages/locales/src/lng/en.json delete mode 100644 packages/locales/src/lng/th.json delete mode 100644 packages/locales/src/lng/ug.json delete mode 100644 packages/locales/src/lng/zh-HK.json delete mode 100644 packages/locales/src/lng/zh.json delete mode 100644 packages/locales/src/stories.js delete mode 100644 packages/mp-business/README.md delete mode 100644 packages/mp-business/package.json delete mode 100644 packages/mp-business/src/index.less delete mode 100644 packages/mp-business/src/index.ts delete mode 100644 packages/mp-request/README.md delete mode 100644 packages/mp-request/package.json delete mode 100644 packages/mp-request/src/config_error.ts delete mode 100644 packages/mp-request/src/config_headers.ts delete mode 100644 packages/mp-request/src/config_progress.ts delete mode 100644 packages/mp-request/src/config_trace.ts delete mode 100644 packages/mp-request/src/index.ts delete mode 100644 packages/mp-request/src/init.ts delete mode 100644 packages/mp-request/src/request.ts delete mode 100644 packages/mp-request/src/types.ts delete mode 100644 packages/mp-request/src/util.ts delete mode 100644 packages/mp-request/yarn.lock delete mode 100644 packages/mp/package.json delete mode 100644 packages/mp/src/component/counter/counter.tsx delete mode 100644 packages/mp/src/component/counter/index.ts delete mode 100644 packages/mp/src/component/counter/stories.tsx delete mode 100644 packages/mp/src/component/counter/style.less delete mode 100644 packages/mp/src/component/image/image.tsx delete mode 100644 packages/mp/src/component/image/index.ts delete mode 100644 packages/mp/src/component/image/stories.tsx delete mode 100644 packages/mp/src/component/image/style.less delete mode 100644 packages/mp/src/component/page/base.less delete mode 100644 packages/mp/src/component/page/base.tsx delete mode 100644 packages/mp/src/component/page/index.ts delete mode 100644 packages/mp/src/component/page/page.tsx delete mode 100644 packages/mp/src/component/safe_bottom/index.ts delete mode 100644 packages/mp/src/component/safe_bottom/safe_bottom.tsx delete mode 100644 packages/mp/src/component/safe_header/index.ts delete mode 100644 packages/mp/src/component/safe_header/safe_header.tsx delete mode 100644 packages/mp/src/component/status_bar/index.ts delete mode 100644 packages/mp/src/component/status_bar/status_bar.tsx delete mode 100644 packages/mp/src/component/swiper/index.ts delete mode 100644 packages/mp/src/component/swiper/stories.tsx delete mode 100644 packages/mp/src/component/swiper/style.less delete mode 100644 packages/mp/src/component/swiper/swiper_category.tsx delete mode 100644 packages/mp/src/component/swiper/swiper_img.tsx delete mode 100644 packages/mp/src/component/swiper/swiper_pagination.tsx delete mode 100644 packages/mp/src/component/swiper/types.ts delete mode 100644 packages/mp/src/hook/use_first_did_show.ts delete mode 100644 packages/mp/src/index.less delete mode 100644 packages/mp/src/index.ts delete mode 100644 packages/mp/src/router/index.ts delete mode 100644 packages/mp/src/router/stories.tsx delete mode 100644 packages/mp/src/storage/index.ts delete mode 100644 packages/mp/src/storage/stories.tsx delete mode 100644 packages/mp/src/uploader/index.ts delete mode 100644 packages/mp/src/uploader/stories.tsx delete mode 100644 packages/mp/src/util.ts delete mode 100644 packages/react/package.json delete mode 100644 packages/react/src/classname_stories.tsx delete mode 100644 packages/react/src/component/canvas/canvas.tsx delete mode 100644 packages/react/src/component/canvas/index.ts delete mode 100644 packages/react/src/component/canvas/stories.tsx delete mode 100644 packages/react/src/component/canvas/types.ts delete mode 100644 packages/react/src/component/counter/counter.tsx delete mode 100644 packages/react/src/component/counter/index.ts delete mode 100644 packages/react/src/component/counter/stories.tsx delete mode 100644 packages/react/src/component/counter/style.less delete mode 100644 packages/react/src/component/flip_number/index.js delete mode 100644 packages/react/src/component/flip_number/stories.js delete mode 100644 packages/react/src/component/flip_number/utils.js delete mode 100644 packages/react/src/component/form_scroll_into_view/form_scroll_into_view.tsx delete mode 100644 packages/react/src/component/form_scroll_into_view/index.ts delete mode 100644 packages/react/src/component/form_scroll_into_view/stories.tsx delete mode 100644 packages/react/src/component/header/header.tsx delete mode 100644 packages/react/src/component/header/index.ts delete mode 100644 packages/react/src/component/header/stories.tsx delete mode 100644 packages/react/src/component/header/style.less delete mode 100644 packages/react/src/component/image/image.tsx delete mode 100644 packages/react/src/component/image/index.ts delete mode 100644 packages/react/src/component/image/placeholder.png delete mode 100644 packages/react/src/component/image/stories.tsx delete mode 100644 packages/react/src/component/image/style.less delete mode 100644 packages/react/src/component/keyboard/_keyboard.js delete mode 100644 packages/react/src/component/keyboard/box.js delete mode 100644 packages/react/src/component/keyboard/index.js delete mode 100644 packages/react/src/component/keyboard/keyboard.js delete mode 100644 packages/react/src/component/keyboard/statics.js delete mode 100644 packages/react/src/component/keyboard/stories.js delete mode 100644 packages/react/src/component/keyboard/style.less delete mode 100644 packages/react/src/component/keyboard/util.js delete mode 100644 packages/react/src/component/keyboard/wrap.js delete mode 100644 packages/react/src/component/lazy/index.ts delete mode 100644 packages/react/src/component/lazy/item.tsx delete mode 100644 packages/react/src/component/lazy/lazy.tsx delete mode 100644 packages/react/src/component/lazy/lazy_list.tsx delete mode 100644 packages/react/src/component/lazy/stories.tsx delete mode 100644 packages/react/src/component/lazy/types.ts delete mode 100644 packages/react/src/component/letter_index/index.js delete mode 100644 packages/react/src/component/letter_index/letter.js delete mode 100644 packages/react/src/component/letter_index/letter_index.js delete mode 100644 packages/react/src/component/letter_index/letter_index_multiple.js delete mode 100644 packages/react/src/component/letter_index/stories.js delete mode 100644 packages/react/src/component/letter_index/style.less delete mode 100644 packages/react/src/component/letter_index/util.js delete mode 100644 packages/react/src/component/list/base.js delete mode 100644 packages/react/src/component/list/index.js delete mode 100644 packages/react/src/component/list/stories.js delete mode 100644 packages/react/src/component/list/style.less delete mode 100644 packages/react/src/component/nprogress/index.js delete mode 100644 packages/react/src/component/nprogress/stories.js delete mode 100644 packages/react/src/component/nprogress/style.less delete mode 100644 packages/react/src/component/progress_bar/index.ts delete mode 100644 packages/react/src/component/progress_bar/progress_bar.tsx delete mode 100644 packages/react/src/component/progress_bar/stories.tsx delete mode 100644 packages/react/src/component/progress_bar/style.less delete mode 100644 packages/react/src/component/pull_up_down/base.js delete mode 100644 packages/react/src/component/pull_up_down/hook.js delete mode 100644 packages/react/src/component/pull_up_down/index.js delete mode 100644 packages/react/src/component/pull_up_down/stories.js delete mode 100644 packages/react/src/component/scroll/index.ts delete mode 100644 packages/react/src/component/scroll/scroll.tsx delete mode 100644 packages/react/src/component/scroll/stories.tsx delete mode 100644 packages/react/src/component/scroll/style.less delete mode 100644 packages/react/src/component/scroll/types.ts delete mode 100644 packages/react/src/component/tab_bar/flow_btn_tab_bar.js delete mode 100644 packages/react/src/component/tab_bar/index.js delete mode 100644 packages/react/src/component/tab_bar/item.js delete mode 100644 packages/react/src/component/tab_bar/stories.js delete mode 100644 packages/react/src/component/tab_bar/style.less delete mode 100644 packages/react/src/component/tab_bar/tab_bar.js delete mode 100644 packages/react/src/component/uploader/index.ts delete mode 100644 packages/react/src/component/uploader/stories.tsx delete mode 100644 packages/react/src/component/uploader/style.less delete mode 100644 packages/react/src/component/uploader/types.ts delete mode 100644 packages/react/src/component/uploader/uploader.tsx delete mode 100644 packages/react/src/css_variable.js delete mode 100644 packages/react/src/css_variable.stories.js delete mode 100644 packages/react/src/event_type.js delete mode 100644 packages/react/src/index.less delete mode 100644 packages/react/src/index.ts delete mode 100644 packages/react/src/normalize.css delete mode 100644 packages/react/src/storage/index.js delete mode 100644 packages/react/src/storage/stories.js delete mode 100644 packages/swiper/README.md delete mode 100644 packages/swiper/package.json delete mode 100644 packages/swiper/src/index.less delete mode 100644 packages/swiper/src/index.ts delete mode 100644 packages/swiper/src/preview_image/index.tsx delete mode 100644 packages/swiper/src/preview_image/stories.tsx delete mode 100644 packages/swiper/src/preview_image/style.less delete mode 100644 packages/swiper/src/stories.tsx delete mode 100644 packages/swiper/src/swiper_category.tsx delete mode 100644 packages/swiper/src/swiper_img.tsx delete mode 100644 packages/swiper/src/types.ts diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml deleted file mode 100644 index ddbd7155..00000000 --- a/.github/workflows/doc.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: doc - -# event type(此处我们选择 push,且仅当 push 到 master 分支触发) -on: - push: - branches: - - master - -# 任务列表 -jobs: - # 任务名称 - release: - # 在何种平台执行,可选 windows-latest/ubuntu-latest/macOS-latest 等 - runs-on: ubuntu-latest - - # 为了加速构建,我们使用同一个包含 Node.js 的容器运行所有命令 - container: - image: thonatos/github-actions-nodejs - - # 这里定义了任务运行过程中的各个步骤 - steps: - # 环境 - - run: | - npm -v - node -v - yarn -v - git config --global user.email "gmfe4code@163.com" - git config --global user.name "gmfe4code" - - - run: | - pwd - git clone https://github.com/gmfe/gm-mobile.git - - - run: | - cd gm-mobile - yarn install --ignore-engines - npx lerna bootstrap - npm run build - rm -rf .github && rm -rf .storybook && rm -rf packages - git add --all - git commit -m 'build docs' - ls - git push 'https://gmfe4code:${{secrets.PASSWORD}}@github.com/gmfe/gm-mobile-docs.git' master:master -f diff --git a/.storybook/babel.config.js b/.storybook/babel.config.js deleted file mode 100644 index 4d4a51b1..00000000 --- a/.storybook/babel.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = api => { - api.cache(true) - - return { - presets: ['gm-react-app'] - } -} diff --git a/.storybook/less.less b/.storybook/less.less deleted file mode 100644 index cb7e6a24..00000000 --- a/.storybook/less.less +++ /dev/null @@ -1,12 +0,0 @@ -.m-page { - margin: -1rem; -} -body.m-theme-dark { - background: #232323; - - .info-table, - .info-table td, - .info-table th { - color: rgba(255, 255, 255, 0.8); - } -} diff --git a/.storybook/main.js b/.storybook/main.js deleted file mode 100644 index 695adf31..00000000 --- a/.storybook/main.js +++ /dev/null @@ -1,109 +0,0 @@ -const path = require('path') -const _ = require('lodash') -const webpack = require('webpack') - -const webpackFinal = (config) => { - _.each(config.module.rules, (rule) => { - // if (rule.use && rule.use[0] && rule.use[0].loader) { - // if (rule.use[0].loader.includes('babel-loader')) { - // rule.include.push(/gm-/) - // rule.exclude = function (filepath) { - // return filepath.includes('/node_modules/') - // } - // } - // } - - if (rule.loader && rule.loader.includes('file-loader')) { - rule.test = /\.(ico|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|cur|ani|pdf|svg)(\?.*)?$/ - } - }) - - config.module.rules.push({ - test: /(stories|story)\.(tsx|jsx)?$/, - loader: require.resolve('@storybook/source-loader'), - exclude: [/node_modules/], - enforce: 'pre', - }) - - config.module.rules.push({ - test: /\.less$/, - use: [ - { - loader: 'style-loader', - }, - { - loader: 'css-loader', - }, - { - loader: require.resolve('postcss-loader'), - options: { - postcssOptions: {}, - }, - }, - { - loader: 'less-loader', - }, - ], - }) - - config.module.rules.unshift({ - test: /svg\/(\w|\W)+\.svg$/, - use: [ - { - loader: '@svgr/webpack', - options: { - icon: true, - expandProps: 'start', - svgProps: { - fill: 'currentColor', - className: "{'m-svg-icon ' + (props.className || '')}", - }, - }, - }, - ], - }) - - config.module.rules.push({ - test: /\.tsx?$/, - use: [require.resolve('babel-loader')], - }) - config.resolve.extensions.push('.ts', '.tsx') - - config.plugins.push( - new webpack.DefinePlugin({ - __NAME__: JSON.stringify('none'), - }) - ) - - return config -} - -module.exports = { - addons: [ - '@storybook/addon-docs', - '@storybook/addon-controls', - '@storybook/addon-actions', - '@storybook/addon-links', - '@storybook/addon-essentials', - '@storybook/addon-viewport' - ], - // 枚举,避免识别到tail node_modules 的 stories - // todo: 暂时兼容js和ts - stories: [ - '../packages/c-react/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-business/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/react/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/locales/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/business/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-service-time/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/swiper/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-qrcode/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-cookie/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-tool/src/**/*stories.{tsx,ts,js,mdx}', - '../packages/c-font/**/*stories.{tsx,ts,js,mdx}', - '../packages/mp/**/*stories.{tsx,ts,js,mdx}', - '../other/**/*.stories.{tsx,ts,js,mdx}', - '../other/text_field.stories.mdx', - ], - webpackFinal, -} diff --git a/.storybook/manager.js b/.storybook/manager.js deleted file mode 100644 index bb269cd3..00000000 --- a/.storybook/manager.js +++ /dev/null @@ -1,22 +0,0 @@ -import { addons } from '@storybook/addons' -import { themes } from '@storybook/theming' -import { version } from '../lerna.json' - -let theme = null - -// if ( -// window.matchMedia && -// window.matchMedia('(prefers-color-scheme: dark)').matches -// ) { -// theme = themes.dark -// } else { -// theme = themes.light -// } - -theme = themes.light -theme.brandImage = '' -theme.brandTitle = `gm-mobile ${version}` - -addons.setConfig({ - theme, -}) diff --git a/.storybook/preview.js b/.storybook/preview.js deleted file mode 100644 index d3b2481a..00000000 --- a/.storybook/preview.js +++ /dev/null @@ -1,51 +0,0 @@ -import React from 'react' -import { addDecorator, addParameters } from '@storybook/react' -import { withInfo } from '@storybook/addon-info' -import { LayoutRoot,LayoutRootV1, CSSVariable } from '../packages/react/src' -import { Observer } from 'mobx-react' -import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport' - -import './less.less' -import '../packages/react/src/index.less' -import '../packages/swiper/src/index.less' -import '../packages/business/src/index.less' - -addDecorator((storeFn) => ( - - {() => storeFn()} - - - -)) - -if ( - window.matchMedia && - window.matchMedia('(prefers-color-scheme: dark)').matches -) { - CSSVariable.setTheme(CSSVariable.TYPE.DARK) -} - -export const parameters = { - options: { - showRoots: true, - }, - viewport: { - viewports: { - gm: { - name: 'gm-preview', - styles: { - width: '375px', - height: '600px', - }, - type: 'mobile', - }, - ...INITIAL_VIEWPORTS, - }, - defaultViewport: 'gm', - }, - docs: { - source: { - type: 'auto', - }, - }, -} diff --git a/docs/0.40df3915.iframe.bundle.js b/docs/0.40df3915.iframe.bundle.js new file mode 100644 index 00000000..7e14bfb1 --- /dev/null +++ b/docs/0.40df3915.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1925:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(780),__webpack_require__(1146),__webpack_require__(555),__webpack_require__(782);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(5),global_window=__webpack_require__(9);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect;function getBoundingClientRect(element){var rect=element.getBoundingClientRect();return{width:rect.width,height:rect.height,top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,x:rect.left,y:rect.top}}function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement),isOffsetParentAnElement=isHTMLElement(offsetParent),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;for(var currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",basePlacements=[enums_top,bottom,right,left],variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-start",placement+"-end"])}),[]),enums_placements=[].concat(basePlacements,["auto"]).reduce((function(acc,placement){return acc.concat([placement,placement+"-start",placement+"-end"])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(options){cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options});effectCleanupFns.push(cleanupFn||function noopFn(){})}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case"start":offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case"end":offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets_popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},math_max=Math.max,math_min=Math.min,round=Math.round,unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref3=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(round(x*dpr)/dpr)||0,y:round(round(y*dpr)/dpr)||0}}(offsets):"function"==typeof roundOffsets?roundOffsets(offsets):offsets,_ref3$x=_ref3.x,x=void 0===_ref3$x?0:_ref3$x,_ref3$y=_ref3.y,y=void 0===_ref3$y?0:_ref3$y,hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&(heightProp="scrollHeight",widthProp="scrollWidth"),offsetParent=offsetParent,placement===enums_top&&(sideY=bottom,y-=offsetParent[heightProp]-popperRect.height,y*=gpuAcceleration?1:-1),placement===left&&(sideX=right,x-=offsetParent[widthProp]-popperRect.width,x*=gpuAcceleration?1:-1)}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides);return gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<2?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return"viewport"===clippingParent?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isHTMLElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?"clippingParents":_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?"viewport":_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?"popper":_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext="popper"===elementContext?"reference":"popper",referenceElement=state.elements.reference,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(referenceElement),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect="popper"===elementContext?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if("popper"===elementContext&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[eventListeners,modifiers_popperOffsets,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref4){var state=_ref4.state,options=_ref4.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:gpuAcceleration};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:adaptive,roundOffsets:roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset_offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if("auto"===getBasePlacement(placement))return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat("auto"===getBasePlacement(placement)?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,data={x:0,y:0};if(popperOffsets){if(checkMainAxis||checkAltAxis){var mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=popperOffsets[mainAxis]+overflow[mainSide],max=popperOffsets[mainAxis]-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen="start"===variation?referenceRect[len]:popperRect[len],maxLen="start"===variation?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-tetherOffsetValue:minLen-arrowLen-arrowPaddingMin-tetherOffsetValue,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+tetherOffsetValue:maxLen+arrowLen+arrowPaddingMax+tetherOffsetValue,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=state.modifiersData.offset?state.modifiersData.offset[state.placement][mainAxis]:0,tetherMin=popperOffsets[mainAxis]+minOffset-offsetModifierValue-clientOffset,tetherMax=popperOffsets[mainAxis]+maxOffset-offsetModifierValue;if(checkMainAxis){var preventedOffset=within(tether?math_min(min,tetherMin):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],_preventedOffset=within(tether?math_min(_min,tetherMin):_min,_offset,tether?math_max(_max,tetherMax):_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide_hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__(3268),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(3269),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),_extends({},props,{style:_extends({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:_extends({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=_extends({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&_extends({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,_extends({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,_extends({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(71),__webpack_require__(41),__webpack_require__(36),__webpack_require__(426),__webpack_require__(779),__webpack_require__(1921),__webpack_require__(182)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(252);function Tooltip_extends(){return(Tooltip_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,Tooltip_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,Tooltip_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"},3268:function(module,exports){var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;module.exports=function isEqual(a,b){try{return function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}},3269:function(module,exports,__webpack_require__){"use strict";var warning=function(){};module.exports=warning}}]); \ No newline at end of file diff --git a/docs/0.5afb4d792e1636aad917.manager.bundle.js b/docs/0.5afb4d792e1636aad917.manager.bundle.js new file mode 100644 index 00000000..9fe5daa7 --- /dev/null +++ b/docs/0.5afb4d792e1636aad917.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1582:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(986),__webpack_require__(991),__webpack_require__(426),__webpack_require__(988);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(1),global_window=__webpack_require__(3);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect;function getBoundingClientRect(element){var rect=element.getBoundingClientRect();return{width:rect.width,height:rect.height,top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,x:rect.left,y:rect.top}}function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement),isOffsetParentAnElement=isHTMLElement(offsetParent),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;for(var currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",basePlacements=[enums_top,bottom,right,left],variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-start",placement+"-end"])}),[]),enums_placements=[].concat(basePlacements,["auto"]).reduce((function(acc,placement){return acc.concat([placement,placement+"-start",placement+"-end"])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(options){cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options});effectCleanupFns.push(cleanupFn||function noopFn(){})}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case"start":offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case"end":offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets_popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},math_max=Math.max,math_min=Math.min,round=Math.round,unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref3=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(round(x*dpr)/dpr)||0,y:round(round(y*dpr)/dpr)||0}}(offsets):"function"==typeof roundOffsets?roundOffsets(offsets):offsets,_ref3$x=_ref3.x,x=void 0===_ref3$x?0:_ref3$x,_ref3$y=_ref3.y,y=void 0===_ref3$y?0:_ref3$y,hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&(heightProp="scrollHeight",widthProp="scrollWidth"),offsetParent=offsetParent,placement===enums_top&&(sideY=bottom,y-=offsetParent[heightProp]-popperRect.height,y*=gpuAcceleration?1:-1),placement===left&&(sideX=right,x-=offsetParent[widthProp]-popperRect.width,x*=gpuAcceleration?1:-1)}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides);return gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<2?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return"viewport"===clippingParent?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isHTMLElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?"clippingParents":_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?"viewport":_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?"popper":_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext="popper"===elementContext?"reference":"popper",referenceElement=state.elements.reference,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(referenceElement),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect="popper"===elementContext?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if("popper"===elementContext&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[eventListeners,modifiers_popperOffsets,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref4){var state=_ref4.state,options=_ref4.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:gpuAcceleration};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:adaptive,roundOffsets:roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset_offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if("auto"===getBasePlacement(placement))return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat("auto"===getBasePlacement(placement)?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,data={x:0,y:0};if(popperOffsets){if(checkMainAxis||checkAltAxis){var mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=popperOffsets[mainAxis]+overflow[mainSide],max=popperOffsets[mainAxis]-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen="start"===variation?referenceRect[len]:popperRect[len],maxLen="start"===variation?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-tetherOffsetValue:minLen-arrowLen-arrowPaddingMin-tetherOffsetValue,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+tetherOffsetValue:maxLen+arrowLen+arrowPaddingMax+tetherOffsetValue,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=state.modifiersData.offset?state.modifiersData.offset[state.placement][mainAxis]:0,tetherMin=popperOffsets[mainAxis]+minOffset-offsetModifierValue-clientOffset,tetherMax=popperOffsets[mainAxis]+maxOffset-offsetModifierValue;if(checkMainAxis){var preventedOffset=within(tether?math_min(min,tetherMin):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],_preventedOffset=within(tether?math_min(_min,tetherMin):_min,_offset,tether?math_max(_max,tetherMax):_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide_hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__(1317),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(1576),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),_extends({},props,{style:_extends({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:_extends({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=_extends({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&_extends({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,_extends({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,_extends({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(54),__webpack_require__(48),__webpack_require__(39),__webpack_require__(421),__webpack_require__(981),__webpack_require__(1575),__webpack_require__(10)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(188);function Tooltip_extends(){return(Tooltip_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,Tooltip_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,Tooltip_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"}}]); \ No newline at end of file diff --git a/docs/4.2721a6b439dcf025b61e.manager.bundle.js b/docs/4.2721a6b439dcf025b61e.manager.bundle.js new file mode 100644 index 00000000..b56b11f7 --- /dev/null +++ b/docs/4.2721a6b439dcf025b61e.manager.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 4.2721a6b439dcf025b61e.manager.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{2698:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SyntaxHighlighter",(function(){return syntaxhighlighter_SyntaxHighlighter}));__webpack_require__(621),__webpack_require__(86),__webpack_require__(987),__webpack_require__(1581),__webpack_require__(189);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(9),dist_esm=__webpack_require__(1),global_window=__webpack_require__(3),memoizerific=__webpack_require__(10),memoizerific_default=__webpack_require__.n(memoizerific),jsx=__webpack_require__(2759),jsx_default=__webpack_require__.n(jsx),bash=__webpack_require__(2766),bash_default=__webpack_require__.n(bash),css=__webpack_require__(2768),css_default=__webpack_require__.n(css),js_extras=__webpack_require__(2757),js_extras_default=__webpack_require__.n(js_extras),json=__webpack_require__(2760),json_default=__webpack_require__.n(json),graphql=__webpack_require__(2773),graphql_default=__webpack_require__.n(graphql),markup=__webpack_require__(2769),markup_default=__webpack_require__.n(markup),markdown=__webpack_require__(2764),markdown_default=__webpack_require__.n(markdown),yaml=__webpack_require__(2762),yaml_default=__webpack_require__.n(yaml),tsx=__webpack_require__(2770),tsx_default=__webpack_require__.n(tsx),typescript=__webpack_require__(2772),typescript_default=__webpack_require__.n(typescript),prism_light=__webpack_require__(2724),prism_light_default=__webpack_require__.n(prism_light),ActionBar=__webpack_require__(2694),ScrollArea=__webpack_require__(1359),dist=__webpack_require__(21),dist_default=__webpack_require__.n(dist),formatter=memoizerific_default()(2)((function(code){return dist_default()(code)}));function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},2715:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},2716:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),string:{pattern:string,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:Prism.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},markup.tag))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},2717:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript);Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},2718:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},2724:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2703);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(2725)),_core=_interopRequireDefault(__webpack_require__(2730)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},2725:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2703);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},2727:function(module,exports){module.exports=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}},2728:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2703);Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStyleObject=createStyleObject,exports.createClassNameString=createClassNameString,exports.createChildren=createChildren,exports.default=createElement;var _extends2=_interopRequireDefault(__webpack_require__(1319)),_objectSpread2=_interopRequireDefault(__webpack_require__(2709)),_react=_interopRequireDefault(__webpack_require__(0));function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},2729:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},2730:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(2731),decode=__webpack_require__(2747),Prism=__webpack_require__(2754),markup=__webpack_require__(2715),css=__webpack_require__(2716),clike=__webpack_require__(2755),js=__webpack_require__(2756);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},2744:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var subvalue,previous,match,value=selector||"",name=defaultTagName||"div",props={},start=0;for(;start=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},2748:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2749:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},2750:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2751:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(2752),decimal=__webpack_require__(2714);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},2752:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},2753:function(module,exports,__webpack_require__){"use strict";var el;module.exports=function decodeEntity(characters){var char,entity="&"+characters+";";if((el=el||document.createElement("i")).innerHTML=entity,59===(char=el.textContent).charCodeAt(char.length-1)&&"semi"!==characters)return!1;return char!==entity&&char}},2754:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1&&matchGrammar(text,tokenList,grammar,currentNode.prev,pos,{cause:token+","+j,reach:reach})}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(12))},2755:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},2756:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},2757:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2703);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(2758)).default;exports.default=_default},2758:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},2764:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2703);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(2765)).default;exports.default=_default},2765:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+?\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:insideString}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i + * @author Lea Verou + * @namespace + * @public + */ diff --git a/docs/4.3c6b4f9a.iframe.bundle.js b/docs/4.3c6b4f9a.iframe.bundle.js new file mode 100644 index 00000000..a2e402b1 --- /dev/null +++ b/docs/4.3c6b4f9a.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 4.3c6b4f9a.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{3195:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SyntaxHighlighter",(function(){return syntaxhighlighter_SyntaxHighlighter}));__webpack_require__(553),__webpack_require__(80),__webpack_require__(785),__webpack_require__(1145),__webpack_require__(428);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(17),dist_esm=__webpack_require__(5),global_window=__webpack_require__(9),memoizerific=__webpack_require__(182),memoizerific_default=__webpack_require__.n(memoizerific),jsx=__webpack_require__(3250),jsx_default=__webpack_require__.n(jsx),bash=__webpack_require__(3257),bash_default=__webpack_require__.n(bash),css=__webpack_require__(3259),css_default=__webpack_require__.n(css),js_extras=__webpack_require__(3248),js_extras_default=__webpack_require__.n(js_extras),json=__webpack_require__(3251),json_default=__webpack_require__.n(json),graphql=__webpack_require__(3264),graphql_default=__webpack_require__.n(graphql),markup=__webpack_require__(3260),markup_default=__webpack_require__.n(markup),markdown=__webpack_require__(3255),markdown_default=__webpack_require__.n(markdown),yaml=__webpack_require__(3253),yaml_default=__webpack_require__.n(yaml),tsx=__webpack_require__(3261),tsx_default=__webpack_require__.n(tsx),typescript=__webpack_require__(3263),typescript_default=__webpack_require__.n(typescript),prism_light=__webpack_require__(3217),prism_light_default=__webpack_require__.n(prism_light),ActionBar=__webpack_require__(689),ScrollArea=__webpack_require__(690),dist=__webpack_require__(23),dist_default=__webpack_require__.n(dist),formatter=memoizerific_default()(2)((function(code){return dist_default()(code)}));function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},3210:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},3211:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),string:{pattern:string,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:Prism.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},markup.tag))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},3212:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript);Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},3213:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},3217:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3198);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(3218)),_core=_interopRequireDefault(__webpack_require__(3221)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},3218:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3198);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},3220:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},3221:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(3222),decode=__webpack_require__(3238),Prism=__webpack_require__(3245),markup=__webpack_require__(3210),css=__webpack_require__(3211),clike=__webpack_require__(3246),js=__webpack_require__(3247);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},3235:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var subvalue,previous,match,value=selector||"",name=defaultTagName||"div",props={},start=0;for(;start=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},3239:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},3240:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},3241:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},3242:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(3243),decimal=__webpack_require__(3209);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},3243:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},3244:function(module,exports,__webpack_require__){"use strict";var el;module.exports=function decodeEntity(characters){var char,entity="&"+characters+";";if((el=el||document.createElement("i")).innerHTML=entity,59===(char=el.textContent).charCodeAt(char.length-1)&&"semi"!==characters)return!1;return char!==entity&&char}},3245:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1&&matchGrammar(text,tokenList,grammar,currentNode.prev,pos,{cause:token+","+j,reach:reach})}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(31))},3246:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},3247:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},3248:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3198);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(3249)).default;exports.default=_default},3249:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},3255:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3198);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(3256)).default;exports.default=_default},3256:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+?\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:insideString}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i + * @author Lea Verou + * @namespace + * @public + */ diff --git a/docs/4.3c6b4f9a.iframe.bundle.js.map b/docs/4.3c6b4f9a.iframe.bundle.js.map new file mode 100644 index 00000000..6d7a1d8d --- /dev/null +++ b/docs/4.3c6b4f9a.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4.3c6b4f9a.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/docs/5.6c56b178.iframe.bundle.js b/docs/5.6c56b178.iframe.bundle.js new file mode 100644 index 00000000..a3d09e6d --- /dev/null +++ b/docs/5.6c56b178.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{3194:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return Color_ColorControl}));__webpack_require__(71),__webpack_require__(550),__webpack_require__(41),__webpack_require__(72),__webpack_require__(786),__webpack_require__(3270),__webpack_require__(783),__webpack_require__(80),__webpack_require__(36),__webpack_require__(1924),__webpack_require__(426),__webpack_require__(1920),__webpack_require__(3202),__webpack_require__(779),__webpack_require__(1921);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);function index_module_l(){return(index_module_l=Object.assign||function(e){for(var r=1;r=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?C(index_module_d(m.current,e)):_(!1)}),[C]),H=Object(react.useCallback)((function(e){var r,t=e.nativeEvent;index_module_h(t),r=t,g.current&&!index_module_v(r)||(g.current||(g.current=index_module_v(r)),0)||(C(index_module_d(m.current,t)),_(!0))}),[C]),M=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),E({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[E]),N=Object(react.useCallback)((function(){return _(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(g.current?"touchmove":"mousemove",x),r(g.current?"touchend":"mouseup",N)}),[x,N]);return index_module_c((function(){return w(b),function(){b&&w(!1)}}),[b,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:m,onTouchStart:H,onMouseDown:H,onKeyDown:M,tabIndex:0,role:"slider"}))})),index_module_g=function(e){return e.filter(Boolean).join(" ")},index_module_p=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_g(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_={grad:.9,turn:360,rad:360/(2*Math.PI)},index_module_C=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(index_module_[r]||1)},index_module_x=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?index_module_M({h:index_module_E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},index_module_M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_N=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_b(e.h),s:index_module_b(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_b(n/2),a:index_module_b(o,2)}},index_module_w=function(e){var r=index_module_N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function(e){var r=index_module_N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_b(255*[o,u,l,l,c,o][i]),g:index_module_b(255*[c,o,o,u,l,l][i]),b:index_module_b(255*[l,l,c,o,o,u][i]),a:index_module_b(n,2)}},I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_b(60*(u<0?u+6:u)),s:index_module_b(a?l/a*100:0),v:index_module_b(a/255*100),a:n}},A=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_g(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_m,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_b(t)},react_default.a.createElement(index_module_p,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_w({h:t,s:100,v:100,a:1})})))})),L=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_w({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_m,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_b(t.s)+"%, Brightness "+index_module_b(t.v)+"%"},react_default.a.createElement(index_module_p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_w(t)})))})),D=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},F=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function S(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;D(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var P,_ColorPicker,_fallbackColor,Y=function(){index_module_c((function(){if("undefined"!=typeof document&&!P){(P=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&P.setAttribute("nonce",e),document.head.appendChild(P)}}),[])},$=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);Y();var s=S(o,a,c),f=s[0],v=s[1],d=index_module_g(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(L,{hsva:f,onChange:v}),react_default.a.createElement(A,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},R={defaultColor:"000",toHsva:function(e){return B(index_module_C(e))},fromHsva:function(e){return t=(r=q(e)).g,o=r.b,"#"+z(r.r)+z(t)+z(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||D(index_module_C(e),index_module_C(r))}},J=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},o,{a:0}))+", "+y(Object.assign({},o,{a:1}))+")"},l=index_module_g(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_m,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_b(100*o.a)+"%"},react_default.a.createElement(index_module_p,{className:"react-colorful__alpha-pointer",left:o.a,color:y(o)})))},Q=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);Y();var s=S(o,a,c),f=s[0],v=s[1],d=index_module_g(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(L,{hsva:f,onChange:v}),react_default.a.createElement(A,{hue:f.h,onChange:v}),react_default.a.createElement(J,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},W={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_x,fromHsva:y,equal:F},he={defaultColor:"rgba(0, 0, 0, 1)",toHsva:I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:F},color_convert=__webpack_require__(3271),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(397),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(5),TooltipNote=__webpack_require__(1141),lazy_WithTooltip=__webpack_require__(497),esm_form=__webpack_require__(117),icon=__webpack_require__(50);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(esm.styled)(TooltipNote.a)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement($,index_module_l({},r,{colorModel:R}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(Q,index_module_l({},r,{colorModel:he}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(Q,index_module_l({},r,{colorModel:W}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},3202:function(module,exports,__webpack_require__){"use strict";var fixRegExpWellKnownSymbolLogic=__webpack_require__(1138),anObject=__webpack_require__(87),toLength=__webpack_require__(170),toInteger=__webpack_require__(427),requireObjectCoercible=__webpack_require__(189),advanceStringIndex=__webpack_require__(1139),getSubstitution=__webpack_require__(3203),regExpExec=__webpack_require__(1140),max=Math.max,min=Math.min;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}]}))},3203:function(module,exports,__webpack_require__){var toObject=__webpack_require__(169),floor=Math.floor,replace="".replace,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},3214:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(3272),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},3270:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(32),$some=__webpack_require__(429).some;$({target:"Array",proto:!0,forced:!__webpack_require__(552)("some")},{some:function some(callbackfn){return $some(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},3271:function(module,exports,__webpack_require__){const conversions=__webpack_require__(3214),route=__webpack_require__(3273),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},3272:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},3273:function(module,exports,__webpack_require__){const conversions=__webpack_require__(3214);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?C(index_module_d(m.current,e)):_(!1)}),[C]),H=Object(react.useCallback)((function(e){var r,t=e.nativeEvent;index_module_h(t),r=t,g.current&&!index_module_v(r)||(g.current||(g.current=index_module_v(r)),0)||(C(index_module_d(m.current,t)),_(!0))}),[C]),M=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),E({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[E]),N=Object(react.useCallback)((function(){return _(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(g.current?"touchmove":"mousemove",x),r(g.current?"touchend":"mouseup",N)}),[x,N]);return index_module_c((function(){return w(b),function(){b&&w(!1)}}),[b,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:m,onTouchStart:H,onMouseDown:H,onKeyDown:M,tabIndex:0,role:"slider"}))})),index_module_g=function(e){return e.filter(Boolean).join(" ")},index_module_p=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_g(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_={grad:.9,turn:360,rad:360/(2*Math.PI)},index_module_C=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(index_module_[r]||1)},index_module_x=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?index_module_M({h:index_module_E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},index_module_M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_N=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_b(e.h),s:index_module_b(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_b(n/2),a:index_module_b(o,2)}},index_module_w=function(e){var r=index_module_N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function(e){var r=index_module_N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_b(255*[o,u,l,l,c,o][i]),g:index_module_b(255*[c,o,o,u,l,l][i]),b:index_module_b(255*[l,l,c,o,o,u][i]),a:index_module_b(n,2)}},I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_b(60*(u<0?u+6:u)),s:index_module_b(a?l/a*100:0),v:index_module_b(a/255*100),a:n}},A=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_g(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_m,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_b(t)},react_default.a.createElement(index_module_p,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_w({h:t,s:100,v:100,a:1})})))})),L=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_w({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_m,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_b(t.s)+"%, Brightness "+index_module_b(t.v)+"%"},react_default.a.createElement(index_module_p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_w(t)})))})),D=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},F=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function S(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;D(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var P,Y=function(){index_module_c((function(){if("undefined"!=typeof document&&!P){(P=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&P.setAttribute("nonce",e),document.head.appendChild(P)}}),[])},$=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);Y();var s=S(o,a,c),f=s[0],v=s[1],d=index_module_g(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(L,{hsva:f,onChange:v}),react_default.a.createElement(A,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},R={defaultColor:"000",toHsva:function(e){return B(index_module_C(e))},fromHsva:function(e){return t=(r=q(e)).g,o=r.b,"#"+z(r.r)+z(t)+z(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||D(index_module_C(e),index_module_C(r))}},J=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},o,{a:0}))+", "+y(Object.assign({},o,{a:1}))+")"},l=index_module_g(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_m,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_b(100*o.a)+"%"},react_default.a.createElement(index_module_p,{className:"react-colorful__alpha-pointer",left:o.a,color:y(o)})))},Q=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);Y();var s=S(o,a,c),f=s[0],v=s[1],d=index_module_g(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(L,{hsva:f,onChange:v}),react_default.a.createElement(A,{hue:f.h,onChange:v}),react_default.a.createElement(J,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},W={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_x,fromHsva:y,equal:F},he={defaultColor:"rgba(0, 0, 0, 1)",toHsva:I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:F},color_convert=__webpack_require__(2777),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(1383),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(1);__webpack_require__(190);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Note=esm.styled.div((function(_ref){var theme=_ref.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"rgba(0, 0, 0, 0.4)",margin:6}})),TooltipNote_TooltipNote=function TooltipNote(_ref2){var note=_ref2.note,props=_objectWithoutProperties(_ref2,["note"]);return react_default.a.createElement(Note,props,note)};TooltipNote_TooltipNote.displayName="TooltipNote";var _ColorPicker,_fallbackColor,lazy_WithTooltip=__webpack_require__(1345),esm_form=__webpack_require__(133),icon=__webpack_require__(68);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Color_Note=Object(esm.styled)(TooltipNote_TooltipNote)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=Color_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement($,index_module_l({},r,{colorModel:R}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(Q,index_module_l({},r,{colorModel:he}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(Q,index_module_l({},r,{colorModel:W}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Color_Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},2705:function(module,exports,__webpack_require__){"use strict";var fixRegExpWellKnownSymbolLogic=__webpack_require__(982),anObject=__webpack_require__(45),toLength=__webpack_require__(116),toInteger=__webpack_require__(320),requireObjectCoercible=__webpack_require__(134),advanceStringIndex=__webpack_require__(983),getSubstitution=__webpack_require__(2706),regExpExec=__webpack_require__(984),max=Math.max,min=Math.min;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}]}))},2706:function(module,exports,__webpack_require__){var toObject=__webpack_require__(115),floor=Math.floor,replace="".replace,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},2719:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(2778),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},2775:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(14),$some=__webpack_require__(321).some;$({target:"Array",proto:!0,forced:!__webpack_require__(424)("some")},{some:function some(callbackfn){return $some(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},2776:function(module,exports,__webpack_require__){var $=__webpack_require__(14),$values=__webpack_require__(1579).values;$({target:"Object",stat:!0},{values:function values(O){return $values(O)}})},2777:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2719),route=__webpack_require__(2779),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},2778:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2779:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2719);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},2705:function(module,exports,__webpack_require__){"use strict";var fixRegExpWellKnownSymbolLogic=__webpack_require__(982),anObject=__webpack_require__(45),toLength=__webpack_require__(116),toInteger=__webpack_require__(320),requireObjectCoercible=__webpack_require__(134),advanceStringIndex=__webpack_require__(983),getSubstitution=__webpack_require__(2706),regExpExec=__webpack_require__(984),max=Math.max,min=Math.min;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}]}))},2706:function(module,exports,__webpack_require__){var toObject=__webpack_require__(115),floor=Math.floor,replace="".replace,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},2722:function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(87),global=__webpack_require__(19),isForced=__webpack_require__(619),inheritIfRequired=__webpack_require__(1578),defineProperty=__webpack_require__(103).f,getOwnPropertyNames=__webpack_require__(423).f,isRegExp=__webpack_require__(990),getFlags=__webpack_require__(985),stickyHelpers=__webpack_require__(989),redefine=__webpack_require__(117),fails=__webpack_require__(20),enforceInternalState=__webpack_require__(228).enforce,setSpecies=__webpack_require__(1577),MATCH=__webpack_require__(18)("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y;if(DESCRIPTORS&&isForced("RegExp",!CORRECT_NEW||UNSUPPORTED_Y||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})))){for(var RegExpWrapper=function RegExp(pattern,flags){var sticky,thisIsRegExp=this instanceof RegExpWrapper,patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags;if(!thisIsRegExp&&patternIsRegExp&&pattern.constructor===RegExpWrapper&&flagsAreUndefined)return pattern;CORRECT_NEW?patternIsRegExp&&!flagsAreUndefined&&(pattern=pattern.source):pattern instanceof RegExpWrapper&&(flagsAreUndefined&&(flags=getFlags.call(pattern)),pattern=pattern.source),UNSUPPORTED_Y&&(sticky=!!flags&&flags.indexOf("y")>-1)&&(flags=flags.replace(/y/g,""));var result=inheritIfRequired(CORRECT_NEW?new NativeRegExp(pattern,flags):NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper);UNSUPPORTED_Y&&sticky&&(enforceInternalState(result).sticky=!0);return result},proxy=function(key){key in RegExpWrapper||defineProperty(RegExpWrapper,key,{configurable:!0,get:function(){return NativeRegExp[key]},set:function(it){NativeRegExp[key]=it}})},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxy(keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},2723:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); \ No newline at end of file diff --git a/docs/6.a265ea9e3402e296737a.manager.bundle.js.LICENSE.txt b/docs/6.a265ea9e3402e296737a.manager.bundle.js.LICENSE.txt new file mode 100644 index 00000000..cfda1d61 --- /dev/null +++ b/docs/6.a265ea9e3402e296737a.manager.bundle.js.LICENSE.txt @@ -0,0 +1,12 @@ +/*! + * OverlayScrollbars + * https://github.com/KingSora/OverlayScrollbars + * + * Version: 1.13.0 + * + * Copyright KingSora | Rene Haas. + * https://github.com/KingSora + * + * Released under the MIT license. + * Date: 02.08.2020 + */ diff --git a/docs/6.fee4dc21.iframe.bundle.js b/docs/6.fee4dc21.iframe.bundle.js new file mode 100644 index 00000000..75f3e241 --- /dev/null +++ b/docs/6.fee4dc21.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 6.fee4dc21.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{3193:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent}));__webpack_require__(71),__webpack_require__(550),__webpack_require__(41),__webpack_require__(784),__webpack_require__(36),__webpack_require__(3266),__webpack_require__(426),__webpack_require__(554),__webpack_require__(1920),__webpack_require__(3202),__webpack_require__(779);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3267),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},3202:function(module,exports,__webpack_require__){"use strict";var fixRegExpWellKnownSymbolLogic=__webpack_require__(1138),anObject=__webpack_require__(87),toLength=__webpack_require__(170),toInteger=__webpack_require__(427),requireObjectCoercible=__webpack_require__(189),advanceStringIndex=__webpack_require__(1139),getSubstitution=__webpack_require__(3203),regExpExec=__webpack_require__(1140),max=Math.max,min=Math.min;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}]}))},3203:function(module,exports,__webpack_require__){var toObject=__webpack_require__(169),floor=Math.floor,replace="".replace,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},3266:function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(139),global=__webpack_require__(45),isForced=__webpack_require__(781),inheritIfRequired=__webpack_require__(1923),defineProperty=__webpack_require__(156).f,getOwnPropertyNames=__webpack_require__(551).f,isRegExp=__webpack_require__(1144),getFlags=__webpack_require__(1142),stickyHelpers=__webpack_require__(1143),redefine=__webpack_require__(171),fails=__webpack_require__(46),enforceInternalState=__webpack_require__(296).enforce,setSpecies=__webpack_require__(1922),MATCH=__webpack_require__(44)("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y;if(DESCRIPTORS&&isForced("RegExp",!CORRECT_NEW||UNSUPPORTED_Y||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})))){for(var RegExpWrapper=function RegExp(pattern,flags){var sticky,thisIsRegExp=this instanceof RegExpWrapper,patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags;if(!thisIsRegExp&&patternIsRegExp&&pattern.constructor===RegExpWrapper&&flagsAreUndefined)return pattern;CORRECT_NEW?patternIsRegExp&&!flagsAreUndefined&&(pattern=pattern.source):pattern instanceof RegExpWrapper&&(flagsAreUndefined&&(flags=getFlags.call(pattern)),pattern=pattern.source),UNSUPPORTED_Y&&(sticky=!!flags&&flags.indexOf("y")>-1)&&(flags=flags.replace(/y/g,""));var result=inheritIfRequired(CORRECT_NEW?new NativeRegExp(pattern,flags):NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper);UNSUPPORTED_Y&&sticky&&(enforceInternalState(result).sticky=!0);return result},proxy=function(key){key in RegExpWrapper||defineProperty(RegExpWrapper,key,{configurable:!0,get:function(){return NativeRegExp[key]},set:function(it){NativeRegExp[key]=it}})},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxy(keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},3267:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); +//# sourceMappingURL=6.fee4dc21.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/6.fee4dc21.iframe.bundle.js.LICENSE.txt b/docs/6.fee4dc21.iframe.bundle.js.LICENSE.txt new file mode 100644 index 00000000..cfda1d61 --- /dev/null +++ b/docs/6.fee4dc21.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,12 @@ +/*! + * OverlayScrollbars + * https://github.com/KingSora/OverlayScrollbars + * + * Version: 1.13.0 + * + * Copyright KingSora | Rene Haas. + * https://github.com/KingSora + * + * Released under the MIT license. + * Date: 02.08.2020 + */ diff --git a/docs/6.fee4dc21.iframe.bundle.js.map b/docs/6.fee4dc21.iframe.bundle.js.map new file mode 100644 index 00000000..7e13a968 --- /dev/null +++ b/docs/6.fee4dc21.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6.fee4dc21.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/docs/7.ba55e9a2.iframe.bundle.js b/docs/7.ba55e9a2.iframe.bundle.js new file mode 100644 index 00000000..eab7111b --- /dev/null +++ b/docs/7.ba55e9a2.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{3192:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(101);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.h)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.c,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file diff --git a/docs/7.f09a30805ead77882513.manager.bundle.js b/docs/7.f09a30805ead77882513.manager.bundle.js new file mode 100644 index 00000000..486490a9 --- /dev/null +++ b/docs/7.f09a30805ead77882513.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2695:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(53);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.d)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file diff --git a/docs/8.938d827bad27c34de18b.manager.bundle.js b/docs/8.938d827bad27c34de18b.manager.bundle.js new file mode 100644 index 00000000..94b0271c --- /dev/null +++ b/docs/8.938d827bad27c34de18b.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{2784:function(module,exports){module.exports=function(e,n){return n=n||{},new Promise((function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+","+t:t})),t(a())},s.onerror=r,s.withCredentials="include"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null)}))}}}]); \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..428500fde188122fe8a6b07197f4c03f4e93640a GIT binary patch literal 32988 zcmeHP36vDY86Faor@5nfxexMk`C<+d^Dr27QQ4W`K#-M--8Ponvnf z0R=V!8iRluG!eXopn#&HphN^g5k(g807PNC`_K1vO)WjWGt)IoBfO;hy`JvrqpH5Y z{=2F=7V8l^AlA2U49A|aLvf79VzHh*^Z!2;i~SMTKL7dr|AS(&2?JxXPvN@z`~k7p zLqlS*L-7tCi>0vhdbIt|QlLj_uzYy@VEI^ULJp3_q{se zo=ZA&>yysIxwy3`o3NLslh%vbxV^r<#%^!!Z!g95Q^KY}_INp@^#tjiOLX+hCS^cV zt#xukQqDq~F3KeBtLl?>T`p<2;(Q|7dUH16{39E8?$0HyM}TKZHfcYLwysIX?F~3? z!M+V`-kC|*PJN9?W35O_e-YH-?xS!VePZFxYrNmW9nUsnZ^Cf?4>82Ev? z7jZXZXB)$8XIOas<&Z}})0tu52i_~j3<#%R{O#OZ|6TlXdwMwd?F{8`Z?$!Alp7}g zT#eoQe~lk@hx%-9^wZudGtB-^C+r(T!ygw(SBs219{X|XSl18Na6L>~goz(EditK= zC*Et178&|ebtKltpTnN~0=5);4t6C~rS1>=nF#5zr?dzYe&C!M7F;v^2Tc-FFhl&c$Ua5e^K=e?W6dl;yUyGLzwu} zN#|brTgGjHFGKz&_UTuPyu3^*+S*?dxvL30(O2;WeIw(#_X7S*!dgIo&$JDcYxeo$ zvnzt#<>6J2Dfyu6R7!&|`#)E0Jx>4C1izN`We;?L)2$2S1?mXu2b22sGhyOKT=O)2 zeqDCCBX!)pTZ`{=k z`v9Hj#aQkA1Clv2{88 zwCU8>uRK>4M(0i25_xk2cx7wnrNEOZe^mZMxpwG#Vd2mILJoodx0!hbU3Re}d4JT& zBJaHu2*b69eiq-GG78d?d3Hbv2zqf<%4?jlvI6*k9T_O|C z7P-2&;^*P8ZM2tfyc+bT$dWtFbwF77k@NT(_#N}#0I%2I z=esKx2EV)fK@mRdt+&*9Soj-HkZ(c%budp=sxDrquXjf#7{kg(f#E2W1%1KyNC)!H zE6)bMyX^k=AAhF5e9z6z1>uKnnq41^;rT~^0km>yi84vI8-6Q7xd_@GyW{ zmm;)N)CISvvDYC68VcPA+Kf3hZ^Oa!^c5HbuX(Z%W4V8A=POw$Cx`l8Sn{7qN}>tA zzX^WUO&Ty>p`IddbLY9%^QkI@opCPhzv=e+iz=ox^?}2}55M>4mBfCU{{AD|ef1HF zKbFohMZNnu#>4x<|HT-}$)u$pkLiC`&Y|DQ6U4Cnjop|`&*)P!o;K}!wk@pwhweLb zPjX+B^HHb3zArLGTlm~NZ;OmQEid;0Hpts2A>u#3yZFiPw_Mr1J|`7+AU0^b5IO|5 zHOT&Wv4`3JnYexVDER39@`L^l1@_qug?(AczxK5v*Po-XLkCw}e^~vWOUST_#y-$i z^89ThD?wZM?34deIbqt3O8Z^+OIY|Zo?g+|7yY2|XNv54w-A%bKjwx14!cM_Pkq;& zeh(dg(rz*CfA}@@?N%)|LA(2z_mD4o0C^L}1eA4+VNZ@>^*>^t38wN-8~0b}t4cP; zbYq6(<6-2?_oUCg^a=|<=ABG6)&G?Hg)`02ckER0(lvO8J|S~k?0fP)kM23{@jrQr zex(;*(0N$+v(@$tmK9VV<5&m((*%DVc$c}Xx7&mJe-U`(%ENcllzsh=Z29--H!^R;9HYiq z?idz+%wc-K#Q!IMwhn^N0)H)NqmCd?>-H1>od&+b_^AGCit1}pqckdo0a@h}*z91iPe{E&?_qJ|= zd<}pOpp8I$6SRlL|Iq(NV_!P|Z<5O)k1$ureEHa4DP30{J;ukM2G3L#=1t4dAPoHH z9{$9K(ut0hCSyNr3+ew?mLdiw%)j9tS zV@34qH@~9BK^EMi#!2YoyJLhE$h)5}!oUyQeW?4pjo;J$RF#qm>PPlz=lsWkC?9o@ zPV8^$`BHse>bf6$X#JnSdX!qU&x4~_U6o#A9^ak+3SX8-cV3HujFT^1JLqW-bA*fu z{CyNg{{wrHzJJ*GyF)MHd-frbnZwmM5^2G)wSQt>)J>Omjf=y;58fZhwKSEsH|*!@ zz%O;xw)56T3swQS!byr}7R};6WhW>*-g-mAKgc-u>ETIlJHj}p+>fZT?R6_UkU3Ht z<3YXMR%bcn1#ewp;79KNo3Q_u$=pA0-C>^-f2zuI)-JV*TG5%qo!xUP^8FA7ey*K? z|NHx2b+>mOImeoM&`Wn0 ze^~3EYUSI&dm6A^1Wea}Ct5HktPSh=W@MAjJ%|w((k~5ss}>Yu*Z-#d0oajy##&OB|ERP1PGe0+m1*1ehvzugHrHQ14c`4yWA%IA z%Efmb-jM7#9_wKT3_C(jUwV)ICt$wTw(S<|ZI0vIf&IR=^Q}ixRUOZP_g)51ZiKu( z4gL##{pr8fSH5kgRO(*poxR! zlW2zV2L1Ad`V-}_M(7&YnxkQR5{M@TBKA5Ry81lCu9qmCBlVDvap|N?#r2uFgfk}_ zmwC|Lk3rWght6JwSa&_vI&8wV`ON(UH6mAIozqflZ)JR}bvtxndaWPh9FrU#>qozy z9E3lekSB`P4_a_MhCVUJBpYE1Iljp83C5qCe_AeG$=~q<(%w0&=^N@}l2k3@~d%@j5w=%)fE` z0XnD4*t${u&=1fjZ&L1c{p2^!QTA>e-1TT9 ziOWy5G@Em1;<88&}B;Ao#akR$3qX~ZKyq=kAd#5)yNFSVYmzcBW#v^n0?tBKc zZS~{oy7!m!<0vnc)(_o%DDXSp`k7a$hwdQ%GY3E6*NmIgxcrLw-dff9PRz%qUU22m zBLgP*o09Sa)=hc$ww*G-+yv*pael*X;74z)>TSis8Qtf9=)T_MeSiJ@&s0!Uq3OD2Tj*hOuMA3?lrDIY3Ka)^Ihsb>eLOZ zicw+rwFf5`$8K6b=s&ht{aXKlJ}xhCK8E(cxZZ+xfb+?;4@jD^PVa8Q|IGjR`ML!r05Q z`yJO_vOhR4i?V1^Kk-ijCO%6&TxtG~Ic?0Xakjl-J9@1Auh5;O1Tl2E{xE?Y6YR2_$UN&xTrO!$^)x0ql zvI#%#>{4|w#=HUc%Oq}REI^-7`-Sw4SU&nYQ>y$rX*2SR&CMj1w z+VK^%-<_Yre&hT|##o!zVLs&xA`_v{Xooo8KyUPUXouW>4xm4E7<8&der8{}wgfnc zg|W@lKZ$HvuS-@(_C5Q_gnwY8ze^ja%jbEjO0{{(?80*SkF@7ElgL9R<->*?PTI3v zK2OZV@DhAr|Hhbs{X-v4KhJl{(I2|~NbCLsUjK8nwmAC!*_5_t* zhwn_%wz7P-o4CDx74t02X>lIu6L+cH1J~SoW4dzfr(NPWiAx*sKaX2LW4$fDP2@M= zPx=OW+XVSwAF(|_?MMF(%KH*--j6!X`z<8SeR*_xVXo?#dzHRp*+J#we!<#A`qDx3 z$T?R)`(HujgAdO0u6-e9VqlxK&!XwVH4Tij{Ns@2=nwzrQr_2Cd8A%p8I)bF_ojZH zGe+e!c%3?mF)nxV^JvI?Dg6&$V+6+mz2)n3_Mx^flvn;Ie@!}1t=VQ?X8c)@2_>IJ z?F(Y?bFM@A>|@$TV$r*{m*g+?6My3p;&OuGab`>q38A zN=*13;b`XZ`CT%MA3j7I4WDmi>KJ?dgtM(J7#n++m0W)&+7Ft7J|*pYal6^|DvImT z+D8s*`;8oo^RLQI`R=$O(kI<-R~P?;eiA;#?2f6J_(>c$<##sd_hjHRg3peG?sdO0 zi?$EJ`EQ{EE(R|S1r7T6TgUH{HP__*8t6NWy-EXk6*(%^H~D^V^{yB!B;JK){R#nQ`*+CPtmr5Z;G<*c>fjlFL{z<@tn)gZynHXG6(M3e6)w} zV;;*4Z~gR_ajhM`pNu{g-+_P}anm_Oo^viKWxLq>81wr~T|(X(4%zUop<%qm?}u?? zPLw=OKK0k%P%U4CkMT|&dH-C@U%y@Hkcl|gc{}P>`eDWDuZzpqVS_tpXQ&&l{ISSA z<9E+@Bpuv!J5|Nscl#VXN*zBO&+r=`dZR68e)_83l#$}^*C*tMw4W)w%Q@oi=AaG8 zc`*OU?=Mi7&}J8FKk7e%{uOm1ze&K&Mjvp^wf-gx*DG<2O0oA*cVGIK)Jvo}{TKf> z?NU{KvG+4^tA@Nsy+r=uv+Mt(%AvjInlRFycDWVx`1_A}u<-+xerdq{5$FRi|8fmB z^TAW#t4ufr?d(^`zm&J88v9A;l{MHmqA$1A^|LLO0ouw)@YRxA6{1-eLN^~>C_kE) zAMPs$!2kMqW`KOI4&St9ewe!Jnj@qZ_HzhIxM0#5a@EMHuJWtPh>j5jA__zlh$s+I zAfiA-frtVT1tJPW6o@DgQ6Qo~M1hC`5d|U&L==c95K$naKtzFv0ucow3Pco$C=gK~ QqCiA}hyoD>_J0ce7gEZOiU0rr literal 0 HcmV?d00001 diff --git a/docs/iframe.html b/docs/iframe.html new file mode 100644 index 00000000..661a8eb6 --- /dev/null +++ b/docs/iframe.html @@ -0,0 +1,133 @@ +Storybook

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..ed96b5db --- /dev/null +++ b/docs/index.html @@ -0,0 +1,55 @@ +Storybook
\ No newline at end of file diff --git a/docs/main.8440a17218f1c18493b1.manager.bundle.js b/docs/main.8440a17218f1c18493b1.manager.bundle.js new file mode 100644 index 00000000..da5d7b5c --- /dev/null +++ b/docs/main.8440a17218f1c18493b1.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1547:function(module){module.exports=JSON.parse('{"a":"3.9.3-beta.27"}')},1587:function(module,exports,__webpack_require__){__webpack_require__(1588),__webpack_require__(1782),__webpack_require__(2686),__webpack_require__(2693),__webpack_require__(2687),__webpack_require__(2689),__webpack_require__(2692),__webpack_require__(2688),__webpack_require__(2690),__webpack_require__(2691),module.exports=__webpack_require__(2685)},1663:function(module,exports){},1782:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _storybook_addons__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(114),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(419),_lerna_json__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1547),theme=null;(theme=_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a.light).brandImage="",theme.brandTitle="gm-mobile ".concat(_lerna_json__WEBPACK_IMPORTED_MODULE_2__.a),_storybook_addons__WEBPACK_IMPORTED_MODULE_0__.c.setConfig({theme:theme})},2036:function(module,exports){},2685:function(module,exports,__webpack_require__){"use strict";__webpack_require__(16).addons.setConfig({refs:{}})}},[[1587,2,3]]]); \ No newline at end of file diff --git a/docs/main.a806b955.iframe.bundle.js b/docs/main.a806b955.iframe.bundle.js new file mode 100644 index 00000000..4e02d1e9 --- /dev/null +++ b/docs/main.a806b955.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return view_view}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),react=__webpack_require__(0),react_default=__webpack_require__.n(react),View=Object(react.forwardRef)((function(props,ref){return react_default.a.createElement("div",extends_default()({ref:ref},props))})),view_view=View;try{View.displayName="View",View.__docgenInfo={description:"",displayName:"View",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/view/view.tsx#View"]={docgenInfo:View.__docgenInfo,name:"View",path:"packages/c-react/src/component/view/view.tsx#View"})}catch(__react_docgen_typescript_loader_error){}try{view.displayName="view",view.__docgenInfo={description:"",displayName:"view",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/view/view.tsx#view"]={docgenInfo:view.__docgenInfo,name:"view",path:"packages/c-react/src/component/view/view.tsx#view"})}catch(__react_docgen_typescript_loader_error){}},10:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return getLocale})),__webpack_require__.d(__webpack_exports__,"b",(function(){return setLocale}));var _lng_zh_json__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1896),_lng_zh_HK_json__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1897),_lng_en_json__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1898),_lng_th_json__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1899),_lng_ug_json__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1900),moduleMap={zh:_lng_zh_json__WEBPACK_IMPORTED_MODULE_0__,"zh-HK":_lng_zh_HK_json__WEBPACK_IMPORTED_MODULE_1__,en:_lng_en_json__WEBPACK_IMPORTED_MODULE_2__,th:_lng_th_json__WEBPACK_IMPORTED_MODULE_3__,ug:_lng_ug_json__WEBPACK_IMPORTED_MODULE_4__},_language="zh",setLocale=function setLocale(lng){_language=lng},getLocale=function getLocale(text){return(moduleMap[_language]||moduleMap.zh)[text]||text}},100:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_cell__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(288),_context__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(769),_utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(753);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function FormItem(props){var _props$name=props.name,name=void 0===_props$name?"":_props$name,_props$valuePropName=props.valuePropName,valuePropName=void 0===_props$valuePropName?"value":_props$valuePropName,hide=props.hide,_props$trigger=props.trigger,trigger=void 0===_props$trigger?"onChange":_props$trigger,children=props.children,onFieldChange=props.onFieldChange,restProps=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props,["name","valuePropName","hide","trigger","children","onFieldChange"]),_useContext=Object(react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__.a),values=_useContext.values,hideItems=_useContext.hideItems,onChange=_useContext.onChange,resetFields=_useContext.resetFields,setFieldsValue=_useContext.setFieldsValue,getFieldsValue=_useContext.getFieldsValue;if(hide||(null==hideItems?void 0:hideItems[name]))return null;var childProps=function _objectSpread(target){for(var i=1;i, "resetFields" | "setFieldsValue" | "getFieldsValue">) => void)'}},label:{defaultValue:null,description:"标签",name:"label",required:!1,type:{name:"ReactNode"}},labelWidth:{defaultValue:null,description:"标签宽度",name:"labelWidth",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"错误信息显示",name:"error",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"是否为必填项",name:"required",required:!1,type:{name:"boolean"}},access:{defaultValue:null,description:"用于右侧需要带箭头的情况",name:"access",required:!1,type:{name:"boolean"}},noActive:{defaultValue:null,description:"点击的时候不要闪烁",name:"noActive",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"用于左侧有图标的情况",name:"icon",required:!1,type:{name:"ReactNode"}},left:{defaultValue:null,description:"左侧内容",name:"left",required:!1,type:{name:"ReactNode"}},right:{defaultValue:null,description:"右侧内容",name:"right",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((event: MouseEvent) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/form/items/index.tsx#FormItem"]={docgenInfo:FormItem.__docgenInfo,name:"FormItem",path:"packages/c-react/src/component/form/items/index.tsx#FormItem"})}catch(__react_docgen_typescript_loader_error){}},102:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),lodash_isString__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(394),lodash_isString__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_2__),lodash_noop__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(11),lodash_noop__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_noop__WEBPACK_IMPORTED_MODULE_3__),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),classnames__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__),_flex__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(15),_view__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1),_text__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(27),Cell=function Cell(_ref){var access=_ref.access,icon=_ref.icon,left=_ref.left,right=_ref.right,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?lodash_noop__WEBPACK_IMPORTED_MODULE_3___default.a:_ref$onClick,children=_ref.children,className=_ref.className,noActive=_ref.noActive,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref,["access","icon","left","right","onClick","children","className","noActive"]);return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_4___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_6__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},rest,{alignCenter:!0,className:classnames__WEBPACK_IMPORTED_MODULE_5___default()("m-cell",{"m-cell-access":access,"m-cell-with-icon":icon,"m-cell-no-active":noActive},className),onClick:onClick}),icon&&react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_7__.a,{className:"m-cell-icon"},icon),left&&react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_7__.a,{className:"m-cell-left"},left),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_7__.a,{className:"m-cell-body"},children),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_6__.a,{alignCenter:!0},right&&(lodash_isString__WEBPACK_IMPORTED_MODULE_2___default()(right)?react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_7__.a,{className:"m-cell-right"},right):right),access&&react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_8__.a,{className:"m-font m-font-angle-right m-cell-access-icon"}))))};__webpack_exports__.a=Cell;try{Cell.displayName="Cell",Cell.__docgenInfo={description:"",displayName:"Cell",props:{access:{defaultValue:null,description:"用于右侧需要带箭头的情况",name:"access",required:!1,type:{name:"boolean"}},noActive:{defaultValue:null,description:"点击的时候不要闪烁",name:"noActive",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"用于左侧有图标的情况",name:"icon",required:!1,type:{name:"ReactNode"}},left:{defaultValue:null,description:"左侧内容",name:"left",required:!1,type:{name:"ReactNode"}},right:{defaultValue:null,description:"右侧内容",name:"right",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:{value:"_.noop"},description:"",name:"onClick",required:!1,type:{name:"((event: MouseEvent) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/cell/cell.tsx#Cell"]={docgenInfo:Cell.__docgenInfo,name:"Cell",path:"packages/c-react/src/component/cell/cell.tsx#Cell"})}catch(__react_docgen_typescript_loader_error){}try{cell.displayName="cell",cell.__docgenInfo={description:"",displayName:"cell",props:{access:{defaultValue:null,description:"用于右侧需要带箭头的情况",name:"access",required:!1,type:{name:"boolean"}},noActive:{defaultValue:null,description:"点击的时候不要闪烁",name:"noActive",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"用于左侧有图标的情况",name:"icon",required:!1,type:{name:"ReactNode"}},left:{defaultValue:null,description:"左侧内容",name:"left",required:!1,type:{name:"ReactNode"}},right:{defaultValue:null,description:"右侧内容",name:"right",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:{value:"_.noop"},description:"",name:"onClick",required:!1,type:{name:"((event: MouseEvent) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/cell/cell.tsx#cell"]={docgenInfo:cell.__docgenInfo,name:"cell",path:"packages/c-react/src/component/cell/cell.tsx#cell"})}catch(__react_docgen_typescript_loader_error){}},118:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return page_page}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),flex=__webpack_require__(15),view=__webpack_require__(1),component_status=__webpack_require__(532),page_Page=function Page(_ref){var loading=_ref.loading,error=_ref.error,onReload=_ref.onReload,white=_ref.white,header=_ref.header,tabbar=_ref.tabbar,top=_ref.top,bottom=_ref.bottom,children=_ref.children,className=_ref.className,pageClassName=_ref.pageClassName,pageStyle=_ref.pageStyle,rest=objectWithoutProperties_default()(_ref,["loading","error","onReload","white","header","tabbar","top","bottom","children","className","pageClassName","pageStyle"]);return react_default.a.createElement(flex.a,extends_default()({},rest,{column:!0,className:classnames_default()("m-page",{"m-page-white":white},className)}),loading&&react_default.a.createElement(component_status.a,{type:"loading",style:{marginTop:"40vh"}}),error&&react_default.a.createElement(component_status.a,{type:"error",style:{marginTop:"40vh"},onReload:onReload}),!loading&&!error&&react_default.a.createElement(react_default.a.Fragment,null,header&&react_default.a.createElement(flex.a,{column:!0,none:!0,className:"m-page-header m-flex-none"},header),top&&react_default.a.createElement(view.a,{className:"m-flex-none"},top),react_default.a.createElement(view.a,{className:classnames_default()("m-page-content",pageClassName),style:pageStyle},children),bottom&&react_default.a.createElement(view.a,{className:"m-flex-none"},bottom)),tabbar&&react_default.a.createElement(view.a,{className:"m-page-tabbar m-flex-none"},tabbar))},page_page=page_Page;try{page_Page.displayName="Page",page_Page.__docgenInfo={description:"",displayName:"Page",props:{loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},onReload:{defaultValue:null,description:"",name:"onReload",required:!1,type:{name:"(() => void)"}},white:{defaultValue:null,description:"",name:"white",required:!1,type:{name:"boolean"}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactNode"}},tabbar:{defaultValue:null,description:"",name:"tabbar",required:!1,type:{name:"ReactNode"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactNode"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:"ReactNode"}},pageClassName:{defaultValue:null,description:"",name:"pageClassName",required:!1,type:{name:"string"}},pageStyle:{defaultValue:null,description:"",name:"pageStyle",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/page/page.tsx#Page"]={docgenInfo:page_Page.__docgenInfo,name:"Page",path:"packages/c-react/src/component/page/page.tsx#Page"})}catch(__react_docgen_typescript_loader_error){}try{page.displayName="page",page.__docgenInfo={description:"",displayName:"page",props:{loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},onReload:{defaultValue:null,description:"",name:"onReload",required:!1,type:{name:"(() => void)"}},white:{defaultValue:null,description:"",name:"white",required:!1,type:{name:"boolean"}},header:{defaultValue:null,description:"",name:"header",required:!1,type:{name:"ReactNode"}},tabbar:{defaultValue:null,description:"",name:"tabbar",required:!1,type:{name:"ReactNode"}},top:{defaultValue:null,description:"",name:"top",required:!1,type:{name:"ReactNode"}},bottom:{defaultValue:null,description:"",name:"bottom",required:!1,type:{name:"ReactNode"}},pageClassName:{defaultValue:null,description:"",name:"pageClassName",required:!1,type:{name:"string"}},pageStyle:{defaultValue:null,description:"",name:"pageStyle",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/page/page.tsx#page"]={docgenInfo:page.__docgenInfo,name:"page",path:"packages/c-react/src/component/page/page.tsx#page"})}catch(__react_docgen_typescript_loader_error){}},136:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),classnames__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__),Input=Object(react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((function(_ref,ref){var isForm=_ref.isForm,className=_ref.className,_ref$value=_ref.value,value=void 0===_ref$value?"":_ref$value,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref,["isForm","className","value"]);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("input",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ref:ref,value:value},rest,{className:classnames__WEBPACK_IMPORTED_MODULE_3___default()("m-input",{"m-input-form":isForm},className)}))}));__webpack_exports__.a=Input;try{input.displayName="input",input.__docgenInfo={description:"",displayName:"input",props:{style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},type:{defaultValue:null,description:"注意部分小程序特有",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"number"'},{value:'"text"'},{value:'"search"'},{value:'"password"'},{value:'"idcard"'},{value:'"digit"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},isForm:{defaultValue:null,description:"",name:"isForm",required:!1,type:{name:"boolean"}},focus:{defaultValue:null,description:"",name:"focus",required:!1,type:{name:"boolean"}},autoFocus:{defaultValue:null,description:"小程序特有",name:"autoFocus",required:!1,type:{name:"boolean"}},onConfirm:{defaultValue:null,description:"小程序特有",name:"onConfirm",required:!1,type:{name:"((e: FormEvent) => void)"}},adjustPosition:{defaultValue:null,description:"小程序特有",name:"adjustPosition",required:!1,type:{name:"boolean"}},confirmType:{defaultValue:null,description:"小程序特有",name:"confirmType",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"search"'},{value:'"send"'},{value:'"next"'},{value:'"go"'},{value:'"done"'}]}},password:{defaultValue:null,description:"小程序特有",name:"password",required:!1,type:{name:"boolean"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((e: ChangeEvent) => void)"}},value:{defaultValue:{value:""},description:"",name:"value",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/input/input.tsx#input"]={docgenInfo:input.__docgenInfo,name:"input",path:"packages/c-react/src/component/input/input.tsx#input"})}catch(__react_docgen_typescript_loader_error){}},138:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return LocalStorage}));var _gm_mobile_c_tool__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(24),LocalStorage=new _gm_mobile_c_tool__WEBPACK_IMPORTED_MODULE_0__.b("_gm-mobile_",window.localStorage);new _gm_mobile_c_tool__WEBPACK_IMPORTED_MODULE_0__.b("_gm-mobile_",window.sessionStorage);__webpack_exports__.b=LocalStorage},15:function(module,__webpack_exports__,__webpack_require__){"use strict";var _flex__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(743);__webpack_require__.d(__webpack_exports__,"a",(function(){return _flex__WEBPACK_IMPORTED_MODULE_0__.a}))},152:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return textarea_textarea}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1),noop=__webpack_require__(11),noop_default=__webpack_require__.n(noop),textarea_base=Object(react.forwardRef)((function(_ref,ref){var _ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop_default.a:_ref$onChange,rest=objectWithoutProperties_default()(_ref,["onChange"]);return react_default.a.createElement("textarea",extends_default()({ref:ref},rest,{onChange:onChange}))}));try{base.displayName="base",base.__docgenInfo={description:"",displayName:"base",props:{value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"web独有",name:"rows",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"number"}},autoHeight:{defaultValue:null,description:"小程序独有",name:"autoHeight",required:!1,type:{name:"boolean"}},onChange:{defaultValue:{value:"_.noop"},description:"小程序 onInput => onChange",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"RefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/textarea/base.tsx#base"]={docgenInfo:base.__docgenInfo,name:"base",path:"packages/c-react/src/component/textarea/base.tsx#base"})}catch(__react_docgen_typescript_loader_error){}var textarea_textarea=function Textarea(_ref){var _ref$value=_ref.value,value=void 0===_ref$value?"":_ref$value,disabled=_ref.disabled,maxLength=_ref.maxLength,isForm=_ref.isForm,className=_ref.className,childRef=_ref.childRef,rest=objectWithoutProperties_default()(_ref,["value","disabled","maxLength","isForm","className","childRef"]);return react_default.a.createElement(view.a,{className:"m-textarea-container"},react_default.a.createElement(textarea_base,extends_default()({},rest,{ref:childRef,value:value,className:classnames_default()("m-textarea",{"m-textarea-form":isForm,disabled:disabled},className),disabled:disabled})),maxLength&&react_default.a.createElement(view.a,{className:"m-textarea-max-length"},(null==value?void 0:value.length)||0,"/",maxLength))};try{textarea.displayName="textarea",textarea.__docgenInfo={description:"",displayName:"textarea",props:{isForm:{defaultValue:null,description:"",name:"isForm",required:!1,type:{name:"boolean"}},value:{defaultValue:{value:""},description:"",name:"value",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},rows:{defaultValue:null,description:"web独有",name:"rows",required:!1,type:{name:"number"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"number"}},autoHeight:{defaultValue:null,description:"小程序独有",name:"autoHeight",required:!1,type:{name:"boolean"}},onChange:{defaultValue:null,description:"小程序 onInput => onChange",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},childRef:{defaultValue:null,description:"",name:"childRef",required:!1,type:{name:"RefObject"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/textarea/textarea.tsx#textarea"]={docgenInfo:textarea.__docgenInfo,name:"textarea",path:"packages/c-react/src/component/textarea/textarea.tsx#textarea"})}catch(__react_docgen_typescript_loader_error){}},154:function(module,__webpack_exports__,__webpack_require__){"use strict";function getRecordPartialObject(){return Object.create(null)}__webpack_require__.d(__webpack_exports__,"b",(function(){return getRecordPartialObject})),__webpack_require__.d(__webpack_exports__,"c",(function(){return isFalsy})),__webpack_require__.d(__webpack_exports__,"d",(function(){return judgeFunction})),__webpack_require__.d(__webpack_exports__,"a",(function(){return addUuidToOption}));var src=__webpack_require__(24);function isFalsy(value){return[void 0,null,""].includes(value)}function judgeFunction(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];fn.apply(void 0,args)}}function addUuidToOption(options){return void 0===options.id&&(options.id=src.c.generate()),options.key=options.key||options.id,options.id}},155:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_cell__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(102),_view__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1),_text__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(27),classnames__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);__webpack_exports__.a=function CellForm(_ref){var label=_ref.label,labelWidth=_ref.labelWidth,error=_ref.error,required=_ref.required,className=_ref.className,children=_ref.children,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref,["label","labelWidth","error","required","className","children"]);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_2___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_3__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},rest,{left:label?react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-cell-form-label",style:{width:labelWidth}},required&&react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_5__.a,{className:"m-text-red"},"*"),label):null,className:classnames__WEBPACK_IMPORTED_MODULE_6___default()("m-cell-form",className)}),children),error&&react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-cell-form-error"},error))};try{cellform.displayName="cellform",cellform.__docgenInfo={description:"",displayName:"cellform",props:{label:{defaultValue:null,description:"标签",name:"label",required:!1,type:{name:"ReactNode"}},labelWidth:{defaultValue:null,description:"标签宽度",name:"labelWidth",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"错误信息显示",name:"error",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"是否为必填项",name:"required",required:!1,type:{name:"boolean"}},access:{defaultValue:null,description:"用于右侧需要带箭头的情况",name:"access",required:!1,type:{name:"boolean"}},noActive:{defaultValue:null,description:"点击的时候不要闪烁",name:"noActive",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"用于左侧有图标的情况",name:"icon",required:!1,type:{name:"ReactNode"}},left:{defaultValue:null,description:"左侧内容",name:"left",required:!1,type:{name:"ReactNode"}},right:{defaultValue:null,description:"右侧内容",name:"right",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((event: MouseEvent) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/cell/cell_form.tsx#cellform"]={docgenInfo:cellform.__docgenInfo,name:"cellform",path:"packages/c-react/src/component/cell/cell_form.tsx#cellform"})}catch(__react_docgen_typescript_loader_error){}},168:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),_flex__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(15),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),_text__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(27),Panel=function Panel(_ref){var title=_ref.title,onTitle=_ref.onTitle,action=_ref.action,top=_ref.top,bottom=_ref.bottom,className=_ref.className,children=_ref.children;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:classnames__WEBPACK_IMPORTED_MODULE_1___default()("m-panel",{"m-panel-top":top,"m-panel-bottom":bottom},className)},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_2__.a,{alignCenter:!0},title&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_2__.a,{alignCenter:!0,flex:!action,justifyBetween:!action,className:"m-panel-title",onClick:onTitle},title,onTitle&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-font m-font-angle-right m-margin-left-5"})),action&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_2__.a,{flex:!0}),action&&react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-panel-action"},action)),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-panel-content"},children))};__webpack_exports__.a=Panel;try{Panel.displayName="Panel",Panel.__docgenInfo={description:"",displayName:"Panel",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"ReactNode"}},onTitle:{defaultValue:null,description:"提供 onTitle,则 title 有右箭头",name:"onTitle",required:!1,type:{name:"(() => void)"}},action:{defaultValue:null,description:"",name:"action",required:!1,type:{name:"ReactNode"}},top:{defaultValue:null,description:"贴上边,左上 右上 没有圆角",name:"top",required:!1,type:{name:"boolean"}},bottom:{defaultValue:null,description:"贴下边,左下 右下 没有圆角",name:"bottom",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/panel/panel.tsx#Panel"]={docgenInfo:Panel.__docgenInfo,name:"Panel",path:"packages/c-react/src/component/panel/panel.tsx#Panel"})}catch(__react_docgen_typescript_loader_error){}try{panel.displayName="panel",panel.__docgenInfo={description:"",displayName:"panel",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"ReactNode"}},onTitle:{defaultValue:null,description:"提供 onTitle,则 title 有右箭头",name:"onTitle",required:!1,type:{name:"(() => void)"}},action:{defaultValue:null,description:"",name:"action",required:!1,type:{name:"ReactNode"}},top:{defaultValue:null,description:"贴上边,左上 右上 没有圆角",name:"top",required:!1,type:{name:"boolean"}},bottom:{defaultValue:null,description:"贴下边,左下 右下 没有圆角",name:"bottom",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/panel/panel.tsx#panel"]={docgenInfo:panel.__docgenInfo,name:"panel",path:"packages/c-react/src/component/panel/panel.tsx#panel"})}catch(__react_docgen_typescript_loader_error){}},18:function(module,__webpack_exports__,__webpack_require__){"use strict";var _button__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(52);__webpack_require__.d(__webpack_exports__,"a",(function(){return _button__WEBPACK_IMPORTED_MODULE_0__.a}));var _button_time__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(531);__webpack_require__.d(__webpack_exports__,"b",(function(){return _button_time__WEBPACK_IMPORTED_MODULE_1__.a}))},184:function(module,__webpack_exports__,__webpack_require__){"use strict";var defineProperty=__webpack_require__(14),defineProperty_default=__webpack_require__.n(defineProperty),helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(3),prop_types_default=__webpack_require__.n(prop_types),classCallCheck=__webpack_require__(42),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(49),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(76),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(77),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(34),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),noop=__webpack_require__(11),noop_default=__webpack_require__.n(noop),map=__webpack_require__(19),map_default=__webpack_require__.n(map),xor=__webpack_require__(771),xor_default=__webpack_require__.n(xor),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),src=__webpack_require__(2);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=getPrototypeOf_default()(Derived);if(hasNativeReflectConstruct){var NewTarget=getPrototypeOf_default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return possibleConstructorReturn_default()(this,result)}}var base_Base=function(_React$Component){inherits_default()(Base,_React$Component);var _super=_createSuper(Base);function Base(){var _this;classCallCheck_default()(this,Base);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).refList=react_default.a.createRef(),_this._isMounted=!1,_this.apiDoScrollToLabel=function(label){if(!_this._isMounted){var $dom=_this.refList.current.querySelector('[data-label="'.concat(label,'"]'));$dom&&$dom.scrollIntoViewIfNeeded()}},_this.apiDoScrollToValue=function(value){if(!_this._isMounted){var $dom=_this.refList.current.querySelector('[data-value="'.concat(value,'"]'));$dom&&$dom.scrollIntoViewIfNeeded()}},_this.handleSelect=function(item){if(!item.disabled){var _this$props=_this.props,multiple=_this$props.multiple,selected=_this$props.selected,onSelect=_this$props.onSelect;onSelect(multiple?xor_default()(selected,[item.value]):[item.value])}},_this}return createClass_default()(Base,[{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=!0}},{key:"render",value:function render(){var _this2=this,_this$props2=this.props,data=_this$props2.data,isGroupList=_this$props2.isGroupList,selected=_this$props2.selected,multiple=_this$props2.multiple,renderItem=(_this$props2.onSelect,_this$props2.renderItem),className=_this$props2.className,rest=objectWithoutProperties_default()(_this$props2,["data","isGroupList","selected","multiple","onSelect","renderItem","className"]);return react_default.a.createElement("div",extends_default()({},rest,{ref:this.refList,className:classnames_default()("m-list",{"m-list-group":isGroupList},className)}),map_default()(data,(function(group){return react_default.a.createElement("div",{key:group.label,"data-label":group.label,className:"m-list-group-item"},react_default.a.createElement("div",{className:"m-list-label"},group.label),map_default()(group.children,(function(item){return react_default.a.createElement("div",{key:item.value,"data-value":item.value,className:classnames_default()("m-list-item",{active:selected.includes(item.value),disabled:item.disabled})},multiple&&react_default.a.createElement(src.d,{circle:!0,primary:!0,checked:selected.includes(item.value),disabled:item.disabled,onChange:_this2.handleSelect.bind(_this2,item),className:"m-padding-tb-10 m-padding-left-15"}),react_default.a.createElement("div",{className:classnames_default()("m-list-item-text",{"m-padding-left-15":!multiple}),onClick:_this2.handleSelect.bind(_this2,item)},renderItem(item),!multiple&&react_default.a.createElement(src.p,{checked:selected.includes(item.value),disabled:item.disabled,onChange:_this2.handleSelect.bind(_this2,item),className:"m-list-item-radio"})))})))})))}}]),Base}(react_default.a.Component);base_Base.propTypes={data:prop_types_default.a.array.isRequired,selected:prop_types_default.a.array.isRequired,onSelect:prop_types_default.a.func,multiple:prop_types_default.a.bool,renderItem:prop_types_default.a.func,isGroupList:prop_types_default.a.bool,className:prop_types_default.a.string,style:prop_types_default.a.object},base_Base.defaultProps={multiple:!1,onSelect:noop_default.a,renderItem:function renderItem(item){return item.text}},base_Base.__docgenInfo={description:"",methods:[{name:"apiDoScrollToLabel",docblock:null,modifiers:[],params:[{name:"label",type:null}],returns:null},{name:"apiDoScrollToValue",docblock:null,modifiers:[],params:[{name:"value",type:null}],returns:null},{name:"handleSelect",docblock:null,modifiers:[],params:[{name:"item",type:null}],returns:null}],displayName:"Base",props:{multiple:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:"是否多选"},onSelect:{defaultValue:{value:"_.noop",computed:!0},type:{name:"func"},required:!1,description:"选择回调, 返回数组类型"},renderItem:{defaultValue:{value:"(item) => item.text",computed:!1},type:{name:"func"},required:!1,description:"自定义列表项展示"},data:{type:{name:"array"},required:!0,description:"基本属性,数据格式为[{label, id, children: [{ value text}, ...]}, ...]"},selected:{type:{name:"array"},required:!0,description:"选择项"},isGroupList:{type:{name:"bool"},required:!1,description:""},className:{type:{name:"string"},required:!1,description:""},style:{type:{name:"object"},required:!1,description:""}}};var base=base_Base;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i Promise) | undefined"}},title:{defaultValue:{value:"getLocale('提示')"},description:"",name:"title",required:!1,type:{name:"string"}},confirmText:{defaultValue:{value:"getLocale('确定')"},description:"",name:"confirmText",required:!1,type:{name:"string"}},onCancel:{defaultValue:null,description:"",name:"onCancel",required:!1,type:{name:"(() => Promise)"}},cancelText:{defaultValue:{value:"getLocale('取消')"},description:"",name:"cancelText",required:!1,type:{name:"string"}},otherText:{defaultValue:null,description:"",name:"otherText",required:!1,type:{name:"string"}},onOther:{defaultValue:null,description:"",name:"onOther",required:!1,type:{name:"(() => void)"}},promptText:{defaultValue:null,description:"prompt 的时候有用",name:"promptText",required:!1,type:{name:"string"}},promptInputProps:{defaultValue:null,description:"prompt 的时候有用",name:"promptInputProps",required:!1,type:{name:"ErrorInputProps"}},promptGetError:{defaultValue:null,description:"",name:"promptGetError",required:!1,type:{name:"((value: string) => string | void)"}},hideBottom:{defaultValue:null,description:"",name:"hideBottom",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/dialog/dialog.tsx#Dialog"]={docgenInfo:Dialog.__docgenInfo,name:"Dialog",path:"packages/c-react/src/component/dialog/dialog.tsx#Dialog"})}catch(__react_docgen_typescript_loader_error){}try{dialog.displayName="dialog",dialog.__docgenInfo={description:"",displayName:"dialog",props:{onConfirm:{defaultValue:null,description:"",name:"onConfirm",required:!1,type:{name:"((value?: string) => Promise) | undefined"}},title:{defaultValue:{value:"getLocale('提示')"},description:"",name:"title",required:!1,type:{name:"string"}},confirmText:{defaultValue:{value:"getLocale('确定')"},description:"",name:"confirmText",required:!1,type:{name:"string"}},onCancel:{defaultValue:null,description:"",name:"onCancel",required:!1,type:{name:"(() => Promise)"}},cancelText:{defaultValue:{value:"getLocale('取消')"},description:"",name:"cancelText",required:!1,type:{name:"string"}},otherText:{defaultValue:null,description:"",name:"otherText",required:!1,type:{name:"string"}},onOther:{defaultValue:null,description:"",name:"onOther",required:!1,type:{name:"(() => void)"}},promptText:{defaultValue:null,description:"prompt 的时候有用",name:"promptText",required:!1,type:{name:"string"}},promptInputProps:{defaultValue:null,description:"prompt 的时候有用",name:"promptInputProps",required:!1,type:{name:"ErrorInputProps"}},promptGetError:{defaultValue:null,description:"",name:"promptGetError",required:!1,type:{name:"((value: string) => string | void)"}},hideBottom:{defaultValue:null,description:"",name:"hideBottom",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/dialog/dialog.tsx#dialog"]={docgenInfo:dialog.__docgenInfo,name:"dialog",path:"packages/c-react/src/component/dialog/dialog.tsx#dialog"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(744),__webpack_require__(257)},1896:function(module){module.exports=JSON.parse("{}")},1897:function(module){module.exports=JSON.parse('{"今天":"今天","单天":"單天","起始":"起始","结束":"結束","1月":"1月","2月":"2月","3月":"3月","4月":"4月","5月":"5月","6月":"6月","7月":"7月","8月":"8月","9月":"9月","10月":"10月","11月":"11月","12月":"12月","年":"年","日":"日","一":"一","二":"二","三":"三","四":"四","五":"五","六":"六","提示":"提示","确定":"確定","取消":"取消","没有更多了":"沒有更多瞭","加载中...":"加載中...","没有数据":"沒有數據","点击重新加载":"點擊重新加載","退格":"退格","完成":"完成","搜索":"搜索","选择":"選擇","运营周期":"運營週期","选择运营时间":"選擇運營時間"}')},1898:function(module){module.exports=JSON.parse('{"今天":"Today","单天":"单天","起始":"起始","结束":"结束","1月":"Jan","2月":"Feb","3月":"Mar","4月":"Apr","5月":"May","6月":"Jun","7月":"Jul","8月":"Aug","9月":"Sep","10月":"Oct","11月":"Nov","12月":"Dec","年":"Years","日":"Su","一":"Mo","二":"Tu","三":"We","四":"Th","五":"Fr","六":"Sa","提示":"Tips","确定":"OK","取消":"Cancel","没有更多了":"No more data","加载中...":"Loading...","没有数据":"No data here","点击重新加载":"点击重新加载","退格":"退格","完成":"完成","搜索":"Search","选择":"选择","运营周期":"运营周期","选择运营时间":"选择运营时间"}')},1899:function(module){module.exports=JSON.parse('{"今天":"","单天":"","起始":"","结束":"","1月":"","2月":"","3月":"","4月":"","5月":"","6月":"","7月":"","8月":"","9月":"","10月":"","11月":"","12月":"","年":"","日":"","一":"","二":"","三":"","四":"","五":"","六":"","提示":"","确定":"","取消":"","没有更多了":"","加载中...":"","没有数据":"","点击重新加载":"","退格":"","完成":"","搜索":"","选择":"","运营周期":"","选择运营时间":""}')},1900:function(module){module.exports=JSON.parse('{"今天":"","单天":"","起始":"","结束":"","1月":"","2月":"","3月":"","4月":"","5月":"","6月":"","7月":"","8月":"","9月":"","10月":"","11月":"","12月":"","年":"","日":"","一":"","二":"","三":"","四":"","五":"","六":"","提示":"","确定":"","取消":"","没有更多了":"باشقا سانلىق مەلۇمات يوق","加载中...":"يۈكلىنىۋاتىدۇ...","没有数据":"سانلىق مەلۇمات يوق","点击重新加载":"بۇ يەرنى بېسىپ قايتىدىن ئۇچۇرغا ئېرىشىڭ","退格":"چېكىنىش","完成":"تاماملاش","搜索":"ئىزدەش","选择":"تاللاش","运营周期":"تىجارەت دەۋرى","选择运营时间":"تىجارەت ۋاقتىنى تاللاڭ"}')},1905:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/empty.27cba24e.png"},1910:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/error.931db96b.png"},1911:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/placeholder.d056357f.png"},1913:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/loading.575e01fc.gif"},1916:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/error.67fdfbff.png"},1917:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/placeholder.d056357f.png"},1928:function(module,exports,__webpack_require__){__webpack_require__(1929),__webpack_require__(2123),__webpack_require__(2124),__webpack_require__(3171),__webpack_require__(3172),__webpack_require__(3186),__webpack_require__(3183),__webpack_require__(3190),__webpack_require__(3173),__webpack_require__(3184),__webpack_require__(3185),module.exports=__webpack_require__(3083)},2:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return component_button.a})),__webpack_require__.d(__webpack_exports__,"v",(function(){return view.a})),__webpack_require__.d(__webpack_exports__,"t",(function(){return component_text.a})),__webpack_require__.d(__webpack_exports__,"c",(function(){return cell.a})),__webpack_require__.d(__webpack_exports__,"d",(function(){return component_checkbox.a})),__webpack_require__.d(__webpack_exports__,"a",(function(){return badge.a})),__webpack_require__.d(__webpack_exports__,"s",(function(){return tabs.a})),__webpack_require__.d(__webpack_exports__,"g",(function(){return dialog.a})),__webpack_require__.d(__webpack_exports__,"h",(function(){return flex.a})),__webpack_require__.d(__webpack_exports__,"q",(function(){return range_calendar.a})),__webpack_require__.d(__webpack_exports__,"i",(function(){return input.a})),__webpack_require__.d(__webpack_exports__,"l",(function(){return loading.a})),__webpack_require__.d(__webpack_exports__,"m",(function(){return mask.a})),__webpack_require__.d(__webpack_exports__,"o",(function(){return popup.a})),__webpack_require__.d(__webpack_exports__,"u",(function(){return toast.a})),__webpack_require__.d(__webpack_exports__,"p",(function(){return radio_radio.a})),__webpack_require__.d(__webpack_exports__,"n",(function(){return page.a})),__webpack_require__.d(__webpack_exports__,"r",(function(){return picker.c})),__webpack_require__.d(__webpack_exports__,"e",(function(){return picker.a})),__webpack_require__.d(__webpack_exports__,"j",(function(){return layout_root.a})),__webpack_require__.d(__webpack_exports__,"k",(function(){return layout_root.b})),__webpack_require__.d(__webpack_exports__,"f",(function(){return custom_tabbar.a}));var component_button=__webpack_require__(18),view=__webpack_require__(1),component_text=__webpack_require__(27),cell=__webpack_require__(288),component_checkbox=__webpack_require__(260),badge=__webpack_require__(261),tabs=(__webpack_require__(338),__webpack_require__(532),__webpack_require__(340)),dialog=(__webpack_require__(533),__webpack_require__(188)),flex=__webpack_require__(15),range_calendar=(__webpack_require__(544),__webpack_require__(417),__webpack_require__(396),__webpack_require__(535),__webpack_require__(536),__webpack_require__(745)),input=(__webpack_require__(746),__webpack_require__(537),__webpack_require__(70)),loading=(__webpack_require__(295),__webpack_require__(255)),mask=__webpack_require__(221),popup=__webpack_require__(28),toast=__webpack_require__(69),radio_radio=__webpack_require__(407),page=(__webpack_require__(259),__webpack_require__(168),__webpack_require__(118)),picker=(__webpack_require__(422),__webpack_require__(152),__webpack_require__(749),__webpack_require__(289),__webpack_require__(408),__webpack_require__(547),__webpack_require__(538)),layout_root=(__webpack_require__(421),__webpack_require__(336),__webpack_require__(33)),custom_tabbar=(__webpack_require__(345),__webpack_require__(400)),react=(__webpack_require__(258),__webpack_require__(419),__webpack_require__(546),__webpack_require__(399),__webpack_require__(391),__webpack_require__(100),__webpack_require__(753),__webpack_require__(0)),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),error_Error=function Error(_ref){var className=_ref.className,topLine=_ref.topLine,children=_ref.children;return children?react_default.a.createElement(view.a,{className:classnames_default()("error",className,{"m-border-1px-top-before":topLine,"has-error":!!children})},react_default.a.createElement(view.a,{className:"error-message"},children)):react_default.a.createElement(react_default.a.Fragment,null)};try{error_Error.displayName="Error",error_Error.__docgenInfo={description:"",displayName:"Error",props:{topLine:{defaultValue:null,description:"",name:"topLine",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/error/error.tsx#Error"]={docgenInfo:error_Error.__docgenInfo,name:"Error",path:"packages/c-react/src/component/error/error.tsx#Error"})}catch(__react_docgen_typescript_loader_error){}try{error.displayName="error",error.__docgenInfo={description:"",displayName:"error",props:{topLine:{defaultValue:null,description:"",name:"topLine",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/error/error.tsx#error"]={docgenInfo:error.__docgenInfo,name:"error",path:"packages/c-react/src/component/error/error.tsx#error"})}catch(__react_docgen_typescript_loader_error){}},2004:function(module,exports){},2124:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(392)},2173:function(module,exports){},221:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return mask_mask}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),defineProperty=__webpack_require__(14),defineProperty_default=__webpack_require__.n(defineProperty),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i0?result:null}}]),StorageFactory}(),uuid={generate:function generate(){var rand=this.getRandomInt,hex=this.hexAligner;return hex(rand(32),8)+"-"+hex(rand(16),4)+"-"+hex(16384|rand(12),4)+"-"+hex(32768|rand(14),4)+"-"+hex(rand(48),12)},getRandomInt:function getRandomInt(x){if(x<0||x>53)return NaN;var n=0|1073741824*Math.random();return x>30?n+1073741824*(0|Math.random()*(1<>>30-x},hexAligner:function hexAligner(num,length){for(var str=num.toString(16),i=length-str.length,z="0";i>0;i>>>=1,z+=z)1&i&&(str=z+str);return str}},forEach=__webpack_require__(1133),forEach_default=__webpack_require__.n(forEach),src_pinyin=function pinyin(source,style){if(instance)return instance(source,style);var HANZI_TO_PINYIN={"阿":"a","哎":"ai","安":"an","肮":"ang","凹":"ao","丷":"ba","挀":"bai","扳":"ban","邦":"bang","勹":"bao","陂":"bei","奔":"ben","伻":"beng","屄":"bi","边":"bian","灬":"biao","憋":"bie","汃":"bin","冫":"bing","癶":"bo","峬":"bu","嚓":"ca","偲":"cai","参":"can","仓":"cang","撡":"cao","冊":"ce","嵾":"cen","曽":"ceng","叉":"cha","芆":"chai","辿":"chan","伥":"chang","抄":"chao","车":"che","抻":"chen","阷":"cheng","吃":"chi","充":"chong","抽":"chou","出":"chu","欻":"chua","揣":"chuai","巛":"chuan","刅":"chuang","吹":"chui","旾":"chun","逴":"chuo","呲":"ci","匆":"cong","凑":"cou","粗":"cu","汆":"cuan","崔":"cui","邨":"cun","搓":"cuo","咑":"da","呆":"dai","丹":"dan","当":"dang","刀":"dao","嘚":"de","扥":"dun","灯":"deng","氐":"di","甸":"dian","刁":"diao","爹":"die","丁":"ding","丟":"diu","东":"dong","吺":"dou","厾":"du","耑":"duan","垖":"dui","吨":"dun","多":"duo","妸":"e","诶":"ei","奀":"en","鞥":"eng","儿":"er","发":"fa","帆":"fan","匚":"fang","飞":"fei","分":"fen","丰":"feng","覅":"fiao","仏":"fo","紑":"fou","夫":"fu","旮":"ga","侅":"gai","甘":"gan","冈":"gang","皋":"gao","戈":"ge","给":"gei","根":"gen","刯":"geng","工":"gong","勾":"gou","估":"gu","瓜":"gua","乖":"guai","关":"guan","光":"guang","归":"gui","丨":"gun","呙":"guo","哈":"ha","咍":"hai","佄":"han","夯":"hang","茠":"hao","诃":"he","黒":"hei","拫":"hen","亨":"heng","噷":"hm","叿":"hong","齁":"hou","乎":"hu","花":"hua","怀":"huai","欢":"huan","巟":"huang","灰":"hui","昏":"hun","吙":"huo","丌":"ji","加":"jia","戋":"jian","江":"jiang","艽":"jiao","阶":"jie","巾":"jin","坕":"jing","冂":"jiong","丩":"jiu","凥":"ju","姢":"juan","噘":"jue","军":"jun","咔":"ka","开":"kai","刊":"kan","忼":"kang","尻":"kao","匼":"ke","肎":"ken","劥":"keng","空":"kong","抠":"kou","扝":"ku","夸":"kua","蒯":"kuai","宽":"kuan","匡":"kuang","亏":"kui","坤":"kun","扩":"kuo","垃":"la","来":"lai","兰":"lan","啷":"lang","捞":"lao","肋":"le","勒":"lei","崚":"leng","哩":"li","俩":"lia","奁":"lian","良":"liang","撩":"liao","毟":"lie","拎":"lin","伶":"ling","溜":"liu","囖":"lo","龙":"long","瞜":"lou","噜":"lu","驴":"lv","娈":"luan","掠":"lüe","抡":"lun","罗":"luo","呣":"m","妈":"ma","埋":"mai","嫚":"man","牤":"mang","猫":"mao","嚒":"me","呅":"mei","椚":"men","擝":"meng","咪":"mi","宀":"mian","喵":"miao","乜":"mie","民":"min","名":"ming","谬":"miu","摸":"mo","哞":"mou","毪":"mu","嗯":"ńg","拏":"na","腉":"nai","囡":"nan","囔":"nang","孬":"nao","疒":"ne","娞":"nei","恁":"nen","能":"neng","妮":"ni","拈":"nian","娘":"niang","鸟":"niao","捏":"nie","囜":"nin","宁":"ning","妞":"niu","农":"nong","羺":"nou","奴":"nu","女":"nv","奻":"nuan","疟":"nüe","黁":"nun","挪":"nuo","喔":"o","讴":"ou","妑":"pa","拍":"pai","眅":"pan","乓":"pang","抛":"pao","呸":"pei","喷":"pen","匉":"peng","丕":"pi","囨":"pian","剽":"piao","氕":"pie","姘":"pin","乒":"ping","钋":"po","剖":"pou","仆":"pu","七":"qi","掐":"qia","千":"qian","呛":"qiang","悄":"qiao","苆":"qie","亲":"qin","靑":"qing","卭":"qiong","丘":"qiu","区":"qu","奍":"quan","缺":"que","夋":"qun","呥":"ran","穣":"rang","娆":"rao","惹":"re","人":"ren","扔":"reng","日":"ri","茸":"rong","厹":"rou","邚":"ru","挼":"rua","堧":"ruan","婑":"rui","瞤":"run","捼":"ruo","仨":"sa","毢":"sai","三":"san","桒":"sang","掻":"sao","閪":"se","森":"sen","僧":"seng","杀":"sha","筛":"shai","山":"shan","伤":"shang","弰":"shao","奢":"she","申":"shen","升":"sheng","尸":"shi","収":"shou","书":"shu","刷":"shua","衰":"shuai","闩":"shuan","双":"shuang","脽":"shui","吮":"shun","说":"shuo","厶":"si","忪":"song","凁":"sou","苏":"su","狻":"suan","夊":"sui","孙":"sun","唆":"suo","他":"ta","囼":"tai","坍":"tan","汤":"tang","夲":"tao","忑":"te","熥":"teng","剔":"ti","天":"tian","旫":"tiao","帖":"tie","厅":"ting","囲":"tong","偷":"tou","凸":"tu","湍":"tuan","推":"tui","吞":"tun","乇":"tuo","屲":"wa","歪":"wai","弯":"wan","尣":"wang","危":"wei","昷":"wen","翁":"weng","挝":"wo","乌":"wu","夕":"xi","虲":"xia","仙":"xian","乡":"xiang","灱":"xiao","些":"xie","心":"xin","星":"xing","凶":"xiong","休":"xiu","吁":"xu","吅":"xuan","削":"xue","坃":"xun","丫":"ya","恹":"yan","央":"yang","幺":"yao","倻":"ye","一":"yi","囙":"yin","应":"ying","哟":"yo","佣":"yong","优":"you","込":"yu","囦":"yuan","曰":"yue","晕":"yun","帀":"za","災":"zai","兂":"zan","匨":"zang","傮":"zao","则":"ze","贼":"zei","怎":"zen","増":"zeng","扎":"zha","夈":"zhai","枬":"zhan","张":"zhang","佋":"zhao","蜇":"zhe","贞":"zhen","凧":"zheng","之":"zhi","中":"zhong","州":"zhou","朱":"zhu","抓":"zhua","拽":"zhuai","专":"zhuan","妆":"zhuang","隹":"zhui","宒":"zhun","卓":"zhuo","乲":"zi","宗":"zong","邹":"zou","租":"zu","钻":"zuan","厜":"zui","尊":"zun","昨":"zuo"},hanzis=Object.keys(HANZI_TO_PINYIN),pinyins=Object.values(HANZI_TO_PINYIN),cache=Object.assign({},HANZI_TO_PINYIN,{"沈":"shen","嗲":"dia","碡":"zhou","聒":"guo","炔":"que","蚵":"ke","砉":"hua","嬤":"mo","蹒":"pan","丬":"pan","霰":"xian","豉":"chi","饧":"xing","帧":"zhen","郍":"na","芎":"xiong","谁":"shui"});if(!!navigator.userAgent.match(/Version\/[\d.]+.*Safari/)){var fixedComparedHanzisInSafari={"丷":"八","抽":"婤","凑":"腠","厾":"艔","夫":"伕","勾":"佝","乎":"乯","欢":"犿","哩":"刕","毟":"列","伶":"刢","嚒":"么","椚":"门","擝":"甿","娘":"嬢","剖":"娝","苆":"癿","卭":"匔","奍":"峑","凁":"捜","偷":"偸","屲":"穵","仙":"仚","込":"扜","优":"攸","夈":"捚","枬":"沾","凧":"争","州":"诌"};Object.keys(fixedComparedHanzisInSafari).forEach((function(hanzi){hanzis[hanzis.indexOf(hanzi)]=fixedComparedHanzisInSafari[hanzi]}));Object.assign(cache,{"凒":"ai","貋":"an","飹":"bao","蛽":"bei","榌":"bi","畁":"bi","禆":"bi","獱":"bian","溊":"bo","淿":"bo","鸔":"bu","廍":"bu","礸":"ca","荝":"ce","犲":"chai","仩":"chang","罉":"cheng","鐣":"cheng","粚":"chi","鵄":"chi","攡":"chi","肔":"chi","槆":"chun","媨":"cu","膥":"cun","迏":"da","迚":"da","跶":"da","亣":"da","侢":"dai","蚮":"dai","艔":"dao","悳":"de","枤":"di","刟":"diao","鈟":"diao","譵":"dui","遻":"e","笩":"fa","匥":"fan","仮":"fan","胐":"fei","襥":"fu","焹":"gang","稁":"gao","峼":"gao","搄":"gen","匔":"gong","簼":"gou","躀":"guan","褁":"guo","駴":"hai","呵":"he","寉":"he","燺":"he","玜":"hong","闀":"hong","蘤":"hua","諙":"hua","鯶":"huan","屶":"hui","檅":"hui","叝":"ji","躤":"ji","笅":"jiao","鞂":"jie","掶":"jie","媫":"jie","嶻":"jie","擮":"jie","礍":"jie","矝":"jin","煡":"jin","璄":"jing","燛":"jiong","鼰":"ju","烥":"ju","灍":"jue","鵕":"jun","钶":"ke","狅":"kuang","軠":"kuang","鋛":"kuang","嗠":"lao","矋":"lei","竰":"li","竂":"liao","謢":"lu","簵":"lu","率":"lv","绿":"lv","嘸":"m","袮":"mi","粎":"mi","杣":"mian","嫹":"miao","琝":"min","吶":"na","呐":"na","抩":"nan","煵":"nan","踙":"nie","倿":"ning","挵":"nong","衂":"nv","渒":"pai","萠":"pan","蘕":"peng","錃":"pi","蠯":"pi","酦":"po","炇":"pu","圑":"pu","暜":"pu","捿":"qi","紪":"qi","嵜":"qi","褀":"qi","騹":"qi","峠":"qia","偂":"qian","嬱":"qian","鞩":"qiao","厒":"qie","鈫":"qin","儬":"qing","濪":"qing","峵":"rong","钑":"sa","炶":"shan","椫":"shan","罙":"shen","鯓":"shen","枡":"sheng","鍟":"sheng","縄":"sheng","膄":"shou","毺":"shu","暺":"tan","砙":"wa","晥":"wan","瞣":"wan","榲":"wen","饂":"wen","攚":"weng","邜":"xi","湺":"xian","鷍":"xiao","炨":"xie","匂":"xiong","潃":"xiu","燅":"xun","訮":"yan","滧":"yao","摿":"yao","磘":"yao","洂":"ye","捙":"ye","璍":"ye","渏":"yi","頥":"yi","鈘":"yi","貖":"yi","袬":"yu","鴧":"yu","伝":"yun","齫":"yun","沯":"za","溨":"zai","煰":"zao","歵":"ze","茋":"zhi","隲":"zhi","钃":"zhu","赼":"zi","荢":"zi","燪":"zong","唨":"zu"})}var _pinyin=function _pinyin(source,style){var foundPinyin="";return forEach_default()(source,(function(target){foundPinyin+=function convert(target,style){if(cache[target])return"first_letter"===style?cache[target].charAt(0):cache[target];var charCode=target.charCodeAt(0);if(charCode<19968||charCode>40869)return target;for(var hanzi,compareResult,start=0,end=hanzis.length-1,index=-1;start<=end;)if(index=parseInt("".concat((start+end)/2)),hanzi=hanzis[index],1===(compareResult=target.localeCompare(hanzi,["zh-CN"])))start=index+1;else{if(-1!==compareResult)break;end=index-1}return compareResult<0&&index--,cache[target]=pinyins[index],"first_letter"===style?pinyins[index].charAt(0):pinyins[index]}(target,style)})),foundPinyin};return function(source,style){return instance||(instance=_pinyin),instance(source,style)}(source,style)};__webpack_require__(1902),__webpack_require__(1903),__webpack_require__(1904);var events={add:function add(eventName,handler){window.addEventListener(eventName,handler)},dispatch:function dispatch(eventName,detail){window.dispatchEvent(new window.CustomEvent(eventName,{detail:detail}))},remove:function remove(eventName,handler){window.removeEventListener(eventName,handler)},once:function once(eventName,handler){window.removeEventListener(eventName,handler)}}},254:function(module,__webpack_exports__,__webpack_require__){"use strict";var isiOS=null,is={web:function web(){return"undefined"===Object({NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:"."}).TARO_ENV},weApp:function weApp(){return"weapp"===Object({NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:"."}).TARO_ENV},promise:function promise(arg){return"[object Promise]"===toString.call(arg)},chinese:function chinese(value){return/[\u4E00-\u9FA5]/.test(value)},iOS:function iOS(){return null===isiOS&&(isiOS=!!window.navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)),isiOS},weixin:function weixin(){return/MicroMessenger/i.test(navigator.userAgent)},phone:function phone(){return window.navigator.userAgent.includes("Mobile")}};__webpack_exports__.a=is},255:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return loading_loading}));var objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1),loading_Icon=function Icon(props){return react_default.a.createElement("svg",extends_default()({},props,{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 100 100"}),react_default.a.createElement("path",{fill:"none",d:"M0 0h100v100H0z"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.50",rx:"5",ry:"5",transform:"translate(0 -30)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.46",rx:"5",ry:"5",transform:"rotate(30 105.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.42",rx:"5",ry:"5",transform:"rotate(60 75.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.38",rx:"5",ry:"5",transform:"rotate(90 65 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.34",rx:"5",ry:"5",transform:"rotate(120 58.66 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.30",rx:"5",ry:"5",transform:"rotate(150 54.02 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.26",rx:"5",ry:"5",transform:"rotate(180 50 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.22",rx:"5",ry:"5",transform:"rotate(-150 45.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.18",rx:"5",ry:"5",transform:"rotate(-120 41.34 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.14",rx:"5",ry:"5",transform:"rotate(-90 35 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.10",rx:"5",ry:"5",transform:"rotate(-60 24.02 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.06",rx:"5",ry:"5",transform:"rotate(-30 -5.98 65)"}))},loading_Icon2=function Icon2(props){return react_default.a.createElement("svg",extends_default()({},props,{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 100 100",fill:"white"}),react_default.a.createElement("path",{fill:"none",d:"M0 0h100v100H0z"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.70",rx:"5",ry:"5",transform:"translate(0 -30)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.66",rx:"5",ry:"5",transform:"rotate(30 105.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.62",rx:"5",ry:"5",transform:"rotate(60 75.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.58",rx:"5",ry:"5",transform:"rotate(90 65 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.54",rx:"5",ry:"5",transform:"rotate(120 58.66 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.50",rx:"5",ry:"5",transform:"rotate(150 54.02 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.46",rx:"5",ry:"5",transform:"rotate(180 50 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.42",rx:"5",ry:"5",transform:"rotate(-150 45.98 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.38",rx:"5",ry:"5",transform:"rotate(-120 41.34 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.34",rx:"5",ry:"5",transform:"rotate(-90 35 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.30",rx:"5",ry:"5",transform:"rotate(-60 24.02 65)"}),react_default.a.createElement("rect",{width:"7",height:"20",x:"46.5",y:"40",fillOpacity:"0.26",rx:"5",ry:"5",transform:"rotate(-30 -5.98 65)"}))},loading_Loading=function Loading(_ref){var children=_ref.children,className=_ref.className,_isToast=_ref._isToast,rest=objectWithoutProperties_default()(_ref,["children","className","_isToast"]);return react_default.a.createElement(view.a,extends_default()({},rest,{className:classnames_default()("m-loading",className)}),_isToast?react_default.a.createElement(loading_Icon2,{className:"m-loading-icon"}):react_default.a.createElement(loading_Icon,{className:"m-loading-icon"}),children)},loading_loading=loading_Loading;try{loading_Loading.displayName="Loading",loading_Loading.__docgenInfo={description:"",displayName:"Loading",props:{_isToast:{defaultValue:null,description:"",name:"_isToast",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/loading/loading.tsx#Loading"]={docgenInfo:loading_Loading.__docgenInfo,name:"Loading",path:"packages/c-react/src/component/loading/loading.tsx#Loading"})}catch(__react_docgen_typescript_loader_error){}try{loading.displayName="loading",loading.__docgenInfo={description:"",displayName:"loading",props:{_isToast:{defaultValue:null,description:"",name:"_isToast",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/loading/loading.tsx#loading"]={docgenInfo:loading.__docgenInfo,name:"loading",path:"packages/c-react/src/component/loading/loading.tsx#loading"})}catch(__react_docgen_typescript_loader_error){}},256:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),classnames__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__),_view__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1),Cells=function Cells(_ref){var title=_ref.title,mini=_ref.mini,className=_ref.className,children=_ref.children,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref,["title","mini","className","children"]);return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},rest,{className:classnames__WEBPACK_IMPORTED_MODULE_3___default()("m-cells",{"m-cells-mini":mini},className)}),title&&react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-cells-title"},title),react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-cells-content"},children))};__webpack_exports__.a=Cells;try{Cells.displayName="Cells",Cells.__docgenInfo={description:"",displayName:"Cells",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},mini:{defaultValue:null,description:"",name:"mini",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/cell/cells.tsx#Cells"]={docgenInfo:Cells.__docgenInfo,name:"Cells",path:"packages/c-react/src/component/cell/cells.tsx#Cells"})}catch(__react_docgen_typescript_loader_error){}try{cells.displayName="cells",cells.__docgenInfo={description:"",displayName:"cells",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},mini:{defaultValue:null,description:"",name:"mini",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/cell/cells.tsx#cells"]={docgenInfo:cells.__docgenInfo,name:"cells",path:"packages/c-react/src/component/cell/cells.tsx#cells"})}catch(__react_docgen_typescript_loader_error){}},257:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(12),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(43),_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),___WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(2),mobx_react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(337),classnames__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__),_base__WEBPACK_IMPORTED_MODULE_7__=(__webpack_require__(3039),__webpack_require__(744));__webpack_exports__.a=function(_ref){var _ref$title=_ref.title,title=void 0===_ref$title?"选择":_ref$title,_ref$list=_ref.list,list=void 0===_ref$list?[]:_ref$list,_ref$needConfirm=_ref.needConfirm,needConfirm=void 0!==_ref$needConfirm&&_ref$needConfirm,_ref$multiSelect=_ref.multiSelect,multiSelect=void 0!==_ref$multiSelect&&_ref$multiSelect,_ref$defaultSelected=_ref.defaultSelected,defaultSelected=void 0===_ref$defaultSelected?[]:_ref$defaultSelected,_ref$maxHeight=_ref.maxHeight,maxHeight=void 0===_ref$maxHeight?"50vh":_ref$maxHeight,onCancel=_ref.onCancel;multiSelect&&(needConfirm=!0);var selected=_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(defaultSelected),Children=Object(mobx_react__WEBPACK_IMPORTED_MODULE_4__.b)((function(){var _useState=Object(react__WEBPACK_IMPORTED_MODULE_2__.useState)(defaultSelected),_useState2=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState,2),state=_useState2[0],setState=_useState2[1];return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.v,{className:"m-padding-tb-5",style:{maxHeight:maxHeight,overflow:"auto"}},list.map((function(item,i){var include=!!state.find((function(item){return item.value===list[i].value})),right=multiSelect?react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.d,{checked:include,primary:!0}):react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.v,{className:classnames__WEBPACK_IMPORTED_MODULE_5___default()({"choose-circle":include})});return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.c,{key:i,left:react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.v,{className:classnames__WEBPACK_IMPORTED_MODULE_5___default()({"m-text-primary":include})},item.text),right:right,onClick:function onClick(){include?selected.splice(state.findIndex((function(item){return item.value===list[i].value})),1):selected.push(item),needConfirm?setState(multiSelect?_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(selected):[item]):promise.ok((function(){return[item]}))}})})))})),promise=Object(_base__WEBPACK_IMPORTED_MODULE_7__.a)({title:title,children:react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(Children,null),onOk:function onOk(){return selected},onCancel:onCancel,bottom:needConfirm?void 0:react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(___WEBPACK_IMPORTED_MODULE_3__.v,null)});return promise};try{choose.displayName="choose",choose.__docgenInfo={description:"底部弹出的选择界面",displayName:"choose",props:{title:{defaultValue:null,description:"标题",name:"title",required:!1,type:{name:"string"}},list:{defaultValue:null,description:"选择项列表",name:"list",required:!0,type:{name:"Item[]"}},needConfirm:{defaultValue:null,description:"是否显示确认按钮,多选时multiSelect强制为true",name:"needConfirm",required:!1,type:{name:"boolean"}},multiSelect:{defaultValue:null,description:"是否多选",name:"multiSelect",required:!1,type:{name:"boolean"}},defaultSelected:{defaultValue:null,description:"初始选中的",name:"defaultSelected",required:!1,type:{name:"Item[]"}},maxHeight:{defaultValue:null,description:"搜索功能",name:"maxHeight",required:!1,type:{name:"string"}},onCancel:{defaultValue:null,description:"",name:"onCancel",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/dialog/common/choose.tsx#choose"]={docgenInfo:choose.__docgenInfo,name:"choose",path:"packages/c-react/src/component/dialog/common/choose.tsx#choose"})}catch(__react_docgen_typescript_loader_error){}},258:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return text_field_TextField}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),slicedToArray=__webpack_require__(12),slicedToArray_default=__webpack_require__.n(slicedToArray),defineProperty=__webpack_require__(14),defineProperty_default=__webpack_require__.n(defineProperty),classCallCheck=__webpack_require__(42),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(49),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(76),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(77),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(34),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),uniqueId=__webpack_require__(1908),uniqueId_default=__webpack_require__.n(uniqueId),clamp=__webpack_require__(342),clamp_default=__webpack_require__.n(clamp),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),flex=__webpack_require__(15),view=__webpack_require__(1),input=__webpack_require__(70),component_textarea=__webpack_require__(152),mobx_esm=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i void)"}},type:{defaultValue:null,description:"输入框类型, web端和小程序端取值有差异",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"number"'},{value:'"text"'},{value:'"search"'},{value:'"password"'},{value:'"idcard"'},{value:'"digit"'}]}},left:{defaultValue:null,description:"输入框前置组件(边框内)",name:"left",required:!1,type:{name:"ReactNode"}},right:{defaultValue:null,description:"输入框后置组件(边框内)",name:"right",required:!1,type:{name:"ReactNode"}},prefix:{defaultValue:null,description:"输入框前置组件(边框外)",name:"prefix",required:!1,type:{name:"ReactNode"}},suffix:{defaultValue:null,description:"输入框后置组件(边框外)",name:"suffix",required:!1,type:{name:"ReactNode"}},show:{defaultValue:null,description:"语法糖: display:show ? undefined : 'none'",name:"show",required:!1,type:{name:"boolean"}},outlined:{defaultValue:null,description:"是否显示边框",name:"outlined",required:!1,type:{name:"boolean"}},bottomLined:{defaultValue:null,description:"是否显示下划线",name:"bottomLined",required:!1,type:{name:"boolean"}},mini:{defaultValue:null,description:"小尺寸",name:"mini",required:!1,type:{name:"boolean"}},normal:{defaultValue:null,description:"普通尺寸",name:"normal",required:!1,type:{name:"boolean"}},large:{defaultValue:null,description:"大尺寸",name:"large",required:!1,type:{name:"boolean"}},round:{defaultValue:null,description:"圆角",name:"round",required:!1,type:{name:"boolean"}},block:{defaultValue:null,description:"最大宽度",name:"block",required:!1,type:{name:"boolean"}},multiLines:{defaultValue:null,description:"textarea 模式",name:"multiLines",required:!1,type:{name:"boolean"}},lines:{defaultValue:null,description:"textarea 模式时输入框的行数(高度)",name:"lines",required:!1,type:{name:"number"}},err:{defaultValue:null,description:"表单验证",name:"err",required:!1,type:{name:"ReactNode"}},keepErrPlace:{defaultValue:null,description:"是否没有错误时也保留错误容器的位置,以免错误信息出现时破坏布局",name:"keepErrPlace",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"禁止输入",name:"disabled",required:!1,type:{name:"boolean"}},highlight:{defaultValue:null,description:"高亮强调,使用var(--m-color-bg-secondary)作为高亮颜色",name:"highlight",required:!1,type:{name:"boolean"}},maxLength:{defaultValue:null,description:"限制长度",name:"maxLength",required:!1,type:{name:"number"}},min:{defaultValue:null,description:"数字类型时的最小值限制",name:"min",required:!1,type:{name:"number"}},fractionDigits:{defaultValue:null,description:"type为number时,小数位数限制,默认不做处理",name:"fractionDigits",required:!1,type:{name:"number"}},max:{defaultValue:null,description:"数字类型时的最大值限制",name:"max",required:!1,type:{name:"number"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},innerClassName:{defaultValue:null,description:"padding内元素类",name:"innerClassName",required:!1,type:{name:"string"}},errClassName:{defaultValue:null,description:"校验报错后的错误类",name:"errClassName",required:!1,type:{name:"string"}},cursorSpacing:{defaultValue:null,description:"键盘和输入框距离,小程序特有",name:"cursorSpacing",required:!1,type:{name:"number"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"(() => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"(() => void)"}},onClick:{defaultValue:null,description:"e在web中和小程序中不一样",name:"onClick",required:!1,type:{name:"((e: any) => void)"}},className:{defaultValue:null,description:"同 `class`,在 React/Nerv 里一般使用 `className` 作为 `class` 的代称",name:"className",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"输入框为空时占位符\n@supported weapp, h5, rn",name:"placeholder",required:!1,type:{name:"string"}},onInput:{defaultValue:null,description:"小程序特有\n当键盘输入时,触发input事件,event.detail = {value, cursor, keyCode},处理函数可以直接 return 一个字符串,将替换输入框的内容。\n@supported weapp, h5, rn",name:"onInput",required:!1,type:{name:"(((e: BaseEventOrig) => void) & BaseEventOrigFunction)"}},isForm:{defaultValue:null,description:"",name:"isForm",required:!1,type:{name:"boolean"}},focus:{defaultValue:null,description:"获取焦点\n@supported weapp, h5, rn",name:"focus",required:!1,type:{name:"boolean"}},autoFocus:{defaultValue:{value:"false"},description:"小程序特有\n(即将废弃,请直接使用 focus )自动聚焦,拉起键盘\n@supported weapp",name:"autoFocus",required:!1,type:{name:"boolean"}},onConfirm:{defaultValue:null,description:"小程序特有\n点击完成按钮时触发\n\nevent.detail = {value: value}\n@supported weapp, rn\n@h5 借用[Form 组件](form.html)的`onSubmit`事件来替代",name:"onConfirm",required:!1,type:{name:"(((e: FormEvent) => void) & BaseEventOrigFunction)"}},adjustPosition:{defaultValue:{value:"false"},description:"小程序特有\n键盘弹起时,是否自动上推页面\n@supported weapp",name:"adjustPosition",required:!1,type:{name:"boolean"}},confirmType:{defaultValue:{value:"done"},description:"小程序特有\n设置键盘右下角按钮的文字\n@supported weapp, rn",name:"confirmType",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"search"'},{value:'"send"'},{value:'"next"'},{value:'"go"'},{value:'"done"'}]}},password:{defaultValue:null,description:"小程序特有\n是否是密码类型\n@supported weapp, h5, rn",name:"password",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/text_field/TextField.tsx#TextField"]={docgenInfo:TextField_TextField.__docgenInfo,name:"TextField",path:"packages/c-react/src/component/text_field/TextField.tsx#TextField"})}catch(__react_docgen_typescript_loader_error){}},259:function(module,__webpack_exports__,__webpack_require__){"use strict";var classCallCheck=__webpack_require__(42),classCallCheck_default=__webpack_require__.n(classCallCheck),createClass=__webpack_require__(49),createClass_default=__webpack_require__.n(createClass),inherits=__webpack_require__(76),inherits_default=__webpack_require__.n(inherits),possibleConstructorReturn=__webpack_require__(77),possibleConstructorReturn_default=__webpack_require__.n(possibleConstructorReturn),getPrototypeOf=__webpack_require__(34),getPrototypeOf_default=__webpack_require__.n(getPrototypeOf),lodash_isNaN=__webpack_require__(166),isNaN_default=__webpack_require__.n(lodash_isNaN),isNil=__webpack_require__(767),isNil_default=__webpack_require__.n(isNil),find=__webpack_require__(93),find_default=__webpack_require__.n(find),react=__webpack_require__(0),react_default=__webpack_require__.n(react),view=__webpack_require__(1),component_text=__webpack_require__(27),src=__webpack_require__(24),storage=new src.b("_gm-mobile_",window.localStorage),defineProperty=__webpack_require__(14),defineProperty_default=__webpack_require__.n(defineProperty),big=__webpack_require__(292),big_default=__webpack_require__.n(big);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:[];list&&list.length&&(_currencyList=list)},setCurrency:function setCurrency(symbol){symbol&&symbol!==_symbol&&(_symbol=symbol,storage.set("Price#symbol",symbol),src.a.dispatch("GM_MOBILE_UPDATE_PRICE"))},getCurrency:function getCurrency(){var type=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",current=type?price_getCurrentFromType(type):null;return current?current.symbol:_symbol},setUnit:function setUnit(unit){unit&&unit!==_unit&&(_unit=unit,storage.set("Price#unit",unit))},getUnit:function getUnit(){var type=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",current=type?price_getCurrentFromType(type):null;return current?current.unit:_unit}},price_PriceBase=function(_Component){inherits_default()(PriceBase,_Component);var _super=_createSuper(PriceBase);function PriceBase(){var _this;classCallCheck_default()(this,PriceBase);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_super.call.apply(_super,[this].concat(args))).reRender=function(){_this.forceUpdate()},_this}return createClass_default()(PriceBase,[{key:"componentDidMount",value:function componentDidMount(){src.a.add("GM_MOBILE_UPDATE_PRICE",this.reRender)}},{key:"componentWillUnmount",value:function componentWillUnmount(){src.a.remove("GM_MOBILE_UPDATE_PRICE",this.reRender)}},{key:"render",value:function render(){var _this$props=this.props,value=_this$props.value,_this$props$useGroupi=_this$props.useGrouping,useGrouping=void 0===_this$props$useGroupi||_this$props$useGroupi,_this$props$precision=_this$props.precision,precision=void 0===_this$props$precision?2:_this$props$precision,_this$props$currencyS=_this$props.currencyScale,currencyScale=void 0===_this$props$currencyS?.85:_this$props$currencyS,_this$props$isFenUnit=_this$props.isFenUnit,isFenUnit=void 0!==_this$props$isFenUnit&&_this$props$isFenUnit,_this$props$keepZero=_this$props.keepZero,keepZero=void 0===_this$props$keepZero||_this$props$keepZero,_this$props$feeType=_this$props.feeType,feeType=void 0===_this$props$feeType?"":_this$props$feeType,className=_this$props.className,style=_this$props.style,current=price_getCurrentFromType(feeType);return isNil_default()(value)||isNaN_default()(value)?null:react_default.a.createElement(view.a,{className:className,style:style},value<0?"-":"",react_default.a.createElement(component_text.a,{style:{fontSize:"".concat(currencyScale>1?"1":currencyScale,"em")}},current?current.symbol:_symbol),PriceStatics.format(Math.abs(value),isFenUnit,{useGrouping:useGrouping,precision:precision,keepZero:keepZero}))}}]),PriceBase}(react.Component),Price=Object.assign(price_PriceBase,PriceStatics);__webpack_exports__.a=Price;try{Price.displayName="Price",Price.__docgenInfo={description:"",displayName:"Price",props:{value:{defaultValue:null,description:"展示数值",name:"value",required:!0,type:{name:"number"}},precision:{defaultValue:null,description:"精度, 展示几位小数",name:"precision",required:!1,type:{name:"number"}},useGrouping:{defaultValue:null,description:"是否使用千分符",name:"useGrouping",required:!1,type:{name:"boolean"}},currencyScale:{defaultValue:null,description:"货币符号的缩放大小",name:"currencyScale",required:!1,type:{name:"number"}},keepZero:{defaultValue:null,description:"是否保留小数点后无效的零",name:"keepZero",required:!1,type:{name:"boolean"}},isFenUnit:{defaultValue:null,description:"",name:"isFenUnit",required:!1,type:{name:"boolean"}},feeType:{defaultValue:null,description:"多币种",name:"feeType",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/price/price.tsx#Price"]={docgenInfo:Price.__docgenInfo,name:"Price",path:"packages/c-react/src/component/price/price.tsx#Price"})}catch(__react_docgen_typescript_loader_error){}try{price.displayName="price",price.__docgenInfo={description:"",displayName:"price",props:{value:{defaultValue:null,description:"展示数值",name:"value",required:!0,type:{name:"number"}},precision:{defaultValue:null,description:"精度, 展示几位小数",name:"precision",required:!1,type:{name:"number"}},useGrouping:{defaultValue:null,description:"是否使用千分符",name:"useGrouping",required:!1,type:{name:"boolean"}},currencyScale:{defaultValue:null,description:"货币符号的缩放大小",name:"currencyScale",required:!1,type:{name:"number"}},keepZero:{defaultValue:null,description:"是否保留小数点后无效的零",name:"keepZero",required:!1,type:{name:"boolean"}},isFenUnit:{defaultValue:null,description:"",name:"isFenUnit",required:!1,type:{name:"boolean"}},feeType:{defaultValue:null,description:"多币种",name:"feeType",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/price/price.tsx#price"]={docgenInfo:price.__docgenInfo,name:"price",path:"packages/c-react/src/component/price/price.tsx#price"})}catch(__react_docgen_typescript_loader_error){}},26:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"i",(function(){return letter_index_multiple.a})),__webpack_require__.d(__webpack_exports__,"c",(function(){return css_variable.a})),__webpack_require__.d(__webpack_exports__,"b",(function(){return src.b})),__webpack_require__.d(__webpack_exports__,"a",(function(){return src.a})),__webpack_require__.d(__webpack_exports__,"e",(function(){return src.h})),__webpack_require__.d(__webpack_exports__,"j",(function(){return src.m})),__webpack_require__.d(__webpack_exports__,"k",(function(){return src.n})),__webpack_require__.d(__webpack_exports__,"g",(function(){return src.j})),__webpack_require__.d(__webpack_exports__,"h",(function(){return src.k})),__webpack_require__.d(__webpack_exports__,"f",(function(){return image_image.a})),__webpack_require__.d(__webpack_exports__,"d",(function(){return canvas.a}));__webpack_require__(529),__webpack_require__(545),__webpack_require__(754),__webpack_require__(409).a,__webpack_require__(414),__webpack_require__(184),__webpack_require__(410),__webpack_require__(540);var letter_index_multiple=__webpack_require__(755),css_variable=__webpack_require__(541),src=(__webpack_require__(138),__webpack_require__(2)),image_image=__webpack_require__(94),canvas=(__webpack_require__(290),__webpack_require__(758),__webpack_require__(411),__webpack_require__(418),__webpack_require__(344),__webpack_require__(416),__webpack_require__(412),__webpack_require__(542));src.g.alert,src.g.confirm,src.g.prompt,src.g.delete},260:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return checkbox_checkbox}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),noop=__webpack_require__(11),noop_default=__webpack_require__.n(noop),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1),checkbox_Checkbox=function Checkbox(_ref){var className=_ref.className,disabled=_ref.disabled,checked=_ref.checked,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop_default.a:_ref$onChange,circle=_ref.circle,primary=_ref.primary,children=_ref.children,rest=objectWithoutProperties_default()(_ref,["className","disabled","checked","onChange","circle","primary","children"]);return react_default.a.createElement(view.a,extends_default()({},rest,{className:classnames_default()("m-checkbox",{disabled:disabled,"m-checkbox-checked":checked,"m-checkbox-circle":circle,"m-checkbox-primary":primary},className),onClick:function handleChange(){disabled||onChange()}}),react_default.a.createElement(view.a,{className:"m-checkbox-tick"}),react_default.a.createElement(view.a,{className:"m-checkbox-child"},children))},checkbox_checkbox=checkbox_Checkbox;try{checkbox_Checkbox.displayName="Checkbox",checkbox_Checkbox.__docgenInfo={description:"",displayName:"Checkbox",props:{checked:{defaultValue:null,description:"选中态",name:"checked",required:!0,type:{name:"boolean"}},circle:{defaultValue:null,description:"圆形",name:"circle",required:!1,type:{name:"boolean"}},primary:{defaultValue:null,description:"主题色",name:"primary",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},onChange:{defaultValue:{value:"_.noop"},description:"回调函数",name:"onChange",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/checkbox/checkbox.tsx#Checkbox"]={docgenInfo:checkbox_Checkbox.__docgenInfo,name:"Checkbox",path:"packages/c-react/src/component/checkbox/checkbox.tsx#Checkbox"})}catch(__react_docgen_typescript_loader_error){}try{checkbox.displayName="checkbox",checkbox.__docgenInfo={description:"",displayName:"checkbox",props:{checked:{defaultValue:null,description:"选中态",name:"checked",required:!0,type:{name:"boolean"}},circle:{defaultValue:null,description:"圆形",name:"circle",required:!1,type:{name:"boolean"}},primary:{defaultValue:null,description:"主题色",name:"primary",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},onChange:{defaultValue:{value:"_.noop"},description:"回调函数",name:"onChange",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/checkbox/checkbox.tsx#checkbox"]={docgenInfo:checkbox.__docgenInfo,name:"checkbox",path:"packages/c-react/src/component/checkbox/checkbox.tsx#checkbox"})}catch(__react_docgen_typescript_loader_error){}},261:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return badge_badge}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1),badge_Badge=function Badge(props){var children=props.children,count=props.count,className=props.className,_props$corner=props.corner,corner=void 0!==_props$corner&&_props$corner,_props$dot=props.dot,dot=void 0!==_props$dot&&_props$dot,_props$overflowCount=props.overflowCount,overflowCount=void 0===_props$overflowCount?99:_props$overflowCount,_props$showOverflow=props.showOverflow,showOverflow=void 0!==_props$showOverflow&&_props$showOverflow,rest=objectWithoutProperties_default()(props,["children","count","className","corner","dot","overflowCount","showOverflow"]),badgeCls=classnames_default()("m-badge",className),textCls=classnames_default()({"m-badge-dot":dot,"m-badge-text":!dot,"m-badge-round":!showOverflow&&overflowCount<100,"m-badge-corner":corner}),displayText=dot?"":count;return count&&count>overflowCount&&(displayText=overflowCount+(showOverflow?"+":"")),react_default.a.createElement(view.a,extends_default()({},rest,{className:badgeCls}),children,react_default.a.createElement(view.a,{className:textCls},displayText))},badge_badge=badge_Badge;try{badge_Badge.displayName="Badge",badge_Badge.__docgenInfo={description:"",displayName:"Badge",props:{count:{defaultValue:null,description:"徽章显示的数字",name:"count",required:!1,type:{name:"number"}},dot:{defaultValue:null,description:"是否仅显示红点",name:"dot",required:!1,type:{name:"boolean"}},corner:{defaultValue:null,description:"是否在子元素右上角显示徽章数",name:"corner",required:!1,type:{name:"boolean"}},overflowCount:{defaultValue:null,description:"徽章显示的最大数值",name:"overflowCount",required:!1,type:{name:"number"}},showOverflow:{defaultValue:null,description:"是否显示 '+' 表示数值溢出",name:"showOverflow",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/badge/badge.tsx#Badge"]={docgenInfo:badge_Badge.__docgenInfo,name:"Badge",path:"packages/c-react/src/component/badge/badge.tsx#Badge"})}catch(__react_docgen_typescript_loader_error){}try{badge.displayName="badge",badge.__docgenInfo={description:"",displayName:"badge",props:{count:{defaultValue:null,description:"徽章显示的数字",name:"count",required:!1,type:{name:"number"}},dot:{defaultValue:null,description:"是否仅显示红点",name:"dot",required:!1,type:{name:"boolean"}},corner:{defaultValue:null,description:"是否在子元素右上角显示徽章数",name:"corner",required:!1,type:{name:"boolean"}},overflowCount:{defaultValue:null,description:"徽章显示的最大数值",name:"overflowCount",required:!1,type:{name:"number"}},showOverflow:{defaultValue:null,description:"是否显示 '+' 表示数值溢出",name:"showOverflow",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/badge/badge.tsx#badge"]={docgenInfo:badge.__docgenInfo,name:"badge",path:"packages/c-react/src/component/badge/badge.tsx#badge"})}catch(__react_docgen_typescript_loader_error){}},27:function(module,__webpack_exports__,__webpack_require__){"use strict";var _text__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(405);__webpack_require__.d(__webpack_exports__,"a",(function(){return _text__WEBPACK_IMPORTED_MODULE_0__.b}))},28:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return popup_popup})),__webpack_require__.d(__webpack_exports__,"b",(function(){return popup_v1}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),noop=__webpack_require__(11),noop_default=__webpack_require__.n(noop),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),src=__webpack_require__(24),flex=__webpack_require__(15),mask=__webpack_require__(221),layout_root=__webpack_require__(33),component_button=__webpack_require__(18),view=__webpack_require__(1),component_text=__webpack_require__(27),custom_tabbar=__webpack_require__(400),PopupStatics={render:function render(options){layout_root.a.renderWith(layout_root.a.Type.POPUP,react_default.a.createElement(Popup,options))},hide:function hide(){layout_root.a.hideWith(layout_root.a.Type.POPUP)}},Popup=Object.assign((function PopupBase(_ref){var _ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,left=_ref.left,right=_ref.right,bottom=_ref.bottom,width=_ref.width,height=_ref.height,opacity=_ref.opacity,className=_ref.className,style=_ref.style,_ref$onHide=_ref.onHide,onHide=void 0===_ref$onHide?noop_default.a:_ref$onHide,isPickPopup=_ref.isPickPopup,disabledHeader=_ref.disabledHeader,disabledMask=_ref.disabledMask,_ref$disabledAnimate=_ref.disabledAnimate,disabledAnimate=void 0===_ref$disabledAnimate||_ref$disabledAnimate,children=_ref.children,_ref$hasCustomTab=_ref.hasCustomTab,hasCustomTab=void 0===_ref$hasCustomTab||_ref$hasCustomTab,disableBottomSafeArea=_ref.disableBottomSafeArea,rest=objectWithoutProperties_default()(_ref,["title","left","right","bottom","width","height","opacity","className","style","onHide","isPickPopup","disabledHeader","disabledMask","disabledAnimate","children","hasCustomTab","disableBottomSafeArea"]);Object(src.d)((function(){left||right||bottom||console.error("need oneOf left right bottom")}));var cn=classnames_default()("m-popup",{"m-popup-left":left,"m-popup-right":right,"m-popup-bottom":bottom,"m-popup-box-shadow":0===opacity||disabledMask,"m-animated":!disabledAnimate,"m-animated-slide-in-left":left,"m-animated-slide-in-right":right,"m-animated-slide-in-bottom":bottom,"m-bottom-safe-area":!disableBottomSafeArea},className),s=Object.assign({},style);return(left||right)&&width?s.width=width:bottom&&(s.height=height),react_default.a.createElement(view.a,{className:classnames_default()("m-popup-container",{"m-popup-picker-container":isPickPopup})},!disabledMask&&react_default.a.createElement(mask.a,{opacity:opacity,onClick:onHide}),react_default.a.createElement(view.a,extends_default()({},rest,{className:cn,style:s}),!disabledHeader&&react_default.a.createElement(flex.a,{justifyBetween:!0,alignCenter:!0,className:"m-popup-top"},react_default.a.createElement(flex.a,{flex:!0,column:!0,className:"m-padding-left-15 m-text-16"},title),react_default.a.createElement(component_button.a,{type:"link",onClick:onHide},react_default.a.createElement(flex.a,{alignCenter:!0},react_default.a.createElement(component_text.a,{className:"m-font m-font-close-circle m-text-20 m-text-placeholder"})))),react_default.a.createElement(view.a,{className:"m-popup-content"},children),hasCustomTab&&react_default.a.createElement(custom_tabbar.a,null)))}),PopupStatics),popup_popup=Popup;try{popup.displayName="popup",popup.__docgenInfo={description:"",displayName:"popup",props:{title:{defaultValue:{value:""},description:"",name:"title",required:!1,type:{name:"string"}},onHide:{defaultValue:{value:"_.noop"},description:"",name:"onHide",required:!1,type:{name:"(() => void)"}},left:{defaultValue:null,description:"左侧弹出",name:"left",required:!1,type:{name:"boolean"}},right:{defaultValue:null,description:"右侧弹出",name:"right",required:!1,type:{name:"boolean"}},bottom:{defaultValue:null,description:"底部弹出",name:"bottom",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},opacity:{defaultValue:null,description:"遮罩透明度",name:"opacity",required:!1,type:{name:"number"}},disabledHeader:{defaultValue:null,description:"",name:"disabledHeader",required:!1,type:{name:"boolean"}},disabledMask:{defaultValue:null,description:"",name:"disabledMask",required:!1,type:{name:"boolean"}},disabledAnimate:{defaultValue:{value:"true"},description:"",name:"disabledAnimate",required:!1,type:{name:"boolean"}},isPickPopup:{defaultValue:null,description:"内部用",name:"isPickPopup",required:!1,type:{name:"boolean"}},disableBottomSafeArea:{defaultValue:null,description:"禁用下方安全边距,默认为false",name:"disableBottomSafeArea",required:!1,type:{name:"boolean"}},hasCustomTab:{defaultValue:{value:"true"},description:"预留底部自定义导航高度,默认为true",name:"hasCustomTab",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/popup/popup.tsx#popup"]={docgenInfo:popup.__docgenInfo,name:"popup",path:"packages/c-react/src/component/popup/popup.tsx#popup"})}catch(__react_docgen_typescript_loader_error){}var utils=__webpack_require__(154),popup_v1_PopupStatics={render:function render(options){var id=Object(utils.a)(options);return layout_root.b.renderWith(layout_root.a.Type.POPUP,react_default.a.createElement(PopupV1,options)),this.hide.bind(this,id)},hide:function hide(id){id||console.error("need id when manual hide"),layout_root.b.hideWith(layout_root.a.Type.POPUP,id)}},PopupV1=Object.assign((function PopupBase(_ref){var _ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,left=_ref.left,right=_ref.right,bottom=_ref.bottom,center=_ref.center,width=_ref.width,height=_ref.height,opacity=_ref.opacity,className=_ref.className,style=_ref.style,id=_ref.id,_ref$onHide=_ref.onHide,onHide=void 0===_ref$onHide?noop_default.a:_ref$onHide,isPickPopup=_ref.isPickPopup,disabledHeader=_ref.disabledHeader,disabledMask=_ref.disabledMask,_ref$disabledAnimate=_ref.disabledAnimate,disabledAnimate=void 0===_ref$disabledAnimate||_ref$disabledAnimate,children=_ref.children,closeText=_ref.closeText,headerClassName=_ref.headerClassName,titleClassName=_ref.titleClassName,titleCenter=_ref.titleCenter,_ref$clickMaskClose=_ref.clickMaskClose,clickMaskClose=void 0===_ref$clickMaskClose||_ref$clickMaskClose,disableBottomSafeArea=_ref.disableBottomSafeArea,rest=objectWithoutProperties_default()(_ref,["title","left","right","bottom","center","width","height","opacity","className","style","id","onHide","isPickPopup","disabledHeader","disabledMask","disabledAnimate","children","closeText","headerClassName","titleClassName","titleCenter","clickMaskClose","disableBottomSafeArea"]);Object(src.d)((function(){left||right||bottom||console.error("need oneOf left right bottom")}));var cn=classnames_default()("m-popup",{"m-popup-left":left,"m-popup-right":right,"m-popup-bottom":bottom,"m-popup-center":center,"m-popup-box-shadow":0===opacity||disabledMask,"m-animated":!disabledAnimate,"m-animated-slide-in-left":left,"m-animated-slide-in-right":right,"m-animated-slide-in-bottom":bottom},className),s=Object.assign({},style);(left||right)&&width?s.width=width:bottom&&(s.height=height);var hidePopup=function hidePopup(){id&&PopupV1.hide(id)},onTempHide=function onTempHide(){Promise.resolve(onHide()).then(hidePopup)};return react_default.a.createElement(view.a,{className:classnames_default()("m-popup-container",{"m-popup-picker-container":isPickPopup})},!disabledMask&&react_default.a.createElement(mask.a,{opacity:opacity,onClick:clickMaskClose?onTempHide:void 0}),react_default.a.createElement(view.a,extends_default()({},rest,{className:cn,style:s}),!disabledHeader&&react_default.a.createElement(flex.a,{justifyBetween:!0,alignCenter:!0,className:classnames_default()("m-popup-top m-relative",headerClassName)},react_default.a.createElement(flex.a,{flex:!0,className:classnames_default()("m-padding-left-15 m-text-16",{"m-flex-justify-center":titleCenter},titleClassName)},title),react_default.a.createElement(component_button.a,{type:"link",onClick:onTempHide},react_default.a.createElement(flex.a,{alignCenter:!0},null!=closeText?closeText:react_default.a.createElement(component_text.a,{className:"m-font m-font-close-circle m-text-20 m-text-placeholder"})))),react_default.a.createElement(view.a,{className:"m-popup-content"},children),!disableBottomSafeArea&&react_default.a.createElement(custom_tabbar.a,null)))}),popup_v1_PopupStatics),popup_v1=PopupV1;try{popupv1.displayName="popupv1",popupv1.__docgenInfo={description:"",displayName:"popupv1",props:{closeText:{defaultValue:null,description:"默认关闭是个icon,如果不满足可自定义传入",name:"closeText",required:!1,type:{name:"ReactNode"}},headerClassName:{defaultValue:null,description:"header的class,针对的是整个container",name:"headerClassName",required:!1,type:{name:"string"}},titleClassName:{defaultValue:null,description:"title的class,针对的是title文本",name:"titleClassName",required:!1,type:{name:"string"}},titleCenter:{defaultValue:null,description:"title是否居中",name:"titleCenter",required:!1,type:{name:"boolean"}},onHide:{defaultValue:{value:"_.noop"},description:"onHide是监听关闭后的回调,而不是关闭Popup的命令,如果要几秒后关闭弹窗可以返回一个Promise",name:"onHide",required:!1,type:{name:"(() => void | Promise)"}},center:{defaultValue:null,description:"",name:"center",required:!1,type:{name:"boolean"}},clickMaskClose:{defaultValue:{value:"true"},description:"点击mask是否关闭弹窗",name:"clickMaskClose",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},title:{defaultValue:{value:""},description:"",name:"title",required:!1,type:{name:"string"}},left:{defaultValue:null,description:"左侧弹出",name:"left",required:!1,type:{name:"boolean"}},right:{defaultValue:null,description:"右侧弹出",name:"right",required:!1,type:{name:"boolean"}},bottom:{defaultValue:null,description:"底部弹出",name:"bottom",required:!1,type:{name:"boolean"}},opacity:{defaultValue:null,description:"遮罩透明度",name:"opacity",required:!1,type:{name:"number"}},disabledHeader:{defaultValue:null,description:"",name:"disabledHeader",required:!1,type:{name:"boolean"}},disabledMask:{defaultValue:null,description:"",name:"disabledMask",required:!1,type:{name:"boolean"}},disabledAnimate:{defaultValue:{value:"true"},description:"",name:"disabledAnimate",required:!1,type:{name:"boolean"}},isPickPopup:{defaultValue:null,description:"内部用",name:"isPickPopup",required:!1,type:{name:"boolean"}},disableBottomSafeArea:{defaultValue:null,description:"禁用下方安全边距,默认为false",name:"disableBottomSafeArea",required:!1,type:{name:"boolean"}},hasCustomTab:{defaultValue:null,description:"预留底部自定义导航高度,默认为true",name:"hasCustomTab",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/popup/popup_v1.tsx#popupv1"]={docgenInfo:popupv1.__docgenInfo,name:"popupv1",path:"packages/c-react/src/component/popup/popup_v1.tsx#popupv1"})}catch(__react_docgen_typescript_loader_error){}},2870:function(module,exports,__webpack_require__){var map={"./nestedObjectAssign":1668,"./nestedObjectAssign.js":1668};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=2870},288:function(module,__webpack_exports__,__webpack_require__){"use strict";var _cell__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(102);__webpack_require__.d(__webpack_exports__,"a",(function(){return _cell__WEBPACK_IMPORTED_MODULE_0__.a}));__webpack_require__(256);var _cell_form__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(155);__webpack_require__.d(__webpack_exports__,"b",(function(){return _cell_form__WEBPACK_IMPORTED_MODULE_2__.a}));var _cells_form__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(406);__webpack_require__.d(__webpack_exports__,"c",(function(){return _cells_form__WEBPACK_IMPORTED_MODULE_3__.a}))},289:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__),lodash_noop__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(11),lodash_noop__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(lodash_noop__WEBPACK_IMPORTED_MODULE_2__),_gm_mobile_locales__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(10),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),react_dom__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(68),react_dom__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_5__),classnames__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__),_input_input__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(136),_view__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(18),_text__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(27),Search=function Search(_ref){var value=_ref.value,_ref$placeholder=_ref.placeholder,placeholder=void 0===_ref$placeholder?Object(_gm_mobile_locales__WEBPACK_IMPORTED_MODULE_3__.a)("搜索"):_ref$placeholder,searchText=_ref.searchText,_ref$type=_ref.type,type=void 0===_ref$type?"search":_ref$type,_ref$onCancel=_ref.onCancel,onCancel=void 0===_ref$onCancel?lodash_noop__WEBPACK_IMPORTED_MODULE_2___default.a:_ref$onCancel,_ref$onSearch=_ref.onSearch,onSearch=void 0===_ref$onSearch?lodash_noop__WEBPACK_IMPORTED_MODULE_2___default.a:_ref$onSearch,onChange=_ref.onChange,className=_ref.className,autoFocus=_ref.autoFocus,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref,["value","placeholder","searchText","type","onCancel","onSearch","onChange","className","autoFocus"]),refInput=Object(react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("form",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},rest,{className:classnames__WEBPACK_IMPORTED_MODULE_6___default()("m-search m-flex m-flex-align-center",className),onSubmit:function handleSearch(e){e.preventDefault(),onSearch&&onSearch(value),react_dom__WEBPACK_IMPORTED_MODULE_5___default.a.findDOMNode(refInput.current).blur()}}),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_8__.a,{className:"m-search-input m-flex m-flex-flex"},react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_10__.a,{className:"m-font m-font-search m-search-icon-search"}),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_input_input__WEBPACK_IMPORTED_MODULE_7__.a,{ref:refInput,type:"search",value:value,onChange:function handleChange(e){onChange(e.target.value)},placeholder:placeholder,autoFocus:autoFocus}),value&&react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_10__.a,{className:"m-font m-font-close-circle m-search-icon-close",onClick:function handleClean(){onChange("")}})),"search"===type?react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_9__.a,{type:"link",mini:!0,htmlType:"submit"},searchText||Object(_gm_mobile_locales__WEBPACK_IMPORTED_MODULE_3__.a)("搜索")):react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_9__.a,{type:"link",mini:!0,onClick:function handleCancel(){onChange(""),onCancel&&onCancel()}},searchText||Object(_gm_mobile_locales__WEBPACK_IMPORTED_MODULE_3__.a)("取消")))};__webpack_exports__.a=Search;try{Search.displayName="Search",Search.__docgenInfo={description:"",displayName:"Search",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}},type:{defaultValue:{value:"search"},description:"'search': 带搜索按钮 'cancel':带取消按钮",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"search"'},{value:'"cancel"'}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},onSearch:{defaultValue:{value:"_.noop"},description:"即时搜索可不传",name:"onSearch",required:!1,type:{name:"((value: string) => void)"}},onCancel:{defaultValue:{value:"_.noop"},description:"",name:"onCancel",required:!1,type:{name:"(() => void)"}},placeholder:{defaultValue:{value:"getLocale('搜索')"},description:"",name:"placeholder",required:!1,type:{name:"string"}},searchText:{defaultValue:null,description:"自定义搜索按钮文案",name:"searchText",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/search/search.tsx#Search"]={docgenInfo:Search.__docgenInfo,name:"Search",path:"packages/c-react/src/component/search/search.tsx#Search"})}catch(__react_docgen_typescript_loader_error){}try{search.displayName="search",search.__docgenInfo={description:"",displayName:"search",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}},type:{defaultValue:{value:"search"},description:"'search': 带搜索按钮 'cancel':带取消按钮",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"search"'},{value:'"cancel"'}]}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},onSearch:{defaultValue:{value:"_.noop"},description:"即时搜索可不传",name:"onSearch",required:!1,type:{name:"((value: string) => void)"}},onCancel:{defaultValue:{value:"_.noop"},description:"",name:"onCancel",required:!1,type:{name:"(() => void)"}},placeholder:{defaultValue:{value:"getLocale('搜索')"},description:"",name:"placeholder",required:!1,type:{name:"string"}},searchText:{defaultValue:null,description:"自定义搜索按钮文案",name:"searchText",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/search/search.tsx#search"]={docgenInfo:search.__docgenInfo,name:"search",path:"packages/c-react/src/component/search/search.tsx#search"})}catch(__react_docgen_typescript_loader_error){}},29:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(12),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),classnames__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__),_tarojs_components__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(294),_error_png__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1916),_error_png__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_error_png__WEBPACK_IMPORTED_MODULE_7__),_placeholder_png__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1917),_placeholder_png__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(_placeholder_png__WEBPACK_IMPORTED_MODULE_8__);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0&&rect.right>=0&&rect.left<=(window.innerWidth||document.documentElement.clientWidth)&&rect.top<=(window.innerHeight||document.documentElement.clientHeight)}return!1}(ref.current)?setShow(!0):setShow(!1)}),delay);return target.addEventListener("scroll",doLazy),doLazy(),function(){target.removeEventListener("scroll",doLazy)}}),[]),react_default.a.createElement("div",extends_default()({ref:ref},rest),show&&children)},lazy_lazy=lazy_Lazy;try{lazy_Lazy.displayName="Lazy",lazy_Lazy.__docgenInfo={description:"",displayName:"Lazy",props:{targetId:{defaultValue:null,description:"指定监听滚动的dom id",name:"targetId",required:!1,type:{name:"string"}},delay:{defaultValue:null,description:"throttle delay",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/react/src/component/lazy/lazy.tsx#Lazy"]={docgenInfo:lazy_Lazy.__docgenInfo,name:"Lazy",path:"packages/react/src/component/lazy/lazy.tsx#Lazy"})}catch(__react_docgen_typescript_loader_error){}try{lazy.displayName="lazy",lazy.__docgenInfo={description:"",displayName:"lazy",props:{targetId:{defaultValue:null,description:"指定监听滚动的dom id",name:"targetId",required:!1,type:{name:"string"}},delay:{defaultValue:null,description:"throttle delay",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/react/src/component/lazy/lazy.tsx#lazy"]={docgenInfo:lazy.__docgenInfo,name:"lazy",path:"packages/react/src/component/lazy/lazy.tsx#lazy"})}catch(__react_docgen_typescript_loader_error){}var map=__webpack_require__(19),map_default=__webpack_require__.n(map),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),lazy_item=Object(react.memo)((function(_ref){var targetId=_ref.targetId,minHeight=_ref.minHeight,children=_ref.children,rest=objectWithoutProperties_default()(_ref,["targetId","minHeight","children"]),refStyle=Object(react.useRef)({minHeight:"".concat(minHeight,"px")});return react_default.a.createElement(lazy_lazy,extends_default()({},rest,{style:refStyle.current,targetId:targetId}),children)}));try{item.displayName="item",item.__docgenInfo={description:"",displayName:"item",props:{targetId:{defaultValue:null,description:"",name:"targetId",required:!0,type:{name:"string"}},minHeight:{defaultValue:null,description:"",name:"minHeight",required:!0,type:{name:"number"}},delay:{defaultValue:null,description:"",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/react/src/component/lazy/item.tsx#item"]={docgenInfo:item.__docgenInfo,name:"item",path:"packages/react/src/component/lazy/item.tsx#item"})}catch(__react_docgen_typescript_loader_error){}var LazyList=Object(react.forwardRef)((function(_ref,ref){var data=_ref.data,renderItem=_ref.renderItem,itemMinHeight=_ref.itemMinHeight,_ref$itemKey=_ref.itemKey,itemKey=void 0===_ref$itemKey?function(parm){return String(parm.index)}:_ref$itemKey,_ref$delay=_ref.delay,delay=void 0===_ref$delay?100:_ref$delay,className=_ref.className,rest=objectWithoutProperties_default()(_ref,["data","renderItem","itemMinHeight","itemKey","delay","className"]),refList=Object(react.useRef)(null),refId=Object(react.useRef)(""+Math.random());return Object(react.useImperativeHandle)(ref,(function(){return{apiDoScrollToKey:function apiDoScrollToKey(key){var d=refList.current?refList.current.querySelector('[data-key="'.concat(key,'"]')):null;d&&d.scrollIntoView()}}})),react_default.a.createElement("div",extends_default()({ref:refList},rest,{className:classnames_default()("m-overflow-y",className),id:refId.current}),map_default()(data,(function(item,index){var key=itemKey({item:item,index:index});return react_default.a.createElement(lazy_item,{key:key,targetId:refId.current,minHeight:itemMinHeight({item:item,index:index}),"data-key":key,delay:delay},renderItem({item:item,index:index}))})))}));LazyList.Item=lazy_item;var lazy_list=Object(react.memo)(LazyList);try{LazyList.displayName="LazyList",LazyList.__docgenInfo={description:"",displayName:"LazyList",props:{data:{defaultValue:null,description:"",name:"data",required:!0,type:{name:"any[]"}},renderItem:{defaultValue:null,description:"",name:"renderItem",required:!0,type:{name:"(param: ItemParams) => ReactNode"}},itemMinHeight:{defaultValue:null,description:"",name:"itemMinHeight",required:!0,type:{name:"(param: ItemParams) => number"}},itemKey:{defaultValue:{value:"(parm: ItemParams) => {\n return String(parm.index)\n }"},description:"",name:"itemKey",required:!1,type:{name:"((param: ItemParams) => string)"}},delay:{defaultValue:{value:"100"},description:"设置滚动throttle delay 参数",name:"delay",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/react/src/component/lazy/lazy_list.tsx#LazyList"]={docgenInfo:LazyList.__docgenInfo,name:"LazyList",path:"packages/react/src/component/lazy/lazy_list.tsx#LazyList"})}catch(__react_docgen_typescript_loader_error){}},293:function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(12),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),lodash_noop__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(11),lodash_noop__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_noop__WEBPACK_IMPORTED_MODULE_3__),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),classnames__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__),_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(26),_swiper_img__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(756),PreviewImageStatics={render:function render(options){options.onHide=function(){PreviewImageStatics.hide()},_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.g.renderWith(_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.g.Type.POPUP,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(PreviewImage,options))},hide:function hide(){_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.g.hideWith(_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.g.Type.POPUP)}},PreviewImage=function PreviewImage(_ref){var images=_ref.images,_ref$defaultIndex=_ref.defaultIndex,defaultIndex=void 0===_ref$defaultIndex?0:_ref$defaultIndex,className=_ref.className,_ref$onHide=_ref.onHide,onHide=void 0===_ref$onHide?lodash_noop__WEBPACK_IMPORTED_MODULE_3___default.a:_ref$onHide,rest=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref,["images","defaultIndex","className","onHide"]),_useState=Object(react__WEBPACK_IMPORTED_MODULE_4__.useState)(defaultIndex),_useState2=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState,2),index=_useState2[0],setIndex=_useState2[1];return react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.e,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},rest,{column:!0,justifyCenter:!0,onClick:function handleClose(){onHide()},className:classnames__WEBPACK_IMPORTED_MODULE_5___default()("m-preview-image",className)}),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("div",{className:"m-preview-image-counter"},"".concat(index+1,"/").concat(images.length)),react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.e,{column:!0,justifyCenter:!0,className:"m-preview-image-inner"},1===images.length?react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_gm_mobile_react__WEBPACK_IMPORTED_MODULE_6__.f,{src:images[0].img,objectFix:"contain"}):react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement("div",null,react__WEBPACK_IMPORTED_MODULE_4___default.a.createElement(_swiper_img__WEBPACK_IMPORTED_MODULE_7__.a,{data:images,options:{initialSlide:defaultIndex,autoplay:!1,pagination:{el:"null"},on:{slideChange:function slideChange(){!function handleChange(index){setIndex(index)}(this.realIndex)}}}}))))};Object.assign(PreviewImage,PreviewImageStatics),__webpack_exports__.a=PreviewImage;try{PreviewImage.displayName="PreviewImage",PreviewImage.__docgenInfo={description:"",displayName:"PreviewImage",props:{images:{defaultValue:null,description:"图片数组 [{onClick, img}]",name:"images",required:!0,type:{name:"{ onClick?(): any; img: string; }[]"}},onHide:{defaultValue:{value:"_.noop"},description:"关闭预览回调",name:"onHide",required:!1,type:{name:"(() => void)"}},defaultIndex:{defaultValue:{value:"0"},description:"多图片预览时,默认预览的图片下标",name:"defaultIndex",required:!1,type:{name:"number"}},flex:{defaultValue:null,description:"",name:"flex",required:!1,type:{name:"number | boolean"}},block:{defaultValue:null,description:"本身是 display:flex,flex 会使子元素 flex-item。设置 block 即可",name:"block",required:!1,type:{name:"boolean"}},auto:{defaultValue:null,description:"",name:"auto",required:!1,type:{name:"boolean"}},none:{defaultValue:null,description:"",name:"none",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},row:{defaultValue:null,description:"",name:"row",required:!1,type:{name:"boolean"}},column:{defaultValue:null,description:"",name:"column",required:!1,type:{name:"boolean"}},wrap:{defaultValue:null,description:"",name:"wrap",required:!1,type:{name:"boolean"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean"}},justifyStart:{defaultValue:null,description:"",name:"justifyStart",required:!1,type:{name:"boolean"}},justifyEnd:{defaultValue:null,description:"",name:"justifyEnd",required:!1,type:{name:"boolean"}},justifyCenter:{defaultValue:null,description:"",name:"justifyCenter",required:!1,type:{name:"boolean"}},justifyBetween:{defaultValue:null,description:"",name:"justifyBetween",required:!1,type:{name:"boolean"}},justifyAround:{defaultValue:null,description:"",name:"justifyAround",required:!1,type:{name:"boolean"}},alignStart:{defaultValue:null,description:"",name:"alignStart",required:!1,type:{name:"boolean"}},alignEnd:{defaultValue:null,description:"",name:"alignEnd",required:!1,type:{name:"boolean"}},alignCenter:{defaultValue:null,description:"",name:"alignCenter",required:!1,type:{name:"boolean"}},alignBaseline:{defaultValue:null,description:"",name:"alignBaseline",required:!1,type:{name:"boolean"}},alignStretch:{defaultValue:null,description:"",name:"alignStretch",required:!1,type:{name:"boolean"}},alignContentStart:{defaultValue:null,description:"",name:"alignContentStart",required:!1,type:{name:"boolean"}},alignContentEnd:{defaultValue:null,description:"",name:"alignContentEnd",required:!1,type:{name:"boolean"}},alignContentCenter:{defaultValue:null,description:"",name:"alignContentCenter",required:!1,type:{name:"boolean"}},alignContentBetween:{defaultValue:null,description:"",name:"alignContentBetween",required:!1,type:{name:"boolean"}},alignContentAround:{defaultValue:null,description:"",name:"alignContentAround",required:!1,type:{name:"boolean"}},alignContentStretch:{defaultValue:null,description:"",name:"alignContentStretch",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/swiper/src/preview_image/index.tsx#PreviewImage"]={docgenInfo:PreviewImage.__docgenInfo,name:"PreviewImage",path:"packages/swiper/src/preview_image/index.tsx#PreviewImage"})}catch(__react_docgen_typescript_loader_error){}try{previewimage.displayName="previewimage",previewimage.__docgenInfo={description:"",displayName:"previewimage",props:{images:{defaultValue:null,description:"图片数组 [{onClick, img}]",name:"images",required:!0,type:{name:"{ onClick?(): any; img: string; }[]"}},onHide:{defaultValue:{value:"_.noop"},description:"关闭预览回调",name:"onHide",required:!1,type:{name:"(() => void)"}},defaultIndex:{defaultValue:{value:"0"},description:"多图片预览时,默认预览的图片下标",name:"defaultIndex",required:!1,type:{name:"number"}},flex:{defaultValue:null,description:"",name:"flex",required:!1,type:{name:"number | boolean"}},block:{defaultValue:null,description:"本身是 display:flex,flex 会使子元素 flex-item。设置 block 即可",name:"block",required:!1,type:{name:"boolean"}},auto:{defaultValue:null,description:"",name:"auto",required:!1,type:{name:"boolean"}},none:{defaultValue:null,description:"",name:"none",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string"}},row:{defaultValue:null,description:"",name:"row",required:!1,type:{name:"boolean"}},column:{defaultValue:null,description:"",name:"column",required:!1,type:{name:"boolean"}},wrap:{defaultValue:null,description:"",name:"wrap",required:!1,type:{name:"boolean"}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"boolean"}},justifyStart:{defaultValue:null,description:"",name:"justifyStart",required:!1,type:{name:"boolean"}},justifyEnd:{defaultValue:null,description:"",name:"justifyEnd",required:!1,type:{name:"boolean"}},justifyCenter:{defaultValue:null,description:"",name:"justifyCenter",required:!1,type:{name:"boolean"}},justifyBetween:{defaultValue:null,description:"",name:"justifyBetween",required:!1,type:{name:"boolean"}},justifyAround:{defaultValue:null,description:"",name:"justifyAround",required:!1,type:{name:"boolean"}},alignStart:{defaultValue:null,description:"",name:"alignStart",required:!1,type:{name:"boolean"}},alignEnd:{defaultValue:null,description:"",name:"alignEnd",required:!1,type:{name:"boolean"}},alignCenter:{defaultValue:null,description:"",name:"alignCenter",required:!1,type:{name:"boolean"}},alignBaseline:{defaultValue:null,description:"",name:"alignBaseline",required:!1,type:{name:"boolean"}},alignStretch:{defaultValue:null,description:"",name:"alignStretch",required:!1,type:{name:"boolean"}},alignContentStart:{defaultValue:null,description:"",name:"alignContentStart",required:!1,type:{name:"boolean"}},alignContentEnd:{defaultValue:null,description:"",name:"alignContentEnd",required:!1,type:{name:"boolean"}},alignContentCenter:{defaultValue:null,description:"",name:"alignContentCenter",required:!1,type:{name:"boolean"}},alignContentBetween:{defaultValue:null,description:"",name:"alignContentBetween",required:!1,type:{name:"boolean"}},alignContentAround:{defaultValue:null,description:"",name:"alignContentAround",required:!1,type:{name:"boolean"}},alignContentStretch:{defaultValue:null,description:"",name:"alignContentStretch",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/swiper/src/preview_image/index.tsx#previewimage"]={docgenInfo:previewimage.__docgenInfo,name:"previewimage",path:"packages/swiper/src/preview_image/index.tsx#previewimage"})}catch(__react_docgen_typescript_loader_error){}},295:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return label_label}));var helpers_extends=__webpack_require__(6),extends_default=__webpack_require__.n(helpers_extends),objectWithoutProperties=__webpack_require__(8),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(7),classnames_default=__webpack_require__.n(classnames),view=__webpack_require__(1),label_Label=function Label(_ref){var text=_ref.text,_ref$type=_ref.type,type=void 0===_ref$type?"default":_ref$type,className=_ref.className,rest=objectWithoutProperties_default()(_ref,["text","type","className"]);return react_default.a.createElement(view.a,extends_default()({},rest,{className:classnames_default()("m-label","m-label-".concat(type),className)}),text)},label_label=label_Label;try{label_Label.displayName="Label",label_Label.__docgenInfo={description:"",displayName:"Label",props:{text:{defaultValue:null,description:"标签显示的文字",name:"text",required:!0,type:{name:"string"}},type:{defaultValue:{value:"default"},description:"标签样式种类",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"plain"'},{value:'"default"'},{value:'"primary"'},{value:'"accent"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/label/label.tsx#Label"]={docgenInfo:label_Label.__docgenInfo,name:"Label",path:"packages/c-react/src/component/label/label.tsx#Label"})}catch(__react_docgen_typescript_loader_error){}try{label.displayName="label",label.__docgenInfo={description:"",displayName:"label",props:{text:{defaultValue:null,description:"标签显示的文字",name:"text",required:!0,type:{name:"string"}},type:{defaultValue:{value:"default"},description:"标签样式种类",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"plain"'},{value:'"default"'},{value:'"primary"'},{value:'"accent"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/label/label.tsx#label"]={docgenInfo:label.__docgenInfo,name:"label",path:"packages/c-react/src/component/label/label.tsx#label"})}catch(__react_docgen_typescript_loader_error){}},3037:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3038);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3038:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".m-customer-dialog-header {\n background-color: var(--m-color-bg-back);\n}\n",""]),module.exports=exports},3039:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3040);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3040:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".choose-circle {\n width: 0.5em;\n height: 0.5em;\n border-radius: 50%;\n background: var(--m-color-primary);\n opacity: 0.75;\n}\n",""]),module.exports=exports},3041:function(module,exports,__webpack_require__){var map={"./af":1721,"./af.js":1721,"./ar":1722,"./ar-dz":1723,"./ar-dz.js":1723,"./ar-kw":1724,"./ar-kw.js":1724,"./ar-ly":1725,"./ar-ly.js":1725,"./ar-ma":1726,"./ar-ma.js":1726,"./ar-sa":1727,"./ar-sa.js":1727,"./ar-tn":1728,"./ar-tn.js":1728,"./ar.js":1722,"./az":1729,"./az.js":1729,"./be":1730,"./be.js":1730,"./bg":1731,"./bg.js":1731,"./bm":1732,"./bm.js":1732,"./bn":1733,"./bn-bd":1734,"./bn-bd.js":1734,"./bn.js":1733,"./bo":1735,"./bo.js":1735,"./br":1736,"./br.js":1736,"./bs":1737,"./bs.js":1737,"./ca":1738,"./ca.js":1738,"./cs":1739,"./cs.js":1739,"./cv":1740,"./cv.js":1740,"./cy":1741,"./cy.js":1741,"./da":1742,"./da.js":1742,"./de":1743,"./de-at":1744,"./de-at.js":1744,"./de-ch":1745,"./de-ch.js":1745,"./de.js":1743,"./dv":1746,"./dv.js":1746,"./el":1747,"./el.js":1747,"./en-au":1748,"./en-au.js":1748,"./en-ca":1749,"./en-ca.js":1749,"./en-gb":1750,"./en-gb.js":1750,"./en-ie":1751,"./en-ie.js":1751,"./en-il":1752,"./en-il.js":1752,"./en-in":1753,"./en-in.js":1753,"./en-nz":1754,"./en-nz.js":1754,"./en-sg":1755,"./en-sg.js":1755,"./eo":1756,"./eo.js":1756,"./es":1757,"./es-do":1758,"./es-do.js":1758,"./es-mx":1759,"./es-mx.js":1759,"./es-us":1760,"./es-us.js":1760,"./es.js":1757,"./et":1761,"./et.js":1761,"./eu":1762,"./eu.js":1762,"./fa":1763,"./fa.js":1763,"./fi":1764,"./fi.js":1764,"./fil":1765,"./fil.js":1765,"./fo":1766,"./fo.js":1766,"./fr":1767,"./fr-ca":1768,"./fr-ca.js":1768,"./fr-ch":1769,"./fr-ch.js":1769,"./fr.js":1767,"./fy":1770,"./fy.js":1770,"./ga":1771,"./ga.js":1771,"./gd":1772,"./gd.js":1772,"./gl":1773,"./gl.js":1773,"./gom-deva":1774,"./gom-deva.js":1774,"./gom-latn":1775,"./gom-latn.js":1775,"./gu":1776,"./gu.js":1776,"./he":1777,"./he.js":1777,"./hi":1778,"./hi.js":1778,"./hr":1779,"./hr.js":1779,"./hu":1780,"./hu.js":1780,"./hy-am":1781,"./hy-am.js":1781,"./id":1782,"./id.js":1782,"./is":1783,"./is.js":1783,"./it":1784,"./it-ch":1785,"./it-ch.js":1785,"./it.js":1784,"./ja":1786,"./ja.js":1786,"./jv":1787,"./jv.js":1787,"./ka":1788,"./ka.js":1788,"./kk":1789,"./kk.js":1789,"./km":1790,"./km.js":1790,"./kn":1791,"./kn.js":1791,"./ko":1792,"./ko.js":1792,"./ku":1793,"./ku.js":1793,"./ky":1794,"./ky.js":1794,"./lb":1795,"./lb.js":1795,"./lo":1796,"./lo.js":1796,"./lt":1797,"./lt.js":1797,"./lv":1798,"./lv.js":1798,"./me":1799,"./me.js":1799,"./mi":1800,"./mi.js":1800,"./mk":1801,"./mk.js":1801,"./ml":1802,"./ml.js":1802,"./mn":1803,"./mn.js":1803,"./mr":1804,"./mr.js":1804,"./ms":1805,"./ms-my":1806,"./ms-my.js":1806,"./ms.js":1805,"./mt":1807,"./mt.js":1807,"./my":1808,"./my.js":1808,"./nb":1809,"./nb.js":1809,"./ne":1810,"./ne.js":1810,"./nl":1811,"./nl-be":1812,"./nl-be.js":1812,"./nl.js":1811,"./nn":1813,"./nn.js":1813,"./oc-lnc":1814,"./oc-lnc.js":1814,"./pa-in":1815,"./pa-in.js":1815,"./pl":1816,"./pl.js":1816,"./pt":1817,"./pt-br":1818,"./pt-br.js":1818,"./pt.js":1817,"./ro":1819,"./ro.js":1819,"./ru":1820,"./ru.js":1820,"./sd":1821,"./sd.js":1821,"./se":1822,"./se.js":1822,"./si":1823,"./si.js":1823,"./sk":1824,"./sk.js":1824,"./sl":1825,"./sl.js":1825,"./sq":1826,"./sq.js":1826,"./sr":1827,"./sr-cyrl":1828,"./sr-cyrl.js":1828,"./sr.js":1827,"./ss":1829,"./ss.js":1829,"./sv":1830,"./sv.js":1830,"./sw":1831,"./sw.js":1831,"./ta":1832,"./ta.js":1832,"./te":1833,"./te.js":1833,"./tet":1834,"./tet.js":1834,"./tg":1835,"./tg.js":1835,"./th":1836,"./th.js":1836,"./tk":1837,"./tk.js":1837,"./tl-ph":1838,"./tl-ph.js":1838,"./tlh":1839,"./tlh.js":1839,"./tr":1840,"./tr.js":1840,"./tzl":1841,"./tzl.js":1841,"./tzm":1842,"./tzm-latn":1843,"./tzm-latn.js":1843,"./tzm.js":1842,"./ug-cn":1844,"./ug-cn.js":1844,"./uk":1845,"./uk.js":1845,"./ur":1846,"./ur.js":1846,"./uz":1847,"./uz-latn":1848,"./uz-latn.js":1848,"./uz.js":1847,"./vi":1849,"./vi.js":1849,"./x-pseudo":1850,"./x-pseudo.js":1850,"./yo":1851,"./yo.js":1851,"./zh-cn":1852,"./zh-cn.js":1852,"./zh-hk":1853,"./zh-hk.js":1853,"./zh-mo":1854,"./zh-mo.js":1854,"./zh-tw":1855,"./zh-tw.js":1855};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=3041},3059:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3060);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3060:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".keyboard {\n background-color: #f7f7f7;\n overflow: hidden;\n transition: all 0.2s;\n position: relative;\n height: 0%;\n top: 100vh;\n}\n.keyboard.show {\n height: 100%;\n top: 0;\n}\n.keyboard .keyboard-item {\n padding: 3px;\n height: 60px;\n}\n.keyboard .keyboard-item .keyboard-button {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n color: black;\n border-radius: 5px;\n background-color: white;\n overflow: hidden;\n cursor: pointer;\n}\n.keyboard .keyboard-item .keyboard-button.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n.keyboard .keyboard-item .keyboard-button:active {\n position: relative;\n}\n.keyboard .keyboard-item .keyboard-button:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.2;\n}\n",""]),module.exports=exports},3061:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3062);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3062:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(180),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(1860),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(3063),___CSS_LOADER_URL_IMPORT_1___=__webpack_require__(3064),___CSS_LOADER_URL_IMPORT_2___=__webpack_require__(3065);exports=___CSS_LOADER_API_IMPORT___(!1);var ___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___),___CSS_LOADER_URL_REPLACEMENT_1___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___),___CSS_LOADER_URL_REPLACEMENT_2___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);exports.push([module.i,'@font-face {\n font-family: "iconfont"; /* Project id 2524334 */\n src: url('+___CSS_LOADER_URL_REPLACEMENT_0___+") format('woff2'),\n url("+___CSS_LOADER_URL_REPLACEMENT_1___+") format('woff'),\n url("+___CSS_LOADER_URL_REPLACEMENT_2___+') format(\'truetype\');\n}\n\n.iconfont {\n font-family: "iconfont" !important;\n font-size: 16px;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-backspace:before {\n content: "\\e605";\n}\n\n',""]),module.exports=exports},3063:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/iconfont.b51e4253.woff2"},3064:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/iconfont.529bb6db.woff"},3065:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/iconfont.5e0f0c3a.ttf"},3068:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3069);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3069:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".m-page {\n margin: -1rem;\n}\nbody.m-theme-dark {\n background: #232323;\n}\nbody.m-theme-dark .info-table,\nbody.m-theme-dark .info-table td,\nbody.m-theme-dark .info-table th {\n color: rgba(255, 255, 255, 0.8);\n}\n",""]),module.exports=exports},3070:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3071);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3071:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(180),___CSS_LOADER_AT_RULE_IMPORT_0___=__webpack_require__(3072);(exports=___CSS_LOADER_API_IMPORT___(!1)).i(___CSS_LOADER_AT_RULE_IMPORT_0___),exports.push([module.i,"* {\n -webkit-overflow-scrolling: touch;\n}\na {\n text-decoration: none;\n}\npre {\n margin: 0;\n padding: 0;\n}\n/*\n规则\n--color 颜色相关\n--size 尺寸相关\n--btn 具体业务\n*/\n:root,\npage {\n --m-color-default: #353535;\n --m-color-desc: #888;\n --m-color-primary: #1eac52;\n --m-color-white: white;\n --m-color-black: black;\n --m-color-bg-white: white;\n --m-color-bg-back: #f6f6f6;\n --m-color-bg-light: #fbfbfb;\n --m-color-bg-primary: #1eac52;\n --m-color-bg-secondary: rgba(30, 172, 82, 0.2);\n --m-color-bg-white-active: #ececec;\n --m-color-bg-back-active: #ececec;\n --m-color-bg-primary-active: #16813d;\n --m-btn-color-default: #888;\n --m-btn-color-default-active: #6f6f6f;\n --m-btn-color-bg-default: #f6f6f6;\n --m-btn-color-bg-default-active: #ececec;\n --m-btn-border-radius: 8px;\n --m-calendar-bg-active: rgba(30, 172, 82, 0.2);\n --m-textfield-height-mini: 32px;\n --m-textfield-height-normal: 48px;\n --m-textfield-height-large: 64px;\n}\n:root,\npage {\n --m-color-placeholder: #b2b2b2;\n --m-color-accent: #ff6500;\n --m-color-success: #1eac52;\n --m-color-danger: #fa5151;\n --m-color-link: #576b95;\n --m-color-red: red;\n --m-color-true-white: white;\n --m-color-true-black: black;\n --m-color-bg-accent: #ff6500;\n --m-color-bg-accent-light: #ffe0cc;\n --m-color-bg-danger: #fa5151;\n --m-color-bg-red: red;\n --m-color-bg-black: black;\n --m-color-bg-danger-active: #f91f1f;\n --m-color-border: rgba(0, 0, 0, 0.1);\n --m-color-border-dark: rgba(0, 0, 0, 0.3);\n --m-color-bg-mask: rgba(0, 0, 0, 0.6);\n --m-color-bg-toast: #606060;\n --m-color-coupon-disabled: #b2b2b2;\n --m-color-bg-coupon-disabled: #b2b2b2;\n --m-color-coupon-bg-vip: #24282c;\n --m-color-coupon-vip: #d7b08a;\n --m-color-box-shadow: rgba(0, 0, 0, 0.4);\n}\n:root,\npage {\n --m-size-line-height: 1.6;\n --m-size-tabbar-height: 49px;\n --m-size-header-height: 48px;\n --m-size-form-height: 40px;\n --m-size-form-height-sm: 30px;\n --m-size-cell-height: 52px;\n --m-size-cell-height-mini: 32px;\n --m-z-index-header: 20;\n --m-z-index-tabbar: 20;\n --m-z-index-innerLayer: 900;\n --m-z-index-mask: 1000;\n --m-z-index-popup: 2000;\n --m-z-index-trigger: 2000;\n --m-z-index-previewImage: 4000;\n --m-z-index-dialog: 5000;\n --m-z-index-picker: 6000;\n --m-z-index-toast: 7000;\n --m-z-index-nprogress: 9999;\n}\nhtml.m-theme-dark,\npage.m-theme-dark {\n --m-color-default: rgba(255, 255, 255, 0.8);\n --m-color-desc: rgba(255, 255, 255, 0.5);\n --m-color-primary: #1eac52;\n --m-color-white: black;\n --m-color-black: rgba(255, 255, 255, 0.8);\n --m-color-bg-white: #232323;\n --m-color-bg-back: #191919;\n --m-color-bg-light: #1f1f1f;\n --m-color-bg-primary: #1eac52;\n --m-color-bg-white-active: #373737;\n --m-color-bg-back-active: #373737;\n --m-color-bg-primary-active: #16813d;\n --m-btn-color-default: #888;\n --m-btn-color-default-active: #6f6f6f;\n --m-btn-color-bg-default: #232323;\n --m-btn-color-bg-default-active: #373737;\n --m-calendar-bg-active: rgba(30, 172, 82, 0.2);\n}\nhtml.m-theme-tao_bao,\npage.m-theme-tao_bao {\n --m-color-primary: #ff6500;\n --m-color-bg-primary: #ff6500;\n --m-color-bg-primary-active: #cc5100;\n --m-calendar-bg-active: rgba(255, 101, 0, 0.2);\n}\nhtml.m-theme-jd,\npage.m-theme-jd {\n --m-color-primary: #e02020;\n --m-color-bg-primary: #e02020;\n --m-color-bg-primary-active: #b41919;\n --m-calendar-bg-active: rgba(224, 32, 32, 0.2);\n}\n.m-btn {\n height: var(--m-size-form-height);\n line-height: var(--m-size-form-height);\n border-width: 0;\n display: inline-block;\n text-align: center;\n vertical-align: middle;\n cursor: pointer;\n white-space: nowrap;\n padding: 0 15px;\n font-size: var(--m-size-text-16);\n user-select: none;\n outline: none;\n border-radius: var(--m-btn-border-radius);\n}\n.m-btn.m-btn-default {\n background: var(--m-btn-color-bg-default);\n color: var(--m-color-true-white);\n position: relative;\n color: var(--m-btn-color-default);\n}\n.m-btn.m-btn-default::after {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-btn-color-bg-default);\n border-radius: calc(var(--m-btn-border-radius) * 2);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n}\n.m-btn.m-btn-default.m-btn-plain {\n background: transparent;\n color: var(--m-btn-color-bg-default);\n}\n.m-btn.m-btn-default.m-btn-plain:active {\n background: var(--m-btn-color-bg-default);\n color: var(--m-color-true-white);\n}\n.m-btn.m-btn-default:active {\n background: var(--m-btn-color-bg-default-active);\n}\n.m-btn.m-btn-default.disabled,\n.m-btn.m-btn-default[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-btn.m-btn-default::after {\n border-color: var(--m-color-border);\n}\n.m-btn.m-btn-default:active {\n color: var(--m-btn-color-default-active);\n}\n.m-btn.m-btn-default.m-btn-plain {\n color: var(--m-color-default);\n}\n.m-btn.m-btn-default.m-btn-plain::after {\n border-color: var(--m-color-default);\n}\n.m-btn.m-btn-default.m-btn-plain:active {\n color: var(--m-color-default);\n}\n.m-btn.m-btn-primary {\n background: var(--m-color-primary);\n color: var(--m-color-true-white);\n position: relative;\n}\n.m-btn.m-btn-primary::after {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-primary);\n border-radius: calc(var(--m-btn-border-radius) * 2);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n}\n.m-btn.m-btn-primary.m-btn-plain {\n background: transparent;\n color: var(--m-color-primary);\n}\n.m-btn.m-btn-primary.m-btn-plain:active {\n background: var(--m-color-primary);\n color: var(--m-color-true-white);\n}\n.m-btn.m-btn-primary:active {\n background: var(--m-color-bg-primary-active);\n}\n.m-btn.m-btn-primary.disabled,\n.m-btn.m-btn-primary[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-btn.m-btn-danger {\n background: var(--m-color-danger);\n color: var(--m-color-true-white);\n position: relative;\n}\n.m-btn.m-btn-danger::after {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-danger);\n border-radius: calc(var(--m-btn-border-radius) * 2);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n}\n.m-btn.m-btn-danger.m-btn-plain {\n background: transparent;\n color: var(--m-color-danger);\n}\n.m-btn.m-btn-danger.m-btn-plain:active {\n background: var(--m-color-danger);\n color: var(--m-color-true-white);\n}\n.m-btn.m-btn-danger:active {\n background: var(--m-color-bg-danger-active);\n}\n.m-btn.m-btn-danger.disabled,\n.m-btn.m-btn-danger[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-btn.m-btn-link {\n background: transparent;\n color: var(--m-color-link);\n padding: 0 15px;\n min-width: 0;\n text-decoration: none;\n}\n.m-btn.m-btn-link:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-btn.m-btn-link::after {\n border: none;\n}\n.m-btn.m-btn-mini {\n min-width: 60px;\n height: var(--m-size-form-height-sm);\n line-height: var(--m-size-form-height-sm);\n padding: 0 calc(var(--m-size-form-height-sm) / 2);\n font-size: var(--m-size-text-14);\n}\n.m-btn.m-btn-block {\n display: block;\n width: 100%;\n}\n.m-btn.m-btn-round {\n border-radius: var(--m-size-form-height);\n}\n.m-btn.m-btn-round::after {\n border-radius: var(--m-size-form-height);\n}\n.m-btn .m-btn-loading {\n display: inline-block;\n margin-right: 5px;\n}\n.m-btn .m-btn-loading .m-loading-circle {\n margin-top: -3px;\n font-size: 1.2em;\n}\n.m-flex-flex {\n flex: 1;\n}\n.m-flex-auto {\n flex: auto;\n}\n.m-flex-none {\n flex: none;\n}\n.m-flex {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-content: stretch;\n align-items: stretch;\n box-sizing: border-box;\n}\n.m-flex .m-flex-block {\n display: block;\n}\n.m-flex.m-flex-wrap {\n flex-wrap: wrap;\n}\n.m-flex.m-flex-nowrap {\n flex-wrap: nowrap;\n}\n.m-flex.m-flex-row {\n flex-direction: row;\n}\n.m-flex.m-flex-column {\n flex-direction: column;\n}\n.m-flex.m-flex-justify-start {\n justify-content: flex-start;\n}\n.m-flex.m-flex-justify-end {\n justify-content: flex-end;\n}\n.m-flex.m-flex-justify-center {\n justify-content: center;\n}\n.m-flex.m-flex-justify-between {\n justify-content: space-between;\n}\n.m-flex.m-flex-justify-around {\n justify-content: space-around;\n}\n.m-flex.m-flex-align-start {\n align-items: flex-start;\n}\n.m-flex.m-flex-align-end {\n align-items: flex-end;\n}\n.m-flex.m-flex-align-center {\n align-items: center;\n}\n.m-flex.m-flex-align-baseline {\n align-items: baseline;\n}\n.m-flex.m-flex-align-stretch {\n align-items: stretch;\n}\n.m-flex.m-flex-align-content-start {\n align-content: flex-start;\n}\n.m-flex.m-flex-align-content-end {\n align-content: flex-end;\n}\n.m-flex.m-flex-align-content-center {\n align-content: center;\n}\n.m-flex.m-flex-align-content-between {\n align-content: space-between;\n}\n.m-flex.m-flex-align-content-around {\n align-content: space-around;\n}\n.m-flex.m-flex-align-content-stretch {\n align-content: stretch;\n}\n.m-loading {\n display: inline-block;\n}\n.m-loading .m-loading-icon {\n height: 1em;\n width: 1em;\n display: inline-block;\n vertical-align: middle;\n animation: m-loading-circle 1s steps(12, end) infinite;\n}\n@keyframes m-loading-circle {\n 0% {\n transform: rotate3d(0, 0, 1, 0deg);\n }\n 100% {\n transform: rotate3d(0, 0, 1, 360deg);\n }\n}\n.m-mask {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: var(--m-z-index-mask);\n background: var(--m-color-bg-mask);\n}\n.m-page {\n width: 100vw;\n height: 100vh;\n background: var(--m-color-bg-back);\n overflow: hidden;\n}\n.m-page.m-page-white {\n background: var(--m-color-bg-white);\n}\n.m-page .m-page-wrapper {\n overflow: auto;\n}\n.m-page .m-page-side {\n overflow-x: hidden;\n overflow: auto;\n}\n.m-page .m-page-content {\n flex: 1;\n position: relative;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.m-page .m-page-header {\n min-height: var(--m-size-header-height);\n}\n.m-page .m-page-tabbar {\n height: var(--m-size-tabbar-height);\n}\n@supports (bottom: constant(safe-area-inset-bottom)) or\n (bottom: env(safe-area-inset-bottom)) {\n .m-page {\n padding-bottom: constant(safe-area-inset-bottom);\n /* 兼容 iOS < 11.2 */\n padding-bottom: env(safe-area-inset-bottom);\n /* 兼容 iOS >= 11.2 */\n }\n}\n.m-toast {\n position: absolute;\n top: 40vh;\n left: 0;\n right: 0;\n}\n.m-toast .m-toast-inner {\n background: var(--m-color-bg-toast);\n z-index: var(--m-z-index-toast);\n text-align: center;\n border-radius: 4px;\n color: var(--m-color-white);\n display: inline-block;\n max-width: 80%;\n min-width: 80px;\n}\n.m-toast .m-toast-inner .m-toast-content {\n padding: 4px 12px;\n}\n.m-toast .m-toast-inner .m-toast-icon {\n padding: 8px 0 0;\n font-size: 24px;\n line-height: 1;\n}\n.m-toast.m-toast-loading_linear .m-toast-icon {\n font-size: 16px;\n}\n.m-badge {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.m-badge .m-badge-round {\n border-radius: 100% !important;\n text-align: center;\n width: 16px;\n height: 16px;\n padding: 0 !important;\n}\n.m-badge .m-badge-text {\n color: var(--m-color-true-white);\n display: inline-block;\n text-align: center;\n background-color: var(--m-color-bg-red);\n white-space: nowrap;\n font-size: 10px;\n border-radius: 16px;\n line-height: 16px;\n padding: 1px 3px;\n min-width: 16px;\n}\n.m-badge .m-badge-dot {\n top: 0;\n right: 0;\n position: absolute;\n display: inline-block;\n background: var(--m-color-bg-red) !important;\n border-radius: 100%;\n width: 8px;\n height: 8px;\n transform: translate(50%, -50%);\n}\n.m-badge .m-badge-corner {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n}\n.m-tabs {\n cursor: pointer;\n}\n.m-tabs.m-tabs-default {\n background: var(--m-color-bg-white);\n color: var(--m-color-desc);\n}\n.m-tabs.m-tabs-default .m-tabs-content {\n width: 100%;\n}\n.m-tabs.m-tabs-default .m-tabs-item {\n flex: 1;\n}\n.m-tabs.m-tabs-default .m-tabs-item:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-tabs.m-tabs-default .m-tabs-item.active .m-tabs-item-text {\n color: var(--m-color-primary);\n position: relative;\n}\n.m-tabs.m-tabs-default .m-tabs-item.active .m-tabs-item-text::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 2px solid var(--m-color-primary);\n}\n.m-tabs.m-tabs-default .m-tabs-item-text {\n padding: 5px 0 2px 0;\n}\n.m-tabs.m-tabs-label {\n background: var(--m-color-bg-back);\n color: var(--m-color-desc);\n}\n.m-tabs.m-tabs-label .m-tabs-content {\n width: 100%;\n}\n.m-tabs.m-tabs-label .m-tabs-item {\n flex: 1;\n}\n.m-tabs.m-tabs-label .m-tabs-item:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-tabs.m-tabs-label .m-tabs-item.active .m-tabs-item-text {\n color: var(--m-color-primary);\n position: relative;\n}\n.m-tabs.m-tabs-label .m-tabs-item.active .m-tabs-item-text::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 2px solid var(--m-color-primary);\n}\n.m-tabs.m-tabs-label .m-tabs-item-text {\n padding: 5px 0 2px 0;\n}\n.m-tabs.m-tabs-capsule {\n height: var(--m-size-form-height);\n line-height: var(--m-size-form-height);\n}\n.m-tabs.m-tabs-capsule .m-tabs-content {\n background-color: var(--m-color-bg-primary-active);\n border-radius: var(--m-size-form-height);\n}\n.m-tabs.m-tabs-capsule .m-tabs-content .m-tabs-item {\n padding: 0 calc(var(--m-size-form-height) / 2);\n position: relative;\n color: var(--m-color-white);\n border-radius: var(--m-size-form-height);\n}\n.m-tabs.m-tabs-capsule .m-tabs-content .m-tabs-item .m-tabs-item-text {\n z-index: 1;\n}\n.m-tabs.m-tabs-capsule .m-tabs-content .m-tabs-item.active {\n color: var(--m-color-primary);\n background-color: var(--m-color-bg-white);\n}\n.m-label {\n display: inline-block;\n vertical-align: middle;\n line-height: 14px;\n height: 14px;\n border-radius: 2px;\n font-size: 12px;\n padding: 2px;\n white-space: nowrap;\n}\n.m-label-default {\n background-color: var(--m-color-bg-accent-light);\n color: var(--m-color-accent);\n}\n.m-label-plain {\n border: 1px solid var(--m-color-accent);\n padding: 1px;\n color: var(--m-color-accent);\n}\n.m-label-accent {\n background-color: var(--m-color-bg-accent);\n color: var(--m-color-white);\n}\n.m-label-primary {\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n}\n.m-switch {\n height: 30px;\n width: 50px;\n display: inline-block;\n -webkit-appearance: none;\n position: relative;\n cursor: pointer;\n}\n.m-switch.disabled,\n.m-switch[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-switch::before {\n content: '';\n display: inline-block;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n border-radius: 60px;\n background: var(--m-color-bg-back);\n transition: background-color 0.2s;\n}\n.m-switch::after {\n content: '';\n height: 28px;\n width: 28px;\n display: inline-block;\n border-radius: 30px;\n box-shadow: 0 1px 3px var(--m-color-box-shadow);\n position: absolute;\n top: 1px;\n left: 1px;\n background: var(--m-color-true-white);\n transition: transform 0.2s cubic-bezier(0.4, 0.4, 0.25, 1.35), -webkit-transform 0.2s cubic-bezier(0.4, 0.4, 0.25, 1.35);\n}\n.m-switch-on::before {\n background: var(--m-color-bg-primary);\n}\n.m-switch-on::after {\n transform: translateX(20px);\n}\n.m-tag {\n background: var(--m-color-bg-mask);\n color: var(--m-color-true-white);\n font-size: 10px;\n line-height: 18px;\n border-bottom-right-radius: 18px;\n padding-right: 6px;\n padding-left: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n position: absolute;\n left: 0;\n top: 0;\n max-width: calc(100% - 6px);\n}\n.m-tag-wrap {\n position: relative;\n}\n.m-tag-wrap.m-tag-wrap-bottom .m-tag {\n top: auto;\n bottom: 0;\n}\n.m-tag-wrap.m-tag-wrap-block .m-tag {\n width: 100%;\n max-width: 100%;\n padding: 0;\n text-align: center;\n}\n.m-square {\n width: 100%;\n height: 0;\n padding-bottom: 100%;\n background: whitesmoke;\n position: relative;\n}\n.m-square .m-square-inner {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.m-calendar {\n display: flex;\n flex-direction: column;\n flex: none;\n width: 100%;\n height: 100%;\n overflow: hidden;\n cursor: pointer;\n}\n.m-calendar .m-calendar-week {\n width: 100%;\n height: 40px;\n border-bottom: 1px solid var(--m-color-border);\n background-color: var(--m-color-bg-white);\n box-shadow: 0 1px 3px var(--m-color-border);\n z-index: 1;\n}\n.m-calendar .m-calendar-content {\n background-color: var(--m-color-bg-white);\n padding-bottom: 10px;\n}\n.m-calendar .m-calendar-content .m-calendar-month-head {\n padding-left: calc((100% / 14) - 5px);\n height: 25px;\n line-height: 25px;\n}\n.m-calendar .m-calendar-content .m-calendar-day {\n width: 100%;\n}\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-text {\n height: 30px;\n width: 30px;\n line-height: 1.2;\n border-radius: 4px;\n}\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-label {\n font-size: 12px;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-now .m-calendar-day-text {\n border: 1px solid var(--m-color-primary);\n color: var(--m-color-primary);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-begin small {\n margin-top: -5px;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-begin .m-calendar-day-text {\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-begin .m-calendar-day-left {\n background-color: transparent;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-begin .m-calendar-day-right {\n background-color: var(--m-calendar-bg-active);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-end small {\n margin-top: -5px;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-end .m-calendar-day-text {\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-end .m-calendar-day-left {\n background-color: var(--m-calendar-bg-active);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-end .m-calendar-day-right {\n background-color: transparent;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-selected small {\n margin-top: -5px;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-selected .m-calendar-day-text {\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-selected .m-calendar-day-left {\n background-color: transparent;\n}\n.m-calendar .m-calendar-content .m-calendar-day.m-calendar-day-selected .m-calendar-day-right {\n background-color: transparent;\n}\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-left,\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-right {\n display: flex;\n flex: 1;\n height: 30px;\n}\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-left.m-calendar-day-left-first,\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-right.m-calendar-day-left-first,\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-left.m-calendar-day-right-last,\n.m-calendar .m-calendar-content .m-calendar-day .m-calendar-day-right.m-calendar-day-right-last {\n background-color: var(--m-color-bg-white);\n}\n.m-calendar .m-calendar-content .m-calendar-day.active {\n background-color: var(--m-calendar-bg-active);\n color: var(--m-color-black);\n}\n.m-calendar .m-calendar-content .m-calendar-day.disabled,\n.m-calendar .m-calendar-content .m-calendar-day[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-dialog-container .m-mask {\n z-index: var(--m-z-index-dialog);\n}\n.m-dialog-container .m-dialog {\n position: fixed;\n width: 320px;\n top: 50%;\n left: 15px;\n right: 15px;\n margin: 0 auto;\n transform: translate(0, -50%);\n z-index: var(--m-z-index-dialog);\n background-color: var(--m-color-bg-white);\n text-align: center;\n border-radius: 15px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n font-size: 16px;\n}\n.m-dialog-container .m-dialog .m-dialog-title {\n padding: 15px 25px 0;\n font-weight: bolder;\n}\n.m-dialog-container .m-dialog .m-dialog-content {\n padding: 15px 25px 15px;\n background: var(--m-color-bg-white);\n}\n.m-dialog-container .m-dialog .m-dialog-bottom {\n position: relative;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom > .m-dialog-btn {\n color: var(--m-color-default);\n height: 56px;\n line-height: 56px;\n cursor: pointer;\n font-weight: bolder;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom > .m-dialog-btn:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom > .m-dialog-btn:not(:last-child) {\n position: relative;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom > .m-dialog-btn:not(:last-child)::after {\n content: ' ';\n position: absolute;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n border-right: 1px solid var(--m-color-border);\n transform-origin: 100% 0;\n transform: scaleX(0.5);\n z-index: 1;\n}\n.m-dialog-container .m-dialog .m-dialog-bottom .m-dialog-btn-confirm {\n color: var(--m-color-primary);\n}\n.m-dialog-container .m-dialog .m-dialog-input {\n width: 100%;\n border: 0;\n outline: 0;\n background-color: transparent;\n line-height: var(--m-size-line-height);\n color: inherit;\n padding: 5px 0;\n border-bottom: 1px solid var(--m-color-primary);\n}\n.m-panel {\n border-radius: 10px;\n background: var(--m-color-bg-white);\n overflow: hidden;\n}\n.m-panel.m-panel-top {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.m-panel.m-panel-bottom {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n.m-panel .m-panel-title {\n height: 40px;\n line-height: 40px;\n padding: 0 15px;\n}\n.m-panel .m-panel-title:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-panel .m-panel-action {\n font-size: 12px;\n}\n.m-checkbox {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.m-checkbox .m-checkbox-tick {\n width: 1.3em;\n height: 1.3em;\n position: relative;\n top: 0;\n margin-right: 10px;\n -webkit-appearance: none;\n border: 1px solid var(--m-color-border-dark);\n transition: background-color 0.1s linear;\n border-radius: 2px;\n}\n.m-checkbox.disabled {\n cursor: not-allowed;\n}\n.m-checkbox.disabled .m-checkbox-tick {\n background-color: var(--m-color-bg-back);\n}\n.m-checkbox.disabled .m-checkbox-child {\n opacity: 0.5;\n}\n.m-checkbox.m-checkbox-circle .m-checkbox-tick {\n border-radius: 50%;\n}\n.m-checkbox.m-checkbox-checked .m-checkbox-tick {\n border: 1px solid transparent;\n background-color: var(--m-color-bg-accent);\n}\n.m-checkbox.m-checkbox-checked .m-checkbox-tick::after {\n content: '';\n position: absolute;\n width: 0.6em;\n height: 0.3em;\n top: 0.35em;\n left: 0.3em;\n border-left: 0.14em solid var(--m-color-white);\n border-bottom: 0.14em solid var(--m-color-white);\n transform: rotate(-45deg);\n}\n.m-checkbox.m-checkbox-checked.disabled .m-checkbox-tick {\n opacity: 0.5;\n}\n.m-checkbox.m-checkbox-primary.m-checkbox-checked .m-checkbox-tick {\n background-color: var(--m-color-bg-primary);\n}\n.m-radio {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.m-radio .m-radio-tick {\n width: 1.3em;\n height: 1.3em;\n position: relative;\n top: 0;\n padding-right: 10px;\n -webkit-appearance: none;\n transition: background-color 0.1s linear;\n}\n.m-radio.disabled,\n.m-radio[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-radio.m-radio-checked .m-radio-tick::after {\n content: '';\n position: absolute;\n width: 1em;\n height: 0.6em;\n top: 0.1em;\n left: 0.3em;\n border-left: 2px solid var(--m-color-primary);\n border-bottom: 2px solid var(--m-color-primary);\n transform: rotate(-45deg);\n}\n.m-divider .m-divider-line {\n position: relative;\n}\n.m-divider .m-divider-line::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-divider .m-divider-line::before {\n top: 50%;\n}\n.m-popup-container .m-popup {\n position: absolute;\n z-index: var(--m-z-index-popup);\n overflow: hidden;\n background: var(--m-color-bg-white);\n}\n.m-popup-container .m-popup .m-popup-content {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.m-popup-container .m-popup.m-popup-left {\n top: 0;\n left: 0;\n width: 70%;\n height: 100%;\n}\n.m-popup-container .m-popup.m-popup-right {\n top: 0;\n right: 0;\n width: 70%;\n height: 100%;\n}\n.m-popup-container .m-popup.m-popup-center {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.m-popup-container .m-popup.m-popup-bottom {\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n margin: auto;\n height: auto;\n max-height: 100%;\n border-radius: 10px 10px 0 0;\n}\n.m-popup-container .m-popup.m-popup-bottom .m-popup-content {\n height: auto;\n}\n.m-popup-container .m-popup.m-popup-box-shadow {\n box-shadow: 0 1px 3px var(--m-color-box-shadow);\n}\n.m-popup-picker-container {\n z-index: var(--m-z-index-picker);\n}\n.m-popup-picker-container .m-mask {\n z-index: var(--m-z-index-picker);\n}\n.m-popup-picker-container .m-popup {\n z-index: var(--m-z-index-picker);\n}\n@supports (bottom: constant(safe-area-inset-bottom)) or\n (bottom: env(safe-area-inset-bottom)) {\n .m-popup.m-bottom-safe-area {\n padding-bottom: constant(safe-area-inset-bottom);\n /* 兼容 iOS < 11.2 */\n padding-bottom: env(safe-area-inset-bottom);\n /* 兼容 iOS >= 11.2 */\n }\n}\n.m-cell {\n padding-left: 15px;\n padding-right: 15px;\n min-height: var(--m-size-cell-height);\n background: var(--m-color-bg-white);\n}\n.m-cell:active {\n background: var(--m-color-bg-white-active);\n}\n.m-cell.m-cell-no-active:active {\n background: var(--m-color-bg-white);\n}\n.m-cell.m-cell-access {\n cursor: pointer;\n}\n.m-cell.m-cell-access .m-cell-access-icon {\n color: var(--m-color-desc);\n margin-right: -2px;\n}\n.m-cell .m-cell-icon {\n width: 35px;\n}\n.m-cell .m-cell-right {\n color: var(--m-color-desc);\n}\n.m-cell .m-cell-body {\n flex: 1;\n}\n.m-cell.m-cell-form {\n position: relative;\n}\n.m-cell.m-cell-form::after {\n content: ' ';\n position: absolute;\n left: 15px;\n right: 15px;\n bottom: 0;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-cell.m-cell-form .m-btn-time {\n margin-top: -4px;\n margin-bottom: -4px;\n}\n.m-cell-form-error {\n color: var(--m-color-danger);\n padding: 5px 15px;\n}\n.m-cells .m-cells-title {\n color: var(--m-color-desc);\n padding: 15px 15px 3px;\n font-size: 14px;\n}\n.m-cells:not(.m-cells-form):not(.m-cells-mini) .m-cells-content {\n position: relative;\n}\n.m-cells:not(.m-cells-form):not(.m-cells-mini) .m-cells-content::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-cells:not(.m-cells-form):not(.m-cells-mini) .m-cells-content::after {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-cells.m-cells-form .m-cells-title {\n position: relative;\n}\n.m-cells.m-cells-form .m-cells-title::after {\n content: ' ';\n position: absolute;\n left: 15px;\n right: 15px;\n bottom: 0;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-cells.m-cells-mini .m-cell {\n min-height: var(--m-size-cell-height-mini);\n}\n.m-cells.m-cells-mini .m-cell::after {\n border: none;\n}\n.m-cells .m-cell:not(.m-cell-form):last-child::after {\n display: none;\n}\n.m-cells .m-cell {\n position: relative;\n}\n.m-cells .m-cell::after {\n content: ' ';\n position: absolute;\n left: 15px;\n right: 0;\n bottom: 0;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-cells .m-cell.m-cell-with-icon {\n position: relative;\n}\n.m-cells .m-cell.m-cell-with-icon::after {\n content: ' ';\n position: absolute;\n left: 50px;\n right: 0;\n bottom: 0;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-search {\n height: var(--m-size-header-height);\n padding: 0 15px;\n}\n.m-search .m-search-input {\n border-radius: var(--m-size-form-height-sm);\n overflow: hidden;\n position: relative;\n}\n.m-search .m-search-input .m-input {\n height: var(--m-size-form-height-sm);\n background: var(--m-color-bg-back);\n padding: 0 25px 0 25px;\n}\n.m-search .m-search-input .m-search-icon-search {\n color: var(--m-color-placeholder);\n position: absolute;\n left: 8px;\n top: 0;\n bottom: 0;\n line-height: var(--m-size-form-height-sm);\n}\n.m-search .m-search-input .m-search-icon-close {\n color: var(--m-color-placeholder);\n position: absolute;\n right: 8px;\n top: 0;\n bottom: 0;\n line-height: var(--m-size-form-height-sm);\n}\n.m-search .m-btn {\n margin-right: -15px;\n}\n.m-fake-search {\n height: var(--m-size-header-height);\n padding: 0 15px;\n cursor: pointer;\n}\n.m-fake-search .m-fake-search-inner {\n border-radius: var(--m-size-form-height-sm);\n height: var(--m-size-form-height-sm);\n background: var(--m-color-bg-back);\n padding: 0 10px;\n color: var(--m-color-placeholder);\n}\n.m-inner-layer-container {\n z-index: var(--m-z-index-innerLayer);\n}\n.m-input {\n width: 100%;\n border: 0;\n outline: 0;\n background-color: transparent;\n line-height: var(--m-size-line-height);\n padding: 0;\n color: inherit;\n}\n.m-input::-webkit-search-cancel-button {\n display: none;\n}\n.m-input.m-input-form {\n height: var(--m-size-cell-height);\n}\n.m-input-container {\n position: relative;\n height: 30px;\n}\n.m-input-password {\n position: relative;\n}\n.m-input-password .m-input {\n width: calc(100% - 2em);\n}\n.m-input-password .m-input-password-icon {\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 50%;\n margin-top: -0.8em;\n padding: 0 5px;\n color: var(--m-color-desc);\n}\n.m-input-max-length {\n position: relative;\n}\n.m-input-max-length .m-input {\n width: calc(100% - 45px);\n}\n.m-input-max-length .m-input-max-length-length {\n width: 45px;\n padding-right: 8px;\n text-align: right;\n position: absolute;\n top: 1px;\n right: 0;\n color: var(--m-color-desc);\n}\n.m-textarea-container {\n position: relative;\n width: 100%;\n}\n.m-textarea-container .m-textarea {\n width: 100%;\n border: none;\n outline: none;\n position: relative;\n resize: none;\n display: block;\n padding: 0;\n background: none;\n}\n.m-textarea-container .m-textarea.disabled,\n.m-textarea-container .m-textarea[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-textarea-container .m-textarea.m-textarea-form {\n margin-top: -15px;\n margin-bottom: -15px;\n padding-top: 15px;\n padding-bottom: 15px;\n}\n.m-textarea-container .m-textarea-max-length {\n text-align: right;\n color: var(--m-color-desc);\n}\n.m-picker {\n width: 100%;\n font-size: 15px;\n}\n.m-picker .m-picker-header {\n display: flex;\n padding: 0 12px;\n height: 40px;\n position: relative;\n}\n.m-picker .m-picker-header::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-picker .m-picker-header .m-picker-header-item {\n display: flex;\n flex: 1;\n height: 100%;\n justify-content: center;\n align-items: center;\n}\n.m-picker .m-picker-inner {\n position: relative;\n display: flex;\n justify-content: center;\n height: 100%;\n padding: 0 12px;\n -webkit-mask-box-image: linear-gradient(to top, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent);\n}\n.m-picker .m-picker-inner .m-picker-column {\n flex: 1 1;\n position: relative;\n max-height: 100%;\n overflow: hidden;\n text-align: center;\n}\n.m-picker .m-picker-inner .m-picker-column .m-picker-scroll {\n transition: 300ms;\n transition-timing-function: ease-out;\n}\n.m-picker .m-picker-inner .m-picker-column .m-picker-item {\n position: relative;\n padding: 0 4px;\n white-space: nowrap;\n color: var(--m-color-desc);\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.m-picker .m-picker-inner .m-picker-column .m-picker-item.m-picker-item-selected {\n font-weight: bold;\n color: var(--m-color-default);\n}\n.m-picker .m-picker-inner .m-picker-highlight {\n position: absolute;\n top: 50%;\n left: 0;\n width: 100%;\n pointer-events: none;\n}\n.m-nav:not(.m-nav-horizontal) {\n height: 100%;\n background: var(--m-color-bg-back);\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list .m-nav-item {\n padding: 5px 15px;\n min-height: 45px;\n cursor: pointer;\n line-height: 1.2;\n position: relative;\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list .m-nav-item::after {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list .m-nav-item:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list .m-nav-item.active {\n background: var(--m-color-bg-white);\n}\n.m-nav:not(.m-nav-horizontal) .m-nav-list .m-nav-item.active::before {\n content: '';\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -0.5em;\n width: 4px;\n height: 1em;\n background: var(--m-color-bg-primary);\n}\n.m-nav.m-nav-horizontal {\n position: relative;\n height: 30px;\n}\n.m-nav.m-nav-horizontal .m-nav-list {\n overflow-y: hidden;\n overflow-x: auto;\n padding: 0 7.5px;\n}\n.m-nav.m-nav-horizontal .m-nav-list::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n.m-nav.m-nav-horizontal .m-nav-list .m-nav-item {\n position: relative;\n padding: 0 7.5px;\n height: 30px;\n cursor: pointer;\n}\n.m-nav.m-nav-horizontal .m-nav-list .m-nav-item:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-nav.m-nav-horizontal .m-nav-list .m-nav-item.active {\n color: var(--m-color-primary);\n}\n.m-nav.m-nav-horizontal .m-nav-list .m-nav-item.active::before {\n content: '';\n position: absolute;\n bottom: 0;\n left: 14px;\n right: 7.5px;\n margin-left: -0.5em;\n height: 2px;\n background: var(--m-color-bg-primary);\n}\n.m-date-selector {\n background-color: var(--m-color-bg-white);\n}\n.m-date-selector .m-date-selector-weekdays {\n color: var(--m-color-desc);\n padding: 0 20px;\n}\n.m-date-selector .m-date-selector-weekdays .m-date-selector-weekdays-week {\n display: inline-block;\n width: calc(100% / 7);\n height: 40px;\n line-height: 40px;\n text-align: center;\n}\n.m-date-selector .m-date-selector-content {\n overflow-y: auto;\n overflow-x: hidden;\n padding: 0 20px;\n}\n.m-date-selector .m-date-selector-month {\n display: inline-block;\n height: 30px;\n padding: 0;\n vertical-align: top;\n font-size: 10px;\n margin-top: -2px;\n}\n.m-date-selector .m-date-selector-day {\n display: flex;\n width: 100%;\n height: 30px;\n padding: 5px 0;\n vertical-align: middle;\n}\n.m-date-selector .m-date-selector-day .m-date-selector-day-value {\n display: inline-block;\n width: 30px;\n height: 30px;\n line-height: 30px;\n text-align: center;\n vertical-align: top;\n}\n.m-date-selector .m-date-selector-day .m-date-selector-day-left,\n.m-date-selector .m-date-selector-day .m-date-selector-day-right {\n display: flex;\n flex: 1;\n padding: 0;\n height: 30px;\n}\n.m-date-selector .m-date-selector-day.m-date-selector-day-start .m-date-selector-day-value {\n background-color: var(--m-color-bg-primary);\n border-radius: 50% 0 0 50%;\n color: var(--m-color-white);\n}\n.m-date-selector .m-date-selector-day.m-date-selector-day-start .m-date-selector-day-right {\n background-color: var(--m-color-bg-primary);\n}\n.m-date-selector .m-date-selector-day.m-date-selector-day-end .m-date-selector-day-value {\n background-color: var(--m-color-bg-primary);\n border-radius: 0 50% 50% 0;\n color: var(--m-color-white);\n}\n.m-date-selector .m-date-selector-day.m-date-selector-day-end .m-date-selector-day-left {\n background-color: var(--m-color-bg-primary);\n}\n.m-date-selector .m-date-selector-day.m-date-selector-day-selected .m-date-selector-day-value {\n background-color: var(--m-color-bg-primary);\n border-radius: 50% 50% 50% 50%;\n color: var(--m-color-white);\n}\n.m-date-selector .m-date-selector-day.active .m-date-selector-day-value {\n background-color: var(--m-color-bg-primary);\n border-radius: 0 0 0 0;\n color: var(--m-color-white);\n}\n.m-date-selector .m-date-selector-day.active .m-date-selector-day-left,\n.m-date-selector .m-date-selector-day.active .m-date-selector-day-right {\n background-color: var(--m-color-bg-primary);\n}\n.m-date-selector .m-date-selector-day.disabled,\n.m-date-selector .m-date-selector-day[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.text-field {\n position: relative;\n}\n.text-field.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.text-field.disabled .text-field-inner,\n.text-field.disabled .textfield-input,\n.text-field.disabled .textfield-textarea {\n cursor: inherit;\n}\n.text-field .textfield-input,\n.text-field .textfield-textarea {\n width: 100%;\n height: 100%;\n caret-color: var(--m-color-primary);\n font: inherit;\n}\n.text-field.ios .textfield-textarea {\n margin-left: -5px;\n margin-top: -5px;\n}\n.text-field.active .text-field-inner {\n border-color: var(--m-color-primary) !important;\n}\n.text-field.active .border-bottom {\n border-color: var(--m-color-border) !important;\n}\n.text-field.active .border-bottom:before {\n border-color: none !important;\n}\n.text-field.active .border-bottom:after {\n border-color: var(--m-color-primary) !important;\n width: 100% !important;\n}\n.text-field.highlight .text-field-inner {\n background-color: var(--m-color-bg-secondary);\n}\n.text-field.block {\n width: 100%;\n}\n.text-field .text-field-placeholder {\n color: var(--m-color-placeholder);\n}\n.text-field .text-field-inner {\n cursor: text;\n}\n.text-field .text-field-inner.mini {\n height: var(--m-textfield-height-mini);\n}\n.text-field .text-field-inner.normal {\n height: var(--m-textfield-height-normal);\n}\n.text-field .text-field-inner.large {\n height: var(--m-textfield-height-large);\n}\n.text-field .text-field-inner.multi-line {\n height: auto;\n}\n.text-field .text-field-inner.border-radius {\n border-radius: 5px;\n overflow: hidden;\n}\n.text-field .text-field-inner.border-bottom {\n position: relative;\n}\n.text-field .text-field-inner.border-bottom:before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n margin: auto;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n}\n.text-field .text-field-inner.border-bottom:after {\n content: '';\n transition: width 0.2s linear;\n position: absolute;\n width: 0%;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n}\n.text-field .text-field-inner.padding-5 {\n padding: 5px;\n}\n.text-field .text-field-inner.padding-10 {\n padding: 10px;\n}\n.text-field .text-field-error-message {\n position: absolute;\n bottom: 2px;\n color: rgba(255, 0, 0, 0.5);\n font-size: 10px;\n width: 100%;\n}\n.text-field.text-field-error .text-field-inner {\n border-color: rgba(255, 0, 0, 0.5) !important;\n}\n.text-field.text-field-error .text-field-inner.border-bottom:before,\n.text-field.text-field-error .text-field-inner.border-bottom:after {\n border-color: rgba(255, 0, 0, 0.5) !important;\n}\n.text-field.text-field-error .text-field-error-message {\n animation-name: headShake;\n animation-timing-function: ease;\n animation-duration: 0.75s;\n}\n@keyframes headShake {\n 0% {\n transform: translateX(0);\n }\n 6.5% {\n transform: translateX(-6px) rotateY(-9deg);\n }\n 18.5% {\n transform: translateX(5px) rotateY(7deg);\n }\n 31.5% {\n transform: translateX(-3px) rotateY(-5deg);\n }\n 43.5% {\n transform: translateX(2px) rotateY(3deg);\n }\n 50% {\n transform: translateX(0);\n }\n}\n.error {\n color: rgba(255, 0, 0, 0.5);\n font-size: 10px;\n width: 100%;\n padding: 5px 0;\n}\n.error.m-border-1px-top-before::before {\n border-color: rgba(255, 0, 0, 0.5);\n}\n.error .error-message {\n display: inline-block;\n animation-name: headShake;\n animation-timing-function: ease;\n animation-duration: 0.75s;\n}\n@keyframes headShake {\n 0% {\n transform: translateX(0);\n }\n 6.5% {\n transform: translateX(-6px) rotateY(-9deg);\n }\n 18.5% {\n transform: translateX(5px) rotateY(7deg);\n }\n 31.5% {\n transform: translateX(-3px) rotateY(-5deg);\n }\n 43.5% {\n transform: translateX(2px) rotateY(3deg);\n }\n 50% {\n transform: translateX(0);\n }\n}\nhtml,\nbody,\npage {\n height: 100%;\n overflow-x: hidden;\n -webkit-tap-highlight-color: transparent;\n color: var(--m-color-default);\n font-size: var(--m-size-text-14);\n line-height: var(--m-size-line-height);\n font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;\n background: var(--m-color-bg-back);\n}\n::-webkit-input-placeholder {\n color: var(--m-color-placeholder);\n}\n.m-svg-icon {\n font-size: inherit;\n}\n.m-container-full {\n box-sizing: border-box;\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n max-height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.m-img-responsive {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.m-cursor-pointer {\n cursor: pointer;\n}\n.m-visible {\n visibility: visible;\n}\n.m-invisible {\n visibility: hidden;\n}\n.m-disabled {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-disabled-with.disabled,\n.m-disabled-with[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-w-100p {\n width: 100%;\n}\n/**\n【按钮】使元素有点击效果\n m-button-text 普通文本点击效果\n m-button-default 带默认背景白字按钮\n m-button-primary 带primary背景白字按钮\n m-button-white 带白底黑字按钮\n +\n block 宽度占满\n large 变大\n outlined 加外边框\n m-button-icon \n**/\n.m-init-button {\n padding: 0;\n color: currentColor;\n background-color: transparent;\n}\n.m-init-button:after {\n border: none;\n}\n.m-init-button[disabled] {\n color: currentColor;\n opacity: 0.7;\n}\n.m-button-text {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n}\n.m-button-text.block {\n width: 100%;\n text-align: center;\n}\n.m-button-text.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button-text.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button-text.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button-text:active {\n position: relative;\n}\n.m-button-text:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n line-height: 1;\n background-color: var(--m-button-color-default);\n}\n.m-button.block {\n width: 100%;\n text-align: center;\n}\n.m-button.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button:active {\n position: relative;\n}\n.m-button:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-button-default {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n line-height: 1;\n color: rgba(255, 255, 255, 0.95);\n background-color: var(--m-button-color-default);\n}\n.m-button-default.block {\n width: 100%;\n text-align: center;\n}\n.m-button-default.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button-default.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button-default.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button-default:active {\n position: relative;\n}\n.m-button-default:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-button-primary {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n line-height: 1;\n background-color: var(--m-button-color-default);\n color: rgba(255, 255, 255, 0.95);\n background-color: var(--m-color-primary);\n}\n.m-button-primary.block {\n width: 100%;\n text-align: center;\n}\n.m-button-primary.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button-primary.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button-primary.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button-primary:active {\n position: relative;\n}\n.m-button-primary:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-button-white {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n line-height: 1;\n background-color: var(--m-button-color-default);\n color: rgba(0, 0, 0, 0.95);\n background-color: white;\n}\n.m-button-white.block {\n width: 100%;\n text-align: center;\n}\n.m-button-white.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button-white.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button-white.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button-white:active {\n position: relative;\n}\n.m-button-white:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-button-icon {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n padding: 0 10px;\n border-radius: 3px;\n box-sizing: border-box;\n line-height: 2;\n min-height: var(--m-button-height-normal);\n cursor: pointer;\n user-select: none;\n line-height: 1;\n min-width: var(--m-button-height-normal);\n padding: 10px;\n border-radius: 50%;\n}\n.m-button-icon.block {\n width: 100%;\n text-align: center;\n}\n.m-button-icon.small {\n padding: 0 5px;\n min-height: var(--m-button-height-small);\n min-width: var(--m-button-height-small);\n}\n.m-button-icon.large {\n padding-top: 14px;\n padding-bottom: 14px;\n font-size: 16px;\n min-height: var(--m-button-height-large);\n min-width: var(--m-button-height-large);\n}\n.m-button-icon.outlined {\n border: 1px solid currentColor;\n background-color: transparent;\n}\n.m-button-icon:active {\n position: relative;\n}\n.m-button-icon:active:after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: currentColor;\n opacity: 0.1;\n transform: none;\n border-radius: inherit;\n}\n.m-gap-0 {\n display: inline-block !important;\n height: 0px !important;\n width: 0px !important;\n}\n.m-padding-0 {\n padding: 0px !important;\n}\n.m-padding-top-0 {\n padding-top: 0px !important;\n}\n.m-padding-bottom-0 {\n padding-bottom: 0px !important;\n}\n.m-padding-left-0 {\n padding-left: 0px !important;\n}\n.m-padding-right-0 {\n padding-right: 0px !important;\n}\n.m-padding-lr-0 {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.m-padding-tb-0 {\n padding-top: 0px !important;\n padding-bottom: 0px !important;\n}\n.m-margin-0 {\n margin: 0px !important;\n}\n.m-margin-top-0 {\n margin-top: 0px !important;\n}\n.m-margin-bottom-0 {\n margin-bottom: 0px !important;\n}\n.m-margin-left-0 {\n margin-left: 0px !important;\n}\n.m-margin-right-0 {\n margin-right: 0px !important;\n}\n.m-margin-lr-0 {\n margin-left: 0px !important;\n margin-right: 0px !important;\n}\n.m-margin-tb-0 {\n margin-top: 0px !important;\n margin-bottom: 0px !important;\n}\n.m-gap-1 {\n display: inline-block !important;\n height: 1px !important;\n width: 1px !important;\n}\n.m-padding-1 {\n padding: 1px !important;\n}\n.m-padding-top-1 {\n padding-top: 1px !important;\n}\n.m-padding-bottom-1 {\n padding-bottom: 1px !important;\n}\n.m-padding-left-1 {\n padding-left: 1px !important;\n}\n.m-padding-right-1 {\n padding-right: 1px !important;\n}\n.m-padding-lr-1 {\n padding-left: 1px !important;\n padding-right: 1px !important;\n}\n.m-padding-tb-1 {\n padding-top: 1px !important;\n padding-bottom: 1px !important;\n}\n.m-margin-1 {\n margin: 1px !important;\n}\n.m-margin-top-1 {\n margin-top: 1px !important;\n}\n.m-margin-bottom-1 {\n margin-bottom: 1px !important;\n}\n.m-margin-left-1 {\n margin-left: 1px !important;\n}\n.m-margin-right-1 {\n margin-right: 1px !important;\n}\n.m-margin-lr-1 {\n margin-left: 1px !important;\n margin-right: 1px !important;\n}\n.m-margin-tb-1 {\n margin-top: 1px !important;\n margin-bottom: 1px !important;\n}\n.m-gap-2 {\n display: inline-block !important;\n height: 2px !important;\n width: 2px !important;\n}\n.m-padding-2 {\n padding: 2px !important;\n}\n.m-padding-top-2 {\n padding-top: 2px !important;\n}\n.m-padding-bottom-2 {\n padding-bottom: 2px !important;\n}\n.m-padding-left-2 {\n padding-left: 2px !important;\n}\n.m-padding-right-2 {\n padding-right: 2px !important;\n}\n.m-padding-lr-2 {\n padding-left: 2px !important;\n padding-right: 2px !important;\n}\n.m-padding-tb-2 {\n padding-top: 2px !important;\n padding-bottom: 2px !important;\n}\n.m-margin-2 {\n margin: 2px !important;\n}\n.m-margin-top-2 {\n margin-top: 2px !important;\n}\n.m-margin-bottom-2 {\n margin-bottom: 2px !important;\n}\n.m-margin-left-2 {\n margin-left: 2px !important;\n}\n.m-margin-right-2 {\n margin-right: 2px !important;\n}\n.m-margin-lr-2 {\n margin-left: 2px !important;\n margin-right: 2px !important;\n}\n.m-margin-tb-2 {\n margin-top: 2px !important;\n margin-bottom: 2px !important;\n}\n.m-gap-3 {\n display: inline-block !important;\n height: 3px !important;\n width: 3px !important;\n}\n.m-padding-3 {\n padding: 3px !important;\n}\n.m-padding-top-3 {\n padding-top: 3px !important;\n}\n.m-padding-bottom-3 {\n padding-bottom: 3px !important;\n}\n.m-padding-left-3 {\n padding-left: 3px !important;\n}\n.m-padding-right-3 {\n padding-right: 3px !important;\n}\n.m-padding-lr-3 {\n padding-left: 3px !important;\n padding-right: 3px !important;\n}\n.m-padding-tb-3 {\n padding-top: 3px !important;\n padding-bottom: 3px !important;\n}\n.m-margin-3 {\n margin: 3px !important;\n}\n.m-margin-top-3 {\n margin-top: 3px !important;\n}\n.m-margin-bottom-3 {\n margin-bottom: 3px !important;\n}\n.m-margin-left-3 {\n margin-left: 3px !important;\n}\n.m-margin-right-3 {\n margin-right: 3px !important;\n}\n.m-margin-lr-3 {\n margin-left: 3px !important;\n margin-right: 3px !important;\n}\n.m-margin-tb-3 {\n margin-top: 3px !important;\n margin-bottom: 3px !important;\n}\n.m-gap-4 {\n display: inline-block !important;\n height: 4px !important;\n width: 4px !important;\n}\n.m-padding-4 {\n padding: 4px !important;\n}\n.m-padding-top-4 {\n padding-top: 4px !important;\n}\n.m-padding-bottom-4 {\n padding-bottom: 4px !important;\n}\n.m-padding-left-4 {\n padding-left: 4px !important;\n}\n.m-padding-right-4 {\n padding-right: 4px !important;\n}\n.m-padding-lr-4 {\n padding-left: 4px !important;\n padding-right: 4px !important;\n}\n.m-padding-tb-4 {\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n}\n.m-margin-4 {\n margin: 4px !important;\n}\n.m-margin-top-4 {\n margin-top: 4px !important;\n}\n.m-margin-bottom-4 {\n margin-bottom: 4px !important;\n}\n.m-margin-left-4 {\n margin-left: 4px !important;\n}\n.m-margin-right-4 {\n margin-right: 4px !important;\n}\n.m-margin-lr-4 {\n margin-left: 4px !important;\n margin-right: 4px !important;\n}\n.m-margin-tb-4 {\n margin-top: 4px !important;\n margin-bottom: 4px !important;\n}\n.m-gap-5 {\n display: inline-block !important;\n height: 5px !important;\n width: 5px !important;\n}\n.m-padding-5 {\n padding: 5px !important;\n}\n.m-padding-top-5 {\n padding-top: 5px !important;\n}\n.m-padding-bottom-5 {\n padding-bottom: 5px !important;\n}\n.m-padding-left-5 {\n padding-left: 5px !important;\n}\n.m-padding-right-5 {\n padding-right: 5px !important;\n}\n.m-padding-lr-5 {\n padding-left: 5px !important;\n padding-right: 5px !important;\n}\n.m-padding-tb-5 {\n padding-top: 5px !important;\n padding-bottom: 5px !important;\n}\n.m-margin-5 {\n margin: 5px !important;\n}\n.m-margin-top-5 {\n margin-top: 5px !important;\n}\n.m-margin-bottom-5 {\n margin-bottom: 5px !important;\n}\n.m-margin-left-5 {\n margin-left: 5px !important;\n}\n.m-margin-right-5 {\n margin-right: 5px !important;\n}\n.m-margin-lr-5 {\n margin-left: 5px !important;\n margin-right: 5px !important;\n}\n.m-margin-tb-5 {\n margin-top: 5px !important;\n margin-bottom: 5px !important;\n}\n.m-gap-6 {\n display: inline-block !important;\n height: 6px !important;\n width: 6px !important;\n}\n.m-padding-6 {\n padding: 6px !important;\n}\n.m-padding-top-6 {\n padding-top: 6px !important;\n}\n.m-padding-bottom-6 {\n padding-bottom: 6px !important;\n}\n.m-padding-left-6 {\n padding-left: 6px !important;\n}\n.m-padding-right-6 {\n padding-right: 6px !important;\n}\n.m-padding-lr-6 {\n padding-left: 6px !important;\n padding-right: 6px !important;\n}\n.m-padding-tb-6 {\n padding-top: 6px !important;\n padding-bottom: 6px !important;\n}\n.m-margin-6 {\n margin: 6px !important;\n}\n.m-margin-top-6 {\n margin-top: 6px !important;\n}\n.m-margin-bottom-6 {\n margin-bottom: 6px !important;\n}\n.m-margin-left-6 {\n margin-left: 6px !important;\n}\n.m-margin-right-6 {\n margin-right: 6px !important;\n}\n.m-margin-lr-6 {\n margin-left: 6px !important;\n margin-right: 6px !important;\n}\n.m-margin-tb-6 {\n margin-top: 6px !important;\n margin-bottom: 6px !important;\n}\n.m-gap-7 {\n display: inline-block !important;\n height: 7px !important;\n width: 7px !important;\n}\n.m-padding-7 {\n padding: 7px !important;\n}\n.m-padding-top-7 {\n padding-top: 7px !important;\n}\n.m-padding-bottom-7 {\n padding-bottom: 7px !important;\n}\n.m-padding-left-7 {\n padding-left: 7px !important;\n}\n.m-padding-right-7 {\n padding-right: 7px !important;\n}\n.m-padding-lr-7 {\n padding-left: 7px !important;\n padding-right: 7px !important;\n}\n.m-padding-tb-7 {\n padding-top: 7px !important;\n padding-bottom: 7px !important;\n}\n.m-margin-7 {\n margin: 7px !important;\n}\n.m-margin-top-7 {\n margin-top: 7px !important;\n}\n.m-margin-bottom-7 {\n margin-bottom: 7px !important;\n}\n.m-margin-left-7 {\n margin-left: 7px !important;\n}\n.m-margin-right-7 {\n margin-right: 7px !important;\n}\n.m-margin-lr-7 {\n margin-left: 7px !important;\n margin-right: 7px !important;\n}\n.m-margin-tb-7 {\n margin-top: 7px !important;\n margin-bottom: 7px !important;\n}\n.m-gap-8 {\n display: inline-block !important;\n height: 8px !important;\n width: 8px !important;\n}\n.m-padding-8 {\n padding: 8px !important;\n}\n.m-padding-top-8 {\n padding-top: 8px !important;\n}\n.m-padding-bottom-8 {\n padding-bottom: 8px !important;\n}\n.m-padding-left-8 {\n padding-left: 8px !important;\n}\n.m-padding-right-8 {\n padding-right: 8px !important;\n}\n.m-padding-lr-8 {\n padding-left: 8px !important;\n padding-right: 8px !important;\n}\n.m-padding-tb-8 {\n padding-top: 8px !important;\n padding-bottom: 8px !important;\n}\n.m-margin-8 {\n margin: 8px !important;\n}\n.m-margin-top-8 {\n margin-top: 8px !important;\n}\n.m-margin-bottom-8 {\n margin-bottom: 8px !important;\n}\n.m-margin-left-8 {\n margin-left: 8px !important;\n}\n.m-margin-right-8 {\n margin-right: 8px !important;\n}\n.m-margin-lr-8 {\n margin-left: 8px !important;\n margin-right: 8px !important;\n}\n.m-margin-tb-8 {\n margin-top: 8px !important;\n margin-bottom: 8px !important;\n}\n.m-gap-9 {\n display: inline-block !important;\n height: 9px !important;\n width: 9px !important;\n}\n.m-padding-9 {\n padding: 9px !important;\n}\n.m-padding-top-9 {\n padding-top: 9px !important;\n}\n.m-padding-bottom-9 {\n padding-bottom: 9px !important;\n}\n.m-padding-left-9 {\n padding-left: 9px !important;\n}\n.m-padding-right-9 {\n padding-right: 9px !important;\n}\n.m-padding-lr-9 {\n padding-left: 9px !important;\n padding-right: 9px !important;\n}\n.m-padding-tb-9 {\n padding-top: 9px !important;\n padding-bottom: 9px !important;\n}\n.m-margin-9 {\n margin: 9px !important;\n}\n.m-margin-top-9 {\n margin-top: 9px !important;\n}\n.m-margin-bottom-9 {\n margin-bottom: 9px !important;\n}\n.m-margin-left-9 {\n margin-left: 9px !important;\n}\n.m-margin-right-9 {\n margin-right: 9px !important;\n}\n.m-margin-lr-9 {\n margin-left: 9px !important;\n margin-right: 9px !important;\n}\n.m-margin-tb-9 {\n margin-top: 9px !important;\n margin-bottom: 9px !important;\n}\n.m-gap-10 {\n display: inline-block !important;\n height: 10px !important;\n width: 10px !important;\n}\n.m-padding-10 {\n padding: 10px !important;\n}\n.m-padding-top-10 {\n padding-top: 10px !important;\n}\n.m-padding-bottom-10 {\n padding-bottom: 10px !important;\n}\n.m-padding-left-10 {\n padding-left: 10px !important;\n}\n.m-padding-right-10 {\n padding-right: 10px !important;\n}\n.m-padding-lr-10 {\n padding-left: 10px !important;\n padding-right: 10px !important;\n}\n.m-padding-tb-10 {\n padding-top: 10px !important;\n padding-bottom: 10px !important;\n}\n.m-margin-10 {\n margin: 10px !important;\n}\n.m-margin-top-10 {\n margin-top: 10px !important;\n}\n.m-margin-bottom-10 {\n margin-bottom: 10px !important;\n}\n.m-margin-left-10 {\n margin-left: 10px !important;\n}\n.m-margin-right-10 {\n margin-right: 10px !important;\n}\n.m-margin-lr-10 {\n margin-left: 10px !important;\n margin-right: 10px !important;\n}\n.m-margin-tb-10 {\n margin-top: 10px !important;\n margin-bottom: 10px !important;\n}\n.m-gap-11 {\n display: inline-block !important;\n height: 11px !important;\n width: 11px !important;\n}\n.m-padding-11 {\n padding: 11px !important;\n}\n.m-padding-top-11 {\n padding-top: 11px !important;\n}\n.m-padding-bottom-11 {\n padding-bottom: 11px !important;\n}\n.m-padding-left-11 {\n padding-left: 11px !important;\n}\n.m-padding-right-11 {\n padding-right: 11px !important;\n}\n.m-padding-lr-11 {\n padding-left: 11px !important;\n padding-right: 11px !important;\n}\n.m-padding-tb-11 {\n padding-top: 11px !important;\n padding-bottom: 11px !important;\n}\n.m-margin-11 {\n margin: 11px !important;\n}\n.m-margin-top-11 {\n margin-top: 11px !important;\n}\n.m-margin-bottom-11 {\n margin-bottom: 11px !important;\n}\n.m-margin-left-11 {\n margin-left: 11px !important;\n}\n.m-margin-right-11 {\n margin-right: 11px !important;\n}\n.m-margin-lr-11 {\n margin-left: 11px !important;\n margin-right: 11px !important;\n}\n.m-margin-tb-11 {\n margin-top: 11px !important;\n margin-bottom: 11px !important;\n}\n.m-gap-12 {\n display: inline-block !important;\n height: 12px !important;\n width: 12px !important;\n}\n.m-padding-12 {\n padding: 12px !important;\n}\n.m-padding-top-12 {\n padding-top: 12px !important;\n}\n.m-padding-bottom-12 {\n padding-bottom: 12px !important;\n}\n.m-padding-left-12 {\n padding-left: 12px !important;\n}\n.m-padding-right-12 {\n padding-right: 12px !important;\n}\n.m-padding-lr-12 {\n padding-left: 12px !important;\n padding-right: 12px !important;\n}\n.m-padding-tb-12 {\n padding-top: 12px !important;\n padding-bottom: 12px !important;\n}\n.m-margin-12 {\n margin: 12px !important;\n}\n.m-margin-top-12 {\n margin-top: 12px !important;\n}\n.m-margin-bottom-12 {\n margin-bottom: 12px !important;\n}\n.m-margin-left-12 {\n margin-left: 12px !important;\n}\n.m-margin-right-12 {\n margin-right: 12px !important;\n}\n.m-margin-lr-12 {\n margin-left: 12px !important;\n margin-right: 12px !important;\n}\n.m-margin-tb-12 {\n margin-top: 12px !important;\n margin-bottom: 12px !important;\n}\n.m-gap-13 {\n display: inline-block !important;\n height: 13px !important;\n width: 13px !important;\n}\n.m-padding-13 {\n padding: 13px !important;\n}\n.m-padding-top-13 {\n padding-top: 13px !important;\n}\n.m-padding-bottom-13 {\n padding-bottom: 13px !important;\n}\n.m-padding-left-13 {\n padding-left: 13px !important;\n}\n.m-padding-right-13 {\n padding-right: 13px !important;\n}\n.m-padding-lr-13 {\n padding-left: 13px !important;\n padding-right: 13px !important;\n}\n.m-padding-tb-13 {\n padding-top: 13px !important;\n padding-bottom: 13px !important;\n}\n.m-margin-13 {\n margin: 13px !important;\n}\n.m-margin-top-13 {\n margin-top: 13px !important;\n}\n.m-margin-bottom-13 {\n margin-bottom: 13px !important;\n}\n.m-margin-left-13 {\n margin-left: 13px !important;\n}\n.m-margin-right-13 {\n margin-right: 13px !important;\n}\n.m-margin-lr-13 {\n margin-left: 13px !important;\n margin-right: 13px !important;\n}\n.m-margin-tb-13 {\n margin-top: 13px !important;\n margin-bottom: 13px !important;\n}\n.m-gap-14 {\n display: inline-block !important;\n height: 14px !important;\n width: 14px !important;\n}\n.m-padding-14 {\n padding: 14px !important;\n}\n.m-padding-top-14 {\n padding-top: 14px !important;\n}\n.m-padding-bottom-14 {\n padding-bottom: 14px !important;\n}\n.m-padding-left-14 {\n padding-left: 14px !important;\n}\n.m-padding-right-14 {\n padding-right: 14px !important;\n}\n.m-padding-lr-14 {\n padding-left: 14px !important;\n padding-right: 14px !important;\n}\n.m-padding-tb-14 {\n padding-top: 14px !important;\n padding-bottom: 14px !important;\n}\n.m-margin-14 {\n margin: 14px !important;\n}\n.m-margin-top-14 {\n margin-top: 14px !important;\n}\n.m-margin-bottom-14 {\n margin-bottom: 14px !important;\n}\n.m-margin-left-14 {\n margin-left: 14px !important;\n}\n.m-margin-right-14 {\n margin-right: 14px !important;\n}\n.m-margin-lr-14 {\n margin-left: 14px !important;\n margin-right: 14px !important;\n}\n.m-margin-tb-14 {\n margin-top: 14px !important;\n margin-bottom: 14px !important;\n}\n.m-gap-15 {\n display: inline-block !important;\n height: 15px !important;\n width: 15px !important;\n}\n.m-padding-15 {\n padding: 15px !important;\n}\n.m-padding-top-15 {\n padding-top: 15px !important;\n}\n.m-padding-bottom-15 {\n padding-bottom: 15px !important;\n}\n.m-padding-left-15 {\n padding-left: 15px !important;\n}\n.m-padding-right-15 {\n padding-right: 15px !important;\n}\n.m-padding-lr-15 {\n padding-left: 15px !important;\n padding-right: 15px !important;\n}\n.m-padding-tb-15 {\n padding-top: 15px !important;\n padding-bottom: 15px !important;\n}\n.m-margin-15 {\n margin: 15px !important;\n}\n.m-margin-top-15 {\n margin-top: 15px !important;\n}\n.m-margin-bottom-15 {\n margin-bottom: 15px !important;\n}\n.m-margin-left-15 {\n margin-left: 15px !important;\n}\n.m-margin-right-15 {\n margin-right: 15px !important;\n}\n.m-margin-lr-15 {\n margin-left: 15px !important;\n margin-right: 15px !important;\n}\n.m-margin-tb-15 {\n margin-top: 15px !important;\n margin-bottom: 15px !important;\n}\n.m-gap-16 {\n display: inline-block !important;\n height: 16px !important;\n width: 16px !important;\n}\n.m-padding-16 {\n padding: 16px !important;\n}\n.m-padding-top-16 {\n padding-top: 16px !important;\n}\n.m-padding-bottom-16 {\n padding-bottom: 16px !important;\n}\n.m-padding-left-16 {\n padding-left: 16px !important;\n}\n.m-padding-right-16 {\n padding-right: 16px !important;\n}\n.m-padding-lr-16 {\n padding-left: 16px !important;\n padding-right: 16px !important;\n}\n.m-padding-tb-16 {\n padding-top: 16px !important;\n padding-bottom: 16px !important;\n}\n.m-margin-16 {\n margin: 16px !important;\n}\n.m-margin-top-16 {\n margin-top: 16px !important;\n}\n.m-margin-bottom-16 {\n margin-bottom: 16px !important;\n}\n.m-margin-left-16 {\n margin-left: 16px !important;\n}\n.m-margin-right-16 {\n margin-right: 16px !important;\n}\n.m-margin-lr-16 {\n margin-left: 16px !important;\n margin-right: 16px !important;\n}\n.m-margin-tb-16 {\n margin-top: 16px !important;\n margin-bottom: 16px !important;\n}\n.m-gap-17 {\n display: inline-block !important;\n height: 17px !important;\n width: 17px !important;\n}\n.m-padding-17 {\n padding: 17px !important;\n}\n.m-padding-top-17 {\n padding-top: 17px !important;\n}\n.m-padding-bottom-17 {\n padding-bottom: 17px !important;\n}\n.m-padding-left-17 {\n padding-left: 17px !important;\n}\n.m-padding-right-17 {\n padding-right: 17px !important;\n}\n.m-padding-lr-17 {\n padding-left: 17px !important;\n padding-right: 17px !important;\n}\n.m-padding-tb-17 {\n padding-top: 17px !important;\n padding-bottom: 17px !important;\n}\n.m-margin-17 {\n margin: 17px !important;\n}\n.m-margin-top-17 {\n margin-top: 17px !important;\n}\n.m-margin-bottom-17 {\n margin-bottom: 17px !important;\n}\n.m-margin-left-17 {\n margin-left: 17px !important;\n}\n.m-margin-right-17 {\n margin-right: 17px !important;\n}\n.m-margin-lr-17 {\n margin-left: 17px !important;\n margin-right: 17px !important;\n}\n.m-margin-tb-17 {\n margin-top: 17px !important;\n margin-bottom: 17px !important;\n}\n.m-gap-18 {\n display: inline-block !important;\n height: 18px !important;\n width: 18px !important;\n}\n.m-padding-18 {\n padding: 18px !important;\n}\n.m-padding-top-18 {\n padding-top: 18px !important;\n}\n.m-padding-bottom-18 {\n padding-bottom: 18px !important;\n}\n.m-padding-left-18 {\n padding-left: 18px !important;\n}\n.m-padding-right-18 {\n padding-right: 18px !important;\n}\n.m-padding-lr-18 {\n padding-left: 18px !important;\n padding-right: 18px !important;\n}\n.m-padding-tb-18 {\n padding-top: 18px !important;\n padding-bottom: 18px !important;\n}\n.m-margin-18 {\n margin: 18px !important;\n}\n.m-margin-top-18 {\n margin-top: 18px !important;\n}\n.m-margin-bottom-18 {\n margin-bottom: 18px !important;\n}\n.m-margin-left-18 {\n margin-left: 18px !important;\n}\n.m-margin-right-18 {\n margin-right: 18px !important;\n}\n.m-margin-lr-18 {\n margin-left: 18px !important;\n margin-right: 18px !important;\n}\n.m-margin-tb-18 {\n margin-top: 18px !important;\n margin-bottom: 18px !important;\n}\n.m-gap-19 {\n display: inline-block !important;\n height: 19px !important;\n width: 19px !important;\n}\n.m-padding-19 {\n padding: 19px !important;\n}\n.m-padding-top-19 {\n padding-top: 19px !important;\n}\n.m-padding-bottom-19 {\n padding-bottom: 19px !important;\n}\n.m-padding-left-19 {\n padding-left: 19px !important;\n}\n.m-padding-right-19 {\n padding-right: 19px !important;\n}\n.m-padding-lr-19 {\n padding-left: 19px !important;\n padding-right: 19px !important;\n}\n.m-padding-tb-19 {\n padding-top: 19px !important;\n padding-bottom: 19px !important;\n}\n.m-margin-19 {\n margin: 19px !important;\n}\n.m-margin-top-19 {\n margin-top: 19px !important;\n}\n.m-margin-bottom-19 {\n margin-bottom: 19px !important;\n}\n.m-margin-left-19 {\n margin-left: 19px !important;\n}\n.m-margin-right-19 {\n margin-right: 19px !important;\n}\n.m-margin-lr-19 {\n margin-left: 19px !important;\n margin-right: 19px !important;\n}\n.m-margin-tb-19 {\n margin-top: 19px !important;\n margin-bottom: 19px !important;\n}\n.m-gap-20 {\n display: inline-block !important;\n height: 20px !important;\n width: 20px !important;\n}\n.m-padding-20 {\n padding: 20px !important;\n}\n.m-padding-top-20 {\n padding-top: 20px !important;\n}\n.m-padding-bottom-20 {\n padding-bottom: 20px !important;\n}\n.m-padding-left-20 {\n padding-left: 20px !important;\n}\n.m-padding-right-20 {\n padding-right: 20px !important;\n}\n.m-padding-lr-20 {\n padding-left: 20px !important;\n padding-right: 20px !important;\n}\n.m-padding-tb-20 {\n padding-top: 20px !important;\n padding-bottom: 20px !important;\n}\n.m-margin-20 {\n margin: 20px !important;\n}\n.m-margin-top-20 {\n margin-top: 20px !important;\n}\n.m-margin-bottom-20 {\n margin-bottom: 20px !important;\n}\n.m-margin-left-20 {\n margin-left: 20px !important;\n}\n.m-margin-right-20 {\n margin-right: 20px !important;\n}\n.m-margin-lr-20 {\n margin-left: 20px !important;\n margin-right: 20px !important;\n}\n.m-margin-tb-20 {\n margin-top: 20px !important;\n margin-bottom: 20px !important;\n}\n.m-gap-21 {\n display: inline-block !important;\n height: 21px !important;\n width: 21px !important;\n}\n.m-padding-21 {\n padding: 21px !important;\n}\n.m-padding-top-21 {\n padding-top: 21px !important;\n}\n.m-padding-bottom-21 {\n padding-bottom: 21px !important;\n}\n.m-padding-left-21 {\n padding-left: 21px !important;\n}\n.m-padding-right-21 {\n padding-right: 21px !important;\n}\n.m-padding-lr-21 {\n padding-left: 21px !important;\n padding-right: 21px !important;\n}\n.m-padding-tb-21 {\n padding-top: 21px !important;\n padding-bottom: 21px !important;\n}\n.m-margin-21 {\n margin: 21px !important;\n}\n.m-margin-top-21 {\n margin-top: 21px !important;\n}\n.m-margin-bottom-21 {\n margin-bottom: 21px !important;\n}\n.m-margin-left-21 {\n margin-left: 21px !important;\n}\n.m-margin-right-21 {\n margin-right: 21px !important;\n}\n.m-margin-lr-21 {\n margin-left: 21px !important;\n margin-right: 21px !important;\n}\n.m-margin-tb-21 {\n margin-top: 21px !important;\n margin-bottom: 21px !important;\n}\n.m-gap-22 {\n display: inline-block !important;\n height: 22px !important;\n width: 22px !important;\n}\n.m-padding-22 {\n padding: 22px !important;\n}\n.m-padding-top-22 {\n padding-top: 22px !important;\n}\n.m-padding-bottom-22 {\n padding-bottom: 22px !important;\n}\n.m-padding-left-22 {\n padding-left: 22px !important;\n}\n.m-padding-right-22 {\n padding-right: 22px !important;\n}\n.m-padding-lr-22 {\n padding-left: 22px !important;\n padding-right: 22px !important;\n}\n.m-padding-tb-22 {\n padding-top: 22px !important;\n padding-bottom: 22px !important;\n}\n.m-margin-22 {\n margin: 22px !important;\n}\n.m-margin-top-22 {\n margin-top: 22px !important;\n}\n.m-margin-bottom-22 {\n margin-bottom: 22px !important;\n}\n.m-margin-left-22 {\n margin-left: 22px !important;\n}\n.m-margin-right-22 {\n margin-right: 22px !important;\n}\n.m-margin-lr-22 {\n margin-left: 22px !important;\n margin-right: 22px !important;\n}\n.m-margin-tb-22 {\n margin-top: 22px !important;\n margin-bottom: 22px !important;\n}\n.m-gap-23 {\n display: inline-block !important;\n height: 23px !important;\n width: 23px !important;\n}\n.m-padding-23 {\n padding: 23px !important;\n}\n.m-padding-top-23 {\n padding-top: 23px !important;\n}\n.m-padding-bottom-23 {\n padding-bottom: 23px !important;\n}\n.m-padding-left-23 {\n padding-left: 23px !important;\n}\n.m-padding-right-23 {\n padding-right: 23px !important;\n}\n.m-padding-lr-23 {\n padding-left: 23px !important;\n padding-right: 23px !important;\n}\n.m-padding-tb-23 {\n padding-top: 23px !important;\n padding-bottom: 23px !important;\n}\n.m-margin-23 {\n margin: 23px !important;\n}\n.m-margin-top-23 {\n margin-top: 23px !important;\n}\n.m-margin-bottom-23 {\n margin-bottom: 23px !important;\n}\n.m-margin-left-23 {\n margin-left: 23px !important;\n}\n.m-margin-right-23 {\n margin-right: 23px !important;\n}\n.m-margin-lr-23 {\n margin-left: 23px !important;\n margin-right: 23px !important;\n}\n.m-margin-tb-23 {\n margin-top: 23px !important;\n margin-bottom: 23px !important;\n}\n.m-gap-24 {\n display: inline-block !important;\n height: 24px !important;\n width: 24px !important;\n}\n.m-padding-24 {\n padding: 24px !important;\n}\n.m-padding-top-24 {\n padding-top: 24px !important;\n}\n.m-padding-bottom-24 {\n padding-bottom: 24px !important;\n}\n.m-padding-left-24 {\n padding-left: 24px !important;\n}\n.m-padding-right-24 {\n padding-right: 24px !important;\n}\n.m-padding-lr-24 {\n padding-left: 24px !important;\n padding-right: 24px !important;\n}\n.m-padding-tb-24 {\n padding-top: 24px !important;\n padding-bottom: 24px !important;\n}\n.m-margin-24 {\n margin: 24px !important;\n}\n.m-margin-top-24 {\n margin-top: 24px !important;\n}\n.m-margin-bottom-24 {\n margin-bottom: 24px !important;\n}\n.m-margin-left-24 {\n margin-left: 24px !important;\n}\n.m-margin-right-24 {\n margin-right: 24px !important;\n}\n.m-margin-lr-24 {\n margin-left: 24px !important;\n margin-right: 24px !important;\n}\n.m-margin-tb-24 {\n margin-top: 24px !important;\n margin-bottom: 24px !important;\n}\n.m-gap-25 {\n display: inline-block !important;\n height: 25px !important;\n width: 25px !important;\n}\n.m-padding-25 {\n padding: 25px !important;\n}\n.m-padding-top-25 {\n padding-top: 25px !important;\n}\n.m-padding-bottom-25 {\n padding-bottom: 25px !important;\n}\n.m-padding-left-25 {\n padding-left: 25px !important;\n}\n.m-padding-right-25 {\n padding-right: 25px !important;\n}\n.m-padding-lr-25 {\n padding-left: 25px !important;\n padding-right: 25px !important;\n}\n.m-padding-tb-25 {\n padding-top: 25px !important;\n padding-bottom: 25px !important;\n}\n.m-margin-25 {\n margin: 25px !important;\n}\n.m-margin-top-25 {\n margin-top: 25px !important;\n}\n.m-margin-bottom-25 {\n margin-bottom: 25px !important;\n}\n.m-margin-left-25 {\n margin-left: 25px !important;\n}\n.m-margin-right-25 {\n margin-right: 25px !important;\n}\n.m-margin-lr-25 {\n margin-left: 25px !important;\n margin-right: 25px !important;\n}\n.m-margin-tb-25 {\n margin-top: 25px !important;\n margin-bottom: 25px !important;\n}\n.m-gap-26 {\n display: inline-block !important;\n height: 26px !important;\n width: 26px !important;\n}\n.m-padding-26 {\n padding: 26px !important;\n}\n.m-padding-top-26 {\n padding-top: 26px !important;\n}\n.m-padding-bottom-26 {\n padding-bottom: 26px !important;\n}\n.m-padding-left-26 {\n padding-left: 26px !important;\n}\n.m-padding-right-26 {\n padding-right: 26px !important;\n}\n.m-padding-lr-26 {\n padding-left: 26px !important;\n padding-right: 26px !important;\n}\n.m-padding-tb-26 {\n padding-top: 26px !important;\n padding-bottom: 26px !important;\n}\n.m-margin-26 {\n margin: 26px !important;\n}\n.m-margin-top-26 {\n margin-top: 26px !important;\n}\n.m-margin-bottom-26 {\n margin-bottom: 26px !important;\n}\n.m-margin-left-26 {\n margin-left: 26px !important;\n}\n.m-margin-right-26 {\n margin-right: 26px !important;\n}\n.m-margin-lr-26 {\n margin-left: 26px !important;\n margin-right: 26px !important;\n}\n.m-margin-tb-26 {\n margin-top: 26px !important;\n margin-bottom: 26px !important;\n}\n.m-gap-27 {\n display: inline-block !important;\n height: 27px !important;\n width: 27px !important;\n}\n.m-padding-27 {\n padding: 27px !important;\n}\n.m-padding-top-27 {\n padding-top: 27px !important;\n}\n.m-padding-bottom-27 {\n padding-bottom: 27px !important;\n}\n.m-padding-left-27 {\n padding-left: 27px !important;\n}\n.m-padding-right-27 {\n padding-right: 27px !important;\n}\n.m-padding-lr-27 {\n padding-left: 27px !important;\n padding-right: 27px !important;\n}\n.m-padding-tb-27 {\n padding-top: 27px !important;\n padding-bottom: 27px !important;\n}\n.m-margin-27 {\n margin: 27px !important;\n}\n.m-margin-top-27 {\n margin-top: 27px !important;\n}\n.m-margin-bottom-27 {\n margin-bottom: 27px !important;\n}\n.m-margin-left-27 {\n margin-left: 27px !important;\n}\n.m-margin-right-27 {\n margin-right: 27px !important;\n}\n.m-margin-lr-27 {\n margin-left: 27px !important;\n margin-right: 27px !important;\n}\n.m-margin-tb-27 {\n margin-top: 27px !important;\n margin-bottom: 27px !important;\n}\n.m-gap-28 {\n display: inline-block !important;\n height: 28px !important;\n width: 28px !important;\n}\n.m-padding-28 {\n padding: 28px !important;\n}\n.m-padding-top-28 {\n padding-top: 28px !important;\n}\n.m-padding-bottom-28 {\n padding-bottom: 28px !important;\n}\n.m-padding-left-28 {\n padding-left: 28px !important;\n}\n.m-padding-right-28 {\n padding-right: 28px !important;\n}\n.m-padding-lr-28 {\n padding-left: 28px !important;\n padding-right: 28px !important;\n}\n.m-padding-tb-28 {\n padding-top: 28px !important;\n padding-bottom: 28px !important;\n}\n.m-margin-28 {\n margin: 28px !important;\n}\n.m-margin-top-28 {\n margin-top: 28px !important;\n}\n.m-margin-bottom-28 {\n margin-bottom: 28px !important;\n}\n.m-margin-left-28 {\n margin-left: 28px !important;\n}\n.m-margin-right-28 {\n margin-right: 28px !important;\n}\n.m-margin-lr-28 {\n margin-left: 28px !important;\n margin-right: 28px !important;\n}\n.m-margin-tb-28 {\n margin-top: 28px !important;\n margin-bottom: 28px !important;\n}\n.m-gap-29 {\n display: inline-block !important;\n height: 29px !important;\n width: 29px !important;\n}\n.m-padding-29 {\n padding: 29px !important;\n}\n.m-padding-top-29 {\n padding-top: 29px !important;\n}\n.m-padding-bottom-29 {\n padding-bottom: 29px !important;\n}\n.m-padding-left-29 {\n padding-left: 29px !important;\n}\n.m-padding-right-29 {\n padding-right: 29px !important;\n}\n.m-padding-lr-29 {\n padding-left: 29px !important;\n padding-right: 29px !important;\n}\n.m-padding-tb-29 {\n padding-top: 29px !important;\n padding-bottom: 29px !important;\n}\n.m-margin-29 {\n margin: 29px !important;\n}\n.m-margin-top-29 {\n margin-top: 29px !important;\n}\n.m-margin-bottom-29 {\n margin-bottom: 29px !important;\n}\n.m-margin-left-29 {\n margin-left: 29px !important;\n}\n.m-margin-right-29 {\n margin-right: 29px !important;\n}\n.m-margin-lr-29 {\n margin-left: 29px !important;\n margin-right: 29px !important;\n}\n.m-margin-tb-29 {\n margin-top: 29px !important;\n margin-bottom: 29px !important;\n}\n.m-gap-30 {\n display: inline-block !important;\n height: 30px !important;\n width: 30px !important;\n}\n.m-padding-30 {\n padding: 30px !important;\n}\n.m-padding-top-30 {\n padding-top: 30px !important;\n}\n.m-padding-bottom-30 {\n padding-bottom: 30px !important;\n}\n.m-padding-left-30 {\n padding-left: 30px !important;\n}\n.m-padding-right-30 {\n padding-right: 30px !important;\n}\n.m-padding-lr-30 {\n padding-left: 30px !important;\n padding-right: 30px !important;\n}\n.m-padding-tb-30 {\n padding-top: 30px !important;\n padding-bottom: 30px !important;\n}\n.m-margin-30 {\n margin: 30px !important;\n}\n.m-margin-top-30 {\n margin-top: 30px !important;\n}\n.m-margin-bottom-30 {\n margin-bottom: 30px !important;\n}\n.m-margin-left-30 {\n margin-left: 30px !important;\n}\n.m-margin-right-30 {\n margin-right: 30px !important;\n}\n.m-margin-lr-30 {\n margin-left: 30px !important;\n margin-right: 30px !important;\n}\n.m-margin-tb-30 {\n margin-top: 30px !important;\n margin-bottom: 30px !important;\n}\n.m-bg-white {\n background: var(--m-color-bg-white) !important;\n}\n.m-bg-back {\n background: var(--m-color-bg-back) !important;\n}\n.m-bg-light {\n background: var(--m-color-bg-light) !important;\n}\n.m-bg-primary {\n background: var(--m-color-bg-primary) !important;\n}\n.m-bg-danger {\n background: var(--m-color-bg-danger) !important;\n}\n.m-bg-accent {\n background: var(--m-color-bg-accent) !important;\n}\n.m-bg-accent-light {\n background: var(--m-color-bg-accent-light) !important;\n}\n.m-bg-transparent {\n background: transparent !important;\n}\n.m-bg-white-active-with:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-bg-back-active-with:active {\n background: var(--m-color-bg-back-active) !important;\n}\n.m-bg-light-active-with:active {\n background: var(--m-color-bg-back-active) !important;\n}\n.m-bg-primary-active-with:active {\n background: var(--m-color-bg-primary-active) !important;\n}\n.m-bg-danger-active-with:active {\n background: var(--m-color-bg-danger-active) !important;\n}\n/** 生成的透明度:m-bg-white-{0-10} **/\n.m-bg-white-0 {\n background-color: rgba(255, 255, 255, 0) !important;\n}\n.m-bg-white-1 {\n background-color: rgba(255, 255, 255, 0.1) !important;\n}\n.m-bg-white-2 {\n background-color: rgba(255, 255, 255, 0.2) !important;\n}\n.m-bg-white-3 {\n background-color: rgba(255, 255, 255, 0.3) !important;\n}\n.m-bg-white-4 {\n background-color: rgba(255, 255, 255, 0.4) !important;\n}\n.m-bg-white-5 {\n background-color: rgba(255, 255, 255, 0.5) !important;\n}\n.m-bg-white-6 {\n background-color: rgba(255, 255, 255, 0.6) !important;\n}\n.m-bg-white-7 {\n background-color: rgba(255, 255, 255, 0.7) !important;\n}\n.m-bg-white-8 {\n background-color: rgba(255, 255, 255, 0.8) !important;\n}\n.m-bg-white-9 {\n background-color: rgba(255, 255, 255, 0.9) !important;\n}\n.m-bg-white-10 {\n background-color: #ffffff !important;\n}\n.m-bg-white {\n background-color: white !important;\n}\n/** 生成的透明度:m-bg-white-{0-10} **/\n.m-bg-black-0 {\n background-color: rgba(0, 0, 0, 0) !important;\n}\n.m-bg-black-1 {\n background-color: rgba(0, 0, 0, 0.1) !important;\n}\n.m-bg-black-2 {\n background-color: rgba(0, 0, 0, 0.2) !important;\n}\n.m-bg-black-3 {\n background-color: rgba(0, 0, 0, 0.3) !important;\n}\n.m-bg-black-4 {\n background-color: rgba(0, 0, 0, 0.4) !important;\n}\n.m-bg-black-5 {\n background-color: rgba(0, 0, 0, 0.5) !important;\n}\n.m-bg-black-6 {\n background-color: rgba(0, 0, 0, 0.6) !important;\n}\n.m-bg-black-7 {\n background-color: rgba(0, 0, 0, 0.7) !important;\n}\n.m-bg-black-8 {\n background-color: rgba(0, 0, 0, 0.8) !important;\n}\n.m-bg-black-9 {\n background-color: rgba(0, 0, 0, 0.9) !important;\n}\n.m-bg-black-10 {\n background-color: #000000 !important;\n}\n.m-bg-black {\n background-color: black !important;\n}\n.m-inline {\n display: inline !important;\n}\n.m-block {\n display: block !important;\n}\n.m-inline-block {\n display: inline-block !important;\n}\n.m-none {\n display: none !important;\n}\n.m-fixed {\n position: fixed;\n}\n.m-absolute {\n position: absolute;\n}\n.m-relative {\n position: relative;\n}\n.m-right-0 {\n right: 0;\n}\n.m-overflow-hidden {\n overflow: hidden;\n}\n.m-overflow {\n overflow: auto;\n}\n.m-overflow-x {\n overflow-x: auto;\n overflow-y: hidden;\n}\n.m-overflow-y {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.m-text-center {\n text-align: center !important;\n}\n.m-text-left {\n text-align: left !important;\n}\n.m-text-right {\n text-align: right !important;\n}\n.m-text {\n color: var(--m-color-default) !important;\n}\n.m-text-primary {\n color: var(--m-color-primary) !important;\n}\n.m-text-accent {\n color: var(--m-color-accent) !important;\n}\n.m-text-danger {\n color: var(--m-color-danger) !important;\n}\n.m-text-link {\n color: var(--m-color-link) !important;\n}\n.m-text-desc {\n color: var(--m-color-desc) !important;\n}\n.m-text-red {\n color: var(--m-color-red) !important;\n}\n.m-text-white {\n color: var(--m-color-white) !important;\n}\n.m-text-black {\n color: var(--m-color-black) !important;\n}\n.m-text-true-white {\n color: var(--m-color-true-white) !important;\n}\n.m-text-true-black {\n color: var(--m-color-true-black) !important;\n}\n.m-text-placeholder {\n color: var(--m-color-placeholder) !important;\n}\n.m-text-line-height {\n line-height: 1 !important;\n}\n.m-text-line-through {\n text-decoration: line-through;\n}\n.m-text-normal {\n font-weight: normal;\n}\n.m-text-bold {\n font-weight: bold;\n}\n.m-text-lighter {\n font-weight: lighter !important;\n}\n.m-text-ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap;\n}\n.m-text-no-ellipsis {\n white-space: normal;\n}\n/** 生成的透明度:m-text-white-{0-10} **/\n.m-text-white-0 {\n color: rgba(255, 255, 255, 0) !important;\n}\n.m-text-white-1 {\n color: rgba(255, 255, 255, 0.1) !important;\n}\n.m-text-white-2 {\n color: rgba(255, 255, 255, 0.2) !important;\n}\n.m-text-white-3 {\n color: rgba(255, 255, 255, 0.3) !important;\n}\n.m-text-white-4 {\n color: rgba(255, 255, 255, 0.4) !important;\n}\n.m-text-white-5 {\n color: rgba(255, 255, 255, 0.5) !important;\n}\n.m-text-white-6 {\n color: rgba(255, 255, 255, 0.6) !important;\n}\n.m-text-white-7 {\n color: rgba(255, 255, 255, 0.7) !important;\n}\n.m-text-white-8 {\n color: rgba(255, 255, 255, 0.8) !important;\n}\n.m-text-white-9 {\n color: rgba(255, 255, 255, 0.9) !important;\n}\n.m-text-white-10 {\n color: #ffffff !important;\n}\n.m-text-white {\n color: white !important;\n}\n/** 生成的透明度:m-text-white-{0-10} **/\n.m-text-black-0 {\n color: rgba(0, 0, 0, 0) !important;\n}\n.m-text-black-1 {\n color: rgba(0, 0, 0, 0.1) !important;\n}\n.m-text-black-2 {\n color: rgba(0, 0, 0, 0.2) !important;\n}\n.m-text-black-3 {\n color: rgba(0, 0, 0, 0.3) !important;\n}\n.m-text-black-4 {\n color: rgba(0, 0, 0, 0.4) !important;\n}\n.m-text-black-5 {\n color: rgba(0, 0, 0, 0.5) !important;\n}\n.m-text-black-6 {\n color: rgba(0, 0, 0, 0.6) !important;\n}\n.m-text-black-7 {\n color: rgba(0, 0, 0, 0.7) !important;\n}\n.m-text-black-8 {\n color: rgba(0, 0, 0, 0.8) !important;\n}\n.m-text-black-9 {\n color: rgba(0, 0, 0, 0.9) !important;\n}\n.m-text-black-10 {\n color: #000000 !important;\n}\n.m-text-black {\n color: black !important;\n}\n:root,\npage {\n --m-size-text-32: 32px;\n --m-size-text-31: 31px;\n --m-size-text-30: 30px;\n --m-size-text-29: 29px;\n --m-size-text-28: 28px;\n --m-size-text-27: 27px;\n --m-size-text-26: 26px;\n --m-size-text-25: 25px;\n --m-size-text-24: 24px;\n --m-size-text-23: 23px;\n --m-size-text-22: 22px;\n --m-size-text-21: 21px;\n --m-size-text-20: 20px;\n --m-size-text-19: 19px;\n --m-size-text-18: 18px;\n --m-size-text-17: 17px;\n --m-size-text-16: 16px;\n --m-size-text-15: 15px;\n --m-size-text-14: 14px;\n --m-size-text-13: 13px;\n --m-size-text-12: 12px;\n --m-size-text-11: 11px;\n --m-size-text-10: 10px;\n --m-size-text-9: 9px;\n --m-size-text-8: 8px;\n}\n.m-text-8 {\n font-size: 8px;\n}\n.m-text-9 {\n font-size: 9px;\n}\n.m-text-10 {\n font-size: 10px;\n}\n.m-text-11 {\n font-size: 11px;\n}\n.m-text-12 {\n font-size: 12px;\n}\n.m-text-13 {\n font-size: 13px;\n}\n.m-text-14 {\n font-size: 14px;\n}\n.m-text-15 {\n font-size: 15px;\n}\n.m-text-16 {\n font-size: 16px;\n}\n.m-text-17 {\n font-size: 17px;\n}\n.m-text-18 {\n font-size: 18px;\n}\n.m-text-19 {\n font-size: 19px;\n}\n.m-text-20 {\n font-size: 20px;\n}\n.m-text-21 {\n font-size: 21px;\n}\n.m-text-22 {\n font-size: 22px;\n}\n.m-text-23 {\n font-size: 23px;\n}\n.m-text-24 {\n font-size: 24px;\n}\n.m-text-25 {\n font-size: 25px;\n}\n.m-text-26 {\n font-size: 26px;\n}\n.m-text-27 {\n font-size: 27px;\n}\n.m-text-28 {\n font-size: 28px;\n}\n.m-text-29 {\n font-size: 29px;\n}\n.m-text-30 {\n font-size: 30px;\n}\n.m-text-31 {\n font-size: 31px;\n}\n.m-text-32 {\n font-size: 32px;\n}\n.m-border {\n border: 1px solid var(--m-color-border) !important;\n}\n.m-border-top {\n border-top: 1px solid var(--m-color-border) !important;\n}\n.m-border-left {\n border-left: 1px solid var(--m-color-border) !important;\n}\n.m-border-right {\n border-right: 1px solid var(--m-color-border) !important;\n}\n.m-border-bottom {\n border-bottom: 1px solid var(--m-color-border) !important;\n}\n.m-border-radius {\n border-radius: 10px;\n}\n.m-border-radius-top-left {\n border-top-left-radius: 10px;\n}\n.m-border-radius-top-right {\n border-top-right-radius: 10px;\n}\n.m-border-radius-bottom-left {\n border-bottom-left-radius: 10px;\n}\n.m-border-radius-bottom-right {\n border-bottom-right-radius: 10px;\n}\n.m-border-1px-before {\n position: relative;\n}\n.m-border-1px-before::before {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-border-1px-after {\n position: relative;\n}\n.m-border-1px-after::after {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-border-1px-top-before {\n position: relative;\n}\n.m-border-1px-top-before::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-border-1px-top-after {\n position: relative;\n}\n.m-border-1px-top-after::after {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-border-1px-left-before {\n position: relative;\n}\n.m-border-1px-left-before::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n border-left: 1px solid var(--m-color-border);\n transform: scaleX(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-border-1px-left-after {\n position: relative;\n}\n.m-border-1px-left-after::after {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 1px;\n height: 100%;\n border-left: 1px solid var(--m-color-border);\n transform: scaleX(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-border-1px-right-before {\n position: relative;\n}\n.m-border-1px-right-before::before {\n content: ' ';\n position: absolute;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n border-right: 1px solid var(--m-color-border);\n transform-origin: 100% 0;\n transform: scaleX(0.5);\n z-index: 1;\n}\n.m-border-1px-right-after {\n position: relative;\n}\n.m-border-1px-right-after::after {\n content: ' ';\n position: absolute;\n right: 0;\n top: 0;\n width: 1px;\n height: 100%;\n border-right: 1px solid var(--m-color-border);\n transform-origin: 100% 0;\n transform: scaleX(0.5);\n z-index: 1;\n}\n.m-border-1px-bottom-before {\n position: relative;\n}\n.m-border-1px-bottom-before::before {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-border-1px-bottom-after {\n position: relative;\n}\n.m-border-1px-bottom-after::after {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-border-dashed {\n border: 1px dashed var(--m-color-border) !important;\n}\n.m-border-none {\n border: none !important;\n}\n.m-border-radius-circle {\n border-radius: 50% !important;\n}\n.m-border-radius-chip {\n border-radius: 100px !important;\n}\n.m-border-radius-5 {\n border-radius: 5px !important;\n}\n.m-border-radius-0 {\n border-radius: 0px !important;\n}\n.m-border-radius-1 {\n border-radius: 1px !important;\n}\n.m-border-radius-2 {\n border-radius: 2px !important;\n}\n.m-border-radius-3 {\n border-radius: 3px !important;\n}\n.m-border-radius-4 {\n border-radius: 4px !important;\n}\n.m-border-radius-5 {\n border-radius: 5px !important;\n}\n.m-border-radius-6 {\n border-radius: 6px !important;\n}\n.m-border-radius-7 {\n border-radius: 7px !important;\n}\n.m-border-radius-8 {\n border-radius: 8px !important;\n}\n.m-border-radius-9 {\n border-radius: 9px !important;\n}\n.m-border-radius-10 {\n border-radius: 10px !important;\n}\n.m-animated {\n transition: all 0.2s;\n}\n.m-animated-fade-in {\n animation-timing-function: ease-out;\n animation-name: fade-in;\n}\n.m-animated-fade-in-right {\n animation-timing-function: ease-out;\n animation-name: fade-in-right;\n}\n.m-animated-fade-in-left {\n animation-timing-function: ease-out;\n animation-name: fade-in-left;\n}\n.m-animated-fade-in-top {\n animation-timing-function: ease-out;\n animation-name: fade-in-top;\n}\n.m-animated-fade-in-bottom {\n animation-timing-function: ease-out;\n animation-name: fade-in-bottom;\n}\n.m-animated-slide-in {\n animation-timing-function: ease-out;\n animation-name: slide-in;\n}\n.m-animated-slide-in-right {\n animation-timing-function: ease-out;\n animation-name: slide-in-right;\n}\n.m-animated-slide-in-left {\n animation-timing-function: ease-out;\n animation-name: slide-in-left;\n}\n.m-animated-slide-in-top {\n animation-timing-function: ease-out;\n animation-name: slide-in-top;\n}\n.m-animated-slide-in-bottom {\n animation-timing-function: ease-out;\n animation-name: slide-in-bottom;\n}\n@keyframes fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes fade-in-right {\n from {\n opacity: 0;\n transform: translate3d(100%, 0, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes fade-in-left {\n from {\n opacity: 0;\n transform: translate3d(-100%, 0, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes fade-in-top {\n from {\n opacity: 0;\n transform: translate3d(0, -100%, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes fade-in-bottom {\n from {\n opacity: 0;\n transform: translate3d(0, 100%, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes slide-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes slide-in-right {\n from {\n transform: translate3d(100%, 0, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes slide-in-left {\n from {\n transform: translate3d(-100%, 0, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes slide-in-top {\n from {\n transform: translate3d(0, -100%, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes slide-in-bottom {\n from {\n max-height: 0%;\n overflow: hidden;\n }\n to {\n max-height: 100%;\n overflow: hidden;\n }\n}\n/** 阴影效果 */\n.m-shadow-1 {\n box-shadow: 0 -1px 3px 0 var(--m-color-box-shadow), 0 1px 3px 0 var(--m-color-box-shadow);\n}\n.m-shadow-2 {\n box-shadow: 0 -4px 5px 0 var(--m-color-box-shadow), 0 4px 5px 0 var(--m-color-box-shadow);\n}\n/** 4、【行数】\n m-rows-1 1行,超出省略\n m-rows-2 2行,超出省略\n**/\n/** 行数超出省略 */\n.m-rows-1 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n}\n.m-rows-2 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n.m-rows-3 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n}\n.m-rows-4 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n}\n.m-rows-5 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n}\n.m-rows-6 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6;\n -webkit-box-orient: vertical;\n}\n.m-rows-7 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 7;\n -webkit-box-orient: vertical;\n}\n.m-rows-8 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 8;\n -webkit-box-orient: vertical;\n}\n.m-rows-9 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 9;\n -webkit-box-orient: vertical;\n}\n.m-rows-10 {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 10;\n -webkit-box-orient: vertical;\n}\n/**\n【行距】\n m-line-height-1 line-height为0.1\n ...\n m-line-height-15 line-height为1.5\n m-line-height-initial\n**/\n/** 行距倍数 */\n.m-line-height-initial {\n line-height: initial;\n}\n.m-line-height-1 {\n line-height: 0.1;\n}\n.m-line-height-2 {\n line-height: 0.2;\n}\n.m-line-height-3 {\n line-height: 0.3;\n}\n.m-line-height-4 {\n line-height: 0.4;\n}\n.m-line-height-5 {\n line-height: 0.5;\n}\n.m-line-height-6 {\n line-height: 0.6;\n}\n.m-line-height-7 {\n line-height: 0.7;\n}\n.m-line-height-8 {\n line-height: 0.8;\n}\n.m-line-height-9 {\n line-height: 0.9;\n}\n.m-line-height-10 {\n line-height: 1;\n}\n.m-line-height-11 {\n line-height: 1.1;\n}\n.m-line-height-12 {\n line-height: 1.2;\n}\n.m-line-height-13 {\n line-height: 1.3;\n}\n.m-line-height-14 {\n line-height: 1.4;\n}\n.m-line-height-15 {\n line-height: 1.5;\n}\n.m-line-height-16 {\n line-height: 1.6;\n}\n.m-line-height-17 {\n line-height: 1.7;\n}\n.m-line-height-18 {\n line-height: 1.8;\n}\n.m-line-height-19 {\n line-height: 1.9;\n}\n.m-line-height-20 {\n line-height: 2;\n}\n.m-line-height-21 {\n line-height: 2.1;\n}\n.m-line-height-22 {\n line-height: 2.2;\n}\n.m-line-height-23 {\n line-height: 2.3;\n}\n.m-line-height-24 {\n line-height: 2.4;\n}\n.m-line-height-25 {\n line-height: 2.5;\n}\n.m-line-height-26 {\n line-height: 2.6;\n}\n.m-line-height-27 {\n line-height: 2.7;\n}\n.m-line-height-28 {\n line-height: 2.8;\n}\n.m-line-height-29 {\n line-height: 2.9;\n}\n.m-line-height-30 {\n line-height: 3;\n}\n/**\n【透明度】\n m-opacity-1 透明度为10%\n ...\n m-opacity-10 透明度为100%\n**/\n.m-opacity-0 {\n opacity: 0 !important;\n}\n.m-opacity-1 {\n opacity: 0.1 !important;\n}\n.m-opacity-2 {\n opacity: 0.2 !important;\n}\n.m-opacity-3 {\n opacity: 0.3 !important;\n}\n.m-opacity-4 {\n opacity: 0.4 !important;\n}\n.m-opacity-5 {\n opacity: 0.5 !important;\n}\n.m-opacity-6 {\n opacity: 0.6 !important;\n}\n.m-opacity-7 {\n opacity: 0.7 !important;\n}\n.m-opacity-8 {\n opacity: 0.8 !important;\n}\n.m-opacity-9 {\n opacity: 0.9 !important;\n}\n.m-opacity-10 {\n opacity: 1 !important;\n}\n.m-input {\n -webkit-appearance: none;\n}\n.m-image-round {\n border-radius: 100% !important;\n}\n.m-image-contain {\n object-fit: contain;\n}\n.m-image-cover {\n object-fit: cover;\n}\n.m-image-fill {\n object-fit: fill;\n}\n.m-image-none {\n object-fit: none;\n}\n.m-image-scale-down {\n object-fit: scale-down;\n}\n.m-header {\n height: var(--m-size-header-height);\n background-color: var(--m-color-bg-primary);\n}\n.m-nprogress {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n z-index: var(--m-z-index-nprogress);\n transition: all 200ms ease;\n background: var(--m-color-bg-primary);\n}\n.m-nprogress .m-nprogress-head {\n display: block;\n position: absolute;\n right: 0;\n width: 100px;\n height: 100%;\n opacity: 1;\n transform: rotate(3deg) translate(0, -4px);\n}\n.m-counter {\n display: inline-block;\n border: 2px solid var(--m-color-primary);\n cursor: pointer;\n user-select: none;\n font-weight: bold;\n color: var(--m-color-primary);\n}\n.m-counter.disabled,\n.m-counter[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-counter.m-counter-default {\n width: 86px;\n height: 21px;\n line-height: 21px;\n border-radius: 25px;\n}\n.m-counter.m-counter-default .m-counter-content-text {\n width: 44px;\n}\n.m-counter.m-counter-default .m-counter-content-text {\n display: inline-block;\n overflow-y: hidden;\n overflow-x: auto;\n height: 21px;\n line-height: 21px;\n color: var(--m-color-primary);\n text-align: center;\n vertical-align: top;\n font-weight: bold;\n font-size: 14px;\n padding: 0;\n outline: 0;\n}\n.m-counter.m-counter-default .m-counter-content-text::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n.m-counter.m-counter-default .m-counter-icon {\n display: inline-block;\n height: 21px;\n line-height: 21px;\n width: 21px;\n text-align: center;\n}\n.m-counter.m-counter-default .m-counter-plus,\n.m-counter.m-counter-default .m-counter-minus {\n width: 1em;\n height: 1em;\n margin: 3px 0;\n}\n.m-counter.m-counter-default .m-counter-plus.disabled,\n.m-counter.m-counter-default .m-counter-minus.disabled,\n.m-counter.m-counter-default .m-counter-plus[disabled],\n.m-counter.m-counter-default .m-counter-minus[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-counter.m-counter-large {\n min-width: 256px;\n height: 36px;\n line-height: 36px;\n border-radius: 40px;\n font-size: 18px;\n}\n.m-counter.m-counter-large .m-counter-content-text {\n width: calc(100% - 72px);\n}\n.m-counter.m-counter-large .m-counter-content-text {\n display: inline-block;\n overflow-y: hidden;\n overflow-x: auto;\n height: 36px;\n line-height: 36px;\n color: var(--m-color-primary);\n text-align: center;\n vertical-align: top;\n font-weight: bold;\n font-size: 18px;\n padding: 0;\n outline: 0;\n}\n.m-counter.m-counter-large .m-counter-content-text::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n}\n.m-counter.m-counter-large .m-counter-icon {\n display: inline-block;\n height: 36px;\n line-height: 36px;\n width: 36px;\n text-align: center;\n}\n.m-counter.m-counter-large .m-counter-plus,\n.m-counter.m-counter-large .m-counter-minus {\n width: 1em;\n height: 1em;\n margin: 9px 0;\n}\n.m-counter.m-counter-large .m-counter-plus.disabled,\n.m-counter.m-counter-large .m-counter-minus.disabled,\n.m-counter.m-counter-large .m-counter-plus[disabled],\n.m-counter.m-counter-large .m-counter-minus[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-uploader {\n display: inline-block;\n}\n.m-uploader .m-uploader-default {\n width: 60px;\n height: 60px;\n border: 1px dashed var(--m-color-border);\n cursor: pointer;\n}\n.m-uploader .m-uploader-wrap {\n display: inline-block;\n}\n.m-uploader .m-uploader-input[type='file'] {\n display: none;\n}\n.m-uploader .m-uploader-icon-wrap {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n color: var(--m-color-border);\n}\n.m-uploader .m-uploader-icon {\n font-size: 30px;\n}\n.m-keyboard {\n width: 100%;\n padding: 2.5px 0;\n background-color: var(--m-color-bg-back);\n}\n.m-keyboard .m-keyboard-gap {\n display: inline-block;\n width: 4px;\n height: 4px;\n}\n.m-keyboard .m-keyboard-num {\n width: calc(100% / 3);\n cursor: pointer;\n height: 40px;\n margin: 2.5px 0;\n font-weight: bold;\n font-size: var(--m-size-text-20);\n}\n.m-keyboard .m-keyboard-num .m-keyboard-text {\n flex: 1;\n height: 40px;\n background-color: var(--m-color-bg-white);\n border-radius: 4px;\n font-size: 24px;\n position: relative;\n}\n.m-keyboard .m-keyboard-num .m-keyboard-text::before {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-keyboard .m-keyboard-num .m-keyboard-text::before {\n content: '';\n border-radius: 4px;\n}\n.m-keyboard .m-keyboard-num .m-keyboard-text:active {\n background-color: var(--m-color-bg-white-active);\n}\n.m-keyboard .m-keyboard-num .m-keyboard-del-icon {\n color: var(--m-color-default);\n}\n.m-number-keyboard {\n cursor: pointer;\n}\n.m-number-keyboard .m-number-keyboard-header {\n padding: 0 10px 10px 10px;\n}\n.m-number-keyboard .m-number-keyboard-header .m-number-keyboard-header-input {\n width: calc(100% / 3 * 2);\n background-color: var(--m-color-bg-back);\n border-radius: 4px;\n margin-right: 10px;\n padding-left: 5px;\n position: relative;\n}\n.m-number-keyboard .m-number-keyboard-header .m-number-keyboard-header-input::before {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-number-keyboard .m-number-keyboard-header .m-number-keyboard-header-input::before {\n content: '';\n border-radius: 4px;\n}\n.m-number-keyboard .m-number-keyboard-header .m-number-keyboard-header-input::after {\n content: '';\n display: block;\n width: 1px;\n height: 25px;\n margin-left: 2px;\n animation: blink 1s infinite steps(1, start);\n}\n.m-number-keyboard .m-number-keyboard-header .m-number-keyboard-header-btn {\n width: calc(100% / 3);\n height: 40px;\n border-radius: 4px;\n font-size: var(--m-size-text-16);\n}\n.m-number-keyboard-msg {\n display: flex;\n width: auto;\n min-height: 40px;\n align-items: center;\n}\n@keyframes blink {\n 0% {\n background-color: transparent;\n }\n 50% {\n background-color: var(--m-color-bg-primary);\n }\n 100% {\n background-color: transparent;\n }\n}\n.m-scroll {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.m-list {\n user-select: none;\n background-color: var(--m-color-bg-white);\n}\n.m-list .m-list-item {\n display: flex;\n background-color: var(--m-color-bg-white);\n}\n.m-list .m-list-item .m-list-item-text {\n display: flex;\n flex: 1;\n align-items: center;\n color: var(--m-color-default);\n padding: 10px 5px 10px 5px;\n position: relative;\n}\n.m-list .m-list-item .m-list-item-text::after {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-list .m-list-item .m-list-item-text .m-list-item-radio {\n position: absolute;\n right: 10px;\n}\n.m-list .m-list-item.active .m-list-item-text {\n color: var(--m-color-primary);\n}\n.m-list .m-list-item.disabled,\n.m-list .m-list-item[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-list.m-list-group .m-list-label {\n background-color: var(--m-color-bg-back);\n color: var(--m-color-default);\n padding: 10px 15px;\n}\n.m-list.m-list-group .m-list-label.disabled,\n.m-list.m-list-group .m-list-label[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-letter {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n position: absolute;\n height: 100%;\n top: 0;\n right: 0;\n bottom: 0;\n width: 3em;\n padding-right: 5px;\n}\n.m-letter .m-letter-list {\n height: 80%;\n line-height: 1;\n color: var(--m-color-desc);\n}\n.m-letter .m-letter-item {\n position: absolute;\n top: 50%;\n right: 50vw;\n margin: -40px -40px 0 0;\n width: 80px;\n height: 80px;\n font-size: 50px;\n border-radius: 4px;\n background-color: var(--m-color-bg-mask);\n color: var(--m-color-white);\n}\n.m-letter-index,\n.m-letter-index-multiple {\n width: 100%;\n height: 100%;\n position: relative;\n background-color: var(--m-color-bg-back);\n flex: 1;\n}\n.m-letter-index .m-letter-index-list,\n.m-letter-index-multiple .m-letter-index-list,\n.m-letter-index .m-letter-index-multiple-list,\n.m-letter-index-multiple .m-letter-index-multiple-list {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.m-letter-index .m-letter-index-list .m-list-item-radio,\n.m-letter-index-multiple .m-letter-index-list .m-list-item-radio,\n.m-letter-index .m-letter-index-multiple-list .m-list-item-radio,\n.m-letter-index-multiple .m-letter-index-multiple-list .m-list-item-radio {\n right: 25px !important;\n}\n.m-letter-index .m-letter-index-content,\n.m-letter-index-multiple .m-letter-index-content,\n.m-letter-index .m-letter-index-multiple-content,\n.m-letter-index-multiple .m-letter-index-multiple-content {\n height: 100%;\n}\n.m-progress .m-progress-bar {\n display: inline-block;\n box-sizing: border-box;\n vertical-align: middle;\n width: 100%;\n margin-right: -55px;\n padding-right: 50px;\n}\n.m-progress .m-progress-bar .m-progress-bar-outer {\n height: 12px;\n border-radius: 100px;\n overflow: hidden;\n background-color: var(--m-color-bg-back);\n vertical-align: middle;\n position: relative;\n}\n.m-progress .m-progress-bar .m-progress-bar-outer::before {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-progress .m-progress-bar .m-progress-bar-outer .m-progress-bar-inner {\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n font-size: 12px;\n text-align: right;\n border-radius: 100px;\n line-height: 1;\n white-space: nowrap;\n}\n.m-progress .m-progress-bar-text {\n font-size: 14px;\n color: var(--m-color-default);\n display: inline-block;\n vertical-align: middle;\n margin-left: 10px;\n line-height: 1;\n}\n.m-tabbar {\n background-color: var(--m-color-bg-white);\n height: 100%;\n z-index: var(--m-z-index-tabbar);\n position: relative;\n}\n.m-tabbar::before {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n z-index: 1;\n}\n.m-tabbar .m-tabbar-flow-wrapper {\n height: 50px;\n width: 50px;\n border-radius: 50px;\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n position: absolute;\n top: 0;\n right: 50%;\n font-size: 22px;\n transform: translate(50%, -50%);\n z-index: var(--m-z-index-tabbar);\n}\n.m-tabbar .m-tabbar-nav {\n padding: 5px 0;\n color: var(--m-color-desc);\n line-height: 1;\n outline: none;\n}\n.m-tabbar .m-tabbar-nav:active {\n background: var(--m-color-bg-white-active) !important;\n}\n.m-tabbar .m-tabbar-nav.active {\n color: var(--m-color-primary);\n}\n.m-tabbar .m-tabbar-nav .m-tabbar-nav-icon {\n font-size: var(--m-size-text-20);\n position: relative;\n text-align: center;\n}\n.m-tabbar .m-tabbar-nav .m-tabbar-nav-name {\n font-size: var(--m-size-text-10);\n margin-top: 2px;\n line-height: 1;\n}\n",""]),module.exports=exports},3072:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(180),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(1860),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(3073),___CSS_LOADER_URL_IMPORT_1___=__webpack_require__(3074),___CSS_LOADER_URL_IMPORT_2___=__webpack_require__(3075),___CSS_LOADER_URL_IMPORT_3___=__webpack_require__(3076),___CSS_LOADER_URL_IMPORT_4___=__webpack_require__(3077),___CSS_LOADER_URL_IMPORT_5___=__webpack_require__(3078);exports=___CSS_LOADER_API_IMPORT___(!1);var ___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___),___CSS_LOADER_URL_REPLACEMENT_1___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___,{hash:"#iefix"}),___CSS_LOADER_URL_REPLACEMENT_2___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___),___CSS_LOADER_URL_REPLACEMENT_3___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___),___CSS_LOADER_URL_REPLACEMENT_4___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_4___),___CSS_LOADER_URL_REPLACEMENT_5___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_5___,{hash:"#gm-mobile-icons"});exports.push([module.i,"@font-face {\r\n font-family: gm-mobile-icons;\r\n src: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");src: url("+___CSS_LOADER_URL_REPLACEMENT_1___+') format("embedded-opentype"),\r\n url('+___CSS_LOADER_URL_REPLACEMENT_2___+') format("woff2"),\r\n url('+___CSS_LOADER_URL_REPLACEMENT_3___+') format("woff"),\r\n url('+___CSS_LOADER_URL_REPLACEMENT_4___+') format("truetype"),\r\n url('+___CSS_LOADER_URL_REPLACEMENT_5___+') format("svg");\r\n font-weight: normal;\r\n font-style: normal;\r\n}\r\n\r\n[class^="m-font"], [class*=" m-font"] {\r\n font-family: \'gm-mobile-icons\' !important;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n font-style: normal;\r\n}\r\n\r\n\r\n.m-font-angle-left::before {\r\n content: "\\ea01";\r\n}\r\n\r\n.m-font-angle-right::before {\r\n content: "\\ea02";\r\n}\r\n\r\n.m-font-arrow-down::before {\r\n content: "\\ea03";\r\n}\r\n\r\n.m-font-arrow-triangle::before {\r\n content: "\\ea04";\r\n}\r\n\r\n.m-font-cart::before {\r\n content: "\\ea05";\r\n}\r\n\r\n.m-font-close-circle::before {\r\n content: "\\ea06";\r\n}\r\n\r\n.m-font-delete::before {\r\n content: "\\ea07";\r\n}\r\n\r\n.m-font-down-small::before {\r\n content: "\\ea08";\r\n}\r\n\r\n.m-font-down-up-circle::before {\r\n content: "\\ea09";\r\n}\r\n\r\n.m-font-expired::before {\r\n content: "\\ea0a";\r\n}\r\n\r\n.m-font-info-circle::before {\r\n content: "\\ea0b";\r\n}\r\n\r\n.m-font-keyboard_del::before {\r\n content: "\\ea0c";\r\n}\r\n\r\n.m-font-loading::before {\r\n content: "\\ea0d";\r\n}\r\n\r\n.m-font-minus-circle::before {\r\n content: "\\ea0e";\r\n}\r\n\r\n.m-font-minus::before {\r\n content: "\\ea0f";\r\n}\r\n\r\n.m-font-password-close::before {\r\n content: "\\ea10";\r\n}\r\n\r\n.m-font-password-open::before {\r\n content: "\\ea11";\r\n}\r\n\r\n.m-font-plus-circle::before {\r\n content: "\\ea12";\r\n}\r\n\r\n.m-font-plus::before {\r\n content: "\\ea13";\r\n}\r\n\r\n.m-font-remove::before {\r\n content: "\\ea14";\r\n}\r\n\r\n.m-font-search::before {\r\n content: "\\ea15";\r\n}\r\n\r\n.m-font-success-circle::before {\r\n content: "\\ea16";\r\n}\r\n\r\n.m-font-warning::before {\r\n content: "\\ea17";\r\n}\r\n\r\n',""]),module.exports=exports},3073:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.cb6c567c.eot"},3074:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.cb6c567c.eot"},3075:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.55c803a6.woff2"},3076:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.12a6537e.woff"},3077:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.7aac0541.ttf"},3078:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/gm-mobile-icons.09b195f7.svg"},3079:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3080);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3080:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".m-preview-image {\n z-index: var(--m-z-index-previewImage);\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: var(--m-color-bg-black);\n}\n.m-preview-image .m-preview-image-counter {\n position: absolute;\n top: 10%;\n left: 50%;\n transform: translateX(-50%);\n color: var(--m-color-placeholder);\n}\n.m-preview-image .m-preview-image-inner {\n width: 100%;\n}\n.m-preview-image .m-preview-image-inner img {\n max-width: 100%;\n max-height: calc(100vh - 150px);\n}\n.m-swiper-category.swiper-container .swiper-pagination {\n position: initial;\n bottom: auto;\n left: auto;\n height: 12px;\n line-height: 4px;\n}\n.m-swiper-category.swiper-container .swiper-pagination .swiper-pagination-bullet {\n height: 4px;\n width: 4px;\n border-radius: 4px;\n line-height: 4px;\n}\n.m-swiper-category.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {\n background: var(--m-color-bg-primary);\n}\n.m-swiper-img.swiper-container .m-swiper-img-img {\n width: 100%;\n display: block;\n}\n.m-swiper-img.swiper-container .swiper-pagination {\n text-align: center;\n right: 0;\n width: auto;\n}\n.m-swiper-img.swiper-container .swiper-pagination .swiper-pagination-bullet {\n width: 6px;\n height: 4px;\n border-radius: 4px;\n background: var(--m-color-bg-white);\n opacity: 0.5;\n}\n.m-swiper-img.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {\n width: 16px;\n}\n",""]),module.exports=exports},3081:function(module,exports,__webpack_require__){var api=__webpack_require__(219),content=__webpack_require__(3082);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},3082:function(module,exports,__webpack_require__){(exports=__webpack_require__(180)(!1)).push([module.i,".m-coupon-container {\n display: inline-block;\n width: 100%;\n min-height: 110px;\n cursor: pointer;\n overflow: hidden;\n}\n.m-coupon-container.m-coupon-default .m-coupon {\n display: flex;\n position: relative;\n background-color: transparent;\n}\n.m-coupon-container.m-coupon-default .m-coupon::before {\n content: ' ';\n position: absolute;\n height: 100%;\n width: 6px;\n left: 0;\n top: 0;\n background-image: radial-gradient(transparent 0, transparent 4px, var(--m-color-bg-accent) 5px);\n background-size: 12px 12px;\n background-position: 6px 2px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-left {\n min-width: 105px;\n color: var(--m-color-true-white);\n background-color: var(--m-color-bg-accent);\n margin-left: 5px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-left .m-coupon-left-currency {\n padding-right: 2px;\n height: 35px;\n font-size: 14px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-left .m-coupon-left-discount {\n font-size: 35px;\n font-weight: bold;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-left .m-coupon-left-total {\n display: inline-block;\n width: 100%;\n height: 20px;\n text-align: center;\n font-size: 12px;\n opacity: 0.8;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right {\n min-width: 180px;\n min-height: 110px;\n border-radius: 0 6px 6px 0;\n background-color: var(--m-color-bg-back);\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header {\n width: 100%;\n padding: 10px 10px 5px 10px;\n position: relative;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header.m-coupon-right-header-padding {\n padding-right: 25px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-title {\n font-weight: bold;\n color: var(--m-color-black);\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-labels {\n margin: -5px 0 0 -5px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-label {\n display: inline-block;\n background-color: var(--m-color-bg-accent-light);\n color: var(--m-color-accent);\n font-size: 12px;\n padding: 0 5px;\n border-radius: 2px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-date {\n height: auto;\n font-size: 12px;\n color: var(--m-color-default);\n width: 100%;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-btn {\n min-width: 70px;\n height: 25px;\n line-height: 25px;\n text-align: center;\n background-color: var(--m-color-bg-accent);\n color: var(--m-color-true-white);\n border-radius: 30px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-expired {\n font-size: 50px;\n line-height: 50px;\n position: absolute;\n height: 50px;\n top: 0;\n right: -5px;\n color: #999;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-expired-text {\n width: 50px;\n height: 50px;\n position: absolute;\n transform: rotate(-25deg);\n color: var(--m-color-coupon-disabled);\n font-weight: bold;\n top: 0;\n right: -5px;\n font-size: 12px;\n word-break: break-all;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-checked {\n position: absolute;\n top: 50%;\n right: -18px;\n transform: translate(-50%, -50%);\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-footer {\n width: 100%;\n height: 30px;\n position: relative;\n padding: 0 10px 0 10px;\n color: var(--m-color-default);\n font-size: 13px;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-footer::after {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px dashed var(--m-color-border-dark);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-footer .m-coupon-right-footer-down-up {\n font-size: 1.2em;\n color: #c5c5c5;\n line-height: 1.2em;\n}\n.m-coupon-container.m-coupon-default .m-coupon .m-coupon-right .m-coupon-right-footer .m-coupon-right-footer-icon.active {\n transform: rotate(180deg);\n justify-content: start;\n}\n.m-coupon-container.m-coupon-vip .m-coupon {\n display: flex;\n position: relative;\n background-color: transparent;\n}\n.m-coupon-container.m-coupon-vip .m-coupon::before {\n content: ' ';\n position: absolute;\n height: 100%;\n width: 6px;\n left: 0;\n top: 0;\n background-image: radial-gradient(transparent 0, transparent 4px, var(--m-color-coupon-bg-vip) 5px);\n background-size: 12px 12px;\n background-position: 6px 2px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-left {\n min-width: 105px;\n color: var(--m-color-coupon-vip);\n background-color: var(--m-color-coupon-bg-vip);\n margin-left: 5px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-left .m-coupon-left-currency {\n padding-right: 2px;\n height: 35px;\n font-size: 14px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-left .m-coupon-left-discount {\n font-size: 35px;\n font-weight: bold;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-left .m-coupon-left-total {\n display: inline-block;\n width: 100%;\n height: 20px;\n text-align: center;\n font-size: 12px;\n opacity: 0.8;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right {\n min-width: 180px;\n min-height: 110px;\n border-radius: 0 6px 6px 0;\n background-color: var(--m-color-bg-back);\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header {\n width: 100%;\n padding: 10px 10px 5px 10px;\n position: relative;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header.m-coupon-right-header-padding {\n padding-right: 25px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-title {\n font-weight: bold;\n color: var(--m-color-black);\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-labels {\n margin: -5px 0 0 -5px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-label {\n display: inline-block;\n background-color: var(--m-color-bg-accent-light);\n color: var(--m-color-accent);\n font-size: 12px;\n padding: 0 5px;\n border-radius: 2px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-date {\n height: auto;\n font-size: 12px;\n color: var(--m-color-default);\n width: 100%;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-btn {\n min-width: 70px;\n height: 25px;\n line-height: 25px;\n text-align: center;\n background-color: var(--m-color-coupon-bg-vip);\n color: var(--m-color-coupon-vip);\n border-radius: 30px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-expired {\n font-size: 50px;\n line-height: 50px;\n position: absolute;\n height: 50px;\n top: 0;\n right: -5px;\n color: #999;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-expired-text {\n width: 50px;\n height: 50px;\n position: absolute;\n transform: rotate(-25deg);\n color: var(--m-color-coupon-disabled);\n font-weight: bold;\n top: 0;\n right: -5px;\n font-size: 12px;\n word-break: break-all;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-checked {\n position: absolute;\n top: 50%;\n right: -18px;\n transform: translate(-50%, -50%);\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-footer {\n width: 100%;\n height: 30px;\n position: relative;\n padding: 0 10px 0 10px;\n color: var(--m-color-default);\n font-size: 13px;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-footer::after {\n content: ' ';\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 1px;\n border-top: 1px dashed var(--m-color-border-dark);\n transform: scaleY(0.5);\n transform-origin: 0 0;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-footer .m-coupon-right-footer-down-up {\n font-size: 1.2em;\n color: #c5c5c5;\n line-height: 1.2em;\n}\n.m-coupon-container.m-coupon-vip .m-coupon .m-coupon-right .m-coupon-right-footer .m-coupon-right-footer-icon.active {\n transform: rotate(180deg);\n justify-content: start;\n}\n.m-coupon-container .m-coupon-use-info {\n display: block;\n padding: 10px;\n background-color: var(--m-color-bg-back);\n border-radius: 6px;\n color: var(--m-color-desc);\n margin-top: 2px;\n font-size: 13px;\n}\n.m-coupon-container.disabled {\n cursor: not-allowed;\n}\n.m-coupon-container.disabled .m-coupon::before {\n content: ' ';\n position: absolute;\n height: 100%;\n width: 6px;\n left: 0;\n top: 0;\n background-image: radial-gradient(transparent 0, transparent 4px, var(--m-color-bg-coupon-disabled) 5px);\n background-size: 12px 12px;\n background-position: 6px 2px;\n}\n.m-coupon-container.disabled .m-coupon .m-coupon-left {\n background-color: var(--m-color-bg-coupon-disabled);\n color: var(--m-color-true-white);\n}\n.m-coupon-container.disabled .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-btn {\n background-color: var(--m-color-bg-coupon-disabled);\n color: var(--m-color-true-white);\n}\n.m-coupon-container.disabled .m-coupon .m-coupon-right .m-coupon-right-header .m-coupon-right-header-label {\n background-color: var(--m-color-bg-coupon-disabled);\n opacity: 0.6;\n color: var(--m-color-default);\n}\n.m-received-coupon {\n display: inline-block;\n width: auto;\n height: 60px;\n}\n.m-received-coupon.m-received-coupon-received .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header,\n.m-received-coupon.m-received-coupon-received .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-info,\n.m-received-coupon.m-received-coupon-received .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-total {\n color: var(--m-color-coupon-disabled) !important;\n}\n.m-received-coupon.m-received-coupon-received .m-received-coupon-container .m-received-coupon-right .m-received-coupon-right-btn {\n background-color: var(--m-color-bg-coupon-disabled) !important;\n color: var(--m-color-true-white) !important;\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container {\n position: relative;\n border-radius: 6px;\n height: 60px;\n background-image: radial-gradient(circle at 9px 8px, transparent 0%, transparent 6px, var(--m-color-bg-white) 6px, var(--m-color-bg-white) 100%);\n background-position: right 42.5px top -8px;\n background-size: 100% 60px;\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-left {\n min-width: 90px;\n height: 60px;\n padding: 10px 15px;\n white-space: nowrap;\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header {\n font-size: 18px;\n color: var(--m-color-accent);\n font-weight: bold;\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header .m-received-coupon-left-currency {\n margin-right: 3px;\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header .m-received-coupon-left-info {\n font-size: 12px;\n font-weight: normal;\n color: var(--m-color-desc);\n margin-bottom: -2px;\n transform: scale(0.9);\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-total {\n line-height: 20px;\n font-size: 12px;\n color: var(--m-color-default);\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-right {\n width: 34px;\n height: 44px;\n margin: 8px 0;\n border-left: 1px dashed var(--m-color-accent);\n}\n.m-received-coupon.m-received-coupon-default .m-received-coupon-container .m-received-coupon-right .m-received-coupon-right-btn {\n height: 36px;\n width: 18px;\n font-size: 11px;\n background-color: var(--m-color-accent);\n text-align: center;\n color: var(--m-color-bg-white);\n border-radius: 18px;\n padding: 4px 0;\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container {\n position: relative;\n border-radius: 6px;\n height: 60px;\n background-image: radial-gradient(circle at 9px 8px, transparent 0%, transparent 6px, var(--m-color-coupon-bg-vip) 6px, var(--m-color-coupon-bg-vip) 100%);\n background-position: right 42.5px top -8px;\n background-size: 100% 60px;\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-left {\n min-width: 90px;\n height: 60px;\n padding: 10px 15px;\n white-space: nowrap;\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header {\n font-size: 18px;\n color: var(--m-color-coupon-vip);\n font-weight: bold;\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header .m-received-coupon-left-currency {\n margin-right: 3px;\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-header .m-received-coupon-left-info {\n font-size: 12px;\n font-weight: normal;\n color: var(--m-color-desc);\n margin-bottom: -2px;\n transform: scale(0.9);\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-left .m-received-coupon-left-total {\n line-height: 20px;\n font-size: 12px;\n color: var(--m-color-true-white);\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-right {\n width: 34px;\n height: 44px;\n margin: 8px 0;\n border-left: 1px dashed var(--m-color-white);\n}\n.m-received-coupon.m-received-coupon-vip .m-received-coupon-container .m-received-coupon-right .m-received-coupon-right-btn {\n height: 36px;\n width: 18px;\n font-size: 11px;\n background-color: var(--m-color-coupon-vip);\n text-align: center;\n color: var(--m-color-coupon-bg-vip);\n border-radius: 18px;\n padding: 4px 0;\n}\n.m-tab-date-select {\n height: 100%;\n}\n.m-tab-date-select .m-tab-date-select-calendar {\n margin-top: 5px;\n}\n.m-tab-date-select .m-tab-date-select-icon {\n font-size: 10px;\n}\n.m-letter-multiple-list {\n height: 100%;\n position: relative;\n}\n.m-letter-multiple-list .m-letter-multiple-list-content {\n height: calc(100% - 45px);\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom {\n background-color: var(--m-color-bg-white);\n height: 45px;\n color: var(--m-color-default);\n z-index: 2001;\n position: relative;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom::before {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid var(--m-color-border);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-content {\n width: calc(100% - 100px);\n height: 100%;\n position: absolute;\n padding: 0 15px;\n font-size: 12px;\n bottom: 0;\n z-index: 1;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-content .m-letter-multiple-list-bottom-badge {\n position: absolute;\n top: 0;\n left: 55px;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-content .m-letter-multiple-list-bottom-icon {\n width: 45px;\n height: 45px;\n line-height: 45px;\n vertical-align: middle;\n text-align: center;\n font-size: 22px;\n border-radius: 50%;\n color: white;\n background-color: var(--m-color-bg-primary);\n margin-top: -15px;\n margin-right: 10px;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-content .m-letter-multiple-list-bottom-icon:active {\n background: var(--m-color-bg-primary-active);\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-btn {\n width: 100px;\n height: 100%;\n background-color: var(--m-color-bg-primary);\n color: var(--m-color-white);\n font-size: 16px;\n position: absolute;\n right: 0;\n z-index: 2001;\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom .m-letter-multiple-list-bottom-btn:active {\n background: var(--m-color-bg-primary-active);\n}\n.m-letter-multiple-list .m-letter-multiple-list-bottom.disabled,\n.m-letter-multiple-list .m-letter-multiple-list-bottom[disabled] {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n}\n.m-letter-multiple-list .m-selected-list {\n width: 100%;\n height: calc(100% - 45px);\n position: absolute;\n bottom: 45px;\n top: 0;\n z-index: 2000;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content {\n width: 100%;\n position: absolute;\n bottom: 0;\n max-height: 70%;\n border-radius: 10px 10px 0 0;\n background-color: var(--m-color-bg-white);\n z-index: 2001;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-title {\n padding: 10px 15px;\n font-size: 16px;\n font-weight: bold;\n position: relative;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-title::before {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-item {\n padding: 10px 15px;\n font-size: 16px;\n color: var(--m-color-default);\n position: relative;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-item::before {\n content: ' ';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 1px;\n border-bottom: 1px solid var(--m-color-border);\n transform: scaleY(0.5);\n transform-origin: 0 100%;\n z-index: 1;\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-icon {\n width: 45px;\n height: 45px;\n font-size: 20px;\n position: absolute;\n right: 2px;\n top: 0;\n color: var(--m-color-danger);\n}\n.m-letter-multiple-list .m-selected-list .m-selected-list-content .m-selected-list-content-icon:active {\n background: var(--m-color-bg-white-active) !important;\n}\n",""]),module.exports=exports},3083:function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__(392).configure)([__webpack_require__(3084),__webpack_require__(3124),__webpack_require__(3125),__webpack_require__(3145),__webpack_require__(3147),__webpack_require__(3148),__webpack_require__(3149),__webpack_require__(3153),__webpack_require__(3159),__webpack_require__(3160),__webpack_require__(3163),__webpack_require__(3164),__webpack_require__(3168),__webpack_require__(3170)],module,!1)}).call(this,__webpack_require__(276)(module))},3084:function(module,exports,__webpack_require__){var map={"./component/action_sheet/stories.tsx":3085,"./component/badge/stories.tsx":3086,"./component/button/stories.tsx":3087,"./component/calendar/stories.tsx":3088,"./component/cell/stories.tsx":3089,"./component/checkbox/stories.tsx":3090,"./component/date_selector/stories.tsx":3091,"./component/dialog/common/choose.stories.tsx":3092,"./component/dialog/stories.tsx":3093,"./component/digital_keyboard/stories.tsx":3094,"./component/divider/stories.tsx":3095,"./component/draggable/stories.tsx":3096,"./component/flex/stories.tsx":3097,"./component/form/stories.tsx":3098,"./component/inner_layer/stories.tsx":3099,"./component/input/stories.tsx":3100,"./component/label/stories.tsx":3101,"./component/loading/stories.tsx":3102,"./component/mask/stories.tsx":3103,"./component/nav/stories.tsx":3104,"./component/nomore_loading/stories.tsx":3177,"./component/page/stories.tsx":3105,"./component/panel/stories.tsx":3106,"./component/picker/stories.tsx":3107,"./component/popup/stories.tsx":3108,"./component/price/stories.tsx":3109,"./component/radio/stories.tsx":3110,"./component/repeat_times/stories.tsx":3111,"./component/scroll_into_view/stories.tsx":3112,"./component/search/stories.tsx":3113,"./component/square/stories.tsx":3114,"./component/status/stories.tsx":3115,"./component/switch/stories.tsx":3116,"./component/tabs/stories.tsx":3117,"./component/tag_wrap/stories.tsx":3118,"./component/text_field/stories.tsx":3119,"./component/textarea/stories.tsx":3120,"./component/toast/stories.tsx":3121,"./component/tooltip/stories.tsx":3122,"./component/v_list/stories.tsx":3123};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=3084},3085:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"customItem",(function(){return customItem}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(421),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),classnames__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7),classnames__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(18),normal=function normal(){var data=[{text:"菜单一",value:1},{text:"菜单二",value:2},{text:"菜单三",value:3}];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{onClick:function handleClick(){_index__WEBPACK_IMPORTED_MODULE_1__.a.render({data:data,title:"title"}).then((function(value){return console.log(value),null}),(function(){console.log("reject")}))}},"ActionSheet")},customItem=function customItem(){var data=[{text:"菜单一",value:1},{text:"菜单二",value:2},{text:"删除",value:3}];return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{onClick:function handleClick(){_index__WEBPACK_IMPORTED_MODULE_1__.a.render({data:data,title:"title",renderItem:function renderItem(option){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:classnames__WEBPACK_IMPORTED_MODULE_3___default()({"m-text-red":3===option.value})},option.text)}}).then((function(value){return console.log(value),null}),(function(){console.log("reject")}))}},"ActionSheet")};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { ActionSheet } from './index'\nimport { View } from '../view'\nimport classNames from 'classnames'\nimport { Button } from '../button'\n\nexport const normal = () => {\n const data = [\n { text: '菜单一', value: 1 },\n { text: '菜单二', value: 2 },\n { text: '菜单三', value: 3 },\n ]\n\n const handleClick = () => {\n ActionSheet.render({\n data,\n title: 'title',\n }).then(\n (value) => {\n console.log(value)\n return null\n },\n () => {\n console.log('reject')\n }\n )\n }\n return \n}\n\nexport const customItem = () => {\n const data = [\n { text: '菜单一', value: 1 },\n { text: '菜单二', value: 2 },\n { text: '删除', value: 3 },\n ]\n\n const handleClick = () => {\n ActionSheet.render({\n data,\n title: 'title',\n renderItem: (option) => {\n return (\n \n {option.text}\n \n )\n },\n }).then(\n (value) => {\n console.log(value)\n return null\n },\n () => {\n console.log('reject')\n }\n )\n }\n return \n}\n\nexport default {\n title: '浮层/ActionSheet',\n component: ActionSheet,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:7},endLoc:{col:1,line:29},startBody:{col:22,line:7},endBody:{col:1,line:29}},"custom-item":{startLoc:{col:26,line:31},endLoc:{col:1,line:60},startBody:{col:26,line:31},endBody:{col:1,line:60}}}}},title:"浮层/ActionSheet",component:_index__WEBPACK_IMPORTED_MODULE_1__.a}},3086:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"dot",(function(){return dot})),__webpack_require__.d(__webpack_exports__,"corner",(function(){return corner}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(261),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{padding:"20px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{count:8}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{count:100}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{showOverflow:!0,count:100}))},dot=function dot(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{padding:"20px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{dot:!0,count:2},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"消息")))},corner=function corner(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{padding:"20px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{corner:!0,count:100},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{padding:"5px"}},"消息")))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Badge } from './index'\nimport { View } from '../view'\n\nexport const normal = () => (\n \n \n \n \n \n \n \n)\n\nexport const dot = () => (\n \n \n 消息\n \n \n)\n\nexport const corner = () => (\n \n \n 消息\n \n \n)\n\nexport default {\n title: '基础/Badge',\n component: Badge,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:13},startBody:{col:22,line:5},endBody:{col:1,line:13}},dot:{startLoc:{col:19,line:15},endLoc:{col:1,line:21},startBody:{col:19,line:15},endBody:{col:1,line:21}},corner:{startLoc:{col:22,line:23},endLoc:{col:1,line:29},startBody:{col:22,line:23},endBody:{col:1,line:29}}}}},title:"基础/Badge",component:_index__WEBPACK_IMPORTED_MODULE_1__.a}},3087:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_button__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(52),_button_time__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(531),_view__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1);function handleClick(){return console.log("click"),new Promise((function(resolve){return setTimeout((function(){resolve()}),2e3)}))}var normal=function normal(args){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,"默认",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,args,"默认"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"primary"}),"主色"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"danger"}),"危险"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"link",onClick:function onClick(){window.open("https://www.google.com")}}),"Link")),"plain",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{plain:!0}),"默认")),"disabled",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{disabled:!0}),"默认")),"size",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{mini:!0}),"默认"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{mini:!0}),"小按钮"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{mini:!0,type:"link"}),"Link"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{mini:!0,type:"link",className:"m-text"}),"纯文字")),"block",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{block:!0,type:"primary",round:!0}),"主色"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{block:!0,mini:!0,plain:!0}),"主色")),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"primary"}),"主色")),"loading",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{loading:!0}),"加载中")),"onClick promise",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{onClick:handleClick}),"点击显示 loading"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"primary",onClick:handleClick}),"点击显示 loading"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{type:"danger",onClick:handleClick}),"点击显示 loading")),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,"输入项不为空,才允许计时(通过onClick事件控制)"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button_time__WEBPACK_IMPORTED_MODULE_3__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{mini:!0,time:10,type:"primary",onClick:function onClick(){return!1}}),"获取验证码。阻止")),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_4__.a,null,"异步计时(通过onClick事件控制)"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button_time__WEBPACK_IMPORTED_MODULE_3__.a,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},args,{time:10,type:"primary",onClick:handleClick}),"获取验证码")))};__webpack_exports__.default={parameters:{storySource:{source:"import React, { FC } from 'react'\nimport Button from './button'\nimport ButtonTime from './button_time'\nimport { View } from '../view'\nimport { ButtonProps } from './types'\n\nfunction handleClick(): Promise {\n console.log('click')\n return new Promise((resolve) =>\n setTimeout(() => {\n resolve()\n }, 2000)\n )\n}\n\nexport const normal: FC = (args) => (\n \n 默认\n \n \n\n \n \n {\n window.open('https://www.google.com')\n }}\n >\n Link\n \n \n plain\n \n \n \n disabled\n \n \n \n size\n \n \n \n \n \n \n block\n \n \n \n \n \n \n \n loading\n \n \n \n onClick promise\n \n \n \n \n \n \n 输入项不为空,才允许计时(通过onClick事件控制)\n {\n // 阻止 false or promise reject\n return false\n }}\n >\n 获取验证码。阻止\n \n \n \n 异步计时(通过onClick事件控制)\n \n 获取验证码\n \n \n \n)\n\nexport default {\n title: '表单/Button',\n component: Button,\n}\n",locationsMap:{normal:{startLoc:{col:39,line:16},endLoc:{col:1,line:119},startBody:{col:39,line:16},endBody:{col:1,line:119}}}}},title:"表单/Button",component:_button__WEBPACK_IMPORTED_MODULE_2__.a};try{normal.displayName="normal",normal.__docgenInfo={description:"",displayName:"normal",props:{type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"link"'},{value:'"default"'},{value:'"primary"'},{value:'"danger"'}]}},plain:{defaultValue:null,description:"",name:"plain",required:!1,type:{name:"boolean"}},mini:{defaultValue:null,description:"",name:"mini",required:!1,type:{name:"boolean"}},block:{defaultValue:null,description:"",name:"block",required:!1,type:{name:"boolean"}},round:{defaultValue:null,description:"",name:"round",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},htmlType:{defaultValue:null,description:"仅web 用。原生的 type",name:"htmlType",required:!1,type:{name:"enum",value:[{value:"undefined"},{value:'"button"'},{value:'"submit"'},{value:'"reset"'}]}},formType:{defaultValue:null,description:"仅小程序",name:"formType",required:!1,type:{name:"string"}},openType:{defaultValue:null,description:"仅小程序",name:"openType",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"返回 Promise 才有 loading",name:"onClick",required:!1,type:{name:"((event: MouseEvent) => void)"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/button/stories.tsx#normal"]={docgenInfo:normal.__docgenInfo,name:"normal",path:"packages/c-react/src/component/button/stories.tsx#normal"})}catch(__react_docgen_typescript_loader_error){}},3088:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"info",(function(){return info})),__webpack_require__.d(__webpack_exports__,"one",(function(){return one})),__webpack_require__.d(__webpack_exports__,"range",(function(){return range})),__webpack_require__.d(__webpack_exports__,"multiple",(function(){return multiple}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),moment__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4),moment__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),_calendar__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(536),_range_calendar__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(745),_multiple_calendar__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(746),min=moment__WEBPACK_IMPORTED_MODULE_1___default()().add(-4,"d").toDate(),max=moment__WEBPACK_IMPORTED_MODULE_1___default()().toDate(),store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({mulSelected:[min,max,moment__WEBPACK_IMPORTED_MODULE_1___default()().add(-3,"d").toDate()],oneSelected:min,begin:min,end:max,setRangeSelected:function setRangeSelected(selected){this.begin=selected.begin,this.end=selected.end},setMulSelected:function setMulSelected(selected){this.mulSelected=selected},setOneSelected:function setOneSelected(selected){this.oneSelected=selected}}),info=function info(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-text-16 m-padding-10"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,"封装多种类型选择 Calendar"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,"单选类型 提供了 Calendar"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,"range类型 提供了 RangeCalendar"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,"multiple类型 提供了 MultipleCalendar"))},one=function one(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_calendar__WEBPACK_IMPORTED_MODULE_4__.a,{min:moment__WEBPACK_IMPORTED_MODULE_1___default()().add(-10,"month").toDate(),max:moment__WEBPACK_IMPORTED_MODULE_1___default()().toDate(),height:500,selected:store.oneSelected,onSelect:function onSelect(selected){return store.setOneSelected(selected)}})},range=function range(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_range_calendar__WEBPACK_IMPORTED_MODULE_5__.a,{min:moment__WEBPACK_IMPORTED_MODULE_1___default()().add(-10,"month").toDate(),max:moment__WEBPACK_IMPORTED_MODULE_1___default()().toDate(),begin:store.begin,end:store.end,onSelect:function onSelect(selected){return store.setRangeSelected(selected)},showDateLabel:!0})},multiple=function multiple(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_multiple_calendar__WEBPACK_IMPORTED_MODULE_6__.a,{min:moment__WEBPACK_IMPORTED_MODULE_1___default()().add(-1,"month").toDate(),max:moment__WEBPACK_IMPORTED_MODULE_1___default()().toDate(),selected:store.mulSelected,onSelect:function onSelect(selected){return store.setMulSelected(selected)}})};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport moment from 'moment'\nimport { observable } from 'mobx'\n\nimport { View } from '../view'\nimport Calendar from './calendar'\nimport RangeCalendar from './range_calendar'\nimport MultipleCalendar from './multiple_calendar'\n\nconst min = moment().add(-4, 'd').toDate()\nconst max = moment().toDate()\n\nconst store = observable({\n mulSelected: [min, max, moment().add(-3, 'd').toDate()],\n oneSelected: min,\n begin: min,\n end: max,\n setRangeSelected(selected: { begin: Date; end: Date }) {\n this.begin = selected.begin\n this.end = selected.end\n },\n setMulSelected(selected: Date[]) {\n this.mulSelected = selected\n },\n setOneSelected(selected: Date) {\n this.oneSelected = selected\n },\n})\n\nexport const info = () => (\n \n 封装多种类型选择 Calendar\n 单选类型 提供了 Calendar\n range类型 提供了 RangeCalendar\n multiple类型 提供了 MultipleCalendar\n \n)\n\nexport const one = () => {\n return (\n store.setOneSelected(selected)}\n />\n )\n}\n\nexport const range = () => {\n return (\n store.setRangeSelected(selected)}\n showDateLabel\n />\n )\n}\n\nexport const multiple = () => {\n return (\n store.setMulSelected(selected)}\n />\n )\n}\n\nexport default {\n title: '表单/Calendar',\n component: Calendar,\n}\n",locationsMap:{info:{startLoc:{col:20,line:30},endLoc:{col:1,line:37},startBody:{col:20,line:30},endBody:{col:1,line:37}},one:{startLoc:{col:19,line:39},endLoc:{col:1,line:49},startBody:{col:19,line:39},endBody:{col:1,line:49}},range:{startLoc:{col:21,line:51},endLoc:{col:1,line:62},startBody:{col:21,line:51},endBody:{col:1,line:62}},multiple:{startLoc:{col:24,line:64},endLoc:{col:1,line:73},startBody:{col:24,line:64},endBody:{col:1,line:73}}}}},title:"表单/Calendar",component:_calendar__WEBPACK_IMPORTED_MODULE_4__.a}},3089:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"mini",(function(){return mini})),__webpack_require__.d(__webpack_exports__,"CellFormDemo",(function(){return CellFormDemo}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),mobx__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),_gm_mobile_c_tool__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(24),_cells__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(256),_cell__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(102),_cells_form__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(406),_cell_form__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(155),_flex__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(15),_button__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(18),_view__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(1),_text__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(27),_toast__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(69),_input__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(70),_textarea__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(152),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-bg-back m-padding-tb-10"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells__WEBPACK_IMPORTED_MODULE_3__.a,{title:"title 说明"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,null,"children 文字"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{right:"right 说明文字"},"children 文字"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,right:"right 说明文字"},"children 文字"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,right:"right 说明文字",onClick:function onClick(){_gm_mobile_c_tool__WEBPACK_IMPORTED_MODULE_2__.e.weApp()?_toast__WEBPACK_IMPORTED_MODULE_11__.a.tip("小程序自主处理跳转"):window.location.href="https://www.guanmai.cn"}},"点击去官网")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells__WEBPACK_IMPORTED_MODULE_3__.a,{title:"带 icon"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,icon:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_10__.a,{className:"m-font m-font-search",style:{fontSize:"16px",lineHeight:1}}),right:"right 说明文字"},"children 文字"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,icon:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_10__.a,{className:"m-font m-font-search",style:{fontSize:"20px"}}),right:"right 说明文字"},"children 文字")))},mini=function mini(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-bg-back m-padding-tb-10"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells__WEBPACK_IMPORTED_MODULE_3__.a,{title:"title 说明",mini:!0},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-accent m-text-12"},"兑换商品")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-desc"},"积分已1000,可兑换商品")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-desc m-text-12"},"共 20 件")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_7__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{style:{width:"50px",height:"50px"},className:"m-bg-back m-margin-right-10"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{style:{width:"50px",height:"50px"},className:"m-bg-back m-margin-right-10"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{style:{width:"50px",height:"50px"},className:"m-bg-back m-margin-right-10"}))),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{access:!0,right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-12"},"2020年04月22日20:13:32")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-desc"},"收货时间")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-12"},"-¥1312313")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-desc"},"限时优惠")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell__WEBPACK_IMPORTED_MODULE_4__.a,{right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-12 m-text-desc"},"拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-desc"},"订单备注"))))},store=Object(mobx__WEBPACK_IMPORTED_MODULE_1__.l)({username:"",name:"",value:"",age:"",password:"",area:"",position:"",address:"",code:"",setValue:function setValue(field,value){this[field]=value}}),CellFormDemo=function CellFormDemo(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-padding-tb-10"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-red m-text-20"},"Input 记得加 isForm "),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells_form__WEBPACK_IMPORTED_MODULE_5__.a,{title:"啦啦啦啦"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{required:!0,noActive:!0},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{type:"text",isForm:!0,value:store.username,onChange:function onChange(e){store.setValue("username",e.target.value)},placeholder:"请输入用户名"})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{required:!0,label:"名字",labelWidth:"100px"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{type:"text",isForm:!0,value:store.name,onChange:function onChange(e){store.setValue("name",e.target.value)},placeholder:"请输入名字"}))),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells_form__WEBPACK_IMPORTED_MODULE_5__.a,{title:"啦啦啦啦"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"年龄",labelWidth:"100px"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{type:"number",isForm:!0,value:store.age,onChange:function onChange(e){store.setValue("age",e.target.value)},placeholder:"请输入年龄"})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"密码",labelWidth:"100px",error:"填错啦"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.b,{isForm:!0,value:store.password,onChange:function onChange(e){store.setValue("password",e.target.value)},placeholder:"请输入密码"})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"地理标签",labelWidth:"100px",access:!0,right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,null,"请选择"),onClick:function onClick(){_toast__WEBPACK_IMPORTED_MODULE_11__.a.tip("push 地理标签页面")}},store.area?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,null,store.area):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-placeholder"},"省市区县、乡镇")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"商户位置",labelWidth:"100px",access:!0,right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,null,"定位"),onClick:function onClick(){_toast__WEBPACK_IMPORTED_MODULE_11__.a.tip("push 商户位置页面")}},store.position?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,null,store.position):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-text-placeholder"},"省市区县、乡镇")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"收货地址",labelWidth:"100px"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_textarea__WEBPACK_IMPORTED_MODULE_13__.a,{isForm:!0,value:store.address,onChange:function onChange(e){store.setValue("address",e.target.value)},placeholder:"请填写详细地址便于联系,如:深圳南山科技园腾讯大厦"})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"短信验证",labelWidth:"100px",right:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_8__.b,{mini:!0,type:"primary",onClick:function onClick(){return _toast__WEBPACK_IMPORTED_MODULE_11__.a.tip("do 发送验证码"),!1}},"重新发送")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{value:store.code,onChange:function onChange(e){store.setValue("code",e.target.value)}}))),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cells_form__WEBPACK_IMPORTED_MODULE_5__.a,{title:"带标题的情况"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"名字",labelWidth:"100px"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{isForm:!0,type:"text",value:store.value,onChange:function onChange(e){store.setValue("value",e.target.value)},placeholder:"请输入名字"})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_cell_form__WEBPACK_IMPORTED_MODULE_6__.a,{label:"年龄",labelWidth:"100px"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_12__.a,{isForm:!0,type:"number",value:store.age,onChange:function onChange(e){store.setValue("age",e.target.value)},placeholder:"请输入年龄"}))))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { observable } from 'mobx'\nimport { is } from '@gm-mobile/c-tool'\nimport Cells from './cells'\nimport Cell from './cell'\nimport CellsForm from './cells_form'\nimport CellForm from './cell_form'\nimport { Flex } from '../flex'\nimport { ButtonTime } from '../button'\nimport { View } from '../view'\nimport { Text } from '../text'\nimport { Toast } from '../toast'\n\nimport { Input, InputPassword } from '../input'\nimport { Textarea } from '../textarea'\n\nexport const normal = () => {\n return (\n \n \n children 文字\n children 文字\n \n children 文字\n \n {\n if (is.weApp()) {\n Toast.tip('小程序自主处理跳转')\n } else {\n window.location.href = 'https://www.guanmai.cn'\n }\n }}\n >\n 点击去官网\n \n \n\n \n \n }\n right='right 说明文字'\n >\n children 文字\n \n \n }\n right='right 说明文字'\n >\n children 文字\n \n \n \n )\n}\n\nexport const mini = () => {\n return (\n \n \n 兑换商品}\n >\n 积分已1000,可兑换商品\n \n 共 20 件}\n >\n \n \n \n \n \n \n 2020年04月22日20:13:32}\n >\n 收货时间\n \n -¥1312313}>\n 限时优惠\n \n \n 拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉拉\n \n }\n >\n 订单备注\n \n \n \n )\n}\n\nconst initStore: { [key: string]: any } = {\n username: '',\n name: '',\n value: '',\n age: '',\n password: '',\n area: '',\n position: '',\n address: '',\n code: '',\n setValue(field: string, value: string) {\n this[field] = value\n },\n}\n\nconst store = observable(initStore)\n\nexport const CellFormDemo = () => {\n return (\n \n Input 记得加 isForm \n\n \n \n {\n store.setValue('username', e.target.value)\n }}\n placeholder='请输入用户名'\n />\n \n \n {\n store.setValue('name', e.target.value)\n }}\n placeholder='请输入名字'\n />\n \n \n \n \n {\n store.setValue('age', e.target.value)\n }}\n placeholder='请输入年龄'\n />\n \n \n {\n store.setValue('password', e.target.value)\n }}\n placeholder='请输入密码'\n />\n \n 请选择}\n onClick={() => {\n Toast.tip('push 地理标签页面')\n }}\n >\n {store.area ? (\n {store.area}\n ) : (\n 省市区县、乡镇\n )}\n \n 定位}\n onClick={() => {\n Toast.tip('push 商户位置页面')\n }}\n >\n {store.position ? (\n {store.position}\n ) : (\n 省市区县、乡镇\n )}\n \n \n {\n store.setValue('address', e.target.value)\n }}\n placeholder='请填写详细地址便于联系,如:深圳南山科技园腾讯大厦'\n />\n \n {\n Toast.tip('do 发送验证码')\n return false\n }}\n >\n 重新发送\n \n }\n >\n {\n store.setValue('code', e.target.value)\n }}\n />\n \n \n \n \n {\n store.setValue('value', e.target.value)\n }}\n placeholder='请输入名字'\n />\n \n \n {\n store.setValue('age', e.target.value)\n }}\n placeholder='请输入年龄'\n />\n \n \n \n )\n}\n\nexport default {\n title: '表单/Cell',\n component: Cells,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:17},endLoc:{col:1,line:69},startBody:{col:22,line:17},endBody:{col:1,line:69}},mini:{startLoc:{col:20,line:71},endLoc:{col:1,line:121},startBody:{col:20,line:71},endBody:{col:1,line:121}},"cell-form-demo":{startLoc:{col:28,line:140},endLoc:{col:1,line:281},startBody:{col:28,line:140},endBody:{col:1,line:281}}}}},title:"表单/Cell",component:_cells__WEBPACK_IMPORTED_MODULE_3__.a}},3090:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),mobx__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(260),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),store=Object(mobx__WEBPACK_IMPORTED_MODULE_1__.l)({checked:!0,setChecked:function setChecked(value){this.checked=value}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-bg-white"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}},"选择"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{circle:!0,checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}},"选择"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{disabled:!0,checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}},"选择"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{primary:!0,checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}},"选择"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{primary:!0,disabled:!0,checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}},"选择"))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { observable } from 'mobx'\n\nimport { Checkbox } from '.'\nimport { View } from '../view'\n\nconst store = observable({\n checked: true,\n setChecked(value: boolean) {\n this.checked = value\n },\n})\n\nexport const normal = () => (\n \n {\n store.setChecked(!store.checked)\n }}\n >\n 选择\n \n {\n store.setChecked(!store.checked)\n }}\n >\n 选择\n \n {\n store.setChecked(!store.checked)\n }}\n >\n 选择\n \n {\n store.setChecked(!store.checked)\n }}\n >\n 选择\n \n {\n store.setChecked(!store.checked)\n }}\n >\n 选择\n \n \n)\n\nexport default {\n title: '表单/Checkbox',\n component: Checkbox,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:14},endLoc:{col:1,line:62},startBody:{col:22,line:14},endBody:{col:1,line:62}}}}},title:"表单/Checkbox",component:___WEBPACK_IMPORTED_MODULE_2__.a}},3091:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"Max",(function(){return Max})),__webpack_require__.d(__webpack_exports__,"DisabledDate",(function(){return DisabledDate}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_view__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),moment__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(4),moment__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_3__),_date_selector__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(345),store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({selected:[],setSelected:function setSelected(selected){this.selected=selected}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_date_selector__WEBPACK_IMPORTED_MODULE_4__.a,{selected:store.selected.slice(),onSelect:function onSelect(selected){return store.setSelected(selected)}}))},Max=function Max(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_date_selector__WEBPACK_IMPORTED_MODULE_4__.a,{selected:store.selected.slice(),onSelect:function onSelect(selected){return store.setSelected(selected)},max:moment__WEBPACK_IMPORTED_MODULE_3___default()().weekday(0).startOf("day").days(moment__WEBPACK_IMPORTED_MODULE_3___default()().days()+7).toDate()}))},DisabledDate=function DisabledDate(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_date_selector__WEBPACK_IMPORTED_MODULE_4__.a,{selected:store.selected.slice(),onSelect:function onSelect(selected){return store.setSelected(selected)},disabledDate:function disabledDate(date){return Number(moment__WEBPACK_IMPORTED_MODULE_3___default()(date).format("E"))>5}}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { View } from '../view'\nimport _ from 'lodash'\nimport { observable } from 'mobx'\nimport moment from 'moment'\nimport { DateSelector } from './date_selector'\n\nconst store = observable({\n selected: [],\n setSelected(selected: any) {\n this.selected = selected\n },\n})\n\nexport const normal = () => {\n return (\n \n store.setSelected(selected)}\n />\n \n )\n}\n\nexport const Max = () => {\n return (\n \n store.setSelected(selected)}\n max={moment()\n .weekday(0)\n .startOf('day')\n .days(moment().days() + 7)\n .toDate()}\n />\n \n )\n}\n\nexport const DisabledDate = () => {\n const disabledDate = (date: Date) => {\n if (Number(moment(date).format('E')) > 5) return true\n return false\n }\n\n return (\n \n store.setSelected(selected)}\n disabledDate={disabledDate}\n />\n \n )\n}\n\nexport default {\n title: '表单/DateSelector',\n component: DateSelector,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:15},endLoc:{col:1,line:24},startBody:{col:22,line:15},endBody:{col:1,line:24}},max:{startLoc:{col:19,line:26},endLoc:{col:1,line:40},startBody:{col:19,line:26},endBody:{col:1,line:40}},"disabled-date":{startLoc:{col:28,line:42},endLoc:{col:1,line:57},startBody:{col:28,line:42},endBody:{col:1,line:57}}}}},title:"表单/DateSelector",component:_date_selector__WEBPACK_IMPORTED_MODULE_4__.a}},3092:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Choose",(function(){return Choose}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_button__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(18),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),_choose__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(257);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var Choose=function Choose(args){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{style:{minHeight:"600px"}},react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-margin-10",onClick:function onClick(){Object(_choose__WEBPACK_IMPORTED_MODULE_4__.a)(args).then((function(res){return console.log(res),alert(JSON.stringify(res))}))}},"快速选择"))};__webpack_exports__.default={title:"浮层/Dialog/Choose",component:_choose__WEBPACK_IMPORTED_MODULE_4__.a,args:{list:Array(10).fill(null).map((function(_,i){return{text:"LABEL-"+i,value:i}})),multiSelect:!1,needConfirm:!1,title:"Title",defaultSelected:[{text:"",value:0}]},argTypes:{multiSelect:{description:"是否显示确认按钮,多选时multiSelect强制为true"}},parameters:{storySource:{source:"import React from 'react'\nimport { Button } from '../../button'\nimport { View } from '../../view'\nimport choose, { ChooseProps } from './choose'\n\nexport const Choose = (args: ChooseProps) => {\n return (\n \n {\n choose(args).then((res) => {\n console.log(res)\n return alert(JSON.stringify(res))\n })\n }}\n >\n 快速选择\n \n \n )\n}\n\nexport default {\n title: '浮层/Dialog/Choose',\n component: choose,\n args: {\n list: Array(10)\n .fill(null)\n .map((_, i) => {\n return {\n text: 'LABEL-' + i,\n value: i,\n }\n }),\n multiSelect: false,\n needConfirm: false,\n // search: false,\n title: 'Title',\n defaultSelected: [{ text: '', value: 0 }],\n } as ChooseProps,\n argTypes: {\n multiSelect: {\n description: '是否显示确认按钮,多选时multiSelect强制为true',\n },\n },\n parameters: {\n docs: {\n source: {\n type: 'code',\n code: `\nchoose(options).then((res) => {\n return alert(JSON.stringify(res))\n})`,\n },\n },\n },\n}\n",locationsMap:{choose:{startLoc:{col:22,line:6},endLoc:{col:1,line:22},startBody:{col:22,line:6},endBody:{col:1,line:22}}}},docs:{source:{type:"code",code:"\nchoose(options).then((res) => {\n return alert(JSON.stringify(res))\n})"}}}},Choose.parameters=function _objectSpread(target){for(var i=1;i {\n return (\n \n {\n choose(args).then((res) => {\n console.log(res)\n return alert(JSON.stringify(res))\n })\n }}\n >\n 快速选择\n \n \n )\n}"}},Choose.parameters);try{Choose.displayName="Choose",Choose.__docgenInfo={description:"",displayName:"Choose",props:{title:{defaultValue:null,description:"标题",name:"title",required:!1,type:{name:"string"}},list:{defaultValue:null,description:"选择项列表",name:"list",required:!0,type:{name:"Item[]"}},needConfirm:{defaultValue:null,description:"是否显示确认按钮,多选时multiSelect强制为true",name:"needConfirm",required:!1,type:{name:"boolean"}},multiSelect:{defaultValue:null,description:"是否多选",name:"multiSelect",required:!1,type:{name:"boolean"}},defaultSelected:{defaultValue:null,description:"初始选中的",name:"defaultSelected",required:!1,type:{name:"Item[]"}},maxHeight:{defaultValue:null,description:"搜索功能",name:"maxHeight",required:!1,type:{name:"string"}},onCancel:{defaultValue:null,description:"",name:"onCancel",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/dialog/common/choose.stories.tsx#Choose"]={docgenInfo:Choose.__docgenInfo,name:"Choose",path:"packages/c-react/src/component/dialog/common/choose.stories.tsx#Choose"})}catch(__react_docgen_typescript_loader_error){}},3093:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"alert",(function(){return alert})),__webpack_require__.d(__webpack_exports__,"confirm",(function(){return confirm})),__webpack_require__.d(__webpack_exports__,"Delete",(function(){return Delete})),__webpack_require__.d(__webpack_exports__,"render",(function(){return render})),__webpack_require__.d(__webpack_exports__,"prompt",(function(){return prompt}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(188),_toast__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(69),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(18),_common_choose__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(257),alert=function alert(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.alert("啦啦啦啦").then((function(){return console.log("resolve")}))}},"alert"))},confirm=function confirm(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.confirm("是否要啥啥啥").then((function(){return console.log("resolve")}),(function(){console.log("reject")}))}},"confirm"))},Delete=function Delete(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.delete("是否要删除").then((function(){return console.log("resolve")}),(function(){console.log("reject")}))}},"delete"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({children:"是否要啥啥啥",onConfirm:function onConfirm(){console.log("confirm")},onCancel:function onCancel(){console.log("cancel")},otherText:"其他按钮",onOther:function onOther(){console.log("otherText")}})}},"other btn"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.prompt({promptText:"是否要啥啥啥",promptInputProps:{placeholder:"请输入列表名称"},promptGetError:function promptGetError(value){return value.length>5?"超过5个字啦":""},onConfirm:function onConfirm(value){if(console.log("confirm",value),""===value)return _toast__WEBPACK_IMPORTED_MODULE_2__.a.tip("请输入"),!1}}).then((function(value){return console.log("resolve",value)}),(function(){console.log("reject")}))}},"prompt"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){Object(_common_choose__WEBPACK_IMPORTED_MODULE_5__.a)({list:Array(10).fill(null).map((function(_,i){return{text:"LABEL"+i,value:i}}))})}},"Choose"))},render=function render(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({children:"是否要啥啥啥",onConfirm:function onConfirm(){console.log("confirm")},onCancel:function onCancel(){console.log("cancel")},otherText:"其他按钮",onOther:function onOther(){console.log("otherText")}})}},"other btn"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.prompt({promptText:"是否要啥啥啥",promptInputProps:{placeholder:"请输入列表名称"},promptGetError:function promptGetError(value){return value.length>5?"超过5个字啦":""},onConfirm:function onConfirm(value){if(console.log("confirm",value),""===value)return _toast__WEBPACK_IMPORTED_MODULE_2__.a.tip("请输入"),!1}}).then((function(value){return console.log("resolve",value)}),(function(){console.log("reject")}))}},"prompt"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){Object(_common_choose__WEBPACK_IMPORTED_MODULE_5__.a)({list:Array(10).fill(null).map((function(_,i){return{text:"LABEL"+i,value:i}}))})}},"Choose"))},prompt=function prompt(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.prompt({promptText:"是否要啥啥啥",promptInputProps:{placeholder:"请输入列表名称"},promptGetError:function promptGetError(value){return value.length>5?"超过5个字啦":""},onConfirm:function onConfirm(value){if(console.log("confirm",value),""===value)return _toast__WEBPACK_IMPORTED_MODULE_2__.a.tip("请输入"),!1}}).then((function(value){return console.log("resolve",value)}),(function(){console.log("reject")}))}},"prompt"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{className:"m-margin-10",onClick:function onClick(){Object(_common_choose__WEBPACK_IMPORTED_MODULE_5__.a)({list:Array(10).fill(null).map((function(_,i){return{text:"LABEL"+i,value:i}}))})}},"Choose"))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Dialog } from '.'\nimport { Toast } from '../toast'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport choose from './common/choose'\n\nexport const alert = () => {\n return (\n \n {\n Dialog.alert('啦啦啦啦').then(() => console.log('resolve'))\n }}\n >\n alert\n \n \n )\n}\n\nexport const confirm = () => {\n return (\n \n {\n Dialog.confirm('是否要啥啥啥').then(\n () => console.log('resolve'),\n () => {\n console.log('reject')\n }\n )\n }}\n >\n confirm\n \n \n )\n}\n\nexport const Delete = () => {\n return (\n \n {\n Dialog.delete('是否要删除').then(\n () => console.log('resolve'),\n () => {\n console.log('reject')\n }\n )\n }}\n >\n delete\n \n {\n Dialog.render({\n children: '是否要啥啥啥',\n onConfirm: () => {\n console.log('confirm')\n },\n onCancel: () => {\n console.log('cancel')\n },\n otherText: '其他按钮',\n onOther: () => {\n console.log('otherText')\n },\n })\n }}\n >\n other btn\n \n {\n Dialog.prompt({\n promptText: '是否要啥啥啥',\n promptInputProps: {\n placeholder: '请输入列表名称',\n },\n promptGetError: (value) => {\n if (value.length > 5) {\n return '超过5个字啦'\n }\n return ''\n },\n onConfirm: (value): boolean | void => {\n console.log('confirm', value)\n if (value === '') {\n Toast.tip('请输入')\n return false\n }\n },\n }).then(\n (value) => console.log('resolve', value),\n () => {\n console.log('reject')\n }\n )\n }}\n >\n prompt\n \n\n {\n choose({\n list: Array(10)\n .fill(null)\n .map((_, i) => {\n return {\n text: 'LABEL' + i,\n value: i,\n }\n }),\n })\n }}\n >\n Choose\n \n \n )\n}\n\nexport const render = () => {\n return (\n \n {\n Dialog.render({\n children: '是否要啥啥啥',\n onConfirm: () => {\n console.log('confirm')\n },\n onCancel: () => {\n console.log('cancel')\n },\n otherText: '其他按钮',\n onOther: () => {\n console.log('otherText')\n },\n })\n }}\n >\n other btn\n \n {\n Dialog.prompt({\n promptText: '是否要啥啥啥',\n promptInputProps: {\n placeholder: '请输入列表名称',\n },\n promptGetError: (value) => {\n if (value.length > 5) {\n return '超过5个字啦'\n }\n return ''\n },\n onConfirm: (value): boolean | void => {\n console.log('confirm', value)\n if (value === '') {\n Toast.tip('请输入')\n return false\n }\n },\n }).then(\n (value) => console.log('resolve', value),\n () => {\n console.log('reject')\n }\n )\n }}\n >\n prompt\n \n\n {\n choose({\n list: Array(10)\n .fill(null)\n .map((_, i) => {\n return {\n text: 'LABEL' + i,\n value: i,\n }\n }),\n })\n }}\n >\n Choose\n \n \n )\n}\n\nexport const prompt = () => {\n return (\n \n {\n Dialog.prompt({\n promptText: '是否要啥啥啥',\n promptInputProps: {\n placeholder: '请输入列表名称',\n },\n promptGetError: (value) => {\n if (value.length > 5) {\n return '超过5个字啦'\n }\n return ''\n },\n onConfirm: (value): boolean | void => {\n console.log('confirm', value)\n if (value === '') {\n Toast.tip('请输入')\n return false\n }\n },\n }).then(\n (value) => console.log('resolve', value),\n () => {\n console.log('reject')\n }\n )\n }}\n >\n prompt\n \n\n {\n choose({\n list: Array(10)\n .fill(null)\n .map((_, i) => {\n return {\n text: 'LABEL' + i,\n value: i,\n }\n }),\n })\n }}\n >\n Choose\n \n \n )\n}\n\nexport default {\n title: '浮层/Dialog',\n}\n",locationsMap:{alert:{startLoc:{col:21,line:8},endLoc:{col:1,line:21},startBody:{col:21,line:8},endBody:{col:1,line:21}},confirm:{startLoc:{col:23,line:23},endLoc:{col:1,line:41},startBody:{col:23,line:23},endBody:{col:1,line:41}},delete:{startLoc:{col:22,line:43},endLoc:{col:1,line:130},startBody:{col:22,line:43},endBody:{col:1,line:130}},render:{startLoc:{col:22,line:132},endLoc:{col:1,line:206},startBody:{col:22,line:132},endBody:{col:1,line:206}},prompt:{startLoc:{col:22,line:208},endLoc:{col:1,line:262},startBody:{col:22,line:208},endBody:{col:1,line:262}}}}},title:"浮层/Dialog"}},3094:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Usage",(function(){return Usage})),__webpack_require__.d(__webpack_exports__,"CustomLayout",(function(){return CustomLayout})),__webpack_require__.d(__webpack_exports__,"CustomActions",(function(){return CustomActions}));var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(42),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(49),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(76),_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(77),_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34),_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1137),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1912),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_6__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__),react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__),_text_field__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(258),___WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(419),_text__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(27),_Btn__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(79),_view__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(1),_toast__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(69),_page__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(118),_flex__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(15);function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default()(Derived);if(hasNativeReflectConstruct){var NewTarget=_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4___default()(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3___default()(this,result)}}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i void` 虚拟键盘的点击事件",control:!1,type:{}},onAction:{description:"`(value: string | undefined, key: DKBtn) => void` 虚拟键盘的功能键(actionKeys)点击事件",control:!1,type:{}},actionKeys:{description:"`typeof defaultActionKeys` 自定义功能键盘",control:!1,type:{}},digitalKeys:{description:"`typeof defaultActionKeys` 自定义数字键盘",control:!1,type:{}},".show()":{description:"`()=>void` 使用Popup.layout(...)从下方弹出键盘组件。",type:{name:"function"}},".hide()":{description:"`()=>void` 关闭弹出。等同于Popup.hide()",type:{name:"function"}},".node":{description:"`ReactComponent` 键盘组件节点",type:{name:"function"}},".active":{description:"keyboard当前活动于的form key",control:!1,type:{name:"string"}},".setInt()":{description:"`(int?: boolean)=>void` 设置为整数型键盘",type:{name:"function"}},".get()":{description:"`(key?: string)=>string` 取指定form key的值",type:{name:"function"}},".set()":{description:"`(key?: string, value?:string)=>void` 设置指定form key的值",type:{name:"function"}},".setActive()":{description:"`(key?: string)=>void` 设置active",type:{name:"function"}},".next()":{description:"`()=>void` 设置active为form中的当前key的下一个key",type:{name:"function"}}},Usage.args={rewriteMode:!0,fractionDigits:2,min:0,max:9999.99};var CustomLayout=function CustomLayout(){var keyboard=new ___WEBPACK_IMPORTED_MODULE_10__.a({form:{apple:"1.00",peach:"0.50"},active:""});return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_page__WEBPACK_IMPORTED_MODULE_15__.a,{style:{width:"100%"}},react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_16__.a,{height:"100px",className:"m-bg-accent m-margin-tb-10",alignCenter:!0,justifyCenter:!0},"头部"),react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_13__.a,null,"显示在指定位置"),react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_13__.a,null,keyboard.node),react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_16__.a,{height:"100px",className:"m-bg-accent m-margin-tb-10",alignCenter:!0,justifyCenter:!0},"尾部"))},CustomActions=function CustomActions(){var keyboard=new(function(_DigitalKeyboard){_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_2___default()(Keyboard,_DigitalKeyboard);var _super=_createSuper(Keyboard);function Keyboard(){return _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this,Keyboard),_super.apply(this,arguments)}return _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(Keyboard,[{key:"actionKeys",get:function get(){var _this=this;return[new _Btn__WEBPACK_IMPORTED_MODULE_12__.a({className:"m-bg-accent m-text-white",label:"自定义",fn:function fn(value){return _toast__WEBPACK_IMPORTED_MODULE_14__.a.success({children:"按下了自定义按钮"}),"一键输入自定义内容"}}),new _Btn__WEBPACK_IMPORTED_MODULE_12__.a({label:"确认",flex:3,className:"m-bg-primary m-text-white",fn:function fn(value){return _this.hide(),_this.get(_this.active)}})]}}]),Keyboard}(___WEBPACK_IMPORTED_MODULE_10__.a))({rewriteMode:!0,fractionDigits:2,min:0,max:9999.99,form:{input:""}});return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_13__.a,{style:{height:"300px"}},react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_text_field__WEBPACK_IMPORTED_MODULE_9__.a,{className:"m-margin-bottom-5",left:react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_11__.a,{className:"m-text-desc m-margin-right-5"},"name:"),value:keyboard.get("input"),placeholder:"type the fruit price...",highlight:!0,outlined:!0,large:!0,onFocus:function onFocus(){return keyboard.show()}}))};__webpack_exports__.default={title:"表单/DigitalKeyboard",parameters:{storySource:{source:"import React, { useRef } from 'react'\nimport { Story } from '@storybook/react'\nimport { TextField } from '../text_field'\nimport { DigitalKeyboard, DigitalKeyboardProps } from '.'\nimport { Text } from '../text'\nimport { DKBtn } from './Btn'\nimport { View } from '../view'\nimport { Toast } from '../toast'\nimport { Page } from '../page'\nimport { Flex } from '../flex'\n\nconst Template: Story = (args) => {\n Object.keys(args).forEach((key) => {\n // @ts-ignore\n if (args[key] === undefined) delete args[key]\n })\n\n const form = {\n apple: '1.00',\n peach: '0.50',\n }\n const keyboard = new DigitalKeyboard({\n ...args,\n form: form,\n active: '',\n async onAction(btn) {\n if (btn.label === '确认') {\n console.log('result:', 'apple', keyboard.get('apple'))\n keyboard.hide()\n }\n },\n })\n\n return (\n \n 请在Canvas中预览键盘\n {Object.keys(form).map((name) => {\n return (\n {name}:}\n value={keyboard.get(name)}\n placeholder='type your price...'\n highlight={name === keyboard.active}\n onFocus={() => {\n keyboard.setActive(name)\n keyboard.show()\n }}\n outlined\n large\n />\n )\n })}\n \n )\n}\nexport const Usage = Template.bind({})\nUsage.argTypes = {\n form: {\n description: '`Object` 表单的字段键值对,可以通过.set增改,通过.get读取',\n type: {\n required: true,\n },\n },\n active: {\n description: '`String` form的key,默认活动字段',\n type: {\n name: 'string',\n required: false,\n },\n },\n withSafeArea: {\n description: '`boolean` 下方用上安全边距(ios)',\n type: {\n name: 'boolean',\n required: false,\n },\n },\n rewriteMode: {\n description:\n '`boolean` rewrite mode下,切换输入框焦点后(即active改变后),输入前先清空输入框',\n type: {\n name: 'boolean',\n required: false,\n },\n },\n fractionDigits: {\n description: '`number` 浮点模式下(int:false),小数位个数限制,默认为2',\n type: {\n name: 'number',\n required: false,\n },\n },\n min: {\n description: '`number` 最小值',\n type: {\n name: 'number',\n required: false,\n },\n },\n max: {\n description: '`number` 最大值',\n type: {\n name: 'number',\n required: false,\n },\n },\n int: {\n description: '`boolean` 整数类型键盘',\n type: {\n name: 'boolean',\n require: false,\n },\n },\n header: {\n description: '`ReactNode` 键盘上方额外内容',\n control: false,\n type: {},\n },\n onInput: {\n description:\n '`(value: string | undefined, key: DKBtn) => void` 虚拟键盘的点击事件',\n control: false,\n type: {},\n },\n onAction: {\n description:\n '`(value: string | undefined, key: DKBtn) => void` 虚拟键盘的功能键(actionKeys)点击事件',\n control: false,\n type: {},\n },\n actionKeys: {\n description: '`typeof defaultActionKeys` 自定义功能键盘',\n control: false,\n type: {},\n },\n digitalKeys: {\n description: '`typeof defaultActionKeys` 自定义数字键盘',\n control: false,\n type: {},\n },\n '.show()': {\n description: '`()=>void` 使用Popup.layout(...)从下方弹出键盘组件。',\n type: {\n name: 'function',\n },\n },\n '.hide()': {\n description: '`()=>void` 关闭弹出。等同于Popup.hide()',\n type: {\n name: 'function',\n },\n },\n '.node': {\n description: '`ReactComponent` 键盘组件节点',\n type: {\n name: 'function',\n },\n },\n '.active': {\n description: 'keyboard当前活动于的form key',\n control: false,\n type: {\n name: 'string',\n },\n },\n '.setInt()': {\n description: '`(int?: boolean)=>void` 设置为整数型键盘',\n type: {\n name: 'function',\n },\n },\n '.get()': {\n description: '`(key?: string)=>string` 取指定form key的值',\n type: {\n name: 'function',\n },\n },\n '.set()': {\n description: '`(key?: string, value?:string)=>void` 设置指定form key的值',\n type: {\n name: 'function',\n },\n },\n '.setActive()': {\n description: '`(key?: string)=>void` 设置active',\n type: {\n name: 'function',\n },\n },\n '.next()': {\n description: '`()=>void` 设置active为form中的当前key的下一个key',\n type: {\n name: 'function',\n },\n },\n}\nUsage.args = {\n rewriteMode: true,\n fractionDigits: 2,\n min: 0,\n max: 9999.99,\n}\n\nexport const CustomLayout = () => {\n const form = {\n apple: '1.00',\n peach: '0.50',\n }\n const keyboard = new DigitalKeyboard({\n form: form,\n active: '',\n })\n\n return (\n \n \n 头部\n \n 显示在指定位置\n {keyboard.node}\n \n 尾部\n \n \n )\n}\n\nexport const CustomActions = () => {\n // 通过继承的方式自定义keys\n class Keyboard extends DigitalKeyboard {\n get actionKeys() {\n return [\n new DKBtn({\n className: 'm-bg-accent m-text-white',\n label: '自定义',\n fn: (value) => {\n Toast.success({ children: '按下了自定义按钮' })\n return '一键输入自定义内容'\n },\n }),\n new DKBtn({\n label: '确认',\n flex: 3,\n className: 'm-bg-primary m-text-white',\n fn: (value) => {\n this.hide()\n return this.get(this.active)\n },\n }),\n ]\n }\n }\n\n const keyboard = new Keyboard({\n rewriteMode: true,\n fractionDigits: 2,\n min: 0,\n max: 9999.99,\n // 也可以通过这里自定义keys\n // digitalKeys: [],\n // actionKeys: [],\n form: {\n input: '',\n },\n })\n return (\n \n name:}\n value={keyboard.get('input')}\n placeholder='type the fruit price...'\n highlight\n outlined\n large\n onFocus={() => keyboard.show()}\n />\n \n )\n}\n\nexport default {\n title: '表单/DigitalKeyboard',\n parameters: {\n docs: {\n source: {\n type: 'code',\n },\n },\n },\n}\n",locationsMap:{usage:{startLoc:{col:46,line:12},endLoc:{col:1,line:57},startBody:{col:46,line:12},endBody:{col:1,line:57}},"custom-layout":{startLoc:{col:28,line:206},endLoc:{col:1,line:238},startBody:{col:28,line:206},endBody:{col:1,line:238}},"custom-actions":{startLoc:{col:29,line:240},endLoc:{col:1,line:292},startBody:{col:29,line:240},endBody:{col:1,line:292}}}},docs:{source:{type:"code"}}}}},3095:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(544),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,null,"lalala")};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Divider } from './index'\n\nexport const normal = () => {\n return lalala\n}\nexport default {\n title: '布局/Divider',\n component: Divider,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:4},endLoc:{col:1,line:6},startBody:{col:22,line:4},endBody:{col:1,line:6}}}}},title:"布局/Divider",component:_index__WEBPACK_IMPORTED_MODULE_1__.a}},3096:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_flex__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),_index__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(546),normal=function normal(args){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-bg-white m-container-full m-padding-20",style:{height:"100vh"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"使用Fixed定位,请在canvas中预览,或切换浏览器到手机模拟器"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_3__.a,args,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_1__.a,{alignCenter:!0,justifyCenter:!0,className:"m-bg-primary m-text-white m-text-20",width:"100%",height:"100%",style:{borderRadius:"50%"}},"+")))};normal.args={width:"50px",height:"50px",autoCling:!0},__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Flex } from '../flex'\nimport { View } from '../view'\nimport { Draggable } from './index'\n\nexport const normal = (args) => {\n return (\n \n 使用Fixed定位,请在canvas中预览,或切换浏览器到手机模拟器\n \n \n +\n \n \n \n )\n}\nnormal.args = {\n width: '50px',\n height: '50px',\n autoCling: true,\n}\n\nexport default {\n title: '布局/Draggable',\n component: Draggable,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:6},endLoc:{col:1,line:27},startBody:{col:22,line:6},endBody:{col:1,line:27}}}}},title:"布局/Draggable",component:_index__WEBPACK_IMPORTED_MODULE_3__.a};try{normal.displayName="normal",normal.__docgenInfo={description:"",displayName:"normal",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["packages/c-react/src/component/draggable/stories.tsx#normal"]={docgenInfo:normal.__docgenInfo,name:"normal",path:"packages/c-react/src/component/draggable/stories.tsx#normal"})}catch(__react_docgen_typescript_loader_error){}},3097:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_view__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),_flex__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(743),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"语法见 [Flex](http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html) 本组件只是个简单的封装"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"特别的 props 是 none,flex 会坍缩,提供 none 则不会坍缩"))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { View } from '../view'\nimport Flex from './flex'\n\nexport const normal = () => {\n return (\n \n \n 语法见 [Flex](http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html)\n 本组件只是个简单的封装\n \n 特别的 props 是 none,flex 会坍缩,提供 none 则不会坍缩\n \n )\n}\n\nexport default {\n title: '布局/Flex',\n component: Flex,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:15},startBody:{col:22,line:5},endBody:{col:1,line:15}}}}},title:"布局/Flex",component:_flex__WEBPACK_IMPORTED_MODULE_2__.a}},3098:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Form",(function(){return Form}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_cell__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(288),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(18),_view__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_toast__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(69),_items__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(100),_form__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(391),_input__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(70),_textarea__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(152),_hooks__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(399),_picker__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(538);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\n const form = useFormRef()\n return (\n \n Input 记得加 isForm \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 定位}\n onClick={() => {\n Toast.tip('push 商户位置页面')\n }}\n >\n {store.position ? (\n {store.position}\n ) : (\n 省市区县、乡镇\n )}\n \n \n \n \n {\n Toast.tip('do 发送验证码')\n return false\n }}\n >\n 重新发送\n \n }\n name='primary'\n >\n \n \n \n \n \n \n \n \n \n \n \n \n console.log(form.current.getFieldsValue())}\n >\n 点击打印所有表单项数据(getFieldsValue)\n \n \n \n console.log(form.current.setFieldsValue({ name: '暴走', age: 24 }))\n }\n >\n {\n '点击设置名字(name)为暴走,年龄(age)为24(setFieldsValue({name: 暴走, age: 24})'\n }\n \n \n \n console.log(form.current.resetFields())}\n >\n 点击重置所有所有表单项数据(resetFields)\n \n \n \n )\n}\n\nexport default {\n title: '表单/Form',\n}\n",locationsMap:{form:{startLoc:{col:20,line:111},endLoc:{col:1,line:229},startBody:{col:20,line:111},endBody:{col:1,line:229}}}}},title:"表单/Form"}},3099:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_button__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(417),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),Normal=function Normal(){var handleCancel=function handleCancel(){___WEBPACK_IMPORTED_MODULE_2__.a.hide()};return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-padding-20",onClick:function handleClick(){___WEBPACK_IMPORTED_MODULE_2__.a.render({children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{className:"m-bg-back m-text-center m-padding-20"},"lalala",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_1__.a,{mini:!0,className:"m-margin-left-20",onClick:handleCancel},"取消"))})}},"click here 打开内页")};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\n\nimport { Button } from '../button'\nimport { InnerLayer } from '.'\nimport { View } from '../view'\n\nexport const Normal = () => {\n const handleCancel = () => {\n InnerLayer.hide()\n }\n\n const handleClick = () => {\n InnerLayer.render({\n children: (\n \n lalala\n \n \n ),\n })\n }\n return (\n \n click here 打开内页\n \n )\n}\n\nexport default {\n title: '浮层/InnerLayer',\n component: InnerLayer,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:7},endLoc:{col:1,line:29},startBody:{col:22,line:7},endBody:{col:1,line:29}}}}},title:"浮层/InnerLayer",component:___WEBPACK_IMPORTED_MODULE_2__.a}},3100:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"isForm",(function(){return isForm})),__webpack_require__.d(__webpack_exports__,"maxLength",(function(){return maxLength})),__webpack_require__.d(__webpack_exports__,"inputPassword",(function(){return inputPassword}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_input__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(136),_input_password__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(747),mobx__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(16),_input_max_length__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(748),_view__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),store=Object(mobx__WEBPACK_IMPORTED_MODULE_3__.l)({value:"",setValue:function setValue(value){this.value=value}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_1__.a,{value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入"}),"disabled",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_1__.a,{value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入",disabled:!0}))},isForm=function isForm(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_1__.a,{value:store.value,isForm:!0,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入"}),"disabled",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input__WEBPACK_IMPORTED_MODULE_1__.a,{value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入",disabled:!0}))},maxLength=function maxLength(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input_max_length__WEBPACK_IMPORTED_MODULE_4__.a,{value:store.value,maxLength:30,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入"})},inputPassword=function inputPassword(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_input_password__WEBPACK_IMPORTED_MODULE_2__.a,{value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)},placeholder:"请输入密码"})};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Input from './input'\nimport InputPassword from './input_password'\nimport { observable } from 'mobx'\nimport InputMaxLength from './input_max_length'\nimport { View } from '../view'\n\nconst store = observable({\n value: '',\n setValue(value: string) {\n this.value = value\n },\n})\n\nexport const normal = () => {\n return (\n \n store.setValue(e.target.value)}\n placeholder='请输入'\n />\n disabled\n store.setValue(e.target.value)}\n placeholder='请输入'\n disabled\n />\n \n )\n}\n\nexport const isForm = () => {\n return (\n \n store.setValue(e.target.value)}\n placeholder='请输入'\n />\n disabled\n store.setValue(e.target.value)}\n placeholder='请输入'\n disabled\n />\n \n )\n}\n\nexport const maxLength = () => {\n return (\n store.setValue(e.target.value)}\n placeholder='请输入'\n />\n )\n}\n\nexport const inputPassword = () => {\n return (\n store.setValue(e.target.value)}\n placeholder='请输入密码'\n />\n )\n}\n\nexport default {\n title: '表单/Input',\n component: Input,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:15},endLoc:{col:1,line:32},startBody:{col:22,line:15},endBody:{col:1,line:32}},"is-form":{startLoc:{col:22,line:34},endLoc:{col:1,line:52},startBody:{col:22,line:34},endBody:{col:1,line:52}},"max-length":{startLoc:{col:25,line:54},endLoc:{col:1,line:63},startBody:{col:25,line:54},endBody:{col:1,line:63}},"input-password":{startLoc:{col:29,line:65},endLoc:{col:1,line:73},startBody:{col:29,line:65},endBody:{col:1,line:73}}}}},title:"表单/Input",component:_input__WEBPACK_IMPORTED_MODULE_1__.a}},3101:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"primary",(function(){return primary})),__webpack_require__.d(__webpack_exports__,"plain",(function(){return plain})),__webpack_require__.d(__webpack_exports__,"accent",(function(){return accent}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(295),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{text:"默认"}))},primary=function primary(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{text:"自提",type:"primary"}))},plain=function plain(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{text:"限购",type:"plain"}))},accent=function accent(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,{text:"组合商品",type:"accent"}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Label } from './index'\nimport { View } from '../view'\n\nexport const normal = () => (\n \n \n)\n\nexport const primary = () => (\n \n \n)\n\nexport const plain = () => (\n \n \n)\n\nexport const accent = () => (\n \n \n)\n\nexport default {\n title: '基础/Label',\n component: Label,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:9},startBody:{col:22,line:5},endBody:{col:1,line:9}},primary:{startLoc:{col:23,line:11},endLoc:{col:1,line:15},startBody:{col:23,line:11},endBody:{col:1,line:15}},plain:{startLoc:{col:21,line:17},endLoc:{col:1,line:21},startBody:{col:21,line:17},endBody:{col:1,line:21}},accent:{startLoc:{col:22,line:23},endLoc:{col:1,line:27},startBody:{col:22,line:23},endBody:{col:1,line:27}}}}},title:"基础/Label",component:_index__WEBPACK_IMPORTED_MODULE_1__.a}},3102:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(255),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{fontSize:"30px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_index__WEBPACK_IMPORTED_MODULE_1__.a,null,"loading..."))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Loading } from './index'\nimport { View } from '../view'\n\nexport const normal = () => (\n \n loading...\n \n)\n\nexport default {\n title: '基础/Loading',\n component: Loading,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:9},startBody:{col:22,line:5},endBody:{col:1,line:9}}}}},title:"基础/Loading",component:_index__WEBPACK_IMPORTED_MODULE_1__.a}},3103:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_view__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(18),_popup__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(28),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"一般与浮层类组件搭配使用,遮罩作用,可设置背景深浅",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,{onClick:function onClick(){_popup__WEBPACK_IMPORTED_MODULE_3__.a.render({left:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"adsfas"),onHide:_popup__WEBPACK_IMPORTED_MODULE_3__.a.hide})}},"normal opacity"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_2__.a,{onClick:function onClick(){_popup__WEBPACK_IMPORTED_MODULE_3__.a.render({left:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"adsfas"),onHide:_popup__WEBPACK_IMPORTED_MODULE_3__.a.hide,opacity:.2})}},"change opacity"))))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport { Popup } from '../popup'\n\nexport const normal = () => {\n return (\n \n 一般与浮层类组件搭配使用,遮罩作用,可设置背景深浅\n \n {\n Popup.render({\n left: true,\n children: adsfas,\n onHide: Popup.hide,\n })\n }}\n >\n normal opacity\n \n \n {\n Popup.render({\n left: true,\n children: adsfas,\n onHide: Popup.hide,\n opacity: 0.2,\n })\n }}\n >\n change opacity\n \n \n \n \n )\n}\n\nexport default {\n title: '浮层/Mask',\n component: Popup,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:6},endLoc:{col:1,line:39},startBody:{col:22,line:6},endBody:{col:1,line:39}}}}},title:"浮层/Mask",component:_popup__WEBPACK_IMPORTED_MODULE_3__.a}},3104:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal})),__webpack_require__.d(__webpack_exports__,"Horizontal",(function(){return Horizontal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(422),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(18),data=[{value:1,text:"白菜"},{value:2,text:"啦啦啦啦"},{value:3,text:"熟食冻品"},{value:4,text:"新鲜水果"},{value:5,text:"肉禽蛋"},{value:6,text:"调料干货"},{value:7,text:"豆制品"},{value:8,text:"安心蔬菜"}],store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({value:1,setValue:function setValue(value){this.value=value}}),Normal=function Normal(){var ref=Object(react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{style:{width:"100px",height:"200px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{ref:ref,data:data,selected:store.value,onSelect:function onSelect(value){return store.setValue(value)}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{onClick:function onClick(){store.setValue(8),ref.current&&ref.current.apiDoScrollToValue(8)}},"选 安心蔬菜"))},Horizontal=function Horizontal(){var ref=Object(react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{style:{width:"300px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{ref:ref,horizontal:!0,data:data,selected:store.value,onSelect:function onSelect(value){return store.setValue(value)}})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_4__.a,{onClick:function onClick(){store.setValue(8),ref.current&&ref.current.apiDoScrollToValue(8)}},"选 安心蔬菜"))};__webpack_exports__.default={parameters:{storySource:{source:"import React, { useRef } from 'react'\nimport { Nav } from '.'\nimport { observable } from 'mobx'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport { NavRef } from './types'\n\nconst data = [\n {\n value: 1,\n text: '白菜',\n },\n {\n value: 2,\n text: '啦啦啦啦',\n },\n {\n value: 3,\n text: '熟食冻品',\n },\n {\n value: 4,\n text: '新鲜水果',\n },\n {\n value: 5,\n text: '肉禽蛋',\n },\n {\n value: 6,\n text: '调料干货',\n },\n {\n value: 7,\n text: '豆制品',\n },\n {\n value: 8,\n text: '安心蔬菜',\n },\n]\n\nconst store = observable({\n value: 1,\n setValue(value: any) {\n this.value = value\n },\n})\n\nexport const Normal = () => {\n const ref = useRef(null)\n\n return (\n \n \n store.setValue(value)}\n />\n \n {\n store.setValue(8)\n ref.current && ref.current.apiDoScrollToValue(8)\n }}\n >\n 选 安心蔬菜\n \n \n )\n}\n\nexport const Horizontal = () => {\n const ref = useRef(null)\n\n return (\n \n \n store.setValue(value)}\n />\n \n {\n store.setValue(8)\n ref.current && ref.current.apiDoScrollToValue(8)\n }}\n >\n 选 安心蔬菜\n \n \n )\n}\n\nexport default {\n title: '布局/Nav',\n component: Nav,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:50},endLoc:{col:1,line:73},startBody:{col:22,line:50},endBody:{col:1,line:73}},horizontal:{startLoc:{col:26,line:75},endLoc:{col:1,line:99},startBody:{col:26,line:75},endBody:{col:1,line:99}}}}},title:"布局/Nav",component:___WEBPACK_IMPORTED_MODULE_1__.a}},3105:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"loading",(function(){return loading})),__webpack_require__.d(__webpack_exports__,"error",(function(){return error}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_view__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(118),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{header:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"header"),tabbar:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"tabbar"),top:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"top"),bottom:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"bottom")},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_1__.a,null,"da"))},loading=function loading(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{loading:!0},"loading")},error=function error(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__.a,{error:!0},"error")};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { View } from '../view'\nimport { Page } from '.'\n\nexport const normal = () => {\n return (\n header}\n tabbar={tabbar}\n top={top}\n bottom={bottom}\n >\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n da\n \n )\n}\n\nexport const loading = () => {\n return loading\n}\n\nexport const error = () => {\n return error\n}\n\nexport default {\n title: '布局/Page',\n component: Page,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:43},startBody:{col:22,line:5},endBody:{col:1,line:43}},loading:{startLoc:{col:23,line:45},endLoc:{col:1,line:47},startBody:{col:23,line:45},endBody:{col:1,line:47}},error:{startLoc:{col:21,line:49},endLoc:{col:1,line:51},startBody:{col:21,line:49},endBody:{col:1,line:51}}}}},title:"布局/Page",component:___WEBPACK_IMPORTED_MODULE_2__.a}},3106:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_panel__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(168),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-bg-back m-padding-15"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,null,"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"标题"},"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"标题",action:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-padding-lr-15"},"待分拣")},"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"标题",top:!0},"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"标题",bottom:!0},"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"标题 onTitle",onTitle:function onTitle(){window.location.href="https://www.baidu.com"}},"panel"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"业务自己做上border,不拉通"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-border-1px-top-before m-margin-lr-15 m-padding-tb-10"},"lalalaal")),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-gap-5"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_panel__WEBPACK_IMPORTED_MODULE_1__.a,{title:"业务自己做上border,拉通"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-border-1px-top-before m-padding-lr-15 m-padding-tb-10"},"lalalaal")))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Panel from './panel'\nimport { View } from '../view'\n\nexport const normal = () => {\n return (\n \n panel\n \n panel\n \n 待分拣}\n >\n panel\n \n \n \n panel\n \n \n \n panel\n \n \n {\n window.location.href = 'https://www.baidu.com'\n }}\n >\n panel\n \n \n \n \n lalalaal\n \n \n \n \n \n lalalaal\n \n \n \n )\n}\n\nexport default {\n title: '布局/Panel',\n component: Panel,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:49},startBody:{col:22,line:5},endBody:{col:1,line:49}}}}},title:"布局/Panel",component:_panel__WEBPACK_IMPORTED_MODULE_1__.a}},3107:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"picker",(function(){return picker})),__webpack_require__.d(__webpack_exports__,"confirmPicker",(function(){return confirmPicker})),__webpack_require__.d(__webpack_exports__,"confirmCouplingPicker",(function(){return confirmCouplingPicker})),__webpack_require__.d(__webpack_exports__,"selectPicker",(function(){return selectPicker})),__webpack_require__.d(__webpack_exports__,"PickerV1",(function(){return PickerV1}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_component_picker__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(333),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_confirm_picker__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(334),_confirm_coupling_picker__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(398),_select_picker__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(750),_picker_v1__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(752),_view__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(18),_text__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(27),store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({datas:[[{value:"Mr.",text:"Mr."},{value:"Mrs.",text:"Mrs."},{value:"Ms.",text:"Ms."},{value:"Dr.",text:"Dr."}],[{value:"John",text:"John"},{value:"Micheal",text:"Micheal"},{value:"Elizabeth",text:"Elizabeth"}],[{value:"Lennon",text:"Lennon"},{value:"Jackson",text:"Jackson"},{value:"Jordan",text:"Jordan"},{value:"Legend",text:"Legend"},{value:"Taylor",text:"Taylor"}]],values:["Mr.","Micheal","Jordan"],setValues:function setValues(values){this.values=values},couplingData:[{value:"T11660",text:"喵喵分仓一",children:[{value:"S8058",text:"综合商品-喵喵分仓一",children:[{value:"00000",text:"000000"}]}]},{value:"T7936",text:"喵喵总仓",children:[{value:"S8056",text:"综合商品",children:[{value:"11111",text:"111111"}]},{value:"S11186",text:"复制报价单",children:[{value:"2222222",text:"222222"},{value:"777777",text:"777777"}]},{value:"S11226",text:"复制报价单D",children:[{value:"333333",text:"33333333"}]},{value:"S9176",text:"预售报价单",children:[{value:"44444444",text:"4444444"}]},{value:"S11188",text:"复制报价单B",children:[{value:"5555555",text:"5555555"}]},{value:"S11189",text:"复制报价单C",children:[{value:"666666",text:"6666666"}]}]},{value:"T12469",text:"喵喵分仓二",children:[{value:"S8443",text:"蔬菜报价单",children:[{value:"88888",text:"888888"},{value:"99999",text:"99999"}]}]}],couplingValues:["T7936","S11186","777777"],setCouplingValues:function setCouplingValues(values){this.couplingValues=values}}),selectStore=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({data:[{value:1,text:"深圳"},{value:2,text:"罗湖"},{value:3,text:"南山"},{value:4,text:"宝安"},{value:5,text:"福田"},{value:6,text:"龙岗"}],value:null,pickerv1Value:void 0,setValue:function setValue(v){this.value=v},onPickerv1Change:function onPickerv1Change(pickerv1Value){this.pickerv1Value=pickerv1Value}}),picker=function picker(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_component_picker__WEBPACK_IMPORTED_MODULE_1__.a,{datas:store.datas.slice(),values:store.values.slice(),onChange:function onChange(values){store.setValues(values)},renderOption:function renderOption(index,option){return 1===index?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_7__.a,null,option.value," ",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_9__.a,{style:{color:"red"}},"red")):option.value}})},headers=["one","two","three"],confirmPicker=function confirmPicker(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_8__.a,{onClick:function handleClick(){_confirm_picker__WEBPACK_IMPORTED_MODULE_3__.a.render({title:"confirm picker",datas:store.datas.slice(),values:store.values.slice(),headers:headers}).then((function(values){return console.log("resolve",values),store.setValues(values),null}),(function(){console.log("reject")}))}},"confirm picker")},confirmCouplingPicker=function confirmCouplingPicker(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_8__.a,{onClick:function handleClick(){_confirm_coupling_picker__WEBPACK_IMPORTED_MODULE_4__.a.render({datas:store.couplingData.slice(),values:store.couplingValues.slice()}).then((function(values){return console.log("resolve",values),store.setCouplingValues(values),null}),(function(){console.log("reject")}))}},"confirm coupling picker")},selectPicker=function selectPicker(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_8__.a,{onClick:function handleClick(){_select_picker__WEBPACK_IMPORTED_MODULE_5__.a.render({data:selectStore.data.slice(),value:selectStore.value}).then((function(value){return console.log("resolve",value),selectStore.setValue(value),null}),(function(){console.log("reject")}))}},"select picker")},PickerV1=function PickerV1(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_picker_v1__WEBPACK_IMPORTED_MODULE_6__.a,{data:selectStore.data.slice(),value:selectStore.pickerv1Value,onChange:function onChange(value){return selectStore.onPickerv1Change(value)},valueArr:!1,placeholder:"请选择区域"})};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Picker from './component/picker'\nimport { observable } from 'mobx'\n\nimport ConfirmPicker from './confirm_picker'\nimport ConfirmCouplingPicker from './confirm_coupling_picker'\nimport SelectPicker from './select_picker'\nimport { default as TempPickerV1 } from './picker_v1'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport { Text } from '../text'\n\nconst datas = [\n [\n { value: 'Mr.', text: 'Mr.' },\n { value: 'Mrs.', text: 'Mrs.' },\n { value: 'Ms.', text: 'Ms.' },\n {\n value: 'Dr.',\n text: 'Dr.',\n },\n ],\n [\n { value: 'John', text: 'John' },\n { value: 'Micheal', text: 'Micheal' },\n {\n value: 'Elizabeth',\n text: 'Elizabeth',\n },\n ],\n [\n { value: 'Lennon', text: 'Lennon' },\n { value: 'Jackson', text: 'Jackson' },\n {\n value: 'Jordan',\n text: 'Jordan',\n },\n { value: 'Legend', text: 'Legend' },\n { value: 'Taylor', text: 'Taylor' },\n ],\n]\n\nconst couplingData = [\n {\n value: 'T11660',\n text: '喵喵分仓一',\n children: [\n {\n value: 'S8058',\n text: '综合商品-喵喵分仓一',\n children: [\n {\n value: '00000',\n text: '000000',\n },\n ],\n },\n ],\n },\n {\n value: 'T7936',\n text: '喵喵总仓',\n children: [\n {\n value: 'S8056',\n text: '综合商品',\n children: [\n {\n value: '11111',\n text: '111111',\n },\n ],\n },\n {\n value: 'S11186',\n text: '复制报价单',\n children: [\n {\n value: '2222222',\n text: '222222',\n },\n {\n value: '777777',\n text: '777777',\n },\n ],\n },\n {\n value: 'S11226',\n text: '复制报价单D',\n children: [\n {\n value: '333333',\n text: '33333333',\n },\n ],\n },\n {\n value: 'S9176',\n text: '预售报价单',\n children: [\n {\n value: '44444444',\n text: '4444444',\n },\n ],\n },\n {\n value: 'S11188',\n text: '复制报价单B',\n children: [\n {\n value: '5555555',\n text: '5555555',\n },\n ],\n },\n {\n value: 'S11189',\n text: '复制报价单C',\n children: [\n {\n value: '666666',\n text: '6666666',\n },\n ],\n },\n ],\n },\n {\n value: 'T12469',\n text: '喵喵分仓二',\n children: [\n {\n value: 'S8443',\n text: '蔬菜报价单',\n children: [\n {\n value: '88888',\n text: '888888',\n },\n {\n value: '99999',\n text: '99999',\n },\n ],\n },\n ],\n },\n]\n\nconst selectData = [\n { value: 1, text: '深圳' },\n { value: 2, text: '罗湖' },\n { value: 3, text: '南山' },\n { value: 4, text: '宝安' },\n { value: 5, text: '福田' },\n { value: 6, text: '龙岗' },\n]\n\nconst store = observable({\n datas,\n values: ['Mr.', 'Micheal', 'Jordan'],\n setValues(values: string[]) {\n this.values = values\n },\n couplingData,\n couplingValues: ['T7936', 'S11186', '777777'],\n setCouplingValues(values: string[]) {\n this.couplingValues = values\n },\n})\n\nconst selectStore = observable({\n data: selectData,\n value: null,\n pickerv1Value: undefined,\n setValue(v: any) {\n this.value = v\n },\n onPickerv1Change(pickerv1Value: string) {\n this.pickerv1Value = pickerv1Value\n },\n})\n\nexport const picker = () => {\n return (\n {\n store.setValues(values)\n }}\n renderOption={(index, option) => {\n if (index === 1) {\n return (\n \n {option.value} red\n \n )\n }\n return option.value\n }}\n />\n )\n}\n\nconst headers = ['one', 'two', 'three']\nexport const confirmPicker = () => {\n const handleClick = () => {\n ConfirmPicker.render({\n title: 'confirm picker',\n datas: store.datas.slice(),\n values: store.values.slice(),\n headers,\n }).then(\n (values) => {\n console.log('resolve', values)\n store.setValues(values)\n return null\n },\n () => {\n console.log('reject')\n }\n )\n }\n\n return \n}\n\nexport const confirmCouplingPicker = () => {\n const handleClick = () => {\n ConfirmCouplingPicker.render({\n datas: store.couplingData.slice(),\n values: store.couplingValues.slice(),\n }).then(\n (values) => {\n console.log('resolve', values)\n store.setCouplingValues(values)\n return null\n },\n () => {\n console.log('reject')\n }\n )\n }\n\n return \n}\n\nexport const selectPicker = () => {\n const handleClick = () => {\n SelectPicker.render({\n data: selectStore.data.slice(),\n value: selectStore.value,\n }).then(\n (value) => {\n console.log('resolve', value)\n selectStore.setValue(value)\n return null\n },\n () => {\n console.log('reject')\n }\n )\n }\n\n return \n}\nexport const PickerV1 = () => {\n return (\n \n data={selectStore.data.slice()}\n value={selectStore.pickerv1Value}\n onChange={(value) => selectStore.onPickerv1Change(value)}\n valueArr={false}\n placeholder='请选择区域'\n />\n )\n}\nexport default {\n title: '表单/Picker',\n component: Picker,\n}\n",locationsMap:{picker:{startLoc:{col:22,line:186},endLoc:{col:1,line:206},startBody:{col:22,line:186},endBody:{col:1,line:206}},"confirm-picker":{startLoc:{col:29,line:209},endLoc:{col:1,line:229},startBody:{col:29,line:209},endBody:{col:1,line:229}},"confirm-coupling-picker":{startLoc:{col:37,line:231},endLoc:{col:1,line:249},startBody:{col:37,line:231},endBody:{col:1,line:249}},"select-picker":{startLoc:{col:28,line:251},endLoc:{col:1,line:269},startBody:{col:28,line:251},endBody:{col:1,line:269}},"picker-v-1":{startLoc:{col:24,line:270},endLoc:{col:1,line:280},startBody:{col:24,line:270},endBody:{col:1,line:280}}}}},title:"表单/Picker",component:_component_picker__WEBPACK_IMPORTED_MODULE_1__.a}},3108:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"title",(function(){return title})),__webpack_require__.d(__webpack_exports__,"PopupV1",(function(){return PopupV1}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(28),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(18),_text__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(27),_toast__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(69),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({left:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"adsfas")),onHide:___WEBPACK_IMPORTED_MODULE_1__.a.hide})}},"left"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({right:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"lala"),onHide:___WEBPACK_IMPORTED_MODULE_1__.a.hide})}},"right"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({bottom:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"lala"),onHide:___WEBPACK_IMPORTED_MODULE_1__.a.hide})}},"bottom"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({style:{top:"50%",left:"50%",marginTop:"-200px",marginLeft:"-150px",width:"300px",height:"400px"},children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"center"),disabledHeader:!0,onHide:___WEBPACK_IMPORTED_MODULE_1__.a.hide})}},"center"))},title=function title(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.a.render({title:"啦啦啦",bottom:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"lala"),onHide:___WEBPACK_IMPORTED_MODULE_1__.a.hide})}},"bottom")},PopupV1=function PopupV1(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.b.render({title:"啦啦啦1(加了headerClassName: m-flex-justify-center m-bg-back)",headerClassName:"m-flex-justify-center m-bg-back",titleCenter:!0,bottom:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.b.render({title:"啦啦啦2",bottom:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"点击关闭会提示【检测到弹窗关闭了,看要做什么回调】",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.b.render({title:"啦啦啦3",bottom:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{onClick:function onClick(){var hdeId4=___WEBPACK_IMPORTED_MODULE_1__.b.render({title:"啦啦啦4",left:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{type:"primary",onClick:function onClick(){___WEBPACK_IMPORTED_MODULE_1__.b.render({title:"啦啦啦5",right:!0,children:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_3__.a,{type:"primary",onClick:hdeId4},"关闭左弹框"),height:"60vh",className:"xxxx",closeText:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_4__.a,{style:{color:"red"}},"关闭")})}},"打开右弹框"),onHide:function onHide(){return new Promise((function(resolve){setTimeout(resolve,3e3)}))},height:"60vh",className:"xxxx",closeText:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_4__.a,{style:{color:"red"}},"3秒后关闭左弹窗")})}},"bottom")),height:"60vh"})}},"bottom")),onHide:function onHide(){_toast__WEBPACK_IMPORTED_MODULE_5__.a.tip("检测到弹窗关闭了,看要做什么回调")},height:"60vh"})}},"bottom"),"1"),height:"60vh"})}},"bottom")};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\n\nimport { Popup, PopupV1 as TempPopupV1 } from './'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport { Text } from '../text'\nimport { Toast } from '../toast'\nexport const normal = () => {\n return (\n \n {\n Popup.render({\n left: true,\n children: (\n \n adsfas\n \n ),\n onHide: Popup.hide,\n })\n }}\n >\n left\n \n {\n Popup.render({\n right: true,\n children: lala,\n onHide: Popup.hide,\n })\n }}\n >\n right\n \n {\n Popup.render({\n bottom: true,\n children: lala,\n onHide: Popup.hide,\n })\n }}\n >\n bottom\n \n {\n Popup.render({\n style: {\n top: '50%',\n left: '50%',\n marginTop: '-200px',\n marginLeft: '-150px',\n width: '300px',\n height: '400px',\n },\n children: center,\n disabledHeader: true,\n onHide: Popup.hide,\n })\n }}\n >\n center\n \n \n )\n}\n\nexport const title = () => {\n return (\n {\n Popup.render({\n title: '啦啦啦',\n bottom: true,\n children: lala,\n onHide: Popup.hide,\n })\n }}\n >\n bottom\n \n )\n}\nexport const PopupV1 = () => {\n return (\n {\n TempPopupV1.render({\n title:\n '啦啦啦1(加了headerClassName: m-flex-justify-center m-bg-back)',\n headerClassName: 'm-flex-justify-center m-bg-back',\n titleCenter: true,\n bottom: true,\n children: (\n \n {\n TempPopupV1.render({\n title: '啦啦啦2',\n bottom: true,\n children: (\n \n 点击关闭会提示【检测到弹窗关闭了,看要做什么回调】\n {\n TempPopupV1.render({\n title: '啦啦啦3',\n bottom: true,\n children: (\n \n {\n const hdeId4 = TempPopupV1.render({\n title: '啦啦啦4',\n left: true,\n children: (\n {\n TempPopupV1.render({\n title: '啦啦啦5',\n right: true,\n children: (\n \n 关闭左弹框\n \n ),\n // onHide: Popup.hide,\n height: '60vh',\n className: 'xxxx',\n closeText: (\n \n 关闭\n \n ),\n })\n }}\n >\n 打开右弹框\n \n ),\n onHide: () =>\n new Promise((resolve) => {\n setTimeout(resolve, 3000)\n }),\n height: '60vh',\n className: 'xxxx',\n closeText: (\n \n 3秒后关闭左弹窗\n \n ),\n })\n }}\n >\n bottom\n \n \n ),\n height: '60vh',\n })\n }}\n >\n bottom\n \n \n ),\n onHide: () => {\n Toast.tip('检测到弹窗关闭了,看要做什么回调')\n },\n height: '60vh',\n })\n }}\n >\n bottom\n \n 1\n \n ),\n height: '60vh',\n })\n }}\n >\n bottom\n \n )\n}\nexport default {\n title: '浮层/Popup',\n component: Popup,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:8},endLoc:{col:1,line:69},startBody:{col:22,line:8},endBody:{col:1,line:69}},title:{startLoc:{col:21,line:71},endLoc:{col:1,line:86},startBody:{col:21,line:71},endBody:{col:1,line:86}},"popup-v-1":{startLoc:{col:23,line:87},endLoc:{col:1,line:195},startBody:{col:23,line:87},endBody:{col:1,line:195}}}}},title:"浮层/Popup",component:___WEBPACK_IMPORTED_MODULE_1__.a}},3109:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_price__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(259),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"说明:",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null),"货币符号相关方法: setCurrency, setCurrencyList, getCurrency",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null),"单位相关方法: setUnit, getUnit",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null),"定义金额展示: format"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"normal形式",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-margin-5"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_price__WEBPACK_IMPORTED_MODULE_1__.a,{value:100})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-margin-5"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_price__WEBPACK_IMPORTED_MODULE_1__.a,{currencyScale:.8,value:-12314})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-margin-5"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_price__WEBPACK_IMPORTED_MODULE_1__.a,{isFenUnit:!0,value:12345.678})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-margin-5"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_price__WEBPACK_IMPORTED_MODULE_1__.a,{value:125345.6478,precision:3})),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"format -- 保留几位小数展示"),_price__WEBPACK_IMPORTED_MODULE_1__.a.format(-8132789.5404))))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\n\nimport Price from './price'\nimport { View } from '../view'\n\nexport const normal = () => {\n return (\n \n \n 说明:\n \n 货币符号相关方法: setCurrency, setCurrencyList, getCurrency\n \n 单位相关方法: setUnit, getUnit\n \n 定义金额展示: format\n \n \n normal形式\n \n \n \n \n \n \n \n \n \n \n \n \n \n format -- 保留几位小数展示\n {Price.format(-8132789.5404)}\n \n \n \n )\n}\n\nexport default {\n title: '基础/Price',\n component: Price,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:6},endLoc:{col:1,line:39},startBody:{col:22,line:6},endBody:{col:1,line:39}}}}},title:"基础/Price",component:_price__WEBPACK_IMPORTED_MODULE_1__.a}},3110:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),mobx__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),_radio__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(407),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),store=Object(mobx__WEBPACK_IMPORTED_MODULE_1__.l)({checked:!0,setChecked:function setChecked(v){this.checked=v}}),Normal=function Normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_radio__WEBPACK_IMPORTED_MODULE_2__.a,{checked:store.checked},"选择"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_radio__WEBPACK_IMPORTED_MODULE_2__.a,{checked:store.checked,disabled:!0},"选择"))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { observable } from 'mobx'\n\nimport Radio from './radio'\nimport { View } from '../view'\n\nconst store = observable({\n checked: true,\n setChecked(v: boolean) {\n this.checked = v\n },\n})\n\nexport const Normal = () => {\n return (\n \n 选择\n \n 选择\n \n \n )\n}\n\nexport default {\n title: '表单/Radio',\n component: Radio,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:14},endLoc:{col:1,line:23},startBody:{col:22,line:14},endBody:{col:1,line:23}}}}},title:"表单/Radio",component:_radio__WEBPACK_IMPORTED_MODULE_2__.a}},3111:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_repeat_times__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(537),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),Normal=function Normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_repeat_times__WEBPACK_IMPORTED_MODULE_1__.a,{onRepeat:function onRepeat(){console.log("hello")}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"点我5次"))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport RepeatTimes from './repeat_times'\nimport { View } from '../view'\n\nexport const Normal = () => {\n return (\n {\n console.log('hello')\n }}\n >\n 点我5次\n \n )\n}\n\nexport default {\n title: '其他/RepeatTimes',\n component: RepeatTimes,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:15},startBody:{col:22,line:5},endBody:{col:1,line:15}}}}},title:"其他/RepeatTimes",component:_repeat_times__WEBPACK_IMPORTED_MODULE_1__.a}},3112:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(12),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_scroll_into_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(534),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),Normal=function Normal(){var _useState=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(""),_useState2=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useState,2),scrollId=_useState2[0],setScrollId=_useState2[1];return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){setScrollId("gg")}),[]),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,"滑动到bbb处",react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_scroll_into_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{height:"100px",overflowY:"auto"},targetId:scrollId},react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"aa"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"bb"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"cc"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"dd"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"ee"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"ff"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"gg"},"bbb"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"hh"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"ii"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"jj"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"kk"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"ll"},"aaa"),react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,{id:"mm"},"aaa")))};__webpack_exports__.default={parameters:{storySource:{source:"import React, { useState, useEffect } from 'react'\nimport ScrollIntoView from './scroll_into_view'\nimport { View } from '../view'\n\nexport const Normal = () => {\n const [scrollId, setScrollId] = useState('')\n\n useEffect(() => {\n setScrollId('gg')\n }, [])\n\n return (\n \n 滑动到bbb处\n \n aaa\n aaa\n aaa\n aaa\n aaa\n aaa\n bbb\n aaa\n aaa\n aaa\n aaa\n aaa\n aaa\n \n \n )\n}\n\nexport default {\n title: '其他/ScrollIntoView',\n component: ScrollIntoView,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:35},startBody:{col:22,line:5},endBody:{col:1,line:35}}}}},title:"其他/ScrollIntoView",component:_scroll_into_view__WEBPACK_IMPORTED_MODULE_2__.a}},3113:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal})),__webpack_require__.d(__webpack_exports__,"cancel",(function(){return cancel})),__webpack_require__.d(__webpack_exports__,"fakeSearch",(function(){return fakeSearch})),__webpack_require__.d(__webpack_exports__,"searchPage",(function(){return searchPage}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_search__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(289),_page__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(749),_fake_search__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(408),_flex__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(15),_view__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_button__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(18),mobx__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(16),store=Object(mobx__WEBPACK_IMPORTED_MODULE_7__.l)({value:"",searchValue:"",active:!1,setValue:function setValue(value){this.value=value},setActive:function setActive(active){this.active=active},setSearchValue:function setSearchValue(value){this.searchValue=value}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,"带搜索按钮 (一般一个路由承载的搜索页)"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_search__WEBPACK_IMPORTED_MODULE_1__.a,{placeholder:"在站内搜索",value:store.value,autoFocus:!0,onChange:function onChange(value){return store.setValue(value)},onSearch:function onSearch(value){return console.log("搜索拉",value)}})))},cancel=function cancel(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,"带取消按钮(点Header的搜索按钮)"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_search__WEBPACK_IMPORTED_MODULE_1__.a,{type:"cancel",placeholder:"在站内搜索",value:store.value,onChange:function onChange(value){return store.setValue(value)},onCancel:function onCancel(){return console.log("cancel")}})))},fakeSearch=function fakeSearch(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_fake_search__WEBPACK_IMPORTED_MODULE_3__.a,{placeholder:"站内搜索",className:"text-center",onClick:function onClick(){}}),"center",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_fake_search__WEBPACK_IMPORTED_MODULE_3__.a,{center:!0}),"light",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_fake_search__WEBPACK_IMPORTED_MODULE_3__.a,{light:!0}))},searchPage=function searchPage(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_page__WEBPACK_IMPORTED_MODULE_2__.a,{header:react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_flex__WEBPACK_IMPORTED_MODULE_4__.a,{justifyBetween:!0,className:"m-bg-primary m-padding-lr-15",style:{height:"50px",lineHeight:"50px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,{className:"m-text-white"},"返回"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,{className:"m-text-white m-cursor-pointer",onClick:function onClick(){store.setActive(!0),store.setValue(""),store.setSearchValue("")}},"搜索")),active:store.active,value:store.value,onChange:function onChange(value){return store.setValue(value)},onSearch:function onSearch(){console.log("搜索拉"),store.setSearchValue(store.value)},onCancel:function onCancel(){console.log(store.searchValue),store.setActive(!1),store.setValue(store.searchValue)}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_5__.a,null,"输入框值:",store.value,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("br",null),"搜索值:",store.searchValue,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("br",null),"历史搜索:",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_6__.a,{onClick:function onClick(){store.setActive(!0),store.setValue("青菜"),store.setSearchValue("青菜")}},"青菜"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_button__WEBPACK_IMPORTED_MODULE_6__.a,{onClick:function onClick(){store.setActive(!0),store.setValue("黄瓜"),store.setSearchValue("黄瓜")}},"黄瓜")))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Search from './search'\nimport SearchPage from './page'\nimport FakeSearch from './fake_search'\nimport { Flex } from '../flex'\nimport { View } from '../view'\nimport { Button } from '../button'\nimport { observable } from 'mobx'\n\nconst store = observable({\n value: '',\n searchValue: '', // 搜索结果用的值\n active: false,\n setValue(value: string) {\n this.value = value\n },\n setActive(active: boolean) {\n this.active = active\n },\n setSearchValue(value: string) {\n this.searchValue = value\n },\n})\n\nexport const normal = () => {\n return (\n \n 带搜索按钮 (一般一个路由承载的搜索页)\n \n store.setValue(value)}\n onSearch={(value) => console.log('搜索拉', value)}\n />\n \n \n )\n}\n\nexport const cancel = () => {\n return (\n \n 带取消按钮(点Header的搜索按钮)\n \n store.setValue(value)}\n onCancel={() => console.log('cancel')}\n />\n \n \n )\n}\n\nexport const fakeSearch = () => {\n return (\n \n {}}\n />\n center\n \n light\n \n \n )\n}\n\nexport const searchPage = () => {\n return (\n \n 返回\n {\n // 同时初始化下搜索数据\n store.setActive(true)\n store.setValue('')\n store.setSearchValue('')\n }}\n >\n 搜索\n \n \n }\n active={store.active}\n value={store.value}\n onChange={(value) => store.setValue(value)}\n onSearch={() => {\n console.log('搜索拉')\n store.setSearchValue(store.value)\n }}\n onCancel={() => {\n console.log(store.searchValue)\n store.setActive(false)\n store.setValue(store.searchValue)\n }}\n >\n \n 输入框值:{store.value}\n
\n 搜索值:{store.searchValue}\n
\n 历史搜索:\n {\n store.setActive(true)\n store.setValue('青菜')\n store.setSearchValue('青菜')\n }}\n >\n 青菜\n \n {\n store.setActive(true)\n store.setValue('黄瓜')\n store.setSearchValue('黄瓜')\n }}\n >\n 黄瓜\n \n
\n \n )\n}\n\nexport default {\n title: '其他/Search',\n component: Search,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:25},endLoc:{col:1,line:40},startBody:{col:22,line:25},endBody:{col:1,line:40}},cancel:{startLoc:{col:22,line:42},endLoc:{col:1,line:57},startBody:{col:22,line:42},endBody:{col:1,line:57}},"fake-search":{startLoc:{col:26,line:59},endLoc:{col:1,line:73},startBody:{col:26,line:59},endBody:{col:1,line:73}},"search-page":{startLoc:{col:26,line:75},endLoc:{col:1,line:141},startBody:{col:26,line:75},endBody:{col:1,line:141}}}}},title:"其他/Search",component:_search__WEBPACK_IMPORTED_MODULE_1__.a}},3114:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_square__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(535),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),Normal=function Normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{width:"50%"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_square__WEBPACK_IMPORTED_MODULE_1__.a,{className:"m-bg-white"}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Square from './square'\n\nimport { View } from '../view'\n\nexport const Normal = () => {\n return (\n \n \n \n )\n}\n\nexport default {\n title: '布局/Square',\n component: Square,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:6},endLoc:{col:1,line:12},startBody:{col:22,line:6},endBody:{col:1,line:12}}}}},title:"布局/Square",component:_square__WEBPACK_IMPORTED_MODULE_1__.a}},3115:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_status__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(339),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),Normal=function Normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_status__WEBPACK_IMPORTED_MODULE_1__.a,{type:"loading"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_status__WEBPACK_IMPORTED_MODULE_1__.a,{type:"error",onReload:function onReload(){console.log("reload")}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_status__WEBPACK_IMPORTED_MODULE_1__.a,{type:"empty"}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Status from './status'\nimport { View } from '../view'\n\nexport const Normal = () => {\n return (\n \n \n {\n console.log('reload')\n }}\n />\n \n \n )\n}\n\nexport default {\n title: '布局/Status',\n component: Status,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:5},endLoc:{col:1,line:18},startBody:{col:22,line:5},endBody:{col:1,line:18}}}}},title:"布局/Status",component:_status__WEBPACK_IMPORTED_MODULE_1__.a}},3116:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_Switch__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(338),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({checked:!1,setChecked:function setChecked(checked){this.checked=checked}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Switch__WEBPACK_IMPORTED_MODULE_1__.a,{checked:store.checked,onChange:function onChange(){store.setChecked(!store.checked)}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Switch__WEBPACK_IMPORTED_MODULE_1__.a,{checked:!store.checked,onChange:function onChange(){store.setChecked(store.checked)}}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Switch__WEBPACK_IMPORTED_MODULE_1__.a,{disabled:!0,checked:!store.checked,onChange:function onChange(){store.setChecked(!store.checked)}}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport Switch from './Switch'\nimport { observable } from 'mobx'\nimport { View } from '../view'\n\nconst store = observable({\n checked: false,\n setChecked(checked: boolean) {\n this.checked = checked\n },\n})\n\nexport const normal = () => {\n return (\n \n {\n store.setChecked(!store.checked)\n }}\n />\n {\n store.setChecked(store.checked)\n }}\n />\n\n {\n store.setChecked(!store.checked)\n }}\n />\n \n )\n}\n\nexport default {\n title: '表单/Switch',\n component: Switch,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:13},endLoc:{col:1,line:38},startBody:{col:22,line:13},endBody:{col:1,line:38}}}}},title:"表单/Switch",component:_Switch__WEBPACK_IMPORTED_MODULE_1__.a}},3117:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),mobx__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),_tabs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(340),tabsList=[{value:"a",text:"模块一"},{value:"b",text:"模块二"},{value:"c",text:"模块三"}],defaultStore=Object(mobx__WEBPACK_IMPORTED_MODULE_1__.l)({active:"a",setActiveTab:function setActiveTab(index){this.active=index}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-padding-10",style:{height:"300px"}},"default",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_tabs__WEBPACK_IMPORTED_MODULE_3__.a,{active:defaultStore.active,tabs:tabsList,onChange:function onChange(index){return defaultStore.setActiveTab(index)}}),"label",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{className:"m-bg-back m-padding-tb-10"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_tabs__WEBPACK_IMPORTED_MODULE_3__.a,{active:defaultStore.active,tabs:tabsList,onChange:function onChange(index){return defaultStore.setActiveTab(index)},type:"label"})),"capsule",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_tabs__WEBPACK_IMPORTED_MODULE_3__.a,{active:defaultStore.active,tabs:tabsList,onChange:function onChange(index){return defaultStore.setActiveTab(index)},type:"capsule"}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { observable } from 'mobx'\nimport { View } from '../view'\n\nimport Tabs from './tabs'\n\nconst store = {\n active: 'a',\n setActiveTab(index: string) {\n this.active = index\n },\n}\n\nconst tabsList = [\n { value: 'a', text: '模块一' },\n { value: 'b', text: '模块二' },\n { value: 'c', text: '模块三' },\n]\nconst defaultStore = observable(store)\n\nexport const normal = () => {\n return (\n \n default\n defaultStore.setActiveTab(index)}\n />\n label\n \n defaultStore.setActiveTab(index)}\n type='label'\n />\n \n capsule\n defaultStore.setActiveTab(index)}\n type='capsule'\n />\n \n )\n}\n\nexport default {\n title: '布局/Tabs',\n component: Tabs,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:21},endLoc:{col:1,line:48},startBody:{col:22,line:21},endBody:{col:1,line:48}}}}},title:"布局/Tabs",component:_tabs__WEBPACK_IMPORTED_MODULE_3__.a}},3118:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Normal",(function(){return Normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_tag_wrap__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(533),_view__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),Normal=function Normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,{style:{width:"100px"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_tag_wrap__WEBPACK_IMPORTED_MODULE_1__.a,{tag:"这是tag这是这是这是"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"ssfafasfa"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"ssfafasfa"),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_2__.a,null,"ssfafasfa")))))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport TagWrap from './tag_wrap'\n\nimport { View } from '../view'\n\nexport const Normal = () => {\n return (\n \n \n \n \n ssfafasfa\n ssfafasfa\n ssfafasfa\n \n \n \n \n )\n}\n\nexport default {\n title: '基础/Tag',\n component: TagWrap,\n}\n",locationsMap:{normal:{startLoc:{col:22,line:6},endLoc:{col:1,line:20},startBody:{col:22,line:6},endBody:{col:1,line:20}}}}},title:"基础/Tag",component:_tag_wrap__WEBPACK_IMPORTED_MODULE_1__.a}},3119:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Usage",(function(){return Usage})),__webpack_require__.d(__webpack_exports__,"MultiLine",(function(){return MultiLine})),__webpack_require__.d(__webpack_exports__,"Background",(function(){return Background})),__webpack_require__.d(__webpack_exports__,"Outlined",(function(){return Outlined})),__webpack_require__.d(__webpack_exports__,"Number",(function(){return Number})),__webpack_require__.d(__webpack_exports__,"WithButton",(function(){return WithButton})),__webpack_require__.d(__webpack_exports__,"Misc",(function(){return Misc})),__webpack_require__.d(__webpack_exports__,"Search",(function(){return Search}));var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(14),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(12),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__),react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__),___WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(258),_text_text__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(405),_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(18),_view__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1),_page__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(118);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i = ({ value, ...rest }) => {\n const [state, setState] = useState({\n value: '',\n })\n const handleInput = (e: any) => {\n setState({ ...state, value: e.target.value })\n }\n return \n}\n\nexport const Usage = Template.bind({})\nUsage.args = {\n prefix: '用户名: ',\n right: '×',\n bottomLined: true,\n errClassName: 'm-text-right',\n}\n\nexport const MultiLine = Template.bind({})\nMultiLine.args = {\n ...Usage.args,\n multiLines: true,\n prefix: 备注,\n}\n\nexport const Background = Template.bind({})\nBackground.args = {\n ...Usage.args,\n bottomLined: false,\n className: 'm-bg-light m-padding-lr-5',\n}\n\nexport const Outlined = Template.bind({})\nOutlined.args = {\n outlined: true,\n left: 密码:,\n type: 'password',\n right: Usage.args.suffix,\n placeholder: '请输入内容...',\n}\n\nexport const Number = Template.bind({})\nNumber.args = {\n bottomLined: true,\n placeholder: 'number',\n type: 'number',\n left: min:0,\n right: max:100,\n min: 0,\n max: 100,\n}\n\nexport const WithButton = Template.bind({})\nWithButton.args = {\n large: true,\n value: '9527',\n outlined: true,\n width: '300px',\n right: (\n new Promise((resolve) => setTimeout(resolve, 3000))}\n >\n 获取验证码\n \n ),\n}\n\nexport const Misc = Template.bind({})\nMisc.args = {\n placeholder: '请输入密码',\n value: '',\n type: 'password',\n outlined: true,\n err: '密码不能为空',\n}\n\nexport const Search = () => {\n return (\n \n }\n value=''\n />\n
\n }\n >\n page\n \n )\n}\n\nexport default {\n title: '表单/TextField',\n component: TextField,\n parameters: {\n docs: {\n source: {\n type: 'dynamic',\n },\n },\n },\n} as Meta\n",locationsMap:{usage:{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},"multi-line":{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},background:{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},outlined:{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},number:{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},"with-button":{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},misc:{startLoc:{col:40,line:10},endLoc:{col:1,line:18},startBody:{col:40,line:10},endBody:{col:1,line:18}},search:{startLoc:{col:22,line:87},endLoc:{col:1,line:108},startBody:{col:22,line:87},endBody:{col:1,line:108}}}},docs:{source:{type:"dynamic"}}}}},3120:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"normal",(function(){return normal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),___WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(152),mobx__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(16),_view__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),store=Object(mobx__WEBPACK_IMPORTED_MODULE_2__.l)({value:"",setValue:function setValue(value){this.value=value}}),normal=function normal(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_view__WEBPACK_IMPORTED_MODULE_3__.a,null,react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)}}),"不可用",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{disabled:!0,value:"不可用状态"}),"显示剩余字数",react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(___WEBPACK_IMPORTED_MODULE_1__.a,{maxLength:100,value:store.value,onChange:function onChange(e){return store.setValue(e.target.value)}}))};__webpack_exports__.default={parameters:{storySource:{source:"import React from 'react'\nimport { Textarea } from './'\nimport { observable } from 'mobx'\nimport { View } from '../view'\n\nconst store = observable({\n value: '',\n setValue(value: string) {\n this.value = value\n },\n})\n\nexport const normal = () => {\n return (\n \n store.setValue(e.target.value)}\n />\n 不可用\n