PageSourceSearch

https://www.entertainment.com.au/_next/static/chunks/3256.f5fa601e694b88de.js

js entertainment.com.au collected 2026-09-24 11:15:11 UTC 218,711 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3256],{82588:function(t,e,i){i.d(e,{Z:function(){return s}});class n{constructor(t,e){this.database=t,this.j=e,this.parent="undefined"==typeof window?self:window,this.database=t,this.j=e}td(){if("indexedDB"in this.parent)return this.parent.indexedDB}isSupported(){var t;try{if(null==this.td())return!1;{let e=null===(t=this.td())||void 0===t?void 0:t.open("Braze IndexedDB Support Test");if(e&&(e.onupgradeneeded=()=>e.result.close(),e.onsuccess=()=>e.result.close()),"undefined"!=typeof window){let t=window,e=t.chrome||t.browser||t.ed;if(e&&e.runtime&&e.runtime.id)return this.j.info("Not using IndexedDB for storage because we are running inside an extension"),!1}return!0}}catch(t){return this.j.info("Not using IndexedDB for storage due to following error: "+t),!1}}nd(t,e){var i;let n=null===(i=this.td())||void 0===i?void 0:i.open(this.database.od,this.database.VERSION);if(null==n)return"function"==typeof e&&e(),!1;let r=this;return n.onupgradeneeded=t=>{var e;r.j.info("Upgrading indexedDB "+r.database.od+" to v"+r.database.VERSION+"...");let i=null===(e=t.target)||void 0===e?void 0:e.result;for(let t in r.database.rs)r.database.rs.hasOwnProperty(t)&&!i.objectStoreNames.contains(r.database.rs[t])&&i.createObjectStore(r.database.rs[t])},n.onsuccess=i=>{var n;let s=null===(n=i.target)||void 0===n?void 0:n.result;s.onversionchange=()=>{s.close(),"function"==typeof e&&e(),r.j.error("Needed to close the database unexpectedly because of an upgrade in another tab")},t(s)},n.onerror=t=>{var i;return r.j.info("Could not open indexedDB "+r.database.od+" v"+r.database.VERSION+": "+(null===(i=t.target)||void 0===i?void 0:i.errorCode)),"function"==typeof e&&e(),!0},!0}setItem(t,e,i,n,r){if(!this.isSupported())return"function"==typeof r&&r(),!1;let s=this;return this.nd(a=>{if(!a.objectStoreNames.contains(t))return s.j.error("Could not store object "+e+" in "+t+" on indexedDB "+s.database.od+" - "+t+" is not a valid objectStore"),"function"==typeof r&&r(),void a.close();let o=a.transaction([t],"readwrite");o.oncomplete=()=>a.close();let l=o.objectStore(t).put(i,e);l.onerror=()=>{s.j.error("Could not store object "+e+" in "+t+" on indexedDB "+s.database.od),"function"==typeof r&&r()},l.onsuccess=()=>{"function"==typeof n&&n()}},r)}getItem(t,e,i){if(!this.isSupported())return!1;let n=this;return this.nd(r=>{if(!r.objectStoreNames.contains(t))return n.j.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+n.database.od+" - "+t+" is not a valid objectStore"),void r.close();let s=r.transaction([t],"readonly");s.oncomplete=()=>r.close();let a=s.objectStore(t).get(e);a.onerror=()=>{n.j.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+n.database.od)},a.onsuccess=t=>{var e;let n=null===(e=t.target)||void 0===e?void 0:e.result;null!=n&&i(n)}})}hr(t,e,i){if(!this.isSupported())return"function"==typeof i&&i(),!1;let n=this;return this.nd(r=>{if(!r.objectStoreNames.contains(t))return n.j.error("Could not retrieve last record from "+t+" on indexedDB "+n.database.od+" - "+t+" is not a valid objectStore"),"function"==typeof i&&i(),void r.close();let s=r.transaction([t],"readonly");s.oncomplete=()=>r.close();let a=s.objectStore(t).openCursor(null,"prev");a.onerror=()=>{n.j.error("Could not open cursor for "+t+" on indexedDB "+n.database.od),"function"==typeof i&&i()},a.onsuccess=t=>{var n;let r=null===(n=t.target)||void 0===n?void 0:n.result;null!=r&&null!=r.value&&null!=r.key?e(r.key,r.value):"function"==typeof i&&i()}},i)}oe(t,e){if(!this.isSupported())return!1;let i=this;return this.nd(n=>{if(!n.objectStoreNames.contains(t))return i.j.error("Could not delete record "+e+" from "+t+" on indexedDB "+i.database.od+" - "+t+" is not a valid objectStore"),void n.close();let r=n.transaction([t],"readwrite");r.oncomplete=()=>n.close(),r.objectStore(t).delete(e).onerror=()=>{i.j.error("Could not delete record "+e+" from "+t+" on indexedDB "+i.database.od)}})}ss(t,e){if(!this.isSupported())return!1;let i=this;return this.nd(n=>{if(!n.objectStoreNames.contains(t))return i.j.error("Could not retrieve objects from "+t+" on indexedDB "+i.database.od+" - "+t+" is not a valid objectStore"),void n.close();let r=n.transaction([t],"readwrite");r.oncomplete=()=>n.close();let s=r.objectStore(t),a=s.openCursor(),o=[];a.onerror=()=>{o.length>0?(i.j.info("Cursor closed midway through for "+t+" on indexedDB "+i.database.od),e(o)):i.j.error("Could not open cursor for "+t+" on indexedDB "+i.database.od)},a.onsuccess=t=>{var i;let n=null===(i=t.target)||void 0===i?void 0:i.result;null!=n?(null!=n.value&&null!=n.key&&(s.delete(n.key).onsuccess=()=>{o.push(n.value)}),"function"==typeof n.continue&&n.continue()):o.length>0&&e(o)}})}clearData(){if(!this.isSupported())return!1;let t=[];for(let e in this.database.rs)this.database.rs.hasOwnProperty(e)&&this.database.rs[e]!==this.database.rs.se&&t.push(this.database.rs[e]);let e=this;return this.nd(function(i){let n=i.transaction(t,"readwrite");n.oncomplete=()=>i.close();for(let i=0;i<t.length;i++){let r=t[i];n.objectStore(r).clear().onerror=function(){e.j.error("Could not clear "+this.source.name+" on indexedDB "+e.database.od)}}n.onerror=function(){e.j.error("Could not clear object stores on indexedDB "+e.database.od)}})}}n.ep={Zt:{od:"AppboyServiceWorkerAsyncStorage",VERSION:6,rs:{Na:"data",kr:"pushClicks",cu:"pushSubscribed",dd:"fallbackDevice",hs:"cardUpdates",se:"optOut",wr:"pendingData",qh:"sdkAuthenticationSignature"},ie:1}};let r={init:function(t){void 0===t&&void 0!==r.zg||(r.zg=!!t),r.t||(r.t=!0)},destroy:function(){r.t=!1,r.zg=void 0,r.j=void 0}
1,setLogger:function(t){"function"==typeof t?(r.init(),r.j=t):r.info("Ignoring setLogger call since logger is not a function")},toggleLogging:function(){r.init(),r.zg?(console.log("Disabling Braze logging"),r.zg=!1):(console.log("Enabled Braze logging"),r.zg=!0)},info:function(t){if(r.zg){let e="Braze: "+t;null!=r.j?r.j(e):console.log(e)}},warn:function(t){if(r.zg){let e="Braze SDK Warning: "+t+" (v5.0.1)";null!=r.j?r.j(e):console.warn(e)}},error:function(t){if(r.zg){let e="Braze SDK Error: "+t+" (v5.0.1)";null!=r.j?r.j(e):console.error(e)}}};var s={On:{Fn:function(t){let e=atob((t+"=".repeat((4-t.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/")),i=new Uint8Array(e.length);for(let t=0;t<e.length;++t)i[t]=e.charCodeAt(t);return i}},q:{CustomEvent:"ce",Pr:"p",Mu:"pc",cc:"ca",Ka:"i",qs:"ie",P:"cci",T:"ccic",$:"ccc",H:"ccd",Wl:"ss",xl:"se",Vi:"si",Li:"sc",Qi:"sbc",Ki:"sfe",eo:"iec",Lu:"lr",Tu:"uae",R:"ci",B:"cc",Ru:"lcaa",Pu:"lcar",Xn:"inc",Jn:"add",Qn:"rem",Hn:"set",Kn:"ncam",Nu:"sgu",Fr:"ffi"},Cr:{Br:"feed_displayed",dc:"content_cards_displayed"},Z:{Y:function(){let t=(t=!1)=>{let e=(Math.random().toString(16)+"000000000").substr(2,8);return t?"-"+e.substr(0,4)+"-"+e.substr(4,4):e};return t()+t(!0)+t(!0)+t()}},es:n,ts:n.ep,j:r,Yo:{ho:"allowCrawlerActivity",_o:"baseUrl",Eo:"noCookies",Io:"devicePropertyAllowlist",Aa:"disablePushTokenMaintenance",Ao:"enableLogging",So:"enableSdkAuthentication",qa:"manageServiceWorkerExternally",No:"minimumIntervalBetweenTriggerActionsInSeconds",Oo:"sessionTimeoutInSeconds",wo:"appVersion",Po:"appVersionNumber",_a:"serviceWorkerLocation",ka:"safariWebsitePushId",Ba:"localization",po:"contentSecurityNonce",Ro:"allowUserSuppliedJavascript",lo:"inAppMessageZIndex",fo:"openInAppMessagesInNewTab",en:"openNewsFeedCardsInNewTab",mh:"requireExplicitInAppMessageDismissal",Co:"doNotLoadFontAwesome",Lo:"sdkFlavor",tn:"openCardsInNewTab"}}},85716:function(t,e,i){i.d(e,{Z:function(){return c}});var n=i(85563),r=i(39179),s=i(24673),a=i(82588),o=i(45966);class l{constructor(t){this.u=t,this.u=t}h(t,e){let i=new s.Z;if(t.p(),null==t.url||""===t.url)return a.Z.j.info(`Card ${t.id} has no url. Not logging click to Braze servers.`),i;if(e&&t.id&&this.u){let e=this.u.v(o.I.k.C)||{};e[t.id]=!0,this.u.D(o.I.k.C,e)}let n=this.I([t]);if(null==n)return i;let l=e?a.Z.q.$:a.Z.q.B;return r.Z.N(l,n)}A(t){let e=new s.Z;if(!t.F())return a.Z.j.info(`Card ${t.id} refused this dismissal. Ignoring analytics event.`),e;if(t.id&&this.u){let e=this.u.v(o.I.k.G)||{};e[t.id]=!0,this.u.D(o.I.k.G,e)}let i=this.I([t]);return null==i?e:r.Z.N(a.Z.q.H,i)}J(t,e){let i=new s.Z(!0),l=[],u=[],h={};for(let i of(this.u&&(h=e?this.u.v(o.I.k.K)||{}:this.u.v(o.I.k.L)||{}),t))i.M(),i instanceof n.Z?u.push(i):l.push(i),i.id&&(h[i.id]=!0);let c=this.I(l),d=this.I(u);if(null==c&&null==d)return i.O=!1,i;if(this.u&&(e?this.u.D(o.I.k.K,h):this.u.D(o.I.k.L,h)),null!=c){let t=e?a.Z.q.P:a.Z.q.R,n=r.Z.N(t,c);i.S(n)}if(null!=d&&e){let t=r.Z.N(a.Z.q.T,d);i.S(t)}return i}I(t){let e,i=null;for(let n=0;n<t.length;n++)null!=(e=t[n].id)&&""!==e&&((i=i||{}).ids=i.ids||[],i.ids.push(e));return i}}var u=i(19053);let h={t:!1,i:null,m:()=>(h.o(),h.i||(h.i=new l(u.ZP.l())),h.i),o:()=>{h.t||(u.ZP.g(h),h.t=!0)},destroy:()=>{h.i=null,h.t=!1}};var c=h},35608:function(t,e,i){i.d(e,{CG:function(){return f},Dj:function(){return b},Ji:function(){return u},Zw:function(){return c},pq:function(){return d},ql:function(){return l},rW:function(){return h},sv:function(){return p}});var n=i(5242),r=i(11507),s=i(40420),a=i(22080),o=i(82588);function l(t){return null!=t&&!!t.getAttribute("data-ab-had-top-impression")}function u(t){null!=t&&t.setAttribute("data-ab-had-top-impression","true")}function h(t){return null!=t&&!!t.getAttribute("data-ab-had-bottom-impression")}function c(t){null!=t&&t.setAttribute("data-ab-had-bottom-impression","true")}function d(t){if(null!=t){let e=t.querySelectorAll(".ab-unread-indicator")[0];null!=e&&(e.className+=" read")}}function p(t){return t.getAttribute("data-ab-card-id")}function f(t,e){let i=e.querySelectorAll(".ab-image-area"),n,r=0;for(let e of(i.length>0&&(r=i[0].offsetWidth),t))if((n=e._)&&e.imageUrl&&"number"==typeof e.aspectRatio){let t=r/e.aspectRatio;t&&(n.style.height=`${t}px`)}}
1function b(t,e,i){let l=document.createElement("div");l.className="ab-card ab-effect-card "+t.U,t.id&&(l.setAttribute("data-ab-card-id",t.id),l.setAttribute("id",t.id)),l.setAttribute("role","article"),l.setAttribute("tabindex","0");let u="",h=!1;t.url&&""!==t.url&&(u=t.url,h=!0);let c=n=>(d(l),h&&(e(t),(0,s.S)(u,i,n)),!1);if(t.pinned){let t=document.createElement("div");t.className="ab-pinned-indicator";let e=document.createElement("i");e.className="fa fa-star",t.appendChild(e),l.appendChild(t)}if(t.imageUrl&&""!==t.imageUrl){let e;let i=document.createElement("div");i.className="ab-image-area";let n=document.createElement("img");if(n.setAttribute("src",t.imageUrl),n.onload=()=>{l.style.height="auto"},e="",t.title||t.description||(e="Feed Image"),n.setAttribute("alt",e),i.appendChild(n),l.className+=" with-image",h&&!t.V){let t=document.createElement("a");t.setAttribute("href",u),t.onclick=c,t.appendChild(i),l.appendChild(t)}else l.appendChild(i)}let p=document.createElement("div");if(p.className="ab-card-body",t.dismissible){t.logCardDismissal=()=>(0,a.K)(t);let e=(0,n.B)("Dismiss Card",void 0,t.dismissCard.bind(t));l.appendChild(e),(0,r.FZ)(p,r.mQ.W,t=>{l.className+=" ab-swiped-left",e.onclick(t)}),(0,r.FZ)(p,r.mQ.X,t=>{l.className+=" ab-swiped-right",e.onclick(t)})}let f="",b=!1;if(t.title&&""!==t.title&&(f=t.title,b=!0),b){let t=document.createElement("h1");if(t.className="ab-title",t.id=o.Z.Z.Y(),l.setAttribute("aria-labelledby",t.id),h){let e=document.createElement("a");e.setAttribute("href",u),e.onclick=c,e.appendChild(document.createTextNode(f)),t.appendChild(e)}else t.appendChild(document.createTextNode(f));p.appendChild(t)}let m=document.createElement("div");if(m.className=b?"ab-description":"ab-description ab-no-title",m.id=o.Z.Z.Y(),l.setAttribute("aria-describedby",m.id),t.description&&m.appendChild(document.createTextNode(t.description)),h){let e=document.createElement("div");e.className="ab-url-area";let i=document.createElement("a");i.setAttribute("href",u),t.linkText&&i.appendChild(document.createTextNode(t.linkText)),i.onclick=c,e.appendChild(i),m.appendChild(e)}p.appendChild(m),l.appendChild(p);let g=document.createElement("div");return g.className="ab-unread-indicator",t.viewed&&(g.className+=" read"),l.appendChild(g),t._=l,l}},1280:function(t,e,i){i.d(e,{d:function(){return l}});var n=i(72857),r=i(85716),s=i(27671),a=i(19053),o=i(82588);function l(t,e){return!!a.ZP.rr()&&(t instanceof n.Z?r.Z.m().h(t,e).O:(o.Z.j.error("card "+s.U4),!1))}},22080:function(t,e,i){i.d(e,{K:function(){return l}});var n=i(72857),r=i(85716),s=i(27671),a=i(19053),o=i(82588);function l(t){return!!a.ZP.rr()&&(t instanceof n.Z?r.Z.m().A(t).O:(o.Z.j.error("card "+s.U4),!1))}},11066:function(t,e,i){i.d(e,{p:function(){return u}});var n=i(72857),r=i(85716),s=i(19053),a=i(72893),o=i(27671),l=i(82588);function u(t,e){if(!s.ZP.rr())return!1;if(!(0,a.kJ)(t))return l.Z.j.error("cards must be an array"),!1;for(let e of t)if(!(e instanceof n.Z))return l.Z.j.error(`Each card in cards ${o.U4}`),!1;return r.Z.m().J(t,e).O}},5383:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(72857);class r extends n.Z{constructor(t,e,i,n,r,s,a,o,l,u,h,c,d,p,f,b){super(t,e,i,n,r,s,a,o,l,u,h,c,d,p,f,b),this.U="ab-captioned-image",this.V=!0,this.test=!1}tt(){let t={};return t[n.Z.it.st]=n.Z.et.ht,t[n.Z.it.rt]=this.id,t[n.Z.it.ot]=this.viewed,t[n.Z.it.ct]=this.title,t[n.Z.it.nt]=this.imageUrl,t[n.Z.it.dt]=this.description,t[n.Z.it.ut]=this.updated,t[n.Z.it.lt]=this.created,t[n.Z.it.ft]=this.categories,t[n.Z.it.xt]=this.expiresAt,t[n.Z.it.URL]=this.url,t[n.Z.it.bt]=this.linkText,t[n.Z.it.gt]=this.aspectRatio,t[n.Z.it.jt]=this.extras,t[n.Z.it.zt]=this.pinned,t[n.Z.it.kt]=this.dismissible,t[n.Z.it.qt]=this.clicked,t[n.Z.it.vt]=this.test,t}}},72857:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(57750),r=i(27671),s=i(74663),a=i(82588);class o{constructor(t,e,i,n,r,s,a,o,l,u,h,c,d,p,f,b){this.id=t,this.viewed=e,this.title=i,this.imageUrl=n,this.description=r,this.created=s,this.updated=a,this.categories=o,this.expiresAt=l,this.url=u,this.linkText=h,this.aspectRatio=c,this.extras=d,this.pinned=
1p,this.dismissible=f,this.clicked=b,this.id=t,this.viewed=e||!1,this.title=i||"",this.imageUrl=n,this.description=r||"",this.created=s||null,this.updated=a||null,this.categories=o||[],this.expiresAt=l||null,this.url=u,this.linkText=h,null==c?this.aspectRatio=null:(c=parseFloat(c.toString()),this.aspectRatio=isNaN(c)?null:c),this.extras=d||{},this.pinned=p||!1,this.dismissible=f||!1,this.dismissed=!1,this.clicked=b||!1,this.isControl=!1,this.test=!1,this.Et=null,this.Tt=null}subscribeToClickedEvent(t){return this.Nt().It(t)}subscribeToDismissedEvent(t){return this.St().It(t)}removeSubscription(t){this.Nt().removeSubscription(t),this.St().removeSubscription(t)}removeAllSubscriptions(){this.Nt().removeAllSubscriptions(),this.St().removeAllSubscriptions()}dismissCard(){if(!this.dismissible||this.dismissed)return;"function"==typeof this.logCardDismissal&&this.logCardDismissal();let t=this._;!t&&this.id&&(t=document.getElementById(this.id)),t&&(t.style.height=t.offsetHeight+"px",t.className=t.className+" ab-hide",setTimeout(function(){t&&t.parentNode&&(t.style.height="0",t.style.margin="0",setTimeout(function(){t&&t.parentNode&&t.parentNode.removeChild(t)},o.At))},r.rF))}Nt(){return null==this.Et&&(this.Et=new s.Z),this.Et}St(){return null==this.Tt&&(this.Tt=new s.Z),this.Tt}M(){this.viewed=!0}p(){this.viewed=!0,this.clicked=!0,this.Nt().Dt()}F(){return!(!this.dismissible||this.dismissed)&&(this.dismissed=!0,this.St().Dt(),!0)}Ct(t){if(null==t||t[o.Rt.rt]!==this.id)return!0;if(t[o.Rt.Lt])return!1;if(null!=t[o.Rt.ut]&&null!=this.updated&&parseInt(t[o.Rt.ut])<(0,n.FX)(this.updated.valueOf()))return!0;if(t[o.Rt.ot]&&!this.viewed&&(this.viewed=!0),t[o.Rt.qt]&&!this.clicked&&(this.clicked=t[o.Rt.qt]),null!=t[o.Rt.ct]&&(this.title=t[o.Rt.ct]),null!=t[o.Rt.nt]&&(this.imageUrl=t[o.Rt.nt]),null!=t[o.Rt.dt]&&(this.description=t[o.Rt.dt]),null!=t[o.Rt.ut]){let e=(0,n.X2)(t[o.Rt.ut]);null!=e&&(this.updated=e)}if(null!=t[o.Rt.xt]){let e;e=t[o.Rt.xt]===o._t?null:(0,n.X2)(t[o.Rt.xt]),this.expiresAt=e}if(null!=t[o.Rt.URL]&&(this.url=t[o.Rt.URL]),null!=t[o.Rt.bt]&&(this.linkText=t[o.Rt.bt]),null!=t[o.Rt.gt]){let e=parseFloat(t[o.Rt.gt].toString());this.aspectRatio=isNaN(e)?null:e}return null!=t[o.Rt.jt]&&(this.extras=t[o.Rt.jt]),null!=t[o.Rt.zt]&&(this.pinned=t[o.Rt.zt]),null!=t[o.Rt.kt]&&(this.dismissible=t[o.Rt.kt]),null!=t[o.Rt.vt]&&(this.test=t[o.Rt.vt]),!0}tt(){a.Z.j.error("Must be implemented in a subclass")}}o._t=-1,o.Rt={rt:"id",ot:"v",kt:"db",Lt:"r",ut:"ca",zt:"p",xt:"ea",jt:"e",st:"tp",nt:"i",ct:"tt",dt:"ds",URL:"u",bt:"dm",gt:"ar",qt:"cl",vt:"t"},o.et={ht:"captioned_image",Ot:"text_announcement",Mt:"short_news",Pt:"banner_image",Ut:"control"},o.it={rt:"id",ot:"v",kt:"db",lt:"cr",ut:"ca",zt:"p",ft:"t",xt:"ea",jt:"e",st:"tp",nt:"i",ct:"tt",dt:"ds",URL:"u",bt:"dm",gt:"ar",qt:"cl",vt:"s"},o.Gt={Xt:"ADVERTISING",Vt:"ANNOUNCEMENTS",Wt:"NEWS",Ft:"SOCIAL"},o.At=400},37653:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(72857);class r extends n.Z{constructor(t,e,i,n,r,s,a,o,l,u,h,c,d,p,f,b){super(t,e,i,n,r,s,a,o,l,u,h,c,d,p,f,b),this.U="ab-classic-card",this.V=!0}tt(){let t={};return t[n.Z.it.st]=n.Z.et.Mt,t[n.Z.it.rt]=this.id,t[n.Z.it.ot]=this.viewed,t[n.Z.it.ct]=this.title,t[n.Z.it.nt]=this.imageUrl,t[n.Z.it.dt]=this.description,t[n.Z.it.ut]=this.updated,t[n.Z.it.lt]=this.created,t[n.Z.it.ft]=this.categories,t[n.Z.it.xt]=this.expiresAt,t[n.Z.it.URL]=this.url,t[n.Z.it.bt]=this.linkText,t[n.Z.it.gt]=this.aspectRatio,t[n.Z.it.jt]=this.extras,t[n.Z.it.zt]=this.pinned,t[n.Z.it.kt]=this.dismissible,t[n.Z.it.qt]=this.clicked,t[n.Z.it.vt]=this.test,t}}},85563:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(72857);class r extends n.Z{constructor(t,e,i,n,r,s){super(t,e,null,null,null,null,i,null,n,null,null,null,r,s),this.isControl=!0,this.U="ab-control-card",this.V=!1}tt(){let t={};return t[n.Z.it.st]=n.Z.et.Ut,t[n.Z.it.rt]=this.id,t[n.Z.it.ot]=this.viewed,t[n.Z.it.ut]=this.updated,t[n.Z.it.xt]=this.expiresAt,t[n.Z.it.jt]=this.extras,t[n.Z.it.zt]=this.pinned,t[n.Z.it.vt]=this.test,t}}},8378:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(72857);class r extends n.Z{constructor(t,e,i,n,r,s,a,o,l,u,h,c,d,p){super(t,e,null,i,null,n,r,s,a,o,l,u,h,c,d,p),this.U="ab-image-only",this.V=!1,this.test=!1}tt(){let t={};
1return t[n.Z.it.st]=n.Z.et.Pt,t[n.Z.it.rt]=this.id,t[n.Z.it.ot]=this.viewed,t[n.Z.it.nt]=this.imageUrl,t[n.Z.it.ut]=this.updated,t[n.Z.it.lt]=this.created,t[n.Z.it.ft]=this.categories,t[n.Z.it.xt]=this.expiresAt,t[n.Z.it.URL]=this.url,t[n.Z.it.bt]=this.linkText,t[n.Z.it.gt]=this.aspectRatio,t[n.Z.it.jt]=this.extras,t[n.Z.it.zt]=this.pinned,t[n.Z.it.kt]=this.dismissible,t[n.Z.it.qt]=this.clicked,t[n.Z.it.vt]=this.test,t}}},23756:function(t,e,i){i.d(e,{D5:function(){return d},rN:function(){return p},xA:function(){return c}});var n=i(72857),r=i(37653),s=i(5383),a=i(8378),o=i(85563),l=i(57750),u=i(82588);function h(t,e,i,l,h,c,d,p,f,b,m,g,v,Z,w,y,x,k){let E;if(e===n.Z.et.Ot||e===n.Z.et.Mt)E=new r.Z(t,i,l,h,c,d,p,f,b,m,g,v,Z,w,y,x);else if(e===n.Z.et.ht)E=new s.Z(t,i,l,h,c,d,p,f,b,m,g,v,Z,w,y,x);else if(e===n.Z.et.Pt)E=new a.Z(t,i,h,d,p,f,b,m,g,v,Z,w,y,x);else{if(e!==n.Z.et.Ut)return u.Z.j.error("Ignoring card with unknown type "+e),null;E=new o.Z(t,i,p,b,Z,w)}return k&&(E.test=k),E}function c(t){if(t[n.Z.Rt.Lt])return null;let e=t[n.Z.Rt.rt],i=t[n.Z.Rt.st],r=t[n.Z.Rt.ot],s=t[n.Z.Rt.ct],a=t[n.Z.Rt.nt],o=t[n.Z.Rt.dt],u=(0,l.X2)(t[n.Z.Rt.ut]);return h(e,i,r,s,a,o,u,u,null,t[n.Z.Rt.xt]===n.Z._t?null:(0,l.X2)(t[n.Z.Rt.xt]),t[n.Z.Rt.URL],t[n.Z.Rt.bt],t[n.Z.Rt.gt],t[n.Z.Rt.jt],t[n.Z.Rt.zt],t[n.Z.Rt.kt],t[n.Z.Rt.qt],t[n.Z.Rt.vt]||!1)}function d(t){return h(t.id,t.type,t.viewed,t.title,t.image,t.description,(0,l.X2)(t.created),(0,l.X2)(t.updated),t.categories,(0,l.X2)(t.expires_at),t.url,t.domain,t.aspect_ratio,t.extras,!1,
1!1)}function p(t){return h(t[n.Z.it.rt],t[n.Z.it.st],t[n.Z.it.ot],t[n.Z.it.ct],t[n.Z.it.nt],t[n.Z.it.dt],(0,l.Rd)(t[n.Z.it.lt]),(0,l.Rd)(t[n.Z.it.ut]),t[n.Z.it.ft],(0,l.Rd)(t[n.Z.it.xt]),t[n.Z.it.URL],t[n.Z.it.bt],t[n.Z.it.gt],t[n.Z.it.jt],t[n.Z.it.zt],t[n.Z.it.kt],t[n.Z.it.qt],t[n.Z.it.vt]||!1)||void 0}},34790:function(t,e,i){i.r(e),i.d(e,{changeUser:function(){return l}});var n=i(19053),r=i(8548),s=i(82588),a=i(17615),o=i(3905);function l(t,e){if(!n.ZP.rr())return;if(null==t||0===t.length||t!=t)return void s.Z.j.error("changeUser requires a non-empty userId.");if((0,r.E)(t)>a.Z.lr)return void s.Z.j.error(`Rejected user id "${t}" because it is longer than ${a.Z.lr} bytes.`);if(null!=e&&!(0,o.ro)(e,"set signature for new user","signature"))return;let i=n.ZP.cr();i&&i.changeUser(t.toString(),n.ZP.gr(),e)}},12017:function(t,e){e.Z={BROWSER:"browser",BROWSER_VERSION:"browserVersion",OS:"os",RESOLUTION:"resolution",LANGUAGE:"language",TIME_ZONE:"timeZone",USER_AGENT:"userAgent"}},46243:function(t,e,i){i.d(e,{P:function(){return r}});var n=i(19053);function r(){if(n.ZP.rr())return n.ZP.br()}},40420:function(t,e,i){i.d(e,{S:function(){return d},h:function(){return p}});var n=i(82588),r=i(27671),s=i(19053),a=i(73046),o=i(7169),l=i(35806),u=i(3905),h=i(75319),c=i(46243);function d(t,e,d){if(s.ZP.rr()){if(u.y9.test(t)){let e=(0,a.OL)(t);if(!e)return;let d=t=>{if(!(0,u.zR)(t))return void n.Z.j.error(`Decoded Braze Action json is invalid: ${JSON.stringify(t,null,2)}`);let e=a.A9.properties.type,p=a.A9.properties.me,f=a.A9.properties.le,b=t[e];if(b===a.A9.types.ue)for(let e of t[p])d(e);else{let e,u;let d=t[f];switch(b){case a.A9.types.logCustomEvent:Promise.resolve().then(i.bind(i,61454)).then(({logCustomEvent:t})=>{s.ZP.fe()?t(...u=Array.prototype.slice.call(d)):n.Z.j.error(r.Go)});break;case a.A9.types.requestPushPermission:Promise.resolve().then(i.bind(i,12261)).then(({requestPushPermission:t})=>{s.ZP.fe()?"Safari"===o.Z.browser&&o.Z.OS===l.T.de?window.navigator.standalone&&t():t():n.Z.j.error(r.Go)});break;case a.A9.types.setEmailNotificationSubscriptionType:case a.A9.types.setPushNotificationSubscriptionType:case a.A9.types.setCustomUserAttribute:case a.A9.types.addToSubscriptionGroup:case a.A9.types.removeFromSubscriptionGroup:case a.A9.types.addToCustomAttributeArray:case a.A9.types.removeFromCustomAttributeArray:(e=(0,c.P)())&&e[b](...Array.prototype.slice.call(d));break;case a.A9.types.pe:case a.A9.types.je:u=Array.prototype.slice.call(d),h.SD.openUri(...u);break;default:n.Z.j.info(`Ignoring unknown Braze Action: ${b}`)}}};d(e)}else h.SD.openUri(t,e,d)}}function p(t,e){d(t,e)}},61454:function(t,e,i){i.r(e),i.d(e,{logCustomEvent:function(){return h}});var n=i(19053),r=i(39179),s=i(82588),a=i(24365),o=i(85346),l=i(3905),u=i(27671);function h(t,e){if(!n.ZP.rr())return!1;if(null==t||t.length<=0)return s.Z.j.error(`logCustomEvent requires a non-empty eventName, got "${t}". Ignoring event.`),!1;if(!(0,l.zM)(t,"log custom event","the event name"))return!1;let[i,h]=(0,l.lg)(e,u._P,"eventProperties",`log custom event "${t}"`,"event");if(!i)return!1;let c=n.ZP.tr();if(c&&c.ge(t))return s.Z.j.info(`Custom Event "${t}" is blocklisted, ignoring.`),!1;let d=r.Z.N(s.Z.q.CustomEvent,{n:t,p:h});if(d.O)for(let i of(s.Z.j.info(`Logged custom event "${t}".`),d.ve))o.n.er().be(a.Z.$e,[t,e],i);return d.O}},61364:function(t,e,i){i.r(e),i.d(e,{logPurchase:function(){return h}});var n=i(19053),r=i(27671),s=i(82588),a=i(24365),o=i(85346),l=i(3905),u=i(39179);function h(t,e,i,h,c){if(!n.ZP.rr())return!1;if(null==i&&(i="USD"),null==h&&(h=1),null==t||t.length<=0)return s.Z.j.error(`logPurchase requires a non-empty productId, got "${t}", ignoring.`),!1;if(!(0,l.zM)(t,"log purchase","the purchase name"))return!1;if(null==e||isNaN(parseFloat(e.toString())))return s.Z.j.error(`logPurchase requires a numeric price, got ${e}, ignoring.`),!1;let d=parseFloat(e.toString()).toFixed(2);if(null==h||isNaN(parseInt(h.toString())))return s.Z.j.error(`logPurchase requires an integer quantity, got ${h}, ignoring.`),!1;let p=parseInt(h.toString());if(p<1||p>r.Fz)return s.Z.j.error(`logPurchase requires a quantity >1 and <${r.Fz}, got ${p}, ignoring.`),!1;if(-1===["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MTL","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPD","XPF","XPT","YER","ZAR","ZMK","ZMW","ZWL"].indexOf(i=null!=i?i.toUpperCase():i))return s.Z.j.error(`logPurchase requires a valid currencyCode, got ${i}, ignoring.`),!1;let[f,b]=(0,l.lg)(c,"logPurchase","purchaseProperties",`log purchase "${t}"`,"purchase");if(!f)return!1;let m=n.ZP.tr();if(m&&m.Dr(t))return s.Z.j.info(`Purchase "${t}" is blocklisted, ignoring.`),!1;let g=u.Z.N(s.Z.q.Pr,{pid:t,c:i,p:d,q:p,pr:b});if(g.O)for(let e of(s.Z.j.info(`Logged ${p} purchase${p>1?"s":""} of "${t}" for ${i} ${d}.`),g.ve))o.n.er().be(a.Z.Rr,[t,c],e);return g.O}}
1,18503:function(t,e,i){i.d(e,{A:function(){return r}});var n=i(19053);function r(t){n.ZP.rr()&&n.ZP.removeSubscription(t)}},64650:function(t,e,i){i.r(e),i.d(e,{requestImmediateDataFlush:function(){return r}});var n=i(19053);function r(t){if(!n.ZP.rr())return;let e=n.ZP.cr();e&&e.requestImmediateDataFlush(t)}},12962:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(82588);class r{constructor(t,e=!1,i={},n){this.id=t,this.enabled=e,this.properties=i,this.trackingString=n,this.id=t,this.enabled=e,this.properties=i,this.trackingString=n}getStringProperty(t){let e=this.properties[t];return null==e?(this.Er(t),null):this.Ir(e)?e.value:(this.Nr("string"),null)}getNumberProperty(t){let e=this.properties[t];return null==e?(this.Er(t),null):this.Tr(e)?e.value:(this.Nr("number"),null)}getBooleanProperty(t){let e=this.properties[t];return null==e?(this.Er(t),null):this.Ar(e)?e.value:(this.Nr("boolean"),null)}tt(){let t={};return t[r.it.rt]=this.id,t[r.it.Fe]=this.enabled,t[r.it.we]=this.properties,t[r.it.ze]=this.trackingString,t}Nr(t){n.Z.j.info(`Property is not of type ${t}.`)}Er(t){n.Z.j.info(`${t} not found in feature flag properties.`)}Ir(t){return"string"===t.type&&"string"==typeof t.value}Tr(t){return"number"===t.type&&"number"==typeof t.value}Ar(t){return"boolean"===t.type&&"boolean"==typeof t.value}}r.it={rt:"id",Fe:"e",we:"pr",ze:"fts"},r.Rt={rt:"id",Fe:"enabled",we:"properties",ze:"fts"}},75219:function(t,e,i){i.d(e,{Z:function(){return f}});var n=i(19053),r=i(82588),s=i(40158),a=i(45966),o=i(74663),l=i(93307),u=i(41843),h=i(12962),c=i(76870);class d extends s.Z{constructor(t,e,i){super(),this.yt=t,this.$t=e,this.u=i,this.gi=[],this.pi=0,this.yt=t,this.$t=e,this.u=i,this.Fi=null,this.wi=new o.Z,this.ji=10,this.bi=null,this.vi=null,n.ZP.Ht(this.wi)}Ss(t){if((!this.yt||this.yt.yi())&&null!=t&&t.feature_flags){for(let e of(this.gi=[],t.feature_flags)){let t=function(t){if(t[h.Z.Rt.rt]&&"boolean"==typeof t[h.Z.Rt.Fe])return new h.Z(t[h.Z.Rt.rt],t[h.Z.Rt.Fe],t[h.Z.Rt.we],t[h.Z.Rt.ze]);r.Z.j.info(`Unable to create feature flag from ${JSON.stringify(t,null,2)}`)}(e);t&&this.gi.push(t)}this.pi=new Date().getTime(),this.Ti(),this.wi.Dt(this.gi)}}Di(){let t={};this.u&&(t=this.u.v(a.I.k.Ri));let e={};for(let i in t){let n=function(t){if(t[h.Z.it.rt]&&"boolean"==typeof t[h.Z.it.Fe])return new h.Z(t[h.Z.it.rt],t[h.Z.it.Fe],t[h.Z.it.we],t[h.Z.it.ze]);r.Z.j.info(`Unable to deserialize feature flag from ${JSON.stringify(t,null,2)}`)}(t[i]);n&&(e[n.id]=n)}return e}Ni(){var t;return(null===(t=this.u)||void 0===t?void 0:t.v(a.I.k.qi))||{}}xi(t){this.u&&this.u.D(a.I.k.qi,t)}ri(t){return this.wi.It(t)}refreshFeatureFlags(t,e,i=!1,n=!0){let r=()=>{"function"==typeof e&&e(),this.wi.Dt(this.gi)};if(!this.zi(i))return!this.Fi&&this.yt&&(this.Fi=this.yt.Ci(()=>{this.refreshFeatureFlags(t,e)})),void r();if(n&&this.Ii(),!this.$t)return void r();let s=this.$t.Bs({},!0),a=this.$t.Hs(s,c.Z.Os.Si),o=!1;this.$t.Qs(s,()=>{this.$t?(c.Z.Ws(this.u,c.Z.Os.Si,new Date().valueOf()),u.Z.Xs({url:`${this.$t.Ys()}/feature_flags/sync`,headers:a,data:s,O:e=>{if(!this.$t.Zs(s,e,a))return o=!0,void r();this.$t.ti(),this.Ss(e),o=!1,c.Z.si(this.u,c.Z.Os.Si,1),"function"==typeof t&&t()},error:t=>{this.$t.ii(t,"retrieving feature flags"),o=!0,r()},ei:()=>{if(n&&o&&!this.vi){c.Z.hi(this.u,c.Z.Os.Si);let n=this.bi;(null==n||n<1e3*this.ji)&&(n=1e3*this.ji),this.$i(Math.min(3e5,(0,l.R)(1e3*this.ji,3*n)),t,e,i)}}})):r()})}Ii(){null!=this.vi&&(clearTimeout(this.vi),this.vi=null)}$i(t=1e3*this.ji,e,i,n=!1){this.Ii(),this.vi=window.setTimeout(()=>{this.refreshFeatureFlags(e,i,n)},t),this.bi=t}zi(t){if(!this.yt)return!1;if(!t){let t=this.yt.Mi();if(null==t)return!1;let e=!1;if(!isNaN(t)){if(-1===t)return r.Z.j.info("Feature flag refreshes not allowed"),!1;e=new Date().getTime()>=(this.pi||0)+1e3*t}if(!e)return r.Z.j.info(`Feature flag refreshes were rate limited to ${t} seconds`),!1}return this.yt.yi()}Ti(){if(!this.u)return;let t={};for(let e of this.gi){let i=e.tt();t[e.id]=i}this.u.D(a.I.k.Ri,t),this.u.D(a.I.k.Ui,this.pi)}}let p={t:!1,provider:null,er:()=>(p.o(),p.provider||(p.provider=new d(n.ZP.tr(),n.ZP.ar(),n.ZP.l()),n.ZP.dr(p.provider)),p.provider),o:()=>{p.t||(n.ZP.g(p),p.t=!0)},destroy:()=>{p.provider=null,p.t=!1}};var f=p}
1,992:function(t,e,i){i.r(e),i.d(e,{refreshFeatureFlags:function(){return a}});var n=i(19053),r=i(75219);function s(t,e,i=!1){if(n.ZP.rr())return r.Z.er().refreshFeatureFlags(t,e,i)}function a(t,e){s(t,e)}e.default=s},32075:function(t,e,i){i.d(e,{Z:function(){return d}});var n=i(19053),r=i(40158),s=i(83628),a=i(23756),o=i(57750),l=i(45966),u=i(74663);class h extends r.Z{constructor(t,e){super(),this.u=t,this.ki=e,this.cards=[],this.Ai=null,this.u=t,this.ki=e,this.Bt=new u.Z,n.ZP.Ht(this.Bt),this.Yt()}Yt(){let t=[];this.u&&(t=this.u.v(l.I.k.Bi)||[]);let e=[];for(let i=0;i<t.length;i++){let n=(0,a.rN)(t[i]);null!=n&&e.push(n)}this.cards=e,this.u&&(this.Ai=(0,o.Rd)(this.u.v(l.I.k.Ei)))}Gi(t){let e=[],i=null,n={};this.u&&(n=this.u.v(l.I.k.L)||{});let r={};for(let s=0;s<t.length;s++){i=t[s];let o=(0,a.D5)(i);if(null!=o){let t=o.id;t&&n[t]&&(o.viewed=!0,r[t]=!0),e.push(o)}}this.cards=e,this.Ds(),this.Ai=new Date,this.u&&(this.u.D(l.I.k.L,r),this.u.D(l.I.k.Ei,this.Ai))}Ds(){if(!this.u)return;let t=[];for(let e=0;e<this.cards.length;e++)t.push(this.cards[e].tt());this.u.D(l.I.k.Bi,t)}Ss(t){null!=t&&t.feed&&(this.Yt(),this.Gi(t.feed),this.Bt.Dt(new s.Z(this.cards.slice(),this.Ai)))}Hi(){this.Yt();let t=[],e=new Date;for(let i=0;i<this.cards.length;i++){let n=this.cards[i].expiresAt,r=!0;null!=n&&(r=n>=e),r&&t.push(this.cards[i])}return new s.Z(t,this.Ai)}xs(){this.ki&&this.ki.requestFeedRefresh()}ri(t){return this.Bt.It(t)}clearData(t){null==t&&(t=!1),this.cards=[],this.Ai=null,t&&this.u&&(this.u.ni(l.I.k.Bi),this.u.ni(l.I.k.Ei)),this.Bt.Dt(new s.Z(this.cards.slice(),this.Ai))}}let c={t:!1,provider:null,er:()=>(c.o(),c.provider||(c.provider=new h(n.ZP.l(),n.ZP.cr()),n.ZP.dr(c.provider)),c.provider),o:()=>{c.t||(n.ZP.g(c),c.t=!0)},destroy:()=>{c.provider=null,c.t=!1}};var d=c},83628:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(67),r=i(11066),s=i(1280),a=i(83516);class o extends n.Z{constructor(t,e){super(t,e)}logCardImpressions(t){(0,r.p)(t,!1)}logCardClick(t){return(0,s.d)(t,!1)}sr(){(0,a.a)()}ur(){return!1}}},46599:function(t,e,i){i.d(e,{j:function(){return s}});var n=i(19053),r=i(82588);function s(){if(!n.ZP.rr())return;let t=n.ZP.ar();return t?t.qr(r.Z.Cr.Br).O:void 0}},83516:function(t,e,i){i.d(e,{a:function(){return s}});var n=i(19053),r=i(32075);function s(){if(n.ZP.rr())return r.Z.er().xs()}},96596:function(t,e,i){i.d(e,{n:function(){return s}});var n=i(19053),r=i(32075);function s(t){if(n.ZP.rr())return r.Z.er().ri(t)}},33545:function(t,e,i){i.r(e),i.d(e,{showFeed:function(){return p}});var n=i(19053),r=i(3486),s=i(83628),a=i(96596),o=i(46599),l=i(32075),u=i(72893),h=i(35608),c=i(46959),d=i(82588);function p(t,e,i){var p;if(!n.ZP.rr())return;(0,c.B)();let f=(t,e)=>{if(null==e)return t;let i=[];for(let t=0;t<e.length;t++)i.push(e[t].toLowerCase());let n=[];for(let e=0;e<t.length;e++){let r=[],s=t[e].categories||[];for(let t=0;t<s.length;t++)r.push(s[t].toLowerCase());(0,u.jV)(r,i).length>0&&n.push(t[e])}return n},b=n.ZP.nn(n.JY.tn)||n.ZP.nn(n.JY.en)||!1,m=!1;null==t&&(t=document.body,m=!0);let g,v=!1;null==e?(g=l.Z.er().Hi(),(0,r.Of)(g,f(g.cards,i),g.lastUpdated,null,b),v=!0):g=new s.Z(f(e,i),new Date);let Z=(0,r.Yz)(g,b,m);if(v){(null==g.lastUpdated||new Date().valueOf()-g.lastUpdated.valueOf()>s.Z.mr)&&(d.Z.j.info(`Cached feed was older than max TTL of ${s.Z.mr} ms, requesting an update from the server.`),(0,r.cV)(g,Z));let t=new Date().valueOf(),e=(0,a.n)(function(e){let n=Z.querySelectorAll(".ab-refresh-button")[0];if(null!=n){let e;e=500-(new Date().valueOf()-t);let i=Z.getAttribute(r.cP);if(i){let t=parseInt(i);isNaN(t)||(e-=new Date().valueOf()-t)}setTimeout(function(){n.className=n.className.replace(/fa-spin/g,"")},Math.max(e,0))}(0,r.Of)(g,f(e.cards,i),e.lastUpdated,Z,b)});(0,r.GB)(e,Z)}let w=t=>{let e=t.querySelectorAll(".ab-feed"),i=null;for(let n=0;n<e.length;n++)e[n].parentNode===t&&(i=e[n]);null!=i?((0,r.tQ)(i),i.parentNode&&i.parentNode.replaceChild(Z,i)):t.appendChild(Z),setTimeout(function(){Z.className=Z.className.replace("ab-hide","ab-show")},0),m&&Z.focus(),(0,o.j)(),(0,r.cz)(g,Z),g&&(0,h.CG)(g.cards,t)};null!=t?w(t):window.onload=(p=window.onload,function(){"function"==typeof p&&p(new Event("oldLoad")),w(document.body)})}}
1,23340:function(t,e,i){i.d(e,{V:function(){return d},q:function(){return c}});var n=i(1792),r=i(98376),s=i(4410),a=i(31090),o=i(84072),l=i(3811),u=i(26616),h=i(82588);function c(t){if(!t)return null;if(t.is_control)return r.Z.fromJson(t);let e=t.type;null!=e&&(e=e.toUpperCase());let i=t.message,c=t.text_align_message,d=t.slide_from,p=t.extras,f=t.trigger_id,b=t.click_action,m=t.uri,g=t.open_target,v=t.message_close,Z=t.duration,w=t.icon,y=t.image_url,x=t.image_style,k=t.icon_color,E=t.icon_bg_color,S=t.bg_color,A=t.text_color,I=t.close_btn_color,N=t.header,C=t.text_align_header,_=t.header_text_color,T=t.frame_color,O=[],P=t.btns;null==P&&(P=[]);for(let t=0;t<P.length;t++)O.push(o.Z.fromJson(P[t]));let D=t.crop_type,j=t.orientation,M=t.animate_in,R=t.animate_out,z,U=t.html_id,B=t.css;if(null!=U&&""!==U&&null!=B&&""!==B||(U=void 0,B=void 0),e===l.Z.et||e===n.Z.qe.Se)z=new l.Z(i,c,p,f,b,m,g,v,Z,w,y,x,k,E,S,A,I,M,R,N,C,_,T,O,D,U,B);else if(e===s.Z.et)z=new s.Z(i,c,p,f,b,m,g,v,Z,w,y,x,k,E,S,A,I,M,R,N,C,_,T,O,D,j,U,B);else if(e===u.Z.et)z=new u.Z(i,c,d,p,f,b,m,g,v,Z,w,y,k,E,S,A,I,M,R,U,B);else{if(e!==a.Z.et&&e!==n.Z.qe.Ee&&e!==n.Z.qe.Ue)return void h.Z.j.error("Ignoring message with unknown type "+e);{let e=t.message_fields;(z=new a.Z(i,p,f,v,Z,M,R,T,U,B,e)).trusted=t.trusted||!1}}return z.Pe=e,z}function d(t){let e=[];for(let i of t)e.push(new o.Z(i.text,i.backgroundColor,i.textColor,i.borderColor,i.clickAction,i.uri,i.id));return e}},79602:function(t,e,i){i.d(e,{Z:function(){return I}});var n=i(41843),r=i(19053),s=i(98376),a=i(31090),o=i(1792),l=i(84072),u=i(39179),h=i(23340),c=i(93307),d=i(24673),p=i(82588),f=i(74663),b=i(52134),m=i(72893),g=i(3905),v=i(73046),Z=i(74556),w=i(76870),y=i(45966),x=i(4410),k=i(3811),E=i(26616);class S{constructor(t,e,i,n){this.$t=t,this._e=e,this.u=i,this.wt=n,this.$t=t,this._e=e,this.u=i,this.wt=n,this.Ve=new f.Z,r.ZP.Ht(this.Ve),this.We=1e3,this.Xe=6e4,this.Ye=null}Ze(){return this.Ve}_i(t){return this.Ve.It(t)}Pi(){return this.Ye}Oi(t){this.Ye=t}Ji(t,e){return t&&(0,m.fk)(o.Z.Ie,e,`${e} is not a valid in-app message display failure`,"InAppMessage.DisplayFailures")?u.Z.N(p.Z.q.Ki,{trigger_ids:[t],error_code:e}):new d.Z}N(t,e,i,n){let r;let o=new d.Z;if(t instanceof s.Z)r={trigger_ids:[t.triggerId]};else{if(e===p.Z.q.Li||t instanceof a.Z&&e===p.Z.q.Qi){if(!t.p(n))return p.Z.j.info("This in-app message has already received a click. Ignoring analytics event."),o}else if(e===p.Z.q.Vi&&!t.M())return p.Z.j.info("This in-app message has already received an impression. Ignoring analytics event."),o;r=this.Wi(t)}return null==r?o:(null!=i&&(r.bid=i),u.Z.N(e,r))}Xi(t,e){let i=new d.Z;if(!t.p())return p.Z.j.info("This in-app message button has already received a click. Ignoring analytics event."),i;let n=this.Wi(e);return null==n?i:t.id===l.Z.Yi?(p.Z.j.info("This in-app message button does not have a tracking id. Not logging event to Braze servers."),i):(null!=t.id&&(n.bid=t.id),u.Z.N(p.Z.q.Qi,n))}Zi(t){let e=t.messageFields;return null!=e&&e.is_push_primer||!1}Mr(t){let e;if(!(t instanceof o.Z))return;let i=t=>{if(!t)return;let e=(0,v.OL)(t);return(0,v.je)(e)?(0,v.Tu)(v.yi._r,"In-App Message"):(0,v.zA)(e)&&!Z.Z.Gr()?(0,v.Tu)(v.yi.Or,"In-App Message"):void 0};if(this.Zi(t)&&!Z.Z.Gr())return"In-App Message contains a push prompt, but is not eligible for a push prompt. Ignoring.";for(let n of t.buttons||[])if(n.clickAction===o.Z.ClickAction.URI&&n.uri&&g.y9.test(n.uri)&&(e=i(n.uri)))return e;return t.clickAction===o.Z.ClickAction.URI&&t.uri&&g.y9.test(t.uri)?i(t.uri):void 0}Hr(t,e,i,r){if(!this.$t)return;let s=this.$t.Jr(!1,!1),a=this.$t.Bs(s);a.template={trigger_id:t.triggerId,trigger_event_type:e},null!=i&&(a.template.data=i.Kr());let l=this.$t.Hs(a,w.Z.Os.Lr);this.$t.Qs(a,()=>{this.$t&&(w.Z.Ws(this.u,w.Z.Os.Lr,new Date().valueOf()),n.Z.Xs({url:`${this.$t.Ys()}/template/`,data:a,headers:l,O:e=>{if(w.Z.si(this.u,w.Z.Os.Lr,1),!this.$t.Zs(a,e,l))return this.Ji(t.triggerId,o.Z.Ie.Qr),void("function"==typeof t.Ur&&t.Ur());if(this.$t.ti(),null==e||null==e.templated_message)return void this.Ji(t.triggerId,o.Z.Ie.Qr);let i=e.templated_message;if(i.type!==b.Z.Wr.Vr)return void this.Ji(t.triggerId,o.Z.Ie.Xr);let n=(0,h.q)(i.data);if(null==n)return void this.Ji(t.triggerId,o.Z.Ie.Xr);let r=this.Mr(n);
1if(r)return p.Z.j.error(r),void("function"==typeof t.Ur&&t.Ur());"function"==typeof t.Yr?t.Yr(n):this.Ji(t.triggerId,o.Z.Ie.Qr)},error:n=>{let s=`getting user personalization for message ${t.triggerId}`;if(new Date().valueOf()-t.Zr>t.sn)this.Ji(t.triggerId,o.Z.Ie.Qr);else{w.Z.hi(this.u,w.Z.Os.Lr);let n=Math.min(t.sn,this.Xe),a=this.We;null==r&&(r=a);let o=Math.min(n,(0,c.R)(a,3*r));s+=`. Retrying in ${o} ms`,setTimeout(()=>{this.Hr(t,e,i,o)},o)}this.$t.ii(n,s)}}))})}Wi(t){if(null==t.triggerId)return p.Z.j.info("The in-app message has no analytics id. Not logging event to Braze servers."),null;let e={};return null!=t.triggerId&&(e.trigger_ids=[t.triggerId]),e}he(t){return!!this.u&&!(!(t&&t instanceof o.Z&&t.constructor!==o.Z)||t instanceof s.Z)&&this.u.D(y.I.k.rn,t.tt())}Re(){let t;if(!this.u)return null;let e=this.u.v(y.I.k.rn);if(!e)return null;switch(e.type){case o.Z.qe.on:t=x.Z.an(e);break;case o.Z.qe.ln:case o.Z.qe.Ee:case o.Z.qe.Ue:t=a.Z.an(e);break;case o.Z.qe.un:case o.Z.qe.Se:t=k.Z.an(e);break;case o.Z.qe.pn:t=E.Z.an(e)}return t&&this.mn(),t}mn(){this.u&&this.u.ni(y.I.k.rn)}}let A={i:null,t:!1,m:()=>(A.o(),A.i||(A.i=new S(r.ZP.ar(),r.ZP.aa(),r.ZP.l(),r.ZP.ir())),A.i),o:()=>{A.t||(r.ZP.g(A),A.t=!0)},destroy:()=>{A.i=null,A.t=!1}};var I=A},98376:function(t,e,i){i.d(e,{Z:function(){return n}});class n{constructor(t){this.triggerId=t,this.triggerId=t,this.extras={},this.isControl=!0}static fromJson(t){return new n(t.trigger_id)}}},4410:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(23340),r=i(1792);class s extends r.Z{constructor(t,e,i,n,s,a,o,l,u,h,c,d,p,f,b,m,g,v,Z,w,y,x,k,E,S,A,I,N){super(t,e,void 0,i,n,s,a,o,l=l||r.Z.DismissType.MANUAL,u,h,c,d,p,f,b,m,g,v,Z,w,y,x,k,E,S=S||r.Z.CropType.CENTER_CROP,A=A||r.Z.Orientation.PORTRAIT,I,N),this.Te=r.Z.TextAlignment.CENTER}tt(){return super.tt(s.et)}static an(t){return new s(t[r.Z.it.ea],t[r.Z.it.ra],t[r.Z.it.jt],t[r.Z.it.sa],t[r.Z.it.ta],t[r.Z.it.URI],t[r.Z.it.ia],t[r.Z.it.oa],t[r.Z.it.pa],t[r.Z.it.ma],t[r.Z.it.nt],t[r.Z.it.na],t[r.Z.it.ua],t[r.Z.it.ca],t[r.Z.it.fa],t[r.Z.it.da],t[r.Z.it.la],t[r.Z.it.ga],t[r.Z.it.ja],t[r.Z.it.xa],t[r.Z.it.za],t[r.Z.it.ha],t[r.Z.it.va],(0,n.V)(t[r.Z.it.wa]),t[r.Z.it.ya],t[r.Z.it.Sa],t[r.Z.it.ba],t[r.Z.it.CSS])}}s.et=r.Z.qe.on},31090:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(1792);class r extends n.Z{constructor(t,e,i,r,s,a,o,l,u,h,c){super(t,void 0,void 0,e,i,void 0,void 0,void 0,r=r||n.Z.DismissType.MANUAL,s,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,a,o,void 0,void 0,void 0,l,void 0,void 0,void 0,u,h),this.messageFields=c,this.messageFields=c}io(){return!1}p(t){if(this.Pe===n.Z.qe.ln){if(this.do)return!1;this.do=!0}return this.Et.Dt(t),!0}tt(){let t=super.tt(r.et);return t[n.Z.it.vo]=this.messageFields,t}static an(t){return new r(t[n.Z.it.ea],t[n.Z.it.jt],t[n.Z.it.sa],t[n.Z.it.oa],t[n.Z.it.pa],t[n.Z.it.ga],t[n.Z.it.ja],t[n.Z.it.va],t[n.Z.it.ba],t[n.Z.it.CSS],t[n.Z.it.vo])}}r.et=n.Z.qe.ln},84072:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(1792),r=i(74663);class s{constructor(t,e,i,a,o,l,u){this.text=t,this.backgroundColor=e,this.textColor=i,this.borderColor=a,this.clickAction=o,this.uri=l,this.id=u,this.text=t||"",this.backgroundColor=e||n.Z.th.sh,this.textColor=i||n.Z.th.ih,this.borderColor=a||this.backgroundColor,this.clickAction=o||n.Z.ClickAction.NONE,this.uri=l,null==u&&(u=s.Yi),this.id=u,this.do=!1,this.Et=new r.Z}subscribeToClickedEvent(t){return this.Et.It(t)}removeSubscription(t){this.Et.removeSubscription(t)}removeAllSubscriptions(){this.Et.removeAllSubscriptions()}p(){return!this.do&&(this.do=!0,this.Et.Dt(),!0)}static fromJson(t){return new s(t.text,t.bg_color,t.text_color,t.border_color,t.click_action,t.uri,t.id)}}s.Yi=-1},1792:function(t,e,i){i.d(e,{Z:function(){return u}});var n=i(19053),r=i(7169),s=i(11507),a=i(7429),o=i(74663),l=i(7048);class u{constructor(t,e,i,n,r,s,a,l,h,c,d,p,f,b,m,g,v,Z,w,y,x,k,E,S,A,I,N,C,_){this.message=t,this.messageAlignment=e,this.slideFrom=i,this.extras=n,this.triggerId=r,this.clickAction=s,this.uri=a,this.openTarget=l,this.dismissType=h,this.duration=c,this.icon=d,this.imageUrl=p,this.imageStyle=f,this.iconColor=b,this.iconBackgroun
1dColor=m,this.backgroundColor=g,this.textColor=v,this.closeButtonColor=Z,this.animateIn=w,this.animateOut=y,this.header=x,this.headerAlignment=k,this.headerTextColor=E,this.frameColor=S,this.buttons=A,this.cropType=I,this.orientation=N,this.htmlId=C,this.css=_,this.message=t,this.messageAlignment=e||u.TextAlignment.CENTER,this.duration=c||5e3,this.slideFrom=i||u.SlideFrom.BOTTOM,this.extras=n||{},this.triggerId=r,this.clickAction=s||u.ClickAction.NONE,this.uri=a,this.openTarget=l||u.OpenTarget.NONE,this.dismissType=h||u.DismissType.AUTO_DISMISS,this.icon=d,this.imageUrl=p,this.imageStyle=f||u.ImageStyle.TOP,this.iconColor=b||u.th.ih,this.iconBackgroundColor=m||u.th.sh,this.backgroundColor=g||u.th.ih,this.textColor=v||u.th.hh,this.closeButtonColor=Z||u.th.eh,this.animateIn=w,null==this.animateIn&&(this.animateIn=!0),this.animateOut=y,null==this.animateOut&&(this.animateOut=!0),this.header=x,this.headerAlignment=k||u.TextAlignment.CENTER,this.headerTextColor=E||u.th.hh,this.frameColor=S||u.th.Eh,this.buttons=A||[],this.cropType=I||u.CropType.FIT_CENTER,this.orientation=N,this.htmlId=C,this.css=_,this.isControl=!1,this.nh=!1,this.Th=!1,this.do=!1,this.oh=!1,this.Me=null,this.ke=null,this.Et=new o.Z,this.rh=new o.Z,this.Te=u.TextAlignment.CENTER}subscribeToClickedEvent(t){return this.Et.It(t)}subscribeToDismissedEvent(t){return this.rh.It(t)}removeSubscription(t){this.Et.removeSubscription(t),this.rh.removeSubscription(t)}removeAllSubscriptions(){this.Et.removeAllSubscriptions(),this.rh.removeAllSubscriptions()}closeMessage(){this.ye(this.Me)}xe(){return!0}io(){return this.xe()}Ne(){return null!=this.htmlId&&this.htmlId.length>4}Ae(){return this.Ne()&&null!=this.css&&this.css.length>0}Ce(){if(this.Ne()&&this.Ae())return this.htmlId+"-css"}M(){return!this.Th&&(this.Th=!0,!0)}so(){return this.Th}p(t){return!this.do&&(this.do=!0,this.Et.Dt(),!0)}F(){return!this.oh&&(this.oh=!0,this.rh.Dt(),!0)}hide(t){if(t&&t.parentNode){let e=t.closest(".ab-iam-root");if(null==e&&(e=t),this.xe()&&null!=e.parentNode){let t=e.parentNode.classList;t&&t.contains(u.lh)&&t.remove(u.lh),document.body.removeEventListener("touchmove",u.uh)}e.className=e.className.replace(u.ah,u.Ih)}return this.animateOut||!1}ye(t,e){let i,n;if(null==t)return;this.Me=null;let s=!1;(i=-1===t.className.indexOf("ab-in-app-message")?t.getElementsByClassName("ab-in-app-message")[0]:t)&&(s=this.hide(i));let a=document.body;null!=a&&(n=a.scrollTop);let o=()=>{if(t&&t.parentNode){let e=t.closest(".ab-iam-root");null==e&&(e=t),e.parentNode&&e.parentNode.removeChild(e)}let i=this.Ce();if(null!=i){let t=document.getElementById(i);t&&t.parentNode&&t.parentNode.removeChild(t)}null!=a&&"Safari"===r.Z.browser&&(a.scrollTop=n),e?e():this.F()};s?setTimeout(o,u.Oh):o(),this.ke&&this.ke.focus()}Ge(){return document.createTextNode(this.message||"")}Be(t){let e="";this.message||this.header||!this.xe()||(e="Modal Image"),t.setAttribute("alt",e)}static uh(t){if(t.targetTouches&&t.targetTouches.length>1)return;let e=t.target;e&&e.classList&&e.classList.contains("ab-message-text")&&e.scrollHeight>e.clientHeight||document.querySelector(`.${u.lh}`)&&t.preventDefault()}Ah(t){let e=t.parentNode;this.xe()&&null!=e&&this.orientation!==u.Orientation.LANDSCAPE&&(null!=e.classList&&e.classList.add(u.lh),document.body.addEventListener("touchmove",u.uh,!!(0,s.QZ)()&&{passive:!1})),t.className+=" "+u.ah}static Lh(t){if(t.keyCode===a.m._h&&!n.ZP.nn(n.JY.mh)&&document.querySelectorAll(".ab-modal-interactions").length>0){let t=document.getElementsByClassName("ab-html-message"),e=!1;for(let i of t){let t=null;(0,l.f)(i)&&i.contentWindow&&(t=i.contentWindow.document.getElementsByClassName("ab-programmatic-close-button")[0]),null!=t&&((0,s.$j)(t),e=!0)}if(!e){let t=document.querySelectorAll(".ab-modal-interactions > .ab-close-button")[0];null!=t&&(0,s.$j)(t)}}}Nh(){this.nh||n.ZP.nn(n.JY.mh)||(document.addEventListener("keydown",u.Lh,!1),n.ZP.Rh(()=>{document.removeEventListener("keydown",u.Lh)}),this.nh=!0)}tt(t){let e={};return t&&(e[u.it.ea]=this.message,e[u.it.ra]=this.messageAlignment,e[u.it.Sh]=this.slideFrom,e[u.it.jt]=this.extras,e[u.it.sa]=this.triggerId,e[u.it.ta]=this.clickAction,e[u.it.URI]=this.uri,e[u.it.ia]=this.openTarget,e[u.it.oa]=this.dismissType,e[u.it.pa]=this.duration,e[u.it.ma]=this.icon,e[u.it.nt]=this.imageUrl,e[u.it.na]=this.imageStyle,e[u.it.ua]=this.iconColor,e[u.it.ca]=this.iconBackgroun
1dColor,e[u.it.fa]=this.backgroundColor,e[u.it.da]=this.textColor,e[u.it.la]=this.closeButtonColor,e[u.it.ga]=this.animateIn,e[u.it.ja]=this.animateOut,e[u.it.xa]=this.header,e[u.it.za]=this.headerAlignment,e[u.it.ha]=this.headerTextColor,e[u.it.va]=this.frameColor,e[u.it.wa]=this.buttons,e[u.it.ya]=this.cropType,e[u.it.Sa]=this.orientation,e[u.it.ba]=this.htmlId,e[u.it.CSS]=this.css,e[u.it.st]=t),e}}u.th={hh:4281545523,ih:4294967295,sh:4278219733,Dh:4293914607,Mh:4283782485,Eh:3224580915,eh:4288387995},u.Ie={Ch:"hd",Le:"ias",dh:"of",Uh:"do",Xr:"umt",Qr:"tf",bh:"te"},u.SlideFrom={TOP:"TOP",BOTTOM:"BOTTOM"},u.ClickAction={NEWS_FEED:"NEWS_FEED",URI:"URI",NONE:"NONE"},u.DismissType={AUTO_DISMISS:"AUTO_DISMISS",MANUAL:"SWIPE"},u.OpenTarget={NONE:"NONE",BLANK:"BLANK"},u.ImageStyle={TOP:"TOP",GRAPHIC:"GRAPHIC"},u.Orientation={PORTRAIT:"PORTRAIT",LANDSCAPE:"LANDSCAPE"},u.TextAlignment={START:"START",CENTER:"CENTER",END:"END"},u.CropType={CENTER_CROP:"CENTER_CROP",FIT_CENTER:"FIT_CENTER"},u.qe={pn:"SLIDEUP",un:"MODAL",Se:"MODAL_STYLED",on:"FULL",ln:"WEB_HTML",Ee:"HTML",Ue:"HTML_FULL"},u.Oh=500,u.Ph=200,u.ah="ab-show",u.Ih="ab-hide",u.lh="ab-pause-scrolling",u.it={ea:"m",ra:"ma",Sh:"sf",jt:"e",sa:"ti",ta:"ca",URI:"u",ia:"oa",oa:"dt",pa:"d",ma:"i",nt:"iu",na:"is",ua:"ic",ca:"ibc",fa:"bc",da:"tc",la:"cbc",ga:"ai",ja:"ao",xa:"h",za:"ha",ha:"htc",va:"fc",wa:"b",ya:"ct",Sa:"o",ba:"hi",CSS:"css",st:"type",vo:"messageFields"}},3811:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(23340),r=i(1792);class s extends r.Z{constructor(t,e,i,n,s,a,o,l,u,h,c,d,p,f,b,m,g,v,Z,w,y,x,k,E,S,A,I){super(t,e,void 0,i,n,s,a,o,l=l||r.Z.DismissType.MANUAL,u,h,c,d,p,f,b,m,g,v,Z,w,y,x,k,E,S=S||r.Z.CropType.FIT_CENTER,void 0,A,I),this.Te=r.Z.TextAlignment.CENTER}tt(){return super.tt(s.et)}static an(t){return new s(t[r.Z.it.ea],t[r.Z.it.ra],t[r.Z.it.jt],t[r.Z.it.sa],t[r.Z.it.ta],t[r.Z.it.URI],t[r.Z.it.ia],t[r.Z.it.oa],t[r.Z.it.pa],t[r.Z.it.ma],t[r.Z.it.nt],t[r.Z.it.na],t[r.Z.it.ua],t[r.Z.it.ca],t[r.Z.it.fa],t[r.Z.it.da],t[r.Z.it.la],t[r.Z.it.ga],t[r.Z.it.ja],t[r.Z.it.xa],t[r.Z.it.za],t[r.Z.it.ha],t[r.Z.it.va],(0,n.V)(t[r.Z.it.wa]),t[r.Z.it.ya],t[r.Z.it.ba],t[r.Z.it.CSS])}}s.et=r.Z.qe.un},26616:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(1792),r=i(11507);class s extends n.Z{constructor(t,e,i,r,s,a,o,l,u,h,c,d,p,f,b,m,g,v,Z,w,y){super(t,e=e||n.Z.TextAlignment.START,i,r,s,a,o,l,u,h,c,d,void 0,p,f,b=b||n.Z.th.Dh,m=m||n.Z.th.Mh,g,v,Z,void 0,void 0,void 0,void 0,void 0,void 0,void 0,w,y),this.Te=n.Z.TextAlignment.START}xe(){return!1}Ge(){let t=document.createElement("span");return t.appendChild(document.createTextNode(this.message||"")),t}Ah(t){let e=t.getElementsByClassName("ab-in-app-message")[0];r.lP.no(e,!0,!0)||(this.slideFrom===n.Z.SlideFrom.TOP?e.style.top="0px":e.style.bottom="0px"),super.Ah(t)}tt(){return super.tt(s.et)}static an(t){return new s(t[n.Z.it.ea],t[n.Z.it.ra],t[n.Z.it.Sh],t[n.Z.it.jt],t[n.Z.it.sa],t[n.Z.it.ta],t[n.Z.it.URI],t[n.Z.it.ia],t[n.Z.it.oa],t[n.Z.it.pa],t[n.Z.it.ma],t[n.Z.it.nt],t[n.Z.it.ua],t[n.Z.it.ca],t[n.Z.it.fa],t[n.Z.it.da],t[n.Z.it.la],t[n.Z.it.ga],t[n.Z.it.ja],t[n.Z.it.ba],t[n.Z.it.CSS])}}s.et=n.Z.qe.pn},7048:function(t,e,i){i.d(e,{f:function(){return n}});let n=t=>null!==t&&"IFRAME"===t.tagName},17457:function(t,e,i){i.r(e),i.d(e,{default:function(){return f}});var n=i(19053),r=i(72893),s=i(63552),a=i(82588),o=i(45966),l=i(17615),u=i(75319),h=i(74556),c=i(8031);class d{constructor(t,e,i,n,r,s,a,o,l,u){this.hn=t,this.cn=e,this.fn=i,this.dn=r,this.bn=s,this.yt=a,this.yn=o,this.gn=l,this.u=u,this.hn=t,this.cn=e,this.fn=i,this.wn=n+"/safari/"+e,this.dn=r||"/service-worker.js",this.bn=s,this.yt=a,this.yn=o||!1,this.gn=l||!1,this.u=u,this.vn=h.Z.kn(),this.Pn=h.Z.Dn()}Sn(){return this.gn}An(t,e,i,n,r){t.unsubscribe().then(t=>{t?this.jn(e,i,n,r):(a.Z.j.error("Failed to unsubscribe device from push."),"function"==typeof r&&r(!1))}).catch(t=>{a.Z.j.error("Push unsubscription error: "+t),"function"==typeof r&&r(!1)})}Un(t,e,i){let n;let r=(t=>{if("string"==typeof t)return t;if(0!==t.endpoint.indexOf("https://android.googleapis.com/gcm/send"))return t.endpoint;let e=t.endpoint;
1return t.Wn&&-1===t.endpoint.indexOf(t.Wn)&&(e=t.endpoint+"/"+t.Wn),e})(t),s=null,o=null;if(null!=t.getKey)try{let e=Array.from(new Uint8Array(t.getKey("p256dh"))),i=Array.from(new Uint8Array(t.getKey("auth")));s=btoa(String.fromCharCode.apply(null,e)),o=btoa(String.fromCharCode.apply(null,i))}catch(t){a.Z.j.error((0,c.e)(t))}let l=t.options&&(n=t.options.applicationServerKey)&&n.byteLength&&n.byteLength>0?btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(n)))).replace(/\+/g,"-").replace(/\//g,"_"):null;this.hn&&this.hn._n(r,e,s,o,l),r&&"function"==typeof i&&i(r,s,o)}xn(){this.hn&&this.hn.Nn(!0)}Tn(t,e){this.hn&&this.hn.Nn(!1),a.Z.j.info(t),"function"==typeof e&&e(!1)}zn(t,e,i,n){var r;if("default"===e.permission)try{window.safari.pushNotification.requestPermission(this.wn,t,{api_key:this.cn,device_id:(null===(r=this.fn)||void 0===r?void 0:r.ce().id)||""},e=>{"granted"===e.permission&&this.hn&&this.hn.setPushNotificationSubscriptionType(l.Z.NotificationSubscriptionTypes.OPTED_IN),this.zn(t,e,i,n)})}catch(t){this.Tn("Could not request permission for push: "+t,n)}else"denied"===e.permission?this.Tn("The user has blocked notifications from this site, or Safari push is not configured in the Braze dashboard.",n):"granted"===e.permission&&(a.Z.j.info("Device successfully subscribed to push."),this.Un(e.deviceToken,new Date,i))}requestPermission(t,e,i){let n=n=>{switch(n){case"granted":return void("function"==typeof t&&t());case"default":return void("function"==typeof e&&e());case"denied":return void("function"==typeof i&&i());default:a.Z.j.error("Received unexpected permission result "+n)}},r=!1,s=window.Notification.requestPermission(t=>{r&&n(t)});s?s.then(t=>{n(t)}):r=!0}jn(t,e,i,n){let r={userVisibleOnly:!0};null!=e&&(r.applicationServerKey=e),t.pushManager.subscribe(r).then(t=>{a.Z.j.info("Device successfully subscribed to push."),this.Un(t,new Date,i)}).catch(t=>{h.Z.isPushBlocked()?(a.Z.j.info("Permission for push notifications was denied."),"function"==typeof n&&n(!1)):(a.Z.j.error("Push subscription failed: "+t),"function"==typeof n&&n(!0))})}In(){return this.yn?navigator.serviceWorker.getRegistration(this.dn):navigator.serviceWorker.register(this.dn).then(()=>navigator.serviceWorker.ready.then(t=>(t&&"function"==typeof t.update&&t.update().catch(t=>{a.Z.j.info("ServiceWorker update failed: "+t)}),t)))}Vn(t){this.yn||(t.unregister(),a.Z.j.info("Service worker successfully unregistered."))}subscribe(t,e){if(!h.Z.isPushSupported())return a.Z.j.info(d.qn),void("function"==typeof e&&e(!1));if(this.vn){if(!this.yn&&null!=window.location){let t=this.dn;-1===t.indexOf(window.location.host)&&(t=window.location.host+t),-1===t.indexOf(window.location.protocol)&&(t=window.location.protocol+"//"+t);let i=t.substr(0,t.lastIndexOf("/")+1);if(0!==u.SD.Cn().indexOf(i))return a.Z.j.error("Cannot subscribe to push from a path higher than the service worker location (tried to subscribe from "+window.location.pathname+" but service worker is at "+t+")"),void("function"==typeof e&&e(!0))}if(h.Z.isPushBlocked())return void this.Tn("Notifications from this site are blocked. This may be a temporary embargo or a permanent denial.",e);if(this.yt&&!this.yt.En()&&0===this.yt.li())return a.Z.j.info("Waiting for VAPID key from server config before subscribing to push."),void this.yt.Rn(()=>{this.subscribe(t,e)});let i=h.Z.isPushPermissionGranted();this.requestPermission(()=>{!i&&this.hn&&this.hn.setPushNotificationSubscriptionType(l.Z.NotificationSubscriptionTypes.OPTED_IN),this.In().then(i=>{if(null==i)return a.Z.j.error("No service worker registration. Set the `manageServiceWorkerExternally` initialization option to false or ensure that your service worker is registered before calling registerPush."),void("function"==typeof e&&e(!0));i.pushManager.getSubscription().then(n=>{let l=null;if(this.yt&&null!=this.yt.En()&&(l=a.Z.On.Fn(this.yt.En())),n){let u,h=null,c=null;if(this.u&&(u=this.u.v(o.I.k.Bn)),u&&!(0,r.kJ)(u)){let t;try{t=s.Z.Yn(u).Mn}catch(e){t=null}null==t||isNaN(t.getTime())||0===t.getTime()||(c=new Date(h=t)).setMonth(h.getMonth()+6)}null!=l&&n.options&&n.options.applicationServerKey&&n.options.applicationServerKey.byteLength&&n.options.applicationServerKey.byteLength>0&&!(0,r.Xy)(l,new Uint8Array(n.options.applicationServerKey))?(n.options.applicationServerKey.byteLength>12?a.Z.j.info("Device was already subscribed to push using a different VAPID provider, creating new subscription."):a.Z.j.info("Attempting to upgrade a gcm_sender_id-based push registration to VAPID - depen
1ding on the browser this may or may not result in the same gcm_sender_id-based subscription."),this.An(n,i,l,t,e)):n.expirationTime&&new Date(n.expirationTime).valueOf()<=new Date().valueOf()?(a.Z.j.info("Push subscription is expired, creating new subscription."),this.An(n,i,l,t,e)):u&&(0,r.kJ)(u)?this.An(n,i,l,t,e):null==c?(a.Z.j.info("No push subscription creation date found, creating new subscription."),this.An(n,i,l,t,e)):c.valueOf()<=new Date().valueOf()?(a.Z.j.info("Push subscription older than 6 months, creating new subscription."),this.An(n,i,l,t,e)):(a.Z.j.info("Device already subscribed to push, sending existing subscription to backend."),this.Un(n,h,t))}else this.jn(i,l,t,e)}).catch(t=>{a.Z.j.error("Error checking current push subscriptions: "+t)})}).catch(t=>{a.Z.j.error("ServiceWorker registration failed: "+t)})},()=>{let t="Permission for push notifications was ignored.";h.Z.isPushBlocked()&&(t+=" The browser has automatically blocked further permission requests for a period (probably 1 week)."),a.Z.j.info(t),"function"==typeof e&&e(!0)},()=>{a.Z.j.info("Permission for push notifications was denied."),"function"==typeof e&&e(!1)})}else if(this.Pn){if(null==this.bn||""===this.bn)return a.Z.j.error("You must supply the safariWebsitePushId initialization option in order to use registerPush on Safari"),void("function"==typeof e&&e(!0));
1let i=window.safari.pushNotification.permission(this.bn);this.zn(this.bn,i,t,e)}}unsubscribe(t,e){if(!h.Z.isPushSupported())return a.Z.j.info(d.qn),void("function"==typeof e&&e());this.vn?navigator.serviceWorker.getRegistration().then(i=>{i?i.pushManager.getSubscription().then(n=>{n&&(this.xn(),n.unsubscribe().then(n=>{n?(a.Z.j.info("Device successfully unsubscribed from push."),"function"==typeof t&&t()):(a.Z.j.error("Failed to unsubscribe device from push."),"function"==typeof e&&e()),this.Vn(i)}).catch(t=>{a.Z.j.error("Push unsubscription error: "+t),"function"==typeof e&&e()}))}).catch(t=>{a.Z.j.error("Error unsubscribing from push: "+t),"function"==typeof e&&e()}):(a.Z.j.info("Device already unsubscribed from push."),"function"==typeof t&&t())}):this.Pn&&(this.xn(),a.Z.j.info("Device unsubscribed from push."),"function"==typeof t&&t())}}d.qn="Push notifications are not supported in this browser.";let p={t:!1,i:null,m:()=>(p.o(),p.i||(p.i=new d(n.ZP.br(),n.ZP.Ma(),n.ZP.te(),n.ZP.Ys(),n.ZP.nn(n.JY._a),n.ZP.nn(n.JY.ka),n.ZP.tr(),n.ZP.nn(n.JY.qa),n.ZP.nn(n.JY.Aa),n.ZP.l())),p.i),o:()=>{p.t||(n.ZP.g(p),p.t=!0)},destroy:()=>{p.i=null,p.t=!1}};var f=p},12261:function(t,e,i){i.r(e),i.d(e,{requestPushPermission:function(){return s}});var n=i(19053),r=i(17457);function s(t,e){if(n.ZP.rr())return r.default.m().subscribe((e,i,r)=>{let s=n.ZP.cr();s&&s.requestImmediateDataFlush(),"function"==typeof t&&t(e,i,r)},e)}},77824:function(t,e,i){i.r(e),i.d(e,{unregisterPush:function(){return s}});var n=i(19053),r=i(17457);function s(t,e){if(n.ZP.rr())return r.default.m().unsubscribe(t,e)}},74556:function(t,e){let i={kn:()=>"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&"showNotification"in ServiceWorkerRegistration.prototype&&"PushManager"in window,Dn:()=>"safari"in window&&"pushNotification"in window.safari&&"function"==typeof window.safari.pushNotification.permission&&"function"==typeof window.safari.pushNotification.requestPermission,isPushSupported:()=>i.kn()||i.Dn(),isPushBlocked:()=>{let t=i.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"denied"===window.Notification.permission,e=i.isPushSupported()&&(!("Notification"in window)||null==window.Notification);return t||e},isPushPermissionGranted:()=>i.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"granted"===window.Notification.permission,Gr:()=>!i.isPushBlocked()&&i.isPushSupported()&&!i.isPushPermissionGranted()};e.Z=i},17615:function(t,e,i){i.d(e,{Z:function(){return l}});var n=i(72893),r=i(82588),s=i(3905),a=i(27671),o=i(57750);class l{constructor(t,e){this.wt=t,this.ki=e,this.wt=t,this.ki=e}getUserId(t){let e=this.wt.getUserId();if("function"!=typeof t)return e;r.Z.j.warn("The callback for getUserId is deprecated. You can access its return value directly instead (e.g. `const id = braze.getUser().getUserId()`)"),t(e)}addAlias(t,e){return!(0,s.ro)(t,"add alias","the alias",!1)||t.length<=0?(r.Z.j.error("addAlias requires a non-empty alias"),!1):!(0,s.ro)(e,"add alias","the label",!1)||e.length<=0?(r.Z.j.error("addAlias requires a non-empty label"),!1):this.ki.$n(t,e).O}setFirstName(t){return!!(0,s.ro)(t,"set first name","the firstName",!0)&&this.wt.nu("first_name",t)}setLastName(t){return!!(0,s.ro)(t,"set last name","the lastName",!0)&&this.wt.nu("last_name",t)}setEmail(t){return null===t||(0,s.vV)(t)?this.wt.nu("email",t):(r.Z.j.error(`Cannot set email address - "${t}" did not pass RFC-5322 validation.`),!1)}setGender(t){return"string"==typeof t&&(t=t.toLowerCase()),!(null!==t&&!(0,n.fk)(l.Genders,t,`Gender "${t}" is not a valid gender.`,"User.Genders"))&&this.wt.nu("gender",t)}setDateOfBirth(t,e,i){return null===t&&null===e&&null===i?this.wt.nu("dob",null):(t=null!=t?parseInt(t.toString()):null,e=null!=e?parseInt(e.toString()):null,i=null!=i?parseInt(i.toString()):null,null==t||null==e||null==i||isNaN(t)||isNaN(e)||isNaN(i)||e>12||e<1||i>31||i<1?(r.Z.j.error("Cannot set date of birth - parameters should comprise a valid date e.g. setDateOfBirth(1776, 7, 4);"),!1):this.wt.nu("dob",`${t}-${e}-${i}`))}setCountry(t){return!!(0,s.ro)(t,"set country","the country",!0)&&this.wt.nu("country",t)}setHomeCity(t){return!!(0,s.ro)(t,"set home city","the homeCity",!0)&&this.wt.nu("home_city",t)}setLanguage(t){return!!(0,s.ro)(t,"set language","the language",!0)&&this.wt.nu("language",t)}setEmailNotificationSubscriptionType(t){return!!(0,n.fk)(l.NotificationSubscriptionTypes,t,`Email notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("email_subscribe",t)}setPushNotificationSubscriptionType(t){return!!(0,n.fk)(l.NotificationSubscriptionTypes,t,`Push notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("push_subscribe",t)}setPhoneNumber(t){return!!(0,s.ro)(t,"set phone number","the phoneNumber",!0)&&(null===t||t.match(l.Ln)?this.wt.nu("phone",t):(r.Z.j.error(`Cannot set phone number - "${t}
1" did not pass validation.`),!1))}setLastKnownLocation(t,e,i,n,s){return null==t||null==e?(r.Z.j.error("Cannot set last-known location - latitude and longitude are required."),!1):(t=parseFloat(t.toString()),e=parseFloat(e.toString()),null!=i&&(i=parseFloat(i.toString())),null!=n&&(n=parseFloat(n.toString())),null!=s&&(s=parseFloat(s.toString())),isNaN(t)||isNaN(e)||null!=i&&isNaN(i)||null!=n&&isNaN(n)||null!=s&&isNaN(s)?(r.Z.j.error("Cannot set last-known location - all supplied parameters must be numeric."),!1):t>90||t<-90||e>180||e<-180?(r.Z.j.error("Cannot set last-known location - latitude and longitude are bounded by \xb190 and \xb1180 respectively."),!1):null!=i&&i<0||null!=s&&s<0?(r.Z.j.error("Cannot set last-known location - accuracy and altitudeAccuracy may not be negative."),!1):this.ki.setLastKnownLocation(this.wt.getUserId(),t,e,n,i,s).O)}setCustomUserAttribute(t,e,i){if(!(0,s.bj)(t))return!1;let l=e=>{let[i]=(0,s.lg)(e,a.db,"attribute value",`set custom user attribute "${t}"`,"custom user attribute");return i};if((0,n.kJ)(e)){let[i,n]=(0,s.$g)(t,e);if(!i&&!n&&0!==e.length)return!1;if(i||0===e.length)return this.ki.Gn(r.Z.q.Hn,t,e).O;for(let t of e)if(!l(t))return!1}else if((0,n.Kn)(e)){if(!l(e))return!1;if(i)return this.ki.Gn(r.Z.q.Kn,t,e).O}else if(!(void 0!==e&&(0,s.UO)(e))||((0,n.J_)(e)&&(e=(0,o.BT)(e)),"string"==typeof e&&!(0,s.zM)(e,`set custom user attribute "${t}"`,"the element in the given array")))return!1;return this.wt.setCustomUserAttribute(t,e)}addToCustomAttributeArray(t,e){return!!(0,s.zM)(t,"add to custom user attribute array","the given key")&&!(null!=e&&!(0,s.zM)(e,"add to custom user attribute array","the given value"))&&this.ki.Gn(r.Z.q.Jn,t,e).O}removeFromCustomAttributeArray(t,e){return!!(0,s.zM)(t,"remove from custom user attribute array","the given key")&&!(null!=e&&!(0,s.zM)(e,"remove from custom user attribute array","the given value"))&&this.ki.Gn(r.Z.q.Qn,t,e).O}incrementCustomUserAttribute(t,e){if(!(0,s.zM)(t,"increment custom user attribute","the given key"))return!1;null==e&&(e=1);let i=parseInt(e.toString());return isNaN(i)||i!==parseFloat(e.toString())?(r.Z.j.error(`Cannot increment custom user attribute because the given incrementValue "${e}" is not an integer.`),!1):this.ki.Gn(r.Z.q.Xn,t,i).O}setCustomLocationAttribute(t,e,i){return!!(0,s.zM)(t,"set custom location attribute","the given key")&&((null!==e||null!==i)&&(e=null!=e?parseFloat(e.toString()):null,i=null!=i?parseFloat(i.toString()):null,null==e&&null!=i||null!=e&&null==i||null!=e&&(isNaN(e)||e>90||e<-90)||null!=i&&(isNaN(i)||i>180||i<-180))?(r.Z.j.error("Received invalid values for latitude and/or longitude. Latitude and longitude are bounded by \xb190 and \xb1180 respectively, or must both be null for removal."),!1):this.ki.Zn(t,e,i).O)}addToSubscriptionGroup(t){return!(0,s.ro)(t,"add user to subscription group","subscription group ID",!1)||t.length<=0?(r.Z.j.error("addToSubscriptionGroup requires a non-empty subscription group ID"),!1):this.ki.au(t,l.du.SUBSCRIBED).O}removeFromSubscriptionGroup(t){return!(0,s.ro)(t,"remove user from subscription group","subscription group ID",!1)||t.length<=0?(r.Z.j.error("removeFromSubscriptionGroup requires a non-empty subscription group ID"),!1):this.ki.au(t,l.du.UNSUBSCRIBED).O}_n(t,e,i,n,r){this.wt._n(t,e,i,n,r),this.ki.pu()}Nn(t){this.wt.Nn(t)}}l.Genders={MALE:"m",FEMALE:"f",OTHER:"o",UNKNOWN:"u",NOT_APPLICABLE:"n",PREFER_NOT_TO_SAY:"p"},l.NotificationSubscriptionTypes={OPTED_IN:"opted_in",SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},l.Ln=/^[0-9 .\\(\\)\\+\\-]+$/,l.du={SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},l.bu="user_id",l.lu="custom",l.lr=997},67:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(82588),r=i(85563);class s{constructor(t,e){this.cards=t,this.lastUpdated=e,this.cards=t,this.lastUpdated=e}getUnreadCardCount(){let t=0;for(let e of this.cards)e.viewed||e instanceof r.Z||t++;return t}ur(){n.Z.j.error("Must be implemented in a subclass")}logCardImpressions(t){n.Z.j.error("Must be implemented in a subclass")}logCardClick(t){n.Z.j.error("Must be implemented in a subclass")}sr(){n.Z.j.error("Must be implemented in a subclass")}}s.mr=6e4,s.Oh=500,s.uo=1e4}
1,40158:function(t,e,i){i.d(e,{Z:function(){return n}});class n{constructor(){}Ss(t){}changeUser(t=!1){}clearData(t=!1){}}},27671:function(t,e,i){i.d(e,{De:function(){return r},Fz:function(){return n},Go:function(){return u},JG:function(){return c},O4:function(){return h},S6:function(){return f},Tt:function(){return p},U4:function(){return s},_P:function(){return o},dH:function(){return d},db:function(){return l},rF:function(){return a}});let n=100,r="inAppMessage must be an InAppMessage object",s="must be a Card object",a=500,o="logCustomEvent",l="setCustomUserAttribute",u="Braze must be initialized before calling methods.",h=5,c=90,d=72e5,p=3,f=1},39179:function(t,e,i){var n=i(82588),r=i(19053),s=i(57559),a=i(24673);e.Z={N:(t,e,i)=>{var o;let l=new a.Z,u=r.ZP.aa();if(!u)return n.Z.j.info(`Not logging event with type "${t}" because the current session ID could not be found.`),l;let h=u.co();l.ve.push(new s.Z(i||(null===(o=r.ZP.ir())||void 0===o?void 0:o.getUserId()),t,new Date().valueOf(),h,e));let c=r.ZP.l();return c&&(l.O=c.bo(l.ve)),l}}},3486:function(t,e,i){i.d(e,{cP:function(){return Z},tQ:function(){return y},cz:function(){return k},Yz:function(){return S},cV:function(){return E},GB:function(){return I},Of:function(){return A}});var n=i(67),r=i(35608),s=i(11507),a=i(85563),o=i(72857),l=i(72893),u=i(7429),h=i(19053),c=i(7169),d=i(82588),p={en:{NO_CARDS_MESSAGE:"We have no updates for you at this time.<br/>Please check again later.",FEED_TIMEOUT_MESSAGE:"Sorry, this refresh timed out.<br/>Please try again later."},ar:{NO_CARDS_MESSAGE:"ليس لدينا أي تحديث. يرجى التحقق مرة أخرى لاحقاً",FEED_TIMEOUT_MESSAGE:"يرجى تكرار المحاولة لاحقا"},cs:{NO_CARDS_MESSAGE:"V tuto chv\xedli pro v\xe1s nem\xe1me ž\xe1dn\xe9 aktualizace.<br/>Zkontrolujte pros\xedm znovu později.",FEED_TIMEOUT_MESSAGE:"Pros\xedm zkuste to znovu později."},da:{NO_CARDS_MESSAGE:"Vi har ingen updates.<br/>Pr\xf8v venligst senere.",FEED_TIMEOUT_MESSAGE:"Pr\xf8v venligst senere."},de:{NO_CARDS_MESSAGE:"Derzeit sind keine Updates verf\xfcgbar.<br/>Bitte sp\xe4ter noch einmal versuchen.",FEED_TIMEOUT_MESSAGE:"Bitte sp\xe4ter noch einmal versuchen."},es:{NO_CARDS_MESSAGE:"No tenemos actualizaciones.<br/>Por favor compru\xe9belo m\xe1s tarde.",FEED_TIMEOUT_MESSAGE:"Por favor int\xe9ntelo m\xe1s tarde."},"es-mx":{NO_CARDS_MESSAGE:"No tenemos ninguna actualizaci\xf3n.<br/>Vuelva a verificar m\xe1s tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, vuelva a intentarlo m\xe1s tarde."},et:{NO_CARDS_MESSAGE:"Uuendusi pole praegu saadaval.<br/>Proovige hiljem uuesti.",FEED_TIMEOUT_MESSAGE:"Palun proovige hiljem uuesti."},fi:{NO_CARDS_MESSAGE:"P\xe4ivityksi\xe4 ei ole saatavilla.<br/>Tarkista my\xf6hemmin uudelleen.",FEED_TIMEOUT_MESSAGE:"Yrit\xe4 my\xf6hemmin uudelleen."},fr:{NO_CARDS_MESSAGE:"Aucune mise \xe0 jour disponible.<br/>Veuillez v\xe9rifier ult\xe9rieurement.",FEED_TIMEOUT_MESSAGE:"Veuillez r\xe9essayer ult\xe9rieurement."},he:{NO_CARDS_MESSAGE:".אין לנו עדכונים. בבקשה בדוק שוב בקרוב",FEED_TIMEOUT_MESSAGE:".בבקשה נסה שוב בקרוב"},hi:{NO_CARDS_MESSAGE:"हमारे पास कोई अपडेट नहीं हैं। कृपया बाद में फिर से जाँच करें.।",FEED_TIMEOUT_MESSAGE:"कृपया बाद में दोबारा प्रयास करें।."},id:{NO_CARDS_MESSAGE:"Kami tidak memiliki pembaruan. Coba lagi nanti.",FEED_TIMEOUT_MESSAGE:"Coba lagi nanti."},it:{NO_CARDS_MESSAGE:"Non ci sono aggiornamenti.<br/>Ricontrollare pi\xf9 tardi.",FEED_TIMEOUT_MESSAGE:"Riprovare pi\xf9 tardi."},ja:{NO_CARDS_MESSAGE:"アップデートはありません。<br/>後でもう一度確認してください。",FEED_TIMEOUT_MESSAGE:"後でもう一度試してください。"},ko:{NO_CARDS_MESSAGE:"업데이트가 없습니다. 다음에 다시 확인해 주십시오.",FEED_TIMEOUT_MESSAGE:"나중에 다시 시도해 주십시오."},ms:{NO_CARDS_MESSAGE:"Tiada kemas kini. Sila periksa kemudian.",FEED_TIMEOUT_MESSAGE:"Sila cuba kemudian."},nl:{NO_CARDS_MESSAGE:"Er zijn geen updates.<br/>Probeer het later opnieuw.",FEED_TIMEOUT_MESSAGE:"Probeer het later opnieuw."},no:{NO_CARDS_MESSAGE:"Vi har ingen oppdateringer.<br/>Vennligst sjekk igjen senere.",FEED_TIMEOUT_MESSAGE:"Vennligst pr\xf8v igjen senere."},pl:{NO_CARDS_MESSAGE:"Brak aktualizacji.<br/>Proszę sprawdzić ponownie p\xf3źniej.",FEED_TIMEOUT_MESSAGE:"Proszę spr\xf3bować ponownie p\xf3źniej."},pt:{NO_CARDS_MESSAGE:"N\xe3o temos atualiza\xe7\xf5es.<br/>Por favor, verifique mais tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, tente mais tarde."},"pt-br":{NO_CARDS_MESSAGE:"N\xe3o temos nenhuma atualiza\xe7\xe3o.<br/>Verifique novamente mais tarde.",FEED_TIMEOUT_MESSAGE:"Tente novamente mais tarde."},ru:{NO_CARDS_MESSAGE:"Обновления недоступны.<br/>Пожалуйста, проверьте снова позже.",FEED_TIMEOUT_MESSAGE:"Пожалуйста, повторите попытку позже."},sv:{NO_CARDS_MESSAGE:"Det finns inga uppdateringar.<br/>
1F\xf6rs\xf6k igen senare.",FEED_TIMEOUT_MESSAGE:"F\xf6rs\xf6k igen senare."},th:{NO_CARDS_MESSAGE:"เราไม่มีการอัพเดต กรุณาตรวจสอบภายหลัง.",FEED_TIMEOUT_MESSAGE:"กรุณาลองใหม่ภายหลัง."},uk:{NO_CARDS_MESSAGE:"Оновлення недоступні.<br/>ласка, перевірте знову пізніше.",FEED_TIMEOUT_MESSAGE:"Будь ласка, спробуйте ще раз пізніше."},vi:{NO_CARDS_MESSAGE:"Ch\xfang t\xf4i kh\xf4ng c\xf3 cập nhật n\xe0o.<br/>Vui l\xf2ng kiểm tra lại sau.",FEED_TIMEOUT_MESSAGE:"Vui l\xf2ng thử lại sau."},"zh-hk":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},"zh-hans":{NO_CARDS_MESSAGE:"暂时没有更新.<br/>请稍后再试.",FEED_TIMEOUT_MESSAGE:"请稍候再试."},"zh-hant":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},"zh-tw":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},zh:{NO_CARDS_MESSAGE:"暂时没有更新.<br/>请稍后再试.",FEED_TIMEOUT_MESSAGE:"请稍候再试."}};class f{constructor(t,e=!1){if(this.language=t,null!=t&&(t=t.toLowerCase()),null!=t&&null==p[t]){let e=t.indexOf("-");e>0&&(t=t.substring(0,e))}if(null==p[t]){let i="Braze does not yet have a localization for language "+t+", defaulting to English. Please contact us if you are willing and able to help us translate our SDK into this language.";e?d.Z.j.error(i):d.Z.j.info(i),t="en"}this.language=t}get(t){return p[this.language][t]}}let b={t:!1,i:null,m:()=>{if(b.o(),!b.i){let t=c.Z.language,e=!1;h.ZP.nn(h.JY.Ba)&&(t=h.ZP.nn(h.JY.Ba),e=!0),b.i=new f(t,e)}return b.i},o:()=>{b.t||(h.ZP.g(b),b.t=!0)},destroy:()=>{b.i=null,b.t=!1}};var m=i(18503),g=i(3905),v=i(73046);let Z="data-last-requested-refresh",w={};function y(t){t&&(t.className=t.className.replace("ab-show","ab-hide"),setTimeout(()=>{t&&t.parentNode&&t.parentNode.removeChild(t)},n.Z.Oh));let e=t.getAttribute("data-update-subscription-id");null!=e&&(0,m.A)(e);let i=t.getAttribute("data-listener-id");null!=i&&(window.removeEventListener("scroll",w[i]),delete w[i])}function x(t,e){let i=document.createElement("div");if(i.className="ab-feed-body",i.setAttribute("aria-label","Feed"),i.setAttribute("role","feed"),null==t.lastUpdated){let t=document.createElement("div");t.className="ab-no-cards-message";let e=document.createElement("i");e.className="fa fa-spinner fa-spin fa-4x ab-initial-spinner",t.appendChild(e),i.appendChild(t)}else{let n=!1,s=e=>t.logCardClick(e);for(let o of t.cards){let l=o instanceof a.Z;!l||t.ur()?(i.appendChild((0,r.Dj)(o,s,e)),n=n||!l):d.Z.j.error("Received a control card for a legacy news feed. Control cards are only supported with content cards.")}if(!n){let t=document.createElement("div");t.className="ab-no-cards-message",t.innerHTML=b.m().get("NO_CARDS_MESSAGE")||"",t.setAttribute("role","article"),i.appendChild(t)}}return i}function k(t,e){if(null!=t&&null!=e){let i=[],n=e.querySelectorAll(".ab-card");t.yo||(t.yo={});for(let e=0;e<n.length;e++){let a=(0,r.sv)(n[e]),o=(0,s.rJ)(n[e]),l=(0,s.Fr)(n[e]);if(t.yo[a]){o||l||(0,r.pq)(n[e]);continue}let u=(0,r.ql)(n[e]),h=(0,r.rW)(n[e]),c=u,d=h;if(!u&&o&&(u=!0,(0,r.Ji)(n[e])),!h&&l&&(h=!0,(0,r.Zw)(n[e])),u&&h){if(c&&d)continue;for(let e of t.cards)if(e.id===a){t.yo[e.id]=!0,i.push(e);break}}}i.length>0&&t.logCardImpressions(i)}}function E(t,e){if(null==t||null==e)return;e.setAttribute("aria-busy","true");let i=e.querySelectorAll(".ab-refresh-button")[0];null!=i&&(i.className+=" fa-spin");let r=new Date().valueOf().toString();e.setAttribute("data-last-requested-refresh",r),setTimeout(()=>{if(e.getAttribute("data-last-requested-refresh")===r){let t=e.querySelectorAll(".fa-spin");for(let e=0;e<t.length;
1e++)t[e].className=t[e].className.replace(/fa-spin/g,"");let i=e.querySelectorAll(".ab-initial-spinner")[0];if(null!=i){let t=document.createElement("span");t.innerHTML=b.m().get("FEED_TIMEOUT_MESSAGE")||"",null!=i.parentNode&&(i.parentNode.appendChild(t),i.parentNode.removeChild(i))}"true"===e.getAttribute("aria-busy")&&e.setAttribute("aria-busy","false")}},n.Z.uo),t.sr()}function S(t,e,i){let n=document.createElement("div");n.className="ab-feed ab-hide ab-effect-slide",n.setAttribute("role","dialog"),n.setAttribute("aria-label","Feed"),n.setAttribute("tabindex","-1");let r=document.createElement("div");r.className="ab-feed-buttons-wrapper",r.setAttribute("role","group"),n.appendChild(r);let s=document.createElement("i");s.className="fa fa-times ab-close-button",s.setAttribute("aria-label","Close Feed"),s.setAttribute("tabindex","0"),s.setAttribute("role","button");let a=t=>{y(n),t.stopPropagation()};s.addEventListener("keydown",t=>{t.keyCode!==u.m.Fo&&t.keyCode!==u.m.To||a(t)}),s.onclick=a;let o=document.createElement("i");o.className="fa fa-refresh ab-refresh-button",t&&null==t.lastUpdated&&(o.className+=" fa-spin"),o.setAttribute("aria-label","Refresh Feed"),o.setAttribute("tabindex","0"),o.setAttribute("role","button");let l=e=>{E(t,n),e.stopPropagation()};o.addEventListener("keydown",t=>{t.keyCode!==u.m.Fo&&t.keyCode!==u.m.To||l(t)}),o.onclick=l,r.appendChild(o),r.appendChild(s),n.appendChild(x(t,e));let h=()=>k(t,n);if(n.addEventListener("scroll",h),!i){window.addEventListener("scroll",h);let t=d.Z.Z.Y();w[t]=h,n.setAttribute("data-listener-id",t)}return n}function A(t,e,i,n,r){if(!(0,l.kJ)(e))return;let s=[];for(let t of e)if(t instanceof o.Z){if(t.url&&g.y9.test(t.url)){let e=(0,v.OL)(t.url);if((0,v.je)(e)){d.Z.j.error((0,v.Tu)(v.yi._r,"Content Card"));continue}}s.push(t)}if(t.cards=s,t.lastUpdated=i,null!=n){if(n.setAttribute("aria-busy","false"),null==t.lastUpdated)y(n);else{let e=n.querySelectorAll(".ab-feed-body")[0];if(null!=e){let i=x(t,r);e.parentNode&&e.parentNode.replaceChild(i,e),k(t,i.parentNode)}}}}function I(t,e){t&&e.setAttribute("data-update-subscription-id",t)}},43256:function(t,e,i){i.r(e),i.d(e,{BrazeSdkMetadata:function(){return U},CaptionedImage:function(){return s.Z},Card:function(){return n.Z},ClassicCard:function(){return a.Z},ContentCards:function(){return _},ControlCard:function(){return o.Z},ControlMessage:function(){return tk.Z},DeviceProperties:function(){return q.Z},FeatureFlag:function(){return t5.Z},Feed:function(){return td.Z},FullScreenMessage:function(){return tE.Z},HtmlMessage:function(){return tS.Z},ImageOnly:function(){return r.Z},InAppMessage:function(){return ty.Z},InAppMessageButton:function(){return tx.Z},ModalMessage:function(){return tA.Z},SlideUpMessage:function(){return tI.Z},User:function(){return t3.Z},WindowUtils:function(){return tB.SD},addSdkMetadata:function(){return F},automaticallyShowInAppMessages:function(){return tY},changeUser:function(){return L.changeUser},deferInAppMessage:function(){return tK},destroy:function(){return $},destroyFeed:function(){return tb},disableSDK:function(){return G},enableSDK:function(){return J},getAllFeatureFlags:function(){return t6},getCachedContentCards:function(){return T},getCachedFeed:function(){return tf},getDeferredInAppMessage:function(){return tX},getDeviceId:function(){return Y},getFeatureFlag:function(){return t7},getUser:function(){return K.P},handleBrazeAction:function(){return tc.h},hideContentCards:function(){return P},initialize:function(){return X},isDisabled:function(){return W},isPushBlocked:function(){return tH},isPushPermissionGranted:function(){return tV},isPushSupported:function(){return tQ},logCardClick:function(){return l.d},logCardDismissal:function(){return u.K},logCardImpressions:function(){return h.p},logContentCardClick:function(){return d},logContentCardImpressions:function(){return c},logCustomEvent:function(){return H.logCustomEvent},logFeatureFlagImpression:function(){return t9},logFeedDisplayed:function(){return tm.j},logInAppMessageButtonClick:function(){return tF},logInAppMessageClick:function(){return tM},logInAppMessageHtmlClick:function(){return tz},logInAppMessageImpression:function(){return tj},logPurchase:function(){return V.logPurchase},openSession:function(){return te},refreshFeatureFlags:function(){return t2.refreshFeatureFlags},removeAllSubscriptions:function(){return ti},removeSubscription:function(){return tn.A},requestContentCardsRefresh:function(){return C},requestFeedRefresh:function(){return tg.a},requestImmediateDataFlush:function(){return tr.requestImmediateDataFlush},requestPushPermission:function(){return t0.requestPushPermission},setLogger:function(){return ts},setSdkAuthenticationSignature:function(){return to},showContentCards:function(){return R},showFeed:function(){return tv.showFeed},showInAppMessage:function(){return tG},subscribeToContentCardsUpdates:function(){return D},subscribeToFeatureFlagsUpdates:function(){return t4},subscribeToFeedUpdates:function(){return tZ.n},subscribeToInAppMessage:function(){return tJ},subscribeToSdkAuthenticationFailures:function(){return tl},toggleContentCards:function(){return z},toggleFeed:function(){return tw},toggleLogging:function(){return tu},unregisterPush:function(){return t1.unregisterPush},wipeData:function(){return th}});var n=i(72857),r=i(8378),s=i(5383),a=i(37653),o=i(85563),l=i(1280),u=i(22080),h=i(11066);function c(t){return(0,h.p)(t,!0)}function d(t){return(0,l.d)(t,!0)}var p=i(67),f=i(19053),b=i(41843),m=i(40158),g=i(57750),v=i(1148),Z=i(23756),w=i(82588),y=i(45966),x=i(74663),k=i(39179),E=i(76870),S=i(93307),A=i(27671);class I extends m.Z{constructor(t,e,i,n,r){super(),this.wt=t,this.u=e,this.yt=i,this.Jt=n,this.$t=r,this.wt=t,this.u=e,this.yt=i,this.Jt=n,this.$t=r,this.Bt=new x.Z,f.ZP.Ht(this.Bt),this.Kt=0,this.Qt=0,this.cards=[],this.Yt();let s=w.Z.ts.Zt;new w.Z.es(s,w.Z.j).ss(s.rs.hs,t=>{this.ns(t)}),this.os=null,this.ls=null,this.us=null,this.cs=null,this.fs=null,this.ds=10,this.ps=0}Cs(){return this.os}ws(t){this.os=t}bs(){return this.ls}vs(t){this.ls=t}Yt(){if(!this.u)return;let t=this.u.v(y.I.k.gs)||[],e=[];for(let i=0;i<t.length;i++){let n=(0,Z.rN)(t[i]);null!=n&&e.push(n)}this.cards=this.ys(this.Ns(e,!1)),this.Kt=this.u.v(y.I.k.js)||this.Kt,this.Qt=this.u.v(y.I.k.Rs)||this.Qt}Ts(t,e=!1,i=0,n=0){let r;if(e)for(let t of(r=[],this.cards))t.test&&r.push(t);else r=this.cards.slice();for(let i=0;i<t.length;i++){let n=t[i],s=null;for(let t=0;t<this.cards.length;t++)if(n.id===this.cards[t].id){s=this.cards[t];break}if(e){let t=(0,Z.xA)(n);null!=s&&s.viewed&&t&&(t.viewed=!0),null!=t&&r.push(t)}else if(null==s){let t=(0,Z.xA)(n);null!=t&&r.push(t)}else if(!s.Ct(n)){for(let t=0;t<r.length;t++)if(n.id===r[t].id){r.splice(t,1);break}}}this.cards=this.ys(this.Ns(r,e)),this.Ds(),this.Kt=i,this.Qt=n,this.u&&(this.u.D(y.I.k.js,this.Kt),this.u.D(y.I.k.Rs,this.Qt))}Ss(t){if(this.ks()&&null!=t&&t.cards){this.u&&this.u.D(y.I.k.Us,f.ZP.As());let e=t.full_sync;e||this.Yt(),this.Ts(t.cards,e,t.last_full_sync_at,t.last_card_updated_at),this.Bt.Dt(this.Ls(!0))}}Fs(t){this.u&&this.u.D(y.I.k.zs,t)}
1Ms(t,e,i){let n;let r=()=>{this.xs(e,i,!0)},s=t?(0,b.D)(t):null;if(this.Es(),!s||!s["retry-after"])return void this.Fs(0);let a=s["retry-after"];if(isNaN(a)&&!isNaN(Date.parse(a)))(n=Date.parse(a)-new Date().getTime())<0&&r();else{if(isNaN(parseFloat(a.toString())))return k.Z.N(w.Z.q.qs,{e:"Received unexpected value for retry-after header in /sync response: "+a}),void this.Fs(0);n=1e3*parseFloat(a.toString())}this.us=window.setTimeout(()=>{r()},n);let o=0;this.u&&(o=this.u.v(y.I.k.zs)),(null==o||isNaN(parseInt(o.toString())))&&(o=0),this.Fs(parseInt(o.toString())+1)}ns(t){if(!this.ks())return;this.Yt();let e=this.cards.slice(),i=null;this.wt&&(i=this.wt.getUserId());for(let n=0;n<t.length;n++)if(i===t[n].userId||null==i&&null==t[n].userId){let i=t[n].card,r=null;for(let t=0;t<this.cards.length;t++)if(i.id===this.cards[t].id){r=this.cards[t];break}if(null==r){let t=(0,Z.xA)(i);null!=t&&e.push(t)}else if(!r.Ct(i)){for(let t=0;t<e.length;t++)if(i.id===e[t].id){e.splice(t,1);break}}}this.cards=this.ys(this.Ns(e,!1)),this.Ds(),this.Bt.Dt(this.Ls(!0))}Ns(t,e){let i={},n={},r={};this.u&&(i=this.u.v(y.I.k.C)||{},n=this.u.v(y.I.k.K)||{},r=this.u.v(y.I.k.G)||{});let s={},a={},o={};for(let e=0;e<t.length;e++){let l=t[e].id;l&&(i[l]&&(t[e].clicked=!0,s[l]=!0),n[l]&&(t[e].viewed=!0,a[l]=!0),r[l]&&(t[e].dismissed=!0,o[l]=!0))}return e&&this.u&&(this.u.D(y.I.k.C,s),this.u.D(y.I.k.K,a),this.u.D(y.I.k.G,o)),t}ys(t){let e=[],i=new Date,n={};this.u&&(n=this.u.v(y.I.k.G)||{});let r=!1;for(let s=0;s<t.length;s++){let a=t[s].url;if(!this.Jt&&a&&(0,v.o)(a)){w.Z.j.error(`Card with url ${a} will not be displayed because Javascript URLs are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable this card.`);continue}let o=t[s].expiresAt,l=!0;if(null!=o&&(l=o>=i),l=l&&!t[s].dismissed)e.push(t[s]);else{let e=t[s].id;e&&(n[e]=!0),r=!0}}return r&&this.u&&this.u.D(y.I.k.G,n),e}Ds(){if(!this.u)return;let t=[];for(let e=0;e<this.cards.length;e++)t.push(this.cards[e].tt());this.u.D(y.I.k.gs,t)}Es(){this.us&&(clearTimeout(this.us),this.us=null)}Is(){null!=this.cs&&(clearTimeout(this.cs),this.cs=null)}Js(t=1e3*this.ds,e,i){this.Is(),this.cs=window.setTimeout(()=>{this.xs(e,i,!0)},t),this.fs=t}xs(t,e,i=!1,n=!0){var r;let s=this.$t,a=this.u;if(!s||!a)return void("function"==typeof e&&e());let o=!i;if(o&&(this.Es(),this.Fs(0)),!this.ks())return void(this.yt&&this.yt.Ps(()=>{this.xs(t,e)}));let l=!0;if(o&&(null===(r=this.yt)||void 0===r?void 0:r.$s())&&(l=this._s()),!l)return void w.Z.j.info("Content card sync being throttled.");n&&this.Is();let u=s.Bs({},!0);a.v(y.I.k.Us)!==f.ZP.As()&&this.Gs(),u.last_full_sync_at=this.Kt,u.last_card_updated_at=this.Qt;let h=s.Hs(u,E.Z.Os.Ks,i),c=!1;s.Qs(u,()=>{if(this.u){let t=new Date().valueOf();o&&this.u.D(y.I.k.Vs,t),E.Z.Ws(this.u,E.Z.Os.Ks,t)}b.Z.Xs({url:s.Ys()+"/content_cards/sync",data:u,headers:h,O:(i,n)=>{if(!s.Zs(u,i,h))return c=!0,void("function"==typeof e&&e());s.ti(),this.Ms(n,t,e),this.Ss(i),c=!1,E.Z.si(this.u,E.Z.Os.Ks,1),"function"==typeof t&&t()},error:t=>{s.ii(t,"retrieving content cards"),c=!0,"function"==typeof e&&e()},ei:()=>{if(c&&n&&!this.cs&&this.ps+1<A.Tt){E.Z.hi(this.u,E.Z.Os.Ks);let i=this.fs;(null==i||i<1e3*this.ds)&&(i=1e3*this.ds),this.Js(Math.min(3e5,(0,S.R)(1e3*this.ds,3*i)),t,e),this.ps=this.ps+1}}})})}Ls(t){t||this.Yt();let e=this.ys(this.cards);e.sort((t,e)=>t.pinned&&!e.pinned?-1:e.pinned&&!t.pinned?1:t.updated&&e.updated&&t.updated>e.updated?-1:t.updated&&e.updated&&e.updated>t.updated?1:0);let i=Math.max(this.Qt||0,this.Kt||0);return 0===i&&(i=void 0),this.u&&this.u.v(y.I.k.Rs)===this.Qt&&void 0===i&&(i=this.Qt),new _(e,(0,g.X2)(i))}ri(t){return this.Bt.It(t)}Gs(){this.Kt=0,this.Qt=0,this.u&&(this.u.ni(y.I.k.js),this.u.ni(y.I.k.Rs))}changeUser(t){t||(this.cards=[],this.Bt.Dt(new _(this.cards.slice(),null)),this.u&&(this.u.ni(y.I.k.gs),this.u.ni(y.I.k.C),this.u.ni(y.I.k.K),this.u.ni(y.I.k.G))),this.Gs()}clearData(t){this.Kt=0,this.Qt=0,this.cards=[],this.Bt.Dt(new _(this.cards.slice(),null)),t&&this.u&&(this.u.ni(y.I.k.gs),this.u.ni(y.I.k.C),this.u.ni(y.I.k.K),this.u.ni(y.I.k.G),this.u.ni(y.I.k.js),this.u.ni(y.I.k.Rs))}ks(){return!(this.yt&&!this.yt.oi())||(0!==this.yt.li()&&this.ai(),!1)}ui(t){this.u&&this.u.D(y.I.k.ci,t)}fi(){return this.u?this.u.v(y.I.k.ci):null}_s(){let t=this.u,e=this.yt;if(!t||!e)return!0;let i=t.v(y.I.k.Vs);if(null==i||isNaN(i))return!0;let n=e.di(),r=e.mi();if(-1===n||-1===r)return!0;let s=this.fi();return(null==s||isNaN(s))&&(s=n),!((s=Math.min(s+(new Date().valueOf()-i)/1e3/r,n))<1)&&(s=Math.trunc(s)-1,this.ui(s),!0)}ai(){this.Bt.Dt(new _([],new Date)),this.u&&this.u.ni(y.I.k.gs)}}let N={t:!1,provider:null,er:()=>
1(N.o(),N.provider||(N.provider=new I(f.ZP.ir(),f.ZP.l(),f.ZP.tr(),f.ZP.nr(),f.ZP.ar()),f.ZP.dr(N.provider)),N.provider),o:()=>{N.t||(f.ZP.g(N),N.t=!0)},destroy:()=>{N.provider=null,N.t=!1}};function C(t,e){if(f.ZP.rr())return N.er().xs(t,e)}class _ extends p.Z{constructor(t,e){super(t,e)}getUnviewedCardCount(){return super.getUnreadCardCount()}logCardImpressions(t){(0,h.p)(t,!0)}logCardClick(t){return(0,l.d)(t,!0)}sr(){C()}ur(){return!0}}function T(){if(f.ZP.rr())return N.er().Ls(!1)}_.mr=6e4;var O=i(3486);function P(t){if(!f.ZP.rr())return;let e=document.querySelectorAll(".ab-feed");for(let i=0;i<e.length;i++)(null==t||null!=t&&e[i].parentNode===t)&&(0,O.tQ)(e[i])}function D(t){if(!f.ZP.rr())return;let e=N.er(),i=e.ri(t);if(!e.bs()){let t=f.ZP.cr();if(t){let i=t.pr(()=>{e.xs()});i&&e.vs(i)}}return i}var j=i(35608),M=i(46959);function R(t,e){var i;if(!f.ZP.rr())return;(0,M.B)();let n=!1;null==t&&(t=document.body,n=!0);let r=f.ZP.nn(f.JY.tn)||f.ZP.nn(f.JY.en)||!1,s=N.er().Ls(!1);"function"==typeof e&&(0,O.Of)(s,e(s.cards.slice()),s.lastUpdated,null,r);let a=(0,O.Yz)(s,r,n),o=N.er(),l=o.Cs();(null==s.lastUpdated||new Date().valueOf()-s.lastUpdated.valueOf()>_.mr)&&(null==l||new Date().valueOf()-l>_.mr)&&(w.Z.j.info(`Cached content cards were older than max TTL of ${_.mr} ms, requesting an update from the server.`),(0,O.cV)(s,a),o.ws(new Date().valueOf()));let u=new Date().valueOf(),h=D(function(t){let i=a.querySelectorAll(".ab-refresh-button")[0];if(null!=i){let t,e=t=500-(new Date().valueOf()-u),n=a.getAttribute(O.cP);n&&(isNaN(e=parseInt(n))||(t-=new Date().valueOf()-e)),setTimeout(function(){i.className=i.className.replace(/fa-spin/g,"")},Math.max(t,0))}let n=t.cards;"function"==typeof e&&(n=e(n.slice())),(0,O.Of)(s,n,t.lastUpdated,a,r)});(0,O.GB)(h,a);let c=function(t){let e=t.querySelectorAll(".ab-feed"),i=null;for(let n=0;n<e.length;n++)e[n].parentNode===t&&(i=e[n]);null!=i?((0,O.tQ)(i),null!=i.parentNode&&i.parentNode.replaceChild(a,i)):t.appendChild(a),setTimeout(function(){a.className=a.className.replace("ab-hide","ab-show")},0),n&&a.focus(),(0,O.cz)(s,a),(0,j.CG)(s.cards,t)};null!=t?c(t):window.onload=(i=window.onload,function(){"function"==typeof i&&i(new Event("oldLoad")),c(document.body)})}function z(t,e){f.ZP.rr()&&(document.querySelectorAll(".ab-feed").length>0?P():R(t,e))}var U={GOOGLE_TAG_MANAGER:"gg",MPARTICLE:"mp",SEGMENT:"sg",TEALIUM:"tl",MANUAL:"manu",NPM:"npm",CDN:"wcd",SHOPIFY:"shp"},B=i(72893);function F(t){if(!f.ZP.rr())return;if(!(0,B.kJ)(t))return w.Z.j.error("Cannot set SDK metadata because metadata is not an array."),!1;for(let e of t)if(!(0,B.fk)(U,e,"sdkMetadata contained an invalid value.","BrazeSdkMetadata"))return!1;let e=f.ZP.ar();return e&&e.addSdkMetadata(t),!0}var L=i(34790);function $(){w.Z.j.info("Destroying Braze instance"),f.ZP.destroy(!0)}var q=i(12017);function G(){let t=f.ZP.cr();t&&t.requestImmediateDataFlush();let e=new y.Z.ee(null,!0),i="This-cookie-will-expire-in-"+e.ae();e.store(y.I.re,i);let n=w.Z.ts.Zt;new w.Z.es(n,w.Z.j).setItem(n.rs.se,n.ie,!0),w.Z.j.info("disableSDK was called"),f.ZP.destroy(!1),f.ZP.ne(!0)}function J(){new y.Z.ee(null,!0).remove(y.I.re);let t=w.Z.ts.Zt;new w.Z.es(t,w.Z.j).oe(t.rs.se,t.ie),w.Z.j.info("enableSDK was called"),f.ZP.destroy(!1),f.ZP.ne(!1)}function Y(t){if(!f.ZP.rr())return;let e=f.ZP.te();if(!e)return;let i=e.ce().id;if("function"!=typeof t)return i;w.Z.j.warn("The callback for getDeviceId is deprecated. You can access its return value directly instead (e.g. `const id = braze.getDeviceId()`)"),t(i)}var K=i(46243);function X(t,e){return f.ZP.initialize(t,e)}function W(){return!!new y.Z.ee(null,!0).jr(y.I.re)}var H=i(61454),V=i(61364),Q=i(24365),tt=i(85346);function te(){if(!f.ZP.rr())return;let t=f.ZP.cr();if(!t)return;t.openSession();let e=w.Z.ts.Zt,i=new w.Z.es(e,w.Z.j);i.hr(e.rs.kr,(n,r)=>{let s=r.lastClick,a=r.trackingString;w.Z.j.info(`Firing push click trigger from ${a} push click at ${s}`);let o=t.vr(s,a),l=function(){tt.n.er().be(Q.Z.zr,[a],o)};t.$r(l,l),i.oe(e.rs.kr,n)}),i.ss(e.rs.wr,function(e){t.yr(e)})}function ti(){f.ZP.rr()&&f.ZP.removeAllSubscriptions()}var tn=i(18503),tr=i(64650);function ts(t){w.Z.j.setLogger(t)}var ta=i(3905);function to(t){if(!f.ZP.rr()||""===t||!(0,ta.ro)(t,"set signature","signature",!1))return!1;let e=f.ZP.Sr();return!!e&&(e.setSdkAuthenticationSignature(t),!0)}function tl(t){if(!f.ZP.rr())return;let e=f.ZP.Sr();return e?e.subscribeToSdkAuthenticationFailures(t):void 0}function tu(){w.Z.j.toggleLogging()}function th(){if(null==f.ZP.l())return void w.Z.j.warn(A.Go);let t=f.ZP.l();t&&t.clearData();let e=(0,B.XP)(w.Z.ts);for(let t=0;t<e.length;t++){let i=e[t],n=w.Z.ts[i];new w.Z.es(n,w.Z.j).clearData()}if(f.ZP.rr())for(let t of f.ZP.gr())t.clearData(!0)}var tc=i(40420),td=i(83628),tp=i(32075);function tf(){if(f.ZP.rr())return tp.Z.er().Hi()}function tb(){if(!f.ZP.rr())return;let t=document.querySelectorAll(".ab-feed");for(let e=0;e<t.length;e++)(0,O.tQ)(t[e])}var tm=i(46599),tg=i(83516),tv=i(33545),tZ=i(96596);function tw(t,e,i){f.ZP.rr()&&(document.querySelectorAll(".ab-feed").length>0?tb():(0,tv.showFeed)(t,e,i))}var ty=i(1792),tx=i(84072),tk=i(98376),tE=i(4410),tS=i(31090),tA=i(3811),tI=i(26616),tN=i(79602),tC=i(95333),t_=i(16524);function tT(){(0,tC.e)(void 0,"iam",".ab-pause-scrolling,body.ab-pause-scrolling,html.ab-pause-scrolling{overflow:hidden;touch-action:none}.ab-iam-root.v3{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:9011;-webkit-tap-highlight-color:transparent}.ab-iam-root.v3:focus{outline:0}.ab-iam-root.v3.ab-effect-fullscreen,.ab-iam-root.v3.ab-effect-html,.ab-iam-root.v3.ab-effect-modal{opacity:0}
1.ab-iam-root.v3.ab-effect-fullscreen.ab-show,.ab-iam-root.v3.ab-effect-html.ab-show,.ab-iam-root.v3.ab-effect-modal.ab-show{opacity:1}.ab-iam-root.v3.ab-effect-fullscreen.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-html.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-modal.ab-show.ab-animate-in{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide,.ab-iam-root.v3.ab-effect-html.ab-hide,.ab-iam-root.v3.ab-effect-modal.ab-hide{opacity:0}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-html.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-modal.ab-hide.ab-animate-out{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-slide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-show .ab-in-app-message{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.ab-iam-root.v3.ab-effect-slide.ab-show.ab-animate-in .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-left{-webkit-transform:translateX(-535px);-moz-transform:translateX(-535px);-ms-transform:translateX(-535px);transform:translateX(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-up{-webkit-transform:translateY(-535px);-moz-transform:translateY(-535px);-ms-transform:translateY(-535px);transform:translateY(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-down{-webkit-transform:translateY(535px);-moz-transform:translateY(535px);-ms-transform:translateY(535px);transform:translateY(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide.ab-animate-out .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3 .ab-ios-scroll-wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;pointer-events:all;touch-action:auto;-webkit-overflow-scrolling:touch}.ab-iam-root.v3 .ab-in-app-message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;text-align:center;-webkit-box-shadow:0 0 4px rgba(0,0,0,.3);-moz-box-shadow:0 0 4px rgba(0,0,0,.3);box-shadow:0 0 4px rgba(0,0,0,.3);line-height:normal;letter-spacing:normal;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif;z-index:9011;max-width:100%;overflow:hidden;display:inline-block;pointer-events:all;color:#333}.ab-iam-root.v3 .ab-in-app-message.ab-no-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.ab-iam-root.v3 .ab-in-app-message :focus,.ab-iam-root.v3 .ab-in-app-message:focus{outline:0}.ab-iam-root.v3 .ab-in-app-message.ab-clickable{cursor:pointer}.ab-iam-root.v3 .ab-in-app-message.ab-background{background-color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-text{float:none;line-height:1.5;margin:20px 25px;max-width:100%;overflow:hidden;overflow-y:auto;vertical-align:text-bottom;word-wrap:break-word;white-space:pre-wrap;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar{-webkit-appearance:none;width:14px}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-thumb{-webkit-appearance:none;border:4px solid transparent;background-clip:padding-box;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;background-color:rgba(0,0,0,.2)}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-button{width:0;height:0;display:none}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-corner{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-header{float:none;letter-spacing:0;margin:0;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;display:block;font-size:20px;margin-bottom:10px;line-height:1.3}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal,.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;cursor:pointer;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:14px;font-weight:700;margin:20px;margin-top:calc(constant(safe-area-inset-top,0) + 20px);margin-right:calc(constant(safe-area-inset-right,0) + 20px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 20px);margin-left:calc(constant(safe-area-inset-left,0) + 20px);margin-top:calc(env(safe-area-inset-top,0) + 20px);margin-right:calc(env(safe-area-inset-right,0) + 20px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 20px);margin-left:calc(env(safe-area-inset-left,0) + 20px);max-height:150px;padding:10px;right:0;background-color:#efefef}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-message-text{opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-close-button svg.ab-chevron{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 25px 5px 10px;max-width:430px;vertical-align:middle;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{dis
1play:block;max-height:150px;overflow:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:365px;border-top:0;border-bottom:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{float:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;vertical-align:top;width:60px;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area.ab-icon-area{width:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{float:none;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal{font-size:14px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{float:none;position:relative;display:block;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area .ab-center-cropped-img,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area .ab-center-cropped-img{background-size:cover;background-repeat:no-repeat;background-position:50% 50%;position:absolute;top:0;right:0;bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-icon,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-icon{margin-top:20px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{padding:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-text{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-buttons{bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{float:none;height:auto;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area img,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{display:block;top:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none}.ab-iam-root.v3 .ab-in-app-message.ab-modal{padding-top:20px;width:450px;max-width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone{max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone.graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text{max-height:660px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-image{max-height:524.82758621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-icon{max-height:610px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons{margin-bottom:93px;max-height:587px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-image{max-height:451.82758621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-icon{max-height:537px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{margin-top:-20px;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area img{max-width:100%;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area.ab-icon-area{height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{width:auto;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{width:auto;max-height:720px;max-width:450px}
1.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen{width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape{width:720px;max-height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:225px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-message-text{max-height:112px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text{max-height:247px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text.ab-with-buttons{margin-bottom:93px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area{height:360px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area{height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-html-message{background-color:transparent;border:none;height:100%;overflow:auto;position:relative;touch-action:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-message-buttons{position:absolute;bottom:0;width:100%;padding:17px 25px 30px 25px;z-index:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-iam-root.v3 .ab-in-app-message .ab-message-button{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif;height:44px;line-height:normal;letter-spacing:normal;margin:0;max-width:100%;min-width:80px;padding:0 12px;position:relative;text-transform:none;width:48%;width:calc(50% - 5px);border:1px solid #1b78cf;-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;word-wrap:normal;white-space:nowrap}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type{float:left;background-color:#fff;color:#1b78cf}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:last-of-type{float:right;background-color:#1b78cf;color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type:last-of-type{float:none;width:auto}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:hover{opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:active:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.08)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:focus:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.15)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button a{color:inherit;text-decoration:inherit}.ab-iam-root.v3 .ab-in-app-message img{float:none;display:inline-block}.ab-iam-root.v3 .ab-in-app-message .ab-icon{float:none;display:inline-block;padding:10px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message .ab-icon .fa{float:none;font-size:30px;width:30px}.ab-iam-root.v3 .ab-start-hidden{visibility:hidden}.ab-iam-root.v3 .ab-centered{margin:auto;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ab-iam-root.v3{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-iam-root.v3 .ab-page-blocker{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9001;pointer-events:all;background-color:rgba(51,51,51,.75)}@media (max-width:600px){.ab-iam-root.v3 .ab-in-app-message.ab-slideup{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-close-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic),.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic) .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-message-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:480px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}}@media (max-height:750px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-height:91%;max-height:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-height:91vh;max-height:calc(100vh - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text{max-height:65vh;max-height:calc(100vh - 30px - 60px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-image{max-height:45vh;max-height:calc(100vh - 30px - 155.17241379310346px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-icon{max-height:45vh;max-height:calc(100vh - 30px - 70px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons{max-height:50vh;max-height:calc(100vh - 30px - 93px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-image{max-height:30vh;max-height:calc(100vh - 30px - 155.17241379310346px - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-icon{max-height:30vh;max-height:calc(100vh - 30px - 70px - 93px - 20px)}}@media (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area img{max-height:100%;max-width:100%}}@media (max-height:750px) and (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important;width:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-height:480px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:750px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-
1area-inset-bottom,0)}}"),(0,t_.N)()}var tO=i(11507),tP=i(5242);function tD(t,e){return null==t||isNaN(t=parseInt(t.toString()))?"":(e&&!isNaN(parseFloat(e.toString()))||(e=1),"rgba("+[(16711680&(t>>>=0))>>>16,(65280&t)>>>8,255&t,((4278190080&t)>>>24)/255*e].join(",")+")")}function tj(t){if(!f.ZP.rr())return!1;if(!(t instanceof ty.Z||t instanceof tk.Z))return w.Z.j.error(A.De),!1;let e=t instanceof tk.Z?w.Z.q.eo:w.Z.q.Vi;return tN.Z.m().N(t,e).O}function tM(t){if(!f.ZP.rr())return!1;if(!(t instanceof ty.Z))return w.Z.j.error(A.De),!1;let e=tN.Z.m().N(t,w.Z.q.Li);if(e){t.so()||tj(t);for(let i=0;i<e.ve.length;i++)tt.n.er().be(Q.Z.ro,[t.triggerId],e.ve[i])}return e.O}var tR=i(7169);function tz(t,e,i){if(!f.ZP.rr())return!1;if(!(t instanceof tS.Z))return w.Z.j.error("inAppMessage argument to logInAppMessageHtmlClick must be an HtmlMessage object."),!1;let n=w.Z.q.Li;null!=e&&(n=w.Z.q.Qi);let r=tN.Z.m().N(t,n,e,i);if(r.O)for(let i=0;i<r.ve.length;i++)tt.n.er().be(Q.Z.ro,[t.triggerId,e],r.ve[i]);return r.O}var tU=i(35806),tB=i(75319);function tF(t,e){var i;if(!f.ZP.rr())return!1;if(!(t instanceof tx.Z))return w.Z.j.error("button must be an InAppMessageButton object"),!1;if(!(e instanceof ty.Z))return w.Z.j.error(A.De),!1;let n=tN.Z.m().Xi(t,e);if(n.O)for(let r=0;r<n.ve.length;r++)tt.n.er().be(Q.Z.ro,[e.triggerId,null===(i=t.id)||void 0===i?void 0:i.toString()],n.ve[r]);return n.O}var tL=i(7429),t$={Je:t=>{let e=t.querySelectorAll(".ab-close-button, .ab-message-text, .ab-message-button");for(let t=0;t<e.length;t++)e[t].tabIndex=0;if(e.length>0){let i=e[0],n=e[e.length-1];t.addEventListener("keydown",e=>{let r=document.activeElement;e.keyCode!==tL.m.oo||(e.shiftKey||r!==n&&r!==t?e.shiftKey&&(r===i||r===t)&&(e.preventDefault(),n.focus()):(e.preventDefault(),i.focus()))})}},Ke:(t,e)=>{e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),e.setAttribute("aria-label","Modal Message"),t&&e.setAttribute("aria-labelledby",t)},He:(t,e,i,n)=>{if(t.buttons&&t.buttons.length>0){let r=document.createElement("div");r.className="ab-message-buttons",i.appendChild(r);let s=i.getElementsByClassName("ab-message-text")[0];null!=s&&(s.className+=" ab-with-buttons");let a=r=>s=>(t.ye(i,()=>{tF(r,t),r.clickAction===ty.Z.ClickAction.URI?(0,tc.S)(r.uri||"",n||t.openTarget===ty.Z.OpenTarget.BLANK,s):r.clickAction===ty.Z.ClickAction.NEWS_FEED&&e()}),s.stopPropagation(),!1);for(let e=0;e<t.buttons.length;e++){let i=t.buttons[e],n=document.createElement("button");n.className="ab-message-button",n.setAttribute("type","button"),(0,tO.lj)(n,"touchstart");let s=i.text;""===i.text&&(s="\xa0"),n.appendChild(document.createTextNode(s)),t.Ae()||(n.style.backgroundColor=tD(i.backgroundColor),n.style.color=tD(i.textColor),n.style.borderColor=tD(i.borderColor)),n.onclick=a(i),r.appendChild(n)}}}},tq=i(7048);function tG(t,e,n){let r;if(!f.ZP.rr())return;if(tT(),null==t)return!1;if(t instanceof tk.Z)return w.Z.j.info("User received control for a multivariate test, logging to Braze servers."),tj(t),!0;if(!(t instanceof ty.Z)||t.constructor===ty.Z)return!1;let s=tN.Z.m();t.Nh();let a=t instanceof tS.Z;if(a&&!t.trusted&&!f.ZP.nr())return w.Z.j.error('HTML in-app messages are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these messages.'),s.Ji(t.triggerId,ty.Z.Ie.Ch),!1;if(null==e&&(e=document.body),t.xe()&&e.querySelectorAll(".ab-modal-interactions").length>0)return w.Z.j.info(`Cannot show in-app message ${t.message} because another message is being shown.`),s.Ji(t.triggerId,ty.Z.Ie.Le),!1;if(tB.SD.ao()){let e=tB.SD.mo();if(e===tB.eh.PORTRAIT&&t.orientation===ty.Z.Orientation.LANDSCAPE||e===tB.eh.LANDSCAPE&&t.orientation===ty.Z.Orientation.PORTRAIT){let i=e===tB.eh.PORTRAIT?"portrait":"landscape",n=t.orientation===ty.Z.Orientation.PORTRAIT?"portrait":"landscape";return w.Z.j.info(`Not showing ${n} in-app message ${t.message} because the screen is currently ${i}`),s.Ji(t.triggerId,ty.Z.Ie.dh),!1}}if(!f.ZP.nr()){let e=!1;if(t.buttons&&t.buttons.length>0){let i=t.buttons;for(let t=0;t<i.length;t++)if(i[t].clickAction===ty.Z.ClickAction.URI){let n=i[t].uri;e=(0,v.o)(n)}}else t.clickAction===ty.Z.ClickAction.URI&&(e=(0,v.o)(t.uri));if(e)return w.Z.j.error('Javascript click actions are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these actions.'),s.Ji(t.triggerId,ty.Z.Ie.Ch),!1}let o=document.createElement("div");if(o.className="ab-iam-root v3",o.className+=(r="",t.animateIn&&(r+=" ab-animate-in"),t.animateOut&&(r+=" ab-animate-out"),t instanceof tE.Z?r+=" ab-effect-fullscreen":t instanceof tS.Z?r+=" ab-effect-html":t instanceof tA.Z?r+=" ab-effect-modal":t instanceof tI.Z&&(r+=" ab-effect-slide"),r),o.setAttribute("role","complementary"),t.Ne()&&(o.id=t.htmlId),f.ZP.nn(f.JY.lo)&&(o.style.zIndex=(f.ZP.nn(f.JY.lo)+1).toString()),e.appendChild(o),t.Ae()){let e=document.createElement("style");e.innerHTML=t.css,e.id=t.Ce(),null!=f.ZP.nn(f.JY.po)&&e.setAttribute("nonce",f.ZP.nn(f.JY.po)),document.getElementsByTagName("head")[0].appendChild(e)}let l=t instanceof tI.Z,u=function(t,e,n,r,s,a,o,l=document.body){if(t.ke=document.activeElement,t instanceof tS.Z)return function(t,e,n,r,s,a){let o=document.createElement("iframe");o.setAttribute("title","Modal Message"),s&&(o.style.zIndex=(s+1).toString());let l=e=>
1{let i=e.getAttribute("href"),n=e.onclick;return s=>{if(null!=n&&"function"==typeof n&&!1===n.bind(e)(s))return;let a=(0,v.L)(i).abButtonId;if(null!=a&&""!==a||(a=e.getAttribute("id")||void 0),null!=i&&""!==i&&0!==i.indexOf("#")){let n="blank"===(e.getAttribute("target")||"").toLowerCase().replace("_",""),l=r||t.openTarget===ty.Z.OpenTarget.BLANK||n,u=()=>{tz(t,a,i),tB.SD.openUri(i,l,s)};l?u():t.ye(o,u)}else tz(t,a,i||void 0);return s.stopPropagation(),!1}},u=(t,e,i)=>{let n=`([\\w]+)\\s*=\\s*document.createElement\\(['"]${i}['"]\\)`,r=t.match(new RegExp(n));if(r){let i=`${r[1]}.setAttribute("nonce", "${e}")`;return`${t.slice(0,r.index+r[0].length)};${i};${t.slice(r.index+r[0].length)}`}return null};if(o.onload=()=>{let r=null;if(null!=a){(r=document.createElement("html")).innerHTML=t.message||"";let e=r.getElementsByTagName("style");for(let t=0;t<e.length;t++)e[t].setAttribute("nonce",a);let i=r.getElementsByTagName("script");for(let t=0;t<i.length;t++){i[t].setAttribute("nonce",a),i[t].innerHTML=i[t].innerHTML.replace(/<style>/g,`<style nonce='${a}'>`);let e=u(i[t].innerHTML,a,"script");e&&(i[t].innerHTML=e);let n=u(i[t].innerHTML,a,"style");n&&(i[t].innerHTML=n)}}let s=o.contentWindow;s.focus(),s.document.write(r?r.innerHTML:t.message||"");let h=s.document.getElementsByTagName("head")[0];if(null!=h){if(t.Ae()){let e=document.createElement("style");e.innerHTML=t.css||"",e.id=t.Ce()||"",null!=a&&e.setAttribute("nonce",a),h.appendChild(e)}let e=s.document.createElement("base");null!=e&&(e.setAttribute("target","_parent"),h.appendChild(e))}let c=s.document.getElementsByTagName("title");c&&c.length>0&&o.setAttribute("title",c[0].textContent||"");let d={closeMessage:function(){t.ye(o)},logClick:function(){tz(t,...arguments)},display:{},web:{}},p=function(){return function(){let t=arguments;Promise.resolve().then(i.bind(i,12261)).then(e=>{f.ZP.fe()?e.requestPushPermission(...Array.prototype.slice.call(t)):w.Z.j.error(A.Go)})}},b={requestImmediateDataFlush:function(){let t=arguments;Promise.resolve().then(i.bind(i,64650)).then(({requestImmediateDataFlush:e})=>{f.ZP.fe()?e(...Array.prototype.slice.call(t)):w.Z.j.error(A.Go)})},logCustomEvent:function(){let t=arguments;Promise.resolve().then(i.bind(i,61454)).then(({logCustomEvent:e})=>{if(!f.ZP.fe())return void w.Z.j.error(A.Go);e(...Array.prototype.slice.call(t))})},logPurchase:function(){let t=arguments;Promise.resolve().then(i.bind(i,61364)).then(({logPurchase:e})=>{if(!f.ZP.fe())return void w.Z.j.error(A.Go);e(...Array.prototype.slice.call(t))})},unregisterPush:function(){let t=arguments;Promise.resolve().then(i.bind(i,77824)).then(({unregisterPush:e})=>{f.ZP.fe()?e(...Array.prototype.slice.call(t)):w.Z.j.error(A.Go)})},requestPushPermission:p(),changeUser:function(){let t=arguments;Promise.resolve().then(i.bind(i,34790)).then(({changeUser:e})=>{if(!f.ZP.fe())return void w.Z.j.error(A.Go);e(...Array.prototype.slice.call(t))})}},m=function(t){return function(){b[t](...Array.prototype.slice.call(arguments))}};for(let t of(0,B.XP)(b))d[t]=m(t);let g=["setFirstName","setLastName","setEmail","setGender","setDateOfBirth","setCountry","setHomeCity","setEmailNotificationSubscriptionType","setLanguage","addAlias","setPushNotificationSubscriptionType","setPhoneNumber","setCustomUserAttribute","addToCustomAttributeArray","removeFromCustomAttributeArray","incrementCustomUserAttribute","setCustomLocationAttribute","addToSubscriptionGroup","removeFromSubscriptionGroup"],v=function(t){return function(){let e=(0,K.P)();e&&e[t](...Array.prototype.slice.call(arguments))}},Z={};for(let t=0;t<g.length;t++)Z[g[t]]=v(g[t]);d.getUser=function(){return Z};let y={showFeed:e},x=function(e){return function(){let i=arguments;t.ye(o,function(){y[e](...Array.prototype.slice.call(i))})}},k=d.display;for(let t of(0,B.XP)(y))k[t]=x(t);let E={registerAppboyPushMessages:p()},S=function(t){return function(){E[t](...Array.prototype.slice.call(arguments))}},I=d.web;for(let t of(0,B.XP)(E))I[t]=S(t);if(s.appboyBridge=d,s.brazeBridge=d,t.Pe!==ty.Z.qe.Ee){let t=s.document.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].onclick=l(t[e]);let e=s.document.getElementsByTagName("button");for(let t=0;t<e.length;t++)e[t].onclick=l(e[t])}let N=s.document.body;if(null!=N){t.Ne()&&(N.id=t.htmlId||"");let e=document.createElement("hidden");e.onclick=d.closeMessage,e.className="ab-programmatic-close-button",N.appendChild(e)}s.dispatchEvent(new CustomEvent("ab.BridgeReady")),-1!==o.className.indexOf("ab-start-hidden")&&(o.className=o.className.replace("ab-start-hidden",""),n(o)),document.activeElement!==o&&o.focus()},o.className="ab-in-app-message ab-start-hidden ab-html-message ab-modal-interactions",tR.Z.OS===tU.T.de){let e=document.createElement("div");return e.className="ab-ios-scroll-wrapper",e.appendChild(o),t.Me=e,e}return t.Me=o,o}(t,e,n,s,a,o);
1let u=function(t,e,i,n,r,s,a=document.body){var o;let l=null,u=document.createElement("div");u.className="ab-in-app-message ab-start-hidden ab-background",s&&(u.style.zIndex=(s+1).toString()),t.xe()&&(u.className+=" ab-modal-interactions",u.setAttribute("tabindex","-1")),t.Ae()||(u.style.color=tD(t.textColor),u.style.backgroundColor=tD(t.backgroundColor),null==(o=t.backgroundColor)||isNaN(o=parseInt(o.toString()))||(4278190080&o)>>>24!=0||(u.className+=" ab-no-shadow"));let h=()=>{-1!==u.className.indexOf("ab-start-hidden")&&(u.className=u.className.replace("ab-start-hidden",""),document.querySelectorAll(".ab-iam-img-loading").length>0?n(`Cannot show in-app message ${t.message} because another message is being shown.`,ty.Z.Ie.Le):i(u))},c=(e=!0)=>{let i=document.querySelectorAll(".ab-iam-root");i&&0!==i.length||(i=a.querySelectorAll(".ab-iam-root")),i&&i.length>0&&(i[0].classList.remove("ab-iam-img-loading"),l&&(clearTimeout(l),l=null),e?h():w.Z.j.error(`Cannot show in-app message ${t.message} because the image failed to load.`))};t.imageStyle===ty.Z.ImageStyle.GRAPHIC&&(u.className+=" graphic"),t.orientation===ty.Z.Orientation.LANDSCAPE&&(u.className+=" landscape"),null!=t.buttons&&0===t.buttons.length&&(t.clickAction!==ty.Z.ClickAction.NONE&&(u.className+=" ab-clickable"),u.onclick=i=>(t.ye(u,()=>{tM(t),t.clickAction===ty.Z.ClickAction.URI?(0,tc.S)(t.uri||"",r||t.openTarget===ty.Z.OpenTarget.BLANK,i):t.clickAction===ty.Z.ClickAction.NEWS_FEED&&e()}),i.stopPropagation(),!1));let d=(0,tP.B)("Close Message",t.Ae()?void 0:tD(t.closeButtonColor),()=>{t.ye(u)});u.appendChild(d),s&&(d.style.zIndex=(s+2).toString());let p=document.createElement("div");p.className="ab-message-text";let f=(t.messageAlignment||t.Te).toLowerCase();p.className+=" "+f+"-aligned";let b=!1,m=document.createElement("div");if(m.className="ab-image-area",t.imageUrl){if(t.cropType===ty.Z.CropType.CENTER_CROP){let e=document.createElement("span");e.className="ab-center-cropped-img",e.style.backgroundImage="url("+t.imageUrl+")",e.setAttribute("role","img"),e.setAttribute("aria-label","Modal Image"),t.Be(e),m.appendChild(e)}else{let e=document.createElement("img");if(e.setAttribute("src",t.imageUrl),t.Be(e),0===document.querySelectorAll(".ab-iam-img-loading").length){b=!0;let t=document.querySelectorAll(".ab-iam-root");t&&t.length>0&&t[0].classList.add("ab-iam-img-loading"),l=window.setTimeout(()=>{c(!1)},6e4),e.onload=()=>{c()},e.onerror=()=>{c(!1)}}m.appendChild(e)}u.appendChild(m),p.className+=" ab-with-image"}else if(t.icon){m.className+=" ab-icon-area";let e=document.createElement("span");e.className="ab-icon",t.Ae()||(e.style.backgroundColor=tD(t.iconBackgroundColor),e.style.color=tD(t.iconColor));let i=document.createElement("i");i.className="fa",i.appendChild(document.createTextNode(t.icon)),i.setAttribute("aria-hidden","true"),e.appendChild(i),m.appendChild(e),u.appendChild(m),p.className+=" ab-with-icon"}if((0,tO.lj)(p,"touchstart"),t.header&&t.header.length>0){let e=document.createElement("h1");e.className="ab-message-header",t.De=w.Z.Z.Y(),e.id=t.De;let i=(t.headerAlignment||ty.Z.TextAlignment.CENTER).toLowerCase();e.className+=" "+i+"-aligned",t.Ae()||(e.style.color=tD(t.headerTextColor)),e.appendChild(document.createTextNode(t.header)),p.appendChild(e)}return p.appendChild(t.Ge()),u.appendChild(p),b||h(),t.Me=u,u}(t,e,n,r,s,a,l);if(t instanceof tE.Z||t instanceof tA.Z){let i=t instanceof tE.Z?"ab-fullscreen":"ab-modal";u.className+=` ${i} ab-centered`,t$.He(t,e,u,s),t$.Je(u),t$.Ke(t.De,u)}else if(t instanceof tI.Z){let e,i;u.className+=" ab-slideup";let n=u.getElementsByClassName("ab-close-button")[0];if(null!=n){let e=(0,tO.MK)("0 0 11.38 19.44","M11.38 9.72l-9.33 9.72L0 17.3l7.27-7.58L0 2.14 2.05 0l9.33 9.72z",t.Ae()?void 0:tD(t.closeButtonColor));e.setAttribute("class","ab-chevron"),n.appendChild(e)}(0,tO.FZ)(u,tO.mQ.W,t=>{u.className+=" ab-swiped-left",null!=n&&null!=n.onclick&&n.onclick(t)}),(0,tO.FZ)(u,tO.mQ.X,t=>{u.className+=" ab-swiped-right",null!=n&&null!=n.onclick&&n.onclick(t)}),t.slideFrom===ty.Z.SlideFrom.TOP?(e=tO.mQ.Oe,i=" ab-swiped-up"):(e=tO.mQ.Qe,i=" ab-swiped-down"),(0,tO.FZ)(u,e,t=>{u.className+=i,null!=n&&null!=n.onclick&&n.onclick(t)})}return u}(t,()=>{Promise.resolve().then(i.bind(i,33545)).then(t=>{f.ZP.fe()?t.showFeed():w.Z.j.error(A.Go)})},e=>{if(t.xe()&&t.io()){let i=document.createElement("div");if(i.className="ab-page-blocker",t.Ae()||(i.style.backgroundColor=tD(t.frameColor)),f.ZP.nn(f.JY.lo)&&(i.style.zIndex=f.ZP.nn(f.JY.lo).toString()),o.appendChild(i),!f.ZP.nn(f.JY.mh)){let n=new Date().valueOf();i.onclick=i=>{new Date().valueOf()-n>ty.Z.Ph&&(t.ye(e),i.stopPropagation())}}o.appendChild(e),e.focus(),t.Ah(o)}else if(l){let i=document.querySelectorAll(".ab-slideup"),n=null;for(let t=i.length-1;t>=0;t--)if(i[t]!==e){n=i[t];break}if(t.slideFrom===ty.Z.SlideFrom.TOP){let t=0;null!=n&&(t=n.offsetTop+n.offsetHeight),e.style.top=Math.max(t,0)+"px"}else{let t=0;null!=n&&(t=(window.innerHeight||document.documentElement.clientHeight)-n.offsetTop),e.style.bottom=Math.max(t,0)+"px"}}else a&&!f.ZP.nn(f.JY.mh)&&(0,tq.f)(e)&&e.contentWindow&&e.contentWindow.addEventListener("keydown",function(e){e.keyCode===tL.m._h&&t.closeMessage()});
1tj(t),t.dismissType===ty.Z.DismissType.AUTO_DISMISS&&setTimeout(()=>{o.contains(e)&&t.ye(e)},t.duration),"function"==typeof n&&n()},(e,i)=>{w.Z.j.info(e),s.Ji(t.triggerId,i)},f.ZP.nn(f.JY.fo),f.ZP.nn(f.JY.lo),f.ZP.nn(f.JY.po),e);return(a||l)&&(o.appendChild(u),t.Ah(o)),!0}function tJ(t){if(f.ZP.rr())return"function"!=typeof t?null:tN.Z.m()._i(function(e){return t(e[0]),e.slice(1)})}function tY(){if(!f.ZP.rr())return;tT();let t=tN.Z.m();if(null==t.Pi()){let e=tJ(t=>tG(t));t.Oi(e)}return t.Pi()}function tK(t){if(f.ZP.rr())return t instanceof tk.Z?(w.Z.j.info("Not deferring since this is a ControlMessage."),!1):t instanceof ty.Z?tN.Z.m().he(t):(w.Z.j.info("Not an instance of InAppMessage, ignoring."),!1)}function tX(){if(f.ZP.rr())return tN.Z.m().Re()}var tW=i(74556);function tH(){if(f.ZP.rr())return tW.Z.isPushBlocked()}function tV(){if(f.ZP.rr())return tW.Z.isPushPermissionGranted()}function tQ(){if(f.ZP.rr())return tW.Z.isPushSupported()}var t0=i(12261),t1=i(77824),t3=i(17615),t5=i(12962),t2=i(992),t8=i(75219);function t7(t){if(!f.ZP.rr())return;let e=f.ZP.tr();if(e&&!e.yi())return w.Z.j.info("Feature flags are not enabled."),null;let i=t8.Z.er().Di();return i[t]?i[t]:null}function t6(){if(!f.ZP.rr())return;let t=[],e=f.ZP.tr();if(e&&!e.yi())return w.Z.j.info("Feature flags are not enabled."),t;let i=t8.Z.er().Di();for(let e in i)t.push(i[e]);return t}function t4(t){if(!f.ZP.rr())return;let e=t6();return e&&"function"==typeof t&&t(e),t8.Z.er().ri(t)}function t9(t){if(!f.ZP.rr())return;if(!t)return!1;let e=t8.Z.er().Di();if(!e[t])return!1;let i=e[t].trackingString;if(!i)return w.Z.j.info("Not logging a feature flag impression. The feature flag was not part of any matching campaign."),!1;let n=t8.Z.er().Ni();return!n[i]&&(n[i]=!0,t8.Z.er().xi(n),k.Z.N(w.Z.q.Fr,{fid:t,fts:i}).O)}},19053:function(t,e,i){i.d(e,{JY:function(){return z},ZP:function(){return B}});var n=i(45966),r=i(74663),s=i(82588);class a{constructor(t,e,i){this.u=t,this.gh=e,this.ph=i,this.u=t,this.gh=e||!1,this.ph=i,this.Fh=new r.Z,this.kh=0,this.fh=1}wh(){return this.gh}jh(){return this.u.v(n.I.k.xh)}setSdkAuthenticationSignature(t){let e=this.jh();this.u.D(n.I.k.xh,t);let i=s.Z.ts.Zt;new s.Z.es(i,s.Z.j).setItem(i.rs.qh,this.fh,t),e!==t&&this.ti()}yh(){this.u.ni(n.I.k.xh);let t=s.Z.ts.Zt;new s.Z.es(t,s.Z.j).oe(t.rs.qh,this.fh)}subscribeToSdkAuthenticationFailures(t){return this.ph.It(t)}Bh(t){this.ph.Dt(t)}Gh(){this.Fh.removeAllSubscriptions()}Hh(){this.kh+=1}Jh(){return this.kh}ti(){this.kh=0}}var o=i(40158),l=i(7169);class u{constructor(t){this.id=t,this.id=t}Kr(){let t={};return null!=this.browser&&(t.browser=this.browser),null!=this.Ia&&(t.browser_version=this.Ia),null!=this.os&&(t.os_version=this.os),null!=this.resolution&&(t.resolution=this.resolution),null!=this.language&&(t.locale=this.language),null!=this.timeZone&&(t.time_zone=this.timeZone),null!=this.userAgent&&(t.user_agent=this.userAgent),t}}var h=i(12017),c=i(42308),d=i(72893),p=i(8031);class f{constructor(t,e){this.u=t,this.Qo=e,this.u=t,null==e&&(e=(0,d.VO)(h.Z)),this.Qo=e}ce(t=!0){let e=this.u.tu(n.I.eu.Zo);null==e&&(e=new c.Z(s.Z.Z.Y()),t&&this.u.uu(n.I.eu.Zo,e));let i=new u(e.iu);for(let t=0;t<this.Qo.length;t++)switch(this.Qo[t]){case h.Z.BROWSER:i.browser=l.Z.browser;break;case h.Z.BROWSER_VERSION:i.Ia=l.Z.version;break;case h.Z.OS:i.os=this.Ta();break;case h.Z.RESOLUTION:i.Da=screen.width+"x"+screen.height;break;case h.Z.LANGUAGE:i.language=l.Z.language;break;case h.Z.TIME_ZONE:i.timeZone=this.Oa(new Date);break;case h.Z.USER_AGENT:i.userAgent=l.Z.userAgent}return i}Ta(){if(l.Z.Ca())return l.Z.Ca();let t=this.u.v(n.I.k.Fa);return t&&t.os_version?t.os_version:l.Z.Ta()}Oa(t){let e=!1;if("undefined"!=typeof Intl&&"function"==typeof Intl.DateTimeFormat)try{if("function"==typeof Intl.DateTimeFormat().resolvedOptions){let t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(null!=t&&""!==t)return t}}catch(t){s.Z.j.info("Intl.DateTimeFormat threw an error, cannot detect user's time zone:"+(0,p.e)(t)),e=!0}if(e)return"";let i=t.getTimezoneOffset();return this.Ga(i)}Ga(t){let e="GMT";return 0!==t&&(e+=(t<0?"+":"-")+("00"+Math.abs(Math.trunc(t/60))).slice(-2)+":"+("00"+Math.abs(Math.trunc(t%60))).slice(-2)),e}}var b=i(63826),m=i(57559),g=i(57750),v=i(39179),Z=i(76870),w=i(27671);class y{constructor(t,e,i,n,r,s,a,o,l,u,h,c){this.fn=t,this.u=e,this.Mo=i,this.wt=n,this._e=r,this.yt=s,this.cn=a,this.Uo=o,this.jo=l,this.Do=u,this.appVersion=h,this.Xh=c,this.fn=t,this.u=e,this.Mo=i,this.wt=n,this._e=r,this.yt=s,this.cn=a,this.Uo=o,this.jo=l,this.Do=u,this.appVersion=h,this.Xh=c,this.$h=["npm"]}
1Bs(t,e=!1,i=!1){let r=this.fn.ce(!i),s=r.Kr(),a=this.u.v(n.I.k.Fa);(0,d.Xy)(a,s)||(t.device=s),t.api_key=this.cn,t.time=(0,g.FX)(new Date().valueOf(),!0);let o=this.u.v(n.I.k.Kh)||[],l=this.u.v(n.I.k.Wh)||"";if(this.$h.length>0&&(!(0,d.Xy)(o,this.$h)||l!==this._e.Yh())&&(t.sdk_metadata=this.$h),t.sdk_version=this.jo,this.Do&&(t.sdk_flavor=this.Do),t.app_version=this.appVersion,t.app_version_code=this.Xh,t.device_id=r.id,e){let e=this.wt.getUserId();null!=e&&(t.user_id=e)}return t}Zs(t,e,i){let n=e.auth_error,r=e.error;if(!n&&!r)return!0;if(n){let e;this.Mo.Hh();let r={errorCode:n.error_code};for(let t of i)(0,d.kJ)(t)&&"X-Braze-Auth-Signature"===t[0]&&(r.signature=t[1]);t.respond_with&&t.respond_with.user_id?r.userId=t.respond_with.user_id:t.user_id&&(r.userId=t.user_id);let a=n.reason;return a?(r.reason=a,e=`due to ${a}`):e=`with error code ${n.error_code}.`,this.Mo.wh()||(e+=' Please use the "enableSdkAuthentication" initialization option to enable authentication.'),s.Z.j.error(`SDK Authentication failed ${e}`),this.Qh(t.events||[],t.attributes||[]),this.Mo.Bh(r),!1}if(r){let i,n=r;switch(n){case b.Z.Vh:return i="Received successful response with empty body.",v.Z.N(s.Z.q.qs,{e:i}),s.Z.j.info(i),!1;case b.Z.Zh:return i="Received successful response with invalid JSON",v.Z.N(s.Z.q.qs,{e:i+": "+e.response}),s.Z.j.info(i),!1;case b.Z.Ra:n=`The API key "${t.api_key}" is invalid for the baseUrl ${this.Uo}`;break;case b.Z.Xa:n="Sorry, we are not currently accepting your requests. If you think this is in error, please contact us.";break;case b.Z.Ea:n="No device identifier. Please contact [email protected]"}s.Z.j.error("Backend error: "+n)}return!1}
1Pa(t,e,i,n){return!!(t&&0!==t.length||e&&0!==e.length||i||n)}$a(t,e,i,n,r=!1){let s=[],a=t=>t||"",o=a(this.wt.getUserId()),l=this.Jr(t,e),u=[],h=[],c,d=null;if(i.length>0){let t=[];for(let e of i){if(c=e.Kr(),this.Mo.wh()){if(o&&!c.user_id){d||(d={}),d.events||(d.events=[]),d.events.push(c);continue}if(a(c.user_id)!==o){h.push(c);continue}}t.push(c)}t.length>0&&(l.events=t)}if(n.length>0){let t=[];for(let e of n)e&&(this.Mo.wh()&&a(e.user_id)!==o?u.push(e):t.push(e));t.length>0&&(l.attributes=t)}if(this.Qh(h,u),l=this.Bs(l,!0,r),d){let t={requestData:d=this.Bs(d,!1,r),headers:this.Hs(d,Z.Z.Os.Na)};s.push(t)}if(l&&!this.Pa(l.events,l.attributes,t,e))return d?s:null;let p={requestData:l,headers:this.Hs(l,Z.Z.Os.Na)};return s.push(p),s}Qh(t,e){if(t){let e=[];for(let i of t){let t=m.Z.fromJson(i);t.time=(0,g.Pn)(t.time),e.push(t)}this.u.bo(e)}if(e)for(let t of e)this.u.Ha(t)}ii(t,e){let i="HTTP error ";null!=t&&(i+=t+" "),i+=e,s.Z.j.error(i)}qr(t){return v.Z.N(s.Z.q.Ka,{n:t})}Jr(t,e,i){let n={};t&&(n.feed=!0),e&&(n.triggers=!0);let r=null!=i?i:this.wt.getUserId();return r&&(n.user_id=r),n.config={config_time:this.yt.li()},{respond_with:n}}Ua(t){let e=new Date().valueOf(),i=w.dH.toString(),n=Z.Z.La(this.u,t);return -1!==n&&(i=(e-n).toString()),i}Hs(t,e,i=!1){let r=[["X-Braze-Api-Key",this.cn]],s=this.Ua(e);r.push(["X-Braze-Last-Req-Ms-Ago",s]);let a=Z.Z.Wa(this.u,e).toString();r.push(["X-Braze-Req-Attempt",a]);let o=!1;if(null!=t.respond_with&&t.respond_with.triggers&&(r.push(["X-Braze-TriggersRequest","true"]),o=!0),null!=t.respond_with&&t.respond_with.feed&&(r.push(["X-Braze-FeedRequest","true"]),o=!0),e===Z.Z.Os.Ks){r.push(["X-Braze-ContentCardsRequest","true"]);let t=this.u.v(n.I.k.zs);t&&i||(t=0,this.u.D(n.I.k.zs,t)),r.push(["BRAZE-SYNC-RETRY-COUNT",t.toString()]),o=!0}if(e===Z.Z.Os.Si&&(r.push(["X-Braze-FeatureFlagsRequest","true"]),o=!0),o&&r.push(["X-Braze-DataRequest","true"]),this.Mo.wh()){let t=this.Mo.jh();null!=t&&r.push(["X-Braze-Auth-Signature",t])}return r}Qs(t,e){let i=t.device;i&&i.os_version instanceof Promise?i.os_version.then(i=>{t.device.os_version=i,e()}):e()}ti(){this.Mo.ti()}Ys(){return this.Uo}addSdkMetadata(t){for(let e of t)-1===this.$h.indexOf(e)&&this.$h.push(e)}}var x=i(41843),k=i(93307),E=i(24673),S=i(74556);class A{constructor(t,e,i,n,s,a,o,l,u,h){this.cn=t,this.baseUrl=e,this._e=i,this.fn=n,this.wt=s,this.yt=a,this.u=o,this.fu=l,this.Mo=u,this.$t
1=h,this.cn=t,this.baseUrl=e,this.gu=0,this.OE=o.RE()||0,this.vu=null,this._e=i,this.fn=n,this.wt=s,this.yt=a,this.u=o,this.Mo=u,this.$t=h,this.fu=l,this.wu=new r.Z,this.ku=null,this.yu=50,this.ju=!1}Su(t,e){return!t&&!e&&this.Mo.Jh()>=this.yu}$u(t){let e=this._e.El();if(t.length>0){let i=this.wt.getUserId();for(let n of t){let t=!n.userId&&!i||n.userId===i;n.type===s.Z.q.Wl&&t&&(e=!0)}}return e}qu(t=!1,e=!1,i=!0,r,a,o,l=!1,u=!1){i&&this.Au();let h=this.u.cE(),c=this.u.AE(),d=!1,p=(t,e)=>{let s=!1;Z.Z.Ws(this.u,Z.Z.Os.Na,new Date().valueOf()),x.Z.Xs({url:this.baseUrl+"/data/",data:t,headers:e,O:i=>{null!=t.respond_with&&t.respond_with.triggers&&(this.gu=Math.max(this.gu-1,0)),this.$t.Zs(t,i,e)?(this.Mo.ti(),this.yt.ul(i),null!=t.respond_with&&t.respond_with.user_id!=this.wt.getUserId()||(null!=t.device&&this.u.D(n.I.k.Fa,t.device),null!=t.sdk_metadata&&(this.u.D(n.I.k.Kh,t.sdk_metadata),this.u.D(n.I.k.Wh,this._e.Yh())),this.fu(i),Z.Z.si(this.u,Z.Z.Os.Na,1),"function"==typeof r&&r())):i.auth_error&&(s=!0)},error:()=>{null!=t.respond_with&&t.respond_with.triggers&&(this.gu=Math.max(this.gu-1,0)),this.$t.Qh(t.events,t.attributes),"function"==typeof a&&a()},ei:t=>{if("function"==typeof o&&o(t),i&&!d){if(t&&!s)this.Cu();else{Z.Z.hi(this.u,Z.Z.Os.Na);let t=this.vu;(null==t||t<1e3*this.OE)&&(t=1e3*this.OE),this.Cu(Math.min(3e5,(0,k.R)(1e3*this.OE,3*t)))}d=!0}}})},f=this.$u(h),b=e||f;if(this.Su(l,f))return void s.Z.j.info("Declining to flush data due to 50 consecutive authentication failures");if(i&&!this.$t.Pa(h,c,t,b))return this.Cu(),void("function"==typeof o&&o(!0));let m=this.$t.$a(t,b,h,c,u);b&&this.gu++;let g=!1;if(m)for(let t of m)this.$t.Qs(t.requestData,()=>p(t.requestData,t.headers)),g=!0;this.Mo.wh()&&i&&!g?this.Cu():f&&(s.Z.j.info("Invoking new session subscriptions"),this.wu.Dt())}Du(){return this.gu>0}Cu(t=1e3*this.OE){this.ju||(this.Au(),this.ku=window.setTimeout(()=>{if(document.hidden){let t="visibilitychange",e=()=>{document.hidden||(document.removeEventListener(t,e,!1),this.qu())};document.addEventListener(t,e,!1)}else this.qu()},t),this.vu=t)}Au(){null!=this.ku&&(clearTimeout(this.ku),this.ku=null)}initialize(){this.ju=!1,this.Cu()}destroy(){this.wu.removeAllSubscriptions(),this.Mo.Gh(),this.Au(),this.ju=!0,this.qu(void 0,void 0,!1,void 0,void 0,void 0,void 0,!0),this.ku=null}pr(t){return this.wu.It(t)}openSession(){let t=this._e.Yh()!==this._e.co();t&&(this.u.uE(n.I.eu.Zo),this.u.uE(n.I.eu.su)),this.qu(void 0,!1,void 0,void 0,void 0),this.pu(),t&&Promise.resolve().then(i.bind(i,17457)).then(t=>{if(this.ju)return;let e=t.default.m();if(null!=e&&(S.Z.isPushPermissionGranted()||S.Z.isPushBlocked())){let t=()=>{e.Sn()?s.Z.j.info("Push token maintenance is disabled, not refreshing token for backend."):e.subscribe()},i=s.Z.ts.Zt;new s.Z.es(i,s.Z.j).hr(i.rs.cu,(e,i)=>{i&&t()},()=>{let e=this.u.v(n.I.k.Bn);(null==e||e)&&t()})}})}Fu(){this.u.ni(n.I.k.Ri),this.u.ni(n.I.k.gs),this.u.ni(n.I.k.rn)}changeUser(t,e,i){let r=this.wt.getUserId();if(r!==t){this._e.kl(),this.Fu(),null!=r&&this.qu(void 0,!1,void 0,void 0,void 0),this.wt.ru(t),i?this.Mo.setSdkAuthenticationSignature(i):this.Mo.yh();for(let t=0;t<e.length;t++)e[t].changeUser(null==r);null!=r&&this.u.ni(n.I.k.L),this.u.ni(n.I.k.Fa),this.openSession(),s.Z.j.info('Changed user to "'+t+'".')}else{let e="Doing nothing.";i&&this.Mo.jh()!==i&&(this.Mo.setSdkAuthenticationSignature(i),e="Updated SDK authentication signature"),s.Z.j.info(`Current user is already ${t}. ${e}`)}}requestImmediateDataFlush(t){this.Au(),this._e.co(),this.qu(void 0,void 0,void 0,void 0,()=>{s.Z.j.error("Failed to flush data, request will be retried automatically.")},t,!0)}requestFeedRefresh(){this._e.co(),this.qu(!0)}$r(t,e){this._e.co(),s.Z.j.info("Requesting explicit trigger refresh."),this.qu(void 0,!0,void 0,t,e)}$n(t,e){let i=s.Z.q.Tu,n=v.Z.N(i,{a:t,l:e});return n&&s.Z.j.info(`Logged alias ${t} with label ${e}`),n}Gn(t,e,i){if(this.yt.hu(e))return s.Z.j.info(`Custom Attribute "${e}" is blocklisted, ignoring.`),new E.Z;let n=v.Z.N(t,{key:e,value:i});if(n){let t="object"==typeof i?JSON.stringify(i,null,2):i;s.Z.j.info(`Logged custom attribute: ${e} with value: ${t}`)}return n}
1setLastKnownLocation(t,e,i,n,r,a){let o={latitude:e,longitude:i};null!=n&&(o.altitude=n),null!=r&&(o.ll_accuracy=r),null!=a&&(o.alt_accuracy=a);let l=v.Z.N(s.Z.q.Lu,o,t||void 0);return l&&s.Z.j.info(`Set user last known location as ${JSON.stringify(o,null,2)}`),l}vr(t,e){let i=this._e.co();return new m.Z(this.wt.getUserId(),s.Z.q.Mu,t,i,{cid:e})}pu(){let t=s.Z.ts.Zt;new s.Z.es(t,s.Z.j).setItem(t.rs.Na,1,{baseUrl:this.baseUrl,data:{api_key:this.cn,device_id:this.fn.ce().id},userId:this.wt.getUserId(),sdkAuthEnabled:this.Mo.wh()})}yr(t){for(let e of t)if(e.api_key===this.cn)this.$t.Qh(e.events,e.attributes);else{let t=s.Z.ts.Zt;new s.Z.es(t,s.Z.j).setItem(t.rs.wr,s.Z.Z.Y(),e)}}Zn(t,e,i){let n,r;return this.yt.hu(t)?(s.Z.j.info(`Custom Attribute "${t}" is blocklisted, ignoring.`),new E.Z):(null===e&&null===i?(n=s.Z.q.Pu,r={key:t}):(n=s.Z.q.Ru,r={key:t,latitude:e,longitude:i}),v.Z.N(n,r))}au(t,e){return v.Z.N(s.Z.q.Nu,{group_id:t,status:e})}}class I{constructor(t=0,e=[],i=[],n=[],r=null,s=null,a={enabled:!1},o={enabled:!1,refresh_rate_limit:void 0}){this.ol=t,this.cl=e,this.gl=i,this.fl=n,this.bl=r,this.al=s,this.ml=a,this.gi=o,this.ol=t,this.cl=e,this.gl=i,this.fl=n,this.bl=r,this.al=s,this.ml=a,this.gi=o}tt(){return{s:"5.0.1",l:this.ol,e:this.cl,a:this.gl,p:this.fl,m:this.bl,v:this.al,c:this.ml,f:this.gi}}static Yn(t){let e=t.l;return"5.0.1"!==t.s&&(e=0),new I(e,t.e,t.a,t.p,t.m,t.v,t.c,t.f)}}class N{constructor(t){this.u=t,this.u=t,this.tl=new r.Z,this.el=new r.Z,this.sl=new r.Z,this.il=null,this.rl=null}ll(){if(null==this.rl){let t=this.u.v(n.I.k.hl);this.rl=null!=t?I.Yn(t):new I}return this.rl}li(){return this.ll().ol}ul(t){if(null!=t&&null!=t.config){let e=t.config;if(e.time>this.ll().ol){let t=new I(e.time,e.events_blacklist,e.attributes_blacklist,e.purchases_blacklist,e.messaging_session_timeout,e.vapid_public_key,e.content_cards,e.feature_flags),i=!1;null!=t.al&&this.En()!==t.al&&(i=!0);let r=!1;null!=t.ml.enabled&&this.oi()!==t.ml.enabled&&(r=!0);let s=!1;null!=t.gi.enabled&&this.yi()!==t.gi.enabled&&(s=!0),this.rl=t,this.u.D(n.I.k.hl,t.tt()),i&&this.tl.Dt(),r&&this.el.Dt(),s&&this.sl.Dt()}}}Rn(t){let e=this.tl.It(t);return this.il&&this.tl.removeSubscription(this.il),this.il=e,e}Ps(t){return this.el.It(t)}Ci(t){return this.sl.It(t)}ge(t){return -1!==this.ll().cl.indexOf(t)}hu(t){return -1!==this.ll().gl.indexOf(t)}Dr(t){return -1!==this.ll().fl.indexOf(t)}dl(){return this.ll().bl}En(){return this.ll().al}oi(){return this.ll().ml.enabled||!1}$s(){let t=this.ll().ml.rate_limit;return!(!t||null==t.enabled)&&t.enabled}di(){if(!this.$s())return -1;let t=this.ll().ml.rate_limit;return null==t.capacity?w.O4:t.capacity<=0?-1:t.capacity}mi(){if(!this.$s())return -1;let t=this.ll().ml.rate_limit;return null==t.refill_rate?w.JG:t.refill_rate<=0?-1:t.refill_rate}yi(){return this.ll().gi.enabled&&null==this.Mi()?(v.Z.N(s.Z.q.qs,{e:"Missing feature flag refresh_rate_limit."}),!1):this.ll().gi.enabled||!1}Mi(){return this.ll().gi.refresh_rate_limit}}class C{constructor(t,e,i,n){this.u=t,this.wt=e,this.yt=i,this.wl=n,this.u=t,this.wt=e,this.yt=i,this.Sl=1e3,(null==n||isNaN(n))&&(n=1800),n<this.Sl/1e3&&(s.Z.j.info("Specified session timeout of "+n+"s is too small, using the minimum session timeout of "+this.Sl/1e3+"s instead."),n=this.Sl/1e3),this.wl=n}jl(t,e){return new m.Z(this.wt.getUserId(),s.Z.q.xl,t,e.iu,{d:(0,g.FX)(t-e.vl)})}Yh(){let t=this.u.tu(n.I.eu.Dl);return null==t?null:t.iu}El(){let t=new Date().valueOf(),e=this.yt.dl(),i=this.u.v(n.I.k.zl);if(null!=i&&null==e)return!1;let r=!1;return null==i?r=!0:null!=e&&(r=t-i>1e3*e),r&&this.u.D(n.I.k.zl,t),r}Cl(t,e){return null==e||null==e.Gl||!(t-e.vl<this.Sl)&&e.Gl<t}co(){let t=new Date().valueOf(),e=t+1e3*this.wl,i=this.u.tu(n.I.eu.Dl);if(this.Cl(t,i)){let r="Generating session start event with time "+t;if(null!=i){let t=i.Nl;t-i.vl<this.Sl&&(t=i.vl+this.Sl),this.u.Hl(this.jl(t,i)),r+=" (old session ended "+t+")"}r+=". Will expire "+e.valueOf(),s.Z.j.info(r);let a=new c.Z(s.Z.Z.Y(),e);return this.u.Hl(new m.Z(this.wt.getUserId(),s.Z.q.Wl,t,a.iu)),this.u.uu(n.I.eu.Dl,a),null==this.u.v(n.I.k.zl)&&this.u.D(n.I.k.zl,t),a.iu}if(null!=i)return i.Nl=t,i.Gl=e,this.u.uu(n.I.eu.Dl,i),i.iu}kl(){let t=this.u.tu(n.I.eu.Dl);null!=t&&(this.u.ql(n.I.eu.Dl),this.u.Hl(this.jl(new Date().valueOf(),t)))}}let _={xo:function(t,e=!1){let i,r=!1;try{if(localStorage&&localStorage.getItem)try{localStorage.setItem(n.I.k.Qa,"true"),localStorage.getItem(n.I.k.Qa)&&(localStorage.removeItem(n.I.k.Qa),r=!0)}catch(t){if(!(t instanceof Error&&("QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&localStorage.length>0))throw t;r=!0}}catch(t){s.Z.j.info("Local Storage not supported!")}let a=_.Ja(),o=new n.Z.Va(t,a&&!e,r);return i=r?new n.Z.Ya(t):new n.Z.Za,new n.Z(o,i)}
1,Ja:function(){return navigator.cookieEnabled||"cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)}};var T=i(85346),O=i(8548),P=i(63552),D=i(17615);class j{constructor(t,e){this.yt=t,this.u=e,this.yt=t,this.u=e}getUserId(){let t=this.u.tu(n.I.eu.su);if(null==t)return null;let e=t.iu,i=(0,O.E)(e);if(i>D.Z.lr){for(;i>D.Z.lr;)e=e.slice(0,e.length-1),i=(0,O.E)(e);t.iu=e,this.u.uu(n.I.eu.su,t)}return e}ru(t){let e=null==this.getUserId();this.u.uu(n.I.eu.su,new c.Z(t)),e&&this.u.ou(t)}setCustomUserAttribute(t,e){if(this.yt.hu(t))return s.Z.j.info('Custom Attribute "'+t+'" is blocklisted, ignoring.'),!1;let i={};return i[t]=e,this.nu(D.Z.lu,i,!0)}nu(t,e,i=!1,n=!1){let r=this.u.mu(this.getUserId(),t,e),a="",o=t,l=e;return i&&(a=" custom","object"==typeof e&&(o=Object.keys(e)[0],"object"==typeof(l=e[o])&&(l=JSON.stringify(l,null,2)))),!n&&r&&s.Z.j.info(`Logged${a} attribute ${o} with value ${l}`),r}_n(t,e,i,r,a){this.nu("push_token",t,!1,!0),this.nu("custom_push_public_key",i,!1,!0),this.nu("custom_push_user_auth",r,!1,!0),this.nu("custom_push_vapid_public_key",a,!1,!0);let o=s.Z.ts.Zt,l=new s.Z.es(o,s.Z.j),u=new P.Z(t,e,i,r,a);this.u.D(n.I.k.Bn,u.tt()),l.setItem(o.rs.cu,o.ie,!0)}Nn(t){if(this.nu("push_token",null,!1,!0),this.nu("custom_push_public_key",null,!1,!0),this.nu("custom_push_user_auth",null,!1,!0),this.nu("custom_push_vapid_public_key",null,!1,!0),t){let t=s.Z.ts.Zt,e=new s.Z.es(t,s.Z.j);this.u.D(n.I.k.Bn,!1),e.setItem(t.rs.cu,t.ie,!1)}}}var M=i(1148),R=i(75319);let z={ho:"allowCrawlerActivity",_o:"baseUrl",Eo:"noCookies",Io:"devicePropertyAllowlist",Aa:"disablePushTokenMaintenance",Ao:"enableLogging",So:"enableSdkAuthentication",qa:"manageServiceWorkerExternally",No:"minimumIntervalBetweenTriggerActionsInSeconds",Oo:"sessionTimeoutInSeconds",wo:"appVersion",Po:"appVersionNumber",_a:"serviceWorkerLocation",ka:"safariWebsitePushId",Ba:"localization",po:"contentSecurityNonce",Ro:"allowUserSuppliedJavascript",lo:"inAppMessageZIndex",fo:"openInAppMessagesInNewTab",tn:"openCardsInNewTab",en:"openNewsFeedCardsInNewTab",mh:"requireExplicitInAppMessageDismissal",Co:"doNotLoadFontAwesome",Lo:"sdkFlavor"};class U{constructor(){this.cn="",this.jo="",this.Do=void 0,this.Mo=null,this.fn=null,this.$t=null,this.ki=null,this.yt=null,this._e=null,this.u=null,this.wt=null,this.Uo="",this.Bo=!1,this.Wo=!1,this.zo=new r.Z,this.Vo=new r.Z,this.options={},this.Go=[],this.Ko=[],this.Ve=[],this.jo="5.0.1"}$o(t){this.zo.It(t)}Rh(t){this.Vo.It(t)}initialize(t,e){if(this.fe())return s.Z.j.info("Braze has already been initialized with an API key."),!0;this.options=e||{};let o=this.nn(z.Ao),u=(0,M.L)(R.SD.Cn());if(u&&"true"===u.brazeLogging&&(o=!0),s.Z.j.init(o),s.Z.j.info(`Initialization Options: ${JSON.stringify(this.options,null,2)}`),null==t||""===t||"string"!=typeof t)return s.Z.j.error("Braze requires a valid API key to be initialized."),!1;this.cn=t;let c=this.nn(z._o);if(null==c||""===c||"string"!=typeof c)return s.Z.j.error("Braze requires a valid baseUrl to be initialized."),!1;!1===/^https?:/.test(c)&&(c=`https://${c}`);let p=c;if((c=document.createElement("a")).href=p,"/"===c.pathname&&(c=`${c}api/v3`),this.Uo=c.toString(),l.Z.qo&&!this.nn(z.ho))return s.Z.j.info("Ignoring activity from crawler bot "+navigator.userAgent),this.Wo=!0,!1;let b=this.nn(z.Eo)||!1;if(this.u=_.xo(t,b),b&&this.u.Jo(t),new n.Z.ee(null,!0).jr(n.I.re))return s.Z.j.info("Ignoring all activity due to previous opt out"),this.Wo=!0,!1;for(let t of(0,d.XP)(this.options))-1===(0,d.VO)(s.Z.Yo).indexOf(t)&&s.Z.j.warn(`Ignoring unknown initialization option '${t}'.`);if(null!=this.nn(z.Lo)){let t=this.nn(z.Lo);-1!==["mparticle","wordpress","tealium"].indexOf(t)?this.Do=t:s.Z.j.error("Invalid sdk flavor passed: "+t)}let m=this.nn(s.Z.Yo.Io);if(null!=m){if((0,d.kJ)(m)){let t=[];for(let e=0;e<m.length;e++)(0,d.fk)(h.Z,m[e],"devicePropertyAllowlist contained an invalid value.","DeviceProperties")&&t.push(m[e]);m=t}else s.Z.j.error("devicePropertyAllowlist must be an array. Defaulting to all properties."),m=null}this.fn=new f(this.u,m),this.yt=new N(this.u),this.wt=new j(this.yt,this.u),this._e=new C(this.u,this.wt,this.yt,this.nn(z.Oo));let g=new r.Z;return this.Mo=new a(this.u,this.nn(z.So),g),this.Ht(g),this.$t=new y(this.fn,this.u,this.Mo,this.wt,this._e,this.yt,this.cn,this.Uo,this.jo,this.Do||"",this.nn(z.wo),this.nn(z.Po)),this.ki=new A(this.cn,this.Uo,this._e,this.fn,this.wt,this.yt,this.u,t=>{if(this.fe())for(let e of this.gr())e.Ss(t)},this.Mo,this.$t),this.ki.initialize(),b||this.u.Ho(),s.Z.j.info(`Initialized for the Braze backend at "${this.nn(z._o)}" with API key "${this.cn}".`),T.n.o(),this.yt.Ci(()=>{this.Bo&&this.yt&&this.yt.yi()&&Promise.resolve().then(i.bind(i,992)).then(t=>{this.Bo&&(0,t.default)()})}),this.ki.pr(()=>{this.Bo&&this.yt&&this.yt.yi()&&Promise.resolve().then(i.bind(i,992)).then(t=>{this.Bo&&(0,t.default)(void 0,void 0,!0)})}),this.zo.Dt(this.options),this.Bo=!0,!0}destroy(t){if(s.Z.j.destroy(),this.fe()){for(let t of(this.Vo.Dt(),this.Vo.removeAllSubscriptions(),this.Go))t.de
1stroy();for(let t of(this.Go=[],this.Ko))t.clearData(!1);this.Ko=[],this.removeAllSubscriptions(),this.Ve=[],null!=this.ki&&this.ki.destroy(),this.ki=null,this.Mo=null,this.fn=null,this.$t=null,this.yt=null,this._e=null,this.wt=null,this.options={},this.Do=void 0,this.Bo=!1,this.Wo=!1,t&&(this.u=null)}}rr(){return!this.Xo()&&(!!this.fe()||(console.warn(w.Go),!1))}Ma(){return this.cn}Sr(){return this.Mo}Ys(){return this.Uo}te(){return this.fn}ar(){return this.$t}nn(t){return this.options[t]}gr(){return this.Ko}cr(){return this.ki}tr(){return this.yt}aa(){return this._e}l(){return this.u}br(){if(this.wt&&this.ki)return new D.Z(this.wt,this.ki)}ir(){return this.wt}nr(){return!0===this.nn(z.Ro)}g(t){let e=!1;for(let i of this.Go)i===t&&(e=!0);e||this.Go.push(t)}dr(t){let e=!1;for(let i of this.Ko)i.constructor===t.constructor&&(e=!0);t instanceof o.Z&&!e&&this.Ko.push(t)}Ht(t){t instanceof r.Z&&this.Ve.push(t)}removeAllSubscriptions(){if(this.rr())for(let t of this.Ve)t.removeAllSubscriptions()}removeSubscription(t){if(this.rr())for(let e of this.Ve)e.removeSubscription(t)}ne(t){this.Wo=t}fe(){return this.Bo}Xo(){return this.Wo}As(){return this.jo}}let B=new U},45966:function(t,e,i){i.d(e,{I:function(){return h},Z:function(){return c}});var n=i(57559),r=i(42308),s=i(72893),a=i(82588),o=i(17615),l=i(7169),u=i(8031);let h={eu:{su:"ab.storage.userId",Zo:"ab.storage.deviceId",Dl:"ab.storage.sessionId"},k:{Qa:"ab.test",tE:"ab.storage.events",eE:"ab.storage.attributes",sE:"ab.storage.attributes.anonymous_user",Fa:"ab.storage.device",Kh:"ab.storage.sdk_metadata",Wh:"ab.storage.session_id_for_cached_metadata",Bn:"ab.storage.pushToken",Bi:"ab.storage.newsFeed",Ei:"ab.storage.lastNewsFeedRefresh",L:"ab.storage.cardImpressions",hl:"ab.storage.serverConfig",rE:"ab.storage.triggers",oE:"ab.storage.triggers.ts",zl:"ab.storage.messagingSessionStart",gs:"ab.storage.cc",js:"ab.storage.ccLastFullSync",Rs:"ab.storage.ccLastCardUpdated",Vs:"ab.storage.ccLastClientRequest",ci:"ab.storage.ccRateLimitCurrentTokenCount",C:"ab.storage.ccClicks",K:"ab.storage.ccImpressions",G:"ab.storage.ccDismissals",nE:"ab.storage.lastDisplayedTriggerTimesById",iE:"ab.storage.lastDisplayedTriggerTime",aE:"ab.storage.triggerFireInstancesById",xh:"ab.storage.signature",zs:"ab.storage.brazeSyncRetryCount",Us:"ab.storage.sdkVersion",Ri:"ab.storage.ff",qi:"ab.storage.ffImpressions",Ui:"ab.storage.ffLastRefreshAt",EE:"ab.storage.lastReqToEndpoint",lE:"ab.storage.requestAttempts",rn:"ab.storage.deferredIam"},re:"ab.optOut"};class c{constructor(t,e){this.SE=t,this._E=e,this.SE=t,this._E=e}Jo(t){let e=(0,s.XP)(h.eu),i=new c.ee(t);for(let t of e)i.remove(h.eu[t])}uu(t,e){let i=null;null!=e&&e instanceof r.Z&&(i=e.tt()),this.SE.store(t,i)}uE(t){let e=this.tu(t);null!=e&&(e.Nl=new Date().valueOf(),this.uu(t,e))}tu(t){return r.Z.Yn(this.SE.jr(t))}ql(t){this.SE.remove(t)}Ho(){let t;for(let e of(0,s.XP)(h.eu))null!=(t=this.tu(h.eu[e]))&&this.uu(h.eu[e],t)}bo(t){let e;if(null==t||0===t.length)return!1;e=(0,s.kJ)(t)?t:[t];let i=this._E.jr(h.k.tE);null!=i&&(0,s.kJ)(i)||(i=[]);for(let t=0;t<e.length;t++)i.push(e[t].tt());return this._E.store(h.k.tE,i)}Hl(t){return null!=t&&this.bo([t])}cE(){let t=this._E.jr(h.k.tE);this._E.remove(h.k.tE),null==t&&(t=[]);let e=[],i=!1,r=null;if((0,s.kJ)(t))for(let i=0;i<t.length;i++)n.Z.TE(t[i])?e.push(n.Z.Yn(t[i])):r=i;else i=!0;if(i||null!=r){let s="Stored events could not be deserialized as Events";i&&(s+=", was "+Object.prototype.toString.call(t)+" not an array"),null!=r&&(s+=", value at index "+r+" does not look like an event"),s+=", serialized values were of type "+typeof t+": "+JSON.stringify(t),e.push(new n.Z(null,a.Z.q.qs,new Date().valueOf(),null,{e:s}))}return e}D(t,e){return!!(0,s.fk)(h.k,t,"StorageManager cannot store object.","STORAGE_KEYS.OBJECTS")&&this._E.store(t,e)}v(t){return!!(0,s.fk)(h.k,t,"StorageManager cannot retrieve object.","STORAGE_KEYS.OBJECTS")&&this._E.jr(t)}ni(t){return!!(0,s.fk)(h.k,t,"StorageManager cannot remove object.","STORAGE_KEYS.OBJECTS")&&(this._E.remove(t),!0)}clearData(){let t=(0,s.XP)(h.eu),e=(0,s.XP)(h.k);for(let e=0;e<t.length;e++){let i=t[e];this.SE.remove(h.eu[i])}for(let t=0;t<e.length;t++){let i=e[t];this._E.remove(h.k[i])}}hE(t){return t||h.k.sE}Ha(t){let e=this._E.jr(h.k.eE);null==e&&(e={});let i=this.hE(t[o.Z.bu]),n=e[i];for(let r in t)r!==o.Z.bu&&(null==e[i]||n&&null==n[r])&&this.mu(t[o.Z.bu],r,t[r])}mu(t,e,i){let n=this._E.jr(h.k.eE);null==n&&(n={});let r=this.hE(t),s=n[r];if(null==s&&(s={},null!=t&&(s[o.Z.bu]=t)),e===o.Z.lu)for(let t in null==s[e]&&(s[e]={}),i)s[e][t]=i[t];else s[e]=i;return n[r]=s,this._E.store(h.k.eE,n)}AE(){let t=this._E.jr(h.k.eE);this._E.remove(h.k.eE);let e=[];for(let i in t)null!=t[i]&&e.push(t[i]);return e}ou(t){let e=this._E.jr(h.k.eE);if(null!=e){let i=this.hE(null),n=e[i];null!=n&&(e[i]=void 0,this._E.store(h.k.eE,e),n[o.Z.bu]=t,this.Ha(n))}let i=this.tu(h.eu.Dl),n=null;null!=i&&(n=i.iu);let r=this.cE();if(null!=r)for(let e=0;e<r.length;e++){let i=r[e];null==i.userId&&i.sessionId==n&&(i.userId=t),this.Hl(i)}}RE(){return this._E.OE}}c.Ya=class{constructor(t){this.cn=t,this.cn=t,this.OE=l.Z.gE()?3:10}dE(t){return t+"."+this.cn}store(t,e){try{return localStorage.setItem(this.dE(t),JSON.stringify({v:e})),!0}catch(t){return a.Z.j.info("Storage failure: "+(0,u.e)(t)),!1}}jr(t){try{let e=null,i=localStorage.getItem(this.dE(t));return null!=i&&(e=JSON.parse(i)),null==e?null:e.v}catch(t){return a.Z.j.info("Storage retrieval failure: "+(0,u.e)(t)),null}}remove(t){try{localStorage.removeItem(this.dE(t))}catch(t){return a.Z.j.info("Storage removal failure: "+(0,u.e)(t)),!1}}},c.Za=class{constructor(){this.fE={},this.bE=5242880,this.OE=3}store(t,e){let i=this.IE(e);return i>this.bE?(a.Z.j.info("Storage failure: object is ≈"+i+" bytes which is greater than the max of "+this.bE),!1):(this.fE[t]={value:e},!0)}IE(t){let e=[],i=[t],n=0;for(;i.length;){let t=i.pop();if("boolean"==typeof t)n+=4;else if("string"==typeof t)n+=2*t.length;else if("number"==typeof t)n+=8;else if("object"==typeof t&&-1===e.indexOf(t))for(let n in e.push(t),t)i.push(t[n])}return n}jr(t){let e=this.fE[t];return null==e?null:e.value}remove(t){this.fE[t]=null}},c.ee=class{constructor(t,e){this.cn=t,this.mE=e,this.cn=t,this.KE=this.YE(),this.NE=576e3,this.mE=!!e}dE(t){return null!=this.cn?t+"."+this.cn:t}YE(){let t=0,e=document.location.hostname,i=e.split("."),n="ab._gd";
1for(;t<i.length-1&&-1===document.cookie.indexOf(n+"="+n);)t++,e="."+i.slice(-1-t).join("."),document.cookie=n+"="+n+";domain="+e+";";return document.cookie=n+"=;expires="+new Date(0).toUTCString()+";domain="+e+";",e}ae(){let t=new Date;return t.setTime(t.getTime()+60*this.NE*1e3),t.getFullYear()}DE(){let t=(0,s.VO)(h.eu),e=document.cookie.split(";");for(let i=0;i<e.length;i++){let n=e[i];for(;" "===n.charAt(0);)n=n.substring(1);let r=!1;for(let e=0;e<t.length;e++)if(0===n.indexOf(t[e])){r=!0;break}if(r){let t=n.split("=")[0];-1===t.indexOf("."+this.cn)&&this.GE(t)}}}store(t,e){let i;this.DE();let n=new Date;n.setTime(n.getTime()+60*this.NE*1e3);let r="expires="+n.toUTCString(),s="domain="+this.KE;i=this.mE?e:encodeURIComponent(JSON.stringify(e));let o=this.dE(t)+"="+i+";"+r+";"+s+";path=/";return o.length>=4093?(a.Z.j.info("Storage failure: string is "+o.length+" chars which is too large to store as a cookie."),!1):(document.cookie=o,!0)}jr(t){let e=[],i=this.dE(t)+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let s=n[r];for(;" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf(i))try{let t;t=this.mE?s.substring(i.length,s.length):JSON.parse(decodeURIComponent(s.substring(i.length,s.length))),e.push(t)}catch(e){return a.Z.j.info("Storage retrieval failure: "+(0,u.e)(e)),this.remove(t),null}}return e.length>0?e[e.length-1]:null}remove(t){this.GE(this.dE(t))}GE(t){let e=t+"=;expires="+new Date(0).toUTCString();document.cookie=e,document.cookie=e+";path=/";let i=e+";domain="+this.KE;document.cookie=i,document.cookie=i+";path=/"}},c.Va=class{constructor(t,e,i){this.cn=t,this.CE=[],e&&this.CE.push(new c.ee(t)),i&&this.CE.push(new c.Ya(t)),this.CE.push(new c.Za)}store(t,e){let i=!0;for(let n=0;n<this.CE.length;n++)i=this.CE[n].store(t,e)&&i;return i}jr(t){for(let e=0;e<this.CE.length;e++){let i=this.CE[e].jr(t);if(null!=i)return i}return null}remove(t){new c.ee(this.cn).remove(t);for(let e=0;e<this.CE.length;e++)this.CE[e].remove(t)}}},74663:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(82588);class r{constructor(){this.Ve={}}It(t){if("function"!=typeof t)return null;let e=n.Z.Z.Y();return this.Ve[e]=t,e}removeSubscription(t){delete this.Ve[t]}removeAllSubscriptions(){this.Ve={}}tc(){return Object.keys(this.Ve).length}Dt(t){let e=[];for(let i in this.Ve){let n=this.Ve[i];e.push(n(t))}return e}}},63826:function(t,e){e.Z={Ra:"invalid_api_key",Xa:"blacklisted",Ea:"no_device_identifier",Zh:"invalid_json_response",Vh:"empty_response",__:"sdk_auth_error"}},57559:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(72893),r=i(57750);class s{constructor(t,e,i,n,s){this.userId=t,this.type=e,this.time=i,this.sessionId=n,this.data=s,this.userId=t,this.type=e,this.time=(0,r._0)(i),this.sessionId=n,this.data=s}Kr(){let t={name:this.type,time:(0,r.FX)(this.time),data:this.data||{},session_id:this.sessionId,user_id:void 0};return null!=this.userId&&(t.user_id=this.userId),t}tt(){return{u:this.userId,t:this.type,ts:this.time,s:this.sessionId,d:this.data}}static fromJson(t){return new s(t.user_id,t.name,t.time,t.session_id,t.data)}static TE(t){return null!=t&&(0,n.Kn)(t)&&null!=t.t&&""!==t.t}static Yn(t){return new s(t.u,t.t,t.ts,t.s,t.d)}}},42308:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(82588);class r{constructor(t,e,i){this.iu=t,null==t&&(t=n.Z.Z.Y()),!i||isNaN(i)?this.vl=new Date().valueOf():this.vl=i,this.iu=t,this.Nl=new Date().valueOf(),this.Gl=e}tt(){return{g:this.iu,e:this.Gl,c:this.vl,l:this.Nl}}static Yn(t){if(null==t||null==t.g)return null;let e=new r(t.g,t.e,t.c);return e.Nl=t.l,e}}},63552:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(57750);class r{constructor(t,e,i,n,r){this.endpoint=t,this.Mn=e,this.publicKey=i,this.Vl=n,this.al=r,this.endpoint=t||null,this.Mn=e||null,this.publicKey=i||null,this.Vl=n||null,this.al=r||null}tt(){return{e:this.endpoint,c:this.Mn,p:this.publicKey,u:this.Vl,v:this.al}}static Yn(t){return new r(t.e,(0,n.Rd)(t.c),t.p,t.u,t.v)}}},24673:function(t,e,i){i.d(e,{Z:function(){return n}});class n{constructor(t=!1,e=[]){this.O=t,this.ve=e,this.O=t,this.ve=e}S(t){this.O=this.O&&t.O,this.ve.push(...t.ve)}}},24365:function(t,e){e.Z={OPEN:"open",Rr:"purchase",zr:"push_click",$e:"custom_event",ro:"iam_click",vt:"test"}}
1,52134:function(t,e,i){i.d(e,{Z:function(){return g}});var n=i(57750),r=i(82588);class s{constructor(t){this.yl=t,this.yl=t}Bl(t){return null==this.yl||this.yl===t[0]}static fromJson(t){return new s(t?t.event_name:null)}tt(){return this.yl}}var a=i(72893);class o{constructor(t,e,i,r){this.Tl=t,this.Al=e,this.comparator=i,this._l=r,this.Tl=t,this.Al=e,this.comparator=i,this._l=r,this.Al===o.Rl.Ml&&this.comparator!==o.Il.Ll&&this.comparator!==o.Il.Ol&&this.comparator!==o.Il.Ul&&this.comparator!==o.Il.Ql&&(this._l=(0,n.X2)(this._l))}Bl(t){let e=null;switch(null!=t&&(e=t[this.Tl]),this.comparator){case o.Il.Xl:return null!=e&&e.valueOf()===this._l.valueOf();case o.Il.Fl:return null==e||e.valueOf()!==this._l.valueOf();case o.Il.Kl:return null!=e&&typeof e==typeof this._l&&e>this._l;case o.Il.Ll:return this.Al===o.Rl.Ml?null!=e&&(0,a.J_)(e)&&(0,n.$N)(e)<=this._l.valueOf():null!=e&&typeof e==typeof this._l&&e>=this._l;case o.Il.Pl:return null!=e&&typeof e==typeof this._l&&e<this._l;case o.Il.Ol:return this.Al===o.Rl.Ml?null!=e&&(0,a.J_)(e)&&(0,n.$N)(e)>=this._l.valueOf():null!=e&&typeof e==typeof this._l&&e<=this._l;case o.Il.Yl:return null!=e&&"string"==typeof e&&typeof e==typeof this._l&&null!=e.match(this._l);case o.Il.Zl:return null!=e;case o.Il.$l:return null==e;case o.Il.Ul:return null!=e&&(0,a.J_)(e)&&(0,n.yo)(e)<this._l;case o.Il.Ql:return null!=e&&(0,a.J_)(e)&&(0,n.yo)(e)>this._l;case o.Il.Eu:return null==e||typeof e!=typeof this._l||"string"!=typeof e||null==e.match(this._l)}return!1}static fromJson(t){return new o(t.property_key,t.property_type,t.comparator,t.property_value)}tt(){let t=this._l;return(0,a.J_)(this._l)&&(t=(0,n.FX)(t.valueOf())),{k:this.Tl,t:this.Al,c:this.comparator,v:t}}static Yn(t){return new o(t.k,t.t,t.c,t.v)}}o.Rl={_u:"boolean",Hu:"number",Iu:"string",Ml:"date"},o.Il={Xl:1,Fl:2,Kl:3,Ll:4,Pl:5,Ol:6,Yl:10,Zl:11,$l:12,Ul:15,Ql:16,Eu:17};class l{constructor(t){this.filters=t,this.filters=t}Bl(t){let e=!0;for(let i=0;i<this.filters.length;i++){let n=this.filters[i],r=!1;for(let e=0;e<n.length;e++)if(n[e].Bl(t)){r=!0;break}if(!r){e=!1;break}}return e}static fromJson(t){if(null==t||!(0,a.kJ)(t))return null;let e=[];for(let i=0;i<t.length;i++){let n=[],r=t[i];for(let t=0;t<r.length;t++)n.push(o.fromJson(r[t]));e.push(n)}return new l(e)}tt(){let t=[];for(let e=0;e<this.filters.length;e++){let i=this.filters[e],n=[];for(let t=0;t<i.length;t++)n.push(i[t].tt());t.push(n)}return t}static Yn(t){let e=[];for(let i=0;i<t.length;i++){let n=[],r=t[i];for(let t=0;t<r.length;t++)n.push(o.Yn(r[t]));e.push(n)}return new l(e)}}class u{constructor(t,e){this.yl=t,this.Jl=e,this.yl=t,this.Jl=e}Bl(t){if(null==this.yl||null==this.Jl)return!1;let e=t[0],i=t[1];return e===this.yl&&this.Jl.Bl(i)}static fromJson(t){return new u(t?t.event_name:null,t?l.fromJson(t.property_filters):null)}tt(){return{e:this.yl,pf:this.Jl?this.Jl.tt():null}}}class h{constructor(t,e){this.xu=t,this.zu=e,this.xu=t,this.zu=e}Bl(t){if(null==this.xu)return!1;let e=m.Bu(t[0],this.xu);if(!e)return!1;let i=null==this.zu||0===this.zu.length;if(null!=this.zu){for(let e=0;e<this.zu.length;e++)if(this.zu[e]===t[1]){i=!0;break}}return e&&i}static fromJson(t){return new h(t?t.id:null,t?t.buttons:null)}tt(){return this.xu}}class c{constructor(t){this.productId=t,this.productId=t}Bl(t){return null==this.productId||t[0]===this.productId}static fromJson(t){return new c(t?t.product_id:null)}tt(){return this.productId}}class d{constructor(t,e){this.productId=t,this.Jl=e,this.productId=t,this.Jl=e}Bl(t){if(null==this.productId||null==this.Jl)return!1;let e=t[0],i=t[1];return e===this.productId&&this.Jl.Bl(i)}static fromJson(t){return new d(t?t.product_id:null,t?l.fromJson(t.property_filters):null)}tt(){return{id:this.productId,pf:this.Jl?this.Jl.tt():null}}}class p{constructor(t){this.xu=t,this.xu=t}Bl(t){return null==this.xu||m.Bu(t[0],this.xu)}static fromJson(t){return new p(t?t.campaign_id:null)}tt(){return this.xu}}var f=i(24365),b=i(8031);class m{constructor(t,e){this.type=t,this.data=e,this.type=t,this.data=e}ec(t,e){return m.rc[this.type]===t&&(null==this.data||this.data.Bl(e))}static Bu(t,e){let i=null;try{i=window.atob(t)}catch(e){return r.Z.j.info("Failed to unencode analytics id "+t+": "+(0,b.e)(e)),!1}return e===i.split("_")[0]}static fromJson(t){let e=t.type,i=null;switch(e){case m.Wr.OPEN:case m.Wr.vt:break;case m.Wr.Rr:i=c.fromJson(t.data);break;case m.Wr.sc:i=d.fromJson(t.data);break;case m.Wr.zr:i=p.fromJson(t.data);break;case m.Wr.$e:i=s.fromJson(t.data);break;case m.Wr.ac:i=u.fromJson(t.data);break;case m.Wr.ro:i=h.fromJson(t.data)}return new m(e,i)}
1tt(){return{t:this.type,d:this.data?this.data.tt():null}}static Yn(t){let e,i=null;switch(t.t){case m.Wr.OPEN:case m.Wr.vt:break;case m.Wr.Rr:i=new c(t.d);break;case m.Wr.sc:i=new d((e=t.d||{}).id,l.Yn(e.pf||[]));break;case m.Wr.zr:i=new p(t.d);break;case m.Wr.$e:i=new s(t.d);break;case m.Wr.ac:i=new u((e=t.d||{}).e,l.Yn(e.pf||[]));break;case m.Wr.ro:i=new h(t.d)}return new m(t.t,i)}}m.Wr={OPEN:"open",Rr:"purchase",sc:"purchase_property",zr:"push_click",$e:"custom_event",ac:"custom_event_property",ro:"iam_click",vt:"test"},m.rc={},m.rc[m.Wr.OPEN]=f.Z.OPEN,m.rc[m.Wr.Rr]=f.Z.Rr,m.rc[m.Wr.sc]=f.Z.Rr,m.rc[m.Wr.zr]=f.Z.zr,m.rc[m.Wr.$e]=f.Z.$e,m.rc[m.Wr.ac]=f.Z.$e,m.rc[m.Wr.ro]=f.Z.ro,m.rc[m.Wr.vt]=f.Z.vt;class g{constructor(t,e=[],i,n,r=0,s,a,o=0,l=g.Ju,u,h,c){this.id=t,this.Vu=e,this.startTime=i,this.endTime=n,this.priority=r,this.type=s,this.data=a,this.Gu=o,this.Ku=l,this.sn=u,this.Ou=h,this.Qu=c,this.id=t,this.Vu=e||[],void 0===i&&(i=null),this.startTime=i,void 0===n&&(n=null),this.endTime=n,this.priority=r||0,this.type=s,this.Gu=o||0,null==u&&(u=1e3*(this.Gu+30)),this.sn=u,this.data=a,null!=l&&(this.Ku=l),this.Ou=h,this.Qu=c||null}Uu(t){return null==this.Qu||this.Ku!==g.Ju&&t-this.Qu>=1e3*this.Ku}Wu(t){this.Qu=t}Xu(t){return Math.max(t+1e3*this.Gu-new Date().valueOf(),0)}Yu(t){let e=new Date().valueOf()-t,i=null==t||isNaN(e)||null==this.sn||e<this.sn;return i||r.Z.j.info(`Trigger action ${this.type} is no longer eligible for display - fired ${e}ms ago and has a timeout of ${this.sn}ms.`),!i}static fromJson(t){let e=t.id,i=[];for(let e=0;e<t.trigger_condition.length;e++)i.push(m.fromJson(t.trigger_condition[e]));let r=(0,n.X2)(t.start_time),s=(0,n.X2)(t.end_time),o=t.priority,l=t.type,u=t.delay,h=t.re_eligibility,c=t.timeout,d=t.data,p=t.min_seconds_since_last_trigger;return(0,a.fk)(g.Wr,l,"Could not construct Trigger from server data","Trigger.Types")?new g(e,i,r,s,o,l,d,u,h,c,p):null}tt(){let t=[];for(let e=0;e<this.Vu.length;e++)t.push(this.Vu[e].tt());return{i:this.id,c:t,s:this.startTime,e:this.endTime,p:this.priority,t:this.type,da:this.data,d:this.Gu,r:this.Ku,tm:this.sn,ss:this.Ou,ld:this.Qu}}static Yn(t){let e=[],i=t.c||[];for(let t=0;t<i.length;t++)e.push(m.Yn(i[t]));return new g(t.i,e,(0,n.Rd)(t.s),(0,n.Rd)(t.e),t.p,t.t,t.da,t.d,t.r,t.tm,t.ss,t.ld)}}g.Wr={Vr:"inapp",Zu:"templated_iam"},g.Ju=-1},85346:function(t,e,i){i.d(e,{n:function(){return m}});var n=i(79602),r=i(19053),s=i(40158),a=i(23340),o=i(57559),l=i(1792),u=i(72893),h=i(45966);class c{constructor(t,e,i,n,r){this.triggerId=t,this.Yr=e,this.Ur=i,this.Zr=n,this.sn=r,this.triggerId=t,this.Yr=e,this.Ur=i,this.Zr=n,this.sn=r}static fromJson(t,e,i,n,r){return null==t||null==t.trigger_id?null:new c(t.trigger_id,e,i,n,r)}}var d=i(52134),p=i(24365),f=i(82588);class b extends s.Z{constructor(t,e,i,n,r){super(),this.tg=t,this.Bt=e,this.u=i,this.ki=n,this.ig=r,this.tg=t,this.Bt=e,this.u=i,this.ki=n,this.ig=r,this.sg=[],this.eg=[],this.hg=null,this.ng={},this.og={},this.triggers=[],this.ag=0,this.lg(),this.gg()}fg(){if(this.u){this.hg=this.u.v(h.I.k.iE)||this.hg,this.ng=this.u.v(h.I.k.aE)||this.ng,this.og=this.u.v(h.I.k.nE)||this.og;for(let t=0;t<this.triggers.length;t++){let e=this.triggers[t];e.id&&null!=this.og[e.id]&&e.Wu(this.og[e.id])}}}lg(){if(!this.u)return;this.ag=this.u.v(h.I.k.oE)||0;let t=this.u.v(h.I.k.rE)||[],e=[];for(let i=0;i<t.length;i++)e.push(d.Z.Yn(t[i]));this.triggers=e,this.fg()}gg(){let t=this,e=function(e,i,n,r,s){return function(){t.cg(e,i,n,r,s)}},i={};for(let t of this.triggers)t.id&&(i[t.id]=t);let n=!1;for(let t=0;t<this.triggers.length;t++){let r=this.triggers[t];if(r.id&&null!=this.ng[r.id]){let t=this.ng[r.id],s=[];for(let n=0;n<t.length;n++){let a=t[n],l=r.Xu(a.Zr||0);if(l>0){let t,n;s.push(a),null!=a.ug&&(t=a.ug),null!=a.dg&&o.Z.TE(a.dg)&&(n=o.Z.Yn(a.dg));let h=[];if(a.pg&&(0,u.kJ)(a.pg))for(let t=0;t<a.pg.length;t++){let e=i[a.pg[t]];null!=e&&h.push(e)}this.eg.push(window.setTimeout(e(r,a.Zr||0,t,n,h),l))}}this.ng[r.id].length>s.length&&(this.ng[r.id]=s,n=!0,0===this.ng[r.id].length&&delete this.ng[r.id])}}n&&this.u&&this.u.D(h.I.k.aE,this.ng)}mg(){if(!this.u)return;let t=[];for(let e=0;e<this.triggers.length;e++)t.push(this.triggers[e].tt());this.ag=new Date().valueOf(),this.u.D(h.I.k.rE,t),this.u.D(h.I.k.oE,this.ag)}bg(){this.u&&((this.u.v(h.I.k.oE)||0)>this.ag?this.lg():this.fg())}Ss(t){let e=!1;if(null!=t&&t.triggers){let i;this.ig.mn(),this.fg();let n={},r={};this.triggers=[];for(let i=0;i<t.triggers.length;i++){let s=d.Z.fromJson(t.triggers[i]);if(s){s.id&&null!=this.og[s.id]&&(s.Wu(this.og[s.id]),n[s.id]=this.og[s.id]),s.id&&null!=this.ng[s.id]&&(r[s.id]=this.ng[s.id]);for(let t=0;t<s.Vu.length;t++)if(s.Vu[t].ec(p.Z.vt,null)){e=!0;break}this.triggers.push(s)}}(0,u.Xy)(this.og,n)||(this.og=n,this.u&&this.u.D(h.I.k.nE,this.og)),(0,u.Xy)(this.ng,r)||(this.ng=r,this.u&&this.u.D(h.I.k.aE,this.ng)),this.mg(),e&&(f.Z.j.info("Trigger with test c
1ondition found, firing test."),this.be(p.Z.vt)),this.be(p.Z.OPEN);let s=this.sg;this.sg=[];for(let t=0;t<s.length;t++)i=Array.prototype.slice.call(s[t]),this.be(...i)}}cg(t,e,i,n,r){let s,o,u;let h=n=>{this.fg();let r=new Date().valueOf();if(!t.Yu(e))return!1===navigator.onLine&&t.type===d.Z.Wr.Vr&&n.imageUrl?(f.Z.j.info(`Not showing ${t.type} trigger action ${t.id} due to offline state.`),void this.ig.Ji(t.id,l.Z.Ie.Uh)):void(t.Uu(r)&&this.wg(t,r,i)?0===this.Bt.tc()?f.Z.j.info(`Not displaying trigger ${t.id} because neither automaticallyShowInAppMessages() nor subscribeToInAppMessage() were called.`):(this.Bt.Dt([n]),this.yg(t,r)):f.Z.j.info(`Not displaying trigger ${t.id} because display time fell outside of the acceptable time window.`));t.type===d.Z.Wr.Zu?this.ig.Ji(t.id,l.Z.Ie.Qr):this.ig.Ji(t.id,l.Z.Ie.bh)},p=()=>{this.fg();let s=r.pop();if(null!=s){if(this.Tg(s,e,i,n,r),s.Yu(e)){let t=`Server aborted in-app message display, but the timeout on fallback trigger ${s.id} has already elapsed.`;r.length>0&&(t+=" Continuing to fall back."),f.Z.j.info(t),this.ig.Ji(s.id,l.Z.Ie.bh),p()}else{f.Z.j.info(`Server aborted in-app message display. Falling back to lower priority ${s.type} trigger action ${t.id}.`);let a=1e3*s.Gu-(new Date().valueOf()-e);a>0?this.eg.push(window.setTimeout(()=>{this.cg(s,e,i,n,r)},a)):this.cg(s,e,i,n,r)}}};switch(t.type){case d.Z.Wr.Vr:if(null==(s=(0,a.q)(t.data))){f.Z.j.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`),this.ig.Ji(t.id,l.Z.Ie.Xr);break}if(o=this.ig.Mr(s)){f.Z.j.error(o),p();break}h(s);break;case d.Z.Wr.Zu:if(null==(u=c.fromJson(t.data,h,p,e,t.sn||0))){f.Z.j.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`),this.ig.Ji(t.id,l.Z.Ie.Xr);break}this.ig.Hr(u,i,n);break;default:f.Z.j.error(`Trigger ${t.id} was of unexpected type ${t.type}, ignoring.`),this.ig.Ji(t.id,l.Z.Ie.Xr)}}be(t,e=null,i){if(!(0,u.fk)(p.Z,t,"Cannot fire trigger action.","TriggerEvents"))return;if(this.ki&&this.ki.Du())return f.Z.j.info("Trigger sync is currently in progress, awaiting sync completion before firing trigger event."),void this.sg.push(arguments);this.bg();let n=new Date().valueOf(),r=n-(this.hg||0),s=!0,a=!0,o=[];for(let i=0;i<this.triggers.length;i++){let r=this.triggers[i],l=n+1e3*r.Gu;if(r.Uu(l)&&(null==r.startTime||r.startTime.valueOf()<=n)&&(null==r.endTime||r.endTime.valueOf()>=n)){let i=!1;for(let n=0;n<r.Vu.length;n++)if(r.Vu[n].ec(t,e)){i=!0;break}i&&(s=!1,this.wg(r,l,t)&&(a=!1,o.push(r)))}}if(s)return void f.Z.j.info(`Trigger event ${t} did not match any trigger conditions.`);if(a)return void f.Z.j.info(`Ignoring ${t} trigger event because a trigger was displayed ${r/1e3}s ago.`);o.sort((t,e)=>t.priority-e.priority);let l=o.pop();null!=l&&(f.Z.j.info(`Firing ${l.type} trigger action ${l.id} from trigger event ${t}.`),this.Tg(l,n,t,i,o),0===l.Gu?this.cg(l,n,t,i,o):this.eg.push(window.setTimeout(()=>{this.cg(l,n,t,i,o)},1e3*l.Gu)))}changeUser(t=!1){if(this.triggers=[],this.u&&this.u.ni(h.I.k.rE),!t){this.sg=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[],this.u&&(this.u.ni(h.I.k.iE),this.u.ni(h.I.k.nE),this.u.ni(h.I.k.aE))}}clearData(){this.triggers=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[]}wg(t,e,i){if(null==this.hg)return!0;if(i===p.Z.vt)return f.Z.j.info("Ignoring minimum interval between trigger because it is a test type."),!0;let n=t.Ou;return null==n&&(n=this.tg),e-this.hg>=1e3*n}Tg(t,e,i,n,r){let s;this.fg(),t.id&&(this.ng[t.id]=this.ng[t.id]||[]);let a={};a.Zr=e,a.ug=i,null!=n&&(s=n.tt()),a.dg=s;let o=[];for(let t of r)t.id&&o.push(t.id);a.pg=o,t.id&&this.ng[t.id].push(a),this.u&&this.u.D(h.I.k.aE,this.ng)}yg(t,e){this.fg(),t.Wu(e),this.hg=e,t.id&&(this.og[t.id]=e),this.u&&(this.u.D(h.I.k.iE,e),this.u.D(h.I.k.nE,this.og))}}let m={t:!1,provider:null,er:()=>(m.o(),m.provider||m.rg(),m.provider),rg:()=>{if(!m.provider){let t=r.ZP.nn(r.JY.No);m.provider=new b(null!=t?t:30,n.Z.m().Ze(),r.ZP.l(),r.ZP.cr(),n.Z.m()),r.ZP.dr(m.provider)}},o:()=>{m.t||(m.rg(),r.ZP.g(m),m.t=!0)},destroy:()=>{m.provider=null,m.t=!1}}}
1,95333:function(t,e,i){i.d(e,{e:function(){return r}});var n=i(19053);function r(t,e,i){let r=t||document.querySelector("head"),s=`ab-${e}-css-definitions-${"5.0.1".replace(/\./g,"-")}`;if(!r)return;let a=r.ownerDocument||document;if(null==a.getElementById(s)){let t=a.createElement("style");t.innerHTML=i||"",t.id=s;let e=n.ZP.nn(n.JY.po);null!=e&&t.setAttribute("nonce",e),r.appendChild(t)}}},46959:function(t,e,i){i.d(e,{B:function(){return s}});var n=i(95333),r=i(16524);function s(){(0,n.e)(void 0,"feed","body>.ab-feed{position:fixed;top:0;right:0;bottom:0;width:421px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}body>.ab-feed .ab-feed-body{position:absolute;top:0;left:0;right:0;border:none;border-left:1px solid #d0d0d0;padding-top:70px;min-height:100%}body>.ab-feed .ab-initial-spinner{float:none}body>.ab-feed .ab-no-cards-message{position:absolute;width:100%;margin-left:-20px;top:40%}.ab-feed{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);-moz-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);box-shadow:0 1px 7px 1px rgba(66,82,113,.15);width:402px;background-color:#eee;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif;font-size:13px;line-height:130%;letter-spacing:normal;overflow-y:auto;overflow-x:visible;z-index:9011;-webkit-overflow-scrolling:touch}.ab-feed :focus,.ab-feed:focus{outline:0}.ab-feed .ab-feed-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d0d0d0;border-top:none;padding:20px 20px 0 20px}.ab-feed.ab-effect-slide{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px);-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-feed.ab-effect-slide.ab-show{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.ab-feed.ab-effect-slide.ab-hide{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px)}.ab-feed .ab-card{position:relative;-webkit-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-moz-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:100%;border:1px solid #d0d0d0;margin-bottom:20px;overflow:hidden;background-color:#fff;-webkit-transition:height .4s ease-in-out,margin .4s ease-in-out;-moz-transition:height .4s ease-in-out,margin .4s ease-in-out;-o-transition:height .4s ease-in-out,margin .4s ease-in-out;transition:height .4s ease-in-out,margin .4s ease-in-out}.ab-feed .ab-card .ab-pinned-indicator{position:absolute;right:0;top:0;margin-right:-1px;width:0;height:0;border-style:solid;border-width:0 24px 24px 0;border-color:transparent #1676d0 transparent transparent}.ab-feed .ab-card .ab-pinned-indicator .fa-star{position:absolute;right:-21px;top:2px;font-size:9px;color:#fff}.ab-feed .ab-card.ab-effect-card.ab-hide{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.ab-feed .ab-card.ab-effect-card.ab-hide.ab-swiped-left{-webkit-transform:translateX(-450px);-moz-transform:translateX(-450px);-ms-transform:translateX(-450px);transform:translateX(-450px)}.ab-feed .ab-card.ab-effect-card.ab-hide.ab-swiped-right{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px)}.ab-feed .ab-card.ab-effect-card.ab-hide:not(.ab-swiped-left):not(.ab-swiped-right){opacity:0}.ab-feed .ab-card .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021;opacity:0;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s}.ab-feed .ab-card .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-feed .ab-card .ab-close-button svg.ab-chevron{display:none}.ab-feed .ab-card .ab-close-button:active{background-color:transparent}.ab-feed .ab-card .ab-close-button:focus{background-color:transparent}.ab-feed .ab-card .ab-close-button:hover{background-color:transparent}.ab-feed .ab-card .ab-close-button:hover svg{fill-opacity:.8}.ab-feed .ab-card .ab-close-button:hover{opacity:1}.ab-feed .ab-card .ab-close-button:focus{opacity:1}.ab-feed .ab-card a{float:none;color:inherit;text-decoration:none}.ab-feed .ab-card a:hover{text-decoration:underline}.ab-feed .ab-card .ab-image-area{float:none;display:inline-block;vertical-align:top;line-height:0;overflow:hidden;width:100%;-webkit-box-sizing:initial;-moz-box-sizing:initial;box-sizing:initial}.ab-feed .ab-card .ab-image-area img{float:none;height:auto;width:100%}
1.ab-feed .ab-card.ab-image-only .ab-card-body{display:none}.ab-feed .ab-card .ab-card-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:100%;position:relative}.ab-feed .ab-card .ab-unread-indicator{position:absolute;bottom:0;margin-right:-1px;width:100%;height:5px;background-color:#1676d0}.ab-feed .ab-card .ab-unread-indicator.read{background-color:transparent}.ab-feed .ab-card .ab-title{float:none;letter-spacing:0;margin:0;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;display:block;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:18px;line-height:130%;padding:20px 25px 0 25px}.ab-feed .ab-card .ab-description{float:none;color:#545454;padding:15px 25px 20px 25px;word-wrap:break-word;white-space:pre-wrap}.ab-feed .ab-card .ab-description.ab-no-title{padding-top:20px}.ab-feed .ab-card .ab-url-area{float:none;color:#1676d0;margin-top:12px;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif}.ab-feed .ab-card.ab-classic-card .ab-card-body{min-height:40px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.ab-feed .ab-card.ab-classic-card.with-image .ab-card-body{min-height:100px;padding-left:72px}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area{width:60px;height:60px;padding:20px 0 25px 25px;position:absolute}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area img{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;max-width:100%;max-height:100%;width:auto;height:auto}.ab-feed .ab-card.ab-classic-card.with-image .ab-title{background-color:transparent;font-size:16px}.ab-feed .ab-card.ab-classic-card.with-image .ab-description{padding-top:10px}.ab-feed .ab-card.ab-control-card{height:0;width:0;margin:0;border:0}.ab-feed .ab-feed-buttons-wrapper{float:none;position:relative;background-color:#282828;height:50px;-webkit-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-moz-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);box-shadow:0 2px 3px 0 rgba(178,178,178,.5);z-index:1}.ab-feed .ab-feed-buttons-wrapper .ab-close-button,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{float:none;cursor:pointer;color:#fff;font-size:18px;padding:16px;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{font-size:22px}.ab-feed .ab-feed-buttons-wrapper .ab-close-button{float:right}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover{padding-top:12px;padding-right:14px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{padding-left:17px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{padding-top:13px;padding-left:14px}.ab-feed .ab-no-cards-message{text-align:center;margin-bottom:20px}@media (max-width:600px){body>.ab-feed{width:100%}}"),(0,r.N)()}},16524:function(t,e,i){i.d(e,{N:function(){return r}});var n=i(19053);function r(){if(n.ZP.nn(n.JY.Co))return;let t="https://use.fontawesome.com/7f85a56ba4.css";if(!(null!==document.querySelector('link[rel=stylesheet][href="'+t+'"]'))){let e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e)}}},73046:function(t,e,i){i.d(e,{A9:function(){return o},OL:function(){return h},Tu:function(){return u},je:function(){return d},yi:function(){return l},zA:function(){return p}});var n=i(82588),r=i(8031),s=i(8548),a=i(3905);let o={types:{ue:"container",logCustomEvent:"logCustomEvent",setEmailNotificationSubscriptionType:"setEmailNotificationSubscriptionType",setPushNotificationSubscriptionType:"setPushNotificationSubscriptionType",setCustomUserAttribute:"setCustomUserAttribute",requestPushPermission:"requestPushPermission",addToSubscriptionGroup:"addToSubscriptionGroup",removeFromSubscriptionGroup:"removeFromSubscriptionGroup",addToCustomAttributeArray:"addToCustomAttributeArray",removeFromCustomAttributeArray:"removeFromCustomAttributeArray",pe:"openLink",je:"openLinkInWebView"},properties:{type:"type",me:"steps",le:"args"}},l={_r:"unknownBrazeAction",Or:"noPushPrompt"},u=(t,e)=>{switch(t){case l._r:return`${e} contains an unknown braze action type and will not be displayed.`;case l.Or:return`${e} contains a push prompt braze action, but is not eligible for a push prompt. Ignoring.`;default:return""}};function h(t){try{let e=t.match(a.y9),i=e?e[0].length:null,r=i?t.substring(i):null;if(null==i||i>t.length-1||!r)return void n.Z.j.error(`Did not find base64 encoded brazeAction in url to process : ${t}`);let o=(0,s.T)(r);return o?JSON.parse(o):void n.Z.j.error(`Failed to decode base64 encoded brazeAction: ${r}`)}catch(e){return void n.Z.j.error(`Failed to process brazeAction URL ${t} : ${(0,r.e)(e)}`)}}function c(t,e){let i=!1;if(e){for(let n of e)if(i=i||t(n))return!0}return!1}function d(t){let e=o.properties.type,i=o.properties.me;try{if(null==t)return!0;let n=t[e];return n===o.types.ue?c(d,t[i]):!(0,a.OM)(n)}catch(t){return!0}}function p(t){if(!t||!(0,a.zR)(t))return!1;let e=o.properties.type,i=o.properties.me,n=t[e];return n===o.types.ue?c(p,t[i]):n===o.types.requestPushPermission}}
1,7169:function(t,e,i){i.d(e,{Z:function(){return u}});var n=i(72893);class r{constructor(){}tf(){}ef(){}Ta(t){}static rf(t,e){if(t&&e){if(t=t.toLowerCase(),(0,n.kJ)(e.if)){for(let i=0;i<e.if.length;i++)if(-1!==t.indexOf(e.if[i].toLowerCase()))return e.identity}else if(-1!==t.indexOf(e.if.toLowerCase()))return e.identity}}}var s=i(35806);class a extends r{constructor(){if(super(),this.userAgentData=navigator.userAgentData,this.browser=null,this.version=null,this.userAgentData){let t=this.ic();this.browser=t.browser||"Unknown Browser",this.version=t.version||"Unknown Version"}this.OS=null}tf(){return this.browser}ef(){return this.version}Ta(t){if(this.OS)return Promise.resolve(this.OS);let e=e=>{for(let i=0;i<t.length;i++){let n=a.rf(e,t[i]);if(n)return this.OS=n,this.OS}return e};return this.userAgentData.platform?Promise.resolve(e(this.userAgentData.platform)):this.getHighEntropyValues().then(t=>t.platform?e(t.platform):navigator.platform).catch(()=>navigator.platform)}ic(){let t={},e=this.userAgentData.brands;if(e&&e.length)for(let i of e){let e=this.nc(s.s),n=i.brand.match(e);if(n&&n.length>0){t.browser=n[0],t.version=i.version;break}}return t}nc(t){let e=[];for(let i in t)e.push(t[i]);return RegExp("("+e.join("|")+")","i")}getHighEntropyValues(){return this.userAgentData.getHighEntropyValues?this.userAgentData.getHighEntropyValues(["platform"]):Promise.reject()}}class o extends r{constructor(){super(),this.rd=o.ic(navigator.userAgent||"")}tf(){return this.rd[0]||"Unknown Browser"}ef(){return this.rd[1]||"Unknown Version"}Ta(t){for(let e=0;e<t.length;e++){let i=t[e].string,n=o.rf(i,t[e]);if(n)return n===s.T.kg&&navigator.maxTouchPoints>1&&(n=s.T.de),Promise.resolve(n)}return Promise.resolve(navigator.platform)}static ic(t){let e,i=t.match(/(samsungbrowser|tizen|roku|konqueror|icab|crios|opera|ucbrowser|chrome|safari|firefox|camino|msie|trident(?=\/))\/?\s*(\.?\d+(\.\d+)*)/i)||[];if(-1!==t.indexOf("(Web0S; Linux/SmartTV)"))return["LG Smart TV",null];if(-1!==t.indexOf("CrKey"))return["Chromecast",null];if(-1!==t.indexOf("BRAVIA")||-1!==t.indexOf("SonyCEBrowser")||-1!==t.indexOf("SonyDTV"))return["Sony Smart TV",null];if(-1!==t.indexOf("PhilipsTV"))return["Philips Smart TV",null];if(t.match(/\b(Roku)\b/))return["Roku",null];if(t.match(/\bAFTM\b/))return["Amazon Fire Stick",null];if(i[1]===s.s.rO&&null!=(e=t.match(/\b(OPR|Edge|EdgA|Edg|UCBrowser)\/(\.?\d+(\.\d+)*)/)))return(e=e.slice(1))[0]=e[0].replace("OPR",s.s.oO),e[0]=e[0].replace("EdgA",s.s.eO),"Edg"===e[0]&&(e[0]=s.s.eO),[e[0],e[1]];if(i[1]===s.s.Bg&&null!=(e=t.match(/\b(EdgiOS)\/(\.?\d+(\.\d+)*)/)))return(e=e.slice(1))[0]=e[0].replace("EdgiOS",s.s.eO),[e[0],e[1]];if((i=i[2]?[i[1],i[2]]:[null,null])[0]===s.s.Bg&&null!=(e=t.match(/version\/(\.?\d+(\.\d+)*)/i))&&i.splice(1,1,e[1]),null!=(e=t.match(/\b(UCBrowser)\/(\.?\d+(\.\d+)*)/))&&i.splice(1,1,e[2]),i[0]===s.s.oO&&null!=(e=t.match(/mini\/(\.?\d+(\.\d+)*)/i)))return["Opera Mini",e[1]||""];if(i[0]){let t=i[0].toLowerCase();"crios"===t&&(i[0]=s.s.rO),"tizen"===t&&(i[0]="Samsung Smart TV",i[1]=null),"samsungbrowser"===t&&(i[0]="Samsung Browser")}return i}}class l{constructor(){let t=navigator.userAgentData?a:o;this.Sg=new t,this.userAgent=navigator.userAgent,this.browser=this.Sg.tf(),this.version=this.Sg.ef(),this.OS=null,this.Ta().then(t=>this.OS=t);let e=navigator;this.language=(e.userLanguage||e.language||e.browserLanguage||e.systemLanguage||"").toLowerCase(),this.qo=l.vg(this.userAgent)}gE(){return this.browser===s.s.Bg}Ca(){return this.OS||null}Ta(){return this.OS?Promise.resolve(this.OS):this.Sg.Ta(l.Og).then(t=>(this.OS=t,t))}static vg(t){t=t.toLowerCase();let e=["googlebot","bingbot","slurp","duckduckbot","baiduspider","yandex","facebookexternalhit","sogou","ia_archiver","https://github.com/prerender/prerender","aolbuild","bingpreview","msnbot","adsbot","mediapartners-google","teoma"];for(let i=0;i<e.length;i++)if(-1!==t.indexOf(e[i]))return!0;return!1}}l.Og=[{string:navigator.platform,if:"Win",identity:s.T.Pg},{string:navigator.platform,if:"Mac",identity:s.T.kg},{string:navigator.platform,if:"BlackBerry",identity:"BlackBerry"},{string:navigator.platform,if:"FreeBSD",identity:"FreeBSD"},{string:navigator.platform,if:"OpenBSD",identity:"OpenBSD"},{string:navigator.platform,if:"Nintendo",identity:"Nintendo"},{string:navigator.platform,if:"SunOS",identity:"SunOS"},{string:navigator.platform,if:"PlayStation",identity:"PlayStation"},{string:navigator.platform,if:"X11",identity:"X11"},{string:navigator.userAgent,if:["iPhone","iPad","iPod"],identity:s.T.de},{string:navigator.platform,if:"Pike v",identity:s.T.de},{string:navigator.userAgent,if:["Web0S"],identity:"WebOS"},{string:navigator.platform,if:["Linux armv7l","Android"],identity:s.T.xg},{string:navigator.userAgent,if:["Android"],identity:s.T.xg},{string:navigator.platform,if:"Linux",identity:"Linux"}];let u=new l}
1,72893:function(t,e,i){i.d(e,{J_:function(){return o},Kn:function(){return l},VO:function(){return r},XP:function(){return h},Xy:function(){return function t(e,i){if(e===i)return 0!==e||1/e==1/i;if(null==e||null==i)return e===i;let n=e.toString();if(n!==i.toString())return!1;switch(n){case"[object RegExp]":case"[object String]":return""+e==""+i;case"[object Number]":return+e!=+e?+i!=+i:0==+e?1/+e==1/i:+e==+i;case"[object Date]":case"[object Boolean]":return+e==+i}let r="[object Array]"===n;if(!r){if("object"!=typeof e||"object"!=typeof i)return!1;let t=e.constructor,n=i.constructor;if(t!==n&&!("function"==typeof t&&t instanceof t&&"function"==typeof n&&n instanceof n)&&"constructor"in e&&"constructor"in i)return!1}let s=[],a=[],o=s.length;for(;o--;)if(s[o]===e)return a[o]===i;if(s.push(e),a.push(i),r){if((o=e.length)!==i.length)return!1;for(;o--;)if(!t(e[o],i[o]))return!1}else{let n;let r=h(e);if(o=r.length,h(i).length!==o)return!1;for(;o--;)if(n=r[o],!Object.prototype.hasOwnProperty.call(i,n)||!t(e[n],i[n]))return!1}return s.pop(),a.pop(),!0}},fk:function(){return s},jV:function(){return u},kJ:function(){return a}});var n=i(82588);function r(t){let e=[];for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&void 0!==t[i]&&e.push(t[i]);return e}function s(t,e,i,s){let a=r(t);return -1!==a.indexOf(e)||(n.Z.j.error(`${i} Valid values from ${s} are "${a.join('"/"')}".`),!1)}function a(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function o(t){return"[object Date]"===Object.prototype.toString.call(t)}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t,...e){null==t&&(t=[]);let i=[],n=arguments.length;for(let e=0,r=t.length;e<r;e++){let r=t[e];if(-1!==i.indexOf(r))continue;let s=1;for(s=1;s<n&&-1!==arguments[s].indexOf(r);s++);s===n&&i.push(r)}return i}function h(t){let e=[];for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}},5242:function(t,e,i){i.d(e,{B:function(){return s}});var n=i(11507),r=i(7429);function s(t,e,i){let s=document.createElement("button");s.setAttribute("aria-label",t),s.setAttribute("tabindex","0"),s.setAttribute("role","button"),(0,n.lj)(s,"touchstart"),s.className="ab-close-button";let a=(0,n.MK)("0 0 15 15","M15 1.5L13.5 0l-6 6-6-6L0 1.5l6 6-6 6L1.5 15l6-6 6 6 1.5-1.5-6-6 6-6z",e);return s.appendChild(a),s.addEventListener("keydown",t=>{t.keyCode!==r.m.Fo&&t.keyCode!==r.m.To||(i(),t.stopPropagation())}),s.onclick=t=>{i(),t.stopPropagation()},s}},57750:function(t,e,i){i.d(e,{$N:function(){return h},BT:function(){return o},FX:function(){return r},Pn:function(){return s},Rd:function(){return l},X2:function(){return a},_0:function(){return u},yo:function(){return c}});var n=i(72893);function r(t,e=!1){let i=t/1e3;return e&&(i=Math.floor(i)),i}function s(t){return 1e3*t}function a(t){if(null==t)return null;let e=parseInt(t.toString());return isNaN(e)?null:new Date(1e3*e)}function o(t){return null!=t&&(0,n.J_)(t)?t.toISOString().replace(/\.[0-9]{3}Z$/,""):t}function l(t){return null==t||""===t?null:new Date(t)}function u(t){return null==t||""===t?new Date().valueOf():t}function h(t){return(new Date().valueOf()-t.valueOf())/1e3}function c(t){return(t.valueOf()-new Date().valueOf())/1e3}},35806:function(t,e,i){i.d(e,{T:function(){return r},s:function(){return n}});let n={rO:"Chrome",eO:"Edge",oO:"Opera",Bg:"Safari",OO:"Firefox"},r={xg:"Android",de:"iOS",kg:"Mac",Pg:"Windows"}},11507:function(t,e,i){i.d(e,{$j:function(){return c},FZ:function(){return d},Fr:function(){return h},MK:function(){return p},QZ:function(){return o},lP:function(){return s},lj:function(){return l},mQ:function(){return a},rJ:function(){return u}});var n=i(82588),r=i(8031);let s={oc:null,no:function(t,e=!1,i=!1,n=!1){if(null==t)return!1;e=e||!1,i=i||!1;let r=t.getBoundingClientRect();return null!=r&&(r.top>=0&&r.top<=(window.innerHeight||document.documentElement.clientHeight)||!e)&&(r.left>=0||!n)&&(r.bottom>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)||!i)&&(r.right<=(window.innerWidth||document.documentElement.clientWidth)||
1!n)}},a={Oe:"up",Qe:"down",W:"left",X:"right"};function o(){if(null==s.oc){s.oc=!1;try{let t=Object.defineProperty({},"passive",{get:()=>{s.oc=!0}});window.addEventListener("testPassive",()=>{},t),window.removeEventListener("testPassive",()=>{},t)}catch(t){n.Z.j.error((0,r.e)(t))}}return s.oc}function l(t,e,i=()=>{}){t.addEventListener(e,i,!!o()&&{passive:!0})}function u(t){return s.no(t,!0,!1,!1)}function h(t){return s.no(t,!1,!0,!1)}function c(t){if(t.onclick){let e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),t.onclick.apply(t,[e])}}function d(t,e,i){let n=null,r=null;l(t,"touchstart",t=>{n=t.touches[0].clientX,r=t.touches[0].clientY}),l(t,"touchmove",s=>{if(null==n||null==r)return;let o=n-s.touches[0].clientX,l=r-s.touches[0].clientY;Math.abs(o)>Math.abs(l)&&Math.abs(o)>=25?((o>0&&e===a.W||o<0&&e===a.X)&&i(s),n=null,r=null):Math.abs(l)>=25&&((l>0&&e===a.Oe&&t.scrollTop===t.scrollHeight-t.offsetHeight||l<0&&e===a.Qe&&0===t.scrollTop)&&i(s),n=null,r=null)})}function p(t,e,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg");r.setAttribute("viewBox",t),r.setAttribute("xmlns",n);let s=document.createElementNS(n,"path");return s.setAttribute("d",e),null!=i&&s.setAttribute("fill",i),r.appendChild(s),r}},8031:function(t,e,i){i.d(e,{e:function(){return n}});let n=t=>t instanceof Error?t.message:String(t)},7429:function(t,e,i){i.d(e,{m:function(){return n}});let n={Fo:32,oo:9,To:13,_h:27}},93307:function(t,e,i){i.d(e,{R:function(){return n}});let n=(t,e)=>(t=Math.ceil(t),Math.floor(Math.random()*((e=Math.floor(e))-t+1))+t)},41843:function(t,e,i){i.d(e,{D:function(){return a}});var n=i(82588),r=i(63826),s=i(8031);let a=t=>{let e,i;let n={},r=t.toString().split("\r\n");if(!r)return n;for(let t of r)t&&(e=t.slice(0,t.indexOf(":")).toLowerCase().trim(),i=t.slice(t.indexOf(":")+1).trim(),n[e]=i);return n};e.Z={Xs:t=>{let e,i;try{let s=!1;if(window.XMLHttpRequest&&(s=!0),!s)return void n.Z.j.error("This browser does not have any supported ajax options!");e=new XMLHttpRequest;let a=()=>{"function"==typeof t.error&&t.error(e.status),"function"==typeof t.ei&&t.ei(!1)};for(let n of(e.onload=()=>{if(4===e.readyState){if(e.status>=200&&e.status<300||304===e.status){if("function"==typeof t.O){let i,n;try{i=JSON.parse(e.responseText),n=e.getAllResponseHeaders()}catch(s){let i={error:""===e.responseText?r.Z.Vh:r.Z.Zh,response:e.responseText};(0,t.O)(i,n)}i&&t.O(i,n)}"function"==typeof t.ei&&t.ei(!0)}else a()}},e.onerror=()=>{a()},e.ontimeout=()=>{a()},i=JSON.stringify(t.data),e.open("POST",t.url,!0),e.setRequestHeader("Content-type","application/json"),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.headers||[]))e.setRequestHeader(n[0],n[1]);e.send(i)}catch(t){n.Z.j.error(`Network request error: ${(0,s.e)(t)}`)}}}},76870:function(t,e,i){var n=i(27671),r=i(45966);let s={Os:{Na:"d",Ks:"cc",Si:"ff",Lr:"t"},rm:t=>{if(t)return t.v(r.I.k.EE)},sm:t=>{if(t)return t.v(r.I.k.lE)},nm:(t,e)=>{t&&t.D(r.I.k.EE,e)},um:(t,e)=>{t&&t.D(r.I.k.lE,e)},La:(t,e)=>{if(!t||!e)return -1;let i=s.rm(t);if(null==i)return -1;let n=i[e];return null==n||isNaN(n)?-1:n},Wa:(t,e)=>{let i=n.S6;if(!t||!e)return i;let r=s.sm(t);return null==r?i:null==(i=r[e])||isNaN(i)?n.S6:i},Ws:(t,e,i)=>{if(!t||!e)return;let n=s.rm(t);null==n&&(n={}),n[e]=i,s.nm(t,n)},si:(t,e,i)=>{if(!t||!e)return;let n=s.sm(t);null==n&&(n={}),n[e]=i,s.um(t,n)},hi:(t,e)=>{if(!t||!e)return;let i=s.Wa(t,e);s.si(t,e,i+1)}};e.Z=s},8548:function(t,e,i){i.d(e,{E:function(){return r},T:function(){return s}});var n=i(82588);function r(t){let e=t.length;for(let i=t.length-1;i>=0;i--){let n=t.charCodeAt(i);n>127&&n<=2047?e++:n>2047&&n<=65535&&(e+=2),n>=56320&&n<=57343&&i--}return e}function s(t){try{t=t.replace(/-/g,"+").replace(/_/g,"/");let e=window.atob(t),i=new Uint8Array(e.length);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);let n=new Uint16Array(i.buffer);return String.fromCharCode(...n)}catch(t){return n.Z.j.error("Unable to decode Base64: "+t),null}}},1148:function(t,e,i){function n(t){null==t&&(t="");let e=t.split("?").slice(1).join("?"),i={};if(null!=e){let t=e.split("&");for(let e=0;e<t.length;e++){let n=t[e].split("=");""!==n[0]&&(i[n[0]]=n[1])}}return i}function r(t){return!(!t||0!==(t=t.toString().toLowerCase()).lastIndexOf("javascript:",0)&&0!==t.lastIndexOf("data:",0))}i.d(e,{L:function(){return n},o:function(){return r}})}
1,3905:function(t,e,i){i.d(e,{$g:function(){return Z},OM:function(){return x},UO:function(){return m},bj:function(){return b},lg:function(){return v},ro:function(){return g},vV:function(){return w},y9:function(){return p},zM:function(){return f},zR:function(){return y}});var n=i(72893),r=i(8548),s=i(82588),a=i(57750),o=i(73046),l=i(27671);let u=/^[^\x00-\x1F\x22]+$/,h=/[$.]/,c=["$add","$update","$remove","$identifier_key","$identifier_value","$new_object","$time"],d=new RegExp(/^.+@.+\..+$/),p=/^brazeActions:\/\/v\d+\//;function f(t,e,i){let n=null!=t&&"string"==typeof t&&(""===t||null!=t.match(u));return n||s.Z.j.error(`Cannot ${e} because ${i} "${t}" is invalid.`),n}function b(t){return null!=t&&t.match(h)&&-1===c.indexOf(t)&&s.Z.j.warn("Custom attribute keys cannot contain '$' or '.'"),f(t,"set custom user attribute","the given key")}function m(t){let e=typeof t;return null==t||"number"===e||"boolean"===e||(0,n.J_)(t)||"string"===e}function g(t,e,i,n=!1){let r="string"==typeof t||null===t&&n;return r||s.Z.j.error(`Cannot ${e} because ${i} "${t}" is invalid.`),r}function v(t,e,i,o,u){let h,c,d;if(null==t&&(t={}),"object"!=typeof t||(0,n.kJ)(t))return s.Z.j.error(`${e} requires that ${i} be an object. Ignoring ${u}.`),[!1,null];e===l.db?(h=76800,c="75KB"):(h=51200,c="50KB");let p=JSON.stringify(t);if((0,r.E)(p)>h)return s.Z.j.error(`Could not ${o} because ${i} was greater than the max size of ${c}.`),[!1,null];try{d=JSON.parse(p)}catch(t){return s.Z.j.error(`Could not ${o} because ${i} did not contain valid JSON.`),[!1,null]}for(let i in t){if(e===l.db&&!b(i)||!f(i,o,`the ${u} property name`))return[!1,null];let r=t[i];if(e!==l.db&&null==r){delete t[i],delete d[i];continue}if((0,n.J_)(r)&&(d[i]=(0,a.BT)(r)),!function(t,e,i,r,o){let l;return(l=(0,n.Kn)(t)||(0,n.kJ)(t)?function t(e,i,r){let o=-1!==r;if(o&&r>50)return s.Z.j.error("Nested attributes cannot be more than 50 levels deep."),!1;let l=o?r+1:-1;if((0,n.kJ)(e)&&(0,n.kJ)(i)){for(let r=0;r<e.length&&r<i.length;r++)if((0,n.J_)(e[r])&&(i[r]=(0,a.BT)(e[r])),!t(e[r],i[r],l))return!1}else{if(!(0,n.Kn)(e))return m(e);for(let r of(0,n.XP)(e)){let s=e[r];if(o&&!b(r)||((0,n.J_)(s)&&(i[r]=(0,a.BT)(s)),!t(s,i[r],l)))return!1}}return!0}(t,e,o?1:-1):m(t))||s.Z.j.error(`Cannot ${i} because ${r} "${t}" is invalid.`),l}(r,d[i],o,`the ${u} property "${i}"`,e===l.db))return[!1,null]}return[!0,d]}function Z(t,e){let i=!1,r=!1,a=()=>{s.Z.j.error("Custom attribute arrays must be either string arrays or object arrays.")};for(let s of e)if("string"==typeof s){if(r)return a(),[!1,!1];if(!f(s,`set custom user attribute "${t}"`,"the element in the given array"))return[!1,!1];i=!0}else{if(!(0,n.Kn)(s)||i)return a(),[!1,!1];if(!v(s,l.db,"attribute value",`set custom user attribute "${t}"`,"custom user attribute"))return[!1,!1];r=!0}return[i,r]}function w(t){return"string"==typeof t&&null!=t.toLowerCase().match(d)}function y(t){if(!(o.A9.properties.type in t))return!1;switch(t[o.A9.properties.type]){case o.A9.types.ue:if(o.A9.properties.me in t)return!0;break;case o.A9.types.logCustomEvent:case o.A9.types.setEmailNotificationSubscriptionType:case o.A9.types.setPushNotificationSubscriptionType:case o.A9.types.setCustomUserAttribute:case o.A9.types.addToSubscriptionGroup:case o.A9.types.removeFromSubscriptionGroup:case o.A9.types.addToCustomAttributeArray:case o.A9.types.removeFromCustomAttributeArray:case o.A9.types.pe:case o.A9.types.je:if(o.A9.properties.le in t)return!0;break;case o.A9.types.requestPushPermission:return!0}return!1}function x(t){let e=!1;return Object.keys(o.A9.types).forEach(i=>{o.A9.types[i]!==t.toString()||(e=!0)}),e}},75319:function(t,e,i){i.d(e,{SD:function(){return r},eh:function(){return n}});let n={PORTRAIT:0,LANDSCAPE:1},r={openUri:function(t,e,i){t&&(e||null!=i&&i.metaKey?window.open(t):window.location=t)},ao:function(){return screen.width<=600},mo:function(){if("orientation"in window)return 90===Math.abs(window.orientation)||270===window.orientation?n.LANDSCAPE:n.PORTRAIT;let t=window;if("screen"in t){let e=t.screen.orientation||screen.mozOrientation||screen.msOrientation;return null!=e&&"object"==typeof e&&(e=e.type),"landscape-primary"===e||"landscape-secondary"===e?n.LANDSCAPE:n.PORTRAIT}return n.PORTRAIT},Cn:function(){return window.location.href}}}}]);

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.