@ozdao/prometheus-framework 0.2.30 → 0.2.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/addMembersQuantity-3505b6f3.mjs +98 -0
- package/dist/addMembersQuantity-fb552ca0.js +97 -0
- package/dist/auth.server.js +6 -9
- package/dist/auth.server.mjs +6 -9
- package/dist/community.server.js +28 -21
- package/dist/community.server.mjs +28 -21
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +114 -111
- package/dist/files.server.mjs +114 -111
- package/dist/gallery.server.js +3 -3
- package/dist/gallery.server.mjs +3 -3
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/index-a8dffc0c.js +213 -0
- package/dist/index-d769324d.mjs +214 -0
- package/dist/mailing-37c2ba41.mjs +68 -0
- package/dist/mailing-fe16a26a.js +67 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
- package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
- package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
- package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
- package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
- package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/abi.js +5 -10
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +53 -57
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
- package/dist/organizations.server.js +125 -25
- package/dist/organizations.server.mjs +125 -25
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +90 -47
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +105 -41
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +108 -94
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +106 -85
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +31 -34
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +85 -79
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +55 -169
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +48 -59
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +173 -94
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +27 -20
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +67 -63
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +73 -44
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +246 -102
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +56 -7
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +82 -65
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +89 -94
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +80 -71
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
- package/dist/prometheus-framework.cjs.js +30 -29
- package/dist/prometheus-framework.es.js +2478 -2282
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +1 -1
- package/dist/users.server.mjs +1 -1
- package/package.json +4 -2
- package/src/assets/images/logo.svg +7 -7
- package/src/components/Block/Block.vue +77 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +2 -2
- package/src/components/Button/Button.vue +32 -227
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Chips/Chips.vue +8 -8
- package/src/components/DatePicker/DatePicker.vue +3 -4
- package/src/components/EditImages/EditImages.vue +32 -14
- package/src/{modules/globals/components/sections → components/Feed}/Feed.vue +60 -45
- package/src/components/FieldBig/FieldBig.vue +16 -5
- package/src/components/FieldPhone/FieldPhone.vue +2 -1
- package/src/components/Footer/Footer.vue +36 -27
- package/src/components/Header/Header.vue +161 -166
- package/src/components/Loader/Loader.vue +9 -2
- package/src/components/LocationMarker/LocationMarker.vue +38 -12
- package/src/components/LocationSelection/LocationSelection.vue +67 -75
- package/src/components/Magnifier/Magnifier.vue +3 -3
- package/src/components/Navigation/Navigation.vue +16 -16
- package/src/components/Popup/Popup.vue +8 -6
- package/src/components/Select/Select.vue +35 -6
- package/src/components/SelectMulti/SelectMulti.vue +5 -13
- package/src/components/Shader/Shader.vue +128 -0
- package/src/components/Sidebar/Sidebar.vue +71 -35
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Tab/Tab.vue +1 -1
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +4 -4
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +54 -10
- package/src/modules/applications/controllers/applications.controller.js +0 -1
- package/src/modules/auth/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +3 -3
- package/src/modules/auth/components/pages/ResetPassword.vue +1 -2
- package/src/modules/auth/components/pages/SignIn.vue +26 -10
- package/src/modules/auth/components/pages/SignUp.vue +1 -2
- package/src/modules/auth/controllers/twofa.controller.js +4 -4
- package/src/modules/auth/localization/EnterCode.json +2 -2
- package/src/modules/auth/localization/EnterPassword.json +2 -2
- package/src/modules/auth/localization/ResetPassword.json +2 -2
- package/src/modules/auth/localization/SignIn.json +3 -3
- package/src/modules/auth/localization/SignUp.json +3 -3
- package/src/modules/auth/utils/server/verifyAppleIdToken.js +0 -1
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +171 -120
- package/src/modules/backoffice/router/backoffice.js +119 -129
- package/src/modules/chats/components/blocks/ChatMessage.vue +25 -0
- package/src/modules/chats/components/pages/ChatPage.vue +50 -0
- package/src/modules/chats/components/sections/ChatWindow.vue +38 -0
- package/src/modules/chats/controllers/chats.controller.js +32 -0
- package/src/modules/chats/models/chat.model.js +26 -0
- package/src/modules/chats/routes/chats.routes.js +53 -0
- package/src/modules/chats/store/chat.store.js +61 -0
- package/src/modules/community/components/blocks/CardBlogpost.vue +19 -4
- package/src/modules/community/components/layouts/Community.vue +96 -39
- package/src/modules/community/components/pages/Blog.vue +4 -3
- package/src/modules/community/components/pages/BlogPost.vue +10 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +36 -17
- package/src/modules/community/components/sections/HotPosts.vue +3 -3
- package/src/modules/community/components/sections/JoinUs.vue +19 -13
- package/src/modules/community/controllers/blog.controller.js +3 -4
- package/src/modules/community/controllers/utils/queryProcessor.js +16 -17
- package/src/modules/community/models/blogpost.model.js +6 -3
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +12 -1
- package/src/modules/constructor/components/elements/ImageUpload.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +6 -1
- package/src/modules/constructor/components/elements/Video.vue +79 -0
- package/src/modules/constructor/components/elements/VideoPlayer.vue +59 -0
- package/src/modules/constructor/components/elements/Youtube.vue +52 -0
- package/src/modules/constructor/components/sections/Constructor.vue +27 -3
- package/src/modules/events/components/layouts/layoutEvents.vue +7 -28
- package/src/modules/files/controllers/files.controller.js +9 -22
- package/src/modules/files/middlewares/server/index.js +2 -2
- package/src/modules/files/middlewares/server/middlewareBusboy.js +137 -0
- package/src/modules/files/routes/files.routes.js +9 -9
- package/src/modules/globals/localization/vue-i18n.js +8 -1
- package/src/modules/globals/mixins/mixins.js +23 -13
- package/src/modules/globals/router/routerGuards.js +2 -2
- package/src/modules/globals/store/globals.js +86 -9
- package/src/modules/globals/utils/mailing.js +24 -3
- package/src/modules/icons/entities/IconCommunity.vue +4 -4
- package/src/modules/icons/entities/IconEvents.vue +1 -1
- package/src/modules/icons/entities/IconGroups.vue +1 -1
- package/src/modules/icons/entities/IconPrice.vue +5 -0
- package/src/modules/icons/entities/IconProfile.vue +5 -0
- package/src/modules/icons/entities/IconShopcart.vue +5 -0
- package/src/modules/icons/entities/IconTime.vue +5 -0
- package/src/modules/icons/icons.client.js +4 -0
- package/src/modules/icons/labels/LabelAppStore.vue +24 -24
- package/src/modules/icons/labels/LabelGooglePlay.vue +9 -9
- package/src/modules/icons/logos/Logotype.vue +20 -0
- package/src/modules/icons/navigation/IconAdd.vue +17 -0
- package/src/modules/icons/navigation/IconChevronBottom.vue +18 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +3 -3
- package/src/modules/icons/navigation/IconDelete.vue +19 -0
- package/src/modules/icons/navigation/IconMinus.vue +15 -0
- package/src/modules/icons/navigation/IconSearch.vue +17 -0
- package/src/modules/icons/navigation/IconUpload.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderImage.vue +5 -0
- package/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue +20 -0
- package/src/modules/icons/placeholders/PlaceholderUserpic.vue +4 -18
- package/src/modules/icons/socials/instagram.vue +1 -1
- package/src/modules/icons/socials/line.vue +1 -1
- package/src/modules/icons/socials/reddit.vue +1 -1
- package/src/modules/icons/socials/telegram.vue +1 -1
- package/src/modules/icons/socials/twitter.vue +1 -1
- package/src/modules/icons/socials/youtube.vue +1 -1
- package/src/modules/landing/components/sections/Guide.vue +92 -0
- package/src/modules/landing/components/sections/MobileApp.vue +23 -12
- package/src/modules/marketplace/components/layouts/Marketplace.vue +76 -188
- package/src/modules/marketplace/components/pages/Catalog.vue +65 -119
- package/src/modules/marketplace/components/sections/Filters.vue +195 -0
- package/src/modules/marketplace/store/marketplace.js +2 -2
- package/src/modules/middlewares/client/auth.validation.js +0 -6
- package/src/modules/middlewares/client/states.validation.js +2 -8
- package/src/modules/middlewares/server/authJwt.js +1 -1
- package/src/modules/mobile/components/Menu/MenuItem.vue +3 -6
- package/src/modules/openai/controllers/openai.controller.js +0 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +166 -0
- package/src/modules/orders/components/blocks/CardOrderItem.vue +59 -66
- package/src/modules/orders/components/blocks/Positions.vue +4 -4
- package/src/modules/orders/components/pages/EditOrder.vue +78 -142
- package/src/modules/orders/components/pages/FormOrder.vue +192 -0
- package/src/modules/orders/components/pages/Order.vue +326 -120
- package/src/modules/orders/components/pages/Orders.vue +11 -11
- package/src/modules/orders/components/pages/{ViewOrder.vue → Orders_refact.vue} +13 -10
- package/src/modules/orders/components/partials/ShopCart.vue +22 -13
- package/src/modules/orders/components/sections/EmptyState.vue +1 -1
- package/src/modules/orders/components/sections/{Form.vue → FormOrderDetails.vue} +38 -106
- package/src/modules/orders/controllers/orders.controller.js +37 -28
- package/src/modules/orders/models/order.model.js +39 -9
- package/src/modules/orders/router/orders.router.js +23 -2
- package/src/modules/orders/routes/orders.routes.js +14 -17
- package/src/modules/orders/store/orders.js +24 -9
- package/src/modules/orders/store/shopcart.js +20 -19
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +98 -46
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/blocks/Socials.vue +11 -3
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +4 -4
- package/src/modules/organizations/components/pages/Members.vue +6 -4
- package/src/modules/organizations/components/pages/Organization.vue +120 -49
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +8 -1
- package/src/modules/organizations/components/pages/Organizations.vue +27 -6
- package/src/modules/organizations/components/sections/DetailsTab.vue +11 -9
- package/src/modules/organizations/components/sections/Feed.vue +0 -3
- package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
- package/src/modules/organizations/controllers/organizations.controller.js +126 -15
- package/src/modules/organizations/controllers/utils/addMembersQuantity.js +19 -9
- package/src/modules/organizations/models/organization.model.js +5 -2
- package/src/modules/organizations/router/members.router.js +1 -3
- package/src/modules/organizations/router/organizations.js +8 -6
- package/src/modules/organizations/router/products.router.js +36 -2
- package/src/modules/organizations/store/organizations.js +38 -84
- package/src/modules/pages/controllers/pages.controller.js +0 -4
- package/src/modules/payments/controller/payments.controller.js +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +17 -22
- package/src/modules/products/components/blocks/CardPosition.vue +96 -49
- package/src/modules/products/components/blocks/CardProduct.vue +24 -53
- package/src/modules/products/components/blocks/Images360.vue +4 -4
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +2 -7
- package/src/modules/products/components/blocks/ListPositions.vue +74 -0
- package/src/modules/products/components/elements/Price.vue +11 -5
- package/src/modules/products/components/elements/THC.vue +6 -6
- package/src/modules/products/components/pages/{LeftoverAdd.vue → EditLeftover.vue} +93 -79
- package/src/modules/products/components/pages/Leftovers.vue +74 -70
- package/src/modules/products/components/pages/Product.vue +4 -7
- package/src/modules/products/components/pages/ProductEdit.vue +230 -88
- package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +6 -3
- package/src/modules/products/components/pages/ProductsBackoffice.vue +3 -5
- package/src/modules/products/components/sections/EditModifications.vue +3 -3
- package/src/modules/products/components/sections/EditProductInfo.vue +40 -50
- package/src/modules/products/components/sections/FilterProducts.vue +56 -18
- package/src/modules/products/components/sections/HeroRecommendation.vue +233 -99
- package/src/modules/products/components/sections/MenuSection.vue +127 -0
- package/src/modules/products/components/sections/PopularProducts.vue +81 -37
- package/src/modules/products/components/sections/SectionProduct.vue +21 -23
- package/src/modules/products/controllers/leftovers.controller.js +11 -1
- package/src/modules/products/controllers/products.controller.js +100 -97
- package/src/modules/products/models/leftover.model.js +6 -4
- package/src/modules/products/models/product.model.js +13 -1
- package/src/modules/products/routes/products.routes.js +4 -4
- package/src/modules/products/store/leftovers.js +4 -24
- package/src/modules/products/store/products.js +44 -30
- package/src/modules/spots/components/blocks/CardSpot.vue +43 -72
- package/src/modules/spots/components/layouts/Spots.vue +9 -91
- package/src/modules/spots/components/pages/Map.vue +171 -62
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +131 -174
- package/src/modules/spots/controllers/spots.controller.js +1 -0
- package/src/modules/spots/models/spot.model.js +6 -3
- package/src/modules/spots/store/spots.js +42 -48
- package/src/modules/users/components/pages/Profile.vue +6 -28
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +1 -1
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +1 -1
- package/src/modules/users/router/users.js +1 -1
- package/src/modules/wallet/components/pages/Wallet.vue +104 -109
- package/src/modules/wallet/controllers/crypto.controller.js +129 -0
- package/src/modules/wallet/models/reward.model.js +53 -0
- package/src/modules/wallet/routes/crypto.routes.js +36 -0
- package/src/modules/wallet/store/wallet.js +52 -49
- package/src/styles/base/all.scss +143 -11
- package/src/styles/base/backgrounds.scss +2 -34
- package/src/styles/base/borders.scss +18 -23
- package/src/styles/base/scrolling.scss +97 -29
- package/src/styles/base/{shadows.scss → shadow_transitions_hover_refactor.scss} +55 -2
- package/src/styles/config.scss +69 -17
- package/src/styles/layout.scss +12 -182
- package/src/styles/reset.scss +20 -21
- package/src/styles/responsive.scss +4 -67
- package/src/styles/theme.scss +3 -4
- package/src/styles/typography.scss +15 -17
- package/src/assets/fonts/AvenirNext-Bold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-DemiBold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Heavy.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Medium.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Regular.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-UltraLight.woff2 +0 -0
- package/src/modules/files/middlewares/server/md.js +0 -152
- package/src/modules/files/middlewares/server/middlewareMulter.js +0 -121
- package/src/modules/organizations/controllers/organizations.new.controller.js +0 -372
- package/src/modules/products/components/blocks/EditCategories.vue +0 -68
- package/src/modules/products/components/sections/EditParameters.vue +0 -58
- package/src/modules/products/components/sections/EditProductImages.vue +0 -67
- package/src/modules/spots/components/sections/Feed.vue +0 -64
- package/src/styles/base/border-radius.scss +0 -47
- package/src/styles/base/cursors.scss +0 -23
- package/src/styles/base/height.scss +0 -60
- package/src/styles/base/hovers.scss +0 -110
- package/src/styles/base/positions.scss +0 -192
- package/src/styles/base/transitions.scss +0 -137
- package/src/styles/base/width.scss +0 -2
- package/src/styles/components/block.scss +0 -18
- package/src/styles/components/breadcrumbs.scss +0 -0
- package/src/styles/components/input.scss +0 -319
@@ -0,0 +1,1202 @@
|
|
1
|
+
function bt(t) {
|
2
|
+
return typeof t == "number";
|
3
|
+
}
|
4
|
+
function xt(t) {
|
5
|
+
return typeof t == "string";
|
6
|
+
}
|
7
|
+
function Lt(t) {
|
8
|
+
return typeof t == "boolean";
|
9
|
+
}
|
10
|
+
function Pt(t) {
|
11
|
+
return Object.prototype.toString.call(t) === "[object Object]";
|
12
|
+
}
|
13
|
+
function F(t) {
|
14
|
+
return Math.abs(t);
|
15
|
+
}
|
16
|
+
function Et(t) {
|
17
|
+
return Math.sign(t);
|
18
|
+
}
|
19
|
+
function ct(t, n) {
|
20
|
+
return F(t - n);
|
21
|
+
}
|
22
|
+
function $t(t, n) {
|
23
|
+
if (t === 0 || n === 0 || F(t) <= F(n))
|
24
|
+
return 0;
|
25
|
+
const r = ct(F(t), F(n));
|
26
|
+
return F(r / t);
|
27
|
+
}
|
28
|
+
function ut(t) {
|
29
|
+
return ft(t).map(Number);
|
30
|
+
}
|
31
|
+
function B(t) {
|
32
|
+
return t[lt(t)];
|
33
|
+
}
|
34
|
+
function lt(t) {
|
35
|
+
return Math.max(0, t.length - 1);
|
36
|
+
}
|
37
|
+
function It(t, n) {
|
38
|
+
return n === lt(t);
|
39
|
+
}
|
40
|
+
function Ot(t, n = 0) {
|
41
|
+
return Array.from(Array(t), (r, i) => n + i);
|
42
|
+
}
|
43
|
+
function ft(t) {
|
44
|
+
return Object.keys(t);
|
45
|
+
}
|
46
|
+
function wt(t, n) {
|
47
|
+
return [t, n].reduce((r, i) => (ft(i).forEach((c) => {
|
48
|
+
const o = r[c], e = i[c], u = Pt(o) && Pt(e);
|
49
|
+
r[c] = u ? wt(o, e) : e;
|
50
|
+
}), r), {});
|
51
|
+
}
|
52
|
+
function Ct(t, n) {
|
53
|
+
return typeof n.MouseEvent < "u" && t instanceof n.MouseEvent;
|
54
|
+
}
|
55
|
+
function Qt(t, n) {
|
56
|
+
const r = {
|
57
|
+
start: i,
|
58
|
+
center: c,
|
59
|
+
end: o
|
60
|
+
};
|
61
|
+
function i() {
|
62
|
+
return 0;
|
63
|
+
}
|
64
|
+
function c(s) {
|
65
|
+
return o(s) / 2;
|
66
|
+
}
|
67
|
+
function o(s) {
|
68
|
+
return n - s;
|
69
|
+
}
|
70
|
+
function e(s, a) {
|
71
|
+
return xt(t) ? r[t](s) : t(n, s, a);
|
72
|
+
}
|
73
|
+
return {
|
74
|
+
measure: e
|
75
|
+
};
|
76
|
+
}
|
77
|
+
function at() {
|
78
|
+
let t = [];
|
79
|
+
function n(c, o, e, u = {
|
80
|
+
passive: !0
|
81
|
+
}) {
|
82
|
+
let s;
|
83
|
+
if ("addEventListener" in c)
|
84
|
+
c.addEventListener(o, e, u), s = () => c.removeEventListener(o, e, u);
|
85
|
+
else {
|
86
|
+
const a = c;
|
87
|
+
a.addListener(e), s = () => a.removeListener(e);
|
88
|
+
}
|
89
|
+
return t.push(s), i;
|
90
|
+
}
|
91
|
+
function r() {
|
92
|
+
t = t.filter((c) => c());
|
93
|
+
}
|
94
|
+
const i = {
|
95
|
+
add: n,
|
96
|
+
clear: r
|
97
|
+
};
|
98
|
+
return i;
|
99
|
+
}
|
100
|
+
function Kt(t, n, r, i) {
|
101
|
+
const c = at(), o = 1e3 / 60;
|
102
|
+
let e = null, u = 0, s = 0;
|
103
|
+
function a() {
|
104
|
+
c.add(t, "visibilitychange", () => {
|
105
|
+
t.hidden && m();
|
106
|
+
});
|
107
|
+
}
|
108
|
+
function S() {
|
109
|
+
b(), c.clear();
|
110
|
+
}
|
111
|
+
function l(h) {
|
112
|
+
e || (e = h);
|
113
|
+
const f = h - e;
|
114
|
+
for (e = h, u += f; u >= o; )
|
115
|
+
r(), u -= o;
|
116
|
+
const g = F(u / o);
|
117
|
+
i(g), s && n.requestAnimationFrame(l);
|
118
|
+
}
|
119
|
+
function p() {
|
120
|
+
s || (s = n.requestAnimationFrame(l));
|
121
|
+
}
|
122
|
+
function b() {
|
123
|
+
n.cancelAnimationFrame(s), e = null, u = 0, s = 0;
|
124
|
+
}
|
125
|
+
function m() {
|
126
|
+
e = null, u = 0;
|
127
|
+
}
|
128
|
+
return {
|
129
|
+
init: a,
|
130
|
+
destroy: S,
|
131
|
+
start: p,
|
132
|
+
stop: b,
|
133
|
+
update: r,
|
134
|
+
render: i
|
135
|
+
};
|
136
|
+
}
|
137
|
+
function Xt(t, n) {
|
138
|
+
const r = t === "y" ? "y" : "x", i = t === "y" ? "x" : "y", c = u(), o = s();
|
139
|
+
function e(S) {
|
140
|
+
const {
|
141
|
+
width: l,
|
142
|
+
height: p
|
143
|
+
} = S;
|
144
|
+
return r === "x" ? l : p;
|
145
|
+
}
|
146
|
+
function u() {
|
147
|
+
return r === "y" ? "top" : n === "rtl" ? "right" : "left";
|
148
|
+
}
|
149
|
+
function s() {
|
150
|
+
return r === "y" ? "bottom" : n === "rtl" ? "left" : "right";
|
151
|
+
}
|
152
|
+
return {
|
153
|
+
scroll: r,
|
154
|
+
cross: i,
|
155
|
+
startEdge: c,
|
156
|
+
endEdge: o,
|
157
|
+
measureSize: e
|
158
|
+
};
|
159
|
+
}
|
160
|
+
function tt(t = 0, n = 0) {
|
161
|
+
const r = F(t - n);
|
162
|
+
function i(a) {
|
163
|
+
return a < t;
|
164
|
+
}
|
165
|
+
function c(a) {
|
166
|
+
return a > n;
|
167
|
+
}
|
168
|
+
function o(a) {
|
169
|
+
return i(a) || c(a);
|
170
|
+
}
|
171
|
+
function e(a) {
|
172
|
+
return o(a) ? i(a) ? t : n : a;
|
173
|
+
}
|
174
|
+
function u(a) {
|
175
|
+
return r ? a - r * Math.ceil((a - n) / r) : a;
|
176
|
+
}
|
177
|
+
return {
|
178
|
+
length: r,
|
179
|
+
max: n,
|
180
|
+
min: t,
|
181
|
+
constrain: e,
|
182
|
+
reachedAny: o,
|
183
|
+
reachedMax: c,
|
184
|
+
reachedMin: i,
|
185
|
+
removeOffset: u
|
186
|
+
};
|
187
|
+
}
|
188
|
+
function Nt(t, n, r) {
|
189
|
+
const {
|
190
|
+
constrain: i
|
191
|
+
} = tt(0, t), c = t + 1;
|
192
|
+
let o = e(n);
|
193
|
+
function e(p) {
|
194
|
+
return r ? F((c + p) % c) : i(p);
|
195
|
+
}
|
196
|
+
function u() {
|
197
|
+
return o;
|
198
|
+
}
|
199
|
+
function s(p) {
|
200
|
+
return o = e(p), l;
|
201
|
+
}
|
202
|
+
function a(p) {
|
203
|
+
return S().set(u() + p);
|
204
|
+
}
|
205
|
+
function S() {
|
206
|
+
return Nt(t, u(), r);
|
207
|
+
}
|
208
|
+
const l = {
|
209
|
+
get: u,
|
210
|
+
set: s,
|
211
|
+
add: a,
|
212
|
+
clone: S
|
213
|
+
};
|
214
|
+
return l;
|
215
|
+
}
|
216
|
+
function Yt(t) {
|
217
|
+
const n = t === "rtl" ? -1 : 1;
|
218
|
+
function r(c) {
|
219
|
+
return c * n;
|
220
|
+
}
|
221
|
+
return {
|
222
|
+
apply: r
|
223
|
+
};
|
224
|
+
}
|
225
|
+
function _t(t, n, r, i, c, o, e, u, s, a, S, l, p, b, m, d, h, f, g, x) {
|
226
|
+
const {
|
227
|
+
cross: E
|
228
|
+
} = t, I = ["INPUT", "SELECT", "TEXTAREA"], A = {
|
229
|
+
passive: !1
|
230
|
+
}, O = at(), L = at(), v = tt(50, 225).constrain(m.measure(20)), D = {
|
231
|
+
mouse: 300,
|
232
|
+
touch: 400
|
233
|
+
}, M = {
|
234
|
+
mouse: 500,
|
235
|
+
touch: 600
|
236
|
+
}, C = d ? 43 : 25;
|
237
|
+
let H = !1, G = 0, U = 0, j = !1, Y = !1, _ = !1, $ = !1;
|
238
|
+
function ot(y) {
|
239
|
+
if (!x)
|
240
|
+
return;
|
241
|
+
function T(N) {
|
242
|
+
(Lt(x) || x(y, N)) && st(N);
|
243
|
+
}
|
244
|
+
const w = r;
|
245
|
+
O.add(w, "dragstart", (N) => N.preventDefault(), A).add(w, "touchmove", () => {
|
246
|
+
}, A).add(w, "touchend", () => {
|
247
|
+
}).add(w, "touchstart", T).add(w, "mousedown", T).add(w, "touchcancel", z).add(w, "contextmenu", z).add(w, "click", K, !0);
|
248
|
+
}
|
249
|
+
function R() {
|
250
|
+
O.clear(), L.clear();
|
251
|
+
}
|
252
|
+
function nt() {
|
253
|
+
const y = $ ? i : r;
|
254
|
+
L.add(y, "touchmove", V, A).add(y, "touchend", z).add(y, "mousemove", V, A).add(y, "mouseup", z);
|
255
|
+
}
|
256
|
+
function et(y) {
|
257
|
+
const T = y.nodeName || "";
|
258
|
+
return I.includes(T);
|
259
|
+
}
|
260
|
+
function Q() {
|
261
|
+
return (d ? M : D)[$ ? "mouse" : "touch"];
|
262
|
+
}
|
263
|
+
function rt(y, T) {
|
264
|
+
const w = p.add(Et(y) * -1), N = l.byDistance(y, !d).distance;
|
265
|
+
return d || F(y) < v ? N : f && T ? N * 0.5 : l.byIndex(w.get(), 0).distance;
|
266
|
+
}
|
267
|
+
function st(y) {
|
268
|
+
const T = Ct(y, c);
|
269
|
+
$ = T, !(T && y.button !== 0) && (et(y.target) || (_ = d && T && !y.buttons && H, H = ct(o.get(), u.get()) >= 2, j = !0, e.pointerDown(y), S.useFriction(0).useDuration(0), o.set(u), nt(), G = e.readPoint(y), U = e.readPoint(y, E), b.emit("pointerDown")));
|
270
|
+
}
|
271
|
+
function V(y) {
|
272
|
+
const T = e.readPoint(y), w = e.readPoint(y, E), N = ct(T, G), J = ct(w, U);
|
273
|
+
if (!Y && !$ && (!y.cancelable || (Y = N > J, !Y)))
|
274
|
+
return z(y);
|
275
|
+
const q = e.pointerMove(y);
|
276
|
+
N > h && (_ = !0), S.useFriction(0.3).useDuration(1), s.start(), o.add(n.apply(q)), y.preventDefault();
|
277
|
+
}
|
278
|
+
function z(y) {
|
279
|
+
const w = l.byDistance(0, !1).index !== p.get(), N = e.pointerUp(y) * Q(), J = rt(n.apply(N), w), q = $t(N, J), Z = C - 10 * q, X = g + q / 50;
|
280
|
+
Y = !1, j = !1, L.clear(), S.useDuration(Z).useFriction(X), a.distance(J, !d), $ = !1, b.emit("pointerUp");
|
281
|
+
}
|
282
|
+
function K(y) {
|
283
|
+
_ && (y.stopPropagation(), y.preventDefault());
|
284
|
+
}
|
285
|
+
function k() {
|
286
|
+
return j;
|
287
|
+
}
|
288
|
+
return {
|
289
|
+
init: ot,
|
290
|
+
pointerDown: k,
|
291
|
+
destroy: R
|
292
|
+
};
|
293
|
+
}
|
294
|
+
function Jt(t, n) {
|
295
|
+
let i, c;
|
296
|
+
function o(l) {
|
297
|
+
return l.timeStamp;
|
298
|
+
}
|
299
|
+
function e(l, p) {
|
300
|
+
const m = `client${(p || t.scroll) === "x" ? "X" : "Y"}`;
|
301
|
+
return (Ct(l, n) ? l : l.touches[0])[m];
|
302
|
+
}
|
303
|
+
function u(l) {
|
304
|
+
return i = l, c = l, e(l);
|
305
|
+
}
|
306
|
+
function s(l) {
|
307
|
+
const p = e(l) - e(c), b = o(l) - o(i) > 170;
|
308
|
+
return c = l, b && (i = l), p;
|
309
|
+
}
|
310
|
+
function a(l) {
|
311
|
+
if (!i || !c)
|
312
|
+
return 0;
|
313
|
+
const p = e(c) - e(i), b = o(l) - o(i), m = o(l) - o(c) > 170, d = p / b;
|
314
|
+
return b && !m && F(d) > 0.1 ? d : 0;
|
315
|
+
}
|
316
|
+
return {
|
317
|
+
pointerDown: u,
|
318
|
+
pointerMove: s,
|
319
|
+
pointerUp: a,
|
320
|
+
readPoint: e
|
321
|
+
};
|
322
|
+
}
|
323
|
+
function Zt() {
|
324
|
+
function t(r) {
|
325
|
+
const {
|
326
|
+
offsetTop: i,
|
327
|
+
offsetLeft: c,
|
328
|
+
offsetWidth: o,
|
329
|
+
offsetHeight: e
|
330
|
+
} = r;
|
331
|
+
return {
|
332
|
+
top: i,
|
333
|
+
right: c + o,
|
334
|
+
bottom: i + e,
|
335
|
+
left: c,
|
336
|
+
width: o,
|
337
|
+
height: e
|
338
|
+
};
|
339
|
+
}
|
340
|
+
return {
|
341
|
+
measure: t
|
342
|
+
};
|
343
|
+
}
|
344
|
+
function Wt(t) {
|
345
|
+
function n(i) {
|
346
|
+
return t * (i / 100);
|
347
|
+
}
|
348
|
+
return {
|
349
|
+
measure: n
|
350
|
+
};
|
351
|
+
}
|
352
|
+
function tn(t, n, r, i, c, o, e) {
|
353
|
+
let u, s, a = [], S = !1;
|
354
|
+
function l(d) {
|
355
|
+
return c.measureSize(e.measure(d));
|
356
|
+
}
|
357
|
+
function p(d) {
|
358
|
+
if (!o)
|
359
|
+
return;
|
360
|
+
s = l(t), a = i.map(l);
|
361
|
+
function h(g) {
|
362
|
+
for (const x of g) {
|
363
|
+
const E = x.target === t, I = i.indexOf(x.target), A = E ? s : a[I], O = l(E ? t : i[I]);
|
364
|
+
if (F(O - A) >= 0.5) {
|
365
|
+
r.requestAnimationFrame(() => {
|
366
|
+
d.reInit(), n.emit("resize");
|
367
|
+
});
|
368
|
+
break;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}
|
372
|
+
u = new ResizeObserver((g) => {
|
373
|
+
S || (Lt(o) || o(d, g)) && h(g);
|
374
|
+
}), [t].concat(i).forEach((g) => u.observe(g));
|
375
|
+
}
|
376
|
+
function b() {
|
377
|
+
u && u.disconnect(), S = !0;
|
378
|
+
}
|
379
|
+
return {
|
380
|
+
init: p,
|
381
|
+
destroy: b
|
382
|
+
};
|
383
|
+
}
|
384
|
+
function nn(t, n, r, i, c) {
|
385
|
+
let o = 0, e = 0, u = i, s = c, a = t.get(), S = 0;
|
386
|
+
function l() {
|
387
|
+
const I = r.get() - t.get(), A = !u;
|
388
|
+
let O = 0;
|
389
|
+
return A ? (o = 0, t.set(r), O = I) : (o += I / u, o *= s, a += o, t.add(o), O = a - S), e = Et(O), S = a, E;
|
390
|
+
}
|
391
|
+
function p() {
|
392
|
+
const I = r.get() - n.get();
|
393
|
+
return F(I) < 1e-3;
|
394
|
+
}
|
395
|
+
function b() {
|
396
|
+
return u;
|
397
|
+
}
|
398
|
+
function m() {
|
399
|
+
return e;
|
400
|
+
}
|
401
|
+
function d() {
|
402
|
+
return o;
|
403
|
+
}
|
404
|
+
function h() {
|
405
|
+
return g(i);
|
406
|
+
}
|
407
|
+
function f() {
|
408
|
+
return x(c);
|
409
|
+
}
|
410
|
+
function g(I) {
|
411
|
+
return u = I, E;
|
412
|
+
}
|
413
|
+
function x(I) {
|
414
|
+
return s = I, E;
|
415
|
+
}
|
416
|
+
const E = {
|
417
|
+
direction: m,
|
418
|
+
duration: b,
|
419
|
+
velocity: d,
|
420
|
+
seek: l,
|
421
|
+
settled: p,
|
422
|
+
useBaseFriction: f,
|
423
|
+
useBaseDuration: h,
|
424
|
+
useFriction: x,
|
425
|
+
useDuration: g
|
426
|
+
};
|
427
|
+
return E;
|
428
|
+
}
|
429
|
+
function en(t, n, r, i, c) {
|
430
|
+
const o = c.measure(10), e = c.measure(50), u = tt(0.1, 0.99);
|
431
|
+
let s = !1;
|
432
|
+
function a() {
|
433
|
+
return !(s || !t.reachedAny(r.get()) || !t.reachedAny(n.get()));
|
434
|
+
}
|
435
|
+
function S(b) {
|
436
|
+
if (!a())
|
437
|
+
return;
|
438
|
+
const m = t.reachedMin(n.get()) ? "min" : "max", d = F(t[m] - n.get()), h = r.get() - n.get(), f = u.constrain(d / e);
|
439
|
+
r.subtract(h * f), !b && F(h) < o && (r.set(t.constrain(r.get())), i.useDuration(25).useBaseFriction());
|
440
|
+
}
|
441
|
+
function l(b) {
|
442
|
+
s = !b;
|
443
|
+
}
|
444
|
+
return {
|
445
|
+
constrain: S,
|
446
|
+
toggleActive: l
|
447
|
+
};
|
448
|
+
}
|
449
|
+
function on(t, n, r, i, c) {
|
450
|
+
const o = tt(-n + t, 0), e = l(), u = S(), s = p();
|
451
|
+
function a(m, d) {
|
452
|
+
return ct(m, d) < 1;
|
453
|
+
}
|
454
|
+
function S() {
|
455
|
+
const m = e[0], d = B(e), h = e.lastIndexOf(m), f = e.indexOf(d) + 1;
|
456
|
+
return tt(h, f);
|
457
|
+
}
|
458
|
+
function l() {
|
459
|
+
return r.map((m, d) => {
|
460
|
+
const {
|
461
|
+
min: h,
|
462
|
+
max: f
|
463
|
+
} = o, g = o.constrain(m), x = !d, E = It(r, d);
|
464
|
+
return x ? f : E || a(h, g) ? h : a(f, g) ? f : g;
|
465
|
+
}).map((m) => parseFloat(m.toFixed(3)));
|
466
|
+
}
|
467
|
+
function p() {
|
468
|
+
if (n <= t + c)
|
469
|
+
return [o.max];
|
470
|
+
if (i === "keepSnaps")
|
471
|
+
return e;
|
472
|
+
const {
|
473
|
+
min: m,
|
474
|
+
max: d
|
475
|
+
} = u;
|
476
|
+
return e.slice(m, d);
|
477
|
+
}
|
478
|
+
return {
|
479
|
+
snapsContained: s,
|
480
|
+
scrollContainLimit: u
|
481
|
+
};
|
482
|
+
}
|
483
|
+
function rn(t, n, r) {
|
484
|
+
const i = n[0], c = r ? i - t : B(n);
|
485
|
+
return {
|
486
|
+
limit: tt(c, i)
|
487
|
+
};
|
488
|
+
}
|
489
|
+
function sn(t, n, r, i) {
|
490
|
+
const o = n.min + 0.1, e = n.max + 0.1, {
|
491
|
+
reachedMin: u,
|
492
|
+
reachedMax: s
|
493
|
+
} = tt(o, e);
|
494
|
+
function a(p) {
|
495
|
+
return p === 1 ? s(r.get()) : p === -1 ? u(r.get()) : !1;
|
496
|
+
}
|
497
|
+
function S(p) {
|
498
|
+
if (!a(p))
|
499
|
+
return;
|
500
|
+
const b = t * (p * -1);
|
501
|
+
i.forEach((m) => m.add(b));
|
502
|
+
}
|
503
|
+
return {
|
504
|
+
loop: S
|
505
|
+
};
|
506
|
+
}
|
507
|
+
function cn(t) {
|
508
|
+
const {
|
509
|
+
max: n,
|
510
|
+
length: r
|
511
|
+
} = t;
|
512
|
+
function i(o) {
|
513
|
+
const e = o - n;
|
514
|
+
return r ? e / -r : 0;
|
515
|
+
}
|
516
|
+
return {
|
517
|
+
get: i
|
518
|
+
};
|
519
|
+
}
|
520
|
+
function un(t, n, r, i, c) {
|
521
|
+
const {
|
522
|
+
startEdge: o,
|
523
|
+
endEdge: e
|
524
|
+
} = t, {
|
525
|
+
groupSlides: u
|
526
|
+
} = c, s = l().map(n.measure), a = p(), S = b();
|
527
|
+
function l() {
|
528
|
+
return u(i).map((d) => B(d)[e] - d[0][o]).map(F);
|
529
|
+
}
|
530
|
+
function p() {
|
531
|
+
return i.map((d) => r[o] - d[o]).map((d) => -F(d));
|
532
|
+
}
|
533
|
+
function b() {
|
534
|
+
return u(a).map((d) => d[0]).map((d, h) => d + s[h]);
|
535
|
+
}
|
536
|
+
return {
|
537
|
+
snaps: a,
|
538
|
+
snapsAligned: S
|
539
|
+
};
|
540
|
+
}
|
541
|
+
function fn(t, n, r, i, c, o) {
|
542
|
+
const {
|
543
|
+
groupSlides: e
|
544
|
+
} = c, {
|
545
|
+
min: u,
|
546
|
+
max: s
|
547
|
+
} = i, a = S();
|
548
|
+
function S() {
|
549
|
+
const p = e(o), b = !t || n === "keepSnaps";
|
550
|
+
return r.length === 1 ? [o] : b ? p : p.slice(u, s).map((m, d, h) => {
|
551
|
+
const f = !d, g = It(h, d);
|
552
|
+
if (f) {
|
553
|
+
const x = B(h[0]) + 1;
|
554
|
+
return Ot(x);
|
555
|
+
}
|
556
|
+
if (g) {
|
557
|
+
const x = lt(o) - B(h)[0] + 1;
|
558
|
+
return Ot(x, B(h)[0]);
|
559
|
+
}
|
560
|
+
return m;
|
561
|
+
});
|
562
|
+
}
|
563
|
+
return {
|
564
|
+
slideRegistry: a
|
565
|
+
};
|
566
|
+
}
|
567
|
+
function an(t, n, r, i, c) {
|
568
|
+
const {
|
569
|
+
reachedAny: o,
|
570
|
+
removeOffset: e,
|
571
|
+
constrain: u
|
572
|
+
} = i;
|
573
|
+
function s(m) {
|
574
|
+
return m.concat().sort((d, h) => F(d) - F(h))[0];
|
575
|
+
}
|
576
|
+
function a(m) {
|
577
|
+
const d = t ? e(m) : u(m), h = n.map((g) => g - d).map((g) => S(g, 0)).map((g, x) => ({
|
578
|
+
diff: g,
|
579
|
+
index: x
|
580
|
+
})).sort((g, x) => F(g.diff) - F(x.diff)), {
|
581
|
+
index: f
|
582
|
+
} = h[0];
|
583
|
+
return {
|
584
|
+
index: f,
|
585
|
+
distance: d
|
586
|
+
};
|
587
|
+
}
|
588
|
+
function S(m, d) {
|
589
|
+
const h = [m, m + r, m - r];
|
590
|
+
if (!t)
|
591
|
+
return h[0];
|
592
|
+
if (!d)
|
593
|
+
return s(h);
|
594
|
+
const f = h.filter((g) => Et(g) === d);
|
595
|
+
return f.length ? s(f) : B(h) - r;
|
596
|
+
}
|
597
|
+
function l(m, d) {
|
598
|
+
const h = n[m] - c.get(), f = S(h, d);
|
599
|
+
return {
|
600
|
+
index: m,
|
601
|
+
distance: f
|
602
|
+
};
|
603
|
+
}
|
604
|
+
function p(m, d) {
|
605
|
+
const h = c.get() + m, {
|
606
|
+
index: f,
|
607
|
+
distance: g
|
608
|
+
} = a(h), x = !t && o(h);
|
609
|
+
if (!d || x)
|
610
|
+
return {
|
611
|
+
index: f,
|
612
|
+
distance: m
|
613
|
+
};
|
614
|
+
const E = n[f] - g, I = m + S(E, 0);
|
615
|
+
return {
|
616
|
+
index: f,
|
617
|
+
distance: I
|
618
|
+
};
|
619
|
+
}
|
620
|
+
return {
|
621
|
+
byDistance: p,
|
622
|
+
byIndex: l,
|
623
|
+
shortcut: S
|
624
|
+
};
|
625
|
+
}
|
626
|
+
function ln(t, n, r, i, c, o, e) {
|
627
|
+
function u(l) {
|
628
|
+
const p = l.distance, b = l.index !== n.get();
|
629
|
+
o.add(p), p && (i.duration() ? t.start() : (t.update(), t.render(1), t.update())), b && (r.set(n.get()), n.set(l.index), e.emit("select"));
|
630
|
+
}
|
631
|
+
function s(l, p) {
|
632
|
+
const b = c.byDistance(l, p);
|
633
|
+
u(b);
|
634
|
+
}
|
635
|
+
function a(l, p) {
|
636
|
+
const b = n.clone().set(l), m = c.byIndex(b.get(), p);
|
637
|
+
u(m);
|
638
|
+
}
|
639
|
+
return {
|
640
|
+
distance: s,
|
641
|
+
index: a
|
642
|
+
};
|
643
|
+
}
|
644
|
+
function dn(t, n, r, i, c, o) {
|
645
|
+
let e = 0;
|
646
|
+
function u() {
|
647
|
+
o.add(document, "keydown", s, !1), n.forEach(a);
|
648
|
+
}
|
649
|
+
function s(l) {
|
650
|
+
l.code === "Tab" && (e = (/* @__PURE__ */ new Date()).getTime());
|
651
|
+
}
|
652
|
+
function a(l) {
|
653
|
+
const p = () => {
|
654
|
+
if ((/* @__PURE__ */ new Date()).getTime() - e > 10)
|
655
|
+
return;
|
656
|
+
t.scrollLeft = 0;
|
657
|
+
const d = n.indexOf(l), h = r.findIndex((f) => f.includes(d));
|
658
|
+
bt(h) && (c.useDuration(0), i.index(h, 0));
|
659
|
+
};
|
660
|
+
o.add(l, "focus", p, {
|
661
|
+
passive: !0,
|
662
|
+
capture: !0
|
663
|
+
});
|
664
|
+
}
|
665
|
+
return {
|
666
|
+
init: u
|
667
|
+
};
|
668
|
+
}
|
669
|
+
function pt(t) {
|
670
|
+
let n = t;
|
671
|
+
function r() {
|
672
|
+
return n;
|
673
|
+
}
|
674
|
+
function i(s) {
|
675
|
+
n = e(s);
|
676
|
+
}
|
677
|
+
function c(s) {
|
678
|
+
n += e(s);
|
679
|
+
}
|
680
|
+
function o(s) {
|
681
|
+
n -= e(s);
|
682
|
+
}
|
683
|
+
function e(s) {
|
684
|
+
return bt(s) ? s : s.get();
|
685
|
+
}
|
686
|
+
return {
|
687
|
+
get: r,
|
688
|
+
set: i,
|
689
|
+
add: c,
|
690
|
+
subtract: o
|
691
|
+
};
|
692
|
+
}
|
693
|
+
function zt(t, n, r) {
|
694
|
+
const i = t.scroll === "x" ? e : u, c = r.style;
|
695
|
+
let o = !1;
|
696
|
+
function e(p) {
|
697
|
+
return `translate3d(${p}px,0px,0px)`;
|
698
|
+
}
|
699
|
+
function u(p) {
|
700
|
+
return `translate3d(0px,${p}px,0px)`;
|
701
|
+
}
|
702
|
+
function s(p) {
|
703
|
+
o || (c.transform = i(n.apply(p)));
|
704
|
+
}
|
705
|
+
function a(p) {
|
706
|
+
o = !p;
|
707
|
+
}
|
708
|
+
function S() {
|
709
|
+
o || (c.transform = "", r.getAttribute("style") || r.removeAttribute("style"));
|
710
|
+
}
|
711
|
+
return {
|
712
|
+
clear: S,
|
713
|
+
to: s,
|
714
|
+
toggleActive: a
|
715
|
+
};
|
716
|
+
}
|
717
|
+
function pn(t, n, r, i, c, o, e, u, s, a) {
|
718
|
+
const l = ut(o), p = ut(o).reverse(), b = g().concat(x());
|
719
|
+
function m(L, v) {
|
720
|
+
return L.reduce((D, M) => D - o[M], v);
|
721
|
+
}
|
722
|
+
function d(L, v) {
|
723
|
+
return L.reduce((D, M) => m(D, v) > 0 ? D.concat([M]) : D, []);
|
724
|
+
}
|
725
|
+
function h(L) {
|
726
|
+
return e.map((v, D) => ({
|
727
|
+
start: v - c[D] + 0.5 + L,
|
728
|
+
end: v + r - 0.5 + L
|
729
|
+
}));
|
730
|
+
}
|
731
|
+
function f(L, v, D) {
|
732
|
+
const M = h(v);
|
733
|
+
return L.map((C) => {
|
734
|
+
const H = D ? 0 : -i, G = D ? i : 0, U = D ? "end" : "start", j = M[C][U];
|
735
|
+
return {
|
736
|
+
index: C,
|
737
|
+
loopPoint: j,
|
738
|
+
slideLocation: pt(-1),
|
739
|
+
translate: zt(t, n, a[C]),
|
740
|
+
target: () => s.get() > j ? H : G
|
741
|
+
};
|
742
|
+
});
|
743
|
+
}
|
744
|
+
function g() {
|
745
|
+
const L = u[0], v = d(p, L);
|
746
|
+
return f(v, i, !1);
|
747
|
+
}
|
748
|
+
function x() {
|
749
|
+
const L = r - u[0] - 1, v = d(l, L);
|
750
|
+
return f(v, -i, !0);
|
751
|
+
}
|
752
|
+
function E() {
|
753
|
+
return b.every(({
|
754
|
+
index: L
|
755
|
+
}) => {
|
756
|
+
const v = l.filter((D) => D !== L);
|
757
|
+
return m(v, r) <= 0.1;
|
758
|
+
});
|
759
|
+
}
|
760
|
+
function I() {
|
761
|
+
b.forEach((L) => {
|
762
|
+
const {
|
763
|
+
target: v,
|
764
|
+
translate: D,
|
765
|
+
slideLocation: M
|
766
|
+
} = L, C = v();
|
767
|
+
C !== M.get() && (D.to(C), M.set(C));
|
768
|
+
});
|
769
|
+
}
|
770
|
+
function A() {
|
771
|
+
b.forEach((L) => L.translate.clear());
|
772
|
+
}
|
773
|
+
return {
|
774
|
+
canLoop: E,
|
775
|
+
clear: A,
|
776
|
+
loop: I,
|
777
|
+
loopPoints: b
|
778
|
+
};
|
779
|
+
}
|
780
|
+
function mn(t, n, r) {
|
781
|
+
let i, c = !1;
|
782
|
+
function o(s) {
|
783
|
+
if (!r)
|
784
|
+
return;
|
785
|
+
function a(S) {
|
786
|
+
for (const l of S)
|
787
|
+
if (l.type === "childList") {
|
788
|
+
s.reInit(), n.emit("slidesChanged");
|
789
|
+
break;
|
790
|
+
}
|
791
|
+
}
|
792
|
+
i = new MutationObserver((S) => {
|
793
|
+
c || (Lt(r) || r(s, S)) && a(S);
|
794
|
+
}), i.observe(t, {
|
795
|
+
childList: !0
|
796
|
+
});
|
797
|
+
}
|
798
|
+
function e() {
|
799
|
+
i && i.disconnect(), c = !0;
|
800
|
+
}
|
801
|
+
return {
|
802
|
+
init: o,
|
803
|
+
destroy: e
|
804
|
+
};
|
805
|
+
}
|
806
|
+
function gn(t, n, r, i) {
|
807
|
+
const c = {};
|
808
|
+
let o = null, e = null, u, s = !1;
|
809
|
+
function a() {
|
810
|
+
u = new IntersectionObserver((m) => {
|
811
|
+
s || (m.forEach((d) => {
|
812
|
+
const h = n.indexOf(d.target);
|
813
|
+
c[h] = d;
|
814
|
+
}), o = null, e = null, r.emit("slidesInView"));
|
815
|
+
}, {
|
816
|
+
root: t.parentElement,
|
817
|
+
threshold: i
|
818
|
+
}), n.forEach((m) => u.observe(m));
|
819
|
+
}
|
820
|
+
function S() {
|
821
|
+
u && u.disconnect(), s = !0;
|
822
|
+
}
|
823
|
+
function l(m) {
|
824
|
+
return ft(c).reduce((d, h) => {
|
825
|
+
const f = parseInt(h), {
|
826
|
+
isIntersecting: g
|
827
|
+
} = c[f];
|
828
|
+
return (m && g || !m && !g) && d.push(f), d;
|
829
|
+
}, []);
|
830
|
+
}
|
831
|
+
function p(m = !0) {
|
832
|
+
if (m && o)
|
833
|
+
return o;
|
834
|
+
if (!m && e)
|
835
|
+
return e;
|
836
|
+
const d = l(m);
|
837
|
+
return m && (o = d), m || (e = d), d;
|
838
|
+
}
|
839
|
+
return {
|
840
|
+
init: a,
|
841
|
+
destroy: S,
|
842
|
+
get: p
|
843
|
+
};
|
844
|
+
}
|
845
|
+
function hn(t, n, r, i, c, o) {
|
846
|
+
const {
|
847
|
+
measureSize: e,
|
848
|
+
startEdge: u,
|
849
|
+
endEdge: s
|
850
|
+
} = t, a = r[0] && c, S = m(), l = d(), p = r.map(e), b = h();
|
851
|
+
function m() {
|
852
|
+
if (!a)
|
853
|
+
return 0;
|
854
|
+
const g = r[0];
|
855
|
+
return F(n[u] - g[u]);
|
856
|
+
}
|
857
|
+
function d() {
|
858
|
+
if (!a)
|
859
|
+
return 0;
|
860
|
+
const g = o.getComputedStyle(B(i));
|
861
|
+
return parseFloat(g.getPropertyValue(`margin-${s}`));
|
862
|
+
}
|
863
|
+
function h() {
|
864
|
+
return r.map((g, x, E) => {
|
865
|
+
const I = !x, A = It(E, x);
|
866
|
+
return I ? p[x] + S : A ? p[x] + l : E[x + 1][u] - g[u];
|
867
|
+
}).map(F);
|
868
|
+
}
|
869
|
+
return {
|
870
|
+
slideSizes: p,
|
871
|
+
slideSizesWithGaps: b,
|
872
|
+
startGap: S,
|
873
|
+
endGap: l
|
874
|
+
};
|
875
|
+
}
|
876
|
+
function Sn(t, n, r, i, c, o, e, u, s, a) {
|
877
|
+
const {
|
878
|
+
startEdge: S,
|
879
|
+
endEdge: l
|
880
|
+
} = t, p = bt(i);
|
881
|
+
function b(f, g) {
|
882
|
+
return ut(f).filter((x) => x % g === 0).map((x) => f.slice(x, x + g));
|
883
|
+
}
|
884
|
+
function m(f) {
|
885
|
+
return f.length ? ut(f).reduce((g, x) => {
|
886
|
+
const E = B(g) || 0, I = E === 0, A = x === lt(f), O = o[S] - e[E][S], L = o[S] - e[x][l], v = !c && I ? n.apply(u) : 0, D = !c && A ? n.apply(s) : 0;
|
887
|
+
return F(L - D - (O + v)) > r + a && g.push(x), A && g.push(f.length), g;
|
888
|
+
}, []).map((g, x, E) => {
|
889
|
+
const I = Math.max(E[x - 1] || 0);
|
890
|
+
return f.slice(I, g);
|
891
|
+
}) : [];
|
892
|
+
}
|
893
|
+
function d(f) {
|
894
|
+
return p ? b(f, i) : m(f);
|
895
|
+
}
|
896
|
+
return {
|
897
|
+
groupSlides: d
|
898
|
+
};
|
899
|
+
}
|
900
|
+
function yn(t, n, r, i, c, o, e) {
|
901
|
+
const {
|
902
|
+
align: u,
|
903
|
+
axis: s,
|
904
|
+
direction: a,
|
905
|
+
startIndex: S,
|
906
|
+
loop: l,
|
907
|
+
duration: p,
|
908
|
+
dragFree: b,
|
909
|
+
dragThreshold: m,
|
910
|
+
inViewThreshold: d,
|
911
|
+
slidesToScroll: h,
|
912
|
+
skipSnaps: f,
|
913
|
+
containScroll: g,
|
914
|
+
watchResize: x,
|
915
|
+
watchSlides: E,
|
916
|
+
watchDrag: I
|
917
|
+
} = o, A = 2, O = Zt(), L = O.measure(n), v = r.map(O.measure), D = Yt(a), M = Xt(s, a), C = M.measureSize(L), H = Wt(C), G = Qt(u, C), U = !l && !!g, j = l || !!g, {
|
918
|
+
slideSizes: Y,
|
919
|
+
slideSizesWithGaps: _,
|
920
|
+
startGap: $,
|
921
|
+
endGap: ot
|
922
|
+
} = hn(M, L, v, r, j, c), R = Sn(M, D, C, h, l, L, v, $, ot, A), {
|
923
|
+
snaps: nt,
|
924
|
+
snapsAligned: et
|
925
|
+
} = un(M, G, L, v, R), Q = -B(nt) + B(_), {
|
926
|
+
snapsContained: rt,
|
927
|
+
scrollContainLimit: st
|
928
|
+
} = on(C, Q, et, g, A), V = U ? rt : et, {
|
929
|
+
limit: z
|
930
|
+
} = rn(Q, V, l), K = Nt(lt(V), S, l), k = K.clone(), P = ut(r), y = ({
|
931
|
+
dragHandler: W,
|
932
|
+
scrollBody: St,
|
933
|
+
scrollBounds: yt,
|
934
|
+
options: {
|
935
|
+
loop: dt
|
936
|
+
}
|
937
|
+
}) => {
|
938
|
+
dt || yt.constrain(W.pointerDown()), St.seek();
|
939
|
+
}, T = ({
|
940
|
+
scrollBody: W,
|
941
|
+
translate: St,
|
942
|
+
location: yt,
|
943
|
+
offsetLocation: dt,
|
944
|
+
scrollLooper: Ht,
|
945
|
+
slideLooper: Gt,
|
946
|
+
dragHandler: jt,
|
947
|
+
animation: Rt,
|
948
|
+
eventHandler: At,
|
949
|
+
options: {
|
950
|
+
loop: qt
|
951
|
+
}
|
952
|
+
}, Ut) => {
|
953
|
+
const Mt = W.velocity(), Ft = W.settled();
|
954
|
+
Ft && !jt.pointerDown() && (Rt.stop(), At.emit("settle")), Ft || At.emit("scroll"), dt.set(yt.get() - Mt + Mt * Ut), qt && (Ht.loop(W.direction()), Gt.loop()), St.to(dt.get());
|
955
|
+
}, w = Kt(i, c, () => y(ht), (W) => T(ht, W)), N = 0.68, J = V[K.get()], q = pt(J), Z = pt(J), X = pt(J), it = nn(q, Z, X, p, N), mt = an(l, V, Q, z, X), gt = ln(w, K, k, it, mt, X, e), vt = cn(z), Dt = at(), kt = gn(n, r, e, d), {
|
956
|
+
slideRegistry: Tt
|
957
|
+
} = fn(U, g, V, st, R, P), Bt = dn(t, r, Tt, gt, it, Dt), ht = {
|
958
|
+
ownerDocument: i,
|
959
|
+
ownerWindow: c,
|
960
|
+
eventHandler: e,
|
961
|
+
containerRect: L,
|
962
|
+
slideRects: v,
|
963
|
+
animation: w,
|
964
|
+
axis: M,
|
965
|
+
direction: D,
|
966
|
+
dragHandler: _t(M, D, t, i, c, X, Jt(M, c), q, w, gt, it, mt, K, e, H, b, m, f, N, I),
|
967
|
+
eventStore: Dt,
|
968
|
+
percentOfView: H,
|
969
|
+
index: K,
|
970
|
+
indexPrevious: k,
|
971
|
+
limit: z,
|
972
|
+
location: q,
|
973
|
+
offsetLocation: Z,
|
974
|
+
options: o,
|
975
|
+
resizeHandler: tn(n, e, c, r, M, x, O),
|
976
|
+
scrollBody: it,
|
977
|
+
scrollBounds: en(z, q, X, it, H),
|
978
|
+
scrollLooper: sn(Q, z, Z, [q, Z, X]),
|
979
|
+
scrollProgress: vt,
|
980
|
+
scrollSnapList: V.map(vt.get),
|
981
|
+
scrollSnaps: V,
|
982
|
+
scrollTarget: mt,
|
983
|
+
scrollTo: gt,
|
984
|
+
slideLooper: pn(M, D, C, Q, Y, _, nt, V, Z, r),
|
985
|
+
slideFocus: Bt,
|
986
|
+
slidesHandler: mn(n, e, E),
|
987
|
+
slidesInView: kt,
|
988
|
+
slideIndexes: P,
|
989
|
+
slideRegistry: Tt,
|
990
|
+
slidesToScroll: R,
|
991
|
+
target: X,
|
992
|
+
translate: zt(M, D, n)
|
993
|
+
};
|
994
|
+
return ht;
|
995
|
+
}
|
996
|
+
function xn() {
|
997
|
+
const t = {};
|
998
|
+
let n;
|
999
|
+
function r(s) {
|
1000
|
+
n = s;
|
1001
|
+
}
|
1002
|
+
function i(s) {
|
1003
|
+
return t[s] || [];
|
1004
|
+
}
|
1005
|
+
function c(s) {
|
1006
|
+
return i(s).forEach((a) => a(n, s)), u;
|
1007
|
+
}
|
1008
|
+
function o(s, a) {
|
1009
|
+
return t[s] = i(s).concat([a]), u;
|
1010
|
+
}
|
1011
|
+
function e(s, a) {
|
1012
|
+
return t[s] = i(s).filter((S) => S !== a), u;
|
1013
|
+
}
|
1014
|
+
const u = {
|
1015
|
+
init: r,
|
1016
|
+
emit: c,
|
1017
|
+
off: e,
|
1018
|
+
on: o
|
1019
|
+
};
|
1020
|
+
return u;
|
1021
|
+
}
|
1022
|
+
const bn = {
|
1023
|
+
align: "center",
|
1024
|
+
axis: "x",
|
1025
|
+
container: null,
|
1026
|
+
slides: null,
|
1027
|
+
containScroll: "trimSnaps",
|
1028
|
+
direction: "ltr",
|
1029
|
+
slidesToScroll: 1,
|
1030
|
+
inViewThreshold: 0,
|
1031
|
+
breakpoints: {},
|
1032
|
+
dragFree: !1,
|
1033
|
+
dragThreshold: 10,
|
1034
|
+
loop: !1,
|
1035
|
+
skipSnaps: !1,
|
1036
|
+
duration: 25,
|
1037
|
+
startIndex: 0,
|
1038
|
+
active: !0,
|
1039
|
+
watchDrag: !0,
|
1040
|
+
watchResize: !0,
|
1041
|
+
watchSlides: !0
|
1042
|
+
};
|
1043
|
+
function Ln(t) {
|
1044
|
+
function n(o, e) {
|
1045
|
+
return wt(o, e || {});
|
1046
|
+
}
|
1047
|
+
function r(o) {
|
1048
|
+
const e = o.breakpoints || {}, u = ft(e).filter((s) => t.matchMedia(s).matches).map((s) => e[s]).reduce((s, a) => n(s, a), {});
|
1049
|
+
return n(o, u);
|
1050
|
+
}
|
1051
|
+
function i(o) {
|
1052
|
+
return o.map((e) => ft(e.breakpoints || {})).reduce((e, u) => e.concat(u), []).map(t.matchMedia);
|
1053
|
+
}
|
1054
|
+
return {
|
1055
|
+
mergeOptions: n,
|
1056
|
+
optionsAtMedia: r,
|
1057
|
+
optionsMediaQueries: i
|
1058
|
+
};
|
1059
|
+
}
|
1060
|
+
function En(t) {
|
1061
|
+
let n = [];
|
1062
|
+
function r(o, e) {
|
1063
|
+
return n = e.filter(({
|
1064
|
+
options: u
|
1065
|
+
}) => t.optionsAtMedia(u).active !== !1), n.forEach((u) => u.init(o, t)), e.reduce((u, s) => Object.assign(u, {
|
1066
|
+
[s.name]: s
|
1067
|
+
}), {});
|
1068
|
+
}
|
1069
|
+
function i() {
|
1070
|
+
n = n.filter((o) => o.destroy());
|
1071
|
+
}
|
1072
|
+
return {
|
1073
|
+
init: r,
|
1074
|
+
destroy: i
|
1075
|
+
};
|
1076
|
+
}
|
1077
|
+
function Vt(t, n, r) {
|
1078
|
+
const i = t.ownerDocument, c = i.defaultView, o = Ln(c), e = En(o), u = at(), s = xn(), {
|
1079
|
+
mergeOptions: a,
|
1080
|
+
optionsAtMedia: S,
|
1081
|
+
optionsMediaQueries: l
|
1082
|
+
} = o, {
|
1083
|
+
on: p,
|
1084
|
+
off: b,
|
1085
|
+
emit: m
|
1086
|
+
} = s, d = M;
|
1087
|
+
let h = !1, f, g = a(bn, Vt.globalOptions), x = a(g), E = [], I, A, O;
|
1088
|
+
function L() {
|
1089
|
+
const {
|
1090
|
+
container: P,
|
1091
|
+
slides: y
|
1092
|
+
} = x;
|
1093
|
+
A = (xt(P) ? t.querySelector(P) : P) || t.children[0];
|
1094
|
+
const w = xt(y) ? A.querySelectorAll(y) : y;
|
1095
|
+
O = [].slice.call(w || A.children);
|
1096
|
+
}
|
1097
|
+
function v(P) {
|
1098
|
+
const y = yn(t, A, O, i, c, P, s);
|
1099
|
+
if (P.loop && !y.slideLooper.canLoop()) {
|
1100
|
+
const T = Object.assign({}, P, {
|
1101
|
+
loop: !1
|
1102
|
+
});
|
1103
|
+
return v(T);
|
1104
|
+
}
|
1105
|
+
return y;
|
1106
|
+
}
|
1107
|
+
function D(P, y) {
|
1108
|
+
h || (g = a(g, P), x = S(g), E = y || E, L(), f = v(x), l([g, ...E.map(({
|
1109
|
+
options: T
|
1110
|
+
}) => T)]).forEach((T) => u.add(T, "change", M)), x.active && (f.translate.to(f.location.get()), f.animation.init(), f.slidesInView.init(), f.slideFocus.init(), f.eventHandler.init(k), f.resizeHandler.init(k), f.slidesHandler.init(k), f.options.loop && f.slideLooper.loop(), A.offsetParent && O.length && f.dragHandler.init(k), I = e.init(k, E)));
|
1111
|
+
}
|
1112
|
+
function M(P, y) {
|
1113
|
+
const T = R();
|
1114
|
+
C(), D(a({
|
1115
|
+
startIndex: T
|
1116
|
+
}, P), y), s.emit("reInit");
|
1117
|
+
}
|
1118
|
+
function C() {
|
1119
|
+
f.dragHandler.destroy(), f.eventStore.clear(), f.translate.clear(), f.slideLooper.clear(), f.resizeHandler.destroy(), f.slidesHandler.destroy(), f.slidesInView.destroy(), f.animation.destroy(), e.destroy(), u.clear();
|
1120
|
+
}
|
1121
|
+
function H() {
|
1122
|
+
h || (h = !0, u.clear(), C(), s.emit("destroy"));
|
1123
|
+
}
|
1124
|
+
function G(P, y, T) {
|
1125
|
+
!x.active || h || (f.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : x.duration), f.scrollTo.index(P, T || 0));
|
1126
|
+
}
|
1127
|
+
function U(P) {
|
1128
|
+
const y = f.index.add(1).get();
|
1129
|
+
G(y, P, -1);
|
1130
|
+
}
|
1131
|
+
function j(P) {
|
1132
|
+
const y = f.index.add(-1).get();
|
1133
|
+
G(y, P, 1);
|
1134
|
+
}
|
1135
|
+
function Y() {
|
1136
|
+
return f.index.add(1).get() !== R();
|
1137
|
+
}
|
1138
|
+
function _() {
|
1139
|
+
return f.index.add(-1).get() !== R();
|
1140
|
+
}
|
1141
|
+
function $() {
|
1142
|
+
return f.scrollSnapList;
|
1143
|
+
}
|
1144
|
+
function ot() {
|
1145
|
+
return f.scrollProgress.get(f.location.get());
|
1146
|
+
}
|
1147
|
+
function R() {
|
1148
|
+
return f.index.get();
|
1149
|
+
}
|
1150
|
+
function nt() {
|
1151
|
+
return f.indexPrevious.get();
|
1152
|
+
}
|
1153
|
+
function et() {
|
1154
|
+
return f.slidesInView.get();
|
1155
|
+
}
|
1156
|
+
function Q() {
|
1157
|
+
return f.slidesInView.get(!1);
|
1158
|
+
}
|
1159
|
+
function rt() {
|
1160
|
+
return I;
|
1161
|
+
}
|
1162
|
+
function st() {
|
1163
|
+
return f;
|
1164
|
+
}
|
1165
|
+
function V() {
|
1166
|
+
return t;
|
1167
|
+
}
|
1168
|
+
function z() {
|
1169
|
+
return A;
|
1170
|
+
}
|
1171
|
+
function K() {
|
1172
|
+
return O;
|
1173
|
+
}
|
1174
|
+
const k = {
|
1175
|
+
canScrollNext: Y,
|
1176
|
+
canScrollPrev: _,
|
1177
|
+
containerNode: z,
|
1178
|
+
internalEngine: st,
|
1179
|
+
destroy: H,
|
1180
|
+
off: b,
|
1181
|
+
on: p,
|
1182
|
+
emit: m,
|
1183
|
+
plugins: rt,
|
1184
|
+
previousScrollSnap: nt,
|
1185
|
+
reInit: d,
|
1186
|
+
rootNode: V,
|
1187
|
+
scrollNext: U,
|
1188
|
+
scrollPrev: j,
|
1189
|
+
scrollProgress: ot,
|
1190
|
+
scrollSnapList: $,
|
1191
|
+
scrollTo: G,
|
1192
|
+
selectedScrollSnap: R,
|
1193
|
+
slideNodes: K,
|
1194
|
+
slidesInView: et,
|
1195
|
+
slidesNotInView: Q
|
1196
|
+
};
|
1197
|
+
return D(n, r), setTimeout(() => s.emit("init"), 0), k;
|
1198
|
+
}
|
1199
|
+
Vt.globalOptions = void 0;
|
1200
|
+
export {
|
1201
|
+
Vt as default
|
1202
|
+
};
|