/*! Build: 2024-04-02 */ /** * * Tealium JS * * @version 5.0.7 * * @license * Copyright (c) 2022 Tealium Inc. All Rights Reserved. * */ var Tealium=function(s,c){"use strict";var w,f,d,l,g,p,v,m,R,n,h,y,_,E,T,e,O=s,S=[],i=[],I=[],C={},r={},o="",b="object"==typeof JSON?JSON:O.JSON,x="object"==typeof window?window:O.window||{},A="object"==typeof document?document:O.document||{getElementsByTagName:function(){return[]},createElement:function(){return{}}},N=x.location||{protocol:"https:",hostname:""},a=x.navigator&&x.navigator.userAgent?x.navigator:{plugins:[],userAgent:"",appVersion:""},L=x.screen||{},u="object"==typeof console?console:x.console||{},k="debug",D="no_load",F="no_console",P="no_persist",j="is_web",K="session_duration",t="cookie_domain",U="root_domain",G="use_local_storage",W="force_https",B="use_shared_library",H="contains_tag_ids",M="error",Y="warn",V="log",Z="content_viewed",Q="TEAL",q="v",J="s",z="sn",X="en",tt="t",et="$",nt="cp.",rt="ls.",it="sess",ot=36e5,at=24*ot,ut=31536e3,st="$or",ct="$and",ft="$nor",lt="$regex",dt="$exists",gt="$eq",pt="$in",mt="function",ht="boolean",vt="number",yt="string",_t="array",Et="object",Tt="script",Ot="5.0.7";function St(){}function It(t){return O[t]}function Ct(t,e){"addSharedTag"===t?oe(e):"callback"===t?e():O[t]=e}function bt(t,e){u[t]&&!It(F)&&u[t]("TEALIUM:"+y,e)}function At(t,e){var n;It(k)&&(n=t,e=R.typeOf(t)===M?M:(n=R.copy(t),e||V),i.push(n),bt(e,n))}function Nt(t){var e,n,r;if(It(k)){for(r=[],e=0;e@,;:\\"/[\]?={}$]/g,"")}function wt(t){return R.startsWith(t,"data.udo.")?t.substr(9):R.startsWith(t,"data.dom.")?t.substr(5):R.startsWith(t,"data.firstparty_tealium_cookies.")?nt+t.substr(32):R.startsWith(t,"dataLayer.")?t.substr(10):t}function Rt(t,e){var n=wt(t);return n===t?t:e[n]}function xt(t,e){var n,r,i,o,a,u,s,c;if(a=r=R.getFirstKey(t),c="undefined",!R.startsWith(r,et)){if(R.contains(r,"operator")||R.contains(r,"operand"))return u=Rt(t.operand1,e),s=Rt(t.operand2,e),void 0!==l[t.operator]&&l[t.operator](u,s);R.isEmpty(e[r])||(c=e[r]),void 0!==t?a=R.getFirstKey(t[r]):At("Error: Incorret syntax when attempting to read key value of '"+r+"'")}switch(a){case lt:return i=new RegExp(t[r][lt]),null!==(c=""+c).match(i);case dt:return!1===t[r][dt]&&"undefined"===c||!0===t[r][dt]&&"undefined"!==c;case gt:return c===t[r][gt];case pt:for(n in R.getKeys(t[r][pt]))if(c===t[r][pt][n])return!0;return!1;case st:for(n in o=!1,R.getKeys(t[st]))o=o||xt(t[st][n],e);return o;case ct:for(n in o=!0,R.getKeys(t[ct]))o=o&&xt(t[ct][n],e);return o;case ft:for(n in o=!1,R.getKeys(t[ft]))o=o||xt(t[ft][n],e);return!o}}function kt(t,e){var n,r={0:!0};for(n=0;n",s)){for(i in o=new RegExp("^"+s.replace("","(\\d+)")+"$"),R.getKeys(e))if(null!==(a=r.match(o))&&void 0!==e[i])if(R.startsWith(c,"index="))for(f=parseInt(c.substring(6))||0,r=0;r",a[1]).replace("",r+f)]=e[i][r];else g[u.replace("",a[1])]=e[i]}else if(R.startsWith(c,"index=")&&void 0!==e[s])for(f=parseInt(c.substring(6))||0,r=0;r",r+f)]=e[s][r];else void 0!==e[s]&&(g[u]=R.copy(e[s]));return _(["getDataFromMapping:data",g]),g},getFunctionListByActionId:L,getMappingLegacy:function(t){var e,n,r,i,o,a={};for(o=N(t)||[],e=0;e