π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(AppLock):fixed-style-issues
Aswin Asok2514bea46d3f
diff --git a/web/packages/new/photos/components/AppLockOverlay.tsx b/web/packages/new/photos/components/AppLockOverlay.tsxindex 5e2e10039e..ff96c36fc1 100644--- a/web/packages/new/photos/components/AppLockOverlay.tsx+++ b/web/packages/new/photos/components/AppLockOverlay.tsx@@ -242,6 +242,8 @@ interface UnlockFormProps {const ENTE_GREEN = "#08C225";const ENTE_GREEN_HOVER = "#07A820";+const APP_LOCK_MODAL_WIDTH = 408;+const APP_LOCK_MODAL_CONTENT_WIDTH = APP_LOCK_MODAL_WIDTH - 32;const titleTextSx = (theme: Theme) => ({fontWeight: 600,@@ -362,36 +364,26 @@ const inputFieldSx = (theme: Theme, options?: { borderRadius?: number }) => ({}),});-const LOCK_ILLUSTRATION_SVG = String.raw`-<svg width="379" height="379" viewBox="0 0 379 379" fill="none" xmlns="http://www.w3.org/2000/svg">-<mask id="path-2-outside-1_19281_31704" maskUnits="userSpaceOnUse" x="27.8575" y="14.1463" width="307.021" height="337.36" fill="black">-<rect fill="white" x="27.8575" y="14.1463" width="307.021" height="337.36"/>-<path d="M197.717 54.3663C227.248 56.154 250.433 81.035 249.858 110.888L249.375 143.582L256.853 143.729C257.223 143.74 257.594 143.751 257.965 143.761C271.853 144.616 282.704 156.259 282.437 170.287L280.647 265.066C280.369 279.464 268.488 290.928 254.065 290.657L122.567 288.173C122.197 288.162 121.826 288.151 121.455 288.141C107.567 287.286 96.7164 275.643 96.9832 261.616L98.773 166.836C99.0505 152.438 110.932 140.974 125.355 141.245L138.27 141.48L138.753 108.785C139.337 78.1418 164.713 53.6996 195.357 54.2839C196.147 54.2928 196.92 54.3327 197.717 54.3663ZM164.124 141.943L223.533 143.064L224.016 110.369C224.317 94.4141 211.915 81.1151 196.129 80.1392C195.703 80.1163 195.301 80.0871 194.881 80.0889C178.506 79.789 164.932 92.8666 164.632 109.242L164.149 141.937M192.093 254.068C192.093 254.068 192.303 254.067 192.384 254.073C196.344 254.142 199.593 251.001 199.669 247.065L200.037 227.754C200.051 226.778 200.647 225.917 201.541 225.505C208.682 222.372 213.7 215.338 213.874 207.039C213.943 202.868 212.789 198.955 210.717 195.671C207.307 190.229 201.391 186.504 194.555 186.089C194.264 186.084 193.968 186.055 193.677 186.05C186.305 185.902 179.79 189.638 176.052 195.4C174.008 198.523 172.801 202.248 172.719 206.265C172.57 214.558 177.328 221.785 184.343 225.178C185.216 225.613 185.783 226.494 185.768 227.47L185.401 246.781C185.331 250.637 188.298 253.824 192.118 254.061M198.03 49.5021C197.177 49.4564 196.324 49.4107 195.477 49.3897C162.164 48.749 134.555 75.3634 133.914 108.677L133.503 136.49L125.47 136.327C117.202 136.171 109.362 139.245 103.405 144.967C97.4488 150.69 94.0776 158.41 93.9218 166.678L92.1321 261.457C91.821 278.098 104.572 291.94 121.179 292.943C121.606 292.966 122.057 292.982 122.483 293.005L253.981 295.489C262.249 295.645 270.089 292.571 276.045 286.848C282.002 281.125 285.373 273.406 285.529 265.138L287.318 170.358C287.63 153.717 274.878 139.876 258.271 138.873C257.845 138.85 257.394 138.833 256.967 138.81L254.329 138.772L254.758 110.928C255.055 95.2635 249.349 80.2859 238.659 68.759C228.031 57.269 213.586 50.405 198.024 49.4775L198.03 49.5021ZM169.065 137.188L169.495 109.345C169.745 95.6634 181.104 84.727 194.791 85.0015C195.137 85.0185 195.508 85.0293 195.854 85.0463C209.179 85.8599 219.416 96.95 219.165 110.316L218.754 138.129L169.09 137.182L169.065 137.188ZM192.381 249.21C191.151 249.129 190.207 248.107 190.239 246.89L190.607 227.579C190.669 224.724 189.02 222.068 186.438 220.806C180.921 218.136 177.455 212.473 177.552 206.349C177.613 203.389 178.49 200.537 180.099 198.077C183.088 193.504 188.112 190.831 193.556 190.944C193.791 190.937 194.007 190.96 194.224 190.984C199.242 191.284 203.858 194.026 206.552 198.308C208.182 200.89 209.022 203.884 208.968 206.973C208.84 213.079 205.15 218.618 199.544 221.071C196.917 222.213 195.186 224.809 195.13 227.689L194.763 247C194.743 248.266 193.685 249.272 192.443 249.247L192.344 249.272L192.381 249.21Z"/>-</mask>-<path d="M197.717 54.3663C227.248 56.154 250.433 81.035 249.858 110.888L249.375 143.582L256.853 143.729C257.223 143.74 257.594 143.751 257.965 143.761C271.853 144.616 282.704 156.259 282.437 170.287L280.647 265.066C280.369 279.464 268.488 290.928 254.065 290.657L122.567 288.173C122.197 288.162 121.826 288.151 121.455 288.141C107.567 287.286 96.7164 275.643 96.9832 261.616L98.773 166.836C99.0505 152.438 110.932 140.974 125.355 141.245L138.27 141.48L138.753 108.785C139.337 78.1418 164.713 53.6996 195.357 54.2839C196.147 54.2928 196.92 54.3327 197.717 54.3663ZM164.124 141.943L223.533 143.064L224.016 110.369C224.317 94.4141 211.915 81.1151 196.129 80.1392C195.703 80.1163 195.301 80.0871 194.881 80.0889C178.506 79.789 164.932 92.8666 164.632 109.242L164.149 141.937M192.093 254.068C192.093 254.068 192.303 254.067 192.384 254.073C196.344 254.142 199.593 251.001 199.669 247.065L200.037 227.754C200.051 226.778 200.647 225.917 201.541 225.505C208.682 222.372 213.7 215.338 213.874 207.039C213.943 202.868 212.789 198.955 210.717 195.671C207.307 190.229 201.391 186.504 194.555 186.089C194.264 186.084 193.968 186.055 193.677 186.05C186.305 185.902 179.79 189.638 176.052 195.4C174.008 198.523 172.801 202.248 172.719 206.265C172.57 214.558 177.328 221.785 184.343 225.178C185.216 225.613 185.783 226.494 185.768 227.47L185.401 246.781C185.331 250.637 188.298 253.824 192.118 254.061M198.03 49.5021C197.177 49.4564 196.324 49.4107 195.477 49.3897C162.164 48.749 134.555 75.3634 133.914 108.677L133.503 136.49L125.47 136.327C117.202 136.171 109.362 139.245 103.405 144.967C97.4488 150.69 94.0776 158.41 93.9218 166.678L92.1321 261.457C91.821 278.098 104.572 291.94 121.179 292.943C121.606 292.966 122.057 292.982 122.483 293.005L253.981 295.489C262.249 295.645 270.089 292.571 276.045 286.848C282.002 281.125 285.373 273.406 285.529 265.138L287.318 170.358C287.63 153.717 274.878 139.876 258.271 138.873C257.845 138.85 257.394 138.833 256.967 138.81L254.329 138.772L254.758 110.928C255.055 95.2635 249.349 80.2859 238.659 68.759C228.031 57.269 213.586 50.405 198.024 49.4775L198.03 49.5021ZM169.065 137.188L169.495 109.345C169.745 95.6634 181.104 84.727 194.791 85.0015C195.137 85.0185 195.508 85.0293 195.854 85.0463C209.179 85.8599 219.416 96.95 219.165 110.316L218.754 138.129L169.09 137.182L169.065 137.188ZM192.381 249.21C191.151 249.129 190.207 248.107 190.239 246.89L190.607 227.579C190.669 224.724 189.02 222.068 186.438 220.806C180.921 218.136 177.455 212.473 177.552 206.349C177.613 203.389 178.49 200.537 180.099 198.077C183.088 193.504 188.112 190.831 193.556 190.944C193.791 190.937 194.007 190.96 194.224 190.984C199.242 191.284 203.858 194.026 206.552 198.308C208.182 200.89 209.022 203.884 208.968 206.973C208.84 213.079 205.15 218.618 199.544 221.071C196.917 222.213 195.186 224.809 195.13 227.689L194.763 247C194.743 248.266 193.685 249.272 192.443 249.247L192.344 249.272L192.381 249.21Z" fill="#0A0A0A" style="fill:#0A0A0A;fill:color(display-p3 0.0385 0.0385 0.0385);fill-opacity:1;"/>-<path d="M197.717 54.3663L198.59 39.9511C198.502 39.9458 198.414 39.9412 198.326 39.9375L197.717 54.3663ZM249.858 110.888L235.419 110.609C235.419 110.631 235.418 110.653 235.418 110.674L249.858 110.888ZM249.375 143.582L234.935 143.369C234.818 151.317 241.145 157.865 249.092 158.021L249.375 143.582ZM256.853 143.729L257.271 129.294C257.226 129.292 257.181 129.291 257.136 129.29L256.853 143.729ZM257.965 143.761L258.852 129.347C258.696 129.338 258.54 129.33 258.384 129.326L257.965 143.761ZM282.437 170.287L267.998 170.012L267.998 170.014L282.437 170.287ZM280.647 265.066L295.086 265.344L295.086 265.339L280.647 265.066ZM254.065 290.657L253.792 305.096L253.793 305.096L254.065 290.657ZM122.567 288.173L122.149 302.609C122.197 302.61 122.246 302.611 122.295 302.612L122.567 288.173ZM121.455 288.141L120.568 302.555C120.724 302.565 120.88 302.572 121.036 302.576L121.455 288.141ZM96.9832 261.616L111.422 261.89L111.422 261.888L96.9832 261.616ZM98.773 166.836L84.334 166.558L84.3339 166.563L98.773 166.836ZM125.355 141.245L125.083 155.684L125.093 155.685L125.355 141.245ZM138.27 141.48L138.008 155.919C141.846 155.989 145.554 154.528 148.312 151.859C151.071 149.189 152.653 145.531 152.71 141.693L138.27 141.48ZM138.753 108.785L124.314 108.51C124.313 108.531 124.313 108.552 124.313 108.572L138.753 108.785ZM195.357 54.2839L195.081 68.7228C195.119 68.7236 195.156 68.7241 195.193 68.7245L195.357 54.2839ZM223.533 143.064L223.261 157.503C227.1 157.575 230.811 156.115 233.572 153.446C236.333 150.776 237.916 147.117 237.973 143.277L223.533 143.064ZM224.016 110.369L209.577 110.096C209.576 110.116 209.576 110.136 209.576 110.156L224.016 110.369ZM196.129 80.1392L197.021 65.7251C196.981 65.7227 196.942 65.7204 196.903 65.7183L196.129 80.1392ZM194.881 80.0889L194.617 94.5281C194.726 94.5301 194.835 94.5309 194.944 94.5304L194.881 80.0889ZM164.632 109.242L150.193 108.977C150.192 108.995 150.192 109.012 150.192 109.029L164.632 109.242ZM192.384 254.073L191.338 268.476C191.602 268.495 191.866 268.507 192.131 268.512L192.384 254.073ZM199.669 247.065L214.108 247.343L214.108 247.34L199.669 247.065ZM200.037 227.754L214.476 228.029C214.476 228.008 214.476 227.987 214.477 227.966L200.037 227.754ZM201.541 225.505L195.739 212.28C195.66 212.315 195.58 212.351 195.501 212.387L201.541 225.505ZM213.874 207.039L228.313 207.342C228.313 207.32 228.313 207.298 228.314 207.276L213.874 207.039ZM210.717 195.671L198.479 203.339C198.487 203.351 198.495 203.363 198.502 203.376L210.717 195.671ZM194.555 186.089L195.431 171.674C195.221 171.661 195.01 171.653 194.8 171.65L194.555 186.089ZM193.677 186.05L193.389 200.488C193.403 200.489 193.418 200.489 193.433 200.489L193.677 186.05ZM176.052 195.4L188.136 203.309C188.147 203.293 188.157 203.276 188.168 203.26L176.052 195.4ZM172.719 206.265L158.281 205.972C158.281 205.983 158.28 205.994 158.28 206.005L172.719 206.265ZM184.343 225.178L190.783 212.251C190.732 212.226 190.682 212.201 190.631 212.177L184.343 225.178ZM185.768 227.47L200.207 227.745C200.208 227.724 200.208 227.703 200.208 227.682L185.768 227.47ZM185.401 246.781L170.962 246.506L170.961 246.519L185.401 246.781ZM198.03 49.5021L197.256 63.923C201.844 64.1691 206.275 62.2177 209.19 58.6673C212.106 55.1169 213.158 50.3911 212.025 45.939L198.03 49.5021ZM195.477 49.3897L195.836 34.9525C195.809 34.9518 195.782 34.9512 195.755 34.9507L195.477 49.3897ZM133.914 108.677L119.475 108.399C119.475 108.42 119.474 108.442 119.474 108.463L133.914 108.677ZM133.503 136.49L133.21 150.928C137.053 151.006 140.769 149.549 143.534 146.879C146.299 144.209 147.886 140.547 147.943 136.703L133.503 136.49ZM125.47 136.327L125.763 121.888C125.756 121.888 125.749 121.888 125.742 121.888L125.47 136.327ZM93.9218 166.678L108.361 166.95L108.361 166.95L93.9218 166.678ZM92.1321 261.457L77.693 261.185L77.693 261.187L92.1321 261.457ZM121.179 292.943L120.308 307.358C120.341 307.36 120.373 307.362 120.406 307.364L121.179 292.943ZM122.483 293.005L121.71 307.426C121.877 307.435 122.044 307.441 122.211 307.444L122.483 293.005ZM253.981 295.489L253.708 309.928L253.709 309.928L253.981 295.489ZM285.529 265.138L271.09 264.865L271.09 264.866L285.529 265.138ZM287.318 170.358L301.757 170.631L301.758 170.628L287.318 170.358ZM258.271 138.873L259.142 124.457C259.11 124.455 259.077 124.453 259.045 124.452L258.271 138.873ZM256.967 138.81L257.741 124.389C257.552 124.379 257.363 124.373 257.175 124.37L256.967 138.81ZM254.329 138.772L239.889 138.55C239.83 142.382 241.296 146.081 243.966 148.831C246.635 151.581 250.289 153.157 254.121 153.212L254.329 138.772ZM254.758 110.928L240.319 110.655C240.319 110.672 240.319 110.689 240.318 110.706L254.758 110.928ZM238.659 68.759L228.057 78.5653C228.062 78.5699 228.066 78.5745 228.07 78.5791L238.659 68.759ZM198.024 49.4775L198.883 35.0615C194.282 34.7873 189.826 36.7258 186.89 40.2792C183.954 43.8326 182.891 48.5739 184.028 53.0407L198.024 49.4775ZM169.065 137.188L154.626 136.966C154.556 141.462 156.586 145.735 160.115 148.522C163.644 151.309 168.27 152.293 172.629 151.184L169.065 137.188ZM169.495 109.345L155.056 109.081C155.056 109.095 155.055 109.108 155.055 109.122L169.495 109.345ZM194.791 85.0015L195.501 70.5774C195.361 70.5705 195.221 70.5656 195.081 70.5628L194.791 85.0015ZM195.854 85.0463L196.734 70.6316C196.678 70.6281 196.621 70.625 196.564 70.6222L195.854 85.0463ZM219.165 110.316L204.726 110.045C204.726 110.064 204.725 110.083 204.725 110.103L219.165 110.316ZM218.754 138.129L218.479 152.568C222.319 152.641 226.03 151.182 228.791 148.512C231.553 145.843 233.137 142.183 233.194 138.343L218.754 138.129ZM169.09 137.182L169.365 122.743C168.072 122.718 166.781 122.868 165.527 123.187L169.09 137.182ZM192.381 249.21L204.785 256.605C207.359 252.288 207.503 246.944 205.166 242.494C202.829 238.045 198.347 235.131 193.332 234.8L192.381 249.21ZM190.239 246.89L204.676 247.267C204.677 247.233 204.678 247.198 204.678 247.164L190.239 246.89ZM190.607 227.579L176.169 227.266C176.168 227.279 176.168 227.292 176.168 227.304L190.607 227.579ZM186.438 220.806L192.778 207.831C192.762 207.823 192.745 207.815 192.729 207.807L186.438 220.806ZM177.552 206.349L163.113 206.05C163.113 206.073 163.112 206.097 163.112 206.12L177.552 206.349ZM180.099 198.077L192.186 205.979L192.187 205.979L180.099 198.077ZM193.556 190.944L193.258 205.382C193.505 205.387 193.752 205.386 193.999 205.379L193.556 190.944ZM194.224 190.984L192.646 205.339C192.885 205.366 193.124 205.386 193.363 205.4L194.224 190.984ZM206.552 198.308L194.327 205.998C194.332 206.005 194.336 206.011 194.34 206.018L206.552 198.308ZM208.968 206.973L223.406 207.276C223.407 207.26 223.407 207.244 223.407 207.228L208.968 206.973ZM199.544 221.071L205.302 234.315C205.312 234.311 205.322 234.306 205.333 234.302L199.544 221.071ZM195.13 227.689L180.691 227.411L180.691 227.414L195.13 227.689ZM194.763 247L180.324 246.725C180.323 246.743 180.323 246.762 180.323 246.78L194.763 247ZM192.443 249.247L192.74 234.808C191.439 234.781 190.141 234.93 188.88 235.251L192.443 249.247ZM192.344 249.272L179.94 241.876C176.947 246.897 177.275 253.226 180.771 257.91C184.268 262.594 190.243 264.709 195.907 263.267L192.344 249.272ZM197.717 54.3663L196.844 68.7815C218.674 70.1031 235.845 88.5297 235.419 110.609L249.858 110.888L264.297 111.166C265.022 73.5402 235.821 42.205 198.59 39.9511L197.717 54.3663ZM249.858 110.888L235.418 110.674L234.935 143.369L249.375 143.582L263.815 143.796L264.298 111.101L249.858 110.888ZM249.375 143.582L249.092 158.021L256.569 158.168L256.853 143.729L257.136 129.29L249.659 129.143L249.375 143.582ZM256.853 143.729L256.434 158.165C256.619 158.17 256.805 158.176 256.99 158.181C257.175 158.186 257.361 158.192 257.546 158.197L257.965 143.761L258.384 129.326C258.198 129.321 258.013 129.315 257.827 129.31C257.642 129.304 257.457 129.299 257.271 129.294L256.853 143.729ZM257.965 143.761L257.078 158.176C263.283 158.558 268.117 163.762 267.998 170.012L282.437 170.287L296.876 170.561C297.29 148.757 280.422 130.674 258.852 129.347L257.965 143.761ZM282.437 170.287L267.998 170.014L266.208 264.793L280.647 265.066L295.086 265.339L296.876 170.559L282.437 170.287ZM280.647 265.066L266.208 264.788C266.084 271.224 260.777 276.339 254.337 276.218L254.065 290.657L253.793 305.096C276.198 305.517 294.655 287.704 295.086 265.344L280.647 265.066ZM254.065 290.657L254.338 276.218L122.84 273.734L122.567 288.173L122.295 302.612L253.792 305.096L254.065 290.657ZM122.567 288.173L122.986 273.738C122.802 273.732 122.618 273.727 122.433 273.721C122.248 273.716 122.061 273.711 121.874 273.705L121.455 288.141L121.036 302.576C121.22 302.582 121.404 302.587 121.59 302.592C121.775 302.598 121.962 302.603 122.149 302.609L122.567 288.173ZM121.455 288.141L122.342 273.726C116.136 273.345 111.303 268.14 111.422 261.89L96.9832 261.616L82.5442 261.341C82.1294 283.145 98.9984 301.228 120.568 302.555L121.455 288.141ZM96.9832 261.616L111.422 261.888L113.212 167.109L98.773 166.836L84.3339 166.563L82.5441 261.343L96.9832 261.616ZM98.773 166.836L113.212 167.114C113.336 160.678 118.643 155.563 125.083 155.684L125.355 141.245L125.627 126.806C103.222 126.385 84.7651 144.198 84.334 166.558L98.773 166.836ZM125.355 141.245L125.093 155.685L138.008 155.919L138.27 141.48L138.532 127.041L125.617 126.806L125.355 141.245ZM138.27 141.48L152.71 141.693L153.193 108.999L138.753 108.785L124.313 108.572L123.83 141.267L138.27 141.48ZM138.753 108.785L153.192 109.061C153.624 86.3862 172.417 68.2908 195.081 68.7228L195.357 54.2839L195.632 39.8449C157.008 39.1085 125.05 69.8974 124.314 108.51L138.753 108.785ZM195.357 54.2839L195.193 68.7245C195.693 68.7302 196.129 68.7538 197.109 68.7951L197.717 54.3663L198.326 39.9375C197.711 39.9116 196.602 39.8554 195.52 39.8432L195.357 54.2839ZM164.124 141.943L163.852 156.382L223.261 157.503L223.533 143.064L223.806 128.625L164.397 127.504L164.124 141.943ZM223.533 143.064L237.973 143.277L238.456 110.582L224.016 110.369L209.576 110.156L209.093 142.851L223.533 143.064ZM224.016 110.369L238.455 110.642C238.904 86.9081 220.481 67.1756 197.021 65.7251L196.129 80.1392L195.238 94.5533C203.348 95.0547 209.731 101.92 209.577 110.096L224.016 110.369ZM196.129 80.1392L196.903 65.7183C196.834 65.7146 195.787 65.6433 194.819 65.6474L194.881 80.0889L194.944 94.5304C194.805 94.531 194.736 94.5262 194.808 94.5297C194.845 94.5315 194.897 94.5342 194.993 94.5397C195.073 94.5442 195.218 94.5527 195.356 94.5601L196.129 80.1392ZM194.881 80.0889L195.146 65.6497C170.801 65.2039 150.639 84.6223 150.193 108.977L164.632 109.242L179.071 109.506C179.225 101.111 186.211 94.3742 194.617 94.5281L194.881 80.0889ZM164.632 109.242L150.192 109.029L149.709 141.723L164.149 141.937L178.589 142.15L179.072 109.455L164.632 109.242ZM192.093 254.068C192.151 268.509 192.151 268.509 192.151 268.509C192.151 268.509 192.151 268.509 192.15 268.509C192.15 268.509 192.15 268.509 192.15 268.509C192.149 268.509 192.149 268.509 192.148 268.509C192.147 268.509 192.146 268.509 192.145 268.509C192.143 268.509 192.141 268.509 192.14 268.509C192.136 268.509 192.133 268.509 192.131 268.509C192.126 268.509 192.122 268.509 192.119 268.509C192.114 268.509 192.105 268.509 192.089 268.509C192.079 268.509 192.031 268.508 191.959 268.507C191.946 268.506 191.684 268.501 191.338 268.476L192.384 254.073L193.429 239.669C193.042 239.641 192.725 239.634 192.649 239.632C192.515 239.629 192.4 239.627 192.328 239.627C192.249 239.626 192.182 239.626 192.135 239.626C192.111 239.626 192.09 239.626 192.073 239.626C192.065 239.626 192.058 239.626 192.051 239.626C192.048 239.626 192.045 239.626 192.042 239.626C192.041 239.626 192.04 239.626 192.038 239.626C192.038 239.626 192.037 239.626 192.037 239.626C192.036 239.626 192.036 239.626 192.036 239.626C192.036 239.626 192.035 239.626 192.035 239.626C192.035 239.626 192.035 239.626 192.093 254.068ZM192.384 254.073L192.131 268.512C204.048 268.721 213.879 259.252 214.108 247.343L199.669 247.065L185.23 246.787C185.308 242.751 188.641 239.563 192.636 239.633L192.384 254.073ZM199.669 247.065L214.108 247.34L214.476 228.029L200.037 227.754L185.598 227.48L185.23 246.79L199.669 247.065ZM200.037 227.754L214.477 227.966C214.404 232.927 211.386 236.871 207.58 238.623L201.541 225.505L195.501 212.387C189.907 214.963 185.698 220.629 185.596 227.543L200.037 227.754ZM201.541 225.505L207.342 238.73C219.459 233.415 228.017 221.449 228.313 207.342L213.874 207.039L199.436 206.736C199.384 209.226 197.906 211.33 195.739 212.28L201.541 225.505ZM213.874 207.039L228.314 207.276C228.429 200.261 226.482 193.594 222.931 187.966L210.717 195.671L198.502 203.376C199.096 204.316 199.456 205.474 199.435 206.802L213.874 207.039ZM210.717 195.671L222.955 188.002C217.145 178.731 207.061 172.381 195.431 171.674L194.555 186.089L193.679 200.504C195.72 200.628 197.47 201.728 198.479 203.339L210.717 195.671ZM194.555 186.089L194.8 171.65C194.925 171.652 195.012 171.656 195.033 171.657C195.047 171.657 195.048 171.658 194.962 171.653C194.901 171.649 194.753 171.64 194.593 171.633C194.425 171.624 194.193 171.615 193.922 171.61L193.677 186.05L193.433 200.489C193.307 200.487 193.22 200.483 193.199 200.482C193.185 200.481 193.184 200.481 193.27 200.486C193.331 200.49 193.479 200.499 193.639 200.506C193.807 200.514 194.039 200.524 194.31 200.529L194.555 186.089ZM193.677 186.05L193.966 171.611C181.401 171.36 170.283 177.757 163.936 187.541L176.052 195.4L188.168 203.26C189.297 201.519 191.209 200.445 193.389 200.488L193.677 186.05ZM176.052 195.4L163.969 187.492C160.46 192.852 158.418 199.21 158.281 205.972L172.719 206.265L187.158 206.558C187.184 205.286 187.556 204.195 188.136 203.309L176.052 195.4ZM172.719 206.265L158.28 206.005C158.026 220.126 166.149 232.42 178.056 238.179L184.343 225.178L190.631 212.177C188.507 211.149 187.114 208.989 187.159 206.525L172.719 206.265ZM184.343 225.178L177.904 238.104C174.08 236.199 171.257 232.135 171.328 227.258L185.768 227.47L200.208 227.682C200.308 220.852 196.353 215.026 190.783 212.251L184.343 225.178ZM185.768 227.47L171.329 227.195L170.962 246.506L185.401 246.781L199.84 247.056L200.207 227.745L185.768 227.47ZM185.401 246.781L170.961 246.519C170.751 258.134 179.72 267.762 191.224 268.475L192.118 254.061L193.011 239.647C196.877 239.887 199.911 243.139 199.84 247.042L185.401 246.781ZM198.03 49.5021L198.803 35.0813C197.985 35.0374 196.925 34.9796 195.836 34.9525L195.477 49.3897L195.118 63.8268C195.723 63.8419 196.369 63.8754 197.256 63.923L198.03 49.5021ZM195.477 49.3897L195.755 34.9507C154.453 34.1564 120.269 67.1261 119.475 108.399L133.914 108.677L148.353 108.954C148.841 83.6007 169.876 63.3416 195.2 63.8286L195.477 49.3897ZM133.914 108.677L119.474 108.463L119.063 136.276L133.503 136.49L147.943 136.703L148.354 108.89L133.914 108.677ZM133.503 136.49L133.796 122.051L125.763 121.888L125.47 136.327L125.177 150.765L133.21 150.928L133.503 136.49ZM125.47 136.327L125.742 121.888C113.648 121.66 102.113 126.183 93.3998 134.553L103.405 144.967L113.411 155.381C116.611 152.307 120.755 150.682 125.198 150.766L125.47 136.327ZM103.405 144.967L93.3998 134.553C84.6726 142.938 79.7107 154.309 79.4827 166.406L93.9218 166.678L108.361 166.95C108.444 162.511 110.225 158.442 113.411 155.381L103.405 144.967ZM93.9218 166.678L79.4828 166.405L77.693 261.185L92.1321 261.457L106.571 261.73L108.361 166.95L93.9218 166.678ZM92.1321 261.457L77.693 261.187C77.2376 285.544 95.948 305.887 120.308 307.358L121.179 292.943L122.05 278.528C113.197 277.993 106.404 270.653 106.571 261.727L92.1321 261.457ZM121.179 292.943L120.406 307.364C120.693 307.379 120.976 307.392 121.184 307.401C121.415 307.412 121.571 307.419 121.71 307.426L122.483 293.005L123.257 278.584C122.969 278.569 122.686 278.556 122.479 278.547C122.247 278.537 122.092 278.53 121.953 278.522L121.179 292.943ZM122.483 293.005L122.211 307.444L253.708 309.928L253.981 295.489L254.254 281.05L122.756 278.566L122.483 293.005ZM253.981 295.489L253.709 309.928C265.802 310.156 277.338 305.633 286.051 297.262L276.045 286.848L266.04 276.434C262.84 279.508 258.696 281.133 254.253 281.05L253.981 295.489ZM276.045 286.848L286.051 297.262C294.778 288.877 299.74 277.506 299.968 265.41L285.529 265.138L271.09 264.866C271.006 269.305 269.225 273.374 266.04 276.434L276.045 286.848ZM285.529 265.138L299.968 265.41L301.757 170.631L287.318 170.358L272.879 170.085L271.09 264.865L285.529 265.138ZM287.318 170.358L301.758 170.628C302.213 146.272 283.503 125.929 259.142 124.457L258.271 138.873L257.4 153.288C266.254 153.823 273.046 161.162 272.879 170.088L287.318 170.358ZM258.271 138.873L259.045 124.452C258.759 124.436 258.477 124.424 258.269 124.414C258.038 124.404 257.881 124.397 257.741 124.389L256.967 138.81L256.194 153.231C256.48 153.246 256.762 153.259 256.969 153.268C257.2 153.279 257.357 153.286 257.498 153.293L258.271 138.873ZM256.967 138.81L257.175 124.37L254.536 124.332L254.329 138.772L254.121 153.212L256.76 153.25L256.967 138.81ZM254.329 138.772L268.769 138.995L269.198 111.151L254.758 110.928L240.318 110.706L239.889 138.55L254.329 138.772ZM254.758 110.928L269.197 111.202C269.565 91.7988 262.477 73.2038 249.248 58.9389L238.659 68.759L228.07 78.5791C236.221 87.3679 240.545 98.7282 240.319 110.655L254.758 110.928ZM238.659 68.759L249.261 58.9527C236.119 44.7454 218.192 36.2122 198.883 35.0615L198.024 49.4775L197.164 63.8935C208.98 64.5977 219.943 69.7926 228.057 78.5653L238.659 68.759ZM198.024 49.4775L184.028 53.0407L184.035 53.0653L198.03 49.5021L212.025 45.939L212.019 45.9143L198.024 49.4775ZM169.065 137.188L183.505 137.411L183.935 109.567L169.495 109.345L155.055 109.122L154.626 136.966L169.065 137.188ZM169.495 109.345L183.934 109.608C184.038 103.911 188.799 99.3259 194.502 99.4402L194.791 85.0015L195.081 70.5628C173.408 70.1282 155.451 87.4159 155.056 109.081L169.495 109.345ZM194.791 85.0015L194.081 99.4256C194.342 99.4385 194.598 99.4483 194.763 99.4547C194.956 99.4622 195.059 99.4663 195.144 99.4705L195.854 85.0463L196.564 70.6222C196.303 70.6093 196.047 70.5995 195.882 70.5932C195.689 70.5856 195.586 70.5815 195.501 70.5774L194.791 85.0015ZM195.854 85.0463L194.974 99.4611C200.566 99.8026 204.832 104.408 204.726 110.045L219.165 110.316L233.604 110.587C234.001 89.492 217.792 71.9173 196.734 70.6316L195.854 85.0463ZM219.165 110.316L204.725 110.103L204.314 137.916L218.754 138.129L233.194 138.343L233.605 110.529L219.165 110.316ZM218.754 138.129L219.029 123.69L169.365 122.743L169.09 137.182L168.815 151.621L218.479 152.568L218.754 138.129ZM169.09 137.182L165.527 123.187L165.502 123.193L169.065 137.188L172.629 151.184L172.653 151.177L169.09 137.182ZM192.381 249.21L193.332 234.8C199.674 235.218 204.851 240.571 204.676 247.267L190.239 246.89L175.803 246.512C175.564 255.642 182.628 263.039 191.43 263.62L192.381 249.21ZM190.239 246.89L204.678 247.164L205.046 227.854L190.607 227.579L176.168 227.304L175.8 246.615L190.239 246.89ZM190.607 227.579L205.045 227.892C205.231 219.281 200.304 211.509 192.778 207.831L186.438 220.806L180.097 233.782C177.735 232.628 176.106 230.167 176.169 227.266L190.607 227.579ZM186.438 220.806L192.729 207.807C192.302 207.601 191.983 207.117 191.991 206.578L177.552 206.349L163.112 206.12C162.926 217.828 169.54 228.672 180.146 233.806L186.438 220.806ZM177.552 206.349L191.99 206.648C191.996 206.368 192.072 206.155 192.186 205.979L180.099 198.077L168.011 190.175C164.909 194.919 163.23 200.41 163.113 206.05L177.552 206.349ZM180.099 198.077L192.187 205.979C192.35 205.728 192.526 205.59 192.675 205.511C192.823 205.432 193.009 205.377 193.258 205.382L193.556 190.944L193.854 176.505C183.382 176.289 173.699 181.474 168.011 190.175L180.099 198.077ZM193.556 190.944L193.999 205.379C193.491 205.394 193.088 205.373 192.85 205.356C192.651 205.342 192.496 205.323 192.646 205.339L194.224 190.984L195.802 176.629C195.7 176.618 194.511 176.466 193.114 176.509L193.556 190.944ZM194.224 190.984L193.363 205.4C193.695 205.42 194.095 205.63 194.327 205.998L206.552 198.308L218.776 190.619C213.62 182.422 204.789 177.148 195.084 176.568L194.224 190.984ZM206.552 198.308L194.34 206.018C194.464 206.214 194.533 206.438 194.528 206.718L208.968 206.973L223.407 207.228C223.511 201.329 221.899 195.567 218.763 190.599L206.552 198.308ZM208.968 206.973L194.529 206.67C194.525 206.897 194.453 207.143 194.3 207.372C194.148 207.6 193.954 207.753 193.756 207.84L199.544 221.071L205.333 234.302C216.114 229.585 223.161 218.987 223.406 207.276L208.968 206.973ZM199.544 221.071L193.787 207.827C185.94 211.238 180.855 218.925 180.691 227.411L195.13 227.689L209.569 227.967C209.517 230.694 207.893 233.189 205.302 234.315L199.544 221.071ZM195.13 227.689L180.691 227.414L180.324 246.725L194.763 247L209.202 247.275L209.569 227.964L195.13 227.689ZM194.763 247L180.323 246.78C180.426 240.012 186.007 234.67 192.74 234.808L192.443 249.247L192.146 263.685C201.363 263.874 209.061 256.521 209.203 247.219L194.763 247ZM192.443 249.247L188.88 235.251L188.781 235.277L192.344 249.272L195.907 263.267L196.006 263.242L192.443 249.247ZM192.344 249.272L204.748 256.667L204.785 256.605L192.381 249.21L179.977 241.814L179.94 241.876L192.344 249.272Z" fill="#0A0A0A" style="fill:#0A0A0A;fill:color(display-p3 0.0385 0.0385 0.0385);fill-opacity:1;" mask="url(#path-2-outside-1_19281_31704)"/>-<path d="M222.603 83.6654L166.571 82.7305L165.559 143.414L221.591 144.349L222.603 83.6654Z" fill="#0A0A0A" stroke="white" style="fill:#0A0A0A;fill:color(display-p3 0.0385 0.0385 0.0385);fill-opacity:1;stroke:white;stroke-opacity:1;" stroke-width="0.963729" stroke-miterlimit="10"/>-<path d="M239.089 169.587L155.453 164.492L149.056 269.513L232.691 274.608L239.089 169.587Z" fill="#0A0A0A" stroke="white" style="fill:#0A0A0A;fill:color(display-p3 0.0385 0.0385 0.0385);fill-opacity:1;stroke:white;stroke-opacity:1;" stroke-width="0.963729" stroke-miterlimit="10"/>-<path d="M120.105 290.547C104.802 289.606 93.0439 276.879 93.3421 261.529L95.1318 166.75C95.4408 151.029 108.467 138.486 124.181 138.77L134.668 138.965L135.118 108.724C135.727 76.7332 162.223 51.2173 194.208 51.8019C195.029 51.8292 195.851 51.8566 196.649 51.8902C227.755 53.7762 251.681 79.7044 251.074 110.879L250.624 141.121L255.673 141.229C256.068 141.233 256.495 141.256 256.896 141.285C272.199 142.226 283.957 154.953 283.659 170.303L281.869 265.082C281.56 280.803 268.534 293.347 252.82 293.063L121.322 290.579C120.927 290.574 120.5 290.552 120.098 290.522L120.105 290.547ZM193.217 188.545C192.951 188.534 192.71 188.516 192.445 188.505C186.154 188.372 180.341 191.455 176.903 196.747C175.049 199.585 174.026 202.895 173.954 206.331C173.83 213.381 177.838 219.932 184.197 223.019C185.937 223.864 187.019 225.639 186.978 227.542L186.611 246.853C186.572 249.386 188.503 251.497 191.043 251.666L191.253 251.665C193.867 251.709 196.021 249.636 196.065 247.022L196.433 227.711C196.474 225.808 197.634 224.067 199.379 223.281C205.837 220.454 210.122 214.052 210.246 207.002C210.31 203.436 209.35 199.974 207.459 196.985C204.36 192.043 199.033 188.878 193.211 188.52L193.217 188.545ZM194.792 82.5949C194.415 82.5595 194.019 82.555 193.648 82.5443C178.62 82.2694 166.166 94.2732 165.866 109.308L165.416 139.549L219.937 140.574L220.387 110.333C220.67 95.6441 209.421 83.4708 194.785 82.5702L194.792 82.5949Z" fill="#08C225" style="fill:#08C225;fill:color(display-p3 0.0314 0.7608 0.1451);fill-opacity:1;"/>-<path d="M136.164 141.45L166.381 142.012L165.419 115.206C165.419 115.206 163.794 93.6422 177.767 88.6386C191.741 83.6351 194.715 82.8251 194.715 82.8251L212.907 88.8141L221.632 105.941L218.936 134.073L219.03 143.014L250.73 143.618L251.934 104.877L245.227 86.8948L238.206 73.7764L223.417 60.1912L213.025 54.6876L190.785 51.3853L170.001 55.9673L155.74 65.8288L142.084 81.5822L139.223 91.4065L135.871 103.643L134.891 119.929L134.731 138.713L136.189 141.444L136.164 141.45Z" fill="white" style="fill:white;fill-opacity:1;"/>-<path d="M196.515 54.3663C226.045 56.154 249.231 81.035 248.656 110.888L248.173 143.582L255.65 143.729C256.021 143.74 256.392 143.751 256.763 143.761C270.65 144.616 281.501 156.259 281.235 170.287L279.445 265.066C279.167 279.464 267.286 290.928 252.863 290.657L121.365 288.173C120.994 288.162 120.624 288.151 120.253 288.141C106.365 287.286 95.5142 275.643 95.781 261.616L97.5708 166.836C97.8484 152.438 109.73 140.974 124.153 141.245L137.068 141.48L137.55 108.785C138.135 78.1418 163.511 53.6996 194.154 54.2839C194.945 54.2928 195.718 54.3327 196.515 54.3663ZM162.922 141.943L222.331 143.064L222.814 110.369C223.115 94.4141 210.712 81.1151 194.927 80.1392C194.501 80.1163 194.099 80.0871 193.679 80.0889C177.304 79.789 163.73 92.8666 163.43 109.242L162.947 141.937M190.891 254.068C190.891 254.068 191.101 254.067 191.181 254.073C195.142 254.142 198.391 251.001 198.467 247.065L198.834 227.754C198.849 226.778 199.444 225.917 200.339 225.505C207.48 222.372 212.498 215.338 212.672 207.039C212.741 202.868 211.587 198.955 209.515 195.671C206.105 190.229 200.188 186.504 193.353 186.089C193.062 186.084 192.766 186.055 192.475 186.05C185.103 185.902 178.588 189.638 174.85 195.4C172.806 198.523 171.599 202.248 171.517 206.265C171.368 214.558 176.126 221.785 183.141 225.178C184.014 225.613 184.58 226.494 184.566 227.47L184.199 246.781C184.129 250.637 187.096 253.824 190.916 254.061M196.828 49.5021C195.975 49.4564 195.122 49.4107 194.275 49.3897C160.962 48.749 133.353 75.3634 132.712 108.677L132.301 136.49L124.268 136.327C116 136.171 108.16 139.245 102.203 144.967C96.2467 150.69 92.8754 158.41 92.7196 166.678L90.9299 261.457C90.6188 278.098 103.37 291.94 119.977 292.943C120.404 292.966 120.855 292.982 121.281 293.005L252.779 295.489C261.047 295.645 268.887 292.571 274.843 286.848C280.8 281.125 284.171 273.406 284.327 265.138L286.116 170.358C286.427 153.717 273.676 139.876 257.069 138.873C256.643 138.85 256.192 138.833 255.765 138.81L253.127 138.772L253.556 110.928C253.853 95.2635 248.147 80.2859 237.457 68.759C226.829 57.269 212.384 50.405 196.821 49.4775L196.828 49.5021ZM167.863 137.188L168.293 109.345C168.543 95.6634 179.902 84.727 193.589 85.0015C193.935 85.0185 194.306 85.0293 194.652 85.0463C207.977 85.8599 218.214 96.95 217.963 110.316L217.552 138.129L167.888 137.182L167.863 137.188ZM191.179 249.21C189.949 249.129 189.005 248.107 189.037 246.89L189.405 227.579C189.466 224.724 187.818 222.068 185.236 220.806C179.719 218.136 176.252 212.473 176.349 206.349C176.411 203.389 177.288 200.537 178.897 198.077C181.886 193.504 186.91 190.831 192.354 190.944C192.589 190.937 192.805 190.96 193.022 190.984C198.04 191.284 202.655 194.026 205.349 198.308C206.979 200.89 207.82 203.884 207.766 206.973C207.638 213.079 203.948 218.618 198.342 221.071C195.715 222.213 193.984 224.809 193.928 227.689L193.561 247C193.541 248.266 192.483 249.272 191.241 249.247L191.142 249.272L191.179 249.21Z" fill="#0A0A0A" style="fill:#0A0A0A;fill:color(display-p3 0.0385 0.0385 0.0385);fill-opacity:1;"/>-<path d="M156.361 157.034L127.142 156.669C118.799 156.565 111.952 163.238 111.848 171.574C111.743 179.91 118.422 186.752 126.765 186.856L155.984 187.221C164.326 187.325 171.174 180.652 171.278 172.316C171.382 163.981 164.704 157.139 156.361 157.034Z" fill="white" fill-opacity="0.27" style="fill:white;fill-opacity:0.27;"/>-<path d="M102.728 74.8462C89.3356 76.9852 78.9047 85.2799 77.254 96.5039C78.9047 85.2799 71.3148 74.3483 59.0939 68.4288C72.4865 66.2898 82.9175 57.9952 84.5682 46.7712C82.9175 57.9952 90.5074 68.9267 102.728 74.8462Z" fill="#505050" style="fill:#505050;fill:color(display-p3 0.3137 0.3137 0.3137);fill-opacity:1;"/>-<path d="M60.0476 253.393C47.1184 258.746 38.6353 269.568 39.6655 281.228C38.6353 269.568 28.401 260.414 14.7188 257.398C27.6479 252.046 36.1311 241.224 35.1009 229.564C36.1311 241.224 46.3653 250.378 60.0476 253.393Z" fill="#505050" style="fill:#505050;fill:color(display-p3 0.3137 0.3137 0.3137);fill-opacity:1;"/>-<path d="M372.543 219.068C358.002 220.389 346.211 228.525 343.617 240.455C346.211 228.525 338.862 216.228 326.182 208.989C340.723 207.668 352.514 199.532 355.108 187.602C352.514 199.532 359.863 211.829 372.543 219.068Z" fill="#505050" style="fill:#505050;fill:color(display-p3 0.3137 0.3137 0.3137);fill-opacity:1;"/>-</svg>-`;+const LOCK_ILLUSTRATION_SRC = new URL(+ "./icons/lock.svg",+ import.meta.url,+).toString();const LockIllustration: React.FC = () => (<Box+ component="img"+ src={LOCK_ILLUSTRATION_SRC}+ alt=""aria-hidden+ draggable={false}sx={{width: 124,maxWidth: "100%",+ height: "auto",+ display: "block",lineHeight: 0,- "& svg": { display: "block", width: "100%", height: "auto" },+ userSelect: "none",}}- dangerouslySetInnerHTML={{ __html: LOCK_ILLUSTRATION_SVG }}/>);@@ -401,7 +393,7 @@ const AppLockCard: React.FC<<Paperelevation={0}sx={(theme) => ({- width: 381,+ width: APP_LOCK_MODAL_WIDTH,maxWidth: "calc(100% - 32px)",borderRadius: "28px",backgroundColor: "#fff",@@ -663,7 +655,7 @@ const PinUnlockForm: React.FC<UnlockFormProps> = ({spacing={0}useFlexGapalignItems="center"- sx={{ maxWidth: 349, width: "100%" }}+ sx={{ maxWidth: APP_LOCK_MODAL_CONTENT_WIDTH, width: "100%" }}><Boxsx={{@@ -856,7 +848,7 @@ const PasswordUnlockForm: React.FC<UnlockFormProps> = ({spacing={0}useFlexGapalignItems="center"- sx={{ maxWidth: 349, width: "100%" }}+ sx={{ maxWidth: APP_LOCK_MODAL_CONTENT_WIDTH, width: "100%" }}><Boxsx={{@@ -925,7 +917,13 @@ const PasswordUnlockForm: React.FC<UnlockFormProps> = ({),},}}- sx={inputFieldSx}+ sx={(theme) => ({+ ...inputFieldSx(theme),+ mt: 1,+ "& .MuiInputAdornment-positionEnd": {+ pr: 0.5,+ },+ })}/><FocusVisibleButton@@ -981,87 +979,79 @@ const DeviceLockUnlockForm: React.FC<{}, []);return (- <AppLockCard closeAction={closeAction}>- <Stack- spacing={0}- useFlexGap- alignItems="center"- sx={{ maxWidth: 349, width: "100%" }}- >- <Box- sx={{- mt: -0.5,- mb: 1.5,- display: "flex",- justifyContent: "center",- width: "100%",- }}- >- <LockIllustration />- </Box>-- <Box- sx={{- display: "flex",- flexDirection: "column",- alignItems: "center",- gap: "9px",- textAlign: "center",- mb: 2,- }}+ <Stack spacing={0} useFlexGap alignItems="center">+ <AppLockCard closeAction={closeAction}>+ <Stack+ spacing={0}+ useFlexGap+ alignItems="center"+ sx={{ maxWidth: APP_LOCK_MODAL_CONTENT_WIDTH, width: "100%" }}>- <Typography- sx={(theme) => ({- ...titleTextSx(theme),- ...(isReauthentication ? {} : { mb: 0.5 }),- })}+ <Box+ sx={{+ mt: -0.5,+ mb: 1.5,+ display: "flex",+ justifyContent: "center",+ width: "100%",+ }}>- {isReauthentication- ? t("authenticate")- : t("app_locked")}- </Typography>- <Typography sx={subtitleTextSx}>- {t("device_lock_login_instructions")}- </Typography>- </Box>+ <LockIllustration />+ </Box>- <FocusVisibleButton- fullWidth- color="accent"- disabled={loading}- onClick={() => {- void handleDeviceLockUnlock();- }}- sx={(theme) => ({- ...primaryActionButtonSx(theme),- backgroundColor: ENTE_GREEN,- "&:hover": { backgroundColor: ENTE_GREEN_HOVER },- fontWeight: 600,- mt: 2,- })}- >- {loading ? (- <CircularProgress size={18} color="inherit" />- ) : isReauthentication ? (- t("authenticate")- ) : (- t("device_lock_login")- )}- </FocusVisibleButton>+ <Box+ sx={{+ display: "flex",+ flexDirection: "column",+ alignItems: "center",+ gap: "9px",+ textAlign: "center",+ mb: 2,+ }}+ >+ <Typography+ sx={(theme) => ({+ ...titleTextSx(theme),+ ...(isReauthentication ? {} : { mb: 0.5 }),+ })}+ >+ {isReauthentication+ ? t("authenticate")+ : t("app_locked")}+ </Typography>+ <Typography sx={subtitleTextSx}>+ {t("device_lock_login_instructions")}+ </Typography>+ </Box>- {error && (- <Typography+ <FocusVisibleButton+ fullWidth+ color="accent"+ disabled={loading}+ onClick={() => {+ void handleDeviceLockUnlock();+ }}sx={(theme) => ({- ...subtitleTextSx(theme),- color: theme.palette.error.main,- mt: 0.75,+ ...primaryActionButtonSx(theme),+ backgroundColor: ENTE_GREEN,+ "&:hover": { backgroundColor: ENTE_GREEN_HOVER },+ fontWeight: 600,+ mt: 2,})}>- {error}- </Typography>- )}- </Stack>- </AppLockCard>+ {loading ? (+ <CircularProgress size={18} color="inherit" />+ ) : isReauthentication ? (+ t("authenticate")+ ) : (+ t("device_lock_login")+ )}+ </FocusVisibleButton>+ </Stack>+ </AppLockCard>++ <ErrorMessage error={error} attemptCount={0} />+ </Stack>);};@@ -1130,7 +1120,7 @@ const LogoutConfirmation: React.FC<LogoutConfirmationProps> = ({useFlexGapalignItems="center"justifyContent="center"- sx={{ maxWidth: 349, width: "100%" }}+ sx={{ maxWidth: APP_LOCK_MODAL_CONTENT_WIDTH, width: "100%" }}><Boxsx={{@@ -1205,7 +1195,7 @@ const CooldownScreen: React.FC<CooldownScreenProps> = ({useFlexGapalignItems="center"justifyContent="center"- sx={{ maxWidth: 349, width: "100%" }}+ sx={{ maxWidth: APP_LOCK_MODAL_CONTENT_WIDTH, width: "100%" }}><Boxsx={{diff --git a/web/packages/new/photos/components/icons/lock.svg b/web/packages/new/photos/components/icons/lock.svgnew file mode 100644index 0000000000..c5a87a2636--- /dev/null+++ b/web/packages/new/photos/components/icons/lock.svg@@ -0,0 +1,17 @@+<svg width="379" height="379" viewBox="0 0 379 379" fill="none" xmlns="http://www.w3.org/2000/svg">+<mask id="path-2-outside-1_6_278" maskUnits="userSpaceOnUse" x="36.3682" y="22.6565" width="290" height="320.339" fill="black">+<rect fill="white" x="36.3682" y="22.6565" width="290" height="320.339"/>+<path d="M197.717 54.3658C227.248 56.1536 250.433 81.0345 249.858 110.887L249.375 143.582L256.853 143.729C257.223 143.739 257.594 143.75 257.965 143.761C271.853 144.615 282.704 156.259 282.437 170.286L280.647 265.066C280.369 279.464 268.488 290.927 254.065 290.656L122.567 288.173C122.197 288.162 121.826 288.151 121.455 288.14C107.567 287.286 96.7164 275.642 96.9832 261.615L98.773 166.836C99.0505 152.438 110.932 140.974 125.355 141.245L138.27 141.48L138.753 108.785C139.337 78.1413 164.713 53.6992 195.357 54.2834C196.147 54.2923 196.92 54.3322 197.717 54.3658ZM164.124 141.942L223.533 143.063L224.016 110.369C224.317 94.4136 211.915 81.1147 196.129 80.1387C195.703 80.1158 195.301 80.0866 194.881 80.0884C178.506 79.7885 164.932 92.8661 164.632 109.241L164.149 141.936M192.093 254.067C192.093 254.067 192.303 254.066 192.384 254.072C196.344 254.141 199.593 251.001 199.669 247.065L200.037 227.754C200.051 226.778 200.647 225.916 201.541 225.505C208.682 222.372 213.7 215.337 213.874 207.038C213.943 202.867 212.789 198.955 210.717 195.67C207.307 190.229 201.391 186.504 194.555 186.089C194.264 186.084 193.968 186.054 193.677 186.049C186.305 185.902 179.79 189.637 176.052 195.4C174.008 198.523 172.801 202.248 172.719 206.264C172.57 214.557 177.328 221.784 184.343 225.177C185.216 225.612 185.783 226.493 185.768 227.47L185.401 246.78C185.331 250.636 188.298 253.824 192.118 254.061M198.03 49.5017C197.177 49.4559 196.324 49.4102 195.477 49.3892C162.164 48.7485 134.555 75.3629 133.914 108.676L133.503 136.489L125.47 136.326C117.202 136.17 109.362 139.244 103.405 144.967C97.4488 150.69 94.0776 158.409 93.9218 166.677L92.1321 261.457C91.821 278.098 104.572 291.939 121.179 292.942C121.606 292.965 122.057 292.982 122.483 293.005L253.981 295.488C262.249 295.644 270.089 292.57 276.045 286.848C282.002 281.125 285.373 273.405 285.529 265.137L287.318 170.358C287.63 153.717 274.878 139.875 258.271 138.872C257.845 138.849 257.394 138.833 256.967 138.81L254.329 138.772L254.758 110.928C255.055 95.263 249.349 80.2854 238.659 68.7585C228.031 57.2685 213.586 50.4045 198.024 49.477L198.03 49.5017ZM169.065 137.188L169.495 109.344C169.745 95.6629 181.104 84.7265 194.791 85.001C195.137 85.018 195.508 85.0288 195.854 85.0459C209.179 85.8594 219.416 96.9495 219.165 110.316L218.754 138.129L169.09 137.182L169.065 137.188ZM192.381 249.209C191.151 249.128 190.207 248.106 190.239 246.889L190.607 227.578C190.669 224.724 189.02 222.068 186.438 220.806C180.921 218.136 177.455 212.472 177.552 206.349C177.613 203.389 178.49 200.536 180.099 198.076C183.088 193.504 188.112 190.831 193.556 190.943C193.791 190.936 194.007 190.96 194.224 190.984C199.242 191.283 203.858 194.025 206.552 198.308C208.182 200.89 209.022 203.883 208.968 206.973C208.84 213.078 205.15 218.618 199.544 221.071C196.917 222.213 195.186 224.809 195.13 227.689L194.763 246.999C194.743 248.266 193.685 249.272 192.443 249.246L192.344 249.271L192.381 249.209Z"/>+</mask>+<path d="M197.717 54.3658C227.248 56.1536 250.433 81.0345 249.858 110.887L249.375 143.582L256.853 143.729C257.223 143.739 257.594 143.75 257.965 143.761C271.853 144.615 282.704 156.259 282.437 170.286L280.647 265.066C280.369 279.464 268.488 290.927 254.065 290.656L122.567 288.173C122.197 288.162 121.826 288.151 121.455 288.14C107.567 287.286 96.7164 275.642 96.9832 261.615L98.773 166.836C99.0505 152.438 110.932 140.974 125.355 141.245L138.27 141.48L138.753 108.785C139.337 78.1413 164.713 53.6992 195.357 54.2834C196.147 54.2923 196.92 54.3322 197.717 54.3658ZM164.124 141.942L223.533 143.063L224.016 110.369C224.317 94.4136 211.915 81.1147 196.129 80.1387C195.703 80.1158 195.301 80.0866 194.881 80.0884C178.506 79.7885 164.932 92.8661 164.632 109.241L164.149 141.936M192.093 254.067C192.093 254.067 192.303 254.066 192.384 254.072C196.344 254.141 199.593 251.001 199.669 247.065L200.037 227.754C200.051 226.778 200.647 225.916 201.541 225.505C208.682 222.372 213.7 215.337 213.874 207.038C213.943 202.867 212.789 198.955 210.717 195.67C207.307 190.229 201.391 186.504 194.555 186.089C194.264 186.084 193.968 186.054 193.677 186.049C186.305 185.902 179.79 189.637 176.052 195.4C174.008 198.523 172.801 202.248 172.719 206.264C172.57 214.557 177.328 221.784 184.343 225.177C185.216 225.612 185.783 226.493 185.768 227.47L185.401 246.78C185.331 250.636 188.298 253.824 192.118 254.061M198.03 49.5017C197.177 49.4559 196.324 49.4102 195.477 49.3892C162.164 48.7485 134.555 75.3629 133.914 108.676L133.503 136.489L125.47 136.326C117.202 136.17 109.362 139.244 103.405 144.967C97.4488 150.69 94.0776 158.409 93.9218 166.677L92.1321 261.457C91.821 278.098 104.572 291.939 121.179 292.942C121.606 292.965 122.057 292.982 122.483 293.005L253.981 295.488C262.249 295.644 270.089 292.57 276.045 286.848C282.002 281.125 285.373 273.405 285.529 265.137L287.318 170.358C287.63 153.717 274.878 139.875 258.271 138.872C257.845 138.849 257.394 138.833 256.967 138.81L254.329 138.772L254.758 110.928C255.055 95.263 249.349 80.2854 238.659 68.7585C228.031 57.2685 213.586 50.4045 198.024 49.477L198.03 49.5017ZM169.065 137.188L169.495 109.344C169.745 95.6629 181.104 84.7265 194.791 85.001C195.137 85.018 195.508 85.0288 195.854 85.0459C209.179 85.8594 219.416 96.9495 219.165 110.316L218.754 138.129L169.09 137.182L169.065 137.188ZM192.381 249.209C191.151 249.128 190.207 248.106 190.239 246.889L190.607 227.578C190.669 224.724 189.02 222.068 186.438 220.806C180.921 218.136 177.455 212.472 177.552 206.349C177.613 203.389 178.49 200.536 180.099 198.076C183.088 193.504 188.112 190.831 193.556 190.943C193.791 190.936 194.007 190.96 194.224 190.984C199.242 191.283 203.858 194.025 206.552 198.308C208.182 200.89 209.022 203.883 208.968 206.973C208.84 213.078 205.15 218.618 199.544 221.071C196.917 222.213 195.186 224.809 195.13 227.689L194.763 246.999C194.743 248.266 193.685 249.272 192.443 249.246L192.344 249.271L192.381 249.209Z" fill="#1B1B1B"/>+<path d="M197.717 54.3658L198.167 46.9394C198.121 46.9367 198.076 46.9343 198.031 46.9324L197.717 54.3658ZM249.858 110.887L242.42 110.744C242.419 110.755 242.419 110.766 242.419 110.777L249.858 110.887ZM249.375 143.582L241.936 143.472C241.876 147.566 245.135 150.94 249.229 151.02L249.375 143.582ZM256.853 143.729L257.068 136.292C257.045 136.291 257.022 136.291 256.999 136.29L256.853 143.729ZM257.965 143.761L258.422 136.335C258.341 136.33 258.261 136.326 258.181 136.324L257.965 143.761ZM282.437 170.286L274.998 170.145L274.998 170.146L282.437 170.286ZM280.647 265.066L288.086 265.209L288.086 265.206L280.647 265.066ZM254.065 290.656L253.924 298.095L253.925 298.095L254.065 290.656ZM122.567 288.173L122.352 295.609C122.377 295.61 122.402 295.611 122.427 295.611L122.567 288.173ZM121.455 288.14L120.998 295.566C121.079 295.571 121.159 295.575 121.239 295.577L121.455 288.14ZM96.9832 261.615L104.422 261.757L104.422 261.756L96.9832 261.615ZM98.773 166.836L91.3343 166.692L91.3343 166.695L98.773 166.836ZM125.355 141.245L125.215 148.684L125.22 148.684L125.355 141.245ZM138.27 141.48L138.135 148.918C140.112 148.954 142.022 148.201 143.444 146.826C144.865 145.451 145.68 143.567 145.709 141.589L138.27 141.48ZM138.753 108.785L131.314 108.643C131.314 108.654 131.314 108.664 131.313 108.675L138.753 108.785ZM195.357 54.2834L195.215 61.722C195.234 61.7224 195.253 61.7227 195.272 61.7229L195.357 54.2834ZM223.533 143.063L223.393 150.502C225.371 150.539 227.282 149.787 228.705 148.412C230.127 147.037 230.943 145.151 230.972 143.173L223.533 143.063ZM224.016 110.369L216.577 110.228C216.577 110.238 216.577 110.249 216.577 110.259L224.016 110.369ZM196.129 80.1387L196.589 72.7129C196.568 72.7116 196.548 72.7105 196.528 72.7094L196.129 80.1387ZM194.881 80.0884L194.745 87.5272C194.801 87.5282 194.857 87.5286 194.913 87.5284L194.881 80.0884ZM164.632 109.241L157.193 109.105C157.193 109.114 157.193 109.123 157.193 109.132L164.632 109.241ZM192.384 254.072L191.845 261.493C191.981 261.502 192.117 261.509 192.253 261.511L192.384 254.072ZM199.669 247.065L207.108 247.207L207.108 247.206L199.669 247.065ZM200.037 227.754L207.475 227.895C207.475 227.885 207.476 227.874 207.476 227.863L200.037 227.754ZM201.541 225.505L198.552 218.691C198.511 218.709 198.47 218.728 198.429 218.746L201.541 225.505ZM213.874 207.038L221.313 207.194C221.313 207.183 221.313 207.172 221.313 207.16L213.874 207.038ZM210.717 195.67L204.412 199.621C204.416 199.627 204.42 199.633 204.424 199.64L210.717 195.67ZM194.555 186.089L195.006 178.662C194.898 178.656 194.789 178.652 194.681 178.65L194.555 186.089ZM193.677 186.049L193.529 193.488C193.536 193.488 193.544 193.488 193.551 193.488L193.677 186.049ZM176.052 195.4L182.277 199.474C182.283 199.466 182.289 199.457 182.294 199.449L176.052 195.4ZM172.719 206.264L165.281 206.114C165.281 206.119 165.281 206.125 165.281 206.13L172.719 206.264ZM184.343 225.177L187.661 218.518C187.635 218.505 187.609 218.492 187.583 218.479L184.343 225.177ZM185.768 227.47L193.207 227.611C193.207 227.6 193.207 227.59 193.207 227.579L185.768 227.47ZM185.401 246.78L177.962 246.639L177.962 246.646L185.401 246.78ZM198.03 49.5017L197.631 56.931C199.995 57.0577 202.277 56.0524 203.78 54.2233C205.282 52.3942 205.824 49.9596 205.24 47.666L198.03 49.5017ZM195.477 49.3892L195.662 41.9515C195.648 41.9511 195.634 41.9508 195.62 41.9506L195.477 49.3892ZM133.914 108.676L126.475 108.533C126.475 108.544 126.475 108.555 126.475 108.566L133.914 108.676ZM133.503 136.489L133.352 143.928C135.332 143.968 137.246 143.217 138.671 141.841C140.095 140.466 140.913 138.579 140.942 136.599L133.503 136.489ZM125.47 136.326L125.621 128.888L125.61 128.887L125.47 136.326ZM93.9218 166.677L101.36 166.818L101.36 166.817L93.9218 166.677ZM92.1321 261.457L84.6934 261.316L84.6934 261.318L92.1321 261.457ZM121.179 292.942L120.731 300.369C120.747 300.37 120.764 300.371 120.781 300.372L121.179 292.942ZM122.483 293.005L122.085 300.434C122.171 300.439 122.257 300.442 122.343 300.443L122.483 293.005ZM253.981 295.488L253.84 302.927L253.841 302.927L253.981 295.488ZM285.529 265.137L278.09 264.997L278.09 264.997L285.529 265.137ZM287.318 170.358L294.757 170.498L294.757 170.497L287.318 170.358ZM258.271 138.872L258.72 131.446C258.703 131.445 258.686 131.444 258.67 131.443L258.271 138.872ZM256.967 138.81L257.366 131.38C257.269 131.375 257.171 131.372 257.074 131.37L256.967 138.81ZM254.329 138.772L246.89 138.657C246.859 140.631 247.615 142.537 248.99 143.954C250.365 145.371 252.247 146.183 254.222 146.211L254.329 138.772ZM254.758 110.928L247.319 110.787C247.319 110.796 247.319 110.804 247.319 110.813L254.758 110.928ZM238.659 68.7585L233.197 73.8105L233.204 73.8176L238.659 68.7585ZM198.024 49.477L198.466 42.0502C196.096 41.9089 193.8 42.9076 192.288 44.7383C190.775 46.5689 190.228 49.0115 190.814 51.3127L198.024 49.477ZM169.065 137.188L161.626 137.073C161.591 139.39 162.636 141.591 164.454 143.027C166.273 144.463 168.656 144.97 170.901 144.398L169.065 137.188ZM169.495 109.344L162.056 109.208C162.056 109.215 162.056 109.222 162.056 109.229L169.495 109.344ZM194.791 85.001L195.157 77.57C195.085 77.5665 195.013 77.564 194.94 77.5625L194.791 85.001ZM195.854 85.0459L196.307 77.6197C196.278 77.6179 196.249 77.6163 196.22 77.6149L195.854 85.0459ZM219.165 110.316L211.726 110.176C211.726 110.186 211.726 110.196 211.726 110.206L219.165 110.316ZM218.754 138.129L218.612 145.567C220.591 145.605 222.502 144.853 223.925 143.478C225.348 142.102 226.164 140.217 226.193 138.239L218.754 138.129ZM169.09 137.182L169.232 129.743C168.566 129.73 167.9 129.807 167.255 129.972L169.09 137.182ZM192.381 249.209L198.771 253.019C200.097 250.795 200.172 248.042 198.968 245.75C197.764 243.457 195.455 241.956 192.871 241.785L192.381 249.209ZM190.239 246.889L197.677 247.083C197.677 247.066 197.678 247.048 197.678 247.031L190.239 246.889ZM190.607 227.578L183.169 227.417C183.168 227.424 183.168 227.43 183.168 227.437L190.607 227.578ZM186.438 220.806L189.704 214.121C189.696 214.117 189.687 214.113 189.679 214.109L186.438 220.806ZM177.552 206.349L170.113 206.194C170.113 206.207 170.113 206.219 170.113 206.231L177.552 206.349ZM180.099 198.076L186.326 202.148L186.326 202.147L180.099 198.076ZM193.556 190.943L193.403 198.382C193.53 198.384 193.657 198.384 193.784 198.38L193.556 190.943ZM194.224 190.984L193.411 198.379C193.534 198.393 193.657 198.403 193.78 198.411L194.224 190.984ZM206.552 198.308L200.254 202.269L200.26 202.28L206.552 198.308ZM208.968 206.973L216.406 207.129C216.406 207.121 216.406 207.112 216.407 207.104L208.968 206.973ZM199.544 221.071L202.51 227.894C202.516 227.891 202.521 227.889 202.526 227.887L199.544 221.071ZM195.13 227.689L187.692 227.545L187.692 227.547L195.13 227.689ZM194.763 246.999L187.324 246.858C187.324 246.867 187.324 246.877 187.324 246.886L194.763 246.999ZM192.443 249.246L192.596 241.808C191.926 241.794 191.257 241.871 190.607 242.036L192.443 249.246ZM192.344 249.271L185.954 245.461C184.412 248.048 184.581 251.309 186.382 253.722C188.183 256.135 191.262 257.224 194.18 256.481L192.344 249.271ZM197.717 54.3658L197.268 61.7922C222.831 63.3398 242.918 84.8956 242.42 110.744L249.858 110.887L257.297 111.031C257.949 77.1733 231.664 48.9673 198.167 46.9394L197.717 54.3658ZM249.858 110.887L242.419 110.777L241.936 143.472L249.375 143.582L256.815 143.692L257.297 110.997L249.858 110.887ZM249.375 143.582L249.229 151.02L256.706 151.167L256.853 143.729L256.999 136.29L249.522 136.143L249.375 143.582ZM256.853 143.729L256.637 151.166C256.822 151.171 257.008 151.176 257.193 151.182C257.378 151.187 257.564 151.192 257.749 151.198L257.965 143.761L258.181 136.324C257.995 136.319 257.81 136.313 257.624 136.308C257.439 136.303 257.254 136.297 257.068 136.292L256.853 143.729ZM257.965 143.761L257.508 151.187C267.438 151.798 275.189 160.124 274.998 170.145L282.437 170.286L289.875 170.428C290.218 152.394 276.267 137.433 258.422 136.335L257.965 143.761ZM282.437 170.286L274.998 170.146L273.208 264.925L280.647 265.066L288.086 265.206L289.875 170.427L282.437 170.286ZM280.647 265.066L273.208 264.922C273.01 275.219 264.515 283.411 254.205 283.217L254.065 290.656L253.925 298.095C272.46 298.443 287.729 283.709 288.086 265.209L280.647 265.066ZM254.065 290.656L254.205 283.218L122.708 280.734L122.567 288.173L122.427 295.611L253.924 298.095L254.065 290.656ZM122.567 288.173L122.783 280.736C122.599 280.73 122.414 280.725 122.228 280.72C122.043 280.714 121.857 280.709 121.671 280.703L121.455 288.14L121.239 295.577C121.424 295.582 121.609 295.588 121.794 295.593C121.979 295.599 122.165 295.604 122.352 295.609L122.567 288.173ZM121.455 288.14L121.912 280.714C111.982 280.103 104.231 271.777 104.422 261.757L96.9832 261.615L89.5445 261.474C89.2015 279.507 103.153 294.468 120.998 295.566L121.455 288.14ZM96.9832 261.615L104.422 261.756L106.212 166.976L98.773 166.836L91.3343 166.695L89.5445 261.475L96.9832 261.615ZM98.773 166.836L106.212 166.979C106.41 156.682 114.905 148.49 125.215 148.684L125.355 141.245L125.495 133.806C106.96 133.458 91.691 148.193 91.3343 166.692L98.773 166.836ZM125.355 141.245L125.22 148.684L138.135 148.918L138.27 141.48L138.405 134.041L125.49 133.806L125.355 141.245ZM138.27 141.48L145.709 141.589L146.192 108.895L138.753 108.785L131.313 108.675L130.831 141.37L138.27 141.48ZM138.753 108.785L146.191 108.927C146.697 82.3886 168.682 61.2162 195.215 61.722L195.357 54.2834L195.498 46.8447C160.744 46.1821 131.976 73.894 131.314 108.643L138.753 108.785ZM195.357 54.2834L195.272 61.7229C195.914 61.7301 196.512 61.7616 197.404 61.7992L197.717 54.3658L198.031 46.9324C197.328 46.9028 196.381 46.8545 195.441 46.8438L195.357 54.2834ZM164.124 141.942L163.984 149.381L223.393 150.502L223.533 143.063L223.673 135.625L164.265 134.504L164.124 141.942ZM223.533 143.063L230.972 143.173L231.455 110.479L224.016 110.369L216.577 110.259L216.094 142.953L223.533 143.063ZM224.016 110.369L231.454 110.509C231.832 90.5467 216.328 73.9333 196.589 72.7129L196.129 80.1387L195.67 87.5645C207.501 88.296 216.803 98.2806 216.577 110.228L224.016 110.369ZM196.129 80.1387L196.528 72.7094C196.285 72.6964 195.551 72.6455 194.849 72.6485L194.881 80.0884L194.913 87.5284C195.051 87.5278 195.121 87.5353 195.731 87.568L196.129 80.1387ZM194.881 80.0884L195.017 72.6497C174.536 72.2746 157.568 88.6188 157.193 109.105L164.632 109.241L172.071 109.378C172.295 97.1134 182.475 87.3025 194.745 87.5272L194.881 80.0884ZM164.632 109.241L157.193 109.132L156.71 141.826L164.149 141.936L171.588 142.046L172.071 109.351L164.632 109.241ZM192.093 254.067C192.123 261.507 192.123 261.507 192.123 261.507C192.123 261.507 192.123 261.507 192.123 261.507C192.122 261.507 192.122 261.507 192.122 261.507C192.122 261.507 192.122 261.507 192.121 261.507C192.121 261.507 192.12 261.507 192.12 261.507C192.119 261.507 192.119 261.507 192.118 261.507C192.117 261.507 192.117 261.507 192.117 261.507C192.117 261.507 192.12 261.507 192.123 261.507C192.131 261.507 192.14 261.507 192.147 261.507C192.255 261.508 192.085 261.51 191.845 261.493L192.384 254.072L192.922 246.652C192.602 246.628 192.286 246.628 192.27 246.628C192.214 246.627 192.165 246.627 192.131 246.627C192.114 246.627 192.099 246.627 192.087 246.627C192.082 246.627 192.077 246.627 192.073 246.627C192.071 246.627 192.069 246.627 192.067 246.627C192.066 246.627 192.066 246.627 192.065 246.627C192.065 246.627 192.064 246.627 192.064 246.627C192.064 246.627 192.064 246.627 192.064 246.627C192.063 246.627 192.063 246.627 192.063 246.627C192.063 246.627 192.063 246.627 192.093 254.067ZM192.384 254.072L192.253 261.511C200.313 261.652 206.953 255.251 207.108 247.207L199.669 247.065L192.23 246.922C192.234 246.75 192.376 246.631 192.514 246.633L192.384 254.072ZM199.669 247.065L207.108 247.206L207.475 227.895L200.037 227.754L192.598 227.612L192.23 246.923L199.669 247.065ZM200.037 227.754L207.476 227.863C207.445 229.945 206.179 231.56 204.652 232.263L201.541 225.505L198.429 218.746C195.114 220.273 192.656 223.61 192.597 227.645L200.037 227.754ZM201.541 225.505L204.529 232.318C214.234 228.061 221.076 218.486 221.313 207.194L213.874 207.038L206.436 206.882C206.324 212.188 203.13 216.683 198.552 218.691L201.541 225.505ZM213.874 207.038L221.313 207.16C221.406 201.524 219.843 196.193 217.01 191.701L210.717 195.67L204.424 199.64C205.734 201.717 206.48 204.21 206.435 206.916L213.874 207.038ZM210.717 195.67L217.021 191.72C212.375 184.305 204.312 179.228 195.006 178.662L194.555 186.089L194.104 193.515C198.469 193.78 202.239 196.153 204.412 199.621L210.717 195.67ZM194.555 186.089L194.681 178.65C194.717 178.65 194.726 178.652 194.552 178.642C194.432 178.635 194.13 178.616 193.803 178.61L193.677 186.049L193.551 193.488C193.515 193.488 193.506 193.486 193.68 193.496C193.8 193.503 194.102 193.522 194.429 193.528L194.555 186.089ZM193.677 186.049L193.826 178.611C183.779 178.41 174.893 183.516 169.81 191.351L176.052 195.4L182.294 199.449C184.688 195.758 188.832 193.394 193.529 193.488L193.677 186.049ZM176.052 195.4L169.827 191.325C167.029 195.601 165.391 200.683 165.281 206.114L172.719 206.264L180.158 206.415C180.211 203.813 180.988 201.445 182.277 199.474L176.052 195.4ZM172.719 206.264L165.281 206.13C165.077 217.426 171.569 227.264 181.104 231.875L184.343 225.177L187.583 218.479C183.087 216.305 180.063 211.688 180.158 206.399L172.719 206.264ZM184.343 225.177L181.026 231.837C179.479 231.066 178.299 229.4 178.329 227.361L185.768 227.47L193.207 227.579C193.266 223.587 190.954 220.158 187.661 218.518L184.343 225.177ZM185.768 227.47L178.33 227.328L177.962 246.639L185.401 246.78L192.839 246.922L193.207 227.611L185.768 227.47ZM185.401 246.78L177.962 246.646C177.82 254.499 183.879 261.004 191.657 261.486L192.118 254.061L192.578 246.635C192.718 246.644 192.842 246.774 192.839 246.915L185.401 246.78ZM198.03 49.5017L198.428 42.0723C197.593 42.0275 196.634 41.9756 195.662 41.9515L195.477 49.3892L195.292 56.8269C196.014 56.8448 196.761 56.8843 197.631 56.931L198.03 49.5017ZM195.477 49.3892L195.62 41.9506C158.191 41.2308 127.195 71.1193 126.475 108.533L133.914 108.676L141.353 108.819C141.914 79.6066 166.137 56.2663 195.334 56.8278L195.477 49.3892ZM133.914 108.676L126.475 108.566L126.064 136.379L133.503 136.489L140.942 136.599L141.353 108.786L133.914 108.676ZM133.503 136.489L133.654 129.051L125.621 128.888L125.47 136.326L125.319 143.765L133.352 143.928L133.503 136.489ZM125.47 136.326L125.61 128.887C115.371 128.694 105.627 132.515 98.2507 139.602L103.405 144.967L108.56 150.332C113.096 145.974 119.032 143.646 125.33 143.765L125.47 136.326ZM103.405 144.967L98.2507 139.602C90.8668 146.696 86.6761 156.297 86.4831 166.537L93.9218 166.677L101.36 166.817C101.479 160.522 104.031 154.683 108.56 150.332L103.405 144.967ZM93.9218 166.677L86.4831 166.537L84.6934 261.316L92.1321 261.457L99.5707 261.597L101.36 166.818L93.9218 166.677ZM92.1321 261.457L84.6934 261.318C84.3079 281.933 100.129 299.124 120.731 300.369L121.179 292.942L121.628 285.516C109.015 284.754 99.334 274.262 99.5708 261.596L92.1321 261.457ZM121.179 292.942L120.781 300.372C121.032 300.385 121.285 300.397 121.498 300.406C121.723 300.416 121.91 300.425 122.085 300.434L122.483 293.005L122.882 285.575C122.63 285.562 122.378 285.551 122.165 285.541C121.939 285.531 121.753 285.523 121.578 285.513L121.179 292.942ZM122.483 293.005L122.343 300.443L253.84 302.927L253.981 295.488L254.121 288.05L122.624 285.566L122.483 293.005ZM253.981 295.488L253.841 302.927C264.079 303.12 273.823 299.3 281.2 292.213L276.045 286.848L270.891 281.483C266.354 285.841 260.418 288.168 254.121 288.05L253.981 295.488ZM276.045 286.848L281.2 292.213C288.584 285.118 292.774 275.518 292.967 265.277L285.529 265.137L278.09 264.997C277.971 271.293 275.42 277.131 270.891 281.483L276.045 286.848ZM285.529 265.137L292.967 265.278L294.757 170.498L287.318 170.358L279.88 170.217L278.09 264.997L285.529 265.137ZM287.318 170.358L294.757 170.497C295.143 149.881 279.321 132.69 258.72 131.446L258.271 138.872L257.823 146.299C270.435 147.061 280.117 157.552 279.88 170.219L287.318 170.358ZM258.271 138.872L258.67 131.443C258.419 131.429 258.167 131.418 257.954 131.408C257.729 131.398 257.542 131.39 257.366 131.38L256.967 138.81L256.569 146.239C256.819 146.252 257.071 146.264 257.284 146.273C257.51 146.284 257.697 146.292 257.873 146.301L258.271 138.872ZM256.967 138.81L257.074 131.37L254.436 131.333L254.329 138.772L254.222 146.211L256.86 146.249L256.967 138.81ZM254.329 138.772L261.768 138.887L262.197 111.042L254.758 110.928L247.319 110.813L246.89 138.657L254.329 138.772ZM254.758 110.928L262.197 111.069C262.53 93.478 256.112 76.6368 244.114 63.6994L238.659 68.7585L233.204 73.8176C242.586 83.9339 247.58 97.0479 247.319 110.787L254.758 110.928ZM238.659 68.7585L244.121 63.7065C232.198 50.8167 215.959 43.0927 198.466 42.0502L198.024 49.477L197.581 56.9038C211.213 57.7163 223.864 63.7204 233.197 73.8105L238.659 68.7585ZM198.024 49.477L190.814 51.3127L190.82 51.3373L198.03 49.5017L205.24 47.666L205.234 47.6413L198.024 49.477ZM169.065 137.188L176.505 137.303L176.934 109.459L169.495 109.344L162.056 109.229L161.626 137.073L169.065 137.188ZM169.495 109.344L176.934 109.48C177.108 99.9118 185.068 92.2475 194.642 92.4395L194.791 85.001L194.94 77.5625C177.139 77.2055 162.381 91.4139 162.056 109.208L169.495 109.344ZM194.791 85.001L194.425 92.432C194.644 92.4428 194.862 92.4512 195.034 92.4578C195.221 92.4651 195.361 92.4706 195.488 92.4769L195.854 85.0459L196.22 77.6149C196.001 77.6041 195.783 77.5957 195.611 77.589C195.424 77.5818 195.285 77.5763 195.157 77.57L194.791 85.001ZM195.854 85.0459L195.401 92.472C204.742 93.0424 211.903 100.792 211.726 110.176L219.165 110.316L226.604 110.455C226.93 93.1073 213.616 78.6765 196.307 77.6197L195.854 85.0459ZM219.165 110.316L211.726 110.206L211.315 138.019L218.754 138.129L226.193 138.239L226.604 110.425L219.165 110.316ZM218.754 138.129L218.896 130.69L169.232 129.743L169.09 137.182L168.948 144.62L218.612 145.567L218.754 138.129ZM169.09 137.182L167.255 129.972L167.23 129.978L169.065 137.188L170.901 144.398L170.926 144.392L169.09 137.182ZM192.381 249.209L192.871 241.785C195.542 241.962 197.751 244.224 197.677 247.083L190.239 246.889L182.802 246.695C182.663 251.989 186.76 256.294 191.891 256.633L192.381 249.209ZM190.239 246.889L197.678 247.031L198.045 227.72L190.607 227.578L183.168 227.437L182.801 246.748L190.239 246.889ZM190.607 227.578L198.045 227.739C198.171 221.919 194.833 216.628 189.704 214.121L186.438 220.806L183.171 227.491C183.171 227.491 183.173 227.491 183.175 227.493C183.178 227.496 183.181 227.5 183.182 227.502C183.183 227.504 183.18 227.499 183.176 227.485C183.172 227.47 183.168 227.446 183.169 227.417L190.607 227.578ZM186.438 220.806L189.679 214.109C186.784 212.708 184.939 209.713 184.991 206.467L177.552 206.349L170.113 206.231C169.97 215.231 175.057 223.564 183.196 227.503L186.438 220.806ZM177.552 206.349L184.99 206.503C185.023 204.923 185.487 203.431 186.326 202.148L180.099 198.076L173.871 194.005C171.494 197.642 170.203 201.854 170.113 206.194L177.552 206.349ZM180.099 198.076L186.326 202.147C187.925 199.701 190.549 198.323 193.403 198.382L193.556 190.943L193.71 183.505C185.675 183.339 178.251 187.306 173.871 194.006L180.099 198.076ZM193.556 190.943L193.784 198.38C193.58 198.386 193.427 198.377 193.358 198.372C193.324 198.37 193.307 198.368 193.317 198.369C193.331 198.371 193.351 198.373 193.411 198.379L194.224 190.984L195.037 183.588C194.879 183.571 194.162 183.481 193.328 183.507L193.556 190.943ZM194.224 190.984L193.78 198.411C196.385 198.566 198.828 200.003 200.254 202.269L206.552 198.308L212.849 194.347C208.887 188.047 202.1 184.001 194.667 183.557L194.224 190.984ZM206.552 198.308L200.26 202.28C201.114 203.633 201.558 205.199 201.529 206.841L208.968 206.973L216.407 207.104C216.487 202.567 215.249 198.147 212.843 194.336L206.552 198.308ZM208.968 206.973L201.529 206.817C201.462 210.034 199.502 212.968 196.562 214.254L199.544 221.071L202.526 227.887C210.799 224.268 216.217 216.122 216.406 207.129L208.968 206.973ZM199.544 221.071L196.578 214.247C191.262 216.558 187.803 221.778 187.692 227.545L195.13 227.689L202.569 227.832C202.569 227.845 202.564 227.854 202.563 227.856C202.561 227.858 202.546 227.878 202.51 227.894L199.544 221.071ZM195.13 227.689L187.692 227.547L187.324 246.858L194.763 246.999L202.201 247.141L202.569 227.83L195.13 227.689ZM194.763 246.999L187.324 246.886C187.367 244.013 189.73 241.749 192.596 241.808L192.443 249.246L192.29 256.684C197.64 256.794 202.12 252.519 202.202 247.112L194.763 246.999ZM192.443 249.246L190.607 242.036L190.508 242.061L192.344 249.271L194.18 256.481L194.279 256.456L192.443 249.246ZM192.344 249.271L198.735 253.081L198.771 253.019L192.381 249.209L185.991 245.399L185.954 245.461L192.344 249.271Z" fill="#1B1B1B" mask="url(#path-2-outside-1_6_278)"/>+<path d="M222.603 83.6648L166.571 82.7299L165.559 143.414L221.591 144.349L222.603 83.6648Z" fill="#1B1B1B" stroke="white" stroke-width="0.963729" stroke-miterlimit="10"/>+<path d="M239.088 169.586L155.453 164.491L149.055 269.513L232.691 274.607L239.088 169.586Z" fill="#1B1B1B" stroke="white" stroke-width="0.963729" stroke-miterlimit="10"/>+<path d="M120.104 290.548C104.801 289.607 93.0432 276.88 93.3414 261.531L95.1311 166.751C95.44 151.031 108.467 138.487 124.181 138.771L134.667 138.967L135.117 108.725C135.726 76.7346 162.222 51.2186 194.207 51.8032C195.029 51.8306 195.851 51.8579 196.648 51.8915C227.754 53.7775 251.68 79.7057 251.073 110.881L250.623 141.122L255.672 141.23C256.067 141.235 256.494 141.258 256.896 141.287C272.199 142.228 283.956 154.955 283.658 170.304L281.868 265.084C281.56 280.804 268.533 293.348 252.819 293.064L121.321 290.58C120.926 290.576 120.5 290.553 120.098 290.524L120.104 290.548ZM193.216 188.546C192.951 188.535 192.71 188.518 192.444 188.506C186.153 188.373 180.34 191.457 176.903 196.748C175.049 199.586 174.025 202.896 173.953 206.332C173.829 213.383 177.837 219.934 184.196 223.02C185.936 223.865 187.019 225.64 186.978 227.544L186.61 246.854C186.572 249.388 188.502 251.499 191.043 251.667L191.253 251.666C193.866 251.71 196.02 249.637 196.064 247.023L196.432 227.713C196.473 225.809 197.634 224.068 199.379 223.282C205.836 220.455 210.121 214.054 210.245 207.003C210.31 203.438 209.349 199.975 207.458 196.987C204.36 192.045 199.032 188.88 193.21 188.522L193.216 188.546ZM194.791 82.5963C194.414 82.5608 194.019 82.5564 193.648 82.5456C178.62 82.2708 166.165 94.2746 165.866 109.309L165.416 139.551L219.937 140.575L220.387 110.334C220.669 95.6455 209.42 83.4722 194.785 82.5716L194.791 82.5963Z" fill="#08C225"/>+<path d="M136.164 141.449L166.381 142.01L165.418 115.204C165.418 115.204 163.793 93.6406 177.766 88.637C191.74 83.6335 194.715 82.8235 194.715 82.8235L212.906 88.8125L221.631 105.94L218.935 134.071L219.029 143.012L250.73 143.616L251.934 104.876L245.226 86.8932L238.206 73.7748L223.416 60.1897L213.024 54.6861L190.785 51.3837L170 55.9657L155.739 65.8272L142.084 81.5806L139.222 91.4049L135.87 103.641L134.89 119.927L134.731 138.712L136.188 141.442L136.164 141.449Z" fill="white"/>+<path d="M196.515 54.3658C226.045 56.1536 249.231 81.0345 248.656 110.887L248.173 143.582L255.65 143.729C256.021 143.739 256.392 143.75 256.762 143.761C270.65 144.615 281.501 156.259 281.234 170.286L279.445 265.066C279.167 279.464 267.285 290.927 252.863 290.656L121.365 288.173C120.994 288.162 120.623 288.151 120.253 288.14C106.365 287.286 95.514 275.642 95.7808 261.615L97.5706 166.836C97.8481 152.438 109.73 140.974 124.153 141.245L137.068 141.48L137.55 108.785C138.134 78.1413 163.511 53.6992 194.154 54.2834C194.945 54.2923 195.718 54.3322 196.515 54.3658ZM162.922 141.942L222.331 143.063L222.813 110.369C223.115 94.4136 210.712 81.1147 194.927 80.1387C194.501 80.1158 194.099 80.0866 193.679 80.0884C177.303 79.7885 163.729 92.8661 163.429 109.241L162.947 141.936M190.891 254.067C190.891 254.067 191.101 254.066 191.181 254.072C195.142 254.141 198.391 251.001 198.467 247.065L198.834 227.754C198.848 226.778 199.444 225.916 200.338 225.505C207.48 222.372 212.498 215.337 212.672 207.038C212.74 202.867 211.586 198.955 209.515 195.67C206.105 190.229 200.188 186.504 193.352 186.089C193.062 186.084 192.765 186.054 192.475 186.049C185.103 185.902 178.588 189.637 174.85 195.4C172.806 198.523 171.599 202.248 171.517 206.264C171.368 214.557 176.126 221.784 183.141 225.177C184.014 225.612 184.58 226.493 184.566 227.47L184.198 246.78C184.128 250.636 187.096 253.824 190.915 254.061M196.827 49.5016C195.975 49.4559 195.122 49.4102 194.275 49.3892C160.962 48.7485 133.352 75.3629 132.712 108.676L132.301 136.489L124.267 136.326C115.999 136.17 108.159 139.244 102.203 144.967C96.2464 150.69 92.8752 158.409 92.7194 166.677L90.9297 261.457C90.6186 278.098 103.37 291.939 119.977 292.942C120.403 292.965 120.854 292.982 121.281 293.005L252.778 295.488C261.046 295.644 268.886 292.57 274.843 286.848C280.799 281.125 284.171 273.405 284.326 265.137L286.116 170.358C286.427 153.717 273.676 139.875 257.069 138.872C256.642 138.849 256.191 138.833 255.765 138.81L253.126 138.772L253.556 110.928C253.853 95.263 248.147 80.2854 237.457 68.7585C226.829 57.2685 212.384 50.4045 196.821 49.477L196.827 49.5016ZM167.863 137.188L168.293 109.344C168.542 95.6629 179.901 84.7265 193.589 85.001C193.935 85.018 194.306 85.0288 194.652 85.0458C207.977 85.8594 218.214 96.9495 217.963 110.316L217.552 138.129L167.888 137.182L167.863 137.188ZM191.179 249.209C189.949 249.128 189.005 248.106 189.037 246.889L189.404 227.578C189.466 224.724 187.817 222.068 185.235 220.806C179.718 218.136 176.252 212.472 176.349 206.349C176.411 203.389 177.288 200.536 178.896 198.076C181.886 193.504 186.91 190.831 192.354 190.943C192.589 190.936 192.805 190.96 193.021 190.984C198.04 191.283 202.655 194.025 205.349 198.308C206.979 200.89 207.82 203.883 207.765 206.973C207.637 213.078 203.948 218.618 198.342 221.071C195.715 222.213 193.983 224.809 193.928 227.689L193.56 246.999C193.541 248.266 192.483 249.272 191.241 249.246L191.142 249.271L191.179 249.209Z" fill="#1B1B1B"/>+<path d="M156.361 157.033L127.142 156.668C118.799 156.563 111.952 163.236 111.848 171.572C111.744 179.908 118.422 186.75 126.765 186.854L155.984 187.219C164.327 187.324 171.174 180.651 171.278 172.315C171.383 163.979 164.704 157.137 156.361 157.033Z" fill="white" fill-opacity="0.27"/>+<path d="M102.728 74.8457C89.3354 76.9847 78.9045 85.2794 77.2537 96.5034C78.9045 85.2794 71.3145 74.3478 59.0936 68.4284C72.4863 66.2893 82.9172 57.9947 84.5679 46.7707C82.9172 57.9947 90.5071 68.9262 102.728 74.8457Z" fill="#505050"/>+<path d="M60.0476 253.394C47.1184 258.747 38.6353 269.569 39.6655 281.229C38.6353 269.569 28.401 260.415 14.7188 257.399C27.6479 252.046 36.1311 241.225 35.1009 229.565C36.1311 241.225 46.3653 250.379 60.0476 253.394Z" fill="#505050"/>+<path d="M372.544 219.068C358.003 220.389 346.211 228.525 343.617 240.455C346.211 228.525 338.862 216.228 326.182 208.989C340.723 207.668 352.514 199.532 355.108 187.602C352.514 199.532 359.864 211.829 372.544 219.068Z" fill="#505050"/>+</svg>diff --git a/web/packages/new/photos/components/sidebar/AppLockSettings.tsx b/web/packages/new/photos/components/sidebar/AppLockSettings.tsxindex 1fd78cde93..3f948f38eb 100644--- a/web/packages/new/photos/components/sidebar/AppLockSettings.tsx+++ b/web/packages/new/photos/components/sidebar/AppLockSettings.tsx@@ -390,6 +390,16 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({};}, []);+ useEffect(() => {+ if (!open) return;++ queueFocus(+ () =>+ (step === "enter" ? inputRefs : confirmInputRefs).current[0]?.focus(),+ 50,+ );+ }, [open, step, queueFocus]);+const resetState = useCallback(() => {setStep("enter");setPin(["", "", "", ""]);@@ -462,8 +472,7 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({const handleNext = useCallback(() => {if (pin.some((d) => !d)) return;setStep("confirm");- queueFocus(() => confirmInputRefs.current[0]?.focus(), 50);- }, [pin, queueFocus]);+ }, [pin]);/*** If Back is pressed in the confirmation step, reset the@@ -473,10 +482,11 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({setStep("enter");setConfirmPin(["", "", "", ""]);setError("");- queueFocus(() => inputRefs.current[0]?.focus(), 50);- }, [queueFocus]);+ }, []);const handleConfirm = useCallback(async () => {+ if (confirmPin.some((d) => !d)) return;+const pinStr = pin.join("");const confirmStr = confirmPin.join("");if (pinStr !== confirmStr) {@@ -497,6 +507,18 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({}}, [pin, confirmPin, onComplete, queueFocus, resetState]);+ const handleSubmit = useCallback(+ (e: React.FormEvent) => {+ e.preventDefault();+ if (step === "enter") {+ handleNext();+ return;+ }+ void handleConfirm();+ },+ [step, handleNext, handleConfirm],+ );+const renderPinInputs = (values: string[],refs: React.RefObject<(HTMLInputElement | null)[]>,@@ -550,7 +572,11 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({"& .MuiDialogTitle-root + .MuiDialogContent-root": { pt: 0 },}}>- <Stack sx={{ gap: 1.5, py: 0 }}>+ <Stack+ component="form"+ onSubmit={(e: React.FormEvent) => handleSubmit(e)}+ sx={{ gap: 1.5, py: 0 }}+ >{step === "enter" ? (<><Typography@@ -562,8 +588,8 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({<FocusVisibleButtonfullWidthcolor="accent"+ type="submit"disabled={pin.some((d) => !d)}- onClick={handleNext}>{t("next")}</FocusVisibleButton>@@ -596,14 +622,15 @@ const PinSetupDialog: React.FC<SetupDialogProps> = ({<FocusVisibleButtonfullWidthcolor="accent"+ type="submit"disabled={confirmPin.some((d) => !d)}- onClick={() => void handleConfirm()}>{t("confirm")}</FocusVisibleButton><FocusVisibleButtonfullWidthcolor="secondary"+ type="button"onClick={handleBack}>{t("go_back")}@@ -651,10 +678,16 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({}, []);useEffect(() => {- if (open) {- queueFocus(() => passwordInputRef.current?.focus(), 300);- }- }, [open, queueFocus]);+ if (!open) return;++ queueFocus(+ () =>+ (step === "enter"+ ? passwordInputRef.current+ : confirmPasswordInputRef.current)?.focus(),+ 50,+ );+ }, [open, step, queueFocus]);const resetState = useCallback(() => {setStep("enter");@@ -673,20 +706,19 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({const handleNext = useCallback(() => {if (!password) return;setStep("confirm");- queueFocus(() => confirmPasswordInputRef.current?.focus(), 300);- }, [password, queueFocus]);+ }, [password]);const handleBack = useCallback(() => {setStep("enter");setConfirmPassword("");setError("");- queueFocus(() => passwordInputRef.current?.focus(), 300);- }, [queueFocus]);+ }, []);const handleConfirm = useCallback(async () => {if (password !== confirmPassword) {setError(t("app_lock_password_mismatch"));setConfirmPassword("");+ queueFocus(() => confirmPasswordInputRef.current?.focus(), 50);return;}try {@@ -697,10 +729,22 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({log.error("Failed to set up password app lock", e);setError(t("generic_error"));setConfirmPassword("");- queueFocus(() => confirmPasswordInputRef.current?.focus(), 300);+ queueFocus(() => confirmPasswordInputRef.current?.focus(), 50);}}, [password, confirmPassword, onComplete, queueFocus, resetState]);+ const handleSubmit = useCallback(+ (e: React.FormEvent) => {+ e.preventDefault();+ if (step === "enter") {+ handleNext();+ return;+ }+ void handleConfirm();+ },+ [step, handleNext, handleConfirm],+ );+return (<TitledMiniDialogopen={open}@@ -711,11 +755,16 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({"& .MuiDialogTitle-root + .MuiDialogContent-root": { pt: 0 },}}>- <Stack sx={{ gap: 2, py: 1 }}>+ <Stack+ component="form"+ onSubmit={(e: React.FormEvent) => handleSubmit(e)}+ sx={{ gap: 2, py: 1 }}+ >{step === "enter" ? (<><TextFieldfullWidth+ inputRef={passwordInputRef}label={t("app_lock_enter_password")}type={showPassword ? "text" : "password"}value={password}@@ -724,7 +773,6 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({setError("");}}slotProps={{- htmlInput: { ref: passwordInputRef },input: {endAdornment: (<ShowHidePasswordInputAdornment@@ -740,8 +788,8 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({<FocusVisibleButtonfullWidthcolor="accent"+ type="submit"disabled={!password}- onClick={handleNext}>{t("next")}</FocusVisibleButton>@@ -750,6 +798,7 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({<><TextFieldfullWidth+ inputRef={confirmPasswordInputRef}label={t("app_lock_confirm_password")}type={showConfirmPassword ? "text" : "password"}value={confirmPassword}@@ -760,7 +809,6 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({setError("");}}slotProps={{- htmlInput: { ref: confirmPasswordInputRef },input: {endAdornment: (<ShowHidePasswordInputAdornment@@ -779,14 +827,15 @@ const PasswordSetupDialog: React.FC<SetupDialogProps> = ({<FocusVisibleButtonfullWidthcolor="accent"+ type="submit"disabled={!confirmPassword}- onClick={() => void handleConfirm()}>{t("confirm")}</FocusVisibleButton><FocusVisibleButtonfullWidthcolor="secondary"+ type="button"onClick={handleBack}>{t("go_back")}