grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026/*! * jQuery blockUI plugin * Version 2.70.0-2014.11.23 * Requires jQuery v1.7 or later * * Examples at: http://malsup.com/jquery/block/ * Copyright (c) 2007-2013 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Thanks to Amir-Hossein Sobhi for some excellent contributions! */ !function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('
');t&&s.append("

"+t+"

"),o&&s.append("

"+o+"

"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e(''):e(''),v=c.theme?e(''):e(''),c.theme&&h?(w='"):c.theme?(w='"):w=h?'':'',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(); ;var wc_add_to_cart_params={"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_view_cart":"Ver carrito","cart_url":"https://bagno.uy/cart/","is_cart":"","cart_redirect_after_add":"no"} ;jQuery(function(t){if("undefined"==typeof wc_add_to_cart_params)return!1;var a=function(){this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),this.$liveRegion=this.createLiveRegion(),t(document.body).on("click",".add_to_cart_button:not(.wc-interactive)",{addToCartHandler:this},this.onAddToCart).on("click",".remove_from_cart_button",{addToCartHandler:this},this.onRemoveFromCart).on("added_to_cart",{addToCartHandler:this},this.onAddedToCart).on("removed_from_cart",{addToCartHandler:this},this.onRemovedFromCart).on("ajax_request_not_sent.adding_to_cart",this.updateButton)};a.prototype.addRequest=function(t){this.requests.push(t),1===this.requests.length&&this.run()},a.prototype.run=function(){var a=this,e=a.requests[0].complete;a.requests[0].complete=function(){"function"==typeof e&&e(),a.requests.shift(),a.requests.length>0&&a.run()},t.ajax(this.requests[0])},a.prototype.onAddToCart=function(a){var e=t(this);if(e.is(".ajax_add_to_cart")){if(!e.attr("data-product_id"))return!0;if(a.data.addToCartHandler.$liveRegion.text("").removeAttr("aria-relevant"),a.preventDefault(),e.removeClass("added"),e.addClass("loading"),!1===t(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[e]))return t(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,e]),!0;var r={};t.each(e.data(),function(t,a){r[t]=a}),t.each(e[0].dataset,function(t,a){r[t]=a}),t(document.body).trigger("adding_to_cart",[e,r]),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:r,success:function(a){a&&(a.error&&a.product_url?window.location=a.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?t(document.body).trigger("added_to_cart",[a.fragments,a.cart_hash,e]):window.location=wc_add_to_cart_params.cart_url)},dataType:"json"})}},a.prototype.onRemoveFromCart=function(a){var e=t(this),r=e.closest(".woocommerce-mini-cart-item");a.data.addToCartHandler.$liveRegion.text("").removeAttr("aria-relevant"),a.preventDefault(),r.block({message:null,overlayCSS:{opacity:.6}}),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:e.data("cart_item_key")},success:function(a){a&&a.fragments?t(document.body).trigger("removed_from_cart",[a.fragments,a.cart_hash,e]):window.location=e.attr("href")},error:function(){window.location=e.attr("href")},dataType:"json"})},a.prototype.updateButton=function(a,e,r,d){if(d=void 0!==d&&d){if(d.removeClass("loading"),e&&d.addClass("added"),e&&!wc_add_to_cart_params.is_cart&&0===d.parent().find(".added_to_cart").length){var o=document.createElement("a");o.href=wc_add_to_cart_params.cart_url,o.className="added_to_cart wc-forward",o.title=wc_add_to_cart_params.i18n_view_cart,o.textContent=wc_add_to_cart_params.i18n_view_cart,d.after(o)}t(document.body).trigger("wc_cart_button_updated",[d])}},a.prototype.updateFragments=function(a,e){e&&(t.each(e,function(a){t(a).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),t.each(e,function(a,e){t(a).replaceWith(e),t(a).stop(!0).css("opacity","1").unblock()}),t(document.body).trigger("wc_fragments_loaded"))},a.prototype.alertCartUpdated=function(t,a,e,r){if(r=void 0!==r&&r){var d=r.data("success_message");if(!d)return;t.data.addToCartHandler.$liveRegion.delay(1e3).text(d).attr("aria-relevant","all")}},a.prototype.createLiveRegion=function(){var a=t(".widget_shopping_cart_live_region");return a.length?a:t('
').appendTo("body")},a.prototype.onAddedToCart=function(t,a,e,r){t.data.addToCartHandler.updateButton(t,a,e,r),t.data.addToCartHandler.updateFragments(t,a),t.data.addToCartHandler.alertCartUpdated(t,a,e,r)},a.prototype.onRemovedFromCart=function(t,a,e,r){t.data.addToCartHandler.updateFragments(t,a),t.data.addToCartHandler.alertCartUpdated(t,a,e,r)},new a}); ;/*! js-cookie v3.0.5 | MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,function(){"use strict";function e(e){for(var t=1;t=0&&parseFloat(e(this).val())'),e(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),e(".password-input").each(function(){const o=e(this).find("input").attr("id");e(this).append('')}),e(".show-password-input").on("click",function(o){o.preventDefault(),e(this).hasClass("display-password")?(e(this).removeClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_show)):(e(this).addClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_hide)),e(this).hasClass("display-password")?e(this).siblings(['input[type="password"]']).prop("type","text"):e(this).siblings('input[type="text"]').prop("type","password"),e(this).siblings("input").focus()}),e("a.coming-soon-footer-banner-dismiss").on("click",function(o){var t=e(o.target);e.ajax({type:"post",url:t.data("rest-url"),data:{woocommerce_meta:{coming_soon_banner_dismissed:"yes"}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.data("rest-nonce"))},complete:function(){e("#coming-soon-footer-banner").hide()}})}),e(document.body).on("item_removed_from_classic_cart updated_wc_div",focus_populate_live_region)}),document.addEventListener("DOMContentLiteSpeedLoaded",on_document_ready); ;var wpfd_var={"adminurl":"https://bagno.uy/wp-admin/admin.php","wpfdajaxurl":"https://bagno.uy/wp-admin/admin-ajax.php?juwpfisadmin=false&action=wpfd&"} ;(function($){var __loop=function(cfg,i){var $this=$(this),wdg=$this.data('MediaTable');if(!$.isEmptyObject(wdg))return;wdg={$wrap:$('
'),$table:$this,$menu:!1,cfg:cfg,id:$this.attr('id')};if(!wdg.id){wdg.id='MediaTable-'+i;wdg.$table.attr('id',wdg.id)} wdg.$table.addClass('activeMediaTable');wdg.$wrap.addClass('mediaTableWrapper');wdg.$table.before(wdg.$wrap).appendTo(wdg.$wrap);if(wdg.cfg.menu)__initMenu(wdg);wdg.$table.find('thead th').each(function(i){__thInit.call(this,i,wdg)});wdg.$table.data('MediaTable',wdg)};var __initMenu=function(wdg){wdg.$menu=$('
');wdg.$menu.$header=$('');wdg.$menu.$list=$('
    ');wdg.$menu.addClass('mediaTableMenu').addClass('mediaTableMenuClosed').append(wdg.$menu.$header).append(wdg.$menu.$list);wdg.$wrap.addClass('mediaTableWrapperWithMenu');wdg.$menu.$header.html(wdg.cfg.menuTitle);wdg.$table.before(wdg.$menu);$(window).bind('orientationchange resize',function(){wdg.$menu.find('input').trigger('updateCheck')});wdg.$menu.$header.bind('click',function(){wdg.$menu.toggleClass('mediaTableMenuClosed')});wdg.$table.click(function(){wdg.$menu.addClass('mediaTableMenuClosed')});wdg.$menu.$list.bind('mouseleave',function(e){wdg.$menu.toggleClass('mediaTableMenuClosed');e.stopPropagation()})};var __thInit=function(i,wdg){var $th=$(this),id=$th.attr('id'),classes=$th.attr('class');if(!id){id=wdg.id+'-mediaTableCol-'+i;$th.attr('id',id)} if(wdg.cfg.menu&&!$th.is('.persist')){var $li=$('
  • ');wdg.$menu.$list.append($li);__liInitActions($th,$li.find('input'),wdg)} $('tbody tr:not(.nohide)',wdg.$table).each(function(){__trInit.call(this,i,id,classes)});$('tbody',wdg.$table).on('change',function(){$('tbody tr:not(.nohide)',wdg.$table).each(function(){__trInit.call(this,i,id,classes)})})};var __trInit=function(i,id,classes){var $cell=$(this).find('td,th').eq(i);$cell.attr('headers',id);if(classes)$cell.addClass(classes);};var __liInitActions=function($th,$checkbox,wdg){var change=function(){var val=$checkbox.val(),cols=wdg.$table.find("#"+val+", [headers="+val+"]");if($checkbox.is(":checked")){cols.show();cols.removeClass('wpfd-col-hidden')}else{cols.hide();cols.addClass('wpfd-col-hidden')};var wpfdTable=$('.wpfd-container table.wpfd-search-result');wpfdTable.each(function(){var visibleRow=$(this).find('thead tr');visibleRow.each(function(){var visibleColumn=$(this).find('th.optional:not(.wpfd-col-hidden)');visibleColumn.each(function(){if($(this).is(visibleColumn.last())){$(this).addClass('wpfd-last-col-table');$(this).addClass('wpfd-padding-right')}else{$(this).removeClass('wpfd-last-col-table');$(this).removeClass('wpfd-padding-right')}})})})};var updateCheck=function(){if($th.is(':visible')||$th.css('display')!=='none'){$checkbox.attr("checked",!0)}else{$checkbox.attr("checked",!1)}};$checkbox.bind('change',change).bind('updateCheck',updateCheck).trigger('updateCheck')} var __destroy=function(){var wdg=$(this).data('MediaTable');if(!wdg)return;wdg.$wrap.after(wdg.$table).remove();wdg.$table.removeClass('activeMediaTable');wdg.$table.data('MediaTable',null)};$.fn.mediaTable=function(){var cfg=!1;if(!arguments.length||$.isPlainObject(arguments[0]))cfg=$.extend({},{menu:!0,menuTitle:'',t:'e'},arguments[0]);if(cfg!==!1){$(this).each(function(i){__loop.call(this,cfg,i)})}else if(arguments.length)switch(arguments[0]){case 'destroy':$(this).each(function(){__destroy.call(this)});break} return this}})(jQuery) ;// leanModal v1.1 by Ray Stone - http://finelysliced.com.au // Dual licensed under the MIT and GPL (function($){$.fn.extend({leanModal:function(options){var defaults={top:100,overlay:0.5,closeButton:null};var overlay=$("
    ");$("body").append(overlay);options=$.extend(defaults,options);return this.each(function(){var o=options;$(this).click(function(e){var modal_id=$(this).attr("href"); if(typeof o.beforeShow =='function') {o.beforeShow(); } $("#lean_overlay").click(function(){close_modal(modal_id)});$(o.closeButton).click(function(){close_modal(modal_id)});var modal_height=$(modal_id).outerHeight();var modal_width=$(modal_id).outerWidth(); $("#lean_overlay").css({"display":"block",opacity:0});$("#lean_overlay").fadeTo(200,o.overlay);$(modal_id).css({"visibility":"visible","display":"block","text-align":"center","position":"fixed","opacity":0,"z-index":100102,"left":50+"%","margin-left":-(modal_width/2)+"px","top":o.top+"px"}); $(modal_id).fadeTo(200,1, function(){ if(typeof options.modalShow =='function') {options.modalShow(); } });e.preventDefault()})});function close_modal(modal_id){$("#lean_overlay").fadeOut(200);$(modal_id).css({"display":"none"})}}})})(jQuery); ;var wpfdmodalvars={"adminurl":"https://bagno.uy/wp-admin/","wpfd_iframe_title":"WP File Download Iframe"} ;function wpfd_frameload(){jQuery("#wpfd_loader").hide();jQuery("#wpfdmodalframe").css('visibility',"visible");jQuery("#wpfdmodalframe").show()} jQuery(document).ready(function($){$('.wpfdlaunch').leanModal({top:20,beforeShow:function(){$("#wpfdmodal").css("height","90%");$("#wpfdmodalframe").css('visibility','hidden');$("#wpfdmodalframe").hide();$("#wpfdmodalframe").attr('src',$("#wpfdmodalframe").data('src'));$("#wpfd_loader").show()}});$(document).on("click",'.wpfdlaunch',function(e){$('#wpfdmodal').remove();$('body').append('
    Loading...
    ');$("#wpfdmodal").css("height","90%");$("#wpfdmodalframe").css('visibility','hidden');$("#wpfdmodalframe").attr('src',$("#wpfdmodalframe").data('src'));$("#wpfd_loader").show();var modal_id=$(this).attr("href");var modal_width=$(modal_id).outerWidth();$("#lean_overlay").css({"display":"block",opacity:0});$("#lean_overlay").fadeTo(200,0.5);$(modal_id).css({"visibility":"visible","display":"block","text-align":"center","position":"fixed","opacity":0,"z-index":100102,"left":50+"%","margin-left":-(modal_width/2)+"px","top":"20px"});$(modal_id).fadeTo(200,1)});$(document).on('click','#wpfd-close-modal',function(e){$('#lean_overlay',window.parent.document).fadeOut(300);$('#wpfdmodal',window.parent.document).fadeOut(300);$('#wpfdmodal').remove()});$(window.parent.document).on("click",'.wpfdlaunch',function(e){$('#wpfdmodal',window.parent.document).remove();$('body',window.parent.document).append('
    Loading...
    ');$("#wpfdmodal",window.parent.document).css("height","90%");$("#wpfdmodalframe",window.parent.document).css('visibility','hidden');$("#wpfdmodalframe",window.parent.document).attr('src',$("#wpfdmodalframe").data('src'));$("#wpfd_loader",window.parent.document).show();var modal_id=$(this).attr("href");var modal_width=$(modal_id,window.parent.document).outerWidth();$("#lean_overlay",window.parent.document).css({"display":"block",opacity:0});$("#lean_overlay",window.parent.document).fadeTo(200,0.5);$(modal_id,window.parent.document).css({"visibility":"visible","display":"block","text-align":"center","position":"fixed","opacity":0,"z-index":100102,"left":50+"%","margin-left":-(modal_width/2)+"px","top":"20px"});$(modal_id,window.parent.document).fadeTo(200,1)});$(window.parent.document).on('click','#wpfd-close-modal',function(e){$('#lean_overlay',window.parent.document).fadeOut(300);$('#wpfdmodal',window.parent.document).fadeOut(300);$('#wpfdmodal').remove()});return!1}) ;"use strict";"undefined"==typeof console&&(window.console={log:function(){}}),function(){var r,a=gtm4wp_scrollerscript_debugmode,t=gtm4wp_scrollerscript_callbacktime,l=gtm4wp_scrollerscript_readerlocation,o=0,i=!1,c=!1,d=!1,m=(new Date).getTime();function n(){var e,t=window.innerHeight+window.scrollY,o=document.body.offsetHeight,n=0;l
'))}}).on('added_to_cart',function(event,fragments,cart_hash,$button){if('undefined'===typeof($button)){$button=$('.vc-gitem-add-to-cart-loading-btn')} if($button&&$button.hasClass('vc_gitem-link')){$button.removeClass('vc-gitem-add-to-cart-loading-btn').parents('.vc_grid-item-mini').removeClass('vc-woocommerce-add-to-cart-loading').find('.vc_wc-load-add-to-loader-wrapper').remove()}})})})(window.jQuery) ;jQuery(function(n){n(document).on("click","span.ywctm-custom-button",function(t){1===n(this).parents("a").length&&t.preventDefault()})}); ;!function(s){var n,i="",r=(screen.width&&(width=screen.width||"",height=screen.height||"",i+=width+" x "+height),navigator.appVersion),e=navigator.userAgent,o=navigator.appName,a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10),t=(-1!=(t=e.indexOf("Opera"))&&(o="Opera",a=e.substring(t+6),-1!=(t=e.indexOf("Version")))&&(a=e.substring(t+8)),-1!=(t=e.indexOf("OPR"))?(o="Opera",a=e.substring(t+4)):-1!=(t=e.indexOf("Edge"))?(o="Edge",a=e.substring(t+5)):-1!=(t=e.indexOf("Edg"))?(o="Microsoft Edge",a=e.substring(t+4)):-1!=(t=e.indexOf("MSIE"))?(o="Internet",a=e.substring(t+5)):-1!=(t=e.indexOf("Chrome"))?(o="Chrome",a=e.substring(t+7)):-1!=(t=e.indexOf("Safari"))?(o="Safari",a=e.substring(t+7),-1!=(t=e.indexOf("Version"))&&(a=e.substring(t+8))):-1!=(t=e.indexOf("Firefox"))?(o="Firefox",a=e.substring(t+8)):-1!=e.indexOf("Trident/")?(o="Internet",a=e.substring(e.indexOf("rv:")+3)):(f=e.lastIndexOf(" ")+1)<(t=e.lastIndexOf("/"))&&(o=e.substring(f,t),a=e.substring(t+1),o.toLowerCase()==o.toUpperCase())&&(o=navigator.appName),-1!=(f=(a=-1!=(f=(a=-1!=(f=a.indexOf(";"))?a.substring(0,f):a).indexOf(" "))?a.substring(0,f):a).indexOf(")"))&&(a=a.substring(0,f)),d=parseInt(""+a,10),isNaN(d)&&(a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(r)),w="-",O=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(n in O){var W=O[n];if(W.r.test(e)){w=W.s;break}}var c="-";switch(/Windows/.test(w)&&(c=/Windows (.*)/.exec(w)[1],w="Windows"),w){case"Mac OS":case"Mac OS X":case"Android":c=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(e)[1];break;case"iOS":c=(c=/OS (\d+)_(\d+)_?(\d+)?/.exec(r))[1]+"."+c[2]+"."+(0|c[3])}var g,f="no check";"undefined"!=typeof swfobject&&(f=0<(g=swfobject.getFlashPlayerVersion()).major?g.major+"."+g.minor+" r"+g.release:"-"),s.jscd={screen:i,browser:o,browserVersion:a,browserMajorVersion:d,mobile:t,os:w,osVersion:c,flashVersion:f}}(this),function(){var s=jQuery("html");s.addClass("browser-"+jscd.browser.replaceAll(" ","-")),s.addClass("platform-"+jscd.os)}(); ;const htmlElement=document.getElementsByTagName("html")[0],windowWidth=window.innerWidth;if(1024htmlElement.offsetWidth){const a=window.innerWidth-htmlElement.offsetWidth,b=document.createElement("style");b.textContent=`:root {--wd-scroll-w: ${a}px;}`,document.head.appendChild(b)} ;(function(){var data={"resource":{"version":"1","macros":[],"tags":[],"predicates":[],"rules":[]},"runtime":[],"blob":{"1":"1","10":"483731146","14":"68q1","15":"1","16":"ChAI8IbK1AYQ3O6woKqsx5V4EhoAubcqz/PPLurGSL8QfmUTfCUxpHLtP0/RqBoCf6A=","17":"","19":"dataLayer","20":"","21":"www.googletagmanager.com","22":"eyIwIjoiVVMiLCIxIjoiVVMtSUwiLCIyIjpmYWxzZSwiMyI6IiIsIjQiOiIiLCI1Ijp0cnVlLCI2IjpmYWxzZSwiNyI6ImFkX3N0b3JhZ2V8YW5hbHl0aWNzX3N0b3JhZ2V8YWRfdXNlcl9kYXRhfGFkX3BlcnNvbmFsaXphdGlvbiIsIjkiOmZhbHNlfQ","23":"google.tagmanager.debugui2.queue","24":"tagassistant.google.com","27":0.005,"3":"www.googletagmanager.com","30":"US","31":"US-IL","32":!0,"34":"","35":"","36":"https://adservice.google.com/pagead/regclk","37":"__TAGGY_INSTALLED","38":"cct.google","39":"googTaggyReferrer","40":"https://cct.google/taggy/agent.js","41":"google.tagmanager.ta.prodqueue","42":0.01,"43":"{\"keys\":[{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BPQMHSaWOcHuRX4BCUdh3bx1vacqKJ8d01tEVwyZV8K1vJGfV2by3KQ0sqlcVrMn7g4khIn0P8kmaAGx5JrNgA8=\",\"version\":0},\"id\":\"f335c4fc-e396-4d6d-9bb5-aad5a1ef8a1b\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BLZURQNK9uR1BAdMUc8HU4Wn0XQsyXg+QvzojWbGxF8uQjVAD8WpP8ttCaqTupJ8cIUu1rGv5NjmeyFknfo4jQE=\",\"version\":0},\"id\":\"70ea3ac0-6f6d-48d9-9854-811cb0bd6677\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BMCCnaC0j0pAM9gUVwAgI/kLokVHvfz+ilvHSNghSUOKPZ1p51q783xvdl+wQt+DA93oAbn+im9bcxFUaN/wOZ8=\",\"version\":0},\"id\":\"50141e33-756e-4a94-8f7f-7dd6a50298ed\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BBnnFVpcZJ069lw2+iFQkpb7thPn0wT6DpS1I18wf5z9kSVAPAlexvi3Sbc8JRPjfPO3atsj/bYgHn+LvIoGJE4=\",\"version\":0},\"id\":\"16e9e842-8360-4819-9f06-18310618f7f0\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BBE7Ad2jgEFEOZxkFKsvhgWU793+lj72c+uG/+P3X5DRxrDHRYRdf5pfv6u9sLvHJR/EOJ+6UFOP1M16s12SIC0=\",\"version\":0},\"id\":\"0dd129ac-04ad-4a00-8409-1e7d92ff85db\"}]}","44":"118897920~118897930","45":!0,"46":{"1":"1000","10":"68j0","11":"68d0","14":"1000","16":"US-CO~US-CT~US-MT~US-NE~US-NH~US-TX~US-MN~US-NJ~US-MD~US-OR~US-DE","17":"US-CO~US-CT~US-MT~US-NE~US-NH~US-TX~US-MN~US-NJ~US-MD~US-OR~US-DE","2":"9","20":"5000","21":"5000","22":"4.4.0","23":"0.0.0","25":"1","26":"4000","27":"100","3":"5","4":"ad_storage|analytics_storage|ad_user_data|ad_personalization","44":"15000","48":"30000","5":"ad_storage|analytics_storage|ad_user_data","6":"1","61":"1000","62":"A6ONHRY7/bvBro+IMZd/a6LNjn7SSv999SkN/hFAE9L6vMr34dNgfdSVdYmv4U+NHZg1sxd38RtciRpRUtIRPgQAAACCeyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2hhcmVkV29ya2VyRXh0ZW5kZWRMaWZldGltZSIsImV4cGlyeSI6MTc3NjcyOTYwMCwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==","63":"1000","66":"100","7":"10"},"48":!0,"5":"483731146","55":["483731146"],"56":[{"1":403,"3":0.5,"4":115938465,"5":115938466,"6":0,"7":2},{"1":404,"3":0.5,"4":115938468,"5":115938469,"6":0,"7":1},{"1":611,"2":!0},{"1":585,"2":!0},{"1":474,"3":0.1,"4":117776795,"5":117776796,"6":0,"7":3},{"1":609,"3":0.01,"4":120420416,"5":120420414,"6":120420415,"7":1},{"1":606,"3":0.001,"4":120799818,"5":120799816,"6":120799817,"7":1},{"1":607,"3":0.01,"4":120474864,"5":120474862,"6":120474863,"7":1},{"1":502,"2":!0},{"1":577,"2":!0},{"1":568,"3":0.01,"4":119791749,"5":119791748,"6":0,"7":1},{"1":490,"2":!0},{"1":491,"3":0.01,"4":118012007,"5":118012008,"6":118012009,"7":1},{"1":480,"2":!0},{"1":594,"3":0.01,"4":119793974,"5":119793972,"6":119793973,"7":1},{"1":621,"2":!0},{"1":580,"2":!0},{"1":592,"3":0.01,"4":120670646,"5":120670644,"6":120670645,"7":3},{"1":567,"3":0.05,"4":120171488,"5":120171486,"6":120171487,"7":3},{"1":555,"3":0.1,"4":119259606,"5":119259605,"6":0,"7":2},{"1":563,"2":!0},{"1":413,"2":!0},{"1":553,"2":!0},{"1":608,"3":0.01,"4":120412528,"5":120412526,"6":120412527,"7":1},{"1":593,"2":!0},{"1":506,"2":!0},{"1":604,"3":0.001,"4":120584451,"5":120584450,"6":0,"7":1},{"1":561,"2":!0},{"1":481,"2":!0},{"1":482,"3":0.01,"4":119404699,"5":119404698,"6":0,"7":1},{"1":450,"3":0.01,"4":117227714,"5":117227715,"6":117227716,"7":3},{"1":458,"2":!0},{"1":582,"3":0.01,"4":119381664,"5":119381662,"6":119381663,"7":1},{"1":570,"2":!0},{"1":615,"3":0.1,"4":120763598,"5":120763597,"6":0,"7":1},{"1":498,"3":0.2,"4":115616985,"5":115616986,"6":0,"7":1},{"1":495,"3":0.05,"4":118131810,"5":118131808,"6":118131809,"7":3},{"1":564,"3":0.0001,"4":119205317,"5":119205315,"6":119205316,"7":1},{"1":610,"3":0.5,"4":120385423,"5":120385422,"6":0,"7":1},{"1":576,"3":0.01,"4":119317810,"5":119317811,"6":119318177,"7":3},{"1":601,"2":!0},{"1":605,"3":0.001,"4":120032690,"5":120032689,"6":120032691,"7":1},{"1":524,"2":!0}],"59":["483731146"],"62":!0,"63":0.005,"66":!0}};var aa,ca=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},da=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ea=function(a){for(var b=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global],c=0;c>>0;ja[n]=ha?fa.Symbol(n):"$jscp$"+r+"$"+n}da(g,ja[n],{configurable:!0,writable:!0,value:q})}}},ma;if(ha&&typeof Object.setPrototypeOf=="function")ma=Object.setPrototypeOf;else{var na;a:{var pa={a:!0},qa={};try{qa.__proto__=pa;na=qa.a;break a}catch(a){}na=!1}ma=na?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var ra=ma,ta=function(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ra)ra(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.zp=b.prototype},ua=function(a){var b=0;return function(){return b0;){var a=this.D.pop();if(a in this.J)return a}return null};Ea.prototype.getNext=Ea.prototype.Qj;var Fa=function(a){this.D=new Ba;this.J=a},Ia=function(a,b){Ca(a.D);var c=a.D.M;if(c)return Ga(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.D.return);a.D.return(b);return Ha(a)},Ga=function(a,b,c,d){try{var e=b.call(a.D.M,c);Aa(e);if(!e.done)return a.D.la=!1,e;var f=e.value}catch(g){return a.D.M=null,Da(a.D,g),Ha(a)}a.D.M=null;d.call(a.D,f);return Ha(a)},Ha=function(a){for(;a.D.D;)try{var b=a.J(a.D);if(b)return a.D.la=!1,{value:b.value,done:!1}}catch(d){a.D.ka=void 0,Da(a.D,d)}a.D.la=!1;if(a.D.J){var c=a.D.J;a.D.J=null;if(c.isException)throw c.exception;return{value:c.return,done:!0}}return{value:void 0,done:!0}},Ja=function(a){this.next=function(b){var c;Ca(a.D);a.D.M?c=Ga(a,a.D.M.next,b,a.D.za):(a.D.za(b),c=Ha(a));return c};this.throw=function(b){var c;Ca(a.D);if(a.D.M){var d=a.D.M["throw"];if(d)c=Ga(a,d,b,a.D.za);else{var e=a.D.M;a.D.M=null;try{if(e["return"]){var f=e["return"]();Aa(f)}Da(a.D,new TypeError("The iterator does not provide a 'throw' method."))}catch(g){Da(a.D,g)}c=Ha(a)}}else Da(a.D,b),c=Ha(a);return c};this.return=function(b){return Ia(a,b)};this[Symbol.iterator]=function(){return this}},Ka=function(a,b){var c=new Ja(new Fa(b));ra&&a.prototype&&ra(c,a.prototype);return c},La=function(){for(var a=Number(this),b=[],c=a;c>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|k>>6,q=k&63;e||(q=64,d||(p=64));b.push(Ta[m],Ta[n],Ta[p],Ta[q])}return b.join("")} function Xa(a){function b(m){for(;d>4);g!==64&&(c+=String.fromCharCode(f<<4&240|g>>2),k!==64&&(c+=String.fromCharCode(g<<6&192|k)))}};var Ya={};function Za(a,b){var c=Ya[a];c||(c=Ya[a]=[]);c[b]=!0}function $a(a){for(var b=[],c=0,d=0;d0&&(b.push(String.fromCharCode(c)),c=0),a[d]&&(c|=1<0&&b.push(String.fromCharCode(c));return Wa(b.join("")).replace(/\.+$/,"")};function ab(){}function bb(a){return typeof a==="function"}function cb(a){return typeof a==="string"}function db(a){return typeof a==="number"&&!isNaN(a)}function eb(a){return Array.isArray(a)?a:[a]}function fb(a,b){if(a&&Array.isArray(a))for(var c=0;cb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)} function hb(a,b){for(var c=new ib,d=0;d=b.length&&a.substring(0,b.length)===b}function xb(a,b){return a.length>=b.length&&a.substring(a.length-b.length,a.length)===b} function yb(a,b){for(var c={},d=c,e=a.split("."),f=0;f>6,128|d&63):d<55296||d>=57344?b.push(224|d>>12,128|d>>6&63,128|d&63):(d=65536+((d&1023)<<10|a.charCodeAt(++c)&1023),b.push(240|d>>18,128|d>>12&63,128|d>>6&63,128|d&63))}return new Uint8Array(b)} function Cb(a,b){function c(m){var n=m.split("=")[0];return a.indexOf(n)<0?m:n+"=0"}function d(m){return m.split("&").map(c).filter(function(n){return n!==void 0}).join("&")}var e=b.href.split(/[?#]/)[0],f=b.search,g=b.hash;f[0]==="?"&&(f=f.substring(1));g[0]==="#"&&(g=g.substring(1));f=d(f);g=d(g);f!==""&&(f="?"+f);g!==""&&(g="#"+g);var k=""+e+f+g;k[k.length-1]==="/"&&(k=k.substring(0,k.length-1));return k} function Db(a){for(var b=0;b<3;++b)try{var c=decodeURIComponent(a).replace(/\+/g," ");if(c===a)break;a=c}catch(d){return""}return a};var Fb=globalThis.trustedTypes,Gb;function Hb(){var a=null;if(!Fb)return a;try{var b=function(c){return c};a=Fb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function Ib(){Gb===void 0&&(Gb=Hb());return Gb};var Jb=function(a){this.D=a};Jb.prototype.toString=function(){return this.D+""};function Kb(a){var b=a,c=Ib(),d=c?c.createScriptURL(b):b;return new Jb(d)}function Lb(a){if(a instanceof Jb)return a.D;throw Error("")};var Mb=xa([""]),Nb=wa(["\x00"],["\\0"]),Ob=wa(["\n"],["\\n"]),Pb=wa(["\x00"],["\\u0000"]);function Qb(a){return a.toString().indexOf("`")===-1}Qb(function(a){return a(Mb)})||Qb(function(a){return a(Nb)})||Qb(function(a){return a(Ob)})||Qb(function(a){return a(Pb)});var Rb=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var Sb=function(a){this.D=a};Sb.prototype.toString=function(){return this.D+""};var Tb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c0&&(a=c[0].type)}catch(d){return"e"}if(!a)return"u";switch(a){case "navigate":return"n";case "back_forward":return"h";case "reload":return"r";case "prerender":return"p";default:return"x"}}function Cc(){return x.performance||void 0}function Dc(){var a=x.webPixelsManager;return a?a.createShopifyExtend!==void 0:!1} var kc={uo:function(a,b,c,d){var e=new Image(1,1);ic(e,d,{});e.onload=function(){e.onload=null;b&&b()};e.onerror=function(){e.onerror=null;c&&c()};e.src=a;return e},Vo:function(a){var b=z.getElementsByTagName("script")[0]||z.body||z.head;b.parentNode.insertBefore(a,b)},vp:vc};var Ec=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/,Fc=function(a){if(a==null)return String(a);var b=Ec.exec(Object.prototype.toString.call(Object(a)));return b?b[1].toLowerCase():"object"},Gc=function(a,b){return Object.prototype.hasOwnProperty.call(Object(a),b)},Hc=function(a){if(!a||Fc(a)!="object"||a.nodeType||a==a.window)return!1;try{if(a.constructor&&!Gc(a,"constructor")&&!Gc(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}for(var b in a);return b===void 0||Gc(a,b)},Ic=function(a,b){var c=b||(Fc(a)=="array"?[]:{}),d;for(d in a)if(Gc(a,d)&&d!=="__proto__"){var e=a[d];Fc(e)=="array"?(Fc(c[d])!="array"&&(c[d]=[]),c[d]=Ic(e,c[d])):Hc(e)?(Hc(c[d])||(c[d]={}),c[d]=Ic(e,c[d])):c[d]=e}return c};var Jc=function(a){this.message=a};function Kc(a){a.Ls=!0;return a};var Lc=Kc(function(a){return typeof a==="number"}),Nc=Kc(function(a){return typeof a==="string"}),Oc=Kc(function(a){return typeof a==="boolean"});function Pc(a){var b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[a];return b===void 0?new Jc("Value "+a+" can not be encoded in web-safe base64 dictionary."):b};function Qc(a){switch(a){case 1:return"1";case 2:case 4:return"0";default:return"-"}};var Rc=/^[1-9a-zA-Z_-][1-9a-c][1-9a-v]\d$/;function Sc(a,b){for(var c="",d=!0;a>7;){var e=a&31;a>>=5;d?d=!1:e|=32;c=""+Pc(e)+c}a<<=2;d||(a|=32);return c=""+Pc(a|b)+c}function Tc(a,b){return b===void 0||b===0?"":""+Sc(a,1)+Pc(b)} function Uc(a,b){var c;var d=a.wf,e=a.eh;d===void 0?c="":(e||(e=0),c=""+Sc(1,1)+Pc(d<<2|e));var f="4"+c+Tc(2,a.lo),g,k=a.runtimeVersion;g=k&&Rc.test(k)?""+Sc(3,2)+k:"";var m;var n=a.ctid;if(n&&b){var p=Sc(5,3),q=n.split("-"),r=q[0].toUpperCase();if(r!=="GTM"&&r!=="OPT")m="";else{var t=q[1];m=""+p+Pc(1+t.length)+(a.Yo||0)+t}}else m="";var u=a.canonicalId,v=a.Hc,w=a.Ws,y=f+g+Tc(4,a.releaseExperiment)+m+Tc(6,a.xp)+(u?""+Sc(7,3)+Pc(u.length)+u:"")+(v?""+Sc(8,3)+Pc(v.length)+v:"")+(w?""+Sc(9,3)+Pc(w.length)+w:""),A;var D=a.oo;D=D===void 0?{}:D;var C=[],F=h(Object.keys(D)),J=F.next(),M;try{for(;!J.done;J=F.next()){var H=J.value;C[Number(H)]=D[H]}}finally{J&&!J.done&&(M=F.return)&&M.call(F)}if(C.length){var P=Sc(10,3),K;if(C.length===0)K=Pc(0);else{for(var V=[],U=0,X=!1,ba=0;ba0&&f>0){var k=c.lastIndexOf(".")>c.lastIndexOf(",");k&&e===1?g="PERIOD":k||f!==1||(g="COMMA")}else e===1?g=(c.split(".")[1].match(/[0-9]/g)||[]).length!==3?"PERIOD":"NONE":f===1&&(g=(c.split(",")[1].match(/[0-9]/g)||[]).length!==3?"COMMA":"NONE");d=g}else d=b==="COMMA"?"COMMA":"PERIOD";var m,n;d==="PERIOD"?(m=".",n=jd):d==="COMMA"?(m=",",n=kd):(m="",n=ld);var p=c.replace(n,"");if(m!==""&&p.split(m).length>2)return a;var q=p.replace(/,/g,".");if(q==="")return a;var r=Number(q);return isNaN(r)?a:r};function nd(a,b,c){if(a)for(var d=0;d=0;d--)e=a.charCodeAt(d),b=(b<<6&268435455)+e+(e<<14),c=b&266338304,b=c!==0?b^c>>21:b;return b};var rd=function(a){this.cache=a};rd.prototype.get=function(a){var b=qd(a),c=this.cache.get(b);if(!c)return{promise:void 0,Sg:0};if(Date.now()>=c.timestamp+9E5)return this.cache.delete(b),{promise:void 0,Sg:3};var d=c.resolvedValue?2:1;return{promise:c.resolvedValue?Promise.resolve(c.resolvedValue):c.promise,Sg:d}};rd.prototype.set=function(a,b){var c=qd(a),d={promise:b,resolvedValue:void 0,timestamp:Date.now()};this.cache.set(c,d);b.then(function(e){d.resolvedValue=e})};function sd(a){switch(a){case 0:break;case 9:return"e4";case 6:return"e5";case 14:return"e6";default:return"e7"}};var G={A:{Da:"ad_personalization",ia:"ad_storage",ma:"ad_user_data",Sa:"analytics_storage",rd:"region",sa:"consent_updated",Ff:"wait_for_update",ye:"endpoint_type",Nk:"_&emfm",Ok:"app_remove",Pk:"app_store_refund",Qk:"app_store_subscription_cancel",Rk:"app_store_subscription_convert",Sk:"app_store_subscription_renew",Tk:"consent_update",Uk:"conversion",Vh:"add_payment_info",Wh:"add_shipping_info",Jc:"add_to_cart",Kc:"remove_from_cart",Xh:"view_cart",bc:"begin_checkout",bq:"generate_lead",Lc:"select_item",sb:"view_item_list",Nb:"select_promotion",tb:"view_promotion",ub:"purchase",Mc:"refund",fc:"view_item",Yh:"add_to_wishlist",Vk:"exception",Wk:"first_open",Xk:"first_visit",wa:"gtag.config",Nc:"gtag.get",Yk:"in_app_purchase",ud:"page_view",Zk:"screen_view",bl:"session_start",fl:"source_update",il:"timing_complete",jl:"track_social",Zh:"user_engagement",kl:"user_id_update",ze:"braid_link_decoration_source",Ae:"braid_storage_source",Be:"gclid_link_decoration_source",Ce:"gclid_storage_source",Ob:"gclgb",wb:"gclid",ai:"gclid_len",bi:"gclgs",di:"gcllp",ei:"gclst",cb:"ads_data_redaction",vd:"gad_source",wd:"gad_source_src",hc:"gclid_url",fi:"gclsrc",xd:"gbraid",Oc:"wbraid",Pb:"allow_ad_personalization_signals",gi:"allow_custom_scripts",De:"allow_display_features",Kf:"allow_enhanced_conversions",yd:"allow_google_signals",hi:"allow_interest_groups",ml:"app_id",nl:"app_installer_id",ol:"app_name",pl:"app_version",Pc:"auid",cq:"auto_detection_enabled",ii:"auto_event",ji:"aw_remarketing",Ee:"aw_remarketing_only",zd:"discount",Ad:"aw_feed_country",Bd:"aw_feed_language",Ta:"items",Cd:"aw_merchant_id",Lf:"aw_basket_type",ql:"campaign_content",rl:"campaign_id",sl:"campaign_medium",tl:"campaign_name",fq:"campaign",wl:"campaign_source",xl:"campaign_term",Fe:"client_id",ki:"rnd",gq:"consent_update_type",yl:"content_group",zl:"content_type",Qc:"conversion_cookie_prefix",Mf:"conversion_id",kc:"conversion_linker",Ge:"conversion_linker_disabled",Nf:"conversion_api",li:"_&rcb",mi:"cookie_deprecation",xb:"cookie_domain",jb:"cookie_expires",Qb:"cookie_flags",Rc:"cookie_name",Rb:"cookie_path",Ua:"cookie_prefix",Sc:"cookie_update",Dd:"country",eb:"currency",Tc:"customer_lifetime_value",He:"customer_type",Ed:"custom_map",hq:"gcldc_link_decoration_source",iq:"gcldc_storage_source",Al:"gcldc",mc:"dclid",Bl:"debug_mode",yb:"developer_id",Cl:"disable_merchant_reported_purchases",Of:"dc_custom_params",Dl:"dc_natural_search",El:"dynamic_event_settings",ni:"affiliation",Ie:"checkout_option",Pf:"checkout_step",oi:"coupon",Fd:"item_list_name",Qf:"list_name",Fl:"promotions",nc:"shipping",ri:"tax",Gl:"engagement_time_msec",jq:"enhanced_client_id",Hl:"enhanced_conversions",kq:"enhanced_conversions_automatic_settings",Uc:"estimated_delivery_date",Gd:"event_callback",Il:"event_category",Rf:"event_developer_id_string",si:"event_id",Sf:"_event_join_id",Jl:"event_label",zb:"event",ui:"_&ae",Kl:"event_settings",Je:"event_timeout",Ll:"description",Ml:"fatal",Nl:"experiments",wi:"ext_client_id",xi:"firebase_id",Ke:"first_party_collection",Id:"_x_20",kb:"_x_19",lq:"flight_error_code",mq:"flight_error_message",nq:"fl_activity_category",oq:"fl_activity_group",pq:"fl_advertiser_id",Ol:"match_id",qq:"fl_random_number",rq:"tran",sq:"u",yi:"gac_gclid",Le:"gac_wbraid",zi:"gac_wbraid_multiple_conversions",Pl:"ga_restrict_domain",tq:"ga_temp_client_id",uq:"ga_temp_ecid",Me:"gdpr_applies",Ne:"_gt_metadata",wq:"geo_granularity",Oe:"value_callback",Pe:"value_key",Va:"google_analysis_params",Uf:"_google_ng",Ql:"_ono",Rl:"google_signals",Sl:"google_tld",Ai:"gpp_sid",Bi:"gpp_string",oc:"groups",Ci:"gsa_experiment_id",Vf:"gtag_event_feature_usage",Di:"gtm_up",Qe:"iframe_state",Tl:"ignore_referrer",Ul:"internal_traffic_results",xq:"_is_fpm",Jd:"is_legacy_converted",Re:"is_legacy_loaded",Ei:"is_passthrough",Wf:"_lps",Sb:"language",Xf:"legacy_developer_id_string",Ab:"linker",Yf:"accept_incoming",Tb:"decorate_forms",Na:"domains",qc:"url_position",Kd:"merchant_feed_label",Ld:"merchant_feed_language",Md:"merchant_id",Fi:"method",Vl:"name",Gi:"navigation_type",Vc:"new_customer",Hi:"non_interaction",Wl:"optimize_id",Ii:"page_hostname",Zf:"page_path",Ga:"page_referrer",Bb:"page_title",yq:"passengers",Ji:"phone_conversion_callback",Xl:"phone_conversion_country_code",Ki:"phone_conversion_css_class",Yl:"phone_conversion_ids",Li:"phone_conversion_number",Mi:"phone_conversion_options",zq:"_platinum_request_status",Aq:"_protected_audience_enabled",Bq:"quantity",Cq:"redact_device_info",Zl:"referral_exclusion_definition",Dq:"_request_start_time",lb:"restricted_data_processing",Eq:"retoken",am:"sample_rate",cg:"screen_name",Nd:"screen_resolution",Ni:"_script_source",bm:"search_term",Wc:"send_page_view",mb:"send_to",Oi:"server_container_3p_enrichment",rc:"server_container_url",dm:"session_attributes_encoded",Pi:"session_duration",Fq:"session_engaged",Qi:"session_engaged_time",Se:"session_id",Gq:"session_number",Od:"_shared_user_id",sc:"delivery_postal_code",Hq:"_tag_firing_delay",Iq:"_tag_firing_time",Jq:"temporary_client_id",fm:"testonly",gm:"_timezone",Xc:"topmost_url",dg:"tracking_id",Kq:"traffic_type",Oa:"transaction_id",Ri:"transaction_id_source",Ub:"transport_url",Lq:"trip_type",uc:"update",Pd:"url_passthrough",Si:"uptgs",eg:"_user_agent_architecture",fg:"_user_agent_bitness",gg:"_user_agent_full_version_list",hg:"_user_agent_mobile",ig:"_user_agent_model",jg:"_user_agent_platform",kg:"_user_agent_platform_version",lg:"_user_agent_wow64",Yc:"user_data",Ti:"user_data_auto_latency",Ui:"user_data_auto_meta",Vi:"user_data_auto_multi",Wi:"user_data_auto_selectors",Xi:"user_data_auto_status",Qd:"user_data_mode",Yi:"user_data_settings",fb:"user_id",Ue:"user_properties",Mq:"_user_region",Ve:"us_privacy_string",Ha:"value",Zi:"wbraid_multiple_conversions",wc:"_fpm_parameters",qg:"_host_name",jj:"_in_page_command",Rm:"_ip_override",Rr:"_is_passthrough_cid",af:"_measurement_type",ad:"non_personalized_ads",ln:"_sst_parameters",nn:"sgtm_geo_user_country",jc:"conversion_label",Aa:"page_location",Hd:"_extracted_data",Tf:"global_developer_id_string",Te:"tc_privacy_string"}};var I={H:{zf:"accept_by_default",uh:"add_tag_timing",Af:"ads_consent_granted",me:"ads_event_page_view",Mb:"ads_page_view_params",qd:"allow_ad_personalization",Ip:"auto_event",Jp:"batch_on_navigation",Dh:"biscotti_join_id",Lp:"client_id_source",Df:"consent_event_id",Ef:"consent_priority_id",Mp:"consent_state",sa:"consent_updated",oe:"conversion_linker_enabled",Np:"conversion_marking_called",ib:"cookie_options",Sp:"dc_random",Tp:"dedupe_id",xe:"em_event",Vp:"endpoint_for_debug",Wp:"enhanced_client_id_source",Xp:"enhanced_match_form_metadata",Yp:"enhanced_match_form_metadata_latency",Zp:"enhanced_match_result",Nq:"euid_logged_in_state",Oq:"euid_mode_enabled",hm:"event_provenance",Qq:"event_source",Rd:"event_start_timestamp_ms",im:"event_usage",vc:"extra_tag_experiment_ids",og:"fail_on_abort",Uq:"add_parameter",Vq:"counting_method",Wq:"send_as_iframe",Xq:"parameter_order",Yq:"parsed_target",ar:"form_event_canceled",er:"ga4_collection_subdomain",gr:"ga4_request_flags",ej:"gbraid_cookie_marked",ij:"gtm_extracted_data",zc:"handle_internally",ir:"has_ga_conversion_consents",ba:"hit_type",Ac:"hit_type_override",Nm:"ignore_dupe_config",Gr:"is_config_command",Hr:"is_consent_update",Ir:"is_conversion",Jr:"is_ecommerce",kj:"is_ec_cm_split",Td:"is_external_event",Kr:"is_first_visit",Lr:"is_first_visit_conversion",Mr:"is_fl_fallback_conversion_flow_allowed",Db:"is_fpm_encryption",sg:"is_fpm_split",Ia:"is_gcp_browser",Nr:"is_google_measurement_allowed",Or:"is_google_signals_enabled",Pr:"is_merchant_center",Qr:"is_new_to_site",Eb:"is_personalization",Sm:"is_server_side_destination",Sr:"is_session_start",Tr:"is_session_start_conversion",Ur:"is_sgtm_ga_ads_conversion_study_control_group",Vr:"is_sgtm_prehit",Wr:"is_sgtm_service_worker",Ye:"is_split_conversion",Xr:"is_syn",Yr:"is_test_event",Zr:"join_id",bs:"join_elapsed",ds:"join_timer_sec",lj:"local_storage_aw_conversion_counters",dd:"tunnel_updated",hs:"prehit_for_retry",ks:"promises",ls:"record_aw_latency",ef:"redact_ads_data",ff:"redact_click_ids",tj:"remarketing_only",Bg:"send_ccm_parallel_ping",Cg:"send_doubleclick_join",ns:"send_fpm_geo_join",qs:"send_fpm_google_join",rs:"send_ccm_parallel_test_ping",us:"send_google_measurement",vs:"send_tld_join",Vd:"send_to_destinations",Dg:"send_to_targets",wj:"send_user_data_hit",Fg:"service_worker_context",Fb:"source_canonical_id",Ja:"speculative",yj:"speculative_in_message",Aj:"suppress_script_load",xn:"syn_or_mod",Mg:"transient_ecsid",kf:"transmission_type",Qa:"user_data",zs:"user_data_from_automatic",As:"user_data_from_automatic_getter",Cj:"user_data_from_code",Cn:"user_data_from_manual",Bs:"user_data_mode",Xd:"user_id_updated"}};var L={T:{Fk:1,Jk:2,An:3,gn:4,Th:5,Uh:6,Lm:7,Lk:8,Km:9,Ek:10,Dk:11,vn:12,pn:13,zk:14,qk:15,sk:16,Wm:17,Kk:18,Um:19,Ik:20,Xm:21,Ak:22,rk:23,uk:24,Hk:25,xk:26,tn:27,Fm:28,Qm:29,Pm:30,Om:31,Im:32,Gm:33,Hm:34,Bm:35,Am:36,Dm:37,Em:38,Cm:39,Jm:40,bn:41}};L.T[L.T.Fk]="CREATE_EVENT_SOURCE";L.T[L.T.Jk]="EDIT_EVENT";L.T[L.T.An]="TRAFFIC_TYPE";L.T[L.T.gn]="REFERRAL_EXCLUSION";L.T[L.T.Th]="ECOMMERCE_FROM_GTM_TAG";L.T[L.T.Uh]="ECOMMERCE_FROM_GTM_UA_SCHEMA";L.T[L.T.Lm]="GA_SEND";L.T[L.T.Lk]="EM_FORM";L.T[L.T.Km]="GA_GAM_LINK";L.T[L.T.Ek]="CREATE_EVENT_AUTO_PAGE_PATH";L.T[L.T.Dk]="CREATED_EVENT";L.T[L.T.vn]="SIDELOADED";L.T[L.T.pn]="SGTM_LEGACY_CONFIGURATION";L.T[L.T.zk]="CCD_EM_EVENT";L.T[L.T.qk]="AUTO_REDACT_EMAIL";L.T[L.T.sk]="AUTO_REDACT_QUERY_PARAM";L.T[L.T.Wm]="MULTIPLE_PAGEVIEW_FROM_CONFIG";L.T[L.T.Kk]="EM_EVENT_SENT_BEFORE_CONFIG";L.T[L.T.Um]="LOADED_VIA_CST_OR_SIDELOADING";L.T[L.T.Ik]="DECODED_PARAM_MATCH";L.T[L.T.Xm]="NON_DECODED_PARAM_MATCH";L.T[L.T.Ak]="CCD_EVENT_SGTM";L.T[L.T.rk]="AUTO_REDACT_EMAIL_SGTM";L.T[L.T.uk]="AUTO_REDACT_QUERY_PARAM_SGTM";L.T[L.T.Hk]="DAILY_LIMIT_REACHED";L.T[L.T.xk]="BURST_LIMIT_REACHED";L.T[L.T.tn]="SHARED_USER_ID_SET_AFTER_REQUEST";L.T[L.T.Fm]="GA4_MULTIPLE_SESSION_COOKIES";L.T[L.T.Qm]="INVALID_GA4_SESSION_COUNT";L.T[L.T.Pm]="INVALID_GA4_LAST_EVENT_TIMESTAMP";L.T[L.T.Om]="INVALID_GA4_JOIN_TIMER";L.T[L.T.Im]="GA4_STALE_SESSION_COOKIE_SELECTED";L.T[L.T.Gm]="GA4_SESSION_COOKIE_GS1_READ";L.T[L.T.Hm]="GA4_SESSION_COOKIE_GS2_READ";L.T[L.T.Bm]="GA4_DL_PARAM_RECOVERY_AVAILABLE";L.T[L.T.Am]="GA4_DL_PARAM_RECOVERY_APPLIED";L.T[L.T.Dm]="GA4_GOOGLE_MEASUREMENT_ALLOWED";L.T[L.T.Em]="GA4_GOOGLE_SIGNALS_ENABLED";L.T[L.T.Cm]="GA4_FALLBACK_REQUEST";L.T[L.T.Jm]="GA_ADS_LINK_BEFORE_CONVERSION_MARKING";L.T[L.T.bn]="PLATINUM_ELIGIBLE";var td={},ud=(td.uaa=!0,td.uab=!0,td.uafvl=!0,td.uamb=!0,td.uam=!0,td.uap=!0,td.uapv=!0,td.uaw=!0,td);var yd=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];function zd(a,b){if(!a)return!1;try{for(var c=0;c=0&&c.indexOf(d,e)===e} function Bd(a,b,c,d){var e=c?"i":void 0;try{var f=String(b)+String(e),g=d==null?void 0:d.get(f);g||(g=new RegExp(b,e),d==null||d.set(f,g));return g.test(a)}catch(k){return!1}};var Id=function(){this.J=""},Ld=function(a,b){return function(){var c=b.fallback_url,d=b.fallback_url_method;if(c&&d){var e={};Jd(a,(e[d]=[c],e.options={},e))}}},Md=function(a,b,c){if(Array.isArray(a)){var d=h(a),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;typeof g==="string"&&c(g,b)}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}},Jd=function(a,b){if(b){var c=Hc(b.options)?b.options:{},d=h(Object.keys(b)),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value,k=b[g];switch(g){case "send_pixel":Md(k,c,function(m,n){nc(m,void 0,Ld(a,n),n.attribution_reporting&&Nd()?Od:{})});break;case "fetch":Md(k,c,function(m,n){return void a.D(m,n)})}}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}};var Pd=new Set;Qd(2);Qd(13);Qd(435);Qd(29);function Qd(a){Pd.add(a);var b;a:{switch(a){case 400:b=0;break a}b=void 0}var c=b;c!==void 0&&ad(c)}var Rd={yk:E(6),Gk:E(5),jn:E(15),kn:E(14),yn:E(12),zn:E(13),Dn:E(43),En:hd(37,10),Fn:hd(38,100),Gn:hd(41,6),Hn:hd(39,1382400),In:hd(40,15),Jn:Pd.has(13)?100:hd(42,0),Kn:hd(43,60),Ln:hd(44,15E3),Mn:hd(45,0),Nn:hd(46,0),On:hd(64,2),Pn:hd(65,250),Qn:hd(47,50),Rn:hd(30,432E5),Sn:hd(48,5E3),Tn:hd(49,15),Un:hd(50,2E4),Vn:hd(25,0),Wn:hd(26,0),Xn:fd(23),Yn:fd(22),Zn:hd(51,5E3),ao:hd(52,20),VERSION:E(1)};ka(Object,"assign").call(Object,{},{canonicalContainerId:Rd.yk,ctid:Rd.Gk,Us:Rd.jn,runtimeVersion:Rd.kn,Xs:Rd.yn,Ys:Rd.zn,bt:Rd.Dn,ct:Rd.En,et:Rd.Fn,ft:Rd.Gn,ht:Rd.Hn,jt:Rd.In,kt:Rd.Jn,mt:Rd.Kn,nt:Rd.Ln,ot:Rd.Mn,rt:Rd.Nn,st:Rd.On,vt:Rd.Pn,wt:Rd.Qn,xt:Rd.Rn,zt:Rd.Sn,At:Rd.Tn,Bt:Rd.Un,Ct:Rd.Vn,Dt:Rd.Wn,Et:Rd.Xn,Ft:Rd.Yn,Gt:Rd.Zn,Ht:Rd.ao,version:Rd.VERSION});var N={},Sd=(N[G.A.sa]="gcu",N[G.A.ye]="ept",N[G.A.Ob]="gclgb",N[G.A.wb]="gclaw",N[G.A.ai]="gclid_len",N[G.A.bi]="gclgs",N[G.A.di]="gcllp",N[G.A.ei]="gclst",N[G.A.Pc]="auid",N[G.A.ii]="ae",N[G.A.zd]="dscnt",N[G.A.Ad]="fcntr",N[G.A.Bd]="flng",N[G.A.Cd]="mid",N[G.A.Lf]="bttype",N[G.A.Fe]="gacid",N[G.A.jc]="label",N[G.A.Nf]="capi",N[G.A.mi]="pscdl",N[G.A.eb]="currency_code",N[G.A.Tc]="vdltv",N[G.A.He]="cloct",N[G.A.Bl]="_dbg",N[G.A.Uc]="oedeld",N[G.A.Rf]="edid",N[G.A.si]="evnid",N[G.A.Sf]="evjid",N[G.A.wi]="excid",N[G.A.yi]="gac",N[G.A.Le]="gacgb",N[G.A.zi]="gacmcov",N[G.A.Me]="gdpr",N[G.A.Tf]="gdid",N[G.A.Uf]="_ng",N[G.A.Ql]="_ono",N[G.A.Ai]="gpp_sid",N[G.A.Bi]="gpp",N[G.A.Ci]="gsaexp",N[G.A.Vf]="_tu",N[G.A.Qe]="frm",N[G.A.Ei]="gtm_up",N[G.A.Wf]="lps",N[G.A.Xf]="did",N[G.A.Kd]="fcntr",N[G.A.Ld]="flng",N[G.A.Md]="mid",N[G.A.Vc]=void 0,N[G.A.Bb]="tiba",N[G.A.lb]="rdp",N[G.A.Se]="ecsid",N[G.A.Od]="ga_uid",N[G.A.sc]="delopc",N[G.A.Te]="gdpr_consent",N[G.A.Oa]="oid",N[G.A.Ri]="oidsrc",N[G.A.Si]="uptgs",N[G.A.eg]="uaa",N[G.A.fg]="uab",N[G.A.gg]="uafvl",N[G.A.hg]="uamb",N[G.A.ig]="uam",N[G.A.jg]="uap",N[G.A.kg]="uapv",N[G.A.lg]="uaw",N[G.A.Ti]="ec_lat",N[G.A.Ui]="ec_meta",N[G.A.Vi]="ec_m",N[G.A.Wi]="ec_sel",N[G.A.Xi]="ec_s",N[G.A.Qd]="ec_mode",N[G.A.fb]="userId",N[G.A.Ve]="us_privacy",N[G.A.Ha]="value",N[G.A.Zi]="mcov",N[G.A.qg]="hn",N[G.A.jj]="gtm_ee",N[G.A.Rm]="uip",N[G.A.af]="mt",N[G.A.ad]="npa",N[G.A.nn]="sg_uc",N[G.A.Mf]=null,N[G.A.Nd]=null,N[G.A.Sb]=null,N[G.A.Ta]=null,N[G.A.Aa]=null,N[G.A.Ga]=null,N[G.A.Xc]=null,N[G.A.wc]=null,N[G.A.Ne]=null,N[G.A.Be]=null,N[G.A.Ce]=null,N[G.A.ze]=null,N[G.A.Ae]=null,N[G.A.Va]=null,N[G.A.Hd]=null,N);function Td(a,b){if(a){var c=a.split("x");c.length===2&&(Ud(b,"u_w",c[0]),Ud(b,"u_h",c[1]))}}function Vd(a){var b=Wd;b=b===void 0?Xd:b;return Yd(Zd(a,b))}function Yd(a){return(a||[]).filter(function(b){return!!b}).map(function(b){return"("+[$d(b.value),$d(b.quantity),$d(b.item_id),$d(b.start_date),$d(b.end_date)].join("*")+")"}).join("")} function Zd(a,b){return(a||[]).filter(function(c){return!!c}).map(function(c){return{item_id:b(c),quantity:c.quantity,value:c.price,start_date:c.start_date,end_date:c.end_date}})}function Xd(a){return[a.item_id,a.id,a.item_name].find(function(b){return b!=null})}function ae(a){if(a&&a.length)return a.map(function(b){return b&&b.estimated_delivery_date?b.estimated_delivery_date:""}).join(",")}function Ud(a,b,c){c===void 0||c===null||c===""&&!ud[b]||(a[b]=c)} function $d(a){return typeof a!=="number"&&typeof a!=="string"?"":a.toString()};function be(){this.blockSize=-1};function ce(a,b){this.blockSize=-1;this.blockSize=64;this.M=Na.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.U=this.J=0;this.D=[];this.la=a;this.Z=b;this.ka=Na.Int32Array?new Int32Array(64):Array(64);de===void 0&&(Na.Int32Array?de=new Int32Array(ee):de=ee);this.reset()}Oa(ce,be);for(var fe=[],ge=0;ge<63;ge++)fe[ge]=0;var he=[].concat(128,fe);ce.prototype.reset=function(){this.U=this.J=0;var a;if(Na.Int32Array)a=new Int32Array(this.Z);else{var b=this.Z,c=b.length;if(c>0){for(var d=Array(c),e=0;e>>7|g<<25)^(g>>>18|g<<14)^g>>>3)|0)+((c[f-7]|0)+((k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10)|0)|0}for(var m=a.D[0]|0,n=a.D[1]|0,p=a.D[2]|0,q=a.D[3]|0,r=a.D[4]|0,t=a.D[5]|0,u=a.D[6]|0,v=a.D[7]|0,w=0;w<64;w++){var y=((m>>>2|m<<30)^(m>>>13|m<<19)^(m>>>22|m<<10))+(m&n^m&p^n&p)|0,A=(v+((r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))|0)+(((r&t^~r&u)+(de[w]|0)|0)+(c[w]|0)|0)|0;v=u;u=t;t=r;r=q+A|0;q=p;p=n;n=m;m=A+y|0}a.D[0]=a.D[0]+m|0;a.D[1]=a.D[1]+n|0;a.D[2]=a.D[2]+p|0;a.D[3]=a.D[3]+q|0;a.D[4]=a.D[4]+r|0;a.D[5]=a.D[5]+t|0;a.D[6]=a.D[6]+u|0;a.D[7]=a.D[7]+v|0};ce.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.J;if(typeof a==="string")for(;c=g&&g==(g|0)))throw Error("message must be a byte array");this.M[d++]=g;d==this.blockSize&&(ie(this),d=0)}else throw Error("message must be string or array")}this.J=d;this.U+=b};ce.prototype.digest=function(){var a=[],b=this.U*8;this.J<56?this.update(he,56-this.J):this.update(he,this.blockSize-(this.J-56));for(var c=63;c>=56;c--)this.M[c]=b&255,b/=256;ie(this);for(var d=0,e=0;e=0;f-=8)a[d++]=this.D[e]>>f&255;return a};var ee=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],de;function je(){ce.call(this,8,ke)}Oa(je,ce);var ke=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var le=/^[0-9A-Fa-f]{64}$/;function me(a){try{return(new TextEncoder).encode(a)}catch(b){return Bb(a)}}function ne(a){if(a===""||a==="e0")return Promise.resolve(a);var b;if((b=x.crypto)==null?0:b.subtle){if(le.test(a))return Promise.resolve(a);try{var c=me(a);return x.crypto.subtle.digest("SHA-256",c).then(function(d){return oe(d,x)}).catch(function(){return"e2"})}catch(d){return Promise.resolve("e2")}}else return Promise.resolve("e1")} function pe(a){try{var b=new je;b.update(me(a));return b.digest()}catch(c){return"e2"}}function qe(a){if(a===""||a==="e0"||le.test(a))return a;var b=pe(a);if(b==="e2")return"e2";try{return oe(b,x)}catch(c){return"e2"}}function oe(a,b){var c=Array.from(new Uint8Array(a)).map(function(d){return String.fromCharCode(d)}).join("");return b.btoa(c).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")};function re(){for(var a=!1,b=!1,c=0;a===b;)if(a=gb(0,1)===0,b=gb(0,1)===0,c++,c>30)return;return a}var te={qh:function(a,b,c){return se.qh(a,b,c)}},ue=function(){this.studies={};this.D=re};ue.prototype.qh=function(a,b,c){var d=this.studies[b];if(!((c===void 0?gb(0,9999):c%1E4)>1)%2===0:this.D();if(p===void 0)break a;n|=(p?0:1)<<1}n===0?ve(a,f,e):n===1?ve(a,g,e):n===2&&ve(a,k,e)}}}return a};var xe=function(a,b){var c=se;return c.studies[b]?we(c,b)||!!(a.exp||{})[c.studies[b].experimentId]:!1},ye=function(a,b){var c=se;return c.studies[b]&&c.studies[b].controlId&&!we(c,b)?!!(a.exp||{})[c.studies[b].controlId]:!1},ze=function(a,b){var c=se;return c.studies[b]&&c.studies[b].controlId2&&!we(c,b)?!!(a.exp||{})[c.studies[b].controlId2]:!1},Ae=function(a,b){var c=(a==null?void 0:a.exp)||{},d=h(Object.keys(c).map(Number)),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;if(c[g]===b)return g}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}},we=function(a,b){return!!a.studies[b].active||a.studies[b].probability>.5},ve=function(a,b,c){var d=a.exp||{};d[b]=c;a.exp=d},se=new ue;var Be=function(a){switch(a){case 1:return 0;case 491:return 9;case 480:return 8;case 421:return 7;case 561:return 14;case 482:return 12;case 570:return 15;case 615:return 16;case 495:return 10;case 514:return 13;case 53:return 1;case 54:return 2;case 52:return 4;case 75:return 3}},Ce=function(a,b){a.M.add(b);var c=Be(b);c!==void 0&&ad(c)},Ee=function(a){return De.M.has(a)},De=new function(){this.M=new Set;this.J=new Set;this.D=new Set;Ce(this,132);var a=hd(6,6E4);Yc[1]=a;var b=hd(7,1);Yc[3]=b;var c=hd(35,50);Yc[2]=c;var d=hd(69,1776448920);Yc[4]=d;Ce(this,435);Ce(this,603)};var Je=function(){this.storage=Ra()};Je.prototype.set=function(a,b){this.storage.set(String(a),b)};Je.prototype.get=function(a){return this.storage.get(String(a))};var Ke;function Le(a,b){Ke||(Ke=new Je);Ke.set(a,b)}function Me(a){Ke||(Ke=new Je);return Ke.get(a)}function Ne(a,b){Ke||(Ke=new Je);var c=Ke;c.storage.has(String(a))||c.storage.set(String(a),b());return c.storage.get(String(a))};var Oe={},Pe=(Oe.tdp=1,Oe.exp=1,Oe.gtm=1,Oe.pid=1,Oe.dl=1,Oe.seq=1,Oe.t=1,Oe.v=1,Oe),Re=function(){var a=Qe;return Object.keys(a.D).filter(function(b){return a.D[b]})},Se=function(a,b,c){if(a.D[b]===void 0||(c===void 0?0:c))a.D[b]=!0},Te=function(a){a.forEach(function(b){Pe[b]||(Qe.D[b]=!1)})},Qe=new function(){this.D={};this.J={}};function Ue(a,b,c){var d=c===void 0?!0:c,e=Qe;d=d===void 0?!0:d;e.J[a]=b;d&&Se(e,a)};var Ve=function(){this.D=new Set;this.J=new Set},Xe=function(a){var b=We.D;a=a===void 0?[]:a;var c=[].concat(l(b.D)).concat([].concat(l(b.J))).concat(a);c.sort(function(d,e){return d-e});return c},Ye=function(){var a=[].concat(l(We.D.D));a.sort(function(b,c){return b-c});return a},$e=function(){var a=We.D,b=E(44);a.D=new Set;if(b){var c=h(b.split("~")),d=c.next(),e;try{for(;!d.done;d=c.next())Ze(a,d.value)}finally{d&&!d.done&&(e=c.return)&&e.call(c)}}},af=function(){var a=We.D,b=ed(67);if(b){var c=h(b),d=c.next(),e;try{for(;!d.done;d=c.next())Ze(a,d.value)}finally{d&&!d.done&&(e=c.return)&&e.call(c)}}},Ze=function(a,b){var c=b.trim();if(c!==""){var d=Number(c);isNaN(d)||a.D.add(d)}};var bf={},cf={__cl:1,__ecl:1,__ehl:1,__evl:1,__fal:1,__fil:1,__fsl:1,__hl:1,__jel:1,__lcl:1,__sdl:1,__tl:1,__ytl:1},df=ka(Object,"assign").call(Object,{},{__paused:1,__tg:1},cf),ef,ff=!1;ef=ff;var gf="";bf.Gg=gf;var We=new function(){this.D=new Ve};var hf=/:[0-9]+$/,jf=/^\d+\.fls\.doubleclick\.net$/;function kf(a,b,c){var d;return(d=lf(a,!!c,b)[b])==null?void 0:d[0]}function lf(a,b,c){var d={},e=h(a.split("&")),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=h(f.value.split("=")),m=k.next().value,n=va(k),p=decodeURIComponent(m.replace(/\+/g," "));if(c===void 0||p===c){var q=n.join("=");d[p]||(d[p]=[]);d[p].push(b?q:decodeURIComponent(q.replace(/\+/g," ")))}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}return d} function mf(a){try{return decodeURIComponent(a)}catch(b){}}function nf(a,b,c,d,e){b&&(b=String(b).toLowerCase());if(b==="protocol"||b==="port")a.protocol=of(a.protocol)||of(x.location.protocol);b==="port"?a.port=String(Number(a.hostname?a.port:x.location.port)||(a.protocol==="http"?80:a.protocol==="https"?443:"")):b==="host"&&(a.hostname=(a.hostname||x.location.hostname).replace(hf,"").toLowerCase());return pf(a,b,c,d,e)} function pf(a,b,c,d,e){var f,g=of(a.protocol);b&&(b=String(b).toLowerCase());switch(b){case "url_no_fragment":var k="";if(a&&a.href){var m=a.href.indexOf("#");k=m<0?a.href:a.href.substring(0,m)}f=k;break;case "protocol":f=g;break;case "host":f=a.hostname.replace(hf,"").toLowerCase();if(c){var n=/^www\d*\./.exec(f);n&&n[0]&&(f=f.substring(n[0].length))}break;case "port":f=String(Number(a.port)||(g==="http"?80:g==="https"?443:""));break;case "path":a.pathname||a.hostname||Za("TAGGING",1);f=a.pathname.substring(0,1)==="/"?a.pathname:"/"+a.pathname;var p=f.split("/");(d||[]).indexOf(p[p.length-1])>=0&&(p[p.length-1]="");f=p.join("/");break;case "query":f=a.search.replace("?","");e&&(f=kf(f,e));break;case "extension":var q=a.pathname.split(".");f=q.length>1?q[q.length-1]:"";f=f.split("/")[0];break;case "fragment":f=a.hash.replace("#","");break;default:f=a&&a.href}return f}function of(a){return a?a.replace(":","").toLowerCase():""}var qf={},rf=0;function sf(a){var b=qf[a];if(!b){var c=z.createElement("a");a&&(c.href=a);var d=c.pathname;d[0]!=="/"&&(a||Za("TAGGING",1),d="/"+d);var e=c.hostname.replace(hf,"");b={href:c.href,protocol:c.protocol,host:c.host,hostname:e,pathname:d,search:c.search,hash:c.hash,port:c.port};rf<5&&(qf[a]=b,rf++)}return b}function tf(a,b){var c=sf(a);return Cb(b,c)};var uf=["/as/d/ccm/conversion","/g/d/ccm/conversion","/gs/ccm/conversion","/d/ccm/form-data"];function vf(){return cd(47)?dd(54)!==1:!1}function wf(){var a=E(18),b=a.length;return a[b-1]==="/"?a.substring(0,b-1):a}function xf(a,b){if(a){var c=""+a;c.indexOf("http://")!==0&&c.indexOf("https://")!==0&&(c="https://"+c);c[c.length-1]==="/"&&(c=c.substring(0,c.length-1));return sf(""+c+b).href}}function yf(a){if(zf())return xf(a,"/analytics.js")}function zf(){return vf()||cd(50)} function Af(){return!!bf.Gg&&bf.Gg.split("@@").join("")!=="SGTM_TOKEN"}function Bf(a){var b=h([G.A.rc,G.A.Ub]),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=Cf(a,c.value);if(e)return e}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}}function Df(a){var b;b=b===void 0?"":b;return vf()?""+wf()+b:a}function Ef(a){if(vf()){var b=h(uf),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value;if(wb(a,""+wf()+e))return"::"}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}}} function Ff(){if(!x)return!1;try{if(x===x.top)return!1;var a=x.location.pathname;return a.indexOf("/_/service_worker/")!==-1&&xb(a,"/sw_iframe.html")}catch(b){return!1}};function Gf(a){var b=0;a.Gb.forEach(function(c){b|=1<=0||x.location.search.indexOf(">m_latency=")>=0;var Rf=function(){var a=Qf;return Ee(603)&&cd(65,!1)&&!a.Z},Qf=new function(a){this.U=a();var b=dd(27);this.M=Pf||this.U=1-c;var d=Ee(603)&&cd(65,!1);this.J=this.Z||d;var e=dd(27),f=dd(63);this.D=Pf||f===1||this.U>=e&&this.U0:!1}function kg(){return jg()?!1:ig("Opera")}function lg(){return ig("Firefox")||ig("FxiOS")}function mg(){return jg()?hg("Chromium"):(ig("Chrome")||ig("CriOS"))&&!(jg()?0:ig("Edge"))||ig("Silk")};function ng(){return Zf?!!fg&&!!fg.platform:!1}function og(){return ig("iPhone")&&!ig("iPod")&&!ig("iPad")}function pg(){og()||ig("iPad")||ig("iPod")};var qg=function(a){qg[" "](a);return a};qg[" "]=function(){};kg();jg()||ig("Trident")||ig("MSIE");ig("Edge");!ig("Gecko")||eg().toLowerCase().indexOf("webkit")!=-1&&!ig("Edge")||ig("Trident")||ig("MSIE")||ig("Edge");eg().toLowerCase().indexOf("webkit")!=-1&&!ig("Edge")&&ig("Mobile");ng()||ig("Macintosh");ng()||ig("Windows");(ng()?fg.platform==="Linux":ig("Linux"))||ng()||ig("CrOS");ng()||ig("Android");og();ig("iPad");ig("iPod");pg();eg().toLowerCase().indexOf("kaios");lg();og()||ig("iPod");ig("iPad");!ig("Android")||mg()||lg()||kg()||ig("Silk");mg();!ig("Safari")||mg()||(jg()?0:ig("Coast"))||kg()||(jg()?0:ig("Edge"))||(jg()?hg("Microsoft Edge"):ig("Edg/"))||(jg()?hg("Opera"):ig("OPR"))||lg()||ig("Silk")||ig("Android")||pg();var rg={},sg=null;function tg(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}var f=4;f===void 0&&(f=0);if(!sg){sg={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),k=["+/=","+/","-_=","-_.","-_"],m=0;m<5;m++){var n=g.concat(k[m].split(""));rg[m]=n;for(var p=0;p>2],F=r[(y&3)<<4|A>>4],J=r[(A&15)<<2|D>>6],M=r[D&63];t[w++]=""+C+F+J+M}var H=0,P=u;switch(b.length-v){case 2:H=b[v+1],P=r[(H&15)<<2]||u;case 1:var K=b[v];t[w]=""+r[K>>2]+r[(K&3)<<4|H>>4]+P+u}return t.join("")};var ug=function(a){return decodeURIComponent(a.replace(/\+/g," "))};var vg=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function wg(a,b,c,d){for(var e=b,f=c.length;(e=a.indexOf(c,e))>=0&&ec)e=c;d+=b.length+1;return ug(a.slice(d,e!==-1?e:0))}var zg=/[?&]($|#)/;function Ag(a,b,c){for(var d,e=a.search(xg),f=0,g,k=[];(g=wg(a,f,b,e))>=0;)k.push(a.substring(f,g)),f=Math.min(a.indexOf("&",g)+1||e,e);k.push(a.slice(f));d=k.join("").replace(zg,"$1");var m,n=c!=null?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,r=d.indexOf("#");r<0&&(r=d.length);var t=d.indexOf("?"),u;t<0||t>r?(t=r,u=""):u=d.substring(t+1,r);q=[d.slice(0,t),u,d.slice(r)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;m=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else m=d;return m};function Bg(a,b,c,d,e,f,g,k){var m=yg(c,"fmt");if(d){var n=yg(c,"random"),p=yg(c,"label")||"";if(!n)return;var q=tg(ug(p)+":"+ug(n));if(!Yf(a,q,d))return}m&&Number(m)!==4?(c=Ag(c,"rfmt",m),c=Ag(c,"fmt",4)):m||(c=Ag(c,"fmt",4));jc(c,function(){g==null||Cg(g);k==null||Dg(k,c);a.google_noFurtherRedirects&&d&&(a.google_noFurtherRedirects=null,d())},function(){g==null||Cg(g);k==null||Dg(k,c);e==null||e()},f,b.getElementsByTagName("script")[0].parentElement||void 0);return c};function Eg(a){var b=La.apply(1,arguments);Uf.register(a,1,b[0]);vc.apply(null,l(b))}function Fg(a){var b=La.apply(1,arguments);Uf.register(a,3,b[0]);nc.apply(null,l(b))}function Gg(a){var b=La.apply(1,arguments);Uf.register(a,1,b[0]);zc.apply(null,l(b))}function Hg(a){var b=La.apply(1,arguments);Uf.register(a,5,b[0]);jc.apply(null,l(b))}function Ig(a){var b=Bg.apply(null,l(La.apply(1,arguments)));b&&Uf.register(a,4,b);return b};var Jg=/gtag[.\/]js/,Kg=/gtm[.\/]js/,Mg=function(a){var b=Lg;if((a.scriptContainerId||"").indexOf("GTM-")>=0){var c;a:{var d,e=(d=a.scriptElement)==null?void 0:d.src;if(e){for(var f=cd(47),g=sf(e),k=f?g.pathname:""+g.hostname+g.pathname,m=z.scripts,n="",p=0;p=0){c=String(p);break a}n=String(p)}}if(n){c=n;break a}}c=void 0}var r=c;if(r)return b.D=!0,r}var t=[].slice.call(z.scripts);return a.scriptElement?String(t.indexOf(a.scriptElement)):"-1"},Ng=function(a){if(Lg.D)return"1";var b,c=(b=a.scriptElement)==null?void 0:b.src;if(c){if(Jg.test(c))return"3";if(Kg.test(c))return"2"}return"0"},Lg=new function(){this.D=!1};function O(a){Za("GTM",a)};function Og(a){var b=Pg().destinationArray[a],c=Pg().destination[a];return b&&b.length>0?b[0]:c}function Qg(a,b){var c=Pg();c.pending||(c.pending=[]);fb(c.pending,function(d){return d.target.ctid===a.ctid&&d.target.isDestination===a.isDestination})||c.pending.push({target:a,onLoad:b})}function Rg(){var a=x.google_tags_first_party;Array.isArray(a)||(a=[]);var b={},c=h(a),d=c.next(),e;try{for(;!d.done;d=c.next())b[d.value]=!0}finally{d&&!d.done&&(e=c.return)&&e.call(c)}return Object.freeze(b)} var Sg=function(){this.container={};this.destination={};this.destinationArray={};this.canonical={};this.pending=[];this.injectedFirstPartyContainers={};this.injectedFirstPartyContainers=Rg()};function Pg(){var a=$b("google_tag_data",{}),b=a.tidr;b&&typeof b==="object"||(b=new Sg,a.tidr=b);var c=b;c.container||(c.container={});c.destination||(c.destination={});c.destinationArray||(c.destinationArray={});c.canonical||(c.canonical={});c.pending||(c.pending=[]);c.injectedFirstPartyContainers||(c.injectedFirstPartyContainers=Rg());return c};function Tg(){return cd(7)&&Ug().some(function(a){return a===E(5)})}function Vg(){var a;return(a=ed(55))!=null?a:[]}function Wg(){return E(6)||"_"+E(5)}function Xg(){var a=E(10);return a?a.split("|"):[E(5)]}function Ug(){var a=ed(59);return Array.isArray(a)?a.filter(function(b){return typeof b==="string"}).filter(function(b){return b.indexOf("GTM-")!==0}):[]}function Yg(){var a=Zg($g()),b=a&&a.parent;if(b)return Zg(b)} function ah(){var a=Zg($g());if(a){for(;a.parent;){var b=Zg(a.parent);if(!b)break;a=b}return a}}function Zg(a){var b=Pg();return a.isDestination?Og(a.ctid):b.container[a.ctid]}function bh(){var a=Pg();if(a.pending){for(var b,c=[],d=!1,e=Xg(),f=Ug(),g={},k=0;k0&&n.update===void 0),t={region:q,declare_region:n.declare_region,implicit:n.implicit,default:c!==void 0?c:n.default,declare:n.declare,update:n.update,quiet:r};if(e!==""||n.default!==!1)m[b]=t;r&&x.setTimeout(function(){m[b]===t&&t.quiet&&(Za("TAGGING",2),a.waitPeriodTimedOut=!0,a.clearTimeout(b,void 0,k),a.notifyListeners())},g)}};aa=qh.prototype;aa.clearTimeout=function(a,b,c){var d=[a],e=c.delegatedConsentTypes,f;for(f in e)e.hasOwnProperty(f)&&e[f]===a&&d.push(f);var g=this.entries[a]||{},k=this.getConsentState(a,c);if(g.quiet){g.quiet=!1;var m=h(d),n=m.next(),p;try{for(;!n.done;n=m.next())sh(this,n.value)}finally{n&&!n.done&&(p=m.return)&&p.call(m)}}else if(b!==void 0&&k!==b){var q=h(d),r=q.next(),t;try{for(;!r.done;r=q.next())sh(this,r.value)}finally{r&&!r.done&&(t=q.return)&&t.call(q)}}};aa.update=function(a,b,c){this.usedDefault||this.usedDeclare||this.usedUpdate||!this.accessedAny||(this.wasSetLate=!0);this.usedUpdate=this.active=!0;if(b!=null){var d=this.getConsentState(a,c),e=this.entries;(e[a]=e[a]||{}).update=b==="granted";this.clearTimeout(a,d,c)}};aa.declare=function(a,b,c,d,e){this.usedDeclare=this.active=!0;var f=this.entries,g=f[a]||{},k=g.declare_region,m=c&&cb(c)?c.toUpperCase():void 0;d=d.toUpperCase();e=e.toUpperCase();if(d===""||m===e||(m===d?k!==e:!m&&!k)){var n={region:g.region,declare_region:m,declare:b==="granted",implicit:g.implicit,default:g.default,update:g.update,quiet:g.quiet};if(d!==""||g.declare!==!1)f[a]=n}};aa.implicit=function(a,b){this.usedImplicit=!0;var c=this.entries,d=c[a]=c[a]||{};d.implicit!==!1&&(d.implicit=b==="granted")};aa.getConsentState=function(a,b){var c=this.entries,d=c[a]||{},e=d.update;if(e!==void 0)return e?1:2;if(b.usedContainerScopedDefaults){var f=b.containerScopedDefaults[a];if(f===3)return 1;if(f===2)return 2}else if(e=d.default,e!==void 0)return e?1:2;if(b==null?0:b.delegatedConsentTypes.hasOwnProperty(a)){var g=b.delegatedConsentTypes[a],k=c[g]||{};e=k.update;if(e!==void 0)return e?1:2;if(b.usedContainerScopedDefaults){var m=b.containerScopedDefaults[g];if(m===3)return 1;if(m===2)return 2}else if(e=k.default,e!==void 0)return e?1:2}e=d.declare;if(e!==void 0)return e?1:2;e=d.implicit;return e!==void 0?e?3:4:0};aa.addListener=function(a,b){this.listeners.push({consentTypes:a,fn:b})};var sh=function(a,b){for(var c=0;c=c.length?m(n):x.setTimeout(function(){m(e())},500)}})}};var Fh=function(a,b){this.D=a;this.consentTypes=b};Fh.prototype.isConsentGranted=function(){switch(this.D){case 0:return this.consentTypes.every(function(a){return xh(a)});case 1:return this.consentTypes.some(function(a){return xh(a)});default:throw Error("consentsRequired had an unknown type")}};var Gh=new function(){var a={};this.D=(a[oh.da.bf]=nh.Ba.Sd,a[oh.da.rb]=nh.Ba.Sd,a[oh.da.Bf]=nh.Ba.Sd,a[oh.da.nb]=nh.Ba.Sd,a);var b={};this.J=(b[oh.da.bf]=new Fh(0,[]),b[oh.da.rb]=new Fh(0,["ad_storage"]),b[oh.da.Bf]=new Fh(0,["analytics_storage"]),b[oh.da.nb]=new Fh(1,["ad_storage","analytics_storage"]),b)};var Ih=function(a){var b=this;this.type=a;this.D=[];Bh(Gh.J[a].consentTypes,function(){Hh(b)||b.flush()})};Ih.prototype.flush=function(){var a=h(this.D),b=a.next(),c;try{for(;!b.done;b=a.next()){var d=b.value;d()}}finally{b&&!b.done&&(c=a.return)&&c.call(a)}this.D=[]};var Hh=function(a){return Gh.D[a.type]===nh.Ba.cf&&!Gh.J[a.type].isConsentGranted()},Jh=function(a,b){Hh(a)?a.D.push(b):b()},Kh=function(){this.D=new Map},Mh=function(a){var b=Lh;b.D.has(a)||b.D.set(a,new Ih(a));return b.D.get(a)};Kh.prototype.reset=function(){this.D.clear()};var Lh=new Kh;var Nh=["fin","mcc","ncc"],Oh=function(a){a=a===void 0?!1:a;var b=Re(),c=Qe.J,d=b.filter(function(e){return c[e]!==void 0&&(a||!Nh.includes(e))});Te(d);return d.map(function(e){var f=c[e];typeof f==="function"&&(f=f());return f?"&"+e+"="+f:""}).join("")+"&z=0"},Ph=function(a){var b="https://"+E(21),c="/td?id="+E(5);return""+Df(b)+c+a},Qh=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;if(Me(14)&&Qf.J&&E(5)&&(c||!Rf())){var d=Mh(oh.da.nb);if(Hh(d))a.D||(a.D=!0,Jh(d,function(){return Qh(a)}));else{b&&Ue("fin","1");var e=Oh(b),f=Ph(e),g={destinationId:E(5),endpoint:61};b?Gg(g,f,void 0,{ap:!0},void 0,function(){nc(f+"&img=1")}):Fg(g,f);a.D=!1;Rh(e)}}},Rh=function(a){if(Zb&&(wb(Zb,"https://www.googletagmanager.com/")||cd(47))&&!(a.indexOf("&csp=")<0&&a.indexOf("&mde=")<0)){var b;a:{try{if(Zb){b=new URL(Zb);break a}}catch(c){}b=void 0}b&&jc(""+Zb+(Zb.indexOf("?")>=0?"&":"?")+"is_td=1"+a)}},Sh=function(a){Re().some(function(b){return!Pe[b]})&&Qh(a,!0)},Th=new function(){var a=this;this.D=!1;oc(x,"pagehide",function(){Sh(a)})};function Uh(a,b){Qh(Th,a===void 0?!1:a,b===void 0?!1:b)};var Vh=["ad_storage","analytics_storage","ad_user_data","ad_personalization"],Wh=[G.A.rc,G.A.Ub,G.A.Ke,G.A.Fe,G.A.Se,G.A.fb,G.A.Ab,G.A.Ua,G.A.xb,G.A.Rb],Zh=function(){var a=Xh;!a.U&&a.D&&(Vh.some(function(b){return wh.containerScopedDefaults[b]!==1})||Yh("mbc"));a.U=!0},Yh=function(a){Qf.J&&(Ue(a,"1"),Uh())},$h=function(a,b){var c=Xh;if(!c.M[b]&&(c.M[b]=!0,c.J[b])){var d=h(Wh),e=d.next(),f;try{for(;!e.done;e=d.next())if(Cf(a,e.value)){Yh("erc");break}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}},Xh=new function(){this.U=this.D=!1;this.M={};this.J={}};function ai(a){Za("HEALTH",a)};var bi={aa:{Hp:"aw_user_data_cache",Jf:"cookie_deprecation_label",ve:"diagnostics_page_id",Mk:"ememo",aq:"em_registry",mg:"eab",Zq:"fl_user_data_cache",hr:"ga4_user_data_cache",Dr:"idc_pv_claim",Zc:"ip_geo_data_cache",rg:"ip_geo_fetch_in_progress",Ud:"mtt_study_state",mj:"nb_data",Zm:"page_experiment_ids",pj:"pld",bd:"pt_data",qj:"pt_listener_set",Ag:"retry_containers",xj:"service_worker_endpoint",rn:"shared_user_id",sn:"shared_user_id_requested",Hg:"shared_user_id_source",ws:"awh",Bn:"universal_claim_registry"}};var ci=function(a){return Kc(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})}(bi.aa);function di(a,b){b=b===void 0?!1:b;if(ci(a)){var c,d,e=(d=(c=$b("google_tag_data",{})).xcd)!=null?d:c.xcd={};if(e[a])return e[a];if(b){var f=void 0,g=1,k={},m={set:function(n){f=n;m.notify()},get:function(){return f},subscribe:function(n){k[String(g)]=n;return g++},unsubscribe:function(n){var p=String(n);return k.hasOwnProperty(p)?(delete k[p],!0):!1},notify:function(){var n=h(Object.keys(k)),p=n.next(),q;try{for(;!p.done;p=n.next()){var r=p.value;try{k[r](a,f)}catch(t){}}}finally{p&&!p.done&&(q=n.return)&&q.call(n)}}};return e[a]=m}}}function ei(a,b){var c=di(a,!0);c&&c.set(b)}function fi(a){var b;return(b=di(a))==null?void 0:b.get()}function gi(a,b){var c=di(a,!0);if(c)return c.get()===void 0&&c.set(b),c.get()}function hi(a,b){if(typeof b==="function"){var c;return(c=di(a,!0))==null?void 0:c.subscribe(b)}}function ii(a,b){var c=di(a);c&&c.unsubscribe(b)}function ji(a){if(ci(a)){var b;(b=di(a))==null||b.notify()}};var ki=function(){this.D={};this.J=!1};ki.prototype.bind=function(){this.J||(this.D=li(),this.D["0"]&&gi(bi.aa.Zc,JSON.stringify(this.D)))};var pi=function(){var a=mi,b=ni,c=void 0,d=function(){c!==void 0&&ii(bi.aa.Zc,c);try{var f=fi(bi.aa.Zc);b.D=JSON.parse(f)}catch(g){O(123),ai(2),b.D={}}b.J=!0;a()},e=fi(bi.aa.Zc);e?d(e):(c=hi(bi.aa.Zc,d),oi())},oi=function(){if(!fi(bi.aa.rg)){ei(bi.aa.rg,!0);var a=function(b){ei(bi.aa.Zc,b||"{}");ei(bi.aa.rg,!1)};try{x.fetch("https://www.google.com/ccm/geo",{method:"GET",cache:"no-store",mode:"cors",credentials:"omit"}).then(function(b){b.ok?b.text().then(function(c){a(c)},function(){a()}):a()},function(){a()})}catch(b){a()}}},li=function(){var a=E(22);try{return JSON.parse(Xa(a))}catch(b){return O(123),ai(2),{}}},qi=function(){return ni.D["1"]||""},ri=function(){var a=ni,b="";return b},ni=new ki;var si={},ti=Object.freeze((si[G.A.Pb]=1,si[G.A.De]=1,si[G.A.Kf]=1,si[G.A.yd]=1,si[G.A.Ta]=1,si[G.A.xb]=1,si[G.A.jb]=1,si[G.A.Qb]=1,si[G.A.Rc]=1,si[G.A.Rb]=1,si[G.A.Ua]=1,si[G.A.Sc]=1,si[G.A.Ed]=1,si[G.A.yb]=1,si[G.A.El]=1,si[G.A.Gd]=1,si[G.A.Kl]=1,si[G.A.Je]=1,si[G.A.Hd]=1,si[G.A.Ke]=1,si[G.A.Pl]=1,si[G.A.Va]=1,si[G.A.Rl]=1,si[G.A.Sl]=1,si[G.A.oc]=1,si[G.A.Ul]=1,si[G.A.Jd]=1,si[G.A.Re]=1,si[G.A.Ab]=1,si[G.A.Zl]=1,si[G.A.lb]=1,si[G.A.Wc]=1,si[G.A.mb]=1,si[G.A.Oi]=1,si[G.A.rc]=1,si[G.A.Pi]=1,si[G.A.Qi]=1,si[G.A.sc]=1,si[G.A.Ub]=1,si[G.A.uc]=1,si[G.A.Yi]=1,si[G.A.Ue]=1,si[G.A.wc]=1,si[G.A.ln]=1,si));Object.freeze([G.A.Aa,G.A.Ga,G.A.Bb,G.A.Sb,G.A.cg,G.A.fb,G.A.xi,G.A.yl]);var ui={};Object.freeze((ui[G.A.Ok]=1,ui[G.A.Pk]=1,ui[G.A.Qk]=1,ui[G.A.Rk]=1,ui[G.A.Sk]=1,ui[G.A.Wk]=1,ui[G.A.Xk]=1,ui[G.A.Yk]=1,ui[G.A.bl]=1,ui[G.A.Zh]=1,ui));var vi={},wi=Object.freeze((vi[G.A.Vh]=1,vi[G.A.Wh]=1,vi[G.A.Jc]=1,vi[G.A.Kc]=1,vi[G.A.Xh]=1,vi[G.A.bc]=1,vi[G.A.Lc]=1,vi[G.A.sb]=1,vi[G.A.Nb]=1,vi[G.A.tb]=1,vi[G.A.ub]=1,vi[G.A.Mc]=1,vi[G.A.fc]=1,vi[G.A.Yh]=1,vi)),xi=Object.freeze([G.A.Pb,G.A.yd,G.A.Sc,G.A.Ke,G.A.Tl,G.A.Wc,G.A.Oi,G.A.uc]),yi=Object.freeze([].concat(l(xi))),zi=Object.freeze([G.A.jb,G.A.Je,G.A.Pi,G.A.Qi,G.A.Gl]),Ai=Object.freeze([].concat(l(zi))),Bi={},Ci=(Bi[G.A.ia]="1",Bi[G.A.Sa]="2",Bi[G.A.ma]="3",Bi[G.A.Da]="4",Bi),Di={};Object.freeze((Di.search="s",Di.youtube="y",Di.playstore="p",Di.shopping="h",Di.ads="a",Di.maps="m",Di));function Ei(a){return typeof a!=="object"||a===null?{}:a}function Fi(a){return a===void 0||a===null?"":typeof a==="object"?a.toString():String(a)}function Gi(a){if(a!==void 0&&a!==null)return Fi(a)};var bj=function(){this.D=x.google_tag_manager=x.google_tag_manager||{}},cj;function dj(a,b){ej();var c=cj;return c.D[a]=c.D[a]||b()}function fj(a){ej();return cj.D[a]}function gj(a,b){ej();cj.D[a]=b}function hj(a){var b=E(5);ej();var c=cj;c.D[b]=c.D[b]||a}function ij(){var a=E(19);ej();var b=cj;return b.D[a]=b.D[a]||{}}function jj(){ej();var a=cj,b=a.D.sequence||1;a.D.sequence=b+1;return b}function ej(){cj||(cj=new bj)};var kj=function(){};kj.prototype.toString=function(){return"undefined"};var lj=new kj;function sj(a,b){function c(g){var k=sf(g),m=nf(k,"protocol"),n=nf(k,"host",!0),p=nf(k,"port"),q=nf(k,"path").toLowerCase().replace(/\/$/,"");if(m===void 0||m==="http"&&p==="80"||m==="https"&&p==="443")m="web",p="default";return[m,n,p,q]}for(var d=c(String(a)),e=c(String(b)),f=0;f=0;case "_css":return zd(b,c);case "_ew":return Ad(b,c);case "_eq":return String(b)===String(c);case "_ge":return Number(b)>=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":return String(b).split(",").indexOf(String(c))>=0;case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)c-9E5};var yj=!1,zj=!1,Aj=!1,Bj=0,Cj=!1,Dj=void 0,Ej=[];function Fj(a){if(Bj===0)Cj&&Ej&&(Ej.length>=100&&Ej.shift(),Ej.push(a));else if(Gj()){var b=E(41),c=$b(b,[]);c.length>=50&&c.shift();c.push(a)}}function qc(){zj||(Hj(),Ij(Bj))}function Ij(a){if(!zj||Bj===2&&a===1)if(zj=!0,Aj&&(pc(),Aj=!1),Dj!==void 0&&(x.clearTimeout(Dj),Dj=void 0),Bj=a,a===1){var b=Ej;Ej=void 0;b==null||b.forEach(function(c){Fj(c)})}} function Hj(){var a=z.documentElement.getAttribute("data-tag-assistant-prod-present");xj(a)?Bj=1:!wj(a)||yj||Aj?Bj=2:(Aj=!0,oc(z,"TAProdDebugSignal",qc,!1),Dj=x.setTimeout(function(){zj||(Hj(),Ij(Bj));yj=!0},200))}function Gj(){if(!Cj)return!1;switch(Bj){case 1:case 0:return!0;case 2:return!1;default:return!1}};var Jj=!1;function Kj(a,b){var c=Xg(),d=Ug();E(26);var e=cd(47)?0:cd(50)?1:3,f=wf();if(Gj()){var g=Lj("INIT");g.containerLoadSource=a!=null?a:0;b&&(g.parentTargetReference=b);g.aliases=c;g.destinations=d;e!==void 0&&(g.gtg={source:e,mPath:f!=null?f:""});Fj(g)}} function Mj(a){var b,c,d,e;b=a.targetId;c=a.request;d=a.Kj;e=a.isBatched;var f;if(f=Gj()){var g;a:switch(c.endpoint){case 68:case 69:case 19:case 62:case 47:g=!0;break a;default:g=!1}f=!g}if(f){var k=Lj("GTAG_HIT",{eventId:d.eventId,priorityId:d.priorityId});k.target=b;k.url=c.url;c.postBody&&(k.postBody=c.postBody);k.parameterEncoding=c.parameterEncoding;k.endpoint=c.endpoint;e!==void 0&&(k.isBatched=e);Fj(k)}} function Lj(a,b){b=b===void 0?{}:b;b.groupId=Nj;var c,d=b,e=Oj,f={publicId:Pj};d.eventId!=null&&(f.eventId=d.eventId);d.priorityId!=null&&(f.priorityId=d.priorityId);d.eventName&&(f.eventName=d.eventName);d.groupId&&(f.groupId=d.groupId);d.tagName&&(f.tagName=d.tagName);c={containerProduct:"GTM",key:f,version:e,messageType:a};c.containerProduct=Jj?"OGT":"GTM";c.key.targetRef=Qj;return c}var Pj="",Oj="",Qj={ctid:"",isDestination:!1},Nj;function Rj(a){var b=E(5),c=cd(45),d=Tg(),e=E(6),f=E(1);E(23);zj||Cj?Cj=!0:(Bj=0,Cj=!0,Hj());Nj=a;Pj=b;Oj=f;Jj=c;Qj={ctid:b,isDestination:d,canonicalId:e}};var Sj=[G.A.ia,G.A.Sa,G.A.ma,G.A.Da];function Tj(a){var b=h(a[G.A.rd]||[""]),c=b.next(),d;try{for(var e={};!c.done;e={fk:void 0},c=b.next())e.fk=c.value,jb(a,function(f){return function(g,k){if(g!==G.A.rd){var m=Fi(k),n=f.fk,p=ni.D["0"]||"",q=qi();uh=!0;th&&Za("TAGGING",20);ph().declare(g,m,n,p,q)}}}(e))}finally{c&&!c.done&&(d=b.return)&&d.call(b)}} function Uj(a){Zh();var b=Ne(32,function(){return!1}),c=Ne(33,function(){return!1});!b&&c&&Yh("crc");Le(32,!0);var d=a[G.A.Ff];d&&O(41);var e=a[G.A.rd];e?O(40):e=[""];var f=h(e),g=f.next(),k;try{for(var m={};!g.done;m={gk:void 0},g=f.next())m.gk=g.value,jb(a,function(n){return function(p,q){if(p!==G.A.rd&&p!==G.A.Ff){var r=Gi(q),t=n.gk,u=Number(d),v=ni.D["0"]||"",w=qi();u=u===void 0?0:u;th=!0;uh&&Za("TAGGING",20);ph().default(p,r,t,v,w,u,wh)}}}(m))}finally{g&&!g.done&&(k=f.return)&&k.call(f)}} function Vj(a,b){Zh();Le(33,!0);jb(a,function(c,d){var e=Fi(d);th=!0;uh&&Za("TAGGING",20);ph().update(c,e,wh)});Ch(b.eventId,b.priorityId)}function Wj(a){Array.isArray(a)||(a=[a]);return a.every(function(b){return xh(b)})}function Xj(){var a=Yj;Array.isArray(a)||(a=[a]);return a.some(function(b){return xh(b)})}function Zj(a,b){Eh(a,b)}function ak(a,b){Dh(a,b)}function bk(){var a=[G.A.ia,G.A.Da,G.A.ma];ph().waitForUpdate(a,500,wh)} function ck(a){var b=h(a),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value;ph().clearTimeout(e,void 0,wh)}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}Ch()}function dk(a){var b={},c=h(a.split("|")),d=c.next(),e;try{for(;!d.done;d=c.next())b[d.value]=!0}finally{d&&!d.done&&(e=c.return)&&e.call(c)}return b};function ek(a,b,c){var d="https://"+a+b;return c?function(){return vf()?wf()+c+b:d}:function(){return d}};var fk={},gk=(fk[22]=ek("www.googleadservices.com","/ccm/conversion","/as/d"),fk[60]=ek("pagead2.googlesyndication.com","/ccm/conversion","/gs"),fk[23]=ek("www.google.com","/ccm/conversion","/g/d"),fk);var hk={},ik=(hk[5]=ek("www.googleadservices.com","/pagead/conversion"),hk[6]=ek("pagead2.googlesyndication.com","/pagead/conversion","/gs"),hk[8]=ek("www.google.com","/pagead/1p-conversion"),hk[66]=ek("www.google.com","/pagead/uconversion"),hk[63]=ek("www.googleadservices.com","/pagead/conversion"),hk[64]=ek("pagead2.googlesyndication.com","/pagead/conversion","/gs"),hk[65]=ek("www.google.com","/pagead/1p-conversion"),hk[74]=function(){return wf()+"/as/p/c"},hk);var jk={},kk=(jk[45]=ek("www.google.com","/ccm/collect"),jk[46]=ek("pagead2.googlesyndication.com","/ccm/collect","/gs"),jk[69]=ek("ad.doubleclick.net","/ccm/s/collect"),jk[58]=ek("www.google.com","/pagead/set_partitioned_cookie"),jk[57]=ek("www.googleadservices.com","/pagead/set_partitioned_cookie"),jk);var lk={},mk=(lk[9]=ek("googleads.g.doubleclick.net","/pagead/viewthroughconversion"),lk[68]=ek("www.google.com","/rmkt/collect"),lk);var nk={},ok=(nk[11]=ek("www.google.com","/pagead/form-data","/d"),nk[21]=ek("www.google.com","/ccm/form-data","/d"),nk[72]=ek("google.com","/pagead/form-data","/d"),nk[73]=ek("google.com","/ccm/form-data","/d"),nk);var pk={},qk=(pk[51]=ek("www.google.com","/travel/flights/click/conversion"),pk);var rk={},sk=(rk[1]=function(){return"https://ad.doubleclick.net/activity;"},rk[2]=function(){return(vf()?wf():"https://ade.googlesyndication.com")+"/ddm/activity"+(Ee(467)?";":"/")},rk[3]=function(a){return"https://"+a.Es+".fls.doubleclick.net/activityi;"},rk);function tk(a){a=a===void 0?"g/collect":a;return"https://"+(ri()||"www")+".google-analytics.com/"+a}function uk(a){a=a===void 0?"g/collect":a;var b=ri();return"https://"+(b?b+".":"")+"analytics.google.com/"+a}var vk={},wk=(vk[17]=function(){return vf()&&!ri()?wf()+"/ag/g/c":uk()},vk[16]=function(){return vf()&&!ri()?wf()+"/ga/g/c":tk()},vk[67]=function(){var a;a=a===void 0?"g/collect":a;return ri()?"":"https://www.google.com/"+a},vk);function xk(a,b,c){var d=ek(b,"/measurement/conversion",c);return function(){return ri()?a("measurement/conversion"):d()}}var yk={},zk=(yk[55]=xk(tk,"pagead2.googlesyndication.com","/gs"),yk[54]=xk(uk,"www.google.com","/g"),yk);var Ak=ka(Object,"assign").call(Object,{},gk,ik,kk,mk,ok,qk,sk,zk,wk);var Bk=function(a,b,c,d,e){this.endpoint=a;this.la=c;this.ka=d;this.parameterEncoding=e;this.Z=b.slice()};Bk.prototype.J=function(){return!this.Z.length||Wj(this.Z)};Bk.prototype.isSupported=function(){return!0};Bk.prototype.U=function(){var a=Ak[this.endpoint](void 0);return wb(a,"https://")?a.substring(8):wb(a,"http://")?a.substring(7):a};var Ck=function(a,b){this.methodName=a;this.U=b};Ck.prototype.sendRequest=function(a,b,c){if(this.isSupported())if((c==null?void 0:c.body)===void 0||this.D())try{this.J(a,b,c)}catch(d){a.Yb(d)}else a.Yb("Request method "+this.methodName+" does not support a request body.");else a.Yb("Request method "+this.methodName+" is not supported.")};var Dk=function(){Ck.call(this,"ImagePixel",3)};ta(Dk,Ck);Dk.prototype.isSupported=function(){return!0};Dk.prototype.D=function(){return!1};Dk.prototype.J=function(a,b,c){nc(b,function(){a.jd()},function(){a.onFailure(void 0)},c==null?void 0:c.ed)};var Ek=function(){Ck.call(this,"SendBeacon",1)};ta(Ek,Ck);Ek.prototype.isSupported=function(){return Wb.sendBeacon!==void 0};Ek.prototype.D=function(){return!0};Ek.prototype.J=function(a,b,c){wc(b,c==null?void 0:c.body)?a.jd():a.Yb(void 0)};var Fk=function(){Ck.call(this,"Fetch",1)};ta(Fk,Ck);Fk.prototype.isSupported=function(){return bb(x.fetch)};Fk.prototype.D=function(){return!0};Fk.prototype.J=function(a,b,c){x.fetch(b,c==null?void 0:c.Za).then(function(d){if(d.ok)a.Fc(d);else if(d.status===0)a.jd();else a.onFailure("Fetch failed with status code "+d.status+".")}).catch(function(d){a.Yb(d)})};var Gk=new Dk,Hk=new Ek,Ik=new Fk;var Jk=function(){};Jk.prototype.J=function(){return[]};function Xk(a,b){if(b!=null&&b!==""){var c=b===!0?"1":b===!1?"0":encodeURIComponent(String(b));if(wb(a,"_&"))return{key:a.substring(2),value:c};var d=Wk[a];if(d!==null)return d?{key:d,value:c}:{key:db(b)?"epn."+a:"ep."+a,value:c}}};function Yk(a){a=a===void 0?[]:a;return Xe(a).join("~")};var Zk=function(){this.J={};this.D={};this.M={};this.U=new Set},$k=function(a,b,c,d){var e=se;if(e.studies[c]){var f=e.studies[c],g=f.experimentId,k=f.probability;if(!(b.studies||{})[c]){var m=b.studies||{};m[c]=!0;b.studies=m;if(!e.studies[c].active)if(e.studies[c].probability>.5)ve(b,g,c);else if(!(k<=0||k>1)){var n=void 0;if(d){var p=pe(d+"~"+c);if(p==="e2")n=-1;else{var q=new Uint8Array(p),r=BigInt(0),t=h(q),u=t.next(),v;try{for(;!u.done;u=t.next())r=r<1){var n=Number(k[1]);if(n){var p=al();ve(p,n,m);p.studies=p.studies||{};p.studies[m]=!0;ve(a.D,n,m);a.D.studies=a.D.studies||{};a.D.studies[m]=!0}}else a.M[m]=!0,Ce(De,m)}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}}var q=[],r=h(gd(56)||[]),t=r.next(),u;try{for(;!t.done;t=r.next()){var v=t.value,w={studyId:v[1],active:!!v[2],probability:v[3]||0,experimentId:v[4]||0,controlId:v[5]||0,controlId2:v[6]||0},y=0;switch(v[7]){case 2:y=1;break;case 3:y=2;break;case 1:case 4:case 5:case 0:y=0}var A;a:switch(w.studyId){case 613:case 567:case 612:A=!0;break a;default:A=!1}var D=ka(Object,"assign").call(Object,{},w,{Hj:y,focused:A});(D.active||D.probability>.5&&D.experimentId||D.experimentId&&D.controlId)&&q.push(D)}}finally{t&&!t.done&&(u=r.return)&&u.call(r)}var C=h(q),F=C.next(),J;try{for(;!F.done;F=C.next()){var M=a,H=F.value,P=H,K=H=M.M[P.studyId]?ka(Object,"assign").call(Object,{},P,{active:!0}):P,V=se;K.controlId2&&K.probability<=.25||(K=ka(Object,"assign").call(Object,{},K,{controlId2:0}));V.studies[K.studyId]=K;H.focused&&(M.J[H.studyId]=!0);if(H.Hj===1){var U=M,X=H.studyId;$k(U,al(),X);bl(U,X)?Ce(De,X):cl(U,X)?De.J.add(X):dl(U,X)&&De.D.add(X)}else if(H.Hj===0){var ba=M,oa=H.studyId;$k(ba,ba.D,oa);bl(ba,oa)?Ce(De,oa):cl(ba,oa)?De.J.add(oa):dl(ba,oa)&&De.D.add(oa)}}}finally{F&&!F.done&&(J=C.return)&&J.call(C)}}}function hl(a,b){gl();var c=fl;$k(c,al(),a,b);bl(c,a)?Ce(De,a):cl(c,a)?De.J.add(a):dl(c,a)&&De.D.add(a)}function il(a){gl();var b=fl,c=bl(b,567);el(b,567,a);return c}function jl(a){gl();var b=fl,c=bl(b,a);el(b,a);return c} function kl(a){gl();var b=new Set(fl.U);if(a){var c=Q(a,I.H.vc)||[],d=h(c),e=d.next(),f;try{for(;!e.done;e=d.next())b.add(e.value)}finally{e&&!e.done&&(f=d.return)&&f.call(d)}}return Yk([].concat(l(b)))};var ll=Object.freeze([G.A.ia,G.A.ma]);function ml(a){try{var b;if(b=!!a&&a.location.href!=null)a:{try{qg(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}}function nl(){for(var a=x,b=a;a&&a!==a.parent;)a=a.parent,ml(a)&&(b=a);return b};var ol=function(a,b){var c=function(){};c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d},pl=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};function ql(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};function rl(a){var b=a.split(/[?#]/),c=/[?]/.test(a)?"?"+b[1]:"";return{th:b[0],params:c,fragment:/[#]/.test(a)?"#"+(c?b[2]:b[1]):""}}function sl(a){var b=La.apply(1,arguments);if(b.length===0)return Kb(a[0]);for(var c=a[0],d=0;d3&&(g.labels=f.slice(3));d[c[e].od].push(g)}}return d};function Al(){return x.origin!=="null"};var Bl={},Cl=(Bl.k={oa:/^[\w-]+$/},Bl.b={oa:/^[\w-]+$/,oh:!0},Bl.i={oa:/^[1-9]\d*$/},Bl.h={oa:/^\d+$/},Bl.t={oa:/^[1-9]\d*$/},Bl.d={oa:/^[A-Za-z0-9_-]+$/},Bl.j={oa:/^\d+$/},Bl.u={oa:/^[1-9]\d*$/},Bl.l={oa:/^[01]$/},Bl.o={oa:/^[1-9]\d*$/},Bl.g={oa:/^[01]$/},Bl.s={oa:/^.+$/},Bl.m={oa:/^[01]$/},Bl);var Dl={},Hl=(Dl[5]={versions:{2:El},bh:"2",pf:["k","i","b","u"]},Dl[4]={versions:{2:El,GCL:Fl},bh:"2",pf:["k","i","b","m"]},Dl[2]={versions:{GS2:El,GS1:Gl},bh:"GS2",pf:"sogtjlhd".split("")},Dl);function Il(a,b){var c=Hl[b];if(c){var d=a.split(".")[0];if(d){var e=c.versions[d];if(e)return e(a,b)}}} function El(a,b){var c=a.split(".");if(c.length===3){var d=c[2];if(d.indexOf("$")===-1&&d.indexOf("%24")!==-1)try{d=decodeURIComponent(d)}catch(u){}var e={},f=Hl[b];if(f){var g=f.pf,k=h(d.split("$")),m=k.next(),n;try{for(;!m.done;m=k.next()){var p=m.value,q=p[0];if(g.indexOf(q)!==-1)try{var r=decodeURIComponent(p.substring(1)),t=Cl[q];t&&(t.oh?(e[q]=e[q]||[],e[q].push(r)):e[q]=r)}catch(u){}}}finally{m&&!m.done&&(n=k.return)&&n.call(k)}return e}}} function Jl(a,b,c){var d=Hl[b];if(d){var e=d.bh,f;var g=Hl[b];if(g){var k=[],m=h(g.pf),n=m.next(),p;try{for(;!n.done;n=m.next()){var q=n.value,r=Cl[q];if(r){var t=a[q];if(t!==void 0)if(r.oh&&Array.isArray(t)){var u=h(t),v=u.next(),w;try{for(;!v.done;v=u.next())k.push(encodeURIComponent(""+q+v.value))}finally{v&&!v.done&&(w=u.return)&&w.call(u)}}else k.push(encodeURIComponent(""+q+t))}}}finally{n&&!n.done&&(p=m.return)&&p.call(m)}f=k.join("$")}else f=void 0;return[e,c||"1",f].join(".")}} function Fl(a){var b=a.split(".");b.shift();var c=b.shift(),d=b.shift(),e={};return e.k=d,e.i=c,e.b=b,e}function Gl(a){var b=a.split(".").slice(2);if(!(b.length<5||b.length>7)){var c={};return c.s=b[0],c.o=b[1],c.g=b[2],c.t=b[3],c.j=b[4],c.l=b[5],c.h=b[6],c}};function Kl(a,b,c,d){var e;return(e=Ll(function(f){return f===a},b,c,d)[a])!=null?e:[]}function Ll(a,b,c,d){var e;if(Ml(d)){for(var f={},g=String(b||(Al()?x.document.cookie:"")).split(";"),k=0;k=0} function Rl(a,b,c){function d(t,u,v){if(v==null)return delete g[u],t;g[u]=v;return t+"; "+u+"="+v}function e(t,u){if(u==null)return t;g[u]=!0;return t+"; "+u}if(Ml(c.Lb)){var f;b==null?f=a+"=deleted; expires="+(new Date(0)).toUTCString():(c.encode&&(b=encodeURIComponent(b)),b=Sl(b),f=a+"="+b);var g={};f=d(f,"path",c.path);var k;c.expires instanceof Date?k=c.expires.toUTCString():c.expires!=null&&(k=""+c.expires);f=d(f,"expires",k);f=d(f,"max-age",c.Ms);f=d(f,"samesite",c.Vs);c.secure&&(f=e(f,"secure"));var m=c.domain;if(m&&m.toLowerCase()==="auto")for(var n=Tl(),p=0;p0?d:e}function Ol(a,b,c){for(var d=[],e=Kl(a,void 0,void 0,c),f=0;f1200&&(a=a.substring(0,1200));return a} var Wl=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,Xl=/(^|\.)doubleclick\.net$/i;function Ul(a,b){return a!==void 0&&(Xl.test(x.document.location.hostname)||b==="/"&&Wl.test(a))}function Yl(a){if(!a)return 1;var b=a;$c(4)&&a==="none"&&(b=x.document.location.hostname);b=b.indexOf(".")===0?b.substring(1):b;return b.split(".").length}function Zl(a){if(!a||a==="/")return 1;a[0]!=="/"&&(a="/"+a);a[a.length-1]!=="/"&&(a+="/");return a.split("/").length-1} function $l(a,b){var c=""+Yl(a),d=Zl(b);d>1&&(c+="-"+d);return c}var Ml=function(a){return a&&$c(5)?(Array.isArray(a)?a:[a]).every(function(b){return zh(b)&&xh(b)}):!0},Tl=function(){var a=[],b=x.document.location.hostname.split(".");if(b.length===4){var c=b[b.length-1];if(Number(c).toString()===c)return["none"]}for(var d=b.length-2;d>=0;d--)a.push(b.slice(d).join("."));var e=x.document.location.hostname;Xl.test(e)||Wl.test(e)||a.push("none");return a};function am(a,b,c,d){var e,f=Number(a.Xj!=null?a.Xj:void 0);f!==0&&(e=new Date((b||rb())+1E3*(f||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:e,Lb:d}};var bm=new Map([[5,"ad_storage"],[4,["ad_storage","ad_user_data"]],[2,"analytics_storage"]]);function cm(a,b){if(Hl[b]){var c=[],d=Kl(a,void 0,void 0,bm.get(b)),e=h(d),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=Il(f.value,b);k&&c.push(dm(k))}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}return c}}function em(a,b,c,d){c=c||{};var e=$l(c.domain,c.path),f=Jl(b,5,e);if(f){var g=am(c,d,void 0,bm.get(5));Vl(a,f,g)}}function fm(a,b){var c=b.oa;return typeof c==="function"?c(a):c.test(a)} function dm(a){var b=h(Object.keys(a)),c=b.next(),d;try{for(var e={};!c.done;e={ae:void 0},c=b.next()){var f=c.value,g=a[f];e.ae=Cl[f];e.ae?e.ae.oh?Array.isArray(g)?a[f]=g.filter(function(k){return function(m){return fm(m,k.ae)}}(e)):a[f]=void 0:typeof g==="string"&&fm(g,e.ae)||(a[f]=void 0):a[f]=void 0}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return a};var gm;function jm(){function a(g){c(g.target||g.srcElement||{})}function b(g){d(g.target||g.srcElement||{})}var c=km,d=lm,e=mm();if(!e.init){oc(z,"mousedown",a);oc(z,"keyup",a);oc(z,"submit",b);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){d(this);f.call(this)};e.init=!0}}function nm(a,b,c,d,e){var f={callback:a,domains:b,fragment:c===2,placement:c,forms:d,sameHost:e};mm().decorators.push(f)} function om(a,b,c){for(var d=mm().decorators,e={},f=0;f=0||p&&m[q].indexOf(n)>=0){k=!0;break a}k=!1}if(k){var r=g.placement;r===void 0&&(r=g.fragment?2:1);r===b&&ub(e,g.callback())}}return e} function mm(){var a=$b("google_tag_data",{}),b=a.gl;b&&b.decorators||(b={decorators:[]},a.gl=b);return b};var pm=/(.*?)\*(.*?)\*(.*)/,qm=/^https?:\/\/([^\/]*?)\.?cdn\.ampproject\.org\/?(.*)/,rm=/^(?:www\.|m\.|amp\.)+/,sm=/([^?#]+)(\?[^#]*)?(#.*)?/;function tm(a){var b=sm.exec(a);if(b)return{hh:b[1],query:b[2],fragment:b[3]}} function um(a,b){b=b===void 0?0:b;var c=rb(),d=[Wb.userAgent,(new Date).getTimezoneOffset(),Wb.userLanguage||Wb.language,Math.floor(c/60/1E3)-b,a].join("*"),e;if(!(e=gm)){for(var f=Array(256),g=0;g<256;g++){for(var k=g,m=0;m<8;m++)k=k&1?k>>>1^3988292384:k>>>1;f[g]=k}e=f}gm=e;for(var n=4294967295,p=0;p>>8^gm[(n^d.charCodeAt(p))&255];return((n^-1)>>>0).toString(36)} function wm(){return function(a){var b=sf(x.location.href),c=b.search.replace("?",""),d=kf(c,"_gl",!0)||"";a.query=xm(d)||{};var e=nf(b,"fragment"),f;var g=-1;if(wb(e,"_gl="))g=4;else{var k=e.indexOf("&_gl=");k>0&&(g=k+3+2)}if(g<0)f=void 0;else{var m=e.indexOf("&",g);f=m<0?e.substring(g):e.substring(g,m)}a.fragment=xm(f||"")||{}}}function ym(a){var b=wm(),c=mm();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(ub(d,e.query),a&&ub(d,e.fragment));return d} var xm=function(a){try{var b;a:{if(a){var c;b:{for(var d=a,e=0;e<3;++e){var f=pm.exec(d);if(f){c=f;break b}d=mf(d)||""}c=void 0}var g=c;if(g&&g[1]==="1"){var k=g[3],m;b:{for(var n=g[2],p=0;p<3;++p)if(n===um(k,p)){m=!0;break b}m=!1}if(m){b=k;break a}Za("TAGGING",7)}}b=void 0}var q=b;if(q!==void 0){for(var r={},t=q?q.split("*"):[],u=0;u+10;){if(c.href&&c.nodeName.match(/^a(?:rea)?$/i)){b=c;break a}c=c.parentNode;d--}b=null}var e=b;if(e){var f=e.protocol;f!=="http:"&&f!=="https:"||Am(e,e.hostname)}}catch(g){}}function lm(a){try{var b=a.getAttribute("action");if(b){var c=nf(sf(b),"host");Am(a,c)}}catch(d){}}function Em(a,b,c,d){jm();var e=c==="fragment"?2:1;d=!!d;nm(a,b,e,d,!1);e===2&&Za("TAGGING",23);d&&Za("TAGGING",24)} function Fm(a,b){jm();nm(a,[pf(x.location,"host",!0)],b,!0,!0)}function Gm(){var a=z.location.hostname,b=qm.exec(z.referrer);if(!b)return!1;var c=b[2],d=b[1],e="";if(c){var f=c.split("/"),g=f[1];e=g==="s"?mf(f[2])||"":mf(g)||""}else if(d){if(d.indexOf("xn--")===0)return!1;e=d.replace(/-/g,".").replace(/\.\./g,"-")}var k=a.replace(rm,""),m=e.replace(rm,"");return k===m||xb(k,"."+m)};var Hm=function(a){a=a===void 0?0:a;this.value=0;this.value=a};Hm.prototype.set=function(a){return this.value|=1<=a.length)return;e=a[f++];c|=(e&127)<200)p=!1;else{var q=Jm(n),r;if(q)c:{var t=q;if(t&&t.length!==0){var u=0;try{for(var v=10;u>3===16382){if(J!==0)break;var M=Km(t,F);if(M===void 0)break;r=h(M).next().value===1;break c}var H;d:{var P=void 0,K=t,V=F;switch(J){case 0:H=(P=Km(K,V))==null?void 0:P[1];break d;case 1:H=V+8;break d;case 2:var U=Km(K,V);if(U===void 0)break;var X=h(U),ba=X.next().value;H=X.next().value+ba;break d;case 5:H=V+4;break d}H=void 0}if(H===void 0||H>t.length||H<=u)break;u=H}}catch(Qa){}}r=!1}else r=!1;p=r}if(p){c=n;break a}}}}finally{g&&!g.done&&(k=f.return)&&k.call(f)}c=void 0}var oa=c;oa&&In("gcl_aw",oa,7,a)}}function In(a,b,c,d){Jn(a,[{version:"",gclid:b,timestamp:rb(),fa:vn(c)}],d)} function Jn(a,b,c){c=c||{};var d=bn(),e=function(){if(cn(d)&&b.length>0){var f=wn(a)||[];b.forEach(function(g){var k=am(c,g.timestamp,!0);k.expires!==void 0&&sn(f,{version:"",gclid:g.gclid,timestamp:g.timestamp,expires:Number(k.expires),fa:g.fa,labels:g.labels},!0)});f.length&&Mm(a,f.map(function(g){var k={value:g.gclid,creationTimeMs:g.timestamp,linkDecorationSources:g.fa?g.fa.get():0},m;if((m=g.labels)==null?0:m.length)k.labels=g.labels;return{value:k,expires:Number(g.expires)}}))}};Dh(function(){cn(d)?e():Eh(e,d)},d)} function Kn(a,b,c,d,e){c=c||{};e=e||[];var f=jn(c.prefix),g=d||rb(),k=Math.round(g/1E3),m=bn(),n=!1,p=!1,q=$c(7),r=function(){if(cn(m)){var t=am(c,g,!0);t.Lb=m;var u=function(K,V){var U=kn(K,f);U&&(Vl(U,V,t),K!=="gb"&&(n=!0))},v=function(K){var V=["GCL",k,K];e.length>0&&V.push(e.join("."));return V.join(".")},w=h(["aw","dc","gf","ha","gp"]),y=w.next(),A;try{for(;!y.done;y=w.next()){var D=y.value;a[D]&&u(D,v(a[D][0]))}}finally{y&&!y.done&&(A=w.return)&&A.call(w)}if((!n||q)&&a.gb){var C=a.gb[0],F=kn("gb",f);!b&&fn(F).some(function(K){return K.gclid===C&&K.labels&&K.labels.length>0})||u("gb",v(C))}}if(!p&&a.gbraid&&cn("ad_storage")&&(p=!0,!n||q)){var J=a.gbraid,M=kn("ag",f);if(b||!ln(M).some(function(K){return K.gclid===J&&K.labels&&K.labels.length>0})){var H={},P=(H.k=J,H.i=""+k,H.b=e,H);em(M,P,c,g)}}Ln(a,f,g,c)};Dh(function(){r();cn(m)||Eh(r,m)},m)} function Ln(a,b,c,d){if(a.gad_source!==void 0&&cn("ad_storage")){var e=Bc();if(e!=="r"&&e!=="h"){var f=a.gad_source,g=kn("gs",b);if(g){var k=Ac()||0,m=Math.floor((rb()-k)/1E3),n,p,q=String,r=x.location.hostname,t=x.location.pathname,u=r=Db(r);u.split(".").length>2&&(u=u.replace(/^(www[0-9]*|web|ftp|wap|home|m|w|amp|mobile)\./,""));r=u;t=Db(t);var v=t.split(";")[0];v=v.replace(/\/(ar|slp|web|index)?\/?$/,"");p=q(qd((""+r+v).toLowerCase()));var w={};n=(w.k=f,w.i=""+m,w.u=p,w);em(g,n,d,c)}}}} function Mn(a,b,c){for(var d=cm(b,c),e=0;ea)return!0;return!1}function Nn(a){var b=On,c=Pn(a.prefix);dn(function(){var d=jn(a.prefix),e=h(b),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value,m=c[k];if(m){var n=Math.min(Qn(m),rb()),p=am(a,n,!0);p.Lb=bn();var q=kn(k,d);q&&Vl(q,m,p)}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}var r=ym(!0);Kn(Bn(r.gclid,r.gclsrc),!1,a)},bn())} function Pn(a){var b=ym(!0),c=jn(a),d={},e;for(e in Zm)if(Zm.hasOwnProperty(e)){var f=e,g=kn(f,c);if(g!==void 0){var k=b[g];if(k){var m=Qn(k),n=Math.min(m,rb())||rb(),p;a:{for(var q=Kl(g,z.cookie,void 0,bn()),r=0;rn){p=!0;break a}p=!1}p||(d[f]=k)}}}return d} function Rn(a){var b=["ag"],c=ym(!0),d=jn(a.prefix);dn(function(){for(var e=0;e=p&&(p=w,n=u)}}}finally{r&&!r.done&&(t=q.return)&&t.call(q)}n&&(f[k]=n)}}}return f};dn(function(){Em(e,a,b,c)},bn())}} function Un(a,b,c,d){if(Array.isArray(a)&&Al()){var e=["ag"],f=jn(d),g=function(){for(var k={},m=0;m0?e.join(";"):""} function mo(a,b,c){var d=cn(bn())?zl("_gac_gb",!0):{},e=[],f=!1,g=h(Object.keys(d)),k=g.next(),m;try{for(;!k.done;k=g.next()){var n=k.value,p=bo("_gac_gb_"+n,a,b,c);f=f||p.length!==0&&p.some(function(q){return q===1});e.push(n+":"+p.join(","))}}finally{k&&!k.done&&(m=g.return)&&m.call(g)}return{Co:f?e.join(";"):"",Bo:lo(z,d,ko)}}function no(a,b){var c=a.location.href.match(new RegExp(";"+b+"=([^;?]+)"));return c&&c.length===2&&c[1].match(ho)?c[1]:void 0} function oo(a){var b={},c,d,e;io.test(z.location.host)&&(c=no(z,"gclgs"),d=no(z,"gclst"),e=no(z,"gcllp"));if(c&&d&&e)b.Tg=c,b.Pj=d,b.Oj=e;else{var f=rb(),g=on((a||"_gcl")+"_gs"),k=g.map(function(p){return p.gclid}),m=g.map(function(p){return f-p.timestamp}),n=g.map(function(p){return p.Dc});k.length>0&&m.length>0&&n.length>0&&(b.Tg=k.join("."),b.Pj=m.join("."),b.Oj=n.join("."))}return b} function po(a,b){var c=a.split("."),d=b?b.split("."):[],e=d.length===c.length?d:void 0;return c.map(function(f,g){var k={gclid:f};if(e){var m=e[g].split("_");if(m.length===2){k.fa=new Hm(Number(m[0]));var n;var p=Number(m[1]);if(p===0)n=[0];else{var q=[];p&1&&q.push(1);p&2&&q.push(2);p&4&&q.push(3);p&8&&q.push(4);p&16&&q.push(5);n=q}k.na=n}}return k})} function qo(a,b,c,d,e){e=e===void 0?!1:e;if(io.test(a.location.host)){var f=no(a,d);if(f){if($c(14)){var g=no(a,d+"_src");return po(f,g)}if(e){var k=new Hm;Im(k,2);Im(k,3);return f.split(".").map(function(u){return{gclid:u,fa:k,na:[1]}})}return f.split(".").map(function(u){return{gclid:u,fa:new Hm,na:[1]}})}}else{if(c==="gclid"){var m=fn((b||"_gcl")+"_aw",e),n=Number(Yc[4]===void 0?0:Yc[4]),p=h(ro()),q=p.next(),r;try{for(;!q.done;q=p.next()){var t=q.value;t.timestamp>n&&sn(m,t)}}finally{q&&!q.done&&(r=p.return)&&r.call(p)}return m}if(c==="wbraid")return fn((b||"_gcl")+"_gb",e);if(c==="braids")return hn({prefix:b},e)}return[]}function ro(){return(cm(Xm.aw,4)||[]).filter(function(a){return a.m==="1"}).map(function(a){return{gclid:a.k,timestamp:Number(a.i),version:"",na:[5]}})} function so(a){var b;if(io.test(z.location.host))b=!(no(z,"gclaw")||no(z,"gac"));else{var c=Math.max(eo("aw",a),fo(cn(bn())?zl():{})),d=Math.max(eo("gb",a),fo(cn(bn())?zl("_gac_gb",!0):{}));d=Math.max(d,eo("ag",a));b=d>c}return b}function to(a,b,c,d){d=d===void 0?!1:d;var e;e=c?co(a,b,d):bo((b&&b.prefix||"_gcl")+"_gb",a,b,void 0,d);return e.length===0||e.every(function(f){return f===0})?"":e.join(".")};function Ao(a,b,c){var d=Fe(a,G.A.Va);if(d&&typeof d==="object"){var e=h(Object.keys(d)),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value,m=d[k];if(m!==void 0){m===null&&(m="");var n="gap."+k,p=String(m);c?c(n,p):b[n]=p}}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}}};var Bo=!1,Co=[];function Do(){if(!Bo){Bo=!0;for(var a=Co.length-1;a>=0;a--)Co[a]();Co=[]}};function Eo(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};function Fo(a,b,c){return typeof a.addEventListener==="function"?(a.addEventListener(b,c,!1),!0):!1}function Go(a,b,c){typeof a.removeEventListener==="function"&&a.removeEventListener(b,c,!1)};function Ho(a,b,c,d){d=d===void 0?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=xl(a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,k=Tb(g,e);k>=0&&Array.prototype.splice.call(g,k,1)}Go(e,"load",f);Go(e,"error",f)};Fo(e,"load",f);Fo(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} function Io(a){var b;b=b===void 0?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";ql(a,function(d,e){if(d||d===0)c+="&"+e+"="+encodeURIComponent(String(d))});Jo(c,b)} function Jo(a,b){var c=window,d;b=b===void 0?!1:b;d=d===void 0?!1:d;if(c.fetch){var e={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"};d&&(e.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?e.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}:e.headers={"Attribution-Reporting-Eligible":"event-source"});c.fetch(a,e)}else Ho(c,a,b===void 0?!1:b,d===void 0?!1:d)};function Ko(){this.la=this.la;this.U=this.U}Ko.prototype.la=!1;Ko.prototype.dispose=function(){this.la||(this.la=!0,this.M())};Ko.prototype[Symbol.dispose]=function(){this.dispose()};Ko.prototype.addOnDisposeCallback=function(a,b){this.la?b!==void 0?a.call(b):a():(this.U||(this.U=[]),b&&(a=a.bind(b)),this.U.push(a))};Ko.prototype.M=function(){if(this.U)for(;this.U.length;)this.U.shift()()};function Lo(a){a.addtlConsent===void 0||Nc(a.addtlConsent)||(a.addtlConsent=void 0);a.gdprApplies===void 0||Oc(a.gdprApplies)||(a.gdprApplies=void 0);return a.tcString!==void 0&&!Nc(a.tcString)||a.listenerId!==void 0&&!Lc(a.listenerId)?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3}var Mo=function(a,b){b=b===void 0?{}:b;Ko.call(this);this.D=null;this.ka={};this.za=0;this.Z=null;this.J=a;var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;var d;this.Og=(d=b.Og)!=null?d:!1};ta(Mo,Ko);Mo.prototype.M=function(){this.ka={};this.Z&&(Go(this.J,"message",this.Z),delete this.Z);delete this.ka;delete this.J;delete this.D;Ko.prototype.M.call(this)};var Oo=function(a){return typeof a.J.__tcfapi==="function"||No(a)!=null};Mo.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.Og},d=pl(function(){a(c)}),e=0;this.timeoutMs!==-1&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.timeoutMs));var f=function(g,k){clearTimeout(e);g?(c=g,c.internalErrorState=Lo(c),c.internalBlockOnErrors=b.Og,k&&c.internalErrorState===0||(c.tcString="tcunavailable",k||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{Po(this,"addEventListener",f)}catch(g){c.tcString="tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};Mo.prototype.removeEventListener=function(a){a&&a.listenerId&&Po(this,"removeEventListener",null,a.listenerId)};var Ro=function(a,b,c){var d;d=d===void 0?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(f!==void 0){e=f[d===void 0?"755":d];break a}}e=void 0}var g=e;if(g===0)return!1;var k=c;c===2?(k=0,g===2&&(k=1)):c===3&&(k=1,g===1&&(k=0));var m;if(k===0)if(a.purpose&&a.vendor){var n=Qo(a.vendor.consents,d===void 0?"755":d);m=n&&b==="1"&&a.purposeOneTreatment&&a.publisherCC==="CH"?!0:n&&Qo(a.purpose.consents,b)}else m=!0;else m=k===1?a.purpose&&a.vendor?Qo(a.purpose.legitimateInterests,b)&&Qo(a.vendor.legitimateInterests,d===void 0?"755":d):!0:!0;return m},Qo=function(a,b){return!(!a||!a[b])},Po=function(a,b,c,d){c||(c=function(){});var e=a.J;if(typeof e.__tcfapi==="function"){var f=e.__tcfapi;f(b,2,c,d)}else if(No(a)){So(a);var g=++a.za;a.ka[g]=c;if(a.D){var k={};a.D.postMessage((k.__tcfapiCall={command:b,version:2,callId:g,parameter:d},k),"*")}}else c({},!1)},No=function(a){if(a.D)return a.D;a.D=vl(a.J,"__tcfapiLocator");return a.D},So=function(a){if(!a.Z){var b=function(c){if(c.source===a.D)try{var d;d=(Nc(c.data)?JSON.parse(c.data):c.data).__tcfapiReturn;a.ka[d.callId](d.returnValue,d.success)}catch(e){}};a.Z=b;Fo(a.J,"message",b)}},To=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=Lo(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(Io({e:String(a.internalErrorState)}),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var Uo={1:0,3:0,4:0,7:3,9:3,10:3};function Vo(){return dj("tcf",function(){return{}})}var Wo=function(){return new Mo(x,{timeoutMs:-1})};function Xo(){var a=Vo(),b=Wo();Oo(b)&&!Yo()&&Vo().enableAdvertiserConsentMode!==!0&&O(124);if(!a.active&&Oo(b)){Yo()&&(a.active=!0,a.purposes={},a.cmpId=0,a.tcfPolicyVersion=0,ph().active=!0,a.tcString="tcunavailable");bk();try{b.addEventListener(function(c){if(c.internalErrorState!==0)Zo(a),ck([G.A.ia,G.A.Da,G.A.ma]),ph().active=!0;else if(a.gdprApplies=c.gdprApplies,a.cmpId=c.cmpId,a.enableAdvertiserConsentMode=c.enableAdvertiserConsentMode,Vo().enableAdvertiserConsentMode===!0&&(a.active=!0),!$o(c)||Yo()||Vo().enableAdvertiserConsentMode===!0){a.tcfPolicyVersion=c.tcfPolicyVersion;var d;if(c.gdprApplies===!1){var e={},f;for(f in Uo)Uo.hasOwnProperty(f)&&(e[f]=!0);d=e;b.removeEventListener(c)}else if($o(c)){var g={},k;for(k in Uo)if(Uo.hasOwnProperty(k))if(k==="1"){var m,n=c,p={Fo:!0};p=p===void 0?{}:p;m=To(n)?n.gdprApplies===!1?!0:n.tcString==="tcunavailable"?!p.idpcApplies:(p.idpcApplies||n.gdprApplies!==void 0||p.Fo)&&(p.idpcApplies||Nc(n.tcString)&&n.tcString.length)?Ro(n,"1",0):!0:!1;g["1"]=m}else g[k]=Ro(c,k,Uo[k]);d=g}if(d){a.tcString=c.tcString||"tcempty";a.purposes=d;var q={},r=(q[G.A.ia]=a.purposes["1"]?"granted":"denied",q);a.gdprApplies!==!0?(ck([G.A.ia,G.A.Da,G.A.ma]),ph().active=!0):(r[G.A.Da]=a.purposes["3"]&&a.purposes["4"]?"granted":"denied",typeof a.tcfPolicyVersion==="number"&&a.tcfPolicyVersion>=4?r[G.A.ma]=a.purposes["1"]&&a.purposes["7"]?"granted":"denied":ck([G.A.ma]),Vj(r,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:ap()||""}))}}else ck([G.A.ia,G.A.Da,G.A.ma])})}catch(c){Zo(a),ck([G.A.ia,G.A.Da,G.A.ma]),ph().active=!0}}}function Zo(a){a.type="e";a.tcString="tcunavailable"}function $o(a){return a.eventStatus==="tcloaded"||a.eventStatus==="useractioncomplete"||a.eventStatus==="cmpuishown"}function Yo(){return x.gtag_enable_tcf_support===!0}function ap(){var a=Vo();if(a.active)return a.tcString}function bp(){var a=Vo();if(a.active&&a.gdprApplies!==void 0)return a.gdprApplies?"1":"0"} function cp(a){if(!Uo.hasOwnProperty(String(a)))return!0;var b=Vo();return b.active&&b.purposes?!!b.purposes[String(a)]:!0};var dp=[G.A.ia,G.A.Sa,G.A.ma,G.A.Da],ep={},fp=(ep[G.A.ia]=1,ep[G.A.Sa]=2,ep);function gp(a){if(a===void 0)return 0;switch(Cf(a,G.A.Pb)){case void 0:return 1;case!1:return 3;default:return 2}}function hp(){return(Ee(183)?fd(16).split("~"):fd(17).split("~")).indexOf(qi())!==-1&&(Wb==null?void 0:Wb.globalPrivacyControl)===!0}function ip(a){if(hp())return!1;var b=gp(a);if(b===3)return!1;switch(yh(G.A.Da)){case 1:case 3:return!0;case 2:return!1;case 4:return b===2;case 0:return!0;default:return!1}} function jp(){return Ah()||!xh(G.A.ia)||!xh(G.A.Sa)}function kp(){var a={},b;for(b in fp)fp.hasOwnProperty(b)&&(a[fp[b]]=yh(b));return"G1"+Qc(a[1]||0)+Qc(a[2]||0)}var lp={},mp=(lp[G.A.ia]=0,lp[G.A.Sa]=1,lp[G.A.ma]=2,lp[G.A.Da]=3,lp);function np(a){switch(a){case void 0:return 1;case!0:return 3;case!1:return 2;default:return 0}} function op(a){for(var b="1",c=0;c=0&&c<=4095&&(a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c>>6&63],b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c&63]);var e="0",f;var g=Vo();f=g.active?g.tcfPolicyVersion:void 0;typeof f==="number"&&f>=0&&f<=63&&(e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[f]);var k=0;ni.D["6"]!==!1&&(k|=1);bp()==="1"&&(k|=2);Yo()&&(k|=4);var m;var n=Vo();m=n.enableAdvertiserConsentMode!==void 0?n.enableAdvertiserConsentMode?"1":"0":void 0;m==="1"&&(k|=8);ph().waitPeriodTimedOut&&(k|=16);return"1"+a+b+e+"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[k]};var tp={UA:1,AW:2,DC:3,G:4,GF:5,GT:12,GTM:14,HA:6,MC:7};function up(){if(!Zb)return 0;var a=sf(Zb),b=a.hostname.toLowerCase();if(/(^|\.)googletagmanager\.com$/.test(b))return 1;var c=x.location,d=c.hostname.toLowerCase();if(c.protocol.toLowerCase()===a.protocol.toLowerCase()&&d===b)return 4;if(d===b)return 3;var e=b.split("."),f=d.split("."),g=/\.(co|com|org|net|gov|edu|ac|ne|or|go)\.[a-z]{2}$/.test(b)?3:2;if(e.length>=g&&f.length>=g){var k=e.slice(-g).join("."),m=f.slice(-g).join(".");if(k===m)return 3}return 2} function vp(){switch(E(69,"3")){case "1":return 3;case "2":return 4;case "3":return 2;default:return 1}} function wp(a){a=a===void 0?{}:a;var b=E(5).split("-")[0].toUpperCase(),c=Ee(604),d,e=c?(d=a.uf)!=null?d:up():void 0,f,g=c?(f=a.kk)!=null?f:vp():void 0,k,m={ctid:E(5),releaseExperiment:dd(15),runtimeVersion:E(14),Yo:cd(7)?2:1,xp:a.nd,canonicalId:E(6),up:(k=ah())==null?void 0:k.canonicalContainerId,yp:a.xf===void 0?void 0:a.xf?10:12,uf:e,kk:g};m.canonicalId!==a.Hc&&(m.Hc=a.Hc);var n=Yg();m.kp=n?n.canonicalContainerId:void 0;cd(45)?(m.wf=tp[b],m.wf||(m.wf=0)):m.wf=ef?13:10;cd(47)?(m.eh=0,m.lo=2):cd(50)?m.eh=1:m.eh=3;var p=ka(Object,"assign").call(Object,{},a,{uf:e}),q={6:!1};dd(54)===2?q[7]=!0:dd(54)===1&&(q[2]=!0);var r,t=(r=p.uf)!=null?r:up();t!==void 0&&t!==0&&(q[8]=t!==1);var u;q[9]=(u=p.tf)!=null?u:!1;var v=fh(),w;q[10]=(w=v==null?void 0:v.fromContainerExecution)!=null?w:!1;m.oo=q;return Uc(m,a.io)};function yp(a,b){var c=Object.keys(b).filter(function(d){return b[d]!=null}).map(function(d){return d+"="+b[d]}).join("&");return Ak[a](void 0)+"?"+c};var S={P:{Eh:"call_conversion",ac:"ccm_conversion",Gh:"common_aw",ja:"conversion",Tq:"floodlight",xc:"ga_conversion",yc:"gcp_remarketing",Wa:"page_view",Pa:"remarketing",ob:"user_data_lead",Ya:"user_data_web"}};function zp(a,b){a?a.then(b):b(void 0)}function Ap(a){return Promise.allSettled(a).then(function(b){return b.filter(function(c){return c.status==="fulfilled"}).map(function(c){return c.value})})}function Bp(){var a,b;return{promise:new Promise(function(c,d){a=c;b=d}),resolve:a,reject:b}};function Cp(a,b,c,d,e,f){var g=c.slice(),k;d==null||(k=d.Ps)==null||k.call(d,a,b,c,e);var m=Bp(),n=m.promise,p=m.resolve,q=[],r=function(){p(q);var u;d==null||(u=d.fp)==null||u.call(d,a,b,c,e,q)},t=function(){var u=g.shift();u?u.method.isSupported()?Dp(a,b,u.endpoint,d,q,u.method,e,f,t,r):t():r()};t();return n} function Dp(a,b,c,d,e,f,g,k,m,n){var p=c.U(a),q={service:b,endpoint:c,isPrimary:g,Ma:void 0,ph:f,qp:{}},r=!1,t=function(A,D){if(r)O(187);else if(r=!0,!u){var C=D||{},F=C.body,J=C.Za,M=C.ed;D=Object.freeze(ka(Object,"assign").call(Object,{},F?{body:F}:{},J?{Za:J}:{},M?{ed:M}:{}));if(F&&!f.D())w(),m();else{var H=Ep(A),P=p[0]==="/"?""+p+H:"https://"+p+H;q.Ma=P;q.qp=D;var K;d==null||(K=d.hp)==null||K.call(d,a,ka(Object,"assign").call(Object,{},q));var V={destinationId:a.target.destinationId,endpoint:c.endpoint,eventId:a.W.eventId,priorityId:a.W.priorityId};f.U===void 0||c.la!==2&&(c.la!==1||e.length)||Uf.register(V,f.U,P);var U=function(ba,oa){w();if(q.status!==void 0)return O(192),!1;q.status=ba;e.push(q);var Qa;d==null||(Qa=d.bk)==null||Qa.call(d,a,ka(Object,"assign").call(Object,{},q),oa);return!0},X={ik:V,Yb:function(){U(2)&&m()},onFailure:function(){U(3)&&m()},Fc:function(ba){U(ba.status===0?1:ba.ok?0:3,ba)&&n()},jd:function(){U(1)&&n()}};Fp(c,a,P,H,F);f.sendRequest(X,P,ka(Object,"assign").call(Object,{},F&&{body:F},J&&{Za:J},M&&{ed:M}))}}},u=!1,v,w=function(){v!==void 0&&(x.clearTimeout(v),v=void 0)};Ee(574)&&(v=x.setTimeout(function(){v=void 0;u=!0;if(q.status===void 0){q.status=4;q.Ma===void 0&&(q.Ma="[failed to build] "+p);e.push(q);var A;d==null||(A=d.bk)==null||A.call(d,a,ka(Object,"assign").call(Object,{},q),void 0);m()}},5E3));var y={Tj:p,method:f,Ts:e,isPrimary:g,wp:k};try{c.D(a,y,t)}catch(A){w(),O(188),m()}} function Fp(a,b,c,d,e){if(a.ka){var f=b.target.destinationId,g=a.endpoint;if(g===45||g===46||g===69||g===58||g===57){var k=/[?&]tids=([^&]+)/.exec(d);f=k?decodeURIComponent(k[1]).split("~"):[f]}Mj({targetId:f,request:ka(Object,"assign").call(Object,{},{url:c,parameterEncoding:a.parameterEncoding,endpoint:a.endpoint},e?{postBody:e}:{}),Kj:{eventId:b.W.eventId,priorityId:b.W.priorityId},no:{eventId:Q(b,I.H.Df),priorityId:Q(b,I.H.Ef)}})}} function Ep(a){return a&&a!=="?"?a[0]!=="?"?"?".concat(a):a:""};function Gp(a,b,c,d,e){var f;e==null||(f=e.Qs)==null||f.call(e,a,b);if(!c.length){var g;e==null||(g=e.jp)==null||g.call(e,a,b,[]);return Promise.resolve([])}var k=[],m={service:b,nh:c,jh:d};k.push(Cp(a,b,c,e,!0,m));var n=h(d),p=n.next(),q;try{for(;!p.done;p=n.next())k.push(Cp(a,b,p.value,e,!1,m))}finally{p&&!p.done&&(q=n.return)&&q.call(n)}return Ap(k).then(function(r){var t=[],u=h(r),v=u.next(),w;try{for(;!v.done;v=u.next())t.push.apply(t,l(v.value))}finally{v&&!v.done&&(w=u.return)&&w.call(u)}var y;e==null||(y=e.jp)==null||y.call(e,a,b,t);return t})};function Hp(a,b){var c=La.apply(2,arguments),d;b==null||(d=b.Rs)==null||d.call(b,a,c);var e=[],f=h(c),g=f.next(),k;try{for(;!g.done;g=f.next())e.push(Ip(a,g.value))}finally{g&&!g.done&&(k=f.return)&&k.call(f)}var m=[],n=h(e),p=n.next(),q;try{for(;!p.done;p=n.next()){var r=p.value;m.push(Gp(a,r.service,r.nh,r.jh,b))}}finally{p&&!p.done&&(q=n.return)&&q.call(n)}Ap(m).then(function(t){var u=[],v=h(t),w=v.next(),y;try{for(;!w.done;w=v.next())u.push.apply(u,l(w.value))}finally{w&&!w.done&&(y=v.return)&&y.call(v)}var A;b==null||(A=b.ep)==null||A.call(b,a,c,u)})}function Ip(a,b){var c=function(f){return f.method.isSupported()&&f.endpoint.isSupported(a)&&f.endpoint.J(a)},d=(b.D(a)||[]).filter(c),e=[];d.length&&(e=(b.J(a)||[]).map(function(f){return f.filter(c)}).filter(function(f){return f.length>0}));return{service:b,nh:d,jh:e}};function Op(a,b){b&&jb(b,function(c,d){typeof d!=="object"&&d!==void 0&&(a["1p."+c]=String(d))})};var Zp={ee:"value",Ka:"conversionCount",fe:1},$p={ee:"timeouts",Ka:"timeouts",fe:0},aq={ee:"eopCount",Ka:"endOfPageCount",fe:0},bq={ee:"errors",Ka:"errors",fe:0},cq=[Zp,$p,bq,aq];function dq(a,b){b=b===void 0?1:b;if(!eq(a))return{};var c=fq(cq),d=c[a.Ka];if(d===void 0||d===-1)return c;var e={},f=ka(Object,"assign").call(Object,{},c,(e[a.Ka]=d+b,e));return gq(f)?f:c} function fq(a){var b;a:{var c=Pm("gcl_ctr");if(c.error===0&&c.value&&typeof c.value==="object"){var d=c.value;try{b="value"in d&&typeof d.value==="object"?d.value:void 0;break a}catch(q){}}b=void 0}var e=b,f={},g=h(a),k=g.next(),m;try{for(;!k.done;k=g.next()){var n=k.value;if(e&&eq(n)){var p=e[n.ee];p===void 0||Number.isNaN(p)?f[n.Ka]=-1:f[n.Ka]=Number(p)}else f[n.Ka]=-1}}finally{k&&!k.done&&(m=g.return)&&m.call(g)}return f} function gq(a,b){b=b||{};var c=rb(),d=am(b,c,!0),e={},f=h(cq),g=f.next(),k;try{for(;!g.done;g=f.next()){var m=g.value,n=a[m.Ka];n!==void 0&&n!==-1&&(e[m.ee]=n)}}finally{g&&!g.done&&(k=f.return)&&k.call(f)}e.creationTimeMs=c;return Mm("gcl_ctr",{value:e,expires:Number(d.expires)})===0?!0:!1}function eq(a){return xh(["ad_storage","ad_user_data"])?!a.pp||$c(a.pp):!1}function hq(a){return xh(["ad_storage","ad_user_data"])?!a.Uo||$c(a.Uo):!1};function iq(){if(jq()){var a=Pm("last_convs");if(a.error===0&&a.value&&typeof a.value==="object"){var b=a.value;if(b.value&&Array.isArray(b.value)){var c=b.value;if(!(c.length>1)){var d=[],e=h(c),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value;if(typeof k!=="object"||k===null||typeof k.random!=="number"||typeof k.label!=="string"||k.label.length>200)return;d.push({random:k.random,label:k.label})}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}return d}}}}} function kq(a,b){if(!(!jq()||a.length>1||a.length===1&&a[0].label.length>200)){b=b||{};var c=am(b);Mm("last_convs",{value:a,expires:Number(c.expires)})}}function jq(){return xh(["ad_storage","ad_user_data"])&&$c(8)};function lq(a){var b=Math.round(Math.random()*2147483647);return[a?String(b^qd(a)&2147483647):String(b),Math.round(rb()/1E3)].join(".")}function mq(a,b,c){var d=nq,e=oq(),f=Yl(b),g;return(g=Nl(a,f,Zl(c),d,e))==null?void 0:g.so};var nq=["1"],pq={},qq={};function rq(a){return qq[sq(a)]} function tq(a,b){b=b===void 0?!0:b;var c=sq(a.prefix);if(pq[c])uq(a),vq(a);else if(wq(c,a.path,a.domain)){var d=rq(a.prefix)||{id:void 0,qb:void 0};b&&xq(a,d);uq(a);vq(a)}else{var e;a:{var f=sf(x.location.href),g=nf(f,"host",!1);if(g&&g.match(jf)){var k=nf(f,"path");if(k){var m=k.split("auiddc=");if(m.length>1){e=m[1].split(";")[0].split("?")[0];break a}}}e=void 0}var n=e;if(n)Za("TAGGING",17),pq[c]=n;else if(b){var p=sq(a.prefix),q=lq();yq(p,q,a);wq(c,a.path,a.domain);uq(a,!0);vq(a,!0)}}} function uq(a,b){(b===void 0?0:b)&&eq(Zp)&&Qm("gcl_ctr");if(hq(Zp)&&fq([Zp])[Zp.Ka]===-1){var c={},d=(c[Zp.Ka]=0,c),e=h(cq),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value;k!==Zp&&hq(k)&&(d[k.Ka]=0)}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}gq(d,a)}}function vq(a,b){(b===void 0?0:b)&&jq()&&Qm("last_convs");!xh(["ad_storage","ad_user_data"])||!$c(9)||iq()||kq([],a)} function xq(a,b){var c=sq(a.prefix),d=pq[c];if(d){var e=d.split(".");if(e.length===2){var f=Number(e[1])||0;if(f){var g=d;if($c(15)&&b.vf){var k=b.qb?b.qb:Math.floor(rb()/1E3),m=b.Kb?b.Kb:Math.floor(rb()/1E3);g=d+"."+(b.sessionId||"-.-")+"."+k+"."+b.vf+"."+m}else if(b.sessionId){var n=b.qb?b.qb:Math.floor(rb()/1E3);g=d+"."+b.sessionId+"."+n}yq(c,g,a,f*1E3)}}}}function yq(a,b,c,d){var e;e=["1",$l(c.domain,c.path),b].join(".");var f=am(c,d);f.Lb=oq();Vl(a,e,f)} function wq(a,b,c){var d=mq(a,b,c);if(!d)return!1;zq(a,d);return!0}function zq(a,b){var c=b.split(".");if(c.length===3)qq[a]={sessionId:c[0]+"."+c[1],qb:Number(c[2])||0,Kb:0};else if(c.length>=2&&(pq[a]=c[0]+"."+c[1],c.shift(),c.shift(),c.length>=3)){var d={sessionId:c[0]==="-"?void 0:c[0]+"."+c[1],qb:Number(c[2])||0,Kb:0};if($c(15)&&c.length>=6){var e=c[3]+"."+c[4],f=Number(c[5])||0;e&&f!==0&&(d.vf=e,d.Kb=f)}qq[a]=d}}function sq(a){return(a||"_gcl")+"_au"} function Aq(a){function b(){xh(c)&&a()}var c=oq();Dh(function(){b();xh(c)||Eh(b,c)},c)}function Bq(a){var b=ym(!0),c=sq(a.prefix);Aq(function(){var d=b[c];if(d){zq(c,d);var e=Number(pq[c].split(".")[1])*1E3;if(e){Za("TAGGING",16);var f=am(a,e);f.Lb=oq();var g=["1",$l(a.domain,a.path),d].join(".");Vl(c,g,f)}}})}function Cq(a,b,c,d,e){e=e||{};var f=function(){var g={},k=mq(a,e.path,e.domain);k&&(g[a]=k);return g};Aq(function(){Em(f,b,c,d)})}function oq(){return["ad_storage","ad_user_data"]};var Gq=void 0;function Hq(){if(!Gq){var a=gi(bi.aa.Mk,new Map);Gq=new rd(a)}return Gq};var Iq="email email_address sha256_email_address phone_number sha256_phone_number first_name last_name".split(" "),Jq="first_name sha256_first_name last_name sha256_last_name street sha256_street city region country postal_code".split(" ");function Kq(a,b){if(!b._tag_metadata){for(var c={},d=0,e=0;e0&&(b._tag_metadata=c)}} function Lq(a,b,c){var d=b[a];if(d===void 0||d===null)return!1;Array.isArray(d)?c[a]=d.map(function(){return{mode:"c"}}):c[a]={mode:"c"};return!0} function Mq(a,b,c){function d(f,g){g=String(g).substring(0,100);e.push(""+f+encodeURIComponent(g))}if(!c)return"";var e=[];d("i",String(a));d("f",b);c.mode&&d("m",c.mode);c.isPreHashed&&d("p","1");c.rawLength&&d("r",String(c.rawLength));c.normalizedLength&&d("n",String(c.normalizedLength));c.location&&d("l",c.location);c.selector&&d("s",c.selector);return e.join(".")};var Cr=Object.freeze({cache:"no-store",credentials:"include",method:"GET",keepalive:!0,redirect:"follow"});function Dr(a,b,c,d,e,f){if(bb(x.fetch)){var g=ka(Object,"assign").call(Object,{},Cr);b&&(g.body=b,g.method="POST");ka(Object,"assign").call(Object,g,d);x.fetch(a,g).then(function(k){if(k.ok){if(k.body){var m=k.body.getReader(),n=new TextDecoder;return new Promise(function(p){function q(){m.read().then(function(r){var t;t=r.done;var u=n.decode(r.value,{stream:!t});u=c.J+u;for(var v=u.indexOf("\n\n");v!==-1;){var w=Jd,y;a:{var A=h(u.substring(0,v).split("\n")),D=A.next().value,C=A.next().value;if(wb(D,"event: message")&&wb(C,"data: ")){var F=C.substring(6);try{y=JSON.parse(F);break a}catch(J){}}y=void 0}w(c,y);u=u.substring(v+2);v=u.indexOf("\n\n")}c.J=u;t?(e==null||e(k),p()):q()}).catch(function(){e==null||e(k);p()})}q()})}e==null||e(k)}else f==null||f(k,void 0)}).catch(function(k){f==null||f(void 0,k)})}else f==null||f(void 0,void 0)};var Er=function(a){Ck.call(this,"FetchRichResponse",1);this.M=a};ta(Er,Ck);Er.prototype.isSupported=function(){return bb(x.fetch)};Er.prototype.D=function(){return!0};Er.prototype.J=function(a,b,c){Dr(b,c==null?void 0:c.body,this.M,c==null?void 0:c.Za,a.Fc,function(d,e){a.onFailure(e)})};var Od=Object.freeze({attributionsrc:""}),Wr=Object.freeze({eventSourceEligible:!1,triggerEligible:!0});function Nd(){var a=XMLHttpRequest.prototype;return a&&bb(a.setAttributionReporting)};var hs=function(){Id.apply(this,arguments)};ta(hs,Id);hs.prototype.D=function(a,b){var c=b.attribution_reporting&&Nd()?{attributionReporting:Wr}:{},d=Ld(this,b);b.process_response?Dr(a,void 0,this,c,void 0,d):zc(a,void 0,c,void 0,d)};var ws=function(a,b){this.J=a;this.timeoutMs=b;this.D=void 0},xs=function(a){a.D||(a.D=setTimeout(function(){a.J();a.D=void 0},a.timeoutMs))},Cg=function(a){a.D&&(clearTimeout(a.D),a.D=void 0)};var zs=function(){var a=hd(66,0);this.J=[];this.U=a;this.D=Ra()},Bs=function(a){var b=As;b.J.push(a);b.M||(b.M=function(){var c=h(b.J),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;try{f()}catch(p){}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}var g=h(b.D.values()),k=g.next(),m;try{for(;!k.done;k=g.next()){var n=void 0;(n=k.value.Ic)==null||Cg(n)}}finally{k&&!k.done&&(m=g.return)&&m.call(g)}b.D.clear()},oc(x,"pagehide",b.M))},Cs=function(a){var b=a.match(vg)[3]||null,c=(b?decodeURI(b):b)||"",d=yg(a,"label")||"",e=yg(a,"random")||"";return c+":"+ug(d)+":"+ug(e)};zs.prototype.addRequest=function(a,b,c){var d=Cs(a);if(!(this.D.has(d)||this.D.size>=this.U)){var e={};b&&b>0&&c&&(e.Ic=new ws(c,b));this.D.set(d,e);var f;(f=e.Ic)==null||xs(f)}};var Dg=function(a,b){var c=Cs(b),d,e;(d=a.D.get(c))==null||(e=d.Ic)==null||Cg(e);a.D.delete(c)};zs.prototype.getSize=function(){return this.D.size};var Ps=function(){var a=5;Os.nk>0&&(a=Os.nk);this.D=a;this.count=0;this.J=[]},Qs=function(a){if(a.count=2022&&Xs(b))},Ts=function(a){var b=[["v","3"],["t","t"],["pid",String(a.la)]],c=wp();c&&b.push(["gtm",c]);return b},Zs;function at(a){bt();Ss(Zs,a)}function ct(){var a=dt;bt();Us(Zs,a)} function et(){var a;a=a===void 0?!1:a;bt();var b=a,c=Zs;b=b===void 0?!1:b;if(Qf.M&&Me(14)){var d=Ws(c,!0,!0);b?Eg({destinationId:E(5),endpoint:56,eventId:c.D},d):Fg({destinationId:E(5),endpoint:56,eventId:c.D},d)}}function bt(){Zs||(Zs=new Vs)};Object.keys({read_event_data:"e",read_container_data:"c",configure_google_tags:"t"});var ft=xa(["/"]),gt=function(a){this.D=a;this.failureType=void 0};gt.prototype.Rj=function(a,b,c){try{var d=this.D.active;d?(d.postMessage({type:1,command:a}),b({data:""})):c({failureType:13,data:""})}catch(e){c({failureType:11,data:e.message})}};var ht=function(a,b){this.failureType=a;this.D=b};ht.prototype.Rj=function(a,b,c){c({failureType:this.failureType,data:"f"+this.failureType+("t"+((new Date).getTime()-this.D))})};var kt=function(a){var b=this;this.initTime=(new Date).getTime();this.D=new ht(15,this.initTime);var c=new Promise(function(e){x.setTimeout(function(){e()},20)}),d=it(a).then(function(e){b.D=new gt(e);jt(b,e)}).catch(function(){b.D=new ht(4,b.initTime)});this.J=Promise.race([c,d])},jt=function(a,b){var c=function(d){d&&d.addEventListener("statechange",function(){if(d.state==="redundant"){var e=b.active;e&&e.state!=="redundant"||(a.D=new ht(10,a.initTime))}})};c(b.active);c(b.waiting);c(b.installing);b.addEventListener("updatefound",function(){c(b.installing)})};kt.prototype.delegate=function(a,b,c){var d=this;this.J.then(function(){d.D.Rj(a,b,c)})};kt.prototype.getState=function(){return 2};var it=function(a){var b,c=fd(11);c=fd(10);b=c;var d={scope:(xb(a.href,"/")?a.href.slice(0,-1):a.href)+"/_/service_worker"};b&&(d.updateViaCache="all");var e,f=lt(a,b),g=new Map([["path",a.pathname]]),k=rl(Lb(f).toString());e=tl(k.th,k.params,k.fragment,g);var m=Xb(),n=Lb(e);try{return m.register(n,d)}catch(p){try{return m.register(n.toString(),d)}catch(q){return Promise.reject(q)}}};function lt(a,b){var c=sl(ft),d=a.pathname.split("/").filter(function(m){return m.length>0}),e=[].concat(l(d),["_","service_worker",b,"sw.js"]),f=h(e),g=f.next(),k;try{for(;!g.done;g=f.next())c=ul(c,g.value)}finally{g&&!g.done&&(k=f.return)&&k.call(f)}return c};function mt(a){var b=fi(bi.aa.xj),c=b==null?void 0:b[a];c||a!=="lite"||(c=b==null?void 0:b.full);return c}var nt=function(a,b,c){var d=mt("full");d?d.delegate(a,b,c):c({failureType:16})};function ot(a,b,c,d,e){nt({commandType:0,params:{url:a,method:1,templates:b,body:"",processResponse:!1,encryptionKeyString:e,soReferrer:x.location.href}},c,function(f){d(f.failureType,f.data)})};var Bt={R:{hn:0,xh:1,ne:2,Nh:3,Gf:4,Lh:5,Mh:6,Oh:7,Hf:8,bj:9,aj:10,ng:11,cj:12,We:13,zm:14,zg:15,Ym:16,Bc:17,Ig:18,Jg:19,Kg:20,Bj:21,Lg:22}};Bt.R[Bt.R.hn]="RESERVED_ZERO";Bt.R[Bt.R.xh]="ADS_CONVERSION_HIT";Bt.R[Bt.R.ne]="CONTAINER_EXECUTE_START";Bt.R[Bt.R.Nh]="CONTAINER_SETUP_END";Bt.R[Bt.R.Gf]="CONTAINER_SETUP_START";Bt.R[Bt.R.Lh]="CONTAINER_BLOCKING_END";Bt.R[Bt.R.Mh]="CONTAINER_EXECUTE_END";Bt.R[Bt.R.Oh]="CONTAINER_YIELD_END";Bt.R[Bt.R.Hf]="CONTAINER_YIELD_START";Bt.R[Bt.R.bj]="EVENT_EXECUTE_END";Bt.R[Bt.R.aj]="EVENT_EVALUATION_END";Bt.R[Bt.R.ng]="EVENT_EVALUATION_START";Bt.R[Bt.R.cj]="EVENT_SETUP_END";Bt.R[Bt.R.We]="EVENT_SETUP_START";Bt.R[Bt.R.zm]="GA4_CONVERSION_HIT";Bt.R[Bt.R.zg]="PAGE_LOAD";Bt.R[Bt.R.Ym]="PAGEVIEW";Bt.R[Bt.R.Bc]="SNIPPET_LOAD";Bt.R[Bt.R.Ig]="TAG_CALLBACK_ERROR";Bt.R[Bt.R.Jg]="TAG_CALLBACK_FAILURE";Bt.R[Bt.R.Kg]="TAG_CALLBACK_SUCCESS";Bt.R[Bt.R.Bj]="TAG_EXECUTE_END";Bt.R[Bt.R.Lg]="TAG_EXECUTE_START";var Ct={};Ct.R=Bt.R;var Dt={es:"L",mn:"S",Cs:"Y",Kp:"B",Rq:"E",Fr:"I",ys:"TC",jr:"HTC",Sq:"F",Er:"C"},Et={mn:"S",Pq:"V",Up:"E",xs:"tag"},Ft={},Gt=(Ft[Ct.R.Jg]="6",Ft[Ct.R.Kg]="5",Ft[Ct.R.Ig]="7",Ft);function Ht(a){var b=E(5),c=Number(a.eventId),d=Number(a.tagId);return(wb(b,"GTM-")?b:"GTM-"+b)+":"+(db(c)?c+":":"")+(db(d)?d+":":"")+a.stage};function It(){var a=Cc();return!!(a&&a.mark instanceof Function&&a.measure instanceof Function&&a.clearMeasures instanceof Function&&a.clearMarks instanceof Function)};var Jt=function(){this.D={}};Jt.prototype.mark=function(a,b){if(It()){var c=Ht(a),d,e;if(d=(e=Cc())==null?void 0:e.mark(c,b))return this.D[c]=d}};var Kt;function Lt(){Kt||(Kt=new Jt);return Kt}function Mt(a){var b=Lt(),c=Ht(a);return b.D[c]}function Nt(a,b){return Lt().mark(a,b)};function Ot(a,b){if(It()){a.entry=Ht(a);var c=ka(Object,"assign").call(Object,{},a);c.stage=b;delete c.sent;var d=Mt(b===Ct.R.Bc?{stage:Ct.R.Bc}:c),e=Mt(a);if(d&&e&&!(d.startTime>e.startTime)){c.stage=b+":"+a.stage;var f=Ht(c),g={start:d.name,end:e.name},k,m;return(m=(k=Cc())==null?void 0:k.measure(f,g))==null?void 0:m.duration}}};function Pt(){function a(c,d){var e=$a(Ya[d]||[]);e&&b.push([c,e])}var b=[];a("u","GTM");a("ut","TAGGING");a("h","HEALTH");return b};var Qt="https://"+E(21),Rt=function(){this.M=!1;this.U=[];this.Z=[];this.D={TC:0,HTC:0};this.J={}},St=function(a,b,c,d){a.J[b]||(a.J[b]={});a.J[b][c]=d},Vt=function(a){var b="",c="",d=Tt();db(d)&&(a.D.I=Math.floor(d));c=Ut(a.D,Dt).toString();var e=h(Object.keys(a.J)),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value,m=a.J[k].name,n="",p=Ut(a.J[k],Et);p&&(n=m+"."+p.toString(),b+="~"+n)}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}var q="~AWCT"+a.U.join("."),r="~GA"+a.Z.join("."),t="&ccid="+Wg().toString()+"&cid="+E(5).toString()+"&l="+c+b+(a.U.length?q:"")+(a.Z.length?r:"");if(Ee(214)){var u,v=(u=Cc())==null?void 0:u.getEntriesByName(Zb).map(function(w){return String(w.duration)}).join(".");v&&(t+="~SS"+v)}return t},Wt=function(a,b){if(!b.stage||a.M||!It()||Mt(b))return!1;var c,d=(c=Cc())==null?void 0:c.timeOrigin;if(!db(d))a.M=!0;else if(db(Me(11))&&!Mt({stage:Ct.R.Bc})&&!a.M&&It())try{var e=Number(Me(11));Nt({stage:Ct.R.Bc},{startTime:Math.max(e-d,0)});Nt({stage:Ct.R.zg},{startTime:0});var f=Ot({stage:Ct.R.Bc},Ct.R.zg);f&&(a.D.L=Math.floor(f))}catch(g){a.M=!0}if(a.M)return!1;try{if(!Nt(b))return!1}catch(g){return a.M=!0,!1}return!0},Xt=function(a,b,c){if(Wt(a,b))try{var d=Ot(b,c);if(d)return Math.floor(d)}catch(e){a.M=!0}},Zt=function(){var a=Yt();Wt(a,{stage:Ct.R.Gf})},$t=function(){var a=Yt(),b=Xt(a,{stage:Ct.R.Nh},Ct.R.Gf);b!==void 0&&(a.D.S=b)},au=function(){var a=Yt();Wt(a,{stage:Ct.R.Hf})},bu=function(a,b){var c=Yt();Wt(c,{stage:Ct.R.We,eventId:a});c.J[a]&&c.J[a].name||St(c,a,"name",wb(b,"gtm.")?b:"*")},cu=function(a){var b=Yt(),c=Xt(b,{stage:Ct.R.cj,eventId:a},Ct.R.We);c!==void 0&&St(b,a,"S",c)},eu=function(a,b){var c=Yt(),d=Xt(c,{stage:Ct.R.bj,eventId:a},Ct.R.We);d!==void 0&&St(c,a,"E",d);if(b==="gtm.load"){var e=Xt(c,{stage:Ct.R.Mh},Ct.R.ne);e!==void 0&&(c.D.E=e);Jh(Mh(oh.da.nb),function(){if(!c.M&&It()&&E(5)){var f=du();f!==void 0&&(c.D.F=Math.floor(f));try{var g=Pt({eventId:0,pd:!1}),k=[],m=h(g),n=m.next(),p;try{for(;!n.done;n=m.next()){var q=h(n.value),r=q.next().value,t=q.next().value;k.push("&"+r+"="+t)}}finally{n&&!n.done&&(p=m.return)&&p.call(m)}var u=kl(),v=[[Df(Qt),"/a?v=3&t=l","&pid="+gb().toString(),"&rv="+E(14),u?"&tag_exp="+u:"",k.join("")].join(""),">m=",wp(),Vt(c)].join("");if(v.length>2022){var w=Math.max(v.lastIndexOf(".TS",2022),v.lastIndexOf("~",2022));v=v.slice(0,w)}Fg({destinationId:E(5),endpoint:56},v)}catch(y){}}})}},fu;function Yt(){fu||(fu=new Rt);return fu} function Tt(){try{var a;return((a=Cc())==null?void 0:a.getEntriesByType("navigation")[0]).domInteractive}catch(b){}}function Ut(a,b){return Object.keys(b).map(function(c){return b[c]}).filter(function(c){return a[c]!==void 0}).map(function(c){return(""+(c==="tag"?"":c)).concat(a[c].toString())}).join(".")}function gu(a){var b=Yt(),c=Xt(b,{stage:Ct.R.xh,eventId:a},Ct.R.Bc);c!==void 0&&b.U.push(c)}function hu(a){var b=Yt();Wt(b,{stage:Ct.R.ng,eventId:a})} function iu(a){var b=Yt(),c=Xt(b,{stage:Ct.R.aj,eventId:a},Ct.R.ng);c!==void 0&&St(b,a,"V",c)}function du(){try{var a,b;return(b=(a=Cc())==null?void 0:a.getEntriesByType("paint").find(function(c){return c.name==="first-contentful-paint"}))==null?void 0:b.startTime}catch(c){}}function ju(a,b){var c=Yt();Wt(c,{stage:Ct.R.Lg,eventId:a.id,tagId:Number(b[B.Wd])})} function ku(a,b,c){var d=Yt(),e=Of(b),f=Number(b[B.Wd]),g=Xt(d,{stage:c,eventId:a.id,tagId:f},Ct.R.Lg);if(g!==void 0&&d.J[a.id]){var k=d.J[a.id].tag||"",m,n=(m=Gt[c])!=null?m:"1",p=new RegExp("TS\\d"+e+".TI"+f),q="TS"+n+e+".TI"+f+".TE"+g;k.search(p)>=0?n!=="1"&&St(d,a.id,"tag",k.replace(p,q.replace(".TE"+g,""))):(St(d,a.id,"tag",(k?k+".":"")+q),e==="html"&&(d.D.HTC+=1),d.D.TC+=1)}};var pu={yg:{Bk:"1",jm:"2",dn:"3"}};var uu,vu;function wu(a,b){var c=a[B.Cb],d=b&&b.event;if(!c)throw Error("Error: No function name given for function call.");var e=vu[c],f={},g;for(g in a)a.hasOwnProperty(g)&&(wb(g,"vtp_")?f[e!==void 0?g:g.substring(4)]=a[g]:g===B.pg.toString()&&(f[e!==void 0?"vtp_gtmGeneratedTaggingMetadata":g]=a[g]));cd(61)&&e&&(f.vtp_extraExperimentIds=!0);e&&d&&d.cachedModelValues&&(f.vtp_gtmCachedValues=d.cachedModelValues);b&&e&&(f.vtp_gtmEntityIndex=b.index,f.vtp_gtmEntityName=b.name);return e!==void 0?e(f):uu(c,b)} var yu=function(){var a=xu;if(Ee(585)&&Qf.J){var b=E(5).indexOf("GTM-")===0,c=E(5).indexOf("OPT-")===0,d=b&&cd(62),e,f=((e=fh())==null?void 0:e.source)===1;d&&!f||a.D||c||(a.D=!0,Ue("abl","1"),Uh())}},xu=new function(){this.D=!1};var zu=function(a,b,c,d){this.D=a;this.index=b;this.tags=c;this.macros=d;this.name=String(this.D[B.Xe]||"")};zu.prototype.evaluate=function(a,b){if(!b[this.index]&&!a.isBlocked(this.D)){b[this.index]=!0;this.D[B.we.toString()]&&yu();var c=this.name,d;try{var e={},f;for(f in this.D)this.D.hasOwnProperty(f)&&(e[f]=vj(this.D[f],a,this.tags,this.macros,b));e.vtp_gtmEventId=a.id;a.priorityId&&(e.vtp_gtmPriorityId=a.priorityId);var g=d=wu(e,{event:a,index:this.index,type:2,name:c});e[B.pe]&&typeof g==="string"&&(g=e[B.pe]===1?g.toLowerCase():g.toUpperCase());e.hasOwnProperty(B.sd)&&(g=e[B.sd]===1?md(g,"PERIOD"):e[B.sd]===2?md(g,"COMMA"):md(g,"AUTOMATIC"));e.hasOwnProperty(B.se)&&g===null&&(g=e[B.se]);e.hasOwnProperty(B.ue)&&g===void 0&&(g=e[B.ue]);e.hasOwnProperty(B.If)&&(g=mb(g));e.hasOwnProperty(B.te)&&g===!0&&(g=e[B.te]);e.hasOwnProperty(B.qe)&&g===!1&&(g=e[B.qe]);d=g}catch(k){a.logMacroError&&a.logMacroError(k,Number(this.index),c),d=!1}b[this.index]=!1;return d}};zu.prototype.de=function(){return ka(Object,"assign").call(Object,{},this.D)};var Au=function(a,b,c){this.D=a;this.tags=b;this.macros=c};Au.prototype.evaluate=function(a,b){try{var c={},d=h(Object.keys(this.D)),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value;c[g]=g==="function"?this.D[g]:vj(this.D[g],a,this.tags,this.macros,b)}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}return tj(c)}catch(k){JSON.stringify(this.D)}return 2};Au.prototype.de=function(){return ka(Object,"assign").call(Object,{},this.D)};var Bu=function(a,b){this.index=b;this.M=[];this.U=[];this.J=[];this.D=[];this.name="";var c=h(a),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=h(d.value),g=f.next().value,k=va(f),m=g,n=k;m==="if"?this.M=n:m==="unless"?this.U=n:m==="add"?this.J=n:m==="block"?this.D=n:m==="ruleName"&&(this.name=n[0])}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}};Bu.prototype.evaluate=function(a,b){var c=Cu(this,b),d=[],e=[];c?(d.push.apply(d,l(this.J)),e.push.apply(e,l(this.D))):c===null&&e.push.apply(e,l(this.D));return{firingTags:d,blockingTags:e}};var Cu=function(a,b){var c=h(a.M),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=b(d.value);if(f===0)return!1;if(f===2)return null}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}var g=h(a.U),k=g.next(),m;try{for(;!k.done;k=g.next()){var n=b(k.value);if(n===2)return null;if(n===1)return!1}}finally{k&&!k.done&&(m=g.return)&&m.call(g)}return!0};Bu.prototype.getName=function(){return this.name};var Du=function(a,b,c,d){this.qa=a;this.index=b;this.tags=c;this.macros=d;this.K=String(this.qa[B.Cb]);this.name=String(this.qa[B.Xe]||"");this.tagId=Number(this.qa[B.Wd])};Du.prototype.evaluate=function(a,b,c){c=c===void 0?{}:c;var d,e=c;e=e===void 0?{}:e;var f={},g;for(g in this.qa)this.qa.hasOwnProperty(g)&&(f[g]=vj(this.qa[g],a,this.tags,this.macros,[]));d=ka(Object,"assign").call(Object,{},f,e);d.vtp_gtmTagId=this.tagId;this.qa[B.we.toString()]&&yu();wu(d,{event:a,index:this.index,type:1,name:this.name})};Du.prototype.de=function(){return ka(Object,"assign").call(Object,{},this.qa)};var Eu=function(a,b){if(a.qa[B.hf])return vj(a.qa[B.hf],b,a.tags,a.macros,[])},Fu=function(a,b){if(a.qa[B.jf])return vj(a.qa[B.jf],b,a.tags,a.macros,[])},Gu=function(a,b){var c=a.qa[B.Cf];if(c)return vj(c,b,a.tags,a.macros,[])};Du.prototype.getMetadata=function(a){return vj(this.qa[B.METADATA],a,this.tags,this.macros,[])};Du.prototype.getName=function(){return this.name};var Hu=function(){this.macros=[];this.rules=[];this.predicates=[];this.tags=[];this.rh=[]};Hu.prototype.getRules=function(){return this.rules};var Iu=new Hu;function Ju(a){return Gh.D[oh.da.nb]!==nh.Ba.cf&&Gh.J[oh.da.nb].isConsentGranted()&&!cd(66)&&Ug().includes(a)?jl(612):!1}function Ku(a,b){gi(bi.aa.Ud,{})[a]=b;ji(bi.aa.Ud)}function Lu(){var a=E(5);Ku(a,2)}function Mu(a){var b;return(b=fi(bi.aa.Ud))==null?void 0:b[a]}function Nu(a,b){var c=Mu(a);if(c===2)b();else{c!==1&&Ku(a,1);var d;d=hi(bi.aa.Ud,function(e,f){(f==null?void 0:f[a])===2&&(d!==void 0&&ii(bi.aa.Ud,d),b())})}};function Ou(a,b,c,d){var e=lc(),f;if(e===1)a:{var g=E(3);g=g.toLowerCase();for(var k="https://"+g,m="http://"+g,n=1,p=z.getElementsByTagName("script"),q=0;q0&&g.push(["bcs",c.join(".")]);e.length>0&&g.push(["bet",e.join(".")]);return g})},Qu;function Ru(){Qu||(Qu=new Pu)};function Su(a,b,c,d){if(!eh(a)){d.loadExperiments=Ye();hh(a,d);var e=Tu(a),f=function(){Pg().container[a]&&(Pg().container[a].state=3);Uu()},g={destinationId:a,endpoint:0};if(vf()){var k=wf(),m=k+"/"+Vu(e,a);Hg(g,m,void 0,function(){Wu(a,m,k+"/"+e,g,f)})}else{var n=wb(a,"GTM-"),p=Af(),q=c?"/gtag/js":"/gtm.js",r=Xu(b,q+e,a);if(!r){var t=E(3)+q;p&&Zb&&n&&(t=Zb.replace(/^(?:https?:\/\/)?/i,"").split(/[?#]/)[0]);r=Ou("https://","http://",t+e)}Hg(g,r,void 0,f)}}} function Uu(){kh()||jb(lh(),function(a,b){Yu(a,b.transportUrl,b.context);O(92)})}function Yu(a,b,c,d,e){if((e=e===void 0?!1:e)||!gh(a))if(c.loadExperiments||(c.loadExperiments=Ye()),!e&&kh())jh(a,b,c,d);else{e||ih(a,c,d);var f={destinationId:a,endpoint:0};if(vf()){var g=wf(),k="gtd"+Tu(a,{isDestination:!0,Vj:e}),m=g+"/"+Vu(k,a);Hg(f,m,void 0,function(){Wu(a,m,g+"/"+k,f)})}else{var n="/gtag/destination"+Tu(a,{isDestination:!0,Vj:e}),p=Xu(b,n,a);p||(p=Ou("https://","http://",E(3)+n));Hg(f,p)}}} function Wu(a,b,c,d,e){Ru();var f=Qu;if(Qf.M){var g=x.performance,k=-1;if(g&&g.getEntriesByType){var m=sf(b).href,n=g.getEntriesByName(m).pop();if(!n)for(var p=g.getEntriesByType("resource"),q=0;q=0&&O(2);var d=c&&vb(nb(c),hv),e={};return function(f){var g=f&&f[B.Cb];if(!g||typeof g!=="string")return!0;g=g.replace(/^_*/,"");if(e[g]!==void 0)return e[g];var k=Ne(21,function(){return{}})[g]||[],m=!0;a&&(m=m&&lv(g,k,b));var n=!1;c&&(n=mv(g,k,d));var p=!m||n;!p&&(k.indexOf("sandboxedScripts")===-1||b&&b.indexOf("sandboxedScripts")!==-1?0:hb(d,iv))&&(p=!0);return e[g]=p}}function lv(a,b,c){if(c.indexOf(a)<0)if(b&&b.length>0)for(var d=0;d=0;if(d)return d;var e=hb(c,b||[]);e&&O(10);return e}function kv(){return fv.test(x.location&&x.location.hostname)};function nv(a){var b=[],c=[],d=ov(a),e=h(Iu.getRules()),f=e.next(),g;try{for(;!f.done;f=e.next()){for(var k=f.value.evaluate(a,d),m=k.firingTags,n=k.blockingTags,p=0;p=0)&&c.push(e.listener)});return c};function sv(a,b,c){return{entityType:a,indexInOriginContainer:b,nameInOriginContainer:c,originContainerId:E(5),originCId:Wg()}};function tv(a,b){if(data.entities){var c=data.entities[a];if(c)return c[b]}};var vv=function(a,b){this.D=!1;this.U=[];this.eventData={tags:[]};this.Z=!1;this.J=this.M=0;uv(this,a,b)},wv=function(a,b,c,d){if(df.hasOwnProperty(b)||b==="__zone")return-1;var e={};Hc(d)&&(e=Ic(d,e));e.id=c;e.status="timeout";return a.eventData.tags.push(e)-1},xv=function(a,b,c,d){var e=a.eventData.tags[b];e&&(e.status=c,e.executionTime=d)},yv=function(a){if(!a.D){for(var b=a.U,c=0;c=a.M&&yv(a)})},Bv=function(a){a.Z=!0;a.J>=a.M&&yv(a)};function Cv(){return x[Dv()]} function Dv(){return x.GoogleAnalyticsObject||"ga"}var Gv=new function(){this.D={}};function Hv(){a:{var a=E(5)}} function Iv(a,b){return function(){var c=Cv(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),k=f.get("hitCallback"),m=g.indexOf("&tid="+b)<0;m&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f);m&&(f.set("hitPayload",g,!0),f.set("hitCallback",k,!0),f.set("_x_19",void 0,!0),e(f))})}}};var Lv=["es","1"],Mv=function(){var a=this;this.eventData={};this.D={};at(function(b){var c;var d=b.eventId,e=b.pd;if(a.eventData[d]){var f=[];a.D[d]||f.push(Lv);f.push.apply(f,l(a.eventData[d]));e&&(a.D[d]=!0);c=f}else c=[];return c})},Nv;function Ov(a,b){var c;if((c=Nv)!=null&&Qf.M){var d=c.eventData,e;e=b.match(/^(gtm|gtag)\./)?encodeURIComponent(b):"*";d[a]=[["e",e],["eid",String(a)]];bt();$s(a)}};var Pv=function(){var a=this;this.D={};this.J={};at(function(b){var c=b.eventId,d=b.pd,e=[],f=a.D[c]||[];f.length&&e.push(["tr",f.join(".")]);var g=a.J[c]||[];g.length&&e.push(["ti",g.join(".")]);d&&(delete a.D[c],delete a.J[c]);return e})},Qv;function Rv(a,b,c){Qv||(Qv=new Pv);var d=Qv;if(Qf.M&&b){var e=Of(b),f=c+e;d.D[a]=d.D[a]||[];d.D[a].push(f);var g=b[B.Cb];if(!g)throw Error("Error: No function name given for function call.");var k=(vu[g]?"1":"2")+e;d.J[a]=d.J[a]||[];d.J[a].push(k);bt();$s(a)}};function Sv(a){var b=Wg(),c;c=c===void 0?!1:c;Tv().addRestriction(0,b,a,c)}function Uv(){var a=Wg();return Tv().getRestrictions(0,a)}function Vv(a){var b=Wg(),c;c=c===void 0?!1:c;Tv().addRestriction(1,b,a,c)}function Wv(){var a=Wg();return Tv().getRestrictions(1,a)}var Xv=function(){this.container={};this.D={}},Yv=function(a,b){var c=a.container[b];c||(c={_entity:{internal:[],external:[]},_event:{internal:[],external:[]}},a.container[b]=c);return c};Xv.prototype.addRestriction=function(a,b,c,d){d=d===void 0?!1:d;if(!d||!this.D[b]){var e=Yv(this,b);a===0?d?e._entity.external.push(c):e._entity.internal.push(c):a===1&&(d?e._event.external.push(c):e._event.internal.push(c))}};Xv.prototype.getRestrictions=function(a,b){var c=Yv(this,b);if(a===0){var d,e;return[].concat(l((c==null?void 0:(d=c._entity)==null?void 0:d.internal)||[]),l((c==null?void 0:(e=c._entity)==null?void 0:e.external)||[]))}if(a===1){var f,g;return[].concat(l((c==null?void 0:(f=c._event)==null?void 0:f.internal)||[]),l((c==null?void 0:(g=c._event)==null?void 0:g.external)||[]))}return[]};Xv.prototype.getExternalRestrictions=function(a,b){var c=Yv(this,b),d,e;return a===0?(c==null?void 0:(d=c._entity)==null?void 0:d.external)||[]:(c==null?void 0:(e=c._event)==null?void 0:e.external)||[]};Xv.prototype.removeExternalRestrictions=function(a){var b=Yv(this,a);b._event&&(b._event.external=[]);b._entity&&(b._entity.external=[]);this.D[a]=!0};function Tv(){return dj("r",function(){return new Xv})};function Zv(a,b,c,d){var e=Iu.tags[a],f=$v(a,b,c,d);if(!f)return null;var g=Eu(e,c);if(g&&g.length){var k=g[0];f=Zv(k.index,{onSuccess:f,onFailure:k.Mj===1?b.terminate:f,terminate:b.terminate},c,d)}return f} function $v(a,b,c,d){function e(){function y(){ai(3);var H=rb()-M;sv(1,a,f.getName());Rv(c.id,g,"7");xv(c.Cc,C,"exception",H);Qf.D&&ku(c,g,Ct.R.Ig);F||(F=!0,m())}if(f.qa[B.vg])m();else{var A=Gu(f,c);if(A!=null)for(var D=0;D0};function hw(a,b){if(!qv)return!1;var c=a["gtm.triggers"]&&String(a["gtm.triggers"]),d=rv(a.event,c?String(c).split(","):[]);if(!d.length)return!1;for(var e=0;ee?1:dk?1:g0?2:1,g,k,m=(c==null?void 0:(k=c.originatingEntity)==null?void 0:k.originContainerId)||"";g=m?wb(m,"GTM-")?3:2:1;if(!a)d.D={type:f,source:g,params:b};else if(d.D){O(184);var n=!1;d.D.source===g||d.D.source!==3&&g!==3||(Ue("idcs","1"),n=!0);d.D.type!==2&&f!==2||O(186);var p;if(p=d.D.type===2&&f===2)a:{var q=d.D.params,r=Object.keys(q),t=Object.keys(b);if(r.length!==t.length)p=!0;else{var u=h(r),v=u.next(),w;try{for(;!v.done;v=u.next()){var y=v.value;if(!b.hasOwnProperty(y)||q[y]!==b[y]){p=!0;break a}}}finally{v&&!v.done&&(w=u.return)&&w.call(u)}p=!1}}p&&(Ue("idcc","1"),n=!0);n&&(Uh(),d.D.Ao=!0)}}},Ew=new function(){this.D=void 0};var Hw=function(a){var b=Gw;(!Qf.J||wb(E(5),"GTM-")?0:a===void 0)&&b.D===0&&(Ue("mcc","1"),b.D=1)},Gw=new function(){var a=this;this.D=0;Ue("ncc",function(){if(cd(45)&&a.D!==2)return"1"})};var W={V:{Ch:1,Eg:2,yh:3,Rh:4,zh:5,Zb:6,Qh:7,Tm:8,vj:9,Ah:10,Bh:11,fj:12,tm:13,om:14,sm:15,lm:16,qm:17,km:18,pk:19,wm:20,xm:21,Vm:22,Ih:26,Jh:27,Hh:28,Kh:29,qn:30,Fh:31,wk:32}};W.V[W.V.Ch]="ALLOW_INTEREST_GROUPS";W.V[W.V.Eg]="SERVER_CONTAINER_URL";W.V[W.V.yh]="ADS_DATA_REDACTION";W.V[W.V.Rh]="CUSTOMER_LIFETIME_VALUE";W.V[W.V.zh]="ALLOW_CUSTOM_SCRIPTS";W.V[W.V.Zb]="ANY_COOKIE_PARAMS";W.V[W.V.Qh]="COOKIE_EXPIRES";W.V[W.V.Tm]="LEGACY_ENHANCED_CONVERSION_JS_VARIABLE";W.V[W.V.vj]="RESTRICTED_DATA_PROCESSING";W.V[W.V.Ah]="ALLOW_DISPLAY_FEATURES";W.V[W.V.Bh]="ALLOW_GOOGLE_SIGNALS";W.V[W.V.fj]="GENERATED_TRANSACTION_ID";W.V[W.V.tm]="FLOODLIGHT_COUNTING_METHOD_UNKNOWN";W.V[W.V.om]="FLOODLIGHT_COUNTING_METHOD_STANDARD";W.V[W.V.sm]="FLOODLIGHT_COUNTING_METHOD_UNIQUE";W.V[W.V.lm]="FLOODLIGHT_COUNTING_METHOD_PER_SESSION";W.V[W.V.qm]="FLOODLIGHT_COUNTING_METHOD_TRANSACTIONS";W.V[W.V.km]="FLOODLIGHT_COUNTING_METHOD_ITEMS_SOLD";W.V[W.V.pk]="ADS_OGT_V1_USAGE";W.V[W.V.wm]="FORM_INTERACTION_PERMISSION_DENIED";W.V[W.V.xm]="FORM_SUBMIT_PERMISSION_DENIED";W.V[W.V.Vm]="MICROTASK_NOT_SUPPORTED";W.V[W.V.Ih]="CONFIG_DETECTED_WITH_NO_PARAM";W.V[W.V.Jh]="CONFIG_DETECTED_WITH_PARAM";W.V[W.V.Hh]="CONFIG_CONSENT_SET_BEFORE";W.V[W.V.Kh]="CONFIG_SET_USED_BEFORE";W.V[W.V.qn]="SHADOW_DOM_AUTO_PII";W.V[W.V.Fh]="CCD_USER_DATA_WEB_ON_CONFIG";W.V[W.V.wk]="BLENDED_USER_DATA";var Iw={},Jw=(Iw[G.A.hi]=W.V.Ch,Iw[G.A.rc]=W.V.Eg,Iw[G.A.Ub]=W.V.Eg,Iw[G.A.cb]=W.V.yh,Iw[G.A.Tc]=W.V.Rh,Iw[G.A.gi]=W.V.zh,Iw[G.A.Sc]=W.V.Zb,Iw[G.A.Ua]=W.V.Zb,Iw[G.A.xb]=W.V.Zb,Iw[G.A.Rc]=W.V.Zb,Iw[G.A.Rb]=W.V.Zb,Iw[G.A.Qb]=W.V.Zb,Iw[G.A.jb]=W.V.Qh,Iw[G.A.lb]=W.V.vj,Iw[G.A.De]=W.V.Ah,Iw[G.A.yd]=W.V.Bh,Iw);var Lw=function(a,b){var c=Kw;b=b===void 0?!1:b;Za("GTAG_EVENT_FEATURE_CHANNEL",a);b&&(c.D[a]=!0)},Kw=new function(){this.D=[]};function Mw(a,b){var c=b===void 0?!1:b;c=c===void 0?!1:c;var d=Object.keys(a),e=h(Object.keys(Jw)),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value;d.includes(k)&&Lw(Jw[k],c)}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}};function Nw(){return Ee(550)&&jl(613)};var Ow=/^(?:AW|DC|G|GF|GT|HA|MC|UA)$/,Pw=/\s/;function Qw(a,b){if(cb(a)){a=ob(a);var c=a.indexOf("-");if(!(c<0)){var d=a.substring(0,c);if(Ow.test(d)){var e=a.substring(c+1),f;if(b){var g=function(n){var p=n.indexOf("/");return p<0?[n]:[n.substring(0,p),n.substring(p+1)]};f=g(e);if(d==="DC"&&f.length===2){var k=g(f[1]);k.length===2&&(f[1]=k[0],f.push(k[1]))}}else{f=e.split("/");for(var m=0;m0&&(Se(Qe,"tdc",!0),a.J=x.setTimeout(function(){Uh();a.D={};a.J=void 0},a.U))}};Xw.prototype.bind=function(){var a=this;Ue("tdc",function(){a.J&&(x.clearTimeout(a.J),a.J=void 0);var b=[],c;for(c in a.D)a.D.hasOwnProperty(c)&&b.push(c+"*"+a.D[c].join("."));return b.length?b.join("!"):void 0},!1)};var Zw=function(a,b){var c={},d;for(d in b)b.hasOwnProperty(d)&&(c[d]=!0);for(var e in a)a.hasOwnProperty(e)&&(c[e]=!0);return c},$w=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?"":e;if(b===c)return[];var f=function(t,u){var v;Fc(u)==="object"?v=u[t]:Fc(u)==="array"&&(v=u[t]);return v===void 0?Ww[t]:v},g=Zw(b,c),k;for(k in g)if(g.hasOwnProperty(k)&&k!==G.A.mb){var m=(e?e+".":"")+k,n=f(k,b),p=f(k,c),q=Fc(n)==="object"||Fc(n)==="array",r=Fc(p)==="object"||Fc(p)==="array";if(q&&r)$w(a,n,p,d,m);else if(q||r||n!==p)d[m]=!0}return Object.keys(d)},ax=new Xw;var bx=function(a,b,c,d,e){this.J=b;this.D=c;this.args=d;this.messageContext=e;this.type=a},cx=function(){this.Ea={};this.ab={};this.J={};this.M=null;this.Ra={};this.D=!1;this.status=1};function dx(a,b){return arguments.length===1?ex("set",a):ex("set",a,b)}function fx(a,b){return arguments.length===1?ex("config",a):ex("config",a,b)}function gx(a,b,c){c=c||{};c[G.A.mb]=a;return ex("event",b,c)}function ex(){return arguments};var hx=function(a,b,c,d,e,f,g,k,m,n,p,q,r){this.eventId=a;this.priorityId=b;this.priorityQueue=c;this.La=d;this.Ea=e;this.Ra=f;this.Hb=g;this.be=k;this.ab=m;this.eventMetadata=n;this.onSuccess=p;this.onFailure=q;this.isGtmEvent=r};hx.prototype.copy=function(a){a=a===void 0?{}:a;var b,c,d,e,f,g,k,m,n,p,q,r,t,u,v,w,y,A,D,C,F,J,M,H,P,K;return new hx((u=(b=a)==null?void 0:b.eventId)!=null?u:this.eventId,(v=(c=a)==null?void 0:c.priorityId)!=null?v:this.priorityId,(w=(d=a)==null?void 0:d.priorityQueue)!=null?w:this.priorityQueue,(y=(e=a)==null?void 0:e.La)!=null?y:this.La,(A=(f=a)==null?void 0:f.Ea)!=null?A:this.Ea,(D=(g=a)==null?void 0:g.Ra)!=null?D:this.Ra,(C=(k=a)==null?void 0:k.Hb)!=null?C:this.Hb,(F=(m=a)==null?void 0:m.be)!=null?F:this.be,(J=(n=a)==null?void 0:n.ab)!=null?J:this.ab,(M=(p=a)==null?void 0:p.eventMetadata)!=null?M:this.eventMetadata,(H=(q=a)==null?void 0:q.onSuccess)!=null?H:this.onSuccess,(P=(r=a)==null?void 0:r.onFailure)!=null?P:this.onFailure,(K=(t=a)==null?void 0:t.isGtmEvent)!=null?K:this.isGtmEvent)};var ix=function(a,b){var c=[];switch(b){case 3:c.push(a.La);c.push(a.Ea);c.push(a.Ra);c.push(a.Hb);c.push(a.ab);break;case 2:c.push(a.La);break;case 1:c.push(a.Ea);c.push(a.Ra);c.push(a.Hb);c.push(a.ab);break;case 4:c.push(a.La),c.push(a.Ea),c.push(a.Ra),c.push(a.Hb)}return c},Cf=function(a,b){var c=h(ix(a,3)),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=d.value;if(f[b]!==void 0)return f[b]}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}},jx=function(a){var b={},c=ix(a,4),d=h(c),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=void 0,k=Object.keys(e.value),m=h(k),n=m.next();try{for(;!n.done;n=m.next())b[n.value]=1}finally{n&&!n.done&&(g=m.return)&&g.call(m)}}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}return Object.keys(b)};hx.prototype.getMergedValues=function(a,b,c){b=b===void 0?3:b;var d={},e=!1,f=function(p){Hc(p)&&jb(p,function(q,r){e=!0;d[q]=r})};c&&f(c);var g=ix(this,b);g.reverse();var k=h(g),m=k.next(),n;try{for(;!m.done;m=k.next())f(m.value[a])}finally{m&&!m.done&&(n=k.return)&&n.call(k)}return e?d:void 0};var kx=function(a,b,c){this.eventId=a;this.priorityId=b;this.priorityQueue=c;this.La={};this.Ea={};this.Ra={};this.Hb={};this.be={};this.ab={};this.eventMetadata={};this.isGtmEvent=!1;this.onSuccess=function(){};this.onFailure=function(){}},lx=function(a,b){a.La=b;return a},mx=function(a,b){a.Ea=b;return a},nx=function(a,b){a.Ra=b;return a},ox=function(a,b){a.Hb=b;return a},px=function(a,b){a.be=b;return a},qx=function(a,b){a.ab=b;return a},rx=function(a,b){a.eventMetadata=b||{};return a},sx=function(a,b){a.onSuccess=b;return a},tx=function(a,b){a.onFailure=b;return a},ux=function(a,b){a.isGtmEvent=b;return a},vx=function(a){return new hx(a.eventId,a.priorityId,a.priorityQueue,a.La,a.Ea,a.Ra,a.Hb,a.be,a.ab,a.eventMetadata,a.onSuccess,a.onFailure,a.isGtmEvent)};function wx(a,b){jb(a,function(c){var d;if(d=c.charAt(0)==="_"){var e;a:switch(c){case G.A.kb:case G.A.Id:case G.A.Ne:e=!0;break a;default:e=!1}d=!e}d&&(b&&b(c),delete a[c])})};var xx=function(){var a=this;this.D={};at(function(b){var c=b.eventId,d=b.pd,e=[],f=a.D[c]||[];f.length&&e.push(["epr",f.join(".")]);d&&delete a.D[c];return e})},zx=function(a,b,c){var d=yx;if(Qf.M&&a!==void 0){var e=c+b;d.D[a]=d.D[a]||[];d.D[a].push(e);bt();$s(a)}},yx;function Ax(){yx||(yx=new xx)};var Bx=function(){this.destinations={};this.D={};this.commands=[]},Cx=function(a,b){return a.destinations[b.destinationId]=a.destinations[b.destinationId]||new cx},Dx=function(a,b,c,d){if(d.D){var e=Cx(a,d.D),f=e.M;if(f){var g=Ic(c,null),k=Ic(e.Ea[d.D.destinationId],null),m=Ic(e.Ra,null),n=Ic(e.ab,null),p=Ic(a.D,null),q={};if(Qf.M)try{q=Ic(bv.D,null)}catch(y){O(72)}var r=d.D.prefix,t=function(y){var A=d.messageContext.eventId;Ax();zx(A,r,y)},u=vx(ux(tx(sx(rx(px(ox(qx(nx(mx(lx(new kx(d.messageContext.eventId,d.messageContext.priorityId,d.messageContext.priorityQueue),g),k),m),n),p),q),d.messageContext.eventMetadata),function(){if(t){var y=t;t=void 0;y("2");if(d.messageContext.onSuccess)d.messageContext.onSuccess()}}),function(){if(t){var y=t;t=void 0;y("3");if(d.messageContext.onFailure)d.messageContext.onFailure()}}),!!d.messageContext.isGtmEvent)),v=function(){try{var y=d.messageContext.eventId;Ax();zx(y,r,"1");var A=d.D.id,D=ax;if(Qf.J&&b===G.A.wa){var C,F=(C=Qw(A))==null?void 0:C.ids;if(!(F&&F.length>1)){var J=u.La[G.A.mb];if(!J||J===A){var M,H=$b("google_tag_data",{});H.td||(H.td={});M=H.td;var P=Ic(u.Hb,null);Ic(u.La,P);var K=[],V;for(V in M)M.hasOwnProperty(V)&&$w(D,M[V],P).length&&K.push(V);K.length&&(Yw(D,A,K),Za("TAGGING",Uw[z.readyState]||14));M[A]=P}}}f(d.D.id,b,d.J,u)}catch(X){var U=d.messageContext.eventId;Ax();zx(U,r,"4")}};if(b==="gtag.get")v();else{var w=function(){Jh(e.U,v)};Ju(d.D.destinationId)?(Mu(d.D.destinationId)||Yu(d.D.destinationId,Bf(u),{source:3,fromContainerExecution:d.messageContext.fromContainerExecution},void 0,!0),Nu(d.D.destinationId,w)):w()}}}},Ex=function(a,b){if(b.type!=="require"){var c=void 0;b.type==="event"&&(c=b.args[1]);if(b.D)for(var d=Cx(a,b.D).J[b.type]||[],e=0;e=0){if(f.mh=Qw(k,b),f.mh){var m=Ug();fb(m,function(w){return function(y){return w.mh.destinationId===y}}(f))?d.push(k):e.push(k)}}else{if(Nw()){var n=c.J[k]||[];f.Xg={};n.forEach(function(w){return function(y){w.Xg[y]=!0}}(f));for(var p=Ug(),q=0;q=0&&c.splice(d,1)})},by=function(a){jb(Yx.J,function(b,c){var d=c.indexOf(a);d>=0&&c.splice(d,1)})},cy=function(a){jb(Yx.M,function(b,c){var d=c.indexOf(a);d>=0&&c.splice(d,1)})},Yx=new function(){this.D={};this.M={};this.J={}};function dy(a,b,c){var d=Ic(a,null);d.eventId=void 0;d.inheritParentConfig=void 0;Object.keys(b).some(function(f){return b[f]!==void 0})&&O(136);var e=Ic(b,null);Ic(c,e);Wx(fx(Xg()[0],e),a.eventId,d)} function ey(a,b,c,d){var e={},f=(e[G.A.zb]=G.A.wa,e["gtm.configContainerId"]=a.id,e["gtm.configParameters"]=b,e["gtm.uniqueEventId"]=d.eventId,e);d.priorityId&&(f["gtm.priorityId"]=d.priorityId);c.priorityQueue&&(f["gtm.priorityQueue"]=c.priorityQueue);c.eventMetadata&&(f["gtm.eventMetadata"]=c.eventMetadata);a.Ib()&&(f["gtm.configContainerId"]=Xg()[0],f["gtm.originalConfigTargetId"]=a.id);return f} function fy(a,b,c){if(cd(11)&&!c&&!a[G.A.uc]){var d=Ne(2,function(){return!1});Le(2,!0);Fw(d,a,b);if(d)return!0}return!1};function gy(a,b){var c={},d=(c.event=a,c);b&&(d.eventModel=Ic(b,null),b[G.A.Gd]&&(d.eventCallback=b[G.A.Gd]),b[G.A.Je]&&(d.eventTimeout=b[G.A.Je]));return d} function hy(a,b){var c=a&&a[G.A.mb];c===void 0&&(c=dv(G.A.mb,2),c===void 0&&(c="default"));if(cb(c)||Array.isArray(c)){var d;d=b.isGtmEvent?cb(c)?[c]:c:c.toString().replace(/\s+/g,"").split(",");var e=$x(d,b.isGtmEvent),f=e.gh,g=e.bp;if(g.length)for(var k=Sx(a),m=0;m2){if(a[2]!==void 0&&!Hc(a[2])||a.length>3){d=void 0;break a}e=a[2]}var f=Qw(a[1],b.isGtmEvent);if(f){d={target:f,params:e};break a}}d=void 0}var g=d;if(g){var k=g.target,m=g.params,n;a:{if(!cd(7)){var p=Zg($g());if(p&&p.parent&&p.context&&p.context.source===1&&p.parent.ctid.indexOf("GTM-")!==0){var q=p.parent,r=q.isDestination;n={lp:Zg(q),Zo:r};break a}}n=void 0}var t=n,u=t==null?void 0:t.lp,v=t==null?void 0:t.Zo;Ov(c.eventId,"gtag.config");var w,y=k.destinationId;if(k.Ib()?Ug().indexOf(y)!==-1:Xg().indexOf(y)!==-1)a:{if(u&&(O(128),v&&O(130),b.inheritParentConfig)){var A;var D=Me(5);if(D)dy(b,D,m),A=!1;else{var C=Me(4);!m[G.A.uc]&&(Nw()||cd(11))&&C||Le(4,Ic(m,null));A=!0}A&&u.containers&&u.containers.join(",");w=void 0;break a}var F=!cd(45),J=!wb(k.id,"GTM-");F&&J&&(Object.keys(m).length===0?Lw(W.V.Ih,!1):Lw(W.V.Jh,!1),Ah()&&Lw(W.V.Hh,!1),Me(23)&&Lw(W.V.Kh,!1));var M=Gw;Qf.J&&(M.D===1&&(Qe.D.mcc=!1),M.D=2);if(Nw()||!fy(m,b,k.Ib())){Ux.D||O(43);if(!Nw()){if(!b.noTargetGroup){var H=k.id;if(k.Ib())cy(H),Zx(H,m[G.A.oc]||"default");else{ay(H);var P=m[G.A.oc]||"default",K=Yx;P=P.toString().split(",");for(var V=0;V2){if(!Hc(a[2])&&a[2]!==void 0||a.length>3)return;d=a[2]}var e=gy(c,d),f=Rx(a,b),g=f.eventId,k=f.priorityId;e["gtm.uniqueEventId"]=g;k&&(e["gtm.priorityId"]=k);b.priorityQueue&&(e["gtm.priorityQueue"]=b.priorityQueue);if(c==="optimize.callback")return e.eventModel=e.eventModel||{},e;var m=hy(d,b);if(m){var n=m.gh,p=m.ho,q=p.map(function(P){return P.id}),r=p.map(function(P){return P.destinationId}),t=n.map(function(P){return P.id}),u=h(Ug()),v=u.next(),w;try{for(;!v.done;v=u.next()){var y=v.value;r.indexOf(y)<0&&t.push(y)}}finally{v&&!v.done&&(w=u.return)&&w.call(u)}Ov(g,c);var A=h(t),D=A.next(),C;try{for(;!D.done;D=A.next()){var F=D.value,J=Ic(b,null),M=Ic(d,null);delete M[G.A.Gd];var H=J.eventMetadata||{};H.hasOwnProperty(I.H.Td)||(H[I.H.Td]=!J.fromContainerExecution);H[I.H.Dg]=q.slice();H[I.H.Vd]=r.slice();J.eventMetadata=H;Ix(Kx(),c,M,F,J)}}finally{D&&!D.done&&(C=A.return)&&C.call(A)}e.eventModel=e.eventModel||{};q.length>0?e.eventModel[G.A.mb]=q.join(","):delete e.eventModel[G.A.mb];Ux.D||O(43);b.noGtmEvent===void 0&&b.eventMetadata&&b.eventMetadata[I.H.xn]&&(b.noGtmEvent=!0);e.eventModel[G.A.Jd]&&(b.noGtmEvent=!0);return b.noGtmEvent?void 0:e}}},iy.get=function(a,b){O(53);if(a.length===4&&cb(a[1])&&cb(a[2])&&bb(a[3])){var c=Qw(a[1],b.isGtmEvent),d=String(a[2]),e=a[3];if(c){Ux.D||O(43);var f=Sx();if(fb(Ug(),function(k){return c.destinationId===k})){Rx(a,b);var g={};Ic((g[G.A.Pe]=d,g[G.A.Oe]=e,g),null);Lx(d,function(k){rc(function(){e(k)})},c.id,b)}else Yu(c.destinationId,f,{source:4,fromContainerExecution:b.fromContainerExecution})}}},iy.js=function(a,b){var c;if(a.length===2&&a[1].getTime){Ux.D=!0;var d=Rx(a,b),e=d.eventId,f=d.priorityId,g={};c=(g.event="gtm.js",g["gtm.start"]=a[1].getTime(),g["gtm.uniqueEventId"]=e,g["gtm.priorityId"]=f,g)}else c=void 0;return c},iy.policy=function(){},iy.reset_target_config=function(a,b){if(Tx(b)&&a.length===2&&cb(a[1])){var c=Qw(a[1],!0);c&&Px(c.id)}},iy.set=function(a,b){var c=void 0;a.length===2&&Hc(a[1])?c=Ic(a[1],null):a.length===3&&cb(a[1])&&(c={},Hc(a[2])||Array.isArray(a[2])?c[a[1]]=Ic(a[2],null):c[a[1]]=a[2]);if(c){Le(23,!0);var d=Rx(a,b),e=d.eventId,f=d.priorityId;Ic(c,null);E(5);var g=Ic(c,null);Kx().D.push("set",[g],void 0,b);c["gtm.uniqueEventId"]=e;f&&(c["gtm.priorityId"]=f);delete c.event;b.overwriteModelFields=!0;return c}},iy),ky={},ly=(ky.policy=!0,ky);var ny=function(a){if(my(a))return a;this.value=a};ny.prototype.getUntrustedMessageValue=function(){return this.value};var my=function(a){return!a||Fc(a)!=="object"||Hc(a)?!1:"getUntrustedMessageValue"in a};ny.prototype.getUntrustedMessageValue=ny.prototype.getUntrustedMessageValue;function Gy(a){};var Hy=function(){var a=this;this.loaded=!1;this.listeners=[];if(z.readyState==="complete")this.onLoad();else oc(x,"load",function(){return void a.onLoad()})};Hy.prototype.onLoad=function(){if(!this.loaded){this.loaded=!0;for(var a=0;aa.la&&(a.la=K)}a.U=!1}}}return!b},Ry=function(){var a=Qy;a.Z&&O(195);a.Z=!0;if(Qf.D){var b=!cd(51),c=Yt();Wt(c,{stage:Ct.R.ne});if(b){var d=Xt(c,{stage:Ct.R.Oh},Ct.R.Hf);d!==void 0&&(c.D.Y=d)}var e=a.D.length;Yt().D.C=e}Py(a);if(Qf.D){var f=Yt(),g=Xt(f,{stage:Ct.R.Lh},Ct.R.ne);g!==void 0&&(f.D.B=g)}try{var k=x[E(19)],m=E(5),n=k.hide;if(n&&n[m]!==void 0&&n.end){n[m]=!1;var p=!0,q;for(q in n)if(n.hasOwnProperty(q)&&n[q]===!0){p=!1;break}p&&(n.end(),n.end=null)}}catch(r){E(5)}},Sy=function(a,b){if(a.la0){k=[];for(var m=0;mq)for(O(4),d.pruned=!0;this.length>q;)this.shift();var r=typeof p!=="boolean"||p;return Py(f)&&r};var g=c.slice(0).map(function(k){return a(k)});this.D.push.apply(this.D,g);cd(51)||(Qf.D&&au(),rc(Ty));Dw(function(){if(!d.gtmDom){d.gtmDom=!0;var k={};c.push((k.event="gtm.dom",k))}});Jy(function(){if(!d.gtmLoad){d.gtmLoad=!0;var k={};c.push((k.event="gtm.load",k))}})};Ky.prototype.push=function(a){return x[E(19)].push(a)};var Qy=new Ky;function Oy(a,b){var c=a.messageContext,d=b.messageContext;if(c.eventId!==d.eventId)return c.eventId-d.eventId;var e,f,g;a:{for(var k=(e=c.priorityQueue)!=null?e:[c.priorityId],m=(f=d.priorityQueue)!=null?f:[d.priorityId],n=Math.min(k.length,m.length),p=0;p0?b?c.Fa+"_"+Gf(c):String(c.Fa):void 0})};Xy.prototype.bind=function(){var a=this;if(Gj()||Qf.J)Ue("csp",function(){var b=Yy(a.D,!0);Kf(a.D);return b},!1),Ue("mde",function(){var b=Nf.D,c=Yy(b,!1);Kf(b);return c},!1),x.addEventListener("securitypolicyviolation",function(b){if(b.disposition==="enforce"){O(179);var c=Xf(b.effectiveDirective);if(c){var d;a:{var e=b.blockedURI,f=Uf;if(Qf.J&&e){var g=Tf(c,e);if(g){var k;d=(k=Vf(f,c))==null?void 0:k[g];break a}}d=void 0}var m=d;if(m){var n;a:{try{var p=new URL(b.blockedURI),q=p.pathname.indexOf(";");n=q>=0?p.origin+p.pathname.substring(0,q):p.origin+p.pathname;break a}catch(F){}n=void 0}var r=n;if(r){var t=h(m),u=t.next(),v;try{for(;!u.done;u=t.next()){var w=u.value;if(!w.hk){w.hk=!0;var y={eventId:w.eventId,priorityId:w.priorityId};if(Gj()){var A=y,D={type:1,blockedUrl:r,endpoint:w.endpoint,violation:b.effectiveDirective};if(Gj()){var C=Lj("TAG_DIAGNOSTICS",{eventId:A==null?void 0:A.eventId,priorityId:A==null?void 0:A.priorityId});C.tagDiagnostics=D;Fj(C)}}Zy(a,w.destinationId,w.endpoint,c)}}}finally{u&&!u.done&&(v=t.return)&&v.call(t)}Wf(c,b.blockedURI)}}}}})};var Zy=function(a,b,c,d){Lf(a.D,b,c,1,d);Se(Qe,"csp",!0);Se(Qe,"mde",!0);c!==61&&c!==56&&a.J===void 0&&(a.J=x.setTimeout(function(){a.D.Fa>0&&Uh(!1);a.J=void 0},500))},$y=new Xy;var az=function(){this.D=0};az.prototype.bind=function(){var a=this;bz(this);cd(65)&&Ue("mtbl","1");Ue("v","3");Ue("t","t");Ue("pid",function(){return String(fi(bi.aa.ve))});Ue("gtm",function(){return wp()});Ue("seq",function(){return String(++a.D)});Ue("exp",function(){return kl()})};var bz=function(a){if(fi(bi.aa.ve)===void 0){var b=function(){ei(bi.aa.ve,gb());a.D=0};b();sc(b,864E5)}else hi(bi.aa.ve,function(){a.D=0});a.D=0},cz=new az;function dz(a){return function(){return x[a]}} var ez={},fz=(ez[14]=function(){var a;return(a=x.crypto)==null?void 0:a.getRandomValues},ez[15]=function(){var a,b;return(a=x.crypto)==null?void 0:(b=a.subtle)==null?void 0:b.digest},ez[1]=dz("fetch"),ez[6]=dz("Map"),ez[2]=function(){return Math.random},ez[8]=function(){return ka(Object,"assign")},ez[9]=function(){return Object.entries},ez[10]=function(){return Object.fromEntries},ez[5]=dz("Promise"),ez[16]=dz("queueMicrotask"),ez[13]=dz("RegExp"),ez[17]=dz("requestIdleCallback"),ez[3]=function(){return Wb.sendBeacon},ez[7]=dz("Set"),ez[12]=function(){return String.prototype.endsWith},ez[11]=function(){return String.prototype.startsWith},ez[4]=dz("XMLHttpRequest"),ez),gz={},hz=(gz[15]=!0,gz);var iz=/^(https?:)?\/\//;function Dz(){};[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});Eo({yr:0,xr:1,ur:2,lr:3,vr:4,mr:5,wr:6,qr:7,rr:8,kr:9,nr:10,zr:11}).map(function(a){return Number(a)});Eo({Br:0,Cr:1,Ar:2}).map(function(a){return Number(a)});var Ez=function(a,b,c,d){Ko.call(this);this.lf=b;this.Yd=c;this.Vb=d;this.Xa=new Map;this.nf=0;this.ka=new Map;this.za=new Map;this.Z=void 0;this.J=a};ta(Ez,Ko);Ez.prototype.M=function(){delete this.D;this.Xa.clear();this.ka.clear();this.za.clear();this.Z&&(Go(this.J,"message",this.Z),delete this.Z);delete this.J;delete this.Vb;Ko.prototype.M.call(this)};var Fz=function(a){if(a.D)return a.D;a.Yd&&a.Yd(a.J)?a.D=a.J:a.D=vl(a.J,a.lf);var b;return(b=a.D)!=null?b:null},Hz=function(a,b,c){if(Fz(a))if(a.D===a.J){var d=a.Xa.get(b);d&&d(a.D,c)}else{var e=a.ka.get(b);if(e&&e.fh){Gz(a);var f=++a.nf;a.za.set(f,{Fc:e.Fc,wo:e.Wj(c),persistent:b==="addEventListener"});a.D.postMessage(e.fh(c,f),"*")}}},Gz=function(a){a.Z||(a.Z=function(b){if(b.source===a.D)try{var c;c=a.Vb?a.Vb(b):void 0;if(c){var d=c.np,e=a.za.get(d);if(e){e.persistent||a.za.delete(d);var f;(f=e.Fc)==null||f.call(e,e.wo,c.payload)}}}catch(g){}},Fo(a.J,"message",a.Z))};var Iz=function(a,b){var c=b.listener,d=(0,a.__gpp)("addEventListener",c);d&&c(d,!0)},Jz=function(a,b){(0,a.__gpp)("removeEventListener",b.listener,b.listenerId)},Kz={Wj:function(a){return a.listener},fh:function(a,b){var c={};return c.__gppCall={callId:b,command:"addEventListener",version:"1.1"},c},Fc:function(a,b){var c=b.__gppReturn;a(c.returnValue,c.success)}},Lz={Wj:function(a){return a.listener},fh:function(a,b){var c={};return c.__gppCall={callId:b,command:"removeEventListener",version:"1.1",parameter:a.listenerId},c},Fc:function(a,b){var c=b.__gppReturn,d=c.returnValue.data;a==null||a(d,c.success)}};function Mz(a){var b={};Nc(a.data)?b=JSON.parse(a.data):b=a.data;return{payload:b,np:b.__gppReturn.callId}} var Nz=function(a,b){var c;c=(b===void 0?{}:b).timeoutMs;Ko.call(this);this.caller=new Ez(a,"__gppLocator",function(d){return typeof d.__gpp==="function"},Mz);this.caller.Xa.set("addEventListener",Iz);this.caller.ka.set("addEventListener",Kz);this.caller.Xa.set("removeEventListener",Jz);this.caller.ka.set("removeEventListener",Lz);this.timeoutMs=c!=null?c:500};ta(Nz,Ko);Nz.prototype.M=function(){this.caller.dispose();Ko.prototype.M.call(this)};Nz.prototype.addEventListener=function(a){var b=this,c=pl(function(){a(Oz,!0)}),d=this.timeoutMs===-1?void 0:setTimeout(function(){c()},this.timeoutMs);Hz(this.caller,"addEventListener",{listener:function(e,f){clearTimeout(d);try{var g;var k;((k=e.pingData)==null?void 0:k.gppVersion)===void 0||e.pingData.gppVersion==="1"||e.pingData.gppVersion==="1.0"?(b.removeEventListener(e.listenerId),g={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:1,gppString:"GPP_ERROR_STRING_IS_DEPRECATED_SPEC",applicableSections:[-1]}}):Array.isArray(e.pingData.applicableSections)?g=e:(b.removeEventListener(e.listenerId),g={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_EXPECTED_APPLICATION_SECTION_ARRAY",applicableSections:[-1]}});a(g,f)}catch(m){if(e==null?0:e.listenerId)try{b.removeEventListener(e.listenerId)}catch(n){a(Pz,!0);return}a(Qz,!0)}}})};Nz.prototype.removeEventListener=function(a){Hz(this.caller,"removeEventListener",{listener:function(){},listenerId:a})};var Qz={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_UNAVAILABLE",applicableSections:[-1]},listenerId:-1},Oz={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_LISTENER_REGISTRATION_TIMEOUT",internalErrorState:2,applicableSections:[-1]},listenerId:-1},Pz={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_REMOVE_EVENT_LISTENER_ERROR",internalErrorState:2,applicableSections:[-1]},listenerId:-1};function Rz(a){var b;if(!(b=a.pingData.signalStatus==="ready")){var c=a.pingData.applicableSections;b=!c||c.length===1&&c[0]===-1}b&&a.pingData.applicableSections.join(",")}function Sz(){try{var a=new Nz(x,{timeoutMs:-1});Fz(a.caller)&&a.addEventListener(Rz)}catch(b){}};function dt(){var a=[["cv",E(1)],["rv",E(14)],["tc",Iu.tags.filter(function(d){return d}).length]],b=dd(15);b&&a.push(["x",b]);var c=kl();c&&a.push(["tag_exp",c]);return a};var Tz=function(){var a=this;this.D={};this.J={};at(function(b){var c=b.eventId,d=b.pd,e=[],f=a.D[c]||[];f.length&&e.push(["hf",f.join(".")]);var g=a.J[c]||[];g.length&&e.push(["ht",g.join(".")]);d&&(delete a.D[c],delete a.J[c]);return e})},Uz;var Yz="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function Zz(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function $z(a){var b,c;return(c=(b=a.google_tag_data)==null?void 0:b.uach_promise)!=null?c:null}function aA(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function bA(a){if(!aA(a))return null;var b=Zz(a);if(b.uach_promise)return b.uach_promise;var c=a.navigator.userAgentData.getHighEntropyValues(Yz).then(function(d){b.uach!=null||(b.uach=d);return d});return b.uach_promise=c};function jA(a,b){b=b===void 0?!0:b;var c=$a(Ya.GTAG_EVENT_FEATURE_CHANNEL||[]);if(c&&(T(a,G.A.Vf,c),b)){var d=Kw.D.slice();Ya.GTAG_EVENT_FEATURE_CHANNEL=d}};function nA(){return Math.floor(Math.random()*20)};[G.A.li].map(function(a){return a.slice(2)});function wA(a){var b=fj("zones");return b?b.getIsAllowedFn(Xg(),a):function(){return!0}}function xA(){var a=fj("zones");a&&a.unregisterChild(Xg())} function yA(){Vv(function(a){var b=a.originalEventData["gtm.uniqueEventId"],c=fj("zones");return c?c.isActive(Xg(),b):!0});Sv(function(a){var b,c;b=a.entityId;c=a.securityGroups;return wA(Number(a.originalEventData["gtm.uniqueEventId"]))(b,c)})};var AA=function(a){return a===oh.da.rb&&Gh.D[a]===nh.Ba.Ze&&!Wj(G.A.ia)};var BA=function(){return"0"},CA=function(a){if(typeof a!=="string")return"";var b=["gclid","dclid","wbraid","_gl"];Ee(102)&&b.push("gbraid");return tf(a,b)};var DA={},EA={},FA={},GA={},HA={},IA={},JA={},KA={},LA={},MA={},NA={},OA={},PA={},QA={},RA={},SA={},TA={},UA={},VA={},WA={},XA={},YA={},ZA={},$A={},aB={},bB={},cB=(bB[G.A.fb]=(DA[2]=[AA],DA),bB[G.A.Od]=(EA[2]=[AA],EA),bB[G.A.Ol]=(FA[2]=[AA],FA),bB[G.A.Ti]=(GA[2]=[AA],GA),bB[G.A.Ui]=(HA[2]=[AA],HA),bB[G.A.Vi]=(IA[2]=[AA],IA),bB[G.A.Wi]=(JA[2]=[AA],JA),bB[G.A.Xi]=(KA[2]=[AA],KA),bB[G.A.Qd]=(LA[2]=[AA],LA),bB[G.A.eg]=(MA[2]=[AA],MA),bB[G.A.fg]=(NA[2]=[AA],NA),bB[G.A.gg]=(OA[2]=[AA],OA),bB[G.A.hg]=(PA[2]=[AA],PA),bB[G.A.ig]=(QA[2]=[AA],QA),bB[G.A.jg]=(RA[2]=[AA],RA),bB[G.A.kg]=(SA[2]=[AA],SA),bB[G.A.lg]=(TA[2]=[AA],TA),bB[G.A.wb]=(UA[1]=[AA],UA),bB[G.A.hc]=(VA[1]=[AA],VA),bB[G.A.mc]=(WA[1]=[AA],WA),bB[G.A.Oc]=(XA[1]=[AA],XA),bB[G.A.xd]=(YA[1]=[function(a){return Ee(102)&&AA(a)}],YA),bB[G.A.Of]=(ZA[1]=[AA],ZA),bB[G.A.Aa]=($A[1]=[AA],$A),bB[G.A.Ga]=(aB[1]=[AA],aB),bB),dB={},eB=(dB[G.A.wb]=BA,dB[G.A.hc]=BA,dB[G.A.mc]=BA,dB[G.A.Oc]=BA,dB[G.A.xd]=BA,dB[G.A.Of]=function(a){if(!Hc(a))return{};var b=Ic(a,null);delete b.match_id;return b},dB[G.A.Aa]=CA,dB[G.A.Ga]=CA,dB),fB={},gB={},hB=(gB[I.H.Qa]=(fB[2]=[AA],fB),gB),iB={};var jB=function(a,b,c,d){this.D=a;this.M=b;this.U=c;this.Z=d};jB.prototype.getValue=function(a){a=a===void 0?oh.da.bf:a;if(!this.M.some(function(b){return b(a)}))return this.U.some(function(b){return b(a)})?this.Z(this.D):this.D};jB.prototype.J=function(){return Fc(this.D)==="array"||Hc(this.D)?Ic(this.D,null):this.D};var kB=function(){},lB=function(a,b){this.conditions=a;this.D=b},mB=function(a,b,c){var d,e=((d=a.conditions[b])==null?void 0:d[2])||[],f,g=((f=a.conditions[b])==null?void 0:f[1])||[];return new jB(c,e,g,a.D[b]||kB)},nB,oB;var pB=new function(){this.settings={};this.D=!1};var qB=function(a,b,c){this.eventName=b;this.W=c;this.D={};this.isAborted=!1;this.target=a;this.metadata={};var d=c.eventMetadata||{},e=h(Object.keys(d)),f=e.next(),g;try{for(;!f.done;f=e.next()){var k=f.value;R(this,k,d[k])}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}},Fe=function(a,b){var c,d;return(c=a.D[b])==null?void 0:(d=c.getValue)==null?void 0:d.call(c,Q(a,I.H.kf))},T=function(a,b,c){var d=a.D,e;c===void 0?e=void 0:(nB!=null||(nB=new lB(cB,eB)),e=mB(nB,b,c));d[b]=e};qB.prototype.mergeHitDataForKey=function(a,b){var c,d,e;c=(d=this.D[a])==null?void 0:(e=d.J)==null?void 0:e.call(d);if(!c)return T(this,a,b),!0;if(!Hc(c))return!1;T(this,a,ka(Object,"assign").call(Object,c,b));return!0};qB.prototype.copyToHitData=function(a,b,c){var d=Cf(this.W,a);d===void 0&&(d=b);if(cb(d)&&c!==void 0)try{d=c(d)}catch(e){}d!==void 0&&T(this,a,d)};var Q=function(a,b){var c=a.metadata[b];if(b===I.H.kf){var d;return c==null?void 0:(d=c.J)==null?void 0:d.call(c)}var e;return c==null?void 0:(e=c.getValue)==null?void 0:e.call(c,Q(a,I.H.kf))},R=function(a,b,c){var d=a.metadata,e;c===void 0?e=c:(oB!=null||(oB=new lB(hB,iB)),e=mB(oB,b,c));d[b]=e},rB=function(a,b){var c,d=a.target.destinationId;if(!pB.D&&(pB.D=!0,cd(52))){var e;pB.settings=(e=data.productSettings)!=null?e:{};data.productSettings=void 0}return(c=pB.settings[d])&&c[b]!==void 0?c[b]:!1};qB.prototype.copy=function(a){var b=new qB((a==null?void 0:a.target)||this.target,(a==null?void 0:a.eventName)||this.eventName,(a==null?void 0:a.W)||this.W),c;c=c===void 0?{}:c;var d=h(Object.keys(this.D)),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=e.value,k=void 0,m=void 0,n=void 0;c[g]=(k=this.D[g])==null?void 0:(n=(m=k).J)==null?void 0:n.call(m)}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}var p=h(Object.keys(c)),q=p.next(),r;try{for(;!q.done;q=p.next()){var t=q.value;T(b,t,c[t])}}finally{q&&!q.done&&(r=p.return)&&r.call(p)}var u;u=u===void 0?{}:u;var v=h(Object.keys(this.metadata)),w=v.next(),y;try{for(;!w.done;w=v.next()){var A=w.value,D=void 0,C=void 0,F=void 0;u[A]=(D=this.metadata[A])==null?void 0:(F=(C=D).J)==null?void 0:F.call(C)}}finally{w&&!w.done&&(y=v.return)&&y.call(v)}var J=h(Object.keys(u)),M=J.next(),H;try{for(;!M.done;M=J.next()){var P=M.value;R(b,P,u[P])}}finally{M&&!M.done&&(H=J.return)&&H.call(J)}b.isAborted=this.isAborted;return b};var sB=function(a){var b=a.W,c=b.eventId,d=b.priorityId;return d?c+"_"+d:String(c)};qB.prototype.accept=function(){var a=gi(bi.aa.mg,{}),b=sB(this),c=this.target.destinationId;a[b]||(a[b]={});a[b][c]=Wg();ji(bi.aa.mg)};qB.prototype.canBeAccepted=function(a){var b=fi(bi.aa.mg);if(!b)return!0;var c=b[sB(this)];if(!c)return!0;var d=c[a!=null?a:this.target.destinationId];return d===void 0||d===Wg()};function tB(a){return{getDestinationId:function(){return a.target.destinationId},getEventName:function(){return a.eventName},setEventName:function(b){a.eventName=b},getHitData:function(b){return Fe(a,b)},setHitData:function(b,c){T(a,b,c)},setHitDataIfNotDefined:function(b,c){Fe(a,b)===void 0&&T(a,b,c)},copyToHitData:function(b,c){a.copyToHitData(b,c)},getMetadata:function(b){return Q(a,b)},setMetadata:function(b,c){R(a,b,c)},isAborted:function(){return a.isAborted},abort:function(){a.isAborted=!0},getFromEventContext:function(b){return Cf(a.W,b)},Js:function(){return a},getHitKeys:function(){return Object.keys(a.D)},getMergedValues:function(b){return a.W.getMergedValues(b,3)},mergeHitDataForKey:function(b,c){return Hc(c)?a.mergeHitDataForKey(b,c):!1},accept:function(){a.accept()},canBeAccepted:function(b){return a.canBeAccepted(b)}}};function uB(){var a=x.screen;return{width:a?a.width:0,height:a?a.height:0}}var vB=new Map([["aw",4]]);function wB(a){var b=Xm[a],c=vB.get(a);return c?(cm(b,c)||[]).some(function(d){return d.m==="0"||d.m===void 0}):!1} function xB(a,b){if(Ee(495)){var c=new Map,d=h(vB),e=d.next(),f;try{for(;!e.done;e=d.next()){var g=h(e.value),k=g.next().value,m=g.next().value,n=k,p=m,q=a[n],r=Array.isArray(q)?q[0]:q;if(r!==void 0){var t={},u=(t.k=r,t.i=String(Math.floor(Date.now()/1E3)),t.b=[],t.m="1",t),v=Jl(u,p);v&&(wB(n)||c.set(n,v))}}}finally{e&&!e.done&&(f=d.return)&&f.call(d)}if(c.size){var w,y=[],A=b.path||"/";y.push(encodeURIComponent("p")+"="+encodeURIComponent(A));b.qo&&y.push(encodeURIComponent("ce")+"="+encodeURIComponent(String(b.qo)));var D=b.domain&&b.domain!=="auto"?b.domain:"auto:"+x.location.hostname;y.push(encodeURIComponent("d")+"="+encodeURIComponent(D));var C=h(c),F=C.next(),J;try{for(;!F.done;F=C.next()){var M=h(F.value),H=M.next().value,P=M.next().value;y.push(encodeURIComponent(H)+"="+encodeURIComponent(P))}}finally{F&&!F.done&&(J=C.return)&&J.call(C)}w="_/set_cookie?"+y.join("&");var K,V=E(58);K=Vc(w,V);var U=wf()+"/"+K;zc(U)}}};function yB(a){return"CWVWebViewMessage"in a}function zB(a){var b=x.webkit;delete x.webkit;a(x.webkit);x.webkit=b}function AB(a,b){var c={action:"gcl_setup"};if(yB(a.messageHandlers))return a.messageHandlers.CWVWebViewMessage.postMessage({command:b,payload:c}),!0;var d=a.messageHandlers[b];return d?(d.postMessage(c),!0):!1};var BB={},CB=(BB.awb={notFound:178},BB.ytb={notFound:194},BB);function DB(a){var b,c=(b=CB[a])==null?void 0:b.notFound;c&&O(c)} function FB(a){if(!fi(bi.aa.mj)&&"webkit"in x&&x.webkit.messageHandlers){var b=function(){try{zB(function(c){if(c){var d;d=yB(c.messageHandlers)||"awb"in c.messageHandlers?{command:"awb",source:5}:yB(c.messageHandlers)||"ytb"in c.messageHandlers?{command:"ytb",source:8}:void 0;d&&(ei(bi.aa.mj,function(e){var f=d.source;e.gclid&&In("gcl_aw",e.gclid,f,a);e.wbraid&&In("gcl_gb",e.wbraid,f,a)}),AB(c,d.command)||DB(d.command))}})}catch(c){O(193)}};Dh(function(){cn(ll)?b():Eh(b,ll)},ll)}};var GB=["https://www.google.com","https://www.youtube.com","https://m.youtube.com"];function HB(a){return a.data.action!=="gcl_transfer"?(O(173),!0):a.data.gadSource?a.data.gclid?!1:(O(181),!0):(O(180),!0)} function IB(a,b){if(!a||Ee(a)){if(fi(bi.aa.bd))return O(176),bi.aa.bd;if(fi(bi.aa.qj))return O(170),bi.aa.bd;var c=nl();if(!c)O(171);else if(c.opener){var d=function(k){if(!GB.includes(k.origin))O(172);else if(!HB(k)){var m={gadSource:k.data.gadSource};m.gclid=k.data.gclid;ei(bi.aa.bd,m);b&&k.data.gclid&&In("gcl_aw",String(k.data.gclid),6,b);var n;(n=k.stopImmediatePropagation)==null||n.call(k);Go(c,"message",d)}};if(Fo(c,"message",d)){ei(bi.aa.qj,!0);var e=h(GB),f=e.next(),g;try{for(;!f.done;f=e.next())c.opener.postMessage({action:"gcl_setup"},f.value)}finally{f&&!f.done&&(g=e.return)&&g.call(e)}O(174);return bi.aa.bd}O(175)}}};function $B(a,b,c,d){d=d===void 0?!1:d;var e=nl(),f;var g=e.location.href;if(e===e.top)f={url:g,Wo:!0};else{var k=!1,m=e.document;m&&m.referrer&&(g=m.referrer,e.parent===e.top&&(k=!0));var n=e.location.ancestorOrigins;if(n){var p=n[n.length-1],q;p&&((q=g)==null?void 0:q.indexOf(p))===-1&&(k=!1,g=p)}f={url:g,Wo:k}}var r=f;if(r.url)if(d){var t=c(r.url);b!==t&&T(a,G.A.Xc,t)}else{var u=r.url;b!==u&&T(a,G.A.Xc,c(u))}};function dC(a){R(a,I.H.Ja,!0);R(a,I.H.Rd,rb());R(a,I.H.yj,a.W.eventMetadata[I.H.Ja])};var wC=new function(){this.D={}};function xC(a){var b=tw(!1);if(b!=null&&b.status){var c={gtb:b.status};b.delay&&(c.gtbd=b.delay);a.mergeHitDataForKey(G.A.Va,c)}};function zC(a,b){b=b===void 0?!1:b;var c=Q(a,I.H.Vd),d=rB(a,"custom_event_accept_rules")&&!b;if(c){var e=c.indexOf(a.target.destinationId)>=0,f=!0;Q(a,I.H.zc)&&(f=Q(a,I.H.Fb)===Wg());e&&f?R(a,I.H.zf,!0):(R(a,I.H.zf,!1),d||(a.isAborted=!0));if(a.canBeAccepted()){var g=Vg().indexOf(a.target.destinationId)>=0,k=!1;if(!g){var m,n=(m=Og(a.target.destinationId))==null?void 0:m.canonicalContainerId;n&&(k=Wg()===n)}g||k?Q(a,I.H.zf)&&a.accept():a.isAborted=!0}else a.isAborted=!0}};function FC(){return dj("dedupe_gclid",function(){return lq()})};var GC=/^(www\.)?google(\.com?)?(\.[a-z]{2}t?)?$/,HC=/^www.googleadservices.com$/;function IC(a){a||(a=JC());return a.Ep?!1:a.Mo||a.No||a.Po||a.Oo||a.ce||a.qf||a.Eo||a.Ug==="aw.ds"||a.Ho?!0:!1}function JC(){var a={},b=ym(!0);a.Ep=!!b._up;var c=Dn(),d=xo();a.Mo=c.aw!==void 0;a.No=c.dc!==void 0;a.Po=c.wbraid!==void 0;a.Oo=c.gbraid!==void 0;a.Ug=typeof c.gclsrc==="string"?c.gclsrc:void 0;a.ce=d.ce;a.qf=d.qf;var e=z.referrer?nf(sf(z.referrer),"host"):"";a.Ho=GC.test(e);a.Eo=HC.test(e);return a};function KC(){var a=x.__uspapi;if(bb(a)){var b="";try{a("getUSPData",1,function(c,d){if(d&&c){var e=c.uspString;e&&RegExp("^[\\da-zA-Z-]{1,20}$").test(e)&&(b=e)}})}catch(c){}return b}};function NC(a){if(Qf.J)if(Xh.D=!0,a.eventName===G.A.wa)$h(a.W,a.target.id);else{Q(a,I.H.xe)||(Xh.J[a.target.id]=!0);var b=Q(a,I.H.Fb);Hw(b)}};function QC(a,b){return Mm("gsid_dc",{value:{joinId:a,lastJoinedTimeMs:b},expires:b+3E5})===0?!0:!1};var TC={ym:{Op:"cd",Ck:"ce",Pp:"cf",Qp:"cpf",Rp:"cu"}};var UD=L.T.Th,VD=L.T.Uh;function WD(a,b){var c=Ug();c&&c.indexOf(b)>-1&&(a[I.H.zc]=!0)}function YD(a){Wx(dx("developer_id."+a,!0),0,{})};function ZD(a,b){return Ic(a,b||null)}function Y(a){return window.encodeURIComponent(a)}function $D(a){nc(a,void 0,void 0)}function aE(a){var b=["veinteractive.com","ve-interactive.cn"];if(!a)return!1;var c=nf(sf(a),"host");if(!c)return!1;for(var d=0;b&&d0&&e.charAt(0)!=="."&&(f--,e="."+e);if(f>=0&&c.indexOf(e,f)===f)return!0}}return!1} function bE(a,b,c){for(var d={},e=!1,f=0;a&&f0&&Ue("jsm",qb.join("~"));dc.length>0&&Ue("jsp",dc.join("~"))}Dz();ai(1);yA();return p} function mi(){try{if(!Ff()&&(cd(47)||!mh()))if(cd(70))Lu();else{cd(64)&&We.D.J.add(118517917);$e();af();Qf.D&&Zt();ad(5);var a=dj("debugGroupId",function(){return String(Math.floor(Number.MAX_SAFE_INTEGER*Math.random()))});Rj(a);Do();Sz();Xo();yw();if(dh()){E(5);xA();Tv().removeExternalRestrictions(Wg())}else{oE().bootstrap=rb();cd(51)&&Ry();Qf.D&&$t();typeof x.name==="string"&&wb(x.name,"web-pixel-sandbox-CUSTOM")&&Dc()?YD("dMDg0Yz"):x.Shopify&&(YD("dN2ZkMj"),Dc()&&YD("dNTU0Yz"));nE()}}}catch(b){ai(5),et()}}(function(a){function b(){n=z.documentElement.getAttribute("data-tag-assistant-present");xj(n)&&(m=k.dj)}function c(){m&&Zb?g(m):a()}if(!x[E(37)]){var d=!1;if(z.referrer){var e=sf(z.referrer);d=pf(e,"host")===E(38)}if(!d){var f=Kl(E(39));d=!(!f.length||!f[0].length)}d&&(x[E(37)]=!0,jc(E(40)))}var g=function(u){var v="GTM",w="GTM";cd(45)&&(v="OGT",w="GTAG");var y=E(23),A=x[y];A||(A=[],x[y]=A,jc("https://"+E(3)+"/debug/bootstrap?id="+E(5)+"&src="+w+"&cond="+String(u)+">m="+wp()));var D={messageType:"CONTAINER_STARTING",data:{scriptSource:Zb,containerProduct:v,debug:!1,id:E(5),targetRef:{ctid:E(5),isDestination:Tg(),canonicalId:E(6)},aliases:Xg(),destinations:Ug()}},C=D.data;C.resume=function(){a()};C.resumeWithMemos=function(){Ij(1);a()};cd(2)&&(D.data.initialPublish=!0);A.push(D)},k={Mm:1,gj:2,sj:3,Ph:4,dj:5};k[k.Mm]="GTM_DEBUG_LEGACY_PARAM";k[k.gj]="GTM_DEBUG_PARAM";k[k.sj]="REFERRER";k[k.Ph]="COOKIE";k[k.dj]="EXTENSION_PARAM";var m=void 0,n=void 0,p=nf(x.location,"query",!1,void 0,"gtm_debug");xj(p)&&(m=k.gj);if(!m&&z.referrer){var q=sf(z.referrer);pf(q,"host")===E(24)&&(m=k.sj)}if(!m){var r=Kl("__TAG_ASSISTANT");r.length&&r[0].length&&(m=k.Ph)}m||b();if(!m&&wj(n)){var t=!1;oc(z,"TADebugSignal",function(){t||(t=!0,b(),c())},!1);x.setTimeout(function(){t||(t=!0,b(),c())},200)}else c()})(function(){!cd(47)||li()["0"]?mi():pi()})})() ; ;wpfdajaxurl="https://bagno.uy/wp-admin/admin-ajax.php?juwpfisadmin=false&action=wpfd&";var filterData=null;var curCatId="0";if(typeof availTags==='undefined'){var availTags=[]} var msg_search_box_placeholder="Introduzca etiquetas aquĂ­...";jQuery(document).ready(function(){jQuery('.filter_catid_chzn').removeAttr('style');jQuery('.chzn-search input').removeAttr('readonly');filterData={"exclude":"0","limit":15};if(jQuery('select[name="extension"]').length){jQuery('select[name="extension"]').chosen({width:'100%',search_contains:!1})}else{setTimeout(function(){if(jQuery('select[name="extension"]').length){jQuery('select[name="extension"]').chosen({width:'100%',search_contains:!0})}},1000)} if(jQuery('.fusion-builder-live').length||jQuery('.et_divi_theme.et-fb').length){setInterval(function(){if(jQuery(".wpfd-adminForm").length){if(jQuery('select[name="extension"]').length){jQuery('select[name="extension"]').chosen({width:'100%',search_contains:!0})}else{setTimeout(function(){if(jQuery('select[name="extension"]').length){jQuery('select[name="extension"]').chosen({width:'100%',search_contains:!0})}},3000)}}},1000)} window.history.pushState(filterData,'',window.location)}) ;(function(){window.mc4wp=window.mc4wp||{listeners:[],forms:{on:function(evt,cb){window.mc4wp.listeners.push({event:evt,callback:cb})}}}})() ;(function(){function maybePrefixUrlField(){const value=this.value.trim() if(value!==''&&value.indexOf('http')!==0){this.value='http://'+value}} const urlFields=document.querySelectorAll('.mc4wp-form input[type="url"]') for(let j=0;j{var e,t,n={3379:e=>{var t={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,n){return"number"!=typeof n||t[e]?n:n+"px"}},4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{var r=n(7236),a=n(6189),o={float:"cssFloat"},i=n(3379);function l(e,t,n){var l=o[t];if(void 0===l&&(l=function(e){var t=a(e),n=r(t);return o[t]=o[e]=o[n]=n,n}(t)),l){if(void 0===n)return e.style[l];e.style[l]=i(l,n)}}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&l(e,n,t[n])}function s(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:u(arguments[0],arguments[1]):l(arguments[0],arguments[1],arguments[2])}e.exports=s,e.exports.set=s,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=l(e,n||""),t}),{}):l(e,t||"")}},8875:(e,t,n)=>{var r;!function(){"use strict";var a=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:a,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},139:e=>{"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},3759:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},75:function(e){(function(){var t,n,r;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-r)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},7236:e=>{var t=null,n=["Webkit","Moz","O","ms"];e.exports=function(e){t||(t=document.createElement("div"));var r=t.style;if(e in r)return e;for(var a=e.charAt(0).toUpperCase()+e.slice(1),o=n.length;o>=0;o--){var i=n[o]+a;if(i in r)return i}return!1}},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4087:(e,t,n)=>{for(var r=n(75),a="undefined"==typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],u=a["cancel"+i]||a["cancelRequest"+i],s=0;!l&&s{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},4608:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1?r-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:0;this.view.scrollLeft=e}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view.scrollTop=e}},{key:"scrollToLeft",value:function(){this.view.scrollLeft=0}},{key:"scrollToTop",value:function(){this.view.scrollTop=0}},{key:"scrollToRight",value:function(){this.view.scrollLeft=this.view.scrollWidth}},{key:"scrollToBottom",value:function(){this.view.scrollTop=this.view.scrollHeight}},{key:"addListeners",value:function(){if("undefined"!=typeof document){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,f.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,a=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,f.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),a.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,a=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,a&&a(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,a=this.getThumbHorizontalWidth(),o=Math.abs(r-n)-a/2;this.view.scrollLeft=this.getScrollLeftForOffset(o)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,a=this.getThumbVerticalHeight(),o=Math.abs(r-n)-a/2;this.view.scrollTop=this.getScrollTopForOffset(o)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,a=t.getBoundingClientRect().left;this.prevPageX=r-(n-a)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,a=t.getBoundingClientRect().top;this.prevPageY=r-(n-a)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=d.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,m.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,a=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(a)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,a=this.getValues();if((0,f.default)()){var o=a.scrollLeft,i=a.clientWidth,u=a.scrollWidth,s=(0,p.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),d={width:c,transform:"translateX("+o/(u-i)*(s-c)+"px)"},m=a.scrollTop,y=a.clientHeight,v=a.scrollHeight,g=(0,h.default)(this.trackVertical),b=this.getThumbVerticalHeight(),k={height:b,transform:"translateY("+m/(v-y)*(g-b)+"px)"};if(r){var w={visibility:u>i?"visible":"hidden"},S={visibility:v>y?"visible":"hidden"};(0,l.default)(this.trackHorizontal,w),(0,l.default)(this.trackVertical,S)}(0,l.default)(this.thumbHorizontal,d),(0,l.default)(this.thumbVertical,k)}n&&n(a),"function"==typeof e&&e(a)}},{key:"render",value:function(){var e=this,t=(0,f.default)(),n=this.props,a=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,i=n.renderTrackVertical,l=n.renderThumbHorizontal,s=n.renderThumbVertical,d=n.tagName,p=(n.hideTracksWhenNotNeeded,n.autoHide),h=(n.autoHideTimeout,n.autoHideDuration),y=(n.thumbSize,n.thumbMinSize,n.universal),v=n.autoHeight,g=n.autoHeightMin,b=n.autoHeightMax,k=n.style,w=n.children,S=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,T=r({},m.containerStyleDefault,v&&r({},m.containerStyleAutoHeight,{minHeight:g,maxHeight:b}),k),E=r({},m.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},v&&r({},m.viewStyleAutoHeight,{minHeight:(0,c.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,c.default)(b)?"calc("+b+" + "+t+"px)":b+t}),v&&y&&!_&&{minHeight:g,maxHeight:b},y&&!_&&m.viewStyleUniversalInitial),O={transition:"opacity "+h+"ms",opacity:0},P=r({},m.trackHorizontalStyleDefault,p&&O,(!t||y&&!_)&&{display:"none"}),C=r({},m.trackVerticalStyleDefault,p&&O,(!t||y&&!_)&&{display:"none"});return(0,u.createElement)(d,r({},S,{style:T,ref:function(t){e.container=t}}),[(0,u.cloneElement)(a({style:E}),{key:"view",ref:function(t){e.view=t}},w),(0,u.cloneElement)(o({style:P}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,u.cloneElement)(l({style:m.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,u.cloneElement)(i({style:C}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,u.cloneElement)(s({style:m.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(u.Component);t.default=k,k.propTypes={onScroll:s.default.func,onScrollFrame:s.default.func,onScrollStart:s.default.func,onScrollStop:s.default.func,onUpdate:s.default.func,renderView:s.default.func,renderTrackHorizontal:s.default.func,renderTrackVertical:s.default.func,renderThumbHorizontal:s.default.func,renderThumbVertical:s.default.func,tagName:s.default.string,thumbSize:s.default.number,thumbMinSize:s.default.number,hideTracksWhenNotNeeded:s.default.bool,autoHide:s.default.bool,autoHideTimeout:s.default.number,autoHideDuration:s.default.number,autoHeight:s.default.bool,autoHeightMin:s.default.oneOfType([s.default.number,s.default.string]),autoHeightMax:s.default.oneOfType([s.default.number,s.default.string]),universal:s.default.bool,style:s.default.object,children:s.default.node},k.defaultProps={renderView:y.renderViewDefault,renderTrackHorizontal:y.renderTrackHorizontalDefault,renderTrackVertical:y.renderTrackVerticalDefault,renderThumbHorizontal:y.renderThumbHorizontalDefault,renderThumbVertical:y.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},7679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},1298:(e,t,n)=>{"use strict";t.$B=void 0;var r,a=n(4608),o=(r=a)&&r.__esModule?r:{default:r};o.default,t.$B=o.default},6839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,a=n.paddingBottom;return t-parseFloat(r)-parseFloat(a)}},4749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,a=n.paddingRight;return t-parseFloat(r)-parseFloat(a)}},3305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1!==i)return i;if("undefined"!=typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),i=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else i=0;return i||0};var r,a=n(3879),o=(r=a)&&r.__esModule?r:{default:r};var i=!1},5205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},8669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!1}},2496:(e,t,n)=>{"use strict";var r=n(139),a=n(3759),o=n(7288);e.exports=function(){function e(e,t,n,r,i,l){l!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},2196:(e,t,n)=>{e.exports=n(2496)()},7288:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n',d='',p='';"ON"===i.isShowPoweredBy&&l.appendChild((()=>{const t=document.createElement("div");return t.className=wt?"wa__popup_powered_mb":"wa__popup_powered",t.innerHTML=wt?vt.sanitize(p):vt.sanitize(d),t})()),"ON"===i.isShowScroll&&(l.style.maxHeight=parseInt(i.scrollHeight)+"px",l.style.overflow="auto");const f=document.createElement("div");f.className="wa__popup_chat_box",f.appendChild(s),f.style.left="left"==i.btnPosition?parseInt(i.btnLeftDistance)+"px":"unset",f.style.right="right"==i.btnPosition?parseInt(i.btnRightDistance)+"px":"unset",f.style.bottom=parseInt(i.btnBottomDistance)+72+"px",f.appendChild(l),t.appendChild(f)},ready:function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLiteSpeedLoaded",t)}}})()})() ;var njt_wa_global={"ajax_url":"https://bagno.uy/wp-admin/admin-ajax.php","nonce":"0c59b66176","defaultAvatarSVG":"\u003Csvg width=\"48px\" height=\"48px\" class=\"nta-whatsapp-default-avatar\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 512 512\" style=\"enable-background:new 0 0 512 512;\" xml:space=\"preserve\"\u003E\n \u003Cpath style=\"fill:#EDEDED;\" d=\"M0,512l35.31-128C12.359,344.276,0,300.138,0,254.234C0,114.759,114.759,0,255.117,0\n S512,114.759,512,254.234S395.476,512,255.117,512c-44.138,0-86.51-14.124-124.469-35.31L0,512z\"/\u003E\n \u003Cpath style=\"fill:#55CD6C;\" d=\"M137.71,430.786l7.945,4.414c32.662,20.303,70.621,32.662,110.345,32.662\n c115.641,0,211.862-96.221,211.862-213.628S371.641,44.138,255.117,44.138S44.138,137.71,44.138,254.234\n c0,40.607,11.476,80.331,32.662,113.876l5.297,7.945l-20.303,74.152L137.71,430.786z\"/\u003E\n \u003Cpath style=\"fill:#FEFEFE;\" d=\"M187.145,135.945l-16.772-0.883c-5.297,0-10.593,1.766-14.124,5.297\n c-7.945,7.062-21.186,20.303-24.717,37.959c-6.179,26.483,3.531,58.262,26.483,90.041s67.09,82.979,144.772,105.048\n c24.717,7.062,44.138,2.648,60.028-7.062c12.359-7.945,20.303-20.303,22.952-33.545l2.648-12.359\n c0.883-3.531-0.883-7.945-4.414-9.71l-55.614-25.6c-3.531-1.766-7.945-0.883-10.593,2.648l-22.069,28.248\n c-1.766,1.766-4.414,2.648-7.062,1.766c-15.007-5.297-65.324-26.483-92.69-79.448c-0.883-2.648-0.883-5.297,0.883-7.062\n l21.186-23.834c1.766-2.648,2.648-6.179,1.766-8.828l-25.6-57.379C193.324,138.593,190.676,135.945,187.145,135.945\"/\u003E\n \u003C/svg\u003E","defaultAvatarUrl":"https://bagno.uy/wp-content/plugins/whatsapp-for-wordpress/assets/img/whatsapp_logo.svg","timezone":"-03:00","i18n":{"online":"Online","offline":"Offline"},"urlSettings":{"onDesktop":"web","onMobile":"api","openInNewTab":"ON"}} ;(function(){njtWhatsApp.ready(function(){const init=function(){document.querySelectorAll(".nta_wa_button").forEach(function(element){if(element._isWaButton)return const info=JSON.parse(element.getAttribute('data-info')) const accountId=element.getAttribute('data-id') njtWhatsApp.createButton(element,{...info,info:{...info.info,accountId},timezone:njt_wa_global.timezone,i18n:njt_wa_global.i18n,urlSettings:njt_wa_global.urlSettings,})})};init();if(window.jQuery){if(typeof(Riode)!=='undefined'&&typeof(jQuery)!=='undefined'){Riode.$window.on('riode_load',function(){init()}) jQuery(document).ajaxComplete((e,xhs,req)=>{try{if(req.data.indexOf('riode_quickview')>-1){init()}}catch(e){console.log("error")}})} jQuery(document).ajaxComplete((e,xhs,req)=>{try{if(req.data.indexOf('action=porto_lazyload_menu')>-1){init()}}catch(e){}})}})})() ;window.initMap=function(){const cargarMapa=()=>{const mapElement=document.getElementById("map");if(!mapElement){setTimeout(cargarMapa,500);return} const map=new google.maps.Map(mapElement,{center:{lat:-34.9011,lng:-56.1645},zoom:12,})};const script=document.createElement('script');script.src='https://maps.googleapis.com/maps/api/js?key=AIzaSyCtIQiQaCg42cmFX9Y-ecHBGZbU7TU4En0&libraries=geometry';script.async=!0;script.defer=!0;script.onload=cargarMapa;document.head.appendChild(script)} ;var allowedBrowsers=["IEWin7","Edge","Chrome","Safari","Firefox"]; ;(()=>{var s,a,i,n,o={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50},f=o,N=!1,d=!1,r={x:0,y:0},c=!1,u=document.documentElement,l=[],R=/^Mac/.test(navigator.platform);function w(){var e,t,o,r,n,l;!c&&document.body&&(c=!0,e=document.body,t=document.documentElement,o=window.innerHeight,l=e.scrollHeight,u=0<=document.compatMode.indexOf("CSS")?t:e,s=e,f.keyboardSupport&&B("keydown",y),top!=self?d=!0:Z&&o{var t=g(e);return null==D[t]&&(e=getComputedStyle(e,"")["scroll-behavior"],D[t]="smooth"==e),D[t]})(s)&&(s.$scrollBehavior=s.style.scrollBehavior,s.style.scrollBehavior="auto"),I(m=function(e){for(var t=Date.now(),o=0,r=0,n=0;n=f.animationTime,a=i?1:a/f.animationTime,c=(f.pulseAlgorithm&&(a=(e=>1<=e?1:e<=0?0:(1==f.pulseNormalize&&(f.pulseNormalize/=W(1)),W(e)))(a)),l.x*a-l.lastX>>0),a=l.y*a-l.lastY>>0;o+=c,r+=a,l.lastX+=c,l.lastY+=a,i&&(h.splice(n,1),n--)}w?window.scrollBy(o,r):(o&&(s.scrollLeft+=o),r&&(s.scrollTop+=r)),(h=d||u?h:[]).length?I(m,s,1e3/f.frameRate+1):(p=!1,null!=s.$scrollBehavior&&(s.style.scrollBehavior=s.$scrollBehavior,s.$scrollBehavior=null))},s,0),p=!0)}function e(e){c||w();var t,o,r=b(e);return!(!e.defaultPrevented&&!e.ctrlKey&&!(T(s,"embed")||T(r,"embed")&&/\.pdf/i.test(r.src)||T(s,"object")))||(t=-e.wheelDeltaX||e.deltaX||0,o=-e.wheelDeltaY||e.deltaY||0,R&&(e.wheelDeltaX&&k(e.wheelDeltaX,120)&&(t=e.wheelDeltaX/Math.abs(e.wheelDeltaX)*-120),e.wheelDeltaY)&&k(e.wheelDeltaY,120)&&(o=e.wheelDeltaY/Math.abs(e.wheelDeltaY)*-120),t||(o=o||(-e.wheelDelta||0)),1===e.deltaMode&&(t*=40,o*=40),(r=$(r))?!!(e=>{var t;return e&&(l.length||(l=[e,e,e]),e=Math.abs(e),l.push(e),l.shift(),clearTimeout(n),n=setTimeout(function(){try{localStorage.SS_deltaBuffer=l.join(",")}catch(e){}},1e3),t=120{var t=b(e),o=!1;if(-1!=document.URL.indexOf("www.youtube.com/watch"))do{if(o=t.classList&&t.classList.contains("html5-video-controls"))break}while(t=t.parentNode);return o})(e)||t.isContentEditable||o)return!0;if((T(t,"button")||T(t,"input")&&r.test(t.type))&&"Space"===e.code)return!0;if(T(t,"input")&&"radio"==t.type&&("ArrowUp"===e.code||"ArrowDown"===e.code||"ArrowLeft"===e.code||"ArrowRight"===e.code))return!0;var n=0,l=0,a=$(s);if(!a)return!d||!C||parent.keydown(e);var i=a.clientHeight;switch(a==document.body&&(i=window.innerHeight),e.code){case"ArrowUp":l=-f.arrowScroll;break;case"ArrowDown":l=f.arrowScroll;break;case"Space":l=-(e.shiftKey?1:-1)*i*.9;break;case"PageUp":l=.9*-i;break;case"PageDown":l=.9*i;break;case"Home":l=-(a=a==document.body&&document.scrollingElement?document.scrollingElement:a).scrollTop;break;case"End":var c=a.scrollHeight-a.scrollTop-i,l=0J?~allowedBrowsers.indexOf("Mobile"):z?~allowedBrowsers.indexOf("Edge"):C?~allowedBrowsers.indexOf("Chrome"):_?~allowedBrowsers.indexOf("Safari"):G?~allowedBrowsers.indexOf("Firefox"):Q?~allowedBrowsers.indexOf("IEWin7"):~allowedBrowsers.indexOf("other"))(),ee=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){ee=!0}}))}catch(e){}var te=!!ee&&{passive:!1},L="onwheel"in document.createElement("div")?"wheel":"mousewheel";function P(e){for(var t in e)o.hasOwnProperty(t)&&(f[t]=e[t])}L&&A&&(B(L,e,te),B("mousedown",t),B("load",w)),P.destroy=function(){a&&a.disconnect(),M(L,e),M("mousedown",t),M("keydown",y),M("resize",i),M("load",w)},window.SmoothScrollOptions&&P(window.SmoothScrollOptions),"function"==typeof define&&define.amd?define(function(){return P}):"object"==typeof exports?module.exports=P:window.SmoothScroll=P})(); ;SmoothScroll({frameRate:150,animationTime:1000,stepSize:100,pulseAlgorithm:1,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:1,arrowScroll:50,}) ;!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.sbjs=e()}}(function(){return function e(t,r,n){function a(s,o){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!o&&c)return c(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var p=r[s]={exports:{}};t[s][0].call(p.exports,function(e){var r=t[s][1][e];return a(r||e)},p,p.exports,e,t,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s0))return r=s.getHost(e),!0;for(var t=0;t0)for(var i=0;i0)for(var s=0;se.split(".").reduce((t,e)=>t&&t[e],t)),s=()=>null,i=t=>null===t||t===undefined?"":t,o="wc/store/checkout";function a(t){window.wp&&window.wp.data&&window.wp.data.dispatch&&window.wc&&window.wc.wcBlocksData&&window.wp.data.dispatch(window.wc.wcBlocksData.CHECKOUT_STORE_KEY).setExtensionData("woocommerce/order-attribution",t,!0)}function r(){return"undefined"!=typeof sbjs}function c(){if(window.wp&&window.wp.data&&"function"==typeof window.wp.data.subscribe){const e=window.wp.data.subscribe(function(){e(),a(t.getAttributionData())},o)}}t.getAttributionData=function(){const i=e.allowTracking&&r()?n:s,o=r()?sbjs.get:{},a=Object.entries(t.fields).map(([t,e])=>[t,i(o,e)]);return Object.fromEntries(a)},t.setOrderTracking=function(n){if(e.allowTracking=n,n){if(!r())return;sbjs.init({lifetime:Number(e.lifetime),session_length:Number(e.session),base64:Boolean(e.base64),timezone_offset:"0"})}else!function(){const t=window.location.hostname;["sbjs_current","sbjs_current_add","sbjs_first","sbjs_first_add","sbjs_session","sbjs_udata","sbjs_migrations","sbjs_promo"].forEach(e=>{document.cookie=`${e}=; path=/; max-age=-999; domain=.${t};`})}();const s=t.getAttributionData();!function(t){for(const e of document.querySelectorAll("wc-order-attribution-inputs"))e.values=t}(s),a(s)},t.setOrderTracking(e.allowTracking),"loading"===document.readyState?document.addEventListener("DOMContentLiteSpeedLoaded",c):c(),window.customElements.define("wc-order-attribution-inputs",class extends HTMLElement{constructor(){if(super(),this._fieldNames=Object.keys(t.fields),this.hasOwnProperty("_values")){let t=this.values;delete this.values,this.values=t||{}}}connectedCallback(){this.innerHTML="";const t=new DocumentFragment;for(const n of this._fieldNames){const s=document.createElement("input");s.type="hidden",s.name=`${e.prefix}${n}`,s.value=i(this.values&&this.values[n]||""),t.appendChild(s)}this.appendChild(t)}set values(t){if(this._values=t,this.isConnected)for(const t of this._fieldNames){const n=this.querySelector(`input[name="${e.prefix}${t}"]`);n?n.value=i(this.values[t]):console.warn(`Field "${t}" not found. `+"Most likely, the '' element was manipulated.")}}get values(){return this._values}})}(window.wc_order_attribution); ;document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next",afterLoad:function(){var e=c(this),t=e.find(".nivo-main-image");t.length&&e.height(t.height())},afterChange:function(){var e=c(this),t=e.find(".nivo-main-image");t.length&&e.height(t.height())}}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1
')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("
").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0
').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e').append(e),i=a.find("link"),l=0,s=!1;0===i.length?r(e):(setTimeout(function(){l<=i.length&&!s&&(r(m(a.html())),s=!0)},500),i.each(function(){void 0!==m(this).attr("id")&&-1!==m(this).attr("id").indexOf("theme_settings_")&&m("head").find('link[id*="theme_settings_"]:not([id*="theme_settings_default"])').remove()}),i.each(function(){var e,t,o=m(this),n=o.attr("id"),d=o.attr("href");void 0!==n&&(e=-1!==n.indexOf("theme_settings_"),t=-1!==n.indexOf("theme_settings_default"),o.remove(),void 0!==woodmart_page_css[n]||t?++l>=i.length&&!s&&(r(m(a.html())),s=!0):(e||(woodmart_page_css[n]=d),m("head").append(o.on("load",function(){++l>=i.length&&!s&&(r(m(a.html())),s=!0)}))))}))},woodmartThemeModule.debounce=function(n,d,r){var a;return function(){var e=this,t=arguments,o=r&&!a;clearTimeout(a),a=setTimeout(function(){a=null,r||n.apply(e,t)},d),o&&n.apply(e,t)}},woodmartThemeModule.wdElementorAddAction=function(e,t){woodmartThemeModule.$window.on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&elementorFrontend.hooks.addAction(e,t)})},woodmartThemeModule.wdElementorAddAction("frontend/element_ready/global",function(e){e.attr("style")&&0===e.attr("style").indexOf("transform:translate3d")&&!e.hasClass("wd-parallax-on-scroll")&&e.attr("style",""),e.removeClass("wd-animated"),e.data("wd-waypoint",""),e.removeClass("wd-anim-ready"),woodmartThemeModule.$document.trigger("wdElementorGlobalReady")}),m.each(["frontend/element_ready/column","frontend/element_ready/container"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(e){e.attr("style")&&0===e.attr("style").indexOf("transform:translate3d")&&!e.hasClass("wd-parallax-on-scroll")&&e.attr("style",""),e.removeClass("wd-animated"),e.data("wd-waypoint",""),e.removeClass("wd-anim-ready"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdElementorColumnReady")},100)})}),woodmartThemeModule.shopLoadMoreBtn=".wd-products-load-more.load-on-scroll",woodmartThemeModule.$window.on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&"enabled"===woodmart_settings.elementor_no_gap&&(m.each(["frontend/element_ready/section","frontend/element_ready/container"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(e){e.attr("style")&&0===e.attr("style").indexOf("transform:translate3d")&&!e.hasClass("wd-parallax-on-scroll")&&e.attr("style",""),e.removeClass("wd-animated"),e.data("wd-waypoint",""),e.removeClass("wd-anim-ready"),woodmartThemeModule.$document.trigger("wdElementorSectionReady")}),elementorFrontend.hooks.addAction(t,function(e){var t,o=e.data("model-cid");void 0!==elementorFrontend.config.elements.data[o]&&(t="",void 0!==elementorFrontend.config.elements.data[o].attributes.elType&&("container"===elementorFrontend.config.elements.data[o].attributes.elType?t="boxed"!==elementorFrontend.config.elements.data[o].attributes.content_width||elementorFrontend.config.elements.data[o].attributes.boxed_width.size:"section"===elementorFrontend.config.elements.data[o].attributes.elType&&(t=elementorFrontend.config.elements.data[o].attributes.content_width.size)),t||e.addClass("wd-negative-gap"))})}),elementor.channels.editor.on("change:section change:container",function(e){var t,o=e.elementSettingsModel.changed;void 0===o.content_width&&void 0===o.boxed_width||(t=[],"container"===e.elementSettingsModel.attributes.elType?void 0!==o.boxed_width&&(t=o.boxed_width.size):void 0!==o.content_width&&(t=o.content_width.size),o=e._parent.model.id,e=m(".elementor-element-"+o),t?e.removeClass("wd-negative-gap"):e.addClass("wd-negative-gap"))}))}),woodmartThemeModule.$window.on("load",function(){m(".wd-preloader").delay(parseInt(woodmart_settings.preloader_delay)).addClass("preloader-hide"),m(".wd-preloader-style").remove(),setTimeout(function(){m(".wd-preloader").remove()},200)}),woodmartThemeModule.googleMapsCallback=function(){return""}}(jQuery),woodmartThemeModule.slideUp=function(e,t=400){e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",window.getComputedStyle(e).height,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout(()=>{e.style.display="none";e.style.removeProperty("height");e.style.removeProperty("padding-top");e.style.removeProperty("padding-bottom");e.style.removeProperty("margin-top");e.style.removeProperty("margin-bottom");e.style.removeProperty("overflow");e.style.removeProperty("transition-duration");e.style.removeProperty("transition-property")},t)},woodmartThemeModule.slideDown=function(e,t=400){e.style.removeProperty("display");let o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.display=o;var n=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.getComputedStyle(e).height,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=n+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout(()=>{e.style.removeProperty("height");e.style.removeProperty("overflow");e.style.removeProperty("transition-duration");e.style.removeProperty("transition-property")},t)},woodmartThemeModule.slideToggle=function(e,t=400){return"none"===window.getComputedStyle(e).display?woodmartThemeModule.slideDown(e,t):woodmartThemeModule.slideUp(e,t)},window.addEventListener("load",function(){function t(e){window.dispatchEvent(new CustomEvent("wdEventStarted")),o()}var e=["keydown","scroll","mouseover","touchmove","touchstart","mousedown","mousemove"],o=function(){e.forEach(function(e){window.removeEventListener(e,t)})};e.forEach(function(e){window.addEventListener(e,t)})}); ;document.addEventListener("DOMContentLiteSpeedLoaded",function(){const trendsLink=document.getElementById("mocha-mousse");if(trendsLink){trendsLink.addEventListener("click",function(){window.location.href="https://bagno.uy/novedades/mocha-mousse-el-color-del-ano-2025/"})}});document.addEventListener("DOMContentLiteSpeedLoaded",function(){const trendsLink=document.getElementById("area-conocimiento");if(trendsLink){trendsLink.addEventListener("click",function(){window.location.href="https://bagno.uy/area-de-conocimiento/"})}});document.addEventListener("DOMContentLiteSpeedLoaded",function(){const trendsLink=document.getElementById("zona-descargas");if(trendsLink){trendsLink.addEventListener("click",function(){window.location.href="https://bagno.uy/zona-de-descargas/"})}});window.addEventListener('load',()=>{setTimeout(()=>{document.querySelector('.contenido-encima').classList.add('mostrar-boton')},100)});document.addEventListener('DOMContentLiteSpeedLoaded',function(){function isMobile(){return window.innerWidth<768} function preloadVideo(type){const container=document.querySelector(`.video-${type}`);if(!container)return;const videoId=container.getAttribute('data-video-id');if(!videoId)return;const iframeContainer=container.querySelector('.iframe-container');const videoFacade=container.querySelector('.video-facade');if(!iframeContainer||iframeContainer.querySelector('iframe')){return} const iframe=document.createElement('iframe');iframe.src=`https://player.vimeo.com/video/${videoId}?background=1&autoplay=1&loop=1&byline=0&title=0&muted=1`;iframe.setAttribute('frameborder','0');iframe.setAttribute('allow','autoplay; fullscreen');function handleVideoReady(){if(videoFacade){videoFacade.style.transition='opacity 0.5s ease-in-out';videoFacade.style.opacity='0';setTimeout(()=>{videoFacade.style.display='none'},500)}} iframeContainer.style.display='block';iframeContainer.appendChild(iframe);iframe.addEventListener('load',function(){setTimeout(handleVideoReady,1000)});setTimeout(()=>{if(videoFacade&&videoFacade.style.display!=='none'){handleVideoReady()}},6000)} function isElementInViewport(el){const rect=el.getBoundingClientRect();return(rect.top>=0&&rect.left>=0&&rect.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth))} window.addEventListener('load',function(){setTimeout(function(){if(document.readyState==='complete'){const type=isMobile()?'mobile':'desktop';const container=document.querySelector(`.video-${type}`);if(container&&isElementInViewport(container)){preloadVideo(type)}else{const observer=new IntersectionObserver((entries)=>{entries.forEach(entry=>{if(entry.isIntersecting){preloadVideo(type);observer.unobserve(entry.target)}})},{rootMargin:'200px'});if(container){observer.observe(container)}}}},2000)});let resizeTimer;window.addEventListener('resize',function(){clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){const type=isMobile()?'mobile':'desktop';const container=document.querySelector(`.video-${type}`);if(container&&isElementInViewport(container)&&!container.querySelector('.iframe-container iframe')){preloadVideo(type)}},500)})}) ;!function(e){woodmartThemeModule.woocommerceNotices=function(){woodmartThemeModule.$body.on("click",".woocommerce-error, .woocommerce-info, .woocommerce-message, div.wpcf7-response-output, #yith-wcwl-popup-message, .mc4wp-alert, .dokan-store-contact .alert-success, .yith_ywraq_add_item_product_message",function(){o(e(this))});var o=function(o){o.removeClass("shown-notice").addClass("hidden-notice")}},e(document).ready(function(){woodmartThemeModule.woocommerceNotices()})}(jQuery); ;(function(){var w=window,C='___grecaptcha_cfg',cfg=w[C]=w[C]||{},N='grecaptcha';var gr=w[N]=w[N]||{};gr.ready=gr.ready||function(f){(cfg.fns=cfg.fns||[]).push(f)};w.__recaptcha_api='https://www.recaptcha.net/recaptcha/api2/';(cfg.render=cfg.render||[]).push('onload');(cfg['anchor-ms']=cfg['anchor-ms']||[]).push(20000);(cfg['execute-ms']=cfg['execute-ms']||[]).push(30000);w.__google_recaptcha_client=!0;var d=document,po=d.createElement('script');po.type='text/javascript';po.async=!0;po.charset='utf-8';po.src='https://www.gstatic.com/recaptcha/releases/ox8dsmiqR62P1bqhciWOn7Fg/recaptcha__en.js';po.crossOrigin='anonymous';po.integrity='sha384-HEUFCmJokjB+CHBYlkcDt4puBwinjtTwjglts96+ZyVMTHTkeKul3/+rAljME2Le';var e=d.querySelector('script[nonce]'),n=e&&(e.nonce||e.getAttribute('nonce'));if(n){po.setAttribute('nonce',n)}var s=d.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s)})() ;!function(f){woodmartThemeModule.headerBuilder=function(){var a,s,r=f(".whb-header"),t=f(".header-banner"),e=f(".whb-sticky-row"),l="",d=woodmartThemeModule.$window,h=!1,n=300,o="",w=r.hasClass("whb-hide-on-scroll");if(e.each(function(){var e=f(this);if(10]+)?%>|{{([^{}]+)}}/g,function(e){e=e.slice(2,-2);return r.find(e).length?f("
").append(r.find(e).first().clone()).html():void 0!==s[e]?s[e]:""})).replace(/]*>/g,"")).replace("whb-col-1","")).replace("dropdowns-loading",""),r.after(o),(r=r.parent().find(".whb-clone")).find(".whb-row").removeClass("whb-flex-equal-sides").addClass("whb-flex-flex-middle"),window.dispatchEvent(new CustomEvent("wdHeaderBuilderCloneCreated"))),d.on("scroll",function(){var e=n,s=woodmartThemeModule.$window.scrollTop(),l=woodmartThemeModule.$window.height(),d=woodmartThemeModule.$document.height(),o=(0{window.addEventListener(e,function(){woodmartThemeModule.headerBuilder()})})}(jQuery); ;!function(m){woodmartThemeModule.menuOffsets=function(){m(".wd-header-main-nav ul.menu > li, .wd-header-secondary-nav ul.menu > li, .widget_nav_mega_menu ul.menu:not(.wd-nav-vertical) > li, .wd-header-main-nav .wd-dropdown.wd-design-aside ul > li").each(function(){var e=m(this);function d(){e.hasClass("wd-offsets-calculated")||e.parents(".wd-design-aside").length||(e.find(" > .menu-item-has-children").each(function(){var e,d,s,o,n,a,t,w,i,l;e=m(this),w=e.find(" > .wd-dropdown-menu"),i=w.outerWidth(),l=w.offset(),w.attr("style",""),i&&l&&(w.hasClass("wd-design-full-width")||w.hasClass("wd-design-aside")?(s=woodmartThemeModule.$window.width(),woodmartThemeModule.$body.hasClass("rtl")?s<=(o=s-l.left-i)+i&&w.css({right:-(d=o+i-s)}):l.left+i>=s&&(d=l.left+i-s,w.css({left:-d}))):(w.hasClass("wd-design-sized")||w.hasClass("wd-design-full-height"))&&(s=woodmart_settings.site_width,o=(s=woodmartThemeModule.$window.width() .menu-item-has-children > .wd-dropdown-menu").attr("style","")},300))},2e3)})},woodmartThemeModule.menuDropdownAside=function(){m(".wd-nav .wd-design-aside, .wd-header-cats.wd-open-dropdown .wd-nav").each(function(){var e,d=m(this).find(".menu-item");d.length&&((e=d.first()).hasClass("menu-item-has-children")||e.parents(".wd-sub-menu-wrapp").addClass("wd-empty-item"),e.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"),d.on("mouseover",function(){var e=m(this),d=e.parents(".wd-sub-menu-wrapp");e.hasClass("wd-opened")||(e.hasClass("item-level-1")&&(e.hasClass("menu-item-has-children")?d.removeClass("wd-empty-item"):d.addClass("wd-empty-item")),e.siblings().removeClass("wd-opened").find(".wd-dropdown").removeClass("wd-opened"),e.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"))}))})},window.addEventListener("wdEventStarted",function(){setTimeout(function(){woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()},100)}),window.addEventListener("wdUpdatedHeader",function(){m(".whb-header .wd-offsets-calculated").removeClass("wd-offsets-calculated"),m(".whb-header .menu-item.wd-opened, .whb-header .wd-dropdown.wd-opened").removeClass("wd-opened"),m(".whb-header .wd-dropdown-menu").attr("style",""),woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()})}(jQuery); ;!function(o){woodmartThemeModule.menuSetUp=function(){var n=o(".wd-nav, .wd-header-cats, .wd-search-cat"),d="wd-opened";function e(){woodmartThemeModule.$window.width()<=1024?n.find(" > .menu-item-has-children.wd-event-hover").each(function(){o(this).data("original-event","hover").removeClass("wd-event-hover").addClass("wd-event-click")}):n.find(" > .wd-event-click").each(function(){var e=o(this);"hover"===e.data("original-event")&&e.removeClass("wd-event-click").addClass("wd-event-hover")})}o(".mobile-nav").find("ul.wd-nav-mobile").find(" > li").has(".wd-dropdown-menu").addClass("menu-item-has-children"),woodmartThemeModule.$document.on("click",".wd-nav .wd-event-click > a, .wd-header-cats.wd-event-click > span, .wd-search-cat > a",function(e){e.preventDefault();e=o(this);e.parent().siblings().hasClass(d)&&e.parent().siblings().removeClass(d),e.parent().toggleClass(d)}),woodmartThemeModule.$document.on("click",function(e){e=e.target;!(0{window.addEventListener(e,function(){woodmartThemeModule.menuSetUp()})})}(jQuery); ;!function(i){woodmartThemeModule.loginDropdown=function(){woodmartThemeModule.windowWidth<=1024||i(".wd-dropdown-register").each(function(){var n=i(this),e=n.find(".login-dropdown-inner");e.find('input[id="username"]').on("click",function(){n.addClass("wd-active-login").removeClass("wd-active-link")}),e.find('input[id="username"]').on("input",function(){n.hasClass("wd-active-login")&&n.removeClass("wd-active-login").addClass("wd-active-link")}),e.find("input").not('[id="username"]').on("click",function(){n.removeClass("wd-active-login").removeClass("wd-active-link")}),woodmartThemeModule.$document.click(function(e){void 0!==e.target.className.length&&-1===e.target.className.indexOf("wd-dropdown-register")&&-1===e.target.className.indexOf("input-text")&&n.removeClass("wd-active-login").removeClass("wd-active-link")}),i(".wd-dropdown-register").on("mouseout",function(){n.hasClass("wd-active-link")&&n.removeClass("wd-active-link")}).on("mouseleave",function(){n.hasClass("wd-active-link")&&n.removeClass("wd-active-link")})})},i(document).ready(function(){woodmartThemeModule.loginDropdown()})}(jQuery); ;jQuery.uiBackCompat=!0 ;/*! jQuery UI - v1.14.2 - 2026-07-15 * https://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js * Copyright OpenJS Foundation and other contributors; Licensed MIT */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";x.ui=x.ui||{};x.ui.version="1.14.2"; /*! * jQuery UI Widget 1.14.2 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */var o,n,W,C,s,r,l,a,h,i,f=0,c=Array.prototype.hasOwnProperty,u=Array.prototype.slice;x.cleanData=(o=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");o(t)}),x.widget=function(t,i,e){var n,o,s,r,l={},a=t.split(".")[0];return"__proto__"===(t=t.split(".")[1])||"constructor"===t?x.error("Invalid widget name: "+t):(r=a+"-"+t,e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[r.toLowerCase()]=function(t){return!!x.data(t,r)},x[a]=x[a]||{},n=x[a][t],o=x[a][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}l[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},l,{constructor:o,namespace:a,widgetName:t,widgetFullName:r}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o)},x.widget.extend=function(t){for(var e,i,n=u.call(arguments,1),o=0,s=n.length;o",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=f++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o
")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthW(C(n),C(o))?s.important="horizontal":s.important="vertical",c.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):i.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;ni?t+i:i}function h(e,t){return Math.round((/%/.test(e)?("x"===t?E.width():n())/100:1)*parseInt(e,10))}function l(e,t){return e.photo||e.photoRegex.test(t)}function s(e,t){return e.retinaUrl&&i.devicePixelRatio>1?t.replace(e.photoRegex,e.retinaSuffix):t}function a(e){"contains"in g[0]&&!g[0].contains(e.target)&&(e.stopPropagation(),g.focus())}function d(){var t,i=e.data(N,Y);null==i?(B=e.extend({},X),console&&console.log&&console.log("Error: cboxElement missing settings object")):B=e.extend({},i);for(t in B)e.isFunction(B[t])&&"on"!==t.slice(0,2)&&(B[t]=B[t].call(N));B.rel=B.rel||N.rel||e(N).data("rel")||"nofollow",B.href=B.href||e(N).attr("href"),B.title=B.title||N.title,"string"==typeof B.href&&(B.href=e.trim(B.href))}function c(i,o){e(t).trigger(i),lt.triggerHandler(i),e.isFunction(o)&&o.call(N)}function u(i){q||(N=i,d(),k=e(N),z=0,"nofollow"!==B.rel&&(k=e("."+et).filter(function(){var t,i=e.data(this,Y);return i&&(t=e(this).data("rel")||i.rel||this.rel),t===B.rel}),z=k.index(N),-1===z&&(k=k.add(N),z=k.length-1)),w.css({opacity:parseFloat(B.opacity),cursor:B.overlayClose?"pointer":"auto",visibility:"visible"}).show(),J&&g.add(w).removeClass(J),B.className&&g.add(w).addClass(B.className),J=B.className,B.closeButton?K.html(B.close).appendTo(y):K.appendTo("
"),U||(U=$=!0,g.css({visibility:"hidden",display:"block"}),H=o(st,"LoadedContent","width:0; height:0; overflow:hidden"),y.css({width:"",height:""}).append(H),O=x.height()+C.height()+y.outerHeight(!0)-y.height(),_=b.width()+T.width()+y.outerWidth(!0)-y.width(),D=H.outerHeight(!0),A=H.outerWidth(!0),B.w=h(B.initialWidth,"x"),B.h=h(B.initialHeight,"y"),H.css({width:"",height:B.h}),Q.position(),c(tt,B.onOpen),P.add(L).hide(),g.focus(),B.trapFocus&&t.addEventListener&&(t.addEventListener("focus",a,!0),lt.one(rt,function(){t.removeEventListener("focus",a,!0)})),B.returnFocus&<.one(rt,function(){e(N).focus()})),m())}function f(){!g&&t.body&&(V=!1,E=e(i),g=o(st).attr({id:Y,"class":e.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=o(st,"Overlay").hide(),F=e([o(st,"LoadingOverlay")[0],o(st,"LoadingGraphic")[0]]),v=o(st,"Wrapper"),y=o(st,"Content").append(L=o(st,"Title"),S=o(st,"Current"),I=e('",'"].join("")})},e.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.label=function(){return this.localize("Caption Settings Dialog")},e.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.buildCSSClass=function(){return n.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.getValues=function(){var i,n,t,s=this;return n=function(t,e,i){var n,r,a=(n=s.$(e.selector),r=e.parser,Or(n.options[n.options.selectedIndex].value,r));return void 0!==a&&(t[i]=a),t},void 0===(t={})&&(t=0),r(i=Lr).reduce(function(t,e){return n(t,i[e],e)},t)},e.setValues=function(i){var n=this;o(Lr,function(t,e){!function(t,e,i){if(e)for(var n=0;ne.attributes.bandwidth||(t[l]={language:u,autoselect:!0,default:"main"===o,playlists:[(i=e,r=i.attributes,a=i.segments,s={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===(r.type||"static"),timeline:r.periodIndex,resolvedUri:"",targetDuration:r.duration,segments:a,mediaSequence:a.length?a[0].number:1},r.contentProtection&&(s.contentProtection=r.contentProtection),s)],uri:""}),t},{})),u.length&&(l.mediaGroups.SUBTITLES.subs=u.reduce(function(t,e){var i,n,r,a,s=e.attributes.lang||"text";return t[s]||(t[s]={language:s,default:!1,autoselect:!1,playlists:[(i=e,r=i.attributes,a=i.segments,"undefined"==typeof a&&(a=[{uri:r.baseUrl,timeline:r.periodIndex,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration),{attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===(r.type||"static"),timeline:r.periodIndex,resolvedUri:r.baseUrl||"",targetDuration:r.duration,segments:a,mediaSequence:a.length?a[0].number:1})],uri:""}),t},{})),l}(ss(os(t),e).map(za))},ls=function(t){return function(t){var e=Wa(t,"UTCTiming")[0];if(!e)return null;var i=$a(e);switch(i.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":i.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":i.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":i.method="DIRECT",i.value=Date.parse(i.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(Va)}return i}(os(t))},cs=function(t){return t>>>0};Ja=function(t){return Ka(t,["moov","trak"]).reduce(function(t,e){var i,n,r,a,s;return(i=Ka(e,["tkhd"])[0])?(n=i[0],a=cs(i[r=0===n?12:20]<<24|i[r+1]<<16|i[r+2]<<8|i[r+3]),(s=Ka(e,["mdia","mdhd"])[0])?(r=0===(n=s[0])?12:20,t[a]=cs(s[r]<<24|s[r+1]<<16|s[r+2]<<8|s[r+3]),t):null):null},{})},Za=function(r,t){var e,i,n;return e=Ka(t,["moof","traf"]),i=[].concat.apply([],e.map(function(n){return Ka(n,["tfhd"]).map(function(t){var e,i;return e=cs(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),i=r[e]||9e4,(Ka(n,["tfdt"]).map(function(t){var e,i;return e=t[0],i=cs(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),1===e&&(i*=Math.pow(2,32),i+=cs(t[8]<<24|t[9]<<16|t[10]<<8|t[11])),i})[0]||1/0)/i})})),n=Math.min.apply(null,i),isFinite(n)?n:0},ts=function(t){var e=Ka(t,["moov","trak"]),o=[];return e.forEach(function(t){var e=Ka(t,["mdia","hdlr"]),s=Ka(t,["tkhd"]);e.forEach(function(t,e){var i,n,r=Qa(t.subarray(8,12)),a=s[e];"vide"===r&&(n=0===(i=new DataView(a.buffer,a.byteOffset,a.byteLength)).getUint8(0)?i.getUint32(12):i.getUint32(20),o.push(n))})}),o};var hs,ds,ps,fs,ms,gs,ys,vs,_s,bs,Ts,Ss,ks,ws,Cs,Es,As,Ls,Os,Ps,Us,xs,Is,Ds,Rs,Ms,Bs,Ns,js,Fs,Vs,Hs,qs,zs,Ws,Gs,Xs,Ys,$s,Ks,Qs={findBox:Ka=function(t,e){var i,n,r,a,s,o=[];if(!e.length)return null;for(i=0;i>>1,t.samplingfrequencyindex<<7|t.channelcount<<3,6,1,2]))},Cs=function(t){return hs(xs.hdlr,Ns[t])},ws=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,t.duration>>>24&255,t.duration>>>16&255,t.duration>>>8&255,255&t.duration,85,196,0,0]);return t.samplerate&&(e[12]=t.samplerate>>>24&255,e[13]=t.samplerate>>>16&255,e[14]=t.samplerate>>>8&255,e[15]=255&t.samplerate),hs(xs.mdhd,e)},ks=function(t){return hs(xs.mdia,ws(t),Cs(t.type),gs(t))},ms=function(t){return hs(xs.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},gs=function(t){return hs(xs.minf,"video"===t.type?hs(xs.vmhd,js):hs(xs.smhd,Fs),ds(),As(t))},ys=function(t,e){for(var i=[],n=e.length;n--;)i[n]=Os(e[n]);return hs.apply(null,[xs.moof,ms(t)].concat(i))},vs=function(t){for(var e=t.length,i=[];e--;)i[e]=Ts(t[e]);return hs.apply(null,[xs.moov,bs(4294967295)].concat(i).concat(_s(t)))},_s=function(t){for(var e=t.length,i=[];e--;)i[e]=Ps(t[e]);return hs.apply(null,[xs.mvex].concat(i))},bs=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return hs(xs.mvhd,e)},Es=function(t){var e,i,n=t.samples||[],r=new Uint8Array(4+n.length);for(i=0;i>>8),r.push(255&i[e].byteLength),r=r.concat(Array.prototype.slice.call(i[e]));for(e=0;e>>8),a.push(255&n[e].byteLength),a=a.concat(Array.prototype.slice.call(n[e]));return hs(xs.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&t.width)>>8,255&t.width,(65280&t.height)>>8,255&t.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),hs(xs.avcC,new Uint8Array([1,t.profileIdc,t.profileCompatibility,t.levelIdc,255].concat([i.length]).concat(r).concat([n.length]).concat(a))),hs(xs.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])))},Xs=function(t){return hs(xs.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&t.channelcount)>>8,255&t.channelcount,(65280&t.samplesize)>>8,255&t.samplesize,0,0,0,0,(65280&t.samplerate)>>8,255&t.samplerate,0,0]),ps(t))},Ss=function(t){var e=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,0,(4278190080&t.duration)>>24,(16711680&t.duration)>>16,(65280&t.duration)>>8,255&t.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&t.width)>>8,255&t.width,0,0,(65280&t.height)>>8,255&t.height,0,0]);return hs(xs.tkhd,e)},Os=function(t){var e,i,n,r,a,s;return e=hs(xs.tfhd,new Uint8Array([0,0,0,58,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(t.baseMediaDecodeTime/(Js+1)),s=Math.floor(t.baseMediaDecodeTime%(Js+1)),i=hs(xs.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===t.type?(n=Us(t,92),hs(xs.traf,e,i,n)):(r=Es(t),n=Us(t,r.length+92),hs(xs.traf,e,i,n,r))},Ts=function(t){return t.duration=t.duration||4294967295,hs(xs.trak,Ss(t),ks(t))},Ps=function(t){var e=new Uint8Array([0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==t.type&&(e[e.length-1]=0),hs(xs.trex,e)},Ks=function(t,e){var i=0,n=0,r=0,a=0;return t.length&&(void 0!==t[0].duration&&(i=1),void 0!==t[0].size&&(n=2),void 0!==t[0].flags&&(r=4),void 0!==t[0].compositionTimeOffset&&(a=8)),[0,0,i|n|r|a,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},$s=function(t,e){var i,n,r,a;for(e+=20+16*(n=t.samples||[]).length,i=Ks(n,e),a=0;a>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size,r.flags.isLeading<<2|r.flags.dependsOn,r.flags.isDependedOn<<6|r.flags.hasRedundancy<<4|r.flags.paddingValue<<1|r.flags.isNonSyncSample,61440&r.flags.degradationPriority,15&r.flags.degradationPriority,(4278190080&r.compositionTimeOffset)>>>24,(16711680&r.compositionTimeOffset)>>>16,(65280&r.compositionTimeOffset)>>>8,255&r.compositionTimeOffset]);return hs(xs.trun,new Uint8Array(i))},Ys=function(t,e){var i,n,r,a;for(e+=20+8*(n=t.samples||[]).length,i=Ks(n,e),a=0;a>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size]);return hs(xs.trun,new Uint8Array(i))},Us=function(t,e){return"audio"===t.type?Ys(t,e):$s(t,e)};var Zs={ftyp:fs=function(){return hs(xs.ftyp,Is,Ds,Is,Rs)},mdat:function(t){return hs(xs.mdat,t)},moof:ys,moov:vs,initSegment:function(t){var e,i=fs(),n=vs(t);return(e=new Uint8Array(i.byteLength+n.byteLength)).set(i),e.set(n,i.byteLength),e}},to=function(){this.init=function(){var a={};this.on=function(t,e){a[t]||(a[t]=[]),a[t]=a[t].concat(e)},this.off=function(t,e){var i;return!!a[t]&&(i=a[t].indexOf(e),a[t]=a[t].slice(),a[t].splice(i,1),-1>>8,r=255&e,e!==this.PADDING_)if(e===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(e===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(t.pts),this.flushDisplayed(t.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=t.pts;else if(e===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(t.pts);else if(e===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(t.pts);else if(e===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(t.pts);else if(e===this.CARRIAGE_RETURN_)this.clearFormatting(t.pts),this.flushDisplayed(t.pts),this.shiftRowsUp_(),this.startPts_=t.pts;else if(e===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(e===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(t.pts),this.displayed_=bo();else if(e===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=bo();else if(e===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(t.pts),this.displayed_=bo()),this.mode_="paintOn",this.startPts_=t.pts;else if(this.isSpecialCharacter(n,r))a=vo((n=(3&n)<<8)|r),this[this.mode_](t.pts,a),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),a=vo((n=(3&n)<<8)|r),this[this.mode_](t.pts,a),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(t.pts),this[this.mode_](t.pts," "),this.column_++,14==(14&r)&&this.addFormatting(t.pts,["i"]),1==(1&r)&&this.addFormatting(t.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var s=_o.indexOf(7968&e);"rollUp"===this.mode_&&this.setRollUp(t.pts,s),s!==this.row_&&(this.clearFormatting(t.pts),this.row_=s),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(t.pts,["u"]),16==(16&e)&&(this.column_=4*((14&e)>>1)),this.isColorPAC(r)&&14==(14&r)&&this.addFormatting(t.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),a=vo(n),a+=vo(r),this[this.mode_](t.pts,a),this.column_+=a.length)}else this.lastControlCode_=null}};To.prototype=new eo,To.prototype.flushDisplayed=function(t){var e=this.displayed_.map(function(t){return t.trim()}).join("\n").replace(/^\n+|\n+$/g,"");e.length&&this.trigger("data",{startPts:this.startPts_,endPts:t,text:e,stream:this.name_})},To.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=bo(),this.nonDisplayed_=bo(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},To.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},To.prototype.isSpecialCharacter=function(t,e){return t===this.EXT_&&48<=e&&e<=63},To.prototype.isExtCharacter=function(t,e){return(t===this.EXT_+1||t===this.EXT_+2)&&32<=e&&e<=63},To.prototype.isMidRowCode=function(t,e){return t===this.EXT_&&32<=e&&e<=47},To.prototype.isOffsetControlCode=function(t,e){return t===this.OFFSET_&&33<=e&&e<=35},To.prototype.isPAC=function(t,e){return t>=this.BASE_&&t"},"");this[this.mode_](t,i)},To.prototype.clearFormatting=function(t){if(this.formatting_.length){var e=this.formatting_.reverse().reduce(function(t,e){return t+""},"");this.formatting_=[],this[this.mode_](t,e)}},To.prototype.popOn=function(t,e){var i=this.nonDisplayed_[this.row_];i+=e,this.nonDisplayed_[this.row_]=i},To.prototype.rollUp=function(t,e){var i=this.displayed_[this.row_];i+=e,this.displayed_[this.row_]=i},To.prototype.shiftRowsUp_=function(){var t;for(t=0;t>>2;o*=4,o+=3&s[7],r.timeStamp=o,void 0===e.pts&&void 0===e.dts&&(e.pts=r.timeStamp,e.dts=r.timeStamp),this.trigger("timestamp",r)}e.frames.push(r),i+=10,i+=n}while(i>>4&&(i+=t[i]+1),0===e.pid)e.type="pat",n(t.subarray(i),e),this.trigger("data",e);else if(e.pid===this.pmtPid)for(e.type="pmt",n(t.subarray(i),e),this.trigger("data",e);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,i,e]):this.processPes_(t,i,e)},this.processPes_=function(t,e,i){i.pid===this.programMapTable.video?i.streamType=ko.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=ko.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=t.subarray(e),this.trigger("data",i)}}).prototype=new eo,Do.STREAM_TYPES={h264:27,adts:15},(Ro=function(){var d=this,n={data:[],size:0},r={data:[],size:0},a={data:[],size:0},s=function(t,e,i){var n,r,a=new Uint8Array(t.size),s={type:e},o=0,u=0;if(t.data.length&&!(t.size<9)){for(s.trackId=t.data[0].pid,o=0;o>>3,c.pts*=4,c.pts+=(6&l[13])>>>1,c.dts=c.pts,64&h&&(c.dts=(14&l[14])<<27|(255&l[15])<<20|(254&l[16])<<12|(255&l[17])<<5|(254&l[18])>>>3,c.dts*=4,c.dts+=(6&l[18])>>>1)),c.data=l.subarray(9+l[8]),n="video"===e||s.packetLength<=t.size,(i||n)&&(t.size=0,t.data.length=0),n&&d.trigger("data",s)}};Ro.prototype.init.call(this),this.push=function(i){({pat:function(){},pes:function(){var t,e;switch(i.streamType){case ko.H264_STREAM_TYPE:case ko.H264_STREAM_TYPE:t=n,e="video";break;case ko.ADTS_STREAM_TYPE:t=r,e="audio";break;case ko.METADATA_STREAM_TYPE:t=a,e="timed-metadata";break;default:return}i.payloadUnitStartIndicator&&s(t,e,!0),t.data.push(i),t.size+=i.data.byteLength},pmt:function(){var t={type:"metadata",tracks:[]},e=i.programMapTable;null!==e.video&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),d.trigger("data",t)}})[i.type]()},this.flush=function(){s(n,"video"),s(r,"audio"),s(a,"timed-metadata"),this.trigger("done")}}).prototype=new eo;var No={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:Io,TransportParseStream:Do,ElementaryStream:Ro,TimestampRolloverStream:Bo,CaptionStream:So.CaptionStream,Cea608Stream:So.Cea608Stream,MetadataStream:Mo};for(var jo in ko)ko.hasOwnProperty(jo)&&(No[jo]=ko[jo]);var Fo,Vo=No,Ho=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(Fo=function(){var l;Fo.prototype.init.call(this),this.push=function(t){var e,i,n,r,a,s,o=0,u=0;if("audio"===t.type)for(l?(r=l,(l=new Uint8Array(r.byteLength+t.data.byteLength)).set(r),l.set(t.data,r.byteLength)):l=t.data;o+5>5,s=9e4*(a=1024*(1+(3&l[o+6])))/Ho[(60&l[o+2])>>>2],n=o+e,l.byteLength>>6&3),channelcount:(1&l[o+2])<<2|(192&l[o+3])>>>6,samplerate:Ho[(60&l[o+2])>>>2],samplingfrequencyindex:(60&l[o+2])>>>2,samplesize:16,data:l.subarray(o+7+i,n)}),l.byteLength===n)return void(l=void 0);u++,l=l.subarray(n)}else o++},this.flush=function(){this.trigger("done")}}).prototype=new eo;var qo,zo,Wo,Go=Fo,Xo=function(n){var r=n.byteLength,a=0,s=0;this.length=function(){return 8*r},this.bitsAvailable=function(){return 8*r+s},this.loadWord=function(){var t=n.byteLength-r,e=new Uint8Array(4),i=Math.min(4,r);if(0===i)throw new Error("no bytes available");e.set(n.subarray(t,t+i)),a=new DataView(e.buffer).getUint32(0),s=8*i,r-=i},this.skipBits=function(t){var e;t>>32-e;return 0<(s-=e)?a<<=e:0>>t))return a<<=t,s-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(zo=function(){var i,n,r=0;zo.prototype.init.call(this),this.push=function(t){var e;for(n=n?((e=new Uint8Array(n.byteLength+t.data.byteLength)).set(n),e.set(t.data,n.byteLength),e):t.data;r>4?i+20:i+10},this.parseAdtsSize=function(t,e){var i=(224&t[e+5])>>5,n=t[e+4]<<3;return 6144&t[e+3]|n|i},this.push=function(t){var e,i,n,r,a=0,s=0;for(o.length?(r=o.length,(o=new Uint8Array(t.byteLength+r)).set(o.subarray(0,r)),o.set(t,r)):o=t;3<=o.length-s;)if(o[s]!=="I".charCodeAt(0)||o[s+1]!=="D".charCodeAt(0)||o[s+2]!=="3".charCodeAt(0))if(!0&o[s]&&240==(240&o[s+1])){if(o.length-s<7)break;if((a=this.parseAdtsSize(o,s))>o.length)break;n={type:"audio",data:o.subarray(s,s+a),pts:u,dts:u},this.trigger("data",n),s+=a}else s++;else{if(o.length-s<10)break;if((a=this.parseId3TagSize(o,s))>o.length)break;i={type:"timed-metadata",data:o.subarray(s,s+a)},this.trigger("data",i),s+=a}e=o.length-s,o=0=e?t:(r.minSegmentDts=1/0,t.filter(function(t){return t.dts>=e&&(r.minSegmentDts=Math.min(r.minSegmentDts,t.dts),r.minSegmentPts=r.minSegmentDts,!0)}))},this.generateSampleTable_=function(t){var e,i,n=[];for(e=0;en.pts?e++:(i++,a-=r.byteLength,s-=r.nalCount,o-=r.duration);return 0===i?t:i===t.length?null:((u=t.slice(i)).byteLength=a,u.duration=o,u.nalCount=s,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(t){var e,i,n,r,a,s,o;for(e=h.length-1,i=t.length-1,a=null,s=!1;0<=e&&0<=i;){if(n=h[e],r=t[i],n.pts===r.pts){s=!0;break}n.pts>r.pts?e--:(e===h.length-1&&(a=i),i--)}if(!s&&null===a)return null;if(0===(o=s?i:a))return t;var u=t.slice(o),l=u.reduce(function(t,e){return t.byteLength+=e.byteLength,t.duration+=e.duration,t.nalCount+=e.nalCount,t},{byteLength:0,duration:0,nalCount:0});return u.byteLength=l.byteLength,u.duration=l.duration,u.nalCount=l.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(t){h=t}}).prototype=new eo,(du=function(t,e){this.numberOfTracks=0,this.metadataStream=e,"undefined"!=typeof t.remux?this.remuxTracks=!!t.remux:this.remuxTracks=!0,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,du.prototype.init.call(this),this.push=function(t){return t.text?this.pendingCaptions.push(t):t.frames?this.pendingMetadata.push(t):(this.pendingTracks.push(t.track),this.pendingBoxes.push(t.boxes),this.pendingBytes+=t.boxes.byteLength,"video"===t.track.type&&(this.videoTrack=t.track),void("audio"===t.track.type&&(this.audioTrack=t.track)))}}).prototype=new eo,du.prototype.flush=function(t){var e,i,n,r,a=0,s={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}for(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,bu.forEach(function(t){s.info[t]=this.videoTrack[t]},this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,_u.forEach(function(t){s.info[t]=this.audioTrack[t]},this)),1===this.pendingTracks.length?s.type=this.pendingTracks[0].type:s.type="combined",this.emittedTracks+=this.pendingTracks.length,n=Zs.initSegment(this.pendingTracks),s.initSegment=new Uint8Array(n.byteLength),s.initSegment.set(n),s.data=new Uint8Array(this.pendingBytes),r=0;r=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},(hu=function(n){var r,a,s=this,i=!0;hu.prototype.init.call(this),n=n||{},this.baseMediaDecodeTime=n.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var e={};(this.transmuxPipeline_=e).type="aac",e.metadataStream=new Vo.MetadataStream,e.aacStream=new nu,e.audioTimestampRolloverStream=new Vo.TimestampRolloverStream("audio"),e.timedMetadataTimestampRolloverStream=new Vo.TimestampRolloverStream("timed-metadata"),e.adtsStream=new Go,e.coalesceStream=new du(n,e.metadataStream),e.headOfPipeline=e.aacStream,e.aacStream.pipe(e.audioTimestampRolloverStream).pipe(e.adtsStream),e.aacStream.pipe(e.timedMetadataTimestampRolloverStream).pipe(e.metadataStream).pipe(e.coalesceStream),e.metadataStream.on("timestamp",function(t){e.aacStream.setTimestamp(t.timeStamp)}),e.aacStream.on("data",function(t){"timed-metadata"!==t.type||e.audioSegmentStream||(a=a||{timelineStartInfo:{baseMediaDecodeTime:s.baseMediaDecodeTime},codec:"adts",type:"audio"},e.coalesceStream.numberOfTracks++,e.audioSegmentStream=new cu(a,n),e.adtsStream.pipe(e.audioSegmentStream).pipe(e.coalesceStream))}),e.coalesceStream.on("data",this.trigger.bind(this,"data")),e.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setupTsPipeline=function(){var i={};(this.transmuxPipeline_=i).type="ts",i.metadataStream=new Vo.MetadataStream,i.packetStream=new Vo.TransportPacketStream,i.parseStream=new Vo.TransportParseStream,i.elementaryStream=new Vo.ElementaryStream,i.videoTimestampRolloverStream=new Vo.TimestampRolloverStream("video"),i.audioTimestampRolloverStream=new Vo.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new Vo.TimestampRolloverStream("timed-metadata"),i.adtsStream=new Go,i.h264Stream=new vu,i.captionStream=new Vo.CaptionStream,i.coalesceStream=new du(n,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream),i.elementaryStream.pipe(i.videoTimestampRolloverStream).pipe(i.h264Stream),i.elementaryStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.elementaryStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",function(t){var e;if("metadata"===t.type){for(e=t.tracks.length;e--;)r||"video"!==t.tracks[e].type?a||"audio"!==t.tracks[e].type||((a=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime):(r=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime;r&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new lu(r,n),i.videoSegmentStream.on("timelineStartInfo",function(t){a&&(a.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts))}),i.videoSegmentStream.on("processedGopsInfo",s.trigger.bind(s,"gopInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",function(t){a&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(t)}),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),a&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new cu(a,n),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream))}}),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setBaseMediaDecodeTime=function(t){var e=this.transmuxPipeline_;this.baseMediaDecodeTime=t,a&&(a.timelineStartInfo.dts=void 0,a.timelineStartInfo.pts=void 0,oo(a),a.timelineStartInfo.baseMediaDecodeTime=t,e.audioTimestampRolloverStream&&e.audioTimestampRolloverStream.discontinuity()),r&&(e.videoSegmentStream&&(e.videoSegmentStream.gopCache_=[],e.videoTimestampRolloverStream.discontinuity()),r.timelineStartInfo.dts=void 0,r.timelineStartInfo.pts=void 0,oo(r),e.captionStream.reset(),r.timelineStartInfo.baseMediaDecodeTime=t),e.timedMetadataTimestampRolloverStream&&e.timedMetadataTimestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(t){a&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(t)},this.alignGopsWith=function(t){r&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(t)},this.push=function(t){if(i){var e=pu(t);e&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():e||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(t)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new eo;var Tu,Su,ku={Transmuxer:hu,VideoSegmentStream:lu,AudioSegmentStream:cu,AUDIO_PROPERTIES:_u,VIDEO_PROPERTIES:bu},wu=Qs.parseType,Cu=function(t){return new Date(1e3*t-20828448e5)},Eu=function(t){return{isLeading:(12&t[0])>>>2,dependsOn:3&t[0],isDependedOn:(192&t[1])>>>6,hasRedundancy:(48&t[1])>>>4,paddingValue:(14&t[1])>>>1,isNonSyncSample:1&t[1],degradationPriority:t[2]<<8|t[3]}},Au={avc1:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength);return{dataReferenceIndex:e.getUint16(6),width:e.getUint16(24),height:e.getUint16(26),horizresolution:e.getUint16(28)+e.getUint16(30)/16,vertresolution:e.getUint16(32)+e.getUint16(34)/16,frameCount:e.getUint16(40),depth:e.getUint16(74),config:Tu(t.subarray(78,t.byteLength))}},avcC:function(t){var e,i,n,r,a=new DataView(t.buffer,t.byteOffset,t.byteLength),s={configurationVersion:t[0],avcProfileIndication:t[1],profileCompatibility:t[2],avcLevelIndication:t[3],lengthSizeMinusOne:3&t[4],sps:[],pps:[]},o=31&t[5];for(n=6,r=0;r>>2&63,bufferSize:t[13]<<16|t[14]<<8|t[15],maxBitrate:t[16]<<24|t[17]<<16|t[18]<<8|t[19],avgBitrate:t[20]<<24|t[21]<<16|t[22]<<8|t[23],decoderConfigDescriptor:{tag:t[24],length:t[25],audioObjectType:t[26]>>>3&31,samplingFrequencyIndex:(7&t[26])<<1|t[27]>>>7&1,channelConfiguration:t[27]>>>3&15}}}},ftyp:function(t){for(var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={majorBrand:wu(t.subarray(0,4)),minorVersion:e.getUint32(4),compatibleBrands:[]},n=8;nMALFORMED DATA");else switch(31&t[e]){case 1:r.push("slice_layer_without_partitioning_rbsp");break;case 5:r.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:r.push("sei_rbsp");break;case 7:r.push("seq_parameter_set_rbsp");break;case 8:r.push("pic_parameter_set_rbsp");break;case 9:r.push("access_unit_delimiter_rbsp");break;default:r.push("UNKNOWN NAL - "+t[e]&31)}return r}(t)}},mdhd:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n=4,r={version:i.getUint8(0),flags:new Uint8Array(t.subarray(1,4)),language:""};return 1===r.version?(n+=4,r.creationTime=Cu(i.getUint32(n)),n+=8,r.modificationTime=Cu(i.getUint32(n)),n+=4,r.timescale=i.getUint32(n),n+=8):(r.creationTime=Cu(i.getUint32(n)),n+=4,r.modificationTime=Cu(i.getUint32(n)),n+=4,r.timescale=i.getUint32(n),n+=4),r.duration=i.getUint32(n),n+=4,e=i.getUint16(n),r.language+=String.fromCharCode(96+(e>>10)),r.language+=String.fromCharCode(96+((992&e)>>5)),r.language+=String.fromCharCode(96+(31&e)),r},mdia:function(t){return{boxes:Tu(t)}},mfhd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),sequenceNumber:t[4]<<24|t[5]<<16|t[6]<<8|t[7]}},minf:function(t){return{boxes:Tu(t)}},mp4a:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={dataReferenceIndex:e.getUint16(6),channelcount:e.getUint16(16),samplesize:e.getUint16(18),samplerate:e.getUint16(24)+e.getUint16(26)/65536};return 28>4,isDependedOn:(12&t[e])>>2,hasRedundancy:3&t[e]});return i},sidx:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:i.getUint32(4),timescale:i.getUint32(8),earliestPresentationTime:i.getUint32(12),firstOffset:i.getUint32(16)},r=i.getUint16(22);for(e=24;r;e+=12,r--)n.references.push({referenceType:(128&t[e])>>>7,referencedSize:2147483647&i.getUint32(e),subsegmentDuration:i.getUint32(e+4),startsWithSap:!!(128&t[e+8]),sapType:(112&t[e+8])>>>4,sapDeltaTime:268435455&i.getUint32(e+8)});return n},smhd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),balance:t[4]+t[5]/256}},stbl:function(t){return{boxes:Tu(t)}},stco:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),chunkOffsets:[]},r=i.getUint32(4);for(e=8;r;e+=4,r--)n.chunkOffsets.push(i.getUint32(e));return n},stsc:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n=i.getUint32(4),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleToChunks:[]};for(e=8;n;e+=12,n--)r.sampleToChunks.push({firstChunk:i.getUint32(e),samplesPerChunk:i.getUint32(e+4),sampleDescriptionIndex:i.getUint32(e+8)});return r},stsd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleDescriptions:Tu(t.subarray(8))}},stsz:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleSize:i.getUint32(4),entries:[]};for(e=12;e>6,sampleHasRedundancy:(48&t[21])>>4,samplePaddingValue:(14&t[21])>>1,sampleIsDifferenceSample:!!(1&t[21]),sampleDegradationPriority:e.getUint16(22)}},trun:function(t){var e,i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),samples:[]},n=new DataView(t.buffer,t.byteOffset,t.byteLength),r=1&i.flags[2],a=4&i.flags[2],s=1&i.flags[1],o=2&i.flags[1],u=4&i.flags[1],l=8&i.flags[1],c=n.getUint32(4),h=8;for(r&&(i.dataOffset=n.getInt32(h),h+=4),a&&c&&(e={flags:Eu(t.subarray(h,h+4))},h+=4,s&&(e.duration=n.getUint32(h),h+=4),o&&(e.size=n.getUint32(h),h+=4),l&&(e.compositionTimeOffset=n.getUint32(h),h+=4),i.samples.push(e),c--);c--;)e={},s&&(e.duration=n.getUint32(h),h+=4),o&&(e.size=n.getUint32(h),h+=4),u&&(e.flags=Eu(t.subarray(h,h+4)),h+=4),l&&(e.compositionTimeOffset=n.getUint32(h),h+=4),i.samples.push(e);return i},"url ":function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4))}},vmhd:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength);return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),graphicsmode:e.getUint16(4),opcolor:new Uint16Array([e.getUint16(6),e.getUint16(8),e.getUint16(10)])}}},Lu={inspect:Tu=function(t){for(var e,i,n,r,a,s=0,o=[],u=new ArrayBuffer(t.length),l=new Uint8Array(u),c=0;c":e+"<\n"+n.map(function(t){return a+" "+t}).join("\n")+"\n"+a+" >":e+"<>"}return e+JSON.stringify(i,null,2).split("\n").map(function(t,e){return 0===e?t:a+" "+t}).join("\n")}).join("\n")+(r.boxes?"\n"+Su(r.boxes,e+1):"")}).join("\n")},parseTfdt:Au.tfdt,parseHdlr:Au.hdlr,parseTfhd:Au.tfhd,parseTrun:Au.trun},Ou=fo,Pu=So.CaptionStream,Uu=function(t,e){for(var i=t,n=0;n>>4&&(e+=t[4]+1),e},Bu=function(t){switch(t){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Nu={parseType:function(t,e){var i=Du(t);return 0===i?"pat":i===e?"pmt":e?"pes":null},parsePat:function(t){var e=Ru(t),i=4+Mu(t);return e&&(i+=t[i]+1),(31&t[i+10])<<8|t[i+11]},parsePmt:function(t){var e={},i=Ru(t),n=4+Mu(t);if(i&&(n+=t[n]+1),1&t[n+5]){var r;r=3+((15&t[n+1])<<8|t[n+2])-4;for(var a=12+((15&t[n+10])<<8|t[n+11]);a=t.byteLength)return null;var i,n=null;return 192&(i=t[e+7])&&((n={}).pts=(14&t[e+9])<<27|(255&t[e+10])<<20|(254&t[e+11])<<12|(255&t[e+12])<<5|(254&t[e+13])>>>3,n.pts*=4,n.pts+=(6&t[e+13])>>>1,n.dts=n.pts,64&i&&(n.dts=(14&t[e+14])<<27|(255&t[e+15])<<20|(254&t[e+16])<<12|(255&t[e+17])<<5|(254&t[e+18])>>>3,n.dts*=4,n.dts+=(6&t[e+18])>>>1)),n},videoPacketContainsKeyFrame:function(t){for(var e=4+Mu(t),i=t.subarray(e),n=0,r=0,a=!1;r>4?i+20:i+10},parseAdtsSize:function(t,e){var i=(224&t[e+5])>>5,n=t[e+4]<<3;return 6144&t[e+3]|n|i},parseType:function(t,e){return t[e]==="I".charCodeAt(0)&&t[e+1]==="D".charCodeAt(0)&&t[e+2]==="3".charCodeAt(0)?"timed-metadata":!0&t[e]&&240==(240&t[e+1])?"audio":null},parseSampleRate:function(t){for(var e=0;e+5>>2];e++}return null},parseAacTimestamp:function(t){var e,i,n;e=10,64&t[5]&&(e+=4,e+=Fu(t.subarray(10,14)));do{if((i=Fu(t.subarray(e+4,e+8)))<1)return null;if("PRIV"===String.fromCharCode(t[e],t[e+1],t[e+2],t[e+3])){n=t.subarray(e+10,e+i+10);for(var r=0;r>>2;return s*=4,s+=3&a[7]}}e+=10,e+=i}while(et.length){i=!0;break}null===a&&(e=t.subarray(o,o+s),a=qu.aac.parseAacTimestamp(e)),o+=s;break;case"audio":if(t.length-o<7){i=!0;break}if((s=qu.aac.parseAdtsSize(t,o))>t.length){i=!0;break}null===r&&(e=t.subarray(o,o+s),r=qu.aac.parseSampleRate(e)),n++,o+=s;break;default:o++}if(i)return null}if(null===r||null===a)return null;var u=9e4/r;return{audio:[{type:"audio",dts:a,pts:a},{type:"audio",dts:a+1024*n*u,pts:a+1024*n*u}]}}(t):Xu(t))&&(n.audio||n.video)?(function(t,e){if(t.audio&&t.audio.length){var i=e;"undefined"==typeof i&&(i=t.audio[0].dts),t.audio.forEach(function(t){t.dts=Hu(t.dts,i),t.pts=Hu(t.pts,i),t.dtsTime=t.dts/9e4,t.ptsTime=t.pts/9e4})}if(t.video&&t.video.length){var n=e;if("undefined"==typeof n&&(n=t.video[0].dts),t.video.forEach(function(t){t.dts=Hu(t.dts,n),t.pts=Hu(t.pts,n),t.dtsTime=t.dts/9e4,t.ptsTime=t.pts/9e4}),t.firstKeyFrame){var r=t.firstKeyFrame;r.dts=Hu(r.dts,n),r.pts=Hu(r.pts,n),r.dtsTime=r.dts/9e4,r.ptsTime=r.dts/9e4}}}(n,e),n):null};var $u=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ku=function(){function n(t,e){for(var i=0;i>7))^a]=a;for(s=o=0;!n[s];s^=c||1,o=l[o]||1)for(d=(d=o^o<<1^o<<2^o<<3^o<<4)>>8^255&d^99,f=16843009*u[h=u[c=u[r[n[s]=d]=s]]]^65537*h^257*c^16843008*s,p=257*u[d]^16843008*d,a=0;a<4;a++)e[a][s]=p=p<<24^p>>>8,i[a][d]=f=f<<24^f>>>8;for(a=0;a<5;a++)e[a]=e[a].slice(0),i[a]=i[a].slice(0);return t}()),this._tables=[[Qu[0][0].slice(),Qu[0][1].slice(),Qu[0][2].slice(),Qu[0][3].slice(),Qu[0][4].slice()],[Qu[1][0].slice(),Qu[1][1].slice(),Qu[1][2].slice(),Qu[1][3].slice(),Qu[1][4].slice()]];var e=void 0,i=void 0,n=void 0,r=void 0,a=void 0,s=this._tables[0][4],o=this._tables[1],u=t.length,l=1;if(4!==u&&6!==u&&8!==u)throw new Error("Invalid aes key size");for(r=t.slice(0),a=[],this._key=[r,a],e=u;e<4*u+28;e++)n=r[e-1],(e%u==0||8===u&&e%u==4)&&(n=s[n>>>24]<<24^s[n>>16&255]<<16^s[n>>8&255]<<8^s[255&n],e%u==0&&(n=n<<8^n>>>24^l<<24,l=l<<1^283*(l>>7))),r[e]=r[e-u]^n;for(i=0;e;i++,e--)n=r[3&i?e:e-4],a[i]=e<=4||i<4?n:o[0][s[n>>>24]]^o[1][s[n>>16&255]]^o[2][s[n>>8&255]]^o[3][s[255&n]]}return c.prototype.decrypt=function(t,e,i,n,r,a){var s=this._key[1],o=t^s[0],u=n^s[1],l=i^s[2],c=e^s[3],h=void 0,d=void 0,p=void 0,f=s.length/4-2,m=void 0,g=4,y=this._tables[1],v=y[0],_=y[1],b=y[2],T=y[3],S=y[4];for(m=0;m>>24]^_[u>>16&255]^b[l>>8&255]^T[255&c]^s[g],d=v[u>>>24]^_[l>>16&255]^b[c>>8&255]^T[255&o]^s[g+1],p=v[l>>>24]^_[c>>16&255]^b[o>>8&255]^T[255&u]^s[g+2],c=v[c>>>24]^_[o>>16&255]^b[u>>8&255]^T[255&l]^s[g+3],g+=4,o=h,u=d,l=p;for(m=0;m<4;m++)r[(3&-m)+a]=S[o>>>24]<<24^S[u>>16&255]<<16^S[l>>8&255]<<8^S[255&c]^s[g++],h=o,o=u,u=l,l=c,c=h},c}(),Zu=function(){function t(){$u(this,t),this.listeners={}}return t.prototype.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},t.prototype.off=function(t,e){if(!this.listeners[t])return!1;var i=this.listeners[t].indexOf(e);return this.listeners[t].splice(i,1),-1>8|t>>>24},il=function(t,e,i){var n=new Int32Array(t.buffer,t.byteOffset,t.byteLength>>2),r=new Ju(Array.prototype.slice.call(e)),a=new Uint8Array(t.byteLength),s=new Int32Array(a.buffer),o=void 0,u=void 0,l=void 0,c=void 0,h=void 0,d=void 0,p=void 0,f=void 0,m=void 0;for(o=i[0],u=i[1],l=i[2],c=i[3],m=0;mDate.now()},Pl=function(t){return t.excludeUntil&&t.excludeUntil===1/0},Ul=function(t){var e=Ol(t);return!t.disabled&&!e},xl=function(t,e){return e.attributes&&e.attributes[t]},Il=function(t,e){if(1===t.playlists.length)return!0;var i=e.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===t.playlists.filter(function(t){return!!Ul(t)&&(t.attributes.BANDWIDTH||0) "+t.end(i));return e.join(", ")},$l=function(t){for(var e=[],i=0;i=t&&i.removeCue(r)},Ql=function(t){return isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t},Jl=function(t,e,i){var r=v.WebKitDataCue||v.VTTCue;if(e&&e.forEach(function(t){var e=t.stream;this.inbandTextTracks_[e].addCue(new r(t.startTime+this.timestampOffset,t.endTime+this.timestampOffset,t.text))},t),i){var a=Ql(t.mediaSource_.duration);if(i.forEach(function(t){var n=t.cueTime+this.timestampOffset;t.frames.forEach(function(t){var e,i=new r(n,n,t.value||t.url||t.data||"");i.frame=t,i.value=t,e=i,Object.defineProperties(e.frame,{id:{get:function(){return oa.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return oa.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return oa.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}}),this.metadataTrack_.addCue(i)},this)},t),t.metadataTrack_&&t.metadataTrack_.cues&&t.metadataTrack_.cues.length){for(var n=t.metadataTrack_.cues,s=[],o=0;o>>1,t.samplingfrequencyindex<<7|t.channelcount<<3,6,1,2]))},f=function(t){return o(T.hdlr,A[t])},p=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,t.duration>>>24&255,t.duration>>>16&255,t.duration>>>8&255,255&t.duration,85,196,0,0]);return t.samplerate&&(e[12]=t.samplerate>>>24&255,e[13]=t.samplerate>>>16&255,e[14]=t.samplerate>>>8&255,e[15]=255&t.samplerate),o(T.mdhd,e)},d=function(t){return o(T.mdia,p(t),f(t.type),n(t))},a=function(t){return o(T.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},n=function(t){return o(T.minf,"video"===t.type?o(T.vmhd,L):o(T.smhd,O),e(),g(t))},t=function(t,e){for(var i=[],n=e.length;n--;)i[n]=v(e[n]);return o.apply(null,[T.moof,a(t)].concat(i))},s=function(t){for(var e=t.length,i=[];e--;)i[e]=c(t[e]);return o.apply(null,[T.moov,l(4294967295)].concat(i).concat(u(t)))},u=function(t){for(var e=t.length,i=[];e--;)i[e]=_(t[e]);return o.apply(null,[T.mvex].concat(i))},l=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return o(T.mvhd,e)},m=function(t){var e,i,n=t.samples||[],r=new Uint8Array(4+n.length);for(i=0;i>>8),r.push(255&i[e].byteLength),r=r.concat(Array.prototype.slice.call(i[e]));for(e=0;e>>8),a.push(255&n[e].byteLength),a=a.concat(Array.prototype.slice.call(n[e]));return o(T.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&t.width)>>8,255&t.width,(65280&t.height)>>8,255&t.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o(T.avcC,new Uint8Array([1,t.profileIdc,t.profileCompatibility,t.levelIdc,255].concat([i.length]).concat(r).concat([n.length]).concat(a))),o(T.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])))},M=function(t){return o(T.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&t.channelcount)>>8,255&t.channelcount,(65280&t.samplesize)>>8,255&t.samplesize,0,0,0,0,(65280&t.samplerate)>>8,255&t.samplerate,0,0]),i(t))},h=function(t){var e=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,0,(4278190080&t.duration)>>24,(16711680&t.duration)>>16,(65280&t.duration)>>8,255&t.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&t.width)>>8,255&t.width,0,0,(65280&t.height)>>8,255&t.height,0,0]);return o(T.tkhd,e)},v=function(t){var e,i,n,r,a,s;return e=o(T.tfhd,new Uint8Array([0,0,0,58,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(t.baseMediaDecodeTime/(F+1)),s=Math.floor(t.baseMediaDecodeTime%(F+1)),i=o(T.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===t.type?(n=b(t,92),o(T.traf,e,i,n)):(r=m(t),n=b(t,r.length+92),o(T.traf,e,i,n,r))},c=function(t){return t.duration=t.duration||4294967295,o(T.trak,h(t),d(t))},_=function(t){var e=new Uint8Array([0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==t.type&&(e[e.length-1]=0),o(T.trex,e)},j=function(t,e){var i=0,n=0,r=0,a=0;return t.length&&(void 0!==t[0].duration&&(i=1),void 0!==t[0].size&&(n=2),void 0!==t[0].flags&&(r=4),void 0!==t[0].compositionTimeOffset&&(a=8)),[0,0,i|n|r|a,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},N=function(t,e){var i,n,r,a;for(e+=20+16*(n=t.samples||[]).length,i=j(n,e),a=0;a>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size,r.flags.isLeading<<2|r.flags.dependsOn,r.flags.isDependedOn<<6|r.flags.hasRedundancy<<4|r.flags.paddingValue<<1|r.flags.isNonSyncSample,61440&r.flags.degradationPriority,15&r.flags.degradationPriority,(4278190080&r.compositionTimeOffset)>>>24,(16711680&r.compositionTimeOffset)>>>16,(65280&r.compositionTimeOffset)>>>8,255&r.compositionTimeOffset]);return o(T.trun,new Uint8Array(i))},B=function(t,e){var i,n,r,a;for(e+=20+8*(n=t.samples||[]).length,i=j(n,e),a=0;a>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size]);return o(T.trun,new Uint8Array(i))},b=function(t,e){return"audio"===t.type?B(t,e):N(t,e)};var V,H,q,z,W,G={ftyp:r=function(){return o(T.ftyp,S,k,S,w)},mdat:function(t){return o(T.mdat,t)},moof:t,moov:s,initSegment:function(t){var e,i=r(),n=s(t);return(e=new Uint8Array(i.byteLength+n.byteLength)).set(i),e.set(n,i.byteLength),e}},X=function(t){return t>>>0};q=function(t){return V(t,["moov","trak"]).reduce(function(t,e){var i,n,r,a,s;return(i=V(e,["tkhd"])[0])?(n=i[0],a=X(i[r=0===n?12:20]<<24|i[r+1]<<16|i[r+2]<<8|i[r+3]),(s=V(e,["mdia","mdhd"])[0])?(r=0===(n=s[0])?12:20,t[a]=X(s[r]<<24|s[r+1]<<16|s[r+2]<<8|s[r+3]),t):null):null},{})},z=function(r,t){var e,i,n;return e=V(t,["moof","traf"]),i=[].concat.apply([],e.map(function(n){return V(n,["tfhd"]).map(function(t){var e,i;return e=X(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),i=r[e]||9e4,(V(n,["tfdt"]).map(function(t){var e,i;return e=t[0],i=X(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),1===e&&(i*=Math.pow(2,32),i+=X(t[8]<<24|t[9]<<16|t[10]<<8|t[11])),i})[0]||1/0)/i})})),n=Math.min.apply(null,i),isFinite(n)?n:0},W=function(t){var e=V(t,["moov","trak"]),o=[];return e.forEach(function(t){var e=V(t,["mdia","hdlr"]),s=V(t,["tkhd"]);e.forEach(function(t,e){var i,n,r=H(t.subarray(8,12)),a=s[e];"vide"===r&&(n=0===(i=new DataView(a.buffer,a.byteOffset,a.byteLength)).getUint8(0)?i.getUint32(12):i.getUint32(20),o.push(n))})}),o};var Y={findBox:V=function(t,e){var i,n,r,a,s,o=[];if(!e.length)return null;for(i=0;i>>8,r=255&e,e!==this.PADDING_)if(e===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(e===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(t.pts),this.flushDisplayed(t.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=t.pts;else if(e===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(t.pts);else if(e===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(t.pts);else if(e===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(t.pts);else if(e===this.CARRIAGE_RETURN_)this.clearFormatting(t.pts),this.flushDisplayed(t.pts),this.shiftRowsUp_(),this.startPts_=t.pts;else if(e===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(e===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(t.pts),this.displayed_=ft();else if(e===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=ft();else if(e===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(t.pts),this.displayed_=ft()),this.mode_="paintOn",this.startPts_=t.pts;else if(this.isSpecialCharacter(n,r))a=dt((n=(3&n)<<8)|r),this[this.mode_](t.pts,a),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),a=dt((n=(3&n)<<8)|r),this[this.mode_](t.pts,a),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(t.pts),this[this.mode_](t.pts," "),this.column_++,14==(14&r)&&this.addFormatting(t.pts,["i"]),1==(1&r)&&this.addFormatting(t.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var s=pt.indexOf(7968&e);"rollUp"===this.mode_&&this.setRollUp(t.pts,s),s!==this.row_&&(this.clearFormatting(t.pts),this.row_=s),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(t.pts,["u"]),16==(16&e)&&(this.column_=4*((14&e)>>1)),this.isColorPAC(r)&&14==(14&r)&&this.addFormatting(t.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),a=dt(n),a+=dt(r),this[this.mode_](t.pts,a),this.column_+=a.length)}else this.lastControlCode_=null}};mt.prototype=new K,mt.prototype.flushDisplayed=function(t){var e=this.displayed_.map(function(t){return t.trim()}).join("\n").replace(/^\n+|\n+$/g,"");e.length&&this.trigger("data",{startPts:this.startPts_,endPts:t,text:e,stream:this.name_})},mt.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=ft(),this.nonDisplayed_=ft(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},mt.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},mt.prototype.isSpecialCharacter=function(t,e){return t===this.EXT_&&48<=e&&e<=63},mt.prototype.isExtCharacter=function(t,e){return(t===this.EXT_+1||t===this.EXT_+2)&&32<=e&&e<=63},mt.prototype.isMidRowCode=function(t,e){return t===this.EXT_&&32<=e&&e<=47},mt.prototype.isOffsetControlCode=function(t,e){return t===this.OFFSET_&&33<=e&&e<=35},mt.prototype.isPAC=function(t,e){return t>=this.BASE_&&t"},"");this[this.mode_](t,i)},mt.prototype.clearFormatting=function(t){if(this.formatting_.length){var e=this.formatting_.reverse().reduce(function(t,e){return t+""},"");this.formatting_=[],this[this.mode_](t,e)}},mt.prototype.popOn=function(t,e){var i=this.nonDisplayed_[this.row_];i+=e,this.nonDisplayed_[this.row_]=i},mt.prototype.rollUp=function(t,e){var i=this.displayed_[this.row_];i+=e,this.displayed_[this.row_]=i},mt.prototype.shiftRowsUp_=function(){var t;for(t=0;t>>2;o*=4,o+=3&s[7],r.timeStamp=o,void 0===e.pts&&void 0===e.dts&&(e.pts=r.timeStamp,e.dts=r.timeStamp),this.trigger("timestamp",r)}e.frames.push(r),i+=10,i+=n}while(i>>4&&(i+=t[i]+1),0===e.pid)e.type="pat",n(t.subarray(i),e),this.trigger("data",e);else if(e.pid===this.pmtPid)for(e.type="pmt",n(t.subarray(i),e),this.trigger("data",e);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,i,e]):this.processPes_(t,i,e)},this.processPes_=function(t,e,i){i.pid===this.programMapTable.video?i.streamType=yt.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=yt.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=t.subarray(e),this.trigger("data",i)}}).prototype=new K,At.STREAM_TYPES={h264:27,adts:15},(Lt=function(){var d=this,n={data:[],size:0},r={data:[],size:0},a={data:[],size:0},s=function(t,e,i){var n,r,a=new Uint8Array(t.size),s={type:e},o=0,u=0;if(t.data.length&&!(t.size<9)){for(s.trackId=t.data[0].pid,o=0;o>>3,c.pts*=4,c.pts+=(6&l[13])>>>1,c.dts=c.pts,64&h&&(c.dts=(14&l[14])<<27|(255&l[15])<<20|(254&l[16])<<12|(255&l[17])<<5|(254&l[18])>>>3,c.dts*=4,c.dts+=(6&l[18])>>>1)),c.data=l.subarray(9+l[8]),n="video"===e||s.packetLength<=t.size,(i||n)&&(t.size=0,t.data.length=0),n&&d.trigger("data",s)}};Lt.prototype.init.call(this),this.push=function(i){({pat:function(){},pes:function(){var t,e;switch(i.streamType){case yt.H264_STREAM_TYPE:case yt.H264_STREAM_TYPE:t=n,e="video";break;case yt.ADTS_STREAM_TYPE:t=r,e="audio";break;case yt.METADATA_STREAM_TYPE:t=a,e="timed-metadata";break;default:return}i.payloadUnitStartIndicator&&s(t,e,!0),t.data.push(i),t.size+=i.data.byteLength},pmt:function(){var t={type:"metadata",tracks:[]},e=i.programMapTable;null!==e.video&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),d.trigger("data",t)}})[i.type]()},this.flush=function(){s(n,"video"),s(r,"audio"),s(a,"timed-metadata"),this.trigger("done")}}).prototype=new K;var Ut={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:Et,TransportParseStream:At,ElementaryStream:Lt,TimestampRolloverStream:Pt,CaptionStream:gt.CaptionStream,Cea608Stream:gt.Cea608Stream,MetadataStream:Ot};for(var xt in yt)yt.hasOwnProperty(xt)&&(Ut[xt]=yt[xt]);var It,Dt=Ut,Rt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(It=function(){var l;It.prototype.init.call(this),this.push=function(t){var e,i,n,r,a,s,o=0,u=0;if("audio"===t.type)for(l?(r=l,(l=new Uint8Array(r.byteLength+t.data.byteLength)).set(r),l.set(t.data,r.byteLength)):l=t.data;o+5>5,s=9e4*(a=1024*(1+(3&l[o+6])))/Rt[(60&l[o+2])>>>2],n=o+e,l.byteLength>>6&3),channelcount:(1&l[o+2])<<2|(192&l[o+3])>>>6,samplerate:Rt[(60&l[o+2])>>>2],samplingfrequencyindex:(60&l[o+2])>>>2,samplesize:16,data:l.subarray(o+7+i,n)}),l.byteLength===n)return void(l=void 0);u++,l=l.subarray(n)}else o++},this.flush=function(){this.trigger("done")}}).prototype=new K;var Mt,Bt,Nt,jt=It,Ft=function(n){var r=n.byteLength,a=0,s=0;this.length=function(){return 8*r},this.bitsAvailable=function(){return 8*r+s},this.loadWord=function(){var t=n.byteLength-r,e=new Uint8Array(4),i=Math.min(4,r);if(0===i)throw new Error("no bytes available");e.set(n.subarray(t,t+i)),a=new DataView(e.buffer).getUint32(0),s=8*i,r-=i},this.skipBits=function(t){var e;t>>32-e;return 0<(s-=e)?a<<=e:0>>t))return a<<=t,s-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(Bt=function(){var i,n,r=0;Bt.prototype.init.call(this),this.push=function(t){var e;for(n=n?((e=new Uint8Array(n.byteLength+t.data.byteLength)).set(n),e.set(t.data,n.byteLength),e):t.data;r>4?i+20:i+10},this.parseAdtsSize=function(t,e){var i=(224&t[e+5])>>5,n=t[e+4]<<3;return 6144&t[e+3]|n|i},this.push=function(t){var e,i,n,r,a=0,s=0;for(o.length?(r=o.length,(o=new Uint8Array(t.byteLength+r)).set(o.subarray(0,r)),o.set(t,r)):o=t;3<=o.length-s;)if(o[s]!=="I".charCodeAt(0)||o[s+1]!=="D".charCodeAt(0)||o[s+2]!=="3".charCodeAt(0))if(!0&o[s]&&240==(240&o[s+1])){if(o.length-s<7)break;if((a=this.parseAdtsSize(o,s))>o.length)break;n={type:"audio",data:o.subarray(s,s+a),pts:u,dts:u},this.trigger("data",n),s+=a}else s++;else{if(o.length-s<10)break;if((a=this.parseId3TagSize(o,s))>o.length)break;i={type:"timed-metadata",data:o.subarray(s,s+a)},this.trigger("data",i),s+=a}e=o.length-s,o=0=e?t:(r.minSegmentDts=1/0,t.filter(function(t){return t.dts>=e&&(r.minSegmentDts=Math.min(r.minSegmentDts,t.dts),r.minSegmentPts=r.minSegmentDts,!0)}))},this.generateSampleTable_=function(t){var e,i,n=[];for(e=0;en.pts?e++:(i++,a-=r.byteLength,s-=r.nalCount,o-=r.duration);return 0===i?t:i===t.length?null:((u=t.slice(i)).byteLength=a,u.duration=o,u.nalCount=s,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(t){var e,i,n,r,a,s,o;for(e=h.length-1,i=t.length-1,a=null,s=!1;0<=e&&0<=i;){if(n=h[e],r=t[i],n.pts===r.pts){s=!0;break}n.pts>r.pts?e--:(e===h.length-1&&(a=i),i--)}if(!s&&null===a)return null;if(0===(o=s?i:a))return t;var u=t.slice(o),l=u.reduce(function(t,e){return t.byteLength+=e.byteLength,t.duration+=e.duration,t.nalCount+=e.nalCount,t},{byteLength:0,duration:0,nalCount:0});return u.byteLength=l.byteLength,u.duration=l.duration,u.nalCount=l.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(t){h=t}}).prototype=new K,(ae=function(t,e){this.numberOfTracks=0,this.metadataStream=e,"undefined"!=typeof t.remux?this.remuxTracks=!!t.remux:this.remuxTracks=!0,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,ae.prototype.init.call(this),this.push=function(t){return t.text?this.pendingCaptions.push(t):t.frames?this.pendingMetadata.push(t):(this.pendingTracks.push(t.track),this.pendingBoxes.push(t.boxes),this.pendingBytes+=t.boxes.byteLength,"video"===t.track.type&&(this.videoTrack=t.track),void("audio"===t.track.type&&(this.audioTrack=t.track)))}}).prototype=new K,ae.prototype.flush=function(t){var e,i,n,r,a=0,s={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}for(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,pe.forEach(function(t){s.info[t]=this.videoTrack[t]},this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,de.forEach(function(t){s.info[t]=this.audioTrack[t]},this)),1===this.pendingTracks.length?s.type=this.pendingTracks[0].type:s.type="combined",this.emittedTracks+=this.pendingTracks.length,n=G.initSegment(this.pendingTracks),s.initSegment=new Uint8Array(n.byteLength),s.initSegment.set(n),s.data=new Uint8Array(this.pendingBytes),r=0;r=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},(re=function(n){var r,a,s=this,i=!0;re.prototype.init.call(this),n=n||{},this.baseMediaDecodeTime=n.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var e={};(this.transmuxPipeline_=e).type="aac",e.metadataStream=new Dt.MetadataStream,e.aacStream=new Kt,e.audioTimestampRolloverStream=new Dt.TimestampRolloverStream("audio"),e.timedMetadataTimestampRolloverStream=new Dt.TimestampRolloverStream("timed-metadata"),e.adtsStream=new jt,e.coalesceStream=new ae(n,e.metadataStream),e.headOfPipeline=e.aacStream,e.aacStream.pipe(e.audioTimestampRolloverStream).pipe(e.adtsStream),e.aacStream.pipe(e.timedMetadataTimestampRolloverStream).pipe(e.metadataStream).pipe(e.coalesceStream),e.metadataStream.on("timestamp",function(t){e.aacStream.setTimestamp(t.timeStamp)}),e.aacStream.on("data",function(t){"timed-metadata"!==t.type||e.audioSegmentStream||(a=a||{timelineStartInfo:{baseMediaDecodeTime:s.baseMediaDecodeTime},codec:"adts",type:"audio"},e.coalesceStream.numberOfTracks++,e.audioSegmentStream=new ne(a,n),e.adtsStream.pipe(e.audioSegmentStream).pipe(e.coalesceStream))}),e.coalesceStream.on("data",this.trigger.bind(this,"data")),e.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setupTsPipeline=function(){var i={};(this.transmuxPipeline_=i).type="ts",i.metadataStream=new Dt.MetadataStream,i.packetStream=new Dt.TransportPacketStream,i.parseStream=new Dt.TransportParseStream,i.elementaryStream=new Dt.ElementaryStream,i.videoTimestampRolloverStream=new Dt.TimestampRolloverStream("video"),i.audioTimestampRolloverStream=new Dt.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new Dt.TimestampRolloverStream("timed-metadata"),i.adtsStream=new jt,i.h264Stream=new he,i.captionStream=new Dt.CaptionStream,i.coalesceStream=new ae(n,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream),i.elementaryStream.pipe(i.videoTimestampRolloverStream).pipe(i.h264Stream),i.elementaryStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.elementaryStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",function(t){var e;if("metadata"===t.type){for(e=t.tracks.length;e--;)r||"video"!==t.tracks[e].type?a||"audio"!==t.tracks[e].type||((a=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime):(r=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime;r&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new ie(r,n),i.videoSegmentStream.on("timelineStartInfo",function(t){a&&(a.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts))}),i.videoSegmentStream.on("processedGopsInfo",s.trigger.bind(s,"gopInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",function(t){a&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(t)}),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),a&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new ne(a,n),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream))}}),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setBaseMediaDecodeTime=function(t){var e=this.transmuxPipeline_;this.baseMediaDecodeTime=t,a&&(a.timelineStartInfo.dts=void 0,a.timelineStartInfo.pts=void 0,it(a),a.timelineStartInfo.baseMediaDecodeTime=t,e.audioTimestampRolloverStream&&e.audioTimestampRolloverStream.discontinuity()),r&&(e.videoSegmentStream&&(e.videoSegmentStream.gopCache_=[],e.videoTimestampRolloverStream.discontinuity()),r.timelineStartInfo.dts=void 0,r.timelineStartInfo.pts=void 0,it(r),e.captionStream.reset(),r.timelineStartInfo.baseMediaDecodeTime=t),e.timedMetadataTimestampRolloverStream&&e.timedMetadataTimestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(t){a&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(t)},this.alignGopsWith=function(t){r&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(t)},this.push=function(t){if(i){var e=se(t);e&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():e||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(t)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new K;var fe,me,ge={Transmuxer:re,VideoSegmentStream:ie,AudioSegmentStream:ne,AUDIO_PROPERTIES:de,VIDEO_PROPERTIES:pe},ye=Y.parseType,ve=function(t){return new Date(1e3*t-20828448e5)},_e=function(t){return{isLeading:(12&t[0])>>>2,dependsOn:3&t[0],isDependedOn:(192&t[1])>>>6,hasRedundancy:(48&t[1])>>>4,paddingValue:(14&t[1])>>>1,isNonSyncSample:1&t[1],degradationPriority:t[2]<<8|t[3]}},be={avc1:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength);return{dataReferenceIndex:e.getUint16(6),width:e.getUint16(24),height:e.getUint16(26),horizresolution:e.getUint16(28)+e.getUint16(30)/16,vertresolution:e.getUint16(32)+e.getUint16(34)/16,frameCount:e.getUint16(40),depth:e.getUint16(74),config:fe(t.subarray(78,t.byteLength))}},avcC:function(t){var e,i,n,r,a=new DataView(t.buffer,t.byteOffset,t.byteLength),s={configurationVersion:t[0],avcProfileIndication:t[1],profileCompatibility:t[2],avcLevelIndication:t[3],lengthSizeMinusOne:3&t[4],sps:[],pps:[]},o=31&t[5];for(n=6,r=0;r>>2&63,bufferSize:t[13]<<16|t[14]<<8|t[15],maxBitrate:t[16]<<24|t[17]<<16|t[18]<<8|t[19],avgBitrate:t[20]<<24|t[21]<<16|t[22]<<8|t[23],decoderConfigDescriptor:{tag:t[24],length:t[25],audioObjectType:t[26]>>>3&31,samplingFrequencyIndex:(7&t[26])<<1|t[27]>>>7&1,channelConfiguration:t[27]>>>3&15}}}},ftyp:function(t){for(var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={majorBrand:ye(t.subarray(0,4)),minorVersion:e.getUint32(4),compatibleBrands:[]},n=8;nMALFORMED DATA");else switch(31&t[e]){case 1:r.push("slice_layer_without_partitioning_rbsp");break;case 5:r.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:r.push("sei_rbsp");break;case 7:r.push("seq_parameter_set_rbsp");break;case 8:r.push("pic_parameter_set_rbsp");break;case 9:r.push("access_unit_delimiter_rbsp");break;default:r.push("UNKNOWN NAL - "+t[e]&31)}return r}(t)}},mdhd:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n=4,r={version:i.getUint8(0),flags:new Uint8Array(t.subarray(1,4)),language:""};return 1===r.version?(n+=4,r.creationTime=ve(i.getUint32(n)),n+=8,r.modificationTime=ve(i.getUint32(n)),n+=4,r.timescale=i.getUint32(n),n+=8):(r.creationTime=ve(i.getUint32(n)),n+=4,r.modificationTime=ve(i.getUint32(n)),n+=4,r.timescale=i.getUint32(n),n+=4),r.duration=i.getUint32(n),n+=4,e=i.getUint16(n),r.language+=String.fromCharCode(96+(e>>10)),r.language+=String.fromCharCode(96+((992&e)>>5)),r.language+=String.fromCharCode(96+(31&e)),r},mdia:function(t){return{boxes:fe(t)}},mfhd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),sequenceNumber:t[4]<<24|t[5]<<16|t[6]<<8|t[7]}},minf:function(t){return{boxes:fe(t)}},mp4a:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={dataReferenceIndex:e.getUint16(6),channelcount:e.getUint16(16),samplesize:e.getUint16(18),samplerate:e.getUint16(24)+e.getUint16(26)/65536};return 28>4,isDependedOn:(12&t[e])>>2,hasRedundancy:3&t[e]});return i},sidx:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:i.getUint32(4),timescale:i.getUint32(8),earliestPresentationTime:i.getUint32(12),firstOffset:i.getUint32(16)},r=i.getUint16(22);for(e=24;r;e+=12,r--)n.references.push({referenceType:(128&t[e])>>>7,referencedSize:2147483647&i.getUint32(e),subsegmentDuration:i.getUint32(e+4),startsWithSap:!!(128&t[e+8]),sapType:(112&t[e+8])>>>4,sapDeltaTime:268435455&i.getUint32(e+8)});return n},smhd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),balance:t[4]+t[5]/256}},stbl:function(t){return{boxes:fe(t)}},stco:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),chunkOffsets:[]},r=i.getUint32(4);for(e=8;r;e+=4,r--)n.chunkOffsets.push(i.getUint32(e));return n},stsc:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n=i.getUint32(4),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleToChunks:[]};for(e=8;n;e+=12,n--)r.sampleToChunks.push({firstChunk:i.getUint32(e),samplesPerChunk:i.getUint32(e+4),sampleDescriptionIndex:i.getUint32(e+8)});return r},stsd:function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleDescriptions:fe(t.subarray(8))}},stsz:function(t){var e,i=new DataView(t.buffer,t.byteOffset,t.byteLength),n={version:t[0],flags:new Uint8Array(t.subarray(1,4)),sampleSize:i.getUint32(4),entries:[]};for(e=12;e>6,sampleHasRedundancy:(48&t[21])>>4,samplePaddingValue:(14&t[21])>>1,sampleIsDifferenceSample:!!(1&t[21]),sampleDegradationPriority:e.getUint16(22)}},trun:function(t){var e,i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),samples:[]},n=new DataView(t.buffer,t.byteOffset,t.byteLength),r=1&i.flags[2],a=4&i.flags[2],s=1&i.flags[1],o=2&i.flags[1],u=4&i.flags[1],l=8&i.flags[1],c=n.getUint32(4),h=8;for(r&&(i.dataOffset=n.getInt32(h),h+=4),a&&c&&(e={flags:_e(t.subarray(h,h+4))},h+=4,s&&(e.duration=n.getUint32(h),h+=4),o&&(e.size=n.getUint32(h),h+=4),l&&(e.compositionTimeOffset=n.getUint32(h),h+=4),i.samples.push(e),c--);c--;)e={},s&&(e.duration=n.getUint32(h),h+=4),o&&(e.size=n.getUint32(h),h+=4),u&&(e.flags=_e(t.subarray(h,h+4)),h+=4),l&&(e.compositionTimeOffset=n.getUint32(h),h+=4),i.samples.push(e);return i},"url ":function(t){return{version:t[0],flags:new Uint8Array(t.subarray(1,4))}},vmhd:function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength);return{version:t[0],flags:new Uint8Array(t.subarray(1,4)),graphicsmode:e.getUint16(4),opcolor:new Uint16Array([e.getUint16(6),e.getUint16(8),e.getUint16(10)])}}},Te={inspect:fe=function(t){for(var e,i,n,r,a,s=0,o=[],u=new ArrayBuffer(t.length),l=new Uint8Array(u),c=0;c":e+"<\n"+n.map(function(t){return a+" "+t}).join("\n")+"\n"+a+" >":e+"<>"}return e+JSON.stringify(i,null,2).split("\n").map(function(t,e){return 0===e?t:a+" "+t}).join("\n")}).join("\n")+(r.boxes?"\n"+me(r.boxes,e+1):"")}).join("\n")},parseTfdt:be.tfdt,parseHdlr:be.hdlr,parseTfhd:be.tfhd,parseTrun:be.trun},Se=ut,ke=gt.CaptionStream,we=function(t,e){for(var i=t,n=0;nn);r++);return t.slice(r)}(this.gopBuffer_,this.mediaSource_.player_?this.mediaSource_.player_.currentTime():null,this.timeMapping_)}),this.transmuxer_.postMessage({action:"push",data:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength},[t.buffer]),this.transmuxer_.postMessage({action:"flush"})}},{key:"appendGopInfo_",value:function(t){this.gopBuffer_=function(t,e,i){if(!e.length)return t;if(i)return e.slice();for(var n=e[0].pts,r=0;r=n);r++);return t.slice(0,r).concat(e)}(this.gopBuffer_,t.data.gopInfo,this.safeAppend_)}},{key:"remove",value:function(t,e){if(this.videoBuffer_&&(this.videoBuffer_.updating=!0,this.videoBuffer_.remove(t,e),this.gopBuffer_=function(t,e,i,n){for(var r=Math.ceil(9e4*(e-n)),a=Math.ceil(9e4*(i-n)),s=t.slice(),o=t.length;o--&&!(t[o].pts<=a););if(-1===o)return s;for(var u=o+1;u--&&!(t[u].pts<=r););return u=Math.max(u,0),s.splice(u,o-u+1),s}(this.gopBuffer_,t,e,this.timeMapping_)),!this.audioDisabled_&&this.audioBuffer_&&(this.audioBuffer_.updating=!0,this.audioBuffer_.remove(t,e)),Kl(t,e,this.metadataTrack_),this.inbandTextTracks_)for(var i in this.inbandTextTracks_)Kl(t,e,this.inbandTextTracks_[i])}},{key:"processPendingSegments_",value:function(){var t={video:{segments:[],bytes:0},audio:{segments:[],bytes:0},captions:[],metadata:[]};t=this.pendingBuffers_.reduce(function(t,e){var i=e.type,n=e.data,r=e.initSegment;return t[i].segments.push(n),t[i].bytes+=n.byteLength,t[i].initSegment=r,e.captions&&(t.captions=t.captions.concat(e.captions)),e.info&&(t[i].info=e.info),e.metadata&&(t.metadata=t.metadata.concat(e.metadata)),t},t),this.videoBuffer_||this.audioBuffer_||(0===t.video.bytes&&(this.videoCodec_=null),0===t.audio.bytes&&(this.audioCodec_=null),this.createRealSourceBuffers_()),t.audio.info&&this.mediaSource_.trigger({type:"audioinfo",info:t.audio.info}),t.video.info&&this.mediaSource_.trigger({type:"videoinfo",info:t.video.info}),this.appendAudioInitSegment_&&(!this.audioDisabled_&&this.audioBuffer_&&(t.audio.segments.unshift(t.audio.initSegment),t.audio.bytes+=t.audio.initSegment.byteLength),this.appendAudioInitSegment_=!1);var e=!1;this.videoBuffer_&&t.video.bytes?(t.video.segments.unshift(t.video.initSegment),t.video.bytes+=t.video.initSegment.byteLength,this.concatAndAppendSegments_(t.video,this.videoBuffer_),Jl(this,t.captions,t.metadata)):!this.videoBuffer_||!this.audioDisabled_&&this.audioBuffer_||(e=!0),!this.audioDisabled_&&this.audioBuffer_&&this.concatAndAppendSegments_(t.audio,this.audioBuffer_),this.pendingBuffers_.length=0,e&&this.trigger("updateend"),this.bufferUpdating_=!1}},{key:"concatAndAppendSegments_",value:function(t,e){var i=0,n=void 0;if(t.bytes){n=new Uint8Array(t.bytes),t.segments.forEach(function(t){n.set(t,i),i+=t.byteLength});try{e.updating=!0,e.appendBuffer(n)}catch(t){this.mediaSource_.player_&&this.mediaSource_.player_.error({code:-3,type:"APPEND_BUFFER_ERR",message:t.message,originalError:t})}}}},{key:"abort",value:function(){this.videoBuffer_&&this.videoBuffer_.abort(),!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"reset"}),this.pendingBuffers_.length=0,this.bufferUpdating_=!1}}]),r}(),_c=function(t){function e(){al(this,e);var a=ul(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),t=void 0;for(t in a.nativeMediaSource_=new v.MediaSource,a.nativeMediaSource_)t in e.prototype||"function"!=typeof a.nativeMediaSource_[t]||(a[t]=a.nativeMediaSource_[t].bind(a.nativeMediaSource_));return a.duration_=NaN,Object.defineProperty(a,"duration",{get:function(){return this.duration_===1/0?this.duration_:this.nativeMediaSource_.duration},set:function(t){(this.duration_=t)===1/0||(this.nativeMediaSource_.duration=t)}}),Object.defineProperty(a,"seekable",{get:function(){return this.duration_===1/0?oa.createTimeRanges([[0,this.nativeMediaSource_.duration]]):this.nativeMediaSource_.seekable}}),Object.defineProperty(a,"readyState",{get:function(){return this.nativeMediaSource_.readyState}}),Object.defineProperty(a,"activeSourceBuffers",{get:function(){return this.activeSourceBuffers_}}),a.sourceBuffers=[],a.activeSourceBuffers_=[],a.updateActiveSourceBuffers_=function(){if(a.activeSourceBuffers_.length=0,1===a.sourceBuffers.length){var t=a.sourceBuffers[0];return t.appendAudioInitSegment_=!0,t.audioDisabled_=!t.audioCodec_,void a.activeSourceBuffers_.push(t)}for(var i=!1,n=!0,e=0;ethis.nativeMediaSource_.duration||isNaN(this.nativeMediaSource_.duration))&&(this.nativeMediaSource_.duration=e)}},{key:"addSourceBuffer",value:function(t){var r,e,i=void 0,n=(r={type:"",parameters:{}},e=t.trim().split(";"),r.type=e.shift().trim(),e.forEach(function(t){var e=t.trim().split("=");if(1"):function(){}};function Pc(){}var Uc=function(){function r(t,e,i,n){al(this,r),this.callbacks_=[],this.pendingCallback_=null,this.timestampOffset_=0,this.mediaSource=t,this.processedAppend_=!1,this.type_=i,this.mimeType_=e,this.logger_=Oc("SourceUpdater["+i+"]["+e+"]"),"closed"===t.readyState?t.addEventListener("sourceopen",this.createSourceBuffer_.bind(this,e,n)):this.createSourceBuffer_(e,n)}return sl(r,[{key:"createSourceBuffer_",value:function(t,e){var i=this;this.sourceBuffer_=this.mediaSource.addSourceBuffer(t),this.logger_("created SourceBuffer"),e&&(e.trigger("sourcebufferadded"),this.mediaSource.sourceBuffers.length<2)?e.on("sourcebufferadded",function(){i.start_()}):this.start_()}},{key:"start_",value:function(){var e=this;this.started_=!0,this.onUpdateendCallback_=function(){var t=e.pendingCallback_;e.pendingCallback_=null,e.logger_("buffered ["+Yl(e.buffered())+"]"),t&&t(),e.runCallback_()},this.sourceBuffer_.addEventListener("updateend",this.onUpdateendCallback_),this.runCallback_()}},{key:"abort",value:function(t){var e=this;this.processedAppend_&&this.queueCallback_(function(){e.sourceBuffer_.abort()},t)}},{key:"appendBuffer",value:function(t,e){var i=this;this.processedAppend_=!0,this.queueCallback_(function(){i.sourceBuffer_.appendBuffer(t)},e)}},{key:"buffered",value:function(){return this.sourceBuffer_?this.sourceBuffer_.buffered:oa.createTimeRanges()}},{key:"remove",value:function(t,e){var i=this,n=2 "+e+"]"),i.sourceBuffer_.remove(t,e)},n)}},{key:"updating",value:function(){return!this.sourceBuffer_||this.sourceBuffer_.updating||this.pendingCallback_}},{key:"timestampOffset",value:function(t){var e=this;return"undefined"!=typeof t&&(this.queueCallback_(function(){e.sourceBuffer_.timestampOffset=t}),this.timestampOffset_=t),this.timestampOffset_}},{key:"queueCallback_",value:function(t,e){this.callbacks_.push([t.bind(this),e]),this.runCallback_()}},{key:"runCallback_",value:function(){var t=void 0;!this.updating()&&this.callbacks_.length&&this.started_&&(t=this.callbacks_.shift(),this.pendingCallback_=t[1],t[0]())}},{key:"dispose",value:function(){this.sourceBuffer_.removeEventListener("updateend",this.onUpdateendCallback_),this.sourceBuffer_&&"open"===this.mediaSource.readyState&&this.sourceBuffer_.abort()}}]),r}(),xc={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,BUFFER_LOW_WATER_LINE_RATE:1},Ic=2,Dc=-101,Rc=-102,Mc=function(t){var e,i,n={};return t.byterange&&(n.Range=(e=t.byterange,i=e.offset+e.length-1,"bytes="+e.offset+"-"+i)),n},Bc=function(t){t.forEach(function(t){t.abort()})},Nc=function(t,e){return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:Dc,xhr:e}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:Rc,xhr:e}:t?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:Ic,xhr:e}:null},jc=function(s,o,u){var l=[],c=0;return function(t,e){if(t&&(Bc(s),l.push(t)),(c+=1)===s.length){if(e.endOfAllRequests=Date.now(),0t.code?e:t});return u(i,e)}return e.encryptedBytes?(r=e,a=u,(n=o).addEventListener("message",function t(e){if(e.data.source===r.requestId){n.removeEventListener("message",t);var i=e.data.decrypted;return r.bytes=new Uint8Array(i.bytes,i.byteOffset,i.byteLength),a(null,r)}}),void n.postMessage(Fl({source:r.requestId,encrypted:r.encryptedBytes,key:r.key.bytes,iv:r.key.iv}),[r.encryptedBytes.buffer,r.key.bytes.buffer])):u(null,e)}var n,r,a}},Fc=function(r,a){return function(t){var e,i,n;return r.stats=oa.mergeOptions(r.stats,(i=(e=t).target,(n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-i.requestTime||0}).bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n)),!r.stats.firstBytesReceivedAt&&r.stats.bytesReceived&&(r.stats.firstBytesReceivedAt=Date.now()),a(t,r)}},Vc=function(t,e,i,n,r,a,s){var o,u,l,c,h,d=[],p=jc(d,i,s);if(r.key){var f=t(oa.mergeOptions(e,{uri:r.key.resolvedUri,responseType:"arraybuffer"}),(o=r,u=p,function(t,e){var i=e.response,n=Nc(t,e);if(n)return u(n,o);if(16!==i.byteLength)return u({status:e.status,message:"Invalid HLS key at URL: "+e.uri,code:Ic,xhr:e},o);var r=new DataView(i);return o.key.bytes=new Uint32Array([r.getUint32(0),r.getUint32(4),r.getUint32(8),r.getUint32(12)]),u(null,o)}));d.push(f)}if(r.map&&!r.map.bytes){var m=t(oa.mergeOptions(e,{uri:r.map.resolvedUri,responseType:"arraybuffer",headers:Mc(r.map)}),(l=r,c=n,h=p,function(t,e){var i=e.response,n=Nc(t,e);return n?h(n,l):0===i.byteLength?h({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:Ic,xhr:e},l):(l.map.bytes=new Uint8Array(e.response),c.isInitialized()||c.init(),l.map.timescales=Qs.timescale(l.map.bytes),l.map.videoTrackIds=Qs.videoTrackIds(l.map.bytes),h(null,l))}));d.push(m)}var g,y,v,_=t(oa.mergeOptions(e,{uri:r.resolvedUri,responseType:"arraybuffer",headers:Mc(r)}),(g=r,y=n,v=p,function(t,e){var i,n=e.response,r=Nc(t,e),a=void 0;return r?v(r,g):0===n.byteLength?v({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:Ic,xhr:e},g):(g.stats={bandwidth:(i=e).bandwidth,bytesReceived:i.bytesReceived||0,roundTripTime:i.roundTripTime||0},g.key?g.encryptedBytes=new Uint8Array(e.response):g.bytes=new Uint8Array(e.response),g.map&&g.map.bytes&&(y.isInitialized()||y.init(),(a=y.parse(g.bytes,g.map.videoTrackIds,g.map.timescales))&&a.captions&&(g.captionStreams=a.captionStreams,g.fmp4Captions=a.captions)),v(null,g))}));return _.addEventListener("progress",Fc(r,a)),d.push(_),function(){return Bc(d)}},Hc=function(t,e){var i;return t&&(i=v.getComputedStyle(t))?i[e]:""},qc=function(t,n){var r=t.slice();t.sort(function(t,e){var i=n(t,e);return 0===i?r.indexOf(t)-r.indexOf(e):i})},zc=function(t,e){var i=void 0,n=void 0;return t.attributes.BANDWIDTH&&(i=t.attributes.BANDWIDTH),i=i||v.Number.MAX_VALUE,e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),i-(n=n||v.Number.MAX_VALUE)},Wc=function(t,e,i){if(!t||!e)return!1;var n=i===t.segments.length;return t.endList&&"open"===e.readyState&&n},Gc=function(t){return"number"==typeof t&&isFinite(t)},Xc=function(t){function i(t){al(this,i);var e=ul(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));if(!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return e.bandwidth=t.bandwidth,e.throughput={rate:0,count:0},e.roundTrip=NaN,e.resetStats_(),e.mediaIndex=null,e.hasPlayed_=t.hasPlayed,e.currentTime_=t.currentTime,e.seekable_=t.seekable,e.seeking_=t.seeking,e.duration_=t.duration,e.mediaSource_=t.mediaSource,e.hls_=t.hls,e.loaderType_=t.loaderType,e.startingMedia_=void 0,e.segmentMetadataTrack_=t.segmentMetadataTrack,e.goalBufferLength_=t.goalBufferLength,e.sourceType_=t.sourceType,e.inbandTextTracks_=t.inbandTextTracks,e.state_="INIT",e.checkBufferTimeout_=null,e.error_=void 0,e.currentTimeline_=-1,e.pendingSegment_=null,e.mimeType_=null,e.sourceUpdater_=null,e.xhrOptions_=null,e.activeInitSegmentId_=null,e.initSegments_={},e.captionParser_=new Iu,e.decrypter_=t.decrypter,e.syncController_=t.syncController,e.syncPoint_={segmentIndex:0,time:0},e.syncController_.on("syncinfoupdate",function(){return e.trigger("syncinfoupdate")}),e.mediaSource_.addEventListener("sourceopen",function(){return e.ended_=!1}),e.fetchAtBuffer_=!1,e.logger_=Oc("SegmentLoader["+e.loaderType_+"]"),Object.defineProperty(e,"state",{get:function(){return this.state_},set:function(t){t!==this.state_&&(this.logger_(this.state_+" -> "+t),this.state_=t)}}),e}return ol(i,oa.EventTarget),sl(i,[{key:"resetStats_",value:function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0}},{key:"dispose",value:function(){this.state="DISPOSED",this.pause(),this.abort_(),this.sourceUpdater_&&this.sourceUpdater_.dispose(),this.resetStats_(),this.captionParser_.reset()}},{key:"abort",value:function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}},{key:"abort_",value:function(){this.pendingSegment_&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null}},{key:"error",value:function(t){return"undefined"!=typeof t&&(this.error_=t),this.pendingSegment_=null,this.error_}},{key:"endOfStream",value:function(){this.ended_=!0,this.pause(),this.trigger("ended")}},{key:"buffered_",value:function(){return this.sourceUpdater_?this.sourceUpdater_.buffered():oa.createTimeRanges()}},{key:"initSegment",value:function(t){var e=1 "+t.id+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(i&&i.uri===t.uri){var a=t.mediaSequence-i.mediaSequence;this.logger_("live window shift ["+a+"]"),null!==this.mediaIndex&&(this.mediaIndex-=a),n&&(n.mediaIndex-=a,0<=n.mediaIndex&&(n.segment=t.segments[n.mediaIndex])),this.syncController_.saveExpiredSegmentInfo(i,t)}else null!==this.mediaIndex&&this.resyncLoader()}}},{key:"pause",value:function(){this.checkBufferTimeout_&&(v.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}},{key:"paused",value:function(){return null===this.checkBufferTimeout_}},{key:"mimeType",value:function(t,e){this.mimeType_||(this.mimeType_=t,this.sourceBufferEmitter_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_())}},{key:"resetEverything",value:function(t){this.ended_=!1,this.resetLoader(),this.remove(0,this.duration_(),t),this.captionParser_.clearAllCaptions(),this.trigger("reseteverything")}},{key:"resetLoader",value:function(){this.fetchAtBuffer_=!1,this.resyncLoader()}},{key:"resyncLoader",value:function(){this.mediaIndex=null,this.syncPoint_=null,this.abort()}},{key:"remove",value:function(t,e,i){if(this.sourceUpdater_&&this.sourceUpdater_.remove(t,e,i),Kl(t,e,this.segmentMetadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)Kl(t,e,this.inbandTextTracks_[n])}},{key:"monitorBuffer_",value:function(){this.checkBufferTimeout_&&v.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=v.setTimeout(this.monitorBufferTick_.bind(this),1)}},{key:"monitorBufferTick_",value:function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&v.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=v.setTimeout(this.monitorBufferTick_.bind(this),500)}},{key:"fillBuffer_",value:function(){if(!this.sourceUpdater_.updating()){this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var t=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);if(t)Wc(this.playlist_,this.mediaSource_,t.mediaIndex)?this.endOfStream():(t.mediaIndex!==this.playlist_.segments.length-1||"ended"!==this.mediaSource_.readyState||this.seeking_())&&((t.timeline!==this.currentTimeline_||null!==t.startOfSegment&&t.startOfSegment=this.goalBufferLength_())return null;if(!n&&1<=u)return null;if(null===a)return i=this.getSyncSegmentCandidate_(e),this.generateSegmentInfo_(e,i,null,!0);if(null!==i){var l=e.segments[i];return o=l&&l.end?l.end:s,this.generateSegmentInfo_(e,i+1,o,!1)}if(this.fetchAtBuffer_){var c=Dl.getMediaInfoForTime(e,s,a.segmentIndex,a.time);i=c.mediaIndex,o=c.startTime}else{var h=Dl.getMediaInfoForTime(e,r,a.segmentIndex,a.time);i=h.mediaIndex,o=h.startTime}return this.generateSegmentInfo_(e,i,o,!1)}},{key:"getSyncSegmentCandidate_",value:function(t){var e=this;if(-1===this.currentTimeline_)return 0;var i=t.segments.map(function(t,e){return{timeline:t.timeline,segmentIndex:e}}).filter(function(t){return t.timeline===e.currentTimeline_});return i.length?i[Math.min(i.length-1,1)].segmentIndex:Math.max(t.segments.length-1,0)}},{key:"generateSegmentInfo_",value:function(t,e,i,n){if(e<0||e>=t.segments.length)return null;var r=t.segments[e];return{requestId:"segment-loader-"+Math.random(),uri:r.resolvedUri,mediaIndex:e,isSyncRequest:n,startOfSegment:i,playlist:t,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:r.timeline,duration:r.duration,segment:r}}},{key:"abortRequestEarly_",value:function(t){if(this.hls_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return!1;if(Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return!1;var e=this.currentTime_(),i=t.bandwidth,n=this.pendingSegment_.duration,r=Dl.estimateSegmentRequestTime(n,i,this.playlist_,t.bytesReceived),a=function(t,e){var i=2 "+h+"] in timeline ["+v+"]"].join(" "))),this.sourceUpdater_.appendBuffer(e.bytes,this.handleUpdateEnd_.bind(this))}else this.state="READY"}},{key:"handleUpdateEnd_",value:function(){if(!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var t=this.pendingSegment_,e=t.segment,i=null!==this.mediaIndex;(this.pendingSegment_=null,this.recordThroughput_(t),this.addSegmentMetadataCue_(t),this.state="READY",this.mediaIndex=t.mediaIndex,this.fetchAtBuffer_=!0,this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate"),e.end&&this.currentTime_()-e.end>3*t.playlist.targetDuration)?this.resetEverything():(i&&this.trigger("bandwidthupdate"),this.trigger("progress"),Wc(t.playlist,this.mediaSource_,t.mediaIndex+1)&&this.endOfStream(),this.paused()||this.monitorBuffer_())}},{key:"recordThroughput_",value:function(t){var e=this.throughput.rate,i=Date.now()-t.endOfAllRequests+1,n=Math.floor(t.byteLength/i*8*1e3);this.throughput.rate+=(n-e)/++this.throughput.count}},{key:"addSegmentMetadataCue_",value:function(t){if(this.segmentMetadataTrack_){var e=t.segment,i=e.start,n=e.end;if(Gc(i)&&Gc(n)){Kl(i,n,this.segmentMetadataTrack_);var r=v.WebKitDataCue||v.VTTCue,a={bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.uri,start:i,end:n},s=new r(i,n,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}}}]),i}(),Yc=function(t){return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))},$c=new Uint8Array("\n\n".split("").map(function(t){return t.charCodeAt(0)})),Kc=function(t){function n(t){var e=1=r.adStartTime&&e<=r.adEndTime)return r}return null},Jc=Yu,Zc=[{name:"VOD",run:function(t,e,i,n,r){if(i===1/0)return null;return{time:0,segmentIndex:0}}},{name:"ProgramDateTime",run:function(t,e,i,n,r){if(!t.datetimeToDisplayTime)return null;var a=e.segments||[],s=null,o=null;r=r||0;for(var u=0;uo){var u=void 0;u=s<0?i.start-Sl(e,t.mediaIndex,r):i.end+Sl(e,t.mediaIndex+1,r),this.discontinuities[a]={time:u,accuracy:o}}}}}]),e}(),eh=new ac("./decrypter-worker.worker.js",function(t,e){var h,i,d,g,n,l,y,s,r=this;h=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},i=function(){function n(t,e){for(var i=0;i>7))^a]=a;for(s=o=0;!n[s];s^=c||1,o=l[o]||1)for(d=(d=o^o<<1^o<<2^o<<3^o<<4)>>8^255&d^99,f=16843009*u[h=u[c=u[r[n[s]=d]=s]]]^65537*h^257*c^16843008*s,p=257*u[d]^16843008*d,a=0;a<4;a++)e[a][s]=p=p<<24^p>>>8,i[a][d]=f=f<<24^f>>>8;for(a=0;a<5;a++)e[a]=e[a].slice(0),i[a]=i[a].slice(0);return t}()),this._tables=[[d[0][0].slice(),d[0][1].slice(),d[0][2].slice(),d[0][3].slice(),d[0][4].slice()],[d[1][0].slice(),d[1][1].slice(),d[1][2].slice(),d[1][3].slice(),d[1][4].slice()]];var e=void 0,i=void 0,n=void 0,r=void 0,a=void 0,s=this._tables[0][4],o=this._tables[1],u=t.length,l=1;if(4!==u&&6!==u&&8!==u)throw new Error("Invalid aes key size");for(r=t.slice(0),a=[],this._key=[r,a],e=u;e<4*u+28;e++)n=r[e-1],(e%u==0||8===u&&e%u==4)&&(n=s[n>>>24]<<24^s[n>>16&255]<<16^s[n>>8&255]<<8^s[255&n],e%u==0&&(n=n<<8^n>>>24^l<<24,l=l<<1^283*(l>>7))),r[e]=r[e-u]^n;for(i=0;e;i++,e--)n=r[3&i?e:e-4],a[i]=e<=4||i<4?n:o[0][s[n>>>24]]^o[1][s[n>>16&255]]^o[2][s[n>>8&255]]^o[3][s[255&n]]}return c.prototype.decrypt=function(t,e,i,n,r,a){var s=this._key[1],o=t^s[0],u=n^s[1],l=i^s[2],c=e^s[3],h=void 0,d=void 0,p=void 0,f=s.length/4-2,m=void 0,g=4,y=this._tables[1],v=y[0],_=y[1],b=y[2],T=y[3],S=y[4];for(m=0;m>>24]^_[u>>16&255]^b[l>>8&255]^T[255&c]^s[g],d=v[u>>>24]^_[l>>16&255]^b[c>>8&255]^T[255&o]^s[g+1],p=v[l>>>24]^_[c>>16&255]^b[o>>8&255]^T[255&u]^s[g+2],c=v[c>>>24]^_[o>>16&255]^b[u>>8&255]^T[255&l]^s[g+3],g+=4,o=h,u=d,l=p;for(m=0;m<4;m++)r[(3&-m)+a]=S[o>>>24]<<24^S[u>>16&255]<<16^S[l>>8&255]<<8^S[255&c]^s[g++],h=o,o=u,u=l,l=c,c=h},c}(),n=function(){function t(){h(this,t),this.listeners={}}return t.prototype.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},t.prototype.off=function(t,e){if(!this.listeners[t])return!1;var i=this.listeners[t].indexOf(e);return this.listeners[t].splice(i,1),-1>8|t>>>24},s=function(){function u(t,e,i,n){h(this,u);var r=u.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),o=0;for(this.asyncStream_=new l,this.asyncStream_.push(this.decryptChunk_(a.subarray(o,o+r),e,i,s)),o=r;o>2),r=new g(Array.prototype.slice.call(e)),a=new Uint8Array(t.byteLength),s=new Int32Array(a.buffer),o=void 0,u=void 0,l=void 0,c=void 0,h=void 0,d=void 0,p=void 0,f=void 0,m=void 0;for(o=i[0],u=i[1],l=i[2],c=i[3],m=0;mt.end(0)||t.start(0)>e.end(0)?this.seekable_=t:this.seekable_=oa.createTimeRanges([[e.start(0)>t.start(0)?e.start(0):t.start(0),e.end(0)=e.end(e.length-1)))return this.techWaiting_();5<=this.consecutiveUpdates&&t===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):t===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=t)}}},{key:"cancelTimer_",value:function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null}},{key:"fixesBadSeeks_",value:function(){var t=this.tech_.seeking(),e=this.seekable(),i=this.tech_.currentTime(),n=void 0;t&&this.afterSeekableWindow_(e,i)&&(n=e.end(e.length-1));t&&this.beforeSeekableWindow_(e,i)&&(n=e.start(0)+.1);return"undefined"!=typeof n&&(this.logger_("Trying to seek outside of seekable at time "+i+" with seekable range "+Yl(e)+". Seeking to "+n+"."),this.seekTo(n),!0)}},{key:"waiting_",value:function(){if(!this.techWaiting_()){var t=this.tech_.currentTime(),e=this.tech_.buffered(),i=Gl(e,t);return i.length&&t+3<=i.end(0)?(this.cancelTimer_(),this.seekTo(t),this.logger_("Stopped at "+t+" while inside a buffered region ["+i.start(0)+" -> "+i.end(0)+"]. Attempting to resume playback by seeking to the current time."),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}}},{key:"techWaiting_",value:function(){var t=this.seekable(),e=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(t,e)){var i=t.end(t.length-1);return this.logger_("Fell out of live window at time "+e+". Seeking to live point (seekable end) "+i),this.cancelTimer_(),this.seekTo(i),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var n=this.tech_.buffered(),r=Xl(n,e);if(this.videoUnderflow_(r,n,e))return this.cancelTimer_(),this.seekTo(e),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;if(0t.end(t.length-1)+.1}},{key:"beforeSeekableWindow_",value:function(t,e){return!!(t.length&&0i||t.height>n})).filter(function(t){return t.width===f[0].width&&t.height===f[0].height}),u=m[m.length-1],g=m.filter(function(t){return t.bandwidth===u.bandwidth})[0]);var y=g||p||l||s[0]||a[0];return y?y.playlist:null}(this.playlists.master,this.systemBandwidth,parseInt(Hc(this.tech_.el(),"width"),10),parseInt(Hc(this.tech_.el(),"height"),10),this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var t=this.playlists.master.playlists.filter(Dl.isEnabled);return qc(t,function(t,e){return zc(t,e)}),t.filter(function(t){return pc(t.attributes.CODECS).videoCodec})[0]||null},comparePlaylistBandwidth:zc,comparePlaylistResolution:function(t,e){var i=void 0,n=void 0;return t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(i=t.attributes.RESOLUTION.width),i=i||v.Number.MAX_VALUE,e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),i===(n=n||v.Number.MAX_VALUE)&&t.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?t.attributes.BANDWIDTH-e.attributes.BANDWIDTH:i-n},xhr:Bl()};["GOAL_BUFFER_LENGTH","MAX_GOAL_BUFFER_LENGTH","GOAL_BUFFER_LENGTH_RATE","BUFFER_LOW_WATER_LINE","MAX_BUFFER_LOW_WATER_LINE","BUFFER_LOW_WATER_LINE_RATE","BANDWIDTH_VARIANCE"].forEach(function(e){Object.defineProperty(_h,e,{get:function(){return oa.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),xc[e]},set:function(t){oa.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?oa.log.warn("value of Hls."+e+" must be greater than or equal to 0"):xc[e]=t}})});var bh=function(t){if(/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(t))return"hls";return/^application\/dash\+xml/i.test(t)?"dash":null},Th=function(t,e){for(var i=e.media(),n=-1,r=0;r",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=a(e.target),i=a(this.document[0].activeElement);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(e){this._delay(function(){a.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,i;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=a(e.target).closest(".ui-menu-item"),i=a(e.currentTarget),t[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=a(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,s,n=!0;switch(e.keyCode){case a.ui.keyCode.PAGE_UP:this.previousPage(e);break;case a.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case a.ui.keyCode.HOME:this._move("first","first",e);break;case a.ui.keyCode.END:this._move("last","last",e);break;case a.ui.keyCode.UP:this.previous(e);break;case a.ui.keyCode.DOWN:this.next(e);break;case a.ui.keyCode.LEFT:this.collapse(e);break;case a.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:this._activate(e);break;case a.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",s=n=!1,i=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),i===t?s=!0:i=t+i,t=this._filterMenuItems(i),(t=s&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),t=this._filterMenuItems(i)),t.length?(this.focus(e,t),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=a(this),t=e.prev(),i=a("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=a(this);s._isDivider(e)&&s._addClass(e,"ui-menu-divider","ui-widget-content")}),t=(i=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(t,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!a.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,s;this._hasScroll()&&(t=parseFloat(a.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(a.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(i+t):s{var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var f=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of a(t))!i.call(e,d)&&d!==n&&o(e,d,{get:()=>t[d],enumerable:!(r=u(t,d))||r.enumerable});return e};var c=e=>m(o({},"__esModule",{value:!0}),e);var p={};f(p,{default:()=>y});function y(e){if(!(typeof document>"u")){if(document.readyState==="complete"||document.readyState==="interactive")return void e();document.addEventListener("DOMContentLiteSpeedLoaded",e)}}return c(p);})(); if (typeof wp.domReady === 'object' && wp.domReady.default) { wp.domReady = wp.domReady.default; } (window.wp ||= {}).domReady = wp.domReady; })(); ;/*! This file is auto-generated */ (function() { "use strict";var wp;(wp||={}).hooks=(()=>{var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(e,n)=>{for(var s in n)v(e,s,{get:n[s],enumerable:!0})},D=(e,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!I.call(e,t)&&t!==s&&v(e,t,{get:()=>n[t],enumerable:!(r=S(n,t))||r.enumerable});return e};var T=e=>D(v({},"__esModule",{value:!0}),e);var le={};w(le,{actions:()=>ae,addAction:()=>J,addFilter:()=>K,applyFilters:()=>N,applyFiltersAsync:()=>ee,createHooks:()=>F,currentAction:()=>te,currentFilter:()=>re,defaultHooks:()=>b,didAction:()=>ie,didFilter:()=>se,doAction:()=>X,doActionAsync:()=>Y,doingAction:()=>ne,doingFilter:()=>oe,filters:()=>ce,hasAction:()=>P,hasFilter:()=>Q,removeAction:()=>L,removeAllActions:()=>U,removeAllFilters:()=>W,removeFilter:()=>M});function z(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var m=z;function E(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var f=E;function Z(e,n){return function(r,t,a,i=10){let c=e[n];if(!f(r)||!m(t))return;if(typeof a!="function"){console.error("The hook callback must be a function.");return}if(typeof i!="number"){console.error("If specified, the hook priority must be a number.");return}let l={callback:a,priority:i,namespace:t};if(c[r]){let o=c[r].handlers,d;for(d=o.length;d>0&&!(i>=o[d-1].priority);d--);d===o.length?o[d]=l:o.splice(d,0,l),c.__current.forEach(h=>{h.name===r&&h.currentIndex>=d&&h.currentIndex++})}else c[r]={handlers:[l],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,t,a,i)}}var H=Z;function C(e,n,s=!1){return function(t,a){let i=e[n];if(!f(t)||!s&&!m(a))return;if(!i[t])return 0;let c=0;if(s)c=i[t].handlers.length,i[t]={runs:i[t].runs,handlers:[]};else{let l=i[t].handlers;for(let o=l.length-1;o>=0;o--)l[o].namespace===a&&(l.splice(o,1),c++,i.__current.forEach(d=>{d.name===t&&d.currentIndex>=o&&d.currentIndex--}))}return t!=="hookRemoved"&&e.doAction("hookRemoved",t,a),c}}var p=C;function O(e,n){return function(r,t){let a=e[n];return typeof t<"u"?r in a&&a[r].handlers.some(i=>i.namespace===t):r in a}}var _=O;function j(e,n,s,r){return function(a,...i){let c=e[n];c[a]||(c[a]={handlers:[],runs:0}),c[a].runs++;let l=c[a].handlers;if(!l||!l.length)return s?i[0]:void 0;let o={name:a,currentIndex:0};async function d(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex"u"?t.__current.size>0:Array.from(t.__current).some(a=>a.name===r)}}var k=V;function q(e,n){return function(r){let t=e[n];if(f(r))return t[r]&&t[r].runs?t[r].runs:0}}var x=q;var B=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=H(this,"actions"),this.addFilter=H(this,"filters"),this.removeAction=p(this,"actions"),this.removeFilter=p(this,"filters"),this.hasAction=_(this,"actions"),this.hasFilter=_(this,"filters"),this.removeAllActions=p(this,"actions",!0),this.removeAllFilters=p(this,"filters",!0),this.doAction=A(this,"actions",!1,!1),this.doActionAsync=A(this,"actions",!1,!0),this.applyFilters=A(this,"filters",!0,!1),this.applyFiltersAsync=A(this,"filters",!0,!0),this.currentAction=y(this,"actions"),this.currentFilter=y(this,"filters"),this.doingAction=k(this,"actions"),this.doingFilter=k(this,"filters"),this.didAction=x(this,"actions"),this.didFilter=x(this,"filters")}};function G(){return new B}var F=G;var b=F(),{addAction:J,addFilter:K,removeAction:L,removeFilter:M,hasAction:P,hasFilter:Q,removeAllActions:U,removeAllFilters:W,doAction:X,doActionAsync:Y,applyFilters:N,applyFiltersAsync:ee,currentAction:te,currentFilter:re,doingAction:ne,doingFilter:oe,didAction:ie,didFilter:se,actions:ae,filters:ce}=b;return T(le);})(); (window.wp ||= {}).hooks = wp.hooks; })(); ;/*! This file is auto-generated */ (function() { "use strict";var wp;(wp||={}).i18n=(()=>{var nt=Object.create;var L=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ut=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var ft=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ot=(t,r)=>{for(var e in r)L(t,e,{get:r[e],enumerable:!0})},O=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of it(r))!lt.call(t,u)&&u!==e&&L(t,u,{get:()=>r[u],enumerable:!(n=at(r,u))||n.enumerable});return t};var st=(t,r,e)=>(e=t!=null?nt(ut(t)):{},O(r||!t||!t.__esModule?L(e,"default",{value:t,enumerable:!0}):e,t)),pt=t=>O(L({},"__esModule",{value:!0}),t);var $=ft((It,M)=>{M.exports=window.wp.hooks});var yt={};ot(yt,{__:()=>Z,_n:()=>G,_nx:()=>B,_x:()=>q,createI18n:()=>R,defaultI18n:()=>H,getLocaleData:()=>j,hasTranslation:()=>Q,isRTL:()=>J,resetLocaleData:()=>U,setLocaleData:()=>z,sprintf:()=>P,subscribe:()=>X});var ct=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function T(t,...r){var e=0;return Array.isArray(r[0])&&(r=r[0]),t.replace(ct,function(){var n,u,l,o,f;return n=arguments[3],u=arguments[5],l=arguments[7],o=arguments[9],o==="%"?"%":(l==="*"&&(l=r[e],e++),u===void 0?(n===void 0&&(n=e+1),e++,f=r[n-1]):r[0]&&typeof r[0]=="object"&&r[0].hasOwnProperty(u)&&(f=r[0][u]),o==="f"?f=parseFloat(f)||0:o==="d"&&(f=parseInt(f)||0),l!==void 0&&(o==="f"?f=f.toFixed(l):o==="s"&&(f=f.substr(0,l))),f??"")})}function P(t,...r){return T(t,...r)}var D,I,h,N;D={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};I=["(","?"];h={")":["("],":":["?","?:"]};N=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function b(t){for(var r=[],e=[],n,u,l,o;n=t.match(N);){for(u=n[0],l=t.substr(0,n.index).trim(),l&&r.push(l);o=e.pop();){if(h[u]){if(h[u][0]===o){u=h[u][1]||u;break}}else if(I.indexOf(o)>=0||D[o]":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,e){if(t)throw r;return e}};function g(t,r){var e=[],n,u,l,o,f,_;for(n=0;n{let n=new x({}),u=new Set,l=()=>{u.forEach(a=>a())},o=a=>(u.add(a),()=>u.delete(a)),f=(a="default")=>n.data[a],_=(a,i="default")=>{n.data[i]={...n.data[i],...a},n.data[i][""]={...K[""],...n.data[i]?.[""]},delete n.pluralForms[i]},v=(a,i)=>{_(a,i),l()},V=(a,i="default")=>{n.data[i]={...n.data[i],...a,"":{...K[""],...n.data[i]?.[""],...a?.[""]}},delete n.pluralForms[i],l()},W=(a,i)=>{n.data={},n.pluralForms={},v(a,i)},m=(a="default",i,s,c,d)=>(n.data[a]||_(void 0,a),n.dcnpgettext(a,i,s,c,d)),y=a=>a||"default",Y=(a,i)=>{let s=m(i,void 0,a);return e?(s=e.applyFilters("i18n.gettext",s,a,i),e.applyFilters("i18n.gettext_"+y(i),s,a,i)):s},w=(a,i,s)=>{let c=m(s,i,a);return e?(c=e.applyFilters("i18n.gettext_with_context",c,a,i,s),e.applyFilters("i18n.gettext_with_context_"+y(s),c,a,i,s)):c},k=(a,i,s,c)=>{let d=m(c,void 0,a,i,s);return e?(d=e.applyFilters("i18n.ngettext",d,a,i,s,c),e.applyFilters("i18n.ngettext_"+y(c),d,a,i,s,c)):d},tt=(a,i,s,c,d)=>{let F=m(d,c,a,i,s);return e?(F=e.applyFilters("i18n.ngettext_with_context",F,a,i,s,c,d),e.applyFilters("i18n.ngettext_with_context_"+y(d),F,a,i,s,c,d)):F},rt=()=>w("ltr","text direction")==="rtl",et=(a,i,s)=>{let c=i?i+""+a:a,d=!!n.data?.[s??"default"]?.[c];return e&&(d=e.applyFilters("i18n.has_translation",d,a,i,s),d=e.applyFilters("i18n.has_translation_"+y(s),d,a,i,s)),d};if(t&&v(t,r),e){let a=i=>{vt.test(i)&&l()};e.addAction("hookAdded","core/i18n",a),e.addAction("hookRemoved","core/i18n",a)}return{getLocaleData:f,setLocaleData:v,addLocaleData:V,resetLocaleData:W,subscribe:o,__:Y,_x:w,_n:k,_nx:tt,isRTL:rt,hasTranslation:et}};var C=st($(),1);var p=R(void 0,void 0,C.defaultHooks),H=p,j=p.getLocaleData.bind(p),z=p.setLocaleData.bind(p),U=p.resetLocaleData.bind(p),X=p.subscribe.bind(p),Z=p.__.bind(p),q=p._x.bind(p),G=p._n.bind(p),B=p._nx.bind(p),J=p.isRTL.bind(p),Q=p.hasTranslation.bind(p);return pt(yt);})(); (window.wp ||= {}).i18n = wp.i18n; })(); ;wp.i18n.setLocaleData({'text direction\u0004ltr':['ltr']}) ;(function(domain,translations){var localeData=translations.locale_data[domain]||translations.locale_data.messages;localeData[""].domain=domain;wp.i18n.setLocaleData(localeData,domain)})("default",{"translation-revision-date":"2026-08-26 20:45:30+0000","generator":"GlotPress\/4.1.0","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"es"},"Notifications":["Avisos"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}) ;/*! This file is auto-generated */ (function() { "use strict";var wp;(wp||={}).a11y=(()=>{var v=Object.create;var r=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),B=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of E(e))!I.call(t,n)&&n!==o&&r(t,n,{get:()=>e[n],enumerable:!(i=A(e,n))||i.enumerable});return t};var s=(t,e,o)=>(o=t!=null?v(C(t)):{},p(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t)),T=t=>p(r({},"__esModule",{value:!0}),t);var c=d((P,l)=>{l.exports=window.wp.domReady});var u=d((_,m)=>{m.exports=window.wp.i18n});var N={};B(N,{setup:()=>g,speak:()=>k});var w=s(c(),1);function a(t="polite"){let e=document.createElement("div");e.id=`a11y-speak-${t}`,e.className="a11y-speak-region",e.setAttribute("style","position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;word-break:normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");let{body:o}=document;return o&&o.appendChild(e),e}var f=s(u(),1);function x(){let t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=(0,f.__)("Notifications"),t.setAttribute("style","position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;word-break:normal !important;"),t.setAttribute("hidden","");let{body:e}=document;return e&&e.appendChild(t),t}function y(){let t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text");for(let o=0;o]+>/g," "),h===t&&(t+="\xA0"),h=t,t}function k(t,e){y(),t=b(t);let o=document.getElementById("a11y-speak-intro-text"),i=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");i&&e==="assertive"?i.textContent=t:n&&(n.textContent=t),o&&o.removeAttribute("hidden")}function g(){let t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");t===null&&x(),e===null&&a("assertive"),o===null&&a("polite")}(0,w.default)(g);return T(N);})(); (window.wp ||= {}).a11y = wp.a11y; })(); ;/*! * jQuery UI Autocomplete 1.14.2 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./menu","../keycode","../position","../version","../widget"],e):e(jQuery)}(function(o){"use strict";return o.widget("ui.autocomplete",{version:"1.14.2",defaultElement:"",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var t=o.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:s=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault();else if(!s){var t=o.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){n?(n=!1,e.preventDefault()):this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=o("