@xframework-ca-test/cli 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/customer-portal/android-chrome-192x192.png +0 -0
- package/dist/customer-portal/android-chrome-512x512.png +0 -0
- package/dist/customer-portal/apple-touch-icon.png +0 -0
- package/dist/customer-portal/assets/ActionLink-feb719a3.js +1 -0
- package/dist/customer-portal/assets/AdaptableCard-5bdf55ff.js +1 -0
- package/dist/customer-portal/assets/Alert-e6518529.js +1 -0
- package/dist/customer-portal/assets/Auth0Callback-a32aa0ee.js +1 -0
- package/dist/customer-portal/assets/BlankLayout-7d425a4f.js +1 -0
- package/dist/customer-portal/assets/Button-312a6bfe.js +1 -0
- package/dist/customer-portal/assets/Card-8badb238.js +1 -0
- package/dist/customer-portal/assets/Checkout-735fa664.js +1 -0
- package/dist/customer-portal/assets/ClassicLayout-43547087.js +1 -0
- package/dist/customer-portal/assets/Container-0271dbaa.js +1 -0
- package/dist/customer-portal/assets/CourseDetails-aa3fc18f.js +1 -0
- package/dist/customer-portal/assets/CourseService-150b9c3b.js +1 -0
- package/dist/customer-portal/assets/DeckedLayout-50b0b841.js +1 -0
- package/dist/customer-portal/assets/DocumentList-f286e322.js +367 -0
- package/dist/customer-portal/assets/FaqItems-f0ea3578.js +1 -0
- package/dist/customer-portal/assets/FormContainer-e0ad1074.js +1 -0
- package/dist/customer-portal/assets/HorizontalMenuContent-c2ce9ba4.js +1 -0
- package/dist/customer-portal/assets/Input-f9dc9df7.js +1 -0
- package/dist/customer-portal/assets/LogInAsUser-5301a711.js +1 -0
- package/dist/customer-portal/assets/LogInAsUserSuccess-c53d408d.js +1 -0
- package/dist/customer-portal/assets/Logo-aa883174.js +1 -0
- package/dist/customer-portal/assets/ModernLayout-fd6ab4e1.js +1 -0
- package/dist/customer-portal/assets/Password-6017abd1.js +1 -0
- package/dist/customer-portal/assets/PasswordInput-f6e74528.js +1 -0
- package/dist/customer-portal/assets/Preview-bcdcb9ef.js +1 -0
- package/dist/customer-portal/assets/Product-ed043f08.js +1 -0
- package/dist/customer-portal/assets/ProductsLayout-c61b7a8e.js +1 -0
- package/dist/customer-portal/assets/Profile-d747fa18.js +1 -0
- package/dist/customer-portal/assets/Roboto-300-18827349.woff +0 -0
- package/dist/customer-portal/assets/Roboto-300-1d8f5280.woff2 +0 -0
- package/dist/customer-portal/assets/Roboto-300-a6d343d4.ttf +0 -0
- package/dist/customer-portal/assets/Roboto-400-47107401.woff2 +0 -0
- package/dist/customer-portal/assets/Roboto-400-79e85140.ttf +0 -0
- package/dist/customer-portal/assets/Roboto-400-9ae9d654.woff +0 -0
- package/dist/customer-portal/assets/Roboto-500-4112fbc9.woff +0 -0
- package/dist/customer-portal/assets/Roboto-500-96025fe9.woff2 +0 -0
- package/dist/customer-portal/assets/Roboto-500-f205cc51.ttf +0 -0
- package/dist/customer-portal/assets/Roboto-700-7d0b991e.ttf +0 -0
- package/dist/customer-portal/assets/Roboto-700-8e44376b.woff2 +0 -0
- package/dist/customer-portal/assets/Roboto-700-b1767a0c.woff +0 -0
- package/dist/customer-portal/assets/SegmentItemOption-1228dbe0.js +1 -0
- package/dist/customer-portal/assets/Select-19bd23ac.js +27 -0
- package/dist/customer-portal/assets/SidePanelContent-0d8d0ddd.js +1 -0
- package/dist/customer-portal/assets/SimpleLayout-a34ce3d6.js +2 -0
- package/dist/customer-portal/assets/StackedSideLayout-d20fda92.js +1 -0
- package/dist/customer-portal/assets/SubscriptionService-ff0a4fe5.js +1 -0
- package/dist/customer-portal/assets/SvgIcon-8e59e50e.css +6 -0
- package/dist/customer-portal/assets/SvgIcon-e50d8824.js +1008 -0
- package/dist/customer-portal/assets/Switcher-4b56d286.js +1 -0
- package/dist/customer-portal/assets/Tag-0a3ddbe2.js +1 -0
- package/dist/customer-portal/assets/TicketService-0b9fd2cc.js +1 -0
- package/dist/customer-portal/assets/Upload-f16cbbc9.js +127 -0
- package/dist/customer-portal/assets/UserService-379fdae4.js +1 -0
- package/dist/customer-portal/assets/Views-7025458f.js +1 -0
- package/dist/customer-portal/assets/ar-bb9d99db.js +1 -0
- package/dist/customer-portal/assets/cloneDeep-958c9090.js +1 -0
- package/dist/customer-portal/assets/dash.all.min-5cea336e.js +21 -0
- package/dist/customer-portal/assets/dxicons-695e35c5.woff +0 -0
- package/dist/customer-portal/assets/dxicons-a7f2b877.woff2 +0 -0
- package/dist/customer-portal/assets/dxicons-ce18ad67.ttf +0 -0
- package/dist/customer-portal/assets/dxiconsmaterial-042942d9.woff2 +0 -0
- package/dist/customer-portal/assets/dxiconsmaterial-2ca243c8.woff +0 -0
- package/dist/customer-portal/assets/dxiconsmaterial-d53bccef.ttf +0 -0
- package/dist/customer-portal/assets/en-e8193568.js +1 -0
- package/dist/customer-portal/assets/es-74fe811a.js +1 -0
- package/dist/customer-portal/assets/get-e6d75ebc.js +1 -0
- package/dist/customer-portal/assets/hls-78bd63bc.js +40 -0
- package/dist/customer-portal/assets/index-108e74a4.js +1 -0
- package/dist/customer-portal/assets/index-21f8ea30.js +3146 -0
- package/dist/customer-portal/assets/index-39f1f77e.js +1 -0
- package/dist/customer-portal/assets/index-50d9ba0e.js +1 -0
- package/dist/customer-portal/assets/index-51020fda.js +1 -0
- package/dist/customer-portal/assets/index-59b78927.js +1 -0
- package/dist/customer-portal/assets/index-5ee26094.js +1 -0
- package/dist/customer-portal/assets/index-6300b1cb.js +1 -0
- package/dist/customer-portal/assets/index-64f43f5c.js +1 -0
- package/dist/customer-portal/assets/index-737fd7d3.js +173 -0
- package/dist/customer-portal/assets/index-7b067308.js +1 -0
- package/dist/customer-portal/assets/index-7fb11654.css +1 -0
- package/dist/customer-portal/assets/index-8017aaa8.js +1 -0
- package/dist/customer-portal/assets/index-91a81028.js +1 -0
- package/dist/customer-portal/assets/index-99f3e22d.js +1 -0
- package/dist/customer-portal/assets/index-a05b664a.js +9 -0
- package/dist/customer-portal/assets/index-b2e5d3b2.js +1 -0
- package/dist/customer-portal/assets/index-bba6cb11.js +1 -0
- package/dist/customer-portal/assets/index-cdf4c2fe.js +1 -0
- package/dist/customer-portal/assets/index-ce7c8371.js +9 -0
- package/dist/customer-portal/assets/index-d7b1d047.js +1 -0
- package/dist/customer-portal/assets/index-f3b18a56.js +1 -0
- package/dist/customer-portal/assets/index.esm-2becf208.js +4 -0
- package/dist/customer-portal/assets/index.esm-7fca4988.js +1 -0
- package/dist/customer-portal/assets/index.esm-d90c2f28.js +1 -0
- package/dist/customer-portal/assets/isEmpty-d6a6848e.js +1 -0
- package/dist/customer-portal/assets/mixin-cf90cd8a.js +43 -0
- package/dist/customer-portal/assets/moment-a9aaa855.js +10 -0
- package/dist/customer-portal/assets/myCourse-1e27ebf2.js +1 -0
- package/dist/customer-portal/assets/react-22b3ad73.js +32 -0
- package/dist/customer-portal/assets/react-27635538.js +27 -0
- package/dist/customer-portal/assets/react-35db633d.js +31 -0
- package/dist/customer-portal/assets/react-55737d69.js +44 -0
- package/dist/customer-portal/assets/react-5e997bd3.js +37 -0
- package/dist/customer-portal/assets/react-72b07884.js +16 -0
- package/dist/customer-portal/assets/react-a5b37028.js +29 -0
- package/dist/customer-portal/assets/react-cbdc2827.js +11 -0
- package/dist/customer-portal/assets/strongPassword-dc805a65.js +1 -0
- package/dist/customer-portal/assets/supportTicketLists-64ba33fc.js +1 -0
- package/dist/customer-portal/assets/ticketDetails-25fa14db.js +1 -0
- package/dist/customer-portal/assets/useControllableState-ed446800.js +1 -0
- package/dist/customer-portal/assets/useThemeClass-61b1bbbf.js +1 -0
- package/dist/customer-portal/assets/useTimeOutMessage-04464c25.js +1 -0
- package/dist/customer-portal/assets/warning-eb037686.js +1 -0
- package/dist/customer-portal/assets/zh-cn-9d3866aa.js +1 -0
- package/dist/customer-portal/browserconfig.xml +9 -0
- package/dist/customer-portal/config.js +12 -0
- package/dist/customer-portal/data/features.json +11423 -0
- package/dist/customer-portal/data/order-list.csv +15 -0
- package/dist/customer-portal/data/product-list.csv +13 -0
- package/dist/customer-portal/data/unemployment-by-county-2017.csv +3220 -0
- package/dist/customer-portal/favicon-16x16.png +0 -0
- package/dist/customer-portal/favicon-32x32.png +0 -0
- package/dist/customer-portal/favicon.ico +0 -0
- package/dist/customer-portal/img/avatars/thumb-1.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-10.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-11.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-12.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-13.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-14.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-15.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-16.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-2.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-3.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-4.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-5.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-6.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-7.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-8.jpg +0 -0
- package/dist/customer-portal/img/avatars/thumb-9.jpg +0 -0
- package/dist/customer-portal/img/countries/ar.png +0 -0
- package/dist/customer-portal/img/countries/cn.png +0 -0
- package/dist/customer-portal/img/countries/fr.png +0 -0
- package/dist/customer-portal/img/countries/jp.png +0 -0
- package/dist/customer-portal/img/countries/sp.png +0 -0
- package/dist/customer-portal/img/countries/us.png +0 -0
- package/dist/customer-portal/img/email/email-logo.png +0 -0
- package/dist/customer-portal/img/icons/caCharts.svg +5396 -0
- package/dist/customer-portal/img/icons/caCounts.svg +10950 -0
- package/dist/customer-portal/img/icons/caGrids.svg +11059 -0
- package/dist/customer-portal/img/icons/caMaps.svg +10944 -0
- package/dist/customer-portal/img/icons/caPipelines.svg +11008 -0
- package/dist/customer-portal/img/icons/caStatus.svg +16718 -0
- package/dist/customer-portal/img/icons/caTargets.svg +10977 -0
- package/dist/customer-portal/img/icons/caTasks.svg +10995 -0
- package/dist/customer-portal/img/logo/Group.png +0 -0
- package/dist/customer-portal/img/logo/aica.svg +16 -0
- package/dist/customer-portal/img/logo/logo-dark-full.png +0 -0
- package/dist/customer-portal/img/logo/logo-dark-streamline.png +0 -0
- package/dist/customer-portal/img/logo/logo-grey.png +0 -0
- package/dist/customer-portal/img/logo/logo-light-full.png +0 -0
- package/dist/customer-portal/img/logo/logo-light-streamline.png +0 -0
- package/dist/customer-portal/img/logo/logo.svg +1 -0
- package/dist/customer-portal/img/map/pin-dark.png +0 -0
- package/dist/customer-portal/img/map/pin-orange.png +0 -0
- package/dist/customer-portal/img/map/pin-red.png +0 -0
- package/dist/customer-portal/img/others/auth-cover-bg.jpg +0 -0
- package/dist/customer-portal/img/others/auth-side-bg.jpg +0 -0
- package/dist/customer-portal/img/others/docs/blank-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/blank.jpg +0 -0
- package/dist/customer-portal/img/others/docs/classic-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/classic.jpg +0 -0
- package/dist/customer-portal/img/others/docs/decked-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/decked.jpg +0 -0
- package/dist/customer-portal/img/others/docs/modern-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/modern.jpg +0 -0
- package/dist/customer-portal/img/others/docs/simple-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/simple.jpg +0 -0
- package/dist/customer-portal/img/others/docs/stackedSide-dark.jpg +0 -0
- package/dist/customer-portal/img/others/docs/stackedSide.jpg +0 -0
- package/dist/customer-portal/img/others/img-1.jpg +0 -0
- package/dist/customer-portal/img/others/img-10.png +0 -0
- package/dist/customer-portal/img/others/img-11.jpg +0 -0
- package/dist/customer-portal/img/others/img-13.jpg +0 -0
- package/dist/customer-portal/img/others/img-14.jpg +0 -0
- package/dist/customer-portal/img/others/img-15.jpg +0 -0
- package/dist/customer-portal/img/others/img-16.jpg +0 -0
- package/dist/customer-portal/img/others/img-17.png +0 -0
- package/dist/customer-portal/img/others/img-2-dark.png +0 -0
- package/dist/customer-portal/img/others/img-2.png +0 -0
- package/dist/customer-portal/img/others/img-8.png +0 -0
- package/dist/customer-portal/img/others/img-9.png +0 -0
- package/dist/customer-portal/img/others/no-mail-selected-dark.png +0 -0
- package/dist/customer-portal/img/others/no-mail-selected.png +0 -0
- package/dist/customer-portal/img/others/no-notification.png +0 -0
- package/dist/customer-portal/img/others/pending-approval-dark.png +0 -0
- package/dist/customer-portal/img/others/pending-approval.png +0 -0
- package/dist/customer-portal/img/others/upload-dark.png +0 -0
- package/dist/customer-portal/img/others/upload.png +0 -0
- package/dist/customer-portal/img/others/welcome-dark.png +0 -0
- package/dist/customer-portal/img/others/welcome.png +0 -0
- package/dist/customer-portal/img/products/product-1-2.jpg +0 -0
- package/dist/customer-portal/img/products/product-1-3.jpg +0 -0
- package/dist/customer-portal/img/products/product-1-4.jpg +0 -0
- package/dist/customer-portal/img/products/product-1.jpg +0 -0
- package/dist/customer-portal/img/products/product-10.jpg +0 -0
- package/dist/customer-portal/img/products/product-11.jpg +0 -0
- package/dist/customer-portal/img/products/product-12.jpg +0 -0
- package/dist/customer-portal/img/products/product-2-2.jpg +0 -0
- package/dist/customer-portal/img/products/product-2.jpg +0 -0
- package/dist/customer-portal/img/products/product-3.jpg +0 -0
- package/dist/customer-portal/img/products/product-4.jpg +0 -0
- package/dist/customer-portal/img/products/product-5.jpg +0 -0
- package/dist/customer-portal/img/products/product-6.jpg +0 -0
- package/dist/customer-portal/img/products/product-7.jpg +0 -0
- package/dist/customer-portal/img/products/product-8.jpg +0 -0
- package/dist/customer-portal/img/products/product-9.jpg +0 -0
- package/dist/customer-portal/img/theme/bg_center_image.jpg +0 -0
- package/dist/customer-portal/img/theme/login_center.jpg +0 -0
- package/dist/customer-portal/img/theme/login_side.jpg +0 -0
- package/dist/customer-portal/img/theme/login_side_wide.jpg +0 -0
- package/dist/customer-portal/img/thumbs/adobe-xd.png +0 -0
- package/dist/customer-portal/img/thumbs/avalanche.png +0 -0
- package/dist/customer-portal/img/thumbs/bitcoin-cash.png +0 -0
- package/dist/customer-portal/img/thumbs/bitcoin-sv.png +0 -0
- package/dist/customer-portal/img/thumbs/bitcoin.png +0 -0
- package/dist/customer-portal/img/thumbs/cardano.png +0 -0
- package/dist/customer-portal/img/thumbs/chainlink.png +0 -0
- package/dist/customer-portal/img/thumbs/doge.png +0 -0
- package/dist/customer-portal/img/thumbs/drivers-license-back-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/drivers-license-back.png +0 -0
- package/dist/customer-portal/img/thumbs/drivers-license-front-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/drivers-license-front.png +0 -0
- package/dist/customer-portal/img/thumbs/dropbox.png +0 -0
- package/dist/customer-portal/img/thumbs/eos.png +0 -0
- package/dist/customer-portal/img/thumbs/ethereum.png +0 -0
- package/dist/customer-portal/img/thumbs/figma.png +0 -0
- package/dist/customer-portal/img/thumbs/github.png +0 -0
- package/dist/customer-portal/img/thumbs/gitlab.png +0 -0
- package/dist/customer-portal/img/thumbs/google-drive.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-0-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-0.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-1-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-1.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-2-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-2.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-3-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-3.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-4-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-4.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-5-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-5.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-6-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-6.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-7-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/help-center-category-7.png +0 -0
- package/dist/customer-portal/img/thumbs/hubspot.png +0 -0
- package/dist/customer-portal/img/thumbs/id-card-back-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/id-card-back.png +0 -0
- package/dist/customer-portal/img/thumbs/id-card-front-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/id-card-front.png +0 -0
- package/dist/customer-portal/img/thumbs/jira.png +0 -0
- package/dist/customer-portal/img/thumbs/layouts/blank-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/blank.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/classic-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/classic.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/decked-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/decked.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/modern-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/modern.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/simple-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/simple.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/stackedSide-dark.jpg +0 -0
- package/dist/customer-portal/img/thumbs/layouts/stackedSide.jpg +0 -0
- package/dist/customer-portal/img/thumbs/litecoin.png +0 -0
- package/dist/customer-portal/img/thumbs/miota.png +0 -0
- package/dist/customer-portal/img/thumbs/monero.png +0 -0
- package/dist/customer-portal/img/thumbs/notion.png +0 -0
- package/dist/customer-portal/img/thumbs/passport-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/passport-data-dark.png +0 -0
- package/dist/customer-portal/img/thumbs/passport-data.png +0 -0
- package/dist/customer-portal/img/thumbs/passport.png +0 -0
- package/dist/customer-portal/img/thumbs/polkadot.png +0 -0
- package/dist/customer-portal/img/thumbs/polygon.png +0 -0
- package/dist/customer-portal/img/thumbs/ripple.png +0 -0
- package/dist/customer-portal/img/thumbs/saleforce-crm.png +0 -0
- package/dist/customer-portal/img/thumbs/shiba-inu.png +0 -0
- package/dist/customer-portal/img/thumbs/sketch.png +0 -0
- package/dist/customer-portal/img/thumbs/slack.png +0 -0
- package/dist/customer-portal/img/thumbs/solana.png +0 -0
- package/dist/customer-portal/img/thumbs/stellar-lumens.png +0 -0
- package/dist/customer-portal/img/thumbs/tether-us.png +0 -0
- package/dist/customer-portal/img/thumbs/tron.png +0 -0
- package/dist/customer-portal/img/thumbs/zapier.png +0 -0
- package/dist/customer-portal/img/thumbs/zendesk.png +0 -0
- package/dist/customer-portal/img/video/bg-login.mp4 +0 -0
- package/dist/customer-portal/index.html +31 -0
- package/dist/customer-portal/logo192.png +0 -0
- package/dist/customer-portal/logo512.png +0 -0
- package/dist/customer-portal/manifest.json +20 -0
- package/dist/customer-portal/mstile-150x150.png +0 -0
- package/dist/customer-portal/robots.txt +3 -0
- package/dist/customer-portal/safari-pinned-tab.svg +70 -0
- package/dist/customer-portal/web.config +27 -0
- package/index.bundle.js +71 -37
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,au as O,R as $,j as e,ai as E,p as U}from"./index-737fd7d3.js";import{I as q}from"./Input-f9dc9df7.js";import{B}from"./Button-312a6bfe.js";import{C as D}from"./index-cdf4c2fe.js";import{F as J,a as P}from"./FormContainer-e0ad1074.js";import{A as V}from"./Alert-e6518529.js";import{P as W}from"./PasswordInput-f6e74528.js";import{A as R}from"./ActionLink-feb719a3.js";import{u as z}from"./useTimeOutMessage-04464c25.js";import{c as K,a as _,e as X,F as H,b as Q,d as A}from"./index.esm-2becf208.js";import"./isEmpty-d6a6848e.js";import"./get-e6d75ebc.js";import"./cloneDeep-958c9090.js";import"./index-a05b664a.js";import"./index.esm-7fca4988.js";import"./useThemeClass-61b1bbbf.js";/*! @azure/msal-react v2.2.0 2024-11-05 */const Y=()=>a.useContext(O);function Z(o={}){const{nonce:t,onScriptLoadSuccess:l,onScriptLoadError:d}=o,[i,p]=a.useState(!1),r=a.useRef(l);r.current=l;const x=a.useRef(d);return x.current=d,a.useEffect(()=>{const c=document.createElement("script");return c.src="https://accounts.google.com/gsi/client",c.async=!0,c.defer=!0,c.nonce=t,c.onload=()=>{var u;p(!0),(u=r.current)===null||u===void 0||u.call(r)},c.onerror=()=>{var u;p(!1),(u=x.current)===null||u===void 0||u.call(x)},document.body.appendChild(c),()=>{document.body.removeChild(c)}},[t]),i}const T=a.createContext(null);function ee({clientId:o,nonce:t,onScriptLoadSuccess:l,onScriptLoadError:d,children:i}){const p=Z({nonce:t,onScriptLoadSuccess:l,onScriptLoadError:d}),r=a.useMemo(()=>({clientId:o,scriptLoadedSuccessfully:p}),[o,p]);return $.createElement(T.Provider,{value:r},i)}function oe(){const o=a.useContext(T);if(!o)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return o}function se({flow:o="implicit",scope:t="",onSuccess:l,onError:d,onNonOAuthError:i,overrideScope:p,state:r,...x}){const{clientId:c,scriptLoadedSuccessfully:u}=oe(),v=a.useRef(),y=a.useRef(l);y.current=l;const j=a.useRef(d);j.current=d;const w=a.useRef(i);w.current=i,a.useEffect(()=>{var m,n;if(!u)return;const s=o==="implicit"?"initTokenClient":"initCodeClient",I=(n=(m=window==null?void 0:window.google)===null||m===void 0?void 0:m.accounts)===null||n===void 0?void 0:n.oauth2[s]({client_id:c,scope:p?t:`openid profile email ${t}`,callback:f=>{var g,b;if(f.error)return(g=j.current)===null||g===void 0?void 0:g.call(j,f);(b=y.current)===null||b===void 0||b.call(y,f)},error_callback:f=>{var g;(g=w.current)===null||g===void 0||g.call(w,f)},state:r,...x});v.current=I},[c,u,o,t,r]);const S=a.useCallback(m=>{var n;return(n=v.current)===null||n===void 0?void 0:n.requestAccessToken(m)},[]),C=a.useCallback(()=>{var m;return(m=v.current)===null||m===void 0?void 0:m.requestCode()},[]);return o==="implicit"?S:C}const te=({onSuccess:o,onFailure:t,clientId:l})=>{const d=se({onSuccess:i=>{o(i.access_token)},onError:i=>t({message:i.error_description||"Login Failed"}),scope:"email profile"});return e.jsx("button",{onClick:()=>d(),className:"google-sign-in-button py-2 px-4 rounded"})},ne=({clientId:o,onSuccess:t,onFailure:l})=>e.jsx(ee,{clientId:o,children:e.jsx(te,{clientId:o,onSuccess:t,onFailure:l})}),re=({onSuccess:o,onFailure:t})=>{const{instance:l}=Y(),d=async()=>{try{const i=await l.loginPopup({scopes:["user.read"]});o({token:i.accessToken})}catch(i){"errorMessage"in i?t({message:i.errorMessage}):t({message:"An unexpected error occurred. Please try again."})}};return e.jsx("button",{onClick:d,className:"microsoft-sign-in-button py-2 px-4 rounded "})},ie=()=>{const o=async()=>{const t=`https:///authorize?client_id=${E.auth0ClientId}&redirect_uri=${encodeURIComponent(`${window.location.origin}/sign-in/auth0/callback`)}&response_type=code&scope=openid profile email&`;t.startsWith("https://")?window.location.replace(t):console.error("Invalid login URL")};return e.jsx("button",{className:"magic-link-button py-2 px-4 rounded",onClick:o})},N=5,F=5*60*1e3,ce=()=>{const o=localStorage.getItem("loginAttempts");try{return JSON.parse(o||"{}")||{count:0,timestamp:0}}catch{return{count:0,timestamp:0}}},ae=(o,t)=>{localStorage.setItem("loginAttempts",JSON.stringify({count:o,timestamp:t}))},le=()=>{localStorage.removeItem("loginAttempts")},de=K().shape({userName:_().required("Please enter your user name"),password:_().required("Please enter your password"),rememberMe:X()}),ue=o=>{const{disableSubmit:t=!1,className:l,forgotPasswordUrl:d="/forgot-password",signUpUrl:i="/sign-up"}=o,[p,r]=z(),[x,c]=a.useState(!1),{signIn:u,signInExternal:v}=U(),y=async(n,s)=>{const{userName:I}=n;let{password:f}=n;const{count:g,timestamp:b}=ce(),L=Date.now(),M=L-b;g>=N&&M<F&&(r("Too many failed attempts.try again after 5 minutes."),c(!0),s(!1)),s(!0),f=btoa(f);const h=await u({userName:I,password:f});if((h==null?void 0:h.status)==="failed"){const k=M>F?1:g+1;ae(k,L),k>=N?(c(!0),r("Too many failed attempts.try again after 5 minutes.")):(c(!1),r(h.message||"Login failed.")),k>=N-1&&await new Promise(G=>setTimeout(G,2e3))}else(h==null?void 0:h.status)==="success"&&(le(),c(!1));s(!1)},j=async n=>{try{const s=await v(2,n);(s==null?void 0:s.status)==="failed"&&r((s==null?void 0:s.message)||"An error occurred during Google sign-in.")}catch{r("An error occurred during Google sign-in.")}},w=n=>{r("Google sign-in failed. Please try again.")},S=n=>{r("Microsoft sign-in failed. Please try again.")},C=async n=>{try{const s=await v(3,n.token);(s==null?void 0:s.status)==="failed"&&r((s==null?void 0:s.message)||"An error occurred during Microsoft sign-in.")}catch{r("An error occurred during Microsoft sign-in.")}},{googleClientId:m}=E;return e.jsxs("div",{className:l,children:[p&&e.jsx(V,{showIcon:!0,className:"mb-4",type:"danger",children:p}),e.jsx(H,{initialValues:{userName:"",password:"",rememberMe:!1},validationSchema:de,onSubmit:(n,{setSubmitting:s})=>{y(n,s)},children:({isSubmitting:n})=>e.jsx(Q,{children:e.jsxs(J,{children:[e.jsx(P,{label:"Email",children:e.jsx(A,{type:"text",name:"userName",placeholder:"Email",component:q})}),e.jsx(P,{label:"Password",children:e.jsx(A,{name:"password",placeholder:"Password",component:W})}),e.jsxs("div",{className:"grid grid-cols-2 gap-1",children:[e.jsx("div",{className:"my-1 text-left",children:e.jsx(A,{name:"rememberMe",type:"checkbox",component:D,children:"Remember Me"})}),e.jsx("div",{className:"my-1 text-right",children:e.jsx(R,{to:d,children:"Forgot Password?"})})]}),e.jsx(B,{block:!0,className:"my-4",loading:n,variant:"solid",type:"submit",disabled:n||x,children:n?"Signing in...":x?"Please wait...":"Sign In"}),e.jsx("div",{className:"text-center",children:e.jsxs("small",{children:["Don't have an account? ",e.jsx(R,{to:i,children:"Sign Up"})]})})]})})}),e.jsx("div",{className:"my-1 text-center",children:"or"}),e.jsxs("div",{className:"flex flex-auto justify-center text-center",children:[e.jsx("div",{className:"mt-3 text-center mx-1",children:e.jsx(ne,{clientId:m,onSuccess:j,onFailure:w})}),e.jsx("div",{className:"mt-3 text-center mx-1",children:e.jsx(re,{onSuccess:C,onFailure:S})}),e.jsx("div",{className:"mt-3 text-center mx-1",children:e.jsx(ie,{})})]})]})},me=()=>e.jsxs(e.Fragment,{children:[e.jsx("img",{src:"/img/logo/logo-light-streamline.png",className:"absolute left-0 top-0 mobile-only"}),e.jsxs("div",{className:"mb-8 xl:min-w-[450px] px-8",children:[e.jsx("h3",{className:"mb-1",children:"Welcome Back!"}),e.jsx("p",{children:"Enter your credentials to access your account"})]}),e.jsx("div",{className:"mb-8 xl:min-w-[450px] px-8",children:e.jsx(ue,{disableSubmit:!1})})]}),Me=me;export{Me as default};
|