!function(){var e={49:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v1Upgrade=t.v1Downgrade=void 0;t.v1Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,id:s,event:a,version:u,parentVersion:c,meta:l,targets:d}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,id:s,event:a,version:u,parentVersion:c,meta:l,targets:d}};t.v1Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,id:s,event:a,version:u,parentVersion:c,meta:l,targets:d}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,id:s,event:a,version:u,parentVersion:c,meta:l,targets:d,frequency:{name:"everyVisit",parameters:[{name:"visitFrequency",value:"1"}]},schemaVersion:1}}},454:function(e){"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,urlTargets:u,cookieTarget:c,geoTargets:l,meta:d,id:p,event:f,version:h,parentVersion:b}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,urlTargets:u,cookieTarget:c,geoTargets:l,meta:d,id:p,event:f,version:h,parentVersion:b,schemaVersion:4}};t.v5Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,meta:p,cookieTarget:f,geoTargets:h,urlTargets:b}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,meta:p,cookieTarget:f,geoTargets:h,urlTargets:b,dimensions:{mobileEnabled:null,desktop:{width:0,height:0},mobile:{width:0,height:0}},schemaVersion:5}}},734:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v4Upgrade=t.v4Downgrade=void 0;t.v4Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,geoTargets:f,urlTargets:h}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,geoTargets:f,urlTargets:h,schemaVersion:3}};t.v4Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,geoTargets:f,urlTargets:h}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,geoTargets:f,urlTargets:h,referrerTargets:{enabled:!1,rules:[]},schemaVersion:4}}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1160:function(e,t,r){"use strict";var n=r(2063),i=r(3992),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function d(e){return(e||"").toString().replace(o,"")}var p=[["#","hash"],["?","query"],function(e,t){return b(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function h(e){var t,n=("undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(e=e||n);if("blob:"===e.protocol)i=new g(unescape(e.pathname),{});else if("string"===o)for(t in i=new g(e,{}),f)delete i[t];else if("object"===o){for(t in e)t in f||(i[t]=e[t]);void 0===i.slashes&&(i.slashes=a.test(e.href))}return i}function b(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function v(e,t){e=(e=d(e)).replace(s,""),t=t||{};var r,n=c.exec(e),i=n[1]?n[1].toLowerCase():"",o=!!n[2],a=!!n[3],u=0;return o?a?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):a?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===i?u>=2&&(r=r.slice(2)):b(i)?r=n[4]:i?o&&(r=r.slice(2)):u>=2&&b(t.protocol)&&(r=n[4]),{protocol:i,slashes:o||b(i),slashesCount:u,rest:r}}function g(e,t,r){if(e=(e=d(e)).replace(s,""),!(this instanceof g))return new g(e,t,r);var o,a,u,c,f,m,y=p.slice(),w=typeof t,_=this,S=0;for("object"!==w&&"string"!==w&&(r=t,t=null),r&&"function"!=typeof r&&(r=i.parse),o=!(a=v(e||"",t=h(t))).protocol&&!a.slashes,_.slashes=a.slashes||o&&t.slashes,_.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||l.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!b(_.protocol)))&&(y[3]=[/(.*)/,"pathname"]);S{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,urlTargets:f}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,urlTargets:f,schemaVersion:2}};t.v3Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,urlTargets:f}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:p,urlTargets:f,geoTargets:{enabled:!1,rules:[]},schemaVersion:3}}},1243:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v14Upgrade=t.v14Downgrade=void 0;t.v14Downgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}=e;return{schemaVersion:13,ubCode:t,clientUuid:r,embUuid:n,trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}};t.v14Upgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}=e;return{schemaVersion:14,ubCode:t,clientUuid:r,embUuid:n,variantLetter:"a",trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}}},1368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v11Upgrade=t.v11Downgrade=void 0;t.v11Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:h,urlTargets:b,integrations:v}=e,g=e.geoTargets.rules.filter(e=>!e.hasOwnProperty("city")&&!e.hasOwnProperty("regionCode")&&e.hasOwnProperty("countryCode")).map(e=>({type:"countryCode",value:e.countryCode,visibility:e.visibility}));return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:h,geoTargets:{enabled:e.geoTargets.enabled,rules:g},urlTargets:b,integrations:v,schemaVersion:10}};t.v11Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:h,urlTargets:b,integrations:v}=e,g=e.geoTargets.rules.filter(e=>"countryCode"===e.type).map(e=>({countryCode:e.value,visibility:e.visibility}));return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:h,geoTargets:{enabled:e.geoTargets.enabled,rules:g},urlTargets:b,integrations:v,schemaVersion:11}}},1628:function(e,t,r){"use strict";var n=r(2742),i=/^-?\d+$/;e.exports=function(e){return"number"==typeof e?n(e)?e:void 0:"string"==typeof e&&i.test(e)?parseInt(e,10):void 0}},2059:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v7Upgrade=t.v7Downgrade=void 0;t.v7Downgrade=e=>{const t=e.urlTargets.domain,r={include:e.urlTargets.rules.filter(e=>"show"===e.visibility).map(e=>{const{value:r,type:n}=e;return{domain:t,type:n,val:r}}),exclude:e.urlTargets.rules.filter(e=>"hide"===e.visibility).map(e=>{const{value:r,type:n}=e;return{domain:t,type:n,val:r}})},n=e.cookieTargets,i=n.enabled&&n.rules.length>0?{type:n.rules[0].visibility,name:n.rules[0].name}:{type:"none",name:null},o={enabled:e.geoTargets.enabled,rules:e.geoTargets.rules.map(e=>({property:e.type,value:e.value}))},{ubCode:s,embUuid:a,trigger:u,displaySettings:c,published:l,frequency:d,referrerTargets:p,id:f,event:h,version:b,parentVersion:v,dimensions:g}=e;return{ubCode:s,embUuid:a,trigger:u,displaySettings:c,published:l,frequency:d,referrerTargets:p,id:f,event:h,version:b,parentVersion:v,dimensions:g,meta:{...e.meta,targetDomain:t},cookieTarget:i,geoTargets:o,urlTargets:r,schemaVersion:6}};t.v7Upgrade=e=>{const{targetDomain:t,...r}=e.meta,n=e.urlTargets.include.map(e=>({type:e.type,value:e.val,visibility:"show"})),i=e.urlTargets.exclude.map(e=>({type:e.type,value:e.val,visibility:"hide"})),o={domain:t,rules:n.concat(i)},s={enabled:"none"!==e.cookieTarget.type,rules:"none"!==e.cookieTarget.type?[{visibility:e.cookieTarget.type,name:e.cookieTarget.name}]:[]},a=e.geoTargets.rules.map(e=>({type:e.property,visibility:"show",value:e.value})),u={enabled:e.geoTargets.enabled,rules:a},{ubCode:c,embUuid:l,trigger:d,displaySettings:p,published:f,frequency:h,referrerTargets:b,id:v,event:g,version:m,parentVersion:y,dimensions:w}=e;return{ubCode:c,embUuid:l,trigger:d,displaySettings:p,published:f,frequency:h,referrerTargets:b,id:v,event:g,version:m,parentVersion:y,dimensions:w,meta:r,cookieTargets:s,geoTargets:u,urlTargets:o,schemaVersion:7}}},2063:function(e){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},2316:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upgradeActivationRule=t.ACTIVATION_RULE_VERSION=t.isUbCode=void 0;var n=r(4962);Object.defineProperty(t,"isUbCode",{enumerable:!0,get:function(){return n.isUbCode}});var i=r(4254);Object.defineProperty(t,"ACTIVATION_RULE_VERSION",{enumerable:!0,get:function(){return i.ACTIVATION_RULE_VERSION}}),Object.defineProperty(t,"upgradeActivationRule",{enumerable:!0,get:function(){return i.upgradeActivationRule}})},2532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v6Upgrade=t.v6Downgrade=void 0;t.v6Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,dimensions:i,displaySettings:o,published:s,referrerTargets:a,urlTargets:u,cookieTarget:c,geoTargets:l,meta:d,id:p,event:f,version:h,parentVersion:b}=e,v=e.frequency;return"visitCount"===v.name&&"1"===v.parameters[0].value&&(v.name="firstVisit"),{ubCode:t,embUuid:r,meta:d,urlTargets:u,trigger:n,displaySettings:o,dimensions:i,published:s,frequency:v,referrerTargets:a,cookieTarget:c,geoTargets:l,id:p,event:f,version:h,parentVersion:b,schemaVersion:5}};t.v6Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,dimensions:o,published:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,meta:p,cookieTarget:f,geoTargets:h,urlTargets:b}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,dimensions:o,frequency:{name:"firstVisit"===e.frequency.name?"visitCount":e.frequency.name,parameters:e.frequency.parameters},published:s,referrerTargets:a,id:u,event:c,version:l,parentVersion:d,meta:p,cookieTarget:f,geoTargets:h,urlTargets:b,schemaVersion:6}}},2742:function(e,t,r){var n=r(7163);e.exports=Number.isInteger||function(e){return"number"==typeof e&&n(e)&&Math.floor(e)===e}},2834:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},2931:function(e){"use strict";var t=Object.prototype;function r(e){return void 0===e}function n(e){return"[object String]"===t.toString.call(e)}function i(e){return"object"==typeof e&&null!==e}function o(e,t){var n,i;if(r(e.length))for(n in e)s(e,n)&&t.call(null,n,e[n]);else if(i=e.length)for(n=0;n1&&i+3*r.length+t.length>=80);)r.push(t),i+=t.length,e=e.parentNode;return r.reverse().join(" > ")},htmlElementAsString:a,parseUrl:function(e){var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var r=t[6]||"",n=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+r+n}},fill:function(e,t,r,n){var i=e[t];e[t]=r(i),n&&n.push([e,t,i])}}},3453:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v16Upgrade=t.v16Downgrade=void 0;t.v16Downgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m}=e,y=i.reduce((e,t)=>!e||t.weight>e.weight?t:e,null);return{schemaVersion:15,ubCode:t,clientUuid:r,embUuid:n,variants:i.map(e=>({letter:e.letter,trackingId:e.trackingId,weight:e.weight})),trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:y?y.dimensions:{desktopEnabled:null,mobileEnabled:null,desktop:{width:0,height:0},mobile:{width:0,height:0}},meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y?y.display:{name:"overlay"}}};t.v16Upgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:h,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y,displaySettings:w}=e;return{schemaVersion:16,ubCode:t,clientUuid:r,embUuid:n,variants:i.map(e=>({letter:e.letter,trackingId:e.trackingId,weight:e.weight,dimensions:h,display:w})),trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y}}},3527:function(e){"use strict";e.exports={wrapMethod:function(e,t,r){var n=e[t],i=e;if(t in e){var o="warn"===t?"warning":t;e[t]=function(){var e=[].slice.call(arguments),t=""+e.join(" ");r&&r(t,{level:o,logger:"console",extra:{arguments:e}}),n&&Function.prototype.apply.call(n,i,e)}}}}},3562:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v8Upgrade=t.v8Downgrade=void 0;t.v8Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,event:u,version:c,parentVersion:l,dimensions:d,meta:p,urlTargets:f,cookieTargets:h,geoTargets:b}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:{name:"overlay"},published:i,frequency:o,referrerTargets:s,id:a,event:u,version:c,parentVersion:l,dimensions:d,meta:p,cookieTargets:h,geoTargets:b,urlTargets:f,schemaVersion:7}};t.v8Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,displaySettings:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:a,published:i,frequency:o,referrerTargets:s,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:b,geoTargets:v,urlTargets:h,schemaVersion:8}}},3623:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v18Upgrade=t.v18Downgrade=void 0;t.v18Downgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,published:i,id:o,event:s,version:a,parentVersion:u,meta:c}=e;if("embeddable"===e.type){const{variants:l,trigger:d,frequency:p,referrerTargets:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g,integrations:m}=e.rule;return{schemaVersion:17,ubCode:t,clientUuid:r,embUuid:n,variants:l,trigger:d,published:i,frequency:p,referrerTargets:f,id:o,integrations:m,event:s,version:a,parentVersion:u,meta:c,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}}throw new Error("Split test rules are not supported in this version")};t.v18Upgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}=e;return{schemaVersion:18,ubCode:t,clientUuid:r,embUuid:n,published:s,id:c,event:l,version:d,parentVersion:p,meta:f,type:"embeddable",rule:{cookieTargets:b,frequency:a,geoTargets:v,integrations:e.integrations,referrerTargets:u,scheduling:g,trigger:o,urlTargets:h,variants:i}}}},3817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v9Upgrade=t.v9Downgrade=void 0;t.v9Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,event:u,version:c,parentVersion:l,dimensions:d,meta:p,urlTargets:f,cookieTargets:h,geoTargets:b,displaySettings:v}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:v,published:i,frequency:o,referrerTargets:s,id:a,event:u,version:c,parentVersion:l,dimensions:d,meta:p,cookieTargets:h,geoTargets:b,urlTargets:f,schemaVersion:8}};t.v9Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,displaySettings:a,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:a,published:i,frequency:o,referrerTargets:s,id:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,cookieTargets:b,geoTargets:v,urlTargets:h,integrations:{googleAnalytics:{enabled:!1}},schemaVersion:9}}},3976:function(e,t){var r,n,i,o,s,a,u,c,l,d,p,f,h,b,v,g,m,y,w,_,S,C;o=this,s=/iPhone/i,a=/iPod/i,u=/iPad/i,c=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,l=/Android/i,d=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,p=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,f=/Windows Phone/i,h=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,b=/BlackBerry/i,v=/BB10/i,g=/Opera Mini/i,m=/(CriOS|Chrome)(?=.*\bMobile\b)/i,y=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,w=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),_=function(e,t){return e.test(t)},S=function(e){var t=e||navigator.userAgent,r=t.split("[FBAN");if(void 0!==r[1]&&(t=r[0]),void 0!==(r=t.split("Twitter"))[1]&&(t=r[0]),this.apple={phone:_(s,t),ipod:_(a,t),tablet:!_(s,t)&&_(u,t),device:_(s,t)||_(a,t)||_(u,t)},this.amazon={phone:_(d,t),tablet:!_(d,t)&&_(p,t),device:_(d,t)||_(p,t)},this.android={phone:_(d,t)||_(c,t),tablet:!_(d,t)&&!_(c,t)&&(_(p,t)||_(l,t)),device:_(d,t)||_(p,t)||_(c,t)||_(l,t)},this.windows={phone:_(f,t),tablet:_(h,t),device:_(f,t)||_(h,t)},this.other={blackberry:_(b,t),blackberry10:_(v,t),opera:_(g,t),firefox:_(y,t),chrome:_(m,t),device:_(b,t)||_(v,t)||_(g,t)||_(y,t)||_(m,t)},this.seven_inch=_(w,t),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"==typeof window)return this},C=function(){var e=new S;return e.Class=S,e},e.exports&&"undefined"==typeof window?e.exports=S:e.exports&&"undefined"!=typeof window?e.exports=C():(n=[],r=o.isMobile=C(),void 0===(i="function"==typeof r?r.apply(t,n):r)||(e.exports=i))},3992:function(e,t){"use strict";var r=Object.prototype.hasOwnProperty;function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var n,o,s=[];for(o in"string"!=typeof t&&(t="?"),e)if(r.call(e,o)){if((n=e[o])||null!=n&&!isNaN(n)||(n=""),o=i(o),n=i(n),null===o||null===n)continue;s.push(o+"="+n)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,i={};t=r.exec(e);){var o=n(t[1]),s=n(t[2]);null===o||null===s||o in i||(i[o]=s)}return i}},4106:function(e,t){function r(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(i,o){if(r.length>0){var s=r.indexOf(this);~s?r.splice(s+1):r.push(this),~s?n.splice(s,1/0,i):n.push(i),~r.indexOf(o)&&(o=t.call(this,i,o))}else r.push(o);return null==e?o:e.call(this,i,o)}}(e.exports=function(e,t,n,i){return JSON.stringify(e,r(t,i),n)}).getSerialize=r},4142:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v17Upgrade=t.v17Downgrade=void 0;t.v17Downgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}=e;return{schemaVersion:16,ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:{googleAnalytics:{enabled:e.integrations.googleAnalytics.enabled}},event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}};t.v17Upgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}=e;return{schemaVersion:17,ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:{googleAnalytics:{enabled:e.integrations.googleAnalytics.enabled,appendVariant:!1}},event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:g}}},4179:function(e,t,r){"use strict";var n=r(4991),i=r.n(n),o=r(6314),s=r.n(o)()(i());s.push([e.id,".ub-emb-bar{transition:visibility .2s step-end;visibility:hidden}.ub-emb-bar.ub-emb-visible{transition:none;visibility:visible}.ub-emb-bar .ub-emb-bar-frame{left:0;position:fixed;right:0;text-align:center;transition:bottom .2s ease-in-out,top .2s ease-in-out,z-index .2s step-end;z-index:-1}.ub-emb-bar.ub-emb-ios .ub-emb-bar-frame{right:auto;width:100%}.ub-emb-bar.ub-emb-visible .ub-emb-bar-frame{transition:bottom .3s ease-in-out,top .3s ease-in-out;z-index:2147483646}.ub-emb-bar .ub-emb-close{bottom:0;margin:auto 0;top:0}.ub-emb-bar:not(.ub-emb-mobile) .ub-emb-close{right:20px}","",{version:3,sources:["webpack://./src/components/StickyBar.css"],names:[],mappings:"AAAA,YACE,kCAAuD,CACvD,iBACF,CAEA,2BACE,eAAgB,CAChB,kBACF,CAEA,8BACE,MAAO,CACP,cAAe,CACf,OAAQ,CACR,iBAAkB,CAClB,0EAG0C,CAC1C,UACF,CAEA,yCACE,UAAW,CACX,UAIF,CAEA,6CACE,qDAEwD,CAGxD,kBACF,CAEA,0BACE,QAAS,CACT,aAAc,CACd,KACF,CAEA,8CACE,UACF",sourcesContent:[".ub-emb-bar {\n transition: visibility $stickyBarSlideOutSpeed step-end;\n visibility: hidden;\n}\n\n.ub-emb-bar.ub-emb-visible {\n transition: none;\n visibility: visible;\n}\n\n.ub-emb-bar .ub-emb-bar-frame {\n left: 0;\n position: fixed;\n right: 0;\n text-align: center;\n transition:\n bottom $stickyBarSlideOutSpeed $stickyBarSlideTransitionFn,\n top $stickyBarSlideOutSpeed $stickyBarSlideTransitionFn,\n z-index $stickyBarSlideOutSpeed step-end;\n z-index: -1;\n}\n\n.ub-emb-bar.ub-emb-ios .ub-emb-bar-frame {\n right: auto;\n width: 100%;\n\n /* `right:0` causes scroll up jank in LPs on iOS10, whereas 100vw doesn't (see scroll-up.html).\n Outside of iOS, we want to avoid 100vw, because it includes the width of the scrollbar. */\n}\n\n.ub-emb-bar.ub-emb-visible .ub-emb-bar-frame {\n transition:\n bottom $stickyBarSlideInSpeed $stickyBarSlideTransitionFn,\n top $stickyBarSlideInSpeed $stickyBarSlideTransitionFn;\n\n /* This is set 1 lower than overlays */\n z-index: 2147483646;\n}\n\n.ub-emb-bar .ub-emb-close {\n bottom: 0;\n margin: auto 0;\n top: 0;\n}\n\n.ub-emb-bar:not(.ub-emb-mobile) .ub-emb-close {\n right: 20px;\n}\n"],sourceRoot:""}]),t.A=s},4254:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ACTIVATION_RULE_VERSION=t.upgradeActivationRule=void 0;const n=r(49),i=r(9912),o=r(1231),s=r(734),a=r(653),u=r(2532),c=r(2059),l=r(3562),d=r(3817),p=r(5295),f=r(1368),h=r(5697),b=r(7810),v=r(1243),g=r(5572),m=r(3453),y=r(4142),w=r(3623),_=r(6752),S={19:_.v19Downgrade,18:w.v18Downgrade,17:y.v17Downgrade,16:m.v16Downgrade,15:g.v15Downgrade,14:v.v14Downgrade,13:b.v13Downgrade,12:h.v12Downgrade,11:f.v11Downgrade,10:p.v10Downgrade,9:d.v9Downgrade,8:l.v8Downgrade,7:c.v7Downgrade,6:u.v6Downgrade,5:a.v5Downgrade,4:s.v4Downgrade,3:o.v3Downgrade,2:i.v2Downgrade,1:n.v1Downgrade},C={18:_.v19Upgrade,17:w.v18Upgrade,16:y.v17Upgrade,15:m.v16Upgrade,14:g.v15Upgrade,13:v.v14Upgrade,12:b.v13Upgrade,11:h.v12Upgrade,10:f.v11Upgrade,9:p.v10Upgrade,8:d.v9Upgrade,7:l.v8Upgrade,6:c.v7Upgrade,5:u.v6Upgrade,4:a.v5Upgrade,3:s.v4Upgrade,2:o.v3Upgrade,1:i.v2Upgrade,0:n.v1Upgrade};function T(e){return(e=>"object"==typeof e&&!Object.prototype.hasOwnProperty.call(e,"schemaVersion"))(e)?0:e.schemaVersion}function A(e,t){return e in t}function E(e){return 0===e||"number"==typeof e&&typeof(e=>A(e,C))(e-1)&&typeof(e=>A(e,S))(e)}t.upgradeActivationRule=function e(t){return r=>{const n=T(r);if(function(e,t){if(!E(e))throw new Error(`Rule has unknown schema version: ${e}`);if(!E(t))throw new Error(`Requested upgrade to unknown schema version: ${t}`)}(n,t),nt){const i=S[n](r);return e(t)(i)}return r}},t.ACTIVATION_RULE_VERSION=Object.keys(S).map(e=>parseInt(e,10)).sort((e,t)=>t-e)[0]},4280:function(e){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},4882:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.upgradeActivationRule=t.isUbCode=t.ACTIVATION_RULE_VERSION=void 0,i(r(7176),t);var o=r(2316);Object.defineProperty(t,"ACTIVATION_RULE_VERSION",{enumerable:!0,get:function(){return o.ACTIVATION_RULE_VERSION}}),Object.defineProperty(t,"isUbCode",{enumerable:!0,get:function(){return o.isUbCode}}),Object.defineProperty(t,"upgradeActivationRule",{enumerable:!0,get:function(){return o.upgradeActivationRule}})},4962:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUbCode=void 0;const r=/[a-z0-9]{12}4[a-z0-9]{19}/;t.isUbCode=function(e){return r.test(e)}},4991:function(e){"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],s=!0,a=!1;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==r.return||r.return()}finally{if(a)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,meta:p,urlTargets:f,cookieTargets:h,geoTargets:b,displaySettings:v}=e,{mobileEnabled:g,desktop:m,mobile:y}=e.dimensions;let w;return w=!0===g?{mobileEnabled:!0,desktop:m,mobile:y}:!1===g?{mobileEnabled:!1,desktop:m,mobile:y}:{mobileEnabled:null,desktop:m,mobile:y},{ubCode:t,embUuid:r,trigger:n,displaySettings:v,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,meta:p,cookieTargets:h,geoTargets:b,urlTargets:f,schemaVersion:9,dimensions:w}};t.v10Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,displaySettings:a,id:u,integrations:c,event:l,version:d,parentVersion:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v}=e,{mobileEnabled:g,desktop:m,mobile:y}=e.dimensions;let w;return w=!0===g?{desktopEnabled:!0,mobileEnabled:!0,desktop:m,mobile:y}:!1===g?{desktopEnabled:!0,mobileEnabled:!1,desktop:m,mobile:y}:{desktopEnabled:null,mobileEnabled:null,desktop:m,mobile:y},{ubCode:t,embUuid:r,trigger:n,displaySettings:a,published:i,frequency:o,referrerTargets:s,id:u,event:l,version:d,parentVersion:p,dimensions:w,meta:f,cookieTargets:b,geoTargets:v,urlTargets:h,integrations:c,schemaVersion:10}}},5572:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v15Upgrade=t.v15Downgrade=void 0;t.v15Downgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variants:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:h,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y,displaySettings:w}=e;return{schemaVersion:14,ubCode:t,clientUuid:r,embUuid:n,variantLetter:i.reduce((e,t)=>t.weight>e.weight?t:e,{letter:"a",weight:0}).letter,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:h,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y,displaySettings:w}};t.v15Upgrade=e=>{const{ubCode:t,clientUuid:r,embUuid:n,variantLetter:i,trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:h,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y,displaySettings:w}=e;return{schemaVersion:15,ubCode:t,clientUuid:r,embUuid:n,variants:[{letter:i,trackingId:c,weight:1}],trigger:o,published:s,frequency:a,referrerTargets:u,id:c,integrations:l,event:d,version:p,parentVersion:f,dimensions:h,meta:b,urlTargets:v,cookieTargets:g,geoTargets:m,scheduling:y,displaySettings:w}}},5606:function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,u=[],c=!1,l=-1;function d(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l1)for(var r=1;r=0;--t)r[t]===e&&r.splice(t,1)},v.uninstall=function(){!function(){if(!t)return;window.onerror=e,t=!1,e=void 0}(),r=[]},v}(),a.computeStackTrace=function(){function e(e){if(!s(e.stack)&&e.stack){for(var t,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=e.stack.split("\n"),u=[],l=(/^(.*) is undefined$/.exec(e.message),0),p=a.length;l0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function r(e,i){for(var o,s,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],p={},f=!1,h=r.caller;h&&!f;h=h.caller)if(h!==n&&h!==a.report){if(s={url:null,func:c,line:null,column:null},h.name?s.func=h.name:(o=u.exec(h.toString()))&&(s.func=o[1]),void 0===s.func)try{s.func=o.input.substring(0,o.input.indexOf("{"))}catch(e){}p[""+h]?f=!0:p[""+h]=!0,l.push(s)}i&&l.splice(0,i);var b={name:e.name,message:e.message,url:d(),stack:l};return t(b,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),b}function n(t,n){var i=null;n=null==n?0:+n;try{if(i=e(t))return i}catch(e){if(a.debug)throw e}try{if(i=r(t,n+1))return i}catch(e){if(a.debug)throw e}return{name:t.name,message:t.message,url:d()}}return n.augmentStackTraceWithInitialElement=t,n.computeStackTraceFromStackProp=e,n}(),e.exports=a},5687:function(e,t,r){"use strict";var n=r(6904),i=window.Raven,o=new n;o.noConflict=function(){return window.Raven=i,o},o.afterLoad(),e.exports=o},5697:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v12Upgrade=t.v12Downgrade=void 0;t.v12Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,displaySettings:g}=e;return{schemaVersion:11,ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,displaySettings:g}};t.v12Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,displaySettings:g}=e;return{schemaVersion:12,ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,meta:f,urlTargets:h,cookieTargets:b,geoTargets:v,scheduling:{enabled:!1,startTime:0,endTime:0},displaySettings:g}}},6148:function(e,t,r){"use strict";r.d(t,{XX:function(){return M},h:function(){return a},uA:function(){return V}});var n=function(){},i={},o=[],s=[];function a(e,t){var r,a,u,c,l=s;for(c=arguments.length;c-- >2;)o.push(arguments[c]);for(t&&null!=t.children&&(o.length||o.push(t.children),delete t.children);o.length;)if((a=o.pop())&&void 0!==a.pop)for(c=a.length;c--;)o.push(a[c]);else"boolean"==typeof a&&(a=null),(u="function"!=typeof e)&&(null==a?a="":"number"==typeof a?a=String(a):"string"!=typeof a&&(u=!1)),u&&r?l[l.length-1]+=a:l===s?l=[a]:l.push(a),r=u;var d=new n;return d.nodeName=e,d.children=l,d.attributes=null==t?void 0:t,d.key=null==t?void 0:t.key,void 0!==i.vnode&&i.vnode(d),d}function u(e,t){for(var r in t)e[r]=t[r];return e}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;var l=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,d=[];function p(e){!e._dirty&&(e._dirty=!0)&&1==d.push(e)&&(i.debounceRendering||c)(f)}function f(){var e,t=d;for(d=[];e=t.pop();)e._dirty&&P(e)}function h(e,t,r){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&b(e,t.nodeName):r||e._componentConstructor===t.nodeName}function b(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=u({},e.attributes);t.children=e.children;var r=e.nodeName.defaultProps;if(void 0!==r)for(var n in r)void 0===t[n]&&(t[n]=r[n]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,r,n,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)r&&r(null),n&&n(e);else if("class"!==t||i)if("style"===t){if(n&&"string"!=typeof n&&"string"!=typeof r||(e.style.cssText=n||""),n&&"object"==typeof n){if("string"!=typeof r)for(var o in r)o in n||(e.style[o]="");for(var o in n)e.style[o]="number"==typeof n[o]&&!1===l.test(o)?n[o]+"px":n[o]}}else if("dangerouslySetInnerHTML"===t)n&&(e.innerHTML=n.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),n?r||e.addEventListener(t,y,s):e.removeEventListener(t,y,s),(e._listeners||(e._listeners={}))[t]=n}else if("list"!==t&&"type"!==t&&!i&&t in e){try{e[t]=null==n?"":n}catch(e){}null!=n&&!1!==n||"spellcheck"==t||e.removeAttribute(t)}else{var a=i&&t!==(t=t.replace(/^xlink:?/,""));null==n||!1===n?a?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof n&&(a?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):e.setAttribute(t,n))}else e.className=n||""}function y(e){return this._listeners[e.type](i.event&&i.event(e)||e)}var w=[],_=0,S=!1,C=!1;function T(){for(var e;e=w.pop();)i.afterMount&&i.afterMount(e),e.componentDidMount&&e.componentDidMount()}function A(e,t,r,n,i,o){_++||(S=null!=i&&void 0!==i.ownerSVGElement,C=null!=e&&!("__preactattr_"in e));var s=E(e,t,r,n,o);return i&&s.parentNode!==i&&i.appendChild(s),--_||(C=!1,o||T()),s}function E(e,t,r,n,i){var o=e,s=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||i)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),O(e,!0))),o.__preactattr_=!0,o;var a,u,c=t.nodeName;if("function"==typeof c)return function(e,t,r,n){var i=e&&e._component,o=i,s=e,a=i&&e._componentConstructor===t.nodeName,u=a,c=v(t);for(;i&&!u&&(i=i._parentComponent);)u=i.constructor===t.nodeName;i&&u&&(!n||i._component)?(I(i,c,3,r,n),e=i.base):(o&&!a&&(D(o),e=s=null),i=j(t.nodeName,c,r),e&&!i.nextBase&&(i.nextBase=e,s=null),I(i,c,1,r,n),e=i.base,s&&e!==s&&(s._component=null,O(s,!1)));return e}(e,t,r,n);if(S="svg"===c||"foreignObject"!==c&&S,c=String(c),(!e||!b(e,c))&&(a=c,(u=S?document.createElementNS("http://www.w3.org/2000/svg",a):document.createElement(a)).normalizedNodeName=a,o=u,e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),O(e,!0)}var l=o.firstChild,d=o.__preactattr_,p=t.children;if(null==d){d=o.__preactattr_={};for(var f=o.attributes,y=f.length;y--;)d[f[y].name]=f[y].value}return!C&&p&&1===p.length&&"string"==typeof p[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=p[0]&&(l.nodeValue=p[0]):(p&&p.length||null!=l)&&function(e,t,r,n,i){var o,s,a,u,c,l=e.childNodes,d=[],p={},f=0,b=0,v=l.length,m=0,y=t?t.length:0;if(0!==v)for(var w=0;w{if("embeddable"===e.type)return{...e,schemaVersion:18};const{state:t,trackingGroupId:r,forwardQueryParams:n,gdprComplianceRequired:i,variants:o}=e.rule,s=o.map(({letter:e,name:t,weight:r,url:n})=>({letter:e,name:t,weight:r,url:n,trackingId:""}));return{...e,schemaVersion:18,rule:{state:t,experimentId:r,forwardQueryParams:n,gdprComplianceRequired:i,variants:s}}};t.v19Upgrade=e=>{if("embeddable"===e.type)return{...e,schemaVersion:19};const{experimentId:t,variants:r,...n}=e.rule,i=r.map(({letter:e,name:t,weight:r,url:n})=>({letter:e,name:t,weight:r,url:n}));return{...e,schemaVersion:19,rule:{...n,variants:i,trackingGroupId:t,conversionGoals:[]}}}},6904:function(e,t,r){"use strict";var n=r(5641),i=r(6622),o=r(2931),s=r(4106),a=o.isFunction,u=o.isUndefined,c=o.isError,l=o.isEmptyObject,d=o.hasKey,p=o.joinRegExp,f=o.each,h=o.objectMerge,b=o.truncate,v=o.urlencode,g=o.uuid4,m=o.htmlTreeAsString,y=o.parseUrl,w=o.isString,_=o.fill,S=r(3527).wrapMethod,C="source protocol user pass host port path".split(" "),T=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function A(){return+new Date}function E(){for(var e in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument="undefined"!=typeof document,this._lastCapturedException=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],crossOrigin:"anonymous",collectWindowErrors:!0,maxMessageLength:0,stackTraceLimit:50,autoBreadcrumbs:!0},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=window.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=A(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._keypressTimeout,this._location=window.location,this._lastHref=this._location&&this._location.href,this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}E.prototype={VERSION:"3.7.0",debug:!1,TraceKit:n,config:function(e,t){var r=this;if(this._globalServer)return this._logDebug("error","Error: Raven has already been configured"),this;if(!e)return this;t&&f(t,function(e,t){"tags"===e||"extra"===e?r._globalContext[e]=t:r._globalOptions[e]=t}),this.setDSN(e),this._globalOptions.ignoreErrors.push(/^Script error\.?$/),this._globalOptions.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),this._globalOptions.ignoreErrors=p(this._globalOptions.ignoreErrors),this._globalOptions.ignoreUrls=!!this._globalOptions.ignoreUrls.length&&p(this._globalOptions.ignoreUrls),this._globalOptions.whitelistUrls=!!this._globalOptions.whitelistUrls.length&&p(this._globalOptions.whitelistUrls),this._globalOptions.includePaths=p(this._globalOptions.includePaths),this._globalOptions.maxBreadcrumbs=Math.max(0,Math.min(this._globalOptions.maxBreadcrumbs||100,100));var i={xhr:!0,console:!0,dom:!0,location:!0},o=this._globalOptions.autoBreadcrumbs;return"[object Object]"==={}.toString.call(o)?o=h(i,o):!1!==o&&(o=i),this._globalOptions.autoBreadcrumbs=o,n.collectWindowErrors=!!this._globalOptions.collectWindowErrors,this},install:function(){var e=this;return this.isSetup()&&!this._isRavenInstalled&&(n.report.subscribe(function(){e._handleOnErrorStackInfo.apply(e,arguments)}),this._instrumentTryCatch(),e._globalOptions.autoBreadcrumbs&&this._instrumentBreadcrumbs(),this._drainPlugins(),this._isRavenInstalled=!0),Error.stackTraceLimit=this._globalOptions.stackTraceLimit,this},setDSN:function(e){var t=this._parseDSN(e),r=t.path.lastIndexOf("/"),n=t.path.substr(1,r);this._dsn=e,this._globalKey=t.user,this._globalSecret=t.pass&&t.pass.substr(1),this._globalProject=t.path.substr(r+1),this._globalServer=this._getGlobalServer(t),this._globalEndpoint=this._globalServer+"/"+n+"api/"+this._globalProject+"/store/"},context:function(e,t,r){return a(e)&&(r=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,r)},wrap:function(e,t,r){var n=this;if(u(t)&&!a(e))return e;if(a(e)&&(t=e,e=void 0),!a(t))return t;try{if(t.__raven__)return t;if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}function i(){var i=[],o=arguments.length,s=!e||e&&!1!==e.deep;for(r&&a(r)&&r.apply(this,arguments);o--;)i[o]=s?n.wrap(e,arguments[o]):arguments[o];try{return t.apply(this,i)}catch(t){throw n._ignoreNextOnError(),n.captureException(t,e),t}}for(var o in t)d(t,o)&&(i[o]=t[o]);return i.prototype=t.prototype,t.__raven_wrapper__=i,i.__raven__=!0,i.__inner__=t,i},uninstall:function(){return n.report.uninstall(),this._restoreBuiltIns(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},captureException:function(e,t){if(!c(e))return this.captureMessage(e,h({trimHeadFrames:1,stacktrace:!0},t));this._lastCapturedException=e;try{var r=n.computeStackTrace(e);this._handleStackInfo(r,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)){var r=h({message:e+""},t);if(t&&t.stacktrace){var i;try{throw new Error(e)}catch(e){i=e}i.name=null,t=h({fingerprint:e,trimHeadFrames:(t.trimHeadFrames||0)+1},t);var o=n.computeStackTrace(i),s=this._prepareFrames(o,t);r.stacktrace={frames:s.reverse()}}return this._send(r),this}},captureBreadcrumb:function(e){var t=h({timestamp:A()/1e3},e);return this._breadcrumbs.push(t),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=Array.prototype.slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(s(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=a(e)?function(r){return e(r,t)}:e,this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=a(e)?function(r){return e(r,t)}:e,this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!!this._hasJSON&&(!!this._globalServer||(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),!1))},afterLoad:function(){var e=window.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(window.document){var t=(e=e||{}).eventId||this.lastEventId();if(!t)throw new i("Missing eventId");var r=e.dsn||this._dsn;if(!r)throw new i("Missing DSN");var n=encodeURIComponent,o="";o+="?eventId="+n(t),o+="&dsn="+n(r);var s=e.user||this._globalContext.user;s&&(s.name&&(o+="&name="+n(s.name)),s.email&&(o+="&email="+n(s.email)));var a=this._getGlobalServer(this._parseDSN(r)),u=document.createElement("script");u.async=!0,u.src=a+"/api/embed/error-page/"+o,(document.head||document.body).appendChild(u)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout(function(){e._ignoreOnError-=1})},_triggerEvent:function(e,t){var r,n;if(this._hasDocument){for(n in t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),document.createEvent?(r=document.createEvent("HTMLEvents")).initEvent(e,!0,!0):(r=document.createEventObject()).eventType=e,t)d(t,n)&&(r[n]=t[n]);if(document.createEvent)document.dispatchEvent(r);else try{document.fireEvent("on"+r.eventType.toLowerCase(),r)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(r){if(t._keypressTimeout=null,t._lastCapturedEvent!==r){t._lastCapturedEvent=r;var n,i=r.target;try{n=m(i)}catch(e){n=""}t.captureBreadcrumb({category:"ui."+e,message:n})}}},_keypressEventHandler:function(){var e=this;return function(t){var r=t.target,n=r&&r.tagName;if(n&&("INPUT"===n||"TEXTAREA"===n)){var i=e._keypressTimeout;i||e._breadcrumbEventHandler("input")(t),clearTimeout(i),e._keypressTimeout=setTimeout(function(){e._keypressTimeout=null},1e3)}}},_captureUrlChange:function(e,t){var r=y(this._location.href),n=y(t),i=y(e);this._lastHref=t,r.protocol===n.protocol&&r.host===n.host&&(t=n.relative),r.protocol===i.protocol&&r.host===i.host&&(e=i.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns;function r(t){return function(r,n){for(var i=new Array(arguments.length),o=0;o2?arguments[2]:void 0;return r&&e._captureUrlChange(e._lastHref,r+""),t.apply(this,arguments)}},r)}if(t.console&&"console"in window&&console.log){var c=function(t,r){e.captureBreadcrumb({message:t,level:r.level,category:"console"})};f(["debug","info","warn","error","log"],function(e,t){S(console,t,c)})}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2];t[r]=n}},_drainPlugins:function(){var e=this;f(this._plugins,function(t,r){var n=r[0],i=r[1];n.apply(e,[e].concat(i))})},_parseDSN:function(e){var t=T.exec(e),r={},n=7;try{for(;n--;)r[C[n]]=t[n]||""}catch(t){throw new i("Invalid DSN: "+e)}if(r.pass&&!this._globalOptions.allowSecretKey)throw new i("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return r},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var r=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,r,t)},_prepareFrames:function(e,t){var r=this,n=[];if(e.stack&&e.stack.length&&(f(e.stack,function(e,t){var i=r._normalizeFrame(t);i&&n.push(i)}),t&&t.trimHeadFrames))for(var i=0;i0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),l(e.tags)&&delete e.tags,this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),a(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!l(e)&&(a(t.shouldSendCallback)&&!t.shouldSendCallback(e)||this._sendProcessedPayload(e))},_sendProcessedPayload:function(e,t){var r=this,n=this._globalOptions;if(this._lastEventId=e.event_id||(e.event_id=g()),e=this._trimPacket(e),this._logDebug("debug","Raven about to send:",e),this.isSetup()){var i={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(i.sentry_secret=this._globalSecret);var o=e.exception&&e.exception.values[0];this.captureBreadcrumb({category:"sentry",message:o?(o.type?o.type+": ":"")+o.value:e.message,event_id:e.event_id,level:e.level||"error"});var s=this._globalEndpoint;(n.transport||this._makeRequest).call(this,{url:s,auth:i,data:e,options:n,onSuccess:function(){r._triggerEvent("success",{data:e,src:s}),t&&t()},onError:function(n){r._triggerEvent("failure",{data:e,src:s}),n=n||new Error("Raven send failed (no additional details provided)"),t&&t(n)}})}},_makeRequest:function(e){var t=new XMLHttpRequest;if("withCredentials"in t||"undefined"!=typeof XDomainRequest){var r=e.url;"withCredentials"in t?t.onreadystatechange=function(){4===t.readyState&&n()}:(t=new XDomainRequest,r=r.replace(/^https?:/,""),t.onload=n),t.open("POST",r+"?"+v(e.auth)),t.send(s(e.data))}function n(){200===t.status?e.onSuccess&&e.onSuccess():e.onError&&e.onError(new Error("Sentry error code: "+t.status))}},_logDebug:function(e){this._originalConsoleMethods[e]&&this.debug&&Function.prototype.apply.call(this._originalConsoleMethods[e],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(e,t){u(t)?delete this._globalContext[e]:this._globalContext[e]=h(this._globalContext[e]||{},t)}},E.prototype.setUser=E.prototype.setUserContext,E.prototype.setReleaseContext=E.prototype.setRelease,e.exports=E},7163:function(e){"use strict";e.exports=Number.isFinite||function(e){return!("number"!=typeof e||e!=e||e===1/0||e===-1/0)}},7176:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7427:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(i),u=o.decode||r,c=0;c{const{ubCode:t,clientUuid:r,embUuid:n,trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:h,urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}=e;return{schemaVersion:12,ubCode:t,embUuid:n,trigger:i,published:o,frequency:s,referrerTargets:a,id:u,integrations:c,event:l,version:d,parentVersion:p,dimensions:f,meta:{...h,clientUuid:r},urlTargets:b,cookieTargets:v,geoTargets:g,scheduling:m,displaySettings:y}};t.v13Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,urlTargets:f,cookieTargets:h,geoTargets:b,scheduling:v,displaySettings:g}=e,{clientUuid:m,...y}=e.meta;return{schemaVersion:13,ubCode:t,clientUuid:m,embUuid:r,trigger:n,published:i,frequency:o,referrerTargets:s,id:a,integrations:u,event:c,version:l,parentVersion:d,dimensions:p,meta:y,urlTargets:f,cookieTargets:h,geoTargets:b,scheduling:v,displaySettings:g}}},7825:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9879:function(e,t,r){"use strict";var n=r(1628),i=/OS (\d\d?_\d(_\d)?)/;e.exports=function(e){if(!e)return null;var t=i.exec(e);if(!t)return null;var r=t[1].split("_").map(n);return{major:r[0],minor:r[1],patch:r[2]||0}}},9912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.v2Upgrade=t.v2Downgrade=void 0;t.v2Downgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,urlTargets:p}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,targets:p,schemaVersion:1}};t.v2Upgrade=e=>{const{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,targets:p}=e;return{ubCode:t,embUuid:r,trigger:n,displaySettings:i,published:o,frequency:s,id:a,event:u,version:c,parentVersion:l,meta:d,cookieTarget:{type:"none"},urlTargets:p,schemaVersion:2}}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.nc=void 0,function(){"use strict";var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};function t(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function n(e){return"function"==typeof e}var i=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function s(e){setTimeout(function(){throw e},0)}var a={closed:!0,next:function(e){},error:function(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;s(e)},complete:function(){}},u=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function c(e){return null!==e&&"object"==typeof e}var l=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),d=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,i=r._parentOrParents,o=r._ctorUnsubscribe,s=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(var d=0;d0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},r}(V);function q(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),R(g,e)}function L(e,t){return t?U(e,t):new y(A(e))}function F(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:q(r)(L(e,n))}function H(){for(var e=[],t=0;t=2&&(r=!0),function(n){return n.lift(new W(e,t,r))}}var W=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new $(e,this.accumulator,this.seed,this.hasSeed))},e}(),$=function(e){function r(t,r,n,i){var o=e.call(this,t)||this;return o.accumulator=r,o._seed=n,o.hasSeed=i,o.index=0,o}return t(r,e),Object.defineProperty(r.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),r.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},r.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},r}(h);function K(){}var X=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new G(e,this.nextOrObserver,this.error,this.complete))},e}(),G=function(e){function r(t,r,i,o){var s=e.call(this,t)||this;return s._tapNext=K,s._tapError=K,s._tapComplete=K,s._tapError=i||K,s._tapComplete=o||K,n(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||K,s._tapError=r.error||K,s._tapComplete=r.complete||K),s}return t(r,e),r.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},r.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},r.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},r}(h),Y=r(4882),J=function(e){return function(t){return{type:e,payload:t}}},Q="CLOSE_EMB",Z=J(Q),ee="CLOSE_EMB_COMPLETE",te=J(ee),re="SET_ACTIVATION_RULES",ne=J(re),ie="SET_ACTIVATION_RULES_PREVIEW",oe=J(ie),se="SET_LOCATION_HREF",ae=J(se),ue="EMB_FORM_CONFIRMATION",ce=J(ue),le="FORM_SUBMIT_EVENT",de=J(le),pe="LINK_CLICK_EVENT",fe=J(pe),he=J("LOG"),be="EMB_LOADED",ve=J(be),ge="TRIGGER_EMB",me=J(ge),ye="SET_VIEWPORT",we=J(ye),_e="SET_SCROLL_POSITION",Se=J(_e),Ce="SET_VISITOR_ID",Te=J(Ce);function Ae(){for(var e=[r.g.postMessage,r.g.addEventListener,Array.prototype.map,Array.prototype.forEach,Array.prototype.filter,Element.prototype.setAttribute,Function.prototype.apply,Date.now,document.head],t=0;te.length)&&(t=e.length);for(var r=0,n=Array(t);r1?(i=window.console)[e].apply(i,[qe,"[".concat(String(r[0]),"]")].concat(Re(r.slice(1)))):(o=window.console)[e].apply(o,[qe].concat(r))}:Me};function He(e){var t=e.action,r=e.prev,n=e.next;Le("groupCollapsed")&&t&&"LOG"!==t.type&&(window.console.groupCollapsed("action ".concat(t.type)),window.console.log("%cprev state","font-weight: bold; color: #9e9e9e",r),window.console.log("%caction","font-weight: bold; color: #03a9f4",t),window.console.log("%cnext state","font-weight: bold; color: #4caf50",n),window.console.groupEnd())}function ze(e,t){var r=Ve(e,t),n="development"===e||"actions"===De.parse(t)["ub-debug"];return{log:r?Fe("log"):Me,warn:r?Fe("warn"):Me,error:r?Fe("error"):Me,logAction:n?He:Me}}var We="v0.184.0";var $e=r(9879),Ke=r.n($e),Xe=r(3976),Ge=r.n(Xe);function Ye(e,t){return function(r){return r.lift(new Je(e,t))}}var Je=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Qe(e,this.predicate,this.thisArg))},e}(),Qe=function(e){function r(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return t(r,e),r.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},r}(h);function Ze(e){return function(t){return t.lift(new et(e))}}var et=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new tt(e,this.value))},e}(),tt=function(e){function r(t,r){var n=e.call(this,t)||this;return n.value=r,n}return t(r,e),r.prototype._next=function(e){this.destination.next(this.value)},r}(h);function rt(e,t,r,i){return n(r)&&(i=r,r=void 0),i?rt(e,t,r).pipe(S(function(e){return u(e)?i.apply(void 0,e):i(e)})):new y(function(n){nt(e,t,function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)},n,r)})}function nt(e,t,r,n,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,i),o=function(){return s.removeEventListener(t,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),o=function(){return a.off(t,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(t,r),o=function(){return u.removeListener(t,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,l=e.length;c=0}function lt(e,t,r){void 0===e&&(e=0);var n=-1;return ct(t)?n=Number(t)<1?1:Number(t):_(t)&&(r=t),_(r)||(r=ut),new y(function(t){var i=ct(e)?e:+e-r.now();return r.schedule(dt,i,{index:0,period:n,subscriber:t})})}function dt(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}function pt(){return function(e){return e.lift(new ft(e))}}var ft=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new ht(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),ht=function(e){function r(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return t(r,e),r.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},r}(h),bt=function(e){function r(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return t(r,e),r.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},r.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},r.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d).add(this.source.subscribe(new gt(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e},r.prototype.refCount=function(){return pt()(this)},r}(y),vt=function(){var e=bt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),gt=function(e){function r(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return t(r,e),r.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},r.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},r.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},r}(ke);var mt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();function yt(){return new je}function wt(){return function(e){return pt()((t=yt,function(e){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof r)return e.lift(new mt(n,r));var i=Object.create(e,vt);return i.source=e,i.subjectFactory=n,i})(e));var t,r}}var _t=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new St(e,this.compare,this.keySelector))},e}(),St=function(e){function r(t,r,n){var i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}return t(r,e),r.prototype.compare=function(e,t){return e===t},r.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},r}(h);function Ct(e){return function(t){return t.lift(new Et(e))}}var Tt,At,Et=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new Ot(e,this.total))},e}(),Ot=function(e){function r(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return t(r,e),r.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},r}(h),xt=rt(window,"keydown").pipe(wt()),kt=rt(window,"scroll").pipe(wt()),jt=F(rt(window,"resize"),rt(window,"orientationchange")).pipe(wt()),Ut=rt(document,"mousemove").pipe(wt()),It=rt(document,"click").pipe(wt()),Pt=F(rt(document,"mouseleave"),rt(document.documentElement,"mouseleave")).pipe(wt()),Dt=F(rt(document,"mouseenter"),rt(document.documentElement,"mouseenter")).pipe(wt()),Vt=F(rt(window,"hashchange"),rt(window,"popstate"),lt(0,250)).pipe(S(function(){return window.location.href}),function(e){return e.lift(new _t(Tt,At))},Ct(1),wt());function Mt(){for(var e=[],t=0;t0&&t[i].height>0?i:null}function Xt(){return H(Se({fromScrollEvent:!1,scrollPosition:Wt()}))}function Gt(e){return Gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gt(e)}var Yt=function(e){return"string"==typeof e},Jt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Yt(e)?e.replace(/^\s+|\s+$/g,""):""},Qt=function(){var e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(e).length>0},Zt=function(e){return void 0!==e&&Yt(e)?e.toLowerCase():""},er=function(e){return Yt(e)&&e.length>0},tr=function(e,t){return void 0!==e&&void 0!==t&&e.slice(0,t.length)===t},rr=function(e,t){return void 0!==e&&void 0!==t&&e.slice(e.length-t.length,e.length)===t},nr=function(e,t){for(var r=e.length,n=-1;++nn-10||o>r-10||i<10},Or=function(e,t){return lt(e).pipe(Cr(Pt),Ye(Er),Cr(lt(t).pipe((r=F(Dt,kt),function(e){return e.lift(new Tr(r))}))));var r},xr=function(e){var t=function(e,t){return lt(t).pipe(Cr(Ut),z(function(e,t){return{nextY:t.clientY,prevY:e.nextY}},{}),Ct(1),Ye(function(t){return t.nextYe.length)&&(t=e.length);for(var r=0,n=Array(t);r=0&&t.top+zt().height<$t()}),Nt(2e3),Ze(!0))};function Dr(e,t){var r,n,i,o,s=e.trigger.parameters[0];switch(s.name){case"topMargin":return xr(s.value);case"delay":return Sr(s.value);case"scrollPercent":return i=s.value,o=parseInt(i,10),F(kt,jt).pipe(Nt(100),Ye(function(){var e=$t(),t=zt().height,r=e-t,n=Wt().top;return n+n/r*t>=e*o/100}),Nt(2e3),Ze(!0));case"scrollUp":return Pr();case"clickClass":return gr(".".concat(s.value),t.device.isIOS);case"clickId":return gr("#".concat(s.value),t.device.isIOS);case"clickSelector":return gr(s.value,t.device.isIOS);default:return r=new Error("Unknown trigger type"),new y(n?function(e){return n.schedule(hr,0,{error:r,subscriber:e})}:function(e){return e.error(r)})}}var Vr=function(e){return function(t){return Dr(t,e).pipe(S(function(){var e="";try{e=document.cookie}catch(e){}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(arguments.length>1?arguments[1]:void 0).cookieTargets,r=t.enabled,n=t.rules[0];if(!r||!n)return!0;var i=!!fr.parse(e)[n.name];switch(n.visibility){case"show":return i||""===n.name;case"hide":return!i;default:return!1}}(e,t)?pr().shouldShowOverlay(t.id)?pr().shouldShow(t.embUuid)?me({id:t.id}):he({messages:[t.embUuid,"Not displaying due to _ubeConfig.shouldShow() callback"]}):he({messages:[t.id,"Not displaying due to _ubeConfig.shouldShowOverlay() callback"]}):he({messages:[t.id,"Not displaying due to cookie targeting rule",t.cookieTargets]})}))}};var Mr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Rr(e,this.dueTime,this.scheduler))},e}(),Rr=function(e){function r(t,r,n){var i=e.call(this,t)||this;return i.dueTime=r,i.scheduler=n,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return t(r,e),r.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Nr,this.dueTime,this))},r.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},r.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},r.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},r}(h);function Nr(e){e.debouncedNext()}function Br(){return jt.pipe(Ze(!0),(e=10,void 0===t&&(t=ut),function(r){return r.lift(new Mr(e,t))}),mr(!0),S(zt),S(function(e){return we({viewport:e})}));var e,t}var qr=r(6148),Lr=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),Fr=new y(function(e){return e.complete()});function Hr(e){return e?function(e){return new y(function(t){return e.schedule(function(){return t.complete()})})}(e):Fr}var zr=function(){function e(e){if(this.total=e,this.total<0)throw new Lr}return e.prototype.call=function(e,t){return t.subscribe(new Wr(e,this.total))},e}(),Wr=function(e){function r(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return t(r,e),r.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},r}(h),$r="undefined"!=typeof window&&window,Kr="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Xr=void 0!==r.g&&r.g,Gr=$r||Xr||Kr;function Yr(e,t){return void 0===t&&(t=null),new nn({method:"GET",url:e,headers:t})}function Jr(e,t,r){return new nn({method:"POST",url:e,body:t,headers:r})}function Qr(e,t){return new nn({method:"DELETE",url:e,headers:t})}function Zr(e,t,r){return new nn({method:"PUT",url:e,body:t,headers:r})}function en(e,t,r){return new nn({method:"PATCH",url:e,body:t,headers:r})}var tn=S(function(e,t){return e.response});function rn(e,t){return tn(new nn({method:"GET",url:e,responseType:"json",headers:t}))}var nn=function(e){function r(t){var r=e.call(this)||this,n={async:!0,createXHR:function(){return this.crossDomain?function(){if(Gr.XMLHttpRequest)return new Gr.XMLHttpRequest;if(Gr.XDomainRequest)return new Gr.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(Gr.XMLHttpRequest)return new Gr.XMLHttpRequest;var e=void 0;try{for(var t=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(e=t[r],new Gr.ActiveXObject(e))break}catch(e){}return new Gr.ActiveXObject(e)}catch(e){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof t)n.url=t;else for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return r.request=n,r}var n;return t(r,e),r.prototype._subscribe=function(e){return new on(e,this.request)},r.create=((n=function(e){return new r(e)}).get=Yr,n.post=Jr,n.delete=Qr,n.put=Zr,n.patch=en,n.getJSON=rn,n),r}(y),on=function(e){function r(t,r){var n=e.call(this,t)||this;n.request=r,n.done=!1;var i=r.headers=r.headers||{};return r.crossDomain||n.getHeader(i,"X-Requested-With")||(i["X-Requested-With"]="XMLHttpRequest"),n.getHeader(i,"Content-Type")||Gr.FormData&&r.body instanceof Gr.FormData||void 0===r.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=n.serializeBody(r.body,n.getHeader(r.headers,"Content-Type")),n.send(),n}return t(r,e),r.prototype.next=function(e){this.done=!0;var t,r=this,n=r.xhr,i=r.request,o=r.destination;try{t=new sn(e,n,i)}catch(e){return o.error(e)}o.next(t)},r.prototype.send=function(){var e=this.request,t=this.request,r=t.user,n=t.method,i=t.url,o=t.async,s=t.password,a=t.headers,u=t.body;try{var c=this.xhr=e.createXHR();this.setupEvents(c,e),r?c.open(n,i,o,r,s):c.open(n,i,o),o&&(c.timeout=e.timeout,c.responseType=e.responseType),"withCredentials"in c&&(c.withCredentials=!!e.withCredentials),this.setHeaders(c,a),u?c.send(u):c.send()}catch(e){this.error(e)}},r.prototype.serializeBody=function(e,t){if(!e||"string"==typeof e)return e;if(Gr.FormData&&e instanceof Gr.FormData)return e;if(t){var r=t.indexOf(";");-1!==r&&(t=t.substring(0,r))}switch(t){case"application/x-www-form-urlencoded":return Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&");case"application/json":return JSON.stringify(e);default:return e}},r.prototype.setHeaders=function(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setRequestHeader(r,t[r])},r.prototype.getHeader=function(e,t){for(var r in e)if(r.toLowerCase()===t.toLowerCase())return e[r]},r.prototype.setupEvents=function(e,t){var r=t.progressSubscriber;function n(e){var t,r=n,i=r.subscriber,o=r.progressSubscriber,s=r.request;o&&o.error(e);try{t=new cn(this,s)}catch(e){t=e}i.error(t)}if(e.ontimeout=n,n.request=t,n.subscriber=this,n.progressSubscriber=r,e.upload&&"withCredentials"in e){var i,o;if(r)i=function(e){i.progressSubscriber.next(e)},Gr.XDomainRequest?e.onprogress=i:e.upload.onprogress=i,i.progressSubscriber=r;o=function(e){var t,r=o,n=r.progressSubscriber,i=r.subscriber,s=r.request;n&&n.error(e);try{t=new an("ajax error",this,s)}catch(e){t=e}i.error(t)},e.onerror=o,o.request=t,o.subscriber=this,o.progressSubscriber=r}function s(e){}function a(e){var t=a,r=t.subscriber,n=t.progressSubscriber,i=t.request;if(4===this.readyState){var o=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;if(0===o&&(o=s?200:0),o<400)n&&n.complete(),r.next(e),r.complete();else{n&&n.error(e);var u=void 0;try{u=new an("ajax error "+o,this,i)}catch(e){u=e}r.error(u)}}}e.onreadystatechange=s,s.subscriber=this,s.progressSubscriber=r,s.request=t,e.onload=a,a.subscriber=this,a.progressSubscriber=r,a.request=t},r.prototype.unsubscribe=function(){var t=this.done,r=this.xhr;!t&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),e.prototype.unsubscribe.call(this)},r}(h),sn=function(){return function(e,t,r){this.originalEvent=e,this.xhr=t,this.request=r,this.status=t.status,this.responseType=t.responseType||r.responseType,this.response=un(this.responseType,t)}}(),an=function(){function e(e,t,r){return Error.call(this),this.message=e,this.name="AjaxError",this.xhr=t,this.request=r,this.status=t.status,this.responseType=t.responseType||r.responseType,this.response=un(this.responseType,t),this}return e.prototype=Object.create(Error.prototype),e}();function un(e,t){switch(e){case"json":return function(e){return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null")}(t);case"xml":return t.responseXML;default:return"response"in t?t.response:t.responseText}}var cn=function(e,t){return an.call(this,"ajax timeout",e,t),this.name="AjaxTimeoutError",this},ln=function(){return nn.create}();var dn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let pn;const fn=new Uint8Array(16);function hn(){if(!pn&&(pn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!pn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return pn(fn)}const bn=[];for(let e=0;e<256;++e)bn.push((e+256).toString(16).slice(1));function vn(e,t=0){return bn[e[t+0]]+bn[e[t+1]]+bn[e[t+2]]+bn[e[t+3]]+"-"+bn[e[t+4]]+bn[e[t+5]]+"-"+bn[e[t+6]]+bn[e[t+7]]+"-"+bn[e[t+8]]+bn[e[t+9]]+"-"+bn[e[t+10]]+bn[e[t+11]]+bn[e[t+12]]+bn[e[t+13]]+bn[e[t+14]]+bn[e[t+15]]}var gn=function(e,t,r){if(dn.randomUUID&&!t&&!e)return dn.randomUUID();const n=(e=e||{}).random||(e.rng||hn)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return vn(n)};function mn(){return gn().replace(/-/g,"")}var yn={development:"-integration",integration:"-integration",production:""},wn=function(e,t){return"//".concat(e,".events").concat(yn[t||"integration"],".ubembed.com")};function _n(e){return _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_n(e)}function Sn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Cn(e){for(var t=1;t0&&i.height+gi>n.height)?{height:Math.max(n.height,i.height+gi),left:o.left,overflow:"visible",position:"absolute",top:o.top}:{}}},{key:"render",value:function(){var e=this.props,t=e.emb,r=e.onClose,n=e.isVisible,i=e.children,o=or("\n ub-emb-overlay\n ".concat(n?"ub-emb-visible":"","\n ").concat(t.isMobile?"ub-emb-mobile":"","\n "));return si("div",{className:o},si("div",{className:"ub-emb-backdrop",onClick:r}),si("div",{className:"ub-emb-scroll-wrapper",onClick:r,style:this.getScrollWrapperStyle()},i))}}],n&&ui(r.prototype,n),i&&ui(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(qr.uA);hi=mi,vi=void 0,(bi=fi(bi="defaultProps"))in hi?Object.defineProperty(hi,bi,{value:vi,enumerable:!0,configurable:!0,writable:!0}):hi[bi]=vi,mi.defaultProps={children:[]};var yi=r(5606),wi=r(4179),_i={};_i.styleTagTransform=Wn(),_i.setAttributes=Ln(),_i.insert=Bn().bind(null,"head"),_i.domAPI=Rn(),_i.insertStyleElement=Hn();Vn()(wi.A,_i),wi.A&&wi.A.locals&&wi.A.locals;var Si=r(6148).h;function Ci(e){return Ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ci(e)}function Ti(e,t){for(var r=0;r0?ki({},o.position,i?0:-a):{},c=or("\n ub-emb-bar\n ".concat(i?"ub-emb-visible":"","\n ").concat(s?"ub-emb-mobile":"","\n ").concat(n.isIOS?"ub-emb-ios":"","\n ")),l=i?Ft.stickyBarSlideInSpeed:Ft.stickyBarSlideOutSpeed,d="\n html body {\n transition: margin ".concat(l," ease-in-out;\n }\n .lp-pom-body {\n position: relative;\n }\n "),p="\n html body {\n margin-".concat(o.position,": ").concat(a,"px !important;\n }")+("bottom"===o.position?"\n .lp-pom-body .ub-emb-bar.ub-emb-visible {\n height: ".concat(a,"px;\n }"):"");return Si("div",{className:c},Si("style",null,d),i?Si("style",null,p):Si("noscript",null),Si("div",{className:"ub-emb-bar-frame",style:u},r))}}])}(qr.uA);ki(Ui,"defaultProps",void 0),Ui.defaultProps={children:[]};var Ii=r(6148).h;function Pi(e){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(e)}function Di(e,t){for(var r=0;r2&&void 0!==arguments[2]&&arguments[2]}))},onLoad:function(e){return i(ve({id:a,pageSize:e}))}}),Ii(ni,{isMobile:u,isVisible:l,size:h,hostPageUrl:n.locationHref||r.g.location.href,src:t.confirmationSrc,onClose:function(){return e.handleClose(t)},onFormConfirmation:Me,onFormSubmit:Me,onLinkClick:function(e){return i(fe({id:a,isConversion:e,linkUrl:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",shouldRedirect:arguments.length>2&&void 0!==arguments[2]&&arguments[2]}))},onLoad:Me}))});return Ii("div",null,o)}}])}(qr.uA);function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Hi(e){for(var t=1;t1?to.removeAttribute("content"):to.setAttribute("content",""),document.head&&document.head.removeChild(to))};function oo(e){return oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oo(e)}function so(e){return function(e){if(Array.isArray(e))return ao(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ao(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ao(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.timestamp>Date.now()-2592e6})}function Io(e){return"".concat("ub-emb-").concat(e)}function Po(e,t){var r=e.getItem(Io(t));if(!r)return jo;try{return xo(xo({},jo),JSON.parse(r))}catch(e){return jo}}var Do=r(6148).h;function Vo(e){return function(e){if(Array.isArray(e))return Mo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Mo(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r2&&void 0!==arguments[2]?arguments[2]:"a",n=arguments.length>3?arguments[3]:void 0;if("development"===n&&0===t.indexOf("mock"))return"".concat(t,"?variant=").concat(r);var i=Bo[n||"integration"];return"//".concat(e,".pages").concat(i,".ubembed.com/").concat(t,"/").concat(r,".html")}function Lo(e,t){if("click"===t.trigger.name)return!0;var r=function(e){return mo(e,po)}(e)+1,n=Co(e);return function(e,t,r){return 0===e.map(function(e){var n=parseInt(e.value,10);switch(e.name){case"visitCount":return t===n;case"visitCountAbove":return t>n;case"visitFrequency":return t%n===0||n<1;case"viewCountBelow":return r=e.bounds.south,a=o<=e.bounds.east&&o>=e.bounds.west;if(s&&a)return!0}try{r=new RegExp("^".concat(e.city,"\\b"),"i"),n=new RegExp("^".concat(t.city,"\\b"),"i")}catch(e){return!1}var u,c=!(e.regionCode&&(u=t.regionCode,/^([A-Z]|\d){1,3}$/.test(u)))||Ho(e,t,["regionCode"]),l=r.test(t.city)||n.test(e.city);return c&&l}(t,e):"regionCode"in t?Ho(t,e,["regionCode","countryCode"]):"countryCode"in t?Ho(t,e,["countryCode"]):"continentCode"in t&&Ho(t,e,["continentCode"])}},Wo=function(e){return"city"in e?4:"regionCode"in e?3:"countryCode"in e?2:"continentCode"in e?1:0};var $o=r(1160),Ko=r.n($o);function Xo(e){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}function Go(e){return function(e){if(Array.isArray(e))return Yo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Yo(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r2&&void 0!==arguments[2]?arguments[2]:"");if("exact"!==t&&!er(r))return!0;var n=function(e,t){var r=new(Ko())(e);-1===t.indexOf("?")&&r.set("query",""),-1===t.indexOf("#")&&r.set("hash",""),"/"!==r.pathname||/\/$/.test(e)||r.set("pathname","");var n=r.toString();return-1===t.indexOf("http")&&(n=n.replace(/^https?:\/\//,"")),n}(e,r);switch(t){case"exact":return n===r;case"contains":return-1!==e.indexOf(r);case"startswith":return tr(n,r);case"endswith":return rr(n,r);default:return!1}},ts=function(e){return function(t){var r=t.referrerTargets;if(!r.enabled)return!0;var n=r.rules.reduce(function(e,t){var r="hide"===t.visibility?"exclude":"include";return Qo(Qo({},e),{},Zo({},r,[].concat(Go(e[r]),[{type:t.type,value:t.value}])))},{include:[],exclude:[]}),i=function(t){return es(e,t.type,t.value)};return!Qt(n.exclude,i)&&(Qt(n.include,i)||0===n.include.length)}};function rs(e){var t=e.display,r=e.trigger;return[t.name,r.name,r.value].join(":")}var ns=r(2834),is=r.n(ns),os=function(e){return function(t){var r=t.urlTargets.rules,n=function(t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=new(Ko())(e),i=n.pathname,o=n.query,s=n.hash,a=Zt(i),u=a+Zt(o)+Zt(s),c=Zt(r),l=is()(c);switch(t){case"exact":var d=l.replace(/(^\/*|\/*$)/g,""),p=new RegExp("^/?".concat(d,"/?$"));return er(c)&&(p.test(u)||p.test(a));case"contains":return er(c)&&new RegExp(l).test(u);case"startswith":return er(c)&&(tr(u,c)||tr(u,"/".concat(c)));case"endswith":return er(c)&&(rr(u,c)||rr(u,"".concat(c,"/")));case"homepage":return"/"===a||""===a;case"everywhere":return!0;default:return!1}}(e,t.type,t.value)},i=r.filter(function(e){return"show"===e.visibility}),o=r.filter(function(e){return"hide"===e.visibility});return!Qt(o,n)&&Qt(i,n)}};function ss(e){var t,r=e.device,n=e.embeddable,i=e.geoData,o=e.locationHref,s=e.precedingEmbeddables,a=e.referrer,u=e.timestamp,c=n.activationRule;return os(o)(c)?function(e,t){var r=t.display,n=t.pageSize,i=n.desktop,o=n.mobile;return 0===i.width&&0===i.height&&0===o.width&&0===o.height||null!==Kt(r.name,n,zt(),e.isMobile)}(r,n)?function(e,t){var r=t.geoTargets,n=r.enabled,i=r.rules;if(!e||!n||0===i.length)return!0;var o=i.filter(Fo),s=i.filter(zo(e));0===o.length&&s.push({visibility:"show",continentCode:"",displayName:""});var a=s.reduce(function(e,t){return!e||Wo(t)>Wo(e)?t:e},null);return Fo(a)}(i,c)?ts(a)(c)?n.closedAt>0&&!No(n)?{status:"cancelled",logVisit:!1,disqualifier:"previously shown"}:(t=n.visitorData,"click"!==c.trigger.name&&0!==So(t)?{status:"cancelled",logVisit:!1,disqualifier:"already converted"}:function(e,t){var r=t.scheduling.enabled,n=t.scheduling.startTime||0,i=t.scheduling.endTime||1/0;return!r||e>=n&&e<=i}(u,c)?Lo(n.visitorData,c)?function(e,t){var r=rs(t);return e.every(function(e){return rs(e)!==r})}(s,n)?{status:"cancelled"===n.status?"preloading":n.status,logVisit:!0,disqualifier:null}:{status:"cancelled",logVisit:!0,disqualifier:"uniqueness"}:{status:"cancelled",logVisit:!0,disqualifier:"frequency"}:{status:"cancelled",logVisit:!0,disqualifier:"scheduling"}):{status:"cancelled",logVisit:!1,disqualifier:"referrer targeting"}:{status:"cancelled",logVisit:!1,disqualifier:"geo targeting"}:{status:"cancelled",logVisit:!1,disqualifier:"dimensions"}:{status:"cancelled",logVisit:!1,disqualifier:"URL targeting"}}function as(e){return as="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},as(e)}function us(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||ls(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cs(e){return function(e){if(Array.isArray(e))return ds(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ls(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ls(e,t){if(e){if("string"==typeof e)return ds(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ds(e,t):void 0}}function ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1}).map(function(e){return[e.id,"Selected variant ".concat(e.variantLetter," from ")+"".concat(e.activationRule.variants.length," variants")]})),cs(t.filter(function(e){return"preloading"===e.status}).map(function(e){return[e.id,"Preloading"]})));return fs(fs({},e),{},{logMessages:s})}(fs(fs({},e),{},{embeddables:a,locationHref:n}))}function gs(e,t,r,n,i){var o=e.clientUuid,s=e.embUuid,a=e.id,u=e.integrations,c=e.ubCode,l=e.variants,d=l.filter(function(e){return e.letter===i.variantLetter&&e.weight>0})[0]||function(e,t){if("number"!=typeof e||e<0||e>=1)throw new Error("Invalid random seed: ".concat(e));for(var r=t.reduce(function(e,t){if("number"!=typeof t.weight||t.weight<0)throw new Error("Invalid variant weight: ".concat(t.weight));return e+t.weight},0)*e,n=0,i=0;ie.length)&&(t=e.length);for(var r=0,n=Array(t);r