enqueueScripts([function(){ (window.webpackJsonpvtex_list_context_0_2_0=window.webpackJsonpvtex_list_context_0_2_0||[]).push([["useListContext"],[function(t,e){t.exports=React},,function(t,e,n){"use strict";n.r(e),n.d(e,"ListContext",(function(){return r}));var i=n(0),o=n.n(i),r=o.a.createContext({list:[]});r.displayName="ListContext";var s=function(t){var e=t.list,n=void 0===e?[]:e,s=t.children,c=Object(i.useMemo)((function(){return{list:n}}),[n]);return o.a.createElement(r.Provider,{value:c},s)};s.displayName="ListContextProvider",e.default=s},function(t,e,n){"use strict";n.r(e);var i=n(0),o=n(2);e.default=function(){return Object(i.useContext)(o.ListContext)}},,,,,,,function(t,e,n){"use strict";n.r(e),function(t){var e=n(1);n.p=Object(e.getPublicPath)("vtex.list-context@0.2.0");var i=Object(e.register)((function(){return n(3)}),t,"vtex.list-context@0.2.0","vtex.list-context@0.x","useListContext");i.renderHotReload,i.setupHMR}.call(this,n(4)(t))}],[[10,"common"]]]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],d=0,s=[];d<a.length;d++)u=a[d],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(f&&f(t);s.length;)s.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={common:0},i=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var a=window.webpackJsonpvtex_on_view_1_0_0=window.webpackJsonpvtex_on_view_1_0_0||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var f=c;n()}([,function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(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 u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.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)?r(e,t):void 0}}(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.")}()}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},t.register=function(e,t,n,i,u){var a="".concat(n,"/").concat(u),c="".concat(i,"/").concat(u),l=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,a)};if(window[r]&&window[r].registerComponent){var f=!!window.__RENDER_LAZY__;window[r].registerComponent(t,f?l:l(),n,u,f)}else{var d=l();window[r]&&window[r].withHMR?window[o][a]=window[o][c]=window[r].withHMR(t,d):window[o][a]=window[o][c]=d}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}}]); },function(){ (window.webpackJsonpvtex_on_view_1_0_0=window.webpackJsonpvtex_on_view_1_0_0||[]).push([["useOnView"],[function(n,e){n.exports=React},,,function(n,e,o){"use strict";o.r(e);var t=o(1),i=o(0);e.default=function(n){var e=n.ref,o=n.onView,r=n.threshold,u=void 0===r?0:r,v=n.once,c=void 0!==v&&v,d=n.bailOut,w=void 0!==d&&d,s=n.initializeOnInteraction,l=void 0!==s&&s,a=Object(i.useRef)(!1),f=Object(i.useRef)(!1);Object(i.useEffect)((function(){var n,i,r=function(){var n=e.current;if(w||a.current||!n||!o||c&&f.current)return function(){};a.current=!0;var i=function(){a.current&&(r.unobserve(n),a.current=!1)},r=new IntersectionObserver((function(n){var e=Object(t.a)(n,1)[0];e.isIntersecting&&(e.intersectionRatio<u||(c&&i(),f.current=!0,o({entry:e,unobserve:i})))}));return r.observe(n),i};if(l){var v=function(){var n,e;null===(n=null===window||void 0===window?void 0:window.document)||void 0===n||n.removeEventListener("scroll",s),null===(e=null===window||void 0===window?void 0:window.document)||void 0===e||e.removeEventListener("mouseover",s)},d=function(){v()},s=function(){v(),d=r()};return null===(n=null===window||void 0===window?void 0:window.document)||void 0===n||n.addEventListener("scroll",s),null===(i=null===window||void 0===window?void 0:window.document)||void 0===i||i.addEventListener("mouseover",s),d}return r()}),[w,l,o,c,e,u])}},,function(n,e,o){"use strict";o.r(e),function(n){var e=o(2);o.p=Object(e.getPublicPath)("vtex.on-view@1.0.0");var t=Object(e.register)((function(){return o(3)}),n,"vtex.on-view@1.0.0","vtex.on-view@1.x","useOnView");t.renderHotReload,t.setupHMR}.call(this,o(4)(n))}],[[5,"common"]]]); },function(){ !function(e){function n(n){for(var r,a,c=n[0],u=n[1],l=n[2],p=0,s=[];p<c.length;p++)a=c[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(d&&d(n);s.length;)s.shift()();return i.push.apply(i,l||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],r=!0,c=1;c<t.length;c++){var u=t[c];0!==o[u]&&(r=!1)}r&&(i.splice(n--,1),e=a(a.s=t[0]))}return e}var r={},o={common:0},i=[];function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=r,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)a.d(t,r,function(n){return e[n]}.bind(null,r));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="";var c=window.webpackJsonppilatos21_head_segmentify_0_0_3=window.webpackJsonppilatos21_head_segmentify_0_0_3||[],u=c.push.bind(c);c.push=n,c=c.slice();for(var l=0;l<c.length;l++)n(c[l]);var d=u;t()}([,function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getPublicPath=n.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},n.register=function(e,n,t,i,a){var c="".concat(t,"/").concat(a),u="".concat(i,"/").concat(a),l=function(){return function(e,n){try{var t=e();return t.__esModule?t.default:t.default||t}catch(e){throw new Error("An error happened while requiring the app ".concat(n,", please check your app's code.\\n").concat(e.stack))}}(e,c)};if(window[r]&&window[r].registerComponent){var d=!!window.__RENDER_LAZY__;window[r].registerComponent(n,d?l:l(),t,a,d)}else{var p=l();window[r]&&window[r].withHMR?window[o][c]=window[o][u]=window[r].withHMR(n,p):window[o][c]=window[o][u]=p}return{}},n.getPublicPath=function(e){var n=window.__hostname__,t="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(n=__RUNTIME__.assetServerPublishedHost||window.location.hostname,t=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+n+t+"".concat(e,"/public/react/")}},,function(e,n){e.exports=function(e){if(!e.webpackPolyfill){var n=Object.create(e);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}}]); },function(){ (window.webpackJsonppilatos21_head_segmentify_0_0_3=window.webpackJsonppilatos21_head_segmentify_0_0_3||[]).push([["SegmentifyHead"],[function(e,t){e.exports=React},,function(e,t){e.exports=__RENDER_8_RUNTIME__},,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("pilatos21.head-segmentify@0.0.3");var a=Object(t.register)((function(){return n(7)}),e,"pilatos21.head-segmentify@0.0.3","pilatos21.head-segmentify@0.x","SegmentifyHead");a.renderHotReload,a.setupHMR}.call(this,n(3)(e))},function(e,t,n){"use strict";n.r(t);var a=n(0),s=n.n(a),c=n(2);t.default=function(){return"vtex.store@2.x:store.custom#prueba-head-segmentify"!==Object(c.useRuntime)().page?null:s.a.createElement(s.a.Fragment,null,s.a.createElement(c.Helmet,null,s.a.createElement("link",{rel:"stylesheet",href:"//cdn.segmentify.com/20818070-a3ae-474a-bf22-2e32619ecefb/search.css"}),s.a.createElement("script",{src:"//cdn.segmentify.com/20818070-a3ae-474a-bf22-2e32619ecefb/search.js"})))}}],[[6,"common"]]]); },function(){ !function(e){function t(t){for(var r,a,u=t[0],c=t[1],l=t[2],d=0,s=[];d<u.length;d++)a=u[d],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(f&&f(t);s.length;)s.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,u=1;u<n.length;u++){var c=n[u];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={common:0},i=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var u=window.webpackJsonppilatos21_smallcomponents_0_0_6=window.webpackJsonppilatos21_smallcomponents_0_0_6||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var l=0;l<u.length;l++)t(u[l]);var f=c;n()}({1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},t.register=function(e,t,n,i,a){var u="".concat(n,"/").concat(a),c="".concat(i,"/").concat(a),l=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,u)};if(window[r]&&window[r].registerComponent){var f=!!window.__RENDER_LAZY__;window[r].registerComponent(t,f?l:l(),n,a,f)}else{var d=l();window[r]&&window[r].withHMR?window[o][u]=window[o][c]=window[r].withHMR(t,d):window[o][u]=window[o][c]=d}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},3:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},8:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(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,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.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)?r(e,t):void 0}}(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.")}()}n.d(t,"a",(function(){return o}))}}); },function(){ (window.webpackJsonppilatos21_smallcomponents_0_0_6=window.webpackJsonppilatos21_smallcomponents_0_0_6||[]).push([["SegmentifyObjects"],[function(e,t){e.exports=React},,,,,,,function(e,t){e.exports=__RENDER_8_RUNTIME__},,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("pilatos21.smallcomponents@0.0.6");var o=Object(t.register)((function(){return n(11)}),e,"pilatos21.smallcomponents@0.0.6","pilatos21.smallcomponents@0.x","SegmentifyObjects");o.renderHotReload,o.setupHMR}.call(this,n(3)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),s=n.n(o),c=n(7);t.default=function(){var e=Object(c.useRuntime)();return console.log("esto es renderr",e.page,e),Object(o.useEffect)((function(){setTimeout((function(){var t=e.page;t.includes("category")?window.segPagetype=[{pagetype:"category"}]:t.includes("home")?window.segPagetype=[{pagetype:"home"}]:t.includes("search")&&(window.segPagetype=[{pagetype:"search result"}])}),1e3)}),[]),s.a.createElement(o.Fragment,null)}}],[[10,"common"]]]); },function(){ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="__RENDER_8_RUNTIME__",i="__RENDER_8_COMPONENTS__",o="__RENDER_LAZY__",u=!("undefined"==typeof window||!window.document);u&&!window.global&&(window.global=window),window[i]=window[i]||{},t.register=function(e,t,n,u,c){var a="".concat(n,"/").concat(c),l="".concat(u,"/").concat(c),d=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,a)};if(window[r]&&window[r].registerComponent){var s=!!window[o];window[r].registerComponent(t,s?d:d(),n,c,s)}else{var f=d();window[r]&&window[r].withHMR?window[i][a]=window[i][l]=window[r].withHMR(t,f):window[i][a]=window[i][l]=f}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return u&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},function(e,t){e.exports=React},function(e,t,n){"use strict";n.r(t),function(e){var t=n(0);n.p=Object(t.getPublicPath)("vtex.visibility-layout@0.2.1");var r=Object(t.register)(function(){return n(4)},e,"vtex.visibility-layout@0.2.1","vtex.visibility-layout@0.x","Experimental__VisibilityLayout");r.renderHotReload,r.setupHMR}.call(this,n(3)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=function(e){var t=e.visible,n=void 0===t||t,o=e.children;return!1===n?null:i.a.createElement(r.Fragment,null,o)};o.schema={title:"admin/editor.visibilityLayout.title"},t.default=o}]); },function(){ !function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(t,e){t.exports=React},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",u=!("undefined"==typeof window||!window.document);u&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,r,u,i){var c="".concat(r,"/").concat(i),a="".concat(u,"/").concat(i),l=function(){return function(t,e){try{var r=t();return r.__esModule?r.default:r.default||r}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,c)};if(window[n]&&window[n].registerComponent){var d=!!window.__RENDER_LAZY__;window[n].registerComponent(e,d?l:l(),r,i,d)}else{var f=l();window[n]&&window[n].withHMR?window[o][c]=window[o][a]=window[n].withHMR(e,f):window[o][c]=window[o][a]=f}return{}},e.getPublicPath=function(t){var e=window.__hostname__,r="/_v/public/assets/v1/published/";return u&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,r=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+r+"".concat(t,"/public/react/")}},function(t,e,r){"use strict";r.r(e),function(t){var e=r(1);r.p=Object(e.getPublicPath)("vtex.product-group-context@0.2.0");var n=Object(e.register)((function(){return r(4)}),t,"vtex.product-group-context@0.2.0","vtex.product-group-context@0.x","ProductGroupContext");n.renderHotReload,n.setupHMR}.call(this,r(3)(t))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){o=!0,u=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t,e)||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.")}()}r.r(e),r.d(e,"ProductGroupProvider",(function(){return f})),r.d(e,"useProductGroup",(function(){return s}));var c=r(0),a=r.n(c),l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r},d=a.a.createContext(void 0),f=function(t){var e=t.children,r=i(Object(c.useState)({}),2),u=r[0],f=r[1],s=Object(c.useCallback)((function(t,e){return f((function(r){return Object.assign(Object.assign({},r),o({},e.itemId,{product:t,selectedItem:e,quantity:r[e.itemId]?r[e.itemId].quantity+1:1}))})),function(){f((function(t){var r=e.itemId,u=t[r],i=l(t,["symbol"===n(r)?r:r+""]);return u.quantity>1?Object.assign(Object.assign({},i),o({},e.itemId,{selectedItem:u.selectedItem,product:u.product,quantity:u.quantity-1})):i}))}}),[]),p=Object(c.useMemo)((function(){return{items:Object.values(u),addItemToGroup:s}}),[u,s]);return a.a.createElement(d.Provider,{value:p},e)},s=function(){return Object(c.useContext)(d)};e.default={ProductGroupProvider:f,useProductGroup:s}}]); },function(){ !function(t){function e(e){for(var r,u,c=e[0],a=e[1],f=e[2],s=0,p=[];s<c.length;s++)u=c[s],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r]);for(l&&l(e);p.length;)p.shift()();return i.push.apply(i,f||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],r=!0,c=1;c<n.length;c++){var a=n[c];0!==o[a]&&(r=!1)}r&&(i.splice(e--,1),t=u(u.s=n[0]))}return t}var r={},o={common:0},i=[];function u(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n=o[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=r);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,u.nc&&c.setAttribute("nonce",u.nc),c.src=function(t){return u.p+""+({}[t]||t)+".min.js"}(t);var a=new Error;i=function(e){c.onerror=c.onload=null,clearTimeout(f);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,n[1](a)}o[t]=void 0}};var f=setTimeout((function(){i({type:"timeout",target:c})}),12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(e)},u.m=t,u.c=r,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)u.d(n,r,function(e){return t[e]}.bind(null,r));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u.oe=function(t){throw console.error(t),t};var c=window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[],a=c.push.bind(c);c.push=e,c=c.slice();for(var f=0;f<c.length;f++)e(c[f]);var l=a;n()}({10:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},16:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},17:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(37);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(r.a)(t,e)}},18:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}));var o=n(23);function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?Object(o.a)(t):e}},20:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},23:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},24:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))},25:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},3:function(t,e,n){t.exports=n(21)},32:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(39);var o=n(41);function i(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},37:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return r}))},39:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(41);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||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.")}()}},41:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(39);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},5:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var u=t.apply(e,n);function c(t){r(u,o,i,c,a,"next",t)}function a(t){r(u,o,i,c,a,"throw",t)}c(void 0)}))}}n.d(e,"a",(function(){return o}))},6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPublicPath=e.register=void 0;var r="__RENDER_8_RUNTIME__",o="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[o]=window[o]||{},e.register=function(t,e,n,i,u){var c="".concat(n,"/").concat(u),a="".concat(i,"/").concat(u),f=function(){return function(t,e){try{var n=t();return n.__esModule?n.default:n.default||n}catch(t){throw new Error("An error happened while requiring the app ".concat(e,", please check your app's code.\\n").concat(t.stack))}}(t,c)};if(window[r]&&window[r].registerComponent){var l=!!window.__RENDER_LAZY__;window[r].registerComponent(e,l?f:f(),n,u,l)}else{var s=f();window[r]&&window[r].withHMR?window[o][c]=window[o][a]=window[r].withHMR(e,s):window[o][c]=window[o][a]=s}return{}},e.getPublicPath=function(t){var e=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(e=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+e+n+"".concat(t,"/public/react/")}},73:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(10),o=n(37);function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function u(t,e,n){return(u=i()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&Object(o.a)(i,n.prototype),i}).apply(null,arguments)}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return u(t,arguments,Object(r.a)(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Object(o.a)(i,t)})(t)}}}); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["AuthServiceLazy"],{0:function(e,n){e.exports=React},15:function(e,n){e.exports=PropTypes},21:function(e,n){e.exports=regeneratorRuntime},79:function(e,n,t){"use strict";t.r(n),function(e){var n=t(6);t.p=Object(n.getPublicPath)("vtex.react-vtexid@4.67.1");var r=Object(n.register)((function(){return t(80)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","AuthServiceLazy");r.renderHotReload,r.setupHMR}.call(this,t(20)(e))},80:function(e,n,t){"use strict";t.r(n);var r=t(0),i=t.n(r);n.default={GetIdentityProviders:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(6)]).then(t.bind(null,42))})),GetLoginPreference:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(7)]).then(t.bind(null,43))})),LoginWithAccessKey:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(8)]).then(t.bind(null,44))})),LoginWithPassword:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(4)]).then(t.bind(null,58))})),Logout:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(17)]).then(t.bind(null,45))})),OAuthPopup:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(9)]).then(t.bind(null,46))})),OAuthRedirect:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(10)]).then(t.bind(null,47))})),RedirectAfterLogin:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(18)]).then(t.bind(null,48))})),RedirectLogout:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(19)]).then(t.bind(null,49))})),RegisterMfaAuthenticator:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(11)]).then(t.bind(null,50))})),RegisterMfaPhone:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(12)]).then(t.bind(null,51))})),ResendMfaToken:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(13)]).then(t.bind(null,52))})),SendAccessKey:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(14)]).then(t.bind(null,53))})),SetPassword:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(15)]).then(t.bind(null,54))})),SetPasswordAfterLogin:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(20)]).then(t.bind(null,55))})),StartLoginSession:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(21)]).then(t.bind(null,56))})),ValidateMfa:i.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(16)]).then(t.bind(null,57))}))}},9:function(e,n){e.exports=__RENDER_8_RUNTIME__}},[[79,"common"]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["AuthStateLazy"],{0:function(e,n){e.exports=React},21:function(e,n){e.exports=regeneratorRuntime},82:function(e,n,t){"use strict";t.r(n),function(e){var n=t(6);t.p=Object(n.getPublicPath)("vtex.react-vtexid@4.67.1");var r=Object(n.register)((function(){return t(83)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","AuthStateLazy");r.renderHotReload,r.setupHMR}.call(this,t(20)(e))},83:function(e,n,t){"use strict";t.r(n);var r=t(0),a=t.n(r),l=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(3)]).then(t.bind(null,69))}));l.CurrentPassword=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(22)]).then(t.bind(null,59))})),l.Email=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(23)]).then(t.bind(null,60))})),l.IdentityProviders=a.a.lazy((function(){return t.e(24).then(t.bind(null,61))})),l.Login=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(25)]).then(t.bind(null,62))})),l.Password=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(26)]).then(t.bind(null,63))})),l.PhoneNumber=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(27)]).then(t.bind(null,64))})),l.Recaptcha=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(28)]).then(t.bind(null,65))})),l.Token=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(29)]).then(t.bind(null,66))})),l.UserAccounts=a.a.lazy((function(){return Promise.all([t.e(1),t.e(0),t.e(30)]).then(t.bind(null,67))})),n.default=l},9:function(e,n){e.exports=__RENDER_8_RUNTIME__}},[[82,"common"]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["RecaptchaProvider"],{0:function(e,t){e.exports=React},21:function(e,t){e.exports=regeneratorRuntime},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(3),c=n.n(r),a=n(5),i=n(0),o=n.n(i),u=n(29),s=n(9),d=Object(i.createContext)(null),p=function(){var e=function(){},t=function(){};return{promise:new Promise((function(n,r){e=n,t=r})),res:e,rej:t}},l=function(e){var t=e.children,n=Object(u.useIntl)().locale,r=Object(i.useMemo)((function(){return p()}),[]);return Object(i.useEffect)((function(){var e;void 0!==window.grecaptcha&&"enterprise"in window.grecaptcha?window.grecaptcha.enterprise.ready((function(){r.res()})):(window.___grecaptcha_cfg=Object.assign({fns:[]},window.___grecaptcha_cfg),null===(e=window.___grecaptcha_cfg.fns)||void 0===e||e.push((function(){r.res()})))}),[r]),o.a.createElement(d.Provider,{value:{recaptchaReady:r.promise}},o.a.createElement(s.Helmet,null,o.a.createElement("script",{src:"https://www.google.com/recaptcha/enterprise.js?render=".concat("6LdV7CIpAAAAAPUrHXWlFArQ5hSiNQJk6Ja-vcYM","&hl=").concat(n),async:!0}),o.a.createElement("script",null,"\n const style = document.createElement('style')\n\n style.textContent = '.grecaptcha-badge {visibility: hidden; }'\n document.head.appendChild(style)\n ")),t)},f=function(){var e=Object(i.useContext)(d);if(!e)throw new Error("Context must be used within Provider");var t=e.recaptchaReady;return{getNewToken:Object(i.useCallback)(function(){var e=Object(a.a)(c.a.mark((function e(n){var r,a,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Promise((function(e,t){return setTimeout((function(){return t(new Error("`grecaptcha?.enterprise.ready()` timed out"))}),0)})),e.next=3,Promise.race([t,i]);case 3:return e.abrupt("return",null!==(a=null===(r=window.grecaptcha)||void 0===r?void 0:r.enterprise.execute("6LdV7CIpAAAAAPUrHXWlFArQ5hSiNQJk6Ja-vcYM",{action:n}))&&void 0!==a?a:"");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t])}}},29:function(e,t){e.exports=ReactIntl},84:function(e,t,n){"use strict";n.r(t),function(e){var t=n(6);n.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var r=Object(t.register)((function(){return n(85)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","RecaptchaProvider");r.renderHotReload,r.setupHMR}.call(this,n(20)(e))},85:function(e,t,n){"use strict";n.r(t);var r=n(28);n.d(t,"default",(function(){return r.a}))},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[84,"common"]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["getAbsReturnUrl"],{19:function(t,n,e){"use strict";e.d(n,"c",(function(){return r})),e.d(n,"b",(function(){return a}));var c=function(t){return Object.keys(t).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(t[n]||""))})).join("&")},r=__RUNTIME__&&__RUNTIME__.rootPath||"",a=function(){var t=window&&window.location&&window.location.search,n=new URLSearchParams(t).get("__bindingAddress");return n?"__bindingAddress=".concat(n):""},o="".concat(r,"/api/vtexid"),i={startLogin:function(){return"".concat(o,"/pub/authentication/startlogin")},startCorporateLogin:function(t){var n=t.buyerOrg,e=t.returnUrl,c=new URLSearchParams({buyerOrganization:n,returnUrl:e});return"".concat(o,"/corporate-login/start?").concat(c)},getIdentityProviders:function(t,n){return"".concat(o,"/pub/authentication/providers?scope=").concat(n,"&accountName=").concat(t)},getLoginPreference:function(t,n){var e=c({scope:t,email:n});return"".concat(o,"/pub/authentication/userpreference?").concat(e)},redirect:function(t){var n=t?c({returnUrl:t}):"";return"".concat(o,"/pub/authentication/redirect?").concat(n)},getSamlRedirectUrl:function(t){return"".concat(o,"/pub/saml/").concat(t,"/redirect")},getOAuthRedirectUrl:function(t){var n=t.providerName,e=t.errorFallbackUrl;return"".concat(o,"/pub/authentication/oauth/redirect?").concat(c({providerName:n,errorFallbackUrl:e}))},getOAuthCallbackUrl:function(t){return"".concat(o,"/oauth/finish?popup=").concat(!!t)},reauthenticateUser:function(t){return"".concat(o,"/refreshtoken/").concat(t)},setPassword:function(){return"".concat(o,"/pub/authentication/classic/setpassword?expireSessions=true")},sendEmailVerification:function(t){return"".concat(o,"/pub/authentication/accesskey/send").concat(t?"?deliveryMethod=".concat(t):"")},validateToken:function(t){return"".concat(o,"/pub/authentication/accesskey/validate?setPreference=").concat(!!t)},validatePassword:function(){return"".concat(o,"/pub/authentication/classic/validate")},validatePasskey:function(){return"".concat(o,"/pub/authentication/passkey/validate")},startMfaSetup:function(){return"".concat(o,"/pvt/mfa/start")},validateMfa:function(){return"".concat(o,"/pub/mfa/validate")},registerMfaPhoneNumber:function(){return"".concat(o,"/pub/mfa/registerphone")},registerMfaAuthenticator:function(){return"".concat(o,"/pub/mfa/registerAuthenticator")},resendMfa:function(){return"".concat(o,"/pub/mfa/resend")},setPasswordAfterLogin:function(t,n){return"".concat(o,"/user/password/quickset?scope=").concat(t,"&setPreference=").concat(!!n)},logout:function(t,n){var e=c({scope:t,returnUrl:n});return"".concat(o,"/pub/logout?").concat(e)},oAuthErrorFallback:function(){return"".concat(o,"/oauth/error")},userInfo:function(t){return"".concat(o,"/user/info?scope=").concat(t)},getPhoneNumberByEmail:function(t){var n=new URLSearchParams({email:t}).toString();return"".concat(o,"/pub/authentication/accesskey/telephone?").concat(n)}};n.a=i},33:function(t,n,e){"use strict";var c=e(19);n.a=function(t){var n,e,r=Object(c.b)(),a=r?"?".concat(r):"",o=""!==c.c?c.c:"/";return new URL(decodeURIComponent(t||"".concat(o).concat(a)),null===(n=window)||void 0===n||null===(e=n.location)||void 0===e?void 0:e.href).href}},86:function(t,n,e){"use strict";e.r(n),function(t){var n=e(6);e.p=Object(n.getPublicPath)("vtex.react-vtexid@4.67.1");var c=Object(n.register)((function(){return e(87)}),t,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","getAbsReturnUrl");c.renderHotReload,c.setupHMR}.call(this,e(20)(t))},87:function(t,n,e){"use strict";e.r(n);var c=e(33);e.d(n,"default",(function(){return c.a}))}},[[86,"common"]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([[1],{31:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return w}));const n="function"==typeof e,i=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),o=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(i),a=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),s="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),f=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),c=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),l=e=>{let t,r,n,o,a="";const u=e.length%3;for(let u=0;u<e.length;){if((r=e.charCodeAt(u++))>255||(n=e.charCodeAt(u++))>255||(o=e.charCodeAt(u++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,a+=i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}return u?a.slice(0,u-3)+"===".substring(u):a},h="function"==typeof btoa?e=>btoa(e):n?t=>e.from(t,"binary").toString("base64"):l,d=n?t=>e.from(t).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(u.apply(null,e.subarray(r,r+4096)));return h(t.join(""))},g=(e,t=!1)=>t?f(d(e)):d(e),p=e=>{if(e=e.replace(/\s+/g,""),!a.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,n,i="";for(let a=0;a<e.length;)t=o[e.charAt(a++)]<<18|o[e.charAt(a++)]<<12|(r=o[e.charAt(a++)])<<6|(n=o[e.charAt(a++)]),i+=64===r?u(t>>16&255):64===n?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return i},m="function"==typeof atob?e=>atob(c(e)):n?t=>e.from(t,"base64").toString("binary"):p,y=n?t=>s(e.from(t,"base64")):e=>s(m(e).split("").map(e=>e.charCodeAt(0))),w=e=>y(v(e)),v=e=>c(e.replace(/[-_]/g,e=>"-"==e?"+":"/"))}).call(this,r(75).Buffer)},68:function(e,t,r){!function(t,r,n){"use strict";"undefined"!=typeof window&&"function"==typeof define&&define.amd?define(n):e.exports?e.exports=n():r.exports?r.exports=n():r.Fingerprint2=n()}(0,this,(function(){"use strict";var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},r=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},n=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},i=function(e,t){return[e[0]^t[0],e[1]^t[1]]},o=function(e){return e=i(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=i(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=i(e,[0,e[0]>>>1])},a=function(a,u){u=u||0;for(var s=(a=a||"").length%16,f=a.length-s,c=[0,u],l=[0,u],h=[0,0],d=[0,0],g=[2277735313,289559509],p=[1291169091,658871167],m=0;m<f;m+=16)h=[255&a.charCodeAt(m+4)|(255&a.charCodeAt(m+5))<<8|(255&a.charCodeAt(m+6))<<16|(255&a.charCodeAt(m+7))<<24,255&a.charCodeAt(m)|(255&a.charCodeAt(m+1))<<8|(255&a.charCodeAt(m+2))<<16|(255&a.charCodeAt(m+3))<<24],d=[255&a.charCodeAt(m+12)|(255&a.charCodeAt(m+13))<<8|(255&a.charCodeAt(m+14))<<16|(255&a.charCodeAt(m+15))<<24,255&a.charCodeAt(m+8)|(255&a.charCodeAt(m+9))<<8|(255&a.charCodeAt(m+10))<<16|(255&a.charCodeAt(m+11))<<24],h=t(h,g),h=r(h,31),h=t(h,p),c=i(c,h),c=r(c,27),c=e(c,l),c=e(t(c,[0,5]),[0,1390208809]),d=t(d,p),d=r(d,33),d=t(d,g),l=i(l,d),l=r(l,31),l=e(l,c),l=e(t(l,[0,5]),[0,944331445]);switch(h=[0,0],d=[0,0],s){case 15:d=i(d,n([0,a.charCodeAt(m+14)],48));case 14:d=i(d,n([0,a.charCodeAt(m+13)],40));case 13:d=i(d,n([0,a.charCodeAt(m+12)],32));case 12:d=i(d,n([0,a.charCodeAt(m+11)],24));case 11:d=i(d,n([0,a.charCodeAt(m+10)],16));case 10:d=i(d,n([0,a.charCodeAt(m+9)],8));case 9:d=i(d,[0,a.charCodeAt(m+8)]),d=t(d,p),d=r(d,33),d=t(d,g),l=i(l,d);case 8:h=i(h,n([0,a.charCodeAt(m+7)],56));case 7:h=i(h,n([0,a.charCodeAt(m+6)],48));case 6:h=i(h,n([0,a.charCodeAt(m+5)],40));case 5:h=i(h,n([0,a.charCodeAt(m+4)],32));case 4:h=i(h,n([0,a.charCodeAt(m+3)],24));case 3:h=i(h,n([0,a.charCodeAt(m+2)],16));case 2:h=i(h,n([0,a.charCodeAt(m+1)],8));case 1:h=i(h,[0,a.charCodeAt(m)]),h=t(h,g),h=r(h,31),h=t(h,p),c=i(c,h)}return c=i(c,[0,a.length]),l=i(l,[0,a.length]),c=e(c,l),l=e(l,c),c=o(c),l=o(l),c=e(c,l),l=e(l,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)},u={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r<n;r++)t(e[r],r,e);else for(var i in e)e.hasOwnProperty(i)&&t(e[i],i,e)},f=function(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,n,i){r.push(t(e,n,i))})),r)},c=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},l=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},h=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},d=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],r=0,n=navigator.plugins.length;r<n;r++)navigator.plugins[r]&&t.push(navigator.plugins[r]);return p(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),f(t,(function(e){var t=f(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},g=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=f(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(d(e))),t},p=function(e){for(var t=!1,r=0,n=e.plugins.sortPluginsFor.length;r<n;r++){var i=e.plugins.sortPluginsFor[r];if(navigator.userAgent.match(i)){t=!0;break}}return t},m=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},y=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},w=function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}},v=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},T=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},A=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},E=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},S=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},B=function(e){var t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",e.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),r.toDataURL&&t.push("canvas fp:"+r.toDataURL()),t},C=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=N()))return null;var r=[],n=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,n);var i=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,i,e.STATIC_DRAW),n.itemSize=3,n.numItems=3;var o=e.createProgram(),a=e.createShader(e.VERTEX_SHADER);e.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(a);var u=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(u,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(u),e.attachShader(o,a),e.attachShader(o,u),e.linkProgram(o),e.useProgram(o),o.vertexPosAttrib=e.getAttribLocation(o,"attrVertex"),o.offsetUniform=e.getUniformLocation(o,"uniformOffset"),e.enableVertexAttribArray(o.vertexPosArray),e.vertexAttribPointer(o.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(o.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,n.numItems);try{r.push(e.canvas.toDataURL())}catch(e){}r.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),r.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),r.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),r.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),r.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var r=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===r&&(r=2),r}return null}(e)),r.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+e.getParameter(e.RED_BITS)),r.push("webgl renderer:"+e.getParameter(e.RENDERER)),r.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),r.push("webgl vendor:"+e.getParameter(e.VENDOR)),r.push("webgl version:"+e.getParameter(e.VERSION));try{var f=e.getExtension("WEBGL_debug_renderer_info");f&&(r.push("webgl unmasked vendor:"+e.getParameter(f.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+e.getParameter(f.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(n){s(["HIGH","MEDIUM","LOW"],(function(i){s(["precision","rangeMin","rangeMax"],(function(o){var a=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[i+"_"+t])[o];"precision"!==o&&(o="precision "+o);var u=["webgl ",n.toLowerCase()," shader ",i.toLowerCase()," ",t.toLowerCase()," ",o,":",a].join("");r.push(u)}))}))}))})),r):r},b=function(){try{var e=N(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},R=function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},P=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},_=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},M=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.oscpu,n=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if(void 0!==r){if((r=r.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(r.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(r.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===r.indexOf("win")&&-1===r.indexOf("linux")&&-1===r.indexOf("mac"))!=("Other"===e))return!0}return n.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)))},x=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(("Chrome"===(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==r)return!0;var n,i=eval.toString().length;if(37===i&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===i&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===i&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},O=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},I=function(){if(!O())return!1;var e=N();return!!window.WebGLRenderingContext&&!!e},L=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},D=function(){return void 0!==window.swfobject},k=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(e,t){window.___fp_swf_loaded=function(t){e(t)};var r=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var n={onReady:"___fp_swf_loaded"};window.swfobject.embedSWF(t.fonts.swfPath,r,"1","1","9.0.0",!1,n,{allowScriptAccess:"always",menu:"false"},{})},N=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},F=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(v(t))}},{key:"screenResolution",getData:function(e,t){e(l(t))}},{key:"availableScreenResolution",getData:function(e,t){e(h(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(m(t))}},{key:"localStorage",getData:function(e,t){e(y(t))}},{key:"indexedDb",getData:function(e,t){e(w(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(T(t))}},{key:"platform",getData:function(e,t){e(A(t))}},{key:"doNotTrack",getData:function(e,t){e(E(t))}},{key:"plugins",getData:function(e,t){L()?t.plugins.excludeIE?e(t.EXCLUDED):e(g(t)):e(d(t))}},{key:"canvas",getData:function(e,t){O()?e(B(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){I()?e(C()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){I()?e(b()):e()}},{key:"adBlock",getData:function(e){e(R())}},{key:"hasLiedLanguages",getData:function(e){e(P())}},{key:"hasLiedResolution",getData:function(e){e(_())}},{key:"hasLiedOs",getData:function(e){e(M())}},{key:"hasLiedBrowser",getData:function(e){e(x())}},{key:"touchSupport",getData:function(e){e(S())}},{key:"fonts",getData:function(e,t){var r=["monospace","sans-serif","serif"],n=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){n=n.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}n=(n=n.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return n.indexOf(e)===t}));var i=document.getElementsByTagName("body")[0],o=document.createElement("div"),a=document.createElement("div"),u={},s={},f=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e,t){var r=f();return r.style.fontFamily="'"+e+"',"+t,r},l=function(e){for(var t=!1,n=0;n<r.length;n++)if(t=e[n].offsetWidth!==u[r[n]]||e[n].offsetHeight!==s[r[n]])return t;return t},h=function(){for(var e=[],t=0,n=r.length;t<n;t++){var i=f();i.style.fontFamily=r[t],o.appendChild(i),e.push(i)}return e}();i.appendChild(o);for(var d=0,g=r.length;d<g;d++)u[r[d]]=h[d].offsetWidth,s[r[d]]=h[d].offsetHeight;var p=function(){for(var e={},t=0,i=n.length;t<i;t++){for(var o=[],u=0,s=r.length;u<s;u++){var f=c(n[t],r[u]);a.appendChild(f),o.push(f)}e[n[t]]=o}return e}();i.appendChild(a);for(var m=[],y=0,w=n.length;y<w;y++)l(p[n[y]])&&m.push(n[y]);i.removeChild(a),i.removeChild(o),e(m)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return D()?k()?t.fonts.swfPath?void U((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var r=t.audio;if(r.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var n=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==n)return e(t.NOT_AVAILABLE);var i=new n(1,44100,44100),o=i.createOscillator();o.type="triangle",o.frequency.setValueAtTime(1e4,i.currentTime);var a=i.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],i.currentTime)})),o.connect(a),a.connect(i.destination),o.start(0),i.startRendering();var u=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),i.oncomplete=function(){},i=null,e("audioTimeout")}),r.timeout);i.oncomplete=function(t){var r;try{clearTimeout(u),r=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),o.disconnect(),a.disconnect()}catch(t){return void e(t)}e(r)}}},{key:"enumerateDevices",getData:function(e,t){if(!c())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],G=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return G.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var r,n;for(n in t)null==(r=t[n])||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}(e,u),e.components=e.extraComponents.concat(F);var r={data:[],addPreprocessedComponent:function(t,n){"function"==typeof e.preprocessor&&(n=e.preprocessor(t,n)),r.data.push({key:t,value:n})}},n=-1,i=function(o){if((n+=1)>=e.components.length)t(r.data);else{var a=e.components[n];if(e.excludes[a.key])i(!1);else{if(!o&&a.pauseBefore)return n-=1,void setTimeout((function(){i(!0)}),1);try{a.getData((function(e){r.addPreprocessedComponent(a.key,e),i(!1)}),e)}catch(e){r.addPreprocessedComponent(a.key,String(e)),i(!1)}}}};i(!1)},G.getPromise=function(e){return new Promise((function(t,r){G.get(e,t)}))},G.getV18=function(e,t){return null==t&&(t=e,e={}),G.get(e,(function(r){for(var n=[],i=0;i<r.length;i++){var o=r[i];if(o.value===(e.NOT_AVAILABLE||"not available"))n.push({key:o.key,value:"unknown"});else if("plugins"===o.key)n.push({key:"plugins",value:f(o.value,(function(e){var t=f(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(o.key))n.push({key:o.key,value:o.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(o.key)){if(!o.value)continue;n.push({key:o.key,value:1})}else o.value?n.push(o.value.join?{key:o.key,value:o.value.join(";")}:o):n.push({key:o.key,value:o.value})}var u=a(f(n,(function(e){return e.value})).join("~~~"),31);t(u,n)}))},G.x64hash128=a,G.VERSION="2.1.0",G}))},75:function(e,t,r){"use strict";var n=r(76),i=r(77),o=r(78);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return f(this,e,t,r)}function f(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);s.TYPED_ARRAY_SUPPORT?(e=t).__proto__=s.prototype:e=h(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|g(t,r),i=(e=u(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(s.isBuffer(t)){var r=0|d(t.length);return 0===(e=u(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?u(e,0):h(e,t);if("Buffer"===t.type&&o(t.data))return h(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t){if(c(t),e=u(e,t<0?0:0|d(t)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function h(e,t){var r=t.length<0?0:0|d(t.length);e=u(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function g(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return G(e).length;t=(""+t).toLowerCase(),n=!0}}function p(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return R(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,r,n,i){var o,a=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,r/=2}function f(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<u;o++)if(f(e,o)===f(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===s)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+s>u&&(r=u-s),o=r;o>=0;o--){for(var l=!0,h=0;h<s;h++)if(f(e,o+h)!==f(t,h)){l=!1;break}if(l)return o}return-1}function v(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[r+a]=u}return a}function T(e,t,r,n){return H(G(t,e.length-r),e,r,n)}function A(e,t,r,n){return H(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return A(e,t,r,n)}function S(e,t,r,n){return H(V(t),e,r,n)}function B(e,t,r,n){return H(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,u,s,f=e[i],c=null,l=f>239?4:f>223?3:f>191?2:1;if(i+l<=r)switch(l){case 1:f<128&&(c=f);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&f)<<6|63&o)>127&&(c=s);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(s=(15&f)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:o=e[i+1],a=e[i+2],u=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&u)&&(s=(15&f)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(c=s)}null===c?(c=65533,l=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=l}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return f(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return function(e,t,r,n){return c(t),t<=0?u(e,t):void 0!==r?"string"==typeof n?u(e,t).fill(r,n):u(e,t).fill(r):u(e,t)}(null,e,t,r)},s.allocUnsafe=function(e){return l(null,e)},s.allocUnsafeSlow=function(e){return l(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},s.byteLength=g,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?b(this,0,e):p.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,r,n,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),u=Math.min(o,a),f=this.slice(n,i),c=e.slice(t,r),l=0;l<u;++l)if(f[l]!==c[l]){o=f[l],a=c[l];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return A(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function _(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=F(e[o]);return i}function M(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function x(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,r,n,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function I(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function D(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(e,t,r,n,o){return o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,o){return o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}s.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=s.prototype;else{var i=t-e;r=new s(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},s.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||O(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||O(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);O(this,e,t,r,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===u&&0!==this[t+o-1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);O(this,e,t,r,i-1,-i)}var o=r-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=s.isBuffer(e)?e:G(new s(e,n).toString()),u=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%u]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function G(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}},76:function(e,t,r){"use strict";t.byteLength=function(e){var t=f(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=f(e),a=n[0],u=n[1],s=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),c=0,l=u>0?a-4:a;for(r=0;r<l;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=255&t;2===u&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,s[c++]=255&t);1===u&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,u=r-i;a<u;a+=16383)o.push(c(e,a,a+16383>u?u:a+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)n[u]=a[u],i[a.charCodeAt(u)]=u;function f(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,o,a=[],u=t;u<r;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},77:function(e,t){t.read=function(e,t,r,n,i){var o,a,u=8*i-n-1,s=(1<<u)-1,f=s>>1,c=-7,l=r?i-1:0,h=r?-1:1,d=e[t+l];for(l+=h,o=d&(1<<-c)-1,d>>=-c,c+=u;c>0;o=256*o+e[t+l],l+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+l],l+=h,c-=8);if(0===o)o=1-f;else{if(o===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=f}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,u,s,f=8*o-i-1,c=(1<<f)-1,l=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,g=n?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+l>=1?h/s:h*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=c?(u=0,a=c):a+l>=1?(u=(t*s-1)*Math.pow(2,i),a+=l):(u=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&u,d+=g,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;e[r+d]=255&a,d+=g,a/=256,f-=8);e[r+d-g]|=128*p}},78:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}}}]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([[2],{30:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(0);const r=()=>{};var c=(e,t,{onSuccess:a=r,onFailure:c=r,onFinish:u=r,autoRunArgs:l=null}={})=>{const[s,o]=Object(n.useState)(null),[i,b]=Object(n.useState)(null),[_,w]=Object(n.useState)(!!l),v=Object(n.useCallback)(e,t),j=Object(n.useCallback)(async(...e)=>{b(null),w(!0);try{const t=await v(...e);return o(t),b(null),a({value:t,args:e,retry:j}),t}catch(t){throw b(t),o(null),c({error:t,args:e,retry:j}),t}finally{w(!1),u({args:e,retry:j})}},[v,c,u,a]);return Object(n.useEffect)(()=>{l&&j(...l).catch(()=>{})},[l,j]),[j,{value:s,error:i,loading:_}]};Object(n.createContext)(null);Map;new Map}}]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([[0],{1:function(t,e,r){"use strict";r.d(e,"a",(function(){return d.a})),r.d(e,"b",(function(){return rt.a})),r.d(e,"c",(function(){return n})),r.d(e,"d",(function(){return a}));var n={};r.r(n),r.d(n,"startSession",(function(){return j})),r.d(n,"redirectCorporateLogin",(function(){return x})),r.d(n,"getIdentityProviders",(function(){return g})),r.d(n,"getLoginPreference",(function(){return k})),r.d(n,"withSession",(function(){return A})),r.d(n,"sendVerificationCode",(function(){return P})),r.d(n,"validateToken",(function(){return I})),r.d(n,"redirect",(function(){return R})),r.d(n,"redirectSaml",(function(){return S})),r.d(n,"redirectOAuth",(function(){return N})),r.d(n,"getOAuthRedirectUrl",(function(){return U})),r.d(n,"setPassword",(function(){return D})),r.d(n,"setPasswordAfterLogin",(function(){return T})),r.d(n,"validatePassword",(function(){return M})),r.d(n,"getAssertionOptions",(function(){return C})),r.d(n,"validatePasskey",(function(){return E})),r.d(n,"startMfaSetup",(function(){return L})),r.d(n,"withMfaSession",(function(){return F})),r.d(n,"validateMfa",(function(){return _})),r.d(n,"registerMfaPhoneNumber",(function(){return q})),r.d(n,"resendMfa",(function(){return z})),r.d(n,"registerMfaAuthenticator",(function(){return B})),r.d(n,"redirectLogout",(function(){return V})),r.d(n,"logout",(function(){return J})),r.d(n,"reauthenticateUser",(function(){return W})),r.d(n,"getInitialData",(function(){return K})),r.d(n,"getUserInfo",(function(){return Z})),r.d(n,"getPhoneNumberByEmail",(function(){return Y}));var a={};r.r(a),r.d(a,"validateEmail",(function(){return $})),r.d(a,"hasChar",(function(){return G})),r.d(a,"hasOnlyNumbers",(function(){return Q})),r.d(a,"validatePassword",(function(){return tt})),r.d(a,"validatePhone",(function(){return et}));r(36);var c=r(4),o=r(3),u=r.n(o),s=r(5),i=r(25),p=r(31),f=r(2),d=r(11),l=r(33),h=r(27),b=r(19);function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){Object(i.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y=function(t){var e=t.contentType,r=t.parentAppId,n=r?"".concat(r,"/"):"";return w(w({},e&&{"Content-Type":e}),{},{"vtex-id-ui-version":"".concat(n).concat("vtex.react-vtexid@4.67.1")})},O=function(t){var e=new FormData;return Object.keys(t).forEach((function(r){return e.append(r,t[r]||"")})),e},m=function(t){return(t.headers.get("Content-Type")||"").startsWith("application/json")?t.json():t.text()},j=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p,f,h,v,w;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.accountName,n=e.returnUrl,a=e.scope,c=e.user,o=e.fingerprint,s=e.useOAuthPopup,i=e.parentAppId,p=window&&window.location||{},f=p.href,h=Object(l.a)(n),v=new URL((u=void 0,u={isPopup:s}.isPopup,b.a.getOAuthCallbackUrl(u)),f),w=O({accountName:r,scope:a===d.a.Scopes.ADMIN?"":r,returnUrl:h,callbackUrl:v.href,user:c,fingerprint:o}),t.next=7,fetch(b.a.startLogin(),{method:"POST",body:w,headers:y({parentAppId:i})});case 7:if(t.sent.ok){t.next=10;break}throw{response:{}};case 10:case"end":return t.stop()}var u}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.returnUrl,n=e.buyerOrg,a=Object(l.a)(r),window.location.href=b.a.startCorporateLogin({returnUrl:a,buyerOrg:n});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),g=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.accountName,n=e.scopeName,a=e.parentAppId,c=n===d.a.Scopes.ADMIN?"":r,t.next=4,fetch(b.a.getIdentityProviders(r,c),{headers:y({parentAppId:a})});case 4:if((o=t.sent).ok){t.next=11;break}return t.next=8,m(o);case 8:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 11:if(200===o.status){t.next=13;break}throw new f.h;case 13:return t.abrupt("return",o.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.accountName,n=e.scopeName,a=e.email,c=e.parentAppId,o=n===d.a.Scopes.ADMIN?"":r,t.next=4,fetch(b.a.getLoginPreference(o,a),{headers:y({parentAppId:c})});case 4:if((s=t.sent).ok){t.next=11;break}return t.next=8,m(s);case 8:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 11:if(200===s.status){t.next=13;break}throw new f.h;case 13:return t.abrupt("return",s.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),A=function(t){var e=t.accountName,r=t.returnUrl,n=t.scope,a=t.user,c=t.fingerprint,o=t.useOAuthPopup,u=t.parentAppId;return function(t){return j({accountName:e,returnUrl:r,scope:n,user:a,fingerprint:c,useOAuthPopup:o,parentAppId:u}).then((function(){return t?t():null}))}},P=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.email,n=e.deliveryMethod,a=e.locale,c=e.recaptcha,o=e.recaptchaToken,s=e.parentAppId,i=O({email:r,locale:a,recaptcha:c,recaptchaToken:o,parentAppId:s}),t.next=4,fetch(b.a.sendEmailVerification(n),{method:"POST",body:i,headers:y({parentAppId:s})});case 4:if(429!==(p=t.sent).status){t.next=7;break}throw new f.f;case 7:if(401!==p.status){t.next=9;break}throw new f.a;case 9:if(p.ok){t.next=15;break}return t.next=12,m(p);case 12:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 15:return t.abrupt("return",p.json());case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.login,n=e.accesskey,a=e.recaptcha,c=e.setPreference,o=e.parentAppId,s=e.recaptchaToken,i=O({login:r,accesskey:n,recaptcha:a,recaptchaToken:s}),t.next=4,fetch(b.a.validateToken(c),{method:"POST",body:i,headers:y({parentAppId:o})});case 4:if(429!==(p=t.sent).status){t.next=7;break}throw new f.f;case 7:if(401!==p.status){t.next=9;break}throw new f.a;case 9:if(p.ok){t.next=16;break}return t.t0=p.status,t.next=13,m(p);case 13:throw t.t1=t.sent,t.t2={statusCode:t.t0,data:t.t1},{response:t.t2};case 16:return t.abrupt("return",p.json());case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),R=function(t){var e=t.returnUrl;if(window&&window.location){var r=Object(l.a)(e);window.location.href=b.a.redirect(r)}},S=function(t){var e=t.provider;window&&window.location&&e&&(window.location.href=b.a.getSamlRedirectUrl(e))},N=function(t){var e=t.provider,r=t.errorFallbackUrl;window&&window.location&&e&&(window.location.href=b.a.getOAuthRedirectUrl({providerName:e,errorFallbackUrl:r}))},U=function(t){var e=t.provider,r=t.errorFallbackUrl;return Promise.resolve({url:b.a.getOAuthRedirectUrl({providerName:e,errorFallbackUrl:r})})},D=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.login,n=e.newPassword,a=e.currentPassword,c=e.accesskey,o=e.recaptcha,s=e.parentAppId,i=O({login:r,newPassword:n,currentPassword:a,accesskey:c,recaptcha:o}),t.next=4,fetch(b.a.setPassword(),{method:"POST",body:i,headers:y({parentAppId:s})});case 4:if((p=t.sent).ok){t.next=11;break}return t.next=8,m(p);case 8:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 11:return t.abrupt("return",p.json());case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.accountName,n=e.scope,a=e.password,c=e.setPreference,o=e.parentAppId,s={password:a,expireSessions:!0},i=n===d.a.Scopes.ADMIN?"":r,t.next=5,fetch(b.a.setPasswordAfterLogin(i,c),{method:"POST",body:JSON.stringify(s),headers:y({parentAppId:o,contentType:"application/json"})});case 5:if((p=t.sent).ok){t.next=12;break}return t.next=9,m(p);case 9:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 12:return t.abrupt("return",p.json());case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),M=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o,s,i,p;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.login,n=e.password,a=e.recaptcha,c=e.fingerprint,o=e.parentAppId,s=e.recaptchaToken,i=O({login:r,password:n,recaptcha:a,fingerprint:c,recaptchaToken:s}),t.next=4,fetch(b.a.validatePassword(),{method:"POST",body:i,headers:y({parentAppId:o})});case 4:if(429!==(p=t.sent).status){t.next=7;break}throw new f.f;case 7:if(p.ok){t.next=13;break}return t.next=10,m(p);case 10:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 13:return t.abrupt("return",p.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=function(){var t=Object(s.a)(u.a.mark((function t(){var e,r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(window.location.protocol,"//").concat(window.location.host,"/api/users-assets/pub-key/assertion/options"),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"}});case 2:return e=t.sent,t.next=5,e.json();case 5:return r=t.sent,t.abrupt("return",{challenge:Object(p.b)(r.challenge),allowCredentials:r.allowCredentials.map((function(t){return{id:Object(p.b)(t.id),type:t.type}})),timeout:6e4,userVerification:r.userVerification,status:r.status,extensions:r.extensions,rpId:r.rpId});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),E=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.assertion,n=e.requestOptions,a=e.parentAppId,c=JSON.stringify({clientResponse:w({rawId:Object(p.a)(r.rawId),response:{authenticatorData:Object(p.a)(r.response.authenticatorData),clientDataJSON:Object(p.a)(r.response.clientDataJSON),signature:Object(p.a)(r.response.signature),userHandle:Object(p.a)(r.response.userHandle)}},r),assertionOptions:w({challenge:Object(p.a)(n.challenge),allowCredentials:n.allowCredentials.map((function(t){return w({id:Object(p.a)(t.id)},t)}))},n)}),t.next=4,fetch(b.a.validatePasskey(),{method:"POST",body:c,headers:y({parentAppId:a})});case 4:if(429!==(o=t.sent).status){t.next=7;break}throw new f.f;case 7:if(o.ok){t.next=13;break}return t.next=10,m(o);case 10:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 13:return t.abrupt("return",o.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),L=function(){var t=Object(s.a)(u.a.mark((function t(e){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.parentAppId,t.next=3,fetch(b.a.startMfaSetup(),{method:"POST",headers:y({parentAppId:r})});case 3:if(t.sent.ok){t.next=6;break}throw{response:{}};case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),F=function(t,e){var r=e.parentAppId;return L({parentAppId:r}).then((function(){return t?t():null}))},_=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.mfaToken,n=e.recaptcha,a=e.parentAppId,c=O({mfaToken:r,recaptcha:n}),t.next=4,fetch(b.a.validateMfa(),{method:"POST",body:c,headers:y({parentAppId:a})});case 4:if((o=t.sent).ok){t.next=11;break}return t.next=8,m(o);case 8:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 11:return t.abrupt("return",o.json());case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),q=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.phoneNumber,n=e.parentAppId,a=O({phoneNumber:r}),t.next=4,fetch(b.a.registerMfaPhoneNumber(),{method:"POST",body:a,headers:y({parentAppId:n})});case 4:if(429!==(c=t.sent).status){t.next=7;break}throw new f.f;case 7:if(c.ok){t.next=13;break}return t.next=10,m(c);case 10:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 13:return t.abrupt("return",c.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),z=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.parentAppId,n=O({}),t.next=4,fetch(b.a.resendMfa(),{method:"POST",body:n,headers:y({parentAppId:r})});case 4:if(429!==(a=t.sent).status){t.next=7;break}throw new f.f;case 7:if(a.ok){t.next=13;break}return t.next=10,m(a);case 10:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 13:return t.abrupt("return",a.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),B=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.parentAppId,t.next=3,fetch(b.a.registerMfaAuthenticator(),{method:"POST",headers:y({parentAppId:r})});case 3:if((n=t.sent).ok){t.next=10;break}return t.next=7,m(n);case 7:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 10:return t.next=12,n.json();case 12:if((a=t.sent)&&a.qRCodeUrl){t.next=15;break}return t.abrupt("return",a);case 15:return t.abrupt("return",w(w({},a),{},{qRCodeUrl:a.qRCodeUrl.replace("chs=150x150","chs=200x200")}));case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),V=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.account,n=e.scope,a=e.returnUrl,window&&window.location){t.next=3;break}return t.abrupt("return");case 3:c=Object(l.a)(a),window.location.href=b.a.logout(n===d.a.Scopes.ADMIN?"":r,c);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),J=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.account,n=e.scope,a=e.parentAppId,t.next=3,fetch(b.a.logout(n===d.a.Scopes.ADMIN?"":r),{headers:y({parentAppId:a})});case 3:if(t.sent.ok){t.next=6;break}throw{response:{}};case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),W=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.scopeName,n=e.parentAppId,a=e.fingerprint,c=d.a.Audience[r]||d.a.Audience.ADMIN,t.next=4,fetch(b.a.reauthenticateUser(c),{method:"POST",body:JSON.stringify({fingerprint:a}),headers:y({parentAppId:n,contentType:"application/json"})});case 4:if(200===(o=t.sent).status){t.next=7;break}return t.abrupt("return",null);case 7:return t.abrupt("return",o.json());case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),H=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.fingerprintPromise,n=e.scopeName,a=e.parentAppId,!e.isAdmin){t.next=11;break}return t.next=4,r;case 4:return c=t.sent,t.next=7,W({scopeName:n,parentAppId:a,fingerprint:c});case 7:if((o=t.sent)&&"Success"===o.status){t.next=10;break}return t.abrupt("return",{isUserAuthenticated:!1,userId:null});case 10:return t.abrupt("return",{isUserAuthenticated:!0,userId:o.userId});case 11:return t.abrupt("return",{isUserAuthenticated:!1,userId:null});case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),K=function(t){var e=t.accountName,r=t.scopeName,n=t.parentAppId,a=r===d.a.Scopes.ADMIN,o=Object(h.a)(r);return Promise.all([g({accountName:e,scopeName:r,parentAppId:n}),H({fingerprintPromise:o,scopeName:r,parentAppId:n,isAdmin:a}),o]).then((function(t){var e=Object(c.a)(t,3),r=e[0],n=e[1],a=e[2];return Promise.resolve({identityProviders:r,reauthenticationResult:n,fingerprint:a})}))},Z=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c,o;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.account,n=e.scopeName,a=e.parentAppId,c=n===d.a.Scopes.ADMIN?"":r,t.next=4,fetch(b.a.userInfo(c),{headers:y({parentAppId:a})});case 4:if((o=t.sent).ok){t.next=11;break}return t.next=8,m(o);case 8:throw t.t0=t.sent,t.t1={data:t.t0},{response:t.t1};case 11:if(200===o.status){t.next=13;break}throw new f.h;case 13:return t.abrupt("return",o.json());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Y=function(){var t=Object(s.a)(u.a.mark((function t(e){var r,n,a,c;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.email,n=e.parentAppId,t.next=3,fetch(b.a.getPhoneNumberByEmail(r),{headers:y({parentAppId:n})});case 3:if(404!==(a=t.sent).status){t.next=6;break}return t.abrupt("return",{type:"phoneNotFoundErr"});case 6:if(a.ok){t.next=8;break}throw new Error("Unknown response");case 8:return t.next=10,a.json();case 10:return c=t.sent,t.abrupt("return",{type:"success",phoneNumber:c.telephone});case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),X={number:/\d/,notANumber:/[^\d]/,arabicNumbers:/[\u0660-\u0669\u06f0-\u06f9]/,lowerCaseLetter:/[a-z]/,upperCaseLetter:/[A-Z]/,arabicLetters:/[\u0620-\u064A\u066E-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FF]/,email:/^(([^<>()[\]\\.,;:\s@!"]+(\.[^<>()[\]\\.,;:\s@!"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},$=function(t){return!!t&&X.email.test(String(t).toLowerCase())},G=function(t){return X.lowerCaseLetter.test(String(t||"").toLowerCase())},Q=function(t){return!X.notANumber.test(String(t||""))},tt=function(t){if(!t)return{passwordIsValid:!1,hasNumber:!1,hasMinLength:!1,hasLowerCaseLetter:!1,hasUpperCaseLetter:!1};var e=t.length>=8,r=X.number.test(t),n=X.arabicNumbers.test(t),a=X.lowerCaseLetter.test(t),c=X.upperCaseLetter.test(t),o=X.arabicLetters.test(t);if(!(n||o))return{passwordIsValid:e&&r&&a&&c,hasNumber:r,hasMinLength:e,hasLowerCaseLetter:a,hasUpperCaseLetter:c};var u=r||n,s=a||c||o;return{passwordIsValid:e&&u&&s,hasNumber:u,hasMinLength:e,hasLetter:s}},et=function(){return!0},rt=r(8)},11:function(t,e,r){"use strict";var n={ReCAPTCHA:{SiteKey:"6LejYzMUAAAAADEaWZnPjOBiyqxE7cvnKpC8kz5F",Size:"invisible"},SessionDuration:6e5,Scopes:{ADMIN:"ADMIN",STORE:"STORE"},Audience:{ADMIN:"admin",STORE:"webstore"},ApiAuthStatus:{Success:"Success",WrongCredentials:"WrongCredentials",InativeUser:"InativeUser",BlockedUser:"BlockedUser",MultipleAccount:"MultipleAccount",Pending:"Pending",CanceledKey:"CanceledKey",InvalidToken:"InvalidToken",Error:"Error",CanceledByUser:"CanceledByUser",WeakPassword:"WeakPassword",RequiresMFA:"RequiresMFA",RequiresPhoneRegistration:"RequiresPhoneRegistration",InvalidMFAToken:"InvalidMFAToken",MissingPhoneNumber:"MissingPhoneNumber",InvalidMFAState:"InvalidMFAState",CanRegisterPhoneNumber:"CanRegisterPhoneNumber",InvalidPhoneNumber:"InvalidPhoneNumber",RequiresMFAAuthenticator:"RequiresMFAAuthenticator",PasswordAlreadyUsed:"PasswordAlreadyUsed",ExpiredPassword:"ExpiredPassword",InvalidEmail:"InvalidEmail",InvalidRecaptcha:"InvalidRecaptcha"}};e.a=n},12:function(t,e,r){"use strict";var n=r(16),a=r(17),c=r(18),o=r(10);function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var s=function(t){Object(a.a)(r,t);var e=u(r);function r(t){return Object(n.a)(this,r),e.call(this,"An unexpected error occurred in the client or the server.","UnexpectedError",t)}return r}(r(26).a);e.a=s},19:function(t,e,r){"use strict";r.d(e,"c",(function(){return a})),r.d(e,"b",(function(){return c}));var n=function(t){return Object.keys(t).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(t[e]||""))})).join("&")},a=__RUNTIME__&&__RUNTIME__.rootPath||"",c=function(){var t=window&&window.location&&window.location.search,e=new URLSearchParams(t).get("__bindingAddress");return e?"__bindingAddress=".concat(e):""},o="".concat(a,"/api/vtexid"),u={startLogin:function(){return"".concat(o,"/pub/authentication/startlogin")},startCorporateLogin:function(t){var e=t.buyerOrg,r=t.returnUrl,n=new URLSearchParams({buyerOrganization:e,returnUrl:r});return"".concat(o,"/corporate-login/start?").concat(n)},getIdentityProviders:function(t,e){return"".concat(o,"/pub/authentication/providers?scope=").concat(e,"&accountName=").concat(t)},getLoginPreference:function(t,e){var r=n({scope:t,email:e});return"".concat(o,"/pub/authentication/userpreference?").concat(r)},redirect:function(t){var e=t?n({returnUrl:t}):"";return"".concat(o,"/pub/authentication/redirect?").concat(e)},getSamlRedirectUrl:function(t){return"".concat(o,"/pub/saml/").concat(t,"/redirect")},getOAuthRedirectUrl:function(t){var e=t.providerName,r=t.errorFallbackUrl;return"".concat(o,"/pub/authentication/oauth/redirect?").concat(n({providerName:e,errorFallbackUrl:r}))},getOAuthCallbackUrl:function(t){return"".concat(o,"/oauth/finish?popup=").concat(!!t)},reauthenticateUser:function(t){return"".concat(o,"/refreshtoken/").concat(t)},setPassword:function(){return"".concat(o,"/pub/authentication/classic/setpassword?expireSessions=true")},sendEmailVerification:function(t){return"".concat(o,"/pub/authentication/accesskey/send").concat(t?"?deliveryMethod=".concat(t):"")},validateToken:function(t){return"".concat(o,"/pub/authentication/accesskey/validate?setPreference=").concat(!!t)},validatePassword:function(){return"".concat(o,"/pub/authentication/classic/validate")},validatePasskey:function(){return"".concat(o,"/pub/authentication/passkey/validate")},startMfaSetup:function(){return"".concat(o,"/pvt/mfa/start")},validateMfa:function(){return"".concat(o,"/pub/mfa/validate")},registerMfaPhoneNumber:function(){return"".concat(o,"/pub/mfa/registerphone")},registerMfaAuthenticator:function(){return"".concat(o,"/pub/mfa/registerAuthenticator")},resendMfa:function(){return"".concat(o,"/pub/mfa/resend")},setPasswordAfterLogin:function(t,e){return"".concat(o,"/user/password/quickset?scope=").concat(t,"&setPreference=").concat(!!e)},logout:function(t,e){var r=n({scope:t,returnUrl:e});return"".concat(o,"/pub/logout?").concat(r)},oAuthErrorFallback:function(){return"".concat(o,"/oauth/error")},userInfo:function(t){return"".concat(o,"/user/info?scope=").concat(t)},getPhoneNumberByEmail:function(t){var e=new URLSearchParams({email:t}).toString();return"".concat(o,"/pub/authentication/accesskey/telephone?").concat(e)}};e.a=u},2:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"h",(function(){return p.a})),r.d(e,"a",(function(){return d})),r.d(e,"i",(function(){return h})),r.d(e,"b",(function(){return v})),r.d(e,"d",(function(){return y})),r.d(e,"f",(function(){return m})),r.d(e,"e",(function(){return x})),r.d(e,"g",(function(){return k}));var n=r(16),a=r(17),c=r(18),o=r(10),u=r(26);function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var i=function(t){Object(a.a)(r,t);var e=s(r);function r(t){return Object(n.a)(this,r),e.call(this,"The app couldn't reach the internet. It may be offline.","NetworkError",t)}return r}(u.a),p=r(12);function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var d=function(t){Object(a.a)(r,t);var e=f(r);function r(t){return Object(n.a)(this,r),e.call(this,"Too many login attempts. Send recaptcha to continue.","BlockedUser",t)}return r}(u.a);function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var h=function(t){Object(a.a)(r,t);var e=l(r);function r(t){return Object(n.a)(this,r),e.call(this,"Password or token entered is incorrect","WrongCredentials",t)}return r}(u.a);function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var v=function(t){Object(a.a)(r,t);var e=b(r);function r(t){return Object(n.a)(this,r),e.call(this,"The current recaptcha value is invalid.","InvalidRecaptcha",t)}return r}(u.a);function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var y=function(t){Object(a.a)(r,t);var e=w(r);function r(t){return Object(n.a)(this,r),e.call(this,"An error ocurred in the OAuth flow","OAuthError",t)}return r}(u.a);function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var m=function(t){Object(a.a)(r,t);var e=O(r);function r(t){return Object(n.a)(this,r),e.call(this,"The service was called more times then allowed in a short period. You may again after some time.","ThrottledError",t)}return r}(u.a);function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var x=function(t){Object(a.a)(r,t);var e=j(r);function r(t){return Object(n.a)(this,r),e.call(this,"This account doesn't allow repeated passwords to be created.","PasswordAlreadyUsed",t)}return r}(u.a);function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var k=function(t){Object(a.a)(r,t);var e=g(r);function r(t){return Object(n.a)(this,r),e.call(this,"Unauthorized user. Please, check your credentials and try again","UnauthorizedUser",t)}return r}(u.a)},26:function(t,e,r){"use strict";var n=r(16),a=r(17),c=r(18),o=r(10),u=r(73);function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(o.a)(t);if(e){var a=Object(o.a)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}var i=function(t){Object(a.a)(r,t);var e=s(r);function r(t,a,c){var o;return Object(n.a)(this,r),(o=e.call(this,t)).code=a,c&&(o.details=c),o}return r}(Object(u.a)(Error));e.a=i},27:function(t,e,r){"use strict";var n=r(36),a=r(11);e.a=function(t){return t===a.a.Scopes.ADMIN?Object(n.a)():Promise.resolve(null)}},33:function(t,e,r){"use strict";var n=r(19);e.a=function(t){var e,r,a=Object(n.b)(),c=a?"?".concat(a):"",o=""!==n.c?n.c:"/";return new URL(decodeURIComponent(t||"".concat(o).concat(c)),null===(e=window)||void 0===e||null===(r=e.location)||void 0===r?void 0:r.href).href}},36:function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=r(25),a=r(3),c=r.n(a),o=r(5),u=r(35),s=r(68),i=r.n(s),p=function(t){return new Promise((function(e){setTimeout(e,t)}))};function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={preprocessor:null,extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fonts:!0,fontsFlash:!0,audio:!0,canvas:!0,webgl:!0,webglVendorAndRenderer:!0,webdriver:!0,cpuClass:!0,plugins:!0,screenResolution:!0,availableScreenResolution:!0,timezoneOffset:!0,timezone:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"};function h(t){var e=new Uint8Array(t);return Object(u.a)(e).map((function(t){var e=t.toString(16);return"00".concat(e).substr(-2)})).join("")}function b(){return window.crypto&&window.crypto.subtle&&window.crypto.subtle.digest}function v(t){return w.apply(this,arguments)}function w(){return(w=Object(o.a)(c.a.mark((function t(e){var r,n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(b()){t.next=2;break}return t.abrupt("return",null);case 2:return t.prev=2,r=new TextEncoder,t.next=6,window.crypto.subtle.digest("SHA-256",r.encode(e));case 6:return n=t.sent,t.abrupt("return",h(n));case 10:return t.prev=10,t.t0=t.catch(2),console.error(t.t0),t.abrupt("return",null);case 14:case"end":return t.stop()}}),t,null,[[2,10]])})))).apply(this,arguments)}function y(){return O.apply(this,arguments)}function O(){return(O=Object(o.a)(c.a.mark((function t(){var e,r,n,a,o,u,s,p=arguments;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=p.length>0&&void 0!==p[0]?p[0]:null,r=3,n=e?d(d({},l),e):l;case 3:if(!(r>0)){t.next=19;break}return r--,t.next=7,i.a.getPromise(n);case 7:if(!(a=t.sent)){t.next=17;break}if(o=a.map((function(t){return"".concat(t.key,":").concat(t.value.toString())})).join(";"),!b()){t.next=15;break}return t.next=13,v(o);case 13:return u=t.sent,t.abrupt("return",u);case 15:return s=i.a.x64hash128(o,31),t.abrupt("return",s);case 17:t.next=3;break;case 19:return t.abrupt("return",null);case 20:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t){return j.apply(this,arguments)}function j(){return(j=Object(o.a)(c.a.mark((function t(e){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p(150);case 2:return t.abrupt("return",Promise.race([p(50),y(e)]));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},8:function(t,e,r){"use strict";e.a=function(){}}}]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useGetPhoneNumberByEmail"],{0:function(e,t){e.exports=React},124:function(e,t,n){"use strict";n.r(t);var r=n(3),u=n.n(r),a=n(5),c=n(30),i=n(1),o=n(22),s=function(e){var t=e.parentAppId,n=e.optionsAsyncCallback,r=e.returnUrl,s=void 0===r?null:r,p=Object(o.a)((function(){}),[],{scope:i.a.Scopes.STORE,parentAppId:t});return Object(c.a)(function(){var e=Object(a.a)(u.a.mark((function e(n){var r,a,c;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.email,a=n.useNewLoginAttempt,!(void 0!==a&&a)){e.next=4;break}return e.next=4,p({email:r,returnUrl:s});case 4:return e.next=6,i.c.getPhoneNumberByEmail({email:r,parentAppId:null!=t?t:null});case 6:if("success"===(c=e.sent).type){e.next=9;break}throw c;case 9:return e.abrupt("return",c.phoneNumber);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[p,t,s],n)};t.default=s},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,n){"use strict";var r=n(0),u=n(9),a=n(11),c=n(1),i=a.a.SessionDuration;t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.scope,s=void 0===o?a.a.Scopes.STORE:o,p=n.parentAppId,l=void 0===p?null:p,v=n.useOAuthPopup,d=void 0!==v&&v,f=Object(u.useRuntime)(),b=f.account,m=Object(r.useRef)(),x=Object(r.useCallback)(e,t);return Object(r.useCallback)((function(e){var t=e.fingerprint,n=void 0===t?null:t,r=e.email,u=void 0===r?null:r,a=e.returnUrl,o=void 0===a?null:a;return clearTimeout(m.current),m.current=setTimeout((function(){return x()}),i),c.c.startSession({accountName:b,returnUrl:o,scope:s,user:u,fingerprint:n,parentAppId:l,useOAuthPopup:d})}),[b,s,l,d,x])}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__},90:function(e,t,n){"use strict";n.r(t),function(e){var t=n(6);n.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var r=Object(t.register)((function(){return n(124)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useGetPhoneNumberByEmail");r.renderHotReload,r.setupHMR}.call(this,n(20)(e))}},[[90,"common",1,2,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useLogInWithAccessKey"],{0:function(e,t){e.exports=React},126:function(e,t,r){"use strict";r.r(t);var a=r(3),n=r.n(a),o=r(5),c=r(4),s=r(1),u=r(14),i=s.a.ApiAuthStatus,d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?s.b:t,a=e.onFailure,d=void 0===a?s.b:a,l=e.autorun,v=void 0!==l&&l,p=e.parentAppId,f=void 0===p?null:p,h=e.recaptchaToken,b=void 0===h?null:h,g=e.actionArgs,x=(g=void 0===g?{}:g).email,O=void 0===x?null:x,S=g.accessKey,j=void 0===S?null:S,k=g.recaptcha,w=void 0===k?null:k,m=g.disableSetPreference,y=void 0!==m&&m,A=Object(u.a)(function(){var e=Object(o.a)(n.a.mark((function e(){var t,r,a,o,c,u,d,l,v,p,h,g,x,S=arguments;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=S.length>0&&void 0!==S[0]?S[0]:{},r=t.email,a=void 0===r?O:r,o=t.accessKey,c=void 0===o?j:o,u=t.recaptcha,d=void 0===u?w:u,l=t.disableSetPreference,v=void 0===l?y:l,p=t.recaptchaToken,h=void 0===p?b:p,e.next=3,s.c.validateToken({login:a,accesskey:c,recaptcha:d,recaptchaToken:h,setPreference:!v,parentAppId:f});case 3:if(g=e.sent,(x=g.authStatus)===i.Success){e.next=7;break}throw{authStatus:x};case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[y,O,f,w,b,j],{onSuccess:r,onFailure:d,autorun:v}),_=Object(c.a)(A,2),U=_[0],I=_[1],P=I.error,T=I.loading;return[U,{error:P,loading:T}]};t.default=d},14:function(e,t,r){"use strict";var a=r(3),n=r.n(a),o=r(5),c=r(4),s=r(0),u=r(8),i=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.onSuccess,d=void 0===a?u.a:a,l=r.onFailure,v=void 0===l?u.a:l,p=r.onFinish,f=void 0===p?u.a:p,h=r.autorun,b=void 0!==h&&h,g=Object(s.useState)(null),x=Object(c.a)(g,2),O=x[0],S=x[1],j=Object(s.useState)(null),k=Object(c.a)(j,2),w=k[0],m=k[1],y=Object(s.useState)(b),A=Object(c.a)(y,2),_=A[0],U=A[1],I=Object(s.useCallback)(e,t),P=Object(s.useCallback)(function(){var e=Object(o.a)(n.a.mark((function e(){var t,r=arguments;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(null),U(!0),e.prev=2,e.next=5,I.apply(void 0,r);case 5:return t=e.sent,S(t),m(null),d(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),m(e.t0),S(null),v(Object(i.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[I,v,f,d]);return Object(s.useEffect)((function(){b&&P()}),[b,P]),[P,{value:O,error:w,loading:_}]}},21:function(e,t){e.exports=regeneratorRuntime},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var a=r(2),n={NetworkError:a.c,BlockedUser:a.a,WrongCredentials:a.i,InvalidMFAToken:a.i,InvalidRecaptcha:a.b,OAuthError:a.d,ThrottledError:a.f,PasswordAlreadyUsed:a.e,UnauthorizedUser:a.g},o=r(12);function c(e){if(!e)return new o.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&n[t]?new(0,n[t])(e.details):new o.a(e.details)}},92:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var a=Object(t.register)((function(){return r(126)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useLogInWithAccessKey");a.renderHotReload,a.setupHMR}.call(this,r(20)(e))}},[[92,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useLogInWithPassword"],{0:function(e,t){e.exports=React},129:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(1),s=r(14),c=r(22),d=r(27),p=i.a.ApiAuthStatus,l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?i.b:t,n=e.onFailure,l=void 0===n?i.b:n,v=e.autorun,b=void 0!==v&&v,f=e.scope,h=void 0===f?i.a.Scopes.STORE:f,g=e.parentAppId,x=void 0===g?null:g,m=e.onRequiresSmsMfa,w=void 0===m?i.b:m,O=e.onRequiresAppMfa,A=void 0===O?i.b:O,j=e.onRequiresPasswordUpdate,k=void 0===j?i.b:j,S=e.onRequiresMfaRegistration,R=void 0===S?i.b:S,_=e.recaptchaToken,U=void 0===_?null:_,P=e.actionArgs,T=(P=void 0===P?{}:P).email,E=void 0===T?null:T,I=P.password,q=void 0===I?null:I,M=P.recaptcha,N=void 0===M?null:M,C=P.useNewLoginAttempt,F=void 0!==C&&C,y=e.loginAttempt,L=(y=void 0===y?{}:y).onTimeout,W=void 0===L?i.b:L,z=y.returnUrl,B=void 0===z?null:z,D=Object(c.a)((function(){return W()}),[W],{scope:h,parentAppId:x}),H=Object(s.a)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,n,u,o,s,c,l,v,b,f,g,m,O,j,S,_,P=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=P.length>0&&void 0!==P[0]?P[0]:{},n=t.email,u=void 0===n?E:n,o=t.password,s=void 0===o?q:o,c=t.recaptcha,l=void 0===c?N:c,v=t.recaptchaToken,b=void 0===v?U:v,f=t.useNewLoginAttempt,g=void 0===f?F:f,e.next=3,Object(d.a)(h);case 3:if(m=e.sent,!g){e.next=7;break}return e.next=7,D({fingerprint:m,email:u,returnUrl:B});case 7:return e.next=9,i.c.validatePassword({login:u,password:s,recaptcha:l,recaptchaToken:b,fingerprint:m,parentAppId:x});case 9:if(O=e.sent,j=O.authStatus,S=O.phoneNumber,_=O.lastAttemptAvailable,j!==p.Success){e.next=16;break}return r(),e.abrupt("return");case 16:if(j!==p.RequiresMFAAuthenticator){e.next=19;break}return A(),e.abrupt("return");case 19:if(j!==p.RequiresPhoneRegistration){e.next=22;break}return R(),e.abrupt("return");case 22:if(j!==p.RequiresMFA){e.next=25;break}return w({phoneNumber:S}),e.abrupt("return");case 25:if(j!==p.ExpiredPassword){e.next=28;break}return k(),e.abrupt("return");case 28:if(j!==p.WrongCredentials){e.next=30;break}throw{authStatus:j,lastAttemptAvailable:_};case 30:throw{authStatus:j};case 31:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[E,q,N,U,F,h,x,D,B,r,A,R,w,k],{onFailure:l,autorun:b}),J=Object(o.a)(H,2),G=J[0],K=J[1],Q=K.error,V=K.loading;return[G,{error:Q,loading:V}]};t.default=l},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(0),s=r(8),c=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,d=void 0===n?s.a:n,p=r.onFailure,l=void 0===p?s.a:p,v=r.onFinish,b=void 0===v?s.a:v,f=r.autorun,h=void 0!==f&&f,g=Object(i.useState)(null),x=Object(o.a)(g,2),m=x[0],w=x[1],O=Object(i.useState)(null),A=Object(o.a)(O,2),j=A[0],k=A[1],S=Object(i.useState)(h),R=Object(o.a)(S,2),_=R[0],U=R[1],P=Object(i.useCallback)(e,t),T=Object(i.useCallback)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),U(!0),e.prev=2,e.next=5,P.apply(void 0,r);case 5:return t=e.sent,w(t),k(null),d(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),k(e.t0),w(null),l(Object(c.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),b(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[P,l,b,d]);return Object(i.useEffect)((function(){h&&T()}),[h,T]),[T,{value:m,error:j,loading:_}]}},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,r){"use strict";var n=r(0),a=r(9),u=r(11),o=r(1),i=u.a.SessionDuration;t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=r.scope,c=void 0===s?u.a.Scopes.STORE:s,d=r.parentAppId,p=void 0===d?null:d,l=r.useOAuthPopup,v=void 0!==l&&l,b=Object(a.useRuntime)(),f=b.account,h=Object(n.useRef)(),g=Object(n.useCallback)(e,t);return Object(n.useCallback)((function(e){var t=e.fingerprint,r=void 0===t?null:t,n=e.email,a=void 0===n?null:n,u=e.returnUrl,s=void 0===u?null:u;return clearTimeout(h.current),h.current=setTimeout((function(){return g()}),i),o.c.startSession({accountName:f,returnUrl:s,scope:c,user:a,fingerprint:r,parentAppId:p,useOAuthPopup:v})}),[f,c,p,v,g])}},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},u=r(12);function o(e){if(!e)return new u.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new u.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__},95:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(129)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useLogInWithPassword");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))}},[[95,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useLogOut"],{0:function(e,t){e.exports=React},128:function(e,t,r){"use strict";r.r(t);var n=r(4),a=r(9),o=r(1),u=r(14),s=r(11),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?o.b:t,c=e.onFailure,i=void 0===c?o.b:c,d=e.autorun,l=void 0!==d&&d,p=e.scope,v=void 0===p?s.a.Scopes.STORE:p,f=e.parentAppId,b=void 0===f?null:f,O=Object(a.useRuntime)(),g=O.account,h=Object(u.a)((function(){return o.c.logout({account:g,scope:v,parentAppId:b})}),[g,v,b],{onSuccess:r,onFailure:i,autorun:l}),j=Object(n.a)(h,2),x=j[0],_=j[1],w=_.error,S=_.loading;return[x,{error:w,loading:S}]};t.default=c},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),o=r(5),u=r(4),s=r(0),c=r(8),i=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,d=void 0===n?c.a:n,l=r.onFailure,p=void 0===l?c.a:l,v=r.onFinish,f=void 0===v?c.a:v,b=r.autorun,O=void 0!==b&&b,g=Object(s.useState)(null),h=Object(u.a)(g,2),j=h[0],x=h[1],_=Object(s.useState)(null),w=Object(u.a)(_,2),S=w[0],m=w[1],R=Object(s.useState)(O),k=Object(u.a)(R,2),E=k[0],U=k[1],A=Object(s.useCallback)(e,t),F=Object(s.useCallback)(function(){var e=Object(o.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(null),U(!0),e.prev=2,e.next=5,A.apply(void 0,r);case 5:return t=e.sent,x(t),m(null),d(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),m(e.t0),x(null),p(Object(i.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[A,p,f,d]);return Object(s.useEffect)((function(){O&&F()}),[O,F]),[F,{value:j,error:S,loading:E}]}},21:function(e,t){e.exports=regeneratorRuntime},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},o=r(12);function u(e){if(!e)return new o.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new o.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__},94:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(128)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useLogOut");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))}},[[94,"common",1,0]]]); }], document.currentScript.dataset.index)