!function o(u,a,f){function c(n,t){if(!a[n]){if(!u[n]){var r="function"==typeof require&&require;if(!t&&r)return r(n,!0);if(s)return s(n,!0);var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}var i=a[n]={exports:{}};u[n][0].call(i.exports,function(t){return c(u[n][1][t]||t)},i,i.exports,o,u,a,f)}return a[n].exports}for(var s="function"==typeof require&&require,t=0;t>>2]>>>24-o%4*8&255;n[e+o>>>2]|=u<<24-(e+o)%4*8}else for(var a=0;a>>2]=r[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=s.ceil(n/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var n=[],r=0;r>>2]>>>24-i%4*8&255;e.push((o>>>4).toString(16)),e.push((15&o).toString(16))}return e.join("")},parse:function(t){for(var n=t.length,r=[],e=0;e>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new l.init(r,n/2)}},c=a.Latin1={stringify:function(t){for(var n=t.words,r=t.sigBytes,e=[],i=0;i>>2]>>>24-i%4*8&255;e.push(String.fromCharCode(o))}return e.join("")},parse:function(t){for(var n=t.length,r=[],e=0;e>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new l.init(r,n)}},h=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},v=o.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=h.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var n,r=this._data,e=r.words,i=r.sigBytes,o=this.blockSize,u=i/(4*o),a=(u=t?s.ceil(u):s.max((0|u)-this._minBufferSize,0))*o,f=s.min(4*a,i);if(a){for(var c=0;c>>7)^(h<<14|h>>>18)^h>>>3,d=b[l-2],p=(d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10;b[l]=v+b[l-7]+p+b[l-16]}var m=e&i^e&o^i&o,w=(e<<30|e>>>2)^(e<<19|e>>>13)^(e<<10|e>>>22),E=s+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&f^~a&c)+y[l]+b[l];s=c,c=f,f=a,a=u+E|0,u=o,o=i,i=e,e=E+(w+m)|0}r[0]=r[0]+e|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+u|0,r[4]=r[4]+a|0,r[5]=r[5]+f|0,r[6]=r[6]+c|0,r[7]=r[7]+s|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,e=8*t.sigBytes;return n[e>>>5]|=128<<24-e%32,n[14+(e+64>>>9<<4)]=i.floor(r/4294967296),n[15+(e+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=e._createHelper(a),t.HmacSHA256=e._createHmacHelper(a)}(Math),f.SHA256},"object"==typeof r?n.exports=r=i(t("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(e.CryptoJS)},{"./core":2}],5:[function(t,n,r){var e,i,o=n.exports={};function u(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function f(n){if(e===setTimeout)return setTimeout(n,0);if((e===u||!e)&&setTimeout)return e=setTimeout,setTimeout(n,0);try{return e(n,0)}catch(t){try{return e.call(null,n,0)}catch(t){return e.call(this,n,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:u}catch(t){e=u}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var c,s=[],l=!1,h=-1;function v(){l&&c&&(l=!1,c.length?s=c.concat(s):h=-1,s.length&&d())}function d(){if(!l){var t=f(v);l=!0;for(var n=s.length;n;){for(c=s,s=[];++h=t.length||n[n.length-1].match(/\s/))&&t[r+n.length].match(/[a-zA-Z]/)}function x(t){if(-1===t.indexOf("-"))return!1;var n=Date.parse(t);if(isNaN(n))return!1;var r=new Date(n),e=(new Date).getFullYear(),i=e-80,o=e+5,u=r.getFullYear();return i<=u&&u<=o}function P(t){var n="";if("+"===t[0]&&"1"===t[1]?n="+1":"1"===t[0]&&(n="1"),t.length!==10+n.length)return!1;for(var r=["800","888","877","866","855","844","833","822","811"],e=0;ei[f].score)&&(i[f]={score:c,originalString:u})}}var s=[];for(var l in i)i.hasOwnProperty(l)&&s.push(i[l].originalString);return s},I:function(t){return t&&0!==t.length?t.sort(function(t,n){var r=G(t).score;return G(n).score-r}):[]},t:D}},{"../constants":12,"../cookie.js":13,"../strings":27,"../utils/html":30,"../utils/performanceLogger":31,"../utils/reduceDefered.js":32,"../validators/identityHasher":35,"../validators/identityHasher.js":35}],11:[function(t,n,r){"use strict";var e,i=t("./constants"),o=t("./helper"),u=window.rdt;if(u&&(e=u.pixelId+"_telemetry"),!/bot|googlebot|crawler|spider|crawling/i.test(navigator.userAgent)){var a=new XMLHttpRequest;if(a.onreadystatechange=function(){a.readyState==XMLHttpRequest.DONE&&a.status,a.readyState==XMLHttpRequest.DONE&&200!=a.status&&o.sendErrorReport(["CCS error: "+JSON.stringify({status:a.status,response:a.responseText})])},a.open("GET",i.EVENT_CONFIG.CONVERSIONS_CONFIG_PIXEL_URL+"/"+e),o.isJsonPolyfillNeeded()){var f=document.createElement("script");f.async=!0,f.src="https://www.redditstatic.com/ads/json3.min.js",f.onload=function(){a.send()};var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(f,c)}else a.send()}},{"./constants":12,"./helper":17}],12:[function(t,n,r){"use strict";var e="rdt_cid",i="PageVisit",o="ViewContent",u="AddToCart",a="AddToWishlist",f="Purchase",c="Lead",s="SignUp",l="Custom",h="itemCount",v="value",d="valueDecimal",p="currency",m="transactionId",w="products",E="conversionId",y="customEventName";n.exports={CLICK_ID_NAME:e,PIXEL_ENDPOINT:"https://alb.reddit.com/rp.gif",ADS_UI_ENDPOINT:"https://ads.reddit.com",ADS_UI_STATIC_BASE:"https://www.redditstatic.com/campaign-management/",UNIX_EPOCH:"Thu, 01 Jan 1970 00:00:00 GMT",COOKIE_EXPIRATION_DAYS:90,CLICK_ID_COOKIE_NAME:"_"+e,EMAIL_COOKIE_NAME:"_rdt_em",PHONE_NUMBER_COOKIE_NAME:"_rdt_pn",UUID_COOKIE_NAME_V2:"_rdt_uuid",METADATA_PREFIX:"m.",CUSTOM_EVENT_NAME_LIMIT:128,K:":",CONVERSION_EVENTS:{PAGEVISIT:i,VIEWCONTENT:o,SEARCH:"Search",ADDTOCART:u,ADDTOWISHLIST:a,PURCHASE:f,LEAD:c,SIGNUP:s,CUSTOM:l},CONVERSION_EVENTS_LIST:[i,o,"Search",u,a,f,c,s,l],INTEGRATION_PROVIDERS:{REDDIT:"reddit",GTM:"gtm",NOSCRIPT:"noscript"},PIXEL_METHODS:{INIT:"init",ENABLE_FIRST_PARTY_COOKIES:"enableFirstPartyCookies",TRACK:"track",DISABLE_FIRST_PARTY_COOKIES:"disableFirstPartyCookies"},EVENT_METADATA:{ITEM_COUNT:h,VALUE:v,VALUE_DECIMAL:d,CURRENCY:p,TRANSACTION_ID:m,CUSTOM_EVENT_NAME:y,PRODUCTS:w,CONVERSION_ID:E},EVENT_METADATA_LIST:[h,v,d,p,m,y,w,E],REVENUE_METADATA_LIST:[h,v,d,p,m],DEFAULT_CURRENCY:"USD",REVENUE_EVENTS_LIST:[u,a,f,c,s,l],EVENT_CONFIG:{PIXEL_URL_DEFAULT:"https://www.redditstatic.com/ads/LATEST/pixel.js",CONVERSIONS_CONFIG_PIXEL_URL:"https://www.redditstatic.com/ads/conversions-config/v1/pixel/config",CONVERSIONS_CONFIG_ERROR_URL:"https://conversions-config.reddit.com/v1/pixel/error",EVENT_CONFIGS_URL:"https://pixel-config.reddit.com/pixels"},EVENT_SETUP:{PAGE_LISTENERS_UPDATE_TIMEOUT:5e3,URL_FETCH_TIMEOUT:50,EVENT_CONFIG:{TRIGGER_TYPE:{CLICK:"CLICK",URL:"URL"},TRIGGER_SELECTOR_TYPE:{CLICK_CSS:"CLICK_CSS",CLICK_TEXT:"CLICK_TEXT",URL_CONTAINS:"URL_CONTAINS",URL_EXACT:"URL_EXACT"},METADATA_EXTRACTOR_TYPE:{FIXED:"FIXED",SELECTOR:"SELECTOR"},METADATA_SELECTOR_TYPE:{CSS:"METADATA_CSS",TEXT:"METADATA_TEXT"}}},AAM:{L:.05,R:.25,P:500,M:1e4,o:["support","help","contact","info","admin","sales","billing","careers","webmaster","helpdesk","inquiry","marketing","pr","feedback"],u:'[class*="email"], [id*="email"], [aria-label*="email"], [name*="email"], [title*="email"]',p:":",g:5,m:",",PHONE_NUMBER:{D:.05,j:.25,U:500,k:1e4,O:5,C:"|",V:"~",X:["terms","privacy","policy"],H:'[class*="phone-number"], [class*="phone"], [id*="phone-number"], [id*="phone"], [aria-label*="phone-number"], [aria-label*="phone"], [name*="phone-number"], [name*="phone"], [title*="phone-number"], [title*="phone"], [type="tel"]',G:["2fa","otp","verify","verification","challenge","security","authenticate","authentication","two-factor","one-time-password"],F:["phone","contact","support","customer","service"]}}}},{}],13:[function(t,n,r){"use strict";var c=t("./constants"),a=t("./strings"),e=t("./uuid"),i=function(t){return(new Date).getTime()+"."+t};r.addTimestampToCookie=i,r.extractUuidFromCookieV2=function(t){var n=t.split(".");return n.length<2?t:n[1]},r.createCookieV2=function(){return i(e())},r.getCookieV2=function(){for(var t=document.cookie.split(";"),n="",r=1/0,e=0;e=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){a=!0,o=t},f:function(){try{u||null==r.return||r.return()}finally{if(a)throw o}}}}function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r",email:"",phoneNumber:"",externalId:"",idfa:""},v=["ext","x","anexo","#","poste","int"],u=function(t,n){return t.split(n).join("")},a=function(t,n){return t.length==n&&!isNaN(Number("0x"+t))},c=function(t){var n=u(t,"-");return a(n,32)&&"00000000000000000000000000000000"!==n},d=r.normalizeEmail=function(t){if(t===h.email)return l;var n=t.split("@");if(2!=n.length)return"";var r=n[0];return n[0]=u(r,".").split("+")[0],n.join("@").toLowerCase()};window.redditNormalizeEmail=d;var p=function(t){return t},m=r.normalizePhoneNumber=function(t){if(t===h.phoneNumber)return l;var n="";0<(t=t.trim()).length&&"+"===t[0]&&(n="+",t=t.substring(1)),t=t.toLowerCase();for(var r=0,e=v;r