1"use strict";(self.webpackChunkmy_webpack_project=self.webpackChunkmy_webpack_project||[]).push([[4303],{64303(e,t,n){n.r(t);var r=n(39471),o=n(86822),a=n(5185),l=n(8569),i=n(35256);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,["default",0,e=>{let t=e.twoFactorData,n=e.goToNext,s=e.role,u=e.onSkip;const m=(y=(0,r.useState)(!1),g=2,function(e){if(Array.isArray(e))return e}(y)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,l,i=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw o}}return i}}(y,g)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(y,g)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=m[0],f=m[1],p="admin"!==s&&"influencer"!==s;var y,g;return r.createElement(o.A,{sx:{p:2}},r.createElement(a.A,{gutterBottom:!0,style:{color:"#FFF",fontWeight:"500",fontSize:"20px",textAlign:"center"}},"Set up Two-Factor Authentication"),r.createElement(a.A,{variant:"body1",gutterBottom:!0,style:{color:"#FFF",fontWeight:"400",fontSize:"16px",marginBottom:"30px"}},r.createElement("strong",null," Download Google Authenticator from the Google Play Store for Android devices")," and the ",r.createElement("strong",null,"Apple App Store for iOS devices. "),"Then Scan this code and continue:"),r.createElement(o.A,{style:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:"30px"}},r.createElement("img",{src:t.qrCode,alt:"QR Code",style:{width:150,height:150}})),r.createElement("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"14%"}},p&&r.createElement(l.A,{sx:{backgroundColor:"transparent",color:"#FFFFFF",borderColor:"#FFFFFF",borderRadius:"10px",marginBottom:"20px",textTransform:"none",position:"relative",minWidth:120,minHeight:36,overflow:"hidden",alignItems:"center",justifyContent:"center"},variant:"outlined",onClick:async()=>{f(!0);try{await u()}finally{f(!1)}},disabled:d},r.createElement("span",{style:{visibility:d?"hidden":"visible"}},"Skip for now"),d&&r.createElement("span",{style:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",pointerEvents:"none"}},r.createElement(i.A,{size:20,sx:{color:"#FFF"}}))),r.createElement(l.A,{sx:{backgroundColor:"#34B5B1",color:"#FFF",borderRadius:"10px",marginBottom:"20px",width:"25%",textTransform:"none"},variant:"contained",color:"primary",onClick:n},"Continue")),r.createElement(o.A,{sx:{display:"flex",flexDirection:"row",gap:"16px",alignItems:"center"}},r.createElement("div",null,r.createElement(a.A,{variant:"body1",style:{fontSize:"12px"}},"Can't scan the code? Enter this code manually"),r.createElement("div",null,r.createElement(a.A,{variant:"body1",style:{fontSize:"16px"}},t.qrSecret)))))}])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.