“),n.document.close(),n.focus(),!0};t.getAdConfig=function(){var e=window.cdaaas&&window.cdaaas.SETTINGS||{},t={adUnit:e.TAG_MANAGER_AD_UNIT,adCustomData:e.TAG_MANAGER_AD_CUSTOM_DATA,adCmsId:e.TAG_MANAGER_AD_CMS_ID,adAccountId:e.TAG_MANAGER_AD_ACCOUNT_ID,extras:e.TAG_MANAGER_AD_EXTRAS,gaProductUA:e.PRODUCT_UA},n={width:”100%”,height:”100%”,adUnit:t.adUnit,adCmsId:t.adCmsId,adAccountId:t.adAccountId,ga:{productUA:t.gaProductUA,extras:{dimension1:”web”}}},r=[“ambient=web”,”tipo_pagina=multi-content”];if(t.adCustomData&&r.push(t.adCustomData),t.extras){if(“object”===o(t.extras)){var c=[];for(var i in t.extras)c.push(encodeURIComponent(i+”=”+t.extras[i]));r.push(“tvg_Extras=”.concat(c.join(“,”)))}”string”==typeof t.extras&&r.push(“tvg_Extras=”.concat(t.extras))}return n.adCustomData=r.join(“&”),n};var r=function(e,t){var n=document.createElement(“script”);n.type=”text/javascript”,n.defer=!0,n.charset=”utf-8″,n.src=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||”complete”==this.readyState)&&t()},document.getElementsByTagName(“head”)[0].appendChild(n)};t.loadScript=r;var c=function(e,t){var n=document.createElement(“link”);n.type=”text/css”,n.rel=”stylesheet”,n.media=”screen,print”,n.href=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||”complete”==this.readyState)&&t()},document.getElementsByTagName(“head”)[0].appendChild(n)};t.loadStyle=c;t.loadAssets=function(e,t){e.forEach(function(e){switch(e.type){case”stylesheet”:c(e.src,t);break;case”script”:r(e.src,t)}})};t.whenAvailable=function(e,t){window.setTimeout(function n(){window[e]?t():window.setTimeout(n,50)},50)}},,,,,,,,,function(e,t,n){},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.adsLazyload=function(){var e=document.querySelectorAll(“.ads–lazy”);if(0===e.length)return;var t=!0,n=!1,r=void 0;try{for(var c,i=function(){var e=c.value;window.ScrollSpy.add({el:e,offset:200,callback:function(){(0,o.whenAvailable)(“bannerLazyLoading”,function(){!function(e){var t=e.getAttribute(“data-id”);e.setAttribute(“id”,t),setTimeout(window.bannerLazyLoading(t),0)}(e)})}})},a=e[Symbol.iterator]();!(t=(c=a.next()).done);t=!0)i()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}};var o=n(0)},function(e,t,n){“use strict”;var o,r,c;function i(e){return(i=”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)}!function(n,a){“object”==i(t)&&void 0!==e?a(t):(r=[t],void 0===(c=”function”==typeof(o=a)?o.apply(t,r):o)||(e.exports=c))}(0,function(e){var t,n,o=[];function r(e){var t=!0;return function(){t&&(e(),t=!1,setTimeout(function(){return t=!0},150))}}function c(e){var t=i();return e.el.getBoundingClientRect()[e.reference]+t-e.offset}function i(){if(“undefined”!=typeof pageYOffset)return pageYOffset;var e=document.documentElement;return(e=e.clientHeight?e:document.body).scrollTop}function a(){}function d(){var e;e=document.body.offsetHeight,n!==e&&(n=e,function(){t=window.innerHeight;for(var e=0,n=o;e=l.pos))break;l.callback&&l.callback(),o.shift()}o.length||(window.removeEventListener(“scroll”,r(d)),window.removeEventListener(“resize”,r(a)))}e.add=function(e){if(!e.el)throw new Error(“[@globocom/scrollspy] item.el is required”);var i=Object.assign({offset:200,reference:”top”,pos:0},e);i.pos=c(i);var l=o.findIndex(function(e){return e.pos>i.pos});o.splice(-1===l?o.length:l,0,i),1===o.length&&(t=window.innerHeight,n=document.body?document.body.offsetHeight:0,window.addEventListener(“scroll”,r(d)),window.addEventListener(“resize”,r(a))),u()},e.clean=function(){o=[]},e.debug=function(){return o.forEach(function(e,t){var n=”2px dashed “+(t%2?”red”:”blue”),o=document.createElement(“div”),r=[“top: “+e.pos+”;”,”width: 100%;”,”position: absolute;”,”border-top: “+n+”;”].join(“”);e.el.style.border=n,o.className=”debug-line”,o.setAttribute(“style”,r),document.body.appendChild(o)}),o},e.getItems=function(){return o.map(function(e){return e})},Object.defineProperty(e,”__esModule”,{value:!0})})},function(e,t,n){“use strict”;var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(11)),r=n(10);n(9),window.ScrollSpy=o,document.addEventListener(“bannerLazyLoadingReady”,r.adsLazyload)}]);
!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=2)}([,function(e,t,n){},function(e,t,n){“use strict”;n(1)}]);
!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-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.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError(‘option “maxStringLength”, if provided, must be a positive integer, Infinity, or `null`’);var g=!z(c,”customInspect”)||c.customInspect;if(“boolean”!=typeof g&&”symbol”!==g)throw new TypeError(“option \”customInspect\”, if provided, must be `true`, `false`, or `’symbol’`”);if(z(c,”indent”)&&null!==c.indent&&”\t”!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))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),/^function\s*([\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+=””+_.call(String(n.nodeName))+”>”}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=200&&e<300},headers:{common:{Accept:”application/json, text/plain, */*”}}};r.forEach([“delete”,”get”,”head”],function(e){s.headers[e]={}}),r.forEach([“post”,”put”,”patch”],function(e){s.headers[e]=r.merge(i)}),e.exports=s}).call(this,n(53))},function(e,t,n){“use strict”;var r=n(24),o=n(73),i=n(74),a=n(75),s=n(76),c=n(77),l=n(4),u=n(78),p=n(79),d=n(80),f=n(81),h=n(82),g=n(83),m=n(84),y=n(85),v=Function,b=function(e){try{return v(‘”use strict”; return (‘+e+”).constructor;”)()}catch(e){}},w=n(25),_=n(88),x=function(){throw new l},S=w?function(){try{return arguments.callee,x}catch(e){try{return w(arguments,”callee”).get}catch(e){return x}}}():x,E=n(89)(),A=n(91),O=n(27),C=n(26),L=n(29),j=n(13),k={},P=”undefined”!=typeof Uint8Array&&A?A(Uint8Array):void 0,T={__proto__:null,”%AggregateError%”:”undefined”==typeof AggregateError?void 0:AggregateError,”%Array%”:Array,”%ArrayBuffer%”:”undefined”==typeof ArrayBuffer?void 0:ArrayBuffer,”%ArrayIteratorPrototype%”:E&&A?A([][Symbol.iterator]()):void 0,”%AsyncFromSyncIteratorPrototype%”:void 0,”%AsyncFunction%”:k,”%AsyncGenerator%”:k,”%AsyncGeneratorFunction%”:k,”%AsyncIteratorPrototype%”:k,”%Atomics%”:”undefined”==typeof Atomics?void 0:Atomics,”%BigInt%”:”undefined”==typeof BigInt?void 0:BigInt,”%BigInt64Array%”:”undefined”==typeof BigInt64Array?void 0:BigInt64Array,”%BigUint64Array%”:”undefined”==typeof BigUint64Array?void 0:BigUint64Array,”%Boolean%”:Boolean,”%DataView%”:”undefined”==typeof DataView?void 0:DataView,”%Date%”:Date,”%decodeURI%”:decodeURI,”%decodeURIComponent%”:decodeURIComponent,”%encodeURI%”:encodeURI,”%encodeURIComponent%”:encodeURIComponent,”%Error%”:o,”%eval%”:eval,”%EvalError%”:i,”%Float16Array%”:”undefined”==typeof Float16Array?void 0:Float16Array,”%Float32Array%”:”undefined”==typeof Float32Array?void 0:Float32Array,”%Float64Array%”:”undefined”==typeof Float64Array?void 0:Float64Array,”%FinalizationRegistry%”:”undefined”==typeof FinalizationRegistry?void 0:FinalizationRegistry,”%Function%”:v,”%GeneratorFunction%”:k,”%Int8Array%”:”undefined”==typeof Int8Array?void 0:Int8Array,”%Int16Array%”:”undefined”==typeof Int16Array?void 0:Int16Array,”%Int32Array%”:”undefined”==typeof Int32Array?void 0:Int32Array,”%isFinite%”:isFinite,”%isNaN%”:isNaN,”%IteratorPrototype%”:E&&A?A(A([][Symbol.iterator]())):void 0,”%JSON%”:”object”==typeof JSON?JSON:void 0,”%Map%”:”undefined”==typeof Map?void 0:Map,”%MapIteratorPrototype%”:”undefined”!=typeof Map&&E&&A?A((new Map)[Symbol.iterator]()):void 0,”%Math%”:Math,”%Number%”:Number,”%Object%”:r,”%Object.getOwnPropertyDescriptor%”:w,”%parseFloat%”:parseFloat,”%parseInt%”:parseInt,”%Promise%”:”undefined”==typeof Promise?void 0:Promise,”%Proxy%”:”undefined”==typeof Proxy?void 0:Proxy,”%RangeError%”:a,”%ReferenceError%”:s,”%Reflect%”:”undefined”==typeof Reflect?void 0:Reflect,”%RegExp%”:RegExp,”%Set%”:”undefined”==typeof Set?void 0:Set,”%SetIteratorPrototype%”:”undefined”!=typeof Set&&E&&A?A((new Set)[Symbol.iterator]()):void 0,”%SharedArrayBuffer%”:”undefined”==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,”%String%”:String,”%StringIteratorPrototype%”:E&&A?A(“”[Symbol.iterator]()):void 0,”%Symbol%”:E?Symbol:void 0,”%SyntaxError%”:c,”%ThrowTypeError%”:S,”%TypedArray%”:P,”%TypeError%”:l,”%Uint8Array%”:”undefined”==typeof Uint8Array?void 0:Uint8Array,”%Uint8ClampedArray%”:”undefined”==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,”%Uint16Array%”:”undefined”==typeof Uint16Array?void 0:Uint16Array,”%Uint32Array%”:”undefined”==typeof Uint32Array?void 0:Uint32Array,”%URIError%”:u,”%WeakMap%”:”undefined”==typeof WeakMap?void 0:WeakMap,”%WeakRef%”:”undefined”==typeof WeakRef?void 0:WeakRef,”%WeakSet%”:”undefined”==typeof WeakSet?void 0:WeakSet,”%Function.prototype.call%”:j,”%Function.prototype.apply%”:L,”%Object.defineProperty%”:_,”%Object.getPrototypeOf%”:O,”%Math.abs%”:p,”%Math.floor%”:d,”%Math.max%”:f,”%Math.min%”:h,”%Math.pow%”:g,”%Math.round%”:m,”%Math.sign%”:y,”%Reflect.getPrototypeOf%”:C};if(A)try{null.error}catch(e){var I=A(A(e));T[“%Error.prototype%”]=I}var R={__proto__:null,”%ArrayBufferPrototype%”:[“ArrayBuffer”,”prototype”],”%ArrayPrototype%”:[“Array”,”prototype”],”%ArrayProto_entries%”:[“Array”,”prototype”,”entries”],”%ArrayProto_forEach%”:[“Array”,”prototype”,”forEach”],”%ArrayProto_keys%”:[“Array”,”prototype”,”keys”],”%ArrayProto_values%”:[“Array”,”prototype”,”values”],”%AsyncFunctionPrototype%”:[“AsyncFunction”,”prototype”],”%AsyncGenerator%”:[“AsyncGeneratorFunction”,”prototype”],”%AsyncGeneratorPrototype%”:[“AsyncGeneratorFunction”,”prototype”,”prototype”],”%BooleanPrototype%”:[“Boolean”,”prototype”],”%DataViewPrototype%”:[“DataView”,”prototype”],”%DatePrototype%”:[“Date”,”prototype”],”%ErrorPrototype%”:[“Error”,”prototype”],”%EvalErrorPrototype%”:[“EvalError”,”prototype”],”%Float32ArrayPrototype%”:[“Float32Array”,”prototype”],”%Float64ArrayPrototype%”:[“Float64Array”,”prototype”],”%FunctionPrototype%”:[“Function”,”prototype”],”%Generator%”:[“GeneratorFunction”,”prototype”],”%GeneratorPrototype%”:[“GeneratorFunction”,”prototype”,”prototype”],”%Int8ArrayPrototype%”:[“Int8Array”,”prototype”],”%Int16ArrayPrototype%”:[“Int16Array”,”prototype”],”%Int32ArrayPrototype%”:[“Int32Array”,”prototype”],”%JSONParse%”:[“JSON”,”parse”],”%JSONStringify%”:[“JSON”,”stringify”],”%MapPrototype%”:[“Map”,”prototype”],”%NumberPrototype%”:[“Number”,”prototype”],”%ObjectPrototype%”:[“Object”,”prototype”],”%ObjProto_toString%”:[“Object”,”prototype”,”toString”],”%ObjProto_valueOf%”:[“Object”,”prototype”,”valueOf”],”%PromisePrototype%”:[“Promise”,”prototype”],”%PromiseProto_then%”:[“Promise”,”prototype”,”then”],”%Promise_all%”:[“Promise”,”all”],”%Promise_reject%”:[“Promise”,”reject”],”%Promise_resolve%”:[“Promise”,”resolve”],”%RangeErrorPrototype%”:[“RangeError”,”prototype”],”%ReferenceErrorPrototype%”:[“ReferenceError”,”prototype”],”%RegExpPrototype%”:[“RegExp”,”prototype”],”%SetPrototype%”:[“Set”,”prototype”],”%SharedArrayBufferPrototype%”:[“SharedArrayBuffer”,”prototype”],”%StringPrototype%”:[“String”,”prototype”],”%SymbolPrototype%”:[“Symbol”,”prototype”],”%SyntaxErrorPrototype%”:[“SyntaxError”,”prototype”],”%TypedArrayPrototype%”:[“TypedArray”,”prototype”],”%TypeErrorPrototype%”:[“TypeError”,”prototype”],”%Uint8ArrayPrototype%”:[“Uint8Array”,”prototype”],”%Uint8ClampedArrayPrototype%”:[“Uint8ClampedArray”,”prototype”],”%Uint16ArrayPrototype%”:[“Uint16Array”,”prototype”],”%Uint32ArrayPrototype%”:[“Uint32Array”,”prototype”],”%URIErrorPrototype%”:[“URIError”,”prototype”],”%WeakMapPrototype%”:[“WeakMap”,”prototype”],”%WeakSetPrototype%”:[“WeakSet”,”prototype”]},M=n(9),N=n(96),D=M.call(j,Array.prototype.concat),q=M.call(L,Array.prototype.splice),U=M.call(j,String.prototype.replace),B=M.call(j,String.prototype.slice),F=M.call(j,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([“‘])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,V=function(e,t){var n,r=e;if(N(R,r)&&(r=”%”+(n=R[r])[0]+”%”),N(T,r)){var o=T[r];if(o===k&&(o=function e(t){var n;if(“%AsyncFunction%”===t)n=b(“async function () {}”);else if(“%GeneratorFunction%”===t)n=b(“function* () {}”);else if(“%AsyncGeneratorFunction%”===t)n=b(“async function* () {}”);else if(“%AsyncGenerator%”===t){var r=e(“%AsyncGeneratorFunction%”);r&&(n=r.prototype)}else if(“%AsyncIteratorPrototype%”===t){var o=e(“%AsyncGenerator%”);o&&A&&(n=A(o.prototype))}return T[t]=n,n}(r)),void 0===o&&!t)throw new l(“intrinsic “+e+” exists, but is not available. Please file an issue!”);return{alias:n,name:r,value:o}}throw new c(“intrinsic “+e+” does not exist!”)};e.exports=function(e,t){if(“string”!=typeof e||0===e.length)throw new l(“intrinsic name must be a non-empty string”);if(arguments.length>1&&”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-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;r1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o=1024?a.slice(c,c+1024):a,u=[],p=0;p=48&&f<=57||f>=65&&f<=90||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<2048?u[u.length]=d[192|f>>6]+d[128|63&f]:f<55296||f>=57344?u[u.length]=d[224|f>>12]+d[128|f>>6&63]+d[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&l.charCodeAt(p)),u[u.length]=d[240|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;re.length)&&(t=e.length);for(var n=0,r=Array(t);n3?(o=h===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=e<2&&fr||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?a<3?(a>1&&(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<<8|n}return a}},function(e,t,n){“use strict”;var r=n(0);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+”=”+encodeURIComponent(t)),r.isNumber(n)&&s.push(“expires=”+new Date(n).toGMTString()),r.isString(o)&&s.push(“path=”+o),r.isString(i)&&s.push(“domain=”+i),!0===a&&s.push(“secure”),document.cookie=s.join(“; “)},read:function(e){var t=document.cookie.match(new RegExp(“(^|;\\s*)(“+e+”)=([^;]*)”));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,””,Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){“use strict”;var r=n(0);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},function(e,t,n){“use strict”;var r=n(0),o=n(64),i=n(20),a=n(11);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach([“delete”,”get”,”head”,”post”,”put”,”patch”,”common”],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){“use strict”;var r=n(0);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){“use strict”;e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){“use strict”;e.exports=function(e,t){return t?e.replace(/\/+$/,””)+”/”+t.replace(/^\/+/,””):e}},function(e,t,n){“use strict”;var r=n(21);function o(e){if(“function”!=typeof e)throw new TypeError(“executor must be a function.”);var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},function(e,t,n){“use strict”;e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){“use strict”;var r=n(22),o=n(31),i=n(14),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+”[]”},comma:”comma”,indices:function(e,t){return e+”[“+t+”]”},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,u=function(e,t){l.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:”indices”,charset:”utf-8″,charsetSentinel:!1,commaRoundTrip:!1,delimiter:”&”,encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},h={},g=function e(t,n,i,a,s,l,p,d,g,m,y,v,b,w,_,x,S,E){for(var A=t,O=E,C=0,L=!1;void 0!==(O=O.get(h))&&!L;){var j=O.get(t);if(C+=1,void 0!==j){if(j===C)throw new RangeError(“Cyclic object value”);L=!0}void 0===O.get(h)&&(C=0)}if(“function”==typeof m?A=m(n,A):A instanceof Date?A=b(A):”comma”===i&&c(A)&&(A=o.maybeMap(A,function(e){return e instanceof Date?b(e):e})),null===A){if(l)return g&&!x?g(n,f.encoder,S,”key”,w):n;A=””}if(function(e){return”string”==typeof e||”number”==typeof e||”boolean”==typeof e||”symbol”==typeof e||”bigint”==typeof e}(A)||o.isBuffer(A))return g?[_(x?n:g(n,f.encoder,S,”key”,w))+”=”+_(g(A,f.encoder,S,”value”,w))]:[_(n)+”=”+_(String(A))];var k,P=[];if(void 0===A)return P;if(“comma”===i&&c(A))x&&g&&(A=o.maybeMap(A,g)),k=[{value:A.length>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;M0?_+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-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&&h<=n.arrayLimit?(u=[])[h]=s:”__proto__”!==f&&(u[f]=s):u={0:s}}s=u}return s}(a,t,n,i)}};e.exports=function(e,t){var n=function(e){if(!e)return a;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.decodeDotInKeys&&”boolean”!=typeof e.decodeDotInKeys)throw new TypeError(“`decodeDotInKeys` option can only be `true` or `false`, when provided”);if(null!==e.decoder&&void 0!==e.decoder&&”function”!=typeof e.decoder)throw new TypeError(“Decoder has to be a function.”);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”);if(void 0!==e.throwOnLimitExceeded&&”boolean”!=typeof e.throwOnLimitExceeded)throw new TypeError(“`throwOnLimitExceeded` option must be a boolean”);var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if(“combine”!==n&&”first”!==n&&”last”!==n)throw new TypeError(“The duplicates option must be either combine, first, or last”);return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:”boolean”==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:”boolean”==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:”boolean”==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:”number”==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:”boolean”==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:”boolean”==typeof e.comma?e.comma:a.comma,decodeDotInKeys:”boolean”==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:”function”==typeof e.decoder?e.decoder:a.decoder,delimiter:”string”==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:”number”==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:”boolean”==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:”number”==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:”boolean”==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:”boolean”==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:”boolean”==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:”boolean”==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(“”===e||null===e||void 0===e)return n.plainObjects?{__proto__:null}:{};for(var u=”string”==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,””):e;l=l.replace(/%5B/gi,”[“).replace(/%5D/gi,”]”);var u=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,t.throwOnLimitExceeded?u+1:u);if(t.throwOnLimitExceeded&&p.length>u)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-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()=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@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<400?(r=g.responseText,d&&(r=JSON.parse(r)),e.complete(r,u,o,m,d,i)):(console.error(“AjaxCache Request Error”,g.status,g.responseText),s(g.status,g))}}(this)),g.onerror||(g.onerror=function(){return console.error(“AjaxCache Request Error”,g.status,g.responseText),s(g.status,g)}),”GET”!==e&&c?(h&&(c=JSON.stringify(c)),f?setTimeout(function(){return g.send(c)},0):g.send(c)):f?setTimeout(function(){return g.send()},0):g.send(),y&&(p=setTimeout(function(){if(null!=g.abort)return g.abort()},y)),g):(console.error(“AjaxCache Request Error”,”This browser does not support this operation”),s(“500”,g),g);i(r)},e.prototype.getJsonp=function(e,t){var n,r,o,i,a,c,l;i=null!=t.expire&&t.expire>=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<=300)(e.timeStamp)&&t()};this.addEventListener(“touchmove”,i),this.addEventListener(“touchend”,a)})};var q=(()=>{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(“),{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 ${s(e,n)}\n ${((e=””)=>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{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<=0?”hide”:”show”,Promise.resolve())],e=>{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’,” “).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()):ne.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<=300)(e.timeStamp)&&t()};this.addEventListener(“touchmove”,i,{passive:!0}),this.addEventListener(“touchend”,a,{passive:!0})})};var je=(()=>{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<0&&r()};return{open:()=>{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)<1&&n(“.menu-initial”,d)&&(E=0,m.classList.remove(“menu-initial”)),C(E),m.addEventListener(“transitionend”,L)})})}),P=x(function(){const e=this.parentNode;l.push(e),e.classList.contains(“is-father”)?j(()=>{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://globorural.globo.com/${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(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”,d=s.asyncIterator||”@@asyncIterator”,l=s.toStringTag||”@@toStringTag”;function p(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},””)}catch(e){p=function(t,e,o){return t[e]=o}}function h(t,e,o,r){var i=e&&e.prototype instanceof w?e:w,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=h;var g=”suspendedStart”,v=”suspendedYield”,_=”executing”,y=”completed”,m={};function w(){}function O(){}function b(){}var L={};p(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=w.prototype=Object.create(L);function S(t){[“next”,”throw”,”return”].forEach(function(e){p(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 d=u.arg,l=d.value;return l&&”object”==r(l)&&a.call(l,”__await”)?e.resolve(l.__await).then(function(t){o(“next”,t,c,s)},function(t){o(“throw”,t,c,s)}):e.resolve(l).then(function(t){d.value=t,c(d)},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===_)throw Error(“Generator is already running”);if(i===y){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=y,r.arg;r.dispatchException(r.arg)}else”return”===r.method&&r.abrupt(“return”,r.arg);i=_;var u=f(t,o,r);if(“normal”===u.type){if(i=r.done?y:v,u.arg===m)continue;return{value:u.arg,done:r.done}}”throw”===u.type&&(i=y,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=0;–o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&a.call(r,”finallyLoc”)&&this.prev=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:”7075″,id_simple:”7075″,cod_prod:”monet”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},autoesporte:{id:”6985″,id_simple:”6985″,cod_prod:”auto-esporte”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},vogue:{id:”7061″,id_simple:”7061″,cod_prod:”vogue”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},glamour:{id:”7021″,id_simple:”7021″,cod_prod:”glamour”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},casavogue:{id:”7069″,id_simple:”7069″,cod_prod:”casa-vogue”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},marieclaire:{id:”7073″,id_simple:”7073″,cod_prod:”marie-claire”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},globorural:{id:”7062″,id_simple:”7062″,cod_prod:”globo-rural”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},gq:{id:”7071″,id_simple:”7071″,cod_prod:”gq”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},crescer:{id:”7065″,id_simple:”7065″,cod_prod:”crescer”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},galileu:{id:”7076″,id_simple:”7076″,cod_prod:”galileu”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},epocanegocios:{id:”7070″,id_simple:”7070″,cod_prod:”epoca-negocios”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},casaejardim:{id:”7072″,id_simple:”7072″,cod_prod:”casa-jardim”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},quem:{id:”7077″,id_simple:”7077″,cod_prod:”quem”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},pegn:{id:”7074″,id_simple:”7074″,cod_prod:”pequenas-empresas”,isOidcLogin:!1,isNewLoginService:!0,productGroup:””},vidadebicho:{id:”7079″,id_simple:”7079″,cod_prod:”vida-bicho”,isOidcLogin:!1,isNewLoginService:!0,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”}}),d=5e3,l=”UserDataGloboId”;class p{constructor(t=”oglobo”,e=”prod”,o=!1){this.tenant=t,this.config={…s[t],…u[e]},this.config.MODE=this.config.MODE===c||o?c:this.config.MODE,this._setData({autorizado:!1,logado:!1,motivo:””,glbid:””,uuid:””,access_token:””})}static base64UrlDecode(t){let e=t.replace(/-/g,”+”).replace(/_/g,”/”);for(;e.length%4;)e+=”=”;return atob(e)}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 p.eraseCookie(l);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=t.split(“.”)[1],o=p.base64UrlDecode(e);return JSON.parse(o)}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 ${l}`)}}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)},d)})}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 p.getCookie(“GLBID”)}_getUTP(){return p.getCookie(“_utp”)}_getGLOBOID(){return p.getCookie(“GLOBO_ID”)}_getCookieCache(){return p.getCookie(l)}_setCookieCache(){p.setCookie(l,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 h=p,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,i;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new h(v,_,!0),t.next=3,e.getData();case 3:o=t.sent,r=o.autorizado||!1,i=null,window.tp&&window.tp.customVariables&&(i=window.tp.customVariables.exAssinante),OneSignal.push(function(){OneSignal.sendTag(“autorizado”,r),null!==i&&OneSignal.sendTag(“ex-assinante”,i)});case 8:case”end”:return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),v=window.tenant?window.tenant:null,_=window.glb&&”function”==typeof window.glb.getCurrentEnv?window.glb.getCurrentEnv():f(),y=window.OneSignalConfig&&window.OneSignalConfig.tenantsNotReq?window.OneSignalConfig.tenantsNotReq:[];window.addEventListener(“load”,function(){v&&!y.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 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||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.length<10||e.duration>t.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.value<0&&L()>0&&(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(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);window.addEventListener(“load”,()=>{let e=document.createElement(“BUTTON”);e.classList.add(“btn-fullbanner-close”),e.setAttribute(“width”,”10px”),e.setAttribute(“height”,”10px”),document.querySelector(“#mc-container-top”).appendChild(e),document.querySelector(“.btn-fullbanner-close”).addEventListener(“click”,e=>e.target.parentNode.classList.remove(“banner-scroll-fixed”)),document.querySelector(“.btn-fullbanner-close”).addEventListener(“click”,e=>e.target.parentNode.classList.add(“banner-hide”))})},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 o(n){if(t[n])return t[n].exports;var l=t[n]={i:n,l:!1,exports:{}};return e[n].call(l.exports,l,l.exports,o),l.l=!0,l.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(o.r(n),Object.defineProperty(n,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var l in e)o.d(n,l,function(t){return e[t]}.bind(null,l));return n},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=0)}([function(e,t,o){“use strict”;o.r(t);o(1);let n=”localhost”,l=”api-orama.valorinveste.dev.globoi.com”,i=”api-orama.valorinveste.globo.com”,r=”valorinveste.qa.globoi.com”,a=”orama.valorinveste.dev.globoi.com”,c=”orama.valorinveste.globo.com”,s=”valorinveste.globo.com”;window.location.hostname;window.addEventListener(“load”,function(){console.log(“OnLoad Home finished!”),u(“valor_investe”,!1)}),document.getElementById(“pirulitoButton”)&&document.getElementById(“pirulitoButton”).addEventListener(“click”,u(“valor_investe”,!0)),document.getElementById(“aw0”)&&document.getElementById(“aw0”).addEventListener(“click”,u(“valor_investe”,!0));let u=(e,t)=>{let o=window.ga,n=window.location.hostname;if(n===r||n===a||n===s||n===c)if(o){let n=o.getByName(e).get(“clientId”),l=window.location.href;t?(((e,t)=>{if(document.getElementById(“pirulitoButton”)){let o=document.getElementById(“pirulitoButton”).href;”valorinveste”===o.split(“.”)[1]?(d({clientId:e,hosts:o}),t.push(o)):localStorage.setItem(“Pirulito clicado”,document.getElementById(“pirulitoButton”).href)}})(n,l),((e,t)=>{if(document.getElementById(“aw0”)){let o=document.getElementById(“aw0”).href;”valorinveste”===o.split(“.”)[1]?(d({clientId:e,hosts:o}),t.push(o)):localStorage.setItem(“Banner clicado”,document.getElementById(“aw0”).href)}})(n,l)):d({clientId:n,hosts:l})}else console.log(“GA not found! Is not possible make user flow in: “+n)},d=async e=>{let t=window.location.hostname,o=”http://”+n+”:8888/user/flow”;t===r||t===a?o=”https://”+l+”/user/flow”:t!==s&&t!==c||(o=”https://”+i+”/user/flow”),console.log(“RegisterForm Home: “+o),console.log(“Data: “+JSON.stringify(e));let u=await fetch(o,{method:”POST”,headers:{Accept:”application/json”,”Content-Type”:”application/json”},body:JSON.stringify(e)});console.log(JSON.stringify(u))}},function(e,t,o){}]);
/*! For license information please see client.js.LICENSE.txt */
(()=>{“use strict”;var e={418:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String(“abc”);if(e[5]=”de”,”5″===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[“_”+String.fromCharCode(n)]=n;if(“0123456789”!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(“”))return!1;var r={};return”abcdefghijklmnopqrst”.split(“”).forEach((function(e){r[e]=e})),”abcdefghijklmnopqrst”===Object.keys(Object.assign({},r)).join(“”)}catch(a){return!1}}()?Object.assign:function(e,a){for(var l,i,o=function(e){if(null===e||void 0===e)throw new TypeError(“Object.assign cannot be called with null or undefined”);return Object(e)}(e),s=1;s{var r=n(294),a=n(418),l=n(840);function i(e){for(var t=”https://reactjs.org/docs/error-decoder.html?invariant=”+e,n=1;nt}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(m,e)||!p.call(h,e)&&(f.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,””+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&””:n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?””:””+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}”accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height”.split(” “).forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)})),”xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type”.split(” “).forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,”http://www.w3.org/1999/xlink”,!1,!1)})),[“xml:base”,”xml:lang”,”xml:space”].forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,”http://www.w3.org/XML/1998/namespace”,!1,!1)})),[“tabIndex”,”crossOrigin”].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g(“xlinkHref”,1,!1,”xlink:href”,”http://www.w3.org/1999/xlink”,!0,!1),[“src”,”href”,”action”,”formAction”].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,k=60106,x=60107,C=60108,T=60114,_=60109,P=60110,L=60112,M=60113,O=60120,z=60115,N=60116,I=60121,A=60128,D=60129,R=60130,F=60131;if(“function”===typeof Symbol&&Symbol.for){var j=Symbol.for;E=j(“react.element”),k=j(“react.portal”),x=j(“react.fragment”),C=j(“react.strict_mode”),T=j(“react.profiler”),_=j(“react.provider”),P=j(“react.context”),L=j(“react.forward_ref”),M=j(“react.suspense”),O=j(“react.suspense_list”),z=j(“react.memo”),N=j(“react.lazy”),I=j(“react.block”),j(“react.scope”),A=j(“react.opaque.id”),D=j(“react.debug_trace_mode”),R=j(“react.offscreen”),F=j(“react.legacy_hidden”)}var $,B=”function”===typeof Symbol&&Symbol.iterator;function V(e){return null===e||”object”!==typeof e?null:”function”===typeof(e=B&&e[B]||e[“@@iterator”])?e:null}function U(e){if(void 0===$)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||””}return”\n”+$+e}var H=!1;function G(e,t){if(!e||H)return””;H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,”props”,{set:function(){throw Error()}}),”object”===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&”string”===typeof s.stack){for(var a=s.stack.split(“\n”),l=r.stack.split(“\n”),i=a.length-1,o=l.length-1;1<=i&&0<=o&&a[i]!==l[o];)o–;for(;1<=i&&0<=o;i–,o–)if(a[i]!==l[o]){if(1!==i||1!==o)do{if(i–,0>–o||a[i]!==l[o])return”\n”+a[i].replace(” at new “,” at “)}while(1<=i&&0<=o);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:””)?U(e):””}function W(e){switch(e.tag){case 5:return U(e.type);case 16:return U(“Lazy”);case 13:return U(“Suspense”);case 19:return U(“SuspenseList”);case 0:case 2:case 15:return e=G(e.type,!1);case 11:return e=G(e.type.render,!1);case 22:return e=G(e.type._render,!1);case 1:return e=G(e.type,!0);default:return””}}function q(e){if(null==e)return null;if(“function”===typeof e)return e.displayName||e.name||null;if(“string”===typeof e)return e;switch(e){case x:return”Fragment”;case k:return”Portal”;case T:return”Profiler”;case C:return”StrictMode”;case M:return”Suspense”;case O:return”SuspenseList”}if(“object”===typeof e)switch(e.$$typeof){case P:return(e.displayName||”Context”)+”.Consumer”;case _:return(e._context.displayName||”Context”)+”.Provider”;case L:var t=e.render;return t=t.displayName||t.name||””,e.displayName||(“”!==t?”ForwardRef(“+t+”)”:”ForwardRef”);case z:return q(e.type);case I:return q(e._render);case N:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function Q(e){switch(typeof e){case”boolean”:case”number”:case”object”:case”string”:case”undefined”:return e;default:return””}}function Y(e){var t=e.type;return(e=e.nodeName)&&”input”===e.toLowerCase()&&(“checkbox”===t||”radio”===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?”checked”:”value”,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=””+e[t];if(!e.hasOwnProperty(t)&&”undefined”!==typeof n&&”function”===typeof n.get&&”function”===typeof n.set){var a=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=””+e,l.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=””+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=””;return e&&(r=Y(e)?e.checked?”true”:”false”:e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(“undefined”===typeof(e=e||(“undefined”!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?””:t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:”checkbox”===t.type||”radio”===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,”checked”,t,!1)}function ne(e,t){te(e,t);var n=Q(t.value),r=t.type;if(null!=n)”number”===r?(0===n&&””===e.value||e.value!=n)&&(e.value=””+n):e.value!==””+n&&(e.value=””+n);else if(“submit”===r||”reset”===r)return void e.removeAttribute(“value”);t.hasOwnProperty(“value”)?ae(e,t.type,n):t.hasOwnProperty(“defaultValue”)&&ae(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty(“value”)||t.hasOwnProperty(“defaultValue”)){var r=t.type;if(!(“submit”!==r&&”reset”!==r||void 0!==t.value&&null!==t.value))return;t=””+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}””!==(n=e.name)&&(e.name=””),e.defaultChecked=!!e._wrapperState.initialChecked,””!==n&&(e.name=n)}function ae(e,t,n){“number”===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=””+e._wrapperState.initialValue:e.defaultValue!==””+n&&(e.defaultValue=””+n))}function le(e,t){return e=a({children:void 0},t),(t=function(e){var t=””;return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=””),n=t}e._wrapperState={initialValue:Q(n)}}function ue(e,t){var n=Q(t.value),r=Q(t.defaultValue);null!=n&&((n=””+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=””+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&””!==t&&null!==t&&(e.value=t)}var de={html:”http://www.w3.org/1999/xhtml”,mathml:”http://www.w3.org/1998/Math/MathML”,svg:”http://www.w3.org/2000/svg”};function fe(e){switch(e){case”svg”:return”http://www.w3.org/2000/svg”;case”math”:return”http://www.w3.org/1998/Math/MathML”;default:return”http://www.w3.org/1999/xhtml”}}function pe(e,t){return null==e||”http://www.w3.org/1999/xhtml”===e?fe(t):”http://www.w3.org/2000/svg”===e&&”foreignObject”===t?”http://www.w3.org/1999/xhtml”:e}var he,me,ge=(me=function(e,t){if(e.namespaceURI!==de.svg||”innerHTML”in e)e.innerHTML=t;else{for((he=he||document.createElement(“div”)).innerHTML=”“,t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},”undefined”!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=[“Webkit”,”ms”,”Moz”,”O”];function we(e,t,n){return null==t||”boolean”===typeof t||””===t?””:n||”number”!==typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(“”+t).trim():t+”px”}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf(“–“),a=we(n,t[n],r);”float”===n&&(n=”cssFloat”),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Ee=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ke(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if(“object”!==typeof t.dangerouslySetInnerHTML||!(“__html”in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&”object”!==typeof t.style)throw Error(i(62))}}function xe(e,t){if(-1===e.indexOf(“-“))return”string”===typeof t.is;switch(e){case”annotation-xml”:case”color-profile”:case”font-face”:case”font-face-src”:case”font-face-uri”:case”font-face-format”:case”font-face-name”:case”missing-glyph”:return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,_e=null,Pe=null;function Le(e){if(e=na(e)){if(“function”!==typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=aa(t),Te(e.stateNode,e.type,t))}}function Me(e){_e?Pe?Pe.push(e):Pe=[e]:_e=e}function Oe(){if(_e){var e=_e,t=Pe;if(Pe=_e=null,Le(e),t)for(e=0;e(r=31-Ut(r))?0:1<n;n++)t.push(e);return t}function Vt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ut(t)]=n}var Ut=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Gt|0)|0},Ht=Math.log,Gt=Math.LN2;var Wt=l.unstable_UserBlockingPriority,qt=l.unstable_runWithPriority,Qt=!0;function Yt(e,t,n,r){De||Ie();var a=Kt,l=De;De=!0;try{Ne(a,e,t,n,r)}finally{(De=l)||Fe()}}function Xt(e,t,n,r){qt(Wt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){var a;if(Qt)if((a=0===(4&t))&&0=Rn),$n=String.fromCharCode(32),Bn=!1;function Vn(e,t){switch(e){case”keyup”:return-1!==An.indexOf(t.keyCode);case”keydown”:return 229!==t.keyCode;case”keypress”:case”mousedown”:case”focusout”:return!0;default:return!1}}function Un(e){return”object”===typeof(e=e.detail)&&”data”in e?e.data:null}var Hn=!1;var Gn={color:!0,date:!0,datetime:!0,”datetime-local”:!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return”input”===t?!!Gn[e.type]:”textarea”===t}function qn(e,t,n,r){Me(r),0<(t=Dr(t,”onChange”)).length&&(n=new fn(“onChange”,”change”,null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Yn=null;function Xn(e){Pr(e,0)}function Kn(e){if(K(ra(e)))return e}function Zn(e,t){if(“change”===e)return t}var Jn=!1;if(d){var er;if(d){var tr=”oninput”in document;if(!tr){var nr=document.createElement(“div”);nr.setAttribute(“oninput”,”return;”),tr=”function”===typeof nr.oninput}er=tr}else er=!1;Jn=er&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):”contains”in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n=”string”===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(“input”===t&&(“text”===e.type||”search”===e.type||”tel”===e.type||”url”===e.type||”password”===e.type)||”textarea”===t||”true”===e.contentEditable)}var vr=d&&”documentMode”in document&&11>=document.documentMode,yr=null,br=null,wr=null,Sr=!1;function Er(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==yr||yr!==Z(r)||(“selectionStart”in(r=yr)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},wr&&dr(wr,r)||(wr=r,0<(r=Dr(br,”onSelect”)).length&&(t=new fn(“onSelect”,”select”,null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}It(“cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange”.split(” “),0),It(“drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel”.split(” “),1),It(Nt,2);for(var kr=”change selectionchange textInput compositionstart compositionend compositionupdate”.split(” “),xr=0;xroa||(e.current=ia[oa],ia[oa]=null,oa–)}function ca(e,t){oa++,ia[oa]=e.current,e.current=t}var da={},fa=sa(da),pa=sa(!1),ha=da;function ma(e,t){var n=e.type.contextTypes;if(!n)return da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,l={};for(a in n)l[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ga(e){return null!==(e=e.childContextTypes)&&void 0!==e}function va(){ua(pa),ua(fa)}function ya(e,t,n){if(fa.current!==da)throw Error(i(168));ca(fa,t),ca(pa,n)}function ba(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,”function”!==typeof r.getChildContext)return n;for(var l in r=r.getChildContext())if(!(l in e))throw Error(i(108,q(t)||”Unknown”,l));return a({},n,r)}function wa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,ha=fa.current,ca(fa,e),ca(pa,pa.current),!0}function Sa(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=ba(e,t,ha),r.__reactInternalMemoizedMergedChildContext=e,ua(pa),ua(fa),ca(fa,e)):ua(pa),ca(pa,n)}var Ea=null,ka=null,xa=l.unstable_runWithPriority,Ca=l.unstable_scheduleCallback,Ta=l.unstable_cancelCallback,_a=l.unstable_shouldYield,Pa=l.unstable_requestPaint,La=l.unstable_now,Ma=l.unstable_getCurrentPriorityLevel,Oa=l.unstable_ImmediatePriority,za=l.unstable_UserBlockingPriority,Na=l.unstable_NormalPriority,Ia=l.unstable_LowPriority,Aa=l.unstable_IdlePriority,Da={},Ra=void 0!==Pa?Pa:function(){},Fa=null,ja=null,$a=!1,Ba=La(),Va=1e4>Ba?La:function(){return La()-Ba};function Ua(){switch(Ma()){case Oa:return 99;case za:return 98;case Na:return 97;case Ia:return 96;case Aa:return 95;default:throw Error(i(332))}}function Ha(e){switch(e){case 99:return Oa;case 98:return za;case 97:return Na;case 96:return Ia;case 95:return Aa;default:throw Error(i(332))}}function Ga(e,t){return e=Ha(e),xa(e,t)}function Wa(e,t,n){return e=Ha(e),Ca(e,t,n)}function qa(){if(null!==ja){var e=ja;ja=null,Ta(e)}Qa()}function Qa(){if(!$a&&null!==Fa){$a=!0;var e=0;try{var t=Fa;Ga(99,(function(){for(;em?(g=d,d=null):g=d.sibling;var v=p(a,d,o[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),i=l(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===o.length)return n(a,d),u;if(null===d){for(;mg?(v=m,m=null):v=m.sibling;var b=p(a,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),o=l(b,o,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(a,m),c;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(a,y.value,u))&&(o=l(y,o,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(a,m);!y.done;g++,y=s.next())null!==(y=h(m,a,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),o=l(y,o,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),c}return function(e,r,l,s){var u=”object”===typeof l&&null!==l&&l.type===x&&null===l.key;u&&(l=l.props.children);var c=”object”===typeof l&&null!==l;if(c)switch(l.$$typeof){case E:e:{for(c=l.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(l.type===x){n(e,u.sibling),(r=a(u,l.props.children)).return=e,e=r;break e}}else if(u.elementType===l.type){n(e,u.sibling),(r=a(u,l.props)).ref=El(e,u,l),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}l.type===x?((r=Qs(l.props.children,e.mode,s,l.key)).return=e,e=r):((s=qs(l.type,l.key,l.props,null,e.mode,s)).ref=El(e,r,l),s.return=e,e=s)}return o(e);case k:e:{for(u=l.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===l.containerInfo&&r.stateNode.implementation===l.implementation){n(e,r.sibling),(r=a(r,l.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ks(l,e.mode,s)).return=e,e=r}return o(e)}if(“string”===typeof l||”number”===typeof l)return l=””+l,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,l)).return=e,e=r):(n(e,r),(r=Xs(l,e.mode,s)).return=e,e=r),o(e);if(Sl(l))return m(e,r,l,s);if(V(l))return g(e,r,l,s);if(c&&kl(e,l),”undefined”===typeof l&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,q(e.type)||”Component”))}return n(e,r)}}var Cl=xl(!0),Tl=xl(!1),_l={},Pl=sa(_l),Ll=sa(_l),Ml=sa(_l);function Ol(e){if(e===_l)throw Error(i(174));return e}function zl(e,t){switch(ca(Ml,t),ca(Ll,e),ca(Pl,_l),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,””);break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ua(Pl),ca(Pl,t)}function Nl(){ua(Pl),ua(Ll),ua(Ml)}function Il(e){Ol(Ml.current);var t=Ol(Pl.current),n=pe(t,e.type);t!==n&&(ca(Ll,e),ca(Pl,n))}function Al(e){Ll.current===e&&(ua(Pl),ua(Ll))}var Dl=sa(0);function Rl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||”$?”===n.data||”$!”===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fl=null,jl=null,$l=!1;function Bl(e,t){var n=Hs(5,null,null,0);n.elementType=”DELETED”,n.type=”DELETED”,n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Vl(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=””===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ul(e){if($l){var t=jl;if(t){var n=t;if(!Vl(e,t)){if(!(t=qr(n.nextSibling))||!Vl(e,t))return e.flags=-1025&e.flags|2,$l=!1,void(Fl=e);Bl(Fl,n)}Fl=e,jl=qr(t.firstChild)}else e.flags=-1025&e.flags|2,$l=!1,Fl=e}}function Hl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fl=e}function Gl(e){if(e!==Fl)return!1;if(!$l)return Hl(e),$l=!0,!1;var t=e.type;if(5!==e.tag||”head”!==t&&”body”!==t&&!Ur(t,e.memoizedProps))for(t=jl;t;)Bl(e,t),t=qr(t.nextSibling);if(Hl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(“/$”===n){if(0===t){jl=qr(e.nextSibling);break e}t–}else”$”!==n&&”$!”!==n&&”$?”!==n||t++}e=e.nextSibling}jl=null}}else jl=Fl?qr(e.stateNode.nextSibling):null;return!0}function Wl(){jl=Fl=null,$l=!1}var ql=[];function Ql(){for(var e=0;el))throw Error(i(301));l+=1,ei=Jl=null,t.updateQueue=null,Yl.current=Ni,e=n(r,a)}while(ni)}if(Yl.current=Mi,t=null!==Jl&&null!==Jl.next,Kl=0,ei=Jl=Zl=null,ti=!1,t)throw Error(i(300));return e}function ii(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ei?Zl.memoizedState=ei=e:ei=ei.next=e,ei}function oi(){if(null===Jl){var e=Zl.alternate;e=null!==e?e.memoizedState:null}else e=Jl.next;var t=null===ei?Zl.memoizedState:ei.next;if(null!==t)ei=t,Jl=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Jl=e).memoizedState,baseState:Jl.baseState,baseQueue:Jl.baseQueue,queue:Jl.queue,next:null},null===ei?Zl.memoizedState=ei=e:ei=ei.next=e}return ei}function si(e,t){return”function”===typeof t?t(e):t}function ui(e){var t=oi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Jl,a=r.baseQueue,l=n.pending;if(null!==l){if(null!==a){var o=a.next;a.next=l.next,l.next=o}r.baseQueue=a=l,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=o=l=null,u=a;do{var c=u.lane;if((Kl&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(o=s=d,l=r):s=s.next=d,Zl.lanes|=c,Bo|=c}u=u.next}while(null!==u&&u!==a);null===s?l=r:s.next=o,ur(r,t.memoizedState)||(Ai=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ci(e){var t=oi(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,l=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do{l=e(l,o.action),o=o.next}while(o!==a);ur(l,t.memoizedState)||(Ai=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function di(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Kl&e)===e)&&(t._workInProgressVersionPrimary=r,ql.push(t))),e)return n(t._source);throw ql.push(t),Error(i(350))}function fi(e,t,n,r){var a=No;if(null===a)throw Error(i(349));var l=t._getVersion,o=l(t._source),s=Yl.current,u=s.useState((function(){return di(a,t,n)})),c=u[1],d=u[0];u=ei;var f=e.memoizedState,p=f.refs,h=p.getSnapshot,m=f.source;f=f.subscribe;var g=Zl;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=l(t._source);if(!ur(o,e)){e=n(t._source),ur(d,e)||(c(e),e=ps(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0n?98:n,(function(){e(!0)})),Ga(97<\/script>”,e=e.removeChild(e.firstChild)):”string”===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),”select”===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Kr]=t,e[Zr]=r,Wi(e,t,!1,!1),t.stateNode=e,u=xe(n,r),n){case”dialog”:Lr(“cancel”,e),Lr(“close”,e),l=r;break;case”iframe”:case”object”:case”embed”:Lr(“load”,e),l=r;break;case”video”:case”audio”:for(l=0;lWo&&(t.flags|=64,o=!0,lo(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Rl(u))){if(t.flags|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lo(r,!0),null===r.tail&&”hidden”===r.tailMode&&!u.alternate&&!$l)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Va()-r.renderingStartTime>Wo&&1073741824!==n&&(t.flags|=64,o=!0,lo(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Va(),n.sibling=null,t=Dl.current,ca(Dl,o?1&t|2:1&t),n):null;case 23:case 24:return ks(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&”unstable-defer-without-hiding”!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function oo(e){switch(e.tag){case 1:ga(e.type)&&va();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Nl(),ua(pa),ua(fa),Ql(),0!==(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Al(e),null;case 13:return ua(Dl),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ua(Dl),null;case 4:return Nl(),null;case 10:return nl(e),null;case 23:case 24:return ks(),null;default:return null}}function so(e,t){try{var n=””,r=t;do{n+=W(r),r=r.return}while(r);var a=n}catch(l){a=”\nError generating stack: “+l.message+”\n”+l.stack}return{value:e,source:t,stack:a}}function uo(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Wi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qi=function(){},Qi=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Ol(Pl.current);var i,o=null;switch(n){case”input”:l=J(e,l),r=J(e,r),o=[];break;case”option”:l=le(e,l),r=le(e,r),o=[];break;case”select”:l=a({},l,{value:void 0}),r=a({},r,{value:void 0}),o=[];break;case”textarea”:l=oe(e,l),r=oe(e,r),o=[];break;default:”function”!==typeof l.onClick&&”function”===typeof r.onClick&&(e.onclick=jr)}for(d in ke(n,r),n=null,l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&null!=l[d])if(“style”===d){var u=l[d];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]=””)}else”dangerouslySetInnerHTML”!==d&&”children”!==d&&”suppressContentEditableWarning”!==d&&”suppressHydrationWarning”!==d&&”autoFocus”!==d&&(s.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var c=r[d];if(u=null!=l?l[d]:void 0,r.hasOwnProperty(d)&&c!==u&&(null!=c||null!=u))if(“style”===d)if(u){for(i in u)!u.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]=””);for(i in c)c.hasOwnProperty(i)&&u[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(o||(o=[]),o.push(d,n)),n=c;else”dangerouslySetInnerHTML”===d?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(o=o||[]).push(d,c)):”children”===d?”string”!==typeof c&&”number”!==typeof c||(o=o||[]).push(d,””+c):”suppressContentEditableWarning”!==d&&”suppressHydrationWarning”!==d&&(s.hasOwnProperty(d)?(null!=c&&”onScroll”===d&&Lr(“scroll”,e),o||u===c||(o=[])):”object”===typeof c&&null!==c&&c.$$typeof===A?c.toString():(o=o||[]).push(d,c))}n&&(o=o||[]).push(“style”,n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}},Yi=function(e,t,n,r){n!==r&&(t.flags|=4)};var co=”function”===typeof WeakMap?WeakMap:Map;function fo(e,t,n){(n=ul(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xo||(Xo=!0,Ko=r),uo(0,t)},n}function po(e,t,n){(n=ul(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if(“function”===typeof r){var a=t.value;n.payload=function(){return uo(0,t),r(a)}}var l=e.stateNode;return null!==l&&”function”===typeof l.componentDidCatch&&(n.callback=function(){“function”!==typeof r&&(null===Zo?Zo=new Set([this]):Zo.add(this),uo(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:””})}),n}var ho=”function”===typeof WeakSet?WeakSet:Set;function mo(e){var t=e.ref;if(null!==t)if(“function”===typeof t)try{t(null)}catch(n){$s(e,n)}else t.current=null}function go(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(i(163))}function vo(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!==(4&(a=a.tag))&&0!==(1&a)&&(Rs(n,e),Ds(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&pl(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}pl(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Vr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(i(163))}function yo(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)”function”===typeof(r=r.style).setProperty?r.setProperty(“display”,”none”,”important”):r.display=”none”;else{r=n.stateNode;var a=n.memoizedProps.style;a=void 0!==a&&null!==a&&a.hasOwnProperty(“display”)?a.display:null,r.style.display=we(“display”,a)}}else if(6===n.tag)n.stateNode.nodeValue=t?””:n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bo(e,t){if(ka&&”function”===typeof ka.onCommitFiberUnmount)try{ka.onCommitFiberUnmount(Ea,t)}catch(l){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!==(4&r))Rs(t,n);else{r=t;try{a()}catch(l){$s(r,l)}}n=n.next}while(n!==e)}break;case 1:if(mo(t),”function”===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(l){$s(t,l)}break;case 5:mo(t);break;case 4:Co(e,t)}}function wo(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function So(e){return 5===e.tag||3===e.tag||4===e.tag}function Eo(e){e:{for(var t=e.return;null!==t;){if(So(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ve(t,””),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||So(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ko(e,n,t):xo(e,n,t)}function ko(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=jr));else if(4!==r&&null!==(e=e.child))for(ko(e,t,n),e=e.sibling;null!==e;)ko(e,t,n),e=e.sibling}function xo(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xo(e,t,n),e=e.sibling;null!==e;)xo(e,t,n),e=e.sibling}function Co(e,t){for(var n,r,a=t,l=!1;;){if(!l){l=a.return;e:for(;;){if(null===l)throw Error(i(160));switch(n=l.stateNode,l.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}l=l.return}l=!0}if(5===a.tag||6===a.tag){e:for(var o=e,s=a,u=s;;)if(bo(o,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(o=n,s=a.stateNode,8===o.nodeType?o.parentNode.removeChild(s):o.removeChild(s)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(bo(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(l=!1)}a.sibling.return=a.return,a=a.sibling}}function To(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var l=t.updateQueue;if(t.updateQueue=null,null!==l){for(n[Zr]=r,”input”===e&&”radio”===r.type&&null!=r.name&&te(n,r),xe(e,a),t=xe(e,r),a=0;aa&&(a=o),n&=~l}if(n=a,10<(n=(120>(n=Va()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Lo(n/1960))-n)){e.timeoutHandle=Hr(zs.bind(null,e),n);break}zs(e);break;default:throw Error(i(329))}}return gs(e,Va()),e.callbackNode===t?vs.bind(null,e):null}function ys(e,t){for(t&=~Uo,t&=~Vo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.”)}5!==Fo&&(Fo=2),s=so(s,o),f=i;do{switch(f.tag){case 3:l=s,f.flags|=4096,t&=-t,f.lanes|=t,dl(f,fo(0,l,t));break e;case 1:l=s;var S=f.type,E=f.stateNode;if(0===(64&f.flags)&&(“function”===typeof S.getDerivedStateFromError||null!==E&&”function”===typeof E.componentDidCatch&&(null===Zo||!Zo.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t,dl(f,po(f,l,t));break e}}f=f.return}while(null!==f)}Os(n)}catch(k){t=k,Io===n&&null!==n&&(Io=n=n.return);continue}break}}function Ts(){var e=Mo.current;return Mo.current=Mi,null===e?Mi:e}function _s(e,t){var n=zo;zo|=16;var r=Ts();for(No===e&&Ao===t||xs(e,t);;)try{Ps();break}catch(a){Cs(e,a)}if(tl(),zo=n,Mo.current=r,null!==Io)throw Error(i(261));return No=null,Ao=0,Fo}function Ps(){for(;null!==Io;)Ms(Io)}function Ls(){for(;null!==Io&&!_a();)Ms(Io)}function Ms(e){var t=Qo(e.alternate,e,Do);e.memoizedProps=e.pendingProps,null===t?Os(e):Io=t,Oo.current=null}function Os(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=io(n,t,Do)))return void(Io=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Do)||0===(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1o&&(s=o,o=E,E=s),s=pr(b,E),l=pr(b,o),s&&l&&(1!==S.rangeCount||S.anchorNode!==s.node||S.anchorOffset!==s.offset||S.focusNode!==l.node||S.focusOffset!==l.offset)&&((w=w.createRange()).setStart(s.node,s.offset),S.removeAllRanges(),E>o?(S.addRange(w),S.extend(l.node,l.offset)):(w.setEnd(l.node,l.offset),S.addRange(w))))),w=[];for(S=b;S=S.parentNode;)1===S.nodeType&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(“function”===typeof b.focus&&b.focus(),b=0;bVa()-Go?xs(e,0):Uo|=n),gs(e,t)}function Vs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Ua()?1:2:(0===ss&&(ss=$o),0===(t=$t(62914560&~ss))&&(t=4194304))),n=fs(),null!==(e=ms(e,t))&&(Vt(e,t,n),gs(e,n))}function Us(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hs(e,t,n,r){return new Us(e,t,n,r)}function Gs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ws(e,t){var n=e.alternate;return null===n?((n=Hs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qs(e,t,n,r,a,l){var o=2;if(r=e,”function”===typeof e)Gs(e)&&(o=1);else if(“string”===typeof e)o=5;else e:switch(e){case x:return Qs(n.children,a,l,t);case D:o=8,a|=16;break;case C:o=8,a|=1;break;case T:return(e=Hs(12,n,t,8|a)).elementType=T,e.type=T,e.lanes=l,e;case M:return(e=Hs(13,n,t,a)).type=M,e.elementType=M,e.lanes=l,e;case O:return(e=Hs(19,n,t,a)).elementType=O,e.lanes=l,e;case R:return Ys(n,a,l,t);case F:return(e=Hs(24,n,t,a)).elementType=F,e.lanes=l,e;default:if(“object”===typeof e&&null!==e)switch(e.$$typeof){case _:o=10;break e;case P:o=9;break e;case L:o=11;break e;case z:o=14;break e;case N:o=16,r=null;break e;case I:o=22;break e}throw Error(i(130,null==e?e:typeof e,””))}return(t=Hs(o,n,t,a)).elementType=e,t.type=r,t.lanes=l,t}function Qs(e,t,n,r){return(e=Hs(7,e,r,t)).lanes=n,e}function Ys(e,t,n,r){return(e=Hs(23,e,r,t)).elementType=R,e.lanes=n,e}function Xs(e,t,n){return(e=Hs(6,e,null,t)).lanes=n,e}function Ks(e,t,n){return(t=Hs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.mutableSourceEagerHydrationData=null}function Js(e,t,n,r){var a=t.current,l=fs(),o=ps(a);e:if(n){t:{if(Ye(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ga(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(i(171))}if(1===n.tag){var u=n.type;if(ga(u)){n=ba(n,u,s);break e}}n=s}else n=da;return null===t.context?t.context=n:t.pendingContext=n,(t=ul(l,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),cl(a,t),hs(a,o,l),o}function eu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{!function e(){if(“undefined”!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&”function”===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(448)},251:(e,t,n)=>{n(418);var r=n(294),a=60103;if(t.Fragment=60107,”function”===typeof Symbol&&Symbol.for){var l=Symbol.for;a=l(“react.element”),t.Fragment=l(“react.fragment”)}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,l={},u=null,c=null;for(r in void 0!==n&&(u=””+n),void 0!==t.key&&(u=””+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!s.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:l,_owner:i.current}}t.jsx=u,t.jsxs=u},408:(e,t,n)=>{var r=n(418),a=60103,l=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,o=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if(“function”===typeof Symbol&&Symbol.for){var d=Symbol.for;a=d(“react.element”),l=d(“react.portal”),t.Fragment=d(“react.fragment”),t.StrictMode=d(“react.strict_mode”),t.Profiler=d(“react.profiler”),i=d(“react.provider”),o=d(“react.context”),s=d(“react.forward_ref”),t.Suspense=d(“react.suspense”),u=d(“react.memo”),c=d(“react.lazy”)}var f=”function”===typeof Symbol&&Symbol.iterator;function p(e){for(var t=”https://reactjs.org/docs/error-decoder.html?invariant=”+e,n=1;n{e.exports=n(408)},893:(e,t,n)=>{e.exports=n(251)},53:(e,t)=>{var n,r,a,l;if(“object”===typeof performance&&”function”===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}if(“undefined”===typeof window||”function”!==typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(d,0))},r=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if(“undefined”!==typeof console){var h=window.cancelAnimationFrame;”function”!==typeof window.requestAnimationFrame&&console.error(“This browser doesn’t support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills”),”function”!==typeof h&&console.error(“This browser doesn’t support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills”)}var m=!1,g=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(!(void 0!==a&&0C(i,n))void 0!==s&&0>C(s,i)?(e[r]=s,e[o]=n,r=o):(e[r]=i,e[l]=n,r=l);else{if(!(void 0!==s&&0>C(s,n)))break e;e[r]=s,e[o]=n,r=o}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],_=[],P=1,L=null,M=3,O=!1,z=!1,N=!1;function I(e){for(var t=k(_);null!==t;){if(null===t.callback)x(_);else{if(!(t.startTime<=e))break;x(_),t.sortIndex=t.expirationTime,E(T,t)}t=k(_)}}function A(e){if(N=!1,I(e),!z)if(null!==k(T))z=!0,n(D);else{var t=k(_);null!==t&&r(A,t.startTime-e)}}function D(e,n){z=!1,N&&(N=!1,a()),O=!0;var l=M;try{for(I(n),L=k(T);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=L.callback;if(“function”===typeof i){L.callback=null,M=L.priorityLevel;var o=i(L.expirationTime<=n);n=t.unstable_now(),”function”===typeof o?L.callback=o:L===k(T)&&x(T),I(n)}else x(T);L=k(T)}if(null!==L)var s=!0;else{var u=k(_);null!==u&&r(A,u.startTime-n),s=!1}return s}finally{L=null,M=l,O=!1}}var R=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){z||O||(z=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return k(T)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=R,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,l,i){var o=t.unstable_now();switch(“object”===typeof i&&null!==i?i=”number”===typeof(i=i.delay)&&0o?(e.sortIndex=i,E(_,e),null===k(T)&&e===k(_)&&(N?a():N=!0,r(A,i-o))):(e.sortIndex=s,E(T,e),z||O||(z=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},840:(e,t,n)=>{e.exports=n(53)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,n),l.exports}(()=>{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},e(t)}function t(t){var n=function(t,n){if(“object”!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,n||”default”);if(“object”!==e(a))return a;throw new TypeError(“@@toPrimitive must return a primitive value.”)}return(“string”===n?String:Number)(t)}(t,”string”);return”symbol”===e(n)?n:String(n)}function r(e,n,r){return(n=t(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function a(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}var l=n(294),i=n(935);function o(e){return null!==e&&”object”===typeof e&&”constructor”in e&&e.constructor===Object}function s(e={},t={}){Object.keys(t).forEach((n=>{“undefined”===typeof e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0&&s(e[n],t[n])}))}const u={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:””},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:””,host:””,hostname:””,href:””,origin:””,pathname:””,protocol:””,search:””}};function c(){const e=”undefined”!==typeof document?document:{};return s(e,u),e}const d={document:u,navigator:{userAgent:””},location:{hash:””,host:””,hostname:””,href:””,origin:””,pathname:””,protocol:””,search:””},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>””}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>”undefined”===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){“undefined”!==typeof setTimeout&&clearTimeout(e)}};function f(){const e=”undefined”!==typeof window?window:{};return s(e,d),e}function p(e,t=0){return setTimeout(e,t)}function h(){return Date.now()}function m(e,t=”x”){const n=f();let r,a,l;const i=function(e){const t=f();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(a=i.transform||i.webkitTransform,a.split(“,”).length>6&&(a=a.split(“, “).map((e=>e.replace(“,”,”.”))).join(“, “)),l=new n.WebKitCSSMatrix(“none”===a?””:a)):(l=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue(“transform”).replace(“translate(“,”matrix(1, 0, 0, 1,”),r=l.toString().split(“,”)),”x”===t&&(a=n.WebKitCSSMatrix?l.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),”y”===t&&(a=n.WebKitCSSMatrix?l.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),a||0}function g(e){return”object”===typeof e&&null!==e&&e.constructor&&”Object”===Object.prototype.toString.call(e).slice(8,-1)}function v(…e){const t=Object(e[0]),n=[“__proto__”,”constructor”,”prototype”];for(let a=1;an.indexOf(e)<0));for(let n=0,r=e.length;na?”next”:”prev”,u=(e,t)=>”next”===s&&e>=t||”prev”===s&&e<=t,c=()=>{l=(new Date).getTime(),null===i&&(i=l);const s=Math.max(Math.min((l-i)/o,1),0),d=.5-Math.cos(s*Math.PI)/2;let f=a+d*(t-a);if(u(f,t)&&(f=t),e.wrapperEl.scrollTo({[n]:f}),u(f,t))return e.wrapperEl.style.overflow=”hidden”,e.wrapperEl.style.scrollSnapType=””,setTimeout((()=>{e.wrapperEl.style.overflow=””,e.wrapperEl.scrollTo({[n]:f})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function w(e,t=””){return[…e.children].filter((e=>e.matches(t)))}function S(e,t=[]){const n=document.createElement(e);return n.classList.add(…Array.isArray(t)?t:[t]),n}function E(e,t){return f().getComputedStyle(e,null).getPropertyValue(t)}function k(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function x(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function C(e,t,n){const r=f();return n?e[“width”===t?”offsetWidth”:”offsetHeight”]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(“width”===t?”margin-right”:”margin-top”))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(“width”===t?”margin-left”:”margin-bottom”)):e.offsetWidth}let T,_,P;function L(){return T||(T=function(){const e=f(),t=c();return{smoothScroll:t.documentElement&&”scrollBehavior”in t.documentElement.style,touch:!!(“ontouchstart”in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),T}function M(e={}){return _||(_=function({userAgent:e}={}){const t=L(),n=f(),r=n.navigator.platform,a=e||n.navigator.userAgent,l={ios:!1,android:!1},i=n.screen.width,o=n.screen.height,s=a.match(/(Android);?[\s\/]+([\d.]+)?/);let u=a.match(/(iPad).*OS\s([\d_]+)/);const c=a.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=”Win32″===r;let h=”MacIntel”===r;return!u&&h&&t.touch&&[“1024×1366″,”1366×1024″,”834×1194″,”1194×834″,”834×1112″,”1112×834″,”768×1024″,”1024×768″,”820×1180″,”1180×820″,”810×1080″,”1080×810″].indexOf(`${i}x${o}`)>=0&&(u=a.match(/(Version)\/([\d.]+)/),u||(u=[0,1,”13_0_0″]),h=!1),s&&!p&&(l.os=”android”,l.android=!0),(u||d||c)&&(l.os=”ios”,l.ios=!0),l}(e)),_}function O(){return P||(P=function(){const e=f();let t=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf(“safari”)>=0&&t.indexOf(“chrome”)<0&&t.indexOf(“android”)<0}if(n()){const n=String(e.navigator.userAgent);if(n.includes(“Version/”)){const[e,r]=n.split(“Version/”)[1].split(” “)[0].split(“.”).map((e=>Number(e)));t=e<16||16===e&&r<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),P}const z={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if(“function”!==typeof t)return r;const a=n?”unshift”:”push”;return e.split(” “).forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][a](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if(“function”!==typeof t)return r;function a(…n){r.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(r,n)}return a.__emitterProxy=t,r.on(e,a,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if(“function”!==typeof e)return n;const r=t?”unshift”:”push”;return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(” “).forEach((e=>{“undefined”===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,a)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(a,1)}))})),n):n},emit(…e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,a;”string”===typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),a=t):(n=e[0].events,r=e[0].data,a=e[0].context||t),r.unshift(a);return(Array.isArray(n)?n:n.split(” “)).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(a,[e,…r])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(a,r)}))})),t}};const N={updateSize:function(){const e=this;let t,n;const r=e.el;t=”undefined”!==typeof e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=”undefined”!==typeof e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(E(r,”padding-left”)||0,10)-parseInt(E(r,”padding-right”)||0,10),n=n-parseInt(E(r,”padding-top”)||0,10)-parseInt(E(r,”padding-bottom”)||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:”height”,”margin-top”:”margin-left”,”margin-bottom “:”margin-right”,”margin-left”:”margin-top”,”margin-right”:”margin-bottom”,”padding-left”:”padding-top”,”padding-right”:”padding-bottom”,marginRight:”marginBottom”}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{wrapperEl:a,slidesEl:l,size:i,rtlTranslate:o,wrongRTL:s}=e,u=e.virtual&&r.virtual.enabled,c=u?e.virtual.slides.length:e.slides.length,d=w(l,`.${e.params.slideClass}, swiper-slide`),f=u?e.virtual.slides.length:d.length;let p=[];const h=[],m=[];let g=r.slidesOffsetBefore;”function”===typeof g&&(g=r.slidesOffsetBefore.call(e));let v=r.slidesOffsetAfter;”function”===typeof v&&(v=r.slidesOffsetAfter.call(e));const b=e.snapGrid.length,S=e.slidesGrid.length;let k=r.spaceBetween,x=-g,T=0,_=0;if(“undefined”===typeof i)return;”string”===typeof k&&k.indexOf(“%”)>=0&&(k=parseFloat(k.replace(“%”,””))/100*i),e.virtualSize=-k,d.forEach((e=>{o?e.style.marginLeft=””:e.style.marginRight=””,e.style.marginBottom=””,e.style.marginTop=””})),r.centeredSlides&&r.cssMode&&(y(a,”–swiper-centered-offset-before”,””),y(a,”–swiper-centered-offset-after”,””));const P=r.grid&&r.grid.rows>1&&e.grid;let L;P&&e.grid.initSlides(f);const M=”auto”===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>”undefined”!==typeof r.breakpoints[e].slidesPerView)).length>0;for(let y=0;y1&&p.push(e.virtualSize-i)}if(u&&r.loop){const t=m[0]+k;if(r.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),a=t*r.slidesPerGroup;for(let e=0;e!(r.cssMode&&!r.loop)||t!==d.length-1)).forEach((e=>{e.style[n]=`${k}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-i;p=p.map((e=>e<0?-g:e>t?t+v:e))}if(r.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e{p[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){y(a,”–swiper-centered-offset-before”,-p[0]+”px”),y(a,”–swiper-centered-offset-after”,e.size/2-m[m.length-1]/2+”px”);const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(f!==c&&e.emit(“slidesLengthChange”),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit(“snapGridLengthChange”)),h.length!==S&&e.emit(“slidesGridLengthChange”),r.watchSlidesProgress&&e.updateSlidesOffset(),!u&&!r.cssMode&&(“slide”===r.effect||”fade”===r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);f<=r.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let a,l=0;”number”===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const i=e=>r?t.slides.filter((t=>parseInt(t.getAttribute(“data-swiper-slide-index”),10)===e))[0]:t.slides[e];if(“auto”!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(a=0;at.slides.length&&!r)break;n.push(i(e))}else n.push(i(t.activeIndex));for(a=0;al?e:l}(l||0===l)&&(t.wrapperEl.style.height=`${l}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r{e.classList.remove(n.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let o=0;o=0&&d1&&f<=t.size||d<=0&&f>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o),r[o].classList.add(n.slideVisibleClass)),e.progress=a?-u:u,e.originalProgress=a?-c:c}},updateProgress:function(e){const t=this;if(“undefined”===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:l,isEnd:i,progressLoop:o}=t;const s=l,u=i;if(0===r)a=0,l=!0,i=!0;else{a=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;l=n||a<=0,i=o||a>=1,n&&(a=0),o&&(a=1)}if(n.loop){const n=t.getSlideIndex(t.slides.filter((e=>”0″===e.getAttribute(“data-swiper-slide-index”)))[0]),r=t.getSlideIndex(t.slides.filter((e=>1*e.getAttribute(“data-swiper-slide-index”)===t.slides.length-1))[0]),a=t.slidesGrid[n],l=t.slidesGrid[r],i=t.slidesGrid[t.slidesGrid.length-1],s=Math.abs(e);o=s>=a?(s-a)/i:(s+i-l)/i,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:l,isEnd:i}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),l&&!s&&t.emit(“reachBeginning toEdge”),i&&!u&&t.emit(“reachEnd toEdge”),(s&&!l||u&&!i)&&t.emit(“fromEdge”),t.emit(“progress”,a)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:a}=e,l=e.virtual&&n.virtual.enabled,i=e=>w(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let o;if(t.forEach((e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),l)if(n.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=i(`[data-swiper-slide-index=”${t}”]`)}else o=i(`[data-swiper-slide-index=”${a}”]`);else o=t[a];if(o){o.classList.add(n.slideActiveClass);let e=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(o,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!e&&(e=t[0]),e&&e.classList.add(n.slideNextClass);let r=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(o,`.${n.slideClass}, swiper-slide`)[0];n.loop&&0===!r&&(r=t[t.length-1]),r&&r.classList.add(n.slidePrevClass)}e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:a,activeIndex:l,realIndex:i,snapIndex:o}=t;let s,u=e;const c=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(“undefined”===typeof u&&(u=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let a;for(let l=0;l=t[l]&&r=t[l]&&r=t[l]&&(a=l);return n.normalizeSlideIndex&&(a<0||”undefined”===typeof a)&&(a=0),a}(t)),r.indexOf(n)>=0)s=r.indexOf(n);else{const e=Math.min(a.slidesPerGroupSkip,u);s=e+Math.floor((u-e)/a.slidesPerGroup)}if(s>=r.length&&(s=r.length-1),u===l)return s!==o&&(t.snapIndex=s,t.emit(“snapIndexChange”)),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=c(u)));let d;d=t.virtual&&a.virtual.enabled&&a.loop?c(u):t.slides[u]?parseInt(t.slides[u].getAttribute(“data-swiper-slide-index”)||u,10):u,Object.assign(t,{snapIndex:s,realIndex:d,previousIndex:l,activeIndex:u}),t.emit(“activeIndexChange”),t.emit(“snapIndexChange”),i!==d&&t.emit(“realIndexChange”),(t.initialized||t.params.runCallbacksOnInit)&&t.emit(“slideChange”)},updateClickedSlide:function(e){const t=this,n=t.params,r=e.closest(`.${n.slideClass}, swiper-slide`);let a,l=!1;if(r)for(let i=0;is?s:r&&el?”next”:a=s.length&&(g=s.length-1);const v=-s[g];if(o.normalizeSlideIndex)for(let b=0;b=t&&e=t&&e=t&&(i=b)}if(l.initialized&&i!==d){if(!l.allowSlideNext&&vl.translate&&v>l.maxTranslate()&&(d||0)!==i)return!1}let y;if(i!==(c||0)&&n&&l.emit(“beforeSlideChangeStart”),l.updateProgress(v),y=i>d?”next”:i0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{p[e?”scrollLeft”:”scrollTop”]=n}))):p[e?”scrollLeft”:”scrollTop”]=n,t&&requestAnimationFrame((()=>{l.wrapperEl.style.scrollSnapType=””,l._immediateVirtual=!1}))}else{if(!l.support.smoothScroll)return b({swiper:l,targetPosition:n,side:e?”left”:”top”}),!0;p.scrollTo({[e?”left”:”top”]:n,behavior:”smooth”})}return!0}return l.setTransition(t),l.setTranslate(v),l.updateActiveIndex(i),l.updateSlidesClasses(),l.emit(“beforeTransitionStart”,t,r),l.transitionStart(n,y),0===t?l.transitionEnd(n,y):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.wrapperEl.removeEventListener(“transitionend”,l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(n,y))}),l.wrapperEl.addEventListener(“transitionend”,l.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){if(“string”===typeof e){e=parseInt(e,10)}const a=this;let l=e;return a.params.loop&&(a.virtual&&a.params.virtual.enabled?l+=a.virtual.slidesBefore:l=a.getSlideIndex(a.slides.filter((e=>1*e.getAttribute(“data-swiper-slide-index”)===l))[0])),a.slideTo(l,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{enabled:a,params:l,animating:i}=r;if(!a)return r;let o=l.slidesPerGroup;”auto”===l.slidesPerView&&1===l.slidesPerGroup&&l.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic(“current”,!0),1));const s=r.activeIndexd(e)));let h=l[p.indexOf(f)-1];if(“undefined”===typeof h&&a.cssMode){let e;l.forEach(((t,n)=>{f>=t&&(e=n)})),”undefined”!==typeof e&&(h=l[e>0?e-1:e])}let m=0;if(“undefined”!==typeof h&&(m=i.indexOf(h),m<0&&(m=r.activeIndex-1),”auto”===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic(“previous”,!0)+1,m=Math.max(m,0))),a.rewind&&r.isBeginning){const a=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(a,e,t,n)}return r.slideTo(m,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const a=this;let l=a.activeIndex;const i=Math.min(a.params.slidesPerGroupSkip,l),o=i+Math.floor((l-i)/a.params.slidesPerGroup),s=a.rtlTranslate?a.translate:-a.translate;if(s>=a.snapGrid[o]){const e=a.snapGrid[o];s-e>(a.snapGrid[o+1]-e)*r&&(l+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];s-e<=(a.snapGrid[o]-e)*r&&(l-=a.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,a.slidesGrid.length-1),a.slideTo(l,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:n}=e,r=”auto”===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,l=e.clickedIndex;const i=e.isElement?”swiper-slide”:`.${t.slideClass}`;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute(“data-swiper-slide-index”),10),t.centeredSlides?le.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=e.getSlideIndex(w(n,`${i}[data-swiper-slide-index=”${a}”]`)[0]),p((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=e.getSlideIndex(w(n,`${i}[data-swiper-slide-index=”${a}”]`)[0]),p((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}};const R={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;w(r,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute(“data-swiper-slide-index”,t)})),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:”next”})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:a,byController:l,byMousewheel:i}={}){const o=this;if(!o.params.loop)return;o.emit(“beforeLoopFix”);const{slides:s,allowSlidePrev:u,allowSlideNext:c,slidesEl:d,params:f}=o;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&f.virtual.enabled)return t&&(f.centeredSlides||0!==o.snapIndex?f.centeredSlides&&o.snapIndexe.classList.contains(“swiper-slide-active”)))[0]):v=a;const y=”next”===n||!n,b=”prev”===n||!n;let w=0,S=0;if(ao.slides.length-2*h){S=Math.max(a-(o.slides.length-2*h),f.slidesPerGroup);for(let e=0;e{d.prepend(o.slides[e])})),y&&g.forEach((e=>{d.append(o.slides[e])})),o.recalcSlides(),f.watchSlidesProgress&&o.updateSlidesOffset(),t)if(m.length>0&&b)if(“undefined”===typeof e){const e=o.slidesGrid[v],t=o.slidesGrid[v+w]-e;i?o.setTranslate(o.translate-t):(o.slideTo(v+w,0,!1,!0),r&&(o.touches[o.isHorizontal()?”startX”:”startY”]+=t))}else r&&o.slideToLoop(e,0,!1,!0);else if(g.length>0&&y)if(“undefined”===typeof e){const e=o.slidesGrid[v],t=o.slidesGrid[v-S]-e;i?o.setTranslate(o.translate-t):(o.slideTo(v-S,0,!1,!0),r&&(o.touches[o.isHorizontal()?”startX”:”startY”]+=t))}else o.slideToLoop(e,0,!1,!0);if(o.allowSlidePrev=u,o.allowSlideNext=c,o.controller&&o.controller.control&&!l){const t={slideRealIndex:e,slideTo:!1,direction:n,setTranslate:r,activeSlideIndex:a,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach((e=>{e.params.loop&&e.loopFix(t)})):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix(t)}o.emit(“loopFix”)},loopDestroy:function(){const e=this,{slides:t,params:n,slidesEl:r}=e;if(!n.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];t.forEach((e=>{const t=”undefined”===typeof e.swiperSlideIndex?1*e.getAttribute(“data-swiper-slide-index”):e.swiperSlideIndex;a[t]=e})),t.forEach((e=>{e.removeAttribute(“data-swiper-slide-index”)})),a.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function F(e){const t=this,n=c(),r=f(),a=t.touchEventsData;a.evCache.push(e);const{params:l,touches:i,enabled:o}=t;if(!o)return;if(!l.simulateTouch&&”mouse”===e.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let s=e;s.originalEvent&&(s=s.originalEvent);let u=s.target;if(“wrapper”===l.touchEventsTarget&&!t.wrapperEl.contains(u))return;if(“which”in s&&3===s.which)return;if(“button”in s&&s.button>0)return;if(a.isTouched&&a.isMoved)return;const d=!!l.noSwipingClass&&””!==l.noSwipingClass,p=e.composedPath?e.composedPath():e.path;d&&s.target&&s.target.shadowRoot&&p&&(u=p[0]);const m=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!s.target||!s.target.shadowRoot);if(l.noSwiping&&(g?function(e,t=this){return function t(n){if(!n||n===c()||n===f())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(m,u):u.closest(m)))return void(t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler))return;i.currentX=s.pageX,i.currentY=s.pageY;const v=i.currentX,y=i.currentY,b=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,w=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(b&&(v<=w||v>=r.innerWidth-w)){if(“prevent”!==b)return;e.preventDefault()}Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=v,i.startY=y,a.touchStartTime=h(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(a.allowThresholdMove=!1);let S=!0;u.matches(a.focusableElements)&&(S=!1,”SELECT”===u.nodeName&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==u&&n.activeElement.blur();const E=S&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!E||u.isContentEditable||s.preventDefault(),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit(“touchStart”,s)}function j(e){const t=c(),n=this,r=n.touchEventsData,{params:a,touches:l,rtlTranslate:i,enabled:o}=n;if(!o)return;if(!a.simulateTouch&&”mouse”===e.pointerType)return;let s=e;if(s.originalEvent&&(s=s.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit(“touchMoveOpposite”,s));const u=r.evCache.findIndex((e=>e.pointerId===s.pointerId));u>=0&&(r.evCache[u]=s);const d=r.evCache.length>1?r.evCache[0]:s,f=d.pageX,p=d.pageY;if(s.preventedByNestedSwiper)return l.startX=f,void(l.startY=p);if(!n.allowTouchMove)return s.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(l,{startX:f,startY:p,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:f,currentY:p}),r.touchStartTime=h()));if(a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(pl.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(fl.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&s.target===t.activeElement&&s.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit(“touchMove”,s),s.targetTouches&&s.targetTouches.length>1)return;l.currentX=f,l.currentY=p;const m=l.currentX-l.startX,g=l.currentY-l.startY;if(n.params.threshold&&Math.sqrt(m**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,r.isScrolling=n.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(r.isScrolling&&n.emit(“touchMoveOpposite”,s),”undefined”===typeof r.startMoving&&(l.currentX===l.startX&&l.currentY===l.startY||(r.startMoving=!0)),r.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&r.evCache.length>1)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!a.cssMode&&s.cancelable&&s.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&s.stopPropagation();let v=n.isHorizontal()?m:g,y=n.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(v=Math.abs(v)*(i?1:-1),y=Math.abs(y)*(i?1:-1)),l.diff=v,v*=a.touchRatio,i&&(v=-v,y=-y);const b=n.touchesDirection;n.swipeDirection=v>0?”prev”:”next”,n.touchesDirection=y>0?”prev”:”next”;const w=n.params.loop&&!a.cssMode;if(!r.isMoved){if(w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent(“transitionend”,{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!a.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit(“sliderFirstMove”,s)}let S;r.isMoved&&b!==n.touchesDirection&&w&&Math.abs(v)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),S=!0),n.emit(“sliderMove”,s),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let E=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),v>0?(w&&!S&&r.currentTranslate>(a.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:”prev”,setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(E=!1,a.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**k))):v<0&&(w&&!S&&r.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:”next”,setTranslate:!0,activeSlideIndex:n.slides.length-(“auto”===a.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,r.currentTranslate=r.startTranslate,void(l.diff=n.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function $(e){const t=this,n=t.touchEventsData,r=n.evCache.findIndex((t=>t.pointerId===e.pointerId));if(r>=0&&n.evCache.splice(r,1),[“pointercancel”,”pointerout”,”pointerleave”].includes(e.type)){if(!(“pointercancel”===e.type&&(t.browser.isSafari||t.browser.isWebView)))return}const{params:a,touches:l,rtlTranslate:i,slidesGrid:o,enabled:s}=t;if(!s)return;if(!a.simulateTouch&&”mouse”===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),n.allowTouchCallbacks&&t.emit(“touchEnd”,u),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=h(),d=c-n.touchStartTime;if(t.allowClick){const e=u.path||u.composedPath&&u.composedPath();t.updateClickedSlide(e&&e[0]||u.target),t.emit(“tap click”,u),d<300&&c-n.lastClickTime<300&&t.emit(“doubleTap doubleClick”,u)}if(n.lastClickTime=h(),p((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===l.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let f;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,f=a.followFinger?i?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});let m=0,g=t.slidesSizesGrid[0];for(let p=0;p=o[p]&&f=o[p]&&(m=p,g=o[o.length-1]-o[o.length-2])}let v=null,y=null;a.rewind&&(t.isBeginning?y=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(f-o[m])/g,w=ma.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);”next”===t.swipeDirection&&(b>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?v:m+w):t.slideTo(m)),”prev”===t.swipeDirection&&(b>1-a.longSwipesRatio?t.slideTo(m+w):null!==y&&b<0&&Math.abs(b)>a.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(u.target===t.navigation.nextEl||u.target===t.navigation.prevEl)?u.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):(“next”===t.swipeDirection&&t.slideTo(null!==v?v:m+w),”prev”===t.swipeDirection&&t.slideTo(null!==y?y:m))}}let B;function V(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:a,snapGrid:l}=e,i=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=i&&t.loop;!(“auto”===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!i?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(B),B=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=a,e.allowSlideNext=r,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function H(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const l=e.maxTranslate()-e.minTranslate();a=0===l?0:(e.translate-e.minTranslate())/l,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit(“setTranslate”,e.translate,!1)}const G=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?”swiper-slide”:`.${e.params.slideClass}`);if(n){const t=n.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}};function W(e){G(this,e.target),this.update()}let q=!1;function Q(){}const Y=(e,t)=>{const n=c(),{params:r,el:a,wrapperEl:l,device:i}=e,o=!!r.nested,s=”on”===t?”addEventListener”:”removeEventListener”,u=t;a[s](“pointerdown”,e.onTouchStart,{passive:!1}),n[s](“pointermove”,e.onTouchMove,{passive:!1,capture:o}),n[s](“pointerup”,e.onTouchEnd,{passive:!0}),n[s](“pointercancel”,e.onTouchEnd,{passive:!0}),n[s](“pointerout”,e.onTouchEnd,{passive:!0}),n[s](“pointerleave”,e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&a[s](“click”,e.onClick,!0),r.cssMode&&l[s](“scroll”,e.onScroll),r.updateOnWindowResize?e[u](i.ios||i.android?”resize orientationchange observerUpdate”:”resize observerUpdate”,V,!0):e[u](“observerUpdate”,V,!0),a[s](“load”,e.onLoad,{capture:!0})};const X=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;const K={init:!0,direction:”horizontal”,oneWayMovement:!1,touchEventsTarget:”wrapper”,initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:”input, select, option, textarea, button, video, label”,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:”slide”,breakpoints:void 0,breakpointsBase:”window”,spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:”swiper-no-swiping”,noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:”swiper-“,slideClass:”swiper-slide”,slideActiveClass:”swiper-slide-active”,slideVisibleClass:”swiper-slide-visible”,slideNextClass:”swiper-slide-next”,slidePrevClass:”swiper-slide-prev”,wrapperClass:”swiper-wrapper”,lazyPreloaderClass:”swiper-lazy-preloader”,runCallbacksOnInit:!0,_emitClasses:!1};function Z(e,t){return function(n={}){const r=Object.keys(n)[0],a=n[r];”object”===typeof a&&null!==a?([“navigation”,”pagination”,”scrollbar”].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&”enabled”in a?(!0===e[r]&&(e[r]={enabled:!0}),”object”!==typeof e[r]||”enabled”in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),v(t,n)):v(t,n)):v(t,n)}}const J={eventsEmitter:z,update:N,translate:I,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`),n.emit(“setTransition”,e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),A({swiper:n,runCallbacks:e,direction:t,step:”Start”}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),A({swiper:n,runCallbacks:e,direction:t,step:”End”}))}},slide:D,loop:R,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=”container”===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor=”move”,n.style.cursor=e?”grabbing”:”grab”,t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[“container”===e.params.touchEventsTarget?”el”:”wrapperEl”].style.cursor=””,e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,t=c(),{params:n}=e;e.onTouchStart=F.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=$.bind(e),n.cssMode&&(e.onScroll=H.bind(e)),e.onClick=U.bind(e),e.onLoad=W.bind(e),q||(t.addEventListener(“touchstart”,Q),q=!0),Y(e,”on”)},detachEvents:function(){Y(this,”off”)}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:a}=e,l=r.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const i=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!i||e.currentBreakpoint===i)return;const o=(i in l?l[i]:void 0)||e.originalParams,s=X(e,r),u=X(e,o),c=r.enabled;s&&!u?(a.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!s&&u&&(a.classList.add(`${r.containerModifierClass}grid`),(o.grid.fill&&”column”===o.grid.fill||!o.grid.fill&&”column”===r.grid.fill)&&a.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),[“navigation”,”pagination”,”scrollbar”].forEach((t=>{const n=r[t]&&r[t].enabled,a=o[t]&&o[t].enabled;n&&!a&&e[t].disable(),!n&&a&&e[t].enable()}));const d=o.direction&&o.direction!==r.direction,f=r.loop&&(o.slidesPerView!==r.slidesPerView||d);d&&n&&e.changeDirection(),v(e.params,o);const p=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!p?e.disable():!c&&p&&e.enable(),e.currentBreakpoint=i,e.emit(“_beforeBreakpoint”,o),f&&n&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit(“breakpoint”,o)},getBreakpoint:function(e,t=”window”,n){if(!e||”container”===t&&!n)return;let r=!1;const a=f(),l=”window”===t?a.innerHeight:n.clientHeight,i=Object.keys(e).map((e=>{if(“string”===typeof e&&0===e.indexOf(“@”)){const t=parseFloat(e.substr(1));return{value:l*t,point:e}}return{value:e,point:e}}));i.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let o=0;on}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?”lock”:”unlock”)}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:a,device:l}=e,i=function(e,t){const n=[];return e.forEach((e=>{“object”===typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):”string”===typeof e&&n.push(t+e)})),n}([“initialized”,n.direction,{“free-mode”:e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{“grid-column”:n.grid&&n.grid.rows>1&&”column”===n.grid.fill},{android:l.android},{ios:l.ios},{“css-mode”:n.cssMode},{centered:n.cssMode&&n.centeredSlides},{“watch-progress”:n.watchSlidesProgress}],n.containerModifierClass);t.push(…i),a.classList.add(…t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(…t),this.emitContainerClasses()}}},ee={};class te{constructor(…e){let t,n;1===e.length&&e[0].constructor&&”Object”===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=v({},n),t&&!n.el&&(n.el=t);const r=c();if(n.el&&”string”===typeof n.el&&r.querySelectorAll(n.el).length>1){const e=[];return r.querySelectorAll(n.el).forEach((t=>{const r=v({},n,{el:t});e.push(new te(r))})),e}const a=this;a.__swiper__=!0,a.support=L(),a.device=M({userAgent:n.userAgent}),a.browser=O(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[…a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(…n.modules);const l={};a.modules.forEach((e=>{e({params:n,swiper:a,extendParams:Z(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const i=v({},K,l);return a.params=v({},i,ee,n),a.originalParams=v({},a.params),a.passedParams=v({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>”horizontal”===a.params.direction,isVertical:()=>”vertical”===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:h(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit(“_swiper”),a.params.init&&a.init(),a}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=k(w(t,`.${n.slideClass}, swiper-slide`)[0]);return k(e)-r}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=w(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit(“enable”))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit(“disable”))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),a=(n.maxTranslate()-r)*e+r;n.translateTo(a,”undefined”===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(” “).filter((t=>0===t.indexOf(“swiper”)||0===t.indexOf(e.params.containerModifierClass)));e.emit(“_containerClasses”,t.join(” “))}getSlideClasses(e){const t=this;return t.destroyed?””:e.className.split(” “).filter((e=>0===e.indexOf(“swiper-slide”)||0===e.indexOf(t.params.slideClass))).join(” “)}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit(“_slideClass”,n,r)})),e.emit(“_slideClasses”,t)}slidesPerViewDynamic(e=”current”,t=!1){const{params:n,slides:r,slidesGrid:a,slidesSizesGrid:l,size:i,activeIndex:o}=this;let s=1;if(n.centeredSlides){let e,t=r[o].swiperSlideSize;for(let n=o+1;ni&&(e=!0));for(let n=o-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,s+=1,t>i&&(e=!0))}else if(“current”===e)for(let u=o+1;u=0;u-=1){a[o]-a[u]{t.complete&&G(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(a=(“auto”===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),a||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit(“update”)}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e=”horizontal”===r?”vertical”:”horizontal”),e===r||”horizontal”!==e&&”vertical”!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{“vertical”===e?t.style.width=””:t.style.height=””})),n.emit(“changeDirection”),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&”rtl”===e||!t.rtl&&”ltr”===e||(t.rtl=”rtl”===e,t.rtlTranslate=”horizontal”===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir=”rtl”):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir=”ltr”),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if(“string”===typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.shadowEl&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||””).trim().split(” “).join(“.”)}`;let a=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return w(n,r())[0]})();return!a&&t.params.createElements&&(a=S(“div”,t.params.wrapperClass),n.append(a),w(n,`.${t.params.slideClass}`).forEach((e=>{a.append(e)}))),Object.assign(t,{el:n,wrapperEl:a,slidesEl:t.isElement?n:a,mounted:!0,rtl:”rtl”===n.dir.toLowerCase()||”rtl”===E(n,”direction”),rtlTranslate:”horizontal”===t.params.direction&&(“rtl”===n.dir.toLowerCase()||”rtl”===E(n,”direction”)),wrongRTL:”-webkit-box”===E(a,”display”)}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit(“beforeInit”),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[…t.el.querySelectorAll(‘[loading=”lazy”]’)].forEach((e=>{e.complete?G(t,e):e.addEventListener(“load”,(e=>{G(t,e.target)}))})),t.initialized=!0,t.emit(“init”),t.emit(“afterInit”)),t}destroy(e=!0,t=!0){const n=this,{params:r,el:a,wrapperEl:l,slides:i}=n;return”undefined”===typeof n.params||n.destroyed||(n.emit(“beforeDestroy”),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),a.removeAttribute(“style”),l.removeAttribute(“style”),i&&i.length&&i.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute(“style”),e.removeAttribute(“data-swiper-slide-index”)}))),n.emit(“destroy”),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){v(ee,e)}static get extendedDefaults(){return ee}static get defaults(){return K}static installModule(e){te.prototype.__modules__||(te.prototype.__modules__=[]);const t=te.prototype.__modules__;”function”===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>te.installModule(e))),te):(te.installModule(e),te)}}Object.keys(J).forEach((e=>{Object.keys(J[e]).forEach((t=>{te.prototype[t]=J[e][t]}))})),te.use([function({swiper:e,on:t,emit:n}){const r=f();let a=null,l=null;const i=()=>{e&&!e.destroyed&&e.initialized&&(n(“beforeResize”),n(“resize”))},o=()=>{e&&!e.destroyed&&e.initialized&&n(“orientationchange”)};t(“init”,(()=>{e.params.resizeObserver&&”undefined”!==typeof r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(a=new ResizeObserver((t=>{l=r.requestAnimationFrame((()=>{const{width:n,height:r}=e;let a=n,l=r;t.forEach((({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(a=n?n.width:(t[0]||t).inlineSize,l=n?n.height:(t[0]||t).blockSize)})),a===n&&l===r||i()}))})),a.observe(e.el)):(r.addEventListener(“resize”,i),r.addEventListener(“orientationchange”,o))})),t(“destroy”,(()=>{l&&r.cancelAnimationFrame(l),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null),r.removeEventListener(“resize”,i),r.removeEventListener(“orientationchange”,o)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const a=[],l=f(),i=(t,n={})=>{const i=new(l.MutationObserver||l.WebkitMutationObserver)((t=>{if(e.__preventObserver__)return;if(1===t.length)return void r(“observerUpdate”,t[0]);const n=function(){r(“observerUpdate”,t[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)}));i.observe(t,{attributes:”undefined”===typeof n.attributes||n.attributes,childList:”undefined”===typeof n.childList||n.childList,characterData:”undefined”===typeof n.characterData||n.characterData}),a.push(i)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n(“init”,(()=>{if(e.params.observer){if(e.params.observeParents){const t=x(e.el);for(let e=0;e{a.forEach((e=>{e.disconnect()})),a.splice(0,a.length)}))}]);const ne=te;function re(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach((a=>{if(!n[a]&&!0===n.auto){let l=w(e.el,`.${r[a]}`)[0];l||(l=S(“div”,r[a]),l.className=r[a],e.el.append(l)),n[a]=l,t[a]=l}})),n}function ae({swiper:e,extendParams:t,on:n,emit:r}){t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:”swiper-button-disabled”,hiddenClass:”swiper-button-hidden”,lockClass:”swiper-button-lock”,navigationDisabledClass:”swiper-navigation-disabled”}}),e.navigation={nextEl:null,prevEl:null};const a=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function l(t){let n;return t&&”string”===typeof t&&e.isElement&&(n=e.el.shadowRoot.querySelector(t),n)?n:(t&&(“string”===typeof t&&(n=[…document.querySelectorAll(t)]),e.params.uniqueNavElements&&”string”===typeof t&&n.length>1&&1===e.el.querySelectorAll(t).length&&(n=e.el.querySelector(t))),t&&!n?t:n)}function i(t,n){const r=e.params.navigation;(t=a(t)).forEach((t=>{t&&(t.classList[n?”add”:”remove”](…r.disabledClass.split(” “)),”BUTTON”===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?”add”:”remove”](r.lockClass))}))}function o(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return i(n,!1),void i(t,!1);i(n,e.isBeginning&&!e.params.rewind),i(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r(“navigationPrev”))}function u(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r(“navigationNext”))}function c(){const t=e.params.navigation;if(e.params.navigation=re(e,e.originalParams.navigation,e.params.navigation,{nextEl:”swiper-button-next”,prevEl:”swiper-button-prev”}),!t.nextEl&&!t.prevEl)return;let n=l(t.nextEl),r=l(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:r}),n=a(n),r=a(r);const i=(n,r)=>{n&&n.addEventListener(“click”,”next”===r?u:s),!e.enabled&&n&&n.classList.add(…t.lockClass.split(” “))};n.forEach((e=>i(e,”next”))),r.forEach((e=>i(e,”prev”)))}function d(){let{nextEl:t,prevEl:n}=e.navigation;t=a(t),n=a(n);const r=(t,n)=>{t.removeEventListener(“click”,”next”===n?u:s),t.classList.remove(…e.params.navigation.disabledClass.split(” “))};t.forEach((e=>r(e,”next”))),n.forEach((e=>r(e,”prev”)))}n(“init”,(()=>{!1===e.params.navigation.enabled?f():(c(),o())})),n(“toEdge fromEdge lock unlock”,(()=>{o()})),n(“destroy”,(()=>{d()})),n(“enable disable”,(()=>{let{nextEl:t,prevEl:n}=e.navigation;t=a(t),n=a(n),[…t,…n].filter((e=>!!e)).forEach((t=>t.classList[e.enabled?”remove”:”add”](e.params.navigation.lockClass)))})),n(“click”,((t,n)=>{let{nextEl:l,prevEl:i}=e.navigation;l=a(l),i=a(i);const o=n.target;if(e.params.navigation.hideOnClick&&!i.includes(o)&&!l.includes(o)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;l.length?t=l[0].classList.contains(e.params.navigation.hiddenClass):i.length&&(t=i[0].classList.contains(e.params.navigation.hiddenClass)),r(!0===t?”navigationShow”:”navigationHide”),[…l,…i].filter((e=>!!e)).forEach((t=>t.classList.toggle(e.params.navigation.hiddenClass)))}}));const f=()=>{e.el.classList.add(…e.params.navigation.navigationDisabledClass.split(” “)),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(…e.params.navigation.navigationDisabledClass.split(” “)),c(),o()},disable:f,update:o,init:c,destroy:d})}function le(e=””){return`.${e.trim().replace(/([\.:!\/])/g,”\\$1″).replace(/ /g,”.”)}`}function ie({swiper:e,extendParams:t,on:n,emit:r}){const a=”swiper-pagination”;let l;t({pagination:{el:null,bulletElement:”span”,clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:”bullets”,dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let i=0;const o=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function u(t,n){const{bulletActiveClass:r}=e.params.pagination;t&&(t=t[(“prev”===n?”previous”:”next”)+”ElementSibling”])&&(t.classList.add(`${r}-${n}`),(t=t[(“prev”===n?”previous”:”next”)+”ElementSibling”])&&t.classList.add(`${r}-${n}-${n}`))}function c(t){const n=t.target.closest(le(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const r=k(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===r)return;(re.slides.length-e.loopedSlides)&&e.loopFix({direction:r1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex:”undefined”!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,”bullets”===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let o,s,d;if(n.dynamicBullets&&(l=C(r[0],e.isHorizontal()?”width”:”height”,!0),c.forEach((t=>{t.style[e.isHorizontal()?”width”:”height”]=l*(n.dynamicMainBullets+4)+”px”})),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(i+=a-(e.previousIndex||0),i>n.dynamicMainBullets-1?i=n.dynamicMainBullets-1:i<0&&(i=0)),o=Math.max(a-i,0),s=o+(Math.min(r.length,n.dynamicMainBullets)-1),d=(s+o)/2),r.forEach((e=>{e.classList.remove(…[“”,”-next”,”-next-next”,”-prev”,”-prev-prev”,”-main”].map((e=>`${n.bulletActiveClass}${e}`)))})),c.length>1)r.forEach((e=>{const t=k(e);t===a&&e.classList.add(n.bulletActiveClass),n.dynamicBullets&&(t>=o&&t<=s&&e.classList.add(`${n.bulletActiveClass}-main`),t===o&&u(e,”prev”),t===s&&u(e,”next”))}));else{const e=r[a];if(e&&e.classList.add(n.bulletActiveClass),n.dynamicBullets){const e=r[o],t=r[s];for(let a=o;a<=s;a+=1)r[a]&&r[a].classList.add(`${n.bulletActiveClass}-main`);u(e,”prev”),u(t,”next”)}}if(n.dynamicBullets){const a=Math.min(r.length,n.dynamicMainBullets+4),i=(l*a-l)/2-d*l,o=t?”right”:”left”;r.forEach((t=>{t.style[e.isHorizontal()?o:”top”]=`${i}px`}))}}c.forEach(((t,l)=>{if(“fraction”===n.type&&(t.querySelectorAll(le(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(a+1)})),t.querySelectorAll(le(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(f)}))),”progressbar”===n.type){let r;r=n.progressbarOpposite?e.isHorizontal()?”vertical”:”horizontal”:e.isHorizontal()?”horizontal”:”vertical”;const l=(a+1)/f;let i=1,o=1;”horizontal”===r?i=l:o=l,t.querySelectorAll(le(n.progressbarFillClass)).forEach((t=>{t.style.transform=`translate3d(0,0,0) scaleX(${i}) scaleY(${o})`,t.style.transitionDuration=`${e.params.speed}ms`}))}”custom”===n.type&&n.renderCustom?(t.innerHTML=n.renderCustom(e,a+1,f),0===l&&r(“paginationRender”,t)):(0===l&&r(“paginationRender”,t),r(“paginationUpdate”,t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?”add”:”remove”](n.lockClass)}))}function f(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length;let a=e.pagination.el;a=o(a);let l=””;if(“bullets”===t.type){let r=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n${t.bulletElement}>`}”fraction”===t.type&&(l=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `),”progressbar”===t.type&&(l=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``),a.forEach((n=>{“custom”!==t.type&&(n.innerHTML=l||””),”bullets”===t.type&&(e.pagination.bullets=[…n.querySelectorAll(le(t.bulletClass))])})),”custom”!==t.type&&r(“paginationRender”,a[0])}function p(){e.params.pagination=re(e,e.originalParams.pagination,e.params.pagination,{el:”swiper-pagination”});const t=e.params.pagination;if(!t.el)return;let n;”string”===typeof t.el&&e.isElement&&(n=e.el.shadowRoot.querySelector(t.el)),n||”string”!==typeof t.el||(n=[…document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&”string”===typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[…e.el.querySelectorAll(t.el)],n.length>1&&(n=n.filter((t=>x(t,”.swiper”)[0]===e.el))[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=o(n),n.forEach((n=>{“bullets”===t.type&&t.clickable&&n.classList.add(t.clickableClass),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),”bullets”===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),i=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),”progressbar”===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener(“click”,c),e.enabled||n.classList.add(t.lockClass)})))}function h(){const t=e.params.pagination;if(s())return;let n=e.pagination.el;n&&(n=o(n),n.forEach((n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&n.removeEventListener(“click”,c)}))),e.pagination.bullets&&e.pagination.bullets.forEach((e=>e.classList.remove(t.bulletActiveClass)))}n(“init”,(()=>{!1===e.params.pagination.enabled?m():(p(),f(),d())})),n(“activeIndexChange”,(()=>{“undefined”===typeof e.snapIndex&&d()})),n(“snapIndexChange”,(()=>{d()})),n(“snapGridLengthChange”,(()=>{f(),d()})),n(“destroy”,(()=>{h()})),n(“enable disable”,(()=>{let{el:t}=e.pagination;t&&(t=o(t),t.forEach((t=>t.classList[e.enabled?”remove”:”add”](e.params.pagination.lockClass))))})),n(“lock unlock”,(()=>{d()})),n(“click”,((t,n)=>{const a=n.target;let{el:l}=e.pagination;if(Array.isArray(l)||(l=[l].filter((e=>!!e))),e.params.pagination.el&&e.params.pagination.hideOnClick&&l&&l.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;const t=l[0].classList.contains(e.params.pagination.hiddenClass);r(!0===t?”paginationShow”:”paginationHide”),l.forEach((t=>t.classList.toggle(e.params.pagination.hiddenClass)))}}));const m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=o(t),t.forEach((t=>t.classList.add(e.params.pagination.paginationDisabledClass)))),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=o(t),t.forEach((t=>t.classList.remove(e.params.pagination.paginationDisabledClass)))),p(),f(),d()},disable:m,render:f,update:d,init:p,destroy:h})}function oe(e){return”object”===typeof e&&null!==e&&e.constructor&&”Object”===Object.prototype.toString.call(e).slice(8,-1)}function se(e,t){const n=[“__proto__”,”constructor”,”prototype”];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{“undefined”===typeof e[n]?e[n]=t[n]:oe(t[n])&&oe(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:se(e[n],t[n]):e[n]=t[n]}))}function ue(e={}){return e.navigation&&”undefined”===typeof e.navigation.nextEl&&”undefined”===typeof e.navigation.prevEl}function ce(e={}){return e.pagination&&”undefined”===typeof e.pagination.el}function de(e={}){return e.scrollbar&&”undefined”===typeof e.scrollbar.el}function fe(e=””){const t=e.split(” “).map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(” “)}function pe(e=””){return e?e.includes(“swiper-wrapper”)?e:`swiper-wrapper ${e}`:”swiper-wrapper”}const he=[“modules”,”init”,”_direction”,”oneWayMovement”,”touchEventsTarget”,”initialSlide”,”_speed”,”cssMode”,”updateOnWindowResize”,”resizeObserver”,”nested”,”focusableElements”,”_enabled”,”_width”,”_height”,”preventInteractionOnTransition”,”userAgent”,”url”,”_edgeSwipeDetection”,”_edgeSwipeThreshold”,”_freeMode”,”_autoHeight”,”setWrapperSize”,”virtualTranslate”,”_effect”,”breakpoints”,”_spaceBetween”,”_slidesPerView”,”maxBackfaceHiddenSlides”,”_grid”,”_slidesPerGroup”,”_slidesPerGroupSkip”,”_slidesPerGroupAuto”,”_centeredSlides”,”_centeredSlidesBounds”,”_slidesOffsetBefore”,”_slidesOffsetAfter”,”normalizeSlideIndex”,”_centerInsufficientSlides”,”_watchOverflow”,”roundLengths”,”touchRatio”,”touchAngle”,”simulateTouch”,”_shortSwipes”,”_longSwipes”,”longSwipesRatio”,”longSwipesMs”,”_followFinger”,”allowTouchMove”,”_threshold”,”touchMoveStopPropagation”,”touchStartPreventDefault”,”touchStartForcePreventDefault”,”touchReleaseOnEdges”,”uniqueNavElements”,”_resistance”,”_resistanceRatio”,”_watchSlidesProgress”,”_grabCursor”,”preventClicks”,”preventClicksPropagation”,”_slideToClickedSlide”,”_loop”,”loopedSlides”,”loopPreventsSliding”,”_rewind”,”_allowSlidePrev”,”_allowSlideNext”,”_swipeHandler”,”_noSwiping”,”noSwipingClass”,”noSwipingSelector”,”passiveListeners”,”containerModifierClass”,”slideClass”,”slideActiveClass”,”slideVisibleClass”,”slideNextClass”,”slidePrevClass”,”wrapperClass”,”lazyPreloaderClass”,”runCallbacksOnInit”,”observer”,”observeParents”,”observeSlideChildren”,”a11y”,”_autoplay”,”_controller”,”coverflowEffect”,”cubeEffect”,”fadeEffect”,”flipEffect”,”creativeEffect”,”cardsEffect”,”hashNavigation”,”history”,”keyboard”,”mousewheel”,”_navigation”,”_pagination”,”parallax”,”_scrollbar”,”_thumbs”,”virtual”,”zoom”,”control”,”injectStyles”,”injectStylesUrls”];function me(e){return e.type&&e.type.displayName&&e.type.displayName.includes(“SwiperSlide”)}function ge(e){const t=[];return l.Children.toArray(e).forEach((e=>{me(e)?t.push(e):e.props&&e.props.children&&ge(e.props.children).forEach((e=>t.push(e)))})),t}function ve(e){const t=[],n={“container-start”:[],”container-end”:[],”wrapper-start”:[],”wrapper-end”:[]};return l.Children.toArray(e).forEach((e=>{if(me(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=ge(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n[“container-end”].push(e)}else n[“container-end”].push(e)})),{slides:t,slots:n}}function ye({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:a,prevEl:l,scrollbarEl:i,paginationEl:o}){const s=r.filter((e=>”children”!==e&&”direction”!==e&&”wrapperClass”!==e)),{params:u,pagination:c,navigation:d,scrollbar:f,virtual:p,thumbs:h}=e;let m,g,v,y,b,w,S,E;r.includes(“thumbs”)&&n.thumbs&&n.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(m=!0),r.includes(“controller”)&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(g=!0),r.includes(“pagination”)&&n.pagination&&(n.pagination.el||o)&&(u.pagination||!1===u.pagination)&&c&&!c.el&&(v=!0),r.includes(“scrollbar”)&&n.scrollbar&&(n.scrollbar.el||i)&&(u.scrollbar||!1===u.scrollbar)&&f&&!f.el&&(y=!0),r.includes(“navigation”)&&n.navigation&&(n.navigation.prevEl||l)&&(n.navigation.nextEl||a)&&(u.navigation||!1===u.navigation)&&d&&!d.prevEl&&!d.nextEl&&(b=!0);if(r.includes(“loop”)&&e.isElement&&(u.loop&&!n.loop?w=!0:!u.loop&&n.loop?S=!0:E=!0),s.forEach((t=>{if(oe(u[t])&&oe(n[t]))se(u[t],n[t]);else{const a=n[t];!0!==a&&!1!==a||”navigation”!==t&&”pagination”!==t&&”scrollbar”!==t?u[t]=n[t]:!1===a&&e[r=t]&&(e[r].destroy(),”navigation”===r?(e.isElement&&(e[r].prevEl.remove(),e[r].nextEl.remove()),u[r].prevEl=void 0,u[r].nextEl=void 0,e[r].prevEl=void 0,e[r].nextEl=void 0):(e.isElement&&e[r].el.remove(),u[r].el=void 0,e[r].el=void 0))}var r})),s.includes(“controller”)&&!g&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),r.includes(“children”)&&t&&p&&u.virtual.enabled&&(p.slides=t,p.update(!0)),r.includes(“children”)&&t&&u.loop&&(E=!0),m){h.init()&&h.update(!0)}g&&(e.controller.control=u.controller.control),v&&(!e.isElement||o&&”string”!==typeof o||((o=document.createElement(“div”)).classList.add(“swiper-pagination”),e.el.shadowEl.appendChild(o)),o&&(u.pagination.el=o),c.init(),c.render(),c.update()),y&&(!e.isElement||i&&”string”!==typeof i||((i=document.createElement(“div”)).classList.add(“swiper-scrollbar”),e.el.shadowEl.appendChild(i)),i&&(u.scrollbar.el=i),f.init(),f.updateSize(),f.setTranslate()),b&&(e.isElement&&(a&&”string”!==typeof a||((a=document.createElement(“div”)).classList.add(“swiper-button-next”),e.el.shadowEl.appendChild(a)),l&&”string”!==typeof l||((l=document.createElement(“div”)).classList.add(“swiper-button-prev”),e.el.shadowEl.appendChild(l))),a&&(u.navigation.nextEl=a),l&&(u.navigation.prevEl=l),d.init(),d.update()),r.includes(“allowSlideNext”)&&(e.allowSlideNext=n.allowSlideNext),r.includes(“allowSlidePrev”)&&(e.allowSlidePrev=n.allowSlidePrev),r.includes(“direction”)&&e.changeDirection(n.direction,!1),(w||E)&&e.loopDestroy(),(S||E)&&e.loopCreate(),e.update()}function be(e,t){return”undefined”===typeof window?(0,l.useEffect)(e,t):(0,l.useLayoutEffect)(e,t)}const we=(0,l.createContext)(null),Se=(0,l.createContext)(null);function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;te.replace(/_/,””))),o=Object.assign({},e);return Object.keys(o).forEach((o=>{“undefined”!==typeof e[o]&&(i.indexOf(o)>=0?oe(e[o])?(n[o]={},a[o]={},se(n[o],e[o]),se(a[o],e[o])):(n[o]=e[o],a[o]=e[o]):0===o.search(/on[A-Z]/)&&”function”===typeof e[o]?t?r[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:n.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:l[o]=e[o])})),[“navigation”,”pagination”,”scrollbar”].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:a,rest:l,events:r}}(s),{slides:L,slots:M}=ve(i),O=()=>{m(!h)};Object.assign(C.on,{_containerClasses(e,t){d(t)}});const z=()=>{Object.assign(C.on,P),u=!0;const e={…C};if(delete e.wrapperClass,y.current=new ne(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=L;const e={cache:!1,slides:L,renderExternal:p,renderExternalUpdate:!1};se(y.current.params.virtual,e),se(y.current.originalParams.virtual,e)}};v.current||z(),y.current&&y.current.on(“_beforeBreakpoint”,O);return(0,l.useEffect)((()=>()=>{y.current&&y.current.off(“_beforeBreakpoint”,O)})),(0,l.useEffect)((()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)})),be((()=>{if(t&&(t.current=v.current),v.current)return y.current.destroyed&&z(),function({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:a,swiper:l},i){ue(i)&&t&&n&&(l.params.navigation.nextEl=t,l.originalParams.navigation.nextEl=t,l.params.navigation.prevEl=n,l.originalParams.navigation.prevEl=n),ce(i)&&r&&(l.params.pagination.el=r,l.originalParams.pagination.el=r),de(i)&&a&&(l.params.scrollbar.el=a,l.originalParams.scrollbar.el=a),l.init(e)}({el:v.current,nextEl:S.current,prevEl:E.current,paginationEl:k.current,scrollbarEl:x.current,swiper:y.current},C),o&&o(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}}),[]),be((()=>{!u&&P&&y.current&&Object.keys(P).forEach((e=>{y.current.on(e,P[e])}));const e=function(e,t,n,r,a){const l=[];if(!t)return l;const i=e=>{l.indexOf(e)<0&&l.push(e)};if(n&&r){const e=r.map(a),t=n.map(a);e.join(“”)!==t.join(“”)&&i(“children”),r.length!==n.length&&i(“children”)}return he.filter((e=>”_”===e[0])).map((e=>e.replace(/_/,””))).forEach((n=>{if(n in e&&n in t)if(oe(e[n])&&oe(t[n])){const r=Object.keys(e[n]),a=Object.keys(t[n]);r.length!==a.length?i(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&i(n)})),a.forEach((r=>{e[n][r]!==t[n][r]&&i(n)})))}else e[n]!==t[n]&&i(n)})),l}(T,b.current,L,w.current,(e=>e.key));return b.current=T,w.current=L,e.length&&y.current&&!y.current.destroyed&&ye({swiper:y.current,slides:L,passedParams:T,changedParams:e,nextEl:S.current,prevEl:E.current,scrollbarEl:x.current,paginationEl:k.current}),()=>{P&&y.current&&Object.keys(P).forEach((e=>{y.current.off(e,P[e])}))}})),be((()=>{var e;!(e=y.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[f]),l.createElement(r,Ee({ref:v,className:fe(`${c}${n?` ${n}`:””}`)},_),l.createElement(Se.Provider,{value:y.current},M[“container-start”],l.createElement(a,{className:pe(C.wrapperClass)},M[“wrapper-start”],C.virtual?function(e,t,n){if(!n)return null;const r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},a=e.isHorizontal()?{[e.rtlTranslate?”right”:”left”]:`${n.offset}px`}:{top:`${n.offset}px`},{from:i,to:o}=n,s=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let l=s;l=i&&l<=o&&c.push(t[r(l)]);return c.map((t=>l.cloneElement(t,{swiper:e,style:a})))}(y.current,L,f):L.map(((e,t)=>l.cloneElement(e,{swiper:y.current,swiperSlideIndex:t}))),M[“wrapper-end”]),ue(C)&&l.createElement(l.Fragment,null,l.createElement(“div”,{ref:E,className:”swiper-button-prev”}),l.createElement(“div”,{ref:S,className:”swiper-button-next”})),de(C)&&l.createElement(“div”,{ref:x,className:”swiper-scrollbar”}),ce(C)&&l.createElement(“div”,{ref:k,className:”swiper-pagination”}),M[“container-end”]))}));function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(“undefined”!==typeof c&&(f.current.swiperSlideIndex=c),t&&(t.current=f.current),f.current&&i){if(!i.destroyed)return i.on(“_slideClass”,v),()=>{i&&i.off(“_slideClass”,v)};”swiper-slide”!==p&&h(“swiper-slide”)}})),be((()=>{i&&f.current&&!i.destroyed&&h(i.getSlideClasses(f.current))}),[i]);const y={isActive:p.indexOf(“swiper-slide-active”)>=0,isVisible:p.indexOf(“swiper-slide-visible”)>=0,isPrev:p.indexOf(“swiper-slide-prev”)>=0,isNext:p.indexOf(“swiper-slide-next”)>=0},b=()=>”function”===typeof r?r(y):r;return l.createElement(n,xe({ref:f,className:fe(`${p}${a?` ${a}`:””}`),”data-swiper-slide-index”:u,onLoad:()=>{g(!0)}},d),o&&l.createElement(we.Provider,{value:y},l.createElement(“div”,{className:”swiper-zoom-container”,”data-swiper-zoom”:”number”===typeof o?o:void 0},b(),s&&!m&&l.createElement(“div”,{className:”swiper-lazy-preloader”}))),!o&&l.createElement(we.Provider,{value:y},b(),s&&!m&&l.createElement(“div”,{className:”swiper-lazy-preloader”})))}));Ce.displayName=”SwiperSlide”;var Te=n(893),_e=function(e){var t,n=e.id,r=e.caption,a=e.gallery,i=a.images[0].image,o=i.thumborUrl,s=i.height,u=i.width,c=i.name,d=(0,l.useMemo)((function(){return u>s}),[u,s]);return(0,Te.jsxs)(“figure”,{on:’tap:amp-lightbox-gallery.open(id=”‘.concat(n,'”)’),className:(t={“is-landscape”:d},Object.keys(t).filter((function(e){return t[e]})).join(” “)),children:[(0,Te.jsx)(“img”,{src:o,height:s,width:u,alt:c,loading:”lazy”}),(0,Te.jsx)(“figcaption”,{children:r||a.title})]})},Pe=function(e){var t=e.id,n=e.lightboxId,r=e.image,a=e.caption,l=r.thumborUrl,i=r.width,o=r.height,s=r.name;return(0,Te.jsxs)(“figure”,{children:[(0,Te.jsx)(“amp-img”,{id:t,lightbox:n,src:l,width:i,height:o,alt:s,layout:”responsive”}),(0,Te.jsx)(“figcaption”,{children:a})]})},Le=function(e){var t=e.title,n=e.galleries,r=e.functionData,a=1===n.length?”–no-space”:””;return(0,Te.jsxs)(“section”,{className:”galleries galleries”.concat(a),children:[(0,Te.jsx)(“h2″,{className:”galleries__title”,children:t||”Galeria de fotos”}),(0,Te.jsx)(“div”,{className:”galleries__container”,children:(0,Te.jsx)(ke,{modules:[ae,ie],navigation:!0,slidesPerView:1,direction:”horizontal”,pagination:{clickable:!0,dynamicBullets:!0,dynamicMainBullets:1},children:n.map((function(e,t){return(0,Te.jsx)(Ce,{children:(0,Te.jsx)(_e,{id:”glr-“.concat(t,”-img-0″),gallery:r[e.id],caption:e.title})},t)}))})}),(0,Te.jsx)(“div”,{className:”galleries__lightbox”,children:n.map((function(e,t){return r[e.id].images.map((function(e,n){var r=e.image,a=e.caption;return(0,Te.jsx)(Pe,{id:”glr-“.concat(t,”-img-“).concat(n),lightboxId:”gallery-“.concat(t),image:r,caption:a},n)}))}))})]})};const Me=function(e){var t=e.context,n=t.block,r=t.functionData,a=n.data.componentBody,l=a.title,i=a.galleries;return null===i||void 0===i||!i.length||null!==r&&void 0!==r&&r.errors?(0,Te.jsx)(Te.Fragment,{}):(0,Te.jsx)(Le,{title:l,galleries:i,functionData:r})};document.querySelectorAll(“.pages-agregador-galerias”).forEach((function(e){try{var t=JSON.parse(e.dataset.props);i.hydrate((0,Te.jsx)(Me,function(e){for(var t=1;t