/*! For license information please see verificationUpsell.bundle.min.js.LICENSE.txt */ !function(){var e={976:function(){},8659:function(e,t,n){"use strict";var r=n(1646),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(y){var o=d(n);o&&o!==y&&e(t,o,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=c(t),h=c(n),m=0;m-1?o(n):n}},601:function(e,t,n){"use strict";var r=n(49),o=n(651),i=n(255),a=n(785),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(c,s),u=n(649),f=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=l(r,c,arguments);return i(t,1+f(0,e.length-(arguments.length-1)),!0)};var p=function(){return l(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},295:function(e,t,n){"use strict";var r=n(649),o=n(389),i=n(785),a=n(109);e.exports=function(e,t,n){if(!e||"object"!=s(e)&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=s(t))throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6&&arguments[6],p=!!a&&a(e,t);if(r)r(e,t,{configurable:null===u&&p?p.configurable:!u,enumerable:null===c&&p?p.enumerable:!c,value:n,writable:null===l&&p?p.writable:!l});else{if(!f&&(c||l||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},649:function(e,t,n){"use strict";var r=n(651)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},55:function(e){"use strict";e.exports=EvalError},293:function(e){"use strict";e.exports=Error},888:function(e){"use strict";e.exports=RangeError},900:function(e){"use strict";e.exports=ReferenceError},389:function(e){"use strict";e.exports=SyntaxError},785:function(e){"use strict";e.exports=TypeError},436:function(e){"use strict";e.exports=URIError},719:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=T(e,0,1),n=T(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return j(e,I,(function(e,t,n,o){r[r.length]=n?j(o,M,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=_("%"+r+"%",t),i=o.name,a=o.value,s=!1,c=o.alias;c&&(r=c[0],R(n,C([0,1],c)));for(var f=1,p=!0;f=n.length){var g=y(a,d);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[d]}else p=O(a,d),a=a[d];p&&!s&&(w[i]=a)}}return a}},109:function(e,t,n){"use strict";var r=n(651)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},890:function(e,t,n){"use strict";var r=n(649),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},726:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},257:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(843);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==s(r("foo"))&&"symbol"==s(Symbol("bar"))&&o()}},843:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==s(Symbol.iterator))return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},215:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(49);e.exports=i.call(r,o)},709:function(e,t,n){var r,o=1/0,i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,c="\\ud800-\\udfff",l="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="["+p+"]",y="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",h="\\d+",m="["+l+"]",g="["+u+"]",v="[^"+c+p+h+l+u+f+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",x="[\\ud800-\\udbff][\\udc00-\\udfff]",S="["+f+"]",w="(?:"+g+"|"+v+")",E="(?:"+S+"|"+v+")",P="(?:['’](?:d|ll|m|re|s|t|ve))?",A="(?:['’](?:D|LL|M|RE|S|T|VE))?",k="(?:"+y+"|\\ud83c[\\udffb-\\udfff])?",O="[\\ufe0e\\ufe0f]?",C=O+k+"(?:\\u200d(?:"+["[^"+c+"]",b,x].join("|")+")"+O+k+")*",R="(?:"+[m,b,x].join("|")+")"+C,j=RegExp("['’]","g"),T=RegExp(y,"g"),N=RegExp([S+"?"+g+"+"+P+"(?="+[d,S,"$"].join("|")+")",E+"+"+A+"(?="+[d,S+w,"$"].join("|")+")",S+"?"+w+"+"+P,S+"+"+A,h,R].join("|"),"g"),I=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,M="object"==s(n.g)&&n.g&&n.g.Object===Object&&n.g,_="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,D=M||_||Function("return this")(),U=(r={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==r?void 0:r[e]}),L=Object.prototype.toString,B=D.Symbol,F=B?B.prototype:void 0,q=F?F.toString:void 0;function V(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==s(e)||function(e){return!!e&&"object"==s(e)}(e)&&"[object Symbol]"==L.call(e)}(e))return q?q.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}var W,K=(W=function(e,t,n){return e+(n?"-":"")+t.toLowerCase()},function(e){return function(e,t,n){for(var r=-1,o=e?e.length:0;++r-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=b.call(t,o.length+1);return x.call(o,n,"$&_")+"."+x.call(x.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return x.call(t,n,"$&_")}var D=n(634),U=D.custom,L=W(U)?U:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return x.call(String(e),/"/g,""")}function q(e){return!("[object Array]"!==$(e)||N&&"object"==s(e)&&N in e)}function V(e){return!("[object RegExp]"!==$(e)||N&&"object"==s(e)&&N in e)}function W(e){if(T)return e&&"object"==s(e)&&e instanceof Symbol;if("symbol"==s(e))return!0;if(!e||"object"!=s(e)||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,c){var l=r||{};if(H(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!H(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var S=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var E=String(t);return S?_(t,E):E}if("bigint"==typeof t){var O=String(t)+"n";return S?_(t,O):O}var R=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=R&&R>0&&"object"==s(t))return q(t)?"[Array]":"[Object]";var U,K=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=A.call(Array(e.indent+1)," ")}return{base:n,prev:A.call(Array(t+1),n)}}(l,o);if(void 0===c)c=[];else if(z(c,t)>=0)return"[Circular]";function J(t,n,r){if(n&&(c=k.call(c)).push(n),r){var i={depth:l.depth};return H(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,o+1,c)}return e(t,l,o+1,c)}if("function"==typeof t&&!V(t)){var te=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ne=ee(t,J);return"[Function"+(te?": "+te:" (anonymous)")+"]"+(ne.length>0?" { "+A.call(ne,", ")+" }":"")}if(W(t)){var re=T?x.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(t);return"object"!=s(t)||T?re:Y(re)}if((U=t)&&"object"==s(U)&&("undefined"!=typeof HTMLElement&&U instanceof HTMLElement||"string"==typeof U.nodeName&&"function"==typeof U.getAttribute)){for(var oe="<"+w.call(String(t.nodeName)),ie=t.attributes||[],ae=0;ae"}if(q(t)){if(0===t.length)return"[]";var se=ee(t,J);return K&&!function(e){for(var t=0;t=0)return!1;return!0}(se)?"["+X(se,K)+"]":"[ "+A.call(se,", ")+" ]"}if(function(e){return!("[object Error]"!==$(e)||N&&"object"==s(e)&&N in e)}(t)){var ce=ee(t,J);return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===ce.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(ce,", ")+" }":"{ ["+String(t)+"] "+A.call(P.call("[cause]: "+J(t.cause),ce),", ")+" }"}if("object"==s(t)&&m){if(L&&"function"==typeof t[L]&&D)return D(t,{depth:R-o});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=s(e))return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return a&&a.call(t,(function(e,n){le.push(J(n,t,!0)+" => "+J(e,t))})),Q("Map",i.call(t),le,K)}if(function(e){if(!u||!e||"object"!=s(e))return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return f&&f.call(t,(function(e){ue.push(J(e,t))})),Q("Set",u.call(t),ue,K)}if(function(e){if(!p||!e||"object"!=s(e))return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!d||!e||"object"!=s(e))return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!y||!e||"object"!=s(e))return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return!("[object Number]"!==$(e)||N&&"object"==s(e)&&N in e)}(t))return Y(J(Number(t)));if(function(e){if(!e||"object"!=s(e)||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return Y(J(C.call(t)));if(function(e){return!("[object Boolean]"!==$(e)||N&&"object"==s(e)&&N in e)}(t))return Y(h.call(t));if(function(e){return!("[object String]"!==$(e)||N&&"object"==s(e)&&N in e)}(t))return Y(J(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==$(e)||N&&"object"==s(e)&&N in e)}(t)&&!V(t)){var fe=ee(t,J),pe=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",ye=!pe&&N&&Object(t)===t&&N in t?b.call($(t),8,-1):de?"Object":"",he=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ye||de?"["+A.call(P.call([],ye||[],de||[]),": ")+"] ":"");return 0===fe.length?he+"{}":K?he+"{"+X(fe,K)+"}":he+"{ "+A.call(fe,", ")+" }"}return String(t)};var K=Object.prototype.hasOwnProperty||function(e){return e in this};function H(e,t){return K.call(e,t)}function $(e){return m.call(e)}function z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return G(b.call(e,0,t.maxStringLength),t)+r}return B(x.call(x.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+S.call(t.toString(16))}function Y(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function Q(e,t,n,r){return e+" ("+t+") {"+(r?X(n,r):A.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+A.call(e,","+n)+"\n"+t.prev}function ee(e,t){var n=q(e),r=[];if(n){r.length=e.length;for(var o=0;o0?O.join(",")||null:void 0}];else if(l(g))N=g;else{var M=Object.keys(O);N=v?M.sort(v):M}var _=d?String(n).replace(/\./g,"%2E"):String(n),D=a&&l(O)&&1===O.length?_+"[]":_;if(c&&l(O)&&0===O.length)return D+"[]";for(var U=0;U0?w+S:""}},662:function(e,t,n){"use strict";var r=n(647),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=l?c.slice(f,f+l):c,d=[],y=0;y=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||i===r.RFC1738&&(40===h||41===h)?d[d.length]=p.charAt(y):h<128?d[d.length]=a[h]:h<2048?d[d.length]=a[192|h>>6]+a[128|63&h]:h<55296||h>=57344?d[d.length]=a[224|h>>12]+a[128|h>>6&63]+a[128|63&h]:(y+=1,h=65536+((1023&h)<<10|1023&p.charCodeAt(y)),d[d.length]=a[240|h>>18]+a[128|h>>12&63]+a[128|h>>6&63]+a[128|63&h])}u+=d.join("")}return u},isBuffer:function(e){return!(!e||"object"!=s(e)||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(l=!1)}return(r||l||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},402:function(e,t,n){"use strict";var r=n(651),o=n(913),i=n(937),a=n(785),c=r("%WeakMap%",!0),l=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),f=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(c&&r&&("object"==s(r)||"function"==typeof r)){if(e)return u(e,r)}else if(l){if(t)return d(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==s(r)||"function"==typeof r)){if(e)return p(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){c&&r&&("object"==s(r)||"function"==typeof r)?(e||(e=new c),f(e,r,o)):l?(t||(t=new l),y(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},634:function(){}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":s(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":s(window)))return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var r={};return function(){"use strict";n.d(r,{default:function(){return P}});var e,t,o,i=n(882),a=n.n(i);function s(e){switch(e){case"development":return o.Development;case"staging":return o.Staging;case"canary":return o.Canary;default:return o.Production}}!function(e){e.Cancel="exit",e.Complete="complete",e.Error="error",e.Fail="fail",e.Load="load",e.Ready="ready",e.Start="start",e.Success="success",e.DocumentCameraSelect="document-camera-select",e.DocumentCameraCapture="document-camera-capture",e.DocumentUpload="document-upload",e.OneTimeLinkSent="one-time-link-sent",e.OneTimeLinkStart="one-time-link-start",e.OneTimeLinkExit="one-time-link-exit",e.SelfieCameraSelect="selfie-camera-select",e.SelfieCameraCapture="selfie-camera-capture",e.SelfieRecordUpload="selfie-record-upload",e.LoadCameraFailed="load-camera-failed",e.PageChange="page-change",e.InquiryLoad="inquiry-load",e.CountrySelect="country-select",e.VerificationChange="verification-change"}(e||(e={})),function(e){e.Open="open",e.Exit="exit",e.Destroy="destroy"}(t||(t={})),function(e){e.Development="http://localhost:3000",e.Staging="https://inquiry.withpersona-staging.com",e.Canary="https://canary.withpersona.com",e.Production="https://inquiry.withpersona.com"}(o||(o={}));var c=n(709),l=n.n(c),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},y=function(){function e(e){this.id=e}return e.prototype.isMounted=function(){return null!=document.getElementById(this.id)},e.prototype.mount=function(e){if(document.getElementById(this.id))console.warn("persona: stylesheet ".concat(this.id," already appended. skipping."));else{var t=m("style",{id:this.id},[document.createTextNode(e)]);document.head.appendChild(t)}},e.prototype.unmount=function(){var e,t=document.getElementById(this.id);null!=t?null===(e=t.parentNode)||void 0===e||e.removeChild(t):console.warn("persona: no stylesheet ".concat(this.id," to remove. skipping."))},e}();function h(e,t,n){var r,o,i,a;void 0===n&&(n=[]);var s=document.createElementNS("http://www.w3.org/2000/svg",e);try{for(var c=p(Object.entries(t)),l=c.next();!l.done;l=c.next()){var u=d(l.value,2),f=u[0],y=u[1];"className"===f&&(f="class"),s.setAttribute(f,y)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}try{for(var h=p(n),m=h.next();!m.done;m=h.next()){var g=m.value;!1!==g&&s.appendChild(g)}}catch(e){i={error:e}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}return s}function m(e,t,n){var r,o,i,a;void 0===n&&(n=[]);var s=document.createElement(e);try{for(var c=p(Object.entries(t)),l=c.next();!l.done;l=c.next()){var u=d(l.value,2),f=u[0],y=u[1];"className"===f&&(f="class"),s.setAttribute(f,y)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}try{for(var h=p(n),m=h.next();!m.done;m=h.next()){var g=m.value;!1!==g&&("string"==typeof g?s.appendChild(document.createTextNode(g)):s.appendChild(g))}}catch(e){i={error:e}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}return s}function g(e){return"string"==typeof e?e:"number"==typeof e?"".concat(e,"px"):""}var v=["allow-scripts","allow-same-origin","allow-popups"],b=["allow-forms","allow-modals","allow-top-navigation-by-user-activation"];function x(e,t,n,r){var o=r.accountId,i=r.accountTypeId,c=r.environment,l=r.environmentId,u=r.fields,p=r.frameAncestors,d=r.frameHeight,y=r.frameWidth,h=r.host,m=r.iframeTitle,x=r.inquiryId,S=r.language,w=r.messageTargetOrigin,E=r.referenceId,P=r.routingCountry,A=r.sandboxAttributes,k=void 0===A?b:A,O=r.sessionToken,C=r.styleVariant,R=r.templateId,j=r.templateVersionId,T=r.themeSetId,N=r.widgetPadding,I=!(!R&&!j),M=null==R?void 0:R.startsWith("itmpl_");if(!I&&!x)throw new Error("Either templateId/templateVersionId or inquiryId must be specified to start a flow");if(I&&x)throw new Error("Only one of templateId/templateVersionId or inquiryId should be specified to start a flow");if(o){if(E)throw new Error("Cannot pass both accountId and referenceId");if(i)throw new Error("Cannot pass both accountId and accountTypeId")}var _=s(h),D=a()({"client-version":"5.1.5","container-id":t,"flow-type":n,"routing-country":P,"template-id":(M?null:R)||null,"inquiry-template-id":(M?R:null)||null,"inquiry-template-version-id":j||null,environment:c,"environment-id":l,"iframe-origin":window.location.origin,"frame-ancestors":null!=p?p:null,"message-target-origin":w||null,"inquiry-id":x||null,language:S,"session-token":O,"reference-id":E,"account-id":o,"account-type-id":i,fields:f(null!=u?u:{}),"style-variant":C||null,"theme-set-id":T,"widget-padding":N},{addQueryPrefix:!0,skipNulls:!0});return e.style.maxHeight=g(d),e.style.maxWidth=g(y),e.setAttribute("data-testid","persona-widget__iframe"),"embedded"===n&&e.setAttribute("aria-modal","true"),e.title=null!=m?m:"Verify your identity",e.className="persona-widget__iframe",e.allow="camera;microphone;clipboard-write",e.setAttribute("sandbox",v.concat(k).join(" ")),e.frameBorder="0",e.src=_+"/widget"+D,e.onload=function(){},e}var S=function(){function e(){}return e.log=function(e,t){void 0===t&&(t="info")},e}(),w=function(e){return e.split(".").slice(-2).join(".")};function E(t,n){var r=n.onLoad,o=n.onReady,i=n.onComplete,a=n.onEvent,c=n.onCancel,l=n.onError,u=n.templateId,f=n.templateVersionId,p=n.host,d=function(n){var d,y=s(null!=p?p:"production");if(""!==n.origin)try{if(w(new URL(n.origin).host)!==w(new URL(y).host))return}catch(e){return}if(!(u&&u!==n.data.templateId||f&&f!==n.data.templateVersionId||n.data.containerId&&t!==n.data.containerId))switch(null==a||a(n.data.name,n.data.metadata),n.data.name){case e.Load:null==r||r();break;case e.Ready:null==o||o();break;case e.Complete:case e.Fail:null==i||i({inquiryId:n.data.metadata.inquiryId,status:n.data.metadata.status,fields:null!==(d=n.data.metadata.fields)&&void 0!==d?d:n.data.metadata.scopes});break;case e.Cancel:null==c||c({inquiryId:n.data.metadata.inquiryId,sessionToken:n.data.metadata.sessionToken});break;case e.Error:null==l||l(n.data.error)}};return window.addEventListener("message",d),function(){window.removeEventListener("message",d)}}var P={Client:function(){function e(e){var t,n,r,o,i,a,s,c,l,u,f,p=this;this._isLoading=!0,this._isOpen=!1,this.personaCSS=new y("persona-widget-styles"),this.globalCSS=new y("persona-global-styles"),this.onLoad=function(){var e,t;p._isLoading=!1,p.render(),null===(t=(e=p.options).onLoad)||void 0===t||t.call(e)},this.onReady=function(){var e,t;null===(t=(e=p.options).onReady)||void 0===t||t.call(e)},this.onComplete=function(e){var t,n,r=e.inquiryId,o=e.status,i=e.fields;p._isOpen=!1,p.render(),null===(n=(t=p.options).onComplete)||void 0===n||n.call(t,{inquiryId:r,status:o,fields:i})},this.onCancel=function(e){var t,n,r=e.inquiryId,o=e.sessionToken;p._isOpen=!1,p.render(),null===(n=(t=p.options).onCancel)||void 0===n||n.call(t,{inquiryId:r,sessionToken:o})},this.options=e,this.containerParent=null!==(n=null!==(t=e.parent)&&void 0!==t?t:document.body)&&void 0!==n?n:document.children[0],this.containerElement=m("div",{class:"persona-widget__overlay",style:"display: ".concat(this._isOpen?"block":"none")}),this.containerId="persona-widget-"+new Array(16).fill(void 0).map((function(){return Math.floor(35*Math.random()).toString(35)})).join(""),this.containerElement.setAttribute("id",this.containerId),this.loadingElement=m("div",{class:"persona-widget__centered-frame"},[h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"114",height:"114",class:"persona-widget__loading-spinner"},[h("path",{fill:"none",stroke:"#0F2B72",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M25.887 10.432a56.275 56.275 0 0 0-15.455 15.455 55.86 55.86 0 0 0-5.183 9.678A55.576 55.576 0 0 0 2.066 46.07m-.8 5.438A56.678 56.678 0 0 0 1 57m4.249 21.435a55.86 55.86 0 0 0 5.183 9.678 56.275 56.275 0 0 0 6.97 8.485m8.485 6.97a55.86 55.86 0 0 0 9.678 5.183 55.576 55.576 0 0 0 10.506 3.183c3.535.7 7.19 1.066 10.929 1.066 3.74 0 7.394-.367 10.929-1.066a55.576 55.576 0 0 0 10.506-3.183 55.86 55.86 0 0 0 9.678-5.183 56.275 56.275 0 0 0 15.455-15.455 55.86 55.86 0 0 0 5.183-9.678 55.576 55.576 0 0 0 3.183-10.506A56.274 56.274 0 0 0 113 57c0-3.74-.367-7.394-1.066-10.929a55.576 55.576 0 0 0-3.183-10.506M96.598 17.402a56.275 56.275 0 0 0-8.485-6.97 55.86 55.86 0 0 0-9.678-5.183A55.576 55.576 0 0 0 67.93 2.066 56.274 56.274 0 0 0 57 1c-3.74 0-7.394.367-10.929 1.066m-34.94 30.418A51.76 51.76 0 0 0 7.225 41.9a51.633 51.633 0 0 0-1.98 10 52.63 52.63 0 0 0 .744 15.247 51.633 51.633 0 0 0 7.768 18.743 52.188 52.188 0 0 0 10.254 11.308 52.188 52.188 0 0 0 8.472 5.67m9.417 3.905a51.633 51.633 0 0 0 10 1.98 52.63 52.63 0 0 0 10.197 0 51.939 51.939 0 0 0 10-1.98 51.61 51.61 0 0 0 9.418-3.904 51.984 51.984 0 0 0 8.472-5.671m3.782-3.43a52.308 52.308 0 0 0 3.429-3.78m9.575-17.89a51.633 51.633 0 0 0 1.98-10 52.63 52.63 0 0 0-.744-15.247 51.633 51.633 0 0 0-7.768-18.743 52.188 52.188 0 0 0-10.254-11.308m-4.097-3.043a51.984 51.984 0 0 0-4.375-2.628M67.148 5.99a51.939 51.939 0 0 0-5.05-.743 52.63 52.63 0 0 0-15.246.743 51.633 51.633 0 0 0-18.743 7.768M24.012 16.8a52.308 52.308 0 0 0-3.782 3.43"})])]),this.containerElement.append(this.loadingElement),this.isLoading?this.loadingElement.style.display="block":this.loadingElement.style.display="none",this.iframeElement=document.createElement("iframe"),this.unsubscribeFromEvents=E(this.containerId,{onLoad:null!==(r=this.onLoad)&&void 0!==r?r:null,onReady:null!==(o=this.onReady)&&void 0!==o?o:null,onComplete:null!==(i=this.onComplete)&&void 0!==i?i:null,onCancel:null!==(a=this.onCancel)&&void 0!==a?a:null,onEvent:null!==(s=this.options.onEvent)&&void 0!==s?s:null,onError:null!==(c=this.options.onError)&&void 0!==c?c:null,templateId:null!==(l=this.options.templateId)&&void 0!==l?l:null,templateVersionId:null!==(u=this.options.templateVersionId)&&void 0!==u?u:null,host:null!==(f=this.options.host)&&void 0!==f?f:null}),this.containerElement.appendChild(this.iframeElement),this.containerParent.appendChild(this.containerElement),this.personaCSS.mount("@keyframes persona-widget__fadeIn {\n from {\n background-color: rgba(0, 0, 0, 0);\n opacity: 0;\n }\n to {\n /* persona-widget__overlay opacity = 0.7 */\n background-color: rgba(0, 0, 0, 0.7);\n opacity: 1;\n }\n}\n\n@keyframes persona-widget__genieSlideIn {\n from {\n transform: translate(-50%, -40%) scale(0.8);\n }\n 90% {\n transform: translate(-50%, -51%) scale(1.01);\n }\n to {\n transform: translate(-50%, -50%);\n }\n}\n\n@keyframes persona-widget__slideDown {\n from {\n transform: translate(-50%, -55%);\n }\n to {\n transform: translate(-50%, -50%);\n }\n}\n\n.persona-widget__overlay {\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 9999;\n animation: persona-widget__fadeIn 0.3s;\n background-color: rgba(0, 0, 0, 0.7);\n}\n\n.persona-widget__overlay .persona-widget__centered-frame {\n width: 120px;\n height: 120px;\n position: absolute;\n left: calc(50% - 60px);\n top: calc(50% - 60px);\n z-index: 9999;\n}\n\n.persona-widget__overlay .persona-widget__loading-spinner {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.persona-widget__overlay .persona-widget__iframe {\n animation: persona-widget__genieSlideIn 0.3s, persona-widget__slideDown ease-out 0.3s;\n\n width: 100%;\n height: 100%;\n\n margin-left: auto;\n margin-right: auto;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n background-color: #ffffff;\n border: none;\n border-radius: 4px;\n box-shadow: 0px 12px 40px 2px rgba(0, 0, 0, 0.4);\n\n @media only screen and (min-width: 600.02px) and (min-height: 600.02px) {\n max-width: 400px;\n max-height: 650px;\n }\n}\n");try{this.iframeElement=x(this.iframeElement,this.containerId,"embedded",this.options)}catch(e){throw console.error("Persona",e),this.destroy(),e}this.render()}return e.preload=function(e){return void 0===e&&(e="production"),new Promise((function(t){var n=s(e),r=document.createElement("iframe");r.frameBorder="0",r.style.height="0px",r.style.width="0px",r.style.display="none",r.src=n+"/preload",document.body.appendChild(r),r.onload=function(){document.body.removeChild(r),t()}}))},e.prototype.render=function(){var e;null!=this.containerElement?(this.loadingElement.style.display=this.isLoading?"block":"none",this.containerElement.style.display=this.isOpen?"block":"none",this.isOpen&&!this.globalCSS.isMounted()?this.globalCSS.mount((e=this.containerId,"\n /* Don't allow scrolling when widget is open */\n html body {\n overflow: hidden !important;\n }\n\n /* When the widget takes the full screen, hide everything else to prevent iOS scroll issues. */\n @media ".concat("(max-width: 600px), (max-height: 420px)"," {\n html body > *:not(#").concat(e,") {\n display: none !important;\n }\n }\n"))):!this.isOpen&&this.globalCSS.isMounted()&&this.globalCSS.unmount()):S.log("Cannot render client that has been destroyed","error")},e.prototype.open=function(){var e;null===(e=this.iframeElement.contentWindow)||void 0===e||e.postMessage({action:t.Open,metadata:{}},this.baseUrl),this._isOpen=!0,this.render()},e.prototype.cancel=function(e){var n;null===(n=this.iframeElement.contentWindow)||void 0===n||n.postMessage({action:t.Exit,metadata:{force:e}},this.baseUrl),this.render()},e.prototype.destroy=function(){var e;null===(e=this.iframeElement.contentWindow)||void 0===e||e.postMessage({action:t.Destroy,metadata:{}},this.baseUrl),this.personaCSS.unmount(),this.globalCSS.unmount(),this.containerParent.removeChild(this.containerElement),this.unsubscribeFromEvents()},Object.defineProperty(e.prototype,"isLoading",{get:function(){return this._isLoading},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseUrl",{get:function(){return s(this.options.host)},enumerable:!1,configurable:!0}),e}(),setupIframe:x,setupEvents:E}}(),r.default}()},"object"==s(t)&&"object"==s(e)?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e=CoreUtilities,t=React,r=n.n(t),o=ReactDOM,i=Roblox,a=n.n(i),s=PropTypes,c=n.n(s),l=ReactUtilities;function u(){return u=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function p(e,t){if(null==e)return{};var n,r,o=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function y(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==d(e))if(Array.isArray(e))for(t=0;t<+~=|^:(),"'`\s])/g,I="undefined"!=typeof CSS&&CSS.escape,M=function(e){return I?I(e):e.replace(N,"\\$1")},_=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var c=this.options.sheet;return c&&c.attached,this},e}(),D=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,c=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=c(E(E(o)),s),o.selectorText="."+M(o.id)),o}w(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=C(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?u({},e,{allowEmpty:!0}):e;return T(this.selectorText,this.style,n)},S(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(_),U={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new D(e,t,n)}},L={indent:1,children:!0},B=/@([\w-]+)/,F=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(B);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new ue(u({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=L);var t=R(e).linebreak;if(null==e.indent&&(e.indent=L.indent),null==e.children&&(e.children=L.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),q=/@container|@media|@supports\s+/,V={onCreateRule:function(e,t,n){return q.test(e)?new F(e,t,n):null}},W={indent:1,children:!0},K=/@keyframes\s+([\w-]+)/,H=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(K);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:M(a(this,i)),this.rules=new ue(u({},n,{parent:this})),t)this.rules.add(s,t[s],u({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=W);var t=R(e).linebreak;if(null==e.indent&&(e.indent=W.indent),null==e.children&&(e.children=W.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),$=/@keyframes\s+/,z=/\$([\w-]+)/g,G=function(e,t){return"string"==typeof e?e.replace(z,(function(e,n){return n in t?t[n]:e})):e},J=function(e,t,n){var r=e[t],o=G(r,n);o!==r&&(e[t]=o)},Y={onCreateRule:function(e,t,n){return"string"==typeof e&&$.test(e)?new H(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&J(e,"animation-name",n.keyframes),"animation"in e&&J(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return G(e,r.keyframes);default:return e}}},Z=function(e){function t(){return e.apply(this,arguments)||this}return w(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?u({},e,{allowEmpty:!0}):e;return T(this.key,this.style,n)},t}(_),Q={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Z(e,t,n):null}},X=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=R(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=f(t,["attached"]),o=R(r).linebreak,i="",a=0;a-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},we=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Ee=function(e,t){return e.selectorText=t,e.selectorText===t},Pe=be((function(){return document.querySelector("head")}));function Ae(e){var t=ye.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Pe(),n=0;nn?n:t},Re=function(){function e(e){this.getPropertyValue=xe,this.setProperty=Se,this.removeProperty=we,this.setSelector=Ee,this.hasInsertedRules=!1,this.cssRules=[],e&&ye.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=ke();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Ae(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Pe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var r=u({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}var De={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Ue=De;var Le=r().createContext(null);function Be(){return r().useContext(Le)}var Fe="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",qe=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ve=Date.now(),We="fnValues"+Ve,Ke="fnStyle"+ ++Ve,He=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=k(e,{},n);return r[Ke]=t,r},onProcessStyle:function(e,t){if(We in t||Ke in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[We]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Ke];i&&(o.style=i(e)||{});var a=o[We];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},$e="@global",ze="@global ",Ge=function(){function e(e,t,n){for(var r in this.type="global",this.at=$e,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new ue(u({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Je=function(){function e(e,t,n){this.type="global",this.at=$e,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,u({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ye=/\s*,\s*/g;function Ze(e,t){for(var n=e.split(Ye),r="",o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1){var o=en[e];if(!Array.isArray(o))return Ct+Lt(o)in t&&Rt+o;if(!r)return!1;for(var i=0;it?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),c=0,l=function(){return c+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==qe.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Fe]&&""===a?"".concat(i,"-").concat(l()):i}return"".concat(s).concat(o).concat(l())}}(),wn={disableGeneration:!1,generateClassName:Sn,jss:xn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},En=r().createContext(wn);var Pn=-1e9;function An(e){return An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},An(e)}function kn(e){return e&&"object"===An(e)&&e.constructor===Object}function On(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?u({},e):e;return kn(e)&&kn(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(kn(t[o])&&o in e?r[o]=On(e[o],t[o],n):r[o]=t[o])})),r}var Cn={};function Rn(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Ue.get(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Ue.set(o.sheetsManager,i,r,s));var c=u({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var l=o.sheetsRegistry;if(0===s.refs){var f;o.sheetsCache&&(f=Ue.get(o.sheetsCache,i,r));var p=i.create(r,a);f||((f=o.jss.createStyleSheet(p,u({link:!1},c))).attach(),o.sheetsCache&&Ue.set(o.sheetsCache,i,r,f)),l&&l.add(f),s.staticSheet=f,s.dynamicStyles=Me(p)}if(s.dynamicStyles){var d=o.jss.createStyleSheet(s.dynamicStyles,u({link:!0},c));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=_e({baseClasses:s.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else n.classes=s.staticSheet.classes;s.refs+=1}}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,i=t.Component,a=t.defaultTheme,s=void 0===a?Cn:a,c=p(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=u({},o);return Object.keys(i).forEach((function(e){a[e]=On(a[e],i[e])})),a},options:{}}}(e),f=n||o||"makeStyles";l.options={index:Pn+=1,name:n,meta:f,classNamePrefix:f};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Be()||s,o=u({},r().useContext(En),c),a=r().useRef(),f=r().useRef();!function(e,t){var n,o=r().useRef([]),i=r().useMemo((function(){return{}}),t);o.current!==i&&(o.current=i,n=e()),r().useEffect((function(){return function(){n&&n()}}),[i])}((function(){var r={name:n,state:{},stylesCreator:l,stylesOptions:o,theme:t};return Rn(r,e),f.current=!1,a.current=r,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Ue.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Ue.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(r)}}),[t,l]),r().useEffect((function(){f.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(a.current,e),f.current=!0}));var p=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=_e({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(a.current,e.classes,i);return p}}var Tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,i=t.withTheme,a=void 0!==i&&i,s=t.name,c=p(t,["defaultTheme","withTheme","name"]);var l=s,f=jn(e,u({defaultTheme:o,Component:n,name:s||n.displayName,classNamePrefix:l},c)),d=r().forwardRef((function(e,t){e.classes;var i,c=e.innerRef,l=p(e,["classes","innerRef"]),d=f(u({},n.defaultProps,e)),y=l;return("string"==typeof s||a)&&(i=Be()||o,s&&(y=function(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}({theme:i,name:s,props:l})),a&&!y.theme&&(y.theme=i)),r().createElement(n,u({ref:c||t,classes:d},y))}));return g()(d,n),d}},Nn=["xs","sm","md","lg","xl"];function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mn(e,t,n){var r;return u({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),u({paddingLeft:t(2),paddingRight:t(2)},n,In({},e.up("sm"),u({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},In(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),In(r,e.up("sm"),{minHeight:64}),r)},n)}function _n(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Hn(e){if(e.type)return e;if("#"===e.charAt(0))return Hn(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(_n(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function $n(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function zn(e){var t="hsl"===(e=Hn(e)).type?Hn(function(e){var t=(e=Hn(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),$n({type:s,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Gn(e,t){if(e=Hn(e),t=Kn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return $n(e)}function Jn(e,t){if(e=Hn(e),t=Kn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return $n(e)}var Yn={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Dn.white,default:Un[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Zn={text:{primary:Dn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Un[800],default:"#303030"},action:{active:Dn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Qn(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Jn(e.main,o):"dark"===t&&(e.dark=Gn(e.main,i)))}function Xn(e){var t=e.primary,n=void 0===t?{light:Ln[300],main:Ln[500],dark:Ln[700]}:t,r=e.secondary,o=void 0===r?{light:Bn.A200,main:Bn.A400,dark:Bn.A700}:r,i=e.error,a=void 0===i?{light:Fn[300],main:Fn[500],dark:Fn[700]}:i,s=e.warning,c=void 0===s?{light:qn[300],main:qn[500],dark:qn[700]}:s,l=e.info,f=void 0===l?{light:Vn[300],main:Vn[500],dark:Vn[700]}:l,d=e.success,y=void 0===d?{light:Wn[300],main:Wn[500],dark:Wn[700]}:d,h=e.type,m=void 0===h?"light":h,g=e.contrastThreshold,v=void 0===g?3:g,b=e.tonalOffset,x=void 0===b?.2:b,S=p(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){var t=function(e,t){var n=zn(e),r=zn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Zn.text.primary)>=v?Zn.text.primary:Yn.text.primary;return t}var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=u({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(_n(4,t));if("string"!=typeof e.main)throw new Error(_n(5,JSON.stringify(e.main)));return Qn(e,"light",n,x),Qn(e,"dark",r,x),e.contrastText||(e.contrastText=w(e.main)),e},P={dark:Zn,light:Yn};return On(u({common:Dn,type:m,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(a),warning:E(c),info:E(f),success:E(y),grey:Un,contrastThreshold:v,getContrastText:w,augmentColor:E,tonalOffset:x},P[m]),S)}function er(e){return Math.round(1e5*e)/1e5}function tr(e){return er(e)}var nr={textTransform:"uppercase"},rr='"Roboto", "Helvetica", "Arial", sans-serif';function or(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?rr:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,c=void 0===s?300:s,l=n.fontWeightRegular,f=void 0===l?400:l,d=n.fontWeightMedium,y=void 0===d?500:d,h=n.fontWeightBold,m=void 0===h?700:h,g=n.htmlFontSize,v=void 0===g?16:g,b=n.allVariants,x=n.pxToRem,S=p(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var w=a/14,E=x||function(e){return"".concat(e/v*w,"rem")},P=function(e,t,n,r,i){return u({fontFamily:o,fontWeight:e,fontSize:E(t),lineHeight:n},o===rr?{letterSpacing:"".concat(er(r/t),"em")}:{},i,b)},A={h1:P(c,96,1.167,-1.5),h2:P(c,60,1.2,-.5),h3:P(f,48,1.167,0),h4:P(f,34,1.235,.25),h5:P(f,24,1.334,0),h6:P(y,20,1.6,.15),subtitle1:P(f,16,1.75,.15),subtitle2:P(y,14,1.57,.1),body1:P(f,16,1.5,.15),body2:P(f,14,1.43,.15),button:P(y,14,1.75,.4,nr),caption:P(f,12,1.66,.4),overline:P(f,12,2.66,1,nr)};return On(u({htmlFontSize:v,pxToRem:E,round:tr,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:f,fontWeightMedium:y,fontWeightBold:m},A),S,{clone:!1})}function ir(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var ar=["none",ir(0,2,1,-1,0,1,1,0,0,1,3,0),ir(0,3,1,-2,0,2,2,0,0,1,5,0),ir(0,3,3,-2,0,3,4,0,0,1,8,0),ir(0,2,4,-1,0,4,5,0,0,1,10,0),ir(0,3,5,-1,0,5,8,0,0,1,14,0),ir(0,3,5,-1,0,6,10,0,0,1,18,0),ir(0,4,5,-2,0,7,10,1,0,2,16,1),ir(0,5,5,-3,0,8,10,1,0,3,14,2),ir(0,5,6,-3,0,9,12,1,0,3,16,2),ir(0,6,6,-3,0,10,14,1,0,4,18,3),ir(0,6,7,-4,0,11,15,1,0,4,20,3),ir(0,7,8,-4,0,12,17,2,0,5,22,4),ir(0,7,8,-4,0,13,19,2,0,5,24,4),ir(0,7,9,-4,0,14,21,2,0,5,26,4),ir(0,8,9,-5,0,15,22,2,0,6,28,5),ir(0,8,10,-5,0,16,24,2,0,6,30,5),ir(0,8,11,-5,0,17,26,2,0,6,32,5),ir(0,9,11,-5,0,18,28,2,0,7,34,6),ir(0,9,12,-6,0,19,29,2,0,7,36,6),ir(0,10,13,-6,0,20,31,3,0,8,38,7),ir(0,10,13,-6,0,21,33,3,0,8,40,7),ir(0,10,14,-6,0,22,35,3,0,8,42,7),ir(0,11,14,-7,0,23,36,3,0,9,44,8),ir(0,11,15,-7,0,24,38,3,0,9,46,8)],sr={borderRadius:4};function cr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||vt(e,t)||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.")}()}var lr={xs:0,sm:600,md:960,lg:1280,xl:1920},ur={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(lr[e],"px)")}};var fr=function(e,t){return t?On(e,t,{clone:!1}):e};var pr={m:"margin",p:"padding"},dr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},yr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hr=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!yr[e])return[e];e=yr[e]}var t=cr(e.split(""),2),n=t[0],r=t[1],o=pr[n],i=dr[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),mr=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function gr(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function vr(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function br(e){var t=gr(e.theme);return Object.keys(e).map((function(n){if(-1===mr.indexOf(n))return null;var r=vr(hr(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||ur;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===An(t)){var o=e.theme.breakpoints||ur;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(fr,{})}br.propTypes={},br.filterProps=mr;var xr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Sr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function wr(e){return"".concat(Math.round(e),"ms")}var Er={easing:xr,duration:Sr,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Sr.standard:n,o=t.easing,i=void 0===o?xr.easeInOut:o,a=t.delay,s=void 0===a?0:a;p(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:wr(r)," ").concat(i," ").concat("string"==typeof s?s:wr(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Pr={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ar(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.spacing,c=e.typography,l=void 0===c?{}:c,f=p(e,["breakpoints","mixins","palette","spacing","typography"]),d=Xn(a),y=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=p(e,["values","unit","step"]);function c(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function l(e,t){var r=Nn.indexOf(t);return r===Nn.length-1?c(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Nn[r+1]]?n[Nn[r+1]]:t)-a/100).concat(o,")")}return u({keys:Nn,values:n,up:c,down:function(e){var t=Nn.indexOf(e)+1,r=n[Nn[t]];return t===Nn.length?c("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:l,only:function(e){return l(e,e)},width:function(e){return n[e]}},s)}(n),h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=gr({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r1?g-1:0),b=1;be.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:""},n={retryable:!0,withCredentials:!0,url:"".concat(hi,"/v1/phone/verify")};return e.httpService.post(n,t)},Pc=function(t){var n={retryable:!0,withCredentials:!0,url:"".concat(hi,"/v1/phone/resend")},r=t;return r||(r={}),e.httpService.post(n,r).then((function(e){e.data;return!0}),(function(e){return!1}))},Ac=function(){var t={retryable:!0,withCredentials:!0,url:"".concat(hi,"/v1/phone/delete")};return e.httpService.post(t,{})},kc=Da,Oc=Ua,Cc=Ba,Rc=Fa,jc=qa,Tc=La,Nc=ja,Ic=zs,Mc=Gs,_c=Ys,Dc=$s,Uc=Js,Lc=Zs,Bc=Qs,Fc=function(e){switch(e){case Ic:return kc;case Mc:return Oc;case Dc:return Cc;case Uc:return Rc;case _c:return Tc;default:return jc}},qc=function(e){switch(e){case Bc:return Oc;case Lc:return Nc;default:return jc}},Vc=function(e){switch(e){case tc:return Ti;case nc:return Ni;case rc:return Ii;case ic:return Mi;default:return""}};function Wc(e){var t=e.translate,n=vc().phoneUpsellState;return r().createElement("p",{className:"input-field-error-text sms-code-error text-error modal-error-message"},n.errorMessage?t(n.errorMessage):null)}Wc.propTypes={translate:c().func.isRequired};var Kc=Wc;function Hc(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function $c(e){var n,o,i=e.translate,a=vc(),s=a.phoneUpsellState,c=a.dispatch,l=Us,u=Ls,f=s.phone,p=s.phonePrefixPickerIndex,d=s.phonePrefixOptionsList,y=s.pageName,h=s.origin,m=Xs,g=Vc(y);(0,t.useEffect)((function(){function e(){var t;return t=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=d,0!==d.length){e.next=6;break}return e.next=4,Sc();case 4:t=e.sent,c({type:Is,phonePrefixOptionsList:t});case 6:case"end":return e.stop()}}),e)})),e=function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){Hc(i,r,o,a,s,"next",e)}function s(e){Hc(i,r,o,a,s,"throw",e)}a(void 0)}))},e.apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]);var v=null!==(n=null==d||null===(o=d[p])||void 0===o?void 0:o.prefix)&&void 0!==n?n:"";return r().createElement("div",null,r().createElement("label",{htmlFor:m},r().createElement("p",{className:"verification-code-label font-caption-header text-primary"},i(Ca))),r().createElement("div",{id:"upsell-phone",className:"phone-number-input-container input-field form-control"},r().createElement("div",{id:"upsell-phonenumber",className:"phone-input-row"},r().createElement("span",{className:"phone-prefix-wrapper"},r().createElement("div",{className:"phone-prefix-selected text"},l(v)),r().createElement("select",{className:"phone-prefix-dropdown input-field rbx-select",onChange:function(e){return function(e){var t=e.target.value;c({type:js,phonePrefixPickerIndex:t})}(e)},onFocus:function(){Ji(cc.addPhonePrefixPressed,{origin:h,section:g})},value:p},d.map((function(e,t){return r().createElement("option",{className:"prefix-option",value:t},u(e.localizedName,e.prefix))})))),r().createElement("div",{id:"upsell-phonenumber-divider",className:"phone-divider"}),r().createElement("input",{id:m,type:"tel",value:f,className:"phone-input form-control",placeholder:i(Ca),autoComplete:"tel-national",onChange:function(e){return c({type:Rs,phone:e.target.value})},onFocus:function(){Ji(cc.addPhonePhoneNumberPressed,{origin:h,section:g})}}))))}$c.propTypes={translate:c().func.isRequired};var zc=$c;function Gc(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function Jc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Yc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yc(e,t)}(e,t)||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.")}()}function Yc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.onClose,i=t.origin,a=t.existingPhoneNumber,s=t.addPhoneAlwaysShowLegalText,c=t.addPhoneRequireLegalTextCheckbox,l=t.addPhoneHeadingKey,u=t.addPhoneDescriptionKey,f=t.addPhoneLegalTextKey,p=t.addPhoneButtonKey,d=t.beforeSuccess,y=t.containerId,h=t.renderInWebview;(0,e.ready)((function(){var e=document.getElementById(null!=y?y:"phoneVerificationUpsell-container");e&&((0,o.unmountComponentAtNode)(e),(0,o.render)(r().createElement(Ql,{onClose:n,origin:i,existingPhoneNumber:a,addPhoneAlwaysShowLegalText:s,addPhoneRequireLegalTextCheckbox:c,addPhoneHeadingKey:l,addPhoneDescriptionKey:u,addPhoneLegalTextKey:f,addPhoneButtonKey:p,beforeSuccess:d,renderInWebview:h}),e))}))},renderContactMethodPromptModal:function(t){var n=t.origin,i=t.section;(0,e.ready)((function(){var e=document.getElementById("contactMethodPrompt-container");e&&((0,o.unmountComponentAtNode)(e),(0,o.render)(r().createElement(ks,{origin:n,section:i}),e))}))},renderAgeEstimationPromptModal:function(){(0,e.ready)((function(){var e=document.getElementById("ageEstimationPrompt-container");e&&((0,o.unmountComponentAtNode)(e),(0,o.render)(r().createElement(no,null),e))}))}},a().EmailVerificationService={handleUserEmailUpsellAtLogout:ki,handleUserEmailUpsellAtBuyRobux:function(e){return Ei({origin:bo,skipCallback:e})},handleUserEmailUpsellOnHomePage:Oi,handleUserEmailVerificationRequiredByPurchaseWarning:function(){return Ei({origin:wo,requireVerification:!0})},handleUserEmailUpsellAtPremiumSubscription:function(e){return Ei({origin:So,skipCallback:e})},handleUserEmailVerificationRequiredByBan:function(){return Ei({origin:Eo,requireVerification:!0})}},(0,e.ready)((function(){document.getElementById(Xr)&&(0,o.render)(r().createElement(ca,null),document.getElementById(Xr))}))}()}(); //# sourceMappingURL=https://js.rbxcdn.com/161db70a31eef8988f3c8933bcdc0b9c-verificationUpsell.bundle.min.js.map /* Bundle detector */ window.Roblox && window.Roblox.BundleDetector && window.Roblox.BundleDetector.bundleDetected("VerificationUpsell");