PageSourceSearch

https://shopper.flipp.com/tag/js/staging/flipptag.js

js flipp.com collected 2026-10-01 11:34:48 UTC 299,311 bytes, 5 lines download raw bytes

1!function(){"use strict";let e,t;(n=c||(c={})).FlippApp="FlippApp",n.ReebeeApp="ReebeeApp",n.FlippWeb="FlippWeb",n.Flyers="Flyers",n.Hosted="Hosted",n.GMA="GMA",n.Editorials="Editorials",n.Hero="Hero",n.ShopperPlatform="ShopperPlatform",n.FlippPlatformSdk="FlippPlatformSdk",n.Other="Other",n.FlippAvroDefault="FlippAvroDefault",(i=u||(u={})).Prod="Prod",i.Dev="Dev",i.Test="Test",(r=m||(m={})).StorefrontInline="StorefrontInline",r.StorefrontExpanded="StorefrontExpanded",r.UlpInline="UlpInline",r.UlpExpanded="UlpExpanded",(o=p||(p={})).Default="Default",o.Safeframe="Safeframe",o.Enabler="Enabler",o.WebView="WebView",(a=h||(h={})).Compact="Compact",a.Classic="Classic",a.MultiStandard="MultiStandard",a.FixedHeight="FixedHeight",a.VideoAd="VideoAd",a.Unknown="Unknown",(s=f||(f={})).Desktop="Desktop",s.Mobile="Mobile",s.Tablet="Tablet",(l=b||(b={})).CA="CA",l.US="US",l.Other="Other",(d=g||(g={})).Flyer="Flyer",d.Merchant="Merchant",d.Ecom="Ecom";var n,i,r,o,a,s,l,d,c,u,m,p,h,f,b,g,v,y,E,I,w,V,N,S,R,A,Z,B,C,T,U,_,G,k,F,x,X,W,Y,L,M,z,H,D,j,O,J,P,Q,K,q,$,ee,et,en,ei,er,eo,ea,es,el,ed,ec,eu,em,ep,eh,ef,eb,eg,ev,ey,eE,eI,ew,eV,eN,eS,eR,eA,eZ,eB,eC,eT,eU,e_,eG,ek,eF,ex,eX,eW,eY=Object.freeze({__proto__:null,AppInitializedSchemaId:8674,get ApplicationID(){return c},BiddingBidRequestSchemaId:8675,BiddingCallBidderSchemaId:8676,BiddingHeaderLoadedSchemaId:8677,BiddingResponseFailureSchemaId:8678,BiddingResponseSuccessSchemaId:8679,BiddingServerSubmitBidSchemaId:8680,BiddingWonAuctionSchemaId:8681,BoomboxRulesMatchSchemaId:8682,ContainerViewableImpressionSchemaId:8833,get Country(){return b},DecisionRequestContextSchemaId:8683,DecisionRequestMadeSchemaId:8684,DecisionResponseFailureSchemaId:8686,DecisionResponseSuccessSchemaId:8687,DynamicModuleClickBannerSectionSchemaId:8688,DynamicModuleClickCouponDetailsSchemaId:8689,DynamicModuleClickCouponTransferToMerchantSchemaId:8690,DynamicModuleClickEcomItemDetailsSchemaId:8691,DynamicModuleClickEcomItemTransferToMerchantSchemaId:8692,DynamicModuleClickMerchantItemDetailsSchemaId:8693,DynamicModuleClickMerchantItemTransferToMerchantSchemaId:8694,DynamicModuleImpressionCouponSchemaId:8695,DynamicModuleImpressionEcomItemSchemaId:8696,DynamicModuleImpressionMerchantItemSchemaId:8697,DynamicModuleInViewSchemaId:8698,DynamicModuleRenderStatusSchemaId:8700,DynamicModuleVideoAdHeartbeatSchemaId:8701,DynamicModuleVideoAdImpressionSchemaId:8702,get Environment(){return u},ExperienceInViewFlyerSchemaId:8703,ExperienceMeasuredTestSchemaId:8704,ExperienceScrolledBeyondSlotSchemaId:8705,ExperienceServedFallbackSchemaId:8706,get ExperienceType(){return h},FixedHeightPageChangedSchemaId:8707,FixedHeightPageFilteredSchemaId:8708,FrontendBotFilteredSchemaId:8709,ItemDetailsClickSaveSchemaId:8710,ItemDetailsClickTransferToMerchantSchemaId:8711,get ItemType(){return g},LandingClickSeeFullPageSchemaId:8713,LandingEngagedVisitPageSchemaId:8714,LandingHeartbeatPageSchemaId:8715,LandingImpressionItemSchemaId:8716,LandingInViewSchemaId:8717,LandingItemClickSaveSchemaId:8719,LandingItemClickSchemaId:8718,LandingItemClickTransferToMerchantSchemaId:8720,LandingOpenPageSchemaId:8721,get Platform(){return f},get ShopperPlatformAdView(){return p},get ShopperPlatformUx(){return m},SlotImpressionExperienceSchemaId:8722,StorefrontClickFlyerItemDetailsSchemaId:8723,StorefrontClickSeeFullFlyerSchemaId:8724,StorefrontClickSkipFlyerSchemaId:8725,StorefrontEngagedVisitFlyerSchemaId:8726,StorefrontHeartbeatFlyerSchemaId:8727,StorefrontImpressionFlyerItemSchemaId:8728,StorefrontOpenFlyerSchemaId:8729,SurveyClickSchemaId:8730,SurveyOpenSchemaId:8731}),eL=function(e,t){return(eL=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function eM(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}eL(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ez=function(){return(ez=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
1function eH(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})}function eD(e,t){var n,i,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function ej(e,t,n){if(n||2==arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var eO="staging";(ei=v||(v={})).PIXEL="pixel",ei.SCRIPT="script";var eJ=new(function(){function e(){}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.debug.apply(console,e)},e.prototype.warn=function(e){return console.warn(e),null},e.prototype.error=function(e,t){return console.error(e,t),null},e}());function eP(){if(window.top&&window.top!==window)try{return window.top.location.href}catch(e){}if(window.parent&&window.parent!==window)try{return window.parent.location.href}catch(e){return document.referrer}return window.location.href}(er=y||(y={})).shopperAdWeb="shopper-ad-web",er.shopperAdWebBotd="shopper-ad-web-botd",er.shopperAdWebBlockedTraffic="shopper-ad-web-blocked-traffic",er.shopperAdWebBlockedBeacon="shopper-ad-web-blocked-beacon";var eQ=function(e){return e instanceof Error?eK(e.message,e.stack):eK(JSON.stringify(e),Error().stack),null},eK=function(e,t,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r];return eH(void 0,ej([e,t,n],i,!0),void 0,function(e,t,n,i){var r,o;return void 0===i&&(i=y.shopperAdWeb),eD(this,function(a){switch(a.label){case 0:var s,l;if((l=null!==(s=null==t?void 0:t.toLowerCase())&&void 0!==s?s:"").includes("@user-script:")||l.includes("chrome-extension://")||l.includes("moz-extension://")||l.includes("safari-extension://")||l.includes("edge-extension://")||l.includes("extension://"))return[2];if(r={service:i,type:"error",message:e,stack:null!=t?t:"",userAgent:window.navigator.userAgent,host:null!=n?n:eP()},![y.shopperAdWebBotd,y.shopperAdWebBlockedTraffic].includes(i)&&r.userAgent.includes("bot"))return eJ.debug("Bot detected. Not Sent Error: ",r),[2];eJ.debug("Send Error: ",r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch("https://frontend-logger-stg.flippback.com/api/logging",{method:"POST",headers:{"Content-Type":"text/plain; charset=UTF-8"},body:JSON.stringify(r)})];case 2:return a.sent(),[3,4];case 3:return(o=a.sent())instanceof Error&&eJ.error("Error when sending error",o),[3,4];case 4:return[2]}})})},eq="https://holodeck.flippback.com/json-beacon-stg/v1/nativex",e$=new(function(){function e(){var e=this;this.queue=[],this.beaconErrors=0,this.isFlushing=!1,this.prodAnalytics=!1,this.sendBeaconBeforeHidden=function(){e.queue.length&&(navigator.sendBeacon(eq,encodeURIComponent(JSON.stringify(e.queue))),e.queue=[])}}return e.prototype.enqueue=function(e){if(!e)return null;this.queue.push(e),this.checkQueue()},e.prototype.start=function(){return this.checkQueue(),null},e.prototype.checkQueue=function(){!this.isFlushing&&this.queue.length&&(this.isFlushing=!0,this.flushQueue())},e.prototype.flushQueue=function(){return eH(this,void 0,void 0,function(){var e,t,n,i,r;return eD(this,function(o){switch(o.label){case 0:if(!this.queue.length)return this.isFlushing=!1,[2,null];for(e=encodeURIComponent(JSON.stringify(this.queue)),t=[];new Blob([e]).size>204800;
1)(n=this.queue.pop())&&t.push(n),e=encodeURIComponent(JSON.stringify(this.queue));eJ.debug("Flushing analytics queue",this.queue),i=ej([],this.queue,!0),this.queue=[],t.length&&(this.queue=t.concat(this.queue)),o.label=1;case 1:return o.trys.push([1,6,,7]),[4,this.sendBeacon(e)];case 2:if(o.sent(),!(this.queue.length>0))return[3,4];return[4,this.flushQueue()];case 3:return o.sent(),[3,5];case 4:this.isFlushing=!1,o.label=5;case 5:return[3,7];case 6:return r=o.sent(),this.beaconErrors+=1,this.queue=i.concat(this.queue),this.isFlushing=!1,r instanceof Error&&this.beaconErrors<=1&&eK("Unhandled Rejection: ".concat(r.message),r.stack,"shopper-ad-web-blocked-beacon",y.shopperAdWebBlockedBeacon),[3,7];case 7:return[2]}})})},e.prototype.sendBeacon=function(e){return this.prodAnalytics&&fetch("https://holodeck.flippback.com/json-beacon-stg/v1/nativex",{method:"POST",credentials:"include",headers:{"Content-Type":"text/plain; charset=UTF-8"},body:e}),fetch(eq,{method:"POST",credentials:"include",headers:{"Content-Type":"text/plain; charset=UTF-8"},body:e})},e}());e$.start();var e0=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},e2=function(e,t){var n,i,r,o=Math.floor(1e7+9e7*Math.random()),a=(null==t?void 0:t.enableDma)&&(null===(n=null==t?void 0:t.location)||void 0===n?void 0:n.country)==="US"&&null!==(r=null===(i=null==t?void 0:t.location)||void 0===i?void 0:i.metro_code)&&void 0!==r?r:"";return e.replace(/\[\[random\]\]/g,o.toString()).replace(/\[\[dmaCode\]\]/g,a)},e1=((E={})[v.PIXEL]=function(e,t){if(!e)return null;var n=null;try{var i=e2(e,t);n=new URL(i)}catch(t){return console.error("Invalid pixel url: ".concat(e)),null}if((null==t?void 0:t.params)&&n)for(var r in t.params)n.searchParams.set(r,t.params[r]);return n&&(new Image(1,1).src=n.toString()),null},E[v.SCRIPT]=function(e){var t=document.createElement("iframe");t.id=e0(),t.setAttribute("sandbox","allow-scripts"),t.style.display="none";var n=/<script[\s>]/i.test(e);return t.srcdoc=n?e:"<script>".concat(e,"</script>"),document.body.append(t),null},E),e9=function(e,t,n){return e1[e](t,n),null},e5=function(){function e(){var e=this;this.processedTags=[],this.sent={open:!1,engagement:!1,impression:!1},this.addTagsFromCampaignResponse=function(t,n,i){var r=e.buildTags(t,i);return e.addTags(r,n),null},this.addTags=function(t,n,i){return e.parseTags(t),e.payload=n,e.location=i,e.enableDma=n.enableDma,null},this.sendOpen=function(){return e.sent.open||(eJ.debug("Tags: Send open"),e.send("open"),e.sent.open=!0),null},this.sendEngagement=function(){return e.sent.engagement||(eJ.debug("Tags: Send engagement"),e.send("engagement"),e.sent.engagement=!0),null},this.sendClick=function(t){return eJ.debug("Tags: Send click"),e.send("click",{flyerItemId:t}),null},this.sendServedImpression=function(){return e.sent.impression||(eJ.debug("Tags: Send served impression"),e.send("impression"),e.sent.impression=!0),null},this.sendAnswerClick=function(t){return eJ.debug("Tags: Send Survey click: "+t),e.send("engagement",{answer:t}),null},this.reset=function(){return e.sent.open=!1,e.sent.engagement=!1,e.sent.impression=!1,e.processedTags=[],e.payload=void 0,null},this.send=function(t,n){return e.processedTags.filter(function(e){return e.event===t}).forEach(function(t){return e9(t.type,t.content,{params:n,location:e.location,enableDma:e.enableDma})}),null}}return e.prototype.buildTags=function(e,t){this.location=t;var n,i,r,o,a=null===(i=null===(n=e.storefront)||void 0===n?void 0:n.campaignConfig)||void 0===i?void 0:i.tags,s=null==a?void 0:a.advertiser,l=s?{engagement:null!==(r=s.engagement)&&void 0!==r?r:[],open:null!==(o=s.open)&&void 0!==o?o:[],impression:s.impression,click:s.click}:void 0;return ez(ez({},l?{advertiser:l}:{}),{campaignManagement:{open:[e.impressionUrl],engagement:[e.clickUrl],impression:[]}})},e.prototype.parseTags=function(e){var t,n=this,i=function(i){var r=function(r){var o=null===(t=e[i])||void 0===t?void 0:t[r];if(!o)return"continue";Array.isArray(o)||(o=[o]),o.forEach(function(e){var t,o;"string"!=typeof e?(t=e.type,o=e.content):(o=e,t=/<script[\s>]/i.test(e)?v.SCRIPT:v.PIXEL),n.processedTags.push({type:t,source:i,event:r,content:o})})};for(var o in e[i])r(o)};for(var r in e)i(r)},e}(),e3=["US","CA","DE","MX","CO"],e4=function(){var e,t,n=null===(t=null===(e=window.flippxp)||void 0===e?void 0:e.geo)||void 0===t?void 0:t.country;return!!n&&e3.includes(n)},e6=null,e8=function(e){window.flippxp&&!window.flippxp.cookieSynced&&e4()&&setTimeout(function(){var t=new Image;t.src="https://idsync.rlcdn.com/712559.gif?partner_uid=".concat(e),window.flippxp.cookieSynced=!0,t.remove()},1)};function e7(e){if(void 0===e&&(e={}),e6)return e8(e6),e6;if("userKey"in e&&e.userKey&&!e.userKey.startsWith("#"))return e8(e6=e.userKey),e.userKey;for(var t="flipp-uid",n=null,i=document.cookie.split(";"),r=0;r<i.length;r++){var o=i[r].split("="),a=o[0],s=o[1];if(a.trim()===t){n=s;break}}return n?(e8(n),n):(e6=e0())?(document.cookie=t+"="+e6+"; max-age=31536000; path=/",e8(e6),e6):null}var te="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
vendor: 4,736 bytes, line 1
1function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tn={exports:{}};eo=tn.exports,function(e,t){var n="function",i="undefined",r="object",o="string",a="major",s="model",l="name",d="type",c="vendor",u="version",m="architecture",p="console",h="mobile",f="tablet",b="smarttv",g="wearable",v="embedded",y="Amazon",E="Apple",I="ASUS",w="BlackBerry",V="Browser",N="Chrome",S="Firefox",R="Google",A="Honor",Z="Huawei",B="Microsoft",C="Motorola",T="Nvidia",U="OnePlus",_="Opera",G="OPPO",k="Samsung",F="Sharp",x="Sony",X="Xiaomi",W="Zebra",Y="Facebook",L="Chromium OS",M="Mac OS",z=" Browser",H=function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n},D=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},j=function(e,t){return typeof e===o&&-1!==O(t).indexOf(O(e))},O=function(e){return e.toLowerCase()},J=function(e,t){if(typeof e===o)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,500)},P=function(e,i){for(var o,a,s,l,d,c,u=0;u<i.length&&!d;){var m=i[u],p=i[u+1];for(o=a=0;o<m.length&&!d&&m[o];)if(d=m[o++].exec(e))for(s=0;s<p.length;s++)c=d[++a],typeof(l=p[s])===r&&l.length>0?2===l.length?typeof l[1]==n?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3===l.length?typeof l[1]!==n||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):t:this[l[0]]=c?l[1].call(this,c,l[2]):t:4===l.length&&(this[l[0]]=c?l[3].call(this,c.replace(l[1],l[2])):t):this[l]=c||t;u+=2}},Q=function(e,n){for(var i in n)if(typeof n[i]===r&&n[i].length>0){for(var o=0;o<n[i].length;o++)if(j(n[i][o],e))return"?"===i?t:i}else if(j(n[i],e))return"?"===i?t:i;return n.hasOwnProperty("*")?n["*"]:e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,u],[/opios[\/ ]+([\w\.]+)/i],[u,[l,_+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[u,[l,_+" GX"]],[/\bopr\/([\w\.]+)/i],[u,[l,_]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[u,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[u,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,u],[/quark(?:pc)?\/([-\w\.]+)/i],[u,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[u,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[l,"UC"+V]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[u,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[u,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[u,[l,"Smart Lenovo "+V]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+V],u],[/\bfocus\/([\w\.]+)/i],[u,[l,S+" Focus"]],[/\bopt\/([\w\.]+)/i],[u,[l,_+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[l,_+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[l,"MIUI"+z]],[/fxios\/([\w\.-]+)/i],[u,[l,S]],[/\bqihoobrowser\/?([\w\.]*)/i],[u,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],u],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+z],u],[/samsungbrowser\/([\w\.]+)/i],[u,[l,k+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[u,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,u],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[u,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,Y],u],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[l,"GSA"]],[/musical_ly(?:.
1+app_?version\/|_)([\w\.]+)/i],[u,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[l,N+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,N+" WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[l,"Android "+V]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[u,Q,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],u],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[l,S+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[l,[u,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[u,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[m,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[m,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[m,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[m,/ower/,"",O]],[/ sun4\w[;\)]/i],[[m,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[m,O]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[s,[c,k],[d,f]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[s,[c,k],[d,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[s,[c,E],[d,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[c,E],[d,f]],[/(macintosh);/i],[s,[c,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[c,F],[d,h]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[s,[c,A],[d,f]],[/honor([-\w ]+)[;\)]/i],[s,[c,A],[d,h]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[s,[c,Z],[d,f]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[s,[c,Z],[d,h]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[s,/_/g," "],[c,X],[d,f]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[s,/_/g," "],[c,X],[d,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[c,G],[d,h]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[s,[c,Q,{OnePlus:["304","403","203"],"*":G}],[d,f]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[c,"Vivo"],[d,h]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[s,[c,"Realme"],[d,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[s,[c,C],[d,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[c,C],[d,f]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[c,"LG"],[d,f]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[c,"LG"],[d,h]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
1(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[s,[c,"Lenovo"],[d,f]],[/(nokia) (t[12][01])/i],[c,s,[d,f]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[s,/_/g," "],[d,h],[c,"Nokia"]],[/(pixel (c|tablet))\b/i],[s,[c,R],[d,f]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[c,R],[d,h]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[s,[c,x],[d,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[c,x],[d,f]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[c,U],[d,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[s,[c,y],[d,f]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[c,y],[d,h]],[/(playbook);[-\w\),; ]+(rim)/i],[s,c,[d,f]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[s,[c,w],[d,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[c,I],[d,f]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[c,I],[d,h]],[/(nexus 9)/i],[s,[c,"HTC"],[d,f]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[c,[s,/_/g," "],[d,h]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[s,[c,"TCL"],[d,f]],[/(itel) ((\w+))/i],[[c,O],s,[d,Q,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[c,"Acer"],[d,f]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[c,"Meizu"],[d,h]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[s,[c,"Ulefone"],[d,h]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[s,[c,"Energizer"],[d,h]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[s,[c,"Cat"],[d,h]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[s,[c,"Smartfren"],[d,h]],[/droid.+; (a(?:015|06[35]|142p?))/i],[s,[c,"Nothing"],[d,h]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[s,[c,"Archos"],[d,f]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[s,[c,"Archos"],[d,h]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[c,s,[d,f]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[c,s,[d,h]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[c,s,[d,f]],[/(surface duo)/i],[s,[c,B],[d,f]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[c,"Fairphone"],[d,h]],[/(u304aa)/i],[s,[c,"AT&T"],[d,h]],[/\bsie-(\w*)/i],[s,[c,"Siemens"],[d,h]],[/\b(rct\w+) b/i],[s,[c,"RCA"],[d,f]],[/\b(venue[\d ]{2,7}) b/i],[s,[c,"Dell"],[d,f]],[/\b(q(?:mv|ta)\w+) b/i],[s,[c,"Verizon"],[d,f]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[c,"Barnes & Noble"],[d,f]],[/\b(tm\d{3}\w+) b/i],[s,[c,"NuVision"],[d,f]],[/\b(k88) b/i],[s,[c,"ZTE"],[d,f]],[/\b(nx\d{3}j) b/i],[s,[c,"ZTE"],[d,h]],[/\b(gen\d{3}) b.+49h/i],[s,[c,"Swiss"],[d,h]],[/\b(zur\d{3}) b/i],[s,[c,"Swiss"],[d,f]],[/\b((zeki)?tb.*\b) b/i],[s,[c,"Zeki"],[d,f]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[c,"Dragon Touch"],s,[d,f]],[/\b(ns-?\w{0,9}) b/i],[s,[c,"Insignia"],[d,f]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[c,"NextBook"],[d,f]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[c,"Voice"],s,[d,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[c,"LvTel"],s,[d,h]],[/\b(ph-1) /i],[s,[c,"Essential"],[d,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[c,"Envizen"],[d,f]],[/\b(trio[-\w\. ]+) b/i],[s,[c,"MachSpeed"],[d,f]],[/\btu_(1491) b/i],[s,[c,"Rotor"],[d,f]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[s,[c,T],[d,f]],[/(sprint) (\w+)/i],[c,s,[d,h]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[c,B],[d,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[c,W],[d,f]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[c,W],[d,h]],[/smart-tv.+(samsung)/i],[c,[d,b]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[c,k],[d,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[c,"LG"],[d,b]],[/(apple) ?tv/i],[c,[s,E+" TV"],[d,b]],[/crkey/i],[[s,N+"cast"],[c,R],[d,b]],[/droid.+aft(\w+)( bui|\))/i],[s,[c,y],[d,b]],[/(shield \w+ tv)/i],[s,[c,T],[d,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[s,[c,F],[d,b]],[/(bravia[\w ]+)( bui|\))/i],[s,[c,x],[d,b]],[/(mi(tv|box)-?\w+) bui/i],[s,[c,X],[d,b]],[/Hbbtv.*(technisat) (.*);/i],[c,s,[d,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[c,J],[s,J],[d,b]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[s,[d,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[c,s,[d,p]],[/droid.+; (shield)( bui|\))/i],[s,[c,T],[d,p]],[/(playstation \w+)/i],[s,[c,x],[d,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[c,B],[d,p]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[s,[c,k],[d,g]],[/((pebble))app/i,/(asu
vendor: 5,227 bytes, line 1
1s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[c,s,[d,g]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[s,[c,G],[d,g]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[s,[c,E],[d,g]],[/(opwwe\d{3})/i],[s,[c,U],[d,g]],[/(moto 360)/i],[s,[c,C],[d,g]],[/(smartwatch 3)/i],[s,[c,x],[d,g]],[/(g watch r)/i],[s,[c,"LG"],[d,g]],[/droid.+; (wt63?0{2,3})\)/i],[s,[c,W],[d,g]],[/droid.+; (glass) \d/i],[s,[c,R],[d,g]],[/(pico) (4|neo3(?: link|pro)?)/i],[c,s,[d,g]],[/; (quest( \d| pro)?)/i],[s,[c,Y],[d,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[c,[d,v]],[/(aeobc)\b/i],[s,[c,y],[d,v]],[/(homepod).+mac os/i],[s,[c,E],[d,v]],[/windows iot/i],[[d,v]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[s,[d,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[d,f]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,f]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,h]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[s,[c,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[l,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[l,u],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,u],[/ladybird\//i],[[l,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,u],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[l,[u,Q,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,Q,K],[l,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,M],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,l],[/(ubuntu) ([\w\.]+) like android/i],[[l,/(.+)/,"$1 Touch"],u],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[l,u],[/\(bb(10);/i],[u,[l,w]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[u,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[l,S+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[u,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[u,[l,N+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,L],u],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,u],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],u],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,u]]},$=function(p,b){if(typeof p===r&&(b=p,p=t),!(this instanceof $))return new $(p,b).getResult();var g=typeof e!==i&&e.navigator?e.navigator:t,v=p||(g&&g.userAgent?g.userAgent:""),y=g&&g.userAgentData?g.userAgentData:t,E=b?H(q,b):q,I=g&&g.userAgent==v;return this.getBrowser=function(){var e,i={};return i[l]=t,i[u]=t,P.call(i,v,E.browser),i[a]=typeof(e=i[u])===o?e.replace(/[^\d\.]/g,"").split(".")[0]:t,I&&g&&g.brave&&typeof g.brave.isBrave==n&&(i[l]="Brave"),i},this.getCPU=function(){var e={};return e[m]=t,P.call(e,v,E.cpu),e},this.getDevice=function(){var e={};return e[c]=t,e[s]=t,e[d]=t,P.call(e,v,E.device),I&&!e[d]&&y&&y.mobile&&(e[d]=h),I&&"Macintosh"==e[s]&&g&&typeof g.standalone!==i&&g.maxTouchPoints&&g.maxTouchPoints>2&&(e[s]="iPad",e[d]=f),e},this.getEngine=function(){var e={};return e[l]=t,e[u]=t,P.call(e,v,E.engine),e},this.getOS=function(){var e={};return e[l]=t,e[u]=t,P.call(e,v,E.os),I&&!e[l]&&y&&y.platform&&"Unknown"!=y.platform&&(e[l]=y.platform.replace(/chrome os/i,L).replace(/macos/i,M)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(e){return v=typeof e===o&&e.length>500?J(e,500):e,this},this.setUA(v),this};$.VERSION="1.0.41",$.BROWSER=D([l,u,a]),$.CPU=D([m]),$.DEVICE=D([s,c,d,p,h,b,f,g,v]),$.ENGINE=$.OS=D([l,u]),tn.exports&&(eo=tn.exports=$),eo.UAParser=$;var ee=typeof e!==i&&(e.jQuery||e.Zepto);if(ee&&!ee.ua){var et=new $;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var n in t)ee.ua[n]=t[n]}}}("object"==typeof window?window:te);
1var ti=tt(tn.exports),tr="UNKNOWN",to=function(){var e=window.screen.width||document.documentElement.clientWidth||document.body.clientWidth,t=window.screen.height||document.documentElement.clientHeight||document.body.clientHeight;return e>=1024&&t>=768?"desktop":e>=768&&t>=1024?"tablet":"mobile"},ta=function(){var e;try{var t=new ti().getResult(),n=t.browser,i=t.os,r=t.device;return{browser:n.name,browserVersion:n.version,system:i.name,systemModel:r.vendor,systemVersion:i.version,type:null!==(e=r.type)&&void 0!==e?e:"desktop"}}catch(e){return console.error("Failed to load ua-parser-js for system info:",e),{browser:void 0,browserVersion:void 0,system:void 0,systemModel:void 0,systemVersion:void 0,type:"desktop"}}},ts=function(){var e,t,n,i,r,o,a,s,l,d,c,u,m,p;return(null===(e=window.flippxp)||void 0===e?void 0:e.useragent)?{browser:null===(n=null===(t=window.flippxp)||void 0===t?void 0:t.useragent)||void 0===n?void 0:n.browser,browserVersion:null===(r=null===(i=window.flippxp)||void 0===i?void 0:i.useragent)||void 0===r?void 0:r.browserVersion,system:null===(a=null===(o=window.flippxp)||void 0===o?void 0:o.useragent)||void 0===a?void 0:a.system,systemModel:null===(l=null===(s=window.flippxp)||void 0===s?void 0:s.useragent)||void 0===l?void 0:l.systemModel,systemVersion:null===(c=null===(d=window.flippxp)||void 0===d?void 0:d.useragent)||void 0===c?void 0:c.systemVersion,type:"mobile"!==(p=null===(m=null===(u=window.flippxp)||void 0===u?void 0:u.useragent)||void 0===m?void 0:m.type)?to():p}:ta()},tl=new(function(){function e(){}return e.prototype.getDeviceInfo=function(e){if(this.deviceInfo)return this.deviceInfo;var t=ts(),n=t.browser,i=t.browserVersion,r=t.system,o=t.systemModel,a=t.systemVersion,s=t.type;return this.deviceInfo=ez({browser:null!=n?n:tr,browserVersion:null!=i?i:"NA",devicePixelRatio:Math.round(1e3*window.devicePixelRatio)||0,host:document.referrer,iframeWidth:window.innerWidth,screenHeight:window.screen.height,screenWidth:window.screen.width,system:null!=r?r:tr,systemModel:null!=o?o:tr,systemVersion:null!=a?a:"NA",type:null!=s?s:"desktop"},e),this.deviceInfo},e}()),td=function(e,t){if(void 0===t&&(t=0),"number"==typeof e)return e;if("string"==typeof e){var n=parseInt(e,10);return isNaN(n)?t:n}return t};function tc(e){return e.integrationType===S.PREBID?S.PREBID:e.integrationType===S.OPENRTB?S.OPENRTB:e.prebid?S.PREBID:e.nestedIframe?S.NESTED_IFRAME:e.isGoogleAmp?S.GOOGLE_AMP:e.standalone?S.STANDALONE:S.NATIVE}(ea=I||(I={})).INLINE="inline",ea.DEFAULT="default",ea.ULP="ulp",ea.SURVEY="survey",(es=w||(w={})).development="development",es.staging="staging",es.production="production",(el=V||(V={})).SCROLL="scroll",el.ENGAGEMENT="engagement",el.OPEN="open",el.HEARTBEAT="heartbeat",(ed=N||(N={})).Compact="Compact",ed.Classic="Classic",ed.MultiStandard="MultiStandard",ed.Unknown="Unknown",ed.FixedHeight="FixedHeight",ed.VideoAd="VideoAd",(ec=S||(S={})).PREBID="prebid",ec.NESTED_IFRAME="nestedIframe",ec.GOOGLE_AMP="googleAmp",ec.STANDALONE="standalone",ec.NATIVE="native",ec.OPENRTB="openrtb",(eu=R||(R={})).PROGRESS_BAR_CLICK="progressBarClick",eu.SWIPE="swipe",(em=A||(A={})).CLICK_MEATBALL="CLICK_MEATBALL",em.SHARE_ITEM="SHARE_ITEM",em.SEE_ITEM="SEE_ITEM",em.CLIP_ITEM="CLIP_ITEM",em.SEE_MERCHANT_ITEM="SEE_MERCHANT_ITEM",em.CLIP_MERCHANT_ITEM="CLIP_MERCHANT_ITEM",em.CLICK="CLICK",em.CLIP_ECOM_ITEM="CLIP_ECOM_ITEM",em.ITEM_IMPRESSION="ITEM_IMPRESSION",em.SEE_ALL_DEALS="SEE_ALL_DEALS";var tu=function(e){var t,n,i,r,o;return{"com.flipp.beacon.shopperPlatform.entity.MerchantItemData":{merchantItem:{globalID:null!==(t=e.global_id)&&void 0!==t?t:"-1",price:{double:null!==(n=e.price)&&void 0!==n?n:-1}},storeId:e.store_code?td(e.store_code):-1,url:null!==(i=e.link)&&void 0!==i?i:"",itemName:"",position:-1,offerId:null!==(o=null!==(r=e.global_id)&&void 0!==r?r:e.global_id_int)&&void 0!==o?o:""}}},tm=function(e){var t,n,i,r;return{"com.flipp.beacon.shopperPlatform.entity.EcomItemData":{ecomItem:{id:"id"in e&&e.id?td(e.id):-1,itemId:"item_id"in e&&e.item_id?{string:e.item_id}:"global_id_int"in e&&e.global_id_int?{string:e.global_id_int}:"global_id"in e&&e.global_id?{string:e.global_id}:null,sku:"sku"in e&&e.sku?{string:e.sku||""}:null,globalId:"global_id_int"in e&&e.global_id_int?{string:e.global_id_int}:"global_id"in e&&e.global_id?{string:e.global_id}:null},url:null!==(n=null!==(t=e.link)&&void 0!==t?t:"url"in e?e.url:"")&&void 0!==n?n:"",itemName:"",price:null,position:-1,offerId:null!==(r=null!==(i="global_id"in e?e.global_id:void 0)&&void 0!==i?i:"global_id_int"in e?e.global_id_int:void 0)&&void 0!==r?r:""}}},tp=function(e,t){var n={merchantId:t.merchant_id},i=e===g.Flyer?{"com.flipp.beacon.shopperPlatform.entity.FlyerItemData":{flyer:{flyerId:td(t.flyer_id,0),flyerRunId:-1,flyerTypeId:-1,storeId:null,premium:!!t.premium},flyerItem:{id:td(t.flyer_item_id,0)}}}:null,r=e===g.Merchant?tu(t):null,o=e===g.Ecom?tm(t):null;return{itemType:e,merchant:n,flyerItemData:i,merchantItemData:r,ecomItemData:o}},th=function(e){switch(e){case"flyer":return g.Flyer;case"merchant_item":case"merchant":return g.Merchant;case"ecom":return g.Ecom;default:throw Error("ULP item type not recognized")}},tf=function(e){switch(e){case A.CLICK_MEATBALL:return 8718;case A.SHARE_ITEM:case A.CLIP_ITEM:case A.CLIP_MERCHANT_ITEM:case A.CLIP_ECOM_ITEM:return 8719;case A.SEE_ITEM:case A.SEE_MERCHANT_ITEM:case A.CLICK:return 8720;case A.SEE_ALL_DEALS:case A.ITEM_IMPRESSION:default:throw Error("No schema associated with ULP message")}},tb=function(e){var t,n,i=e.decision,r=i.campaignId,o=i.flightId,a=i.advertiserId,s=i.
1creativeId,l=i.adId,d=i.storefront,c=e.siteId,u=e.zoneId,m=e.positionIndex,p=e.customUrl;return{campaignId:r,flightId:o,advertiserId:a,creativeId:s,adId:l,siteId:c,zoneId:u,customUrl:p?{string:p}:null,positionIndex:m?{int:m}:null,flyerId:null!==(t=null==d?void 0:d.flyer_id)&&void 0!==t?t:0,merchantId:null!==(n=null==d?void 0:d.merchant_id)&&void 0!==n?n:0}},tg=function(e){var t=e.partnerNameIdentifier,n=e.elapsedSeconds,i=e.decision,r=e.siteId,o=e.zoneId,a=e.customUrl,s=e.options,l=e.postalCode,d=e.campaignNameIdentifier,c=e.positionIndex;return ez(ez({},tk({schemaId:8715,partnerNameIdentifier:t,siteId:r,zoneId:o,options:s,postalCode:l,campaignNameIdentifier:d,shopperPlatformUx:m.UlpInline})),{elapsedSeconds:n,decision:tG(tb({decision:i,siteId:r,zoneId:o,positionIndex:c,customUrl:a}))})},tv=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.options,s=e.postalCode,l=e.campaignNameIdentifier,d=e.positionIndex;return ez(ez({},tk({schemaId:8717,partnerNameIdentifier:t,siteId:i,zoneId:r,options:a,postalCode:s,campaignNameIdentifier:l,shopperPlatformUx:m.UlpInline})),{decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:d,customUrl:o}))})},ty=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.options,s=e.postalCode,l=e.campaignNameIdentifier,d=e.positionIndex;return ez(ez({},tk({schemaId:8721,partnerNameIdentifier:t,siteId:i,zoneId:r,options:a,postalCode:s,campaignNameIdentifier:l,shopperPlatformUx:m.UlpInline})),{decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:d,customUrl:o}))})},tE=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.message,s=e.itemType,l=e.options,d=e.postalCode,c=e.campaignNameIdentifier,u=e.positionIndex;return ez(ez({},tk({schemaId:tf(a.type),partnerNameIdentifier:t,siteId:i,zoneId:r,options:l,postalCode:d,campaignNameIdentifier:c,shopperPlatformUx:m.UlpInline})),{itemData:tp(s,a.detail),decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:u,customUrl:o}))})},tI=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.options,s=e.postalCode,l=e.campaignNameIdentifier,d=e.positionIndex;return ez(ez({},tk({schemaId:8714,partnerNameIdentifier:t,siteId:i,zoneId:r,options:a,postalCode:s,campaignNameIdentifier:l,shopperPlatformUx:m.UlpInline})),{decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:d,customUrl:o}))})},tw=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.message,s=e.options,l=e.postalCode,d=e.campaignNameIdentifier,c=e.positionIndex;return ez(ez({},tk({schemaId:8716,partnerNameIdentifier:t,siteId:i,zoneId:r,options:s,postalCode:l,campaignNameIdentifier:d,shopperPlatformUx:m.UlpInline})),{itemData:a.detail.items.map(function(e){return tp(th(e.itemType),e)}),decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:c,customUrl:o}))})},tV=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.options,s=e.postalCode,l=e.campaignNameIdentifier,d=e.errorMessage,c=e.positionIndex;return ez(ez({},tk({schemaId:8706,partnerNameIdentifier:t,siteId:i,zoneId:r,options:a,postalCode:s,campaignNameIdentifier:l,shopperPlatformUx:m.UlpInline})),{decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:c,customUrl:o})),errorMessage:d})},tN=function(e){var t=e.partnerNameIdentifier,n=e.decision,i=e.siteId,r=e.zoneId,o=e.customUrl,a=e.options,s=e.postalCode,l=e.campaignNameIdentifier,d=e.positionIndex;return ez(ez({},tk({schemaId:8713,partnerNameIdentifier:t,siteId:i,zoneId:r,options:a,postalCode:s,campaignNameIdentifier:l,shopperPlatformUx:m.UlpInline})),{decision:tG(tb({decision:n,siteId:i,zoneId:r,positionIndex:d,customUrl:o}))})},tS=0,tR=e0(),tA=function(){return tR},tZ=function(e){tR=e},tB=null,tC=function(){if(!tB)switch(tl.getDeviceInfo().type){case"mobile":tB={"com.flipp.beacon.shopperPlatform.enumeration.Platform":f.Mobile};break;case"tablet":tB={"com.flipp.beacon.shopperPlatform.enumeration.Platform":f.Tablet};break;case"desktop":tB={"com.flipp.beacon.shopperPlatform.enumeration.Platform":f.Desktop};break;default:tB=null}return tB};function tT(e){return"CA"===e?{"com.flipp.beacon.shopperPlatform.enumeration.Country":b.CA}:"US"===e?{"com.flipp.beacon.shopperPlatform.enumeration.Country":b.US}:null}function tU(){var e;return null===(e=window.flippxp.geo)||void 0===e?void 0:e.postal_code}function t_(){var e;return null===(e=window.flippxp.geo)||void 0===e?void 0:e.country}function tG(e){return e?{"com.flipp.beacon.shopperPlatform.entity.ShopperPlatformDecision":e}:null}var tk=function(e){var t,n,i,r,o,a,s,l,d,f,b,g,v,y,E,I,w,V,N,S,R,A,Z,B=e.schemaId,C=e.partnerNameIdentifier,T=e.siteId,U=e.zoneId,_=e.options,G=e.postalCode,k=e.campaignNameIdentifier,F=e.shopperPlatformUx,x=e.country,X=_.mobileSwipe?h.Unknown:_.fixedHeightUnit?h.FixedHeight:_.startCompact?h.Compact:h.Classic,W=new URLSearchParams(window.location.search).get("site");return{base:{aid:c.ShopperPlatform,rnd:Math.random().toString(),postalCode:G?{string:G}:null},shopperPlatformBase:(n=(t={usedFallbackPostalCode:!1,sessionId:tR,appVersion:"ce9b9c5d3682fd18f7d63206af9d76bd06f962c4",shopperPlatformCampaign:{partnerNameIdentifier:null!=C?C:"",campaignNameIdentifier:null!=k?k:""},shopperPlatformConfig:{openViewRatio:0,openTimerMs:0,evTimerMs:0},shopperPlatformUx:null!=F?F:m.StorefrontInline,site:null!==(R=null!=W?W:_.overrideHostname)&&void 0!==R?R:window.location.hostname,uid:null!==(A=e7(_))&&void 0!==A?A:"unknown",experienceType:X,integrationType:tc(_),auctionId:null===(Z=_.prebid)||void 0===Z?void 0:Z.requestId,mediaPartnerDescriptiveValueTag:_.mediaPartnerDescriptiveValueTag,countryCode:x}).usedFallbackPostalCode,i=t.sessionId,r=t.appVersion,o=t.shopperPlatformCampaign,a=t.shopperPlatformConfig,s=t.shopperPlatformUx,l=t.site,d=t.uid,f=t.experienceType,b=t.integrationType,g=t.auctionId,v=t.mediaPartnerDescriptiveValueTag,y=t.countryCode,E=t.uuid,I=tl.getDeviceInfo().devicePixelRatio,{integrationType:b,experienceType:f,environment:function(){var e;switch(eO){case"development":e=u.Dev;break;case"staging":e=u.Test;break;default:e=u.Prod}return e}(),clientParameters:{browser:(w=tl.getDeviceInfo()).browser,browserVersion:w.browserVersion,system:w.system,systemModel:w.systemModel,systemVersion:w.systemVersion},epochMilliseconds:Date.now(),uuid:null!=E?E:e0(),usedFallbackPostalCode:n,sessionId:i,sequenceId:tS++,viewSize:(N=(V=tl.getDeviceInfo()).screenWidth,S=V.screenHeight,{viewWidth:N&&N>0?N:document.documentElement.clientWidth||window.innerWidth||0,viewHeight:S&&S>0?S:document.documentElement.clientHeight||window.innerHeight||0}),devicePixelRatio:I,appVersion:r,shopperPlatformCampaign:o,shopperPlatformConfig:a,shopperPlatformUx:s,shopperPlatformAdView:p.Default,site:l,uid:d,auctionId:void 0===g?"FlippAvroDefault":g,mediaPartnerDescriptiveValueTag:v?{string:v}:null,countryCode:void 0===y?"FlippAvroDefault":y}
1),siteId:td(T),zoneId:td(U),schemaInfo:{schemaId:B,schemaName:null},platform:tC()}},tF=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.options,o=e.postalCode,a=e.country;return ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,options:r,schemaId:8674,postalCode:o,country:a}))},tx=function(e){var t,n=e.partnerNameIdentifier,i=e.siteId,r=e.zoneId,o=e.country,a=e.postalCode,s=e.keywords,l=e.category,d=e.pageUrl,c=e.queryParams,u=e.options,m=ez(ez({},tk({partnerNameIdentifier:n,siteId:i,zoneId:r,options:u,postalCode:a,schemaId:8683,country:o})),{country:tT(o),keywords:s,category:l,pageUrl:d,queryParams:c.filter(function(e){var t=e[0],n=e[1];return 2===e.length&&t&&n}).map(function(e){return{paramName:e[0],paramValue:e[1]}}),referrer:"FlippAvroDefault"}),p=new URL(window.location.toString()),h=null!==(t=p.searchParams.get("utm_source"))&&void 0!==t?t:p.searchParams.get("referrer");return h&&h.length>0&&(m.referrer=h),m},tX=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.country,o=e.postalCode,a=e.options;return ez(ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,postalCode:o,options:a,schemaId:8684,country:r})),{country:tT(r)})},tW=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.country,o=e.postalCode,a=e.errorMessage,s=e.responseCode,l=e.options;return ez(ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,options:l,postalCode:o,schemaId:8686,country:r})),{country:tT(r),errorMessage:a,responseCode:s})},tY=function(e){var t=e.partnerNameIdentifier,n=e.campaignNameIdentifier,i=e.siteId,r=e.zoneId,o=e.country,a=e.postalCode,s=e.decisions,l=e.options;return ez(ez({},tk({campaignNameIdentifier:n,partnerNameIdentifier:t,siteId:i,zoneId:r,options:l,postalCode:a,schemaId:8687,country:o})),{country:tT(o),decisions:s})},tL=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.options,o=e.cpm,a=e.postalCode,s=e.campaignId,l=e.decisions,d=e.country;return ez(ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,options:r,country:d,schemaId:8722,postalCode:a})),{CPM:null,float_CPM:o?{float:o}:null,campaignId:s,decisions:l})},tM=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.postalCode,o=e.options,a=e.testName,s=e.resultName,l=e.resultLabel,d=e.resultPayload,c=e.testIdentifier,u=e.country;return ez(ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,postalCode:r,options:o,country:u,schemaId:8704})),{testName:a,resultName:s,resultLabel:l,testIdentifier:c?{long:c}:null,resultPayload:d?{string:JSON.stringify(d)}:null})},tz=function(e){var t=e.partnerNameIdentifier,n=e.siteId,i=e.zoneId,r=e.options,o=e.postalCode,a=e.country,s=null,l=r.campaigns?JSON.parse(r.campaigns):null;return l&&(s=tG(tb({decision:l.decisions.inline[0],siteId:n,zoneId:i,positionIndex:0,customUrl:"no-url"}))),ez(ez({},tk({partnerNameIdentifier:t,siteId:n,zoneId:i,options:r,schemaId:8709,postalCode:o,country:a})),{botFilteredPageUrl:eP(),userAgent:navigator.userAgent||"not-available",decision:s})},tH=function(e){var t,n,i=e.partnerNameIdentifier,r=e.siteId,o=e.zoneId,a=e.options,s=e.postalCode,l=e.country,d=null,c=a.campaigns?JSON.parse(a.campaigns):null;c&&(d=tG(tb({decision:c.decisions.inline[0],siteId:r,zoneId:o,positionIndex:0,customUrl:"no-url"})));var u=null===(t=null==c?void 0:c.decisions.inline[0])||void 0===t?void 0:t.storefront;return ez(ez({storefront:{sfmlUUID:null!==(n=null==u?void 0:u.sfml_uuid)&&void 0!==n?n:"",version:null,contentHash:null}},tk({partnerNameIdentifier:i,siteId:r,zoneId:o,options:a,schemaId:8833,postalCode:s,country:l})),{merchant:{merchantId:td(null==u?void 0:u.merchant_id,-1)},flyer:{flyerId:td(null==u?void 0:u.flyer_id,-1),flyerRunId:td(null==u?void 0:u.flyer_run_id,0),flyerTypeId:td(null==u?void 0:u.flyer_type_id,0),storeId:null,premium:!0},decision:d})},tD=function(e){if(!(null==e?void 0:e.length))return null;var t,n=e.map(function(e){return e.distance}).filter(function(e){return void 0!==e});if(0===n.length)return null;var i=Math.min.apply(Math,n);return null!==(t=e.find(function(e){return e.distance===i}))&&void 0!==t?t:null},tj=["https://di.rlcdn.com/api/segment?pid="],tO=function(e,t){var n,i,r,o,a,s,l,d,c=e.contents[0].data.customData;if(null==c?void 0:c.liveRampTagId){var u=e.campaignId,m=null!==(i=null===(n=e.storefront)||void 0===n?void 0:n.flyer_run_id)&&void 0!==i?i:-1,p=null!==(o=null===(r=e.storefront)||void 0===r?void 0:r.flyer_t
1ype_id)&&void 0!==o?o:-1,h=t.postal_code,f=t.country,b=tD(e.nearestStores),g=null!==(s=null===(a=null==b?void 0:b.id)||void 0===a?void 0:a.toString())&&void 0!==s?s:"",v=null!==(d=null!==(l=c.storeCode)&&void 0!==l?l:null==b?void 0:b.code)&&void 0!==d?d:"",y=["campaignId=".concat(u),"flyerRunId=".concat(m),"flyerTypeId=".concat(p),"postalCode=".concat(h),"country=".concat(f)];g&&y.push("storeId=".concat(g)),v&&y.push("storeCode=".concat(v));var E=new URLSearchParams({pid:c.liveRampTagId.toString(),pdata:y.join(",")});return"https://di.rlcdn.com/api/segment?".concat(E.toString())}return null},tJ=new(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.send=function(e,n){return t.processedTags.filter(function(t){return t.event===e}).forEach(function(e){var i=t.extendPayload(e,n);e9(e.type,e.content,{params:i,location:t.location,enableDma:t.enableDma})}),null},t.addTagsFromCampaignResponse=function(e,n,i){t.location=i;var r=t.buildTags(e,i);return t.addTags(r,n,i),null},t}return eM(t,e),t.prototype.buildTags=function(t,n){var i,r,o=e.prototype.buildTags.call(this,t,n);if(this.location){var a=tO(t,this.location);a&&(null===(r=null===(i=o.campaignManagement)||void 0===i?void 0:i.impression)||void 0===r||r.push(a))}return o},t.prototype.extendPayload=function(e,t){return this.shouldAttachPayload(e.content)&&(t||(t={}),t.pdata=this.constructPayload(e.event)),t},t.prototype.constructPayload=function(e){var t=tC(),n=t?Object.values(t)[0]:"null",i=this.getExperience();return"event=".concat(e,",platform=").concat(n,",experience=").concat(i)},t.prototype.getExperience=function(){var e;return(null===(e=this.payload)||void 0===e?void 0:e.startCompact)?"compact":"standard"},t.prototype.shouldAttachPayload=function(e){return tj.some(function(t){return e.includes(t)})&&!e.includes("pdata")},t}(e5)),tP="request-";(ep=Z||(Z={})).ANALYTICS_CONFIG="analytics-config",ep.INLINE_GEOMETRY="inline-geometry",ep.SFML_VIEWPORT="sfml-viewport",ep.IFRAME_HEIGHT_RESIZE="iframe-height-resize",ep.IFRAME_WIDTH_RESIZE="iframe-width-resize",ep.REQUEST_EXPAND="request-expand",ep.END_PREVIEW="end-preview",ep.COUNTDOWN_STATE="countdown-state",ep.ULP="flipp-ulp",ep.MEASURE_TEST="measure-test",ep.DYNAMIC_HEADER_ITEMS="dynamic-header-items",ep.RESIZE_IFRAME="resize-iframe",ep.CALLBACK="callback",ep.SEND_EV="send-ev",ep.VIMP="flipp-vimp",ep.CANVASES_MUTATED="canvases-mutated",ep.FILMSTRIP_CLICK="filmstrip-click",ep.SOME_EVENT="SOME_EVENT",ep.REQUEST_NEW_EXPERIENCE="request-new-experience",ep.HIDE_IFRAME="hide-iframe",ep.PUBLICATION_RENDERED="publication-rendered";var tQ={CLICK_MEATBALL:"CLICK_MEATBALL",SHARE_ITEM:"SHARE_ITEM",SEE_FLYER_ITEM:"SEE_ITEM",CLIP_FLYER_ITEM:"CLIP_ITEM",SEE_MERCHANT_ITEM:"SEE_MERCHANT_ITEM",CLIP_MERCHANT_ITEM:"CLIP_MERCHANT_ITEM",SEE_ECOM_ITEM:"CLICK",CLIP_ECOM_ITEM:"CLIP_ECOM_ITEM",ITEM_IMPRESSION:"ITEM_IMPRESSION",SEE_ALL_DEALS:"SEE_ALL_DEALS",ERROR:"ERROR"},tK=function(){function e(e,t,n,i,r,o){this.emitter=e,this.eventType=t,this.listener=n,this.key=i,this.options=r,this.context=o}return e.prototype.remove=function(){var e=this.emitter.getSubscriptions(this.eventType);return e&&delete e[this.key],null},e}(),tq=function(){function e(){this.subscriptionsForType=new Map}return e.prototype.addListener=function(e,t,n,i){var r,o=null!==(r=this.subscriptionsForType.get(e))&&void 0!==r?r:[],a=new tK(this,e,t,o.length,n,i);return o.push(a),this.subscriptionsForType.set(e,o),a},e.prototype.emit=function(e,t){for(var n,i,r=null!==(n=this.subscriptionsForType.get(e))&&void 0!==n?n:[],o=0;o<r.length;o++){var a=r[o];a.listener.call(a.context,new CustomEvent(e.toString(),{detail:t})),(null===(i=a.options)||void 0===i?void 0:i.once)&&a.remove()}return null},e.prototype.getSubscriptions=function(e){return this.subscriptionsForType.get(e)},e}(),t$="message";new(function(){function e(){var e=this;this.addEventListener=function(t,n,i){var r=e.eventEmmiter.addListener(t,n,i);return(null==i?void 0:i.sendRequest)&&i.target&&e.sendMessage("request-"+t,i.requestData,i.target),r},this.sendMessage=function(e,t,n){return void 0===n&&(n=window),n.postMessage({type:e,data:t},"*"),null},this.handleMessage=function(t){e.isMessageRelevant(t.data)&&e.eventEmmiter.emit(t.data.type,t.data.data)},this.isMessageRelevant=function(e){if(!e.type)return!1;for(var t=0,n=Object.values(Z);t<n.length;t++)if(n[t]===e.type)return!0;return!1},this.eventEmmiter=new tq,this.start()}return e.prototype.start=function(){return window.addEventListener(t$,this.handleMessage),null},e.prototype.stop=function(){return window.removeEventListener(t$,this.handleMessage),null},e}()),(B||(B={})).BRAND_AD="brand-ad",(eh=C||(C={})).BANNER="banner",eh.ITEM_FEED="item_feed",eh.CUSTOM_CONTENT="custom_content",eh.VIDEO_AD="video_ad";var t0={exports:{}};t0.exports=function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],i=e[1],r=e[2],o=e[3];n+=(i&r|~i&o)+t[0]-680876936|0,o+=((n=(n<<7|n>>>25)+i|0)&i|~n&r)+t[1]-389564586|0,r+=((o=(o<<12|o>>>20)+n|0)&n|~o&i)+t[2]+606105819|0,i+=((r=(r<<17|r>>>15)+o|0)&o|~r&n)+t[3]-1044525330|0,n+=((i=(i<<22|i>>>
110)+r|0)&r|~i&o)+t[4]-176418897|0,o+=((n=(n<<7|n>>>25)+i|0)&i|~n&r)+t[5]+1200080426|0,r+=((o=(o<<12|o>>>20)+n|0)&n|~o&i)+t[6]-1473231341|0,i+=((r=(r<<17|r>>>15)+o|0)&o|~r&n)+t[7]-45705983|0,n+=((i=(i<<22|i>>>10)+r|0)&r|~i&o)+t[8]+1770035416|0,o+=((n=(n<<7|n>>>25)+i|0)&i|~n&r)+t[9]-1958414417|0,r+=((o=(o<<12|o>>>20)+n|0)&n|~o&i)+t[10]-42063|0,i+=((r=(r<<17|r>>>15)+o|0)&o|~r&n)+t[11]-1990404162|0,n+=((i=(i<<22|i>>>10)+r|0)&r|~i&o)+t[12]+1804603682|0,o+=((n=(n<<7|n>>>25)+i|0)&i|~n&r)+t[13]-40341101|0,r+=((o=(o<<12|o>>>20)+n|0)&n|~o&i)+t[14]-1502002290|0,i+=((r=(r<<17|r>>>15)+o|0)&o|~r&n)+t[15]+1236535329|0,n+=((i=(i<<22|i>>>10)+r|0)&o|r&~o)+t[1]-165796510|0,o+=((n=(n<<5|n>>>27)+i|0)&r|i&~r)+t[6]-1069501632|0,r+=((o=(o<<9|o>>>23)+n|0)&i|n&~i)+t[11]+643717713|0,i+=((r=(r<<14|r>>>18)+o|0)&n|o&~n)+t[0]-373897302|0,n+=((i=(i<<20|i>>>12)+r|0)&o|r&~o)+t[5]-701558691|0,o+=((n=(n<<5|n>>>27)+i|0)&r|i&~r)+t[10]+38016083|0,r+=((o=(o<<9|o>>>23)+n|0)&i|n&~i)+t[15]-660478335|0,i+=((r=(r<<14|r>>>18)+o|0)&n|o&~n)+t[4]-405537848|0,n+=((i=(i<<20|i>>>12)+r|0)&o|r&~o)+t[9]+568446438|0,o+=((n=(n<<5|n>>>27)+i|0)&r|i&~r)+t[14]-1019803690|0,r+=((o=(o<<9|o>>>23)+n|0)&i|n&~i)+t[3]-187363961|0,i+=((r=(r<<14|r>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0,n+=((i=(i<<20|i>>>12)+r|0)&o|r&~o)+t[13]-1444681467|0,o+=((n=(n<<5|n>>>27)+i|0)&r|i&~r)+t[2]-51403784|0,r+=((o=(o<<9|o>>>23)+n|0)&i|n&~i)+t[7]+1735328473|0,i+=((r=(r<<14|r>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0,n+=((i=(i<<20|i>>>12)+r|0)^r^o)+t[5]-378558|0,o+=((n=(n<<4|n>>>28)+i|0)^i^r)+t[8]-2022574463|0,r+=((o=(o<<11|o>>>21)+n|0)^n^i)+t[11]+1839030562|0,i+=((r=(r<<16|r>>>16)+o|0)^o^n)+t[14]-35309556|0,n+=((i=(i<<23|i>>>9)+r|0)^r^o)+t[1]-1530992060|0,o+=((n=(n<<4|n>>>28)+i|0)^i^r)+t[4]+1272893353|0,r+=((o=(o<<11|o>>>21)+n|0)^n^i)+t[7]-155497632|0,i+=((r=(r<<16|r>>>16)+o|0)^o^n)+t[10]-1094730640|0,n+=((i=(i<<23|i>>>9)+r|0)^r^o)+t[13]+681279174|0,o+=((n=(n<<4|n>>>28)+i|0)^i^r)+t[0]-358537222|0,r+=((o=(o<<11|o>>>21)+n|0)^n^i)+t[3]-722521979|0,i+=((r=(r<<16|r>>>16)+o|0)^o^n)+t[6]+76029189|0,n+=((i=(i<<23|i>>>9)+r|0)^r^o)+t[9]-640364487|0,o+=((n=(n<<4|n>>>28)+i|0)^i^r)+t[12]-421815835|0,r+=((o=(o<<11|o>>>21)+n|0)^n^i)+t[15]+530742520|0,i+=((r=(r<<16|r>>>16)+o|0)^o^n)+t[2]-995338651|0,i=(i<<23|i>>>9)+r|0,n+=(r^(i|~o))+t[0]-198630844|0,n=(n<<6|n>>>26)+i|0,o+=(i^(n|~r))+t[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~i))+t[14]-1416354905|0,r=(r<<15|r>>>17)+o|0,i+=(o^(r|~n))+t[5]-57434055|0,i=(i<<21|i>>>11)+r|0,n+=(r^(i|~o))+t[12]+1700485571|0,n=(n<<6|n>>>26)+i|0,o+=(i^(n|~r))+t[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~i))+t[10]-1051523|0,r=(r<<15|r>>>17)+o|0,i+=(o^(r|~n))+t[1]-2054922799|0,i=(i<<21|i>>>11)+r|0,n+=(r^(i|~o))+t[8]+1873313359|0,n=(n<<6|n>>>26)+i|0,o+=(i^(n|~r))+t[15]-30611744|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~i))+t[6]-1560198380|0,r=(r<<15|r>>>17)+o|0,i+=(o^(r|~n))+t[13]+1309151649|0,i=(i<<21|i>>>11)+r|0,n+=(r^(i|~o))+t[4]-145523070|0,n=(n<<6|n>>>26)+i|0,o+=(i^(n|~r))+t[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~i))+t[2]+718787259|0,r=(r<<15|r>>>17)+o|0,i+=(o^(r|~n))+t[9]-343485551|0,i=(i<<21|i>>>11)+r|0,e[0]=n+e[0]|0,e[1]=i+e[1]|0,e[2]=r+e[2]|0,e[3]=o+e[3]|0}function i(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var t,r,o,a,s,l,d=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=d;t+=64)n(c,i(e.substring(t-64,t)));for(r=(e=e.substring(t-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(c,o),t=0;t<16;t+=1)o[t]=0;return s=parseInt((a=(a=8*d).toString(16).match(/(.*?)(.{0,8})$/))[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(c,o),c}function a(e){var n;for(n=0;n<e.length;n+=1)e[n]=function(e){var n,i="";for(n=0;n<4;n+=1)i+=t[e>>8*n+4&15]+t[e>>8*n&15];return i}(e[n]);return e.join("")}function s(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function l(e){var t,n=[],i=e.length;for(t=0;t<i-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function d(){this.reset()}return a(o("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function e(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(t,n){var i,r,o,a,s=this.byteLength,l=e(t,s),d=s;return(void 0!==n&&(d=e(n,s)),l>d)?new ArrayBuffer(0):(i=d-l,r=new ArrayBuffer(i),o=new Uint8Array(r),a=new Uint8Array(this,l,i),o.set(a),r)}}(),d.prototype.append=function(e){return this.appendBinary(s(e)),this},d.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,r=this._buff.length;for(t=64;t<=r;t+=64)n(this._hash,i(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},d.prototype.end=function(e){var t,n,i=this._buff,r=i.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<r;t+=1)o[t>>2]|=i.charCodeAt(t)<<(t%4<<3);return this._finish(o,r),n=a(this._hash),e&&(n=l(n)),this.reset(),n},d.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},d.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},d.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},d.prototype._finish=function(e,t){var i,r,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=parseInt((i=(i=8*this._length).toString(16).match(/(.*?)(.{0,8})$/))[2],16),o=parseInt(i[1],16)||0,e[14]=r,e[15]=o,n(this._hash,e)},d.hash=function(e,t){return d.hashBinary(s(e),t)},d.hashBinary=function(e,t){var n=a(o(e));return t?l(n):n},d.ArrayBuffer=function(){this.reset()},d.ArrayBuffer.prototype.append=function(e){var t,i,o,a=(t=this._buff.buffer,(i=new Uint8Array(t.byteLength+e.byteLength)).set(new Uint8Array(t)),i.set(new Uint8Array(e),t.byteLength),i),s=a.length;for(this._length+=e.byteLength,o=64;o<=s;o+=64)n(this._hash,r(a.subarray(o-64,o)));return this._buff=new Uint8Array(o-64<s?a.buffer.slice(o-64):0),this},d.ArrayBuffer.prototype.end=function(e){var t,n,i=this._buff,r=i.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<r;t+=1)o[t>>2]|=i[t]<<(t%4<<3);return this._finish(o,r),n=a(this._hash),e&&(n=l(n)),this.reset(),n},d.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.ArrayBuffer.prototype.getState=function(){var e,t=d.prototype.getState.call(this);return t.buff=(e=t.buff,String.fromCharCode.apply(null,new Uint8Array(e))),t},d.ArrayBuffer.prototype.setState=function(e){return e.buff=function(e,t){var n,i=e.length,r=new ArrayBuffer(i),o=new Uint8Array(r);for(n=0;n<i;n+=1)o[n]=e.charCodeAt(n);return t?o:r}(e.buff,!0),d.prototype.setState.call(this,e)},d.ArrayBuffer.prototype.destroy=d.prototype.destroy,d.ArrayBuffer.prototype._finish=d.prototype._finish,d.ArrayBuffer.hash=function(e,t){var i=a(function(e){var t,i,o,a,s,l,d=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=d;t+=64)n(c,r(e.subarray(t-64,t)));for(i=(e=t-64<d?e.subarray(t-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(c,o),t=0;t<16;t+=1)o[t]=0;return s=parseInt((a=(a=8*d).toString(16).match(/(.*?)(.{0,8})$/))[2],16),l=parseInt(a[1],16)||0,o[14]=s,o[15]=l,n(c,o),c}(new Uint8Array(e)));return t?l(i):i},d}();
1var t2=tt(t0.exports);function t1(e,t){return null!==e&&"object"==typeof e&&"$typeName"in e&&"string"==typeof e.$typeName&&(void 0===t||t.typeName===e.$typeName)}function t9(e,t,n){for(let i=0;i<28;i+=7){let r=e>>>i,o=!(r>>>7==0&&0==t),a=(o?128|r:r)&255;if(n.push(a),!o)return}let i=e>>>28&15|(7&t)<<4,r=t>>3!=0;if(n.push((r?128|i:i)&255),r){for(let e=3;e<31;e+=7){let i=t>>>e,r=i>>>7!=0,o=(r?128|i:i)&255;if(n.push(o),!r)return}n.push(t>>>31&1)}}function t5(e){let t="-"===e[0];t&&(e=e.slice(1));let n=0,i=0;function r(t,r){let o=Number(e.slice(t,r));i*=1e6,(n=1e6*n+o)>=4294967296&&(i+=n/4294967296|0,n%=4294967296)}return r(-24,-18),r(-18,-12),r(-12,-6),r(-6),t?t6(n,i):t4(n,i)}function t3(e,t){if({lo:e,hi:t}={lo:e>>>0,hi:t>>>0},t<=2097151)return String(4294967296*t+e);let n=16777215&e,i=(e>>>24|t<<8)&16777215,r=t>>16&65535,o=n+6777216*i+6710656*r,a=i+8147497*r,s=2*r;return o>=1e7&&(a+=Math.floor(o/1e7),o%=1e7),a>=1e7&&(s+=Math.floor(a/1e7),a%=1e7),s.toString()+t8(a)+t8(o)}function t4(e,t){return{lo:0|e,hi:0|t}}function t6(e,t){return t=~t,e?e=~e+1:t+=1,t4(e,t)}(ef=T||(T={}))[ef.DOUBLE=1]="DOUBLE",ef[ef.FLOAT=2]="FLOAT",ef[ef.INT64=3]="INT64",ef[ef.UINT64=4]="UINT64",ef[ef.INT32=5]="INT32",ef[ef.FIXED64=6]="FIXED64",ef[ef.FIXED32=7]="FIXED32",ef[ef.BOOL=8]="BOOL",ef[ef.STRING=9]="STRING",ef[ef.BYTES=12]="BYTES",ef[ef.
1UINT32=13]="UINT32",ef[ef.SFIXED32=15]="SFIXED32",ef[ef.SFIXED64=16]="SFIXED64",ef[ef.SINT32=17]="SINT32",ef[ef.SINT64=18]="SINT64";let t8=e=>{let t=String(e);return"0000000".slice(t.length)+t};function t7(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}let ne=function(){let e=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64&&(globalThis.Deno||globalThis.Bun||"object"!=typeof process||"object"!=typeof process.env||"1"!==process.env.BUF_BIGINT_DISABLE)){let t=BigInt("-9223372036854775808"),n=BigInt("9223372036854775807"),i=BigInt("0"),r=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(e){let i="bigint"==typeof e?e:BigInt(e);if(i>n||i<t)throw Error(`invalid int64: ${e}`);return i},uParse(e){let t="bigint"==typeof e?e:BigInt(e);if(t>r||t<i)throw Error(`invalid uint64: ${e}`);return t},enc(t){return e.setBigInt64(0,this.parse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(t){return e.setBigInt64(0,this.uParse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigInt64(0,!0)),uDec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:e=>("string"!=typeof e&&(e=e.toString()),nt(e),e),uParse:e=>("string"!=typeof e&&(e=e.toString()),nn(e),e),enc:e=>("string"!=typeof e&&(e=e.toString()),nt(e),t5(e)),uEnc:e=>("string"!=typeof e&&(e=e.toString()),nn(e),t5(e)),dec:(e,t)=>(function(e,t){let n=t4(e,t),i=2147483648&n.hi;i&&(n=t6(n.lo,n.hi));let r=t3(n.lo,n.hi);return i?"-"+r:r})(e,t),uDec:(e,t)=>t3(e,t)}}();function nt(e){if(!/^-?[0-9]+$/.test(e))throw Error("invalid int64: "+e)}function nn(e){if(!/^[0-9]+$/.test(e))throw Error("invalid uint64: "+e)}function ni(e,t){switch(e){case T.STRING:return"";case T.BOOL:return!1;case T.DOUBLE:case T.FLOAT:return 0;case T.INT64:case T.UINT64:case T.SFIXED64:case T.FIXED64:case T.SINT64:return t?"0":ne.zero;case T.BYTES:return new Uint8Array(0);default:return 0}}let nr=Symbol.for("reflect unsafe local");function no(e,t){let n=e[t.localName].case;return void 0===n?n:t.fields.find(e=>e.localName===n)}function na(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function ns(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function nl(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function nd(e,t){var n,i,r,o;if(nl(e)&&nr in e&&"add"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let a=e.field();return t.listKind==a.listKind&&t.scalar===a.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=a.message)||void 0===i?void 0:i.typeName)&&(null===(r=t.enum)||void 0===r?void 0:r.typeName)===(null===(o=a.enum)||void 0===o?void 0:o.typeName)}return!0}return!1}function nc(e,t){var n,i,r,o;if(nl(e)&&nr in e&&"has"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let a=e.field();return t.mapKey===a.mapKey&&t.mapKind==a.mapKind&&t.scalar===a.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=a.message)||void 0===i?void 0:i.typeName)&&(null===(r=t.enum)||void 0===r?void 0:r.typeName)===(null===(o=a.enum)||void 0===o?void 0:o.typeName)}return!0}return!1}function nu(e,t){return nl(e)&&nr in e&&"desc"in e&&nl(e.desc)&&"message"===e.desc.kind&&(void 0===t||e.desc.typeName==t.typeName)}function nm(e){let t=e.fields[0];return np(e.typeName)&&void 0!==t&&"scalar"==t.fieldKind&&"value"==t.name&&1==t.number}function np(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}function nh(e,t){if(t1(t,e))return t;let n=function(e){let t;if(function(e){switch(e.file.edition){case 999:return!1;case 998:return!0;default:return e.fields.some(e=>2!=e.presence&&"message"!=e.fieldKind&&!e.oneof)}}(e)){let n,i;let r=nE.get(e);if(r)({prototype:n,members:i}=r);else{for(let t of(n={},i=new Set,e.members))"oneof"!=t.kind&&("scalar"==t.fieldKind||"enum"==t.fieldKind)&&2!=t.presence&&(i.add(t),n[t.localName]=nI(t));nE.set(e,{prototype:n,members:i})}for(let r of((t=Object.create(n)).$typeName=e.typeName,e.members))i.has(r)||"field"==r.kind&&("message"==r.fieldKind||("scalar"==r.fieldKind||"enum"==r.fieldKind)&&2!=r.presence)||(t[r.localName]=nI(r))}else for(let n of(t={$typeName:e.typeName},e.members))("oneof"==n.kind||2==n.presence)&&(t[n.localName]=nI(n));return t}(e);return void 0!==t&&function(e,t,n){for(let i of e.members){let e,r=n[i.localName];if(null!=r){if("oneof"==i.kind){let t=no(n,i);if(!t)continue;e=t,r=na(n,t)}else e=i;switch(e.fieldKind){case"message":r=nb(e,r);break;case"scalar":r=nf(e,r);break;case"list":r=function(e,t){if(Array.isArray(t)){if(e.scalar==T.BYTES)return t.map(ng);if("message"==e.listKind)return t.map(t=>nb(e,t))}return t}(e,r);break;case"map":r=function(e,t){if(nl(t)){if(e.scalar==T.BYTES)return nv(t,ng);if("message"==e.mapKind)return nv(t,t=>nb(e,t))}return t}(e,r)}ns(t,e,r)}}}(e,n,t),n}function nf(e,t){return e.scalar==T.BYTES?ng(t):t}function nb(e,t){if("message"==e.fieldKind&&!e.oneof&&nm(e.message))return nf(e.message.fields[0],t);
1if(nl(t)){if("google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!==e.parent.typeName)return t;if(!t1(t,e.message))return nh(e.message,t)}return t}function ng(e){return Array.isArray(e)?new Uint8Array(e):e}function nv(e,t){let n={};for(let i of Object.entries(e))n[i[0]]=t(i[1]);return n}let ny=Symbol(),nE=new WeakMap;function nI(e){if("oneof"==e.kind)return{case:void 0};if("list"==e.fieldKind)return[];if("map"==e.fieldKind)return{};if("message"==e.fieldKind)return ny;let t=e.getDefaultValue();return void 0!==t?"scalar"==e.fieldKind&&e.longAsString?t.toString():t:"scalar"==e.fieldKind?ni(e.scalar,e.longAsString):e.enum.values[0].number}class nw extends Error{constructor(e,t,n="FieldValueInvalidError"){super(t),this.name=n,this.field=()=>e}}let nV=Symbol.for("@bufbuild/protobuf/text-encoding");function nN(){if(void 0==globalThis[nV]){let e;let t=new globalThis.TextEncoder,n=new globalThis.TextDecoder;globalThis[nV]={encodeUtf8:e=>t.encode(e),decodeUtf8:(t,i)=>i?(void 0===e&&(e=new globalThis.TextDecoder("utf-8",{fatal:!0})),e.decode(t)):n.decode(t),checkUtf8(e){try{return encodeURIComponent(e),!0}catch(e){return!1}}}}return globalThis[nV]}(eb=U||(U={}))[eb.Varint=0]="Varint",eb[eb.Bit64=1]="Bit64",eb[eb.LengthDelimited=2]="LengthDelimited",eb[eb.StartGroup=3]="StartGroup",eb[eb.EndGroup=4]="EndGroup",eb[eb.Bit32=5]="Bit32";class nS{finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let e=0;for(let t=0;t<this.chunks.length;t++)e+=this.chunks[t].length;let t=new Uint8Array(e),n=0;for(let e=0;e<this.chunks.length;e++)t.set(this.chunks[e],n),n+=this.chunks[e].length;return this.chunks=[],t}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),t=this.stack.pop();if(!t)throw Error("invalid state, fork stack empty");return this.chunks=t.chunks,this.buf=t.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,t){return this.uint32((e<<3|t)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(nA(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return nR(e),t7(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.encodeUtf8(e);return this.uint32(t.byteLength),this.raw(t)}float(e){!function(e){if("string"==typeof e){let t=e;if(Number.isNaN(e=Number(e))&&"NaN"!==t)throw Error("invalid float32: "+t)}else if("number"!=typeof e)throw Error("invalid float32: "+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error("invalid float32: "+e)}(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){nA(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){nR(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return nR(e),t7(e=(e<<1^e>>31)>>>0,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),i=ne.enc(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),i=ne.uEnc(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(t)}int64(e){let t=ne.enc(e);return t9(t.lo,t.hi,this.buf),this}sint64(e){let t=ne.enc(e),n=t.hi>>31;return t9(t.lo<<1^n,(t.hi<<1|t.lo>>>31)^n,this.buf),this}uint64(e){let t=ne.uEnc(e);return t9(t.lo,t.hi,this.buf),this}constructor(e=nN().encodeUtf8){this.encodeUtf8=e,this.stack=[],this.chunks=[],this.buf=[]}}function nR(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid int32: "+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error("invalid int32: "+e)}function nA(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid uint32: "+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error("invalid uint32: "+e)}
1function nZ(e,t,n){let i=nB(e,n);if(!0!==i)return new nw(e,`list item #${t+1}: ${nT(e,n,i)}`)}function nB(e,t){return void 0!==e.scalar?nC(t,e.scalar):void 0!==e.enum?e.enum.open?nC(t,T.INT32):e.enum.values.some(e=>e.number===t):nu(t,e.message)}function nC(e,t){switch(t){case T.DOUBLE:return"number"==typeof e;case T.FLOAT:if("number"!=typeof e)return!1;if(Number.isNaN(e)||!Number.isFinite(e))return!0;if(e>34028234663852886e22||e<-34028234663852886e22)return`${e.toFixed()} out of range`;return!0;case T.INT32:case T.SFIXED32:case T.SINT32:if("number"!=typeof e||!Number.isInteger(e))return!1;if(e>2147483647||e<-2147483648)return`${e.toFixed()} out of range`;return!0;case T.FIXED32:case T.UINT32:if("number"!=typeof e||!Number.isInteger(e))return!1;if(e>4294967295||e<0)return`${e.toFixed()} out of range`;return!0;case T.BOOL:return"boolean"==typeof e;case T.STRING:if("string"!=typeof e)return!1;return nN().checkUtf8(e)||"invalid UTF8";case T.BYTES:return e instanceof Uint8Array;case T.INT64:case T.SFIXED64:case T.SINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return ne.parse(e),!0}catch(t){return`${e} out of range`}return!1;case T.FIXED64:case T.UINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return ne.uParse(e),!0}catch(t){return`${e} out of range`}return!1}}function nT(e,t,n){return(n="string"==typeof n?`: ${n}`:`, got ${nU(t)}`,void 0!==e.scalar)?`expected ${function(e){switch(e){case T.STRING:return"string";case T.BOOL:return"boolean";case T.INT64:case T.SINT64:case T.SFIXED64:return"bigint (int64)";case T.UINT64:case T.FIXED64:return"bigint (uint64)";case T.BYTES:return"Uint8Array";case T.DOUBLE:return"number (float64)";case T.FLOAT:return"number (float32)";case T.FIXED32:case T.UINT32:return"number (uint32)";case T.INT32:case T.SFIXED32:case T.SINT32:return"number (int32)"}}(e.scalar)}`+n:void 0!==e.enum?`expected ${e.enum.toString()}`+n:`expected ${n_(e.message)}`+n}function nU(e){switch(typeof e){case"object":if(null===e)return"null";if(e instanceof Uint8Array)return`Uint8Array(${e.length})`;if(Array.isArray(e))return`Array(${e.length})`;if(nd(e))return nG(e.field());if(nc(e))return nk(e.field());if(nu(e))return n_(e.desc);if(t1(e))return`message ${e.$typeName}`;return"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function n_(e){return`ReflectMessage (${e.typeName})`}function nG(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${T[e.scalar]})`}}function nk(e){switch(e.mapKind){case"message":return`ReflectMap (${T[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${T[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${T[e.mapKey]}, ${T[e.scalar]})`}}let nF=new WeakMap;class nx{get sortedFields(){let e=nF.get(this.desc);if(e)return e;let t=this.desc.fields.concat().sort((e,t)=>e.number-t.number);return nF.set(this.desc,t),t}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return nX(this.message,e),no(this.message,e)}isSet(e){return nX(this.message,e),function(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(2!=t.presence)return void 0!==e[n]&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!function(e,t){switch(e){case T.BOOL:return!1===t;case T.STRING:return""===t;case T.BYTES:return t instanceof Uint8Array&&!t.byteLength;case T.DOUBLE:case T.FLOAT:return Object.is(t,0);default:return 0==t}}(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw Error("message field with implicit presence")}(this.message,e)}clear(e){nX(this.message,e),function(e,t){let n=t.localName;if(t.oneof){let i=t.oneof.localName;e[i].case===n&&(e[i]={case:void 0})}else if(2!=t.presence)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=ni(t.scalar,t.longAsString)}}(this.message,e)}get(e){nX(this.message,e);let t=na(this.message,e);switch(e.fieldKind){case"list":let n=this.lists.get(e);return n&&n[nr]===t||this.lists.set(e,n=new nW(e,t,this.check)),n;case"map":let i=this.maps.get(e);return i&&i[nr]===t||this.maps.set(e,i=new nY(e,t,this.check)),i;case"message":return nM(e,t,this.check);case"scalar":return void 0===t?ni(e.scalar,!1):nJ(e,t);case"enum":return null!=t?t:e.enum.values[0].number}}set(e,t){let n;if(nX(this.message,e),this.check){let n=function(e,t){let n;let i="list"==e.fieldKind?nd(t,e):"map"==e.fieldKind?nc(t,e):nB(e,t);if(!0!==i){switch(e.fieldKind){case"list":n=`expected ${nG(e)}, got ${nU(t)}`;break;case"map":n=`expected ${nk(e)}, got ${nU(t)}`;break;default:n=nT(e,t,i)}return new nw(e,n)}}(e,t);if(n)throw n}n="message"==e.fieldKind?nL(e,t):nc(t)||nd(t)?t[nr]:nP(e,t),ns(this.message,e,n)}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}constructor(e,t,n=!0){this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[nr]=null!=t?t:nh(e),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}}function nX(e,t){if(t.parent.typeName!==e.$typeName)throw new nw(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class nW{field(){return this._field}get size(){return this._arr.length}get(e){let t=this._arr[e];return void 0===t?void 0:nH(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new nw(this._field,`list item #${e+1}: out of range`);if(this.check){let n=nZ(this._field,e,t);if(n)throw n}this._arr[e]=nz(this._field,t)}add(e){if(this.check){let t=nZ(this._field,this._arr.length,e);if(t)throw t}this._arr.push(nz(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield nH(this._field,e,this.check)}*entries(){for(let e=0;e<this._arr.length;e++)yield[e,nH(this._field,this._arr[e],this.check)]}constructor(e,t,n){this._field=e,this._arr=this[nr]=t,this.check=n}}class nY{field(){return this._field}set(e,t){var n;if(this.check){let n=function(e,t,n){let i=nC(t,e.mapKey);if(!0!==i)return new nw(e,`invalid map key: ${nT({scalar:e.mapKey},t,i)}`);
1let r=nB(e,n);if(!0!==r)return new nw(e,`map entry ${nU(t)}: ${nT(e,n,r)}`)}(this._field,e,t);if(n)throw n}return this.obj[nj(e)]="message"==(n=this._field).mapKind?nL(n,t):nP(n,t),this}delete(e){let t=nj(e),n=Object.prototype.hasOwnProperty.call(this.obj,t);return n&&delete this.obj[t],n}clear(){for(let e of Object.keys(this.obj))delete this.obj[e]}get(e){let t=this.obj[nj(e)];return void 0!==t&&(t=nD(this._field,t,this.check)),t}has(e){return Object.prototype.hasOwnProperty.call(this.obj,nj(e))}*keys(){for(let e of Object.keys(this.obj))yield nO(e,this._field.mapKey)}*entries(){for(let e of Object.entries(this.obj))yield[nO(e[0],this._field.mapKey),nD(this._field,e[1],this.check)]}[Symbol.iterator](){return this.entries()}get size(){return Object.keys(this.obj).length}*values(){for(let e of Object.values(this.obj))yield nD(this._field,e,this.check)}forEach(e,t){for(let n of this.entries())e.call(t,n[1],n[0],this)}constructor(e,t,n=!0){this.obj=this[nr]=null!=t?t:{},this.check=n,this._field=e}}function nL(e,t){return nu(t)?np(t.message.$typeName)&&!e.oneof&&"message"==e.fieldKind?t.message.value:"google.protobuf.Struct"==t.desc.typeName&&"google.protobuf.Value"!=e.parent.typeName?function e(t){let n={};for(let[i,r]of Object.entries(t.fields))n[i]=function t(n){switch(n.kind.case){case"structValue":return e(n.kind.value);case"listValue":return n.kind.value.values.map(t);case"nullValue":case void 0:return null;default:return n.kind.value}}(r);return n}(t.message):t.message:t}function nM(e,t,n){return void 0!==t&&(nm(e.message)&&!e.oneof&&"message"==e.fieldKind?t={$typeName:e.message.typeName,value:nJ(e.message.fields[0],t)}:"google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!=e.parent.typeName&&nl(t)&&(t=function e(t){let n={$typeName:"google.protobuf.Struct",fields:{}};if(nl(t))for(let[i,r]of Object.entries(t))n.fields[i]=function t(n){let i={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof n){case"number":i.kind={case:"numberValue",value:n};break;case"string":i.kind={case:"stringValue",value:n};break;case"boolean":i.kind={case:"boolValue",value:n};break;case"object":if(null===n)i.kind={case:"nullValue",value:0};else if(Array.isArray(n)){let e={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(n))for(let i of n)e.values.push(t(i));i.kind={case:"listValue",value:e}}else i.kind={case:"structValue",value:e(n)}}return i}(r);return n}(t))),new nx(e.message,t,n)}function nz(e,t){return"message"==e.listKind?nL(e,t):nP(e,t)}function nH(e,t,n){return"message"==e.listKind?nM(e,t,n):nJ(e,t)}function nD(e,t,n){return"message"==e.mapKind?nM(e,t,n):t}function nj(e){return"string"==typeof e||"number"==typeof e?e:String(e)}function nO(e,t){switch(t){case T.STRING:break;case T.INT32:case T.FIXED32:case T.UINT32:case T.SFIXED32:case T.SINT32:{let t=Number.parseInt(e);if(Number.isFinite(t))return t;break}case T.BOOL:switch(e){case"true":return!0;case"false":return!1}break;case T.UINT64:case T.FIXED64:try{return ne.uParse(e)}catch(e){}break;default:try{return ne.parse(e)}catch(e){}}return e}function nJ(e,t){switch(e.scalar){case T.INT64:case T.SFIXED64:case T.SINT64:"longAsString"in e&&e.longAsString&&"string"==typeof t&&(t=ne.parse(t));break;case T.FIXED64:case T.UINT64:"longAsString"in e&&e.longAsString&&"string"==typeof t&&(t=ne.uParse(t))}return t}function nP(e,t){switch(e.scalar){case T.INT64:case T.SFIXED64:case T.SINT64:"longAsString"in e&&e.longAsString?t=String(t):("string"==typeof t||"number"==typeof t)&&(t=ne.parse(t));break;case T.FIXED64:case T.UINT64:"longAsString"in e&&e.longAsString?t=String(t):("string"==typeof t||"number"==typeof t)&&(t=ne.uParse(t))}return t}let nQ={writeUnknownFields:!0};function nK(e,t,n){var i;for(let i of n.sortedFields){if(!n.isSet(i)){if(3==i.presence)throw Error(`cannot encode ${i} to binary: required field not set`);continue}!function(e,t,n,i){var r;switch(i.fieldKind){case"scalar":case"enum":nq(e,n.desc.typeName,i.name,null!==(r=i.scalar)&&void 0!==r?r:T.INT32,i.number,n.get(i));break;case"list":!function(e,t,n,i){var r;if("message"==n.listKind){for(let r of i)n$(e,t,n,r);return}let o=null!==(r=n.scalar)&&void 0!==r?r:T.INT32;if(n.packed){if(!i.size)return;for(let t of(e.tag(n.number,U.LengthDelimited).fork(),i))n0(e,n.parent.typeName,n.name,o,t);e.join();return}for(let t of i)nq(e,n.parent.typeName,n.name,o,n.number,t)}(e,t,i,n.get(i));break;case"message":n$(e,t,i,n.get(i));break;case"map":for(let[r,o]of n.get(i))!function(e,t,n,i,r){var o;switch(e.tag(n.number,U.LengthDelimited).fork(),nq(e,n.parent.typeName,n.name,n.mapKey,1,i),n.mapKind){case"scalar":case"enum":nq(e,n.parent.typeName,n.name,null!==(o=n.scalar)&&void 0!==o?o:T.INT32,2,r);break;case"message":nK(e.tag(2,U.LengthDelimited).fork(),t,r).join()}e.join()}(e,t,i,r,o)}}(e,t,n,i)}if(t.writeUnknownFields)for(let{no:t,wireType:r,data:o}of null!==(i=n.getUnknown())&&void 0!==i?i:[])e.tag(t,r).raw(o);return e}function nq(e,t,n,i,r,o){n0(e.tag(r,function(e){switch(e){case T.BYTES:case T.STRING:return U.LengthDelimited;case T.DOUBLE:case T.FIXED64:case T.SFIXED64:return U.Bit64;case T.FIXED32:case T.SFIXED32:case T.FLOAT:return U.Bit32;default:return U.Varint}}(i)),t,n,i,o)}function n$(e,t,n,i){n.delimitedEncoding?nK(e.tag(n.number,U.StartGroup),t,i).tag(n.number,U.EndGroup):nK(e.tag(n.number,U.LengthDelimited).fork(),t,i).join()}function n0(e,t,n,i,r){try{switch(i){case T.STRING:e.string(r);break;case T.BOOL:e.bool(r);break;case T.DOUBLE:e.double(r);break;case T.FLOAT:e.float(r);break;case T.INT32:e.int32(r);break;case T.INT64:e.int64(r);break;case T.UINT64:e.uint64(r);break;case T.FIXED64:e.fixed64(r);break;case T.BYTES:e.bytes(r);break;case T.FIXED32:e.fixed32(r);break;case T.SFIXED32:e.sfixed32(r);break;case T.SFIXED64:e.sfixed64(r);break;case T.SINT64:e.sint64(r);break;case T.UINT32:e.uint32(r);break;case T.SINT32:e.sint32(r)}}catch(e){if(e instanceof Error)throw Error(`cannot encode field ${t}.${n} to binary: ${e.message}`);throw e}}let n2={maxSize:50,url:"https://ingestion-endpoint-a.lab.services.external.data.shopfully.com/",batchWaitTime:150,delayBetweenBat
1ches:17,fireOnPageHide:!0,fireOnVisibilityChange:!0,maxRetries:2,retryBackoffMs:250,logLevel:1,logFunction:console.info,signingKey:"7A2B46DD-3EFD-452D-9428-F9EC3A14C75B"};function n1(e){let t=!1,n=[];for(let i=0;i<e.length;i++){let r=e.charAt(i);switch(r){case"_":t=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n.push(r),t=!1;break;default:t&&(t=!1,r=r.toUpperCase()),n.push(r)}}return n.join("")}let n9=new Set(["constructor","toString","toJSON","valueOf"]);function n5(e){return n9.has(e)?e+"$":e}function n3(){let e=0,t=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(e|=(127&i)<<n,(128&i)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(15&n)<<28,t=(112&n)>>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(t|=(127&i)<<n,(128&i)==0)return this.assertBounds(),[e,t]}throw Error("invalid varint")}function n4(e){let t="-"===e[0];t&&(e=e.slice(1));let n=0,i=0;function r(t,r){let o=Number(e.slice(t,r));i*=1e6,(n=1e6*n+o)>=4294967296&&(i+=n/4294967296|0,n%=4294967296)}return r(-24,-18),r(-18,-12),r(-12,-6),r(-6),t?n7(n,i):n8(n,i)}function n6(e,t){if({lo:e,hi:t}={lo:e>>>0,hi:t>>>0},t<=2097151)return String(4294967296*t+e);let n=16777215&e,i=(e>>>24|t<<8)&16777215,r=t>>16&65535,o=n+6777216*i+6710656*r,a=i+8147497*r,s=2*r;return o>=1e7&&(a+=Math.floor(o/1e7),o%=1e7),a>=1e7&&(s+=Math.floor(a/1e7),a%=1e7),s.toString()+ie(a)+ie(o)}function n8(e,t){return{lo:0|e,hi:0|t}}function n7(e,t){return t=~t,e?e=~e+1:t+=1,n8(e,t)}let ie=e=>{let t=String(e);return"0000000".slice(t.length)+t};function it(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0}let ii=function(){let e=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64&&(globalThis.Deno||globalThis.Bun||"object"!=typeof process||"object"!=typeof process.env||"1"!==process.env.BUF_BIGINT_DISABLE)){let t=BigInt("-9223372036854775808"),n=BigInt("9223372036854775807"),i=BigInt("0"),r=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(e){let i="bigint"==typeof e?e:BigInt(e);if(i>n||i<t)throw Error(`invalid int64: ${e}`);return i},uParse(e){let t="bigint"==typeof e?e:BigInt(e);if(t>r||t<i)throw Error(`invalid uint64: ${e}`);return t},enc(t){return e.setBigInt64(0,this.parse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(t){return e.setBigInt64(0,this.uParse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigInt64(0,!0)),uDec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:e=>("string"!=typeof e&&(e=e.toString()),ir(e),e),uParse:e=>("string"!=typeof e&&(e=e.toString()),io(e),e),enc:e=>("string"!=typeof e&&(e=e.toString()),ir(e),n4(e)),uEnc:e=>("string"!=typeof e&&(e=e.toString()),io(e),n4(e)),dec:(e,t)=>(function(e,t){let n=n8(e,t),i=2147483648&n.hi;i&&(n=n7(n.lo,n.hi));let r=n6(n.lo,n.hi);return i?"-"+r:r})(e,t),uDec:(e,t)=>n6(e,t)}}();function ir(e){if(!/^-?[0-9]+$/.test(e))throw Error("invalid int64: "+e)}function io(e){if(!/^[0-9]+$/.test(e))throw Error("invalid uint64: "+e)}function ia(e,t){switch(e){case _.STRING:return"";case _.BOOL:return!1;case _.DOUBLE:case _.FLOAT:return 0;case _.INT64:case _.UINT64:case _.SFIXED64:case _.FIXED64:case _.SINT64:return t?"0":ii.zero;case _.BYTES:return new Uint8Array(0);default:return 0}}(eg=_||(_={}))[eg.DOUBLE=1]="DOUBLE",eg[eg.FLOAT=2]="FLOAT",eg[eg.INT64=3]="INT64",eg[eg.UINT64=4]="UINT64",eg[eg.INT32=5]="INT32",eg[eg.FIXED64=6]="FIXED64",eg[eg.FIXED32=7]="FIXED32",eg[eg.BOOL=8]="BOOL",eg[eg.STRING=9]="STRING",eg[eg.BYTES=12]="BYTES",eg[eg.UINT32=13]="UINT32",eg[eg.SFIXED32=15]="SFIXED32",eg[eg.SFIXED64=16]="SFIXED64",eg[eg.SINT32=17]="SINT32",eg[eg.SINT64=18]="SINT64";let is=Symbol.for("reflect unsafe local");function il(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]}function id(e){for(let t of e.field)il(t,"jsonName")||(t.jsonName=n1(t.name));e.nestedType.forEach(id)}function ic(...e){let t=function(){let e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator]:()=>e.values(),get files(){return n.values()},addFile(e,t,i){if(n.set(e.proto.name,e),!t)for(let t of function* e(t){switch(t.kind){case"file":for(let n of t.messages)yield n,yield*e(n);yield*t.enums,yield*t.services,yield*t.extensions;break;case"message":for(let n of t.nestedMessages)yield n,yield*e(n);yield*t.nestedEnums,yield*t.nestedExtensions}}(e))this.add(t);if(i)for(let n of e.dependencies)this.addFile(n,t,i)},add(n){if("extension"==n.kind){let e=t.get(n.extendee.typeName);e||t.set(n.extendee.typeName,e=new Map),e.set(n.number,n)}e.set(n.typeName,n)},get:t=>e.get(t),getFile:e=>n.get(e),getMessage(t){let n=e.get(t);return n?.kind=="message"?n:void 0},getEnum(t){let n=e.get(t);return n?.kind=="enum"?n:void 0},getExtension(t){let n=e.get(t);return n?.kind=="extension"?n:void 0},getExtensionFor(e,n){var i;return null===(i=t.get(e.typeName))||void 0===i?void 0:i.get(n)},getService(t){let n=e.get(t);return n?.kind=="service"?n:void 0}}}();if(!e.length)return t;if("$typeName"in e[0]&&"google.protobuf.FileDescriptorSet"==e[0].$typeName){for(let n of e[0].file)im(n,t);return t}if("$typeName"in e[0]){let n=function(e){let i=[];for(let n of e.dependency){if(null!=t.getFile(n)||o.has(n))continue;let a=r(n);if(!a)throw Error(`Unable to resolve ${n}, imported by ${e.name}`);"kind"in a?t.addFile(a,!1,!0):(o.add(a.name),i.push(a))}return i.concat(...i.map(n))},i=e[0],r=e[1],o=new Set;for(let e of[i,...n(i)].reverse())im(e,t)}else for(let n of e)for(let e of n.files)t.addFile(e);return t}let iu={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2,enforceNamingStyle:2,defaultSymbolVisibility:1},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1001:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:1,defaultSymbolVisibility:2}};function im(e,t){var n,i;let r={kind:"file",proto:e,deprecated:null!==(i=null===(n=e.options)||void 0===n?void 0:n.deprecated)&&void 0!==i&&i,edition:function(e){switch(e.syntax){case"":case"proto2":return 998;case"proto3":return 999;case"editions":if(9999===e.edition)return 1001;if(e.edition in iu)return e.edition;throw Error(`${e.name}: unsupported edition`);default:throw Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}(e),name:e.name.replace(/\.proto$/,""),dependencies:e.dependency.map(n=>{let i=t.getFile(n);if(!i)throw Error(`Cannot find ${n}, imported by ${e.name}`);return i}),enums:[],messages:[],extensions:[],services:[],toString:()=>`file ${e.name}`},o=new Map,a={get:e=>o.get(e),add(e){var t;iw((null===(t=e.proto.options)||void 0===t?void 0:t.mapEntry)===!0),o.set(e.typeName,e)}};for(let n of e.enumType)ib(n,r,void 0,t);for(let n of e.messageType)!function e(t,n,i,r,o){var a,s,l,d;let c={kind:"message",proto:t,deprecated:null!==(s=null===(a=t.options)||void 0===a?void 0:a.deprecated)&&void 0!==s&&s,file:n,parent:i,name:t.name,typeName:iv(t,i,n),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};for(let e of((null===(l=t.options)||void 0===l?void 0:l.mapEntry)===!0?o.add(c):((null!==(d=i?.nestedMessages)&&void 0!==d?d:n.messages).push(c),r.add(c)),t.enumType))ib(e,n,c,r);for(let i of t.nestedType)e(i,n,c,r,o)}(n,r,void 0,t,a);for(let n of e.service)!function(e,t,n){var i,r;let o={kind:"service",proto:e,deprecated:null!==(r=null===(i=e.options)||void 0===i?void 0:i.deprecated)&&void 0!==r&&r,file:t,name:e.name,typeName:iv(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};for(let i of(t.services.push(o),n.add(o),e.method)){let e=function(e,t,n){var i,r,o,a;let s;s=e.clientStreaming&&e.serverStreaming?"bidi_streaming":e.clientStreaming?"client_streaming":e.serverStreaming?"server_streaming":"unary";let l=n.getMessage(iy(e.inputType)),d=n.getMessage(iy(e.outputType));iw(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),iw(d,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);let c=e.name;return{kind:"rpc",proto:e,deprecated:null!==(r=null===(i=e.options)||void 0===i?void 0:i.deprecated)&&void 0!==r&&r,parent:t,name:c,localName:n5(c.length?n5(c[0].toLowerCase()+c.substring(1)):c),methodKind:s,input:l,output:d,idempotency:null!==(a=null===(o=e.options)||void 0===o?void 0:o.idempotencyLevel)&&void 0!==a?a:0,toString:()=>`rpc ${t.typeName}.${c}`}}(i,o,n);o.methods.push(e),o.method[e.localName]=e}}(n,r,t);
1for(let e of(ip(r,t),o.values()))ih(e,t,a);for(let e of r.messages)ih(e,t,a),ip(e,t);t.addFile(r,!0)}function ip(e,t){switch(e.kind){case"file":for(let n of e.proto.extension){let i=ig(n,e,t);e.extensions.push(i),t.add(i)}break;case"message":for(let n of e.proto.extension){let i=ig(n,e,t);e.nestedExtensions.push(i),t.add(i)}for(let n of e.nestedMessages)ip(n,t)}}function ih(e,t,n){let i=e.proto.oneofDecl.map(t=>({kind:"oneof",proto:t,deprecated:!1,parent:e,fields:[],name:t.name,localName:n5(n1(t.name)),toString(){return`oneof ${e.typeName}.${this.name}`}})),r=new Set;for(let o of e.proto.field){let a=function(e,t){if(!il(e,"oneofIndex")||e.proto3Optional)return;let n=t[e.oneofIndex];return iw(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}(o,i),s=ig(o,e,t,a,n);e.fields.push(s),e.field[s.localName]=s,void 0===a?e.members.push(s):(a.fields.push(s),r.has(a)||(r.add(a),e.members.push(a)))}for(let t of i.filter(e=>r.has(e)))e.oneofs.push(t);for(let i of e.nestedMessages)ih(i,t,n)}function ib(e,t,n,i){var r,o,a,s,l,d;let c=function(e,t){let n=(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,e=>"_"+e)).toLowerCase()+"_";for(let e of t){if(!e.name.toLowerCase().startsWith(n))return;let t=e.name.substring(n.length);if(0==t.length||/^\d/.test(t))return}return n}(e.name,e.value),u={kind:"enum",proto:e,deprecated:null!==(o=null===(r=e.options)||void 0===r?void 0:r.deprecated)&&void 0!==o&&o,file:t,parent:n,open:!0,name:e.name,typeName:iv(e,n,t),value:{},values:[],sharedPrefix:c,toString(){return`enum ${this.typeName}`}};for(let t of(u.open=1==iI("enumType",{proto:u.proto,parent:null!==(d=u.parent)&&void 0!==d?d:u.file}),i.add(u),e.value)){let e=t.name;u.values.push(u.value[t.number]={kind:"enum_value",proto:t,deprecated:null!==(s=null===(a=t.options)||void 0===a?void 0:a.deprecated)&&void 0!==s&&s,parent:u,name:e,localName:n5(null==c?e:e.substring(c.length)),number:t.number,toString:()=>`enum value ${u.typeName}.${e}`})}(null!==(l=n?.nestedEnums)&&void 0!==l?l:t.enums).push(u)}function ig(e,t,n,i,r){var o,a,s;let l=void 0===r,d={kind:"field",proto:e,deprecated:null!==(a=null===(o=e.options)||void 0===o?void 0:o.deprecated)&&void 0!==a&&a,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:function(e,t,n,i){if(2==e.label)return 3;if(3==e.label)return 2;if(t||e.proto3Optional||n)return 1;let r=iI("fieldPresence",{proto:e,parent:i});return 2==r&&(11==e.type||10==e.type)?1:r}(e,i,l,t),utf8Validation:2==iI("utf8Validation",{proto:e,parent:t}),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(l){let i="file"==t.kind?t:t.file,r="file"==t.kind?void 0:t,o=iv(e,r,i);d.kind="extension",d.file=i,d.parent=r,d.oneof=void 0,d.typeName=o,d.jsonName=`[${o}]`,d.toString=()=>`extension ${o}`;let a=n.getMessage(iy(e.extendee));iw(a,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),d.extendee=a}else iw("message"==t.kind),d.parent=t,d.oneof=i,d.localName=i?n1(e.name):n5(n1(e.name)),d.jsonName=e.jsonName,d.toString=()=>`field ${t.typeName}.${e.name}`;let c=e.label,u=e.type,m=null===(s=e.options)||void 0===s?void 0:s.jstype;if(3===c){let i=11==u?r?.get(iy(e.typeName)):void 0;if(i){d.fieldKind="map";let{key:e,value:t}=function(e){let t=e.fields.find(e=>1===e.number),n=e.fields.find(e=>2===e.number);return iw(t&&"scalar"==t.fieldKind&&t.scalar!=_.BYTES&&t.scalar!=_.FLOAT&&t.scalar!=_.DOUBLE&&n&&"list"!=n.fieldKind&&"map"!=n.fieldKind),{key:t,value:n}}(i);return d.mapKey=e.scalar,d.mapKind=t.fieldKind,d.message=t.message,d.delimitedEncoding=!1,d.enum=t.enum,d.scalar=t.scalar,d}switch(d.fieldKind="list",u){case 11:case 10:d.listKind="message",d.message=n.getMessage(iy(e.typeName)),iw(d.message),d.delimitedEncoding=iE(e,t);break;case 14:d.listKind="enum",d.enum=n.getEnum(iy(e.typeName)),iw(d.enum);break;default:d.listKind="scalar",d.scalar=u,d.longAsString=1==m}return d.packed=function(e,t){if(3!=e.label)return!1;switch(e.type){case 9:case 12:case 10:case 11:return!1}let n=e.options;return n&&il(n,"packed")?n.packed:1==iI("repeatedFieldEncoding",{proto:e,parent:t})}(e,t),d}switch(u){case 11:case 10:d.fieldKind="message",d.message=n.getMessage(iy(e.typeName)),iw(d.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),d.delimitedEncoding=iE(e,t),d.getDefaultValue=()=>{};break;case 14:{let t=n.getEnum(iy(e.typeName));iw(void 0!==t,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),d.fieldKind="enum",d.enum=n.getEnum(iy(e.typeName)),d.getDefaultValue=()=>il(e,"defaultValue")?function(e,t){let n=e.values.find(e=>e.name===t);if(!n)throw Error(`cannot parse ${e} default value: ${t}`);return n.number}(t,e.defaultValue):void 0;break}default:d.fieldKind="scalar",d.scalar=u,d.longAsString=1==m,d.getDefaultValue=()=>il(e,"defaultValue")?function(e,t){switch(e){case _.STRING:return t;case _.BYTES:{let n=function(e){let t=[],n={tail:e,c:"",next(){return 0!=this.tail.length&&(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(e){if(this.tail.length>=e){let t=this.tail.substring(0,e);return this.tail=this.tail.substring(e),t}return!1}};for(;n.next();)if("\\"===n.c){if(n.next())switch(n.c){case"\\":t.push(n.c.charCo
1deAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{let e=n.c,i=n.take(2);if(!1===i)return!1;let r=parseInt(e+i,8);if(Number.isNaN(r))return!1;t.push(r);break}case"x":{let e=n.c,i=n.take(2);if(!1===i)return!1;let r=parseInt(e+i,16);if(Number.isNaN(r))return!1;t.push(r);break}case"u":{let e=n.c,i=n.take(4);if(!1===i)return!1;let r=parseInt(e+i,16);if(Number.isNaN(r))return!1;let o=new Uint8Array(4);new DataView(o.buffer).setInt32(0,r,!0),t.push(o[0],o[1],o[2],o[3]);break}case"U":{let e=n.c,i=n.take(8);if(!1===i)return!1;let r=ii.uEnc(e+i),o=new Uint8Array(8),a=new DataView(o.buffer);a.setInt32(0,r.lo,!0),a.setInt32(4,r.hi,!0),t.push(o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7])}}}else t.push(n.c.charCodeAt(0));return new Uint8Array(t)}(t);if(!1===n)throw Error(`cannot parse ${_[e]} default value: ${t}`);return n}case _.INT64:case _.SFIXED64:case _.SINT64:return ii.parse(t);case _.UINT64:case _.FIXED64:return ii.uParse(t);case _.DOUBLE:case _.FLOAT:switch(t){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return Number.NaN;default:return parseFloat(t)}case _.BOOL:return"true"===t;case _.INT32:case _.UINT32:case _.SINT32:case _.FIXED32:case _.SFIXED32:return parseInt(t,10)}}(u,e.defaultValue):void 0}return d}function iv(e,t,n){return t?`${t.typeName}.${e.name}`:n.proto.package.length>0?`${n.proto.package}.${e.name}`:`${e.name}`}function iy(e){return e.startsWith(".")?e.substring(1):e}function iE(e,t){return 10==e.type||2==iI("messageEncoding",{proto:e,parent:t})}function iI(e,t){var n,i;let r=null===(n=t.proto.options)||void 0===n?void 0:n.features;if(r){let t=r[e];if(0!=t)return t}if("kind"in t){if("message"==t.kind)return iI(e,null!==(i=t.parent)&&void 0!==i?i:t.file);let n=iu[t.edition];if(!n)throw Error(`feature default for edition ${t.edition} not found`);return n[e]}return iI(e,t.parent)}function iw(e,t){if(!e)throw Error(t)}function iV(e){var t,n,i,r,o,a,s,l;return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:null!==(n=null===(t=e.field)||void 0===t?void 0:t.map(iN))&&void 0!==n?n:[],extension:[],nestedType:null!==(r=null===(i=e.nestedType)||void 0===i?void 0:i.map(iV))&&void 0!==r?r:[],enumType:null!==(a=null===(o=e.enumType)||void 0===o?void 0:o.map(iS))&&void 0!==a?a:[],extensionRange:null!==(l=null===(s=e.extensionRange)||void 0===s?void 0:s.map(e=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},e)))&&void 0!==l?l:[],oneofDecl:[],reservedRange:[],reservedName:[]})}function iN(e){var t,n,i,r;return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?(t=e.options,Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},t),{targets:null!==(n=t.targets)&&void 0!==n?n:[],editionDefaults:null!==(r=null===(i=t.editionDefaults)||void 0===i?void 0:i.map(e=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},e)))&&void 0!==r?r:[],uninterpretedOption:[]}))):void 0}))}function iS(e){return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(e=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},e))})}function iR(e,t){return null!==e&&"object"==typeof e&&"$typeName"in e&&"string"==typeof e.$typeName&&(void 0===t||t.typeName===e.$typeName)}class iA extends Error{constructor(e,t,n="FieldValueInvalidError"){super(t),this.name=n,this.field=()=>e}}function iZ(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function iB(e,t){var n,i,r,o;if(iZ(e)&&is in e&&"add"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let a=e.field();return t.listKind==a.listKind&&t.scalar===a.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=a.message)||void 0===i?void 0:i.typeName)&&(null===(r=t.enum)||void 0===r?void 0:r.typeName)===(null===(o=a.enum)||void 0===o?void 0:o.typeName)}return!0}return!1}function iC(e,t){var n,i,r,o;
1if(iZ(e)&&is in e&&"has"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==t){let a=e.field();return t.mapKey===a.mapKey&&t.mapKind==a.mapKind&&t.scalar===a.scalar&&(null===(n=t.message)||void 0===n?void 0:n.typeName)===(null===(i=a.message)||void 0===i?void 0:i.typeName)&&(null===(r=t.enum)||void 0===r?void 0:r.typeName)===(null===(o=a.enum)||void 0===o?void 0:o.typeName)}return!0}return!1}function iT(e,t){return iZ(e)&&is in e&&"desc"in e&&iZ(e.desc)&&"message"===e.desc.kind&&(void 0===t||e.desc.typeName==t.typeName)}let iU=Symbol.for("@bufbuild/protobuf/text-encoding");function i_(){if(null==globalThis[iU]){let e;let t=new globalThis.TextEncoder,n=new globalThis.TextDecoder;globalThis[iU]={encodeUtf8:e=>t.encode(e),decodeUtf8:(t,i)=>i?(void 0===e&&(e=new globalThis.TextDecoder("utf-8",{fatal:!0})),e.decode(t)):n.decode(t),checkUtf8(e){try{return encodeURIComponent(e),!0}catch{return!1}}}}return globalThis[iU]}(ev=G||(G={}))[ev.Varint=0]="Varint",ev[ev.Bit64=1]="Bit64",ev[ev.LengthDelimited=2]="LengthDelimited",ev[ev.StartGroup=3]="StartGroup",ev[ev.EndGroup=4]="EndGroup",ev[ev.Bit32=5]="Bit32";class iG{tag(){let e=this.pos,t=this.uint32(),n=this.pos-e;if(n>5||5==n&&this.buf[this.pos-1]>15)throw Error("illegal tag: varint overflows uint32");let i=t>>>3,r=7&t;if(i<=0||r>5)throw Error("illegal tag: field no "+i+" wire type "+r);return[i,r]}skip(e,t,n=100){let i=this.pos;switch(e){case G.Varint:for(;128&this.buf[this.pos++];);break;case G.Bit64:this.pos+=4;case G.Bit32:this.pos+=4;break;case G.LengthDelimited:let r=this.uint32();this.pos+=r;break;case G.StartGroup:if(n<=0)throw Error("maximum recursion depth reached");for(;;){let[e,i]=this.tag();if(i===G.EndGroup){if(void 0!==t&&e!==t)throw Error("invalid end group tag");break}this.skip(i,e,n-1)}break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(i,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return ii.dec(...this.varint64())}uint64(){return ii.uDec(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(1&e);return e=(e>>>1|(1&t)<<31)^n,t=t>>>1^n,ii.dec(e,t)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return ii.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return ii.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(e){return this.decodeUtf8(this.bytes(),e)}constructor(e,t=i_().decodeUtf8){this.decodeUtf8=t,this.varint64=n3,this.uint32=it,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}}function ik(e,t,n){let i=iF(e,n);if(!0!==i)return new iA(e,`list item #${t+1}: ${iX(e,n,i)}`)}function iF(e,t){return void 0!==e.scalar?ix(t,e.scalar):void 0!==e.enum?e.enum.open?ix(t,_.INT32):e.enum.values.some(e=>e.number===t):iT(t,e.message)}function ix(e,t){switch(t){case _.DOUBLE:return"number"==typeof e;case _.FLOAT:return"number"==typeof e&&(!!Number.isNaN(e)||!Number.isFinite(e)||!(e>34028234663852886e22)&&!(e<-34028234663852886e22)||`${e.toFixed()} out of range`);case _.INT32:case _.SFIXED32:case _.SINT32:return!!("number"==typeof e&&Number.isInteger(e))&&(!(e>2147483647)&&!(e<-2147483648)||`${e.toFixed()} out of range`);case _.FIXED32:case _.UINT32:return!!("number"==typeof e&&Number.isInteger(e))&&(!(e>4294967295)&&!(e<0)||`${e.toFixed()} out of range`);case _.BOOL:return"boolean"==typeof e;case _.STRING:return"string"==typeof e&&(i_().checkUtf8(e)||"invalid UTF8");case _.BYTES:return e instanceof Uint8Array;case _.INT64:case _.SFIXED64:case _.SINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return ii.parse(e),!0}catch{return`${e} out of range`}return!1;case _.FIXED64:case _.UINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return ii.uParse(e),!0}catch{return`${e} out of range`}return!1}}function iX(e,t,n){return n="string"==typeof n?`: ${n}`:`, got ${iW(t)}`,void 0!==e.scalar?`expected ${function(e){switch(e){case _.STRING:return"string";case _.BOOL:return"boolean";
1case _.INT64:case _.SINT64:case _.SFIXED64:return"bigint (int64)";case _.UINT64:case _.FIXED64:return"bigint (uint64)";case _.BYTES:return"Uint8Array";case _.DOUBLE:return"number (float64)";case _.FLOAT:return"number (float32)";case _.FIXED32:case _.UINT32:return"number (uint32)";case _.INT32:case _.SFIXED32:case _.SINT32:return"number (int32)"}}(e.scalar)}`+n:void 0!==e.enum?`expected ${e.enum.toString()}`+n:`expected ${iY(e.message)}`+n}function iW(e){switch(typeof e){case"object":return null===e?"null":e instanceof Uint8Array?`Uint8Array(${e.length})`:Array.isArray(e)?`Array(${e.length})`:iB(e)?iL(e.field()):iC(e)?iM(e.field()):iT(e)?iY(e.desc):iR(e)?`message ${e.$typeName}`:"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function iY(e){return`ReflectMessage (${e.typeName})`}function iL(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${_[e.scalar]})`}}function iM(e){switch(e.mapKind){case"message":return`ReflectMap (${_[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${_[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${_[e.mapKey]}, ${_[e.scalar]})`}}function iz(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}let iH=Symbol(),iD=new WeakMap;function ij(e){if("oneof"==e.kind)return{case:void 0};if("list"==e.fieldKind)return[];if("map"==e.fieldKind)return{};if("message"==e.fieldKind)return iH;let t=e.getDefaultValue();return void 0!==t?"scalar"==e.fieldKind&&e.longAsString?t.toString():t:"scalar"==e.fieldKind?ia(e.scalar,e.longAsString):e.enum.values[0].number}function iO(e,t,n=!0){return new iP(e,t,n)}let iJ=new WeakMap;class iP{get sortedFields(){let e=iJ.get(this.desc);if(e)return e;let t=this.desc.fields.concat().sort((e,t)=>e.number-t.number);return iJ.set(this.desc,t),t}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return iQ(this.message,e),function(e,t){let n=e[t.localName].case;return void 0===n?n:t.fields.find(e=>e.localName===n)}(this.message,e)}isSet(e){return iQ(this.message,e),function(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(2!=t.presence)return void 0!==e[n]&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!function(e,t){switch(e){case _.BOOL:return!1===t;case _.STRING:return""===t;case _.BYTES:return t instanceof Uint8Array&&!t.byteLength;case _.DOUBLE:case _.FLOAT:return Object.is(t,0);default:return 0==t}}(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw Error("message field with implicit presence")}(this.message,e)}clear(e){iQ(this.message,e),function(e,t){let n=t.localName;if(t.oneof){let i=t.oneof.localName;e[i].case===n&&(e[i]={case:void 0})}else if(2!=t.presence)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=ia(t.scalar,t.longAsString)}}(this.message,e)}get(e){iQ(this.message,e);let t=function(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}(this.message,e);switch(e.fieldKind){case"list":let n=this.lists.get(e);return n&&n[is]===t||this.lists.set(e,n=new iK(e,t,this.check)),n;case"map":let i=this.maps.get(e);return i&&i[is]===t||this.maps.set(e,i=new iq(e,t,this.check)),i;case"message":return i0(e,t,this.check);case"scalar":return void 0===t?ia(e.scalar,!1):i4(e,t);case"enum":return t??e.enum.values[0].number}}set(e,t){var n;let i;if(iQ(this.message,e),this.check){let n=function(e,t){let n;let i="list"==e.fieldKind?iB(t,e):"map"==e.fieldKind?iC(t,e):iF(e,t);if(!0!==i){switch(e.fieldKind){case"list":n=`expected ${iL(e)}, got ${iW(t)}`;break;case"map":n=`expected ${iM(e)}, got ${iW(t)}`;break;default:n=iX(e,t,i)}return new iA(e,n)}}(e,t);if(n)throw n}i="message"==e.fieldKind?i$(e,t):iC(t)||iB(t)?t[is]:i6(e,t),n=this.message,e.oneof?n[e.oneof.localName]={case:e.localName,value:i}:n[e.localName]=i}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}constructor(e,t,n=!0){var i;this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[is]=t??(iR(i,e)?i:function(e){let t;if(function(e){switch(e.file.edition){case 999:return!1;case 998:return!0;default:return e.fields.some(e=>2!=e.presence&&"message"!=e.fieldKind&&!e.oneof)}}(e)){let n,i;let r=iD.get(e);if(r)({prototype:n,members:i}=r);else{for(let t of(n={},i=new Set,e.members))"oneof"!=t.kind&&("scalar"!=t.fieldKind&&"enum"!=t.fieldKind||2!=t.presence&&(i.add(t),n[t.localName]=ij(t)));iD.set(e,{prototype:n,members:i})}for(let r of((t=Object.create(n)).$typeName=e.typeName,e.members))i.has(r)||"field"==r.kind&&("message"==r.fieldKind||("scalar"==r.fieldKind||"enum"==r.fieldKind)&&2!=r.presence)||(t[r.localName]=ij(r))}else for(let n of(t={$typeName:e.typeName},e.members))("oneof"==n.kind||2==n.presence)&&(t[n.localName]=ij(n));return t}(e)),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}}function iQ(e,t){if(t.parent.typeName!==e.$typeName)throw new iA(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class iK{field(){return this._field}get size(){return this._arr.length}get(e){let t=this._arr[e];return void 0===t?void 0:i1(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new iA(this._field,`list item #${e+1}: out of range`);if(this.check){let n=ik(this._field,e,t);if(n)throw n}this._arr[e]=i2(this._field,t)}add(e){if(this.check){let t=ik(this._field,this._arr.length,e);if(t)throw t}this._arr.push(i2(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield i1(this._field,e,this.check)}*entries(){for(let e=0;e<this._arr.length;e++)yield[e,i1(this._field,this._arr[e],this.check)]}constructor(e,t,n){this._field=e,this._arr=this[is]=t,this.check=n}}class iq{field(){return this._field}set(e,t){var n;if(this.check){let n=function(e,t,n){let i=ix(t,e.mapKey);if(!0!==i)return new iA(e,`invalid map key: ${iX({scalar:e.mapKey},t,i)}`);let r=iF(e,n);if(!0!==r)return new iA(e,`map entry ${iW(t)}: ${iX(e,n,r)}`)}(this._field,e,t);if(n)throw n}return this.obj[i5(e)]="message"==(n=this._field).mapKind?i$(n,t):i6(n,t),this}delete(e){let t=i5(e),n=Object.prototype.hasOwnProperty.call(this.obj,t);return n&&delete this.obj[t],n}clear(){for(let e of Object.keys(this.obj))delete this.obj[e]}get(e){let t=this.obj[i5(e)];return void 0!==t&&(t=i9(this._field,t,this.check)),t}has(e){return Object.prototype.hasOwnProperty.call(this.obj,i5(e))}*keys(){for(let e of Object.keys(this.obj))yield i3(e,this._field.mapKey)}*entries(){for(let e of Object.entries(this.obj))yield[i3(e[0],this._field.mapKey),i9(this._field,e[1],this.check)]}[Symbol.iterator](){return this.entries()}get size(){return Object.keys(this.obj).length}*values(){for(let e of Object.values(this.obj))yield i9(this._field,e,this.check)}forEach(e,t){for(let n of this.entries())e.call(t,n[1],n[0],this)}constructor(e,t,n=!0){this.obj=this[is]=t??{},this.check=n,this._field=e}}function i$(e,t){return iT(t)?iz(t.message.$typeName)&&!e.oneof&&"message"==e.fieldKind?t.message.value:"google.protobuf.Struct"==t.desc.typeName&&"google.protobuf.Value"!=e.parent.typeName?function e(t){let n={};for(let[i,r]of Object.entries(t.fields))n[i]=function t(n){switch(n.kind.case){case"structValue":return e(n.kind.value);case"listValue":return n.kind.value.values.map(t);case"nullValue":case void 0:return null;default:return n.kind.value}}(r);return n}(t.message):t.message:t}function i0(e,t,n){return void 0!==t&&(function(e){let t=e.fields[0];return iz(e.typeName)&&void 0!==t&&"scalar"==t.fieldKind&&"value"==t.name&&1==t.number}
1(e.message)&&!e.oneof&&"message"==e.fieldKind?t={$typeName:e.message.typeName,value:i4(e.message.fields[0],t)}:"google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!=e.parent.typeName&&iZ(t)&&(t=function e(t){let n={$typeName:"google.protobuf.Struct",fields:{}};if(iZ(t))for(let[i,r]of Object.entries(t))n.fields[i]=function t(n){let i={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof n){case"number":i.kind={case:"numberValue",value:n};break;case"string":i.kind={case:"stringValue",value:n};break;case"boolean":i.kind={case:"boolValue",value:n};break;case"object":if(null===n)i.kind={case:"nullValue",value:0};else if(Array.isArray(n)){let e={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(n))for(let i of n)e.values.push(t(i));i.kind={case:"listValue",value:e}}else i.kind={case:"structValue",value:e(n)}}return i}(r);return n}(t))),new iP(e.message,t,n)}function i2(e,t){return"message"==e.listKind?i$(e,t):i6(e,t)}function i1(e,t,n){return"message"==e.listKind?i0(e,t,n):i4(e,t)}function i9(e,t,n){return"message"==e.mapKind?i0(e,t,n):t}function i5(e){return"string"==typeof e||"number"==typeof e?e:String(e)}function i3(e,t){switch(t){case _.STRING:break;case _.INT32:case _.FIXED32:case _.UINT32:case _.SFIXED32:case _.SINT32:{let t=Number.parseInt(e);if(Number.isFinite(t))return t;break}case _.BOOL:switch(e){case"true":return!0;case"false":return!1}break;case _.UINT64:case _.FIXED64:try{return ii.uParse(e)}catch{}break;default:try{return ii.parse(e)}catch{}}return e}function i4(e,t){switch(e.scalar){case _.INT64:case _.SFIXED64:case _.SINT64:"longAsString"in e&&e.longAsString&&"string"==typeof t&&(t=ii.parse(t));break;case _.FIXED64:case _.UINT64:"longAsString"in e&&e.longAsString&&"string"==typeof t&&(t=ii.uParse(t))}return t}function i6(e,t){switch(e.scalar){case _.INT64:case _.SFIXED64:case _.SINT64:"longAsString"in e&&e.longAsString?t=String(t):("string"==typeof t||"number"==typeof t)&&(t=ii.parse(t));break;case _.FIXED64:case _.UINT64:"longAsString"in e&&e.longAsString?t=String(t):("string"==typeof t||"number"==typeof t)&&(t=ii.uParse(t))}return t}function i8(e,t,...n){return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t])}function i7(e,t,...n){if(0==n.length)return e.enums[t];let i=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[i]}function re(e){let t={};for(let n of e.values)t[n.localName]=n.number,t[n.number]=n.localName;return t}let rt=i8(function(e){let t=Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(iV),enumType:e.enumType.map(iS)}));return t.messageType.forEach(id),ic(t,()=>{}).getFile(t.name)}({name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}],extensionRange:[{start:536e6,end:536000001}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"option_dependency",number:15,type:9,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3},{name:"visibility",number:11,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3},{name:"visibility",number:6,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false",options:{}},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1}
vendor: 8,444 bytes, line 1
1,{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false",options:{deprecated:!0}},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"removal_error",number:5,type:9,label:1}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}},{name:"enforce_naming_style",number:7,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnforceNamingStyle",options:{retention:2,targets:[1,2,3,4,5,6,7,8,9],editionDefaults:[{value:"STYLE_LEGACY",edition:900},{value:"STYLE2024",edition:1001}]}},{name:"default_symbol_visibility",number:8,type:14,label:1,typeName:".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility",options:{retention:2,targets:[1],editionDefaults:[{value:"EXPORT_ALL",edition:900},{value:"EXPORT_TOP_LEVEL",edition:1001}]}}],nestedType:[{name:"VisibilityFeature",enumType:[{name:"DefaultSymbolVisibility",value:[{name:"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",number:0},{name:"EXPORT_ALL",number:1},{name:"EXPORT_TOP_LEVEL",number:2},{name:"LOCAL_ALL",number:3},{name:"STRICT",number:4}]}]}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0}
1,{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]},{name:"EnforceNamingStyle",value:[{name:"ENFORCE_NAMING_STYLE_UNKNOWN",number:0},{name:"STYLE2024",number:1},{name:"STYLE_LEGACY",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}],extensionRange:[{start:536e6,end:536000001}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_UNSTABLE",number:9999},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:2147483647}]},{name:"SymbolVisibility",value:[{name:"VISIBILITY_UNSET",number:0},{name:"VISIBILITY_LOCAL",number:1},{name:"VISIBILITY_EXPORT",number:2}]}]}),1);function rn(e,t,n,i,r){var o;let a,s;if(++n.depth>n.recursionLimit)throw Error(`cannot decode ${e.desc} from binary: maximum recursion depth of ${n.recursionLimit} reached`);let l=i?t.len:t.pos+r,d=null!==(o=e.getUnknown())&&void 0!==o?o:[];for(;t.pos<l&&([a,s]=t.tag(),!(i&&s==G.EndGroup));){let i=e.findNumber(a);if(!i){let e=n.recursionLimit-n.depth,i=t.skip(s,a,e);n.readUnknownFields&&d.push({no:a,wireType:s,data:i});continue}!function(e,t,n,i,r){var o;switch(n.fieldKind){case"scalar":e.set(n,rr(t,n.scalar,n.utf8Validation));break;case"enum":let a=rr(t,_.INT32);if(n.enum.open)e.set(n,a);else if(n.enum.values.some(e=>e.number===a))e.set(n,a);else if(r.readUnknownFields){let t=[];!function(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}}(a,t);let r=null!==(o=e.getUnknown())&&void 0!==o?o:[];r.push({no:n.number,wireType:i,data:new Uint8Array(t)}),e.setUnknown(r)}break;case"message":e.set(n,ri(t,r,n,e.get(n)));break;case"list":!function(e,t,n,i){var r;let o=n.field();if("message"===o.listKind){n.add(ri(e,i,o));return}let a=null!==(r=o.scalar)&&void 0!==r?r:_.INT32;if(!(t==G.LengthDelimited&&a!=_.STRING&&a!=_.BYTES)){n.add(rr(e,a,o.utf8Validation));return}let s=e.uint32()+e.pos;for(;e.pos<s;)n.add(rr(e,a,o.utf8Validation))}(t,i,e.get(n),r);break;case"map":!function(e,t,n){let i,r;let o=t.field(),a=e.uint32(),s=e.pos+a;for(;e.pos<s;){let[t]=e.tag();switch(t){case 1:i=rr(e,o.mapKey,o.utf8Validation);break;case 2:switch(o.mapKind){case"scalar":r=rr(e,o.scalar,o.utf8Validation);break;case"enum":r=e.int32();break;case"message":r=ri(e,n,o)}}}if(void 0===i&&(i=ia(o.mapKey,!1)),void 0===r)switch(o.mapKind){case"scalar":r=ia(o.scalar,!1);break;case"enum":r=o.enum.values[0].number;break;case"message":r=iO(o.message,void 0,!1)}t.set(i,r)}(t,e.get(n),r)}}(e,t,i,s,n)}if(i&&(s!=G.EndGroup||a!==r))throw Error("invalid end group tag");d.length>0&&e.setUnknown(d),n.depth--}function ri(e,t,n,i){let r=n.delimitedEncoding,o=i??iO(n.message,void 0,!1);return rn(o,e,t,r,r?n.number:e.uint32()),o}function rr(e,t,n=!1){switch(t){case _.STRING:return e.string(n);case _.BOOL:return e.bool();case _.DOUBLE:return e.double();case _.FLOAT:return e.float();case _.INT32:return e.int32();case _.INT64:return e.int64();case _.UINT64:return e.uint64();case _.FIXED64:return e.fixed64();case _.BYTES:return e.bytes();case _.FIXED32:return e.fixed32();
1case _.SFIXED32:return e.sfixed32();case _.SFIXED64:return e.sfixed64();case _.SINT64:return e.sint64();case _.UINT32:return e.uint32();case _.SINT32:return e.sint32()}}function ro(n,i){var r;let o=function(e,t,n){let i=iO(e,void 0,!1);return rn(i,new iG(t),Object.assign(Object.assign({readUnknownFields:!0,recursionLimit:100},void 0),{depth:0}),!1,t.byteLength),i.message}(rt,function(n){let i=function(){if(!t){t=[];let n=(e||(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("")).slice(0,-2).concat("-","_"),e);for(let e=0;e<n.length;e++)t[n[e].charCodeAt(0)]=e;t[45]=n.indexOf("+"),t[95]=n.indexOf("/")}return t}(),r=3*n.length/4;"="==n[n.length-2]?r-=2:"="==n[n.length-1]&&(r-=1);let o=new Uint8Array(r),a=0,s=0,l,d=0;for(let e=0;e<n.length;e++){if(void 0===(l=i[n.charCodeAt(e)]))switch(n[e]){case"=":s=0;case`
2`:case"\r":case"	":case" ":continue;default:throw Error("invalid base64 string")}switch(s){case 0:d=l,s=1;break;case 1:o[a++]=d<<2|(48&l)>>4,d=l,s=2;break;case 2:o[a++]=(15&d)<<4|(60&l)>>2,d=l,s=3;break;case 3:o[a++]=(3&d)<<6|l,s=0}}if(1==s)throw Error("invalid base64 string");return o.subarray(0,a)}(n));return o.messageType.forEach(id),o.dependency=null!==(r=i?.map(e=>e.proto.name))&&void 0!==r?r:[],ic(o,e=>i?.find(t=>t.proto.name===e)).getFile(o.name)}(ey=k||(k={}))[ey.DECLARATION=0]="DECLARATION",ey[ey.UNVERIFIED=1]="UNVERIFIED",(eE=F||(F={}))[eE.DOUBLE=1]="DOUBLE",eE[eE.FLOAT=2]="FLOAT",eE[eE.INT64=3]="INT64",eE[eE.UINT64=4]="UINT64",eE[eE.INT32=5]="INT32",eE[eE.FIXED64=6]="FIXED64",eE[eE.FIXED32=7]="FIXED32",eE[eE.BOOL=8]="BOOL",eE[eE.STRING=9]="STRING",eE[eE.GROUP=10]="GROUP",eE[eE.MESSAGE=11]="MESSAGE",eE[eE.BYTES=12]="BYTES",eE[eE.UINT32=13]="UINT32",eE[eE.ENUM=14]="ENUM",eE[eE.SFIXED32=15]="SFIXED32",eE[eE.SFIXED64=16]="SFIXED64",eE[eE.SINT32=17]="SINT32",eE[eE.SINT64=18]="SINT64",(eI=x||(x={}))[eI.OPTIONAL=1]="OPTIONAL",eI[eI.REPEATED=3]="REPEATED",eI[eI.REQUIRED=2]="REQUIRED",(ew=X||(X={}))[ew.SPEED=1]="SPEED",ew[ew.CODE_SIZE=2]="CODE_SIZE",ew[ew.LITE_RUNTIME=3]="LITE_RUNTIME",(eV=W||(W={}))[eV.STRING=0]="STRING",eV[eV.CORD=1]="CORD",eV[eV.STRING_PIECE=2]="STRING_PIECE",(eN=Y||(Y={}))[eN.JS_NORMAL=0]="JS_NORMAL",eN[eN.JS_STRING=1]="JS_STRING",eN[eN.JS_NUMBER=2]="JS_NUMBER",(eS=L||(L={}))[eS.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",eS[eS.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",eS[eS.RETENTION_SOURCE=2]="RETENTION_SOURCE",(eR=M||(M={}))[eR.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",eR[eR.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",eR[eR.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",eR[eR.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",eR[eR.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",eR[eR.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",eR[eR.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",eR[eR.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",eR[eR.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",eR[eR.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD",(eA=z||(z={}))[eA.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",eA[eA.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",eA[eA.IDEMPOTENT=2]="IDEMPOTENT",(eZ=H||(H={}))[eZ.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0]="DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",eZ[eZ.EXPORT_ALL=1]="EXPORT_ALL",eZ[eZ.EXPORT_TOP_LEVEL=2]="EXPORT_TOP_LEVEL",eZ[eZ.LOCAL_ALL=3]="LOCAL_ALL",eZ[eZ.STRICT=4]="STRICT",(eB=D||(D={}))[eB.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",eB[eB.EXPLICIT=1]="EXPLICIT",eB[eB.IMPLICIT=2]="IMPLICIT",eB[eB.LEGACY_REQUIRED=3]="LEGACY_REQUIRED",(eC=j||(j={}))[eC.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",eC[eC.OPEN=1]="OPEN",eC[eC.CLOSED=2]="CLOSED",(eT=O||(O={}))[eT.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",eT[eT.PACKED=1]="PACKED",eT[eT.EXPANDED=2]="EXPANDED",(eU=J||(J={}))[eU.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",eU[eU.VERIFY=2]="VERIFY",eU[eU.NONE=3]="NONE",(e_=P||(P={}))[e_.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",e_[e_.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",e_[e_.DELIMITED=2]="DELIMITED",(eG=Q||(Q={}))[eG.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",eG[eG.ALLOW=1]="ALLOW",eG[eG.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT",(ek=K||(K={}))[ek.ENFORCE_NAMING_STYLE_UNKNOWN=0]="ENFORCE_NAMING_STYLE_UNKNOWN",ek[ek.STYLE2024
2=1]="STYLE2024",ek[ek.STYLE_LEGACY=2]="STYLE_LEGACY",(eF=q||(q={}))[eF.NONE=0]="NONE",eF[eF.SET=1]="SET",eF[eF.ALIAS=2]="ALIAS",(ex=$||($={}))[ex.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",ex[ex.EDITION_LEGACY=900]="EDITION_LEGACY",ex[ex.EDITION_PROTO2=998]="EDITION_PROTO2",ex[ex.EDITION_PROTO3=999]="EDITION_PROTO3",ex[ex.EDITION_2023=1e3]="EDITION_2023",ex[ex.EDITION_2024=1001]="EDITION_2024",ex[ex.EDITION_UNSTABLE=9999]="EDITION_UNSTABLE",ex[ex.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",ex[ex.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",ex[ex.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",ex[ex.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",ex[ex.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",ex[ex.EDITION_MAX=2147483647]="EDITION_MAX",(eX=ee||(ee={}))[eX.VISIBILITY_UNSET=0]="VISIBILITY_UNSET",eX[eX.VISIBILITY_LOCAL=1]="VISIBILITY_LOCAL",eX[eX.VISIBILITY_EXPORT=2]="VISIBILITY_EXPORT";let ra=ro("CjpldmVudHNfdjEvY29tcG9uZW50cy9zb3VyY2UvdHlwZS9mbGlwcF9hcHAvZmxpcHBfYXBwLnByb3RvEipldmVudHNfdjEuY29tcG9uZW50cy5zb3VyY2UudHlwZS5mbGlwcF9hcHAiYAoIRmxpcHBBcHASGAoLcG9zdGFsX2NvZGUYASABKAlIAIgBARIZCgxjb3VudHJ5X2NvZGUYAiABKAlIAYgBAUIOCgxfcG9zdGFsX2NvZGVCDwoNX2NvdW50cnlfY29kZWIGcHJvdG8z"),rs=ro("CjpldmVudHNfdjEvY29tcG9uZW50cy9zb3VyY2UvdHlwZS9mbGlwcF93ZWIvZmxpcHBfd2ViLnByb3RvEipldmVudHNfdjEuY29tcG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TlNQRUNJRklFRBAAEhYKEkRFVklDRV9UWVBFX01PQklMRRABEhYKEkRFVklDRV9UWVBFX1RBQkxFVBACEiAKHERFVklDRV9UWVBFX01PQklMRV9PUl9UQUJMRVQQAxIXChNERVZJQ0VfVFlQRV9ERVNLVE9QEARiBnByb3RvMw"),rE=re(i7(ry,0)),rI=ro("Ci1ldmVudHNfdjEvY29tcG9uZW50cy9kZXZpY2Uvb3JpZW50YXRpb24ucHJvdG8SG2V2ZW50c192MS5jb21wb25lbnRzLmRldmljZSpfCgtPcmllbnRhdGlvbhIbChdPUklFTlRBVElPTl9VTlNQRUNJRklFRBAAEhgKFE9SSUVOVEFUSU9OX1BPUlRSQUlUEAESGQoVT1JJRU5UQVRJT05fTEFORFNDQVBFEAJiBnByb3RvMw"),rw=re(i7(rI,0)),rV=ro("CipldmVudHNfdjEvY29tcG9uZW50cy9kZXZpY2UvcGxhdGZvcm0ucHJvdG8SG2V2ZW50c192MS5jb21wb25lbnRzLmRldmljZSpeCghQbGF0Zm9ybRIYChRQTEFURk9STV9VTlNQRUNJRklFRBAAEhQKEFBMQVRGT1JNX0FORFJPSUQQARIQCgxQTEFURk9STV9JT1MQAhIQCgxQTEFURk9STV9XRUIQA2IGcHJvdG8z"),rN=re(i7(rV,0)),rS=ro("CiJldmVudHNfdjEvY29tcG9uZW50cy91aS9zaXplLnByb3RvEhdldmVudHNfdjEuY29tcG9uZW50cy51aSIlCgRTaXplEg0KBXdpZHRoGAEgASgCEg4KBmhlaWdodBgCIAEoAmIGcHJvdG8z"),rR=ro("CipldmVudHNfdjEvY29tcG9uZW50cy9kZXZpY2Uvdmlld3BvcnQucHJvdG8SG2V2ZW50c192MS5jb21wb25lbnRzLmRldmljZSKVAQoIVmlld3BvcnQSKwoEc2l6ZRgBIAEoCzIdLmV2ZW50c192MS5jb21wb25lbnRzLnVpLlNpemUSNwoLaWZyYW1lX3NpemUYAiABKAsyHS5ldmVudHNfdjEuY29tcG9uZW50cy51aS5TaXplSACIAQES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ldmVudHNfdjEuY29tcG9uZW50cy50YXJnZXQuZGV0YWlscy5jb250ZW50LnYxIoABCgVGbHllchIKCgJpZBgBIAEoAxIOCgZydW5faWQYAiABKAMSDwoHdHlwZV9pZBgDIAEoAxIVCghzdG9yZV9pZBgEIAEoA0gAiAEBEhcKCmlzX3ByZW1pdW0YBSABKAhIAYgBAUILCglfc3RvcmVfaWRCDQoLX2lzX3ByZW1pdW1iBnByb3RvMw"),o_=ro("Cj1ldmVudHNfdjEvY29tcG9uZW50cy90YXJnZXQvZGV0YWlscy9jb250ZW50L3YxL21lcmNoYW50LnByb3RvEi5ldmVudHNfdjEuY29tcG9uZW50cy50YXJnZXQuZGV0YWlscy5jb250ZW50LnYxIhYKCE1lcmNoYW50EgoKAmlkGAEgASgDYgZwcm90bzM"),oG=ro("CjpldmVudHNfdjEvY29tcG9uZW50cy90YXJnZXQvZGV0YWlscy9jb250ZW50L3YyL29mZmVyLnByb3RvEi5ldmVudHNfdjEuY29tcG9uZW50cy50YXJnZXQuZGV0YWlscy5jb250ZW50LnYyIhMKBU9mZmVyEgoKAmlkGAEgASgJYgZwcm90bzM"),ok=ro("CkBldmVudHNfdjEvY29tcG9uZW50cy90YXJnZXQvZGV0YWlscy9jb250ZW50L3YyL3B1YmxpY2F0aW9uLnByb3RvEi5ldmVudHNfdjEuY29tcG9uZW50cy50YXJnZXQuZGV0YWlscy5jb250ZW50LnYyIhkKC1B1YmxpY2F0aW9uEgoKAmlkGAEgASgJYgZwcm90bzM"),oF=ro("CjlldmVudHNfdjEvY29tcG9uZW50cy90YXJnZXQvZGV0YWlscy9jb250ZW50L2NvbnRlbnQucHJvdG8SK2V2ZW50c192MS5jb21wb25lbnRzLnRhcmdldC5kZXRhaWxzLmNvbnRlbnQiqQEKB0NvbnRlbnQSRwoCdjEYASABKAsyNi5ldmVudHNfdjEuY29tcG9uZW50cy50YXJnZXQuZGV0YWlscy5jb250ZW50LkNvbnRlbnRWMUgAiAEBEkcKAnYyGAIgASgLMj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iAEBEiwKAnVpGAwgASgLMhsuZXZlbnRzX3YxLmNvbXBvbmVudHMudWkuVUlIBogBARI4CgZzZWFyY2gYDSABKAsyIy5ldmVudHNfdjEuY29tcG9uZW50cy5zZWFyY2guU2VhcmNoSAeIAQESRAoKbmF2aWdhdGlvbhgOIAEoCzIrLmV2ZW50c192MS5jb21wb25lbnRzLm5hdmlnYXRpb24uTmF2aWdhdGlvbkgIiAEBEkcKC2F0dHJpYnV0aW9uGA8gASgLMi0uZXZlbnRzX3YxLmNvbXBvbmVudHMuYXR0cmlidXRpb24uQXR0cmlidXRpb25ICYgBAUIKCghfc2Vzc2lvbkIJCgdfc291cmNlQgkKB19kZXZpY2VCEgoQX2RldmljZV9sb2NhdGlvbkIHCgVfdXNlckIFCgNfYWRCBQoDX3VpQgkKB19zZWFyY2hCDQoLX25hdmlnYXRpb25CDgoMX2F0dHJpYnV0aW9uYgZwcm90bzM",[rD,oi,oo,rA,rT,of,ov,oy,rb,rf,oY,o8,rG,an]),ar=i8(ro("Ch9ldmVudHNfdjEvcmVxdWVzdF9wYXlsb2FkLnByb3RvEglldmVudHNfdjEiZQoOUmVxdWVzdFBheWxvYWQSJgoGaGVhZGVyGAEgASgLMhEuZXZlbnRzX3YxLkhlYWRlckgAiAEBEiAKBmV2ZW50cxgCIAMoCzIQLmV2ZW50c192MS5FdmVudEIJCgdfaGVhZGVyYgZwcm90bzM",[rk,ai]),0);async function ao(e,t){let n=await fetch(e,{method:"POST",headers:{"Content-Type":"application/protobuf"},body:t,keepalive:t.length<65536});if(!n.ok)throw Error(`Failed to send events via fetch: ${n.status} ${n.statusText}`);return n}let aa=e=>new Promise(t=>setTimeout(t,e));var as={en:{example:"Example",valid_from_to:function(e){return"Valid ".concat(e.from," - ").concat(e.to)},you_save:"You Save",see_more:"See More",shop_now:"Shop Now",view_it:"View Deals",save_deal:"Save Deal",percent_off:function(e){return"".concat(e.percent,"% off")},item_disclaimer:"In the event of disagreement between the circular and this popup, the circular shall take precedence.",features:"Features",specs:"Specs",click_to_visit_m:function(e){return"Click to visit ".concat(e.m,".")},seconds_to_expand:"Expanding in",seconds_to_expand_mobile:"Expands in",valid:"Valid",try_again:"We couldn't load this item. Please try again.",days_left:function(e){var t=e.days;return"0"===t?"Last Day":"1"===t?"1 Day Left":"".concat(t," Days Left")},days_until:function(e){var t=e.days;return"0"===t?"Starts Today":"1"===t?"Starts Tomorrow":"Starts in ".concat(t," Days")},select_stores:"Selected stores in ",thank_you_for_response:"Thank you for your response!"},fr:{example:"Exemple",valid_from_to:function(e){return"Valide du ".concat(e.from," au ").concat(e.to)},you_save:"Vous \xe9conomisez",see_more:"Voir Plus",shop_now:"Acheter",view_it:"Voir Plus",save_deal:"Sauvegarder",percent_off:function(e){return"Rabais de ".concat(e.percent,"%")},item_disclaimer:"En cas de diff\xe9rence entre la circulaire et cette fen\xeatre surgissante, la circulaire a pr\xe9s\xe9ance.",features:"Caract\xe9ristiques",specs:"Sp\xe9cifications",click_to_visit_m:function(e){return"Cliquez pour visiter ".concat(e.m,".")},seconds_to_expand:"Plus \xe0",seconds_to_expand_mobile:"Plus en",valid:"Valide du",try_again:"Nous n’avons pas pu charger cet article. Veuillez r\xe9essayer.",days_left:function(e){var t=e.days;return"0"===t?"Dernier Jour":"1"===t?"1 Jour Restant":"".concat(t," Jours Restants")},days_until:function(e){var t=e.days;return"0"===t?"Commence Aujourd'hui":"1"===t?"Commence Demain":"Commence Dans ".concat(t," Jours")},select_stores:"Magasins s\xe9lectionn\xe9s: ",thank_you_for_response:"Merci pour votre r\xe9ponse!"},de:{example:"Beispiel",valid_from_to:function(e){return"G\xfcltig ".concat(e.from," - ").concat(e.to)},you_save:"Jetzt sparen",see_more:"Mehr erfahren",shop_now:"Jetzt einkaufen",view_it:"Angebote ansehen",save_deal:"Angebot speichern",percent_off:function(e){return"".concat(e.percent,"% sparen")},item_disclaimer:"Bei Unstimmigkeiten zwischen dieser Anzeige und dem Prospekt gilt der Prospekt als ma\xdfgeblich.",features:"Funktionen",specs:"Spezifikationen",click_to_visit_m:function(e){return"Klicken, um mehr zu erfahren ".concat(e.m,".")},seconds_to_expand:"Vergr\xf6\xdfert sich in",seconds_to_expand_mobile:"Vergr\xf6\xdfert sich in",valid:"G\xfcltig",try_again:"Dieser Artikel konnte nicht geladen werden. Bitte versuchen Sie es erneut.",days_left:function(e){var t=e.days;return"0"===t?"Letzter Tag":"1"===t?"noch 1 Tag g\xfcltig":"".concat(t," Tage g\xfcltig")},days_until:function(e){var t=e.days;return"0"===t?"Ab heute":"1"===t?"Ab morgen":"G\xfcltig in ".concat(t," Tagen")}
2,select_stores:"Nur in ausgew\xe4hlten Filialen",thank_you_for_response:"Vielen Dank f\xfcr Ihre Antwort!"},es:{example:"Ejemplo",valid_from_to:function(e){return"V\xe1lido del ".concat(e.from," al ").concat(e.to)},you_save:"Ahorras",see_more:"Ver m\xe1s",shop_now:"Comprar ahora",view_it:"Ver ofertas",save_deal:"Guardar oferta",percent_off:function(e){return"".concat(e.percent,"% de descuento")},item_disclaimer:"En caso de discrepancia entre el folleto y este mensaje emergente, prevalecer\xe1 el folleto.",features:"Caracter\xedsticas",specs:"Especificaciones",click_to_visit_m:function(e){return"Haz clic para visitar ".concat(e.m,".")},seconds_to_expand:"Se expandir\xe1 en",seconds_to_expand_mobile:"Se expande en",valid:"V\xe1lido",try_again:"No pudimos cargar este art\xedculo. Por favor, int\xe9ntalo de nuevo.",days_left:function(e){var t=e.days;return"0"===t?"\xdaltimo d\xeda":"1"===t?"Falta 1 d\xeda":"Faltan ".concat(t," d\xedas")},days_until:function(e){var t=e.days;return"0"===t?"Empieza hoy":"1"===t?"Empieza ma\xf1ana":"Empieza en ".concat(t," d\xedas")},select_stores:"Tiendas seleccionadas en ",thank_you_for_response:"Gracias por su respuesta!"},pt:{example:"Exemplo",valid_from_to:function(e){return"V\xe1lido de ".concat(e.from," at\xe9 ").concat(e.to)},you_save:"Economize",see_more:"Saiba mais",shop_now:"Compre agora",view_it:"Ver ofertas",save_deal:"Salvar oferta",percent_off:function(e){return"".concat(e.percent,"% de desconto")},item_disclaimer:"Em caso de diverg\xeancia entre este an\xfancio e o encarte, prevalecer\xe1 o encarte.",features:"Caracter\xedsticas",specs:"Especifica\xe7\xf5es",click_to_visit_m:function(e){return"Clique para saber mais ".concat(e.m,".")},seconds_to_expand:"Expande em",seconds_to_expand_mobile:"Expande em",valid:"V\xe1lido",try_again:"N\xe3o foi poss\xedvel carregar este item. Por favor, tente novamente.",days_left:function(e){var t=e.days;return"0"===t?"\xdaltimo dia":"1"===t?"V\xe1lido por mais 1 dia":"V\xe1lido por ".concat(t," dias")},days_until:function(e){var t=e.days;return"0"===t?"A partir de hoje":"1"===t?"A partir de amanh\xe3":"V\xe1lido em ".concat(t," dias")},select_stores:"Apenas em lojas selecionadas",thank_you_for_response:"Obrigado pela sua resposta!"},"es-CO":{example:"Ejemplo",valid_from_to:function(e){return"V\xe1lido del ".concat(e.from," al ").concat(e.to)},you_save:"Ahorra",see_more:"Ver m\xe1s",shop_now:"Compra ahora",view_it:"Ver ofertas",save_deal:"Guardar oferta",percent_off:function(e){return"".concat(e.percent,"% de descuento")},item_disclaimer:"En caso de discrepancias entre este anuncio y el folleto, prevalecer\xe1 el folleto.",features:"Caracter\xedsticas",specs:"Especificaciones",click_to_visit_m:function(e){return"Haz clic para conocer m\xe1s ".concat(e.m,".")},seconds_to_expand:"Se expandir\xe1 en",seconds_to_expand_mobile:"Se expandir\xe1 en",valid:"V\xe1lido",add_to_list:"Agregar a la lista",try_again:"No pudimos cargar este art\xedculo. Por favor, int\xe9ntalo de nuevo.",days_left:function(e){var t=e.days;return"0"===t?"\xdaltimo d\xeda":"1"===t?"V\xe1lido por 1 d\xeda m\xe1s":"V\xe1lido por ".concat(t," d\xedas")},days_until:function(e){var t=e.days;return"0"===t?"Desde hoy":"1"===t?"Desde ma\xf1ana":"V\xe1lido en ".concat(t," d\xedas")},select_stores:"Solo en tiendas seleccionadas",thank_you_for_response:"Gracias por su respuesta!"},"es-MX":{example:"Ejemplo",valid_from_to:function(e){return"V\xe1lido del ".concat(e.from," al ").concat(e.to)},you_save:"Ahorra",see_more:"Ver m\xe1s",shop_now:"Compra ahora",view_it:"Ver ofertas",save_deal:"Guardar oferta",percent_off:function(e){return"".concat(e.percent,"% de descuento")},item_disclaimer:"En caso de discrepancias entre este anuncio y el folleto, prevalecer\xe1 el folleto.",features:"Caracter\xedsticas",specs:"Especificaciones",click_to_visit_m:function(e){return"Haz clic para saber m\xe1s ".concat(e.m,".")},seconds_to_expand:"Se expandir\xe1 en",seconds_to_expand_mobile:"Se expandir\xe1 en",valid:"V\xe1lido",add_to_list:"Agregar a la lista",try_again:"No pudimos cargar este art\xedculo. Por favor, int\xe9ntalo de nuevo.",days_left:function(e){var t=e.days;return"0"===t?"\xdaltimo d\xeda":"1"===t?"V\xe1lido por 1 d\xeda m\xe1s":"V\xe1lido por ".concat(t," d\xedas")},days_until:function(e){var t=e.days;return"0"===t?"Desde hoy":"1"===t?"Desde ma\xf1ana":"V\xe1lido en ".concat(t," d\xedas")}
2,select_stores:"Solo en tiendas seleccionadas",thank_you_for_response:"Gracias por su respuesta!"},"fr-FR":{example:"Exemple",valid_from_to:function(e){return"Valide du ".concat(e.from," au ").concat(e.to)},you_save:"\xc9conomisez",see_more:"En savoir plus",shop_now:"Acheter maintenant",view_it:"Voir les offres",save_deal:"Enregistrer l'offre",percent_off:function(e){return"".concat(e.percent,"% de r\xe9duction")},item_disclaimer:"En cas de divergence entre cette annonce et le prospectus, le prospectus fait foi.",features:"Caract\xe9ristiques",specs:"Sp\xe9cifications",click_to_visit_m:function(e){return"Cliquez pour en savoir plus ".concat(e.m,".")},seconds_to_expand:"S'agrandit dans",seconds_to_expand_mobile:"S'agrandit dans",valid:"Valide",add_to_list:"Ajouter \xe0 la liste",try_again:"Impossible de charger cet article. Veuillez r\xe9essayer.",days_left:function(e){var t=e.days;return"0"===t?"Dernier jour":"1"===t?"Valide encore 1 jour":"Valide encore ".concat(t," jours")},days_until:function(e){var t=e.days;return"0"===t?"\xc0 partir d'aujourd'hui":"1"===t?"\xc0 partir de demain":"Valide dans ".concat(t," jours")},select_stores:"Uniquement dans certains magasins",thank_you_for_response:"Merci pour votre r\xe9ponse!"},"pt-BR":{example:"Exemplo",valid_from_to:function(e){return"V\xe1lido de ".concat(e.from," at\xe9 ").concat(e.to)},you_save:"Economize",see_more:"Saiba mais",shop_now:"Compre agora",view_it:"Ver ofertas",save_deal:"Salvar oferta",percent_off:function(e){return"".concat(e.percent,"% de desconto")},item_disclaimer:"Em caso de diverg\xeancia entre este an\xfancio e o encarte, prevalecer\xe1 o encarte.",features:"Caracter\xedsticas",specs:"Especifica\xe7\xf5es",click_to_visit_m:function(e){return"Clique para saber mais ".concat(e.m,".")},seconds_to_expand:"Expande em",seconds_to_expand_mobile:"Expande em",valid:"V\xe1lido",add_to_list:"Adicionar \xe0 lista",try_again:"N\xe3o foi poss\xedvel carregar este item. Por favor, tente novamente.",days_left:function(e){var t=e.days;return"0"===t?"\xdaltimo dia":"1"===t?"V\xe1lido por mais 1 dia":"V\xe1lido por ".concat(t," dias")},days_until:function(e){var t=e.days;return"0"===t?"A partir de hoje":"1"===t?"A partir de amanh\xe3":"V\xe1lido em ".concat(t," dias")},select_stores:"Apenas em lojas selecionadas",thank_you_for_response:"Obrigado pela sua resposta!"}};function al(){var e;return(null===(e=null==navigator?void 0:navigator.languages)||void 0===e?void 0:e[0])||(null==navigator?void 0:navigator.language)||"en-US"}(eW=et||(et={})).ShopNow="shop_now",eW.VisitMerchant="visit_merchant";var ad=function(e){let t;var n,i="function"==typeof e?e:function(){return e},r=(t=BigInt(0),function(){return t+=BigInt(1)}),o=function(e){if(!n){var t=i(),r=t.v2SchemaEndpoint,o=t.signingKey;n=function(e){let t;let n={...n2,...e},i=function(e,t){let n=function(){let e=Math.floor(Date.now()/1e3).toFixed(0),n=`${e}:${t}`;return{timestamp:e,hash:t2.hash(n).slice(16)}};return()=>{let t=new URL(e),i=n();return t.searchParams.set("rt",i.timestamp),t.searchParams.set("rs",i.hash),t}}(n.url,n.signingKey),r="u">typeof window,o=[],a=async(e,t)=>{let r=t?1:n.maxRetries+1;for(let t=0;t<r;t++)try{await ao(i(),e);return}catch(e){if(t===r-1){n.logLevel>0&&n.logFunction(`EventQueue: Failed to send events: ${e?.message}`);return}n.logLevel>=2&&n.logFunction(`EventQueue: Retrying send (attempt ${t+1}/${n.maxRetries}): ${e?.message}`),await aa(n.retryBackoffMs*2**t)}},s=async(e=!1)=>{var r;if(o.length<1)return;let l=(r=nh(ar,{header:{},events:o.splice(0,n.maxSize)}),nK(new nS,nQ,function(e,t,n=!0){return new nx(e,t,n)}(ar,r)).finish());(function(e,t){try{if(navigator.sendBeacon(e.toString(),t))return!0}catch{}return!1})(i(),l)||await a(l,e),clearTimeout(t),t=o.length>0?setTimeout(s,n.delayBetweenBatches):void 0},l=()=>{s(!0)};
2return n.fireOnPageHide&&r&&window.addEventListener("pagehide",l),n.fireOnVisibilityChange&&r&&window.addEventListener("visibilitychange",l),{enqueue:e=>{o.push(e),t||(t=setTimeout(s,n.batchWaitTime))},flush:()=>s(),length:()=>o.length,destroy:()=>{r&&(window.removeEventListener("pagehide",l),window.removeEventListener("visibilitychange",l)),clearTimeout(t),t=void 0,s()}}}(ez({maxSize:1,url:r},void 0!==o?{signingKey:o}:{})).enqueue}return n(e)},a=function(){var e,t,n,r,o,a,s,l,d,c,u,m,p,h,f,b,g,v,y,E,I=i();return{campaign:{campaignId:null===(t=null===(e=I.decision)||void 0===e?void 0:e.campaignId)||void 0===t?void 0:t.toString(),advertiserId:null===(r=null===(n=I.decision)||void 0===n?void 0:n.advertiserId)||void 0===r?void 0:r.toString(),provider:rx.AD_ID_PROVIDER_KEVEL,creativeId:null===(a=null===(o=I.decision)||void 0===o?void 0:o.creativeId)||void 0===a?void 0:a.toString(),dealId:null===(l=null===(s=I.decision)||void 0===s?void 0:s.flightId)||void 0===l?void 0:l.toString(),flightId:null===(c=null===(d=I.decision)||void 0===d?void 0:d.flightId)||void 0===c?void 0:c.toString()},decisionId:null===(m=null===(u=I.decision)||void 0===u?void 0:u.adId)||void 0===m?void 0:m.toString(),opportunityId:null===(h=null===(p=I.decision)||void 0===p?void 0:p.campaignId)||void 0===h?void 0:h.toString(),publisher:{provider:rx.AD_ID_PROVIDER_KEVEL,attributionTag:null===(b=null===(f=I.decision)||void 0===f?void 0:f.creativeId)||void 0===b?void 0:b.toString(),domain:I.site,integrationType:I.integrationType,publisherId:null===(v=null===(g=I.decision)||void 0===g?void 0:g.siteId)||void 0===v?void 0:v.toString(),slotId:null===(E=null===(y=I.decision)||void 0===y?void 0:y.zoneId)||void 0===E?void 0:E.toString()}}},s=function(){switch(eO){case"production":return rh.PRODUCTION;case"staging":return rh.TEST;case"development":return rh.DEVELOPMENT;default:return rh.UNSPECIFIED}},l=function(){var e,t,n=i();return n.mobileSwipe?oH.MOBILE_SWIPE:n.startCompact?oH.COMPACT:(null===(e=n.decision)||void 0===e?void 0:e.positionIndex)!=null?oH.MULTI_STANDARD:n.fixedHeightUnit?oH.FIXED_HEIGHT:(null===(t=n.dynamicModule)||void 0===t?void 0:t.type)===C.VIDEO_AD?oH.UNKNOWN:oH.CLASSIC},d=function(){switch(tl.getDeviceInfo().type){case"mobile":return rE.MOBILE;case"tablet":return rE.TABLET;default:return rE.DESKTOP}},c=function(e){switch(e){case"Android":return rN.ANDROID;case"iOS":return rN.IOS;default:return rN.WEB}},u=function(){var e,t=tl.getDeviceInfo(),n=t.system,i=t.systemVersion,r=t.systemModel,o=t.browser,a=t.browserVersion,s=t.screenWidth,l=t.screenHeight;return{orientation:window.innerHeight>window.innerWidth?rw.PORTRAIT:rw.LANDSCAPE,viewport:{pixelRatio:window.devicePixelRatio||1,iframeSize:{height:window.innerHeight,width:window.innerWidth},size:{height:l,width:s}},osName:n,osVersion:i,platform:c(n),model:r,locale:al().replace(/-/g,"_"),browser:o,browserVersion:a,id:null!==(e=e7())&&void 0!==e?e:void 0,idType:rv.DEVICE_ID_TYPE_UUID,type:d()}},m=function(){var e,t,n,r=i();return{coordinates:{latitude:null!==(e=r.latitude)&&void 0!==e?e:0,longitude:null!==(t=r.longitude)&&void 0!==t?t:0},coordinatesAccuracyMeters:null!==(n=r.accuracyRadius)&&void 0!==n?n:0,countryCode:r.country,locationSource:rB.GEOIP,postalCode:r.userPostalCode}},p=function(e){var t,n,i,r;if(e)return{flyer:{id:BigInt(null!==(t=e.flyer_id)&&void 0!==t?t:0),runId:BigInt(null!==(n=e.flyer_run_id)&&void 0!==n?n:0),typeId:BigInt(null!==(i=e.flyer_type_id)&&void 0!==i?i:0),isPremium:!1},merchant:{id:BigInt(null!==(r=e.merchant_id)&&void 0!==r?r:0)},flyerItem:void 0}},h=function(){var e=i();if(e.publicationGlobalId)return{publication:{id:e.publicationGlobalId}}},f=function(e,t){var n,i,r,o;if(e)return{merchant:{id:BigInt(null!==(n=e.merchant_id)&&void 0!==n?n:0)},flyer:{id:BigInt(null!==(i=e.flyer_id)&&void 0!==i?i:0),runId:BigInt(null!==(r=e.flyer_run_id)&&void 0!==r?r:0),typeId:BigInt(null!==(o=e.flyer_type_id)&&void 0!==o?o:0),isPremium:!1},flyerItem:td(t)>0?{id:BigInt(null!=t?t:0)}:void 0}},b=function(e){var t=i();if(e&&t.publicationGlobalId)return{offer:{id:e},publication:{id:t.publicationGlobalId}}},g=function(){return{group:{type:{case:"ad",value:1}},details:{content:{v1:p(i().storefrontConfig),v2:h()}}}},v=function(){var e,t,n,r=i();return{id:null!==(e=r.publicationGlobalId)&&void 0!==e?e:null===(n=null===(t=r.decision)||void 0===t?void 0:t.adId)||void 0===n?void 0:n.toString(),group:{type:i().publicationGlobalId?{value:oN.PUBLICATION,case:"contentV2"}:{value:ow.FLYER,case:"contentV1"}},details:{content:{v1:p(r.storefrontConfig),v2:h()}}}},y=function(e,t){var n=i();return{id:null!=t?t:null==e?void 0:e.toString(),group:{type:t?{value:oN.OFFER,case:"contentV2"}:{value:ow.FLYER_ITEM,case:"contentV1"}},details:{content:{v1:f(n.storefrontConfig,e),v2:b(t)}}}},E=function(e,t,n,r){void 0===e&&(e=o1.STOREFRONT),void 0===t&&(t=e);var o=i().storefrontConfig,a={id:null==o?void 0:o.sfml_uuid,type:e,version:void 0};return{destinationSurface:null!==t?{id:null==o?void 0:o.sfml_uuid,type:t,version:void 0}:void 0,position:void 0,surface:a,containerType:n,control:r,details:{source:{case:"shopperPlatform",value:{adView:oM.DEFAULT,experienceType:l(),ux:i().ux===I.INLINE?oj.STOREFRONT_INLINE:oj.EXPANDED}}}}},w=function(e,t){var n,o,l=i(),d=void 0!==e;return{base:{sequenceId:r(),id:null!=e?e:e0(),clientTimestamp:Math.floor(Date.now()/1e3),metadata:{isDoubleFiring:d,originalEventName:d?t:void 0}},ad:a(),device:u(),deviceLocation:m(),session:{id:tA()},source:{environment:s(),version:l.appVersion||"unknown",type:{application:{case:"shopperPlatform",value:{}}}},user:{id:null!==(o=null!==(n=l.uid)&&void 0!==n?n:e7())&&void 0!==o?o:"",isAuthenticated:!1,provider:r_.UNSPECIFIED}}};return{enqueue:o,sendAppInitialized:function(e){var t=ez(ez({},w(e,"flipp.avro.ShopperPlatform.AppInitialized")),{ui:E(o1.WEBSITE,null),action:{type:{action:{case:"open",value:{}}}},target:{group:{type:{case:"system",value:oB.WEBSITE}}},interaction:{type:{group:{case:"load",value:{}}}}});eJ.debug("Sending app initialized beacon",t),o(t)},sendViewableImpression:function(e){var t=ez(ez({},w(e,"flipp.avro.ShopperPlatform.StorefrontOpenFlyer")),{ui:E(void 0,void 0,o3.SCREEN),action:{type:{action:{case:"exposure",value:{stage:r$.VIEWABLE}}}},target:g(),interaction:{type:{group:{case:"impression",value:{}}}}});eJ.debug("Sending viewable impression beacon",t),o(t)},sendEngagedVisit:function(e){var t=i(),n=t.creativeEvTimerMs,r=t.evTimerMs,a=ez(ez({},w(e,"flipp.avro.ShopperPlatform.StorefrontEngagedVisitFlyer")),{ui:E(),action:{type:{action:{case:"engagedVisit",value:{thresholdVersion:"v1.0.0",elapsedSeconds:td(n||r)/1e3}}}},target:v(),interaction:{type:{group:{case:"view",value:{}}}}});eJ.debug("Sending engaged visit beacon",a),o(a)},sendClickFlyerItemDetails:function(e,t,n){var i=ez(ez({},w(e,"flipp.avro.ShopperPlatform.StorefrontClickFlyerItemDetails")),{ui:E(o1.DETAILS),action:{type:{action:{case:"invoke",value:{thresholdVersion:"v1.0.0"}}}},target:y(-1,n),interaction:{type:{group:{case:"click",value:{}}}}});eJ.debug("Sending click flyer item details",i),o(i)},sendClickSaveFlyerItemDetails:function(e,t,n,i){var r=ez(ez({},w(e,"flipp.avro.ShopperPlatform.ItemDetailsClickSave")),{ui:E(o1.DETAILS),action:{type:{action:{case:"share",value:{mode:1,sharedUrl:i}}}},target:y(-1,n),interaction:{type:{group:{case:"click",value:{}}}}});eJ.debug("Sending click save flyer item details",r),o(r)},sendClickItemDetailsTransferToMerchant:function(e,t,n,i){var r=ez(ez({},w(e,"flipp.avro.ShopperPlatform.ItemDetailsClickTransferToMerchant")),{ui:E(o1.DETAILS,void 0,void 0,i?{type:1,name:i}:void 0),action:{type:{action:{case:"transferToMerchant",value:{thresholdVersion:"v1.0.0"}}}},target:y(t,n),interaction:{type:{group:{case:"click",value:{}}}}});eJ.debug("Sending click item details transfer to merchant",r),o(r)},sendImpressionFlyerItem:function(e,t,n){var i=ez(ez({},w(e,"flipp.avro.ShopperPlatform.StorefrontImpressionFlyerItem")),{ui:E(),action:{type:{action:{case:"exposure",value:{stage:r$.VIEWABLE}}}},target:y(-1,n),interaction:{type:{group:{case:"impression",value:{}}}}});eJ.debug("Sending send impression flyer item",i),o(i)},sendDecisionResponseSuccess:function(e){var t=ez(ez({},w(e,"flipp.avro.ShopperPlatform.DecisionResponseSuccess")),{ui:E(),action:{type:{action:{case:"adDecision",value:{status:1}}}},target:g(),interaction:{type:{group:{case:"autoTriggered",value:{}}}}});return eJ.debug("Sending decision response success beacon",t),o(t),t},sendSlotImpressionExperience:function(e){var t=ez(ez({},w(e,"flipp.avro.ShopperPlatform.SlotImpressionExperience")),{ui:E(),action:{type:{action:{case:"exposure",value:{stage:r$.SERVED}}}},target:g(),interaction:{type:{group:{case:"impression",value:{}}}}});eJ.debug("Sending slot impression experience beacon",t),o(t)},sendContainerViewableImpression:function(e){var t=ez(ez({},w(e,"flipp.avro.ShopperPlatform.ContainerViewableImpression")),{ui:E(void 0,void 0,o3.MODULE),action:{type:{action:{case:"exposure",value:{stage:r$.VIEWABLE}}}},target:g(),interaction:{type:{group:{case:"impression",value:{}}}}});eJ.debug("Sending container viewable impression beacon",t),o(t)}}},ac=function(e,t){var n,i;if((null==e?void 0:e.includes(t))&&(null===(n=window.flippxp.analyticsCallbacks)||void 0===n?void 0:n.sImp))return null===(i=window.flippxp.analyticsCallbacks)||void 0===i?void 0:i.sImp()};function au(e,t){var n=this;return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return eH(n,void 0,void 0,function(){return eD(this,function(n){return[2,e.apply(void 0,t)]})})}}var am=au(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eH(void 0,ej([],e,!0),void 0,function(e){return void 0===e&&(e=navigator.userAgent),eD(this,function(t){switch(t.label){case 0:return[4,Promise.resolve().then(function(){return aC})];case 1:return[2,(0,t.sent().isbot)(e)]}})})}),ap=au(function(){return eH(void 0,void 0,void 0,function(){return eD(this,function(e){switch(e.label){case 0:return[4,Promise.resolve().then(function(){return aD})];case 1:return[4,(0,e.sent().load)()];case 2:return[2,e.sent().detect().bot]}})})}),ah=function(e){var t=e.isBotBotD,n=e.isBotByUa;(t||n)&&eK("Bot was detected","isBotBotD - ".concat(t,", isBotByUa - ").concat(n),void 0,y.shopperAdWebBotd)},af=function(e){eK("Traffic was blocked",Object.entries(e).filter(function(e){return e[1]}).map(function(e){return e[0]}).map(function(e){return"".concat(e," - true")}).join(", "),void 0,y.shopperAdWebBlockedTraffic)},ab=function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype},ag=function(){return window!==window.parent},av=function(){try{return window.parent.location.hostname||null}catch(e){return eJ.warn("Error accessing parent hostname: ".concat(e instanceof Error?e.message:String(e))),null}},ay=function(){if(!document.referrer)return null;try{return new URL(document.referrer).hostname}catch(e){return eJ.warn("Error accessing referrer hostname: ".concat(e instanceof Error?e.message:String(e))),null}},aE=function(e){if(e)return e;if(ag()){var t=av()||ay();if(t)return t}return window.location.hostname||"none"},aI=function(e){var t=document.createElement("div");return t.id="wrapper-kargo",t.style.position="relative",t.appendChild(e),t},aw=function(e){var t=document.createElement("iframe");return e&&(t.height=String(e)),t},aV=function(e,t,n){var i,r=e.parentElement,o=document.createElement("div");return o.id="overlay-kargo",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.cursor="pointer",i=e.getBoundingClientRect(),o.style.width="".concat(i.width,"px"),o.style.height="".concat(i.height,"px"),o.addEventListener("click",t),null==r||r.appendChild(o),o},aN=function(e,t){new IntersectionObserver(function(e,n){e.forEach(function(e){e.isIntersecting&&(t(),1)&&n.unobserve(e.target)})},{threshold:.5}).observe(e)},aS=function(e){return e?new Date(e.replace(" ","T").replace(" +0000 UTC","Z").split(" +")[0]).toISOString():""},aR=function(e,t){var n=t?1:-1;return{flyerId:td(null==e?void 0:e.flyer_id,n),flyerRunId:td(null==e?void 0:e.flyer_run_id,n),flyerTypeId:td(null==e?void 0:e.flyer_t
2ype_id,n)}},aA=/bot|crawl|http|lighthouse|scan|search|spider/i;function aZ(){if(en instanceof RegExp)return en;try{en=RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|(?<!cam)scan|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|\\||^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^azure|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|agent|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|fetcher|firephp|functionize|grab|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|onetrust|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){en=aA}return en}var aB=[" daum[ /]"," deusu/","(?:^|[^g])news(?!sapphire)","(?<! (?:channel/|google/))google(?!(app|/google| pixel))","(?<! cu)bots?(?:\\b|_)","(?<!(?:lib))http","(?<![hg]m)score","(?<!cam)scan","@[a-z][\\w-]+\\.","\\(\\)","\\.com\\b","\\btime/","\\|","^<","^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)","^[^ ]{50,}$","^\\d+\\b","^\\w*search\\b","^\\w+/[\\w\\(\\)]*$","^active","^ad muncher","^amaya","^avsdevicesdk/","^azure","^biglotron","^bot","^bw/","^clamav[ /]","^client/","^cobweb/","^custom","^ddg[_-]android","^discourse","^dispatch/\\d","^downcast/","^duckduckgo","^email","^facebook","^getright/","^gozilla/","^hobbit","^hotzonu","^hwcdn/","^igetter/","^jeode/","^jetty/","^jigsaw","^microsoft bits","^movabletype","^mozilla/\\d\\.\\d\\s[\\w\\.-]+$","^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$","^navermailapp","^netsurf","^offline","^openai/","^owler","^php","^postman","^python","^rank","^read","^reed","^rest","^rss","^snapchat","^space bison","^svn","^swcd ","^taringa","^thumbor/","^track","^w3c","^webbandit/","^webcopier","^wget","^whatsapp","^wordpress","^xenu link sleuth","^yahoo","^yandex","^zdm/\\d","^zoom marketplace/","agent","analyzer","archive","ask jeeves/teoma","audit","bit\\.ly/","bluecoat drtr","browsex","burpcollaborator","capture","catch","check\\b","checker","chrome-lighthouse","chromeframe","classifier","cloudflare","convertify","crawl","cypress/","dareboost","datanyze","dejaclick","detect","dmbrowser","download","evc-batch/","exaleadcloudview","feed","fetcher","firephp","functionize","grab","headless","httrack","hubspot marketing grader","hydra","ibisbrowser","infrawatch","insight","inspect","iplabel","java(?!;)","library","linkcheck","mail\\.ru/","manager","measure","neustar wpm","node","nutch","offbyone","onetrust","optimize","pageburst","pagespeed","parser","perl","phantomjs","pingdom","powermarks","preview","proxy","ptst[ /]\\d","retriever","rexx;","rigor","rss\\b","scrape","server","sogou","sparkler/","speedcurve","spider","splash","statuscake","supercleaner","synapse","synthetic","tools","torrent","transcoder","url","validator","virtuoso","wappalyzer","webglance","webkit2png","whatcms/","xtate/"],aC=Object.freeze({__proto__:null,createIsbot:e=>t=>!!t&&e.test(t),createIsbotFromList:e=>
2{let t=RegExp(e.join("|"),"i");return e=>!!e&&t.test(e)},getPattern:aZ,isbot:function(e){return!!e&&aZ().test(e)},isbotMatch:e=>{var t,n;return null!=(n=null==(t=null==e?void 0:e.match(aZ()))?void 0:t[0])?n:null},isbotMatches:e=>aB.map(t=>{var n;return null==(n=null==e?void 0:e.match(RegExp(t,"i")))?void 0:n[0]}).filter(Boolean),isbotNaive:e=>!!e&&aA.test(e),isbotPattern:e=>{var t;return e&&null!=(t=aB.find(t=>RegExp(t,"i").test(e)))?t:null},isbotPatterns:e=>e?aB.filter(t=>RegExp(t,"i").test(e)):[],list:aB}),aT={Awesomium:"awesomium",Cef:"cef",CefSharp:"cefsharp",CoachJS:"coachjs",Electron:"electron",FMiner:"fminer",Geb:"geb",NightmareJS:"nightmarejs",Phantomas:"phantomas",PhantomJS:"phantomjs",Rhino:"rhino",Selenium:"selenium",Sequentum:"sequentum",SlimerJS:"slimerjs",WebDriverIO:"webdriverio",WebDriver:"webdriver",HeadlessChrome:"headless_chrome",Unknown:"unknown"},aU=function(e){function t(n,i){var r=e.call(this,i)||this;return r.state=n,r.name="BotdError",Object.setPrototypeOf(r,t.prototype),r}return eM(t,e),t}(Error);function a_(e,t){var n={},i={bot:!1};for(var r in t){var o=(0,t[r])(e),a={bot:!1};"string"==typeof o?a={bot:!0,botKind:o}:o&&(a={bot:!0,botKind:aT.Unknown}),n[r]=a,a.bot&&(i=a)}return[n,i]}function aG(e){return eH(this,void 0,void 0,function(){var t,n=this;return eD(this,function(i){switch(i.label){case 0:return t={},[4,Promise.all(Object.keys(e).map(function(i){return eH(n,void 0,void 0,function(){var n,r,o,a,s;return eD(this,function(l){switch(l.label){case 0:n=e[i],l.label=1;case 1:return l.trys.push([1,3,,4]),r=t,o=i,s={},[4,n()];case 2:return r[o]=(s.value=l.sent(),s.state=0,s),[3,4];case 3:return(a=l.sent())instanceof aU?t[i]={state:a.state,error:"".concat(a.name,": ").concat(a.message)}:t[i]={state:-3,error:a instanceof Error?"".concat(a.name,": ").concat(a.message):String(a)},[3,4];case 4:return[2]}})})}))];case 1:return i.sent(),[2,t]}})})}function ak(e,t){return -1!==e.indexOf(t)}function aF(e,t){return -1!==e.indexOf(t)}function ax(e){return Object.getOwnPropertyNames(e)}function aX(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=function(t){if("string"==typeof t){if(ak(e,t))return{value:!0}}else if(null!=function(e,t){if(("find"in e))return e.find(t);for(var n=0;n<e.length;n++)if(t(e[n],n,e))return e[n]}(e,function(e){return t.test(e)}))return{value:!0}},r=0;r<t.length;r++){var o=i(t[r]);if("object"==typeof o)return o.value}return!1}function aW(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}var aY={detectAppVersion:function(e){var t=e.appVersion;return 0===t.state&&(/headless/i.test(t.value)?aT.HeadlessChrome:/electron/i.test(t.value)?aT.Electron:/slimerjs/i.test(t.value)?aT.SlimerJS:void 0)},detectDocumentAttributes:function(e){var t=e.documentElementKeys;return 0===t.state&&(aX(t.value,"selenium","webdriver","driver")?aT.Selenium:void 0)},detectErrorTrace:function(e){var t=e.errorTrace;return 0===t.state&&(/PhantomJS/i.test(t.value)?aT.PhantomJS:void 0)},detectEvalLengthInconsistency:function(e){var t=e.evalLength,n=e.browserKind,i=e.browserEngineKind;if(0===t.state&&0===n.state&&0===i.state){var r=t.value;return"unknown"!==i.value&&(37===r&&!ak(["webkit","gecko"],i.value)||39===r&&!ak(["internet_explorer"],n.value)||33===r&&!ak(["chromium"],i.value))}},detectFunctionBind:function(e){if(-2===e.functionBind.state)return aT.PhantomJS},detectLanguagesLengthInconsistency:function(e){var t=e.languages;if(0===t.state&&0===t.value.length)return aT.HeadlessChrome},detectNotificationPermissions:function(e){var t=e.notificationPermissions,n=e.browserKind;return 0===n.state&&"chrome"===n.value&&(0===t.state&&t.value?aT.HeadlessChrome:void 0)},detectPluginsArray:function(e){var t=e.pluginsArray;if(0===t.state&&!t.value)return aT.HeadlessChrome},detectPluginsLengthInconsistency:function(e){var t=e.pluginsLength,n=e.android,i=e.browserKind,r=e.browserEngineKind;if(0===t.state&&0===n.state&&0===i.state&&0===r.state&&"chrome"===i.value&&!n.value&&"chromium"===r.value&&0===t.value)return aT.HeadlessChrome},detectProcess:function(e){var t,n=e.process;return 0===n.state&&("renderer"===n.value.type||(null===(t=n.value.versions)||void 0===t?void 0:t.electron)!=null?aT.Electron:void 0)},detectUserAgent:function(e){var t=e.userAgent;return 0===t.state&&(/PhantomJS/i.test(t.value)?aT.PhantomJS:/Headless/i.test(t.value)?aT.HeadlessChrome:/Electron/i.test(t.value)?aT.Electron:/slimerjs/i.test(t.value)?aT.SlimerJS:void 0)},detectWebDriver:function(e){var t=e.webDriver;if(0===t.state&&t.value)return aT.HeadlessChrome},detectWebGL:function(e){var t=e.webGL;if(0===t.state){var n=t.value,i=n.vendor,r=n.renderer;if("Brian Paul"==i&&"Mesa OffScreen"==r)return aT.HeadlessChrome}},detectWindowExternal:function(e){var t=e.windowExternal;return 0===t.state&&(/Sequentum/i.test(t.value)?aT.Sequentum:void 0)},detectWindowSize:function(e){var t=e.windowSize,n=e.documentFocus;if(0!==t.state||0!==n.state)return!1;var i=t.value,r=i.outerWidth,o=i.outerHeight;if(n.value&&0===r&&0===o)return aT.HeadlessChrome},detectMimeTypesConsistent:function(e){var t=e.mimeTypesConsistent;if(0===t.state&&!t.value)return aT.Unknown},detectProductSub:function(e){var t=e.productSub,n=e.browserKind;return 0===t.state&&0===n.state&&(("chrome"===n.value||"safari"===n.value||"opera"===n.value||"wechat"===n.value)&&"20030107"!==t.value?aT.Unknown:void 0)},detectDistinctiveProperties:function(e){var t,n=e.distinctiveProps;if(0!==n.state)return!1;var i=n.value;for(t in i)if(i[t])return t}};function aL(){var e,t,n=window,i=navigator;return aW(["webkitPersistentStorage"in i,"webkitTemporaryStorage"in i,0===i.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in n,"BatteryManager"in n,"webkitMediaStream"in n,"webkitSpeechGrammar"in n])>=5?"chromium":aW(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,0===i.vendor.indexOf("Apple"),"getStorageUpdates"in i,"WebKitMediaKeys"in n])>=4?"webkit":aW(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"}var aM={android:function(){var e=aL(),t="chromium"===e,n="gecko"===e;if(!t&&!n)return!1;var i=window;return aW(["onorientationchange"in i,"orientation"in i,t&&!("SharedWorker"in i),n&&/android/i.test(navigator.appVersion)])>=2},browserKind:function(){var e,t=null===(e=navigator.userAgent)||void 0===e?void 0:e.toLowerCase();if(aF(t,"edg/"))return"edge";if(aF(t,"trident")||aF(t,"msie"))return"internet_explorer";if(aF(t,"wechat"))return"wechat";if(aF(t,"firefox"))return"firefox";if(aF(t,"opera")||aF(t,"opr"))return"opera";if(aF(t,"chrome"))return"chrome";if(aF(t,"safari"))return"safari";else return"unknown"},browserEngineKind:aL,documentFocus:function(){return void 0!==document.hasFocus&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){var e=navigator.appVersion;if(void 0==e)throw new aU(-1,"navigator.appVersion is undefined");return e},rtt:function(){if(void 0===navigator.connection)throw new aU(-1,"navigator.connection is undefined");if(void 0===navigator.connection.rtt)throw new aU(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(void 0===navigator.plugins)throw new aU(-1,"navigator.plugins is undefined");if(void 0===navigator.plugins.length)throw new aU(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(void 0===navigator.plugins)throw new aU(-1,"navigator.plugins is undefined");if(void 0===window.PluginArray)throw new aU(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(e){if(e instanceof Error&&null!=e.stack)return e.stack.toString()}throw new aU(-3,"errorTrace signal unexpected behaviour")},productSub:function(){var e=navigator.productSub;if(void 0===e)throw new aU(-1,"navigator.productSub is undefined");return e},windowExternal:function(){if(void 0===window.external)throw new aU(-1,"window.external is undefined");var e=window.external;if("function"!=typeof e.toString)throw new aU(-2,"window.external.toString is not a function");return e.toString()},mimeTypesConsistent:function(){if(void 0===navigator.mimeTypes)throw new aU(-1,"navigator.mimeTypes is undefined");for(var e=navigator.mimeTypes,t=Object.getPrototypeOf(e)===MimeTypeArray.prototype,n=0;n<e.length;n++)t&&(t=Object.getPrototypeOf(e[n])===MimeType.prototype);return t},evalLength:function(){return eval.toString().length},webGL:function(){var e=document.createElement("canvas");if("function"!=typeof e.getContext)throw new aU(-2,"HTMLCanvasElement.getContext is not a function");var t=e.getContext("webgl");
2if(null===t)throw new aU(-4,"WebGLRenderingContext is null");if("function"!=typeof t.getParameter)throw new aU(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:t.getParameter(t.VENDOR),renderer:t.getParameter(t.RENDERER)}},webDriver:function(){if(void 0==navigator.webdriver)throw new aU(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){var e,t=navigator,n=[],i=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==i&&n.push([i]),Array.isArray(t.languages))"chromium"===aL()&&aW([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var r=t.languages;r&&n.push(r.split(","))}return n},notificationPermissions:function(){return eH(this,void 0,void 0,function(){var e,t;return eD(this,function(n){switch(n.label){case 0:if(void 0===window.Notification)throw new aU(-1,"window.Notification is undefined");if(void 0===navigator.permissions)throw new aU(-1,"navigator.permissions is undefined");if("function"!=typeof(e=navigator.permissions).query)throw new aU(-2,"navigator.permissions.query is not a function");n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.query({name:"notifications"})];case 2:return t=n.sent(),[2,"denied"===window.Notification.permission&&"prompt"===t.state];case 3:throw n.sent(),new aU(-3,"notificationPermissions signal unexpected behaviour");case 4:return[2]}})})},documentElementKeys:function(){if(void 0===document.documentElement)throw new aU(-1,"document.documentElement is undefined");var e=document.documentElement;if("function"!=typeof e.getAttributeNames)throw new aU(-2,"document.documentElement.getAttributeNames is not a function");return e.getAttributeNames()},functionBind:function(){if(void 0===Function.prototype.bind)throw new aU(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){var e=window.process,t="window.process is";if(void 0===e)throw new aU(-1,"".concat(t," undefined"));if(e&&"object"!=typeof e)throw new aU(-3,"".concat(t," not an object"));return e},distinctiveProps:function(){var e,t,n=((e={})[aT.Awesomium]={window:["awesomium"]},e[aT.Cef]={window:["RunPerfTest"]},e[aT.CefSharp]={window:["CefSharp"]},e[aT.CoachJS]={window:["emit"]},e[aT.FMiner]={window:["fmget_targets"]},e[aT.Geb]={window:["geb"]}
2,e[aT.NightmareJS]={window:["__nightmare","nightmare"]},e[aT.Phantomas]={window:["__phantomas"]},e[aT.PhantomJS]={window:["callPhantom","_phantom"]},e[aT.Rhino]={window:["spawn"]},e[aT.Selenium]={window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},e[aT.WebDriverIO]={window:["wdioElectron"]},e[aT.WebDriver]={window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},e[aT.HeadlessChrome]={window:["domAutomation","domAutomationController"]},e),i={},r=ax(window),o=[];for(t in void 0!==window.document&&(o=ax(window.document)),n){var a=n[t];if(void 0!==a){var s=void 0!==a.window&&aX.apply(void 0,ej([r],a.window,!1)),l=void 0!==a.document&&!!o.length&&aX.apply(void 0,ej([o],a.document,!1));i[t]=s||l}}return i}},az=function(){function e(){this.components=void 0,this.detections=void 0}return e.prototype.getComponents=function(){return this.components},e.prototype.getDetections=function(){return this.detections},e.prototype.detect=function(){if(void 0===this.components)throw Error("BotDetector.detect can't be called before BotDetector.collect");var e=a_(this.components,aY),t=e[0],n=e[1];return this.detections=t,n},e.prototype.collect=function(){return eH(this,void 0,void 0,function(){var e;return eD(this,function(t){switch(t.label){case 0:return e=this,[4,aG(aM)];case 1:return e.components=t.sent(),[2,this.components]}})})},e}();function aH(e){var t=(void 0===e?{}:e).monitoring,n=void 0===t||t;return eH(this,void 0,void 0,function(){var e;return eD(this,function(t){switch(t.label){case 0:return n&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/botd/v".concat("1.9.1","/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),[4,(e=new az).collect()];case 1:return t.sent(),[2,e]}})})}var aD=Object.freeze({__proto__:null,BotKind:aT,BotdError:aU,collect:aG,default:{load:aH},detect:a_,detectors:aY,load:aH,sources:aM});async function aj(){try{var e;let{botDetect:t,blockBotTraffic:n}=window.flippxp?.settings??{},i=await function(){return eH(this,void 0,void 0,function(){var e,t,n;return eD(this,function(i){switch(i.label){case 0:return[4,ap()];case 1:return e=i.sent(),[4,am()];case 2:return t=i.sent(),n={isBotBotD:e,isBotByUa:t},eJ.debug("Bot detection result:",n),[2,n]}})})}();if(t&&ah(i),void 0===e&&(e=window.location.search),new URLSearchParams(e).has("flipp-content-code"))return!1;if(Object.values(i).some(Boolean)&&n)return af(i),!0;return!1}catch(e){return eQ(e),!1}}let aO=e=>{try{return e.innerHeight}catch(e){if(e instanceof DOMException&&"SecurityError"===e.name)return window.innerHeight;throw e}},aJ=(e,t,n)=>{let i=t.getBoundingClientRect(),r={top:i.top,height:i.height,bottom:i.bottom};if(n!==t.ownerDocument.defaultView){let t=e.getBoundingClientRect();r.top=t.top+i.top,r.height=Math.min(r.height,t.height),r.bottom=r.top+r.height}if(0===r.height)return null;let o=r.height,a=0,s=aO(n);return r.top>s||r.bottom<=0?{top:0,height:0,screenHeight:s}:(r.top<0&&(o-=a=-r.top),r.bottom>s&&(o-=r.bottom-s),{top:a,height:o=Math.max(o,0),screenHeight:s})},aP=["4puna","8puna","nobegvba","npg bs rivy","npg bs\xa0frqvgvba","npgvir fubbgre","npgvir fubbgref","nqnz gbyrqb","nqnz lnuvlr tnqnua","nqbys uvgyre","nqhyg pnz","nqhyg pnzf","nqhyg svyz","nqhyg ivqrbf","nqhyg jropnz","nqhyg jrofvgrf","nuzrq tunvynav","nuzrq tbqnar","nuzrq voenuvz ny zhtunffvy","nuzrq zbunzzrq unzrq nyv","nubyr","nve fgevxr","nx 47","nx-15","nx-47","nx47","nxeba","ny dnrqn","ny dhrqn","ny funonno","ny funz","ny hzne zhwnuvqrra","ny-snqy","ny-uneo","ny-xubone","ny-zvqune","ny-ahfen sebag","ny-dnrqn","ny-funonno","ny-mnjnuvev","nyntnfpb","nypbubyvfz","nyrccb","nyrk wbarf","nyv noh zhxunzznq","nyv ngjn","nyv fnrq ova nyv ry ubbevr","nyvrkcerff","nyy yvirf znggre","nyynu","nyyrtngvbaf","nyygry","nyz","nydnrqn","nydhena","nyg evtug","nzore arny","nzzba ohaql","nany","nany ornqf","nany frk","narzvn","natre znantrzrag","navzny pehrygl","navzny frk","naberkvn","naberkvp","nagv vfynz","nagv-inp","nagv-inppvar","nagv-ink","nagvsn","nahf","najne ny njynxv","najne ny-njynxv","ne-15 evsyr","nesvq","nezrq fgnaqbss","nfze rngf","nfcretre’f","nfcretref","nffnffvangvba","nffnhyg","nffnhyg evsyr","nffnhyg evsyr ona","ngynagn znffnper","ngbzvp obzo","nggnpx","nggnpx va ybjre znaunggna","nggnpx ba cnevf","nhfpujvgm","nhgb nppvqrag","njynxv","nlzna ny-mnjnuvev","o12","on
2pgrevn","onq obff","onqnff","ontuqnq","onyyvfgvp zvffvyrf","oneronpx","oneryl yrtny","onfune ny-nffnq","onfuve nffnq","onggyrsvryq","ornfgvnyvgl","orurnqvat","ora pehzc","orfgvnyvgl","ovyny unqsv","ova ynqra","ovatr rngvat","obqlpnz","obzo","obzovat","obbfgre","oehgnyvgl","ohxxnxr","ohyvzvn","ohetynel","pnepvabtra","pyhfgreshpx","pbpxfhpxre","pbagnzvangrq","pbeban","pbeban ivehf","pbebanivehf","pbivq","pbivq 19","pbivq-19","pebff-pbagnzvangvba","phesrj","qnvyl fgbezre","qrshaq gur cbyvpr","r.pbyv","snttvg","snttbg","svernez","sybbq","sbbq nqqvpgvbaf","sernx","sernx bhg","tnmn","tha","tha evtugf","unznf","unenffzrag","ubybpnhfg","ubeevsvp nggnpx","v pna'g oerngur","vafheerpgvba","vfenry","xvyy","xvyyrq","xvyyf","xxx","xbeban","xh xyhk xyna","ynjfhvg","ynlbssf","yvfgrevn","yvirfrk","ybpxqbja","ybbgvat","znavsrfgnag","znavsrfgngvba","znavsrfgngvbaf","znff fubbgvat","zvffvyr","zbyrfg","zbyrfgrq","zhxonat","zheqre","zheqrere","zhgvyngvba","anxrq","anmv","arb anmv","avtnobb","avttn","avttre","avttref","avgtyrg","aen","ahqr","bofprar","bvy fcvyy","bhgoernx","cnyrfgvavna","cnaqrzvp","crqbcuvyr","crrq","crccre fcenl","crfgvpvqr","cvpn qvfbeqre","cbvfbavat","cbyyhgvba","cbea","cerpvapg ohearq","cebhq oblf","ertvf xbepuvafxv-cndhrg","evsyr","evbg","evbgre","evbgf","evc","ehoore ohyyrgf","fnyzbaryyn","fnaqavttre","fngna","fryravhz","frk","frkhny zvfpbaqhpg","fuvg","fvpxrarq","fxvaurnq","fghqragf xvyyrq","fhrq","fhvpvqny","fhvpvqr","fhcerznpvfg","fhcerzr pbheg","grne tnf","grnetnf","greebevfz","gursg","gehzc","gehzc ergnyvngvba","gjvggre gehzc ivbyrapr","ha inkkrq","ha-inppvangrq","haerfg fubbgvat","hcevfvat","inppvar znaqngr","ink znaqngr","ivehf","jrncbaf","juvgr fhcerznpvfg"],aQ='script[type="application/ld+json"]';function aK(e){return"@graph"in e}function aq(){let e=document.querySelectorAll(aQ),t=[];if(!e)return t;let n=e=>{"NewsArticle"===e["@type"]&&t.push(...e.keywords||[])};return e.forEach(e=>{try{let t=JSON.parse(e.innerText);aK(t)?t["@graph"].forEach(e=>{n(e)}):Array.isArray(t)?t.forEach(e=>{n(e)}):n(t)}catch{}}),t}function a$(){let e;try{e=window.parent.document}catch{return console.warn("Will not resize or position if on another domain."),null}if(!e)return null;let t=e.querySelectorAll("iframe");for(let e=0;e<t.length;e++){let n=t[e];try{if(window===n.contentWindow)return n}catch{continue}}return null}function a0(e,t,n,i=!1){if((document.body&&1!==document.body.children.length||!document.body.children[0].id.startsWith("flipp-"))&&!(a2()||t)){console.warn("Will not resize if not only our container present.");return}let r=a$();if(!r)return;let o=e+Math.max(0,(0|document.body.offsetHeight)-(document.querySelector(".flippxp-frame")?.getBoundingClientRect().height??0));if(r.style.height=`${o}px`,n&&(r.style.width="100%"),i)try{let e=window.parent.frameElement;e&&(e.style.height=`${o}px`,e.parentElement&&(e.parentElement.style.height=`${o}px`))}catch{}}function a2(){let e=".GoogleActiveViewElement, .GoogleActiveViewInnerContainer";if(window.frameElement?.id.startsWith("google_ads_iframe")&&document.querySelectorAll(e).length>0)return!0;if(window.parent!==window)try{return window.parent.document.querySelectorAll(e).length>0}catch{}return!1}let a1=e=>{let t=(e,t)=>(e-t+13)%26+t;return e.replace(/[a-zA-Z]/g,e=>{let n=e.charCodeAt(0);return n>=65&&n<=90?String.fromCharCode(t(n,65)):n>=97&&n<=122?String.fromCharCode(t(n,97)):e})},a9=(e,t)=>t.filter(t=>e.toLowerCase().includes(t.toLowerCase())),a5=(e,t)=>a1(t.join(",")).split(",").filter(t=>e.toLowerCase().includes(t.toLowerCase())),a3=e=>Array.from(e).filter(e=>null!==e).map(e=>e?.textContent?.trim()??""),a4=(e,t)=>{let n=window.location.href,i=document.title.trim(),r=a3(document.querySelectorAll("p")),o=a3(document.querySelectorAll("a")),a=`${n} ${i} ${r.join(" ")} ${o.join(" ")}`;return t?a5(a,e):a9(a,e)},a6=function(e,t,{leading:n=!0,trailing:i=!1}={}){let r=!1,o=!1,a=[];return function(...s){o=!0,a=s,r||(r=!0,n&&(o=!1,e(...a)),setTimeout(()=>{i&&o&&e(...a),r=!1,o=!1},t))}},a8=function(e,t){let n=a6(()=>(se(e.getBoundingClientRect())&&(t(),window.removeEventListener("scroll",n)),null),66);return n},a7=function(e,t,n=null,i=2){if(ab()){let r={rootMargin:`${100*i}% 0px`,root:n?document.querySelector(n):null},o=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(t(),o.disconnect())},r);o.observe(e)}else{if(se(e.getBoundingClientRect())){t();return}window.addEventListener("scroll",a8(e,t),{passive:!0})}},se=function(e,t=2){return e.top>=0?e.top-window.innerHeight<window.innerHeight*t:Math.abs(e.bottom)<window.innerHeight*t};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".taboola-footer {\n  padding: 16px;\n}\n\n.taboola-footer-dates {\n  font-size: 16px;\n  line-height: 22px;\n  color: white;\n  text-shadow: 2px 2px 4px #000000;\n}\n");let st=e=>e<=18e3?e+2e3:e<=25e3?e+5e3:e+1e4,sn=e=>t=>t.intersectionRect.height>e*(t.rootBounds?.height||window.innerHeight),si=!1,sr=()=>si,so=(e,t,n,i=.5,r=st)=>{let o=0,a=0,s=2e3,l=n||8e3,d=!1,c=!1,u=!1,m=0,p=null,h=sn(i),f=()=>{let t=Date.now();!si&&o>=l&&(si=!0,e.dispatchEvent(new Event("flipp-engagement"))),document.hasFocus()&&!document.hidden&&s<=6e4&&(o+=t-a,e.dispatchEvent(new CustomEvent("flipp-heartbeat",{detail:{time:s}}
2)),s=r(s)),a=t,s<=6e4&&(m=window.setTimeout(f,s-o))},b=()=>{d=!1;let e=Date.now()-a;o+=e,a=0,clearTimeout(m)},g=()=>{d=!0,a=Date.now(),m=window.setTimeout(f,s-o),u||(u=!0,e.dispatchEvent(new Event("flipp-open")))},v=a6(()=>{let t=e.getBoundingClientRect(),n=!(t.top>window.innerHeight||t.bottom<0),i=.5*window.innerHeight,r=t.top<i&&t.bottom>i;return!c&&n&&(c=!0,e.dispatchEvent(new Event("flipp-view"))),!d&&r?g():d&&!r&&b(),null},66);if(t){let t=Math.min(1,Math.max(.001,window.innerHeight/2/e.clientHeight));(p=new IntersectionObserver(t=>{!c&&t.some(e=>e.isIntersecting)&&(c=!0,e.dispatchEvent(new Event("flipp-view"))),!d&&t.some(h)?g():d&&t.every(e=>!h(e))&&b()},{threshold:[0,.9*t,t,Math.min(1,1.1*t),1],rootMargin:"0px 1000px 0px 1000px",root:null})).observe(e)}else window.addEventListener("scroll",v);return()=>(window.clearTimeout(m),p&&p.disconnect(),window.removeEventListener("scroll",v),o+Date.now()-a)};function sa(e){try{let t=window.parent.frameElement;t&&e(t)}catch{}}function ss(e,t){let n=window.frameElement;if(!n)return;let i=n=>{n&&(n.style.setProperty("width",`${e}px`,"important"),n.style.setProperty("height",`${t}px`,"important"),n.style.setProperty("max-width",`${e}px`,"important"),n.style.setProperty("max-height",`${t}px`,"important"),n.style.setProperty("display","block","important"),n.style.setProperty("margin-left","auto","important"),n.style.setProperty("margin-right","auto","important"))};i(n.parentElement),i(n),sa(e=>{i(e),i(e.parentElement)})}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let sd=["Cannot read properties of undefined (reading 'map')","Failed to fetch","Cannot read properties of undefined (reading 'length')","undefined is not an object (evaluating 'de.ecom_items.map')","undefined is not an object (evaluating 'de.ecom_items.length')","Load failed","No items are rendered in the ULP"];class sc{get preview(){return this._preview}get expandCount(){return this._expandCount}get contentElement(){return this._contentElement}get hoverExpandable(){return this._hoverExpandable}sendMessage(e,t){if(!this.iframe)return null;this.iframe.contentWindow?.postMessage({type:e,data:t},"*")}sendCountdownState(e,t){return this.sendMessage(Z.COUNTDOWN_STATE,{countdownEnd:e,countdownInterval:t}),null}getDynamicModuleConfig(){let e=this.kevelMetadata?.dynamicModule,t=new URL(window.location.toString()).searchParams.get("flipp-test-template-url");return t&&e&&(e.templateUrl=t),e}requestExpand(){return this.sendMessage(Z.REQUEST_EXPAND,!0),null}handleSendEv(e){window.flippxp.evTag[e.compositeKey]?this.sendMessage(Z.SEND_EV,!1):(window.flippxp.evTag[e.compositeKey]=!0,this.sendMessage(Z.SEND_EV,!0))}composeAppConfig(){if(!this.kevelMetadata)return null;let e=navigator.languages?navigator.languages[0]:navigator.language,t=JSON.stringify({decisions:{inline:[this.data]},location:this.geoData}),n=new URL(window.location.toString()),i=n.searchParams.get("sessionId"),r=n.searchParams.get("itemId"),o=n.searchParams.get("flipp-test-store-code"),a=n.searchParams.get("flipp-test-store-id"),s=n.searchParams.get("flipp-test-merchant-id"),l=n.searchParams.get("flipp-test-postal-code"),d=void 0===this.options.startCompact?this.kevelMetadata?.startCompact:!!this.options.startCompact,c=this.getDynamicModuleConfig(),u=c?.standalone||!this.kevelMetadata.campaignConfigUrl&&c?.isActive;return{campaignNameIdentifier:this.kevelMetadata.campaignNameIdentifier,ux:this.options.standalone?I.DEFAULT:I.INLINE,intersectionObserver:this.intersectionObserver,siteId:this.siteId,site:aE(this.options.overrideHostname),locale:e.substring(0,2),country:this.geoData?.country,partnerNameIdentifier:this.publisherNameIdentifier,campaignConfigUrl:this.kevelMetadata.campaignConfigUrl,ulpUrl:this.kevelMetadata.ulpUrl,survey:this.kevelMetadata.survey,tags:{...this.data?.storefront?.campaignConfig?.tags,campaignManagement:{open:this.impressionUrl,engagement:this.engagementUrl,impression:this.liveRampTag}},expandOnReadMore:!!this.options.dwellExpandable||!!this.options.expandOnReadMore,preventItemModalClose:this.kevelMetadata.preventItemModalClose,creativeEvTimerMs:this.kevelMetadata.evTimerMs,hideHeader:this.kevelMetadata.hideHeader,themeColorBg:this.kevelMetadata.themeColorBg,themeColorFg:this.kevelMetadata.themeColorFg,sessionId:i??tA
2(),uid:e7(this.options),startCompact:!this.options.fixedHeightUnit&&d,dmaPixels:!!this.options.dmaPixels,decision:tb({decision:this.data,siteId:this.siteId,zoneId:this.zoneIds[0]||0,positionIndex:this.positionIndex,customUrl:this.getCustomUrl()}),integrationType:tc(this.options),platform:tC(),userPostalCode:l??this.geoData?.postal_code,latitude:this.geoData?.latitude,longitude:this.geoData?.longitude,regionCode:this.geoData?.region,regionName:this.geoData?.region_name,accuracyRadius:this.geoData?.accuracy_radius,city:this.geoData?.city,ip:this.geoData?.ip,metroCode:this.geoData?.metro_code,storefrontConfig:this.data?.storefront,noPopOnLink:!!this.kevelMetadata.noPopOnLink,showLocation:!!this.kevelMetadata.showLocation,dynamicModule:this.getDynamicModuleConfig(),isStandaloneDynamicModule:u,dynamicPopupIframeUrl:this.kevelMetadata.dynamicPopupIframeUrl,dynamicPopupIframeHeight:this.kevelMetadata.dynamicPopupIframeHeight,highlightedFlyerItemIds:this.kevelMetadata.highlightedFlyerItemIds??[],highlightedFlyerItemsOptions:this.kevelMetadata.highlightedFlyerItemsOptions,targetedOverlayImageUrl:this.kevelMetadata.targetedOverlayImageUrl??null,fallbackImageUrl:this.data?.storefront?.campaignConfig?.fallbackImageUrl,fallbackLinkUrl:this.data?.storefront?.campaignConfig?.fallbackLinkUrl,dwellTimerMs:this.kevelMetadata.dwellTimerMs,hoverExpandable:this._hoverExpandable,isVimpCallbackSet:!!window.flippxp.vimpTrackerFunc,stepHeight:this.kevelMetadata.stepHeight??this.options.stepHeight??1500,campaigns:t,itemId:r,keywords:this.keywords.filter(e=>"string"==typeof e),nearestStores:this.data.nearestStores,hideTTMButton:this.kevelMetadata.hideTTMButton,hideShareButton:this.kevelMetadata.hideShareButton,debugMode:window.flippxp.debugMode,hostedUrl:this.kevelMetadata.hostedUrl??null,mediaPartnerDescriptiveValueTag:this.options.mediaPartnerDescriptiveValueTag,wideCompact:this.options.wideCompact,wideCompactBackgroun
2dColor:this.options.wideCompactBackgroundColor,enableOptimizedShimmer:this.options.enableOptimizedShimmer,campaignIntlFmt:this.kevelMetadata.campaignIntlFmt,customContentHtml:this.kevelMetadata.customContentHtml,customContentS3:this.kevelMetadata.customContentS3,customContentSection:this.kevelMetadata.customContentSection,customContentHeight:this.kevelMetadata.customContentHeight,customContentUrl:this.kevelMetadata.customContentUrl,customContentSize:this.kevelMetadata.customContentSize,storeCode:o??this.kevelMetadata?.storeCode,storeId:a??this.kevelMetadata?.storeId,merchantId:s?td(s):this.kevelMetadata?.merchantId,fixedHeightUnit:this.options.fixedHeightUnit,fixedHeightUnitItemModal:this.options.fixedHeightUnitItemModal,publicationGlobalId:this.options.publicationGlobalId||this.data.publication?.global_id,publicationRenderMetadataTypes:this.options.publicationRenderMetadataTypes||this.data.publication?.rendering_metadata_types,fixedHeightDynamicModule:this.options.fixedHeightDynamicModule,useIndependentDynamicModule:this.options.useIndependentDynamicModule,enableV2Schema:this.kevelMetadata.enableV2Schema||this.options.enableV2Schema,resizeWideInserts:this.options.resizeWideInserts,disableFallbackImage:this.options.disableFallbackImage}}handleInlineGeometry(){if(!this.containerElement||!this.containerWindow||!this.contentElement)return null;let e=aJ(this.containerElement,this.contentElement,this.containerWindow);null!=e&&this.sendMessage(Z.INLINE_GEOMETRY,e)}handleEndPreview(){if(!this.iframe)return null;this._preview=!1,this.sendMessage(Z.END_PREVIEW,!0),this.handlePreviewEnded(this)}handleCallback(e){if("viewableImpression"===e&&window.flippxp.vimpTrackerFunc)return window.flippxp.vimpTrackerFunc()}getHeight(){return this.iframe?.offsetHeight??0}getAdType(){return this.kevelMetadata?.survey?I.SURVEY:this.kevelMetadata?.ulpUrl?I.ULP:I.INLINE}handleIframeHeightResize(e){if(!this.iframe)return null;let t=Math.ceil(e.height);this.iframe.offsetHeight<t&&(this._expandCount++,1===this.expandCount&&(this.hasScrolledBeyond=!1)),this.iframe.style.height=`${t}px`,this.resizeCallback(this,t+8)}handleIframeWidthResize(e){if(!this.iframe)return null;let t=Math.ceil(e.width);this.iframe.style.width=`${t}px`,this.iframe.style.maxWidth=`${t}px`}handleHideIframe(){if(!this.iframe)return null;this.iframe.style.display="none"}handlePublicationRendered(e){a2()&&ss(Math.ceil(e.width),Math.ceil(e.height))}handleUlpSeeAllDealsClick(){e$.enqueue(tN({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex}))}handleUlpClick(e,t){return e$.enqueue(tE({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),message:t,itemType:e,options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),null}handleUlpItemImpressions(e){return e$.enqueue(tw({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),message:e,options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),null}handleUlpErrorMessage(e){return e$.enqueue(tV({errorMessage:e,partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),null}getCustomUrl(){return this.kevelMetadata?.ulpUrl??this.kevelMetadata?.campaignConfigUrl??"no-url"}registerScroll(){if(!this.containerWindow||this.options.isGoogleAmp)return null;this.containerWindow.addEventListener("scroll",a6(()=>
2{if(!this.containerWindow||!this.containerElement||!this.contentElement)return null;let e=aJ(this.containerElement,this.contentElement,this.containerWindow);return null!==e&&this.sendMessage(Z.INLINE_GEOMETRY,e),null},66,{leading:!1,trailing:!0}))}registerTags(){let e={open:[this.impressionUrl],engagement:[this.engagementUrl],impression:[]};return this.liveRampTag=tO(this.data,this.geoData),this.liveRampTag&&e.impression?.push(this.liveRampTag),tJ.addTags({campaignManagement:e},{startCompact:this.options?.startCompact||!1}),null}initGoogleAmp(e,t){return window.parent.postMessage({sentinel:"amp",type:"send-intersections"},"*"),window.parent.postMessage({sentinel:"amp",type:"embed-size",width:e,height:t},"*"),window.addEventListener("message",e=>{if(!(e.source===window.parent&&e.origin!==window.location.origin&&e.data&&"amp"===e.data.sentinel&&"intersection"===e.data.type))return null;e.data.changes.forEach(e=>{if(e.boundingClientRect.height<250)return this.sendMessage(Z.INLINE_GEOMETRY,{yiv:0,h:0}),null;let t={self:{yiv:e.intersectionRatio,h:e.boundingClientRect.height}};this.sendMessage(Z.INLINE_GEOMETRY,t)})}),null}handleNoExperienceServed(){return this.resizeCallback(this,0),null}assignData(){return this.creativeWidth=this.data.width,this.creativeHeight=this.data.height,this.engagementUrl=this.data.clickUrl,this.impressionUrl=this.data.impressionUrl,this._hoverExpandable=!!(tC()?.["com.flipp.beacon.shopperPlatform.enumeration.Platform"]===eY.Platform.Desktop&&(this.options.startCompact||this.kevelMetadata?.startCompact))&&!!this.kevelMetadata?.hoverExpandable,null}checkWideCompact(){var e;let t=tl.getDeviceInfo();return!!this.options.startCompact&&!!this.options.wideCompact&&!!this.options.wideCompactBackgroun
2dColor&&(e=this.options.wideCompactBackgroundColor,/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e))&&"desktop"===t.type}calculateTargetDimensions(e){let t=this.checkWideCompact(),n=this.creativeWidth&&this.creativeHeight?this.creativeHeight/this.creativeWidth:6,i=this.kevelMetadata?.maxWidth??this.options.maxWidth??1024,r=t?Math.max(e.offsetWidth,300):Math.max(Math.min(e.offsetWidth,i),300),o=Math.min(window.screen.height-150,600),a=this.kevelMetadata?.compactHeight??this.options.compactHeight??o,s=this.kevelMetadata?.maxHeight??this.kevelMetadata?.standardHeight??this.options.maxHeight??this.options.standardHeight??2400,l=Math.min(this.options.preview?200:r*n,this.options.startCompact||this.kevelMetadata?.startCompact?a:s);return{targetWidth:r,targetHeight:t?600:l}}isULPorSurveyPreview(){return this._preview&&this.kevelMetadata?.ulpUrl||this._preview&&this.kevelMetadata?.survey}initializeIframe(e,t,n){let i=document.createElement("iframe");i.className="flippxp-frame",i.style.background="rgba(255, 255, 255, 0)",i.style.width=this.options.nestedIframeFullBleed?"100%":`${e}px`;let r=this.composeAppConfig(),o=r?.dynamicModule?.customContentInfo?.customContentHeight;i.style.height=`${t}px`,r?.isStandaloneDynamicModule&&(i.style.height=`${o??0}px`);let a="flipp-"+btoa(encodeURIComponent(JSON.stringify(r)));i.setAttribute("scrolling","no"),i.style.border="none",i.setAttribute("allow","web-share"),i.setAttribute("name",a),this.options.fixedHeightUnit&&(i.style.borderRadius="8px",i.style.border="1px solid rgba(235, 238, 243, 1)");let s="https://shopper.flipp.com/static/staging/latest";if(n)s=n,this.geoData?.postal_code&&!n.includes("horizontal-test")&&(s=`${s}&postal_code=${this.geoData?.postal_code}`);else{let e=this.checkWideCompact(),t=this.kevelMetadata?.maxWidth??this.options.maxWidth;e?i.style.maxWidth="100%":t?i.style.maxWidth=`${t}px`:this.options.startCompact?i.style.maxWidth="650px":i.style.maxWidth=this.options.standalone?"1024px":"800px",i.style.margin="0 auto",i.style.display="block"}let l=new URL(s);return this.preview&&l.searchParams.append("preview","true"),i.setAttribute("src",l.toString()),i}registerUlpMessageListeners(e){window.addEventListener("message",e=>(this.handlePostMessages(e),null)),e.addEventListener("flipp-view",()=>(e$.enqueue(tv({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),null)),e.addEventListener("flipp-open",()=>(e$.enqueue(ty({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),tJ.sendOpen(),"function"==typeof window.flippxp.vimpTrackerFunc&&window.flippxp.vimpTrackerFunc(),null),{once:!0}),e.addEventListener("flipp-heartbeat",e=>{let t=e.detail.time;return e$.enqueue(tg({partnerNameIdentifier:this.publisherNameIdentifier,elapsedSeconds:Math.round(t/1e3),decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),null}),e.addEventListener("flipp-engagement",()=>(e$.enqueue(tI({partnerNameIdentifier:this.publisherNameIdentifier,decision:{...this.data},siteId:this.siteId,zoneId:this.zoneIds[0]||0,customUrl:this.getCustomUrl(),options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,positionIndex:this.positionIndex})),tJ.sendEngagement(),null),{once:!0})}render(){if(this.data?.contents==null||0===this.data.contents.length)return this.handleNoExperienceServed(),null;this.kevelMetadata=this.data.contents[0].data.customData,this.assignData(),this.registerTags();let e=this.targetEl,t=e.querySelector(".flipp-ux-header");!t||this.kevelMetadata.hideHeader||this.kevelMetadata.dynamicModule?.standalone||(t.style.display="block");let{targetWidth:n,targetHeight:i}=this.calculateTargetDimensions(e);if(this.options.isGoogleAmp&&this.initGoogleAmp(n,i),this.isULPorSurveyPreview())return;let r=0;if(this.isFooterPresent()&&(r=this.kevelMetadata?.customContentHeight??0),this.iframe=this.initializeIframe(n,i-r,this.kevelMetadata.ulpUrl),this._contentElement=this.iframe,e.appendChild(this.iframe),this.handleFooterInjection().then(()=>console.log("Footer injection completed.")).catch(e=>console.error("Footer injection failed:",e)),this.options.fixedHeightUnit&&function({validFrom:e,validTo:t,container:n}){var i,r,o,a,s;if(!e||!t)return;let l=al(),d=document.createElement("div");d.className="taboola-footer";let c=document.createElement("div");c.className="taboola-footer-dates";let u=new Date(e),m=new Date(t),p=u.toLocaleDateString(l,{month:"short",day:"numeric"}),h=m.toLocaleDateString(l,{month:"short",day:"numeric"});c.textContent=(i="valid_from_to",r={from:p,to:h},"string"==typeof(s=null!==(a=(null!==(o=function(e,t){var n,i,r,o,a=void 0===t?{}:t,s=a.language,l=a.fallbackLanguage;if(s)return null!==(o=e[s])&&void 0!==o?o:l?e[l]:void 0;var d=function(e){if(!e)return e;
2var t=e.split(/[-_]/).filter(Boolean);if(0===t.length)return e;var n=t[0].toLowerCase();if(1===t.length)return n;var i=t[1].toUpperCase();return"".concat(n,"-").concat(i)}(al()),c=e[d];if(void 0!==c)return c;var u=e[null!==(i=null===(n=null==(r=/([a-z]{2,4})[_-]*([a-z]{0,3})/i.exec(d))?void 0:r[1])||void 0===n?void 0:n.toLowerCase())&&void 0!==i?i:d];return void 0!==u?u:l?e[l]:void 0}(as,{fallbackLanguage:"en"}))&&void 0!==o?o:{})[i])&&void 0!==a?a:i)?s:r?s(r):i),d.appendChild(c),n&&n.appendChild(d)}({container:e,validFrom:aS(this.data.storefront?.valid_from),validTo:aS(this.data.storefront?.valid_to)}),this.containerWindow=window,this.containerElement=e,this.options.nestedIframe){let n=t?.offsetHeight??0,i=this._preview?200:document.body.offsetHeight+n+8;this.resizeCallback(this,i),this.containerWindow=window.parent,this.containerElement=a$()??e}this.intersectionObserver||(console.log("Register Event Listeners"),this.registerScroll()),this.registerUlpMessageListeners(this.iframe),this.kevelMetadata.ulpUrl&&so(this.iframe,this.intersectionObserver,this.kevelMetadata.evTimerMs)}constructor({targetEl:e,publisherNameIdentifier:t,data:n,options:i,resizeCallback:r,siteId:o,zoneIds:a,handlePreviewEnded:s,geoData:l,keywords:d=[],positionIndex:c}
2){sl(this,"targetEl",void 0),sl(this,"publisherNameIdentifier",void 0),sl(this,"data",void 0),sl(this,"options",void 0),sl(this,"keywords",void 0),sl(this,"resizeCallback",void 0),sl(this,"handlePreviewEnded",void 0),sl(this,"containerWindow",void 0),sl(this,"containerElement",void 0),sl(this,"_contentElement",void 0),sl(this,"iframe",void 0),sl(this,"kevelMetadata",void 0),sl(this,"creativeHeight",void 0),sl(this,"creativeWidth",void 0),sl(this,"engagementUrl",void 0),sl(this,"impressionUrl",void 0),sl(this,"liveRampTag",void 0),sl(this,"siteId",void 0),sl(this,"zoneIds",void 0),sl(this,"geoData",void 0),sl(this,"positionIndex",void 0),sl(this,"hasScrolledBeyond",!1),sl(this,"intersectionObserver",void 0),sl(this,"_preview",!1),sl(this,"_expandCount",0),sl(this,"_hoverExpandable",!1),sl(this,"handleExperienceMeasureTest",e=>{e$.enqueue(tM({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,postalCode:this.geoData?.postal_code,testName:e.testName,resultName:e.resultName,resultLabel:e.resultLabel,resultPayload:e.resultPayload,testIdentifier:e.testIdentifier,country:this.geoData?.country}))}),sl(this,"handlePostMessages",e=>{if(!this.iframe||e.source!==this.iframe.contentWindow)return null;let t=e.data,n=t.type,i=t.data;if(n){if(t.type===Z.ULP){t.detail.type===tQ.ITEM_IMPRESSION?this.handleUlpItemImpressions(t.detail):this.handleUlpPostMessages(t.detail);return}switch(n.replace(tP,"")){case Z.SEND_EV:this.handleSendEv(i);break;case Z.INLINE_GEOMETRY:this.handleInlineGeometry();break;case Z.IFRAME_HEIGHT_RESIZE:this.handleIframeHeightResize(i);break;case Z.IFRAME_WIDTH_RESIZE:this.handleIframeWidthResize(i);break;case Z.END_PREVIEW:this.handleEndPreview();break;case Z.CALLBACK:this.handleCallback(i);break;case Z.MEASURE_TEST:this.handleExperienceMeasureTest(i);break;case Z.HIDE_IFRAME:this.handleHideIframe();break;case Z.PUBLICATION_RENDERED:this.handlePublicationRendered(i)}}}),sl(this,"isFooterPresent",()=>!!(this.kevelMetadata?.customContentSection!==void 0&&!this.options.startCompact&&this.kevelMetadata?.customContentSection==-1&&(this.kevelMetadata.customContentS3||this.kevelMetadata.customContentHtml))),sl(this,"handleUlpPostMessages",e=>{let t;if(e.type===tQ.ERROR&&sd.includes(e.detail))return this.handleUlpErrorMessage(e.detail),this.contentElement&&(this.contentElement.style.height="0"),null;switch(sr()||(this.iframe?this.iframe.dispatchEvent(new Event("flipp-engagement")):window.dispatchEvent(new Event("flipp-engagement"))),e.type){case tQ.CLICK_MEATBALL:case tQ.SHARE_ITEM:t=th(e.detail.itemType);break;case tQ.SEE_FLYER_ITEM:case tQ.CLIP_FLYER_ITEM:t=eY.ItemType.Flyer;break;case tQ.SEE_MERCHANT_ITEM:case tQ.CLIP_MERCHANT_ITEM:t=eY.ItemType.Merchant;break;case tQ.SEE_ECOM_ITEM:case tQ.CLIP_ECOM_ITEM:t=eY.ItemType.Ecom;break;case tQ.SEE_ALL_DEALS:this.handleUlpSeeAllDealsClick();return;default:throw Error("ULP message not recognized")}this.handleUlpClick(t,e)}),sl(this,"createCustomContentContainer",async(e,t,n)=>{let i=aw(t?.customContentHeight??0);i.setAttribute("style","width: 100%; border: none; display: block;");let r=aI(i);return r.style.margin="8px auto",r.style.maxWidth=n,e.appendChild(r),await eH(void 0,void 0,void 0,function(){var e,n,r;return eD(this,function(o){switch(o.label){case 0:return[4,eH(void 0,void 0,void 0,function(){var e;return eD(this,function(n){switch(n.label){case 0:var i;if(e=null,!(null==t?void 0:t.customContentS3))return[3,2];return[4,(i=t.customContentS3,eH(void 0,void 0,void 0,function(){var e;return eD(this,function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),[4,fetch(i)];case 1:if(!(e=t.sent()).ok)return console.error("Error fetching S3 content:",e.statusText),[2,null];return[4,e.text()];case 2:return[2,t.sent()];case 3:return console.error("Error fetching S3 content:",t.sent()),[2,null];case 4:return[2]}})}))];case 1:if(!(e=n.sent()))return console.error("Failed to load custom content from S3 or content is empty."),[2,null];n.label=2;case 2:if(!e&&(null==t?void 0:t.customContentHtml))try{e=atob(t.customContentHtml)}catch(e){return console.error("Failed to decode customContentHtml:",e),[2,null]}return[2,e]}})})];case 1:if(!(e=o.sent()))return console.error("No custom content source provided or available."),[2];return(n=i.contentDocument||(null===(r=i.contentWindow)||void 0===r?void 0:r.document))&&(n.open(),n.write(e),n.close()),[2]}})}),i}),sl(this,"handleFooterInjection",async()=>{try{if(!this.isFooterPresent()){console.log("Footer injection is absent.");return}let e=await this.createCustomContentContainer(this.targetEl,this.kevelMetadata,this.iframe?.style.maxWidth?this.iframe.style.maxWidth:"");aV(e,()=>{this.sendExperienceMeasuredTest("Click"),window.open(this.kevelMetadata?.customContentUrl,"_blank","noopener")},!1),aN(e,()=>{this.sendExperienceMeasuredTest("Impression")})}catch(e){console.error("Error during custom content preparation:",e)}}),sl(this,"sendExperienceMeasuredTest",e=>{var t,n;e$.enqueue(tM({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,postalCode:this.geoData?.postal_code,testName:"KargoTest",resultName:"Ad",resultLabel:e,resultPayload:(t=this.data.adId,{id:t,name:(this.kevelMetadata?.campaignNameIdentifier??"")||"",ad_size:this.kevelMetadata?.customContentSize??"",ad_page:-1==(n=this.kevelMetadata?.customContentSection??-1)?"END":n}),testIdentifier:this.data.campaignId,country:this.geoData?.country}))}),sl(this,"scrollBeyond",()=>{if(this.hasScrolledBeyond||(this.hasScrolledBeyond=!0,!this.data.storefront))return null;let e={sfmlUUID:this.data.storefront.sfml_uuid??this.data.publication?.global_id??"-1",version:null,contentHash:null},t={...tk({schemaId:eY.ExperienceScrolledBeyondSlotSchemaId,partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,postalCode:this.geoData?.postal_code,campaignNameIdentifier:this.kevelMetadata?.campaignNameIdentifier,country:this.geoData?.country}),storefront:e,merchant:{merchantId:this.data.storefront.merchant_id??-1},decision:tG(tb({decision:this.data,siteId:this.siteId,zoneId:this.zoneIds[0]||0,positionIndex:this.positionIndex,customUrl:this.getCustomUrl()})),height:this.getHeight(),expansionCount:this.expandCount,flyer:{...aR(this.data.storefront,this.options.publicationGlobalId||this.data.publication?.global_id),storeId:null,premium:!0}};e$.enqueue(t)}),this.targetEl=e,this.publisherNameIdentifier=t,this.data=n,this.options=i,this.keywords=d,this.resizeCallback=r,this.handlePreviewEnded=s,this.siteId=o,this.zoneIds=a,this._preview=i.preview??!1,this.geoData=l,this.intersectionObserver=ab(),this.positionIndex=c}}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let sm=e=>{if("string"!=typeof e)return;let t=e.trim();if(t)try{let e=new URL(t);return"https:"===e.protocol?e.toString():void 0}catch{return}},sp=e=>{let t=Math.round(e);if(!Number.isFinite(t)||t<300)return null;let n=Math.min(t,450);return{width:n,height:Math.round(1.5*n)}},sh=e=>{let t=td(e,8e3);if(!(t<=0))return Math.min(t/1e3,20)};class sf{render(){return window.addEventListener("message",this.handlePostMessage),this.resolveContainer(),this.registerScroll(),this.registerResize(),this.applyFrameSize(),!!this.iframe}mountFrame(){this.inlineDecision&&!this.tagsSent&&(this.tagsSent=!0,tJ.addTagsFromCampaignResponse(this.inl
2ineDecision,{startCompact:!1},this.location));let e=document.createElement("iframe");e.className="flippxp-mobile-swipe-frame",e.style.border="none",e.style.display="block",e.style.maxWidth="100%",e.style.margin="0 auto",e.style.borderRadius="8px",e.style.overflow="hidden",e.setAttribute("scrolling","no");let t="flipp-"+btoa(encodeURIComponent(JSON.stringify(this.config)));return e.setAttribute("name",t),e.setAttribute("src","https://shopper.flipp.com/tag/js/ad-formats/mobile-swipe.html"),this.iframe=e,this.targetEl.appendChild(e),e}registerResize(){if("undefined"!=typeof ResizeObserver){this.resizeObserver=new ResizeObserver(this.applyFrameSize),this.resizeObserver.observe(this.targetEl);return}this.resizeHandler=this.applyFrameSize,window.addEventListener("resize",this.resizeHandler)}resolveContainer(){let e=a$();e&&(this.containerWindow=window.parent,this.containerElement=e)}registerScroll(){this.scrollHandler=a6(()=>(this.sendInlineGeometry(),null),66,{leading:!1,trailing:!0}),this.containerWindow.addEventListener("scroll",this.scrollHandler,{passive:!0})}destroy(){window.removeEventListener("message",this.handlePostMessage),this.scrollHandler&&(this.containerWindow.removeEventListener("scroll",this.scrollHandler),this.scrollHandler=void 0),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=void 0),this.iframe?.remove()}constructor({targetEl:e,publicationGlobalId:t,siteId:n,zoneId:i,sessionId:r,geoData:o,storefront:a,decision:s,inlineDecision:l,site:d,integrationType:c,autoEngage:u,ctaUrl:m,evTimer:p}){su(this,"targetEl",void 0),su(this,"config",void 0),su(this,"inlineDecision",void 0),su(this,"location",void 0),su(this,"iframe",void 0),su(this,"scrollHandler",void 0),su(this,"resizeObserver",void 0),su(this,"resizeHandler",void 0),su(this,"tagsSent",!1),su(this,"hiddenByRuntime",!1),su(this,"appliedGamBreakout",void 0),su(this,"containerWindow",window),su(this,"containerElement",void 0),su(this,"applyFrameSize",()=>{let e=sp(this.targetEl.clientWidth);if(!e){this.iframe&&(this.iframe.style.display="none");return}this.applyGamBreakout(e);let t=this.iframe??this.mountFrame();this.hiddenByRuntime||(t.style.display="block"),t.style.width=`${e.width}px`,t.style.height=`${e.height}px`}),su(this,"applyGamBreakout",e=>{if(!a2())return;let t=`${e.width}x${e.height}`;this.appliedGamBreakout!==t&&(ss(e.width,e.height),this.appliedGamBreakout=t)}),su(this,"handlePostMessage",e=>{let t=e.data;this.iframe?.contentWindow&&e.source===this.iframe.contentWindow&&(t?.type==="iframe-height-resize"&&"number"==typeof t.value?this.iframe.style.height=`${t.value}px`:t?.type==="hide-iframe"?(this.hiddenByRuntime=!0,this.iframe.style.display="none"):t?.type==="experience-open"?tJ.sendOpen():t?.type==="experience-engagement"?tJ.sendEngagement():t?.type===tP+Z.INLINE_GEOMETRY&&this.sendInlineGeometry())}),su(this,"sendInlineGeometry",()=>{if(!this.iframe)return;let e=aJ(this.containerElement,this.iframe,this.containerWindow);null!=e&&this.iframe.contentWindow?.postMessage({type:Z.INLINE_GEOMETRY,data:e},"*")}),this.targetEl=e,this.containerElement=e,this.inlineDecision=l,this.location=o;let h=tl.getDeviceInfo();this.config={publicationGlobalId:t,siteId:n,zoneId:i,sessionId:r??"",environment:eO,appVersion:"ce9b9c5d3682fd18f7d63206af9d76bd06f962c4",site:d,integrationType:c,decision:s,autoEngage:u,ctaUrl:m,evTimer:p,device:{type:h.type,model:h.systemModel,osName:h.system,osVersion:h.systemVersion,browser:h.browser,browserVersion:h.browserVersion},geoData:o?{postal_code:o.postal_code,latitude:o.latitude,longitude:o.longitude,country:o.country,region:o.region,accuracy_radius:o.accuracy_radius}:{},legacyPublication:a?{flyerId:a.flyer_id,flyerRunId:a.flyer_run_id,flyerTypeId:a.flyer_type_id,merchantId:a.merchant_id,sfmlUuid:a.sfml_uuid}:void 0}}}function sb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let sg=[4309,641];class sv{syncDwellObservers(){if(this.options.fixedHeightUnit||!ab()){this.dwellObserver?.disconnect(),this.scrollBeyondObserver?.disconnect(),this.hoverObserver?.disconnect(),this.dwellObserver=null,this.scrollBeyondObserver=null,this.hoverObserver=null;return}this.dwellObserver=new IntersectionObserver(this.observerCallback,{rootMargin:"-70% 0px -5% 0px"}),this.scrollBeyondObserver=new IntersectionObserver(this.scrollBeyondCallback,{rootMargin:"-95% 0p
2x 0px 0px"}),this.hoverObserver=new IntersectionObserver(this.hoverCallback,{threshold:1})}applyKevelFeatureFlags(e){let t=this.getKevelCustomData(e);t&&(!0===t.mobileSwipe&&(this.options.mobileSwipe=!0),void 0===this.options.fixedHeightUnit&&"boolean"==typeof t.fixedHeightUnit&&this.setFixedHeightUnit(t.fixedHeightUnit))}getKevelCustomData(e){return e.decisions?.inline?.[0]?.contents?.[0]?.data?.customData}setFixedHeightUnit(e){!!this.options.fixedHeightUnit!==e&&(this.options.fixedHeightUnit=e,e?window.addEventListener("message",this.handleMessage):window.removeEventListener("message",this.handleMessage),this.syncDwellObservers())}callSlotFillResultCallback(e){this.options.slotFillResultCallback&&this.options.slotFillResultCallback(e)}completeCountdown(){if(void 0===this.countdownExperience)return null;let e=this.experiences[this.countdownExperience];e.preview?(e.handleEndPreview(),this.appendPreview()):e.requestExpand(),this.stopCountdown()}stopCountdown(){return this.countdownInterval&&window.clearInterval(this.countdownInterval),void 0!==this.countdownExperience&&this.experiences[this.countdownExperience].sendCountdownState(),this.countdownInterval=void 0,this.countdownExperience=void 0,this.countdownStart=void 0,null}startCountdown(e){let t=this.getDwellDuration(e)/this.getDwellSteps(e);return this.countdownExperience=e,this.countdownStart=Date.now(),this.tickCountdown(),this.countdownInterval=window.setInterval(this.tickCountdown,t),null}getDwellDuration(e){let t=this.decisionPayload?.decisions.inline[e].contents[0].data.customData;return t.dwellTimerMs?td(t.dwellTimerMs||3e3,3e3):3e3}getDwellSteps(e){let t=this.decisionPayload?.decisions.inline[e].contents[0].data.customData;return t.dwellSteps?td(t.dwellSteps,3):3}handleMarkerActivation(e,t){this.countdownExperience!==t&&(this.stopCountdown(),e.expandCount<1&&(e.hoverExpandable&&e.contentElement&&1===this.experiences.length?e.contentElement.addEventListener("mouseover",this.startCountdownWithMap(t)):this.startCountdown(t)))}handleMarkerDeactivation(e,t){this.fullyVisibleExperiences.includes(t)||e.contentElement?.removeEventListener("mouseover",this.startCountdownWithMap(t)),this.countdownExperience===t&&this.stopCountdown()}request(){return this.requested?null:(this.targetEl=document.querySelector(this.targetSelector),this.targetEl)?void(this.setupContainerViewableBeacon(),this.options.isGoogleAmp||this.options.disableLazyLoading?this.getExperiences():a7(this.targetEl,()=>this.getExperiences(),this.options.rootElement),this.requested=!0):(console.log("No target div found for",this.targetSelector),null)}insertPassback(e){if(!this.targetEl)return null;let t=document.createElement("iframe");t.src="about:blank",t.style.width=this.options.passbackWidth||"100%",t.style.height=this.options.passbackHeight||"600px",t.setAttribute("scrolling","no"),t.style.border="none",this.targetEl.appendChild(t),t.contentWindow&&(t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close())}handleExperienceAddError(e,t){e||0!==t||this.callSlotFillResultCallback(!1)}addExperience(e=!1,t=0){let n=this.decisionPayload?.decisions?.inline?.length??0;if(!this.targetEl||!this.decisionPayload||t>=n)return this.handleExperienceAddError(e,t),null;let i={...this.options,preview:e},r=new sc({targetEl:this.targetEl,publisherNameIdentifier:this.publisherNameIdentifier,data:this.decisionPayload?.decisions.inline[t],options:i,resizeCallback:this.resizeExperience,siteId:this.siteId,zoneIds:this.zoneIds,handlePreviewEnded:this.handlePreviewEnded,geoData:this.decisionPayload.location,keywords:[...aq()],positionIndex:this.experienceLimit>1&&n>1?t+1:null});this.experiences.push(r),r.render(),r.contentElement&&this.appendHolodeckLink(),r.hoverExpandable&&1===n&&r.contentElement?.addEventListener("mouseleave",()=>{this.stopCountdown()});let o=document.createElement("div");o.style.height="0px",o.classList.add("santinel"),this.targetEl.appendChild(o),this.markers.push({el:o,active:!1,index:t}),this.scrollBeyondObserver&&this.dwellObserver&&this.hoverObserver&&(this.scrollBeyondObserver.observe(o),this.options.dwellExpandable&&(r.contentElement&&r.hoverExpandable&&1===n&&(this.dwellObserver=new IntersectionObserver(this.observerCallback,{rootMargin:"-50% 0px 0px 0px"}),this.hoverObserver.observe(r.contentElement)),this.dwellObserver.observe(o))),e||0!==t||this.callSlotFillResultCallback(!0)}buildHolodeckLink(){let e=encodeURIComponent(tA());return`https://holodeck.flippback.com/traffic?program=nativex&sessionId=${e}`}appendHolodeckLink(){if(!this.targetEl||this.targetEl.querySelector(".flipp-holodeck-link"))return;let e=document.createElement("a");e.classList.add("flipp-holodeck-link"),e.href=this.buildHolodeckLink(),e.target="_blank",e.rel="noopener noreferrer",e.textContent="Open in Holodeck ↗",e.style.cssText="display: block; font-size: 11px; color: #888; text-decoration: none; margin-top: 4px;",this.targetEl.appendChild(e)}appendPreview(){let e=this.decisionPayload?.decisions?.inline?.length??0;if(!this.decisionPayload||this.experienceLimit<=this.experiences.length||e<=this.experiences.length)return null;this.addExperience(!0,this.experiences.length)}setGAMStyle(e){let t=this.options.startCompact?"610px":"initial",n=`min-height: ${t}; margin: 0 auto !important;
3     height: auto !important; width: 100% !important;
4            display: block !important; max-height: initial !important`,i=window.parent.document;setTimeout(()=>{i.querySelectorAll("[data-freestar-ad], [data-google-query-id]").forEach(e
4=>{1===e.children.length&&e.querySelector("iframe")?.contentDocument?.querySelector(".flippxp-frame")&&e.setAttribute("style",n)})},500);let r=this.options.rootElement;if(r)!function(e,t,n){n.split(",").forEach(n=>{let i=e?.querySelector(n);i?.children.length===1&&i.setAttribute("style",t)})}(i,n,r);else{let t=(()=>{try{let e=window.top?.document.body.clientWidth;return e&&e>0?e:i.body.clientWidth}catch{return i.body.clientWidth}})(),r=Math.min(this.options.gamContainerWidth||-1,t);!function({style:e,decisionExist:t,callSlotFillResultCallback:n,nestedIframeResizing:i,gamContainerWidth:r}){let o=window.frameElement;if(!o)return;let a=o.parentElement,s=a?.parentElement,l=a?.children.length===1&&s?.children.length===1,d=tl.getDeviceInfo().type;if(a&&t){let e=r&&r>0&&"mobile"!==d,t=e?`${r}px`:"100%";a.style.width=t,e&&(o.style.width=t,sa(e=>{e.style.width=t,e.parentElement&&(e.parentElement.style.width=t)}))}if(!t&&s&&l){s.style.display="none",n(!1);return}i&&s&&l&&(s.parentElement?.children.length===1&&s.parentElement.setAttribute("style",e),s.setAttribute("style",e),sa(t=>{t.setAttribute("style",e),t.parentElement?.setAttribute("style",e)}))}({style:n,decisionExist:e,callSlotFillResultCallback:e=>this.callSlotFillResultCallback(e),nestedIframeResizing:!!this.options.nestedIframeResizing,gamContainerWidth:r})}}getGeolocatedExperience(e){this.queueRequestMadeBeacon(),(this.options.campaigns?Promise.resolve(JSON.parse(this.options.campaigns)):fetch("https://gateflipp-stg.flippback.com/flyer-locator-service-stg/campaigns",{method:"POST",credentials:"omit",body:JSON.stringify(e),headers:{"Content-Type":"text/plain"}}).then(e=>(e.ok||(this.callSlotFillResultCallback(!1),this.queueFailureBeacon(e)),e.json()))).then(e=>{if(this.applyKevelFeatureFlags(e),this.queueSuccessBeacon(e),ac(this.options.beaconEventCallbacks,"servedImpression"),this.decisionPayload=e,this.options.mobileSwipe){this.renderMobileSwipeExperience(e.decisions.inline?.[0]?.publication?.global_id);return}let t=e.decisions&&"object"==typeof e.decisions&&Object.keys(e.decisions).some(t=>t in e.decisions&&e.decisions[t]);if(a2()){let n=!!this.options.nestedIframe,i=window.parent!==window,r=!1;try{r=i&&!!window.parent.document.querySelector(".GoogleActiveViewElement, .GoogleActiveViewInnerContainer")}catch(e){r=!1,eJ.debug("Error checking for GAM nested iframe",e)}e$.enqueue(tM({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]??0,postalCode:e.location?.postal_code,options:this.options,country:e.location?.country,testName:"GAMContainerDetection",resultName:"inGAMContainer",resultLabel:String(r),resultPayload:{isNestedIframe:n,GAMNestedIframe:r,crossOrigin:i}}));try{this.setGAMStyle(t)}catch(e){e instanceof Error?eK(e.message,e.stack,window.location.href):eQ(e)}}let n=1179443===this.siteId&&document.getElementById("flyerWidgetLabel");if(t&&n&&(n.style.display="block"),this.options.passbackTag&&(!e.decisions?.inline||e.decisions.inline.length<1||null===e.decisions.inline[0])){this.callSlotFillResultCallback(!1);let e="function"==typeof this.options.passbackTag?this.options.passbackTag():this.options.passbackTag;if("object"==typeof e&&"function"==typeof e.then)return e.then(e=>{if(!e)throw Error(JSON.stringify(e));return this.insertPassback(e),null}).catch(e=>{throw Error("Passback promise fallthrough. Hiding experience: "+(e instanceof Error?e.message:"unknown"))});if("string"==typeof e&&e)this.insertPassback(e);else throw Error("Passback fallthrough. Hiding experience");return}(this.options.nestedIframe&&!e.decisions||!e.decisions.inline||e.decisions.inline.length<1||null===e.decisions.inline[0])&&a0(0,!!this.options.nestedIframeShared,!!this.options.nestedIframeFullBleed,!!this.options.nestedIframeResizing),this.addExperience(),e.decisions.inline&&e.decisions.inline.length>1&&this.appendPreview()}).catch(e=>(e.message.startsWith("Passback")?console.warn("Flipp Experience failed to load: ",e.message):(eJ.error("Slot error",e),this.queueErrorBeacon(e)),this.options.nestedIframe&&0===this.experiences.length&&a0(0,!!this.options.nestedIframeShared,!!this.options.nestedIframeFullBleed,!!this.options.nestedIframeResizing),this.callSlotFillResultCallback(!1),null))}getMobileSwipeAutoEngageConfig(){let{mobileSwipeAutoEngageEnabled:e,mobileSwipeAutoEngageIntervalMs:t}=this.options;if(void 0!==e||void 0!==t)return{enabled:e,intervalMs:t}}renderMobileSwipeExperience(e){if(!this.targetEl)return this.callSlotFillResultCallback(!1),null;let t=e??this.options.publicationGlobalId;if("string"!=typeof t)return eJ.error("MobileSwipe: publicationGlobalId is required"),this.callSlotFillResultCallback(!1),null;let n=this.decisionPayload?.decisions?.inline?.[0],i=sm(n?.contents?.[0]?.data?.customData?.mobileSwipeCtaUrl),r=sh(n?.contents?.[0]?.data?.customData?.evTimerMs),o=new sf({targetEl:this.targetEl,publicationGlobalId:t,siteId:this.siteId,zoneId:this.zoneIds[0],sessionId:tA(),geoData:this.decisionPayload?.location,storefront:n?.storefront?{flyer_id:n.storefront.flyer_id,flyer_run_id:n.storefront.flyer_run_id,flyer_type_id:n.storefront.flyer_t
4ype_id,merchant_id:n.storefront.merchant_id,sfml_uuid:n.storefront.sfml_uuid}:void 0,decision:n?{campaignId:n.campaignId,advertiserId:n.advertiserId,creativeId:n.creativeId,flightId:n.flightId,adId:n.adId,siteId:td(this.siteId),zoneId:td(this.zoneIds[0])}:void 0,inlineDecision:n,site:this.options.overrideHostname??window.location.hostname,integrationType:tc(this.options),autoEngage:this.getMobileSwipeAutoEngageConfig(),ctaUrl:i,evTimer:r});return this.callSlotFillResultCallback(o.render()),null}getExperiences(){if(this.options.mobileSwipe&&"string"==typeof this.options.publicationGlobalId)return this.renderMobileSwipeExperience(this.options.publicationGlobalId),null;let e={divName:"inline",networkId:11090,siteId:this.siteId,adTypes:sg,count:this.experienceLimit},t=new URL(window.location.toString()),n=td(t.searchParams.get("flipp-test-ad-id"))||this.options.adId||void 0;n&&!isNaN(n)&&(e.adId=n,e.skipFilters=!0),void 0!==this.zoneIds&&null!=this.zoneIds&&this.zoneIds.length>0&&(e.zoneIds=this.zoneIds);let i={},r=this.fallbackRequested?"familydollarFallback":t.searchParams.get("flipp-content-code")??this.options.flippContentCode;r&&r.length>0&&(i.contentCode=r.slice(0,32)),this.options.mediaPartnerDescriptiveValueTag&&(i.mediaPartnerDescriptiveValueTag=this.options.mediaPartnerDescriptiveValueTag.slice(0,32)),e.properties=i,!0===this.options.mobileSwipe&&(e.options={mobileSwipe:!0});let o=[...aq(),...a4(aP,!0)].filter(e=>"string"==typeof e),a={placements:[e],url:this.getPageUrl(),keywords:o},s=e7(this.options);return s&&(a.user={key:s}),a.sessionId=tA(),this.options.ip&&(a.ip=this.options.ip),this.getGeolocatedExperience(a),this.queueRequestContextBeacon(o),null}getPageUrl(){if(this.options.overrideHostname)return this.options.overrideHostname;if(ag()){let e=new URL(document.referrer);return e.origin+e.pathname}return window.location.origin+window.location.pathname}queueRequestContextBeacon(e){let t=this.getPageUrl(),n=new URLSearchParams(window.location.search),i=0===n.size?[]:Array.from(n.entries());return e$.enqueue(tx({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,keywords:[...e],category:function(){let e=document.querySelectorAll(aQ),t="Unknown";if(!e)return t;let n=e=>"NewsArticle"===e["@type"]?"News":null;return e.forEach(e=>{try{let i=JSON.parse(e.innerText);aK(i)?i["@graph"].forEach(e=>{t=n(e)??t}):Array.isArray(i)?i.forEach(e=>{t=n(e)??t}):t=n(i)??t}catch{}}),t}(),pageUrl:t,queryParams:i,options:this.options,postalCode:tU(),country:t_()})),eJ.debug("Analytics sendDecisionRequestContext"),null}queueRequestMadeBeacon(){return e$.enqueue(tX({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,postalCode:tU(),country:t_()})),eJ.debug("Analytics sendDecisionRequestMade"),null}queueFailureBeacon(e){return e$.enqueue(tW({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,errorMessage:"Campaigns request failed",responseCode:e.status,options:this.options,postalCode:tU(),country:t_()})),eJ.debug("Analytics sendDecisionRequestFailure"),null}getViewportHeight(e){return e.visualViewport?e.visualViewport.height:e.innerHeight}setupContainerViewableBeacon(){if(!this.targetEl||this.hasFiredContainerBeacon)return;let e=this.options.nestedIframe?a$():null,t=e?window.parent.document:null,n=e||this.targetEl,i=e?window.parent:window,r=Array.from({length:21},(e,t)=>.05*t);this.containerViewableObserver=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.boundingClientRect.height,n=e.intersectionRect.height,r=this.getViewportHeight(i),o=((t>0?n/t:0)>=.5||(r>0?n/r:0)>=.5)&&t>=100&&n>=100;this.hasFiredContainerBeacon||!o||this.containerViewableTimer?!o&&this.containerViewableTimer&&(window.clearTimeout(this.containerViewableTimer),this.containerViewableTimer=void 0):this.containerViewableTimer=window.setTimeout(()=>{if(!this.hasFiredContainerBeacon){this.hasFiredContainerBeacon=!0;let e=tH({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,postalCode:tU(),country:t_()});e$.enqueue(e),this.latestDecisionData&&this.v2BeaconGenerator.sendContainerViewableImpression(e.shopperPlatformBase.uuid),eJ.debug("Fired container vimp"),this.containerViewableObserver?.disconnect()}this.containerViewableTimer=void 0},1e3)})},{threshold:r,root:t}),this.containerViewableObserver.observe(n)}queueSuccessBeacon(e){let t=e.decisions.inline&&e.decisions.inline[0].contents.length>0,{url:n,campaignNameIdentifier:i}=(e=>{let t={url:"no-campaign-url-nor-ulp",campaignNameIdentifier:"no-campaign-name-identifier"};if(e.decisions?.inline&&e.decisions.inline.length>0){let n=e.decisions.inline[0].contents[0].data.customData;t={url:n?.campaignConfigUrl??n?.ulpUrl??"no-campaign-url-nor-ulp",campaignNameIdentifier:n?.campaignNameIdentifier??"no-campaign-name-identifier"}}return t})(e);if(t){let t=e.decisions.inline[0].contents[0].data.customData,n=new URL(window.location.toString());this.experienceLimit=Number(n.searchParams.get("flipp-experience-limit"))||Number(t.experienceLimit)||this.options.experienceLimit||1}let r=this.experienceLimit>1&&e.decisions.inline?.length>1,o=e.decisions.inline?[{campaignId:e.decisions.inline[0].campaignId,siteId:td(this.siteId),zoneId:td(this.zoneIds[0])||0,adId:e.decisions.inline[0].adId,creativeId:e.decisions.inline[0].creativeId,flightId:e.decisions.inline[0].flightId,advertiserId:e.decisions.inline[0].advertiserId,customUrl:t?{string:n}:null,positionIndex:r?{int:1}
4:null,flyerId:td(e.decisions.inline[0].storefront?.flyer_id),merchantId:td(e.decisions.inline[0].storefront?.merchant_id)}]:[],a=e?.location,s=tY({campaignNameIdentifier:i,partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,country:a?.country,postalCode:a?.postal_code,decisions:o,options:this.options}),l=t&&e.decisions.inline[0].contents[0].data.customData?.enableV2Schema;return e$.enqueue(s),l&&(this.latestDecisionData=e,this.v2BeaconGenerator.sendDecisionResponseSuccess(s.shopperPlatformBase.uuid)),eJ.debug("Analytics sendDecisionRequestSuccess"),null}queueErrorBeacon(e){return e$.enqueue(tW({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,errorMessage:e.message+" - "+(e.stack??""),responseCode:0,options:this.options,postalCode:tU(),country:t_()})),eJ.debug("Analytics sendDecisionRequestFailure"),null}constructor(e,t,n,i,r){sb(this,"decisionPayload",void 0),sb(this,"experiences",void 0),sb(this,"markers",void 0),sb(this,"requested",void 0),sb(this,"fallbackRequested",!1),sb(this,"experienceLimit",void 0),sb(this,"targetSelector",void 0),sb(this,"targetEl",void 0),sb(this,"publisherNameIdentifier",void 0),sb(this,"siteId",void 0),sb(this,"zoneIds",void 0),sb(this,"options",void 0),sb(this,"dwellObserver",null),sb(this,"scrollBeyondObserver",null),sb(this,"hoverObserver",null),sb(this,"fullyVisibleExperiences",void 0),sb(this,"countdownExperience",void 0),sb(this,"countdownStart",void 0),sb(this,"countdownInterval",void 0),sb(this,"startCountdownFunctions",new Map),sb(this,"slotFillResultCallback",void 0),sb(this,"containerViewableObserver",void 0),sb(this,"hasFiredContainerBeacon",!1),sb(this,"containerViewableTimer",void 0),sb(this,"latestDecisionData",void 0),sb(this,"v2BeaconGenerator",ad(()=>{let e=this.latestDecisionData?.decisions?.inline?.[0],t=this.latestDecisionData?.location;return{v2SchemaEndpoint:"https://holodeck.flippback.com/uef-event-stg/v1/nativex",signingKey:"7A2B46DD-3EFD-452D-9428-F9EC3A14C75B",decision:e?{campaignId:e.campaignId,advertiserId:e.advertiserId,creativeId:e.creativeId,flightId:e.flightId,adId:e.adId,siteId:td(this.siteId),zoneId:td(this.zoneIds[0])}:void 0,site:this.options.overrideHostname??window.location.hostname,country:t?.country,userPostalCode:t?.postal_code,uid:e7(this.options)??void 0,storefrontConfig:e?.storefront?{...e.storefront,is_fallback:e.storefront.is_fallback??void 0}:void 0,publicationGlobalId:e?.publication?.global_id,integrationType:tc(this.options),startCompact:!!this.options.startCompact,fixedHeightUnit:!!this.options.fixedHeightUnit,mobileSwipe:!!this.options.mobileSwipe,appVersion:"ce9b9c5d3682fd18f7d63206af9d76bd06f962c4"}})),sb(this,"handleMessage",e=>{if(e.data.type!==Z.REQUEST_NEW_EXPERIENCE||this.fallbackRequested)return;this.fallbackRequested=!0;let t=this.targetEl?.querySelector("iframe");t&&t.remove();let n=document.querySelector(".taboola-footer");n&&n.remove(),this.requested=!1,this.options.fixedHeightUnit=!0,this.options.campaigns=void 0,this.request()}),sb(this,"startCountdownWithMap",e=>(this.startCountdownFunctions.has(e)||this.startCountdownFunctions.set(e,()=>this.startCountdown(e)),this.startCountdownFunctions.get(e)??(()=>null))),sb(this,"tickCountdown",()=>{if(void 0===this.countdownStart||void 0===this.countdownExperience)return null;let e=Date.now()-this.countdownStart,t=this.getDwellDuration(this.countdownExperience),n=this.experiences[this.countdownExperience],i=t/this.getDwellSteps(this.countdownExperience)+.01;n.sendCountdownState(this.countdownStart+t,i),e>=t&&this.completeCountdown()}),sb(this,"hoverCallback",e=>(e.forEach((e,t)=>{let n=e.target;e.isIntersecting?(this.fullyVisibleExperiences.push(t),n.addEventListener("mouseover",this.startCountdownWithMap(t))):(this.fullyVisibleExperiences=this.fullyVisibleExperiences.filter(e=>t!==e),this.markers[t].active||n.removeEventListener("mouseover",this.startCountdownWithMap(t)))}),null)),sb(this,"observerCallback",e=>{e.forEach(e=>{let t=e.target;this.markers.forEach(n=>{n.el===t&&(n.active=e.isIntersecting)})});let t=!1;
4this.markers.forEach((e,n)=>{let i=this.experiences[n],r=n>0?this.experiences[n-1]:null,o=0===n,a=r&&r.expandCount>=1;(!i.preview&&i.expandCount<1||i.preview&&(a||o))&&!t&&e.active?(this.handleMarkerActivation(i,n),t=!0):e.active||this.handleMarkerDeactivation(i,n)})}),sb(this,"scrollBeyondCallback",e=>(e.filter(e=>e.isIntersecting).map(e=>this.markers.find(t=>t.el===e.target)).filter(e=>e&&this.experiences[e.index]).forEach(e=>this.experiences[e?.index??0].scrollBeyond()),null)),sb(this,"resizeExperience",(e,t)=>(this.options.nestedIframe&&this.targetEl&&e.contentElement&&(e.contentElement.style.height=`${t}px`,a0(this.targetEl.offsetHeight,!!this.options.nestedIframeShared,!!this.options.nestedIframeFullBleed,!!this.options.nestedIframeResizing)),null)),sb(this,"handlePreviewEnded",()=>(this.appendPreview(),null)),sb(this,"sendImpression",({cpm:e,postalCode:t,campaignId:n})=>{if(eJ.debug("Analytics sendSlotimpressionExperience"),this.options.campaigns){let i=JSON.parse(this.options.campaigns);this.applyKevelFeatureFlags(i);let r=i.decisions.inline?.[0],o=r?[{campaignId:r.campaignId,siteId:td(this.siteId),zoneId:td(this.zoneIds[0])||0,adId:r.adId,creativeId:r.creativeId,flightId:r.flightId,advertiserId:r.advertiserId,customUrl:null,positionIndex:null,flyerId:r.storefront?.flyer_id??0,merchantId:r.storefront?.merchant_id??0}]:[];ac(this.options.beaconEventCallbacks,"servedImpression");let a=tL({partnerNameIdentifier:this.publisherNameIdentifier,siteId:this.siteId,zoneId:this.zoneIds[0]||0,options:this.options,cpm:e,postalCode:t,campaignId:n,decisions:o,country:i.location?.country});e$.enqueue(a),r?.contents?.[0]&&r?.contents?.[0]?.data?.customData?.enableV2Schema&&(this.latestDecisionData=i,this.v2BeaconGenerator.sendSlotImpressionExperience(a.shopperPlatformBase.uuid)),r&&(tJ.addTagsFromCampaignResponse(r,{startCompact:!!this.options.startCompact},i.location),tJ.sendServedImpression())}return null}),this.targetSelector=e,this.publisherNameIdentifier=t?t.toString():"undefined",this.siteId=td(n),this.zoneIds=i.map(e=>td(e)),this.options=r,this.requested=!1,this.experiences=[],this.markers=[];let o=new URL(window.location.toString());this.experienceLimit=Number(o.searchParams.get("flipp-experience-limit"))||r.experienceLimit||1,this.fullyVisibleExperiences=[],this.options.fixedHeightUnit&&window.addEventListener("message",this.handleMessage),this.syncDwellObservers(),this.slotFillResultCallback="function"==typeof r.slotFillResultCallback?r.slotFillResultCallback:void 0}}class sy{sendImpression(){return null}}function sE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class sI{checkReady(){let e=this.slotsAllInDocument();return!!(e&&("interactive"===document.readyState||"complete"===document.readyState)||this.anySlotInDocument()&&"complete"===document.readyState)||(e||console.info("Missing slot target div at state",document.readyState),!1)}anySlotInDocument(){return this.slots.some(e=>document.querySelector(e.targetSelector))}slotsAllInDocument(){return this.slots.every(e=>!!document.querySelector(e.targetSelector))}load(){return this.slots.forEach(e=>e.request()),null}register(e,t,n,i,r={}){let o=new sv(e,t,n,i,{...window.flippxp.settings||{},...r});return this.slots.push(o),this.checkReady()?this.load():this.waitingForDocument||(this.waitingForDocument=!0,document.addEventListener("readystatechange",this.handleReadyStateChange)),o}constructor(){sE(this,"slots",void 0),sE(this,"waitingForDocument",void 0),sE(this,"handleReadyStateChange",()=>(this.checkReady()&&(this.waitingForDocument=!1,this.load(),document.removeEventListener("readystatechange",this.handleReadyStateChange)),null)),this.waitingForDocument=!1,this.slots=[]}}let sw=({targetSelector:e,publisherNameIdentifier:t,siteId:n,zoneIds:i,options:r})=>{let o=document.querySelector(e),a=new MutationObserver(()=>{let s=document.querySelector(e);s&&s!==o&&(o=s,s.querySelector(".flippxp-frame")||(a.disconnect(),window.flippxp.registerSlot(e,t,n,i,r)))}),s=r.spaObserveTargetSelector?document.querySelector(r.spaObserveTargetSelector):null;(s||document.body)&&a.observe(s??document.body,{childList:!0,subtree:!0})};try{let e=!1,t=async t=>{"function"==typeof t&&(e=await aj(),t())},n=!1;window.flippxp=window.flippxp||{},window.flippxp.evTag=window.flippxp.evTag||{},window.flippxp.run=window.flippxp.run||[],window.flippxp.debugMode=window.flippxp.debugMode||{},window.flippxp.calculateGeomData=aJ,window.flippxp.overrideOptions=function(e){let t=new URL(window.location.toString()),n=t.searchParams.get("flipp-test-dwell-expandable"),i=td(t.searchParams.get("flipp-test-experience-limit"),0),r=t.searchParams.get("flipp-test-start-compact"),o=t.searchParams.get("flipp-test-dma-pixels"),a=t.searchParams.get("flipp-test-nested-iframe-resizing"),s=t.searchParams.get("flipp-resize-wide-inserts"),l=t.searchParams.get("flipp-test-expand-on-read-more"),d=t.searchParams.get("flipp-test-root-element"),c=t.searchParams.get("flipp-test-nested-iframe-shared"),u=t.searchParams.get("flipp-test-wide-compact"),m=t.searchParams.get("flipp-test-wide-compact-background-color"),p=t.searchParams.get("flipp-test-horizontal"),h=t.searchParams.get("flipp-test-fixed-height-dynamic-module"),f=t.searchParams.get("flipp-test-use-independent-dynamic-module"),b=t.searchParams.get("flipp-mobile-swipe"),g=t.searchParams.get("flipp-mobile-swipe-auto-engage"),v=t.searchParams.get("flipp-mobile-swipe-auto-engage-interval-ms"),y=t.searchParams.get("flipp-test-ip"),E={...e};if(null!==n&&(E={...E,dwellExpandable:"true"===n}),i&&(E={...E,experienceLimit:Math.max(1,i)}),null!==r&&(E={...E,startCompact:"true"===r}),null!==o&&(E={...E,dmaPixels:"true"===o}),null!==a&&(E={...E,nestedIframeResizing:"true"===a}),null!==l&&(E={...E,expandOnReadMore:"true"===l}),null!==d&&(E={...E,rootElement:d}),null!==c&&(E={...E,nestedIframeShared:"true"===c}),null!==u&&null!==m&&(E={...E,wideCompact:"true"===u,wideCompactBackgroun
4dColor:m}),null!==p&&(E={...E,fixedHeightUnit:"true"===p||"modal"===p,fixedHeightUnitItemModal:"modal"===p}),null!==h&&(E={...E,fixedHeightDynamicModule:"true"===h,fixedHeightUnit:E.fixedHeightUnit||"true"===h}),null!==s&&(E={...E,resizeWideInserts:"true"===s}),null!==f&&(E={...E,useIndependentDynamicModule:"true"===f}),null!==b&&(E={...E,mobileSwipe:"true"===b}),null!==g&&(E={...E,mobileSwipeAutoEngageEnabled:"true"===g}),null!==v){let e=td(v);e>0&&(E={...E,mobileSwipeAutoEngageIntervalMs:e})}return null!==y&&(E={...E,ip:y}),E},window.flippxp.vimpTrackerFunc=window.flippxp.vimpTrackerFunc||(()=>{window!==window.parent&&window.parent.postMessage({type:Z.VIMP},"*")}),window.flippxp.cookieSynced=window.flippxp.cookieSynced||!1,window.flippxp.registerSlot=function(t,i,r,o,a={}){let s={partnerNameIdentifier:i,siteId:r,zoneId:o[0]||0,options:a,postalCode:window.flippxp.geo?.postal_code,country:window.flippxp.geo?.country};if(!n){let e=new URLSearchParams(window.location.search).get("sessionId");tZ(e??("string"==typeof a.sessionId&&""!==a.sessionId.trim()?a.sessionId:void 0)??e0()),e$.prodAnalytics=!!window.flippxp.debugMode?.prodAnalytics,n=!0;let t=tF(s);e$.enqueue(t),eJ.debug("Analytics sendAppInitialized"),ad(()=>({v2SchemaEndpoint:"https://holodeck.flippback.com/uef-event-stg/v1/nativex",signingKey:"7A2B46DD-3EFD-452D-9428-F9EC3A14C75B",site:a.overrideHostname??window.location.hostname,country:window.flippxp.geo?.country,userPostalCode:window.flippxp.geo?.postal_code,uid:e7(a)??void 0,integrationType:tc(a),startCompact:!!a.startCompact,fixedHeightUnit:!!a.fixedHeightUnit,mobileSwipe:!!(a.mobileSwipe??window.flippxp.settings?.mobileSwipe),appVersion:"ce9b9c5d3682fd18f7d63206af9d76bd06f962c4"})).sendAppInitialized(t.shopperPlatformBase.uuid),eJ.debug("Analytics V2 sendAppInitialized)")}if(tJ.reset(),1179443===r){let e=document.getElementById("flyerWidgetLabel");e&&(e.style.display="none")}return e?(e$.enqueue(tz(s)),eJ.debug("Analytics sendCreateBlockedTrafficBeacon"),new sy):((a.singlePageApp??window.flippxp.settings?.singlePageApp)&&sw({targetSelector:t,publisherNameIdentifier:i,siteId:r,zoneIds:o,options:a}),window.flippxp.slotManager=window.flippxp.slotManager||new sI,window.flippxp.slotManager.register(t,i,r,o||[],window.flippxp.overrideOptions(a)))};let i=Array.isArray(window.flippxp.run)?window.flippxp.run:[];for(let e of(window.flippxp.run={push:e=>(t(e),null),shift:()=>()=>null,length:0},i))t(e)}catch(e){eQ(e)}}();
5//# sourceMappingURL=flipptag.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.