@sowell/quasar-app-extension-auth 0.3.24 → 0.4.0

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/README.md CHANGED
@@ -493,10 +493,13 @@ cy.visit('/pages/about') // visits the about.html
493
493
  ```
494
494
  **Warning:** be careful with verbose logging, since it can print all environment variables passed to the plugin, including tokens, API keys, and other secrets.
495
495
 
496
+ Error: error:0308010C:digital envelope routines::unsupported
497
+ https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
498
+
496
499
  # Donate
497
500
 
498
501
  If you appreciate the work that went into this App Extension, make donation to [Sowell](https://www.sowellapp.com)
499
502
 
500
503
  # License
501
504
 
502
- MIT (c) Sowell
505
+ MIT (c) Sowell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sowell/quasar-app-extension-auth",
3
- "version": "0.3.24",
3
+ "version": "0.4.0",
4
4
  "description": "A Quasar app extension to manage Authentication",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://github.com/sowell-ai/quasar.extension.auth",
@@ -0,0 +1,136 @@
1
+ <svg width="660" height="798" viewBox="0 0 660 798" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="659.5" height="798" transform="translate(0.5)" fill="#EEF8FD"/>
3
+ <g clip-path="url(#clip0_7637_28681)">
4
+ <path d="M417.667 182.66C417.667 182.66 331.365 148.695 248.827 196.63C166.289 244.565 126.641 343.192 92.4309 422.128C58.2214 501.065 81.3359 582.976 146.361 621.845C211.387 660.714 253.472 607.265 343.243 607.113C433.015 606.96 457.522 620.984 530.651 570.325C603.78 519.666 613.918 395.486 552.645 301.675C491.372 207.865 417.667 182.66 417.667 182.66Z" fill="#40C4FF"/>
5
+ <path opacity="0.7" d="M417.667 182.66C417.667 182.66 331.365 148.695 248.827 196.63C166.289 244.565 126.641 343.192 92.4309 422.128C58.2214 501.065 81.3359 582.976 146.361 621.845C211.387 660.714 253.472 607.265 343.243 607.113C433.015 606.96 457.522 620.984 530.651 570.325C603.78 519.666 613.918 395.486 552.645 301.675C491.372 207.865 417.667 182.66 417.667 182.66Z" fill="white"/>
6
+ <path d="M67.75 628.209H586.648" stroke="#152F3B" stroke-miterlimit="10"/>
7
+ <path d="M525.147 575.73C527.257 576.264 532.184 575.392 532.184 575.392C532.184 575.392 530.803 572.439 530.694 572.265C529.378 570.26 525.582 567.187 522.841 567.982C522.393 568.111 521.976 568.331 521.616 568.628C521.256 568.925 520.961 569.292 520.749 569.708C520.537 570.124 520.413 570.579 520.383 571.045C520.354 571.511 520.42 571.978 520.578 572.417C521.187 574.204 523.363 575.272 525.147 575.73Z" fill="#152F3B"/>
8
+ <path d="M555.832 627.185L555.919 627.501L557.844 627.915C557.714 627.501 557.583 627.076 557.442 626.64C557.05 625.397 556.604 624.09 556.137 622.749C556.452 622.564 558.236 621.551 559.802 620.407C561.401 621.682 565.241 622.858 565.763 623.011C565.382 624.275 565.002 625.506 564.621 626.661C564.36 627.457 564.11 628.22 563.86 628.961L565.72 628.666C565.894 628.143 566.057 627.577 566.22 627.054C566.611 625.768 567.014 624.384 567.395 622.967C567.939 622.967 572.355 623.164 574.324 622.412C576.118 621.725 578.229 620.385 578.87 618.522C579.041 618.1 579.115 617.645 579.088 617.191C579.061 616.737 578.932 616.295 578.712 615.897C578.492 615.499 578.186 615.155 577.816 614.891C577.447 614.627 577.023 614.449 576.575 614.37C573.823 613.923 570.049 617.475 568.765 619.655C568.689 619.786 568.015 621.257 567.601 622.194C567.765 621.616 567.917 621.104 568.069 620.45C568.385 619.263 568.656 618.075 568.961 616.8C569.081 616.179 569.211 615.558 569.331 614.926C569.451 614.294 569.538 613.629 569.635 612.975C569.853 611.45 569.994 609.902 570.092 608.344C571.18 608.54 574.9 609.194 576.771 608.769C578.642 608.344 580.915 607.32 581.829 605.554C582.063 605.164 582.208 604.727 582.253 604.274C582.298 603.821 582.242 603.364 582.089 602.936C581.936 602.507 581.69 602.118 581.368 601.796C581.047 601.475 580.658 601.229 580.23 601.076C577.609 600.226 573.356 603.255 571.757 605.195C571.648 605.326 570.669 606.862 570.125 607.712C570.179 606.775 570.245 605.838 570.266 604.89C570.342 602.155 570.321 599.441 570.321 596.619C570.321 595.769 570.321 594.93 570.321 594.08C570.691 594.156 575.129 595.028 577.228 594.559C579.088 594.134 581.361 593.11 582.286 591.29C582.52 590.9 582.665 590.463 582.71 590.01C582.755 589.557 582.699 589.1 582.546 588.672C582.393 588.243 582.147 587.854 581.825 587.532C581.504 587.211 581.115 586.965 580.687 586.812C578.065 585.962 573.812 588.991 572.203 590.931C572.083 591.083 570.658 593.295 570.321 593.873C570.321 592.01 570.321 590.157 570.473 588.326C570.601 585.843 570.899 583.37 571.365 580.928C571.539 580.928 576.162 581.886 578.305 581.407C580.165 580.982 582.438 579.958 583.363 578.192C583.583 577.806 583.717 577.376 583.755 576.932C583.794 576.489 583.735 576.042 583.584 575.624C583.433 575.205 583.193 574.824 582.881 574.508C582.568 574.191 582.191 573.946 581.775 573.79C579.153 572.94 574.9 575.97 573.301 577.909C573.171 578.062 571.637 580.448 571.387 580.895C571.387 580.753 571.387 580.612 571.452 580.47C571.986 577.999 572.74 575.581 573.704 573.245C574.226 571.938 574.791 570.717 575.368 569.53C576.205 569.791 580.056 570.935 582.014 570.706C583.972 570.478 586.267 569.704 587.377 568.026C587.653 567.664 587.846 567.244 587.942 566.798C588.037 566.353 588.033 565.891 587.929 565.447C587.825 565.003 587.624 564.588 587.34 564.231C587.056 563.874 586.697 563.585 586.289 563.384C583.787 562.294 579.251 564.789 577.445 566.598C577.348 566.696 576.456 567.797 575.814 568.614C576.086 568.08 576.358 567.524 576.619 567.034C577.619 565.138 578.653 563.46 579.588 561.989C580.121 561.15 580.676 560.398 581.089 559.701C582.079 559.537 586.049 558.796 587.703 557.739C589.356 556.682 591.118 554.971 591.336 553.043C591.405 552.593 591.372 552.133 591.241 551.697C591.11 551.261 590.884 550.86 590.578 550.523C590.273 550.186 589.897 549.921 589.476 549.748C589.056 549.575 588.603 549.498 588.149 549.523C585.321 549.676 582.384 553.882 581.622 556.246C581.557 556.453 580.861 559.755 580.904 559.744H580.97C580.502 560.409 580.002 561.117 579.48 561.924C578.511 563.395 577.435 565.051 576.39 566.936C575.25 568.942 574.219 571.008 573.301 573.125C572.275 575.475 571.46 577.911 570.865 580.405C570.865 580.405 570.865 580.47 570.865 580.492C570.799 579.696 570.538 577.484 570.495 577.321C569.929 574.978 567.384 570.848 564.567 570.783C564.096 570.784 563.631 570.879 563.198 571.062C562.764 571.246 562.372 571.513 562.043 571.85C561.714 572.187 561.455 572.586 561.281 573.023C561.108 573.461 561.023 573.929 561.031 574.4C561.031 576.329 562.696 578.007 564.229 578.999C565.937 580.089 570.462 580.742 570.821 580.786C570.286 583.301 569.922 585.849 569.733 588.414C569.614 589.907 569.538 591.41 569.483 592.914C569.407 592.228 569.331 591.617 569.309 591.53C568.733 589.187 566.187 585.057 563.37 584.992C562.9 584.993 562.435 585.089 562.003 585.272C561.57 585.455 561.178 585.723 560.85 586.06C560.522 586.397 560.264 586.796 560.092 587.234C559.919 587.671 559.836 588.139 559.846 588.61C559.846 590.539 561.51 592.217 563.033 593.208C564.556 594.2 568.406 594.821 569.429 594.974C569.429 595.551 569.429 596.129 569.429 596.706C569.364 599.474 569.32 602.242 569.189 604.955C569.189 605.903 569.059 606.851 568.983 607.799L568.83 606.6C568.254 604.247 565.709 600.128 562.891 600.062C562.422 600.064 561.957 600.159 561.524 600.342C561.091 600.526 560.7 600.794 560.371 601.13C560.043 601.467 559.785 601.866 559.613 602.304C559.441 602.742 559.357 603.21 559.367 603.68C559.367 605.609 561.031 607.287 562.554 608.279C564.077 609.27 567.558 609.826 568.765 610.011C568.656 610.981 568.548 611.94 568.395 612.877C568.276 613.509 568.21 614.13 568.058 614.762C567.906 615.394 567.775 616.015 567.645 616.636C567.34 617.824 567.025 619.045 566.699 620.2C566.47 620.995 566.242 621.758 566.013 622.521C566.078 621.573 566.144 619.709 566.133 619.546C565.887 617.443 565.075 615.446 563.783 613.771C563.745 613.516 563.686 613.264 563.609 613.019C563.49 612.576 563.277 612.164 562.983 611.811C562.69 611.459 562.325 611.174 561.911 610.976C561.498 610.778 561.047 610.673 560.589 610.666C560.131 610.659 559.677 610.752 559.258 610.937C556.604 612.027 555.353 616.92 555.473 619.35C555.473 619.491 555.734 621.039 555.919 621.998C555.723 621.453 555.538 620.908 555.332 620.363C554.929 619.273 554.483 618.184 554.026 616.963L553.276 615.263C553.036 614.686 552.71 614.119 552.427 613.531C551.753 612.201 550.991 610.894 550.187 609.586C551.22 609.183 554.842 607.69 556.224 606.317C557.605 604.944 558.997 602.939 558.791 601.032C558.75 600.576 558.61 600.135 558.38 599.74C558.15 599.344 557.836 599.005 557.46 598.745C557.084 598.485 556.656 598.311 556.205 598.235C555.754 598.16 555.293 598.185 554.853 598.308C552.09 599.038 550.1 603.756 549.838 606.154C549.838 606.306 549.838 608.072 549.838 609.041C549.349 608.257 548.87 607.472 548.348 606.699C546.858 604.519 545.259 602.263 543.682 600.062L542.257 598.025C542.616 597.883 546.967 596.194 548.511 594.701C549.893 593.372 551.285 591.323 551.079 589.416C551.036 588.961 550.895 588.521 550.664 588.127C550.434 587.732 550.12 587.393 549.744 587.134C549.369 586.874 548.941 586.7 548.491 586.624C548.042 586.547 547.581 586.571 547.141 586.692C544.378 587.422 542.387 592.086 542.126 594.538C542.126 594.723 542.126 597.262 542.126 597.905C541.039 596.401 540.049 594.908 539.102 593.383C537.808 591.332 536.656 589.195 535.654 586.986C535.828 586.921 540.375 585.177 541.963 583.641C543.334 582.311 544.726 580.263 544.519 578.356C544.477 577.901 544.336 577.461 544.105 577.066C543.874 576.672 543.561 576.333 543.185 576.073C542.81 575.814 542.382 575.64 541.932 575.563C541.483 575.487 541.022 575.51 540.582 575.632C537.819 576.362 535.828 581.08 535.567 583.477C535.567 583.674 535.567 586.398 535.567 586.899C535.567 586.768 535.437 586.638 535.382 586.507C534.437 584.253 533.708 581.914 533.207 579.522C532.913 578.203 532.707 576.918 532.543 575.664C533.414 575.425 537.406 574.281 538.983 573.038C540.56 571.796 542.094 569.954 542.105 568.026C542.12 567.571 542.035 567.118 541.855 566.699C541.675 566.281 541.404 565.908 541.063 565.607C540.722 565.306 540.319 565.084 539.882 564.958C539.445 564.832 538.986 564.804 538.537 564.877C535.72 565.312 533.229 569.769 532.696 572.188C532.696 572.33 532.511 573.681 532.424 574.673C532.358 574.106 532.271 573.529 532.217 572.984C532.01 570.935 531.956 569.039 531.923 567.361C531.923 566.402 531.923 565.53 531.923 564.724C532.674 564.059 535.709 561.335 536.546 559.603C537.384 557.87 537.928 555.56 537.025 553.893C536.803 553.485 536.498 553.129 536.129 552.849C535.759 552.569 535.335 552.37 534.883 552.267C534.431 552.164 533.963 552.159 533.509 552.251C533.055 552.343 532.625 552.531 532.25 552.803C529.878 554.437 529.715 559.341 530.379 561.706C530.433 561.902 531.706 564.92 531.738 564.887H531.793C531.793 565.672 531.728 566.511 531.728 567.426C531.728 569.105 531.728 571.011 531.902 573.082C532.045 575.302 532.329 577.512 532.75 579.696C533.2 582.13 533.877 584.516 534.773 586.823V586.899C534.262 586.3 532.772 584.72 532.598 584.556C530.759 582.987 526.202 581.047 523.722 582.519C523.322 582.747 522.976 583.058 522.705 583.43C522.434 583.802 522.244 584.227 522.149 584.678C522.053 585.129 522.054 585.594 522.151 586.045C522.247 586.495 522.438 586.92 522.71 587.291C523.798 588.817 526.213 589.296 528.149 589.264C530.27 589.264 534.545 587.313 534.893 587.161C535.864 589.474 537.002 591.714 538.298 593.862C539.037 595.126 539.831 596.368 540.636 597.6C540.179 597.098 539.766 596.641 539.701 596.586C537.862 595.017 533.305 593.078 530.825 594.538C530.425 594.767 530.078 595.079 529.807 595.452C529.535 595.826 529.346 596.252 529.252 596.704C529.157 597.156 529.159 597.623 529.258 598.074C529.357 598.525 529.55 598.95 529.824 599.321C530.912 600.847 533.327 601.326 535.208 601.294C537.09 601.261 540.799 599.703 541.735 599.278C542.05 599.746 542.355 600.215 542.681 600.683C544.204 602.939 545.738 605.173 547.174 607.407C547.674 608.202 548.142 608.998 548.609 609.793C548.207 609.346 547.859 608.976 547.794 608.921C545.966 607.352 541.408 605.413 538.928 606.873C538.527 607.101 538.179 607.412 537.907 607.785C537.635 608.158 537.445 608.585 537.349 609.037C537.254 609.489 537.255 609.956 537.353 610.408C537.451 610.859 537.643 611.285 537.917 611.657C539.005 613.182 541.419 613.662 543.356 613.629C545.292 613.596 548.588 612.19 549.741 611.689C550.197 612.517 550.654 613.346 551.057 614.174C551.318 614.751 551.612 615.263 551.829 615.863L552.536 617.584C552.949 618.674 553.374 619.84 553.743 620.941C554.005 621.703 554.244 622.433 554.483 623.12C553.983 622.325 552.982 620.799 552.884 620.679C551.34 618.848 547.184 616.244 544.519 617.334C544.09 617.507 543.701 617.768 543.377 618.1C543.053 618.432 542.802 618.828 542.64 619.263C542.477 619.697 542.406 620.161 542.432 620.624C542.458 621.088 542.58 621.54 542.79 621.954C543.649 623.643 545.901 624.471 547.75 624.722C549.784 624.994 554.102 623.774 554.646 623.632C555.136 624.853 555.506 626.095 555.832 627.185Z" fill="#152F3B"/>
9
+ <path d="M575.205 569.006C575.205 569.006 575.781 565.737 575.781 565.487C575.89 563.046 574.596 558.339 571.941 557.554C571.483 557.437 571.006 557.413 570.537 557.482C570.069 557.552 569.62 557.714 569.215 557.96C568.81 558.205 568.458 558.529 568.179 558.912C567.9 559.295 567.7 559.73 567.59 560.191C567.09 562.098 568.178 564.168 569.353 565.519C570.756 567.121 575.194 568.996 575.205 569.006Z" fill="#152F3B"/>
10
+ <path d="M73.3954 598.548C74.7358 598.674 76.0874 598.608 77.4092 598.352C77.4092 598.352 76.626 596.673 76.5607 596.575C75.8102 595.42 73.6456 593.666 72.0792 594.124C71.8214 594.197 71.5815 594.323 71.3745 594.494C71.1675 594.664 70.998 594.876 70.8765 595.115C70.755 595.355 70.6841 595.617 70.6683 595.885C70.6526 596.153 70.6922 596.421 70.7848 596.673C71.0488 597.164 71.4211 597.588 71.8736 597.913C72.326 598.238 72.8465 598.455 73.3954 598.548Z" fill="#152F3B"/>
11
+ <path d="M90.919 627.925C90.919 627.991 90.919 628.045 90.919 628.1L92.0067 628.34L91.7783 627.609C91.5499 626.901 91.2997 626.149 91.0277 625.43C91.7508 625.021 92.4516 624.574 93.1271 624.09C94.1851 624.748 95.3316 625.25 96.5317 625.583C96.3142 626.302 96.0966 627.01 95.8791 627.664C95.7268 628.122 95.5854 628.557 95.4331 628.982L96.5208 628.808C96.6079 628.514 96.7058 628.209 96.8037 627.893C97.0212 627.152 97.2496 626.367 97.4672 625.561C98.7953 625.646 100.129 625.539 101.427 625.245C101.988 625.068 102.508 624.779 102.955 624.395C103.402 624.011 103.766 623.54 104.026 623.011C104.123 622.774 104.165 622.519 104.152 622.263C104.139 622.007 104.069 621.758 103.949 621.532C103.829 621.307 103.66 621.11 103.455 620.957C103.251 620.804 103.015 620.698 102.765 620.646C101.198 620.396 99.0444 622.423 98.3047 623.665C98.3047 623.741 97.8805 624.58 97.6412 625.114C97.7282 624.787 97.8261 624.46 97.9132 624.123C98.0872 623.447 98.2504 622.771 98.4135 622.041C98.4897 621.682 98.5549 621.322 98.6311 620.952C98.7072 620.581 98.7507 620.211 98.8051 619.862C98.9211 618.99 99.0082 618.107 99.0662 617.214C100.319 617.489 101.607 617.57 102.884 617.454C103.464 617.363 104.02 617.154 104.516 616.839C105.012 616.524 105.437 616.11 105.767 615.623C105.901 615.401 105.984 615.152 106.01 614.893C106.036 614.635 106.004 614.374 105.917 614.13C105.829 613.885 105.688 613.664 105.504 613.481C105.32 613.298 105.098 613.159 104.853 613.073C103.352 612.583 100.926 614.283 100.013 615.416C100.013 615.492 99.3925 616.364 99.0879 616.854C99.0879 616.32 99.1532 615.765 99.1641 615.242C99.1641 613.683 99.1641 612.103 99.1641 610.523V609.074C100.46 609.356 101.79 609.448 103.113 609.346C103.692 609.25 104.247 609.038 104.742 608.721C105.237 608.405 105.664 607.991 105.995 607.505C106.132 607.284 106.217 607.035 106.245 606.777C106.273 606.519 106.242 606.257 106.155 606.013C106.069 605.768 105.928 605.546 105.744 605.363C105.56 605.179 105.337 605.04 105.092 604.955C103.591 604.465 101.166 606.175 100.241 607.298C100.176 607.385 99.3599 608.649 99.1532 608.987C99.1532 607.897 99.1532 606.862 99.2402 605.816C99.3208 604.397 99.4915 602.985 99.7514 601.588C101.055 601.872 102.392 601.964 103.722 601.86C104.315 601.761 104.882 601.539 105.386 601.209C105.889 600.879 106.319 600.448 106.648 599.942C106.782 599.72 106.865 599.47 106.891 599.211C106.917 598.952 106.885 598.69 106.798 598.445C106.71 598.2 106.57 597.977 106.386 597.793C106.202 597.609 105.979 597.469 105.734 597.382C104.233 596.902 101.807 598.602 100.894 599.735C100.817 599.823 99.9472 601.185 99.8058 601.446V601.196C100.118 599.784 100.551 598.402 101.1 597.066C101.394 596.325 101.709 595.627 102.047 594.952C103.27 595.371 104.55 595.599 105.843 595.627C106.433 595.6 107.011 595.452 107.542 595.194C108.073 594.935 108.546 594.571 108.932 594.124C109.091 593.918 109.202 593.68 109.258 593.426C109.314 593.172 109.313 592.908 109.254 592.655C109.196 592.401 109.082 592.164 108.921 591.96C108.76 591.756 108.556 591.591 108.323 591.476C106.898 590.822 104.309 592.271 103.276 593.306C103.276 593.306 102.71 593.993 102.34 594.461C102.503 594.156 102.656 593.84 102.808 593.557C103.374 592.467 103.972 591.519 104.494 590.669C104.799 590.19 105.092 589.765 105.364 589.373C106.667 589.189 107.938 588.822 109.139 588.283C109.652 588.002 110.101 587.618 110.459 587.155C110.816 586.692 111.074 586.159 111.216 585.591C111.252 585.335 111.231 585.074 111.154 584.827C111.077 584.58 110.946 584.353 110.772 584.163C110.597 583.972 110.383 583.823 110.144 583.725C109.904 583.627 109.647 583.584 109.389 583.597C107.779 583.684 106.126 586.082 105.636 587.444C105.636 587.553 105.201 589.438 105.234 589.438C104.962 589.819 104.679 590.223 104.374 590.68C103.83 591.508 103.21 592.456 102.623 593.535C101.961 594.678 101.369 595.861 100.85 597.077C100.264 598.417 99.7985 599.806 99.4578 601.228C99.4629 601.246 99.4629 601.265 99.4578 601.283C99.4578 600.825 99.2728 599.561 99.2511 599.463C98.9248 598.123 97.4672 595.769 95.8573 595.736C95.3255 595.742 94.8176 595.958 94.4446 596.338C94.0716 596.718 93.8638 597.23 93.8667 597.763C93.9446 598.312 94.1494 598.836 94.4647 599.292C94.7801 599.748 95.1973 600.123 95.6833 600.389C96.8825 600.92 98.1551 601.265 99.4578 601.414C99.1469 602.85 98.9361 604.306 98.8269 605.772C98.7616 606.622 98.7181 607.483 98.6855 608.344C98.6855 607.952 98.5984 607.603 98.5876 607.548C98.2612 606.208 96.8037 603.854 95.1938 603.822C94.9258 603.822 94.6606 603.875 94.4135 603.979C94.1665 604.083 93.9427 604.236 93.7553 604.428C93.5678 604.619 93.4205 604.847 93.322 605.096C93.2234 605.346 93.1757 605.613 93.1815 605.881C93.2593 606.43 93.4641 606.954 93.7795 607.41C94.0948 607.866 94.5121 608.241 94.998 608.507C96.1564 609.033 97.3895 609.375 98.6528 609.521C98.6528 609.848 98.6528 610.175 98.6528 610.501C98.6528 612.092 98.5876 613.662 98.5114 615.22C98.5114 615.765 98.4462 616.31 98.3918 616.843C98.3918 616.495 98.3156 616.201 98.3047 616.157C97.9784 614.817 96.5317 612.463 94.9219 612.43C94.6534 612.43 94.3876 612.484 94.14 612.588C93.8924 612.691 93.6679 612.844 93.4796 613.035C93.2913 613.227 93.1429 613.454 93.0432 613.704C92.9435 613.954 92.8943 614.221 92.8987 614.49C92.9801 615.039 93.1875 615.562 93.5046 616.018C93.8216 616.473 94.2397 616.849 94.7261 617.116C95.8499 617.628 97.0461 617.962 98.2721 618.107C98.2069 618.663 98.1525 619.197 98.0654 619.742C98.0002 620.102 97.9567 620.461 97.8696 620.832C97.7826 621.202 97.7065 621.551 97.6303 621.921C97.4563 622.597 97.2823 623.294 97.0865 623.959C96.9668 624.417 96.8363 624.842 96.7058 625.288C96.7058 624.744 96.771 623.676 96.771 623.589C96.626 622.396 96.1597 621.266 95.4222 620.32C95.412 620.184 95.3901 620.049 95.357 619.916C95.2898 619.663 95.1687 619.428 95.0018 619.226C94.835 619.025 94.6265 618.862 94.3907 618.749C94.1548 618.636 93.8974 618.576 93.636 618.572C93.3746 618.569 93.1156 618.622 92.8769 618.729C91.3649 619.361 90.7014 622.139 90.7014 623.534C90.7014 623.61 90.8537 624.493 90.9516 625.049C90.8428 624.733 90.734 624.428 90.6144 624.112C90.386 623.469 90.1358 622.848 89.8747 622.172L89.4505 621.191C89.3091 620.864 89.1242 620.537 88.961 620.211C88.5694 619.448 88.1343 618.696 87.6884 617.955C88.9193 617.504 90.0802 616.88 91.1365 616.102C91.5915 615.727 91.9594 615.256 92.2149 614.724C92.4703 614.191 92.6071 613.609 92.6158 613.019C92.5919 612.76 92.5115 612.509 92.3803 612.285C92.2491 612.06 92.0704 611.868 91.8566 611.72C91.6429 611.572 91.3995 611.474 91.1435 611.431C90.8875 611.388 90.6252 611.402 90.3751 611.471C88.787 611.885 87.6557 614.544 87.5034 615.95C87.5034 616.037 87.5034 617.04 87.5034 617.595C87.2315 617.149 86.9487 616.702 86.655 616.266C85.7957 614.991 84.8929 613.727 83.99 612.463L83.1742 611.308C84.4488 610.84 85.653 610.198 86.7529 609.401C87.1957 609.03 87.5546 608.569 87.8059 608.049C88.0572 607.528 88.1951 606.96 88.2105 606.383C88.1865 606.124 88.1061 605.873 87.9749 605.649C87.8438 605.424 87.665 605.232 87.4513 605.084C87.2376 604.936 86.9941 604.838 86.7381 604.795C86.4821 604.752 86.2198 604.765 85.9697 604.835C84.3816 605.249 83.2504 607.908 83.0981 609.314C83.0981 609.412 83.0981 610.861 83.0981 611.232C82.4998 610.382 81.9124 609.521 81.3686 608.649C80.6304 607.478 79.9726 606.259 79.3997 604.999C80.6828 604.534 81.8947 603.892 83.0002 603.092C83.4433 602.721 83.8032 602.26 84.0563 601.74C84.3094 601.219 84.4499 600.652 84.4686 600.073C84.4446 599.813 84.3639 599.561 84.2322 599.335C84.1005 599.11 83.9209 598.916 83.7062 598.767C83.4915 598.619 83.2469 598.519 82.9896 598.475C82.7322 598.432 82.4685 598.445 82.217 598.515C80.6398 598.929 79.5085 601.599 79.3562 602.994C79.3562 603.103 79.3562 604.672 79.3562 604.944L79.2475 604.726C78.7141 603.438 78.3026 602.103 78.0183 600.738C77.8527 600.019 77.7256 599.291 77.6376 598.559C78.9274 598.232 80.165 597.726 81.3142 597.055C81.7944 596.728 82.2012 596.304 82.5084 595.811C82.8156 595.317 83.0165 594.765 83.0981 594.189C83.1066 593.929 83.0573 593.67 82.9537 593.432C82.8501 593.193 82.6947 592.98 82.499 592.809C82.3032 592.638 82.0719 592.513 81.8219 592.442C81.5718 592.372 81.3092 592.358 81.0531 592.402C79.4541 592.642 78.0292 595.191 77.7137 596.575C77.7137 596.652 77.6158 597.425 77.5615 597.992C77.5615 597.665 77.4853 597.338 77.4527 597.022C77.333 595.856 77.3004 594.767 77.2786 593.753C77.2786 593.208 77.2786 592.718 77.2786 592.249C78.2894 591.405 79.1757 590.422 79.911 589.329C80.1977 588.839 80.371 588.291 80.4181 587.725C80.4651 587.16 80.3848 586.591 80.1829 586.06C80.0564 585.828 79.8824 585.626 79.6725 585.467C79.4625 585.307 79.2212 585.194 78.9645 585.134C78.7078 585.074 78.4413 585.07 78.1827 585.12C77.924 585.171 77.679 585.276 77.4636 585.428C76.1039 586.365 76.0169 589.187 76.3758 590.517C76.3758 590.626 77.1264 592.347 77.1481 592.326C77.1481 592.772 77.1481 593.252 77.1481 593.775C77.1481 594.734 77.1481 595.823 77.2569 597.044C77.34 598.313 77.4999 599.576 77.7355 600.825C77.9925 602.218 78.3823 603.582 78.8994 604.901C78.6166 604.552 77.7572 603.626 77.692 603.56C76.6042 602.667 74.0372 601.555 72.6231 602.394C72.395 602.525 72.1969 602.702 72.042 602.914C71.8872 603.127 71.7789 603.369 71.7245 603.627C71.67 603.884 71.6706 604.15 71.7261 604.407C71.7816 604.664 71.8908 604.907 72.0466 605.118C72.4474 605.517 72.9313 605.821 73.4636 606.01C73.9959 606.198 74.5633 606.266 75.1249 606.208C76.4577 605.99 77.7537 605.586 78.9755 605.01C79.5313 606.328 80.1783 607.606 80.9117 608.834C81.3468 609.553 81.7928 610.262 82.2605 611.014C81.9995 610.73 81.7601 610.48 81.7166 610.447C80.6289 609.543 78.0727 608.442 76.6477 609.27C76.4202 609.402 76.223 609.581 76.0691 609.795C75.9152 610.009 75.8081 610.253 75.7547 610.511C75.7013 610.769 75.7029 611.036 75.7593 611.293C75.8157 611.551 75.9257 611.793 76.0821 612.005C76.4808 612.403 76.9628 612.708 77.4934 612.896C78.0239 613.085 78.5896 613.152 79.1496 613.095C80.4701 612.901 81.7537 612.508 82.9567 611.929L83.4897 612.735C84.3707 614.021 85.2409 615.296 86.0567 616.582C86.3504 617.029 86.6115 617.486 86.8834 617.944C86.655 617.682 86.4483 617.475 86.4157 617.443C85.328 616.549 82.7718 615.438 81.3468 616.277C81.1187 616.407 80.9206 616.584 80.7657 616.797C80.6109 617.009 80.5026 617.252 80.4482 617.509C80.3937 617.767 80.3943 618.033 80.4498 618.29C80.5053 618.547 80.6145 618.789 80.7703 619.001C81.1728 619.397 81.657 619.7 82.1888 619.888C82.7207 620.076 83.2872 620.145 83.8486 620.091C85.1091 619.904 86.3362 619.537 87.4926 619.001C87.7536 619.47 88.0147 619.949 88.2431 620.418C88.4715 620.886 88.5586 621.05 88.6891 621.387C88.8196 621.725 88.961 622.041 89.0915 622.368C89.3309 623 89.5702 623.654 89.7877 624.286C89.9291 624.722 90.0705 625.136 90.201 625.561C89.9182 625.103 89.3526 624.231 89.2982 624.166C88.4063 623.076 86.035 621.627 84.5121 622.248C84.2674 622.348 84.046 622.497 83.8617 622.687C83.6774 622.876 83.5343 623.102 83.4413 623.35C83.3483 623.597 83.3075 623.862 83.3215 624.126C83.3354 624.39 83.4038 624.649 83.5223 624.885C83.846 625.346 84.2696 625.727 84.7612 626.001C85.2528 626.275 85.7998 626.433 86.3613 626.465C87.6966 626.447 89.0225 626.238 90.2989 625.844C90.5165 626.607 90.734 627.283 90.919 627.925Z" fill="#152F3B"/>
12
+ <path d="M101.981 594.701C101.981 594.701 102.308 592.816 102.319 592.696C102.319 591.301 101.633 588.621 100.143 588.174C99.8823 588.107 99.6109 588.094 99.3447 588.134C99.0786 588.174 98.8231 588.266 98.5932 588.406C98.3632 588.546 98.1635 588.731 98.0056 588.949C97.8478 589.168 97.735 589.415 97.6739 589.678C97.5967 590.227 97.6468 590.788 97.8203 591.315C97.9938 591.842 98.2861 592.322 98.6746 592.718C99.6689 593.545 100.784 594.214 101.981 594.701Z" fill="#152F3B"/>
13
+ <path d="M117.576 276.168C125.644 270.696 127.757 259.707 122.294 251.624C116.831 243.541 105.861 241.424 97.7927 246.897C89.724 252.37 87.6116 263.359 93.0745 271.442C98.5374 279.525 109.507 281.641 117.576 276.168Z" stroke="#152F3B" stroke-miterlimit="10"/>
14
+ <path d="M113.947 259.537C113.947 260.777 113.58 261.988 112.892 263.018C112.205 264.049 111.228 264.852 110.085 265.326C108.943 265.8 107.685 265.924 106.472 265.683C105.259 265.441 104.144 264.844 103.269 263.968C102.395 263.092 101.799 261.975 101.558 260.76C101.316 259.544 101.44 258.284 101.914 257.14C102.387 255.995 103.189 255.016 104.217 254.328C105.246 253.639 106.455 253.272 107.692 253.272C109.35 253.275 110.939 253.936 112.111 255.11C113.284 256.284 113.944 257.876 113.947 259.537Z" stroke="#152F3B" stroke-miterlimit="10"/>
15
+ <path d="M107.692 279.228C111.522 279.229 115.247 277.973 118.298 275.654C117.878 273.138 116.582 270.853 114.639 269.204C112.696 267.556 110.233 266.651 107.687 266.651C105.141 266.651 102.677 267.556 100.734 269.204C98.7912 270.853 97.4948 273.138 97.0756 275.654C100.13 277.973 103.859 279.229 107.692 279.228Z" stroke="#152F3B" stroke-miterlimit="10"/>
16
+ <path d="M107.681 323.6C117.425 323.6 125.324 315.686 125.324 305.925C125.324 296.164 117.425 288.25 107.681 288.25C97.937 288.25 90.0379 296.164 90.0379 305.925C90.0379 315.686 97.937 323.6 107.681 323.6Z" stroke="#152F3B" stroke-miterlimit="10"/>
17
+ <path d="M113.947 303.92C113.947 305.159 113.58 306.371 112.892 307.401C112.205 308.431 111.228 309.234 110.085 309.709C108.943 310.183 107.685 310.307 106.472 310.065C105.259 309.823 104.144 309.227 103.269 308.35C102.395 307.474 101.799 306.358 101.558 305.142C101.316 303.927 101.44 302.667 101.914 301.522C102.387 300.377 103.189 299.399 104.217 298.71C105.246 298.022 106.455 297.654 107.692 297.654C109.35 297.657 110.939 298.318 112.111 299.493C113.284 300.667 113.944 302.259 113.947 303.92Z" stroke="#152F3B" stroke-miterlimit="10"/>
18
+ <path d="M107.692 323.61C111.522 323.611 115.247 322.356 118.298 320.036C117.878 317.521 116.582 315.235 114.639 313.587C112.696 311.939 110.233 311.034 107.687 311.034C105.141 311.034 102.677 311.939 100.734 313.587C98.7912 315.235 97.4948 317.521 97.0756 320.036C100.13 322.356 103.859 323.611 107.692 323.61Z" stroke="#152F3B" stroke-miterlimit="10"/>
19
+ <path d="M107.681 367.993C117.425 367.993 125.324 360.08 125.324 350.319C125.324 340.557 117.425 332.644 107.681 332.644C97.937 332.644 90.0379 340.557 90.0379 350.319C90.0379 360.08 97.937 367.993 107.681 367.993Z" stroke="#152F3B" stroke-miterlimit="10"/>
20
+ <path d="M113.947 348.303C113.947 349.542 113.58 350.753 112.892 351.784C112.205 352.814 111.228 353.617 110.085 354.091C108.943 354.566 107.685 354.69 106.472 354.448C105.259 354.206 104.144 353.609 103.269 352.733C102.395 351.857 101.799 350.74 101.558 349.525C101.316 348.31 101.44 347.05 101.914 345.905C102.387 344.76 103.189 343.781 104.217 343.093C105.246 342.404 106.455 342.037 107.692 342.037C109.351 342.037 110.942 342.697 112.115 343.872C113.288 345.047 113.947 346.641 113.947 348.303Z" stroke="#152F3B" stroke-miterlimit="10"/>
21
+ <path d="M107.692 367.993C111.522 367.994 115.247 366.739 118.298 364.419C117.878 361.903 116.582 359.618 114.639 357.97C112.696 356.321 110.233 355.417 107.687 355.417C105.141 355.417 102.677 356.321 100.734 357.97C98.7912 359.618 97.4948 361.903 97.0756 364.419C100.13 366.739 103.859 367.994 107.692 367.993Z" stroke="#152F3B" stroke-miterlimit="10"/>
22
+ <path d="M117.587 409.326C125.655 403.853 127.768 392.864 122.305 384.781C116.842 376.698 105.872 374.582 97.8037 380.055C89.735 385.527 87.6226 396.517 93.0855 404.6C98.5484 412.683 109.518 414.799 117.587 409.326Z" stroke="#152F3B" stroke-miterlimit="10"/>
23
+ <path d="M113.947 392.685C113.947 393.925 113.58 395.136 112.892 396.166C112.205 397.197 111.228 398 110.085 398.474C108.943 398.948 107.685 399.072 106.472 398.831C105.259 398.589 104.144 397.992 103.269 397.116C102.395 396.24 101.799 395.123 101.558 393.908C101.316 392.692 101.44 391.432 101.914 390.288C102.387 389.143 103.189 388.164 104.217 387.476C105.246 386.787 106.455 386.42 107.692 386.42C109.351 386.42 110.942 387.08 112.115 388.255C113.288 389.43 113.947 391.024 113.947 392.685Z" stroke="#152F3B" stroke-miterlimit="10"/>
24
+ <path d="M107.692 412.376C111.522 412.377 115.247 411.121 118.298 408.802C117.878 406.286 116.582 404.001 114.639 402.352C112.696 400.704 110.233 399.799 107.687 399.799C105.141 399.799 102.677 400.704 100.734 402.352C98.7912 404.001 97.4948 406.286 97.0756 408.802C100.13 411.121 103.859 412.377 107.692 412.376Z" stroke="#152F3B" stroke-miterlimit="10"/>
25
+ <path d="M560.923 224.417H485.39V229.506H560.923V224.417Z" stroke="#152F3B" stroke-miterlimit="10"/>
26
+ <path d="M522.775 234.605H485.39V239.694H522.775V234.605Z" stroke="#152F3B" stroke-miterlimit="10"/>
27
+ <path d="M536.47 244.794H485.39V249.883H536.47V244.794Z" stroke="#152F3B" stroke-miterlimit="10"/>
28
+ <path d="M516.902 254.982H485.39V260.071H516.902V254.982Z" stroke="#152F3B" stroke-miterlimit="10"/>
29
+ <path d="M543.247 265.16H485.39V270.249H543.247V265.16Z" stroke="#152F3B" stroke-miterlimit="10"/>
30
+ <path d="M525.56 275.349H485.39V280.437H525.56V275.349Z" stroke="#152F3B" stroke-miterlimit="10"/>
31
+ <path d="M530.444 285.537H485.39V290.626H530.444V285.537Z" stroke="#152F3B" stroke-miterlimit="10"/>
32
+ <path d="M486.053 214.741H524.059" stroke="#152F3B" stroke-miterlimit="10"/>
33
+ <path d="M486.053 208.333H524.059" stroke="#152F3B" stroke-miterlimit="10"/>
34
+ <path d="M243.965 237.035L286.931 162.545H297.395" stroke="#152F3B" stroke-miterlimit="10"/>
35
+ <path d="M307.304 163.101H333.747" stroke="#152F3B" stroke-miterlimit="10"/>
36
+ <path d="M307.304 169.715H333.747" stroke="#152F3B" stroke-miterlimit="10"/>
37
+ <path d="M307.304 176.34H333.747" stroke="#152F3B" stroke-miterlimit="10"/>
38
+ <path d="M322.402 522.575H408.791" stroke="#152F3B" stroke-miterlimit="10"/>
39
+ <path d="M317.659 518.881H311.873V524.678H317.659V518.881Z" fill="#40C4FF"/>
40
+ <path d="M322.402 535.226H408.791" stroke="#152F3B" stroke-miterlimit="10"/>
41
+ <path d="M317.659 531.532H311.873V537.329H317.659V531.532Z" fill="#40C4FF"/>
42
+ <path d="M322.402 547.888H408.791" stroke="#152F3B" stroke-miterlimit="10"/>
43
+ <path d="M317.659 544.184H311.873V549.981H317.659V544.184Z" fill="#40C4FF"/>
44
+ <path d="M322.402 560.54H408.791" stroke="#152F3B" stroke-miterlimit="10"/>
45
+ <path d="M317.659 556.835H311.873V562.632H317.659V556.835Z" fill="#40C4FF"/>
46
+ <path d="M457.271 452.171H245.161V583.968H457.271V452.171Z" stroke="#152F3B" stroke-miterlimit="10"/>
47
+ <path d="M457.271 452.171H245.161V462.763H457.271V452.171Z" stroke="#152F3B" stroke-miterlimit="10"/>
48
+ <path d="M300.734 463.504V582.845" stroke="#152F3B" stroke-miterlimit="10"/>
49
+ <path d="M329.124 509.009C339.235 509.009 347.431 500.798 347.431 490.669C347.431 480.541 339.235 472.33 329.124 472.33C319.014 472.33 310.817 480.541 310.817 490.669C310.817 500.798 319.014 509.009 329.124 509.009Z" stroke="#152F3B" stroke-miterlimit="10"/>
50
+ <path d="M335.618 488.577C335.618 489.87 335.235 491.134 334.518 492.21C333.801 493.285 332.782 494.123 331.589 494.618C330.397 495.112 329.084 495.242 327.818 494.99C326.552 494.737 325.389 494.115 324.477 493.2C323.564 492.286 322.942 491.121 322.69 489.853C322.439 488.584 322.568 487.27 323.062 486.075C323.556 484.88 324.392 483.859 325.466 483.141C326.539 482.423 327.801 482.039 329.092 482.039C330.822 482.039 332.482 482.728 333.706 483.954C334.93 485.18 335.618 486.843 335.618 488.577Z" stroke="#152F3B" stroke-miterlimit="10"/>
51
+ <path d="M329.124 509.009C333.098 509.008 336.964 507.707 340.132 505.304C339.697 502.694 338.353 500.323 336.337 498.613C334.321 496.903 331.766 495.964 329.124 495.964C326.483 495.964 323.927 496.903 321.911 498.613C319.896 500.323 318.551 502.694 318.116 505.304C321.285 507.706 325.15 509.006 329.124 509.009Z" stroke="#152F3B" stroke-miterlimit="10"/>
52
+ <path d="M273.377 498.155C278.243 498.155 282.188 494.204 282.188 489.329C282.188 484.454 278.243 480.503 273.377 480.503C268.511 480.503 264.567 484.454 264.567 489.329C264.567 494.204 268.511 498.155 273.377 498.155Z" stroke="#152F3B" stroke-miterlimit="10"/>
53
+ <path d="M276.51 488.327C276.51 488.945 276.327 489.55 275.984 490.064C275.641 490.578 275.153 490.979 274.583 491.216C274.012 491.453 273.385 491.515 272.779 491.394C272.174 491.273 271.617 490.975 271.181 490.538C270.744 490.101 270.447 489.543 270.326 488.937C270.206 488.33 270.268 487.701 270.504 487.13C270.74 486.558 271.14 486.07 271.654 485.726C272.167 485.383 272.771 485.199 273.388 485.199C274.215 485.202 275.008 485.532 275.592 486.118C276.177 486.704 276.507 487.498 276.51 488.327Z" stroke="#152F3B" stroke-miterlimit="10"/>
54
+ <path d="M273.388 498.155C275.301 498.152 277.161 497.525 278.685 496.368C278.473 495.115 277.824 493.978 276.854 493.158C275.885 492.338 274.657 491.888 273.388 491.888C272.119 491.888 270.891 492.338 269.922 493.158C268.952 493.978 268.304 495.115 268.091 496.368C269.615 497.526 271.475 498.154 273.388 498.155Z" stroke="#152F3B" stroke-miterlimit="10"/>
55
+ <path d="M273.377 535.096C278.243 535.096 282.188 531.144 282.188 526.269C282.188 521.395 278.243 517.443 273.377 517.443C268.511 517.443 264.567 521.395 264.567 526.269C264.567 531.144 268.511 535.096 273.377 535.096Z" stroke="#152F3B" stroke-miterlimit="10"/>
56
+ <path d="M276.51 525.267C276.51 525.885 276.327 526.49 275.984 527.004C275.641 527.518 275.153 527.919 274.583 528.156C274.012 528.393 273.385 528.455 272.779 528.334C272.174 528.213 271.617 527.915 271.181 527.478C270.744 527.041 270.447 526.483 270.326 525.877C270.206 525.27 270.268 524.641 270.504 524.07C270.74 523.498 271.14 523.01 271.654 522.666C272.167 522.323 272.771 522.139 273.388 522.139C274.215 522.142 275.008 522.473 275.592 523.058C276.177 523.644 276.507 524.438 276.51 525.267Z" stroke="#152F3B" stroke-miterlimit="10"/>
57
+ <path d="M273.388 535.096C275.301 535.092 277.161 534.465 278.685 533.309C278.473 532.055 277.824 530.918 276.854 530.098C275.885 529.278 274.657 528.829 273.388 528.829C272.119 528.829 270.891 529.278 269.922 530.098C268.952 530.918 268.304 532.055 268.091 533.309C269.615 534.467 271.475 535.094 273.388 535.096Z" stroke="#152F3B" stroke-miterlimit="10"/>
58
+ <path d="M273.377 572.036C278.243 572.036 282.188 568.084 282.188 563.209C282.188 558.335 278.243 554.383 273.377 554.383C268.511 554.383 264.567 558.335 264.567 563.209C264.567 568.084 268.511 572.036 273.377 572.036Z" stroke="#152F3B" stroke-miterlimit="10"/>
59
+ <path d="M276.51 562.207C276.51 562.825 276.327 563.43 275.984 563.944C275.641 564.459 275.153 564.859 274.583 565.096C274.012 565.333 273.385 565.395 272.779 565.274C272.174 565.153 271.617 564.856 271.181 564.418C270.744 563.981 270.447 563.424 270.326 562.817C270.206 562.21 270.268 561.582 270.504 561.01C270.74 560.439 271.14 559.95 271.654 559.607C272.167 559.263 272.771 559.079 273.388 559.079C274.215 559.082 275.008 559.413 275.592 559.999C276.177 560.584 276.507 561.378 276.51 562.207Z" stroke="#152F3B" stroke-miterlimit="10"/>
60
+ <path d="M273.388 572.036C275.301 572.033 277.161 571.405 278.685 570.249C278.473 568.996 277.824 567.858 276.854 567.038C275.885 566.218 274.657 565.769 273.388 565.769C272.119 565.769 270.891 566.218 269.922 567.038C268.952 567.858 268.304 568.996 268.091 570.249C269.615 571.407 271.475 572.034 273.388 572.036Z" stroke="#152F3B" stroke-miterlimit="10"/>
61
+ <path d="M357.286 480.219H403.635" stroke="#152F3B" stroke-miterlimit="10"/>
62
+ <path d="M357.286 490.898H403.635" stroke="#152F3B" stroke-miterlimit="10"/>
63
+ <path d="M357.286 501.577H403.635" stroke="#152F3B" stroke-miterlimit="10"/>
64
+ <path d="M460.796 199.812H315.027V415.078H460.796V199.812Z" stroke="#849298" stroke-miterlimit="10"/>
65
+ <path d="M384.218 314.185C410.002 314.185 430.904 293.246 430.904 267.416C430.904 241.586 410.002 220.647 384.218 220.647C358.435 220.647 337.532 241.586 337.532 267.416C337.532 293.246 358.435 314.185 384.218 314.185Z" fill="white" stroke="#849298" stroke-miterlimit="10"/>
66
+ <path d="M335.868 329.266H434.233" stroke="#849298" stroke-miterlimit="10"/>
67
+ <path d="M335.868 339.28H434.233" stroke="#849298" stroke-miterlimit="10"/>
68
+ <path d="M347.844 356.159H434.233" stroke="#849298" stroke-miterlimit="10"/>
69
+ <path d="M343.102 352.454H337.315V358.251H343.102V352.454Z" fill="#40C4FF"/>
70
+ <path d="M347.844 368.81H434.233" stroke="#849298" stroke-miterlimit="10"/>
71
+ <path d="M343.102 365.106H337.315V370.903H343.102V365.106Z" fill="#40C4FF"/>
72
+ <path d="M347.844 381.462H434.233" stroke="#849298" stroke-miterlimit="10"/>
73
+ <path d="M343.102 377.768H337.315V383.565H343.102V377.768Z" fill="#40C4FF"/>
74
+ <path d="M347.844 394.113H434.233" stroke="#849298" stroke-miterlimit="10"/>
75
+ <path d="M343.102 390.419H337.315V396.216H343.102V390.419Z" fill="#40C4FF"/>
76
+ <path d="M373.896 236.392C376.021 233.172 378.939 230.555 382.369 228.795C385.799 227.035 389.625 226.191 393.475 226.346C406.985 226.781 410.259 241.601 409.791 245.96C409.574 248.464 408.907 250.907 407.823 253.174L401.938 248.15C405.973 252.19 409.109 257.04 411.14 262.381C414.403 271.099 412.837 282.421 408.693 285.047C404.548 287.673 401.72 286.572 401.72 286.572L402.155 280.677C402.155 280.677 398.239 287.662 391.702 288.97C385.165 290.277 366.423 291.149 363.584 287.88C361.872 285.871 360.677 283.473 360.103 280.895L359.668 286.572C359.668 286.572 353.783 282.214 353.566 277.179C353.348 272.145 356.394 265.193 357.917 261.466C359.44 257.739 360.527 255.789 360.962 250.112C361.398 244.434 360.745 241.394 364.672 237.667C368.598 233.941 373.896 236.392 373.896 236.392Z" fill="#152F3B" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
77
+ <path d="M364.791 295.922C361.18 297.48 355.339 298.864 351.369 300.64C360.081 309.291 371.844 314.158 384.111 314.187C396.378 314.215 408.164 309.403 416.916 300.793C415.39 300.04 413.789 299.449 412.141 299.027C405.158 297.088 395.237 291.4 394.073 289.46C392.91 287.52 391.767 280.742 391.767 280.742L375.636 278.563C375.636 278.563 376.441 287.019 376.441 288.577C376.441 290.135 370.23 293.59 364.791 295.922Z" fill="#FFDAA3"/>
78
+ <path d="M371.503 259.755C371.503 259.755 372.808 249.948 375.854 244.685C378.899 239.422 385.448 240.98 388.058 242.724C390.669 244.467 394.813 253.86 397.184 259.962C399.556 266.064 400.665 269.562 400.665 269.562C400.665 269.562 396.902 277.517 391.746 280.666C386.307 284.066 380.303 283.935 375.614 278.487C374 276.589 372.68 274.458 371.699 272.167C371.699 272.167 366.26 270.412 364.944 265.836C363.627 261.259 364.726 258.84 366.902 258.208C369.077 257.576 371.503 259.755 371.503 259.755Z" fill="#FFDAA3"/>
79
+ <path d="M401.818 294.723L384.915 310.774L368.533 294.189C367.304 294.799 366.031 295.388 364.791 295.922C361.18 297.48 355.339 298.864 351.369 300.64C360.081 309.291 371.844 314.158 384.111 314.187C396.378 314.215 408.164 309.403 416.916 300.793C415.39 300.04 413.789 299.449 412.141 299.027C408.564 297.946 405.105 296.504 401.818 294.723Z" fill="#40C4FF" stroke="#40C4FF" stroke-miterlimit="10"/>
80
+ <path d="M292.902 199.812H147.134V415.078H292.902V199.812Z" stroke="#152F3B" stroke-miterlimit="10"/>
81
+ <path d="M167.975 329.266H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
82
+ <path d="M167.975 339.28H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
83
+ <path d="M179.962 356.159H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
84
+ <path d="M175.219 352.454H169.432V358.251H175.219V352.454Z" fill="#40C4FF"/>
85
+ <path d="M179.962 368.81H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
86
+ <path d="M175.219 365.106H169.432V370.903H175.219V365.106Z" fill="#40C4FF"/>
87
+ <path d="M179.962 381.462H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
88
+ <path d="M175.219 377.768H169.432V383.565H175.219V377.768Z" fill="#40C4FF"/>
89
+ <path d="M179.962 394.113H266.35" stroke="#152F3B" stroke-miterlimit="10"/>
90
+ <path d="M175.219 390.419H169.432V396.216H175.219V390.419Z" fill="#40C4FF"/>
91
+ <path d="M216.325 314.185C242.109 314.185 263.011 293.246 263.011 267.416C263.011 241.586 242.109 220.647 216.325 220.647C190.541 220.647 169.639 241.586 169.639 267.416C169.639 293.246 190.541 314.185 216.325 314.185Z" fill="white" stroke="#152F3B" stroke-miterlimit="10"/>
92
+ <path d="M192.036 287.945L180.397 297.273C184.727 302.506 190.145 306.729 196.272 309.65C202.399 312.57 209.088 314.117 215.872 314.182C222.657 314.248 229.375 312.83 235.556 310.028C241.738 307.226 247.236 303.108 251.666 297.959L234.023 286.398L192.036 287.945Z" fill="#152F3B" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
93
+ <path d="M206.644 274.738C206.644 274.738 196.387 276.068 193.526 280.252C190.665 284.436 188.588 288.446 190.676 290.92C194.13 294.661 197.953 298.041 202.086 301.011C205.502 303.299 210.843 311.112 210.843 311.112C211.268 307.826 211.518 304.519 211.593 301.207C211.593 297.011 207.982 292.489 207.242 288.632C206.503 284.774 212.757 278.737 217.119 280.633C221.481 282.53 224.918 288.261 224.733 290.92C224.548 293.579 225.484 296.826 226.441 301.392C227.398 305.958 228.149 309.881 228.149 309.881C228.149 309.881 234.61 303.342 236.709 296.249C238.809 289.155 237.797 281.974 230.052 277.212C222.308 272.45 206.644 274.738 206.644 274.738Z" fill="#40C4FF" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
94
+ <path d="M233.392 279.816C232.376 278.82 231.248 277.946 230.031 277.212C222.232 272.45 206.644 274.738 206.644 274.738C206.644 274.738 196.387 276.068 193.526 280.252C193.2 280.742 192.873 281.233 192.569 281.712C192.206 284.276 192.82 286.882 194.287 289.013C198.551 295.813 207.34 299.071 211.572 301C211.441 296.881 207.96 292.413 207.221 288.675C206.481 284.938 212.736 278.781 217.097 280.677C221.459 282.573 224.896 288.305 224.712 290.964C224.527 293.622 225.462 296.87 226.419 301.435L226.582 302.264C226.909 301.948 227.235 301.621 227.561 301.25C231.786 296.608 234.095 290.533 234.023 284.251C234.019 282.751 233.807 281.258 233.392 279.816Z" fill="white" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
95
+ <path d="M204.936 267.307C204.936 267.307 206.078 281.015 206.459 284.829C206.84 288.643 208.928 298.352 215.39 300.248C221.851 302.144 225.658 294.734 224.712 289.209C223.765 283.685 222.057 278.541 222.057 276.634C222.103 275.805 222.037 274.973 221.862 274.161L204.936 267.307Z" fill="#FFDAA3" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
96
+ <path d="M221.851 274.128L204.936 267.274C204.936 267.274 205.807 277.702 206.274 282.9L222.057 276.307C222.08 275.575 222.011 274.843 221.851 274.128Z" fill="#152F3B" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
97
+ <path d="M225.865 241.634C225.865 241.634 228.899 258.371 228.899 261.422C228.899 264.474 226.115 273.344 224.853 275.37C223.591 277.397 217.239 278.639 214.726 277.648C212.213 276.656 205.1 270.02 203.577 267.252C202.667 265.575 201.986 263.783 201.553 261.924C201.553 261.924 198.007 263.449 195.223 259.385C192.438 255.32 193.961 251.528 196.746 251.278L199.28 252.029C199.28 252.029 194.722 244.173 196.234 240.62C197.746 237.068 215.988 235.804 219.784 235.804C223.58 235.804 225.865 241.634 225.865 241.634Z" fill="#FFDAA3" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
98
+ <path d="M195.223 230.726C195.223 230.726 188.696 237.264 191.176 242.909C193.656 248.553 200.042 258.873 200.042 258.873H201.303L201.053 254.514C201.053 254.514 205.1 252.999 204.316 249.447C203.878 247.349 203.02 245.362 201.793 243.606C201.793 243.606 206.144 246.875 211.158 246.145C216.173 245.415 218.501 239.302 220.274 241.329C222.047 243.356 224.831 244.598 230.139 241.83C235.448 239.062 238.841 229.593 233.033 225.79C227.224 221.987 221.786 225.354 218.751 226.106C215.716 226.858 213.432 221.747 206.601 223.828C202.318 225.196 198.419 227.56 195.223 230.726Z" fill="#152F3B" stroke="#152F3B" stroke-linecap="round" stroke-linejoin="round"/>
99
+ <path d="M261.732 381.413C270.39 380.011 276.275 371.843 274.876 363.169C273.476 354.495 265.323 348.6 256.664 350.002C248.006 351.404 242.121 359.571 243.52 368.245C244.92 376.919 253.073 382.815 261.732 381.413Z" stroke="#152F3B" stroke-width="2" stroke-miterlimit="10"/>
100
+ <path d="M268.08 379.718L285.223 402.623" stroke="#152F3B" stroke-width="3" stroke-miterlimit="10"/>
101
+ <path d="M240.299 353.795C240.944 355.871 241.245 358.039 241.191 360.213C241.006 363.427 241.365 368.059 242.279 368.778C243.192 369.497 245.662 371.273 244.944 372.701C244.42 373.649 243.614 374.411 242.638 374.88C242.082 377.654 241.183 380.348 239.962 382.9C238.178 386.289 236.938 388.61 234.806 388.784C233.666 388.925 232.51 388.806 231.423 388.436L229.084 390.724L211.463 386.986L211.996 379.141C211.996 379.141 206.655 370.042 206.655 360.769C206.655 351.495 216.086 346.156 221.611 345.796C227.137 345.437 237.449 347.736 240.299 353.795Z" fill="#FFDAA3"/>
102
+ <path d="M244.9 349.316C245.022 351.095 244.518 352.861 243.475 354.307C241.702 356.987 236.894 357.881 236.894 357.881C236.894 357.881 236.72 361.804 235.643 363.406C234.67 364.596 233.459 365.569 232.086 366.261C232.086 366.261 228.53 366.609 229.596 370.532C230.662 374.455 231.553 374.989 229.77 378.16C227.986 381.331 217.489 385.646 213.932 383.151C210.375 380.655 207.699 379.413 205.567 371.916C203.435 364.419 201.292 353.914 207.351 346.777C213.41 339.64 227.105 341.427 227.105 341.427C227.105 341.427 223.548 338.038 228.53 338.223C231.672 338.435 234.637 339.76 236.894 341.961C236.894 341.961 237.427 338.397 240.092 339.291C242.757 340.185 244.563 347.376 244.9 349.316Z" fill="#152F3B" stroke="#152F3B" stroke-miterlimit="10"/>
103
+ <path d="M233.533 368.93C233.533 368.93 230.509 363.231 228.192 365.367C225.875 367.503 228.192 378.912 232.108 376.776" fill="#FFDAA3"/>
104
+ <path d="M233.533 368.93C233.533 368.93 230.509 363.231 228.192 365.367C225.875 367.503 228.192 378.912 232.108 376.776" stroke="#152F3B" stroke-miterlimit="10"/>
105
+ <path d="M232.108 366.271H246.521" stroke="#152F3B" stroke-miterlimit="10"/>
106
+ <path d="M240.549 362.719C241.155 362.46 241.81 362.336 242.468 362.357C243.127 362.378 243.773 362.542 244.361 362.839C244.95 363.136 245.466 363.558 245.875 364.075C246.284 364.593 246.575 365.194 246.728 365.836C246.935 366.703 246.884 367.613 246.581 368.452C246.277 369.29 245.734 370.021 245.02 370.554" stroke="#152F3B" stroke-miterlimit="10"/>
107
+ <path d="M233.109 395.911C233.109 395.911 233.109 391.933 227.888 388.948C222.667 385.962 212.224 381.974 207.493 382.41C202.761 382.845 200.042 389.634 200.042 389.634C200.042 389.634 218.685 391.378 223.156 392.369C226.568 393.265 229.898 394.449 233.109 395.911Z" fill="white"/>
108
+ <path d="M155.042 421.812C155.042 421.812 149.081 428.786 141.118 438.757C133.156 448.728 126.706 458.927 126.706 458.927C126.706 458.927 119.244 465.4 118.254 468.135C117.264 470.87 114.773 478.846 113.772 481.091C112.772 483.336 117.253 480.339 118.004 478.596C118.436 477.57 118.934 476.572 119.494 475.61L125.955 472.624C125.955 472.624 123.965 477.604 125.955 478.345C127.946 479.086 128.196 475.61 130.426 472.897C132.656 470.183 134.657 468.157 134.907 464.92C135.051 462.681 135.051 460.436 134.907 458.197L166.724 437.493L155.042 421.812Z" fill="#FFDAA3"/>
109
+ <path d="M119.494 475.61L122.431 471.175C123.833 470.764 125.173 470.163 126.412 469.388C127.52 468.694 128.496 467.808 129.295 466.773" stroke="#CA9D59" stroke-miterlimit="10"/>
110
+ <path d="M263.087 412.049L271.147 395.083C271.649 392.541 272.295 390.031 273.084 387.564C273.638 386.594 276.978 381.309 278.229 381.167C279.48 381.026 280.73 381.581 280.872 382.693C280.945 383.372 280.796 384.056 280.448 384.643C281.692 385.284 282.784 386.187 283.646 387.291C284.581 388.568 285.155 390.074 285.31 391.65C285.593 392.74 286.561 392.903 285.451 395.268C284.342 397.632 282.536 398.33 281.557 399.016C280.487 399.689 279.375 400.293 278.229 400.825C278.229 400.825 278.087 416.833 276.14 423.098C274.193 429.364 272.812 431.445 272.812 431.445C272.812 431.445 269.472 420.036 267.536 417.802C265.6 415.569 263.087 412.049 263.087 412.049Z" fill="#FFDAA3"/>
111
+ <path d="M165.984 458.426C165.984 458.426 155.379 485.82 153.562 492.206C151.746 498.591 147.449 511.548 145.622 528.002C145.009 534.695 145.041 541.431 145.72 548.117C142.847 553.836 140.305 559.716 138.105 565.727C134.168 576.351 120.788 629.048 120.788 629.048C120.788 629.048 123.214 632.698 128.675 631.783L134.113 630.868C135.433 631.033 136.772 630.929 138.051 630.562C140.226 629.963 145.023 630.268 145.328 628.143C145.633 626.019 144.11 625.408 142.293 623.283C140.477 621.159 137.746 614.468 137.746 614.468C137.746 614.468 152.953 587.847 158.414 578.149C163.874 568.451 171.466 550.242 171.782 547.507C172.097 544.772 187.25 504.606 187.25 504.606H190.589L214.519 544.728C214.519 544.728 213.606 560.823 216.336 570.238C219.066 579.653 225.408 615.198 225.408 615.198L224.799 621.584C225.336 622.854 225.744 624.176 226.017 625.528V628.863C226.017 628.863 226.92 631.042 232.989 631.042C235.709 631.042 244.813 630.127 246.325 629.822C247.837 629.516 259.378 629.211 259.661 627.697C259.944 626.182 260.27 624.962 258.453 624.351C256.637 623.741 243.595 617.672 243.595 617.672V612.223C242.305 611.268 241.264 610.016 240.56 608.573C239.962 606.753 241.169 557.859 240.56 549.36C239.951 540.86 240.865 540.86 238.439 533.265C236.013 525.67 226.408 472.374 226.408 472.374L221.503 463.907L169.976 453.282L165.984 458.426Z" fill="#152F3B" stroke="#152F3B" stroke-miterlimit="10"/>
112
+ <path d="M260.205 412.605C260.205 412.605 261.195 409.336 265.426 410.861C269.657 412.387 276.108 424.558 274.617 431.031C273.127 437.504 269.179 439.749 265.676 439.498C262.174 439.247 257.964 435.019 258.954 434.518C259.944 434.017 260.205 412.605 260.205 412.605Z" fill="white"/>
113
+ <path d="M168.214 409.608C168.214 409.608 166.474 409.608 163.994 409.368C161.514 409.129 158.022 413.346 156.031 415.841C154.041 418.336 151.561 419.829 153.301 425.049C155.042 430.268 159.762 437.035 166.724 437.504C170.658 437.891 174.587 436.718 177.667 434.235L168.214 409.608Z" fill="white"/>
114
+ <path d="M200.042 389.689C200.042 389.689 196.06 389.187 187.609 393.928C179.157 398.668 161.013 413.346 159.762 415.841C158.511 418.336 162.003 429.538 166.474 431.532C169.137 432.722 172.143 432.897 174.925 432.023L165.984 458.426C165.984 458.426 175.926 457.924 192.58 460.921C209.233 463.918 226.408 472.374 226.408 472.374C226.408 472.374 227.659 472.123 227.91 468.887C228.083 466.53 228.758 464.237 229.889 462.163C230.64 460.67 240.081 428.536 240.081 428.536C240.081 428.536 258.736 436.763 263.707 436.763C268.678 436.763 270.419 427.795 268.428 421.071C266.437 414.348 262.217 412.354 262.217 412.354C258.421 411.087 254.884 409.145 251.775 406.622C247.043 402.645 233.131 395.911 233.131 395.911C233.131 395.911 213.214 387.455 200.042 389.689Z" fill="#40C4FF"/>
115
+ <path d="M232.848 423.305L240.06 428.536L230.618 426.291" stroke="url(#paint0_linear_7637_28681)" stroke-miterlimit="10"/>
116
+ <path d="M183.334 405.685L184.628 401.642" stroke="url(#paint1_linear_7637_28681)" stroke-miterlimit="10"/>
117
+ <path d="M174.925 432.023L182.083 409.597" stroke="url(#paint2_linear_7637_28681)" stroke-miterlimit="10"/>
118
+ </g>
119
+ <defs>
120
+ <linearGradient id="paint0_linear_7637_28681" x1="235.339" y1="423.305" x2="235.339" y2="428.536" gradientUnits="userSpaceOnUse">
121
+ <stop stop-color="#40C4FF"/>
122
+ <stop offset="1" stop-color="#0093E6"/>
123
+ </linearGradient>
124
+ <linearGradient id="paint1_linear_7637_28681" x1="183.981" y1="401.642" x2="183.981" y2="405.685" gradientUnits="userSpaceOnUse">
125
+ <stop stop-color="#40C4FF"/>
126
+ <stop offset="1" stop-color="#0093E6"/>
127
+ </linearGradient>
128
+ <linearGradient id="paint2_linear_7637_28681" x1="178.504" y1="409.597" x2="178.504" y2="432.023" gradientUnits="userSpaceOnUse">
129
+ <stop stop-color="#40C4FF"/>
130
+ <stop offset="1" stop-color="#0093E6"/>
131
+ </linearGradient>
132
+ <clipPath id="clip0_7637_28681">
133
+ <rect width="525" height="474" fill="white" transform="translate(67.75 162)"/>
134
+ </clipPath>
135
+ </defs>
136
+ </svg>
@@ -0,0 +1,276 @@
1
+ <template>
2
+ <q-layout>
3
+ <div class="row window-height">
4
+ <div class="col column content-center bgWhite">
5
+ <div class="q-mt-xl">
6
+ <img src="../../assets/Sowell-logo.svg" style="width: 210px" />
7
+ </div>
8
+ <div class="column col content-center justify-center center">
9
+ <div class="q-pl-md q-pr-md" style="max-width: 500px">
10
+ <h4 class="title">{{ WELCOME_TITLE }}</h4>
11
+ <div class="subtitle">{{ WELCOME_SUBTITLE }}</div>
12
+ <q-form @submit="onSubmit">
13
+ <div>
14
+ <div class="q-ml-xs q-mb-xs text-subtitle2 text-weight-bold">
15
+ {{ $t("auth.email") }}
16
+ </div>
17
+ <q-input
18
+ v-model.trim="email"
19
+ type="email"
20
+ :rules="validations['email']"
21
+ lazy-rules
22
+ data-cy="email"
23
+ dense
24
+ outlined
25
+ input-class="text-subtitle2 text-weight-medium"
26
+ />
27
+ <div class="q-ml-xs q-mb-xs text-subtitle2 text-weight-bold">
28
+ {{ $t("auth.password") }}
29
+ </div>
30
+ <q-input
31
+ v-model="password"
32
+ :type="showPassword ? 'text' : 'password'"
33
+ :rules="validations['password']"
34
+ data-cy="password"
35
+ lazy-rules
36
+ dense
37
+ outlined
38
+ input-class="text-subtitle2 text-weight-bold"
39
+ >
40
+ <template #append>
41
+ <q-icon
42
+ :name="
43
+ showPassword ? icons.ionEyeOffSharp : icons.ionEyeSharp
44
+ "
45
+ class="cursor-pointer q-mr-sm lightenDark"
46
+ @click="showPassword = !showPassword"
47
+ />
48
+ </template>
49
+ </q-input>
50
+ </div>
51
+ <div class="row justify-between items-center">
52
+ <q-btn
53
+ :label="$t('auth.login')"
54
+ color="primary"
55
+ no-caps
56
+ unelevated
57
+ data-cy="submit-login"
58
+ text-color="white"
59
+ :loading="loading"
60
+ type="submit"
61
+ :disable="isSubmitBtnDisabled()"
62
+ class="submitBtn text-subtitle2 text-weight-bold"
63
+ />
64
+ </div>
65
+ </q-form>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ <div
70
+ class="column col justify-center content-center mobile"
71
+ :style="IS_ADMIN ? 'background: #eef8fd' : ''"
72
+ :class="!IS_ADMIN ? 'bgBlue' : ''"
73
+ >
74
+ <img
75
+ v-if="IS_ADMIN"
76
+ src="../../assets/Illustration-admin.svg"
77
+ class="q-pl-md q-pr-md logoWhite"
78
+ />
79
+ <img
80
+ v-else
81
+ src="../../assets/SowellWhite.svg"
82
+ class="q-pl-md q-pr-md logoWhite"
83
+ />
84
+ </div>
85
+ </div>
86
+ <div>
87
+ <q-dialog
88
+ v-model="forgottenPassword"
89
+ full-height
90
+ :maximized="true"
91
+ transition-show="fade"
92
+ transition-hide="fade"
93
+ persistent
94
+ >
95
+ <web-send-email @resetPassword="resetPassword" />
96
+ </q-dialog>
97
+ <q-dialog v-model="isNotification" persistent>
98
+ <sw-info-dialog
99
+ :title="infoDialog.title"
100
+ :content="infoDialog.content"
101
+ :image="infoDialog.image"
102
+ :isOtp="true"
103
+ >
104
+ <q-btn
105
+ v-if="requestedOtp"
106
+ class="bg-white submitBtn"
107
+ unelevated
108
+ outline
109
+ no-caps
110
+ :label="$t('auth.next')"
111
+ color="primary"
112
+ @click="goToOtpValidation"
113
+ v-close-popup
114
+ />
115
+ </sw-info-dialog>
116
+ </q-dialog>
117
+ </div>
118
+ </q-layout>
119
+ </template>
120
+
121
+ <script lang="ts">
122
+ import isEmail from "validator/es/lib/isEmail";
123
+ import { defineComponent, ref, computed } from "vue";
124
+ import { useAuthState } from "../../injects";
125
+ import { useI18n } from "vue-i18n";
126
+ import SwInfoDialog from "../dialogs/sw-info-dialog.vue";
127
+ import WebSendEmail from "../dialogs/WebSendEmail.vue";
128
+
129
+ import { useAuth } from "composables/auth";
130
+
131
+ interface HeadersInterface {
132
+ headers: {
133
+ "x-requested-roles"?: string;
134
+ };
135
+ }
136
+ export default defineComponent({
137
+ name: "Auth",
138
+ components: { WebSendEmail, SwInfoDialog },
139
+ setup() {
140
+ const { t } = useI18n();
141
+ const authState = useAuthState();
142
+
143
+ const {
144
+ email,
145
+ password,
146
+ loading,
147
+ showPassword,
148
+ validations,
149
+ forgottenPassword,
150
+ emailResetPassword,
151
+ WELCOME_TITLE,
152
+ WELCOME_SUBTITLE,
153
+ X_REQUESTED_ROLES,
154
+ IS_OTP,
155
+ APP_SERVER_BASE_URL,
156
+ goToOtpValidation,
157
+ onSubmit,
158
+ retypeEmail,
159
+ isSubmitBtnDisabled,
160
+ icons,
161
+ } = useAuth();
162
+
163
+ const IS_ADMIN = ["admin"].includes(X_REQUESTED_ROLES);
164
+ const isNotification = ref(false);
165
+ const requestedOtp = ref(false);
166
+ const infoDialog = ref({
167
+ title: "",
168
+ content: "",
169
+ image: "",
170
+ });
171
+
172
+ const submitBtnDisabled = computed(
173
+ () =>
174
+ !(
175
+ email.value &&
176
+ isEmail(email.value) &&
177
+ password.value &&
178
+ password.value.length > 5
179
+ )
180
+ );
181
+ const resetPassword = async (email: string) => {
182
+ if (email) {
183
+ const data = {
184
+ auth: {
185
+ email,
186
+ base: APP_SERVER_BASE_URL,
187
+ },
188
+ };
189
+ try {
190
+ await authState.resetPassword(data).then(() => {
191
+ localStorage.setItem("emailResetPassword", email);
192
+ infoDialog.value = {
193
+ title: t("auth.mailVerificationTitle"),
194
+ content:
195
+ IS_OTP.toLowerCase() === "y"
196
+ ? t("auth.otpValidationCode")
197
+ : t("auth.mailVerificationSubtitle"),
198
+ image: "emailVerification",
199
+ };
200
+ forgottenPassword.value = false;
201
+ isNotification.value = true;
202
+ requestedOtp.value = true;
203
+ });
204
+ } catch {
205
+ requestedOtp.value = false;
206
+ infoDialog.value = {
207
+ title: t("auth.userNotFoundTitle"),
208
+ content: t("auth.userNotFoundSubtitle"),
209
+ image: "userNotFound",
210
+ };
211
+ isNotification.value = true;
212
+ }
213
+ }
214
+ };
215
+
216
+ return {
217
+ email,
218
+ infoDialog,
219
+ password,
220
+ loading,
221
+ showPassword,
222
+ validations,
223
+ submitBtnDisabled,
224
+ forgottenPassword,
225
+ emailResetPassword,
226
+ isNotification,
227
+ IS_ADMIN,
228
+ WELCOME_SUBTITLE,
229
+ WELCOME_TITLE,
230
+ isSubmitBtnDisabled,
231
+ requestedOtp,
232
+ goToOtpValidation,
233
+ resetPassword,
234
+ retypeEmail,
235
+ onSubmit,
236
+ icons,
237
+ };
238
+ },
239
+ });
240
+ </script>
241
+
242
+ <style scoped>
243
+ .center {
244
+ margin-top: -115px;
245
+ }
246
+
247
+ .bgWhite {
248
+ background: #ffffff;
249
+ }
250
+ .bgBlue {
251
+ background: var(--q-primary);
252
+ }
253
+ .lightenDark {
254
+ color: rgba(0, 0, 0, 0.24);
255
+ }
256
+ .title {
257
+ margin: 0px 0px 16px 0px;
258
+ font-size: 24px;
259
+ }
260
+ .subtitle {
261
+ margin-bottom: 80px;
262
+ }
263
+ .logoWhite {
264
+ max-width: 600px;
265
+ width: 100%;
266
+ }
267
+ .submitBtn {
268
+ width: 254px;
269
+ }
270
+
271
+ @media screen and (max-width: 900px) {
272
+ .mobile {
273
+ display: none;
274
+ }
275
+ }
276
+ </style>
@@ -167,7 +167,7 @@ export default defineComponent({
167
167
  icons,
168
168
  } = useAuth();
169
169
 
170
- const IS_MANAGER = ["manager", "clean_manager"].includes(X_REQUESTED_ROLES);
170
+ const IS_MANAGER = ["manager", "clean_manager", "admin"].includes(X_REQUESTED_ROLES);
171
171
  const isNotification = ref(false);
172
172
  const requestedOtp = ref(false);
173
173
  const infoDialog = ref({
@@ -1,4 +1,4 @@
1
- // @ts-ignore
1
+ //@ts-ignore
2
2
  import prompts from "app/quasar.extensions.json";
3
3
  import { RouteRecordRaw } from "vue-router";
4
4
 
@@ -14,46 +14,53 @@ const {
14
14
 
15
15
  // FIXME: Utiliser le UI_PAGE pour choisir les page a utiliser pour la version web ou mobile (auth et reset password)
16
16
  const webAuthRoles = ["superadmin", "clean_manager", "manager"];
17
+ const AdminAuthRoles = ["admin"];
17
18
 
18
- let mobileAuthPage = "";
19
+ let authPage = "";
19
20
 
20
21
  switch (UI_PAGE) {
21
22
  case "mobile_clean":
22
- mobileAuthPage = "Auth.vue";
23
+ authPage = "Auth.vue";
23
24
  break;
24
25
  case "reporter":
25
- mobileAuthPage = "AuthReporter.vue";
26
+ authPage = "AuthReporter.vue";
27
+ break;
28
+ case "admin":
29
+ authPage = "AdminAuth.vue";
26
30
  break;
27
31
  default:
28
- mobileAuthPage = "Auth.vue";
32
+ authPage = "Auth.vue";
29
33
  break;
30
34
  }
31
35
 
36
+ const loginPage = (X_REQUESTED_ROLES: string): string => {
37
+ return X_REQUESTED_ROLES === "admin"
38
+ ? "AdminAuth.vue"
39
+ : webAuthRoles.includes(X_REQUESTED_ROLES)
40
+ ? "WebAuth.vue"
41
+ : authPage;
42
+ };
43
+
44
+ const isInRoles = (X_REQUESTED_ROLES: string): string => {
45
+ return webAuthRoles.includes(X_REQUESTED_ROLES) ||
46
+ AdminAuthRoles.includes(X_REQUESTED_ROLES)
47
+ ? "WebResetPassword.vue"
48
+ : "ResetPassword.vue";
49
+ };
50
+
32
51
  const routes: RouteRecordRaw[] = [
33
52
  {
34
53
  path: LOCAL_LOGIN_ROUTE,
35
54
  component: () =>
36
55
  // @ts-ignore
37
- import(
38
- `@sowell/auth/pages/${
39
- webAuthRoles.includes(X_REQUESTED_ROLES)
40
- ? "WebAuth.vue"
41
- : mobileAuthPage
42
- }`
43
- ),
56
+ import(`@sowell/auth/pages/${loginPage(X_REQUESTED_ROLES)}`),
44
57
  },
45
58
  {
46
59
  path: LOCAL_UPDATE_PASSWORD_ROUTE,
47
60
  name: "update_password",
48
61
  component: () =>
49
62
  // @ts-ignore
50
- import(
51
- `@sowell/auth/pages/${
52
- webAuthRoles.includes(X_REQUESTED_ROLES)
53
- ? "WebResetPassword.vue"
54
- : "ResetPassword.vue"
55
- }`
56
- ),
63
+ import(`@sowell/auth/pages/${isInRoles(X_REQUESTED_ROLES)}`),
57
64
  },
58
65
  {
59
66
  path: LOCAL_OTP_ROUTE,