Qual o uniforme mais bonito que o Brasil já usou na Copa? Vote!


É a de 1994, nos Estados Unidos, com o brasão da CBF como marca d’água? Ou a versão de 1982, com a taça no peito? Ou, se você for corajoso, a camisa de 2022, com a sua estampa de onça — que provocou diversas reações na última copa? Você pode votar abaixo em qual foi a melhor camisa da seleção brasileira de todos os tempos.

//<![CDATA[
!function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=9)}([function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(3);e.exports=function(e,t,o){return(t=i(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(0).default,n=o(4);e.exports=function(e){var t=n(e,"string");return"symbol"===i(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(0).default;e.exports=function(e,t){if("object"!==i(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t,o){"use strict";var i=o(1),n=i(o(2));function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){(0,n.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o(10),o(11),o(12),o(13),o(14);var l=(0,i(o(15)).default)();window.utag_data=s(s({},window.utag_data),{},{direct_user_id:l.direct_user_id,direct_user_provider:l.direct_user_provider})},function(e,t,o){"use strict";!function(){var e=null,t=function(e,t){return function(){return e.apply(t,arguments)}};function o(e,t){var o=e.getBoundingClientRect(),i=t.getBoundingClientRect();return i.bottom<o.top||i.righto.right||i.top>o.bottom}function i(e){var t=document.defaultView.getComputedStyle(e),o=t.getPropertyValue(“overflow-x”),i=t.getPropertyValue(“overflow-y”);return”visible”!==o||”visible”!==i}function n(){return e||(e={add:t(this.addElement,this),clean:t(this.cleanItems,this),getItems:t(this.getItems,this),debug:t(this.debug,this)},this.onScroll=t(this.onScroll,this),this.onResize=t(this.onResize,this),this.items=[],this.setDefaultVariables(),e)}n.prototype.throttle=function(e){var t=!0;return function(o){t&&(e(o),t=!1,setTimeout((function(){return t=!0}),150))}},n.prototype.cleanItems=function(){this.items=[]},n.prototype.startListener=function(){window.addEventListener(“scroll”,this.throttle(this.onScroll)),window.addEventListener(“resize”,this.throttle(this.onResize))},n.prototype.stopListeners=function(){window.removeEventListener(“scroll”,this.throttle(this.onScroll)),window.removeEventListener(“resize”,this.throttle(this.onResize))},n.prototype.resetElementPosition=function(){var e;this.winHeight=window.innerHeight;for(var t=0,o=this.items.length;tt.pos?1:e.pos<t.pos?-1:0})),this.checkVisibleItems()},n.prototype.getElementPos=function(e){var t=this.getScrollY();return e.el.getBoundingClientRect()[e.reference]+t-e.offset},n.prototype.getScrollY=function(){var e;return"undefined"!=typeof pageYOffset?pageYOffset:(e=(e=document.documentElement).clientHeight?e:document.body).scrollTop},n.prototype.onResize=function(){this.throttle((function(){this.winHeight!==window.innerHeight&&this.resetElementPosition()}))},n.prototype.onScroll=function(e){this.checkDocumentHeight(),this.checkVisibleItems(e)},n.prototype.getItems=function(){return this.items},n.prototype.setDefaultVariables=function(){this.winHeight=window.innerHeight,this.lastPos=this.getScrollY(),this.docHeight=document.body?document.body.offsetHeight:0},n.prototype.addElement=function(e){var t,o;if(e.el){e.offset=void 0===e.offset?200:e.offset,e.reference=e.reference||"top",e.pos=this.getElementPos(e),o=this.items.length,t=0;for(var i=0,n=this.items.length;ie.pos);i++)t++;this.items.splice(t,0,e),0===o&&(this.setDefaultVariables(),this.startListener()),this.checkVisibleItems()}},n.prototype.checkDocumentHeight=function(){var e=document.body.offsetHeight;this.docHeight!==e&&(this.docHeight=e,this.resetElementPosition())},n.prototype.isOverlapped=function(e,t){if(t)return o(e,t);for(var n=e.parentElement;n&&n!==document.body;){if(i(n))return o(e,n);n=n.parentElement}return!1},n.prototype.checkVisibleItems=function(e){for(var t,o=0,i=this.getScrollY(),n=this.winHeight+i;o=t.pos))break;t.callback&&t.callback(t.el,e),this.items.splice(o,1)}this.lastPos=i,this.items.length||this.stopListeners()},n.prototype.debug=function(){for(var e,t,o,i=0,n=this.items.length;i=0;i–)window.ScrollSpy.add({el:o[i].parentNode,offset:800,callback:function(t,o){var i=t.querySelectorAll(“picture”)[0],n=i.querySelectorAll(“source”),r=i.querySelectorAll(“img”);r.length&&e.load(r,”src”,e.onLoadImages),e.load(n,”srcset”)}})},this.loadGifs=function(t){for(var o=document.querySelectorAll(“.content-media__gif-container”),i=o.length-1;i>=0;i–)window.ScrollSpy.add({el:o[i],offset:800,callback:function(t,o){var i=t.querySelectorAll(“.content-media__gif-container__gif-player”)[0],n=t.querySelectorAll(“.content-media__gif-container__gif-placeholder”)[0],r=t.querySelectorAll(“source”);e.load(r,”src”),i.load(),i.addEventListener(“loadeddata”,(function(){n.style.display=”none”}),!1)}})},this.onLoadImages=function(e){e.classList.add(“progressive-loaded”)},this.load=function(e,o,i){0===e.length&&t.treatCallback(i);for(var n=0;n<e.length;n++)!function(n){var r=e[n],s=r.getAttribute("data-src");r.setAttribute(o,s),t.waitForFinish(r,i)}(n)},this.initialize()}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adsSmartContainerSetup=void 0;var i=function(e,t){return e.forgotRuleEnabled&&(t.getBoundingClientRect()||{}).bottom<=0},n=function(e){if(e){document.addEventListener("adserver-ad-rendered",(function(t){var o,n=t.evento_original,r=n.isEmpty,s=n.size,l=(o=t.id_elemento,e.find((function(e){return e.name===o})));l&&function(e,t,o){var n,r=null==e||null===(n=e.querySelector)||void 0===n?void 0:n.call(e,e);r&&e&&(e.height=e.height||e.initialHeight,t&&e.initialHeight?function(e,t){if(e){var o=t?"glb-ads-container–hide-opacity":"glb-ads-container–hide";e.classList.add(o)}}(r,i(e,r)):e.hasMultipleSize&&o[1]!==e.height&&!i(e,r)&&(e.height=1===o[1]&&e.initialHeight?e.initialHeight:o[1],r.style.setProperty("–glb-banner-height","".concat(e.height,"px"))))}(l,r,s)}))}};t.adsSmartContainerSetup=n,window.cdaaas.SETTINGS.AD_SMART_CONTAINER=!0,window.cdaaas.helpers.adsSmartContainerSetup=n},function(e,t,o){},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\s*"+encodeURIComponent("_utp").replace(/[-.+*]/g,"\$&")+"\s*\x3d\s*([^;]*).*$)|^.*$"),"$1"));if(!e){var t=JSON.parse(localStorage.getItem("cdUserCodeGlb_v3"))||{};return{direct_user_id:t.user_code,direct_user_provider:t.provider}}var o=JSON.parse(decodeURIComponent(atob(e)));return{direct_user_id:o.uuid,direct_user_provider:o.logado?"cadun":"anonymous"}}}]);
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=10)}({10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=(n.n(r),n(12));n.n(o)},11:function(t,e){const n=window.utag_data.bs_content_type||"",r=document.querySelector("#mc-article-body p.content-text__container.theme-color-primary-first-letter");r&&"especial"!==n&&(r.style.minHeight="252px")},12:function(t,e){}});
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);r(1)},function(e,t,r){}]);
/*! For license information please see web.critical.js.LICENSE */
!function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=3)}([function(t,r,e){t.exports=e(6)},function(t,r,e){(function(r,e){t.exports=function(){"use strict";function t(t){return"function"==typeof t}var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=0,i=void 0,a=void 0,u=function(t,r){d[o]=t,d[o+1]=r,2===(o+=2)&&(a?a(v):y())},c="undefined"!=typeof window?window:void 0,s=c||{},f=s.MutationObserver||s.WebKitMutationObserver,l="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var t=setTimeout;return function(){return t(v,1)}}var d=new Array(1e3);function v(){for(var t=0;t<o;t+=2){(0,d[t])(d[t+1]),d[t]=void 0,d[t+1]=void 0}o=0}var y=void 0;function g(t,r){var e=this,n=new this.constructor(b);void 0===n[m]&&C(n);var o=e._state;if(o){var i=arguments[o-1];u((function(){return I(o,n,i,e._result)}))}else L(e,n,t,r);return n}function w(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var r=new this(b);return S(r,t),r}y=l?function(){return r.nextTick(v)}:f?function(){var t=0,r=new f(v),e=document.createTextNode("");return r.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}():h?function(){var t=new MessageChannel;return t.port1.onmessage=v,function(){return t.port2.postMessage(0)}}():void 0===c?function(){try{var t=Function("return this")().require("vertx");return void 0===(i=t.runOnLoop||t.runOnContext)?p():function(){i(v)}}catch(t){return p()}}():p();var m=Math.random().toString(36).substring(2);function b(){}var _=void 0,O=1,E=2;function T(r,e,n){e.constructor===r.constructor&&n===g&&e.constructor.resolve===w?function(t,r){r._state===O?j(t,r._result):r._state===E?A(t,r._result):L(r,void 0,(function(r){return S(t,r)}),(function(r){return A(t,r)}))}(r,e):void 0===n?j(r,e):t(n)?function(t,r,e){u((function(t){var n=!1,o=function(t,r,e,n){try{t.call(r,e,n)}catch(t){return t}}(e,r,(function(e){n||(n=!0,r!==e?S(t,e):j(t,e))}),(function(r){n||(n=!0,A(t,r))}),t._label);!n&&o&&(n=!0,A(t,o))}),t)}(r,e,n):j(r,e)}function S(t,r){if(t===r)A(t,new TypeError("You cannot resolve a promise with itself"));else if(function(t){var r=typeof t;return null!==t&&("object"==r||"function"==r)}(r)){var e=void 0;try{e=r.then}catch(r){return void A(t,r)}T(t,r,e)}else j(t,r)}function x(t){t._onerror&&t._onerror(t._result),P(t)}function j(t,r){t._state===_&&(t._result=r,t._state=O,0!==t._subscribers.length&&u(P,t))}function A(t,r){t._state===_&&(t._state=E,t._result=r,u(x,t))}function L(t,r,e,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=r,o[i+O]=e,o[i+E]=n,0===i&&t._state&&u(P,t)}function P(t){var r=t._subscribers,e=t._state;if(0!==r.length){for(var n=void 0,o=void 0,i=t._result,a=0;a<r.length;a+=3)n=r[a],o=r[a+e],n?I(e,n,o,i):o(i);t._subscribers.length=0}}function I(r,e,n,o){var i=t(n),a=void 0,u=void 0,c=!0;if(i){try{a=n(o)}catch(r){c=!1,u=r}if(e===a)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else a=o;e._state!==_||(i&&c?S(e,a):!1===c?A(e,u):r===O?j(e,a):r===E&&A(e,a))}var N=0;function C(t){t[m]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var k=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(b),this.promise[m]||C(this.promise),n(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?j(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&j(this.promise,this._result))):A(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var r=0;this._state===_&&r<t.length;r++)this._eachEntry(t[r],r)},t.prototype._eachEntry=function(t,r){var e=this._instanceConstructor,n=e.resolve;if(n===w){var o=void 0,i=void 0,a=!1;try{o=t.then}catch(r){a=!0,i=r}if(o===g&&t._state!==_)this._settledAt(t._state,r,t._result);else if("function"!=typeof o)this._remaining–,this._result[r]=t;else if(e===D){var u=new e(b);a?A(u,i):T(u,t,o),this._willSettleAt(u,r)}else this._willSettleAt(new e((function(r){return r(t)})),r)}else this._willSettleAt(n(t),r)},t.prototype._settledAt=function(t,r,e){var n=this.promise;n._state===_&&(this._remaining–,t===E?A(n,e):this._result[r]=e),0===this._remaining&&j(n,this._result)},t.prototype._willSettleAt=function(t,r){var e=this;L(t,void 0,(function(t){return e._settledAt(O,r,t)}),(function(t){return e._settledAt(E,r,t)}))},t}(),D=function(){function r(t){this[m]=N++,this._result=this._state=void 0,this._subscribers=[],b!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof r?function(t,r){try{r((function(r){S(t,r)}),(function(r){A(t,r)}))}catch(r){A(t,r)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return r.prototype.catch=function(t){return this.then(null,t)},r.prototype.finally=function(r){var e=this.constructor;return t(r)?this.then((function(t){return e.resolve(r()).then((function(){return t}))}),(function(t){return e.resolve(r()).then((function(){throw t}))})):this.then(r,r)},r}();return D.prototype.then=g,D.all=function(t){return new k(this,t).promise},D.race=function(t){var r=this;return n(t)?new r((function(e,n){for(var o=t.length,i=0;i<o;i++)r.resolve(t[i]).then(e,n)})):new r((function(t,r){return r(new TypeError("You must pass an array to race."))}))},D.resolve=w,D.reject=function(t){var r=new this(b);return A(r,t),r},D._setScheduler=function(t){a=t},D._setAsap=function(t){u=t},D._asap=u,D.polyfill=function(){var t=void 0;if(void 0!==e)t=e;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var n=null;try{n=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===n&&!r.cast)return}t.Promise=D},D.Promise=D}()}).call(this,e(4),e(5))},function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n);function i(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function a(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function u(t){return(u="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 c(r,e,n,o,i,a,u){try{var c=r[a](u),s=c.value}catch(r){return void n(r)}c.done?e(s):t.resolve(s).then(o,i)}function s(){return window.cdaaas&&window.cdaaas.SETTINGS&&window.cdaaas.SETTINGS.PLAYER}var f=function(){var r=function(r){return function(){var e=this,n=arguments;return new t((function(t,o){var i=r.apply(e,n);function a(r){c(i,t,o,a,u,"next",r)}function u(r){c(i,t,o,a,u,"throw",r)}a(void 0)}))}}(o.a.mark((function r(e){var n,i,a,u,c,f,l;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(s()){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,window.globalWebdeps("cadun");case 4:return n=window,i=n.Cadun,a=n.cdaaas,u=a.SETTINGS.PLAYER,c=new t((function(t){i.Event.subscribe("userInfoAvailable",(function(){var r,e,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t({glb_id:n.globoId?n.globoId:(r="glb_uid",e=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),e?e[2].replace(/(^"|"$)/g,""):""),glb_tipo:n.globoId?"logado":"anonimo"})}))})),r.next=9,c;case 9:f=r.sent,l=[],u.OPTIONS.adCustomData&&l.push(u.OPTIONS.adCustomData),f.glb_id&&l.push("glb_id=".concat(f.glb_id)),l.push("glb_tipo=".concat(f.glb_tipo)),u.ASYNC_OPTIONS={adCustomData:l.join("&")},e(u.ASYNC_OPTIONS);case 16:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}();r.a=function(){if(s()){var r=window.cdaaas.SETTINGS.PLAYER,e={},n=[];r.OPTIONS.adCustomData&&n.push(r.OPTIONS.adCustomData),"boolean"==typeof window.FORCE_VIDEO_AD&&window.FORCE_VIDEO_AD&&(e={adUnit:void 0,adCmsId:void 0,adAccountId:void 0},n=[]);var o=window.utag_data||{},c=function(t){try{var r=o[t];if(r){var e=function(t,r){return String(r)?"".concat(t,"=").concat(String(r)):""},i="object"!==u(r)||Array.isArray(r)?e(t,r):(a=r,Object.keys(a).map((function(t){return(Array.isArray(a[t])?function(t,r){return e(t,(1<arguments.length&&void 0!==r?r:[]).join(","))}:e)(t,a[t])})).filter(Boolean).join("&"));i&&n.push(i)}}catch(t){}var a};c("tipo_pagina"),c("ext-bsafety"),c("ext-advertiser"),r.OPTIONS=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?i(e,!0).forEach((function(r){a(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}({},r.OPTIONS,{},{ga:{productUA:window.cdaaas.SETTINGS.PRODUCT_UA,extras:{dimension21:(window.utag_data||{}).bd_user_provider,dimension22:(window.utag_data||{}).bd_user_code,dimension98:(window.utag_data||{}).bd_suser_provider,dimension99:(window.utag_data||{}).bd_suser_code}}},{},e,{adCustomData:n.join("&")||void 0});var l=new t(f);r.getAsyncData=function(){return l}}}}).call(this,e(1))},function(t,r,e){"use strict";e.r(r);var n=e(2);Object(n.a)()},function(t,r){var e,n,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,s=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?s=c.concat(s):l=-1,s.length&&p())}function p(){if(!f){var t=u(h);f=!0;for(var r=s.length;r;){for(c=s,s=[];++l<r;)c&&c[l].run();l=-1,r=s.length}c=null,f=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(r){try{return n.call(null,t)}catch(r){return n.call(this,t)}}}(t)}}function d(t,r){this.fun=t,this.array=r}function v(){}o.nextTick=function(t){var r=new Array(arguments.length-1);if(1<arguments.length)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];s.push(new d(t,r)),1!==s.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){(function(r){var e=function(t){"use strict";var e,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,r,e){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return P()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=S(a,e);if(u){if(u===v)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var c=f(t,r,e);if("normal"===c.type){if(n=e.done?d:h,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=d,e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function y(){}function g(){}function w(){}var m={};m[a]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(L([])));_&&_!==n&&o.call(_,a)&&(m=_);var O=w.prototype=y.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){t[r]=function(t){return this._invoke(r,t)}}))}function T(t){var e;this._invoke=function(n,i){function a(){return new r((function(e,a){!function e(n,i,a,u){var c=f(t[n],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&o.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):r.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}(n,i,e,a)}))}return e=e?e.then(a,a):a()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function x(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function j(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function L(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(o.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=O.constructor=w,w.constructor=g,w[c]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},E(T.prototype),T.prototype[u]=function(){return this},t.AsyncIterator=T,t.async=function(r,e,n,o){var i=new T(s(r,e,n,o));return t.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(O),O[c]="Generator",O[a]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=L,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;0<=i;–i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;–e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;–r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;–r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}).call(this,e(1))}]);
!function(t){var e={};function o(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(r,i,function(e){return t[e]}.bind(null,i));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=4)}([function(t,e,o){var r=o(2)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e){function o(t,e,o,r,i,n,a){try{var c=t[n](a),s=c.value}catch(t){return void o(t)}c.done?e(s):Promise.resolve(s).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var a=t.apply(e,r);function c(t){o(a,i,n,c,s,"next",t)}function s(t){o(a,i,n,c,s,"throw",t)}c(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){var r=o(3).default;function i(){"use strict";/*! regenerator-runtime — Copyright (c) 2014-present, Facebook, Inc. — license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var e,o={},n=Object.prototype,a=n.hasOwnProperty,c=Object.defineProperty||function(t,e,o){t[e]=o.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function h(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,o){return t[e]=o}}function p(t,e,o,r){var i=e&&e.prototype instanceof O?e:O,n=Object.create(i.prototype),a=new C(r||[]);return c(n,"_invoke",{value:E(t,o,a)}),n}function f(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(t){return{type:"throw",arg:t}}}o.wrap=p;var g="suspendedStart",v="suspendedYield",y="executing",_="completed",m={};function O(){}function w(){}function b(){}var L={};h(L,u,function(){return this});var G=Object.getPrototypeOf,x=G&&G(G(j([])));x&&x!==n&&a.call(x,u)&&(L=x);var D=b.prototype=O.prototype=Object.create(L);function S(t){["next","throw","return"].forEach(function(e){h(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function o(i,n,c,s){var u=f(t[i],t,n);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&a.call(d,"__await")?e.resolve(d.__await).then(function(t){o("next",t,c,s)},function(t){o("throw",t,c,s)}):e.resolve(d).then(function(t){l.value=t,c(l)},function(t){return o("throw",t,c,s)})}s(u.arg)}var i;c(this,"_invoke",{value:function(t,r){function n(){return new e(function(e,i){o(t,r,e,i)})}return i=i?i.then(n,n):n()}})}function E(t,o,r){var i=g;return function(n,a){if(i===y)throw Error("Generator is already running");if(i===_){if("throw"===n)throw a;return{value:e,done:!0}}for(r.method=n,r.arg=a;;){var c=r.delegate;if(c){var s=N(c,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var u=f(t,o,r);if("normal"===u.type){if(i=r.done?_:v,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=_,r.method="throw",r.arg=u.arg)}}}function N(t,o){var r=o.method,i=t.iterator[r];if(i===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,N(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var n=f(i,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,m;var a=n.arg;return a?a.done?(o[t.resultName]=a.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,m):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var o=t[u];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function o(){for(;++i=0;–i){var n=this.tryEntries[i],c=n.completion;if(“root”===n.tryLoc)return r(“end”);if(n.tryLoc<=this.prev){var s=a.call(n,"catchLoc"),u=a.call(n,"finallyLoc");if(s&&u){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(s){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev=0;–o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e=0;–e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),I(o),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;–e){var o=this.tryEntries[e];if(o.tryLoc===t){var r=o.completion;if(“throw”===r.type){var i=r.arg;I(o)}return i}}throw Error(“illegal catch attempt”)},delegateYield:function(t,o,r){return this.delegate={iterator:j(t),resultName:o,nextLoc:r},”next”===this.method&&(this.arg=e),m}},o}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function o(e){“@babel/helpers – typeof”;return t.exports=o=”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.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){“use strict”;o.r(e);var r=o(1),i=o.n(r),n=o(0),a=o.n(n);const c=”debug”,s=Object.freeze({oglobo:{id:”3981″,id_simple:”6907″,cod_prod:”OG03″,isOidcLogin:!1,isNewLoginService:!0,productGroup:”oglobo”},valor:{id:”6668″,id_simple:”6908″,cod_prod:”valordigital”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},valoroneinterno:{id:”7097″,id_simple:”6908″,cod_prod:” valor-one”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},monet:{id:”6618″,id_simple:”6618″,cod_prod:”monet”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},autoesporte:{id:”6613″,id_simple:”6613″,cod_prod:”auto-esporte”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},vogue:{id:”6614″,id_simple:”6614″,cod_prod:”vogue”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},glamour:{id:”6616″,id_simple:”6616″,cod_prod:”glamour”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},casavogue:{id:”6610″,id_simple:”6610″,cod_prod:”casa-vogue”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},marieclaire:{id:”6609″,id_simple:”6609″,cod_prod:”marie-claire”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},globorural:{id:”6621″,id_simple:”6612″,cod_prod:”globo-rural”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},gq:{id:”6622″,id_simple:”6622″,cod_prod:”gq”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},crescer:{id:”6620″,id_simple:”6620″,cod_prod:”crescer”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},galileu:{id:”6697″,id_simple:”6697″,cod_prod:”galileu”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},epocanegocios:{id:”6611″,id_simple:”6611″,cod_prod:”epoca-negocios”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},casaejardim:{id:”6619″,id_simple:”6619″,cod_prod:”casa-jardim”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},quem:{id:”6697″,id_simple:”6697″,cod_prod:”quem”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””},pegn:{id:”6615″,id_simple:”6615″,cod_prod:”pequenas-empresas”,isOidcLogin:!1,isNewLoginService:!1,productGroup:””}}),u=Object.freeze({prod:{API_INFOGLOBO:”https://api.infoglobo.com.br/”,MODE:”production”},qa:{API_INFOGLOBO:”https://apiqlt-ig.infoglobo.com.br/”,MODE:”production”}}),l=5e3,d=”UserDataGloboId”;class h{constructor(t=”oglobo”,e=”prod”,o=!1){this.tenant=t,this.config={…s[t],…u[e]},this.config.MODE===c||this.config.MODE,this._setData({autorizado:!1,logado:!1,motivo:””,glbid:””,uuid:””,access_token:””})}async getData(){const t=this._getAccessToken(),e=this._getCookieCache(),o=this._getGLOBOID(),r=this._getGLBID(),i=this._getUTP();if(r||t)if(this._isCookieCacheValid()){const t=this._getCookieCacheData(e);this._setData(t),this.LOG(“Cache setado”,this.data)}else{if(t&&(this._setData({access_token:t}),this.LOG(“Access Token setado”,this.data)),r&&(this._setData({logado:!0,glbid:r}),this.LOG(“GLBID setado”,this.data)),o){const t=this._getGLOBOIDData(o);this._setData({…t,uuid:t.globoId}),this.LOG(“GLOBO_ID setado”,this.data)}if(i){const t=this._getUTPData(i);this._setData(t),this.LOG(“_utp setado”,this.data)}else await this._getBarramentoData();this._setCookieCache()}else h.eraseCookie(d);return this.data}static getCookie(t){var e=” “+document.cookie,o=” “+t+”=”,r=e.indexOf(o);if(-1===r)return null;var i=r+o.length,n=e.indexOf(“;”,i);return-1!==n?e.substring(i,n):e.substring(i)}static setCookie(t,e,o){var r=””;if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),r=”; expires=”+i.toUTCString()}document.cookie=t+”=”+(e||””)+r+”; path=/”}static eraseCookie(t){document.cookie=t+”=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;”}_setData(t){“object”==typeof t&&(this.data={…this.data,…t})}_getUTPData(t){try{const e=decodeURIComponent(atob(t));return JSON.parse(e)}catch(t){throw new Error(“[infoglobo-user-lib] Erro na conversão do cookie _utp”)}}_getGLOBOIDData(t){try{const e=atob(t.split(“.”)[1]);return JSON.parse(e)}catch(t){throw new Error(“[infoglobo-user-lib] Erro na conversão do cookie GLOBO_ID”)}}_getCookieCacheData(t){try{return JSON.parse(t)}catch(t){throw new Error(`[infoglobo-user-lib] Erro na conversão do cookie ${d}`)}}async _getBarramentoData(){return new Promise((t,e)=>{setTimeout(async()=>{if(this.data.glbid||this.data.access_token)try{const t=this._getUTP(),o=this._getGLOBOID();if(o){const t=this._getGLOBOIDData(o);this._setData({…t,uuid:t.globoId}),this.LOG(“Timeout GLOBO_ID setado”,this.data)}if(t){const e=this._getUTPData(t);this._setData(e),this.LOG(“Timeout _utp setado”,this.data)}else this.data.access_token?await this._fetchDataV4(this.data.access_token):await this._fetchData()}catch(t){e(t)}t(this.data)},l)})}async _fetchData(){try{const t=`${this.config.API_INFOGLOBO}relacionamento/v3/funcionalidade/${this.config.id}/autorizacao-acesso`,e={ipUsuario:”127.0.0.1″,”token-autenticacao”:this.data.glbid,codigoProduto:this.config.cod_prod},o=await fetch(t,{method:”POST”,headers:{“Content-Type”:”application/json”,Accept:”application/json”,”ig-requestid”:`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(e)}),r=await o.json();this._setData(r),this.LOG(“Timeout Barramento v3 setado”,this.data)}catch(t){throw new Error(“[infoglobo-user-lib] Erro ao consultar a API”)}}async _fetchDataV4(t){try{const e=`${this.config.API_INFOGLOBO}relacionamento/v4/autorizacao-acesso/${this.config.id_simple}/solicitacao-autorizacao/`,o={“token-acesso”:t,codigoProduto:this.config.cod_prod},r=await fetch(e,{method:”POST”,headers:{“Content-Type”:”application/json”,Accept:”application/json”,”ig-requestid”:`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(o)}),i=await r.json();this._setData(i),this.LOG(“Timeout Barramento v4 setado”,this.data)}catch(t){throw new Error(“[infoglobo-user-lib] Erro ao consultar a API Barramento v4”)}}_getAccessToken(){const t=`globoid-tokens-${window.oidcSettings.clientId}`,e=window.localStorage.getItem(t);return e?JSON.parse(e).access_token:void 0}_getGLBID(){return h.getCookie(“GLBID”)}_getUTP(){return h.getCookie(“_utp”)}_getGLOBOID(){return h.getCookie(“GLOBO_ID”)}_getCookieCache(){return h.getCookie(d)}_setCookieCache(){h.setCookie(d,JSON.stringify(this.data),1)}_isCookieCacheValid(){const t=this._getCookieCache(),e=this._getGLOBOID();if(t&&e){const o=this._getCookieCacheData(t),r=this._getGLOBOIDData(e);return o.globoId===r.globoId}return!1}LOG(t=””,e={}){this.config.MODE===c&&console.log(“[infoglobo-user-lib]”,t,e)}}var p=h,f=function(){var t=window.location.hostname;return t.includes(“local.globo.com”)||t.includes(“localhost”)||t.includes(“.qa.globoi.com”)||t.includes(“.qa01.globoi.com”)||t.includes(“.dev.globoi.com”)?”qa”:”prod”};if(window.tenant){var g=function(){var t=i()(a.a.mark(function t(){var e,o,r;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new p(v,y,!0),t.next=3,e.getData();case 3:o=t.sent,r=o.autorizado||!1,OneSignal.push(function(){OneSignal.sendTag(“autorizado”,r)});case 6:case”end”:return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),v=window.tenant?window.tenant:null,y=window.glb&&”function”==typeof window.glb.getCurrentEnv?window.glb.getCurrentEnv():f(),_=window.OneSignalConfig&&window.OneSignalConfig.tenantsNotReq?window.OneSignalConfig.tenantsNotReq:[];v&&!_.includes(v)?(g(),console.log(“[ONESIGNAL] Tenant “.concat(v,” – Sending tag to Onesignal”))):v?console.log(“[ONESIGNAL] Tenant “.concat(v,” – Tag not sent to Onesignal”)):console.log(“[ONESIGNAL] Tenant no definido – Tag not sent to Onesignal”)}}]);
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=111)}([function(e,t,n){“use strict”;var r=n(17),o=n(51),i=Object.prototype.toString;function a(e){return”[object Array]”===i.call(e)}function s(e){return null!==e&&”object”==typeof e}function c(e){return”[object Function]”===i.call(e)}function l(e,t){if(null!==e&&void 0!==e)if(“object”==typeof e||a(e)||(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^s*/,"").replace(/s*$/,"")}}},function(e,t,n){var r=n(103)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(99),o=n(100),i=n(101),a=n(102);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=TypeError},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(16);function o(e,t){for(var n=0;n-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var M=n(71),N=M.custom,D=G(N)?N:null,q={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\])/g,single:/(['\])/g};function B(e,t,n){var r=n.quoteStyle||t,o=q[r];return o+e+o}function F(e){return b.call(String(e),/"/g,""")}function $(e){return!P||!("object"==typeof e&&(P in e||void 0!==e[P]))}function H(e){return"[object Array]"===J(e)&&$(e)}function V(e){return"[object RegExp]"===J(e)&&$(e)}function G(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}e.exports=function e(n,r,o,s){var c=r||{};if(z(c,"quoteStyle")&&!z(q,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength0))throw new TypeError(‘option “indent” must be “\t”, an integer > 0, or `null`’);if(z(c,”numericSeparator”)&&”boolean”!=typeof c.numericSeparator)throw new TypeError(‘option “numericSeparator”, if provided, must be `true` or `false`’);var w=c.numericSeparator;if(void 0===n)return”undefined”;if(null===n)return”null”;if(“boolean”==typeof n)return n?”true”:”false”;if(“string”==typeof n)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o=”… “+r+” more character”+(r>1?”s”:””);return e(v.call(t,0,n.maxStringLength),n)+o}var i=U[n.quoteStyle||”single”];i.lastIndex=0;var a=b.call(b.call(t,i,”\$1″),/[x00-x1f]/g,K);return B(a,”single”,n)}(n,c);if(“number”==typeof n){if(0===n)return 1/0/n>0?”0″:”-0″;var x=String(n);return w?R(n,x):x}if(“bigint”==typeof n){var O=String(n)+”n”;return w?R(n,O):O}var L=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=L&&L>0&&”object”==typeof n)return H(n)?”[Array]”:”[Object]”;var N=function(e,t){var n;if(“t”===e.indent)n=”t”;else{if(!(“number”==typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1),” “)}return{base:n,prev:E.call(Array(t+1),n)}}(c,o);if(void 0===s)s=[];else if(X(s,n)>=0)return”[Circular]”;function W(t,n,r){if(n&&(s=A.call(s)).push(n),r){var i={depth:c.depth};return z(c,”quoteStyle”)&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if(“function”==typeof n&&!V(n)){var ne=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^functions*([w$]+)/);if(t)return t[1];return null}(n),re=te(n,W);return”[Function”+(ne?”: “+ne:” (anonymous)”)+”]”+(re.length>0?” { “+E.call(re,”, “)+” }”:””)}if(G(n)){var oe=k?b.call(String(n),/^(Symbol(.*))_[^)]*$/,”$1″):j.call(n);return”object”!=typeof n||k?oe:Q(oe)}if(function(e){if(!e||”object”!=typeof e)return!1;if(“undefined”!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return”string”==typeof e.nodeName&&”function”==typeof e.getAttribute}(n)){for(var ie=”<"+_.call(String(n.nodeName)),ae=n.attributes||[],se=0;se”,n.childNodes&&n.childNodes.length&&(ie+=”…”),ie+=”“}if(H(n)){if(0===n.length)return”[]”;var ce=te(n,W);return N&&!function(e){for(var t=0;t=0)return!1;return!0}(ce)?”[“+ee(ce,N)+”]”:”[ “+E.call(ce,”, “)+” ]”}if(function(e){return”[object Error]”===J(e)&&$(e)}(n)){var le=te(n,W);return”cause”in Error.prototype||!(“cause”in n)||T.call(n,”cause”)?0===le.length?”[“+String(n)+”]”:”{ [“+String(n)+”] “+E.call(le,”, “)+” }”:”{ [“+String(n)+”] “+E.call(S.call(“[cause]: “+W(n.cause),le),”, “)+” }”}if(“object”==typeof n&&g){if(D&&”function”==typeof n[D]&&M)return M(n,{depth:L-o});if(“symbol”!==g&&”function”==typeof n.inspect)return n.inspect()}if(function(e){if(!i||!e||”object”!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(n)){var ue=[];return a&&a.call(n,function(e,t){ue.push(W(t,n,!0)+” => “+W(e,n))}),Z(“Map”,i.call(n),ue,N)}if(function(e){if(!l||!e||”object”!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(n)){var pe=[];return u&&u.call(n,function(e){pe.push(W(e,n))}),Z(“Set”,l.call(n),pe,N)}if(function(e){if(!p||!e||”object”!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(n))return Y(“WeakMap”);if(function(e){if(!d||!e||”object”!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(n))return Y(“WeakSet”);if(function(e){if(!f||!e||”object”!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(n))return Y(“WeakRef”);if(function(e){return”[object Number]”===J(e)&&$(e)}(n))return Q(W(Number(n)));if(function(e){if(!e||”object”!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(n))return Q(W(C.call(n)));if(function(e){return”[object Boolean]”===J(e)&&$(e)}(n))return Q(h.call(n));if(function(e){return”[object String]”===J(e)&&$(e)}(n))return Q(W(String(n)));if(“undefined”!=typeof window&&n===window)return”{ [object Window] }”;if(“undefined”!=typeof globalThis&&n===globalThis||void 0!==t&&n===t)return”{ [object globalThis] }”;if(!function(e){return”[object Date]”===J(e)&&$(e)}(n)&&!V(n)){var de=te(n,W),fe=I?I(n)===Object.prototype:n instanceof Object||n.constructor===Object,he=n instanceof Object?””:”null prototype”,ge=!fe&&P&&Object(n)===n&&P in n?v.call(J(n),8,-1):he?”Object”:””,me=(fe||”function”!=typeof n.constructor?””:n.constructor.name?n.constructor.name+” “:””)+(ge||he?”[“+E.call(S.call([],ge||[],he||[]),”: “)+”] “:””);return 0===de.length?me+”{}”:N?me+”{“+ee(de,N)+”}”:me+”{ “+E.call(de,”, “)+” }”}return String(n)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return W.call(e,t)}function J(e){return g.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\"+n:"\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?ee(n,r):E.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="n"+t.prev+t.base;return n+E.call(e,","+n)+"n"+t.prev}function te(e,t){var n=H(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=z(e,o)?t(e[o],e):""}var i,a="function"==typeof L?L(e):[];if(k){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var c in e)z(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&i["$"+c]instanceof Symbol||(x.call(/[^w$]/,c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof L)for(var l=0;l=200&&e1&&”boolean”!=typeof t)throw new l(‘”allowMissing” argument must be a boolean’);if(null===F(/^%?[^%]*%?$/,e))throw new c(“`%` may not be present anywhere but at the beginning and end of the intrinsic name”);var n=function(e){var t=B(e,0,1),n=B(e,-1);if(“%”===t&&”%”!==n)throw new c(“invalid intrinsic syntax, expected closing `%`”);if(“%”===n&&”%”!==t)throw new c(“invalid intrinsic syntax, expected opening `%`”);var r=[];return U(e,$,function(e,t,n,o){r[r.length]=n?U(o,H,”$1″):t||e}),r}(e),r=n.length>0?n[0]:””,o=V(“%”+r+”%”,t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],q(n,D([0,1],u)));for(var p=1,d=!0;p=n.length){var m=w(a,f);a=(d=!!m)&&”get”in m&&!(“originalValue”in m.get)?m.get:a[f]}else d=N(a,f),a=a[f];d&&!s&&(T[i]=a)}}return a}},function(e,t,n){“use strict”;e.exports=Function.prototype.call},function(e,t,n){“use strict”;var r=String.prototype.replace,o=/%20/g,i=”RFC1738″,a=”RFC3986″;e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,”+”)},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},function(e,t,n){“use strict”;e.exports=n(112),e.exports.strategies={cadun:n(108),oidc:n(109)}},function(e,t,n){var r=n(7).default,o=n(47);e.exports=function(e){var t=o(e,”string”);return”symbol”==r(t)?t:t+””},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){“use strict”;e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(0),o=n(55),i=n(57),a=n(58),s=n(59),c=n(19),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(60);e.exports=function(e){return new Promise(function(t,u){var p=e.data,d=e.headers;r.isFormData(p)&&delete d["Content-Type"];var f=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in f||s(e.url)||(f=new window.XDomainRequest,h="onload",g=!0,f.onprogress=function(){},f.ontimeout=function(){}),e.auth){var m=e.auth.username||"",y=e.auth.password||"";d.Authorization="Basic "+l(m+":"+y)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f[h]=function(){if(f&&(4===f.readyState||g)&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:1223===f.status?204:f.status,statusText:1223===f.status?"No Content":f.statusText,headers:n,config:e,request:f};o(t,u,r),f=null}},f.onerror=function(){u(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(61),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}if("setRequestHeader"in f&&r.forEach(d,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===p&&(p=null),f.send(p)})}},function(e,t,n){"use strict";var r=n(56);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n(8),i=n(72),a=n(23),s=n(97)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},function(e,t,n){"use strict";var r=n(12),o=n(30),i=n(8),a=n(4),s=r("%Map%",!0),c=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),u=o("Map.prototype.has",!0),p=o("Map.prototype.delete",!0),d=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var n=p(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),l(e,t,n)}};return t}},function(e,t,n){"use strict";e.exports=Object},function(e,t,n){"use strict";var r=n(87);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},function(e,t,n){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},function(e,t,n){"use strict";var r=n(24);e.exports=r.getPrototypeOf||null},function(e,t,n){"use strict";var r=n(9),o=n(4),i=n(13),a=n(94);e.exports=function(e){if(e.length-1?o([n]):n}},function(e,t,n){“use strict”;var r=n(14),o=n(22),i=Object.prototype.hasOwnProperty,a=Array.isArray,s=o(),c=function(e,t){return s.set(e,t),e},l=function(e){return s.has(e)},u=function(e){return s.get(e)},p=function(e,t){s.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),f=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;rn?c(f(i,{plainObjects:r}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:”o”}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),c=0;c1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",c=0;c=1024?a.slice(c,c+1024):a,u=[],p=0;p=48&&f=65&&f=97&&f<=122||i===r.RFC1738&&(40===f||41===f)?u[u.length]=l.charAt(p):f<128?u[u.length]=d[f]:f>6]+d[128|63&f]:f=57344?u[u.length]=d[224|f>>12]+d[128|f>>6&63]+d[128|63&f]:(p+=1,f=65536+((1023&f)<>18]+d[128|f>>12&63]+d[128|f>>6&63]+d[128|63&f])}s+=u.join(“”)}return s},isBuffer:function(e){return!(!e||”object”!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:l,isRegExp:function(e){return”[object RegExp]”===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];if(l(t)){var o=u(t)+1;t[o]=n,p(t,o)}else(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t){if(l(n)){for(var s=Object.keys(n),d=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;he.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(35);function o(){
/*! regenerator-runtime — Copyright (c) 2014-present, Facebook, Inc. — license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function c(e,o,i,a){var s=o&&o.prototype instanceof u?o:u,c=Object.create(s.prototype);return r(c,"_invoke",function(e,r,o){var i,a,s,c=0,u=o||[],p=!1,d={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,n){return i=e,a=0,s=t,d.n=n,l}};function f(e,r){for(a=e,s=r,n=0;!p&&c&&!o&&n3?(o=h===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=e<2&&f<i[1])?(a=0,d.v=r,d.n=i[1]):f<h&&(o=er||r>h)&&(i[4]=e,i[5]=r,d.n=h,a=0))}if(o||e>1)return l;throw p=!0,r}return function(o,u,h){if(c>1)throw TypeError(“Generator is already running”);for(p&&1===u&&f(u,h),a=u,s=h;(n=a<2?t:s)||!p;){i||(a?a1&&(d.n=-1),f(a,s)):d.n=s:d.v=s);try{if(c=2,i){if(a||(o=”next”),n=i[o]){if(!(n=n.call(i,s)))throw TypeError(“iterator result is not an object”);if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(p=d.n<0)?s:e.call(r,d))!==l)break}catch(e){i=t,a=1,s=e}finally{c=1}}return{value:n,done:p}}}(e,i,a),!0),c}var l={};function u(){}function p(){}function d(){}n=Object.getPrototypeOf;var f=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=d.prototype=u.prototype=Object.create(f);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return p.prototype=d,r(h,"constructor",d),r(d,"constructor",p),p.displayName="GeneratorFunction",r(d,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:c,m:g}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e.exports=n=function(e,t,r,o){function i(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?a?a(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r,o,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(34),o=n(37);e.exports=function(e,t,n,i,a){return new o(r().w(e,t,n,i),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(35);e.exports=function e(t,n){function i(e,o,a,s){try{var c=t[e](o),l=c.value;return l instanceof r?n.resolve(l.v).then(function(e){i("next",e,a,s)},function(e){i("throw",e,a,s)}):n.resolve(l).then(function(e){c.value=e,a(c)},function(e){return i("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(o(e.prototype),o(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,t,r){function o(){return new n(function(t,n){i(e,r,t,n)})}return a=a?a.then(o,o):o()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){},function(e,t,n){e.exports=n(50)},function(e,t,n){"use strict";var r=n(69),o=n(98),i=n(14);e.exports={formats:i,parse:o,stringify:r}},,,,,function(e,t,n){},,function(e,t,n){var r=n(7).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){},,function(e,t,n){"use strict";var r=n(0),o=n(17),i=n(52),a=n(11);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(a);c.Axios=i,c.create=function(e){return s(r.merge(a,e))},c.Cancel=n(21),c.CancelToken=n(67),c.isCancel=n(20),c.all=function(e){return Promise.all(e)},c.spread=n(68),e.exports=c,e.exports.default=c},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh
* @license MIT
*/
e.exports=function(e){return null!=e&&(n(e)||function(e){return”function”==typeof e.readFloatLE&&”function”==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){“use strict”;var r=n(11),o=n(0),i=n(62),a=n(63),s=n(65),c=n(66);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){“string”==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,this.defaults,{method:”get”},e)).method=e.method.toLowerCase(),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url));var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach([“delete”,”get”,”head”,”options”],function(e){l.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach([“post”,”put”,”patch”],function(e){l.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=l},function(e,t){var n,r,o=e.exports={};function i(){throw new Error(“setTimeout has not been defined”)}function a(){throw new Error(“clearTimeout has not been defined”)}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n=”function”==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r=”function”==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):p=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++p1)for(var n=1;n>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;t=t<0?A.join(“,”)||null:void 0}];else if(c(m))k=m;else{var T=Object.keys(A);k=y?T.sort(y):T}var I=d?String(n).replace(/./g,”%2E”):String(n),R=a&&c(A)&&1===A.length?I+”[]”:I;if(s&&c(A)&&0===A.length)return R+”[]”;for(var M=0;M<k.length;++M){var N=k[M],D="object"==typeof N&&N&&void 0!==N.value?N.value:A[N];if(!p||null!==D){var q=v&&d?String(N).replace(/./g,"%2E"):String(N),U=c(A)?"function"==typeof i?i(R,q):R:R+(v?"."+q:"["+q+"]");E.set(t,C);var B=r();B.set(h,E),u(P,e(D,U,i,a,s,l,p,d,"comma"===i&&x&&c(A)?null:g,m,y,v,b,w,_,x,S,B))}}return P};e.exports=function(e,t){var n,o=e,l=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=i.formatters[n],l=f.filter;if(("function"==typeof e.filter||c(e.filter))&&(l=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:l,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):c(l.filter)&&(n=l.filter);var p=[];if("object"!=typeof o||null===o)return"";var d=s[l.arrayFormat],h="comma"===d&&l.commaRoundTrip;n||(n=Object.keys(o)),l.sort&&n.sort(l.sort);for(var m=r(),y=0;y0?_+w:””}},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t){},function(e,t,n){“use strict”;var r=n(8),o=n(4),i=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o(“Side channel does not contain “+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return i(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var n=i(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!i(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},function(e,t,n){“use strict”;e.exports=Error},function(e,t,n){“use strict”;e.exports=EvalError},function(e,t,n){“use strict”;e.exports=RangeError},function(e,t,n){“use strict”;e.exports=ReferenceError},function(e,t,n){“use strict”;e.exports=SyntaxError},function(e,t,n){“use strict”;e.exports=URIError},function(e,t,n){“use strict”;e.exports=Math.abs},function(e,t,n){“use strict”;e.exports=Math.floor},function(e,t,n){“use strict”;e.exports=Math.max},function(e,t,n){“use strict”;e.exports=Math.min},function(e,t,n){“use strict”;e.exports=Math.pow},function(e,t,n){“use strict”;e.exports=Math.round},function(e,t,n){“use strict”;var r=n(86);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";e.exports=Object.getOwnPropertyDescriptor},function(e,t,n){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(90);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(26),o=n(27),i=n(92);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},function(e,t,n){"use strict";var r,o=n(28),i=n(25);try{r=[].__proto__===Array.prototype}catch(e){if(!(e&&"object"==typeof e&&"code"in e&&"ERR_PROTO_ACCESS"===e.code))throw e}var a=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},function(e,t,n){"use strict";var r=Object.prototype.toString,o=Math.max,i=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),s=o(0,t.length-a.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(n=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1-1)return e.split(“,”);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError(“Array limit exceeded. Only “+t.arrayLimit+” element”+(1===t.arrayLimit?””:”s”)+” allowed in an array.”);return e},l=function(e,t,n,i){if(e){var a=function(e,t){var n=t.allowDots?e.replace(/.([^.[]+)/g,”[$1]”):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,n)&&!t.allowPrototypes)return;return[n]}var r=/([[^[]]*])/g,i=/([[^[]]*])/.exec(n),a=i?n.slice(0,i.index):n,s=[];if(a){if(!t.plainObjects&&o.call(Object.prototype,a)&&!t.allowPrototypes)return;s.push(a)}for(var c=0;null!==(i=r.exec(n))&&c0&&”[]”===e[e.length-1]){var a=e.slice(0,-1).join(“”);i=Array.isArray(t)&&t[a]?t[a].length:0}for(var s=o?t:c(t,n,i),l=e.length-1;l>=0;–l){var u,p=e[l];if(“[]”===p&&n.parseArrays)u=r.isOverflow(s)?s:n.allowEmptyArrays&&(“”===s||n.strictNullHandling&&null===s)?[]:r.combine([],s,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var d=”[“===p.charAt(0)&&”]”===p.charAt(p.length-1)?p.slice(1,-1):p,f=n.decodeDotInKeys?d.replace(/%2E/g,”.”):d,h=parseInt(f,10);n.parseArrays||””!==f?!isNaN(h)&&p!==f&&String(h)===f&&h>=0&&n.parseArrays&&hu)throw new RangeError(“Parameter limit exceeded. Only “+u+” parameter”+(1===u?””:”s”)+” allowed.”);var d,f=-1,h=t.charset;if(t.charsetSentinel)for(d=0;d<p.length;++d)0===p[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[d]?h="utf-8":"utf8=%26%2310003%3B"===p[d]&&(h="iso-8859-1"),f=d,d=p.length);for(d=0;d

-1&&(m=i(m)?[m]:m),null!==g){var w=o.call(n,g);w&&”combine”===t.duplicates?n[g]=r.combine(n[g],m,t.arrayLimit,t.plainObjects):w&&”last”!==t.duplicates||(n[g]=m)}}return n}(e,n):e,p=n.plainObjects?{__proto__:null}:{},d=Object.keys(u),f=0;f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+” is not iterable”)},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){“use strict”;n.r(t);t.default=class{constructor(){}}},function(e,t,n){“use strict”;n.r(t);t.default=class{constructor(e={}){const{CLIENT_ID:t,RESOURCE:n,URL:r,REDIRECT_URI:o,SCOPES:i=”openid profile”,LEGACY_COMPATIBLE:a=!0}=e;this.loginSettings={clientId:t,resource:n,url:r,redirectUri:o,onLoad:”check-sso”,sessionManagement:”token”,legacyCompatible:a,scope:i},!1===e.ONLOAD&&delete this.loginSettings.onLoad,this.EdgGloboIdData=[{client_id:t,isLogged:null,getTokens:null,email:null}],this.login=this.login.bind(this),this.globoIDJSInicialized=!1}getGloboIdClient(){const e=window.glb.globoIdClientMap.getGloboIdClient(this.loginSettings.clientId);return e.stageQueueMap.applicationUsageStageQueue=e.stageQueueMap.applicationUsageStageQueue||[],e.stageQueueMap.applicationUsageStageQueue}async initGloboIdClient(){try{window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-load”,timestamp:performance.now()}),await this.waitForGloboIdClient(),await window.glb.globoIdClientMap.initNewGloboIdClient(this.loginSettings),this.globoIDJSInicialized=!0,console.log(“GloboID JS initialized successfully.”)}catch(e){throw console.error(“Error loading GloboID JS:”,e),e}}async waitForGloboIdClient(e=10,t=100){for(let n=0;nsetTimeout(e,t))}throw new Error(“GloboID Client did not load within the time limit.”)}async isLogged(){if(this.isLoggedPromise)return this.isLoggedPromise;this.isLoggedPromise=new Promise(async e=>{window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-islogged-init”,function:”isLogged”,timestamp:performance.now()}),this.getGloboIdClient().push(async t=>{const n=await t.isLogged();this.EdgGloboIdData.find(e=>e.client_id===this.loginSettings.clientId).isLogged=n,window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-islogged-result”,function:”isLogged”,result:n?”success”:”notLogged”,timestamp:performance.now()}),this.isLoggedPromise=null,e(n)})})}stringToArrayBuffer(e){return(new TextEncoder).encode(e)}async hashEmail(e){const t=this.stringToArrayBuffer(e),n=await crypto.subtle.digest(“SHA-256″,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,”0”)).join(“”)}retrieveUserData(){return new Promise((e,t)=>{this.getGloboIdClient().push(async n=>{const r=await n.isLogged(),o=this.EdgGloboIdData.find(e=>e.client_id===this.loginSettings.clientId);if(r){let t={};try{t=await n.loadUserInfo()||{}}catch(e){console.warn(“[authentication-lib] loadUserInfo failed”,e)}let r=null;try{r=await n.getTokens()}catch(e){console.warn(“[authentication-lib] getTokens failed”,e)}const a=r&&r.access_token;function i(e){const t=e.replace(/-/g,”+”).replace(/_/g,”/”);return decodeURIComponent(atob(t).split(“”).map(function(e){return”%”+(“00″+e.charCodeAt(0).toString(16)).slice(-2)}).join(“”))}const s=async()=>{try{const e=document.cookie.match(/(?:^|;s*)GLOBO_ID=([^;]+)/);if(!e)return null;const t=e[1].split(“.”);if(!t[1])return null;const n=JSON.parse(i(t[1])),r={name:n.name||n.userName||n.preferred_username,userName:n.userName||n.name||n.preferred_username,picture:n.picture||n.photoUrl,photoUrl:n.photoUrl||n.picture};if(n.email){const e=await this.hashEmail(n.email);o&&(o.email=e)}return r}catch(e){return console.warn(“[authentication-lib] Failed to read GLOBO_ID cookie”,e),null}};if(!a){console.warn(“[authentication-lib] access_token not available for client”,this.loginSettings.clientId),window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-user-login-incomplete”,result:”missingToken”,timestamp:performance.now()});const n=await s();return n?void e({…n,…t}):void e(t||{})}o.getTokens=a;const c=a.split(“.”);let l={};try{l=JSON.parse(i(c[1]||””))}catch(e){console.warn(“[authentication-lib] Failed to decode access token”,e)}const u=l.email;if(u){const e=await this.hashEmail(u);o.email=e}window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-user-login-complete”,result:”success”,timestamp:performance.now()});const p=t&&t.name&&t.userName&&t.photoUrl?null:await s(),d=p?{…p,…t}:t;e(d||{})}else t(“user not authenticated”)})})}login(){this.getGloboIdClient().push(async e=>{await e.loginCustomSettings({storeState:!0})})}logout(){this.getGloboIdClient().push(async e=>{await e.logout()})}async initEvents(){document.addEventListener(“DOMContentLoaded”,async()=>{window.glb&&window.glb.globoIdClientMap?await this.initGloboIdClient():console.warn(“window.glb is not available. GloboID Client will not be initialized.”)})}}},,function(e,t,n){“use strict”;n.r(t);var r={};n.r(r),n.d(r,”qs”,function(){return Pe}),n.d(r,”qsAll”,function(){return Te}),n.d(r,”attachEvent”,function(){return Re}),n.d(r,”detachEvent”,function(){return Me}),n.d(r,”on”,function(){return De}),n.d(r,”off”,function(){return qe}),n.d(r,”toArray”,function(){return Ue});n(45);var o=n(10),i=n.n(o),a=1024,s=function(e){return window.matchMedia(“(min-width: “.concat(e,”px)”)).matches},c=function(){return s(a)},l={save:function(e,t,n){var r=60*n*1e3,o={value:t,timestamp:(new Date).getTime()+r};try{localStorage.setItem(e,JSON.stringify(o))}catch(e){return!1}return t},load:function(e){var t;try{t=JSON.parse(localStorage.getItem(e))}catch(e){return!1}return!!t&&((new Date).getTime()<t.timestamp&&t.value)}};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){i()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d,f=window.location.hostname,h=f.replace(/^www./,""),g=(-1!==f.indexOf("local.globo.com")||-1!==f.indexOf("localhost")||-1!==f.indexOf(".qa.globoi.com")||-1!==f.indexOf(".qa01.globoi.com")||f.indexOf(".dev.globoi.com"),h.match(/^(?:revista)?([^.]+)./)),m=g?g[1]:null;["valorinveste.globo.com","valorinveste.qa.globoi.com"].includes(f)&&(m="valor-investe"),window.localStorageCache=l,window.glb=p(p({},window.glb),{},{cdnConfig:{fnEnv:"prod",fnProduct:{name:m,label:m,home:"//"+f+"/"},fnBuscaUrl:f+"/"}}),glb.headerError||function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(!s&&("function"==typeof d&&d))return d(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return o(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof d&&d,a=0;a=1){manageElementClasses.hasClass(document.documentElement,”glb-on-app”)||(document.documentElement.className+=” glb-on-app”);try{localStorage.setItem(“glbOnApp”,glb.nativeAppInfo.frameworkVersion)}catch(e){e}glb.nativeAppType=”master-app”}}else manageElementClasses.hasClass(document.documentElement,”glb-on-app-comnio”)||(document.documentElement.className+=” glb-on-app-comnio”),glb.nativeAppType=”comnio-app”}},void 0!==t&&t.exports&&(t.exports=r)},{}],3:[function(e,t,n){var r,o,i,a,s;window.glb=window.glb||{},s=e(“../../globo-cdn-src/scripts/tiny-basket.coffee”),e(“../../globo-cdn-src/scripts/common/__custom-event.coffee”),o=window.isArray,a=window.stringStartsWith,glb.extendArrays=function(e,t){if(o(e)&&o(t))return Array.prototype.push.apply(e,t),e},glb.addGlbOnAppClass=e(“../../globo-cdn-src/scripts/app/__master-app-addclass.coffee”),glb.addHasReguaClass=e(“../../globo-cdn-src/scripts/regua/__regua-navegacao-addclass.coffee”),glb.cdnConfig=e(“../../globo-cdn-src/scripts/__cdn-configs.coffee”),glb.createProductColorCss=function(e){return s.injectStylesheet(“text/css”,”.menu-navegacao-color { color: “+e+”; }”,”fn-menu-color-default”)},glb.getCurrentInternalHost=function(e){var t,n,r,o,i,a;for(t=0,o=(a=glb.cdnConfig.fnInternalHosts).length;t<o;t++)if(n=a[t],r=new RegExp(n.pattern),i=n.host,r.test(e))return i;return e},glb.getCurrentProduct=function(e){var t,n,r;return null!=glb.fnProduct?glb.fnProduct:(t=e.configFnJson,r=null!=glb.host?glb.host:window.location.host,n=e.defaultHost,"prod"!==glb.fnEnv&&(r=glb.getCurrentInternalHost(r)),null!=t.products[r]?t.products[r]:t.products[n])},glb.getCurrentBuscaDomain=function(e){return null!=glb.fnBuscaUrl?glb.fnBuscaUrl:e.fnHost},glb.getProductsLists=function(e){var t,n,r,o,i,a,s,c;for(n=[],a=[],r=[],(n=function(){var n,r;for(t in r=[],n=e.products)c=n[t],r.push({home:c.home,name:c.name,order:c.menuOrder});return r}()).sort(function(e,t){return e.order-t.order}),o=0,i=n.length;o<i;o++)s=n[o],a.push(s.name),r.push(s.home);return{names:a,homes:r}},glb.getCurrentEnv=function(){var e,t;return null!=glb.fnEnv?glb.fnEnv:(e="prod",-1!==(t=null!=glb.host?glb.host:window.location.host).indexOf("local.globo.com")||-1!==t.indexOf("localhost")||-1!==t.indexOf(".qa.globoi.com")||-1!==t.indexOf(".qa01.globoi.com")||-1!==t.indexOf(".dev.globoi.com")?e="qa":null!=glb.fnEnvName&&glb.fnEnvName?e=glb.fnEnvName.toLowerCase():-1!==t.indexOf("local.cdn.globo")&&(e="local"),e)},window.fnSpriteSvgSuccess=function(e){var t;(t=document.querySelector("#regua-svg-container"))||((t=document.createElement("div")).id="regua-svg-container",t.className="regua-svg-container",t.style.height=0,t.style.width=0,t.style.position="absolute",t.style.left="-999999px",document.body.insertBefore(t,document.body.childNodes[0])),t.innerHTML=e},r=function(e,t,n){var r,o,i;for(o=0,i=e.length;o<i;o++)r=e[o],a(r.url,"//")||(r.url=t+r.url),r.expire=n,r.sourceMap&&(r.sourceMap=t+r.sourceMap)},i=function(e,t){var n,o,i,a,c,l,u,p,d,f,h,g,m,y,v,b,w,_,x,S,E,A,O;for(c=t.debug,o=t.components,A=t.typeFiles,p=t.fnDevice,d=t.fnEnv,f=t.fnExpires[d],u=t.fnCdnBaseUrls[d],t.configFnJson=e,t.fnProduct=glb.getCurrentProduct(t),t.fnHost=t.fnProduct.home.replace(/(/)+/g,""),t.fnBuscaUrl=glb.getCurrentBuscaDomain(t),null!=(null!=(S=t.fnProduct)?S.color:void 0)&&glb.createProductColorCss(t.fnProduct.color),h=glb.getProductsLists(t.configFnJson),t.fnProductsNames=h.names,t.fnProductsHomes=h.homes,l={},O={},g=0,b=A.length;g<b;g++)l[E=A[g]]=[];for(m=0,w=o.length;m<w;m++)if(!(O[n=o[m]]||"app"===n&&!glb.nativeAppType||"regua"===n&&!glb.hasRegua)&&(O[n]=!0,(a=e[n])&&a[p]))for(i=a[p],y=0,_=A.length;y<_;y++)E=A[y],i&&i[E]&&glb.extendArrays(l[E],i[E]);for(v=0,x=A.length;v<x;v++)l[E=A[v]]&&(r(l[E],u,f),s.require(l[E],c))},glb.fnCdnStarted=!1,glb.initFnCdn=function(e){var t,n,o,a,c,l,u;if(!glb.fnCdnStarted)return glb.fnCdnStarted=!0,null!=glb.cdnComponents&&(e.components=glb.extendArrays(e.components,glb.cdnComponents)),glb.addGlbOnAppClass(),glb.addHasReguaClass(),e.fnDevice=glb.isMobile?"mobile":"desktop",u="undefined"!=typeof XDomainRequest,t=e.debug=glb.fnDebug||u||-1!==window.location.hash.indexOf("debug-fn-cdn-on"),a=e.fnEnv=glb.getCurrentEnv(),c=e.fnExpire=e.fnExpires[a],n=e.fnCdnBaseUrl=e.fnCdnBaseUrls[a],o=e.fnConfigFile=e.fnConfigFiles[a],r(l=[{url:o,key:"fn-config",success:function(t){return i(t,e)}}],n,c),s.require(l,t)}},{"../../globo-cdn-src/scripts/__cdn-configs.coffee":1,"../../globo-cdn-src/scripts/app/__master-app-addclass.coffee":2,"../../globo-cdn-src/scripts/common/__custom-event.coffee":4,"../../globo-cdn-src/scripts/regua/__regua-navegacao-addclass.coffee":6,"../../globo-cdn-src/scripts/tiny-basket.coffee":8}],4:[function(e,t,n){var r;try{new CustomEvent("test")}catch(e){e,(r=function(e,t){var n;return n=void 0,t=t||{bubbles:!1,cancelable:!1,detail:void 0},(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}).prototype=window.Event.prototype,window.CustomEvent=r}void 0!==t&&t.exports&&(t.exports=window.CustomEvent)},{}],5:[function(e,t,n){var r,o,i;o=function(e,t){var n;return null!=e&&null!=t&&(n=new RegExp("(?:^|\s)"+t+"(?!\S)"),!!e.className.match(n))},r=function(e,t){o(e,t)||(e.className+=" "+t)},i=function(e,t){var n;o(e,t)&&(n=new RegExp("(?:^|\s)"+t+"(?!\S)","g"),e.className=e.className.replace(n,""))},window.manageElementClasses={hasClass:o,addClass:r,removeClass:i},void 0!==t&&t.exports&&(t.exports=window.manageElementClasses)},{}],6:[function(e,t,n){var r,o,i,a;window.glb=window.glb||{},i=e("../../../globo-cdn-src/scripts/common/__manage-element-classes"),r=i.addClass,a=i.removeClass,glb.reguaShouldStart=e("../../../globo-cdn-src/scripts/regua/__regua-shouldstart"),o=function(){var e;e=glb.reguaShouldStart(),null==glb.hasRegua&&(glb.hasRegua=e),glb.hasRegua?(r(document.documentElement,"has-regua"),r(document.documentElement,"svg-support"),a(document.documentElement,"has-not-regua")):(a(document.documentElement,"has-regua"),a(document.documentElement,"svg-support"),r(document.documentElement,"has-not-regua"))},void 0!==t&&t.exports&&(t.exports=o)},{"../../../globo-cdn-src/scripts/common/__manage-element-classes":5,"../../../globo-cdn-src/scripts/regua/__regua-shouldstart":7}],7:[function(e,t,n){var r,o,i,a,s,c,l,u;window.viewportSize={},window.viewportSize.getHeight=function(){return l("Height")},window.viewportSize.getWidth=function(){return l("Width")},l=function(e){var t,n,r,o,i,a;return a=void 0,i=e.toLowerCase(),o=(r=window.document).documentElement,void 0===window["inner"+e]?a=o["client"+e]:window["inner"+e]!==o["client"+e]?((t=r.createElement("body")).id="vpw-test-b",t.style.cssText="overflow:scroll",(n=r.createElement("div")).id="vpw-test-d",n.style.cssText="position:absolute;top:-1000px",n.innerHTML="@media(“+i+”:”+o[“client”+e]+”px){body#vpw-test-b div#vpw-test-d{“+i+”:7px!important}}”,t.appendChild(n),o.insertBefore(t,r.head),a=7===n[“offset”+e]?o[“client”+e]:window[“inner”+e],o.removeChild(t)):a=window[“inner”+e],a},window.myInnerWidth=viewportSize.getWidth(),window.myInnerHeight=viewportSize.getHeight(),o=function(){return window.myInnerWidth||window.innerWidth},r=function(){return window.myInnerHeight||window.innerHeight},i=function(){var e;return null!=window.isAndroidBrowser?window.isAndroidBrowser:(e=navigator.userAgent,window.isAndroidBrowser=e.indexOf(“Mozilla/5.0”)>-1&&e.indexOf(“Android “)>-1&&e.indexOf(“AppleWebKit”)>-1&&-1===e.indexOf(“Chrome”),window.isAndroidBrowser)},c=function(){var e;return null!=window.isWindowsPhoneBrowser?window.isWindowsPhoneBrowser:(e=navigator.userAgent,window.isWindowsPhoneBrowser=e.match(/Windows Phone/i)||e.match(/iemobile/i)||e.match(/WPDesktop/i),window.isWindowsPhoneBrowser)},a=function(){return null!=window.isPortrait?window.isPortrait:(window.isPortrait=o()<=r(),window.isPortrait)},s=function(){return null!=window.isTouchable?window.isTouchable:(window.isTouchable="ontouchstart"in window||navigator.msMaxTouchPoints||window.DocumentTouch&&document instanceof window.DocumentTouch,window.isTouchable)},u=function(){var e;return window.REGUAMAXWIDTHPORTRAIT=window.REGUAMAXWIDTHPORTRAIT||640,window.REGUAMAXWIDTHLANDSCAPE=window.REGUAMAXWIDTHLANDSCAPE||767,window.isPortrait=a(),window.isTouchable=s(),window.isAndroidBrowser=i(),window.isWindowsPhoneBrowser=c(),e=o(),glb.isMobile=window.isPortrait&&e<=window.REGUAMAXWIDTHPORTRAIT||!window.isPortrait&&e<=window.REGUAMAXWIDTHLANDSCAPE,glb.isMobile&&glb.reguaReady&&!window.isAndroidBrowser&&!window.isWindowsPhoneBrowser&&(!glb.nativeAppType||"comnio-app"!==glb.nativeAppType)&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")&&(null==window.glb.nativeAppInfo||window.glb.nativeAppInfo.frameworkVersion)},void 0!==t&&t.exports&&(t.exports=u)},{}],8:[function(e,t,n){var r,o,i,a,s,c,l,u,p,d,f,h,g,m,y,v,b,w=function(e,t){return function(){return e.apply(t,arguments)}};b=window.stringStartsWith=function(e,t){return e.slice(0,t.length)===t},h=window.isArray=function(e){return e&&e.constructor===Array},u=window.extendObjs=function(e,t){var n,r;for(n in r={},e)r[n]=e[n];for(n in t)r[n]=t[n];return r},d=document.head||document.getElementsByTagName("head")[0],g=null;try{g=window.localStorageInterface||window.localStorage}catch(e){l=e,console.log("localstorage error",l),g=null}p=function(){var e;if(e="modernizr",!g||!g.setItem)return!1;try{return g.setItem(e,e),g.removeItem(e),!0}catch(e){return l=e,console.log("localstorage error",l),!1}}(),window.localStorageCache=v={save:function(e,t,n){var r,o;if(!p)return!1;r=60*n*1e3,o={value:t,timestamp:(new Date).getTime()+r};try{g.setItem(e,JSON.stringify(o))}catch(e){return l=e,console.log("localstorage error",l),!1}return t},load:function(e){var t;if(!p)return!1;try{t=JSON.parse(g.getItem(e))}catch(e){return l=e,console.log("localstorage error",l),!1}return!!t&&((new Date).getTime()=0?n.expire:60,i=n.success||function(){},s=n.error||function(){},o=n.key||t,v=n.type,m=n.skipCache,y=n.timeout||null,p=null,b=n.xhrConfigsCallback,c=n.data,l=null!=n.dataType?n.dataType:v,null==v&&(v=(v=t.split(“.”))[v.length-1]),d=”json”===v,h=”json”===l,!(r=this.getCache(o,m,d)))return(g=a(e,t))?(b&&”function”==typeof b&&b(g),f=”undefined”!=typeof XDomainRequest&&g instanceof XDomainRequest,g.onload||(g.onload=function(e){return function(){return p&&clearTimeout(p),f||g.status>=200&&g.status=0?t.expire:60,o=t.success||function(){},r=t.key||e,l=t.skipCache,a=”ajaxCacheJsonp”+this.jsonpId++,(n=this.getCache(r,l,!0))?o(n):(window[a]=function(e){return function(t){return e.complete(t,i,r,l,!0,o)}}(this),e+=-1===e.indexOf(“?”)?”?callback=”+a:”&callback=”+a,(c=s(a)).src=e,d.appendChild(c))},e.prototype.get=function(e,t){return this.request(“GET”,e,t)},e.prototype.post=function(e,t){return this.request(“POST”,e,t)},e}(),window.ajaxCache=new r,o=function(){function e(){}return e.prototype.insertJsOnScriptTag=function(e,t,n){var r;return n&&(t+=”n//# sourceMappingURL=”+n),r=document.createTextNode(t),e.appendChild(r)},e.prototype.injectScriptTag=function(e,t,n,r){var o;(o=s(n)).src=t,d.appendChild(o)},e.prototype.injectScript=function(e,t,n,r){var o;o=s(n),this.insertJsOnScriptTag(o,t,r),d.appendChild(o)},e.prototype.injectLinkTag=function(e,t,n,r){var o;(o=document.createElement(“link”)).id=n,o.type=”text/css”,o.rel=”stylesheet”,o.href=t,d.appendChild(o)},e.prototype.injectStylesheet=function(e,t,n,r){i(t,n,r,null)},e.prototype.defaultHandler=function(e,t,n,r){window[“tinyBasketResult”+e]=window[“tinyBasketResult”+e]||{},window[“tinyBasketResult”+e][n.toString()]=t},e.prototype.getHandler=function(e,t){return”js”===e?t?this.injectScriptTag:this.injectScript:”css”===e?t?this.injectLinkTag:this.injectStylesheet:this.defaultHandler},e.prototype.skipCacheRequestManager=function(e,t){return t.success(e)},e.prototype.getRequestManager=function(e,t){return!t||”js”!==e&&”css”!==e?”jsonp”===e?ajaxCache.getJsonp:ajaxCache.get:this.skipCacheRequestManager},e.prototype.require=function(e,t){var n,r,o,i,a,s,c,l,p,d,f,g;if(n=this,e)for(h(e)||(e=[e]),o=0,a=e.length;o!(!window.glb||!window.glb.cdnConfig),O=()=>A()?E.fnProduct:S,C=()=>A()?E.fnBuscaUrl:{},L=()=>A()?E.fnEnv:{},j=()=>{let e=O().name;return(e=”famosos”===e?”ego”:e)||”g1″},k=()=>window.localStorageCache.load(“fn-search-history”),P=e=>{let t=k()||[];t.push({type:”featuredContent”,data:e}),t.length>9&&(t=t.slice(-9));const n=[];t.forEach(e=>{!((e,t)=>{for(let n=0;n”featuredContent”===e.type&&”title”in e.data)(e)&&n.push(e)}),window.localStorageCache.save(“fn-search-history”,n,43200)},T=()=>{if(“undefined”==typeof document)return{};const e=document.querySelector(“.header__search”);if(!e)return{};const t=e.getAttribute(“data-search-tenant”)||null;return{tenantId:t,configId:e.getAttribute(“data-search-config-id”)||null||(t?`${t}Default`:null)}},I=e=>{const t=`${(()=>{const e=L();if(“qa”===e)return`${x}/suggest`;if(“prod”===e)return`${_}/suggest`;const t=O(),n=C();return n&&/^(http:|https:)?//.+/busca/?$/.test(n)?n:(t.search||t.home)&&”prod”===L()?`${t.search||t.home}busca/suggest`:”/busca/suggest”})()}?${w.a.stringify(e)}`;return v.a.get(t,{headers:(()=>{const e={Accept:”application/json”},{tenantId:t,configId:n}=T();return t&&(e[“X-Tenant-Id”]=t),n&&(e[“X-Config-Id”]=n),e})()})},R=()=>{const{tenantId:e}=T();return[e||j(),…window.searchTenantsRestriction||[]].filter(Boolean)},M=(e=3)=>{const t=e=>((e=>{window.localStorageCache.save(“fn-pre-suggest”,e,15)})(e),e),n=e=>{const n=window.localStorageCache.load(“fn-pre-suggest”);return n?Promise.resolve(n):I(e).then(t)},r=R(),o={score:!0,size:e};r.length>0&&(o.priority=r.join(“,”));const i=k();return new Promise((e,t)=>{n(o).then((e=>t=>({preSuggest:t,searchHistoryHtml:e,portalLabel:O().label}))(i)).then(e).catch(t)})},N=(e,t=6,n=3)=>{const r=R(),o={q:e,score:!0,size:Math.max(t,n)};return r.length>0&&(o.priority=r.join(“,”)),I(o)};var D=function(e){return e.stopPropagation(),new Promise(t=>{let n=null,r=null;const o=e.timeStamp,i=e=>{n=e.touches[0].clientX,r=e.touches[0].clientY},a=e=>{this.removeEventListener(“touchend”,a),this.removeEventListener(“touchmove”,i),(e=>!n&&!r&&e-o{let e;return()=>new Promise(t=>{clearTimeout(e),e=setTimeout(()=>{t()},300)})})();var U=function(e,t){let n;return function(…r){const o=this;clearTimeout(n),n=setTimeout(()=>{e.apply(o,r)},t)}};var B=(e,t)=>new Promise(n=>{if(e.length>=t)return n(e);throw new function(e){this.prototype=Object.create(Error.prototype),this.name=”Validation”,this.message=e}(“Caracteres menor que o esperado”)});var F=(e=[],t)=>(function(n){const r=e.map(e=>e.call(this,n));return Promise.all(r).then(()=>{t.call(this,n)}).catch(()=>!1)});var $=(e={})=>{const{baseSVGPath:t,insertHTML:n,className:r,placeholder:o,transitionDuration:i}=e,a=[i?`transition-duration: ${i}`:””],s=(e,t)=>”default-item”===t?(e=>”valorinternational”===O().name?`Search for  ${e}  at ${O().name}`:`Buscar por  ${e}  em ${O().name}`)(e):e;return n(`

n ${`

n n n n n n

`}n

n

n

    n

    n

    n

    `),{templateItem:({title:e=””,type:n,url:r,publisher:o,icone:i,iconeWidth:a,score:c,parent:l},u)=>”empty-message”===n?`

  • ${e}
  • `:”block-title”===n?`

  • ${e}
  • `:`n

  • n n
    n n n n

    n

    n ${s(e,n)}n ${((e=””)=>e?`Em ${e}`:””)(l)}n

    n n

  • `}};var H=(e={})=>{const{transformPreSuggest:t,transformSuggest:n,limitResult:r,limitHistory:o,minLength:i}=e,a=i,s=”undefined”!=typeof window&&window.console?window.console:null,{templateItem:c}=$(e);let l=null;const u=e=>{document.querySelector(“.searchV2__suggest__items”).innerHTML=e.map(c).join(“”)},p=e=>Object.assign({},e,{limitResult:r,limitHistory:o}),d=()=>”preSuggest”===l?Promise.resolve():(l=”preSuggest”,new Promise(e=>M().then(p).then(t).then(u).then(e).catch(({message:e})=>{s&&s.error&&s.error(e)}))),f=({name:e,message:t})=>{switch(e){case”Validation”:d();break;default:s&&s.error&&s.error(t)}};return{renderPreSuggest:d,renderSuggest:e=>new Promise(t=>B(e,a).then(N).then(p).then(n(e)).then(u).then(()=>{l=”suggest”}).then(t).catch(f)),handleSuggestError:f}};var V=()=>{const e=document.body,t=e.querySelector(“.searchV2”),n=t.querySelector(“.searchV2__header__term”);let r,o=null;const i=(e,t)=>n=>{const r=((e,t)=>{if(!window.Element||!window.Element.prototype.closest){let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null}return e.closest(`.${t}`)})(n.target,e);r&&t.call(r,n)};let a={};return{get el(){return t},get term(){return n.value},set term(e){n.value=e},set afterClose(e){o=e},on:(e,t,n,r={},o=document.body)=>{const s=`${t}–${e}`;a=Object.assign({},a,{[s]:i(t,n)}),o.addEventListener(e,a[s],r)},off:(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,a[`${t}–${e}`],r)},attachEvent(e,n,r,o={}){const i=[].slice.call(t.querySelectorAll(n));for(let t=0;t<i.length;t+=1)i[t].addEventListener(e,r,o);return this},detachEvent(e,n,r,o={}){const i=[].slice.call(t.querySelectorAll(n));for(let t=0;t{r=window.pageYOffset,e.classList.add(“searchV2__noscroll”),e.style.top=`-${r}px`,window.requestAnimationFrame(()=>{const e=()=>{n(),t.removeEventListener(“transitionend”,e)};t.classList.add(“searchV2–animate”,”searchV2–opened”),t.addEventListener(“transitionend”,e)})},close:()=>{e.classList.remove(“searchV2__noscroll”),window.requestAnimationFrame(()=>{e.style.top=””,window.scrollTo(0,r),r=0,t.classList.remove(“searchV2–opened”)});const n=()=>{o(),t.classList.remove(“searchV2–animate”),t.removeEventListener(“transitionend”,n)};t.addEventListener(“transitionend”,n)},btnReset:{set display(e){const n=”show”===e?”block”:”none”;t.querySelector(“.searchV2__header__btn-reset”).style.display=n}}}};var G=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r=”busca_framework”,o=”undefined”!=typeof window&&window.console?window.console:null,i=(…e)=>(t&&o&&(o.group(“Search tracking”),o.log([r,…e]),o.groupEnd(“Search tracking”)),n([“_trackEvent”,r,…e]));return{search:e=>i(“item buscado”,e),loadSuggest:e=>i(“suggest carregado”,e),clickItem:e=>{i(“suggests”,`clique | navegacional | ${e}`)},open:()=>i(“abrir busca”,”abrir busca”,!0),close:()=>i(“fechar busca”,”fechar busca”,!0),focus:()=>i(“foco campo”,”foco campo”,!0)}};const W=({keyCode:e})=>-1===[13].indexOf(e)?Promise.resolve():Promise.reject(),z=(e=””)=>{const t=(()=>{if(“undefined”==typeof document)return””;const e=document.querySelector(“.header__search”);return e?(e.getAttribute(“data-search-url”)||””).trim():””})();if(t){return`${t.replace(//+$/g,””)}/?q=${e}`}return`${O().home}busca/?q=${e}`},J=e=>{if(!e)return e;if(/^(https?:)?///.test(e))return e;const t=(()=>{if(“undefined”==typeof document||”undefined”==typeof window)return””;const e=document.querySelector(“.header__search”),t=e?e.getAttribute(“data-search-url”):””;if(!t)return””;try{return new URL(t,window.location.origin).origin}catch(e){return””}})();return t?e.startsWith(“/”)?`${t}${e}`:`${t}/${e}`:e},X={combate:{name:”combate_terciario”,width:14},g1:{name:”g1_primario”,width:18},globo:{name:”globocom_terciario”,width:16},ge:{name:”globoesporte_secundario”,width:19},globonews:{name:”globonews_terciario”,width:21},ego:{name:”ego_terciario”,width:18},cartola:{name:”cartola_terciario”,width:18},globoplay:{name:”globoplay_terciario_color”,width:24},globosatplay:{name:”globosatplay_terciario”,width:16},gshow:{name:”gshow_terciario”,width:16},sportv:{name:”sportv_terciario”,width:16},techtudo:{name:”techtudo_secundario”,width:12}},K=e=>{const t=e.title||e.text,n=e.publisher?e.publisher.toLowerCase():””,r=e.parent||n,o=(“feature_content”===e.type||n)&&e.url?e.url:z(t),i=J(o);return{title:t,type:e.type||”searched”,url:i,score:e.score||null,publisher:n||””,icone:X[n]?X[n].name:”eixo-icone-busca”,iconeWidth:X[n]?X[n].width:22,parent:r||””}},Q=(()=>{const e=window.SEARCH_HOSTNAME||window.location.hostname;return[“valorinternational.globo.com”,”valorinternational.qa.globoi.com”].includes(e)?{topSearches:”Top searches”,recentSearches:”Recent Searches”,inputPlaceholder:”What are you looking for?”,emptyMessage:”No results found for”}:{topSearches:”Mais buscados”,recentSearches:”Buscas Recentes”,inputPlaceholder:”o que você procura?”,emptyMessage:”Nenhum resultado encontrado para”}})(),Y={data:{}},Z=e=>(e||””).toString().toLowerCase(),ee=()=>{if(“undefined”==typeof window)return{priority:null,restrictions:[]};const e=(()=>{if(“undefined”==typeof document)return””;const e=document.querySelector(“.header__search”);return e&&e.getAttribute(“data-search-tenant”)||””})()||(j?j():null);return{priority:Z(e),restrictions:Array.isArray(window.searchTenantsRestriction)?window.searchTenantsRestriction.map(Z).filter(Boolean):[]}},te={transformPreSuggest:e=>[…(({searchHistoryHtml:e,limitResult:t})=>e?[{title:Q.recentSearches,type:”block-title”},…e.reverse().slice(0,t).map(({data:e})=>K(e))]:[])(e),…(({preSuggest:e=Y,limitHistory:t})=>e.data.suggestions?[{title:Q.topSearches,type:”block-title”},…e.data.suggestions.slice(0,t).map(K)]:[])(e)],transformSuggest:e=>(t={})=>{const n=t.data||{};let r=[];”undefined”!=typeof window&&!0===window.ENABLE_FEATURED_CONTENT&&(Array.isArray(n.featured_content)?r=n.featured_content:Array.isArray(n.featuredContent)&&(r=n.featuredContent));const o=Array.isArray(n.suggestions)?n.suggestions:[],i=(()=>{const e=window.SEARCH_HOSTNAME||window.location.hostname;return[“valor.globo.com”,”valor.qa.globoi.com”].includes(e)?”valor”:[“pipelinevalor.globo.com”,”pipelinevalor.qa.globoi.com”].includes(e)?”pipelinevalor”:[“valorinveste.globo.com”,”valorinveste.qa.globoi.com”].includes(e)?”valorinveste”:”outro”})(),a=(e=>({valor:”searchvaloreconomico”,pipelinevalor:”searchpipeline”,valorinveste:”searchvalorinveste”})[e]||””)(i),{priority:s,restrictions:c}=ee();let l=r;”valor”===i?s&&(l=l.filter(e=>Z(e.product)===s)):[“pipelinevalor”,”valorinveste”].includes(i)?c.length>0&&(l=l.filter(e=>c.includes(Z(e.product)))):s&&(l=l.filter(e=>((e,t)=>[e.product,e.publisher,e.parent].some(e=>Z(e)===t))(e,s)));const u=l.map(e=>{const t=Object.assign({},e,{type:”feature_content”});return K(t)}).filter(e=>{const t=e.url||””;return!t.includes(“/valor-ri/empresa”)&&!t.includes(“interno_origem=multicontent”)}).map(e=>{if(!(e.url||””).includes(“/empresas/valor-empresas-360”))return e;const t=new URL(e.url,window.location.origin),n=t.origin+t.pathname;let r=t.searchParams.get(“interno_origem”);return r&&”multicontent”!==r||(r=a),Object.assign({},e,{url:`${n}?360&interno_origem=${r}`})}).sort((e,t)=>{const n=(e.url||””).includes(“/empresas/valor-empresas-360″),r=(t.url||””).includes(“/empresas/valor-empresas-360”);return n&&!r?-1:!n&&r?1:0}).slice(0,t.limitResult||6),p=o.slice(0,t.limitHistory||4).map(K);return 0===u.length&&0===p.length?[{title:`${Q.emptyMessage} “${e}”`,type:”empty-message”}]:[…u,…p,(e=>K({title:e,type:”default-item”}))(e)]},baseSVGPath:”svg/sprite.min.svg”,afterClose:null,className:””,placeholder:Q.inputPlaceholder,transitionDuration:null,limitResult:3,limitHistory:4,debugMode:!1,minLength:2,handleGA:e=>e,insertHTML(e){document.body.insertAdjacentHTML(“beforeEnd”,e)}};var ne=(e={})=>{const t=Object.assign({},te,e),{renderPreSuggest:n,renderSuggest:r,handleSuggestError:o}=H(t),i=G(t),a=V(t),s=t.minLength,c=()=>{a.btnReset.display=”hide”,a.term=””},l=U(e=>{!e||e.length{a.attachEvent(“click”,”.searchV2__item a”,function(){const e=this.parentNode.getAttribute(“data-search-url”);i.clickItem(e)}),i.loadSuggest(e)})},500),u=e=>{e.stopPropagation(),e.preventDefault();const t=a.term.trim();B(t,s).then((e=>()=>{P({title:e,url:z(e),score:null}),i.search(e),window.location.href=z(e)})(t)).catch(o)},p=F([D],function(e){e.stopPropagation(),e.preventDefault();const t=this.getAttribute(“data-search-url”),n=unescape(this.getAttribute(“data-search-title”));”feature_content”===this.getAttribute(“data-search-type”)?i.clickItem(t):i.search(n),P({url:t,title:n,publisher:this.getAttribute(“data-search-publisher”),score:this.getAttribute(“data-search-score”)})}),d=()=>{i.close(),a.close()},f=F([W,q,({target:e})=>(a.btnReset.display=e.value.length{const t=e.target.value.trim();l(t)}),h=F([D],e=>{n().then(c),e.preventDefault(),e.stopPropagation()}),g=F([D],d),m=()=>{i.focus()},y=()=>{a.attachEvent(“focus”,”.searchV2__header__term”,m).attachEvent(“keyup”,”.searchV2__header__term”,f).attachEvent(“touchstart”,”.searchV2__header__btn-back”,g,{passive:!0}).attachEvent(“touchstart”,”.searchV2__header__btn-reset”,h,{passive:!0}).attachEvent(“submit”,”.searchV2__header__form”,u),a.on(“touchstart”,”searchV2__item”,p,{passive:!0})};return{open:()=>{n().then(c),i.open(),a.afterClose=(()=>{“function”==typeof t.afterClose&&t.afterClose(),a.detachEvent(“focus”,”.searchV2__header__term”,m).detachEvent(“keyup”,”.searchV2__header__term”,f).detachEvent(“touchstart”,”.searchV2__header__btn-back”,g,{passive:!0}).detachEvent(“touchstart”,”.searchV2__header__btn-reset”,h,{passive:!0}).detachEvent(“submit”,”.searchV2__header__form”,u).detachEvent(“touchstart”,”.searchV2__item”,p,{passive:!0}),a.off(“touchstart”,”searchV2__item”,p,{passive:!0})}),a.open(y)},close:d}},re=n(2),oe=n.n(re),ie=n(5),ae=n.n(ie),se=n(6),ce=n.n(se),le=function(e){var t=document.createElement(“div”);t.className=”search-suggest__menu-group”;return{root:t,render:function(n){var r=n.label,o=n.items,i=n.onClick;if(!o.length)return null;var a=document.createElement(“p”);a.className=”search-suggest__menu-label”,a.innerHTML=””.concat(‘n n n n n’,” “).concat(r);var s=document.createElement(“ul”);s.className=”search-suggest__menu-list”,o.forEach(function(e){var t=document.createElement(“li”),n=e.parent?’Em ‘.concat(e.parent,”“):””;t.innerHTML=’‘).concat(e.label).concat(n,”“),s.appendChild(t),i&&t.addEventListener(“click”,function(t){i(t,e)})}),t.appendChild(a),t.appendChild(s),e.appendChild(t)}}};function ue(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var pe=function(e){var t=document.createElement(“div”);t.className=”search-screen search-screen–cover”,e.appendChild(t);return{root:t,render:function(e){var n=e.latestSearches,r=e.suggestions;ue(t),n.length>0&&le(t).render({label:”Recentes”,items:n}),r.length>0&&le(t).render({label:”Mais buscados”,items:r})},show:function(){t.classList.add(“search-screen–is-active”)},hide:function(){t.classList.remove(“search-screen–is-active”)}}},de=function(e){var t=document.createElement(“aside”);t.className=”search-suggest search-suggest__menu”;return{root:t,render:function(){e.appendChild(t)},show:function(){t.classList.add(“search-suggest–is-active”),t.classList.remove(“search-suggest–is-disable”)},hide:function(){t.classList.remove(“search-suggest–is-active”),setTimeout(function(){t.classList.add(“search-suggest–is-disable”)},300)}}},fe=function(e){var t=e.searchUrl,n=e.term,r=e.label,o=n||””;return{url:””.concat(t,”/?q=”).concat(encodeURIComponent(o)),label:r||o,term:o}},he=[“valorinternational.globo.com”,”valorinternational.qa.globoi.com”].includes(window.location.hostname)?”valorinternational”:”other_tenant”,ge={valorinternational:”Results”,other_tenant:”Resultados”},me={valorinternational:”search for”,other_tenant:”buscar por”},ye=function(e){var t=document.createElement(“div”);t.className=”search-screen search-screen–suggest”,e.appendChild(t);return{root:t,render:function(e){var n=e.searchUrl,r=e.search,o=e.suggestions,i=void 0===o?[]:o,a=e.onClick,s=void 0===a?null:a;ue(t);var c=oe()(i),l=fe({searchUrl:n,term:r,label:”“.concat(me[he],’ “‘).concat(r,'”‘)});c.push(l),c.length>0&&le(t).render({label:ge[he],items:c,onClick:s})},show:function(){t.classList.add(“search-screen–is-active”)},hide:function(){t.classList.remove(“search-screen–is-active”)}}},ve=function(e){var t=e.cacheLimit,n=void 0===t?3:t,r=”search_suggest_latest”,o={get:function(e){return JSON.parse(localStorage.getItem(e))},set:function(e,t){localStorage.setItem(e,JSON.stringify(t))},clear:function(){localStorage.clear()}},i=function(){return o.get(r)||[]};return{get:i,add:function(e){if(e.label=e.term,e.label){var t=i()||[];return t=[e].concat(oe()(t)),o.set(r,t.slice(0,n)),o.get(r)||[]}},clear:function(){o.set(r,null)}}},be=n(3),we=n.n(be),_e=n(7),xe=n.n(_e),Se=n(1),Ee=n.n(Se),Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=function(){var e=window.location.hostname;return[“valor.globo.com”,”valor.qa.globoi.com”].includes(e)?”valor”:[“pipelinevalor.globo.com”,”pipelinevalor.qa.globoi.com”].includes(e)?”pipelinevalor”:[“valorinveste.globo.com”,”valorinveste.qa.globoi.com”].includes(e)?”valorinveste”:”outro”},o=function(){return t?{“X-Tenant-Id”:t,”X-Config-Id”:””.concat(t,”Default”)}:{}},i=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){if(!e)return null;if(“string”==typeof e)return{text:e,highlighted:e};if(“object”===xe()(e)){var t=e.text||e.term||e.label||””;return t?{text:t,highlighted:e.highlighted||e.label||t}:null}return null}).filter(Boolean)},a=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=({pipelinevalor:[“pipelinevalor”],valorinveste:[“valor-investe”]}[arguments.length>2&&void 0!==arguments[2]?arguments[2]:r()]||n||[]).filter(Boolean),a=i.length>0?i.join(“,”):t,s=new URLSearchParams;return s.set(“size”,e),a&&s.set(“priority”,a),o&&s.set(“q”,o),””.concat(function(){var e=window.location.hostname;return e.includes(“.qa.”)||e.includes(“localhost”)?”https://suggestions.qa.globoi.com/v1/suggest”:”https://suggestions.globo.com/v1/suggest”}(),”?”).concat(s.toString())},s=function(e,t){return[“valor”,”valorinveste”,”pipelinevalor”].includes(t)?oe()(e).filter(function(e){var t;return!(null!==(t=e.url)&&void 0!==t&&t.includes(“interno_origem=multicontent”))}).map(function(e){var n;if(null!==(n=e.url)&&void 0!==n&&n.includes(“/empresas/valor-empresas-360”)&&!e.url.includes(“interno_origem”)){var r=e.url.split(“?”)[0];e.url=””.concat(r,”?360&interno_origem=”).concat(function(e){return{valor:”searchvaloreconomico”,pipelinevalor:”searchpipeline”,valorinveste:”searchvalorinveste”}[e]||””}(t))}return e}).sort(function(e,t){var n,r;return(null!==(n=e.url)&&void 0!==n&&n.includes(“/empresas/valor-empresas-360”)?0:1)-(null!==(r=t.url)&&void 0!==r&&r.includes(“/empresas/valor-empresas-360”)?0:1)}):e};return{getCoverItems:function(){var t=we()(Ee.a.mark(function t(){var n,r,s,c,l,u=arguments;return Ee.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>0&&void 0!==u[0]?u[0]:3,t.prev=1,t.next=2,fetch(a(n),{headers:o()});case 2:if((r=t.sent).ok){t.next=3;break}throw new Error(“HTTP error “.concat(r.status));case 3:return t.next=4,r.json();case 4:return s=t.sent,c=i(s.suggestions),t.abrupt(“return”,c.map(function(t){return fe({searchUrl:e,term:t.text,label:t.highlighted||t.text})}));case 5:return t.prev=5,l=t.catch(1),console.error(“[SearchSuggest]”,l),t.abrupt(“return”,[]);case 6:case”end”:return t.stop()}},t,null,[[1,5]])}));return function(){return t.apply(this,arguments)}}(),getSuggestItems:function(){var c=we()(Ee.a.mark(function c(l){var u,p,d,f,h,g,m,y,v,b=arguments;return Ee.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=b.length>1&&void 0!==b[1]?b[1]:3,p=r(),[“valorinveste”,”pipelinevalor”].includes(p)&&(u=6),c.prev=1,c.next=2,fetch(a(u,l,p),{headers:o()});case 2:if((d=c.sent).ok){c.next=3;break}throw new Error(“HTTP error “.concat(d.status));case 3:return c.next=4,d.json();case 4:return f=c.sent,h=i(f.suggestions),g=h.map(function(t){return fe({searchUrl:e,term:t.text,label:t.highlighted||t.text})}),m=[],”valor”===p?t&&(m=m.filter(function(e){var n;return e.product===t&&!(null!==(n=e.url)&&void 0!==n&&n.includes(“/valor-ri/empresa”))})):[“pipelinevalor”,”valorinveste”].includes(p)?n.length>0&&(m=m.filter(function(e){var t;return(n.includes(e.product)||n.includes(e.publisher)||n.includes(e.parent))&&!(null!==(t=e.url)&&void 0!==t&&t.includes(“/valor-ri/empresa”))})):t&&(m=m.filter(function(e){return e.product===t||e.publisher===t||e.parent===t})),[“valorinveste”,”pipelinevalor”].includes(p)&&(m=(m=m.filter(function(e,t,n){return t===n.findIndex(function(t){return t.url===e.url})})).slice(0,3)),m=s(m,p),y=m.map(function(e){return{url:e.url,label:e.title,parent:e.parent||e.publisher}}),c.abrupt(“return”,[].concat(oe()(y),oe()(g)));case 5:return c.prev=5,v=c.catch(1),console.error(“[SearchSuggest]”,v),c.abrupt(“return”,[]);case 6:case”end”:return c.stop()}},c,null,[[1,5]])}));return function(e){return c.apply(this,arguments)}}()}},Oe=function(){return ce()(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ae()(this,e),this._options=t,this.root=document.querySelector(this._options.rootSelector),this.input=document.querySelector(this._options.inputSelector),this.form=this.root.querySelector(“form”),this.search=””;var n=window.location,r=(this._options.searchUrl||this.root.getAttribute(“data-search-url”)||””).trim()||””.concat(n.protocol,”/”).concat(n.host,”/busca/”);this.searchUrl=r.replace(//+$/g,””),this.searchTenant=this._options.searchTenant||this.root.getAttribute(“data-search-tenant”)||null,this.main=de(this.root),this.main.render(),this.cover=pe(this.main.root),this.suggest=ye(this.main.root),this.searchTenantsRestriction=[this.searchTenant].concat(oe()(window.searchTenantsRestriction)),this.suggestService=Ae(this.searchUrl,this.searchTenant,this.searchTenantsRestriction),this.latestStorage=ve({cacheLimit:3}),this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSuggest=this.handleSuggest.bind(this),this.handleClickSuggestion=this.handleClickSuggestion.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.bind()},[{key:”handleOpen”,value:function(){this.search=this.input.value.trim(),this.render(),this.main.show()}},{key:”handleClose”,value:function(){this.main.hide()}},{key:”handleSuggest”,value:function(e){this.search=e.target.value.trim(),this.render()}},{key:”handleClickSuggestion”,value:function(e,t){this.latestStorage.add(t)}},{key:”handleSubmit”,value:function(){this.latestStorage.add(fe({searchUrl:this.searchUrl,term:this.search}))}},{key:”bind”,value:function(){this.input.addEventListener(“focus”,this.handleOpen),this.input.addEventListener(“blur”,this.handleClose),this.input.addEventListener(“keyup”,this.handleSuggest),this.form&&this.form.addEventListener(“submit”,this.handleSubmit)}},{key:”render”,value:function(){var e=this;this.search?this.suggestService.getSuggestItems(this.search).then(function(t){e.suggest.render({searchUrl:e.searchUrl,search:e.search,suggestions:t,onClick:e.handleClickSuggestion}),e.suggest.show(),e.cover.hide()}):this.suggestService.getCoverItems().then(function(t){var n=e.latestStorage.get();e.cover.render({latestSearches:n,suggestions:t}),e.cover.show(),e.suggest.hide()})}}])}(),Ce=function(){var e=document.getElementById(“header”),t=document.querySelector(“.header-lift”),n=document.getElementById(“header-placeholder”),r=e.scrollHeight/2,o=e.classList.contains(“header–has-gcom-bar”),i=0;new Oe({rootSelector:”.header__search “,inputSelector:”.header__search__input”});var a=function(){n.style.height=”50px”},s=function(){n.style.height=”0px”},l=ne({baseSVGPath:””}),u=document.querySelector(“.header__search__icon”)||document.querySelector(“.header__search__icon_vi”)||document.querySelector(“.header__search__icon_usp”);u&&u.addEventListener(“click”,function(e){e.preventDefault(),c()||l.open()});var p=function(){var n=window.pageYOffset,l=e.classList.contains(“header–fixed”),u=t.classList.contains(“header–fixed”);e.classList.contains(“header–internal”)&&c()&&!o||(c()?n>=r&&!l?(e.classList.add(“header–fixed”),t.classList.add(“header–fixed”),a()):n<r&&l&&(e.classList.remove("header–fixed"),t.classList.remove("header–fixed"),s()):Math.abs(n-i)e.scrollHeight?(e.classList.add(“header–preanim”),a(),i>n?e.classList.add(“header–fixed”):e.classList.remove(“header–fixed”)):(e.classList.remove(“header–preanim”),e.classList.remove(“header–fixed”),s()),i=n))};p(),document.addEventListener(“scroll”,p),window.addEventListener(“resize”,p);var d=document.getElementById(“btn_cbn_ao_vivo”);d&&d.addEventListener(“click”,function(){var e=function(e){var t=(“; “+document.cookie).split(“; “+e+”=”);if(2===t.length)return t.pop().split(“;”).shift()}(“station”);if(e){var t=window.location.origin+”/ao-vivo/”+e;window.open(t,”_blank”)}else{var n=window.location.origin+”/ao-vivo/cbn-sp”;window.open(n,”_blank”)}})};n(38);var Le=function(e){return”click”!==e.type&&new Promise(t=>{let n=null,r=null;const o=e.timeStamp,i=e=>{n=e.touches[0].clientX,r=e.touches[0].clientY},a=e=>{this.removeEventListener(“touchend”,a,{passive:!0}),this.removeEventListener(“touchmove”,i,{passive:!0}),(e=>!n&&!r&&e-o{let e=!0;return()=>new Promise(t=>{setTimeout(()=>{e=!0},500),e&&(e=!1,t())})})();var ke=(e=[])=>t=>(function(n){const r=e.map(e=>e.call(this,n));return Promise.all(r).then(()=>{t.call(this,n)}).catch(()=>!1)});const Pe=(e,t=document)=>t.querySelector(e),Te=(e,t=document)=>t.querySelectorAll(e),Ie=(e,t,n,r)=>{t.addEventListener(e,n,r)},Re=(e,t,n,r={})=>{if(t.length)for(let o=0;o{if(t.length)for(let o=0;o{const i=`${t}–${e}`;Ne=Object.assign({},Ne,{[i]:((e,t)=>n=>{const r=((e,t)=>{let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null})(n.target,e);r&&t.call(r,n)})(t,n)}),o.addEventListener(e,Ne[i],r)},qe=(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,Ne[`${t}–${e}`],r)},Ue=e=>[].slice.call(e),Be=(e,t)=>{const n={back:“,next:“};return`data:image/svg+xml;charset=utf8,${encodeURIComponent(n[e]||””)}`};var Fe=(e={})=>{const t=document.querySelector(“#menu-curtain”),n=document.querySelector(“#menu-container”),{onClose:r}=e;let o=null,i=!1,a=null,s=null,c=null,l=null;let u,p=!1;const d=()=>{p=!0},f=()=>{i&&!p&&window.requestAnimationFrame(()=>{if(o&&Math.abs(o-Math.abs(c))>=30){const e=Math.min(0,c-a),r=Math.max(0,.7+e/u);n.style.transform=`translateX(${e}px)`,t.style.opacity=r,o=c}})},h=function(e){a=e.touches[0].pageX,s=e.touches[0].pageY,c=a,l=s,o=a,i=t.classList.contains(“menu-curtain–opened”),Re(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),u||(u=n.getBoundingClientRect().width),window.requestAnimationFrame(f)},g=function(e){i&&!p&&(c=e.touches[0].pageX,l=e.touches[0].pageY,window.requestAnimationFrame(f))},m=function(){if(!i)return;i=!1,p=!1,o=null;const e=Math.min(0,c-a),u=Math.abs(l-s);Me(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),n.style.transform=””,t.style.opacity=””,u<=Math.abs(e)&&e{Re(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),document.addEventListener(“touchstart”,h,{passive:!0}),document.addEventListener(“touchmove”,g,{passive:!0}),document.addEventListener(“touchend”,m,{passive:!0}),u||(u=n.getBoundingClientRect().width)},close:()=>{i=!1,p=!1,document.removeEventListener(“touchstart”,h,{passive:!0}),document.removeEventListener(“touchmove”,g,{passive:!0}),document.removeEventListener(“touchend”,m,{passive:!0}),Me(“scroll”,Te(“.menu-level”,n),d,{passive:!0})}}};let $e=!1;var He=(e={})=>{if($e)return!0;const{container:t,cadunServiceId:n,cadunLoginURL:o,cadunUsePopin:i}=e,{qs:a}=r,s=ke([je,Le]),c=a(“.menu-login”,t),l=a(“a.menu-login__item-login__link”,c),u=a(“.menu-login__item-logout”,c),p=a(“a.menu-login__item-logout__link”,c),d=a(“.menu-login__item__name”,c),f=a(“.menu-login__item__avatar”,c),h=a(“.menu-login__item__icon–avatar”,c),g=a(“.menu-login–logged”,c),m=a(“.menu-login–not-logged”,c),y=()=>{const e=window.Cadun.user.me;return”name”in e&&””!==e.name},v=e=>{m.style.display=e[0],u.style.display=e[1],g.style.display=e[2]},b=()=>{window.Cadun.logout(()=>{window.location.href=window.location.href})},w=e=>{y()&&(p.addEventListener(“click”,e=>e.preventDefault()),p.addEventListener(“click”,s(b),{passive:!0}),p.addEventListener(“touchstart”,s(b),{passive:!0}),v([“none”,”block”,”flex”]),(e=>{f&&h&&(e.picture?(f.innerHTML=“,f.style.display=”block”,h.style.display=”none”):(f.innerHTML=””,f.style.display=”none”,h.style.display=”block”))})(e),d.textContent=e.name.split(” “)[0])},_=e=>{if(e.stopPropagation(),!i&&o){const e=window.location.href,t=`${o}/login/${n}?url=${e}`;window.location.href=t}else window.Cadun.login(n,window.location.href,!1,w,void 0,{_ga:window.utag_data.galinker,glbProduct:window.utag_data.productGAId,component:”menu_mobile”})},x=()=>{l.addEventListener(“click”,e=>e.preventDefault()),l.addEventListener(“click”,s(_)),l.addEventListener(“touchstart”,s(_),{passive:!0}),window.Cadun.Event.subscribe(“userInfoAvailable”,()=>{const e=window.Cadun.user.me;y()?w(e):y()||v([“block”,”none”,”none”])})};return window.cq=window.cq||[],window.cq.push({ready:e=>{e.authorize(n,e=>{“authorized”===e.status?w(e):v([“block”,”none”,”none”]),x()})}}),$e=!0,!0};var Ve=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r=(…e)=>(t&&(console.group(“menu tracking”),console.log([“menu mobile”,…e]),console.groupEnd(“menu tracking”)),n([“_trackEvent”,”menu mobile”,…e])),o=e=>{const t=[e.querySelector(“.menu-item-title”).textContent];let n=e;for(;n&&”menu-cascade”!==n.id;n=n.parentNode)n.classList.contains(“is-father”)&&t.push(n.querySelector(“.menu-btn-back__label”).textContent);return t.pop(),t.reverse().join(” > “)};return{push:e=>{const t=e.classList;if(t.contains(“menu-btn-back”)){const t=e.querySelector(“.menu-btn-back__label”).textContent,n=e.parentElement.querySelector(“.regua-navegacao-menu-item”).textContent;r(“navegacao”,`back | ${n} > ${t}`,0,!0)}else if(t.contains(“is-father”))r(“navegacao”,o(e),0,!0);else{const t=e.querySelector(“.menu-item-title”).textContent,n=o(e.parentElement.parentElement);r(“links clicaveis”,n?`${n} > ${t}`:t)}},makeTracking:r}};const Ge={debug:!1,color:”#000″,cadunServiceId:4728,cadunLoginURL:null,cadunUsePopin:!0,handleGA(){}};var We=(e={})=>{const t=Object.assign({},Ge,e),{qs:n,qsAll:o,attachEvent:i,toArray:a,on:s,off:c}=r,l=Ve(t),u=document.body,p=document.documentElement,d=n(“#menu-container”),f=n(“#menu-curtain”),h=n(“.menu-level-0”,d),g=n(“.menu-level–opened”,d)||n(“.menu-level”,d),m=n(“.menu-rounder”,d),y=n(“.menu-btn-back__label”,d),v=y&&y.textContent,b=n(“.menu-btn-back__label”,g),w=b&&b.textContent;let _=0;const x=ke([je,Le]),S=+g.classList.contains(“menu-level–opened”);let E=S;const A=d.dataset.menuWidth||272,O=e=>{b&&(b.textContent=e)};O(v);const C=e=>{requestAnimationFrame(()=>{m.style.transform=`translateX(-${e*A}px)`,d.scrollTop=0})},L=()=>{const e=a(o(“.menu-level–opened”,d));e.pop().classList.remove(“menu-level–opened”,”first-layer”);const t=e.pop();t&&t.classList.add(“first-layer”),t||h.classList.add(“first-layer”,”menu-level–opened”),E>0||(m.classList.add(“menu-rounder–opened-all”),O(w)),m.removeEventListener(“transitionend”,L)},j=e=>{“function”==typeof e&&requestAnimationFrame(()=>e())},k=x(function(){l.push(this),requestAnimationFrame(()=>{j(()=>{(E=E-1<=0?0:E-1){const t=+!!n(“.menu-level”,e);E+=t;const r=e.parentNode;”UL”===r.nodeName&&r.classList.remove(“first-layer”),n(“.menu-level”,e).classList.add(“menu-level–opened”,”first-layer”),C(E)}):this.target?window.open(this.href,this.target):window.location.href=this.href}),T=e=>e.preventDefault(),I=function(){l.makeTracking(“links clicaveis”,this.dataset.trackingLabel)},R=function(){const e=this.querySelector(“.regua-navegacao-menu-item”).textContent;l.makeTracking(“links nao clicaveis”,e)},M=()=>{.14===_&&(u.classList.remove(“menu–no-scroll”),p.classList.remove(“menu–no-scroll”),requestAnimationFrame(()=>{a(o(“.menu-level–opened”,d)).forEach(e=>{e.classList.remove(“menu-level–opened”)})}),_=0,g.classList.add(“menu-level–opened”),S&&m.classList.add(“menu-initial”),m.classList.remove(“menu-rounder–opened-all”),m.style.transform=””,E=S,O(v),f.classList.remove(“menu-curtain–animate”),h.classList.remove(“menu-level–opened”),c(“click”,”menu-btn-back”,T),c(“click”,”menu-btn-back”,k,{passive:!0}),c(“touchstart”,”menu-btn-back”,k,{passive:!0}),c(“click”,”menu-item-link”,T),c(“click”,”menu-item-link”,P,{passive:!0}),c(“touchstart”,”menu-item-link”,P,{passive:!0}),c(“click”,”menu-products-logo__link”,I),c(“click”,”menu-submenu-title”,R),d.removeEventListener(“transitionend”,M))},N=e=>{f.classList.remove(“menu-curtain–opened”),_=.14,e?(l.makeTracking(“interacoes menu”,”swipe menu fechado”),e.close()):l.makeTracking(“interacoes menu”,”click menu fechado”),d.addEventListener(“transitionend”,M)},D=Fe({onClose:()=>{N(D)}}),q=()=>{S||(m.classList.add(“menu-rounder–opened-all”),m.classList.remove(“menu-initial”))},U=()=>{n(S?”.menu-level–opened”:”.menu-level-0″,d).classList.add(“menu-level–opened”,”first-layer”),s(“click”,”menu-btn-back”,T),s(“click”,”menu-btn-back”,k,{passive:!0}),s(“touchstart”,”menu-btn-back”,k,{passive:!0}),s(“click”,”menu-item-link”,T),s(“click”,”menu-item-link”,P,{passive:!0}),s(“touchstart”,”menu-item-link”,P,{passive:!0}),s(“click”,”menu-products-logo__link”,I),s(“click”,”menu-submenu-title”,R),D.open(),d.removeEventListener(“transitionend”,U)},B=e=>{“menu-curtain”===e.target.id&&(N(),D.close())};return q(),E&&n(“.menu-initial”,d).classList.add(“menu-loaded”),d.style.display=”block”,((e={})=>{const{color:t}=e,n=document.createElement(“style”),r=Be(“back”,t),o=document.createTextNode(`.menu-btn-back__icon { background-image: url(“https://extra.globo.com/esporte/noticia/2026/06/${r}”); }`),i=Be(“next”,t),a=document.createTextNode(`.menu-item-arrow { background-image: url(‘${i}’) }`),s=document.createTextNode(`.menu-product-color { color: ${t}; }`);n.appendChild(o),n.appendChild(a),n.appendChild(s),document.head.appendChild(n)})(t),i(“touchstart”,f,x(B),{passive:!0}),i(“click”,f,x(B),{passive:!0}),{toggle:(e=null)=>{(null!==e?e:!f.classList.contains(“menu-curtain–opened”))?(_=.33,u.classList.add(“menu–no-scroll”),p.classList.add(“menu–no-scroll”),f.classList.add(“menu-curtain–opened”,”menu-curtain–animate”),q(),l.makeTracking(“interacoes menu”,”click menu exibido”),d.addEventListener(“transitionend”,U),He({container:d,cadunServiceId:t.cadunServiceId,cadunLoginURL:t.cadunLoginURL,cadunUsePopin:t.cadunUsePopin})):(N(),D.close())}}},ze=function(){return ce()(function e(){ae()(this,e),this.handleMenuToggle=this.handleMenuToggle.bind(this),this.menuEl=document.getElementById(“menu-toggle”),this.menuCtnr=document.getElementById(“menu-container”),this.curtain=document.getElementById(“menu-curtain”),this.productColor=this.menuEl.getAttribute(“data-product-color”),this.navigateByArrow=window.header_data_navigation_by_arrow||!1;try{this.menu=We({color:this.productColor,navigateByArrow:this.navigateByArrow,handleGA:function(e){window._gaq&&window._gaq.push(e)}}),this.initEvents(),this.observeCurtain()}catch(e){console.error(“Erro ao renderizar o menu: “,e)}},[{key:”handleMenuToggle”,value:function(e){e.stopPropagation(),this.menu.toggle(),this.syncMenuState()}},{key:”syncMenuState”,value:function(){this.curtain.classList.contains(“menu-curtain–opened”)?this.menuCtnr.classList.remove(“hidden-menu”):this.menuCtnr.classList.add(“hidden-menu”)}},{key:”observeCurtain”,value:function(){var e=this;new MutationObserver(function(){return e.syncMenuState()}).observe(this.curtain,{attributes:!0,attributeFilter:[“class”]})}},{key:”initEvents”,value:function(){this.menuEl.addEventListener(“click”,this.handleMenuToggle)}}])}(),Je=function(){if(document.querySelector(“#gcom-bar-container”)){glb.menuV2={color:”#1e4c9a”};var e=window.gcomBarUseCustomUrl,t=”True”===e?window.gcomBarcustomUrl:””,n=”True”===e?window.gcomBarcustomUrlTitle:””,r=”True”===e?window.gcomBarcustomUrlTitleColor:””;glb.barra={resolveGloboIdJs:function(){return globalWebdeps(“globoid-js”)},incluirComScore:!1,exibeAssineJa:!1,useVintage:!0,exibeCentral:!1,itemCustomizado:{cor:””.concat(r),texto:””.concat(n),url:””.concat(t)}},function(){var e=document.createElement(“script”);e.type=”text/javascript”,e.async=!0,e.charset=”utf-8″,e.src=”https://s.glbimg.com/gl/ba/js/barra-globocom.min.js”;var t=document.getElementsByTagName(“script”)[0];t.parentNode.insertBefore(e,t)}()}},Xe=function(){var e=document.querySelector(“.header__search__right”);if(window.oidcSettings&&e){var t=document.querySelector(window.oidcSettings.loginAreaContainer[0].rootElement);new MutationObserver(function(n,r){n.forEach(function(n){“childList”===n.type&&n.addedNodes&&(t.appendChild(e),r.disconnect())})}).observe(t,{attributes:!1,childList:!0,characterData:!1})}},Ke=n(15),Qe=n.n(Ke);function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t0&&function(){t.apply(this,arguments)}()}catch(e){alert(“catch login”),console.log(“[initLogin] catch (e)…”.concat(e))}function t(){return(t=we()(Ee.a.mark(function e(){var t,r,i;return Ee.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById(“menu__loader”),r=document.getElementById(“header__loader”),e.next=1,n();case 1:i=e.sent,t.style.display=”none”,r.style.display=”none”,o(i),new Qe.a({useStrategy:i,loginAreaContainer:oidcSettings.loginAreaContainer});case 2:case”end”:return e.stop()}},e)}))).apply(this,arguments)}function n(){return r.apply(this,arguments)}function r(){return(r=we()(Ee.a.mark(function e(){var t,n,r;return Ee.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(“playlist”!=window.utag_data.content_type&&”Votação”!=window.utag_data.content_type){e.next=3;break}if(!window.globalWebdeps){e.next=2;break}return e.next=1,window.globalWebdeps(“globoid-js”);case 1:console.log(“[initLogin] GloboID JS loaded via GlobalWebdeps”),e.next=3;break;case 2:console.warn(“[initLogin] GlobalWebdeps not available, trying fallback…”);case 3:return t=[“techtudo”],n=window.location.host,r=new Ke.strategies.oidc.default(Ze({CLIENT_ID:oidcSettings.clientId,RESOURCE:oidcSettings.clientId,URL:oidcSettings.url,REDIRECT_URI:oidcSettings.redirectUri},t.some(function(e){return n.includes(e)})&&{ONLOAD:!1,LEGACY_COMPATIBLE:!1})),e.next=4,r.initGloboIdClient();case 4:return e.abrupt(“return”,r);case 5:case”end”:return e.stop()}},e)}))).apply(this,arguments)}function o(e){window.editoraGloboAuthenticationLib={},e.isLogged().then(function(){var t=we()(Ee.a.mark(function t(n){var r;return Ee.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=e.EdgGloboIdData,window.editoraGloboAuthenticationLib={login:e.login,isLogged:r[0].isLogged,EdgGloboIdData:r};case 1:case”end”:return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())}},tt=function(){return ce()(function e(){ae()(this,e),this.exposeMenuListItemEl=document.querySelectorAll(‘li[class=”expose-menu”]’),this.toggleSubmenu,this.handleMouseOver=this.handleMouseOver.bind(this),this.registerHandlers()},[{key:”handleToggleSubItems”,value:function(e,t){var n=t.toggled,r=void 0!==n&&n,o=t.element;if(!0===r){var i=o.lastChild.previousElementSibling;i.removeAttribute(“hidden”);var a=o.querySelector(‘a[class=”menu-exposto__item”]’),s=o.querySelector(‘i[class=”arrow up”]’),c=o.querySelector(‘i[class=”arrow down”]’);s.removeAttribute(“hidden”),c.setAttribute(“hidden”,!0),a.style.opacity=.6,o.onmouseleave=function(e){var t=e.toElement||e.relatedTarget;”menu-expose-dropdown-list-item”!==t.className&&”menu-expose-dropdown-list-link”!==t.className&&(a.style.opacity=1,s.setAttribute(“hidden”,!0),c.removeAttribute(“hidden”),i.setAttribute(“hidden”,!0))};var l=document.getElementById(“header”);document.addEventListener(“scroll”,function(e){l.className.includes(“–fixed”)&&(a.style.opacity=1,c.removeAttribute(“hidden”),i.setAttribute(“hidden”,!0))})}}},{key:”handleMouseOver”,value:function(e){var t=this;e.lastChild.previousElementSibling&&(Array.from(e.childNodes).find(function(e){return”menu-item-section”===e.className}).firstElementChild.onmouseover=function(n){return t.handleToggleSubItems(n,{toggled:!0,element:e})})}},{key:”registerHandlers”,value:function(){this.exposeMenuListItemEl&&Array.from(this.exposeMenuListItemEl).map(this.handleMouseOver)}}])}();Ce(),new tt,new ze,Je(),Xe(),et()},function(e,t,n){“use strict”;n.r(t);var r=class{handleEventListener(e){document.querySelectorAll(e.trigger).forEach(t=>t.addEventListener(e.type,e.handler))}render(e={}){const t=document.querySelector(e.template).innerHTML;document.querySelector(e.container).innerHTML=t,e.events.map(e=>{this.handleEventListener(e)})}};const o={loginAreaContainer:[{rootElement:”.header__actions”,signedInTemplateSelector:'[data-template=”header-signedin”]’,signedOutTemplateSelector:'[data-template=”header-signedout”]’},{rootElement:”.menu-login__item”,signedInTemplateSelector:'[data-template=”menu-signedin”]’,signedOutTemplateSelector:'[data-template=”menu-signedout”]’}],loginButtonSelector:'[data-action=”login”]’,logoutButtonSelector:'[data-action=”logout”]’,loginWallSelector:”data-login”,userContainers:{userPicture:'[data-content=”user-picture”]’,userName:'[data-content=”user-name”]’},useStrategy:null};t.default=class extends r{constructor(e={}){super();const{loginAreaContainer:t,loginButtonSelector:n,logoutButtonSelector:r,loginWallSelector:i,userContainers:a,useStrategy:s}=Object.assign({},o,e);this.renderContainers=t,this.actionLogin=n,this.actionLogout=r,this.WallSelector=i,this.userPictureContainer=a.userPicture,this.userNameContainer=a.userName,this.strategy=s,this.handleLogin=this.handleLogin.bind(this),this.handleLogout=this.handleLogout.bind(this),this.initEvents()}handleLogin(e){e.preventDefault(),this.strategy.login()}handleLogout(e){e.preventDefault(),this.strategy.logout()}async renderUserData(){const e=await this.strategy.retrieveUserData();e&&”object”==typeof e&&(document.querySelectorAll(this.userPictureContainer).forEach(t=>{if(e.picture||e.photoUrl){let n=document.createElement(“img”);n.setAttribute(“alt”,e.name||e.userName||””),n.setAttribute(“src”,e.picture||e.photoUrl||””),t.appendChild(n)}else{const e=””;t.insertAdjacentHTML(“beforeend”,e)}}),document.querySelectorAll(this.userNameContainer).forEach(t=>{const n=e.name||e.userName||””;n&&(t.innerText=n.split(” “)[0])}))}async renderLoginArea(){const e=await this.strategy.isLogged();this.renderContainers.map(t=>{this.render({container:t.rootElement,template:e?t.signedInTemplateSelector:t.signedOutTemplateSelector,events:[{type:”click”,handler:e?this.handleLogout:this.handleLogin,trigger:e?this.actionLogout:this.actionLogin}]})}),e?this.renderUserData():this.handleEventListener({type:”click”,handler:this.handleLogin,trigger:this.actionLogin})}async bindLoginWall(){const e=await this.strategy.isLogged();try{document.querySelector(`[${this.WallSelector}]`).setAttribute(this.WallSelector,e)}catch(e){}}initEvents(){this.renderLoginArea(),this.bindLoginWall()}}}]);
    !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=0)}([function(e,t,n){“use strict”;n.r(t);n(1);var r=document.querySelector(“.header-coluna__column-info”),o=document.querySelector(“.header-coluna__column-info-content-container”);r&&o&&r.addEventListener(“click”,function(){o.classList.toggle(“visible”)})},function(e,t,n){}]);
    !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&”object”==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,”a”,t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=””,r(r.s=3)}([,,,function(e,t,r){“use strict”;r.r(t);r(4)},function(e,t,r){}]);
    !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=5)}({0:function(e,t,n){},5:function(e,t,n){“use strict”;n.r(t);n(0);var r,i=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType(“navigation”)[0]},o=function(e){if(“loading”===document.readyState)return”loading”;var t=i();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e(t||100)-1)return n||i;if(n=n?i+”>”+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},u=-1,d=function(){return u},s=function(e){addEventListener(“pageshow”,function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},f=function(){var e=i();return e&&e.activationStart||0},l=function(e,t){var n=i(),r=”navigate”;return d()>=0?r=”back-forward-cache”:n&&(document.prerendering||f()>0?r=”prerender”:document.wasDiscarded?r=”restore”:n.type&&(r=n.type.replace(/_/g,”-“))),{name:e,value:void 0===t?-1:t,rating:”good”,delta:0,entries:[],id:”v3-“.concat(Date.now(),”-“).concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},v=function(e,t,n,r){var i,o;return function(a){t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?”poor”:e>t[0]?”needs-improvement”:”good”}(t.value,n),e(t))}},m=function(e){var t=function(t){“pagehide”!==t.type&&”hidden”!==document.visibilityState||e(t)};addEventListener(“visibilitychange”,t,!0),addEventListener(“pagehide”,t,!0)},g=function(e){document.prerendering?addEventListener(“prerenderingchange”,function(){return e()},!0):e()},y=(new Date,0),h=1/0,_=0,b=function(e){e.forEach(function(e){e.interactionId&&(h=Math.min(h,e.interactionId),_=Math.max(_,e.interactionId),y=_?(_-h)/7+1:0)})},T=function(){return r?y:performance.interactionCount||0},E=function(){“interactionCount”in performance||r||(r=p(“event”,b,{type:”event”,buffered:!0,durationThreshold:0}))},w=[200,500],S=0,L=function(){return T()-S},P=[],I={},M=function(e){var t=P[P.length-1],n=I[e.interactionId];if(n||P.lengtht.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};I[r.id]=r,P.push(r)}P.sort(function(e,t){return t.latency-e.latency}),P.splice(10).forEach(function(e){delete I[e.id]})}};!function(e,t){!function(e,t){t=t||{},g(function(){var n;E();var r,i=l(“INP”),o=function(e){e.forEach(function(e){e.interactionId&&M(e),”first-input”===e.entryType&&!P.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})&&M(e)});var t,n=(t=Math.min(P.length-1,Math.floor(L()/50)),P[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},a=p(“event”,o,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=v(e,i,w,t.reportAllChanges),a&&(“PerformanceEventTiming”in window&&”interactionId”in PerformanceEventTiming.prototype&&a.observe({type:”first-input”,buffered:!0}),m(function(){o(a.takeRecords()),i.value0&&(i.value=0,i.entries=[]),r(!0)}),s(function(){P=[],S=T(),i=l(“INP”),r=v(e,i,w,t.reportAllChanges)}))})}(function(t){!function(e){if(e.entries.length){var t=e.entries.sort(function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)})[0],n=e.entries.find(function(e){return e.target});e.attribution={eventTarget:c(n&&n.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:o(t.startTime)}}else e.attribution={}}(t),e(t)},t)}(function(e){e.name;var t=e.value,n=e.id,r=e.attribution,i=r.eventEntry,o={event:”EventoINP”,metric_inp_value:t,metric_id:n,metric_inp_event_target:r.eventTarget,metric_inp_event_type:r.eventType,metric_inp_load_state:r.loadState,metric_inp_start_time:i.startTime,metric_inp_processing_start:i.processingStart,metric_inp_processing_end:i.processingEnd,metric_inp_duration:i.duration,metric_inp_interaction_id:i.interactionId};try{window&&void 0!==window.dataLayer&&null!==window.dataLayer&&(window.dataLayer.push(o),console.log(“eventParams_inp”,o))}catch(e){console.error(e)}})}});
    !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=1)}([function(e,t,n){“use strict”;n.d(t,”a”,(function(){return m}));const i=”impressionViewable”,r=”slotRenderEnded”,a=(e,t)=>{window.setTimeout((function n(){window[e]?t():window.setTimeout(n,50)}),50)};class s{constructor(e,t=[],n){this.isMabActive=e,this.currentChannel=window.cdaaas.SETTINGS.CHANNEL,this.currentTenant=window.cdaaas.SETTINGS.SITE_ID,this.tenants=t,this.interval=void 0,this.triggerZone={},this.triggerZoneMap=new Map,this.mab=void 0,this.adContainers=document.querySelectorAll(“.mc-has-ad-lazyload”),this.gptExperiment=n,this.bannersCropped=[]}getPositionExperiment(e){if(this.tenants.length>0&&this.currentTenant&&this.currentChannel&&e){const t=this.tenants.filter(e=>e.name===this.currentTenant)[0]||[];return(t.channels&&t.channels.filter(e=>e.channel===this.currentChannel)[0]||[]).positions.filter(t=>t.position===e)[0]||{}||””}return””}resolveAllPromisses(e){return e&&Array.isArray(e)?Promise.all(Array.from(e,([e,t])=>Promise.resolve(t).then(t=>[e,t]))).then(e=>new Map(e)):new Promise(e=>e(new Map))}extractExperiment(e,t,n){if(n){const e=t&&t.split(“__”)[0]||””;return n&&n.size>0&&n.get(e)||{}}return{}}generateExperiments(){const e=[],t=[];for(const n of this.adContainers){const i=n.getAttribute(“data-id”).split(“__”)[0],r=this.getPositionExperiment(i).experiment;if(!t.includes(i)){t.push(i);const n=this.mab.choose(r);e.push([i,n])}}return e}__configureTriggerZone(e){for(const[t,n]of e)this.triggerZone[t]=screen.height*+n.arm.split(“:”).splice(-1)[0];this.triggerZone.default=2*screen.height}__configureMAB(e){const{googletag:t,utag_data:n,GloboAB:a}=window;if(a&&t&&”function”==typeof t.pubads&&n&&n[“ut.env”]){const t=new a(n[“ut.env”]||”qa”);t.options().skipImpression();const s=t.mab();e.setMabClient(s);const o=e.generateExperiments();e.resolveAllPromisses(o).then(t=>{e.setTzMap(t),window.googletag.pubads().addEventListener(i,t=>e.__bannerListenerCallback(t,e,i)),window.googletag.pubads().addEventListener(r,t=>e.__bannerListenerCallback(t,e,r)),e.__triggerBasicServices()},t=>{console.warn(“(MC Ads) Mab Promise Rejection, using default value instead”,t),e.__triggerBasicServices()}).catch(()=>{console.warn(“(MC Ads) Some problems ocurring when fetch MAB Values, using default value instead”),e.__triggerBasicServices()}),clearInterval(this.interval)}}__bannerListenerCallback(e,t,n){const a=e.slot.getSlotElementId();{const e=this.extractExperiment(t.currentChannel,a,t.triggerZoneMap);if(a&&Object.keys(e).length>0)switch(n){case i:t.mab.reward(e);break;case r:t.mab.increment(e)}}}thisTenantHaveMab(){return this.tenants.filter(e=>e.name===this.currentTenant)[0]}start(){const e=this;this.isMabActive&&this.tenants.length>0&&this.thisTenantHaveMab()?this.interval=setInterval(()=>this.__configureMAB(e),500):(this.__triggerBasicServices(),this.__configureABTriggers())}__configureABTriggers(){const e=[“banner_materia1″,”banner_materia2″,”banner_materia”],t=(t,n)=>{if((“desktop”!==this.currentChannel||”banner_materia1″!==n)&&(t=>e.includes(t.split(“__”)[0]))(n))switch(t){case”conversion”:this.gptExperiment&&this.gptExperiment.conversion();break;case”impression”:this.gptExperiment&&this.gptExperiment.impression()}};if(this.gptExperiment){const e=setInterval(()=>{window.googletag&&window.googletag.pubads&&(window.googletag.pubads().addEventListener(r,e=>t(“impression”,e.slot.getSlotElementId())),window.googletag.pubads().addEventListener(i,e=>t(“conversion”,e.slot.getSlotElementId())),clearInterval(e))},500)}}__triggerBasicServices(){this.__configureTriggerZone(this.triggerZoneMap),this.__watchTriggerZone(),this.__watchAdsVisibility()}__watchAdsVisibility(){const e=e=>{const t=e.getAttribute(“data-id”)&&e.getAttribute(“data-id”).split(“__”)[0],n=this.triggerZone[t]||this.triggerZone.de;window.ScrollSpy.add({el:e,offset:n,ctx:this,callback:e=>{this.__initBanner(e)}})};let t=!!document.getElementById(“banner_materia2”);this.adContainers.forEach(n=>{const i=document.querySelector(“.mc-article-body”);if(“banner_materia2″===n.getAttribute(“data-id”)){if(t)return void(e=>{const t=e.closest(‘[data-block-type=”ads”]’)||e.parentNode;t&&(t.style.display=”none”)})(n);t=!0}if(n.closest(“.cropped-block”)&&i.classList.contains(“cropped”))return this.bannersCropped.push(n);e(n)});const n=document.getElementById(“mc-read-more-btn”);n&&n.addEventListener(“click”,()=>this.bannersCropped.forEach(e))}__initBanner(e){a(“bannerLazyLoading”,()=>this.__defineBanner(e))}__defineBanner(e){const t=e.getAttribute(“data-id”);e.setAttribute(“id”,t);const n=this.extractExperiment(this.currentChannel,t,this.triggerZoneMap),i={};i.gptLazyload=this.gptExperiment&&”lazyload-nativo-google”===this.gptExperiment.alternative||!1,this.thisTenantHaveMab()&&(i.abAlternative=(()=>{if(n&&n.abAlternative)return”(control)”===n.abAlternative.split(” “)[0]?”control”:”mab”})()),setTimeout(this.__createIntersection(e,t,i),0)}__throttle(e,t=100,n){let i,r;return()=>{const a=n||this,s=+new Date,o=arguments;i&&s{i=s,e.apply(a,o)},t)):(i=s,e.apply(a,o))}}__watchTriggerZone(){window.addEventListener(“resize”,this.__throttle(()=>this.__configureTriggerZone(this.triggerZoneMap)),!1)}setMabClient(e){this.mab=e}setTzMap(e){this.triggerZoneMap=e}__createIntersection(e,t,n){const i={rootMargin:2*window.innerHeight+”px”,threshold:.5};new IntersectionObserver((function(e,i){e.forEach(e=>{e.isIntersecting&&(window.bannerLazyLoading(t,n),i.unobserve(e.target))})}),i).observe(e)}}function o(){const e=[];document.addEventListener(“adserver-ad-rendered”,t=>{let n,i,r=0,a=null;if(t.publicidade_visivel){if(n=document.querySelector(`#${t.id_elemento}.mc-has-reveal`),!n||!ScrollSpy||!getComputedStyle||e.indexOf(t.id_elemento)>=0)return;e.push(t.id_elemento),a=n.parentNode;const s=function(){let e;return”undefined”!=typeof pageYOffset?pageYOffset:(e=document.documentElement,e=e.clientHeight?e:document.body,e.scrollTop)}();if(a.getBoundingClientRect().top+s{a.style.height=r+”px”})}})}})}const c=[“redeglobo”],l=e=>{if(c.includes(window.cdaaas.SETTINGS.SITE_ID))try{a(“GloboAB”,async()=>{const t=new GloboAB(“prod”),n=await t.choose(“multicontent-redeglobo-lazyload-gpt”);e(n)})}catch(t){e()}else e()},d=(e,t,n)=>`mc-${e}-lazy-load-advwblt.v2:${t}:${n}`,g=e=>[{position:”banner_materia2″,experiment:d(e,”smart”,”banner-materia2″)},{position:”banner_materia”,experiment:d(e,”smart”,”banner-materia”)},{position:”banner_materia1″,experiment:d(e,”smart”,”banner-materia1″)}],u=e=>[{position:”banner_materia2″,experiment:d(e,”desktop”,”banner-materia2″)},{position:”banner_materia”,experiment:d(e,”desktop”,”banner-materia”)}],p=[];[“g1″,”ge”,”gshow”].forEach(e=>p.push({name:e,channels:[{channel:”smart”,positions:g(e)},{channel:”desktop”,positions:u(e)}]}));const h=e=>{e?new s(!1,[],e).start():new s(!0,p).start(),o()},m=()=>{l(h)}},function(e,t,n){“use strict”;n.r(t);var i=n(0);n(2);Object(i.a)()},function(e,t,n){}]);
    !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,”a”,n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=”/”,t(t.s=”pwNi”)}({“/9Yu”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=n(“ZYOr”),c=n(“oWE+”),l=n(“nLIX”),f=r(l),d=n(“9HcH”),p=r(d),h=n(“Q1RC”),v=r(h),y=n(“oHVd”),m=r(y),g=n(“f9rN”),b=r(g),_=n(“9uY0”),w=r(_),E=n(“AW9G”),S=r(E),O=function(e){var t=e.data,n=e.config,r=t.url,o=t.media;if(o===s.TWITTER){var a=t.draftContent.blocks[0].text,u=new S.default(n.twitter);return i.default.createElement(m.default,{url:r,text:a,twitter:u})}if(o===s.INSTAGRAM){var c=t.embedData.title,l=new w.default(n.instagram);return i.default.createElement(v.default,{url:r,caption:c,instagram:l})}if(o===s.FACEBOOK){var d=t.embedData,h=d.width,y=d.url,g=new b.default(n.facebook);return i.default.createElement(p.default,{embedUrl:y,embedWidth:h,facebook:g})}return f.default.warn(“unkwnown media type: “+o,”BackstageEmbedSocial”),null};O.propTypes={data:u.default.shape({media:u.default.string.isRequired,url:u.default.string.isRequired}).isRequired,config:c.configShape.isRequired},t.default=O},”/oWq”:function(e,t,n){(function(e,r){var o;!function(){function i(e){throw new RangeError(P[e])}function a(e,t){for(var n=e.length,r=[];n–;)r[n]=t(e[n]);return r}function u(e,t){var n=e.split(“@”),r=””;return n.length>1&&(r=n[0]+”@”,e=n[1]),e=e.replace(I,”.”),r+a(e.split(“.”),t).join(“.”)}function s(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join(“”)}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function f(e,t){return e+22+75*(e<26)-((0!=t)<>1,e+=x(e/t);e>j*E>>1;r+=_)e=x(e/j);return x(r+(j+1)*e/(e+S))}function p(e){var t,n,r,o,a,u,s,f,p,h,v=[],y=e.length,m=0,g=C,S=k;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&i(“not-basic”),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&i(“invalid-input”),f=l(e.charCodeAt(o++)),(f>=_||f>x((b-m)/u))&&i(“overflow”),m+=f*u,p=s=S+E?E:s-S,!(f

    x(b/h)&&i(“overflow”),u*=h;t=v.length+1,S=d(m-a,t,0==a),x(m/t)>b-g&&i(“overflow”),g+=x(m/t),m%=t,v.splice(m++,0,g)}return c(v)}function h(e){var t,n,r,o,a,u,c,l,p,h,v,y,m,g,S,O=[];for(e=s(e),y=e.length,t=C,n=0,a=k,u=0;u<y;++u)(v=e[u])<128&&O.push(N(v));for(r=o=O.length,o&&O.push(T);r<y;){for(c=b,u=0;u=t&&vx((b-n)/m)&&i(“overflow”),n+=(c-t)*m,t=c,u=0;u<y;++u)if(v=e[u],vb&&i(“overflow”),v==t){for(l=n,p=_;h=p=a+E?E:p-a,!(l= 0x80 (not a basic code point)”,”invalid-input”:”Invalid input”},j=_-w,x=Math.floor,N=String.fromCharCode;g={version:”1.4.1″,ucs2:{decode:s,encode:c},decode:p,encode:h,toASCII:y,toUnicode:v},void 0!==(o=function(){return g}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(“l262”)(e),n(“h6ac”))},”/ylI”:function(e,t,n){!function(t,r){var o;e.exports=r(n(“K2GL”),n(“yh9p”))}(window,function(e,t){function n(){a||(a=!0,console.warn(“[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead.”))}function r(e){return e.__proto__=o.prototype,e}function o(e){return r(new Promise(e))}function i(n){function r(e){var t=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return t=new Uint8Array(e),n.getRandomValues(t),t;t=new Array(e);for(var r=0;r<t.length;r++)t[r]=Math.floor(256*Math.random());return t}function a(e){return u(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function u(e,t){for(var n=r(e),o=new Array(e),i=0;i<e;i++)o[i]=t.charCodeAt(n[i]%t.length);return String.fromCharCode.apply(null,o)}function s(n,r){switch(n){case"S256":var o=new Uint8Array(e.arrayBuffer(r));return t.fromByteArray(o).replace(/+/g,"-").replace(///g,"_").replace(/=/g,"");default:throw"Invalid value for pkceMethod"}}function c(){return void 0!==R.authServerUrl?"/"==R.authServerUrl.charAt(R.authServerUrl.length-1)?R.authServerUrl+"realms/"+encodeURIComponent(R.realm):R.authServerUrl+"/realms/"+encodeURIComponent(R.realm):void 0}function l(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function f(e,t){function n(n,r,o,i){a=(a+(new Date).getTime())/2,h(n,r,o,a),N&&(R.tokenParsed&&R.tokenParsed.nonce!=e.storedNonce||R.refreshTokenParsed&&R.refreshTokenParsed.nonce!=e.storedNonce||R.idTokenParsed&&R.idTokenParsed.nonce!=e.storedNonce)?(M("[KEYCLOAK] Invalid nonce, clearing token"),R.clearToken(),t&&t.setError()):i&&(R.onAuthSuccess&&R.onAuthSuccess(),t&&t.setSuccess())}var r=e.code,o=e.error,i=e.prompt,a=(new Date).getTime();if(o)if("none"!=i){var u={error:o,error_description:e.error_description};R.onAuthError&&R.onAuthError(u),t&&t.setError(u)}else t&&t.setSuccess();else if("standard"!=R.flow&&(e.access_token||e.id_token)&&n(e.access_token,null,e.id_token,!0),"implicit"!=R.flow&&r){var s="code="+r+"&grant_type=authorization_code",c=R.endpoints.token(),l=new XMLHttpRequest;l.open("POST",c,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(R.clientId),s+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(s+="&code_verifier="+e.pkceCodeVerifier),l.withCredentials=!0,l.onreadystatechange=function(){if(4==l.readyState)if(200==l.status){var e=JSON.parse(l.responseText);n(e.access_token,e.refresh_token,e.id_token,"standard"===R.flow),E()}else R.onAuthError&&R.onAuthError(),t&&t.setError()},l.send(s)}}function d(){function e(e){R.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return c()+"/protocol/openid-connect/auth"},token:function(){return c()+"/protocol/openid-connect/token"},logout:function(){return c()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var e=c()+"/protocol/openid-connect/login-status-iframe.html";return R.iframeVersion&&(e=e+"?version="+R.iframeVersion),e},register:function(){return c()+"/protocol/openid-connect/registrations"},userinfo:function(){return c()+"/protocol/openid-connect/userinfo"}}}var t,r=_();if(n?"string"==typeof n&&(t=n):t="keycloak.json",t){var o=new XMLHttpRequest;o.open("GET",t,!0),o.setRequestHeader("Accept","application/json"),o.onreadystatechange=function(){if(4==o.readyState)if(200==o.status||p(o)){var t=JSON.parse(o.responseText);R.authServerUrl=t["auth-server-url"],R.realm=t.realm,R.clientId=t.resource,e(null),r.setSuccess()}else r.setError()},o.send()}else{if(!n.clientId)throw"clientId missing";R.clientId=n.clientId;var i=n.oidcProvider;if(i)if("string"==typeof i){var a;a="/"==i.charAt(i.length-1)?i+".well-known/openid-configuration":i+"/.well-known/openid-configuration";var o=new XMLHttpRequest;o.open("GET",a,!0),o.setRequestHeader("Accept","application/json"),o.onreadystatechange=function(){if(4==o.readyState)if(200==o.status||p(o)){var t=JSON.parse(o.responseText);e(t),r.setSuccess()}else r.setError()},o.send()}else e(i),r.setSuccess();else{if(!n.url)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++)if(u[s].src.match(/.*keycloak.js/)){n.url=u[s].src.substr(0,u[s].src.indexOf("/js/keycloak.js"));break}if(!n.realm)throw"realm missing";R.authServerUrl=n.url,R.realm=n.realm,e(null),r.setSuccess()}}return r.promise}function p(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function h(e,t,n,r){if(R.tokenTimeoutHandle&&(clearTimeout(R.tokenTimeoutHandle),R.tokenTimeoutHandle=null),t?(R.refreshToken=t,R.refreshTokenParsed=v(t)):(delete R.refreshToken,delete R.refreshTokenParsed),n?(R.idToken=n,R.idTokenParsed=v(n)):(delete R.idToken,delete R.idTokenParsed),e){if(R.token=e,R.tokenParsed=v(e),R.sessionId=R.tokenParsed.session_state,R.authenticated=!0,R.subject=R.tokenParsed.sub,R.realmAccess=R.tokenParsed.realm_access,R.resourceAccess=R.tokenParsed.resource_access,r&&(R.timeSkew=Math.floor(r/1e3)-R.tokenParsed.iat),null!=R.timeSkew&&(M("[KEYCLOAK] Estimated time difference between browser and server is "+R.timeSkew+" seconds"),R.onTokenExpired)){var o=1e3*(R.tokenParsed.exp-(new Date).getTime()/1e3+R.timeSkew);M("[KEYCLOAK] Token expires in "+Math.round(o/1e3)+" s"),o<=0?R.onTokenExpired():R.tokenTimeoutHandle=setTimeout(R.onTokenExpired,o)}}else delete R.token,delete R.tokenParsed,delete R.subject,delete R.realmAccess,delete R.resourceAccess,R.authenticated=!1}function v(e){switch(e=e.split(".")[1],e=e.replace("/-/g","+"),e=e.replace("/_/g","/"),e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Invalid token"}return e=(e+"===").slice(0,e.length+e.length%4),e=e.replace(/-/g,"+").replace(/_/g,"/"),e=decodeURIComponent(escape(atob(e))),e=JSON.parse(e)}function y(){var e="0123456789abcdef",t=u(36,e).split("");return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function m(e){var t=g(e);if(t){var n=A.get(t.state);return n&&(t.valid=!0,t.redirectUri=n.redirectUri,t.storedNonce=n.nonce,t.prompt=n.prompt,t.pkceCodeVerifier=n.pkceCodeVerifier),t}}function g(e){var t;switch(R.flow){case"standard":t=["code","state","session_state"];break;case"implicit":t=["access_token","token_type","id_token","state","session_state","expires_in"];break;case"hybrid":t=["access_token","id_token","code","state","session_state"]}t.push("error"),t.push("error_description"),t.push("error_uri");var n,r,o=e.indexOf("?"),i=e.indexOf("#");if("query"===R.responseMode&&-1!==o?(n=e.substring(0,o),r=b(e.substring(o+1,-1!==i?i:e.length),t),""!==r.paramsString&&(n+="?"+r.paramsString),-1!==i&&(n+=e.substring(i))):"fragment"===R.responseMode&&-1!==i&&(n=e.substring(0,i),r=b(e.substring(i+1),t),""!==r.paramsString&&(n+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===R.flow||"hybrid"===R.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}else if("implicit"===R.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}function b(e,t){for(var n=e.split("&"),r={paramsString:"",oauthParams:{}},o=0;o=0;–n){var r=t[n];”error”==e.data?r.setError():r.setSuccess(“unchanged”==e.data)}}};return window.addEventListener(“message”,n,!1),e.promise}function E(){P.enable&&R.token&&setTimeout(function(){S().then(function(e){e&&E()})},1e3*P.interval)}function S(){var e=_();if(P.iframe&&P.iframeOrigin){var t=R.clientId+” “+(R.sessionId?R.sessionId:””);P.callbackList.push(e);var n=P.iframeOrigin;1==P.callbackList.length&&P.iframe.contentWindow.postMessage(t,n)}else e.setSuccess();return e.promise}function O(e){if(!e||”default”==e)return{login:function(e){return window.location.replace(R.createLoginUrl(e)),_().promise},logout:function(e){return window.location.replace(R.createLogoutUrl(e)),_().promise},register:function(e){return window.location.replace(R.createRegisterUrl(e)),_().promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;return window.location.href=e,_().promise},redirectUri:function(e){return 1==arguments.length&&!0,e&&e.redirectUri?e.redirectUri:R.redirectUri?R.redirectUri:location.href}};if(“cordova”==e){P.enable=!1;var t=function(e,t,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,t,n):window.open(e,t,n)},n=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce(function(t,n){return t[n]=e.cordovaOptions[n],t},{}):{}},r=function(e){return Object.keys(e).reduce(function(t,n){return t.push(n+”=”+e[n]),t},[]).join(“,”)},o=function(e){var t=n(e);return t.location=”no”,e&&”none”==e.prompt&&(t.hidden=”yes”),r(t)};return{login:function(e){var n=_(),r=o(e),i=R.createLoginUrl(e),a=t(i,”_blank”,r),u=!1,s=!1,c=function(){s=!0,a.close()};return a.addEventListener(“loadstart”,function(e){if(0==e.url.indexOf(“http://localhost”)){f(m(e.url),n),c(),u=!0}}),a.addEventListener(“loaderror”,function(e){if(!u)if(0==e.url.indexOf(“http://localhost”)){var t=m(e.url);f(t,n),c(),u=!0}else n.setError(),c()}),a.addEventListener(“exit”,function(){s||n.setError({reason:”closed_by_user”})}),n.promise},logout:function(e){var n,r=_(),o=R.createLogoutUrl(e),i=t(o,”_blank”,”location=no,hidden=yes”);return i.addEventListener(“loadstart”,function(e){0==e.url.indexOf(“http://localhost”)&&i.close()}),i.addEventListener(“loaderror”,function(e){0==e.url.indexOf(“http://localhost”)?i.close():(n=!0,i.close())}),i.addEventListener(“exit”,function(){n?r.setError():(R.clearToken(),r.setSuccess())}),r.promise},register:function(e){var n=_(),r=R.createRegisterUrl(),i=o(e),a=t(r,”_blank”,i);return a.addEventListener(“loadstart”,function(e){if(0==e.url.indexOf(“http://localhost”)){a.close();f(m(e.url),n)}}),n.promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;var n=t(e,”_blank”,”location=no”);n.addEventListener(“loadstart”,function(e){0==e.url.indexOf(“http://localhost”)&&n.close()})},redirectUri:function(){return”http://localhost”}}}if(“cordova-native”==e)return P.enable=!1,{login:function(e){var t=_(),n=R.createLoginUrl(e);return universalLinks.subscribe(“keycloak”,function(e){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),f(m(e.url),t)}),window.cordova.plugins.browsertab.openUrl(n),t.promise},logout:function(e){var t=_(),n=R.createLogoutUrl(e);return universalLinks.subscribe(“keycloak”,function(){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),R.clearToken(),t.setSuccess()}),window.cordova.plugins.browsertab.openUrl(n),t.promise},register:function(e){var t=_(),n=R.createRegisterUrl(e);return universalLinks.subscribe(“keycloak”,function(e){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),f(m(e.url),t)}),window.cordova.plugins.browsertab.openUrl(n),t.promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:R.redirectUri?R.redirectUri:”http://localhost”}};throw”invalid adapter type: “+e}function k(){try{return new L}catch(e){}return new H}function C(e){return function(){R.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}if(!(this instanceof i))return new i(n);for(var T,A,R=this,I=[],P={enable:!0,callbackList:[],interval:5},j=document.getElementsByTagName(“script”),x=0;x-1?O(e.adapter):e&&”object”==typeof e.adapter?e.adapter:window.Cordova||window.cordova?O(“cordova”):O(),e){if(void 0!==e.useNonce&&(N=e.useNonce),void 0!==e.checkLoginIframe&&(P.enable=e.checkLoginIframe),e.checkLoginIframeInterval&&(P.interval=e.checkLoginIframeInterval),”login-required”===e.onLoad&&(R.loginRequired=!0),e.responseMode){if(“query”!==e.responseMode&&”fragment”!==e.responseMode)throw”Invalid value for responseMode”;R.responseMode=e.responseMode}if(e.flow){switch(e.flow){case”standard”:R.responseType=”code”;break;case”implicit”:R.responseType=”id_token token”;break;case”hybrid”:R.responseType=”code id_token token”;break;default:throw”Invalid value for flow”}R.flow=e.flow}if(null!=e.timeSkew&&(R.timeSkew=e.timeSkew),e.redirectUri&&(R.redirectUri=e.redirectUri),e.silentCheckSsoRedirectUri&&(R.silentCheckSsoRedirectUri=e.silentCheckSsoRedirectUri),e.pkceMethod){if(“S256″!==e.pkceMethod)throw”Invalid value for pkceMethod”;R.pkceMethod=e.pkceMethod}R.enableLogging=”boolean”==typeof e.enableLogging&&e.enableLogging}R.responseMode||(R.responseMode=”fragment”),R.responseType||(R.responseType=”code”,R.flow=”standard”);var o=_(),i=_();i.promise.then(function(){R.onReady&&R.onReady(R.authenticated),o.setSuccess(R.authenticated)}).catch(function(e){o.setError(e)});var a=d();return a.then(n),a.catch(function(){o.setError()}),o.promise},R.login=function(e){return T.login(e)},R.createLoginUrl=function(e){var t=y(),n=y(),r=T.redirectUri(e),o={state:t,nonce:n,redirectUri:encodeURIComponent(r)};e&&e.prompt&&(o.prompt=e.prompt);var i;i=e&&”register”==e.action?R.endpoints.register():R.endpoints.authorize();var u;u=e&&e.scope?-1!=e.scope.indexOf(“openid”)?e.scope:”openid “+e.scope:”openid”;var c=i+”?client_id=”+encodeURIComponent(R.clientId)+”&redirect_uri=”+encodeURIComponent(r)+”&state=”+encodeURIComponent(t)+”&response_mode=”+encodeURIComponent(R.responseMode)+”&response_type=”+encodeURIComponent(R.responseType)+”&scope=”+encodeURIComponent(u);if(N&&(c=c+”&nonce=”+encodeURIComponent(n)),e&&e.prompt&&(c+=”&prompt=”+encodeURIComponent(e.prompt)),e&&e.maxAge&&(c+=”&max_age=”+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(c+=”&login_hint=”+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(c+=”&kc_idp_hint=”+encodeURIComponent(e.idpHint)),e&&e.locale&&(c+=”&ui_locales=”+encodeURIComponent(e.locale)),R.pkceMethod){var l=a(96);o.pkceCodeVerifier=l;c+=”&code_challenge=”+s(R.pkceMethod,l),c+=”&code_challenge_method=”+R.pkceMethod}return A.add(o),c},R.logout=function(e){return T.logout(e)},R.createLogoutUrl=function(e){return R.endpoints.logout()+”?redirect_uri=”+encodeURIComponent(T.redirectUri(e,!1))},R.register=function(e){return T.register(e)},R.createRegisterUrl=function(e){return e||(e={}),e.action=”register”,R.createLoginUrl(e)},R.createAccountUrl=function(e){var t=c(),n=void 0;return void 0!==t&&(n=t+”/account?referrer=”+encodeURIComponent(R.clientId)+”&referrer_uri=”+encodeURIComponent(T.redirectUri(e))),n},R.accountManagement=function(){return T.accountManagement()},R.hasRealmRole=function(e){var t=R.realmAccess;return!!t&&t.roles.indexOf(e)>=0},R.hasResourceRole=function(e,t){if(!R.resourceAccess)return!1;var n=R.resourceAccess[t||R.clientId];return!!n&&n.roles.indexOf(e)>=0},R.loadUserProfile=function(){var e=c()+”/account”,t=new XMLHttpRequest;t.open(“GET”,e,!0),t.setRequestHeader(“Accept”,”application/json”),t.setRequestHeader(“Authorization”,”bearer “+R.token);var n=_();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(R.profile=JSON.parse(t.responseText),n.setSuccess(R.profile)):n.setError())},t.send(),n.promise},R.loadUserInfo=function(){var e=R.endpoints.userinfo(),t=new XMLHttpRequest;t.open(“GET”,e,!0),t.setRequestHeader(“Accept”,”application/json”),t.setRequestHeader(“Authorization”,”bearer “+R.token);var n=_();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(R.userInfo=JSON.parse(t.responseText),n.setSuccess(R.userInfo)):n.setError())},t.send(),n.promise},R.isTokenExpired=function(e){if(!R.tokenParsed||!R.refreshToken&&”implicit”!=R.flow)throw”Not authenticated”;if(null==R.timeSkew)return M(“[KEYCLOAK] Unable to determine if token is expired as timeskew is not set”),!0;var t=R.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+R.timeSkew;if(e){if(isNaN(e))throw”Invalid minValidity”;t-=e}return t<0},R.updateToken=function(e){var t=_();if(!R.refreshToken)return t.setError(),t.promise;e=e||5;var n=function(){var n=!1;if(-1==e?(n=!0,M("[KEYCLOAK] Refreshing token: forced refresh")):R.tokenParsed&&!R.isTokenExpired(e)||(n=!0,M("[KEYCLOAK] Refreshing token: token expired")),n){var r="grant_type=refresh_token&refresh_token="+R.refreshToken,o=R.endpoints.token();if(I.push(t),1==I.length){var i=new XMLHttpRequest;i.open("POST",o,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.withCredentials=!0,r+="&client_id="+encodeURIComponent(R.clientId);var a=(new Date).getTime();i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status){M("[KEYCLOAK] Token refreshed"),a=(a+(new Date).getTime())/2;var e=JSON.parse(i.responseText);h(e.access_token,e.refresh_token,e.id_token,a),R.onAuthRefreshSuccess&&R.onAuthRefreshSuccess();for(var t=I.pop();null!=t;t=I.pop())t.setSuccess(!0)}else{D("[KEYCLOAK] Failed to refresh token"),400==i.status&&R.clearToken(),R.onAuthRefreshError&&R.onAuthRefreshError();for(var t=I.pop();null!=t;t=I.pop())t.setError(!0)}},i.send(r)}}else t.setSuccess(!1)};if(P.enable){S().then(function(){n()}).catch(function(){t.setError()})}else n();return t.promise},R.clearToken=function(){R.token&&(h(null,null,null),R.onAuthLogout&&R.onAuthLogout(),R.loginRequired&&R.login())};var L=function e(){function t(){for(var e=(new Date).getTime(),t=0;t<localStorage.length;t++){var n=localStorage.key(t);if(n&&0==n.indexOf("kc-callback-")){var r=localStorage.getItem(n);if(r)try{var o=JSON.parse(r).expires;(!o||o<e)&&localStorage.removeItem(n)}catch(e){localStorage.removeItem(n)}}}}if(!(this instanceof e))return new e;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var n=this;n.get=function(e){if(e){var n="kc-callback-"+e,r=localStorage.getItem(n);return r&&(localStorage.removeItem(n),r=JSON.parse(r)),t(),r}},n.add=function(e){t();var n="kc-callback-"+e.state;e.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(e))}},H=function e(){if(!(this instanceof e))return new e;var t=this;t.get=function(e){if(e){var t=r("kc-callback-"+e);return o("kc-callback-"+e,"",n(-100)),t?JSON.parse(t):void 0}},t.add=function(e){o("kc-callback-"+e.state,JSON.stringify(e),n(60))},t.removeItem=function(e){o(e,"",n(-100))};var n=function(e){var t=new Date;return t.setTime(t.getTime()+60*e*1e3),t},r=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},o=function(e,t,n){var r=e+"="+t+"; expires="+n.toUTCString()+"; ";document.cookie=r}}}if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var a=!1;return o.prototype=Object.create(Promise.prototype),o.prototype.constructor=o,o.prototype.success=function(e){return n(),r(this.then(function(t){e(t)}))},o.prototype.error=function(e){return n(),r(this.catch(function(t){e(t)}))},i})},"06Dm":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.head;if(!t.querySelector("script[src=""+e+""]")){var n=document.createElement("script");n.src=e,t.appendChild(n)}}},"2BZT":function(e,t,n){"use strict";function r(e){this.message=e}var o=n("oCjY");r.prototype=new Error,r.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new r("Invalid token specified");t=t||{};var n=!0===t.header?0:1;try{return JSON.parse(o(e.split(".")[n]))}catch(e){throw new r("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=r},"3H7N":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={joinOutput:!1,cleanup:{after:["atomic"],types:["unstyled"],trim:!1,split:!0},blockFallback:"unstyled"}},"45fX":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n("yd8v"),a=r(i),u=n("kD/w"),s=r(u),c=n("cX2q"),l=r(c),f={},d=void 0;t.default={unmount:function(){f={}},register:function(e,t){f[e]=t},unregister:function(e){delete f[e]},get:function(e){return f[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return d=e},getActiveLink:function(){return d},scrollTo:function(e,t){var n=this.get(e);if(!n)return void console.warn("target Element not found");t=o({},t,{absolute:!1});var r=t.containerId,i=t.container,u=void 0;u=r?document.getElementById(r):i&&i.nodeType?i:document,t.absolute=!0;var c=t.horizontal,f=a.default.scrollOffset(u,n,c)+(t.offset||0);if(!t.smooth)return l.default.registered.begin&&l.default.registered.begin(e,n),u===document?t.horizontal?window.scrollTo(f,0):window.scrollTo(0,f):u.scrollTop=f,void(l.default.registered.end&&l.default.registered.end(e,n));s.default.animateTopScroll(f,t,e,n)}}},"4hWR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function r(e){return e instanceof r?e:this instanceof r?void(this._wrapped=e):new r(e)}function o(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function i(e,t,n){return null==e?xe:Bt(e)?o(e,t,n):Ce(e)&&!qt(e)?He(e):De(e)}function a(e,t){return i(e,t,1/0)}function u(e,t,n){return r.iteratee!==a?r.iteratee(e,t):i(e,t,n)}function s(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function c(e){if(!Ce(e))return{};if(ot)return ot(e);ut.prototype=e;var t=new ut;return ut.prototype=null,t}function l(e){return function(t){return null==t?void 0:t[e]}}function f(e,t){return null!=e&&tt.call(e,t)}function d(e,t){for(var n=t.length,r=0;r=0&&t<=ct}function h(e,t,n){t=o(t,n);var r,i;if(p(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=ae(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e}function v(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=Array(o),a=0;a0?0:a-1;for(o||(r=t[i?i[u]:u],u+=e);u>=0&&u=3;return t(e,o(n,i,4),r,a)}}function m(e,t,n){var r=p(e)?St:he,o=r(e,t,n);if(void 0!==o&&-1!==o)return e[o]}function g(e,t,n){var r=[];return t=u(t,n),h(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}function b(e,t,n){return g(e,te(u(t)),n)}function _(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function w(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=0;i=0}function S(e,t){return v(e,De(t))}function O(e,t){return g(e,He(t))}function k(e,t){return m(e,He(t))}function C(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||”number”==typeof t&&”object”!=typeof e[0]&&null!=e){e=p(e)?e:se(e);for(var s=0,c=e.length;si&&(i=r)}else t=u(t,n),h(e,function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)});return i}function T(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||”number”==typeof t&&”object”!=typeof e[0]&&null!=e){e=p(e)?e:se(e);for(var s=0,c=e.length;s<c;s++)null!=(r=e[s])&&r<i&&(i=r)}else t=u(t,n),h(e,function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)});return i}function A(e){return R(e,1/0)}function R(e,t,n){if(null==t||n)return p(e)||(e=se(e)),e[qe(e.length-1)];var r=p(e)?me(e):se(e),o=lt(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;ar||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")}function P(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=u(r,o),h(n,function(t,o){var a=r(t,o,n);e(i,t,a)}),i}}function j(e){return e?qt(e)?$e.call(e):Wt(e)?e.match(mt):p(e)?v(e,xe):se(e):[]}function x(e){return null==e?0:p(e)?e.length:ae(e).length}function N(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:M(e,e.length-t)}function M(e,t,n){return $e.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function D(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:L(e,Math.max(0,e.length-t))}function L(e,t,n){return $e.call(e,null==t||n?1:t)}function H(e){return g(e,Boolean)}function U(e,t,n,r){r=r||[];for(var o=r.length,i=0,a=lt(e);i<a;i++){var u=e[i];if(p(u)&&(qt(u)||zt(u)))if(t)for(var s=0,c=u.length;s<c;)r[o++]=u[s++];else U(u,t,n,r),o=r.length;else n||(r[o++]=u)}return r}function q(e,t){return U(e,t,!1)}function z(e,t,n,r){Re(t)||(r=n,n=t,t=!1),null!=n&&(n=u(n,r));for(var o=[],i=[],a=0,s=lt(e);a<s;a++){var c=e[a],l=n?n(c,a,e):c;t&&!n?(a&&i===l||o.push(c),i=l):n?E(i,l)||(i.push(l),o.push(c)):E(o,c)||o.push(c)}return o}function B(e){for(var t=[],n=arguments.length,r=0,o=lt(e);r<o;r++){var i=e[r];if(!E(t,i)){var a;for(a=1;a<n&&E(arguments[a],i);a++);a===n&&t.push(i)}}return t}function W(e){for(var t=e&&C(e,lt).length||0,n=Array(t),r=0;r<t;r++)n[r]=S(e,r);return n}function F(e,t){for(var n={},r=0,o=lt(e);r0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}function K(e,t,n,r){n=u(n,r,1);for(var o=n(t),i=0,a=lt(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return i=n(r,o),r[i]===o?i:-1;if(o!==o)return i=t($e.call(r,a,u),Ae),i>=0?i+a:-1;for(i=e>0?a:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}}function X(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Q(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push($e.call(e,r,r+=t));return n}function Y(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=c(e.prototype),a=e.apply(i,o);return Ce(a)?a:i}function J(e,t){var n=function n(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return f(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}function Z(e,t,n){var r,o,i,a,u=0;n||(n={});var s=function(){u=!1===n.leading?0:en(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=en();u||!1!==n.leading||(u=c);var l=t-(c-u);return o=this,i=arguments,lt?(r&&(clearTimeout(r),r=null),u=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(r),u=0,r=o=i=null},c}function $(e,t,n){var r,o,i=function(t,n){r=null,n&&(o=e.apply(t,n))},a=s(function(a){if(r&&clearTimeout(r),n){var u=!r;r=setTimeout(i,t),u&&(o=e.apply(this,a))}else r=It(i,t,this,a);return o});return a.cancel=function(){clearTimeout(r),r=null},a}function ee(e,t){return At(t,e)}function te(e){return function(){return!e.apply(this,arguments)}}function ne(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n–;)r=e[n].call(this,r);return r}}function re(e,t){return function(){if(–e0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}function ie(e,t){var n=Nt.length,r=e.constructor,o=Bt(r)&&r.prototype||Ye,i="constructor";for(f(e,i)&&!E(t,i)&&t.push(i);n–;)(i=Nt[n])in e&&e[i]!==o[i]&&!E(t,i)&&t.push(i)}function ae(e){if(!Ce(e))return[];if(rt)return rt(e);var t=[];for(var n in e)f(e,n)&&t.push(n);return xt&&ie(e,t),t}function ue(e){if(!Ce(e))return[];var t=[];for(var n in e)t.push(n);return xt&&ie(e,t),t}function se(e){for(var t=ae(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function ce(e,t,n){t=u(t,n);for(var r=ae(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i}function le(e){for(var t=ae(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function fe(e){for(var t={},n=ae(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function de(e){var t=[];for(var n in e)Bt(e[n])&&t.push(n);return t.sort()}function pe(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),u=a.length,s=0;s<u;s++){var c=a[s];t&&void 0!==n[c]||(n[c]=i[c])}return n}}function he(e,t,n){t=u(t,n);for(var r,o=ae(e),i=0,a=o.length;i<a;i++)if(r=o[i],t(e[r],r,e))return r}function ve(e,t,n){return t in n}function ye(e,t){var n=c(e);return t&&Dt(n,t),n}function me(e){return Ce(e)?qt(e)?e.slice():Mt({},e):e}function ge(e,t){return t(e),e}function be(e,t){var n=ae(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function _e(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&we(e,t,n,r)}function we(e,t,n,o){e instanceof r&&(e=e._wrapped),t instanceof r&&(t=t._wrapped);var i=et.call(e);if(i!==et.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return Je.valueOf.call(e)===Je.valueOf.call(t)}var a="[object Array]"===i;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,s=t.constructor;if(u!==s&&!(Bt(u)&&u instanceof u&&Bt(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],o=o||[];for(var c=n.length;c–;)if(n[c]===e)return o[c]===t;if(n.push(e),o.push(t),a){if((c=e.length)!==t.length)return!1;for(;c–;)if(!_e(e[c],t[c],n,o))return!1}else{var l,d=ae(e);if(c=d.length,ae(t).length!==c)return!1;for(;c–;)if(l=d[c],!f(t,l)||!_e(e[l],t[l],n,o))return!1}return n.pop(),o.pop(),!0}function Ee(e,t){return _e(e,t)}function Se(e){return null==e||(p(e)&&(qt(e)||Wt(e)||zt(e))?0===e.length:0===ae(e).length)}function Oe(e){return!(!e||1!==e.nodeType)}function ke(e){return function(t){return et.call(t)==="[object "+e+"]"}}function Ce(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function Te(e){return!Xt(e)&&at(e)&&!it(parseFloat(e))}function Ae(e){return Ft(e)&&it(e)}function Re(e){return!0===e||!1===e||"[object Boolean]"===et.call(e)}function Ie(e){return null===e}function Pe(e){return void 0===e}function je(e,t){if(!qt(t))return f(e,t);for(var n=t.length,r=0;r<n;r++){var o=t[r];if(null==e||!tt.call(e,o))return!1;e=e[o]}return!!n}function xe(e){return e}function Ne(e){return function(){return e}}function Me(){}function De(e){return qt(e)?function(t){return d(t,e)}:l(e)}function Le(e){return null==e?function(){}:function(t){return qt(t)?d(e,t):e[t]}}function He(e){return e=Dt({},e),function(t){return be(t,e)}}function Ue(e,t,n){var r=Array(Math.max(0,e));t=o(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function qe(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}function ze(e){var t=function(t){return e[t]},n="(?:"+ae(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}function Be(e,t,n){qt(t)||(t=[t]);var r=t.length;if(!r)return Bt(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=Bt(i)?i.call(e):i}return e}function We(e){var t=++an+"";return e?e+t:t}function Fe(e,t,n){!t&&n&&(t=n),t=Ut({},t,r.templateSettings);var o=RegExp([(t.escape||sn).source,(t.interpolate||sn).source,(t.evaluate||sn).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(o,function(t,n,r,o,u){return a+=e.slice(i,u).replace(ln,fn),i=u+t.length,n?a+="'+n((__t=("+n+"))==null?'':_.escape(__t))+n'":r?a+="'+n((__t=("+r+"))==null?'':__t)+n'":o&&(a+="';n"+o+"n__p+='"),t}),a+="';n",t.variable||(a="with(obj||{}){n"+a+"}n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};n"+a+"return __p;n";var u;try{u=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return u.call(this,e,r)};return s.source="function("+(t.variable||"obj")+"){n"+a+"}",s}function Ve(e){var t=r(e);return t._chain=!0,t}function Ke(e,t){return e._chain?r(t).chain():t}function Ge(e){return h(de(e),function(t){var n=r[t]=e[t];r.prototype[t]=function(){var e=[this._wrapped];return Ze.apply(e,arguments),Ke(this,n.apply(r,e))}}),r}t.default=r,n.d(t,"VERSION",function(){return st}),t.iteratee=a,t.restArguments=s,t.each=h,n.d(t,"forEach",function(){return h}),t.map=v,n.d(t,"collect",function(){return v}),n.d(t,"reduce",function(){return ft}),n.d(t,"foldl",function(){return ft}),n.d(t,"inject",function(){return ft}),n.d(t,"reduceRight",function(){return dt}),n.d(t,"foldr",function(){return dt}),t.find=m,n.d(t,"detect",function(){return m}),t.filter=g,n.d(t,"select",function(){return g}),t.reject=b,t.every=_,n.d(t,"all",function(){return _}),t.some=w,n.d(t,"any",function(){return w}),t.contains=E,n.d(t,"includes",function(){return E}),n.d(t,"include",function(){return E}),n.d(t,"invoke",function(){return pt}),t.pluck=S,t.where=O,t.findWhere=k,t.max=C,t.min=T,t.shuffle=A,t.sample=R,t.sortBy=I,n.d(t,"groupBy",function(){return ht}),n.d(t,"indexBy",function(){return vt}),n.d(t,"countBy",function(){return yt}),t.toArray=j,t.size=x,n.d(t,"partition",function(){return gt}),t.first=N,n.d(t,"head",function(){return N}),n.d(t,"take",function(){return N}),t.initial=M,t.last=D,t.rest=L,n.d(t,"tail",function(){return L}),n.d(t,"drop",function(){return L}),t.compact=H,t.flatten=q,n.d(t,"without",function(){return bt}),t.uniq=z,n.d(t,"unique",function(){return z}),n.d(t,"union",function(){return _t}),t.intersection=B,n.d(t,"difference",function(){return wt}),t.unzip=W,n.d(t,"zip",function(){return Et}),t.object=F,n.d(t,"findIndex",function(){return St}),n.d(t,"findLastIndex",function(){return Ot}),t.sortedIndex=K,n.d(t,"indexOf",function(){return kt}),n.d(t,"lastIndexOf",function(){return Ct}),t.range=X,t.chunk=Q,n.d(t,"bind",function(){return Tt}),n.d(t,"partial",function(){return At}),n.d(t,"bindAll",function(){return Rt}),t.memoize=J,n.d(t,"delay",function(){return It}),n.d(t,"defer",function(){return Pt}),t.throttle=Z,t.debounce=$,t.wrap=ee,t.negate=te,t.compose=ne,t.after=re,t.before=oe,n.d(t,"once",function(){return jt}),t.keys=ae,t.allKeys=ue,t.values=se,t.mapObject=ce,t.pairs=le,t.invert=fe,t.functions=de,n.d(t,"methods",function(){return de}),n.d(t,"extend",function(){return Mt}),n.d(t,"extendOwn",function(){return Dt}),n.d(t,"assign",function(){return Dt}),t.findKey=he,n.d(t,"pick",function(){return Lt}),n.d(t,"omit",function(){return Ht}),n.d(t,"defaults",function(){return Ut}),t.create=ye,t.clone=me,t.tap=ge,t.isMatch=be,t.isEqual=Ee,t.isEmpty=Se,t.isElement=Oe,n.d(t,"isArray",function(){return qt}),t.isObject=Ce,n.d(t,"isArguments",function(){return zt}),n.d(t,"isFunction",function(){return Bt}),n.d(t,"isString",function(){return Wt}),n.d(t,"isNumber",function(){return Ft}),n.d(t,"isDate",function(){return Vt}),n.d(t,"isRegExp",function(){return Kt}),n.d(t,"isError",function(){return Gt}),n.d(t,"isSymbol",function(){return Xt}),n.d(t,"isMap",function(){return Qt}),n.d(t,"isWeakMap",function(){return Yt}),n.d(t,"isSet",function(){return Jt}),n.d(t,"isWeakSet",function(){return Zt}),t.isFinite=Te,t.isNaN=Ae,t.isBoolean=Re,t.isNull=Ie,t.isUndefined=Pe,t.has=je,t.identity=xe,t.constant=Ne,t.noop=Me,t.property=De,t.propertyOf=Le,t.matcher=He,n.d(t,"matches",function(){return He}),t.times=Ue,t.random=qe,n.d(t,"now",function(){return en}),n.d(t,"escape",function(){return rn}),n.d(t,"unescape",function(){return on}),t.result=Be,t.uniqueId=We,n.d(t,"templateSettings",function(){return un}),t.template=Fe,t.chain=Ve,t.mixin=Ge;var Xe="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},Qe=Array.prototype,Ye=Object.prototype,Je="undefined"!=typeof Symbol?Symbol.prototype:null,Ze=Qe.push,$e=Qe.slice,et=Ye.toString,tt=Ye.hasOwnProperty,nt=Array.isArray,rt=Object.keys,ot=Object.create,it=Xe.isNaN,at=Xe.isFinite,ut=function(){},st=r.VERSION="1.10.2";r.iteratee=a;var ct=Math.pow(2,53)-1,lt=l("length"),ft=y(1),dt=y(-1),pt=s(function(e,t,n){var r,o;return Bt(t)?o=t:qt(t)&&(r=t.slice(0,-1),t=t[t.length-1]),v(e,function(e){var i=o;if(!i){if(r&&r.length&&(e=d(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)})}),ht=P(function(e,t,n){f(e,n)?e[n].push(t):e[n]=[t]}),vt=P(function(e,t,n){e[n]=t}),yt=P(function(e,t,n){f(e,n)?e[n]++:e[n]=1}),mt=/[^ud800-udfff]|[ud800-udbff][udc00-udfff]|[ud800-udfff]/g,gt=P(function(e,t,n){e[n?0:1].push(t)},!0),bt=s(function(e,t){return wt(e,t)}),_t=s(function(e){return z(U(e,!0,!0))}),wt=s(function(e,t){return t=U(t,!0,!0),g(e,function(e){return!E(t,e)})}),Et=s(W),St=V(1),Ot=V(-1),kt=G(1,St,K),Ct=G(-1,Ot),Tt=s(function(e,t,n){if(!Bt(e))throw new TypeError("Bind must be called on a function");var r=s(function(o){return Y(e,r,t,this,n.concat(o))});return r}),At=s(function(e,t){var n=At.placeholder;return function r(){for(var o=0,i=t.length,a=Array(i),u=0;u<i;u++)a[u]=t[u]===n?arguments[o++]:t[u];for(;o<arguments.length;)a.push(arguments[o++]);return Y(e,r,this,this,a)}});At.placeholder=r;var Rt=s(function(e,t){t=U(t,!1,!1);var n=t.length;if(n1&&(r=o(r,t[1])),t=ue(e)):(r=ve,t=U(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(n=t[1])):(t=v(U(t,!1,!1),String),r=function(e,n){return!E(t,n)}),Lt(e,r,n)}),Ut=pe(ue,!0),qt=nt||ke(“Array”),zt=ke(“Arguments”),Bt=ke(“Function”),Wt=ke(“String”),Ft=ke(“Number”),Vt=ke(“Date”),Kt=ke(“RegExp”),Gt=ke(“Error”),Xt=ke(“Symbol”),Qt=ke(“Map”),Yt=ke(“WeakMap”),Jt=ke(“Set”),Zt=ke(“WeakSet”);!function(){zt(arguments)||(zt=function(e){return f(e,”callee”)})}();var $t=Xe.document&&Xe.document.childNodes;”function”!=typeof/./&&”object”!=typeof Int8Array&&”function”!=typeof $t&&(Bt=function(e){return”function”==typeof e||!1});var en=Date.now||function(){return(new Date).getTime()},tn={“&”:”&”,””:”>”,'”‘:”"”,”‘”:”'”,”`”:”`”},nn=fe(tn),rn=ze(tn),on=ze(nn),an=0,un=r.templateSettings={evaluate://g,interpolate://g,escape://g},sn=/(.)^/,cn={“‘”:”‘”,”\”:”\”,”r”:”r”,”n”:”n”,”u2028″:”u2028″,”u2029″:”u2029″},ln=/\|’|r|n|u2028|u2029/g,fn=function(e){return”\”+cn[e]};h([“pop”,”push”,”reverse”,”shift”,”sort”,”splice”,”unshift”],function(e){var t=Qe[e];r.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),”shift”!==e&&”splice”!==e||0!==n.length||delete n[0],Ke(this,n)}}),h([“concat”,”join”,”slice”],function(e){var t=Qe[e];r.prototype[e]=function(){return Ke(this,t.apply(this._wrapped,arguments))}}),r.prototype.value=function(){return this._wrapped},r.prototype.valueOf=r.prototype.toJSON=r.prototype.value,r.prototype.toString=function(){return String(this._wrapped)}}.call(t,n(“h6ac”))},”55G1″:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“LLNF”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},”5D9O”:function(e,t,n){e.exports=n(“wVGV”)()},”6Ayv”:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t,n){var r=t;return t[n]?r[n]+=e:r[n]=e,r}},”6BsS”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=function(e){var t=e.caption;return i.default.createElement(“p”,{className:”backstage-media-description”},i.default.createElement(“i”,{className:”description-icon”},i.default.createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,width:”14px”,height:”11px”,viewBox:”0 0 14 11″},i.default.createElement(“path”,{d:”M14,9.16666667 C14,10.175 13.19,11 12.2,11 L1.8,11 C0.81,11 0,10.175 0,9.16666667 L0,1.83333333 C0,0.825 0.81,0 1.8,0 L12.2,0 C13.19,0 14,0.825 14,1.83333333 L14,9.16666667 Z M10.6,5.5 L5.2,2.5025 L5.2,8.48833333 L10.6,5.5 L10.6,5.5 Z”,id:”Shape”}))),i.default.createElement(“span”,{className:”description-caption”},t))};s.propTypes={caption:u.default.string.isRequired},t.default=s},”6FdL”:function(e){“use strict”;var t=function(e,t){return e+t1&&void 0!==arguments[1]?arguments[1]:{},r=n.initialInterval,o=void 0===r?100:r,i=n.attemptsBeforeSlowing,a=void 0===i?20:i,u=n.timeout,s=void 0===u?6e4:u,c=Date.now(),l=0,f=o,d=void 0,p=void 0;try{p=e()}catch(t){return Promise.reject(new Error(“[waitCondition] error on condition:n “+e))}return p&&p.done?Promise.resolve(p.value):new Promise(function(n,r){d=function o(i){return setInterval(function(){try{p=e()}catch(t){return clearInterval(d),void r(new Error(“[waitCondition] error on condition:n “+e))}return p&&p.done?(clearInterval(d),void n(p.value)):t(c,s)?(clearInterval(d),void r(new Error(“[waitCondition] timeout on condition:n “+e))):l>a?(l=0,f*=2,clearInterval(d),void(d=o(f))):void(l+=1)},i)}(f)})}},”6xcZ”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0}),t.CompositeDecorator=t.renderNode=t.RawParser=t.createBlockRenderer=t.createStylesRenderer=void 0;var o=n(“uq6Q”),i=r(o),a=n(“S8O7”),u=r(a),s=n(“Cf1I”),c=n(“9k9+”),l=r(c),f=n(“c1vC”),d=r(f);t.createStylesRenderer=u.default,t.createBlockRenderer=d.default,t.RawParser=i.default,t.renderNode=s.renderNode,t.CompositeDecorator=l.default,t.default=s.render},”7loZ”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=function(e){var t=e.caption,n=e.rightsHolder;return i.default.createElement(“p”,{className:”backstage-media-description”},i.default.createElement(“i”,{className:”description-icon”},i.default.createElement(“svg”,{width:”13″,height:”12″,viewBox:”0 0 13 12″,xmlns:”http://www.w3.org/2000/svg”},i.default.createElement(“use”,{href:”#a”,transform:”translate(4.996 4.987)”}),i.default.createElement(“use”,{href:”#b”}),i.default.createElement(“defs”,null,i.default.createElement(“path”,{id:”a”,d:”M1.5 3.133c.83 0 1.502-.702 1.502-1.567S2.33 0 1.502 0C.67 0 0 .7 0 1.566c0 .865.672 1.567 1.5 1.567z”}),i.default.createElement(“path”,{id:”b”,d:”M4.496 0L3.003 1.993h-1.76C.558 1.993 0 2.58 0 3.297v7.4C0 11.412.557 12 1.244 12H11.75c.688 0 1.25-.587 1.25-1.304v-7.4c0-.717-.563-1.303-1.25-1.303H9.996L8.503 0H4.496zm1.996 9.82c-1.725 0-3.125-1.462-3.125-3.262s1.4-3.26 3.125-3.26 3.125 1.46 3.125 3.26c0 1.8-1.4 3.26-3.125 3.26z”})))),i.default.createElement(“span”,{className:”description-caption”},t+” (Foto: “+n+”)”))};s.propTypes={caption:u.default.string.isRequired,rightsHolder:u.default.string.isRequired},t.default=s},”7qbT”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n=Math.floor(l)&&h<Math.floor(f),c=h=Math.floor(f)}else{var v=0,y=0,g=0;if(o.getBoundingClientRect){g=o.getBoundingClientRect().top}if(!u||e.props.isDynamic){if(!(u=n.get(a)))return;var b=u.getBoundingClientRect();v=b.top-g+r,y=v+b.height}var _=r-e.props.offset;s=_>=Math.floor(v)&&_<Math.floor(y),c=_=Math.floor(y)}var w=n.getActiveLink();c&&(a===w&&n.setActiveLink(void 0),e.props.hashSpy&&m.default.getHash()===a&&m.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(a,u))),!s||w===a&&!1!==e.state.active||(n.setActiveLink(a),e.props.hashSpy&&m.default.changeHash(a),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(a,u)))}}};return r.propTypes=g,r.defaultProps={offset:0},r}},”7uKe”:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n++;n<e.length)if(e[n]!==t[n])return!1;return!0}},"8HRR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("91Zg");t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},"91Zg":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("eW0v"),i=r(o),a=n("5D9O"),u=r(a),s=n("GpK8"),c=r(s),l=n("z8am"),f=r(l),d=n("zu3+"),p=r(d),h=n("55G1"),v=r(h),y=n("SPP2"),m=r(y),g=n("oWE+"),b=n("nLIX"),_=r(b),w=n("or5d"),E=function(e){var t=e.data,n=e.config,r=t.type;if(r===w.BACKSTAGE_TWITTER_SEARCH){return i.default.createElement(m.default,{tweets:t.tweets,term:t.term})}if(r===w.BACKSTAGE_PHOTO){return i.default.createElement(c.default,{file:t.file,caption:t.caption,rightsHolder:t.rightsHolder})}if(r===w.BACKSTAGE_VIDEO){return i.default.createElement(f.default,{videoId:t.identifier,caption:t.caption})}if(r===w.BACKSTAGE_EMBED_SOCIAL)return i.default.createElement(p.default,{data:t,config:n});if(r===w.BACKSTAGE_EMBED_POLL){return i.default.createElement(v.default,{file:t.file,title:t.title,url:t.url})}return _.default.warn("unkwnown component type: "+r,"Atomic"),null};E.propTypes={data:u.default.object.isRequired,config:g.configShape},E.defaultProps={config:{}},t.default=E},"9HcH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("yIsO");t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},"9k9+":function(e,t){"use strict";function n(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0}function r(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(e){this.decorators=e.slice()}return o(e,[{key:"getDecorations",value:function(e,t){var o=Array(e.getText().length).fill(null);return this.decorators.forEach(function(i,a){var u=0;(0,i.strategy)(e,function(e,t){n(o,e,t)&&(r(o,e,t,a+"."+u),u++)},t)}),o}},{key:"getComponentForKey",value:function(e){return this.decorators[parseInt(e.split(".")[0],10)].component}},{key:"getPropsForKey",value:function(e){return this.decorators[parseInt(e.split(".")[0],10)].props}}]),e}()},"9km1":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n("eW0v"),s=r(u);t.default=(0,r(n("7qbT")).default)(function(e){function t(){return o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){return s.default.createElement("input",this.props,this.props.children)}}]),t}(s.default.Component))},"9qb7":function(e,t){var n,r;!function(){"use strict";function o(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{};this.includeScript=function(){e.config.includeScript&&(0,u.default)(“https://platform.instagram.com/en_US/embeds.js”)},this.loadWidgets=function(){e.config.loadWidgets&&l().then(function(e){return e.Embeds.process()}).catch(function(e){throw c.default.error(e,”Instagram”),new Error(‘”window.instgrm” did not load correctly. Either load the Instagram library yourself or pass the “includeScript” option to Instagram config’)})},this.config=t}}).call(t,n(“h6ac”))},AW9G:function(e,t,n){“use strict”;(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“6FdL”),i=r(o),a=n(“06Dm”),u=r(a),s=n(“nLIX”),c=r(s),l=function(){return(0,i.default)(function(){return e.twttr&&e.twttr.events?{done:!0,value:e.twttr}:null})};t.default=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.includeScript=function(){e.config.includeScript&&(0,u.default)(“https://platform.twitter.com/widgets.js”)},this.loadWidgets=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;e.config.loadWidgets&&l().then(function(e){e.ready(function(){e.widgets.load(t).catch(function(e){throw c.default.error(e,”Twitter”),new Error(“twttr library error while loading post”)})})})},this.config=t}}).call(t,n(“h6ac”))},Asjh:function(e){“use strict”;e.exports=”SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED”},Be6F:function(e){“use strict”;e.exports=”SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED”},Cf1I:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.renderNode=void 0;var i=n("uq6Q"),a=r(i),u=n("FFjd"),s=r(u),c=n("WsC6"),l=r(c),f=n("wRwY"),d=r(f),p=n("jA8q"),h=r(p),v=n("6Ayv"),y=r(v),m=n("3H7N"),g=r(m),b=n("XQxe"),_=r(b),w=t.renderNode=function e(t,n,r,i,a,u,s){if(t.styles&&i)return i((0,h.default)(t.content,u),t.styles,{key:s()});var c=[],l=0;if(t.content.forEach(function(t){"string"==typeof t?c=(0,y.default)(t,c,l):(l+=1,c[l]=e(t,n,r,i,a,u,s),l+=1)}),t.style&&n[t.style])return n[t.style]((0,h.default)(c,u),{key:s()});if(null!==t.entity){var f=a[t.entity];if(f&&r[f.type])return r[f.type]((0,h.default)(c,u),f.data,{key:t.entity})}if(null!==t.decorator){var d=[t.block.key,t.start,0].join(".");return t.decorator(o({children:(0,h.default)(c,u),decoratedText:t.decoratedText,contentState:t.contentState,entityKey:t.entity,offsetKey:d,key:d},t.decoratorProps))}return c},E=function(e){var t=[],n=[],r=0,o=function(e){var o=r-e;for(n.length0;o-=1){var i=t;t=n.pop(),t[t.length-1].children=i}};return e.forEach(function(e){re.depth&&o(e.depth),r=e.depth,t.push(e)}),0!==r&&o(0),t},S=function(e,t,n,r,o){var i=r.prevType,a=r.prevDepth,u=r.prevKeys,s=r.prevData;if(0!==e.length){var c=t[i]||t[o.blockFallback];if(c){var l={depth:a,keys:u};return s&&s.some(function(e){return!!e})&&(l.data=s),void n.push(c(e,l))}n.push(e)}},O=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},f=o({},g.default,c),p=[],v=[],y=null,m=0,b=[],_=[],E=!1,O=new a.default({flat:!!u});return t.forEach(function(t){if((0,l.default)(t,y,f))return void(!0===f.cleanup.split&&(E=!0));var o=O.parse(t),a=w(o,n,i,u,s,f,(0,d.default)());if((y&&y!==t.type||E)&&(S(v,r,p,{prevType:y,prevDepth:m,prevKeys:b,prevData:_},f),_=[],b=[],v=[],E=!1),t.children){a.push(e(t.children,n,r,i,u,s,f))}v.push(a),y=t.type,m=t.depth,b.push(t.key),_.push(t.data)}),S(v,r,p,{prevType:y,prevDepth:m,prevKeys:b,prevData:_},f),(0,h.default)(p,f)};t.render=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!Array.isArray(e.blocks))return(0,s.default)(“invalid raw object”),null;if(!e.blocks.length)return null;var r=t.inline,o=t.blocks,i=t.entities,a=t.styles,u=t.decorators,c=u?(0,_.default)(e,u,n):e.blocks,l=E(c);return O(l,r,o,i,a,e.entityMap,n)}},Cu9P:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“lGOK”),u=r(a),s=n(“oWE+”),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”0″;return e=t||n=m}function l(){var e=S();if(c(e))return f(e);b=setTimeout(l,a(e))}function f(e){return b=void 0,T&&v?r(e):(v=y=void 0,g)}function d(){void 0!==b&&clearTimeout(b),O=0,v=_=y=b=void 0}function p(){return void 0===b?g:f(S())}function h(){var e=S(),n=c(e);if(v=arguments,y=this,_=e,n){if(void 0===b)return i(_);if(C)return b=setTimeout(l,t),r(_)}return void 0===b&&(b=setTimeout(l,t)),g}var v,y,m,g,b,_,O=0,k=!1,C=!1,T=!0;if(“function”!=typeof e)throw new TypeError(s);return t=u(t)||0,o(n)&&(k=!!n.leading,C=”maxWait”in n,m=C?w(u(n.maxWait)||0,t):m,T=”trailing”in n?!!n.trailing:T),h.cancel=d,h.flush=p,h}function r(e,t,r){var i=!0,a=!0;if(“function”!=typeof e)throw new TypeError(s);return o(r)&&(i=”leading”in r?!!r.leading:i,a=”trailing”in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&(“object”==t||”function”==t)}function i(e){return!!e&&”object”==typeof e}function a(e){return”symbol”==typeof e||i(e)&&_.call(e)==l}function u(e){if(“number”==typeof e)return e;if(a(e))return c;if(o(e)){var t=”function”==typeof e.valueOf?e.valueOf():e;e=o(t)?t+””:t}if(“string”!=typeof e)return 0===e?e:+e;e=e.replace(f,””);var n=p.test(e);return n||h.test(e)?v(e.slice(2),n?2:8):d.test(e)?c:+e}var s=”Expected a function”,c=NaN,l=”[object Symbol]”,f=/^s+|s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,v=parseInt,y=”object”==typeof t&&t&&t.Object===Object&&t,m=”object”==typeof self&&self&&self.Object===Object&&self,g=y||m||Function(“return this”)(),b=Object.prototype,_=b.toString,w=Math.max,E=Math.min,S=function(){return g.Date.now()};e.exports=r}).call(t,n(“h6ac”))},GGlP:function(e){e.exports={socialBox:”socialBox__2rsDa”,socialIconBox:”socialIconBox__UZ3i0″}},GpK8:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“jSB1”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},H2lW:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“6BsS”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},IHDD:function(e){e.exports={quizAds:”quizAds__3sjgd”}},JAZJ:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“FNy/”),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=n(“lkHq”),a=function(e){return(0,o.default)(e,66)},u={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e){if(e){var t=a(function(){u.scrollHandler(e)});u.scrollSpyContainers.push(e),(0,i.addPassiveEventListener)(e,”scroll”,t)}},isMounted:function(e){return-1!==u.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e===document){var t=void 0!==window.pageYOffset,n=”CSS1Compat”===(document.compatMode||””);return t?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft}return e.scrollLeft},currentPositionY:function(e){if(e===document){var t=void 0!==window.pageXOffset,n=”CSS1Compat”===(document.compatMode||””);return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(u.scrollSpyContainers[u.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach(function(t){return t(u.currentPositionX(e),u.currentPositionY(e))})},addStateHandler:function(e){u.spySetState.push(e)},addSpyHandler:function(e,t){var n=u.scrollSpyContainers[u.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(u.currentPositionX(t),u.currentPositionY(t))},updateStates:function(){u.spySetState.forEach(function(e){return e()})},unmount:function(e,t){u.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),u.spySetState&&u.spySetState.length&&u.spySetState.splice(u.spySetState.indexOf(e),1),document.removeEventListener(“scroll”,u.scrollHandler)},update:function(){return u.scrollSpyContainers.forEach(function(e){return u.scrollHandler(e)})}};t.default=u},JZ8d:function(e,t){“use strict”;function n(e){var t,n=e.Symbol;return”function”==typeof n?n.observable?t=n.observable:(t=n(“observable”),n.observable=t):t=”@@observable”,t}t.a=n},JiT9:function(e,t,n){e.exports=n(“xuSr”)()},JkW7:function(e,t,n){“use strict”;function r(e){if(“object”!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function o(e,t,n){function i(){v===h&&(v=h.slice())}function a(){if(y)throw new Error(“You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.”);return p}function u(e){if(“function”!=typeof e)throw new Error(“Expected the listener to be a function.”);if(y)throw new Error(“You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.”);var t=!0;return i(),v.push(e),function(){if(t){if(y)throw new Error(“You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.”);t=!1,i();var n=v.indexOf(e);v.splice(n,1),h=null}}}function s(e){if(!r(e))throw new Error(“Actions must be plain objects. Use custom middleware for async actions.”);if(void 0===e.type)throw new Error(‘Actions may not have an undefined “type” property. Have you misspelled a constant?’);if(y)throw new Error(“Reducers may not dispatch actions.”);try{y=!0,p=d(p,e)}finally{y=!1}for(var t=h=v,n=0;n<t.length;n++){(0,t[n])()}return e}function c(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");d=e,s({type:ct.REPLACE})}function l(){var e,t=u;return e={subscribe:function(e){function n(){e.next&&e.next(a())}if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[ut.a]=function(){return this},e}var f;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var d=e,p=t,h=[],v=h,y=!1;return s({type:ct.INIT}),f={dispatch:s,subscribe:u,getState:a,replaceReducer:c},f[ut.a]=l,f}function i(e,t){return function(){return t(e.apply(this,arguments))}}function a(e,t){if("function"==typeof e)return i(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=i(o,t))}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map(function(e){return e(o)});return r=l.apply(void 0,i)(n.dispatch),c({},n,{dispatch:r})}}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function h(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function v(e){if(void 0===e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return e}function y(){}function m(e,t){return t={exports:{}},e(t,t.exports),t.exports}function g(e){return ht.isMemo(e)?bt:_t[e.$$typeof]||yt}function b(e,t,n){if(“string”!=typeof t){if(Rt){var r=At(t);r&&r!==Rt&&b(e,r,n)}var o=kt(t);Ct&&(o=o.concat(Ct(t)));for(var i=g(e),a=g(t),u=0;u<o.length;++u){var s=o[u];if(!(mt[s]||n&&n[s]||a&&a[s]||i&&i[s])){var c=Tt(t,s);try{Ot(e,s,c)}catch(e){}}}return e}return e}function _(e,t){var n=void 0===t?{}:t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,i=n.methodName,a=void 0===i?"connectAdvanced":i,u=n.renderCountProp,s=void 0===u?void 0:u,c=n.shouldHandleStateChanges,l=void 0===c||c,f=n.storeKey,y=void 0===f?"store":f,m=n.forwardRef,g=void 0!==m&&m,b=n.context,_=void 0===b?ft:b,w=h(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),E=_;return function(t){function n(){var t,n,r,o,i,a;return function(u,s,c,l){if(f&&t===s&&n===u)return r;c===o&&i===l||(o=c,i=l,a=e(c.dispatch,l)),t=s,n=u;var d=a(u,s);return r=d}}function r(){var e,t,n,r;return function(o,i,a){return i===e&&a===t&&r===o||(e=i,t=a,r=o,n=lt.createElement(o,d({},i,{ref:a}))),n}}var i=t.displayName||t.name||"Component",u=o(i),c=d({},w,{getDisplayName:o,methodName:a,renderCountProp:s,shouldHandleStateChanges:l,storeKey:y,displayName:u,wrappedComponentName:i,WrappedComponent:t}),f=w.pure,h=it.Component;f&&(h=it.Component);var m=function(e){function o(t){var o;return o=e.call(this,t)||this,o.selectDerivedProps=n(),o.selectChildElement=r(),o.indirectRenderWrappedComponent=o.indirectRenderWrappedComponent.bind(v(o)),o}p(o,e);var i=o.prototype;return i.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},i.renderWrappedComponent=function(e){var n,r=e.storeState,o=e.store,i=this.props;g&&(i=this.props.wrapperProps,n=this.props.forwardedRef);var a=this.selectDerivedProps(r,i,o,c);return this.selectChildElement(t,a,n)},i.render=function(){var e=this.props.context&&this.props.context.Consumer&&vt(lt.createElement(this.props.context.Consumer,null))?this.props.context:E;return lt.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},o}(h);if(m.WrappedComponent=t,m.displayName=u,g){var b=lt.forwardRef(function(e,t){return lt.createElement(m,{wrapperProps:e,forwardedRef:t})});return b.displayName=u,b.WrappedComponent=t,It(b,t)}return It(m,t)}}function w(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function E(e,t){if(w(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(var r=0;r=0;r–){var o=t[r](e);if(o)return o}return function(t,r){throw new Error(“Invalid value of type “+typeof e+” for “+n+” argument when connecting component “+r.wrappedComponentName+”.”)}}function U(e,t){return e===t}function q(e){return{type:qt.LOAD_QUIZ,quiz:e,quizId:e.id}}function z(e,t,n,r){var o,i=Ut({},r,{answerId:n});return{type:qt.UPDATE_ANSWERS,answer:(o={},o[t]=i,o),quizId:e}}function B(e,t){var n=Ut({},t);return{type:qt.RESTORE_ANSWERS,userAnswers:n,quizId:e}}function W(e){return{type:qt.HIDE_RESULT,quizId:e}}function F(e){return{type:qt.SHOW_RESULT_BUTTON,quizId:e}}function V(e,t){return Ht.pushEvent(“Feedback”,”Resultado”),Ht.pushEvent(“Feedback”,”Duracao Quiz”,parseInt(Date.now()-t/1e3)),{type:qt.SHOW_RESULT,quizId:e}}function K(e,t,n){return{type:qt.RESET_ANSWERS,quizId:e,quizVersionId:t,quizType:n}}function G(e){return{type:qt.UPDATE_START_QUIZ_AT,quizId:e,quizStartedAt:Date.now()}}function X(e,t){return{type:qt.FINISH,quizId:e,quizEndAt:Date.now(),resultId:t}}function Q(e,t){var n=function n(){window[e]?t():window.setTimeout(n,100)};window.setTimeout(n,100)}function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e7;return Math.floor(Math.random()*e+1)}function J(e){return e.props.context[e.props.quizId]}function Z(e){var t=e.quiz.metadata.questions.length,n=Object.keys(e.userAnswers).length;return 0!==t&&n===t}function $(e,t){if(t&&Wt[t.type]){var n,r=t.quizId;e=Bt({},e,{context:Bt({},e.context,(n={},n[r]=Bt({},e.context[r],Wt[t.type](e.context[r],t)),n))})}return e}function ee(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function te(e,t){var n=void 0,r=Jt[t.type],o=Zt[t.type];return r&&o&&(n={version:”1.0″,id:r,properties:Yt({quizId:t.quizId,quizVersionId:e.versionId},o(t))}),n}function ne(e,t){return new Promise(function(n,r){var o;return o=te(e,t),Promise.resolve(new Promise(function(e,t){function n(){return e(r)}var r;return(r=o)?Promise.resolve(Qt.post(o)).then(function(e){try{return r=e,n.call(this)}catch(e){return t(e)}}.bind(this),t):n.call(this)})).then(function(){try{return n()}catch(e){return r(e)}},r)})}function re(e){return function(t){return function(n){var r=e.getState(),o=r.context[n.quizId],i=t(n);return o&&Dt.includes(o.type)&&$t(o,i),i}}}function oe(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function ie(e){return dn+”-“+e}function ae(e){return pn+”-“+e}function ue(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function se(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function ce(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function le(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function fe(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function de(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function pe(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function he(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function ve(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function ye(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function me(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function ge(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function be(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function _e(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function we(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Ee(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Se(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Oe(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function ke(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Ce(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Te(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Ae(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Re(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Ie(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Pe(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function je(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function xe(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Ne(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Me(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function De(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Le(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function He(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Ue(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function qe(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function ze(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Be(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function We(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Fe(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Ve(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Ke(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Ge(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Xe(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Qe(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function Ye(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Je(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function Ze(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function $e(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function et(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function tt(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function nt(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var rt={};n.d(rt,”default”,function(){return zt}),n.d(rt,”loadQuiz”,function(){return q}),n.d(rt,”updateAnswers”,function(){return z}),n.d(rt,”restoreAnswers”,function(){return B}),n.d(rt,”hideResult”,function(){return W}),n.d(rt,”showResultButton”,function(){return F}),n.d(rt,”showResult”,function(){return V}),n.d(rt,”resetAnswers”,function(){return K}),n.d(rt,”startQuizAt”,function(){return G}),n.d(rt,”finishQuiz”,function(){return X});var ot={};n.d(ot,”horizonMiddlewareActionTracker”,function(){return re});var it=n(“KM04”),at=n(“ZShz”),ut=n(“LkZ7”),st=function(){return Math.random().toString(36).substring(7).split(“”).join(“.”)},ct={INIT:”@@redux/INIT”+st(),REPLACE:”@@redux/REPLACE”+st(),PROBE_UNKNOWN_ACTION:function(){return”@@redux/PROBE_UNKNOWN_ACTION”+st()}},lt={createContext:at.createContext,forwardRef:y,createElement:it.h},ft=lt.createContext(null),dt=function(e){function t(t){var n;n=e.call(this,t)||this;var r=t.store;return n.state={storeState:r.getState(),store:r},n}p(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.subscribe()},n.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},n.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},n.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe(function(){var n=t.getState();e._isMounted&&e.setState(function(e){return e.storeState===n?null:{storeState:n}})});var n=t.getState();n!==this.state.storeState&&this.setState({storeState:n})},n.render=function(){return lt.createElement((this.props.context||ft).Provider,{value:this.state},this.props.children)},t}(it.Component),pt=m(function(e,t){function n(e){if(“object”==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case c:return e;default:return t}}case y:case v:case i:return t}}}function r(e){return n(e)===d}Object.defineProperty(t,”__esModule”,{value:!0});var o=60103,i=60106,a=60107,u=60108,s=60114,c=60109,l=60110,f=60111,d=60111,p=60112,h=60113,v=60115,y=60116;t.typeOf=n,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return”string”==typeof e||”function”==typeof e||e===a||e===d||e===s||e===u||e===h||”object”==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p)},t.isAsyncMode=function(e){return r(e)||n(e)===f},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===l},t.isContextProvider=function(e){return n(e)===c},t.isElement=function(e){return”object”==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return n(e)===p},t.isFragment=function(e){return n(e)===a},t.isLazy=function(e){return n(e)===y},t.isMemo=function(e){return n(e)===v},t.isPortal=function(e){return n(e)===i},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===u},t.isSuspense=function(e){return n(e)===h}});!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,”default”)}(pt);var ht=m(function(e){e.exports=pt}),vt=ht.isContextConsumer,yt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},bt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_t={};_t[ht.ForwardRef]=gt;var wt,Et,St,Ot=Object.defineProperty,kt=Object.getOwnPropertyNames,Ct=Object.getOwnPropertySymbols,Tt=Object.getOwnPropertyDescriptor,At=Object.getPrototypeOf,Rt=Object.prototype,It=b,Pt=Object.prototype.hasOwnProperty,jt=[C,T,A],xt=[R,I],Nt=[x,N],Mt=function(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?_:n,o=t.mapStateToPropsFactories,i=void 0===o?xt:o,a=t.mapDispatchToPropsFactories,u=void 0===a?jt:a,s=t.mergePropsFactories,c=void 0===s?Nt:s,l=t.selectorFactory,f=void 0===l?L:l;return function(e,t,n,o){var a=void 0===o?{}:o,s=a.pure,l=void 0===s||s,p=a.areStatesEqual,v=void 0===p?U:p,y=a.areOwnPropsEqual,m=void 0===y?E:y,g=a.areStatePropsEqual,b=void 0===g?E:g,_=a.areMergedPropsEqual,w=void 0===_?E:_,S=h(a,[“pure”,”areStatesEqual”,”areOwnPropsEqual”,”areStatePropsEqual”,”areMergedPropsEqual”]),O=H(e,i,”mapStateToProps”),k=H(t,u,”mapDispatchToProps”),C=H(n,c,”mergeProps”);return r(f,d({methodName:”connect”,getDisplayName:function(e){return”Connect(“+e+”)”},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:k,initMergeProps:C,pure:l,areStatesEqual:v,areOwnPropsEqual:m,areStatePropsEqual:b,areMergedPropsEqual:w},S))}}(),Dt=[“personality”],Lt={HIDE_RESULT:0,SHOW_RESULT_BUTTON:1,SHOW_RESULT:2},Ht=(Et=wt=function(){function e(){}return e.getInstance=function(){return null==e.myInstance&&(e.myInstance=new e),this.myInstance},e.pushEvent=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:”bs_interatividade_votacao”,event_category:”quiz”,event_action:e,event_label:t,event_value:n})},e}(),wt.analytics=null,Et),Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qt={UPDATE_ANSWERS:"UPDATE_ANSWERS",RESTORE_ANSWERS:"RESTORE_ANSWERS",HIDE_RESULT:"HIDE_RESULT",SHOW_RESULT_BUTTON:"SHOW_RESULT_BUTTON",SHOW_RESULT:"SHOW_RESULT",RESET_ANSWERS:"RESET_ANSWERS",UPDATE_START_QUIZ_AT:"UPDATE_START_QUIZ_AT",LOAD_QUIZ:"LOAD_QUIZ",FINISH:"FINISH"},zt=qt,Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt=(St={},St[zt.UPDATE_ANSWERS]=function(e,t){var n=t.answer,r={userAnswers:Bt({},e.userAnswers,n)};return Bt({},r,{resultState:Z(Bt({},e,r))?Lt.SHOW_RESULT_BUTTON:Lt.HIDE_RESULT})},St[zt.RESTORE_ANSWERS]=function(e,t){return{userAnswers:t.userAnswers}},St[zt.UPDATE_START_QUIZ_AT]=function(e,t){return{quizStartedAt:t.quizStartedAt}},St[zt.HIDE_RESULT]=function(){return{resultState:Lt.HIDE_RESULT}},St[zt.SHOW_RESULT_BUTTON]=function(){return{resultState:Lt.SHOW_RESULT_BUTTON}},St[zt.SHOW_RESULT]=function(){return{resultState:Lt.SHOW_RESULT}},St[zt.RESET_ANSWERS]=function(e,t){return{id:t.quizId,versionId:t.quizVersionId,type:t.quizType,userAnswers:{},quizStartedAt:void 0,resultState:Lt.HIDE_RESULT}},St[zt.FINISH]=function(e,t){return{resultId:t.resultId}},St[zt.LOAD_QUIZ]=function(e,t){return{quiz:t.quiz}},St),Ft=n("Qjvb"),Vt=window.QuizCDAConfig||{};Vt.horizonUseQaConf&&Ft.Settings.useQAConfiguration();var Kt,Gt,Xt=function(){function e(){ee(this,e);try{this.client=new Ft.HorizonClient(Vt.tenantId,Vt.channel,Vt.contentType)}catch(e){console.warn("[QuizCDA] Horizon Client was not initialized.n",e)}}return e.prototype.post=function(e){return new Promise(function(t,n){function r(){return t()}return this.client?Promise.resolve(this.client.send(e)).then(function(){try{return r.call(this)}catch(e){return n(e)}}.bind(this),n):(console.warn("[QuizCDA] Horizon interaction "+e.id+" was not sent","because Horizon Client is not initialized"),r.call(this))}.bind(this))},e}(),Qt=new Xt,Yt=Object.assign||function(e){for(var t=1;t0&&void 0!==e[0])||e[0],console.debug(“Trying to get the state”),a=void 0,a=i?window.location.hash.replace(“#”,””):window.location.search.replace(“?”,””),u=new URLSearchParams(a),s=u.get(“state”),console.debug(“State ID is: “+s),s?(c=sessionStorage.getItem(s))?(console.debug(“State content was found”),l=JSON.parse(c),l.extraInfo?r.call(this):Promise.resolve(this.clearState(l.id)).then(function(){try{return r.call(this)}catch(e){return n(e)}}.bind(this),n)):(console.debug(“State content not found”),o.call(this)):(console.debug(“State not found”),o.call(this))}.bind(this))},e.prototype.getExtraInfo=function(e){return new Promise(function(t,n){var r;return Promise.resolve(this.getState(!1)).then(function(o){try{return(r=o)&&r.clientId==e?(this.clearState(r.id),this.removeStateFromUrl(),t(r.extraInfo)):(console.debug(“[RedirectManager] Extra info not found”),t())}catch(e){return n(e)}}.bind(this),n)}.bind(this))},e.prototype.removeStateFromUrl=function(){var e=new URLSearchParams(window.location.search);e.delete(“state”);var t=ln.isEmpty(e.toString())?””:”?”+e.toString(),n=window.location.protocol+”//”+window.location.host+window.location.pathname+window.location.hash+t;window.history.replaceState({},document.title,n)},e.prototype.redirect=function(){return new Promise(function(e,t){var n;return Promise.resolve(this.getState()).then(function(r){try{return n=r,this.redirectHelper(n),e()}catch(e){return t(e)}}.bind(this),t)}.bind(this))},e.prototype.redirectHelper=function(e){return new Promise(function(t,n){function r(){return t()}return e?Promise.resolve((new vn).exchange(window.location,e)).then(function(){try{return window.location=this.appendStateIfExists(e.redirectUri,e),r.call(this)}catch(e){return n(e)}}.bind(this),n):(console.error(“State not found”),window.location=”//”+window.location.hostname,r.call(this))}.bind(this))},e.prototype.appendStateIfExists=function(e,t){var n=new URL(e);return t.extraInfo?(n.searchParams.append(“state”,t.id),n.href):e},e.prototype.clearState=function(e){return new Promise(function(t){return console.debug(“Cleaning the state id: “+e),sessionStorage.removeItem(e),t()})},e}(),mn=yn,gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn=function(){function e(t){ce(this,e),this.settings=t,this.isInitialized=!1,this.keyCloakInstance=null}return e.prototype.setup=function(){return new Promise(function(e){return e(this.initialize())}.bind(this))},e.prototype.initialize=function(){return new Promise(function(e,t){function n(){return e()}var r,o;if(this.isInitialized)return console.debug("SessionManager already initialized. Doing nothing"),n.call(this);this.keyCloakInstance=cn()(this.settings);var i=(function(){try{return n.call(this)}catch(e){return t(e)}}.bind(this),function(e){try{throw o="Error initializing keycloak instance. settings:n "+JSON.stringify(this.settings),console.error(o),e}catch(e){return t(e)}}.bind(this));try{return console.debug("Trying to init keycloak isntance with these settings:n "+JSON.stringify(this.settings)),Promise.resolve(this.keyCloakInstance.init(this.settings)).then(function(t){try{return r=t,this.isInitialized=!0,e(r)}catch(e){return i(e)}}.bind(this),i)}catch(e){i(e)}}.bind(this))},e.prototype.login=function(){return new Promise(function(e,t){return Promise.resolve(this.initialize()).then(function(){try{return Promise.resolve(this.keyCloakInstance.login(this.settings.redirectUri)).then(function(){try{return e()}catch(e){return t(e)}},t)}catch(e){return t(e)}}.bind(this),t)}.bind(this))},e.prototype.loginCustomSettings=function(e){return new Promise(function(t,n){var r,o,i;return e?Promise.resolve(this.initialize()).then(function(){try{return r=this.createLoginUrlCustomSettings(e),o=r.loginURL,i=r.stateId,Promise.resolve(this.storeStateIfNeeded(e,i)).then(function(){try{return window.location=o,t()}catch(e){return n(e)}},n)}catch(e){return n(e)}}.bind(this),n):n(new Error("The required custom settings was not passed correctly"))}.bind(this))},e.prototype.storeStateIfNeeded=function(e,t){return new Promise(function(n){return e.storeState?(console.debug("Building application state"),n((new mn).storeState(gn({},this.settings,e,{customNonce:t,tokenServerUrl:this.keyCloakInstance.endpoints.token()})))):n()}.bind(this))},e.prototype.createLoginUrlCustomSettings=function(e){var t=this.keyCloakInstance.createLoginUrl(this.settings.redirectUri),n=new URLSearchParams(t),r=e.funnelMetrics;return r&&Object.keys(r).forEach(function(e){n.append(e,encodeURIComponent(r[e]))}),{loginURL:decodeURIComponent(n.toString()),stateId:n.get("state")}},e.prototype.logout=function(){return new Promise(function(e){var t=window.location.hostname.includes(".globoi.");return window.location=t?"https://login.qa.globoi.com/logout?url="+window.location.href:"https://login.globo.com/logout?url="+window.location.href,e()})},e.prototype.loadMemoryInfo=function(){var e=this.keyCloakInstance;return{id_token:e.idToken,refresh_token:e.refreshToken,access_token:e.token}},e.prototype.getCodeVerifier=function(){this.keyCloakInstance.getCodeVerifier()},e.prototype.getCookies=function(){return document.cookie},e.prototype.hasNecessaryCookies=function(e){return this.getCookies().split(" ").filter(function(t){return e.includes(t.split("=")[0])}).length===e.length},e}(),_n=bn,wn=n("2BZT"),En=n.n(wn),Sn=function(e){function t(n){le(this,t),console.debug("Setting up CookieSessionManager");var r=fe(this,e.call(this,n));return r.GLOBOID_COOKIE_LIST=["GLBID","GLOBO_ID"],r}return de(t,e),t.prototype.log=function(e){console.debug("[cookie-session-manager] "+e)},t.prototype.setup=function(){return new Promise(function(t,n){return Promise.resolve(e.prototype.setup.call(this)).then(function(){try{return this.cleanUpUrl(),t()}catch(e){return n(e)}}.bind(this),n)}.bind(this))},t.prototype.cleanUpUrl=function(){console.debug("Cleaning up url");var e=window.location.href.split("#");if(0!==e.length){var t=e[1];t&&(t=t.split("&").filter(function(e){return!e.startsWith("session_state")&&!e.startsWith("code")}),e[1]=t.join("&"),history.pushState({page:1},window.title,e.join("?")))}},t.prototype.isLogged=function(){return this.hasNecessaryCookies(this.GLOBOID_COOKIE_LIST)},t.prototype.loadUserInfo=function(){var e=function(){return new Error("Could not find GLOBO_ID cookie in this session")},t=this.getCookies();if(!t)throw e();if(!this.isLogged())throw new Error("Cannot get user info. Not logged");var n=t.split(" ").filter(function(e){return e.startsWith("GLOBO_ID")});if(1!==n.length)throw e();return n=n[0].split("=")[1],En()(n)},t.prototype.getTokens=function(){throw new Error("[CookieSessionManager] getTokens is not supported")},t}(_n),On=Sn,kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cn=function(e){function t(n){return pe(this,t),console.debug("Setting up TokenSessionManager"),he(this,e.call(this,n))}return ve(t,e),t.prototype.setup=function(){return new Promise(function(t,n){var r,o;return Promise.resolve(e.prototype.setup.call(this)).then(function(e){try{return r=e,o=this.loadUserSession(),this.settings=kn({},o,this.settings),t(r)}catch(e){return n(e)}}.bind(this),n)}.bind(this))},t.prototype.initialize=function(){return new Promise(function(t,n){var r;return console.debug("TokenSessionManager initializing"),Promise.resolve(e.prototype.initialize.call(this)).then(function(e){try{return r=e,Promise.resolve(this.isLogged()).then(function(e){try{return e?(console.debug("TokenSessionManager saving user session"),this.saveUserSession()):console.debug("TokenSessionManager Not logged"),t(r)}catch(e){return n(e)}}.bind(this),n)}catch(e){return n(e)}}.bind(this),n)}.bind(this))},t.prototype.isLogged=function(){return(this.isKcLogged()||this.isTokenLogged())&&this.hasReguiredCookies()},t.prototype.hasReguiredCookies=function(){return!this.settings.considerGloboidCookie||(console.debug("TokenSessionManager hybrid auth detected, verifying cookies"),this.hasNecessaryCookies(["GLOBO_ID"]))},t.prototype.isTokenLogged=function(){console.debug("Trying to auth using the stored tokens");var e=this.loadUserInfo();return!!e&&(new Date).getTime()/1e31?”are”:”is”)+” “+o.length+” element(s) inside the queue”),o.forEach(function(e){return new Promise(function(t,r){return Promise.resolve(e(n)).then(t,r)})})):un.debug(“Queue is empty. Monkey patching the default push method”),o.push=function(e){e(n)},e[t]=o,r()})},An=function(){function e(){ye(this,e),this.initGloboId()}return e.prototype.initGloboId=function(){return new Promise(function(e,t){return this.globoId=new xn,this.stageQueueMap={},Promise.resolve(Tn(this.stageQueueMap,”domainSetupStageQueue”,this.globoId)).then(function(){try{return e()}catch(e){return t(e)}},t)}.bind(this))},e.prototype.setup=function(e){return new Promise(function(t,n){var r;return this.settings=e,Promise.resolve(this.globoId.setup(this.settings)).then(function(e){try{return r=e,Promise.resolve(Tn(this.stageQueueMap,”applicationUsageStageQueue”,this.globoId)).then(function(){try{return t(r)}catch(e){return n(e)}},n)}catch(e){return n(e)}}.bind(this),n)}.bind(this))},e}(),Rn=function(){function e(){ye(this,e),this.globoIdMap={}}return e.prototype.initNewGloboIdClient=function(e){return new Promise(function(t,n){var r;return r=e.clientId,this.globoIdMap[r]=new An,Promise.resolve(this.globoIdMap[r].setup(e)).then(t,n)}.bind(this))},e.prototype.getGloboIdClient=function(e){return this.globoIdMap[e]},e}(),In=Rn,Pn=Object.assign||function(e){for(var t=1;t0&&void 0!==e[0]&&e[0]),un.debug(“Running initQueue”),window.glb=window.glb||{},window.glb.globoIdClientMap=window.glb.globoIdClientMap||new In,t()})}();var Nn,Mn,Dn,Ln,Hn,Un,qn,zn,Bn,Wn,Fn,Vn,Kn,Gn,Xn=Object.assign||function(e){for(var t=1;tt.counter?-1:e.counter===t.counter&&e.positionIndex<t.positionIndex?-1:1});var t=e[0];return{id:t.id,text:t.text,description:t.description,media:t.media,share:t.share}},e.prototype.getResultText=function(){return"Você tirou"},e}(),Or=function(){function e(t,n){Re(this,e),this.questions=t,this.results=n,this.correctAnswers=0}return e.prototype.countCorrectAnswers=function(e){return Object.values(e).reduce(function(e,t){return t.correct?t.correct+e:e},0)},e.prototype.getResultFromGrade=function(e){return this.results.find(function(t){return t.gradeRange[0]=e})},e.prototype.calculate=function(e){return this.correctAnswers=this.countCorrectAnswers(e),this.getResultFromGrade(this.correctAnswers)},e.prototype.getResultText=function(){return”Você acertou “+this.correctAnswers+” de “+this.questions.length},e}(),kr=(Nn={},Nn.personality=Sr,Nn.trivia=Or,Nn),Cr=function(e,t,n){return new(0,kr[e])(t,n)},Tr=(Mn=Mt(nr,rt))(Dn=function(e){function t(n){Ie(this,t);var r=Pe(this,e.call(this,n));return r.state={height:0},r.context=J(r),r.calculator=Cr(r.context.quiz.type,r.context.quiz.metadata.questions,r.context.quiz.metadata.results),r.componentName=”quizResult_”+r.props.quizId,r}return je(t,e),t.prototype.scrollToResult=function(){ir.scroller.scrollTo(this.componentName,{duration:1500,delay:500,smooth:!0,offset:-100})},t.prototype.showResult=function(){var e=J(this);this.props.showResult(e.id,e.quizStartedAt)},t.prototype.authorizeAndShow=function(){return new Promise(function(e,t){var n,r,o,i,a,u,s;if(n=J(this),r=n.id,o=n.userAnswers,i=n.quizStartedAt,a=this.calculator.calculate(o),this.props.finishQuiz(this.props.quizId,a.id),Ht.pushEvent(“Clique”,”Resultado”),!this.props.isLogged)return this.showResult(),e();u=er();var c=function(){try{return this.showResult(),e()}catch(e){return t(e)}}.bind(this),l=function(e){try{return console.error(e),c()}catch(e){return t(e)}};try{return Promise.resolve(u.isLogged()).then(function(t){try{return s=t,s?c():(u.signin({id:r,userAnswers:o,quizStartedAt:i}),e())}catch(e){return l(e)}},l)}catch(e){l(e)}}.bind(this))},t.prototype.componentDidUpdate=function(){return new Promise(function(e){var t=this;return J(this).resultState===Lt.SHOW_RESULT&&0===this.state.height?(this.setState({height:”auto”}),window.setTimeout(function(){return t.scrollToResult()},100)):J(this).resultState===Lt.SHOW_RESULT_BUTTON&&0!==this.state.height&&this.setState({height:0}),e()}.bind(this))},t.prototype.renderResult=function(){var e=J(this),t=e.userAnswers,n=this.calculator.calculate(t),r=Er()(n.description);return Object(it.h)(lr.a,{duration:1e3,height:this.state.height,name:this.componentName,className:_r.a.quizResultContainer},Object(it.h)(pr,{media:n.media,className:_r.a.resultMediaBox,sizes:[1008,1262,1344,1600]}),Object(it.h)(“div”,{className:_r.a.resultBox},Object(it.h)(“span”,{className:_r.a.resultTextInfo+” theme-color-primary”},this.calculator.getResultText()),Object(it.h)(“h2”,{className:_r.a.resultTitle},n.text),Object(it.h)(“span”,{className:_r.a.resultDescription},r),Object(it.h)(gr,{title:n.text,shareText:n.share&&n.share.text}),Object(it.h)(“div”,{className:_r.a.quizResetResultLink+” theme-color-primary”,onClick:this.props.resetQuiz},”Refazer o quiz”)))},t.prototype.renderResultButton=function(){var e=this;return Object(it.h)(“div”,{name:this.componentName,className:_r.a.quizResultContainer+” “+_r.a.quizResultHidden},Object(it.h)(“div”,{className:_r.a.quizShowResultLink+” “+_r.a.quizShowResultLinkConversion+” theme-bg-color-primary”,onClick:function(){return e.authorizeAndShow()}},”Veja o resultado!”))},t.prototype.render=function(){switch(J(this).resultState){case Lt.SHOW_RESULT:return this.renderResult();case Lt.SHOW_RESULT_BUTTON:return this.renderResultButton();case Lt.HIDE_RESULT:default:return null}},t}(it.Component))||Dn,Ar=n(“cSIb”),Rr=n.n(Ar),Ir=[600,640,984,1e3],Pr=[300,320,492,500],jr=n(“vmqR”),xr=n.n(jr),Nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mr=(Ln=Mt(nr,rt))(Hn=function(e){function t(n){xe(this,t);var r=Ne(this,e.call(this,n));return r.answerClasses=function(){var e=J(r),t=[xr.a.answer];r.props.answer.media&&r.props.answer.media.data&&(t.push(xr.a.withMedia),r.props.answer.text&&t.push(xr.a.withText));var n=r.isQuestionAnswered();return n&&(e.userAnswers[r.props.questionId].answerId==r.props.answer.id?(t.push(r.props.answer.correct?xr.a.correct:xr.a.incorrect),t.push(xr.a.hit)):t.push(r.props.answer.correct?xr.a.correct:xr.a.disabled)),n||t.push(xr.a.answerActive),t.join(" ")},r.reply=function(){var e=r.props.answer.id,t=r.props.questionId,n=r.props.answer.media,o=J(r);r.isQuestionAnswered()||(Ht.pushEvent("Clique","Pergunta "+r.props.questionPosition+" | Item "+r.props.answerPosition+"} | "+(n?"com foto":"sem foto")+" | "+(r.props.answer.correct?"Acertou":"Errou")+"}"),0!=o.userAnswers&&0!=Object.keys(o.userAnswers).length||r.props.startQuizAt(r.props.quizId),r.props.updateAnswers(r.props.quizId,t,e,{correct:r.props.answer.correct,position:r.props.questionPosition}))},r}return Me(t,e),t.prototype.isQuestionAnswered=function(){var e=J(this);return e.userAnswers&&this.props.questionId in e.userAnswers},t.prototype.shouldComponentUpdate=function(e){return J(this).userAnswers[this.props.questionId]!==J(Nr({},this,{props:e})).userAnswers[this.props.questionId]},t.prototype.render=function(e){var t=e.answer;return Object(it.h)("li",{key:t.id,onClick:this.reply.bind(this),className:this.answerClasses()},t.media&&Object(it.h)(pr,{media:t.media,className:xr.a.answerMediaBox,sizes:Pr}),t.text)},t}(it.Component))||Hn,Dr=n("OdmS"),Lr=n.n(Dr),Hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ur=(Un=Mt(nr,rt))(qn=function(e){function t(n){De(this,t);var r=Le(this,e.call(this,n));return r.answerClasses=function(){var e=J(r),t=[xr.a.answer];if(r.props.answer.media&&r.props.answer.media.data&&(t.push(xr.a.withMedia),r.props.answer.text&&t.push(xr.a.withText)),e.userAnswers&&r.props.questionId in e.userAnswers){var n=e.userAnswers[r.props.questionId];n&&n.answerId==r.props.answer.id?(t.push(xr.a.hit),t.push(xr.a.selected)):t.push(xr.a.disabled)}return Z(e)||t.push(xr.a.answerActive),t.join(" ")},r.reply=function(){var e=J(r),t=r.props,n=t.quizId,o=t.questionId,i=t.questionPosition,a=t.answerPosition,u=r.props.answer,s=u.result,c=u.media;Z(e)||(Ht.pushEvent("Clique","Pergunta "+i+" | Item "+a+"} | "+(c?"com foto":"sem foto")),0!=e.userAnswers&&0!==Object.keys(e.userAnswers).length||r.props.startQuizAt(n),r.props.updateAnswers(n,o,r.props.answer.id,{position:i,result:s}))},r}return He(t,e),t.prototype.shouldComponentUpdate=function(e){var t=J(this),n=J(Hr({},this,{props:e}));return t.userAnswers[this.props.questionId]!==n.userAnswers[this.props.questionId]||Z(t)!==Z(n)},t.prototype.render=function(e){var t=e.answer;return Object(it.h)("li",{key:t.id,onClick:this.reply.bind(this),className:this.answerClasses()},t.media&&Object(it.h)(pr,{media:t.media,className:xr.a.answerMediaBox,sizes:Pr}),t.text)},t}(it.Component))||qn,qr=function(e){return function(t){function n(){return Ue(this,n),qe(this,t.apply(this,arguments))}return ze(n,t),n.prototype.shouldComponentUpdate=function(){return!1},n.prototype.render=function(t){var n=this,r=t.answers,o=t.questionId,i=t.questionPosition;return Object(it.h)("ul",{className:Lr.a.answerBox},r.map(function(t,r){return Object(it.h)(e,{quizId:n.props.quizId,questionId:o,questionPosition:i,answerPosition:r+1,answer:t})}))},n}(it.Component)},zr=qr(Mr),Br=qr(Ur),Wr=zr,Fr=n("vd0I"),Vr=n.n(Fr),Kr=n("O1mc"),Gr=n.n(Kr),Xr={NOTANSWERED:0,CORRECT:1,INCORRECT:-1},Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr=(zn=Mt(nr,rt))(Bn=function(e){function t(n){Be(this,t);var r=We(this,e.call(this,n));return r.resultBadge=function(){switch(r.getQuestionStatus()){case Xr.CORRECT:return Object(it.h)("h3",null,"Correto! ",Object(it.h)("span",{className:Gr.a.badge+" "+Gr.a.correctBadge}));case Xr.INCORRECT:return Object(it.h)("h3",null,"Incorreto! ",Object(it.h)("span",{className:Gr.a.badge+" "+Gr.a.incorrectBadge}))}return null},r.getAnimationDelay=function(){return r.getQuestionStatus()===Xr.CORRECT?180:1200},r.getAnimationDuration=function(){return r.props.explanation.media?1e3:500},r.resultBadge=r.resultBadge.bind(r),r.state={height:0},r}return Fe(t,e),t.prototype.getQuestionStatus=function(){var e=J(this).userAnswers;return this.props.questionId in e==!1?Xr.NOTANSWERED:e[this.props.questionId].correct?Xr.CORRECT:Xr.INCORRECT},t.prototype.componentDidUpdate=function(){this.shouldAppearExplanation()&&0==this.state.height?this.setState({height:"auto"}):this.getQuestionStatus()===Xr.NOTANSWERED&&0!=this.state.height&&this.setState({height:0})},t.prototype.loadMedia=function(){return this.props.explanation.media?Object(it.h)(pr,{media:this.props.explanation.media,className:Gr.a.questionExplanationMedia,sizes:[600,640,984,1e3]}):null},t.prototype.shouldAppearExplanation=function(){return[Xr.CORRECT,Xr.INCORRECT].includes(this.getQuestionStatus())},t.prototype.shouldComponentUpdate=function(e,t){return J(this).userAnswers[this.props.questionId]!==J(Qr({},this,{props:e})).userAnswers[this.props.questionId]||this.state.height!==t.height},t.prototype.render=function(e){var t=e.explanation,n=Er()(t.text);return Object(it.h)(lr.a,{delay:this.getAnimationDelay(),duration:this.getAnimationDuration(),height:this.state.height,className:Gr.a.questionFooter},Object(it.h)("div",{className:Gr.a.questionExplanation},this.loadMedia(),this.shouldAppearExplanation()&&Object(it.h)("div",{className:Gr.a.questionExplanationResult},this.resultBadge(),n)))},t}(it.Component))||Bn,Jr=function(e,t){return function(n){function r(e){Ve(this,r);var t=Ke(this,n.call(this,e));return t.state={questionRef:"question__"+Y()},t}return Ge(r,n),r.prototype.loadExplanation=function(){return this.props.question.explanation?Object(it.h)(t,{quizId:this.props.quizId,questionId:this.props.question.id,explanation:this.props.question.explanation}):null},r.prototype.loadMedia=function(){return this.props.question.media?Object(it.h)(pr,{media:this.props.question.media,className:Vr.a.questionMediaBox,sizes:Ir}):null},r.prototype.shouldComponentUpdate=function(){return!1},r.prototype.componentDidMount=function(){var e=this.props.position;window.ScrollSpy.add({el:document.getElementById(""+this.state.questionRef),offset:0,reference:"bottom",callback:function(){Ht.pushEvent("View","Pergunta "+e)}})},r.prototype.render=function(n){var r=n.question,o=n.position;return Object(it.h)("li",{className:Vr.a.questionBox,id:this.state.questionRef},Object(it.h)("h2",{className:Vr.a.questionTitle},r.text),this.loadMedia(),Object(it.h)(e,{quizId:this.props.quizId,questionId:r.id,questionPosition:o,answers:r.answers}),t&&this.loadExplanation())},r}(it.Component)},Zr=Jr(Wr,Yr),$r=Zr,eo=Jr(Br,null),to=(Wn={},Wn.personality=eo,Wn.trivia=$r,Wn),no=Object(it.h)(sr,null),ro=Object(it.h)("div",{className:"loader",key:-1},"Carregando…"),oo=(Fn=Mt(nr,rt))(Vn=function(e){function t(n){Xe(this,t);var r=Qe(this,e.call(this,n));return r.state={questions:[],questionsLength:0,showAds:0,countQuestion:0},r}return Ye(t,e),t.prototype.resetQuiz=function(){this.props.resetAnswers(this.props.quiz.id,this.props.quiz.versionId,this.props.quiz.type)},t.prototype.showAds=function(e){return e%3==0&&e!=this.props.quiz.metadata.questions.length-1},t.prototype.loadNextQuestion=function(e){var t=this;this.setState(function(n,r){if(!r.quiz.metadata.questions[e])return n;var o=n.countQuestion,i=t.getQuestionBoxKlass(),a=[].concat(n.questions,[Object(it.h)(i,{quizId:t.props.quiz.id,question:r.quiz.metadata.questions[e],position:n.countQuestion+1})]);return t.showAds(o)&&a.push(no),o=n.countQuestion+1,{questions:a,questionsLength:n.questionsLength+1,countQuestion:o}})},t.prototype.getQuestionBoxKlass=function(){return to[this.props.quiz.type]},t.prototype.getViewPortHeight=function(){return 2*screen.height},t.prototype.handleResetQuiz=function(){Ht.pushEvent("Feedback","Clique Refazer"),setTimeout(this.resetQuiz.bind(this),2e3),ir.scroller.scrollTo("scrollQuizTop_"+this.props.quiz.id,{duration:1500,delay:0,smooth:!0,offset:-100,ignoreCancelEvents:!0})},t.prototype.render=function(e,t){var n=this,r=e.quiz,o=r.id,i=r.isLogged,a=r.metadata.questions;return Object(it.h)("div",{className:Rr.a.quizContainer,name:"scrollQuizTop_"+o},Object(it.h)("div",{className:Rr.a.quizQuestions,ref:function(e){return n.quizQuestionsRef=e}},Object(it.h)(or.a,{element:"ol",children:[],className:Rr.a.questionList+" theme-ordered-list-color-primary",pageStart:-1,hasMore:this.state.questionsLength<a.length,loadMore:this.loadNextQuestion.bind(this),threshold:this.getViewPortHeight(),loader:ro},t.questions)),Object(it.h)(Tr,{quizId:o,isLogged:i,resetQuiz:this.handleResetQuiz.bind(this)}))},t}(it.Component))||Vn,io=(Kn=Mt(nr,rt))(Gn=function(e){function t(){return Je(this,t),Ze(this,e.apply(this,arguments))}return $e(t,e),t.prototype.componentDidMount=function(){return new Promise(function(e,t){function n(){return e()}return this.props.loadQuiz(this.props.preloadedQuiz),this.props.resetAnswers(this.props.preloadedQuiz.id,this.props.preloadedQuiz.versionId,this.props.preloadedQuiz.type),this.props.preloadedQuiz.isLogged?(Zn(this.props.preloadedQuiz.clientId),Promise.resolve(this.restoreState()).then(function(){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t)):n.call(this)}.bind(this))},t.prototype.restoreState=function(){return new Promise(function(e,t){var n,r,o,i,a;return n=er(),Promise.resolve(n.getStateData()).then(function(n){try{return(r=n)?(o=r.id,i=r.userAnswers,a=r.quizStartedAt,o===this.props.preloadedQuiz.id&&(this.props.restoreAnswers(o,i),this.props.showResult(o,a)),e()):e()}catch(e){return t(e)}}.bind(this),t)}.bind(this))},t.prototype.render=function(){var e=J(this);return e?Object(it.h)("div",null,Object(it.h)(oo,{quizId:this.props.quizId,quiz:e.quiz})):null},t}(it.Component))||Gn,ao=Object.assign||function(e){for(var t=1;t0){var e=fo({selector:n,inline:r,clientSpecified:i});return po(t,e,null,o,a)}};s(),document.addEventListener(“DOMContentLoaded”,s),document.addEventListener(“load”,s)}}},vo=ho;!function(){var e=window.QuizCDAConfig&&window.QuizCDAConfig.sentryDsn;e&&Q(“Sentry”,function(){return window.Sentry.init({dsn:e})})}();var yo=function(e){function t(){return et(this,t),tt(this,e.apply(this,arguments))}return nt(t,e),t.prototype.render=function(){return Object(it.h)(“div”,{id:”quiz”},Object(it.h)(dt,{store:nn},Object(it.h)(io,{preloadedQuiz:this.props.preloadedQuiz,quizId:this.props.preloadedQuiz.id})))},t}(it.Component);location.pathname.startsWith(“/sandbox/desktop/multi-content/g1/fixture”)&&!window.runFromLocalhost?function(){window.runFromLocalhost=!0;var e=document.createElement(“script”);e.src=”http://localhost:8181/bundle.js”,document.body.appendChild(e)}():function(){(0,vo(yo).render)({selector:”.app-quiz-container”,clean:!0})}()},K2GL:function(module,exports,__webpack_require__){(function(global){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){“use strict”;function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var r,o=typeof e;if(“string”===o){var i,a=[],u=e.length,s=0;for(r=0;r<u;++r)i=e.charCodeAt(r),i<128?a[s++]=i:i>6,a[s++]=128|63&i):i=57344?(a[s++]=224|i>>12,a[s++]=128|i>>6&63,a[s++]=128|63&i):(i=65536+((1023&i)<>18,a[s++]=128|i>>12&63,a[s++]=128|i>>6&63,a[s++]=128|63&i);e=a}else{if(“object”!==o)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var c=[],l=[];for(r=0;r<64;++r){var f=e[r]||0;c[r]=92^f,l[r]=54^f}Sha256.call(this,t,n),this.update(l),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("yNJ0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createOutputMethod(r,e)}return t},nodeWrap=function nodeWrap(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"==typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");if(null===e||void 0===e)throw new Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod},createHmacOutputMethod=function(e,t){return function(n,r){return new HmacSha256(n,t,!0).update(r)[e]()}},createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createHmacOutputMethod(r,e)}return t};Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var r,o,i=0,a=e.length,u=this.blocks;i<a;){if(this.hashed&&(this.hashed=!1,u[0]=this.block,u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0),t)for(o=this.start;i<a&&o>2]|=e[i]<<SHIFT[3&o++];else for(o=this.start;i<a&&o<64;++i)r=e.charCodeAt(i),r>2]|=r<<SHIFT[3&o++]:r>2]|=(192|r>>6)<>2]|=(128|63&r)<<SHIFT[3&o++]):r=57344?(u[o>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<<SHIFT[3&o++]):(r=65536+((1023&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=64?(this.block=u[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,r,o,i,a,u,s,c,l,f=this.h0,d=this.h1,p=this.h2,h=this.h3,v=this.h4,y=this.h5,m=this.h6,g=this.h7,b=this.blocks;for(e=16;e>>7|o<>>18|o<>>3,o=b[e-2],n=(o>>>17|o<>>19|o<>>10,b[e]=b[e-16]+t+b[e-7]+n<<0;for(l=d&p,e=0;e<64;e+=4)this.first?(this.is224?(u=300032,o=b[0]-1413257819,g=o-150054599<<0,h=o+24177077<<0):(u=704751109,o=b[0]-210244248,g=o-1521486534<<0,h=o+143694565<>>2|f<>>13|f<>>22|f<>>6|v<>>11|v<>>25|v<<7),u=f&d,r=u^f&p^l,a=v&y^~v&m,o=g+n+a+K[e]+b[e],i=t+r,g=h+o<<0,h=o+i<>>2|h<>>13|h<>>22|h<>>6|g<>>11|g<>>25|g<<7),s=h&f,r=s^h&d^u,a=g&v^~g&y,o=m+n+a+K[e+1]+b[e+1],i=t+r,m=p+o<<0,p=o+i<>>2|p<>>13|p<>>22|p<>>6|m<>>11|m<>>25|m<<7),c=p&h,r=c^p&f^s,a=m&g^~m&v,o=y+n+a+K[e+2]+b[e+2],i=t+r,y=d+o<<0,d=o+i<>>2|d<>>13|d<>>22|d<>>6|y<>>11|y<>>25|y<<7),l=d&p,r=l^d&h^c,a=y&m^~y&g,o=v+n+a+K[e+3]+b[e+3],i=t+r,v=f+o<<0,f=o+i<<0;this.h0=this.h0+f<<0,this.h1=this.h1+d<<0,this.h2=this.h2+p<<0,this.h3=this.h3+h<<0,this.h4=this.h4+v<<0,this.h5=this.h5+y<<0,this.h6=this.h6+m<<0,this.h7=this.h7+g<>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a];return this.is224||(s+=HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]),s},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,a=this.h6,u=this.h7,s=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o,i>>24&255,i>>16&255,i>>8&255,255&i,a>>24&255,a>>16&255,a>>8&255,255&a];return this.is224||s.push(u>>24&255,u>>16&255,u>>8&255,255&u),s},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}()}).call(exports,__webpack_require__(“h6ac”))},KLEl:function(e){e.exports={quizResultContainer:”quizResultContainer__1yCjp”,quizResultHidden:”quizResultHidden__27AA1″,quizShowResultLink:”quizShowResultLink__10eVf”,quizResetResultLink:”quizResetResultLink__2kWkt”,quizShowResultLinkConversion:”quizShowResultLinkConversion__921Ef”,resultBox:”resultBox__35Yfl”,resultTitle:”resultTitle__1l5J1″,resultMediaBox:”resultMediaBox__nbKB-“}},KM04:function(e){!function(){“use strict”;function t(e,t){var n,r,o,i,a=x;for(i=arguments.length;i– >2;)j.push(arguments[i]);for(t&&null!=t.children&&(j.length||j.push(t.children),delete t.children);j.length;)if((r=j.pop())&&void 0!==r.pop)for(i=r.length;i–;)j.push(r[i]);else”boolean”==typeof r&&(r=null),(o=”function”!=typeof e)&&(null==r?r=””:”number”==typeof r?r+=””:”string”!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===x?a=[r]:a.push(r),n=o;var u=new I;return u.nodeName=e,u.children=a,u.attributes=null==t?void 0:t,u.key=null==t?void 0:t.key,void 0!==P.vnode&&P.vnode(u),u}function n(e,t){for(var n in t)e[n]=t[n];return e}function r(e,t){e&&(“function”==typeof e?e(t):e.current=t)}function o(e,r){return t(e.nodeName,n(n({},e.attributes),r),arguments.length>2?[].slice.call(arguments,2):e.children)}function i(e){!e.__d&&(e.__d=!0)&&1==D.push(e)&&(P.debounceRendering||N)(a)}function a(){for(var e;e=D.pop();)e.__d&&O(e)}function u(e,t,n){return”string”==typeof t||”number”==typeof t?void 0!==e.splitText:”string”==typeof t.nodeName?!e._componentConstructor&&s(e,t.nodeName):n||e._componentConstructor===t.nodeName}function s(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function c(e){var t=n({},e.attributes);t.children=e.children;var r=e.nodeName.defaultProps;if(void 0!==r)for(var o in r)void 0===t[o]&&(t[o]=r[o]);return t}function l(e,t){var n=t?document.createElementNS(“http://www.w3.org/2000/svg”,e):document.createElement(e);return n.__n=e,n}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(e,t,n,o,i){if(“className”===t&&(t=”class”),”key”===t);else if(“ref”===t)r(n,null),r(o,e);else if(“class”!==t||i)if(“style”===t){if(o&&”string”!=typeof o&&”string”!=typeof n||(e.style.cssText=o||””),o&&”object”==typeof o){if(“string”!=typeof n)for(var a in n)a in o||(e.style[a]=””);for(var a in o)e.style[a]=”number”==typeof o[a]&&!1===M.test(a)?o[a]+”px”:o[a]}}else if(“dangerouslySetInnerHTML”===t)o&&(e.innerHTML=o.__html||””);else if(“o”==t[0]&&”n”==t[1]){var u=t!==(t=t.replace(/Capture$/,””));t=t.toLowerCase().substring(2),o?n||e.addEventListener(t,p,u):e.removeEventListener(t,p,u),(e.__l||(e.__l={}))[t]=o}else if(“list”!==t&&”type”!==t&&!i&&t in e){try{e[t]=null==o?””:o}catch(e){}null!=o&&!1!==o||”spellcheck”==t||e.removeAttribute(t)}else{var s=i&&t!==(t=t.replace(/^xlink:?/,””));null==o||!1===o?s?e.removeAttributeNS(“http://www.w3.org/1999/xlink”,t.toLowerCase()):e.removeAttribute(t):”function”!=typeof o&&(s?e.setAttributeNS(“http://www.w3.org/1999/xlink”,t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||””}function p(e){return this.__l[e.type](P.event&&P.event(e)||e)}function h(){for(var e;e=L.shift();)P.afterMount&&P.afterMount(e),e.componentDidMount&&e.componentDidMount()}function v(e,t,n,r,o,i){H++||(U=null!=o&&void 0!==o.ownerSVGElement,q=null!=e&&!(“__preactattr_”in e));var a=y(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),–H||(q=!1,i||h()),a}function y(e,t,n,r,o){var i=e,a=U;if(null!=t&&”boolean”!=typeof t||(t=””),”string”==typeof t||”number”==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),g(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(“function”==typeof u)return k(e,t,n,r);if(U=”svg”===u||”foreignObject”!==u&&U,u+=””,(!e||!s(e,u))&&(i=l(u,U),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),g(e,!0)}var c=i.firstChild,f=i.__preactattr_,d=t.children;if(null==f){f=i.__preactattr_={};for(var p=i.attributes,h=p.length;h–;)f[p[h].name]=p[h].value}return!q&&d&&1===d.length&&”string”==typeof d[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=d[0]&&(c.nodeValue=d[0]):(d&&d.length||null!=c)&&m(i,d,n,r,q||null!=f.dangerouslySetInnerHTML),_(i,t.attributes,f),U=a,i}function m(e,t,n,r,o){var i,a,s,c,l,d=e.childNodes,p=[],h={},v=0,m=0,b=d.length,_=0,w=t?t.length:0;if(0!==b)for(var E=0;E<b;E++){var S=d[E],O=S.__preactattr_,k=w&&O?S._component?S._component.__k:O.key:null;null!=k?(v++,h[k]=S):(O||(void 0!==S.splitText?!o||S.nodeValue.trim():o))&&(p[_++]=S)}if(0!==w)for(var E=0;E<w;E++){c=t[E],l=null;var k=c.key;if(null!=k)v&&void 0!==h[k]&&(l=h[k],h[k]=void 0,v–);else if(m<_)for(i=m;i<_;i++)if(void 0!==p[i]&&u(a=p[i],c,o)){l=a,p[i]=void 0,i===_-1&&_–,i===m&&m++;break}l=y(l,c,n,r),s=d[E],l&&l!==e&&l!==s&&(null==s?e.appendChild(l):l===s.nextSibling?f(s):e.insertBefore(l,s))}if(v)for(var E in h)void 0!==h[E]&&g(h[E],!1);for(;m<=_;)void 0!==(l=p[_–])&&g(l,!1)}function g(e,t){var n=e._component;n?C(n):(null!=e.__preactattr_&&r(e.__preactattr_.ref,null),!1!==t&&null!=e.__preactattr_||f(e),b(e))}function b(e){for(e=e.lastChild;e;){var t=e.previousSibling;g(e,!0),e=t}}function _(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||d(e,r,n[r],n[r]=void 0,U);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||d(e,r,n[r],n[r]=t[r],U)}function w(e,t,n){var r,o=z.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),T.call(r,t,n)):(r=new T(t,n),r.constructor=e,r.render=E);o–;)if(z[o].constructor===e)return r.__b=z[o].__b,z.splice(o,1),r;return r}function E(e,t,n){return this.constructor(e,n)}function S(e,t,n,o,a){e.__x||(e.__x=!0,e.__r=t.ref,e.__k=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||a?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,o)),o&&o!==e.context&&(e.__c||(e.__c=e.context),e.context=o),e.__p||(e.__p=e.props),e.props=t,e.__x=!1,0!==n&&(1!==n&&!1===P.syncComponentUpdates&&e.base?i(e):O(e,1,a)),r(e.__r,e))}function O(e,t,r,o){if(!e.__x){var i,a,u,s=e.props,l=e.state,f=e.context,d=e.__p||s,p=e.__s||l,y=e.__c||f,m=e.base,b=e.__b,_=m||b,E=e._component,k=!1,T=y;if(e.constructor.getDerivedStateFromProps&&(l=n(n({},l),e.constructor.getDerivedStateFromProps(s,l)),e.state=l),m&&(e.props=d,e.state=p,e.context=y,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,l,f)?k=!0:e.componentWillUpdate&&e.componentWillUpdate(s,l,f),e.props=s,e.state=l,e.context=f),e.__p=e.__s=e.__c=e.__b=null,e.__d=!1,!k){i=e.render(s,l,f),e.getChildContext&&(f=n(n({},f),e.getChildContext())),m&&e.getSnapshotBeforeUpdate&&(T=e.getSnapshotBeforeUpdate(d,p));var A,R,I=i&&i.nodeName;if("function"==typeof I){var j=c(i);a=E,a&&a.constructor===I&&j.key==a.__k?S(a,j,1,f,!1):(A=a,e._component=a=w(I,j,f),a.__b=a.__b||b,a.__u=e,S(a,j,0,f,!1),O(a,1,r,!0)),R=a.base}else u=_,A=E,A&&(u=e._component=null),(_||1===t)&&(u&&(u._component=null),R=v(u,i,f,r||!m,_&&_.parentNode,!0));if(_&&R!==_&&a!==E){var x=_.parentNode;x&&R!==x&&(x.replaceChild(R,_),A||(_._component=null,g(_,!1)))}if(A&&C(A),e.base=R,R&&!o){for(var N=e,M=e;M=M.__u;)(N=M).base=R;R._component=N,R._componentConstructor=N.constructor}}for(!m||r?L.push(e):k||(e.componentDidUpdate&&e.componentDidUpdate(d,p,T),P.afterUpdate&&P.afterUpdate(e));e.__h.length;)e.__h.pop().call(e);H||o||h()}}function k(e,t,n,r){for(var o=e&&e._component,i=o,a=e,u=o&&e._componentConstructor===t.nodeName,s=u,l=c(t);o&&!s&&(o=o.__u);)s=o.constructor===t.nodeName;return o&&s&&(!r||o._component)?(S(o,l,3,n,r),e=o.base):(i&&!u&&(C(i),e=a=null),o=w(t.nodeName,l,n),e&&!o.__b&&(o.__b=e,a=null),S(o,l,1,n,r),e=o.base,a&&e!==a&&(a._component=null,g(a,!1))),e}function C(e){P.beforeUnmount&&P.beforeUnmount(e);var t=e.base;e.__x=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?C(n):t&&(null!=t.__preactattr_&&r(t.__preactattr_.ref,null),e.__b=t,f(t),z.push(e),b(t)),r(e.__r,null)}function T(e,t){this.__d=!0,this.context=t,this.props=e,this.state=this.state||{},this.__h=[]}function A(e,t,n){return v(n,e,{},!1,t,!1)}function R(){return{}}var I=function(){},P={},j=[],x=[],N="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,M=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,D=[],L=[],H=0,U=!1,q=!1,z=[];n(T.prototype,{setState:function(e,t){this.__s||(this.__s=this.state),this.state=n(n({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this.__h.push(t),i(this)},forceUpdate:function(e){e&&this.__h.push(e),O(this,2)},render:function(){}});var B={h:t,createElement:t,cloneElement:o,createRef:R,Component:T,render:A,rerender:a,options:P};e.exports=B}()},LLNF:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("eW0v"),i=r(o),a=n("5D9O"),u=r(a),s=function(e){var t=e.file,n=e.title,r=e.url;return i.default.createElement("div",{className:"mtr-atomic mtr-atomic-backstage-embed-poll"},i.default.createElement("h2",null,n),t.sizes?i.default.createElement("div",{className:"backstage-embed-poll"},i.default.createElement("picture",null,i.default.createElement("source",{srcSet:t.sizes.S.url,media:"(max-width: 375px)"}),i.default.createElement("source",{srcSet:t.sizes.M.url,media:"(max-width: 769px)"}),i.default.createElement("img",{src:t.sizes.L.url,alt:n}))):null,i.default.createElement("a",{href:r,target:"_blank",rel:"noopener",className:"backstage-embed-poll__button"},"Vote Aqui"))};s.propTypes={file:u.default.object,title:u.default.string.isRequired,url:u.default.string.isRequired},s.defaultProps={file:{}},t.default=s},LbZV:function(e){e.exports={name:"globoid-js",version:"1.4.1",description:"GloboId JS",main:"src/index.js",exports:{".":"src/index.js",redirect:"src/RedirectManager.js",callback:"src/CallBackManager.js"},publishConfig:{registry:"https://artifactory.globoi.com/artifactory/api/npm/npm-local/"},scripts:{start:"cross-env NODE_ENV=development webpack-dev-server –public local.globoi.com:8080 –config config/webpack.dev.js",lint:"eslint src/ tests/ –fix","test-watch":"jest –watch",test:"jest",build:"cross-env NODE_ENV=production webpack –config config/webpack.prod.js"},jest:{setupFilesAfterEnv:["mock-local-storage"],collectCoverageFrom:["src/GloboId.js","src/RedirectManager.js","src/CallBackManager.js","src/SessionManager.js","src/TokenSessionManager.js","src/CookieSessionManager.js","src/TokenExchanger.js"]},files:["sandbox/*","src/*.js"],keywords:["oidc","globoid"],browserslist:["defaults","not dead","not ie <= 8","last 5 versions"],author:"globoid.connect@g.globo",license:"MIT",devDependencies:{"@babel/core":"^7.8.7","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/polyfill":"^7.8.7","@babel/preset-env":"^7.8.7","babel-eslint":"^10.0.3","babel-jest":"^25.1.0","babel-loader":"^8.0.6","clean-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^6.0.3","core-js":"3.6.4","cross-env":"^5.2.1","css-loader":"^3.2.0",cssnano:"^4.1.10",eslint:"^6.8.0","eslint-loader":"^3.0.0","file-loader":"^4.2.0","highlight.js":"^9.18.1","html-loader":"^1.0.0","html-webpack-plugin":"^3.2.0",jest:"^25.1.0",jsonwebtoken:"^8.5.1","mini-css-extract-plugin":"^0.8.0","node-sass":"^4.13.1","optimize-css-assets-webpack-plugin":"^5.0.3","postcss-loader":"^3.0.0","postcss-preset-env":"^6.7.0","sass-loader":"^8.0.0","style-loader":"^1.0.0","terser-webpack-plugin":"^1.4.1","url-loader":"^2.1.0",webpack:"^4.39.3","webpack-cli":"^3.3.7","webpack-dev-server":"^3.8.0","webpack-merge":"^4.2.2"},dependencies:{"jwt-decode":"^2.2.0","keycloak-js":"^9.0.2","mock-local-storage":"^1.1.12",underscore:"^1.10.2"}}},LkZ7:function(e,t,n){"use strict";(function(e,r){var o,i=n("JZ8d");o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(t,n("h6ac"),n("pv+l")(e))},MILo:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return–e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- –e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*–e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+–e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*–e*e*e*e*e}}},N2wP:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n("eW0v"),c=r(s),l=n("eW0v"),f=(r(l),n("45fX")),d=r(f),p=n("5D9O"),h=r(p);t.default=function(e){var t=function(t){function n(e){var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return i(n,t),u(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;d.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){d.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return c.default.createElement(e,a({},this.props,{parentBindings:this.childBindings}))}}]),n}(c.default.Component);return t.propTypes={name:h.default.string,id:h.default.string},t}},O1mc:function(e){e.exports={questionFooter:"questionFooter__1GU-s",questionExplanation:"questionExplanation__3dvkb",questionExplanationResult:"questionExplanationResult__1oQ4r",badge:"badge__2ziLz",correctBadge:"correctBadge__31Lpk",incorrectBadge:"incorrectBadge__1prjy",questionExplanationMedia:"questionExplanationMedia__2WokV"}},ORnL:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n("eW0v"),u=r(a);t.default=(0,r(n("7qbT")).default)(function(e){function t(){for(var e,n,r,i,a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.render=function(){return u.default.createElement("a",r.props,r.props.children)},i=n,o(r,i)}return i(t,e),t}(u.default.Component))},OdmS:function(e){e.exports={answerBox:"answerBox__21Wd0"}},Q1RC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ezaN");t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},Qjvb:function(e){var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=o(r(10)),a={AVOID_COOKIE_USAGE:!1,EVENTS_BUFFER_SIZE:100,EVENTS_SENDER_INTERVAL:1e4,EVENTS_SENDER_MIN_INTERVAL:5e3,EVENTS_SENDER_MAX_INTERVAL:2e4,EVENTS_DISCARD_AFTER_MSECS:36e5,EVENTS_BULK_SIZE:10,HORIZON_CALLBACK_STACK_LIMIT:1e3,HORIZON_TRACK_IDENTIFICATION_RESOURCE:"id",HORIZON_TRACK_HOST:"horizon-track.globo.com",HORIZON_CLIENT_UUID:o(r(2)).default.getResource("clientInstanceUUID",(0,i.default)()),HORIZON_REQUEST_ENCODING:"base64",HORIZON_SCHEMAS_HOST:"horizon-schemas.globo.com",IDENTIFICATION_LOAD_RETRY_AFTER_MSECS:5e3,PACKAGE_VERSION:"1.7.1",SCHEMA_VALIDATOR_SCRIPT_URL:"s3.glbimg.com/cdn/libs/tv4/1.3.0/tv4.min.js",SCHEMA_VALIDATOR_SCRIPT_MAX_RETRIES:2,SCHEMA_LOAD_COLLECTION_RETRY_AFTER_MSECS:1e4,USE_HTTPS:!0};n.default=t(a,{avoidCookieUsage:function(){a.AVOID_COOKIE_USAGE=!0},useHTTPOnly:function(){a.USE_HTTPS=!1},useQAConfiguration:function(){a.HORIZON_TRACK_HOST="horizon-track.qa.globoi.com",a.HORIZON_SCHEMAS_HOST="horizon-schemas.qa.globoi.com",a.HORIZON_REQUEST_ENCODING="json"}})},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={COMPONENT_NOT_READY:"[Horizon] Component is not ready.",COMPONENT_UNAVAILABLE:"[Horizon] Class or function is required.",DUPLICATED_SCHEMA:"[Horizon] Duplicated schema.",ERROR_LOADING_RESOURCE:"[Horizon] Failed to load resource.",INVALID_AUTH_TOKEN:"[Horizon] Invalid authorization token.",INVALID_DATA:"[Horizon] Invalid data.",INVALID_DATE:"[Horizon] Invalid date-time RFC 3339 format.",INVALID_ENVIRONMENT:"[Horizon] Invalid environment value.",INVALID_FORMAT:"[Horizon] Invalid event format.",INVALID_REQUEST:"[Horizon] Invalid request.",INVALID_TIMESTAMP:"[Horizon] Invalid timestamp.",INVALID_VERSION_FORMAT:"[Horizon] Invalid version format.",LIMIT_EXCEEDED:"[Horizon] Resource limit exceeded.",MUST_BE_DEFINED:"[Horizon] Parameter or argument must be defined",SCHEMA_VALIDATOR_ERROR_LOADING:"[Horizon] Could not load SchemaValidator.",UNSUPPORTED_TYPE:"[Horizon] Unsupported type.",UNSUPPORTED_TENANT:"[Horizon] Unsupported tenant.",UNSUPPORTED_ENCODER:"[Horizon] Unsupported encoder.",USE_MANAGER_ONLY_WHEN_AVOIDING_COOKIE:"[Horizon] Can not set or remove a logged user when AVOID_COOKIE_USAGE is not enabled."};n.default=t(r,{mustBeDefined:function(e){throw new Error(r.MUST_BE_DEFINED+": "+e+".")}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return window.horizonResources=window.horizonResources||{},window.horizonResources};t.default={getContext:n,getResource:function(e,t){var r=n();return r[e]=r[e]||t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={execAsync:function(e,t){setTimeout(function(){return e(t)},1)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={request:function(e,t,n,r){var o=new XMLHttpRequest;o.open(e,t,!0),o.onload=function(){return o.status<400?n(JSON.parse(o.response)):r(o.response)},o.onerror=r,o.send()}}},function(e,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;nl.default.HORIZON_CALLBACK_STACK_LIMIT)throw new Error(s.default.LIMIT_EXCEEDED+” IDManager callback stack.”);return this.callbacks.onReady.push(e)}},{key:”onError”,value:function(e){this.state===p.STATE_ERROR?e():this.callbacks.onError.push(e)}},{key:”getAsKeyValue”,value:function(){if(!this.isReady())throw new Error(“”+s.default.COMPONENT_NOT_READY);if(this.bypass)return””;var e=this.getClientIDs();return Object.keys(e).map(function(t){return encodeURIComponent(t)+”=”+encodeURIComponent(e[t])}).join(“&”)}},{key:”getClientIDs”,value:function(){var e=f();return t(e.loggedIDs||{},e.anonymousIDs||{},e.sessionIDs||{})}},{key:”isReady”,value:function(){return this.state===p.STATE_READY}},{key:”retry”,value:function(){var e=this;this.state=p.STATE_SCHEDULED,this.callbacks.onRetry.forEach(function(e){return e()}),setTimeout(function(){e.state=p.STATE_NOT_READY,e.load()},l.default.IDENTIFICATION_LOAD_RETRY_AFTER_MSECS)}},{key:”setLoggedUser”,value:function(e,n){if(-1===d.indexOf(e))throw Error(s.default.INVALID_AUTH_TOKEN);var r=f();r.loggedIDs=t(r.loggedIDs||{},function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,n))}},{key:”setAnonymousUser”,value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=f();if(null==r.anonymousIDs||n){if(!(“glb_uid”in e&&”glb_uid_public”in e))throw s.default.mustBeDefined(“glb_uid and glb_uid_public”);var o={glb_uid:e.glb_uid,glb_uid_public:e.glb_uid_public};r.anonymousIDs=t(r.anonymousIDs||{},o)}}},{key:”getAnonymousUser”,value:function(){return f().anonymousIDs}},{key:”setSessionID”,value:function(e){e.hsid&&(f().sessionIDs=t({},{hsid:e.hsid}))}},{key:”removeLoggedUser”,value:function(){var e=f();d.forEach(function(t){e.loggedIDs[t]&&delete e.loggedIDs[t]})}},{key:”load”,value:function(){var e=this;if(this.state===p.STATE_NOT_READY){this.state=p.STATE_LOADING,this.callbacks.onLoad.forEach(function(e){return e()});c.default.request(“GET”,””+(l.default.USE_HTTPS?”https://”:”http://”)+this.url,function(t){e.setSessionID(t),e.setAnonymousUser(t,!1),e.state=p.STATE_READY,e.callbacks.onReady.forEach(function(t){return a.default.execAsync(t,e.getClientIDs())})},function(t){e.state=p.STATE_ERROR,e.callbacks.onError.forEach(function(e){return a.default.execAsync(e,t)}),e.retry()})}}}]),e}(),v=function(e){var t=f();if(!t.instance){t.instance=new h(e||l.default.HORIZON_TRACK_HOST+”/”+l.default.HORIZON_TRACK_IDENTIFICATION_RESOURCE,!1===l.default.AVOID_COOKIE_USAGE)}return t.instance};n.default={getInstance:v,getContextManager:f,setLoggedUser:function(e,t){if(!l.default.AVOID_COOKIE_USAGE)throw Error(s.default.USE_MANAGER_ONLY_WHEN_AVOIDING_COOKIE);e&&0!==e.length||s.default.mustBeDefined(“tokenName”),t&&0!==t.length||s.default.mustBeDefined(“tokenValue”),v().setLoggedUser(e,t)},removeLoggedUser:function(){if(!l.default.AVOID_COOKIE_USAGE)throw Error(s.default.USE_MANAGER_ONLY_WHEN_AVOIDING_COOKIE);v().removeLoggedUser()},setAnonymousUser:function(e){v().setAnonymousUser(e)},getAnonymousUser:function(){return v().getAnonymousUser()}}},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0}),t.IDManager=t.Settings=t.HorizonClient=void 0,n(7);var o=r(n(9)),i=r(n(0)),a=r(n(5)),u={setLoggedUser:a.default.setLoggedUser,removeLoggedUser:a.default.removeLoggedUser,setAnonymousUser:a.default.setAnonymousUser,getAnonymousUser:a.default.getAnonymousUser};t.HorizonClient=o.default,t.Settings=i.default,t.IDManager=u},function(e,t,n){“use strict”;n(8).polyfill()},function(e){“use strict”;function t(e){if(void 0===e||null===e)throw new TypeError(“Cannot convert first argument to object”);for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r)for(var o=Object.keys(Object(r)),i=0,a=o.length;i<a;i++){var u=o[i],s=Object.getOwnPropertyDescriptor(r,u);void 0!==s&&s.enumerable&&(t[u]=r[u])}}return t}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},function(e,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:”web”;if(function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}(this,e),this.tenant=t||f.default.getTenant()||s.default.mustBeDefined(“tenant”),this.deviceGroup=n||f.default.getDeviceGroup()||s.default.mustBeDefined(“deviceGroup”),this.defaultContentType=o,-1===h.indexOf(i))throw Error(s.default.INVALID_ENVIRONMENT);this.environment=i,this.validator=u.default,this.clientVersion=a.default.PACKAGE_VERSION,this.state=p.UNLOADED,this.referer=document.referrer;var v=null,y=null,m=null;this.setSchemasProvider=function(e){v=e},this.getSchemasProvider=function(){if(!v){var e=l.default.getInstance();r.setSchemasProvider(e)}return v},this.setEventBus=function(e){y=e},this.getEventBus=function(){if(!y){var e=c.default.getInstance(r.tenant,r.deviceGroup,r.environment,r.getIdManager());r.setEventBus(e)}return y},this.setIdManager=function(e){m=e},this.getIdManager=function(){if(!m){var e=d.default.getInstance();r.setIdManager(e)}return m},this.isReady=function(){return!!v&&!!m&&r.validator.isReady()&&v.isReady()&&m.isReady()},window.addEventListener(“beforeunload”,function(){r.unload()})}return i(e,[{key:”useDefaultContentType”,value:function(e){this.defaultContentType=e}},{key:”setValidator”,value:function(e){this.validator=e}},{key:”setReferer”,value:function(e){this.referer=e||document.referrer}},{key:”unload”,value:function(){this.flush()}},{key:”getScopeInfo”,value:function(){return{url:document.location.href,actionTs:+Date.now(),horizonClientVersion:this.clientVersion,horizonClientReferer:this.referer}}},{key:”validateBeforeEnqueue”,value:function(e){this.validator.validateFor(e,this.getSchemasProvider().get(e.id,e.version))}},{key:”onReady”,value:function(e){this.validator.isReady()?this.getSchemasProvider().isReady()?this.getIdManager().isReady()?(this.state=p.READY,e()):(this.state=p.LOADING,this.getIdManager().onReady(e),this.getIdManager().load()):(this.state=p.LOADING,this.getSchemasProvider().onReady(e),this.getSchemasProvider().load()):(this.state=p.LOADING,this.validator.onReady(e),this.validator.load())}},{key:”flush”,value:function(){var e=this;this.isReady()?this.getEventBus().flush():this.onReady(function(){return e.flush()})}},{key:”send”,value:function(e){this.validator.validateArgs(e),this.sendWithInfo(e,this.getScopeInfo())}},{key:”sendWithInfo”,value:function(e,n){var r=this;if(!this.isReady())return this.state===p.UNLOADED&&this.flush(),void this.onReady(function(){return r.sendWithInfo(e,n)});this.validateBeforeEnqueue(e);var o=t({},n,e);o.contentType||(this.defaultContentType||s.default.mustBeDefined(“contentType”),o.contentType=this.defaultContentType),this.getEventBus().enqueue(o)}}]),e}()},function(e,t,n){var r=n(11),o=n(12);e.exports=function(e,t,n){var i=t&&n||0;”string”==typeof e&&(t=”binary”===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var u=0;u<16;++u)t[i+u]=a[u];return t||o(a)}},function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t>>((3&t)<<3)&255;return r}}},function(e){for(var t=[],n=0;n0)throw new Error(u.default.INVALID_FORMAT+” Wrong object type: “+JSON.stringify(e));if(e.id.length<2||e.version.length0&&!o.every(function(e){return-1!==l.indexOf(e)}))throw new Error(u.default.INVALID_FORMAT+” Extra keys aren’t allowed: “+JSON.stringify(r))},tv4IsValidData:d,isReady:f,onReady:function(e){if(f())return e();if(c.ready.length>s.default.HORIZON_CALLBACK_STACK_LIMIT)throw new Error(u.default.LIMIT_EXCEEDED+” Validator callback stack.”);return c.ready.unshift(e)},load:function(){if(!a.default.isDefined(“tv4″)){(0,a.default)([(s.default.USE_HTTPS?”https://”:”http://”)+s.default.SCHEMA_VALIDATOR_SCRIPT_URL],”tv4″,{async:!0,numRetries:s.default.SCHEMA_VALIDATOR_SCRIPT_MAX_RETRIES,success:function(){tv4.addFormat(“date-time”,d),c.ready.forEach(function(e){return e()})},error:function(e){throw new Error(u.default.SCHEMA_VALIDATOR_ERROR_LOADING+” “+e)}})}}}},function(e,t){var n,r,o;!function(i,a){r=[],void 0===(o=”function”==typeof(n=a)?n.apply(t,r):n)||(e.exports=o)}(0,function(){function e(e,t){if(e){var n=u[e];if(a[e]=t,n)for(;n.length;)n[0](e,t),n.splice(0,1)}}function t(e,t){e.call&&(e={success:e}),t.length?(e.error||o)(t):(e.success||o)(e)}function n(e,t,r,i){var a,u,s=document,c=r.async,l=(r.numRetries||0)+1,f=r.before||o,d=e.replace(/^(css|img)!/,””);i=i||0,/(^css!|.css$)/.test(e)?((u=s.createElement(“link”)).rel=”stylesheet”,u.href=d,(a=”hideFocus”in u)&&u.relList&&(a=0,u.rel=”preload”,u.as=”style”)):/(^img!|.(png|gif|jpg|svg)$)/.test(e)?(u=s.createElement(“img”)).src=d:((u=s.createElement(“script”)).src=e,u.async=void 0===c||c),u.onload=u.onerror=u.onbeforeload=function(o){var s=o.type[0];if(a)try{u.sheet.cssText.length||(s=”e”)}catch(o){18!=o.code&&(s=”e”)}if(“e”==s){if((i+=1)<l)return n(e,t,r,i)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";t(e,s,o.defaultPrevented)},!1!==f(e,u)&&s.head.appendChild(u)}function r(r,o,a){function u(o,i){!function(e,t,r){var o,i,a=(e=e.push?e:[e]).length,u=a,s=[];for(o=function(e,n,r){if("e"==n&&s.push(e),"b"==n){if(!r)return;s.push(e)}–a||t(s)},i=0;i<u;i++)n(e[i],o,r)}(r,function(n){t(c,n),o&&t({success:o,error:i},n),e(s,n)},c)}var s,c;if(o&&o.trim&&(s=o),c=(s?a:o)||{},s){if(s in i)throw"LoadJS";i[s]=!0}if(c.returnPromise)return new Promise(u);u()}var o=function(){},i={},a={},u={};return r.ready=function(e,n){return function(e,t){var n,r,o,i=[],s=(e=e.push?e:[e]).length,c=s;for(n=function(e,n){n.length&&i.push(e),–c||t(i)};s–;)r=e[s],(o=a[r])?n(r,o):(u[r]=u[r]||[]).push(n)}(e,function(e){t(n,e)}),r},r.done=function(t){e(t,[])},r.reset=function(){i={},a={},u={}},r.isDefined=function(e){return e in i},r})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;ne})}},{key:”prepareRequest”,value:function(){var e=this.queue.splice(0,u.default.EVENTS_BULK_SIZE);return this.actionCounter+=e.length,{horizonClientUUID:this.instanceID,horizonClientTenant:this.currentTenant,horizonClientTs:Date.now(),horizonClientType:”js”,horizonClientDeviceGroup:this.deviceGroup,horizonDispatchNumber:this.dispatchNumber,horizonActionCounter:this.actionCounter,horizonEnvironment:this.environment,actions:e}}},{key:”isValidRequest”,value:function(e){if(!e||e&&!e.actions)throw new Error(s.default.INVALID_REQUEST);return e.actions.length>0}},{key:”dispatch”,value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”json”,n=u.default.USE_HTTPS?”https://”:”http://”,r=this.idManager.getAsKeyValue(),o=r?”?”+r:””,i=””+n+c.default.applyDestinationPolicy()+”/event/”+this.currentTenant+o,s=a.default.get(t);if(!this.isValidRequest(e))return!1;this.dispatchNumber+=1;var l=s(e);return navigator.sendBeacon(i,l)}},{key:”enqueue”,value:function(e){if(!e.actionTs)throw new Error(s.default.INVALID_TIMESTAMP);this.queue.push(e)}},{key:”flush”,value:function(){for(;this.queue.length>0;){this.queue=this.filterQueue();this.dispatch(this.prepareRequest(),u.default.HORIZON_REQUEST_ENCODING)}}},{key:”length”,get:function(){return this.queue.length}}]),e}();t.default={getInstance:function(e,t,n,r){var o=d(),i=e+”-“+t;return o[i]||(o[i]=new p(e,u.default.HORIZON_CLIENT_UUID,t,n,r)),o[i]},reset:function(e,t){e&&0!==e.length||s.default.mustBeDefined(“tenant”),t&&0!==t.length||s.default.mustBeDefined(“deviceGroup”);var n=e+”-“+t;delete d()[n]},getContextBus:d}},function(){function e(t){return(e=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e})(t)}var t=function(e){return”string”==typeof e},n=function(e){return e instanceof Blob};(function(){(function(){return”navigator”in this&&”sendBeacon”in this.navigator}).call(this)||(“navigator”in this||(this.navigator={}),this.navigator.sendBeacon=function(e,r){var o=this.event&&this.event.type,i=”unload”===o||”beforeunload”===o,a=”XMLHttpRequest”in this?new XMLHttpRequest:new ActiveXObject(“Microsoft.XMLHTTP”);a.open(“POST”,e,!i),a.withCredentials=!0,a.setRequestHeader(“Accept”,”*/*”),t(r)?(a.setRequestHeader(“Content-Type”,”text/plain;charset=UTF-8″),a.responseType=”text/plain”):n(r)&&r.type&&a.setRequestHeader(“Content-Type”,r.type);try{a.send(r)}catch(e){return!1}return!0}.bind(this))}).call(“object”===(“undefined”==typeof window?”undefined”:e(window))?window:{})},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=r(n(18)),i=r(n(21)),a=r(n(1)),u={base64:function(e){var t=new FormData;return t.append(“data”,o.default.encode(i.default.encode(JSON.stringify(e)))),t.append(“encoding”,”base64″),t},json:function(e){return JSON.stringify(e)}};t.default={get:function(e){if(!(e in u))throw new Error(a.default.UNSUPPORTED_ENCODER+” Invalid “+e+” encoder.”);return u[e]}}},function(e,t,n){(function(e){var r;!function(){var o=function(e){this.message=e};(o.prototype=new Error).name=”InvalidCharacterError”;var i=function(e){throw new o(e)},a=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”,u=/[tnfr ]/g,s={encode:function(e){e=String(e),/[^-xFF]/.test(e)&&i(“The string to be encoded contains characters outside of the Latin1 range.”);for(var t,n,r,o,u=e.length%3,s=””,c=-1,l=e.length-u;++c<l;)t=e.charCodeAt(c)<<16,n=e.charCodeAt(++c)<>18&63)+a.charAt(o>>12&63)+a.charAt(o>>6&63)+a.charAt(63&o);return 2==u?(t=e.charCodeAt(c)<>10)+a.charAt(o>>4&63)+a.charAt(o<>2)+a.charAt(o<<4&63)+"=="),s},decode:function(e){var t=(e=String(e).replace(u,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&i("Invalid character: the string to be decoded is not correctly encoded.");for(var n,r,o=0,s="",c=-1;++c>(-2*o&6)));return s},version:”0.1.0″};void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()}).call(t,n(19)(e),n(20))},function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},function(e){var t;t=function(){return this}();try{t=t||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(t=window)}e.exports=t},function(e,t){!function(e){function t(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<=55296&&e>t&63|128)}function o(e){if(0==(4294967168&e))return l(e);var t=””;return 0==(4294965248&e)?t=l(e>>6&31|192):0==(4294901760&e)?(n(e),t=l(e>>12&15|224),t+=r(e,6)):0==(4292870144&e)&&(t=l(e>>18&7|240),t+=r(e,12),t+=r(e,6)),t+=l(63&e|128)}function i(){if(c>=s)throw Error(“Invalid byte index”);var e=255&u[c];if(c++,128==(192&e))return 63&e;throw Error(“Invalid continuation byte”)}function a(){var e,t;if(c>s)throw Error(“Invalid byte index”);if(c==s)return!1;if(e=255&u[c],c++,0==(128&e))return e;if(192==(224&e)){if((t=(31&e)<=128)return t;throw Error(“Invalid continuation byte”)}if(224==(240&e)){if((t=(15&e)<<12|i()<=2048)return n(t),t;throw Error(“Invalid continuation byte”)}if(240==(248&e)&&(t=(7&e)<<18|i()<<12|i()<=65536&&t<=1114111)return t;throw Error("Invalid UTF-8 detected")}var u,s,c,l=String.fromCharCode;e.version="3.0.0",e.encode=function(e){for(var n=t(e),r=n.length,i=-1,a="";++i<r;)a+=o(n[i]);return a},e.decode=function(e){u=t(e),s=u.length,c=0;for(var n,r=[];!1!==(n=a());)r.push(n);return function(e){for(var t,n=e.length,r=-1,o="";++r65535&&(o+=l((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=l(t);return o}(r)}}(t)},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=r(n(23)),i=r(n(0));t.default={applyThrottlingPolicy:function(e){var t=i.default.EVENTS_SENDER_MIN_INTERVAL,n=i.default.EVENTS_SENDER_MAX_INTERVAL,r=Number(o.default.get(“_hzt.interval”))||i.default.EVENTS_SENDER_INTERVAL;r=t&&e.interval!==r&&e.reschedule(r)},applyDestinationPolicy:function(){return o.default.get(“_hzt.host”)||i.default.HORIZON_TRACK_HOST}}},function(e,t,n){var r,o;!function(i){if(void 0===(o=”function”==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),e.exports=i(),!1){var a=window.Cookies,u=window.Cookies=i();u.noConflict=function(){return window.Cookies=a,u}}}(function(){function e(){for(var e=0,t={};e1){if(“number”==typeof(i=e({path:”/”},r.defaults,i)).expires){var u=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*i.expires),i.expires=u}i.expires=i.expires?i.expires.toUTCString():””;try{a=JSON.stringify(o),/^[{[]/.test(a)&&(o=a)}catch(e){}o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[()]/g,escape);var s=””;for(var c in i)i[c]&&(s+=”; “+c,!0!==i[c]&&(s+=”=”+i[c]));return document.cookie=t+”=”+o+s}t||(a={});for(var l=document.cookie?document.cookie.split(“; “):[],f=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var p=l[d].split("="),h=p.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var v=p[0].replace(f,decodeURIComponent);if(h=n.read?n.read(h,v):n(h,v)||h.replace(f,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===v){a=h;break}t||(a[v]=h)}catch(e){}}return a}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}(function(){})})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:100;!function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}(this,e),this._queue=[],this.maxSize=t}return n(e,[{key:”push”,value:function(e){this._queue=[e].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.slice(0,this.maxSize-1)))}},{key:"forEach",value:function(e){return this._queue.forEach(e)}},{key:"slice",value:function(e,t){return this._queue.slice(e,t)}},{key:"splice",value:function(e,t){return this._queue.splice(e,t)}},{key:"clear",value:function(){this._queue=[]}},{key:"filter",value:function(t){return e.fromArray(this._queue.filter(t),this.maxSize)}},{key:"length",get:function(){return this._queue.length}},{key:"items",get:function(){return JSON.parse(JSON.stringify(this._queue))}}],[{key:"fromArray",value:function(t,n){var r=new e(n);return t.forEach(function(e){return r.push(e)}),r}}]),e}();t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.interval=0,this.tickIntervalId=0,this.callbacks=[]}return n(e,[{key:"tick",value:function(){var e=this;this.callbacks.forEach(function(t){return t(e)})}},{key:"start",value:function(){return this.tickIntervalId=setInterval(this.tick.bind(this),this.interval),this}},{key:"stop",value:function(){return clearInterval(this.tickIntervalId),this.tickIntervalId=0,this}},{key:"reschedule",value:function(e){return this.stop().every(e).start()}},{key:"every",value:function(e){return this.interval=e,this}},{key:"call",value:function(e){return this.callbacks.push(e),this}},{key:"isRunning",get:function(){return!!this.tickIntervalId}}]),e}()},function(e,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;nc.default.HORIZON_CALLBACK_STACK_LIMIT)throw new Error(s.default.LIMIT_EXCEEDED+” Schemas callback stack.”);return this.callbacks.onReady.push(e)}},{key:”onError”,value:function(e){this.state===f.STATE_ERROR?e():this.callbacks.onError.push(e)}},{key:”load”,value:function(){var e=this,n=d();if(this.state===f.STATE_NOT_READY){this.state=f.STATE_LOADING,this.callbacks.onLoad.forEach(function(e){return e()});l.default.request(“GET”,””+(c.default.USE_HTTPS?”https://”:”http://”)+this.url,function(r){n.data=t(n.data||{},r),e.state=f.STATE_READY,e.callbacks.onReady.forEach(function(e){return a.default.execAsync(e,n.data)})},function(t){e.state=f.STATE_ERROR,e.callbacks.onError.forEach(function(e){return a.default.execAsync(e,t)}),e.retry()})}}}]),e}();n.default={getInstance:function(e){var t=d();return t.provider||(t.provider=new p(e||c.default.HORIZON_SCHEMAS_HOST+”/schemas”)),t.provider},getContextSchemas:d}},function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var n=function(e){return window.cdaaas&&window.cdaaas.SETTINGS?window.cdaaas.SETTINGS[e]:null},r=function(e){return window.utag_data?window.utag_data[e]:null};t.default={getTenant:function(){return n(“SITE_ID”)||r(“ut.profile”)||”unknown”},getDeviceGroup:function(){return n(“MOBILE_GROUP”)||r(“platform”)||”unknown”}}}])})},RGc6:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n("eW0v"),c=r(s),l=n("N2wP"),f=r(l),d=n("5D9O"),p=r(d),h=function(e){function t(){return o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),u(t,[{key:"render",value:function(){var e=this,t=a({},this.props);return t.parentBindings&&delete t.parentBindings,c.default.createElement("div",a({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(c.default.Component);h.propTypes={name:p.default.string,id:p.default.string},t.default=(0,f.default)(h)},S8O7:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function a(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n("eW0v"),c=r(s),l=n("5D9O"),f=r(l),d=function(e){function t(e){var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return a(t,e),u(t,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,t={get passive(){e=!0}};try{document.addEventListener("test",null,t),document.removeEventListener("test",null,t)}catch(e){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var t=this.props.getScrollParent&&this.props.getScrollParent();return null!=t?t:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(this.props.hasMore&&e){var t=window;!1===this.props.useWindow&&(t=e),t.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),t.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(e){1!==e.deltaY||this.isPassiveSupported()||e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,t=window,n=this.getParentElement(e),r=void 0;if(this.props.useWindow){var o=document.documentElement||document.body.parentNode||document.body,i=void 0!==t.pageYOffset?t.pageYOffset:o.scrollTop;r=this.props.isReverse?i:this.calculateOffset(e,i)}else r=this.props.isReverse?n.scrollTop:e.scrollHeight-n.scrollTop-n.clientHeight;r1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;for(var o={},i=Object.keys(e),a=0;a<i.length;a++){var u=i[a];-1===n.indexOf(u)&&(o[u]=e[u])}return o}function s(e){var t=[];return t[0]=requestAnimationFrame(function(){t[1]=requestAnimationFrame(function(){e()})}),t}function c(e){e.forEach(function(e){return cancelAnimationFrame(e)})}function l(e){return!isNaN(parseFloat(e))&&isFinite(e)}function f(e){return"string"==typeof e&&e.search("%")===e.length-1&&l(e.substr(0,e.length-1))}function d(e,t){e&&"function"==typeof e&&e(t)}Object.defineProperty(t,"__esModule",{value:!0});var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=n("eW0v"),m=r(y),g=n("5D9O"),b=r(g),_=n("9qb7"),w=r(_),E={animating:"rah-animating",animatingUp:"rah-animating–up",animatingDown:"rah-animating–down",animatingToHeightZero:"rah-animating–to-height-zero",animatingToHeightAuto:"rah-animating–to-height-auto",animatingToHeightSpecific:"rah-animating–to-height-specific",static:"rah-static",staticHeightZero:"rah-static–height-zero",staticHeightAuto:"rah-static–height-auto",staticHeightSpecific:"rah-static–height-specific"},S=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"],O=function(e){function t(e){var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.animationFrameIDs=[];var r="auto",o="visible";return l(e.height)?(r=e.height<0||"0"===e.height?0:e.height,o="hidden"):f(e.height)&&(r="0%"===e.height?0:e.height,o="hidden"),n.animationStateClasses=h({},E,e.animationStateClasses),n.state={animationStateClasses:n.getStaticStateClasses(r),height:r,overflow:o,shouldUseTransitions:!1},n}return a(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,i=r.delay,a=r.duration,u=r.height,p=r.onAnimationEnd,h=r.onAnimationStart;if(this.contentElement&&u!==e.height){var v;this.showContent(t.height),this.contentElement.style.overflow="hidden";var y=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var m=a+i,g=null,b={height:null,overflow:"hidden"},_="auto"===t.height;l(u)?(g=u<0||"0"===u?0:u,b.height=g):f(u)?(g="0%"===u?0:u,b.height=g):(g=y,b.height="auto",b.overflow=null),_&&(b.height=g,g=y);var E=(0,w.default)((v={},o(v,this.animationStateClasses.animating,!0),o(v,this.animationStateClasses.animatingUp,"auto"===e.height||ue.height),o(v,this.animationStateClasses.animatingToHeightZero,0===b.height),o(v,this.animationStateClasses.animatingToHeightAuto,”auto”===b.height),o(v,this.animationStateClasses.animatingToHeightSpecific,b.height>0),v)),S=this.getStaticStateClasses(b.height);this.setState({animationStateClasses:E,height:g,overflow:”hidden”,shouldUseTransitions:!_}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),_?(b.shouldUseTransitions=!0,c(this.animationFrameIDs),this.animationFrameIDs=s(function(){n.setState(b),d(h,{newHeight:b.height})}),this.animationClassesTimeoutID=setTimeout(function(){n.setState({animationStateClasses:S,shouldUseTransitions:!1}),n.hideContent(b.height),d(p,{newHeight:b.height})},m)):(d(h,{newHeight:g}),this.timeoutID=setTimeout(function(){b.animationStateClasses=S,b.shouldUseTransitions=!1,n.setState(b),”auto”!==u&&n.hideContent(g),d(p,{newHeight:g})},m))}}},{key:”componentWillUnmount”,value:function(){c(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:”showContent”,value:function(e){0===e&&(this.contentElement.style.display=””)}},{key:”hideContent”,value:function(e){0===e&&(this.contentElement.style.display=”none”)}},{key:”getStaticStateClasses”,value:function(e){var t;return(0,w.default)((t={},o(t,this.animationStateClasses.static,!0),o(t,this.animationStateClasses.staticHeightZero,0===e),o(t,this.animationStateClasses.staticHeightSpecific,e>0),o(t,this.animationStateClasses.staticHeightAuto,”auto”===e),t))}},{key:”render”,value:function(){var e,t=this,n=this.props,r=n.animateOpacity,i=n.applyInlineTransitions,a=n.children,s=n.className,c=n.contentClassName,l=n.delay,f=n.duration,d=n.easing,p=n.id,v=n.style,y=this.state,g=y.height,b=y.overflow,_=y.animationStateClasses,E=y.shouldUseTransitions,O=h({},v,{height:g,overflow:b||v.overflow});E&&i&&(O.transition=”height “+f+”ms “+d+” “+l+”ms”,v.transition&&(O.transition=v.transition+”, “+O.transition),O.WebkitTransition=O.transition);var k={};r&&(k.transition=”opacity “+f+”ms “+d+” “+l+”ms”,k.WebkitTransition=k.transition,0===g&&(k.opacity=0));var C=(0,w.default)((e={},o(e,_,!0),o(e,s,s),e)),T=void 0!==this.props[“aria-hidden”],A=T?this.props[“aria-hidden”]:0===g;return m.default.createElement(“div”,h({},u.apply(void 0,[this.props].concat(S)),{“aria-hidden”:A,className:C,id:p,style:O}),m.default.createElement(“div”,{className:c,style:k,ref:function(e){return t.contentElement=e}},a))}}]),t}(m.default.Component);O.propTypes={“aria-hidden”:b.default.bool,animateOpacity:b.default.bool,animationStateClasses:b.default.object,applyInlineTransitions:b.default.bool,children:b.default.any.isRequired,className:b.default.string,contentClassName:b.default.string,delay:b.default.number,duration:b.default.number,easing:b.default.string,height:function(e,t,n){var r=e[t];return”number”==typeof r&&r>=0||f(r)||”auto”===r?null:new TypeError(‘value “‘+r+'” of type “‘+(void 0===r?”undefined”:p(r))+'” is invalid type for ‘+t+” in “+n+’. It needs to be a positive number, string “auto” or percentage string (e.g. “15%”).’)},id:b.default.string,onAnimationEnd:b.default.func,onAnimationStart:b.default.func,style:b.default.object},O.defaultProps={animateOpacity:!1,animationStateClasses:E,applyInlineTransitions:!0,duration:250,delay:0,easing:”ease”,style:{}},t.default=O},UbsG:function(e,t,n){e.exports=n(“T25z”)},WsC6:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var n=function(e,t){return!!(t.trim?e.trim():e)},r=function(e,t){return!!n(e.text,t)||(!(!e.data||!Object.keys(e.data).length)||!(!e.entityRanges||!e.entityRanges.length))};t.default=function(e,t,n){var o=n.cleanup;return!(!o||r(e,o))&&((!o.after||”all”===o.after||-1!==o.after.indexOf(t))&&(!(!o.except||-1!==o.except.indexOf(e.type))||!(!o.types||”all”!==o.types&&-1===o.types.indexOf(e.type))))}},XQxe:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n("/oWq"),u=r(a),s=n("9k9+"),c=r(s),l=n("tL52"),f=r(l),d=n("YoD9"),p=r(d),h=function(e,t){return e.forEach(function(e){var n=t.text.substring(0,e.offset),r=t.text.substring(e.offset,e.offset+e.length);e.offset=u.default.ucs2.decode(n).length,e.length=u.default.ucs2.decode(r).length}),e},v=function(e){return"function"==typeof e.getDecorations&&"function"==typeof e.getComponentForKey&&"function"==typeof e.getPropsForKey},y=function(e){var t=new c.default(e.filter(function(e){return!v(e)})),n=e.filter(function(e){return v(e)}),r=[].concat(o(n),[t]);return new f.default(r)},m=function(e,t,n,r){var o=r.createContentBlock,a=[],u=y(t),s=o?o(e):(0,p.default)(e),c=u.getDecorations(s,n),l=0;return c.forEach(function(e,t){if(!e)return void(l+=1);var r=t+1,o=c[r];o&&o===e||(a.push({offset:l,length:r-l,component:u.getComponentForKey(e),decoratorProps:u.getPropsForKey(e)||{},contentState:n}),l=r)}),i({},e,{decoratorRanges:h(a,e)})};t.default=function(e,t,n){var r=n.convertFromRaw&&n.convertFromRaw(e);return e.blocks.map(function(e){return m(e,t,r,n||{})})}},YoD9:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.id,r=t.className,o=void 0===r?”mtr-megadraft-block”:r,a=t.facebook,s=void 0===a?{includeScript:!1,loadWidgets:!0}:a,c=t.instagram,l=void 0===c?{includeScript:!1,loadWidgets:!0}:c,f=t.twitter,d=void 0===f?{includeScript:!1,loadWidgets:!0}:f,p=(0,u.default)(e,{facebook:s,instagram:l,twitter:d}),h={className:o};return n&&(h.id=n),i.default.createElement(“div”,h,p)}},”bG/q”:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“7loZ”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},c1vC:function(e,t){“use strict”;function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){var n=e.keys;if(t)return t;if(n)return n.join(",")},i=function(e,t){return function(i,a,u){var s=r({},a),c=o(s,u);return delete s.depth,delete s.keys,t.apply(void 0,[e,r({},s,{key:c})].concat(n(i)))}},a=function(e,t,n){var r=n.children,o=n.props,a=n.key,u=i(t.wrapper,e),s=i(t.element,e);return u(r.map(function(e,t){return s(e,{depth:o.depth},o.keys&&o.keys[t])}),o,a)};t.default=function(e,t){var n={};return Object.keys(t).forEach(function(r){var o=t[r];if(o.wrapper)return void(n[r]=function(t,n,r){return a(e,o,{children:t,props:n,key:r})});n[r]=i(o.element,e)}),n}},cSIb:function(e){e.exports={quizContainer:"quizContainer__lSVmM",quizQuestions:"quizQuestions__1nhx4",questionList:"questionList__2Lc_7"}},cX2q:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},dCnH:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("eW0v"),i=r(o),a=n("5D9O"),u=r(a),s=n("pG0S"),c=r(s),l=n("oWE+"),f=function(e){var t=e.tweets,n=e.term;return i.default.createElement("div",{className:"mtr-atomic mtr-atomic-backstage-twitter-search tweet-list"},i.default.createElement("div",{className:"tweet-list__list"},t.map(function(e){return i.default.createElement(c.default,{key:e.id_str+"_"+e.created_at,tweet:e})})),i.default.createElement("div",{className:"tweet-list__footer"},i.default.createElement("svg",{className:"twitter-icon",viewBox:"0 0 300.00006 244.18703",height:"15",width:"18"},i.default.createElement("g",{transform:"translate(-539.18 -568.86)"},i.default.createElement("path",{d:"m633.9 812.04c112.46 0 173.96-93.168 173.96-173.96 0-2.6463-0.0539-5.2806-0.1726-7.903 11.938-8.6302 22.314-19.4 30.498-31.66-10.955 4.8694-22.744 8.1474-35.111 9.6255 12.623-7.5693 22.314-19.543 26.886-33.817-11.813 7.0031-24.895 12.093-38.824 14.841-11.157-11.884-27.041-19.317-44.629-19.317-33.764 0-61.144 27.381-61.144 61.132 0 4.7978 0.5364 9.4646 1.5854 13.941-50.815-2.5569-95.874-26.886-126.03-63.88-5.2508 9.0354-8.2785 19.531-8.2785 30.73 0 21.212 10.794 39.938 27.208 50.893-10.031-0.30992-19.454-3.0635-27.69-7.6468-0.009 0.25652-0.009 0.50661-0.009 0.78077 0 29.61 21.075 54.332 49.051 59.934-5.1376 1.4006-10.543 2.1516-16.122 2.1516-3.9336 0-7.766-0.38716-11.491-1.1026 7.7838 24.293 30.355 41.971 57.115 42.465-20.926 16.402-47.287 26.171-75.937 26.171-4.929 0-9.7983-0.28036-14.584-0.84634 27.059 17.344 59.189 27.464 93.722 27.464",fill:"#1da1f2"}))),"Escolhidos pelo editor   ",i.default.createElement("a",{href:"https://twitter.com/hashtag/"+n.replace("#",""),rel:"noopener",target:"_blank"},n)))};f.propTypes={tweets:l.tweetListShape.isRequired,term:u.default.string},f.defaultProps={term:""},t.default=f},dKb9:function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e:Array.from(e)}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n||n.length<1)return"string"==typeof t&&"string"==typeof this.getCurrentContent()?this.addToCurrentContent(t):this.content.push(t),this;if(o)return this.handleFlatPush(t,n),this;var i=r(n),a=i[0],u=i.slice(1),s=this.getCurrentContent();if(s instanceof e&&s.style===a)s.pushContent(t,u,o);else{var c=new e({style:a});c.pushContent(t,u,o),this.content.push(c)}return this}}]),e}()},eW0v:function(e,t,n){"use strict";function r(){return null}function o(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&S(e.attributes,t.defaultProps),n&&S(e.attributes,n)}function i(e,t){var n,r,o;if(t){for(o in t)if(n=Q.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[Q.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function a(e,t,n){var r=t&&t._preactCompatRendered&&t._preactCompatRendered.base;r&&r.parentNode!==t&&(r=null),!r&&t&&(r=t.firstElementChild);for(var o=t.childNodes.length;o–;)t.childNodes[o]!==r&&t.removeChild(t.childNodes[o]);var i=Object(B.render)(e,t,r);return t&&(t._preactCompatRendered=i&&(i._component||{base:i})),"function"==typeof n&&n(),i&&i._component||i}function u(e,t,n,r){var o=Object(B.h)(te,{context:e.context},t),i=a(o,n),u=i._component||i.base;return r&&r.call(u,i),u}function s(e){u(this,e.vnode,e.container)}function c(e,t){return Object(B.h)(s,{vnode:e,container:t})}function l(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(Object(B.render)(Object(B.h)(r),e,t),!0)}function f(e){return y.bind(null,e)}function d(e,t){for(var n=t||0;n0;)n[r]=arguments[r+2];if(!b(e))return e;var o=e.attributes||e.props,i=Object(B.h)(e.nodeName||e.type,S({},o),e.children||o&&o.children),a=[i,t];return n&&n.length?a.push(n):t&&t.children&&a.push(t.children),m(B.cloneElement.apply(void 0,a))}function b(e){return e&&(e instanceof Z||e.$$typeof===K)}function _(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function w(e){var t=e.nodeName,n=e.attributes;if(n&&”string”==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&(“textarea”===t||”input”===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||”oninput”;n[i]||(n[i]=j([n[i],n[r.onchange]]),delete n[r.onchange])}}}function E(e){var t=e.attributes||(e.attributes={});ue.enumerable=”className”in t,t.className&&(t.class=t.className),Object.defineProperty(t,”className”,ue)}function S(e){for(var t=arguments,n=1,r=void 0;n<arguments.length;n++)if(r=t[n])for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o]);return e}function O(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function k(e){return e&&(e.base||1===e.nodeType&&e)||null}function C(){}function T(e){function t(e,t){I(this),L.call(this,e,t,Y),x.call(this,e,t)}return e=S({constructor:t},e),e.mixins&&R(e,A(e.mixins)),e.statics&&S(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps.call(t)),C.prototype=L.prototype,t.prototype=S(new C,e),t.displayName=e.displayName||"Component",t}function A(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function R(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=j(t[n].concat(e[n]||re),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function I(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||X.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function P(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function j(e,t){return function(){for(var n,r=arguments,o=this,i=0;i<e.length;i++){var a=P(o,e[i],r);if(t&&null!=a){n||(n={});for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])}else void 0!==a&&(n=a)}return n}}function x(e,t){N.call(this,e,t),this.componentWillReceiveProps=j([N,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=j([N,M,this.render||"render",D])}function N(e){if(e){var t=e.children;if(t&&Array.isArray(t)&&1===t.length&&("string"==typeof t[0]||"function"==typeof t[0]||t[0]instanceof Z)&&(e.children=t[0])&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children),J){var n="function"==typeof this?this:this.constructor,r=this.propTypes||n.propTypes,o=this.displayName||n.name;r&&z.a.checkPropTypes(r,e,"prop",o)}}}function M(){ne=this}function D(){ne===this&&(ne=null)}function L(e,t,n){B.Component.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},n!==Y&&x.call(this,e,t)}function H(e,t){L.call(this,e,t)}function U(e){e()}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"version",function(){return F}),n.d(t,"DOM",function(){return ie}),n.d(t,"Children",function(){return oe}),n.d(t,"render",function(){return a}),n.d(t,"hydrate",function(){return a}),n.d(t,"createClass",function(){return T}),n.d(t,"createPortal",function(){return c}),n.d(t,"createFactory",function(){return f}),n.d(t,"createElement",function(){return y}),n.d(t,"cloneElement",function(){return g}),n.d(t,"isValidElement",function(){return b}),n.d(t,"findDOMNode",function(){return k}),n.d(t,"unmountComponentAtNode",function(){return l}),n.d(t,"Component",function(){return L}),n.d(t,"PureComponent",function(){return H}),n.d(t,"unstable_renderSubtreeIntoContainer",function(){return u}),n.d(t,"unstable_batchedUpdates",function(){return U}),n.d(t,"__spread",function(){return S});var q=n("JiT9"),z=n.n(q);n.d(t,"PropTypes",function(){return z.a});var B=n("KM04");n.n(B);n.o(B,"createRef")&&n.d(t,"createRef",function(){return B.createRef});var W=n("ZShz");n.n(W);n.o(W,"createContext")&&n.d(t,"createContext",function(){return W.createContext});var F="15.1.0",V="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),K="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",X={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},Q=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,Y={},J=!1;try{J=!1}catch(e){}var Z=Object(B.h)("a",null).constructor;Z.prototype.$$typeof=K,Z.prototype.preactCompatUpgraded=!1,Z.prototype.preactCompatNormalized=!1,Object.defineProperty(Z.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(Z.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var $=B.options.event;B.options.event=function(e){return $&&(e=$(e)),e.persist=Object,e.nativeEvent=e,e};var ee=B.options.vnode;B.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=null==e.attributes?{}:S({},e.attributes);"function"==typeof t?(!0===t[G]||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||m(e),o(e)):(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),i(e,n))}ee&&ee(e)};var te=function(){};te.prototype.getChildContext=function(){return this.props.context},te.prototype.render=function(e){return e.children[0]};for(var ne,re=[],oe={map:function(e,t,n){return null==e?null:(e=oe.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=oe.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(e=oe.toArray(e),1!==e.length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:re.concat(e)}},ie={},ae=V.length;ae–;)ie[V[ae]]=f(V[ae]);var ue={configurable:!0,get:function(){return this.class},set:function(e){this.class=e}};S(L.prototype=new B.Component,{constructor:L,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in n.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),C.prototype=L.prototype,H.prototype=new C,H.prototype.isPureReactComponent=!0,H.prototype.shouldComponentUpdate=function(e,t){return O(this.props,e)||O(this.state,t)},t.default={version:F,DOM:ie,PropTypes:z.a,Children:oe,render:a,hydrate:a,createClass:T,createContext:W.createContext,createPortal:c,createFactory:f,createElement:y,cloneElement:g,createRef:B.createRef,isValidElement:b,findDOMNode:k,unmountComponentAtNode:l,Component:L,PureComponent:H,unstable_renderSubtreeIntoContainer:u,unstable_batchedUpdates:U,__spread:S}},ee5D:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n("eW0v"),s=r(u),c=n("5D9O"),l=r(c),f=function(e){function t(){return o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"componentWillMount",value:function(){this.props.twitter.includeScript()}},{key:"componentDidMount",value:function(){this.props.twitter.loadWidgets(this.wrapper)}},{key:"render",value:function(){var e=this,t=this.props,n=t.url,r=t.text,o=t.twitter;return s.default.createElement("blockquote",{ref:function(t){e.wrapper=t},className:"mtr-atomic mtr-atomic-backstage-embed-social-twitter twitter-tweet","data-lang":"pt","data-theme":o.config.theme},s.default.createElement("a",{href:n}),r?s.default.createElement("p",null,r):null)}}]),t}(u.Component);f.propTypes={url:l.default.string.isRequired,text:l.default.string,twitter:l.default.shape({includeScript:l.default.func.isRequired,loadWidgets:l.default.func.isRequired,theme:l.default.string}).isRequired},f.defaultProps={text:""},t.default=f},ezaN:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n("eW0v"),s=r(u),c=n("5D9O"),l=r(c),f={background:"#FFF",border:0,borderRadius:"3px",boxShadow:"0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15)",margin:"1px",maxWidth:"658px",padding:0,width:"99.375%"},d={background:"#F8F8F8",padding:"50% 0",width:"100%",lineHeight:0,marginTop:"40px",textAlign:"center"},p={background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURczMzPf399fX1+bm5mzY9AMAAADiSURBVDjLvZXbEsMgCES5/P8/t9FuRVCRmU73JWlzosgSIIZURCjo/ad+EQJJB4Hv8BFt+IDpQoCx1wjOSBFhh2XssxEIYn3ulI/6MNReE07UIWJEv8UEOWDS88LY97kqyTliJKKtuYBbruAyVh5wOHiXmpi5we58Ek028czwyuQdLKPG1Bkb4NnM+VeAnfHqn1k4+GPT6uGQcvu2h2OVuIf/gWUFyy8OWEpdyZSa3aVCqpVoVvzZZ2VTnn2wU8qzVjDDetO90GSy9mVLqtgYSy231MxrY6I2gGqjrTY0L8fxCxfCBbhWrsYYAAAAAElFTkSuQmCC)",display:"block",height:"44px",margin:"0 auto -44px",position:"relative",top:"-22px",width:"44px"},h={color:"#000",fontFamily:"Arial,sans-serif",fontSize:"14px",fontStyle:"normal",fontWeight:"normal",lineHeight:"17px",textDecoration:"none",wordWrap:"break-word"},v=function(e){function t(){return o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"componentWillMount",value:function(){this.props.instagram.includeScript()}},{key:"componentDidMount",value:function(){this.props.instagram.loadWidgets(this.wrapper)}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.caption;return s.default.createElement("div",{className:"mtr-atomic mtr-atomic-backstage-embed-social-instagram"},s.default.createElement("blockquote",{className:"instagram-media","data-instgrm-captioned":!0,"data-instgrm-version":"7",style:f},s.default.createElement("div",{style:{padding:"8px"}},s.default.createElement("div",{style:d},s.default.createElement("div",{style:p})),s.default.createElement("p",{style:{margin:"8px 0 0 0",padding:"0 4px"}},s.default.createElement("a",{href:t,style:h,target:"_blank"},n)))))}}]),t}(u.Component);v.propTypes={url:l.default.string.isRequired,caption:l.default.string,instagram:l.default.shape({includeScript:l.default.func.isRequired,loadWidgets:l.default.func.isRequired}).isRequired},v.defaultProps={caption:null},t.default=v},"f+fx":function(e,t,n){"use strict";function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n=Math.floor(a)&&d<Math.floor(u),h=d=Math.floor(u),v=n.getActiveLink();return h?(o===v&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===o&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),s.updateStates()):p&&v!==o?(n.setActiveLink(o),e.props.hashSpy&&f.changeHash(o),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(o)),s.updateStates()):void 0}}};return l.defaultProps={offset:0},l},Element:function(e){return console.warn(“Helpers.Element is deprecated since v1.7.0″),function(t){function n(e){var t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return o(n,t),a(n,[{key:”componentDidMount”,value:function(){if(“undefined”==typeof window)return!1;this.registerElems(this.props.name)}},{key:”componentDidUpdate”,value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:”componentWillUnmount”,value:function(){if(“undefined”==typeof window)return!1;c.unregister(this.props.name)}},{key:”registerElems”,value:function(e){c.register(e,this.childBindings.domNode)}},{key:”render”,value:function(){return u.createElement(e,i({},this.props,{parentBindings:this.childBindings}))}}]),n}(u.Component)}}},f9rN:function(e,t,n){“use strict”;(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“6FdL”),i=r(o),a=n(“06Dm”),u=r(a),s=n(“nLIX”),c=r(s),l=function(){return(0,i.default)(function(){return e.FB&&e.FB.XFBML?{done:!0,value:e.FB}:null})};t.default=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.includeScript=function(){e.config.includeScript&&(0,u.default)(“https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v3.2″)},this.loadWidgets=function(){e.config.loadWidgets&&l().then(function(e){e.XFBML.parse()}).catch(function(e){throw c.default.error(e,”Facebook”),new Error(“error while parsing facebook post”)})},this.config=t}}).call(t,n(“h6ac”))},fjM8:function(e){function t(e){this.message=e}function n(e){var n=String(e).replace(/=+$/,””);if(n.length%4==1)throw new t(“‘atob’ failed: The string to be decoded is not correctly encoded.”);for(var o,i,a=0,u=0,s=””;i=n.charAt(u++);~i&&(o=a%4?64*o+i:i,a++%4)?s+=String.fromCharCode(255&o>>(-2*a&6)):0)i=r.indexOf(i);return s}var r=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=”;t.prototype=new Error,t.prototype.name=”InvalidCharacterError”,e.exports=”undefined”!=typeof window&&window.atob&&window.atob.bind(window)||n},h6ac:function(e){var t;t=function(){return this}();try{t=t||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(t=window)}e.exports=t},jA8q:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t){return Array.isArray(e)&&t.joinOutput?e.join(“”):e}},jSB1:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=n(“bG/q”),c=r(s),l=n(“oWE+”),f=function(e){var t=e.file,n=e.caption,r=e.rightsHolder;return i.default.createElement(“div”,{className:”mtr-atomic mtr-atomic-backstage-photo backstage-photo-wrapper”},i.default.createElement(“div”,{className:”backstage-photo”},i.default.createElement(“picture”,null,i.default.createElement(“source”,{srcSet:t.sizes.S.url,media:”(max-width: 375px)”}),i.default.createElement(“source”,{srcSet:t.sizes.M.url,media:”(max-width: 769px)”}),i.default.createElement(“img”,{src:t.sizes.L.url,alt:n}))),n?i.default.createElement(c.default,{caption:n,rightsHolder:r}):null)};f.propTypes={caption:u.default.string,rightsHolder:u.default.string,file:l.fileShape.isRequired},f.defaultProps={caption:null,rightsHolder:null},t.default=f},jTU6:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=n(“H2lW”),c=r(s),l=function(e){var t=e.videoId,n=e.caption,r=t%4+1,o={small:”https://s0″+r+”.video.glbimg.com/320×180/”+t+”.jpg”,original:”https://s0″+r+”.video.glbimg.com/640×360/”+t+”.jpg”};return i.default.createElement(“div”,{className:”mtr-atomic mtr-atomic-backstage-video backstage-video-wrapper”},i.default.createElement(“div”,{className:”backstage-video”,”data-video-id”:t,”data-title”:n},i.default.createElement(“picture”,null,i.default.createElement(“source”,{srcSet:o.small,media:”(max-width: 375px)”}),i.default.createElement(“source”,{srcSet:o.original,media:”(max-width: 769px)”}),i.default.createElement(“img”,{className:”backstage-video-thumb”,”data-video-id”:t,src:o.original,alt:n}))),n?i.default.createElement(c.default,{caption:n}):null)};l.propTypes={videoId:u.default.number.isRequired,caption:u.default.string},l.defaultProps={caption:null},t.default=l},”kD/w”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t=o.duration?1:t(o.progress/o.duration),o.currentPosition=o.startPosition+Math.ceil(o.delta*o.percent),o.containerElement&&o.containerElement!==document&&o.containerElement!==document.body?n.horizontal?o.containerElement.scrollLeft=o.currentPosition:o.containerElement.scrollTop=o.currentPosition:n.horizontal?window.scrollTo(o.currentPosition,0):window.scrollTo(0,o.currentPosition),o.percent0)return void(t.data.delayTimeout=window.setTimeout(function(){f.default.registered.begin&&f.default.registered.begin(t.data.to,t.data.target),v.call(window,i)},t.delay));f.default.registered.begin&&f.default.registered.begin(t.data.to,t.data.target),v.call(window,i)},O=function(e){return e=o({},e),e.data=e.data||y(),e.absolute=!0,e},k=function(e){S(0,O(e))},C=function(e,t){S(e,O(t))};t.default={animateTopScroll:S,getAnimationType:d,scrollToTop:k,scrollToBottom:function(e){e=O(e),E(e),S(e.horizontal?b(e):_(e),e)},scrollTo:C,scrollMore:function(e,t){t=O(t),E(t);var n=t.horizontal?m(t):g(t);S(e+n,t)}}},kcTY:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“aVAC”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},l262:function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},lB5c:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0}),t.Helpers=t.ScrollElement=t.ScrollLink=t.animateScroll=t.scrollSpy=t.Events=t.scroller=t.Element=t.Button=t.Link=void 0;var o=n(“ORnL”),i=r(o),a=n(“9km1”),u=r(a),s=n(“RGc6”),c=r(s),l=n(“45fX”),f=r(l),d=n(“cX2q”),p=r(d),h=n(“JAZJ”),v=r(h),y=n(“kD/w”),m=r(y),g=n(“7qbT”),b=r(g),_=n(“N2wP”),w=r(_),E=n(“f+fx”),S=r(E);t.Link=i.default,t.Button=u.default,t.Element=c.default,t.scroller=f.default,t.Events=p.default,t.scrollSpy=v.default,t.animateScroll=m.default,t.ScrollLink=b.default,t.ScrollElement=w.default,t.Helpers=S.default,t.default={Link:i.default,Button:u.default,Element:c.default,scroller:f.default,Events:p.default,scrollSpy:v.default,animateScroll:m.default,ScrollLink:b.default,ScrollElement:w.default,Helpers:S.default}},lGOK:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=function(e){return i.default.createElement(“svg”,{width:e.width,height:e.height,viewBox:”0 0 24 24″},i.default.createElement(“path”,{style:{fill:”#1DA1F2″},opacity:”0″,d:”M0 0h24v24H0z”}),i.default.createElement(“path”,{style:{fill:”#1DA1F2″},d:”M22.5 12.5c0-1.58-.875-2.95-2.148-3.6.154-.435.238-.905.238-1.4 0-2.21-1.71-3.998-3.818-3.998-.47 0-.92.084-1.336.25C14.818 2.415 13.51 1.5 12 1.5c-1.51 0-2.816.917-3.437 2.25-.415-.165-.866-.25-1.336-.25-2.11 0-3.818 1.79-3.818 4 0 .494.083.964.237 1.4-1.272.65-2.147 2.018-2.147 3.6 0 1.495.782 2.798 1.942 3.486-.02.17-.032.34-.032.514 0 2.21 1.708 4 3.818 4 .47 0 .92-.086 1.335-.25.62 1.334 1.926 2.25 3.437 2.25 1.512 0 2.818-.916 3.437-2.25.415.163.865.248 1.336.248 2.11 0 3.818-1.79 3.818-4 0-.174-.012-.344-.033-.513 1.158-.687 1.943-1.99 1.943-3.484zm-6.616-3.334l-4.334 6.5c-.145.217-.382.334-.625.334-.143 0-.288-.04-.416-.126l-.115-.094-2.415-2.415c-.293-.293-.293-.768 0-1.06s.768-.294 1.06 0l1.77 1.767 3.825-5.74c.23-.345.696-.436 1.04-.207.346.23.44.696.21 1.04z”}))};s.propTypes={width:u.default.string,height:u.default.string},s.defaultProps={width:”15″,height:”15″},t.default=s},lkHq:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});t.addPassiveEventListener=function(e,t,n){e.addEventListener(t,n,!!function(){var e=!1;try{var t=Object.defineProperty({},”passive”,{get:function(){e=!0}});window.addEventListener(“test”,null,t)}catch(e){}return e}()&&{passive:!0})},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n)}},mth5:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“6xcZ”),u=r(a),s=n(“8HRR”),c=r(s),l=function(e){return e.map(function(e){return[e,i.default.createElement(“br”,{key:e})]})},f={cleanup:{after:”all”,types:”all”,split:!0}};t.default=function(e,t){return(0,u.default)(e,{inline:{BOLD:function(e,t){return i.default.createElement(“strong”,{key:t.key},e)},ITALIC:function(e,t){return i.default.createElement(“em”,{key:t.key},e)},UNDERLINE:function(e,t){return i.default.createElement(“u”,{key:t.key},e)},CODE:function(e,t){return i.default.createElement(“span”,{key:t.key},e)}},blocks:{unstyled:function(e,t){var n=t.keys;return e.map(function(e,t){return i.default.createElement(“p”,{key:n[t]},e)})},blockquote:function(e,t){return i.default.createElement(“blockquote”,{key:t.keys.join(“|”)},l(e))},”header-one”:function(e,t){var n=t.keys;return e.map(function(e,t){return i.default.createElement(“h1″,{key:n[t]},e)})},”header-two”:function(e,t){var n=t.keys;return e.map(function(e,t){return i.default.createElement(“h2″,{key:n[t]},e)})},”code-block”:function(e,t){return i.default.createElement(“pre”,{key:t.keys.join(“|”)},l(e))},”unordered-list-item”:function(e,t){var n=t.depth,r=t.keys;return i.default.createElement(“ul”,{key:r.join(“|”),className:”ul-level-“+n},e.map(function(e,t){return i.default.createElement(“li”,{key:r[t]},e)}))},”ordered-list-item”:function(e,t){var n=t.depth,r=t.keys;return i.default.createElement(“ol”,{key:r.join(“|”),className:”ol-level-“+n},e.map(function(e,t){return i.default.createElement(“li”,{key:r[t]},e)}))},atomic:function(e,n){var r=n.keys,o=n.data;return e.map(function(e,n){return i.default.createElement(c.default,{key:r[n],data:o[n],config:t})})}},entities:{LINK:function(e,t,n){return i.default.createElement(“a”,{key:n.key,href:t.url},e)}}},f)}},nLIX:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var n=function(e,t){return”[megadraft-to-react”+(t?”@”+t+”]”:””)+” “+e};t.default={error:function(e,t){console.error(n(e,t))},warn:function(e,t){console.warn(n(e,t))}}},oCjY:function(e,t,n){function r(e){return decodeURIComponent(o(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}var o=n("fjM8");e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return r(t)}catch(e){return o(t)}}},oHVd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ee5D");t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},oVSe:function(e){e.exports={videoContainer:"videoContainer__20Bie",videoContent:"videoContent__ANO28",videoPlaceHolder:"videoPlaceHolder__p1gm_"}},"oWE+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configShape=t.fileShape=t.tweetListShape=t.tweetShape=void 0;var r=n("5D9O"),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=t.tweetShape=o.default.shape({user:o.default.shape({profile_image_url_https:o.default.string.isRequired,name:o.default.string.isRequired,screen_name:o.default.string.isRequired,verified:o.default.bool}).isRequired,text:o.default.string.isRequired,extended_entities:o.default.shape({media:o.default.arrayOf(o.default.shape({media_url_https:o.default.string.isRequired}))}),created_at:o.default.string.isRequired});t.tweetListShape=o.default.arrayOf(i),t.fileShape=o.default.shape({sizes:o.default.shape({S:o.default.shape({url:o.default.string.isRequired}),M:o.default.shape({url:o.default.string.isRequired}),L:o.default.shape({url:o.default.string.isRequired})}).isRequired}),t.configShape=o.default.shape({instagram:o.default.shape({includeScript:o.default.bool,loadWidgets:o.default.bool}),twitter:o.default.shape({includeScript:o.default.bool,loadWidgets:o.default.bool})})},or5d:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.BACKSTAGE_EMBED_SOCIAL="embed-social",t.BACKSTAGE_EMBED_POLL="votacao",t.BACKSTAGE_TWITTER_SEARCH="twitter-search-plugin",t.BACKSTAGE_PHOTO="backstage-photo",t.BACKSTAGE_VIDEO="backstage-video"},pG0S:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Cu9P");t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},"pv+l":function(e){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}},pwNi:function(e,t,n){"use strict";var r=n("KM04");"serviceWorker"in navigator&&"https:"===location.protocol&&navigator.serviceWorker.register(n.p+"sw.js");var o=function(e){return e&&e.default?e.default:e};if("function"==typeof o(n("JkW7"))){var i=document.body.firstElementChild,a=function(){var e=o(n("JkW7"));i=(0,r.render)((0,r.h)(e),document.body,i)};a()}},tL52:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(e){this.decorators=e}return n(e,[{key:"getDecorations",value:function(e,t){var n=new Array(e.getText().length).fill(null);return this.decorators.forEach(function(r,o){r.getDecorations(e,t).forEach(function(e,t){e&&(n[t]=o+"-"+e)})}),n}},{key:"getComponentForKey",value:function(t){return this.getDecoratorForKey(t).getComponentForKey(e.getInnerKey(t))}},{key:"getPropsForKey",value:function(t){return this.getDecoratorForKey(t).getPropsForKey(e.getInnerKey(t))}},{key:"getDecoratorForKey",value:function(e){var t=e.split("-");return this.decorators[Number(t[0])]}}],[{key:"getInnerKey",value:function(e){return e.split("-").slice(1).join("-")}}]),e}()},uq6Q:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],i=0,a=[].concat(o(e),o(t)).sort(function(e,t){return e.offset-t.offset}),u=[];return a.lengthi&&u.push(new d.default({block:r,start:i,end:e.offset})),u.push(new d.default({block:r,entity:e.key,decorator:e.component,decoratorProps:e.decoratorProps,decoratedText:e.component?p(n,e.offset,e.offset+e.length):void 0,start:e.offset,end:e.offset+e.length,contentState:e.contentState})),i=e.offset+e.length}),i2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=[];return o=a(o,t),o=a(o,n),o=a(o,r),o.push(0),o.push(e.length),o.filter(function(e,t,n){return n.indexOf(e)===t}).sort(function(e,t){return e-t})}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n=t.offset&&e<t.offset+t.length}).map(function(e){return e.style})}},{key:"nodeIterator",value:function(e,t,n){var r=this,o=this.relevantIndexes.slice(this.relevantIndexes.indexOf(t),this.relevantIndexes.indexOf(n));return o.forEach(function(t,i){var a=r.relevantStyles(t),u=o[i+1]?o[i+1]-t:1,s=p(r.textArray,t,t+u);e.pushContent(s,a,r.flat),!o[i+1]&&t<n&&e.pushContent(p(r.textArray,t+1,n),r.relevantStyles(n-1),r.flat)}),e}},{key:"parse",value:function(e){var t=this,n=e.text,r=e.inlineStyleRanges,o=e.entityRanges,a=e.decoratorRanges,s=void 0===a?[]:a;this.textArray=l.default.ucs2.decode(n),this.ranges=r,this.iterator=0,this.relevantIndexes=u(n,r,o,s);var c=i(o,s,this.textArray,e),f=c.map(function(e){return t.nodeIterator(e,e.start,e.end)});return new d.default({block:e,content:f})}}]),e}()},vd0I:function(e){e.exports={quizAds:"quizAds__3Wsjb",questionBox:"questionBox___zF6g",questionTitle:"questionTitle__1l8Z4",questionMediaBox:"questionMediaBox__3v0yz"}},vmqR:function(e){e.exports={correctIcon:"correctIcon__39DZL",answer:"answer__sQwLg",correct:"correct__1f7e_",incorrectIcon:"incorrectIcon__RD4P6",incorrect:"incorrect__1K3CP",selectedIcon:"selectedIcon__sGilq",selected:"selected__3VuGi",withMedia:"withMedia__25Pr4",withText:"withText__3aRJv",answerMediaBox:"answerMediaBox__1gcOW",hit:"hit__1XvR4",pingWithoutDelay:"pingWithoutDelay__1NtJ-",pingWithDelay:"pingWithDelay__koV1x",shake:"shake__3pp7Y",disabled:"disabled__gzTac",answerActive:"answerActive__1CBD-"}},wRwY:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=0;return function(){var t=e;return e+=1,t}}},wVGV:function(e,t,n){"use strict";function r(){}function o(){}var i=n("Asjh");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},xuSr:function(e,t,n){"use strict";function r(){}function o(){}var i=n("Be6F");o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},yIsO:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised – super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0)throw new Error(“Invalid string. Length must be a multiple of 4”);var n=e.indexOf(“=”);return-1===n&&(n=t),[n,n===t?0:4-n%4]}function r(e){var t=n(e),r=t[0],o=t[1];return 3*(r+o)/4-o}function o(e,t,n){return 3*(t+n)/4-n}function i(e){var t,r,i=n(e),a=i[0],u=i[1],s=new f(o(e,a,u)),c=0,d=u>0?a-4:a;for(r=0;r<d;r+=4)t=l[e.charCodeAt(r)]<<18|l[e.charCodeAt(r+1)]<<12|l[e.charCodeAt(r+2)]<>16&255,s[c++]=t>>8&255,s[c++]=255&t;return 2===u&&(t=l[e.charCodeAt(r)]<>4,s[c++]=255&t),1===u&&(t=l[e.charCodeAt(r)]<<10|l[e.charCodeAt(r+1)]<>2,s[c++]=t>>8&255,s[c++]=255&t),s}function a(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function u(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(a(r));return o.join("")}function s(e){for(var t,n=e.length,r=n%3,o=[],i=0,a=n-r;ia?a:i+16383));return 1===r?(t=e[n-1],o.push(c[t>>2]+c[t<<4&63]+"==")):2===r&&(t=(e[n-2]<>10]+c[t>>4&63]+c[t<<2&63]+"=")),o.join("")}t.byteLength=r,t.toByteArray=i,t.fromByteArray=s;for(var c=[],l=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=d.length;p



    Source link

    - Advertisement -spot_img

    More From UrbanEdge

    João Raul e Agrado discutem depois que a cantora revela farsa de Naiane

    No capítulo de “Coração acelerado” que...

    ‘Bom gosto e elegância nunca foram para todos’

    Na alfaiataria, a peça foi incorporada...
    - Advertisement -spot_img