assets.adobedtm.com
Open in
urlscan Pro
2a02:26f0:3500:591::1e80
Public Scan
Submitted URL: http://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/launch-9b1c6778e25a-development.min.js
Effective URL: https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/launch-9b1c6778e25a-development.min.js
Submission: On August 11 via manual from US — Scanned from DE
Effective URL: https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/launch-9b1c6778e25a-development.min.js
Submission: On August 11 via manual from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
// For license information, see `https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/launch-9b1c6778e25a-development.js`. window._satellite=window._satellite||{},window._satellite.container={buildInfo:{minified:!0,buildDate:"2024-02-17T15:50:15Z",turbineBuildDate:"2023-02-22T20:37:26Z",turbineVersion:"27.5.0"},environment:{id:"ENbed1618406ff4fbcb4d83caccdb9f342",stage:"development"},dataElements:{SavedApplication:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.savedApplication"}},PageURL_no_QP:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return window.location.href.split("?")[0].split("#")[0]}}},AudienceManagerID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.cookie.get("aam_uuid")?_satellite.cookie.get("aam_uuid"):"";return e?audienceManagerID=e:void 0===citiData.user.adobeId&&""===citiData.user.adobeId||(audienceManagerID=citiData.user.audienceManagerID?citiData.user.audienceManagerID:""),audienceManagerID}}},AppStatus:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.applicationStatus"}},cbolDept:{defaultValue:"",modulePath:"core/src/lib/dataElements/sessionStorage.js",settings:{name:"cbolDept"}},SelfServiceName:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e;return"undefined"!=typeof citiData&&(e=citiData.selfService.serviceName?citiData.selfService.serviceName:""),e}catch(e){return""}}}},"Media Pixel | Card Forms | Conversion label":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){}}},PageURL_QP:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=n[1].split(/[&;]/g),t=e.length;t-- >0;)-1==e[t].toLowerCase().indexOf("ecid")&&-1==e[t].toLowerCase().indexOf("icid")&&-1==e[t].toLowerCase().indexOf("scode")&&-1==e[t].toLowerCase().indexOf("pcode")&&e.splice(t,1);return n[0]+(e.length>0?"?"+e.join("&"):"")}var t=window.location.href,n=t.split("?");return n.length>=2&&(-1!=n[1].toLowerCase().indexOf("ecid")||-1!=n[1].toLowerCase().indexOf("icid")||-1!=n[1].toLowerCase().indexOf("scode")||-1!=n[1].toLowerCase().indexOf("pcode"))?t=e():n[0]}}},InternalSearchResultClicked:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.search.searchResultClicked"}},transactionID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.transaction.transactionID?citiData.transaction.transactionID:""}catch(e){}}}},JourneyFlowName:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.journeyName"}},LoginStatus:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof citiData){var e=citiData.user.loginStatus?citiData.user.loginStatus:"";""==e&&(e=citiData.user.loginState?citiData.user.loginState:"")}return e}}},SiteName:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e,t=citiData.page.pageName;return""!=t?"icms"==t.toLowerCase()?(e=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1]:"drupal"==t.toLowerCase()?(e=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1]:(e=t.split(":"))[0]+":"+e[1]:(console.log("ErrorMessage : Pagename needs to be defined"),(e=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1])}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},eMGMID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof citiData)var e=citiData.form.emgmId?citiData.form.emgmId:"";return e}}},FlowStep:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.flowStep"}},Campaign:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}var t="",n=e("ecid")?e("ecid"):"",a=e("cmpid")?e("cmpid"):"";return n?t=n:a&&(t=a),t}}},ProductSubCategory:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.product.productSubCategory"}},ErrorMessage:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.error.errorMessage"}},InternalSearchTermCount:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.search.searchTermCount"}},InternalUrls:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return citiData&&citiData.page.pageName&&-1!=citiData.page.pageName.indexOf("ocp:")||window.location.href&&-1!=window.location.href.indexOf("citigroup.net")?"citigroup.net,eclipse.uat2a.citigroup.net,eclipse.sit.citigroup.net,eclipse.uat2b.citigroup.net,eclipse.sit.citigroup.net:4001,eclipse1a.aspac.citigroup.net,eclipse1b.aspac.citigroup.net,eclipse1c.aspac.citigroup.net,aspac.citigroup.net":"javascript:,citibank.com.hk"}}},ProductType:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.product.productType"}},contentDate:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.content.contentDate?citiData.content.contentDate.toLowerCase():""}catch(e){}}}},PageURL_with_hash:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return window.location.href.split("?")[0]}}},PageCategory:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.page.pageCategory"}},Channel:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e){var t;if("icms"==e.toLowerCase())return(t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[1]?t[1]:"";if("drupal"==e.toLowerCase())return(t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[1]?t[1]:"";var n=e.split(":");return n[1]?n[1]:""}return console.log("ErrorMessage : Pagename needs to be defined"),"channel undefined"}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},Mbox_Pagename:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e,t,n=citiData.page.pageName;return""!=n?"icms"==n.toLowerCase()?(e=(t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","")).split(":").length,t.split(":")[e-1]):"drupal"==n.toLowerCase()?(e=(t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","")).split(":").length,t.split(":")[e-1]):(e=n.split(":").length,n.split(":")[e-1]):(e=(t=location.pathname.toLowerCase().replace(/^/,"hk:public:pageName undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","")).split(":").length,t.split(":")[e-1])}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},CrossSellOffer:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.crosssellOffer"}},CtaType:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return newData.ctatype}}},ICID:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}var t=e("icid")?e("icid"):"",n=e("intcmp")?e("intcmp"):"",a=e("eofferCode")?e("eofferCode"):"",r=e("lid")?e("lid"):"";return t||n||a||r}}},contentLabel:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.content.contentLabel?citiData.content.contentLabel.toLowerCase():""}catch(e){}}}},"nbo_shown _sequence":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.banner.nbo_shown_sequence?citiData.banner.nbo_shown_sequence.toLowerCase():""}catch(e){}}}},transactionCurrency:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.transaction.transactionCurrency?citiData.transaction.transactionCurrency:""}catch(e){}}}},transactionPurpose:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.transaction.transactionPurpose?citiData.transaction.transactionPurpose:""}catch(e){}}}},"Media Pixel | DC-9180494 | Type | BAU Pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/english/wealth-management/citigold-private-client/upgrade/":case"/english/cpc/upgradenow-thankyou/index.htm":case"/chinese/wealth-management/citigold-private-client/apply-now/":case"/chinese/cpc/applynow-thankyou/index.htm":case"/chinese/credit-cards/promotions/media.html":case"/english/wealth-management/citigold-private-client/apply-now/":case"/chinese/loans/tactical/loans.html":case"/chinese/loans/personal-loans/card-debt-consolidation-loans/":case"/english/loans/personal-loans/card-debt-consolidation-loans/":return"invmedia";default:_satellite.logger.info("no path match")}}}},transactionType:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.transaction.transactionType?citiData.transaction.transactionType:""}catch(e){}}}},SelfServCompDetail:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e;return"undefined"!=typeof citiData&&(e=citiData.selfService.selfServCompDetail?citiData.selfService.selfServCompDetail:""),e}}},"Authentication State":{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.user.authState"}},searchCount:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.search.searchCount?citiData.search.searchCount:"";return citiData.search.searchCount&&"0"==citiData.search.searchCount&&(e="No search result"),e}catch(e){}}}},segID:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}return e("segID")?e("segID"):""}}},OriginalProductName:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.product.originalProductName"}},CtaPosition:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return newData.ctaposition}}},Environment:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return location.hostname.match(/^(?:www\.)?(citigold\.)*citi(bank|corp|group|gold)*\.(com|hk)(\.hk)*/)||location.hostname.match(/^(?:www1\.)?(citigold\.)*citi(bank|corp|group|gold)*\.(com|hk)(\.hk)*/)||location.hostname.match(/^(?:marketingportal\.)?(citigold\.)*citi(bank|corp|group|gold)*\.(com|hk)*/)||location.hostname.match(/^(?:mobile\.)?(citigold\.)*citi(bank|corp|group|gold)*\.(com|hk)(\.hk)*/)?"prod":"staging"}}},FlowType:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.flowType"}},searchKeyword:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.search.searchKeyword?citiData.search.searchKeyword:""}catch(e){}}}},"Media Pixel | Loan Forms | GTag Conversion label":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){return-1!==t.indexOf("leanflow pre screening step 1")?"step 1":-1!==t.indexOf("leanflow pre screening step 2")?"step 2":-1!==t.indexOf("leanflow ipa")?"step 3":n.includes("reject")||n.includes("Reject")?"step 4a":-1!==t.indexOf("leanflow fulfilment")?"step 4":-1!==t.indexOf("leanflow doc upload")?"step 5":-1!==t.indexOf("leanflow confirmation")?"step 6":void 0}_satellite.getVar("ApplicationID"),_satellite.getVar("PageName");var t=_satellite.getVar("FlowStep").toLowerCase(),n=(_satellite.getVar("FlowType").toLowerCase(),_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("ECID"),_satellite.getVar("ICID"),_satellite.getVar("pcode"),_satellite.getVar("scode"),_satellite.getVar("PageURL_QP"),_satellite.getVar("Country"),_satellite.getVar("ProductFamily"),_satellite.getVar("ProductSubCategory"),_satellite.getVar("LoginStatus"),_satellite.getVar("AppStatus")),a=(_satellite.getVar("CustomerType").toLowerCase(),_satellite.getVar("Language"),_satellite.getVar("Calculator"),_satellite.getVar("AppStatus").toLowerCase(),_satellite.getVar("DocUploadIndicator").toLowerCase(),_satellite.getVar("pcode")),r=_satellite.getVar("scode");if(Math.random(),"step 4a"===e()&&"US251"==a&&"PGP139"==r)return"taxlo0/taxlo01+standard";switch(_satellite.logger.info("no path match"),citiData.page.pageName){case"HK:Public:Lean:PIL:Pre Screening Step 1":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00v+standard";case"HK:Public:Lean:PIL:Pre Screening Step 2":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00w+standard";case"HK:Public:Lean:PIL:IPA":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00x+standard";case"HK:Public:Lean:PIL:Refer Approval Fulfilment":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00y+standard";case"HK:Public:Lean:PIL:Refer Approval Doc Upload":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00z+standard";case"HK:Public:Lean:PIL:Refer Approval Confirmation":if("US251"==a&&"PGP139"==r)return"taxlo0/taxlo00_+standard";default:_satellite.logger.info("no path match")}}}},FormType:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if(console.log("checking form type...."),console.log(citiData.form.formType),null!=citiData.form.formType)return citiData.form.formType}}},AnalyticsCodeVersion:{defaultValue:"",modulePath:"core/src/lib/dataElements/constant.js",settings:{value:"SiteCatalyst Base Code JS2.17.0"}},ProductOfferType:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.productOfferType"}},ProductFamily:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.product.productFamily"}},PageName:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e)return"icms"==e.toLowerCase()?t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm",""):"drupal"==e.toLowerCase()?t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm",""):e;if(-1==window.location.pathname.indexOf("credit-cards/citi-ultima"))return console.log("ErrorMessage : Pagename needs to be defined"),t=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","");if(""==e){if("drupal"==e){var t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","");return(n=window.location.href&&window.location.href.split("#")&&window.location.href.split("#")[1].split("?")[0].replace(/\//g,":")).endsWith(":")?t:t+n}return e}if("icms"==e){var n,t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","");return window.location.href&&window.location.href.split("#").length>=2&&(t=(n=window.location.href.split("?").length>=2?window.location.href.split("#")[1].split("?")[0].replace(/\//g,":"):window.location.href.split("#")[1].replace(/\//g,":")).endsWith(":")?t:t+n),t}}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},"Media pixel | Cat | BAU pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/english/wealth-management/citigold-private-client/upgrade/":case"/english/cpc/upgradenow-thankyou/index.htm":case"/english/mobile-banking/promotion-bank-in-hand":case"/english/wealth-management/citigold/apply-now/":case"/english/cpc/applynow-thankyou/index.htm":case"/english/personal-banking/citi-plus/":return"banki00";case"/chinese/wealth-management/citigold-private-client/apply-now/":case"/chinese/cpc/applynow-thankyou/index.htm":case"/chinese/mobile-banking/promotion-bank-in-hand":case"/chinese/cpc/applynow-thankyou/index.htm":case"/english/wealth-management/citigold/privileges-and-offers/welcome-offers/":case"/chinese/wealth-management/citigold/privileges-and-offers/welcome-offers/":case"/chinese/personal-banking/citi-plus/":return"banki0";case"/chinese/credit-cards/promotions/student-cards/":case"/chinese/credit-cards/promotions/student-cards/":return"card-01s";case"/english/credit-cards/promotions/student-cards/":case"/english/credit-cards/promotions/student-cards/":return"card-02s";case"/chinese/credit-cards/promotions/ekin/":return"card-20c";case"/chinese/credit-cards/cash-back-card":return"card-006";case"/english/credit-cards/cash-back-card":return"card-007";case"/chinese/mobile-banking/flash-sale":return"flash00";case"/english/mobile-banking/flash-sale":return"flash0";case"/chinese/banking/red-packet-function":return"banki002";case"/english/banking/red-packet-function":return"banki003";case"/chinese/credit-cards/citi-plus-card":case"/chinese/cpc/contactus-thankyou/index.htm":return"banki000";case"/english/credit-cards/citi-plus-card":return"banki001";case"/chinese/mortgages/manage-mortgage":case"/chinese/loans/mortgages/manage-my-mortgage":return"mogn-007";case"/english/mortgages/manage-mortgage":case"/english/loans/mortgages/manage-my-mortgage":return"mogn-008";case"/chinese/loans/mortgages/mortgage-calculator":return"mogn-005";case"/english/loans/mortgages/mortgage-calculator":return"mogn-006";case"/chinese/credit-cards/promotions/media.html":return"card-01c";case"/chinese/livesmart/family/what-to-do-with-your-kids-red-packet-money.html":return"banki015";case"/chinese/loans/personal-loans/speedy-cash":case"/global_docs/chinese/loans/tactical/loan.html":case"/chinese/loans/tactical/loans.html":case"/chinese/credit-cards/quick-cash.html":case"/english/credit-cards/quick-cash.html":return"loan-0";case"/english/loans/personal-loans/speedy-cash":case"/global_docs/english/loans/tactical/loan.html":case"/english/loans/tactical/loans.html":return"loan-00";case"/english/credit-cards/promotions/SEM":return"card-05e";case"/chinese/credit-cards/promotions/SEM":return"card-05c";case"/english/personal-banking/citi-plus/SEM/":case"/chinese/livesmart/trending/things-you-need-to-know-about-us-election/":return"banki004";case"/chinese/personal-banking/citi-plus/SEM/":case"/chinese/livesmart/trending/investment-opportunities-after-us-election/":return"banki005";case"/chinese/credit-cards/promotions/student/circle/":return"card-09c";case"/english/credit-cards/promotions/student/circle/":return"card-09e";case"/chinese/credit-cards/promotions/student/kingdom/":return"card-08c";case"/english/credit-cards/promotions/student/kingdom/":return"card-08e";case"/chinese/credit-cards/promotions/endy-chow":case"/chinese/credit-cards/promotions/endy-chow.html":return"card-15c";case"/english/credit-cards/promotions/endy-chow":case"/english/credit-cards/promotions/endy-chow.html":return"card-15e";case"/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/":case"/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/":return"cgstan01";case"/english/wealth-management/investment/promotions/citigold-exclusive-offer/":case"/english/wealth-management/investment/promotions/citigold-exclusive-offer/":return"cgstan02";case"/chinese/loans/mortgages/tools/":return"mogn-017";case"/chinese/loans/mortgages/mortgage-offers/":return"mogn-023";case"/chinese/loans/mortgages/":return"mogn-025";case"/chinese/loans/mortgages/mortgage-plan/90-mortgage/":return"mogn-027";case"/chinese/loans/mortgages/mortgage-plan/deposit-linked-mortgage/":return"mogn-029";case"/chinese/loans/mortgages/mortgage-plan/hibor-based-mortgage/":return"mogn-031";case"/chinese/loans/mortgages/mortgage-plan/hibor-linked-mortgage/":return"mogn-033";case"/chinese/loans/mortgages/mortgage-plan/home-smart-mortgage/":return"mogn-035";case"/chinese/loans/mortgages/mortgage-plan/":return"mogn-039";case"/chinese/loans/mortgages/mortgage-plan/mortgage-refinancing/":return"mogn-041";case"/chinese/loans/mortgages/overseas-property-mortgage/":return"mogn-043";case"/chinese/loans/mortgages/mortgage-plan/prime-based-mortgage/":return"mogn-045";case"/chinese/loans/mortgages/learn-and-help/property-market-insights/":return"mogn-047";case"/chinese/loans/mortgages/tools/useful-mortgage-information/":return"mogn-049";case"/english/loans/mortgages/tools/":return"mogn-018";case"/english/loans/mortgages/mortgage-offers/":return"mogn-024";case"/english/loans/mortgages/":return"mogn-026";case"/english/loans/mortgages/mortgage-plan/90-mortgage/":return"mogn-028";case"/english/loans/mortgages/mortgage-plan/deposit-linked-mortgage/":return"mogn-030";case"/english/loans/mortgages/mortgage-plan/hibor-based-mortgage/":return"mogn-032";case"/english/loans/mortgages/mortgage-plan/hibor-linked-mortgage/":return"mogn-034";case"/english/loans/mortgages/mortgage-plan/home-smart-mortgage/":return"mogn-036";case"/english/loans/mortgages/mortgage-plan/":return"mogn-040";case"/english/loans/mortgages/mortgage-plan/mortgage-refinancing/":return"mogn-042";case"/english/loans/mortgages/overseas-mortgage/":case"/english/loans/mortgages/overseas-property-mortgage/":return"mogn-044";case"/english/loans/mortgages/mortgage-plan/prime-based-mortgage/":return"mogn-046";case"/english/loans/mortgages/learn-and-help/property-market-insights/":return"mogn-048";case"/english/loans/mortgages/tools/useful-mortgage-information/":return"mogn-050";case"/chinese/credit-cards/promotions/milestactical/":return"card-24c";case"/english/credit-cards/promotions/milestactical/":return"card-24e";case"/sc/international-banking/apply-now/":return"cgipb01";case"/sc/international-banking/apply-now-thank-you.html":return"cgipb02";case"/zh/international-banking/about-ipb/":return"cgipb03";case"/en/international-banking/apply-now/":return"cgipb07";case"/en/international-banking/apply-now-thank-you.html":return"cgipb08";case"/chinese/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles":return"mogn-021";case"/english/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles":return"mogn-022";case"/zh/international-banking/apply-now/":return"cgipb04";case"/zh/international-banking/apply-now-thank-you.html":return"cgipb05";case"/en/international-banking/about-ipb/":return"cgipb06";case"/sc/international-banking/about-ipb/":return"cgipb00";case"/chinese/personal-banking/citi-plus/promotions/exclusive-offer/index.html":case"/english/personal-banking/citi-plus/promotions/exclusive-offer/index.html":return"dvp-t1";case"/en/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html":return"cgipb12";case"/sc/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html":return"cgipb11";case"/sc/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html":return"cgipb13";case"/en/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html":return"cgipb14";case"/en/international-banking/apply-now/":return"cgipb18";case"/en/international-banking/apply-now-thank-you.html":return"cgipb20";case"/english/credit-cards/promotions/2023-uefa-club-card":return"card-07e";case"/chinese/credit-cards/promotions/2023-uefa-club-card":return"card-07c";case"/chinese/credit-cards/promotions/cash-rebate/":return"card-06c";case"/english/credit-cards/promotions/cash-rebate/":return"card-06e";case"/chinese/wealth-management/citigold/apply-now2/":return"cgja02";case"/english/citigold/thank-you/":case"/english/citigold/thank-you/index.htm":return"cgja06";case"/chinese/citigold/thank-you/":case"/chinese/citigold/thank-you/index.htm":return"cgja03";case"/english/loans/landing-page/personal-loans/speedy-cash-mh-apps/":return"ffpln00";case"/chinese/loans/landing-page/personal-loans/speedy-cash-mh-apps/":return"ffpln0";default:_satellite.logger.info("no path match")}}}},FormID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof citiData)var e=citiData.form.formId?citiData.form.formId:"";return e}}},Platform:{defaultValue:"",modulePath:"core/src/lib/dataElements/constant.js",settings:{value:"Web"}},Calculator:{defaultValue:"",modulePath:"core/src/lib/dataElements/constant.js",settings:{value:"Loan Calculator"}},ECID:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}var t="",n=e("ecid")?e("ecid"):"",a=e("cmpid")?e("cmpid"):"";return n?t=n:a&&(t=a),t}}},FormName:{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.form.formName"}},LeadID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof citiData)var e=citiData.form.leadId?citiData.form.leadId:"";return e}}},ErrorType:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.error.errorType"}},RetrieveApplication:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.retreiveApplication"}},Country:{defaultValue:"",modulePath:"core/src/lib/dataElements/constant.js",settings:{value:"Hong Kong"}},FormStep:{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.form.formStep"}},LoginAttempt:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.user.loginAttempt"}},prodType:{modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.prodType"}},AdobeID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e;return s_c_il[0]._fields.MCMID?e=_satellite.getVisitorId().getMarketingCloudVisitorID():(void 0!==citiData.user.adobeId&&""!==citiData.user.adobeId||void 0!==citiData.user.adobeID&&""!==citiData.user.adobeID)&&(e=citiData.user.adobeId?citiData.user.adobeId:citiData.user.adobeID?citiData.user.adobeID:""),e}}},DocUploadIndicator:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.docUploadIndicator"}},siteSection5:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e)if("icms"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=7)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]+":"+t[6]}else if("drupal"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=7)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]+":"+t[6]}else{var t;if((t=e.split(":")).length>=7)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]+":"+t[6]}else if(console.log("ErrorMessage : Pagename needs to be defined"),(t=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=7)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]+":"+t[6]}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},Language:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.page.language?citiData.page.language:document.documentElement.lang}catch(e){return console.log("ErrorMessage : DL needs to be defined"),"language undefined"}}}},eventLabel:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.adobeEvent.eventLabel?citiData.adobeEvent.eventLabel:""}catch(e){}}}},"Media Pixel | Type | BAU Pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/english/wealth-management/citigold-private-client/upgrade/":case"/chinese/wealth-management/citigold-private-client/apply-now/":return"bankcpc0";case"/english/cpc/upgradenow-thankyou/index.htm":case"/chinese/cpc/applynow-thankyou/index.htm":case"/english/cpc/applynow-thankyou/index.htm":case"/chinese/cpc/applynow-thankyou/index.htm":return"bankcpc1";case"/chinese/credit-cards/promotions/student-cards/":case"/english/credit-cards/promotions/student-cards/":case"/chinese/credit-cards/promotions/ekin/":case"/english/credit-cards/promotions/SEM":case"/chinese/credit-cards/promotions/SEM":case"/chinese/credit-cards/promotions/endy-chow":case"/chinese/credit-cards/promotions/endy-chow.html":case"/english/credit-cards/promotions/endy-chow":case"/english/credit-cards/promotions/endy-chow.html":case"/chinese/credit-cards/cash-back-card":case"/english/credit-cards/cash-back-card":case"/chinese/credit-cards/promotions/media.html":case"/chinese/credit-cards/promotions/student-cards/":case"/english/credit-cards/promotions/student-cards/":case"/chinese/credit-cards/promotions/cash-rebate/":case"/english/credit-cards/promotions/cash-rebate/":case"/chinese/credit-cards/promotions/milestactical/":case"/english/credit-cards/promotions/milestactical/":case"/english/credit-cards/promotions/2023-uefa-club-card":case"/chinese/credit-cards/promotions/2023-uefa-club-card":return"card-000";case"/chinese/mobile-banking/flash-sale":case"/english/mobile-banking/flash-sale":return"banki02a";case"/chinese/mobile-banking/promotion-bank-in-hand":case"/english/mobile-banking/promotion-bank-in-hand":case"/chinese/banking/red-packet-function":case"/english/banking/red-packet-function":return"banki02-";case"/chinese/credit-cards/citi-plus-card":case"/english/credit-cards/citi-plus-card":case"/chinese/personal-banking/citi-plus/":case"/english/personal-banking/citi-plus/":case"/english/personal-banking/citi-plus/SEM/":case"/chinese/personal-banking/citi-plus/SEM/":case"/chinese/personal-banking/citi-plus/promotions/exclusive-offer/index.html":case"/english/personal-banking/citi-plus/promotions/exclusive-offer/index.html":return"dvpppage";case"/chinese/mortgages/manage-mortgage":case"/chinese/loans/mortgages/manage-my-mortgage":case"/english/mortgages/manage-mortgage":case"/english/loans/mortgages/manage-my-mortgage":case"/chinese/loans/mortgages/mortgage-calculator":case"/english/loans/mortgages/mortgage-calculator":case"/chinese/loans/mortgages/tools/":case"/chinese/loans/mortgages/manage-my-mortgage":case"/chinese/loans/mortgages/mortgage-offers/":case"/chinese/loans/mortgages/":case"/chinese/loans/mortgages/mortgage-plan/90-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/deposit-linked-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/hibor-based-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/hibor-linked-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/home-smart-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/":case"/chinese/loans/mortgages/mortgage-plan/mortgage-refinancing/":case"/chinese/loans/mortgages/overseas-property-mortgage/":case"/chinese/loans/mortgages/mortgage-plan/prime-based-mortgage/":case"/chinese/loans/mortgages/learn-and-help/property-market-insights/": case"/chinese/loans/mortgages/tools/useful-mortgage-information/":case"/english/loans/mortgages/tools/":case"/english/loans/mortgages/mortgage-offers/":case"/english/loans/mortgages/":case"/english/loans/mortgages/mortgage-plan/90-mortgage/":case"/english/loans/mortgages/mortgage-plan/deposit-linked-mortgage/":case"/english/loans/mortgages/mortgage-plan/hibor-based-mortgage/":case"/english/loans/mortgages/mortgage-plan/hibor-linked-mortgage/":case"/english/loans/mortgages/mortgage-plan/home-smart-mortgage/":case"/english/loans/mortgages/mortgage-plan/":case"/english/loans/mortgages/mortgage-plan/mortgage-refinancing/":case"/english/loans/mortgages/overseas-mortgage/":case"/english/loans/mortgages/mortgage-plan/prime-based-mortgage/":case"/english/loans/mortgages/learn-and-help/property-market-insights/":case"/english/loans/mortgages/tools/useful-mortgage-information/":case"/chinese/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles":case"/english/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles":case"/english/loans/mortgages/overseas-property-mortgage/":return"mortg-n";case"/english/wealth-management/citigold/apply-now/":return"bank-0";case"/english/wealth-management/citigold/privileges-and-offers/welcome-offers/":return"banki02i";case"/chinese/wealth-management/citigold/privileges-and-offers/welcome-offers/":return"banki02j";case"/chinese/livesmart/family/what-to-do-with-your-kids-red-packet-money.html":case"/chinese/livesmart/trending/investment-opportunities-after-us-election/":case"/chinese/livesmart/trending/things-you-need-to-know-about-us-election/":return"banki029";case"/chinese/loans/personal-loans/speedy-cash":case"/english/loans/personal-loans/speedy-cash":case"/global_docs/chinese/loans/tactical/loan.html":case"/global_docs/english/loans/tactical/loan.html":case"/chinese/loans/tactical/loans.html":case"/english/loans/tactical/loans.html":case"/english/loans/landing-page/personal-loans/speedy-cash-mh-apps/":case"/chinese/loans/landing-page/personal-loans/speedy-cash-mh-apps/":return"loan-000";case"/chinese/credit-cards/quick-cash.html":return"qcchi";case"/english/credit-cards/quick-cash.html":return"qceng";case"/chinese/credit-cards/promotions/student/circle/":case"/english/credit-cards/promotions/student/circle/":case"/chinese/credit-cards/promotions/student/kingdom/":case"/english/credit-cards/promotions/student/kingdom/":return"card-001";case"/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/":case"/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/":return"banki02n";case"/english/wealth-management/investment/promotions/citigold-exclusive-offer/":case"/english/wealth-management/investment/promotions/citigold-exclusive-offer/":return"banki03n";case"/sc/international-banking/apply-now/":case"/sc/international-banking/apply-now-thank-you.html":case"/zh/international-banking/about-ipb/":case"/en/international-banking/apply-now/":case"/en/international-banking/apply-now-thank-you.html":case"/zh/international-banking/apply-now/":case"/zh/international-banking/apply-now-thank-you.html":case"/en/international-banking/about-ipb/":case"/sc/international-banking/about-ipb/":case"/en/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html":case"/sc/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html":case"/sc/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html":case"/en/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html":case"/en/international-banking/apply-now/":case"/en/international-banking/apply-now-thank-you.html":return"bankipb";case"/english/loans/mortgages/overseas-property-mortgage/":return"cpc05";case"/chinese/wealth-management/citigold/apply-now2/":case"/english/citigold/thank-you/":case"/chinese/citigold/thank-you/":case"/english/citigold/thank-you/index.htm":case"/chinese/citigold/thank-you/index.htm":return"cgja01";default:_satellite.logger.info("no path match")}}}},"Media pixel | DC-9180494 | Cat | BAU pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/english/wealth-management/citigold-private-client/upgrade/":case"/chinese/wealth-management/citigold-private-client/apply-now/":case"/english/wealth-management/citigold-private-client/apply-now/":return"citib02u";case"/english/cpc/upgradenow-thankyou/index.htm":case"/chinese/cpc/applynow-thankyou/index.htm":return"citib02v";case"/chinese/credit-cards/promotions/media.html":return"citib00x";case"/chinese/loans/tactical/loans.html":case"/chinese/loans/personal-loans/card-debt-consolidation-loans/":case"/english/loans/personal-loans/card-debt-consolidation-loans/":return"citib006";default:_satellite.logger.info("no path match")}}}},AdditionalServicesAccepted:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.additionalServicesAccepted"}},InternalSearchTerm:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.search.searchTerm"}},ReminderMessage:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.dynamicContent.reminderMessage"}},DownloadFileTypes:{defaultValue:"",modulePath:"core/src/lib/dataElements/constant.js",settings:{value:"exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx"}},eventCategory:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.adobeEvent.eventCategory?citiData.adobeEvent.eventCategory:""}catch(e){}}}},SelfServiceType:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e;return"undefined"!=typeof citiData&&(e=citiData.selfService.serviceType?citiData.selfService.serviceType:""),e}catch(e){return""}}}},pcode:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}return e("pcode")?e("pcode"):""}}},scode:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}return e("scode")?e("scode"):""}}},Server:{defaultValue:"",modulePath:"core/src/lib/dataElements/pageInfo.js",settings:{attribute:"hostname"}},CtaName:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return newData.ctaname}}},CustomerType:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.user.customerType"}},AdditionalServicesOffered:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.additionalServicesOffered"}},contentType:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.content.contentType?citiData.content.contentType.toLowerCase():""}catch(e){}}}},CounterOffer:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.counterOffer"}},Cookie_domain:{forceLowerCase:!0,modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return window.location.hostname}}},eventAction:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.adobeEvent.eventAction?citiData.adobeEvent.eventAction:""}catch(e){}}}},ProductName:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.product.productName"}},NboShown:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e;return"undefined"!=typeof citiData&&(e=citiData.impression.nboShown?citiData.impression.nboShown:""),e}}},contentTitle:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.content.contentTitle?citiData.content.contentTitle.toLowerCase():""}catch(e){}}}},bannerAction:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData&&citiData.banner.bannerAction?citiData.banner.bannerAction.toLowerCase():""}catch(e){}}}},ApplicationID:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.applicationId"}},transactionFrequency:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{return citiData.transaction.transactionFrequency?citiData.transaction.transactionFrequency:""}catch(e){}}}},SiteSection2:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e)if("icms"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=4)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]}else if("drupal"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=4)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]}else{var t;if((t=e.split(":")).length>=4)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]}else if(console.log("ErrorMessage : Pagename needs to be defined"),(t=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=4)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},SiteSection3:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e)if("icms"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=5)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]}else if("drupal"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=5)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]}else{var t;if((t=e.split(":")).length>=5)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]}else if(console.log("ErrorMessage : Pagename needs to be defined"),(t=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=5)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},StatusInquiry:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.application.statusInquiry"}},SelfSubServiceName:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e;return"undefined"!=typeof citiData&&(e=citiData.selfService.subServiceName?citiData.selfService.subServiceName:""),e}catch(e){return""}}}},"ecid Parameter":{modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"ecid",caseInsensitive:!0}},siteSection4:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e=citiData.page.pageName;if(""!=e)if("icms"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=6)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]}else if("drupal"==e.toLowerCase()){if((t=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=6)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]}else{var t;if((t=e.split(":")).length>=6)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]}else if(console.log("ErrorMessage : Pagename needs to be defined"),(t=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":")).length>=6)return t[0]+":"+t[1]+":"+t[2]+":"+t[3]+":"+t[4]+":"+t[5]}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},"Media Pixel | DC-8121631 | BAU Pages | GTag Conversion label":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("/chinese/cpc/applynow-thankyou/index.htm"===location.pathname)return"cpc04/banki000+standard";_satellite.logger.info("no path match")}}},ErrorCode:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"citiData.error.errorCode"}},Hier_SiteSection1:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){try{var e,t=citiData.page.pageName;return""!=t?"icms"==t.toLowerCase()?(e=location.pathname.toLowerCase().replace(/^/,"hk:public:icms").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1]+":"+e[2]:"drupal"==t.toLowerCase()?(e=location.pathname.toLowerCase().replace(/^/,"hk:public:drupal").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1]+":"+e[2]:(e=t.split(":"))[0]+":"+e[1]+":"+e[2]:(console.log("ErrorMessage : Pagename needs to be defined"),(e=location.pathname.toLowerCase().replace(/^/,"hk:public:cms undefined").replace(/\//g,":").replace(/:$/,"").replace(".html","").replace(".htm","").split(":"))[0]+":"+e[1]+":"+e[2])}catch(e){console.log("ErrorMessage : DL needs to be defined")}}}},CCSID:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}function t(e,t,n){var a="";if(n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),a="; expires="+r.toUTCString()}document.cookie=e+"="+(t||"")+a+"; path=/"}function n(e){for(var t=e+"=",n=document.cookie.split(";"),a=0;a<n.length;a++){for(var r=n[a];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return null}var a=citiData.user.cCSID?citiData.user.cCSID:"";return a?t("s_pers_c7",a,730):e("ccsid")?t("s_pers_c7",a=e("ccsid"),730):a=n("s_pers_c7")?n("s_pers_c7"):"anon",a}}},"Media Pixel | DoubleClick-5271445 | Type | BAU Pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/chinese/credit-cards/promotions/moneysmart.html":case"/english/credit-cards/promotions/moneysmart.html":case"/chinese/credit-cards/promotions/mr-miles.html":return"invmedia";default:_satellite.logger.info("no path match")}}}},"Media Pixel | DoubleClick-5271445 | Cat | BAU Pages":{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(location.pathname){case"/chinese/credit-cards/promotions/moneysmart.html":case"/english/credit-cards/promotions/moneysmart.html":case"/chinese/credit-cards/promotions/mr-miles.html":return"jbybrtec";default:_satellite.logger.info("no path match")}}}},ekosid:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(e,t){t||(t=window.location.href.toLowerCase()),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}return e("ekosid")?e("ekosid"):""}}}},extensions:{"common-analytics-plugins":{displayName:"Common Analytics Plugins",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP733cfe8e61e04248a11349661fa8c62a/",modules:{"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js":{name:"initialize-getvalonce",displayName:"Initialize getValOnce",script:function(e,t,n,a){"use strict";a.getSharedModule("adobe-analytics","augment-tracker")((function(e){e.getValOnce=function(e,t,n,a){if(t=t||"s_gvo",n=n||0,a="m"===a?6e4:864e5,e&&e!==this.c_r(t)){var r=new Date;return r.setTime(r.getTime()+n*a),this.c_w(t,e,0===n?0:r),e}return""}})),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js":{name:"initialize-getpageloadtime",displayName:"Initialize getPageLoadTime",script:function(e,t,n,a){"use strict";a.getSharedModule("adobe-analytics","augment-tracker")((function(e){e.p_fo=function(e){var t=this;return t.__fo||(t.__fo={}),!t.__fo[e]&&(t.__fo[e]={},!0)},e.getPageLoadTime=function(){var e=this;if("undefined"!=typeof performance&&e.p_fo("performance")){var t=performance;t.clearResourceTimings(),""!==e.c_r("s_plt")&&(0<t.timing.loadEventEnd&&clearInterval(e.pi),e._pltLoadTime=e.c_r("s_plt"),e._pltPreviousPage=e.c_r("s_pltp"),e.c_w("s_plt",""),e.c_w("s_pltp","")),0===t.timing.loadEventEnd?e.pi=setInterval((function(){e.performanceWriteFull()}),250):0<t.timing.loadEventEnd&&(e.ptc?e.ptc===t.timing.loadEventEnd&&1===t.getEntries().length&&(e.pwp=setInterval((function(){e.performanceWritePart()}),500)):e.performanceWriteFull())}},e.performanceWriteFull=function(){var e=this,t=performance.timing;0<t.loadEventEnd&&(clearInterval(e.pi),""===e.c_r("s_plt")&&(e.c_w("s_plt",e.performanceCheck(t.loadEventEnd,t.navigationStart)),e.c_w("s_pltp",e.pageName))),e.ptc=t.loadEventEnd},e.performanceWritePart=function(){var e=this,t=performance;0<t.getEntries().length&&(e.ppfe===t.getEntries().length?clearInterval(e.pwp):e.ppfe=t.getEntries().length),""===e.c_r("s_plt")&&(e.c_w("s_plt",((t.getEntries()[t.getEntries().length-1].responseEnd-t.getEntries()[0].startTime)/1e3).toFixed(2)),e.c_w("s_pltp",e.pageName))},e.performanceCheck=function(e,t){if(0<=e&&0<=t)return 6e4>e-t&&0<=e-t?parseFloat((e-t)/1e3).toFixed(2):60}})),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js":{name:"initialize-getpreviousvalue",displayName:"Initialize getPreviousValue",script:function(e,t,n,a){"use strict";a.getSharedModule("adobe-analytics","augment-tracker")((function(e){e.getPreviousValue=function(e,t,n){var a=this,r="",i=!0;if(t=t||"s_gpv",n){i=!1,n=n.split(",");for(var o=a.events?a.events.split(","):"",s=0,l=n.length;s<l;s++){for(var c=0,u=o.length;c<u;c++)if(n[s]===o[c]){i=!0;break}if(!0===i)break}}return!0===i&&((i=new Date).setTime(i.getTime()+18e5),a.c_r(t)&&(r=a.c_r(t)),e?a.c_w(t,e,i):a.c_w(t,"no previous value",i)),r},e.p_fo=function(e){var t=this;return t.__fo||(t.__fo={}),!t.__fo[e]&&(t.__fo[e]={},!0)}})),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js":{name:"initialize-getnewrepeat",displayName:"Initialize getNewRepeat",script:function(e,t,n,a){"use strict";a.getSharedModule("adobe-analytics","augment-tracker")((function(e){e.getNewRepeat=function(e){var t=this,n="s_nr"+(e=e||30),a=new Date,r=t.c_r(n),i=r.split("-"),o=a.getTime();return a.setTime(o+864e5*e),""===r||18e4>o-i[0]&&"New"===i[1]?(t.c_w(n,o+"-New",a),"New"):(t.c_w(n,o+"-Repeat",a),"Repeat")}})),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js":{name:"initialize-gettimeparting",displayName:"Initialize getTimeParting",script:function(e){"use strict";window.getTimeParting=function(e){return e=document.documentMode?void 0:e||"Etc/GMT",e=(new Date).toLocaleDateString("en-US",{timeZone:e,minute:"numeric",hour:"numeric",weekday:"long",day:"numeric",year:"numeric",month:"long"}),"year="+(e=/([a-zA-Z]+).*?([a-zA-Z]+).*?([0-9]+).*?([0-9]+)(.*?)([0-9])(.*)/.exec(e))[4]+" | month="+e[2]+" | date="+e[3]+" | day="+e[1]+" | time="+(e[6]+e[7])},e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js":{name:"initialize-getvisitnum",displayName:"Initialize getVisitNum",script:function(e,t,n,a){"use strict";a.getSharedModule("adobe-analytics","augment-tracker")((function(e){e.getVisitNum=function(e,t){var n=this,a=function(e){return!isNaN(e)&&(0|parseFloat(e))===parseFloat(e)};if(e=e||365,"boolean"==typeof(t=t?!!t:!!a(e))){var r=(new Date).getTime(),i=endOfDatePeriod(e);if(n.c_r("s_vnc"+e))var o=n.c_r("s_vnc"+e).split("&vn="),s=o[1];return n.c_r("s_ivc")?s?(i.setTime(r+18e5),n.c_w("s_ivc",!0,i),s):"unknown visit number":void 0!==s?(s++,a=t&&a(e)?r+864e5*e:o[0],i.setTime(a),n.c_w("s_vnc"+e,a+"&vn="+s,i),i.setTime(r+18e5),n.c_w("s_ivc",!0,i),s):(a=a(e)?r+864e5*e:endOfDatePeriod(e).getTime(),n.c_w("s_vnc"+e,a+"&vn=1",i),i.setTime(r+18e5),n.c_w("s_ivc",!0,i),"1")}},window.endOfDatePeriod=function(e){var t=new Date,n=isNaN(e)?0:Math.floor(e);if(t.setHours(23),t.setMinutes(59),t.setSeconds(59),"w"===e&&(n=6-t.getDay()),"m"===e){n=t.getMonth()+1;var a=t.getFullYear();n=new Date(a||1970,n||1,0).getDate()-t.getDate()}return t.setDate(t.getDate()+n),"y"===e&&(t.setMonth(11),t.setDate(31)),t}})),e.exports=function(){}}}}},"acronym-gtag.js":{displayName:"Google Global Site Tag (gtag)",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP81069fa771f5458f8c98b5782f82e181/",settings:{accounts:{1697185317925:{id:"1697185317925",name:"DoubleClick",type:"aw",options:[],accounts:{staging:"DC-8121631",production:"DC-8121631",development:"DC-8121631"},settings:{conversion_linker:!0,conversion_cookie_prefix:""}}},configCode:function(){},functionName:"",dataLayerName:"",displayFeatures:!0},modules:{"acronym-gtag.js/src/lib/actions/event.js":{name:"send-gtag.js-event",displayName:"Send an event",script:function(e,t,n,a){"use strict";e.exports=function(e){var t=n("../helpers/loadGtag")(),r=n("../helpers/castOptionTypes"),i=n("../helpers/getAccountId"),o=a.getExtensionSettings(),s={send_to:[]};if("object"==typeof(e=e||{}).accounts&&null!==e.accounts&&Object.keys(e.accounts).length>0){for(var l in e.accounts)if(e.accounts.hasOwnProperty(l)&&(!0===e.accounts[l].enabled||"true"===e.accounts[l].enabled)){var c=o.accounts[l];if(void 0===c){a.logger.warn("ACRGTAG-201 - An account was removed in the extension config but is still enabled in the rule");continue}var u=i(c);if("string"==typeof e.accounts[l].label&&""!==e.accounts[l].label){var p=u+"/";e.accounts[l].label.split(",").forEach((function(e){s.send_to.push(p+e.trim().replace(p,""))}))}else s.send_to.push(u)}"object"==typeof e.options&&e.options.length&&e.options.forEach((function(e){s[e[0]]=e[1]})),"function"==typeof e.callback&&(s.event_callback=function(){e.callback.call(this,t)}),(s=r(s)).send_to.length?(t("event",e.name,s),a.logger.log("event fired for accounts "+s.send_to.join(", ")+" with the options:",JSON.stringify(s))):a.logger.warn("ACRGTAG-200 - No accounts enabled for the "+e.name+" event")}else a.logger.warn("ACRGTAG-200 - No accounts enabled for the "+e.name+" event")}}},"acronym-gtag.js/src/lib/helpers/loadGtag.js":{script:function(e,t,n,a){"use strict";e.exports=function(){var e=a.getExtensionSettings(),t=e.dataLayerName||"dataLayer",r=e.functionName||"gtag",i=n("@adobe/reactor-window"),o=n("@adobe/reactor-load-script"),s=n("../helpers/getAccountId"),l=n("../helpers/castOptionTypes"),c="";if(i[r]||(i[t]=i[t]||[],i[r]=function(){Array.isArray(i[t])?i[t].push(arguments):a.logger.error("ACRGTAG-104: Data layer variable '"+t+"' malformed",i[t])},i[r]("js",new Date)),!_satellite.getVar("__acronym_gtag_loaded")){if(_satellite.setVar("__acronym_gtag_loaded",!0),("string"==typeof e.displayFeatures&&"true"!==e.displayFeatures||"string"!=typeof e.displayFeatures&&!Boolean(e.displayFeatures))&&(i[r]("set",{allow_ad_personalization_signals:!1}),a.logger.log("Display features are disabled")),"object"==typeof e.accounts&&null!==e.accounts&&Object.keys(e.accounts).length>0){for(var u in e.accounts)if(e.accounts.hasOwnProperty(u)){var p=e.accounts[u],v=p.settings||{};c=s(p),"object"==typeof p.custom_map&&p.custom_map.length&&(v.custom_map=v.custom_map||{},p.custom_map.forEach((function(e){v.custom_map[e[0]]=e[1]}))),(p.options||[]).forEach((function(e){v[e[0]]=e[1]})),v.send_page_view=!1,v=l(v),i[r]("config",c,v),a.logger.log("account "+c+" was loaded with the options:",JSON.stringify(v))}if("function"==typeof e.configCode)try{e.configCode(i[r],i[t])}catch(e){a.logger.error("ACRGTAG-101: Custom config code error:",e)}}else a.logger.warn("ACRGTAG-102: No accounts configured");var d="gtag.js library";a.logger.log("loading "+d),o("https://www.googletagmanager.com/gtag/js?id="+c+"&l="+t).then((function(){a.logger.log(d+" successfully loaded")}),(function(){a.logger.error("ACRGTAG-100: "+d+" could not be loaded")}))}return i[r]}},name:"get-gtag",shared:!0},"acronym-gtag.js/src/lib/helpers/castOptionTypes.js":{script:function(e){"use strict";e.exports=function(e){var t={bool:function(e){return"string"==typeof e?"true"===e:Boolean(e)},int:function(e){var t=parseInt(e);return isNaN(t)?0:t},float:function(e){var t=parseFloat(e);return isNaN(t)?0:t},csv:function(e){return"string"==typeof e?""===e?void 0:e.split(","):e},custom_map:function(e){var t={};return"string"==typeof e?e.split(",").forEach((function(e){var n=e.split(":");2===n.length&&(t[n[0]]=n[1])})):"object"==typeof e&&(t=e),t}},n={accept_incoming:t.bool,allow_ad_personalization_signals:t.bool,anonymize_ip:t.bool,checkout_step:t.int,cookie_expires:t.int,custom_map:t.custom_map,event_timeout:t.int,fatal:t.bool,levels:t.int,link_attribution:t.bool,linker:{domains:t.csv,accept_incoming:t.bool,decorate_forms:t.bool},non_interaction:t.bool,value:t.float};return Object.keys(e).forEach((function(t){"function"==typeof n[t]?e[t]=n[t](e[t]):"object"==typeof n[t]&&"object"==typeof e[t]&&null!==e[t]&&Object.keys(e[t]).forEach((function(a){"function"==typeof n[t][a]&&(e[t][a]=n[t][a](e[t][a]))}))})),e}}},"acronym-gtag.js/src/lib/helpers/getAccountId.js":{script:function(e,t,n,a){"use strict";e.exports=function(e,t){return t||(t=a.environment.stage),"string"==typeof e.accounts[t]&&""!==e.accounts[t]?e.accounts[t]:e.accounts.production}}}}},"adobe-mcid":{displayName:"Experience Cloud ID Service",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPbba09bba93284cafa07ef329983e2c69/",settings:{orgId:"723A625F5DFA732C0A495ED6@AdobeOrg",variables:[{name:"trackingServer",value:"metrics.citibank.com.hk"},{name:"trackingServerSecure",value:"smetrics.citibank.com.hk"},{name:"marketingCloudServer",value:"metrics.citibank.com.hk"},{name:"marketingCloudServerSecure",value:"smetrics.citibank.com.hk"},{name:"cookieDomain",value:"%Cookie_domain%"},{name:"secureCookie",value:"true"}]},modules:{"adobe-mcid/src/lib/sharedModules/mcidInstance.js":{script:function(e,t,n,a){"use strict";var r=n("@adobe/reactor-document"),i=n("../codeLibrary/VisitorAPI"),o=n("../../view/utils/timeUnits"),s=function(e){return e.reduce((function(e,t){var n=/^(true|false)$/i.test(t.value)?JSON.parse(t.value):t.value;return e[t.name]=n,e}),{})},l=function(e){var t=a.getExtensionSettings();if("string"!=typeof t.orgId)throw new TypeError("Org ID is not a string.");var n=s(t.variables||[]),r=t.doesOptInApply;r&&("boolean"==typeof r?n.doesOptInApply=r:t.optInCallback&&(n.doesOptInApply=t.optInCallback));var i=t.isOptInStorageEnabled;i&&(n.isOptInStorageEnabled=i);var l=t.optInCookieDomain;l&&(n.optInCookieDomain=l);var c=t.optInStorageExpiry;if(c){var u=t.timeUnit;if(u&&o[u]){var p=c*o[u];n.optInStorageExpiry=p}}else!0===i&&(n.optInStorageExpiry=33696e3);var v=t.previousPermissions;v&&(n.previousPermissions=v);var d=t.preOptInApprovals;if(d)n.preOptInApprovals=d;else{var m=t.preOptInApprovalInput;m&&(n.preOptInApprovals=m)}var g=t.isIabContext;g&&(n.isIabContext=g);var f=e.getInstance(t.orgId,n);return a.logger.info('Created instance using orgId: "'+t.orgId+'"'),a.logger.info("Set variables: "+JSON.stringify(n)),f.getMarketingCloudVisitorID((function(e){a.logger.info("Obtained Marketing Cloud Visitor Id: "+e)}),!0),f},c=function(e){return(a.getExtensionSettings().pathExclusions||[]).some((function(t){return t.valueIsRegex?new RegExp(t.value,"i").test(e):t.value===e}))},u=null;_satellite.getVisitorId=function(){return u},c(r.location.pathname)?a.logger.warn("MCID library not loaded. One of the path exclusions matches the current path."):u=l(i),e.exports=u},name:"mcid-instance",shared:!0},"adobe-mcid/src/lib/codeLibrary/VisitorAPI.js":{script:function(e){e.exports=(function(){"use strict";function e(t){return(e="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})(t)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var n=this.callbacks[e].push(t)-1,a=this;return function(){a.callbacks[e].splice(n,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var n=this.callbacks[e].shift();"function"==typeof n?n.apply(null,t):n instanceof Array&&n[1].apply(n[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!D.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach((function(t){var n=void 0!==e[t]?e[t]:"";this.execute(t,n)}),this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}function a(e,t,n){var a=null==e?void 0:e[t];return void 0===a?n:a}function r(e){for(var t=/^\d+$/,n=0,a=e.length;n<a;n++)if(!t.test(e[n]))return!1;return!0}function i(e,t){for(;e.length<t.length;)e.push("0");for(;t.length<e.length;)t.push("0")}function o(e,t){for(var n=0;n<e.length;n++){var a=parseInt(e[n],10),r=parseInt(t[n],10);if(a>r)return 1;if(r>a)return-1}return 0}function s(e,t){if(e===t)return 0;var n=e.toString().split("."),a=t.toString().split(".");return r(n.concat(a))?(i(n,a),o(n,a)):NaN}function l(e){return e===Object(e)&&0===Object.keys(e).length}function c(e){return"function"==typeof e||e instanceof Array&&e.length}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};this.log=ue("log",e,t),this.warn=ue("warn",e,t),this.error=ue("error",e,t)}function p(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).cookieName,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies;if(!e||!t)return{get:Pe,set:Pe,remove:Pe};var n={remove:function(){t.remove(e)},get:function(){var n=t.get(e),a={};try{a=JSON.parse(n)}catch(n){a={}}return a},set:function(a,r){r=r||{};var i=n.get(),o=Object.assign(i,a);t.set(e,JSON.stringify(o),{domain:r.optInCookieDomain||"",cookieLifetime:r.optInStorageExpiry||3419e4,expires:!0})}};return n}function v(e){this.name=this.constructor.name,this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}function d(){function e(e,t){var n=ge(e);return n.length?n.every((function(e){return!!t[e]})):fe(t)}function t(){S(T),P(te.COMPLETE),f(g.status,g.permissions),s&&m.set(g.permissions,{optInCookieDomain:l,optInStorageExpiry:c}),h.execute(Le)}function n(e){return function(n,a){if(!he(n))throw new Error("[OptIn] Invalid category(-ies). Please use the `OptIn.Categories` enum.");return P(te.CHANGED),Object.assign(T,ye(ge(n),e)),a||t(),g}}var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=a.doesOptInApply,i=a.previousPermissions,o=a.preOptInApprovals,s=a.isOptInStorageEnabled,l=a.optInCookieDomain,c=a.optInStorageExpiry,u=a.isIabContext,v=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies,d=Se(i);we(d,"Invalid `previousPermissions`!"),we(o,"Invalid `preOptInApprovals`!");var m=p({cookieName:"adobeujs-optin"},{cookies:v}),g=this,f=ee(g),h=se(),y=Ve(d),b=Ve(o),k=s?m.get():{},V={},C=function(e,t){return Ce(e)||t&&Ce(t)?te.COMPLETE:te.PENDING}(y,k),E=function(e,t,n){var a=ye(oe,!r);return r?Object.assign({},a,e,t,n):a}(b,y,k),T=be(E),P=function(e){return C=e},S=function(e){return E=e};g.deny=n(!1),g.approve=n(!0),g.denyAll=g.deny.bind(g,oe),g.approveAll=g.approve.bind(g,oe),g.isApproved=function(t){return e(t,g.permissions)},g.isPreApproved=function(t){return e(t,b)},g.fetchPermissions=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?g.on(te.COMPLETE,e):Pe;return!r||r&&g.isComplete||o?e(g.permissions):t||h.add(Le,(function(){return e(g.permissions) })),n},g.complete=function(){g.status===te.CHANGED&&t()},g.registerPlugin=function(e){if(!e||!e.name||"function"!=typeof e.onRegister)throw new Error(Ae);V[e.name]||(V[e.name]=e,e.onRegister.call(e,g))},g.execute=De(V),g.memoizeContent=function(e){Te(e)&&m.set(e,{optInCookieDomain:l,optInStorageExpiry:c})},g.getMemoizedContent=function(e){var t=m.get();if(t)return t[e]},Object.defineProperties(g,{permissions:{get:function(){return E}},status:{get:function(){return C}},Categories:{get:function(){return ne}},doesOptInApply:{get:function(){return!!r}},isPending:{get:function(){return g.status===te.PENDING}},isComplete:{get:function(){return g.status===te.COMPLETE}},__plugins:{get:function(){return Object.keys(V)}},isIabContext:{get:function(){return u}}})}function m(e,t){function n(){r=null,e.call(e,new v("The call took longer than you wanted!"))}function a(){r&&(clearTimeout(r),e.apply(e,arguments))}if(void 0===t)return e;var r=setTimeout(n,t);return a}function g(){if(window.__tcfapi)return window.__tcfapi;var e=window;if(e!==window.top){for(var t;!t;){e=e.parent;try{e.frames.__tcfapiLocator&&(t=e)}catch(e){}if(e===window.top)break}if(t){var n={};return window.__tcfapi=function(e,a,r,i){var o=Math.random()+"",s={__tcfapiCall:{command:e,parameter:i,version:a,callId:o}};n[o]=r,t.postMessage(s,"*")},window.addEventListener("message",(function(e){var t=e.data;if("string"==typeof t)try{t=JSON.parse(e.data)}catch(e){}if(t.__tcfapiReturn){var a=t.__tcfapiReturn;"function"==typeof n[a.callId]&&(n[a.callId](a.returnValue,a.success),delete n[a.callId])}}),!1),window.__tcfapi}de.error("__tcfapi not found")}else de.error("__tcfapi not found")}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=!0===e.vendor.consents[t],r=n.every((function(t){return!0===e.purpose.consents[t]}));return a&&r}function h(){var e=this;e.name="iabPlugin",e.version="0.0.2";var t,n=se(),a={transparencyAndConsentData:null},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a[e]=t};e.fetchConsentData=function(e){var t=m(e.callback,e.timeout);i({callback:t})},e.isApproved=function(e){var t=e.callback,n=e.category,r=e.timeout;if(a.transparencyAndConsentData)return t(null,f(a.transparencyAndConsentData,ae[n],re[n]));var o=m((function(e,a){t(e,f(a,ae[n],re[n]))}),r);i({category:n,callback:o})},e.onRegister=function(n){t=n;var a=Object.keys(ae),r=function(e,t){!e&&t&&(a.forEach((function(e){var a=f(t,ae[e],re[e]);n[a?"approve":"deny"](e,!0)})),n.complete())};e.fetchConsentData({callback:r})};var i=function(e){var i=e.callback;if(a.transparencyAndConsentData)return i(null,a.transparencyAndConsentData);n.add("FETCH_CONSENT_DATA",i),o((function(e,i){if(i){var o=be(e),s=t.getMemoizedContent("iabConsentHash"),l=ve(o.tcString).toString(32);o.consentString=e.tcString,o.hasConsentChangedSinceLastCmpPull=s!==l,r("transparencyAndConsentData",o),t.memoizeContent({iabConsentHash:l})}n.execute("FETCH_CONSENT_DATA",[null,a.transparencyAndConsentData])}))},o=function(e){var t=Ie(ae),n=g();"function"==typeof n&&n("getTCData",2,e,t)}}var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};Object.assign=Object.assign||function(e){for(var t,n,a=1;a<arguments.length;++a)for(t in n=arguments[a])Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e};var b,k,V={MESSAGES:{HANDSHAKE:"HANDSHAKE",GETSTATE:"GETSTATE",PARENTSTATE:"PARENTSTATE"},STATE_KEYS_MAP:{MCMID:"MCMID",MCAID:"MCAID",MCAAMB:"MCAAMB",MCAAMLH:"MCAAMLH",MCOPTOUT:"MCOPTOUT",CUSTOMERIDS:"CUSTOMERIDS"},ASYNC_API_MAP:{MCMID:"getMarketingCloudVisitorID",MCAID:"getAnalyticsVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"isOptedOut",ALLFIELDS:"getVisitorValues"},SYNC_API_MAP:{CUSTOMERIDS:"getCustomerIDs"},ALL_APIS:{MCMID:"getMarketingCloudVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"isOptedOut",MCAID:"getAnalyticsVisitorID",CUSTOMERIDS:"getCustomerIDs",ALLFIELDS:"getVisitorValues"},FIELDGROUP_TO_FIELD:{MC:"MCMID",A:"MCAID",AAM:"MCAAMB"},FIELDS:{MCMID:"MCMID",MCOPTOUT:"MCOPTOUT",MCAID:"MCAID",MCAAMLH:"MCAAMLH",MCAAMB:"MCAAMB"},AUTH_STATE:{UNKNOWN:0,AUTHENTICATED:1,LOGGED_OUT:2},OPT_OUT:{GLOBAL:"global"},SAME_SITE_VALUES:{LAX:"Lax",STRICT:"Strict",NONE:"None"}},C=V.STATE_KEYS_MAP,E=function(e){function t(){}function n(t,n){var a=this;return function(){var r=e(0,t),i={};return i[t]=r,a.setStateAndPublish(i),n(r),r}}this.getMarketingCloudVisitorID=function(e){e=e||t;var a=this.findField(C.MCMID,e),r=n.call(this,C.MCMID,e);return void 0!==a?a:r()},this.getVisitorValues=function(e){this.getMarketingCloudVisitorID((function(t){e({MCMID:t})}))}},T=V.MESSAGES,P=V.ASYNC_API_MAP,S=V.SYNC_API_MAP,w=function(){function e(){}function t(e,t){var n=this;return function(){return n.callbackRegistry.add(e,t),n.messageParent(T.GETSTATE),""}}function n(n){this[P[n]]=function(a){a=a||e;var r=this.findField(n,a),i=t.call(this,n,a);return void 0!==r?r:i()}}function a(t){this[S[t]]=function(){return this.findField(t,e)||{}}}Object.keys(P).forEach(n,this),Object.keys(S).forEach(a,this)},_=V.ASYNC_API_MAP,I=function(){Object.keys(_).forEach((function(e){this[_[e]]=function(t){this.callbackRegistry.add(e,t)}}),this)},D=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(t,n){n.isObjectEmpty=function(e){return e===Object(e)&&0===Object.keys(e).length},n.isValueEmpty=function(e){return""===e||n.isObjectEmpty(e)};var a=function(){var e=navigator.appName,t=navigator.userAgent;return"Microsoft Internet Explorer"===e||t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0&&t.indexOf("Windows NT 6")>=0};n.getIeVersion=function(){return document.documentMode?document.documentMode:a()?7:null},n.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)},n.isObject=function(t){return null!==t&&"object"===e(t)&&!1===Array.isArray(t)},n.defineGlobalNamespace=function(){return window.adobe=n.isObject(window.adobe)?window.adobe:{},window.adobe},n.pluck=function(e,t){return t.reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),Object.create(null))},n.parseOptOut=function(e,t,n){t||(t=n,e.d_optout&&e.d_optout instanceof Array&&(t=e.d_optout.join(",")));var a=parseInt(e.d_ottl,10);return isNaN(a)&&(a=7200),{optOut:t,d_ottl:a}},n.normalizeBoolean=function(e){var t=e;return"true"===e?t=!0:"false"===e&&(t=!1),t}})),L=(D.isObjectEmpty,D.isValueEmpty,D.getIeVersion,D.encodeAndBuildRequest,D.isObject,D.defineGlobalNamespace,D.pluck,D.parseOptOut,D.normalizeBoolean,n),A=V.MESSAGES,x={0:"prefix",1:"orgID",2:"state"},O=function(e,t){this.parse=function(e){try{var t={};return e.data.split("|").forEach((function(e,n){void 0!==e&&(t[x[n]]=2!==n?e:JSON.parse(e))})),t}catch(e){}},this.isInvalid=function(n){var a=this.parse(n);if(!a||Object.keys(a).length<2)return!0;var r=e!==a.orgID,i=!t||n.origin!==t,o=-1===Object.keys(A).indexOf(a.prefix);return r||i||o},this.send=function(n,a,r){var i=a+"|"+e;r&&r===Object(r)&&(i+="|"+JSON.stringify(r));try{n.postMessage(i,t)}catch(e){}}},j=V.MESSAGES,N=function(e,t,n,a){function r(e){Object.assign(d,e)}function i(e){Object.assign(d.state,e),Object.assign(d.state.ALLFIELDS,e),d.callbackRegistry.executeAll(d.state)}function o(e){if(!f.isInvalid(e)){g=!1;var t=f.parse(e);d.setStateAndPublish(t.state)}}function s(e){!g&&m&&(g=!0,f.send(a,e))}function l(){r(new E(n._generateID)),d.getMarketingCloudVisitorID(),d.callbackRegistry.executeAll(d.state,!0),y.removeEventListener("message",c)}function c(e){if(!f.isInvalid(e)){var t=f.parse(e);g=!1,y.clearTimeout(d._handshakeTimeout),y.removeEventListener("message",c),r(new w(d)),y.addEventListener("message",o),d.setStateAndPublish(t.state),d.callbackRegistry.hasCallbacks()&&s(j.GETSTATE)}}function u(){m&&postMessage?(y.addEventListener("message",c),s(j.HANDSHAKE),d._handshakeTimeout=setTimeout(l,250)):l()}function p(){y.s_c_in||(y.s_c_il=[],y.s_c_in=0),d._c="Visitor",d._il=y.s_c_il,d._in=y.s_c_in,d._il[d._in]=d,y.s_c_in++}function v(){function e(e){0!==e.indexOf("_")&&"function"==typeof n[e]&&(d[e]=function(){})}Object.keys(n).forEach(e),d.getSupplementalDataID=n.getSupplementalDataID,d.isAllowed=function(){return!0}}var d=this,m=t.whitelistParentDomain;d.state={ALLFIELDS:{}},d.version=n.version,d.marketingCloudOrgID=e,d.cookieDomain=n.cookieDomain||"",d._instanceType="child";var g=!1,f=new O(e,m);d.callbackRegistry=L(),d.init=function(){p(),v(),r(new I(d)),u()},d.findField=function(e,t){if(void 0!==d.state[e])return t(d.state[e]),d.state[e]},d.messageParent=s,d.setStateAndPublish=i},F=V.MESSAGES,M=V.ALL_APIS,R=V.ASYNC_API_MAP,U=V.FIELDGROUP_TO_FIELD,H=function(e,t){function n(){var t={};return Object.keys(M).forEach((function(n){var a=M[n],r=e[a]();D.isValueEmpty(r)||(t[n]=r)})),t}function a(){var t=[];return e._loading&&Object.keys(e._loading).forEach((function(n){if(e._loading[n]){var a=U[n];t.push(a)}})),t.length?t:null}function r(t){return function n(){var r=a();if(r){var i=R[r[0]];e[i](n,!0)}else t()}}function i(e,a){var r=n();t.send(e,a,r)}function o(e){l(e),i(e,F.HANDSHAKE)}function s(e){r((function(){i(e,F.PARENTSTATE)}))()}function l(n){function a(a){r.call(e,a),t.send(n,F.PARENTSTATE,{CUSTOMERIDS:e.getCustomerIDs()})}var r=e.setCustomerIDs;e.setCustomerIDs=a}return function(e){t.isInvalid(e)||(t.parse(e).prefix===F.HANDSHAKE?o:s)(e.source)}},q=function(e,t){function n(e){return function(n){a[e]=n,++r===i&&t(a)}}var a={},r=0,i=Object.keys(e).length;Object.keys(e).forEach((function(t){var a=e[t];if(a.fn){var r=a.args||[];r.unshift(n(t)),a.fn.apply(a.context||null,r)}}))},G={get:function(e){e=encodeURIComponent(e);var t=(";"+document.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),a=n<0?n:t.indexOf(";",n+1);return n<0?"":decodeURIComponent(t.substring(n+2+e.length,a<0?t.length:a))},set:function(e,t,n){var r=a(n,"cookieLifetime"),i=a(n,"expires"),o=a(n,"domain"),s=a(n,"secure"),l=a(n,"sameSite"),c=s?"Secure":"",u=l?"SameSite="+l+";":"";if(i&&"SESSION"!==r&&"NONE"!==r){var p=""!==t?parseInt(r||0,10):-60;if(p)(i=new Date).setTime(i.getTime()+1e3*p);else if(1===i){var v=(i=new Date).getYear();i.setYear(v+2+(v<1900?1900:0))}}else i=0;return e&&"NONE"!==r?(document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(i?" expires="+i.toGMTString()+";":"")+(o?" domain="+o+";":"")+u+c,this.get(e)===t):0},remove:function(e,t){var n=a(t,"domain");n=n?" domain="+n+";":"";var r=a(t,"secure"),i=a(t,"sameSite"),o=r?"Secure":"",s=i?"SameSite="+i+";":"";document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+n+s+o}},B=function(e,t){!e&&y.location&&(e=y.location.hostname);var n,a=e.split("."),r=t||{};for(n=a.length-2;n>=0;n--)if(r.domain=a.slice(n).join("."),G.set("test","cookie",r))return G.remove("test",r),r.domain;return""},Q={compare:s,isLessThan:function(e,t){return s(e,t)<0},areVersionsDifferent:function(e,t){return 0!==s(e,t)},isGreaterThan:function(e,t){return s(e,t)>0},isEqual:function(e,t){return 0===s(e,t)}},z=!!y.postMessage,$={postMessage:function(e,t,n){var a=1;t&&(z?n.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(n.location=t.replace(/#.*$/,"")+"#"+ +new Date+a+++"&"+e))},receiveMessage:function(e,t){var n;try{z&&(e&&(n=function(n){if("string"==typeof t&&n.origin!==t||"[object Function]"===Object.prototype.toString.call(t)&&!1===t(n.origin))return!1;e(n)}),y.addEventListener?y[e?"addEventListener":"removeEventListener"]("message",n):y[e?"attachEvent":"detachEvent"]("onmessage",n))}catch(e){}}},J=function(e){var t,n,a="0123456789",r="",i="",o=8,s=10,l=10;if(1==e){for(a+="ABCDEF",t=0;16>t;t++)n=Math.floor(Math.random()*o),r+=a.substring(n,n+1),n=Math.floor(Math.random()*o),i+=a.substring(n,n+1),o=16;return r+"-"+i}for(t=0;19>t;t++)n=Math.floor(Math.random()*s),r+=a.substring(n,n+1),0===t&&9==n?s=3:((1==t||2==t)&&10!=s&&2>n||2<t)&&(s=10),n=Math.floor(Math.random()*l),i+=a.substring(n,n+1),0===t&&9==n?l=3:((1==t||2==t)&&10!=l&&2>n||2<t)&&(l=10);return r+i},W=function(e){return{corsMetadata:function(){var e="none",t=!0;return"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest===Object(XMLHttpRequest)&&("withCredentials"in new XMLHttpRequest?e="XMLHttpRequest":"undefined"!=typeof XDomainRequest&&XDomainRequest===Object(XDomainRequest)&&(t=!1),Object.prototype.toString.call(y.HTMLElement).indexOf("Constructor")>0&&(t=!1)),{corsType:e,corsCookiesEnabled:t}}(),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new y[this.corsMetadata.corsType]},fireCORS:function(t,n){function a(e){var n;try{if((n=JSON.parse(e))!==Object(n))return void r.handleCORSError(t,null,"Response is not JSON")}catch(e){return void r.handleCORSError(t,e,"Error parsing response as JSON")}try{for(var a=t.callback,i=y,o=0;o<a.length;o++)i=i[a[o]];i(n)}catch(e){r.handleCORSError(t,e,"Error forming callback function")}}var r=this;n&&(t.loadErrorHandler=n);try{var i=this.getCORSInstance();i.open("get",t.corsUrl+"&ts="+(new Date).getTime(),!0),"XMLHttpRequest"===this.corsMetadata.corsType&&(i.withCredentials=!0,i.timeout=e.loadTimeout,i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){4===this.readyState&&200===this.status&&a(this.responseText)}),i.onerror=function(e){r.handleCORSError(t,e,"onerror")},i.ontimeout=function(e){r.handleCORSError(t,e,"ontimeout")},i.send(),e._log.requests.push(t.corsUrl)}catch(e){this.handleCORSError(t,e,"try-catch")}},handleCORSError:function(t,n,a){e.CORSErrors.push({corsData:t,error:n,description:a}),t.loadErrorHandler&&("ontimeout"===a?t.loadErrorHandler(!0):t.loadErrorHandler(!1))}}},K={POST_MESSAGE_ENABLED:!!y.postMessage,DAYS_BETWEEN_SYNC_ID_CALLS:1,MILLIS_PER_DAY:864e5,ADOBE_MC:"adobe_mc",ADOBE_MC_SDID:"adobe_mc_sdid",VALID_VISITOR_ID_REGEX:/^[0-9a-fA-F\-]+$/,ADOBE_MC_TTL_IN_MIN:5,VERSION_REGEX:/vVersion\|((\d+\.)?(\d+\.)?(\*|\d+))(?=$|\|)/,FIRST_PARTY_SERVER_COOKIE:"s_ecid"},Y=function(e,t){var n=y.document;return{THROTTLE_START:3e4,MAX_SYNCS_LENGTH:649,throttleTimerSet:!1,id:null,onPagePixels:[],iframeHost:null,getIframeHost:function(e){if("string"==typeof e){var t=e.split("/");return t[0]+"//"+t[2]}},subdomain:null,url:null,getUrl:function(){var t,a="http://fast.",r="?d_nsid="+e.idSyncContainerID+"#"+encodeURIComponent(n.location.origin);return this.subdomain||(this.subdomain="nosubdomainreturned"),e.loadSSL&&(a=e.idSyncSSLUseAkamai?"https://fast.":"https://"),t=a+this.subdomain+".demdex.net/dest5.html"+r,this.iframeHost=this.getIframeHost(t),this.id="destination_publishing_iframe_"+this.subdomain+"_"+e.idSyncContainerID,t},checkDPIframeSrc:function(){var t="?d_nsid="+e.idSyncContainerID+"#"+encodeURIComponent(n.location.href);"string"==typeof e.dpIframeSrc&&e.dpIframeSrc.length&&(this.id="destination_publishing_iframe_"+(e._subdomain||this.subdomain||(new Date).getTime())+"_"+e.idSyncContainerID,this.iframeHost=this.getIframeHost(e.dpIframeSrc),this.url=e.dpIframeSrc+t)},idCallNotProcesssed:null,doAttachIframe:!1,startedAttachingIframe:!1,iframeHasLoaded:null,iframeIdChanged:null,newIframeCreated:null,originalIframeHasLoadedAlready:null,iframeLoadedCallbacks:[],regionChanged:!1,timesRegionChanged:0,sendingMessages:!1,messages:[],messagesPosted:[],messagesReceived:[],messageSendingInterval:K.POST_MESSAGE_ENABLED?null:100,onPageDestinationsFired:[],jsonForComparison:[],jsonDuplicates:[],jsonWaiting:[],jsonProcessed:[],canSetThirdPartyCookies:!0,receivedThirdPartyCookiesNotification:!1,readyToAttachIframePreliminary:function(){return!(e.idSyncDisableSyncs||e.disableIdSyncs||e.idSyncDisable3rdPartySyncing||e.disableThirdPartyCookies||e.disableThirdPartyCalls)},readyToAttachIframe:function(){return this.readyToAttachIframePreliminary()&&(this.doAttachIframe||e._doAttachIframe)&&(this.subdomain&&"nosubdomainreturned"!==this.subdomain||e._subdomain)&&this.url&&!this.startedAttachingIframe},attachIframe:function(){function e(){(r=n.createElement("iframe")).sandbox="allow-scripts allow-same-origin",r.title="Adobe ID Syncing iFrame",r.id=a.id,r.name=a.id+"_name",r.style.cssText="display: none; width: 0; height: 0;",r.src=a.url,a.newIframeCreated=!0,t(),n.body.appendChild(r)}function t(e){r.addEventListener("load",(function(){r.className="aamIframeLoaded",a.iframeHasLoaded=!0,a.fireIframeLoadedCallbacks(e),a.requestToProcess()}))}this.startedAttachingIframe=!0;var a=this,r=n.getElementById(this.id);r?"IFRAME"!==r.nodeName?(this.id+="_2",this.iframeIdChanged=!0,e()):(this.newIframeCreated=!1,"aamIframeLoaded"!==r.className?(this.originalIframeHasLoadedAlready=!1,t("The destination publishing iframe already exists from a different library, but hadn't loaded yet.")):(this.originalIframeHasLoadedAlready=!0,this.iframeHasLoaded=!0,this.iframe=r,this.fireIframeLoadedCallbacks("The destination publishing iframe already exists from a different library, and had loaded alresady."),this.requestToProcess())):e(),this.iframe=r},fireIframeLoadedCallbacks:function(e){this.iframeLoadedCallbacks.forEach((function(t){"function"==typeof t&&t({message:e||"The destination publishing iframe was attached and loaded successfully."})})),this.iframeLoadedCallbacks=[]},requestToProcess:function(t){function n(){r.jsonForComparison.push(t),r.jsonWaiting.push(t),r.processSyncOnPage(t)}var a,r=this;if(t===Object(t)&&t.ibs)if(a=JSON.stringify(t.ibs||[]),this.jsonForComparison.length){var i,o,s,l=!1;for(i=0,o=this.jsonForComparison.length;i<o;i++)if(s=this.jsonForComparison[i],a===JSON.stringify(s.ibs||[])){l=!0;break}l?this.jsonDuplicates.push(t):n()}else n();if((this.receivedThirdPartyCookiesNotification||!K.POST_MESSAGE_ENABLED||this.iframeHasLoaded)&&this.jsonWaiting.length){var c=this.jsonWaiting.shift();this.process(c),this.requestToProcess()}e.idSyncDisableSyncs||e.disableIdSyncs||!this.iframeHasLoaded||!this.messages.length||this.sendingMessages||(this.throttleTimerSet||(this.throttleTimerSet=!0,setTimeout((function(){r.messageSendingInterval=K.POST_MESSAGE_ENABLED?null:150}),this.THROTTLE_START)),this.sendingMessages=!0,this.sendMessages())},getRegionAndCheckIfChanged:function(t,n){var a=e._getField("MCAAMLH"),r=t.d_region||t.dcs_region;return a?r&&(e._setFieldExpire("MCAAMLH",n),e._setField("MCAAMLH",r),parseInt(a,10)!==r&&(this.regionChanged=!0,this.timesRegionChanged++,e._setField("MCSYNCSOP",""),e._setField("MCSYNCS",""),a=r)):(a=r)&&(e._setFieldExpire("MCAAMLH",n),e._setField("MCAAMLH",a)),a||(a=""),a},processSyncOnPage:function(e){var t,n,a,r;if((t=e.ibs)&&t instanceof Array&&(n=t.length))for(a=0;a<n;a++)(r=t[a]).syncOnPage&&this.checkFirstPartyCookie(r,"","syncOnPage")},process:function(e){var t,n,a,r,i,o=encodeURIComponent,s=!1;if((t=e.ibs)&&t instanceof Array&&(n=t.length))for(s=!0,a=0;a<n;a++)r=t[a],i=[o("ibs"),o(r.id||""),o(r.tag||""),D.encodeAndBuildRequest(r.url||[],","),o(r.ttl||""),"","",r.fireURLSync?"true":"false"],r.syncOnPage||(this.canSetThirdPartyCookies?this.addMessage(i.join("|")):r.fireURLSync&&this.checkFirstPartyCookie(r,i.join("|")));s&&this.jsonProcessed.push(e)},checkFirstPartyCookie:function(t,n,a){var r="syncOnPage"===a,i=r?"MCSYNCSOP":"MCSYNCS";e._readVisitor();var o,s,l=e._getField(i),c=!1,u=!1,p=Math.ceil((new Date).getTime()/K.MILLIS_PER_DAY);l?(o=l.split("*"),c=(s=this.pruneSyncData(o,t.id,p)).dataPresent,u=s.dataValid,c&&u||this.fireSync(r,t,n,o,i,p)):(o=[],this.fireSync(r,t,n,o,i,p))},pruneSyncData:function(e,t,n){var a,r,i,o=!1,s=!1;for(r=0;r<e.length;r++)a=e[r],i=parseInt(a.split("-")[1],10),a.match("^"+t+"-")?(o=!0,n<i?s=!0:(e.splice(r,1),r--)):n>=i&&(e.splice(r,1),r--);return{dataPresent:o,dataValid:s}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort((function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)}));e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(t,n,a,r,i,o){var s=this;if(t){if("img"===n.tag){var l,c,u,p,v=n.url,d=e.loadSSL?"https:":"http:";for(l=0,c=v.length;l<c;l++){u=v[l],p=/^\/\//.test(u);var m=new Image;m.addEventListener("load",function(t,n,a,r){return function(){s.onPagePixels[t]=null,e._readVisitor();var o,l,c,u,p=e._getField(i),v=[];if(p)for(l=0,c=(o=p.split("*")).length;l<c;l++)(u=o[l]).match("^"+n.id+"-")||v.push(u);s.setSyncTrackingData(v,n,a,r)}}(this.onPagePixels.length,n,i,o)),m.src=(p?d:"")+u,this.onPagePixels.push(m)}}}else this.addMessage(a),this.setSyncTrackingData(r,n,i,o)},addMessage:function(t){var n=encodeURIComponent(e._enableErrorReporting?"---destpub-debug---":"---destpub---");this.messages.push((K.POST_MESSAGE_ENABLED?"":n)+t)},setSyncTrackingData:function(t,n,a,r){t.push(n.id+"-"+(r+Math.ceil(n.ttl/60/24))),this.manageSyncsSize(t),e._setField(a,t.join("*"))},sendMessages:function(){var e,t=this,n="",a=encodeURIComponent;this.regionChanged&&(n=a("---destpub-clear-dextp---"),this.regionChanged=!1),this.messages.length?K.POST_MESSAGE_ENABLED?(e=n+a("---destpub-combined---")+this.messages.join("%01"),this.postMessage(e),this.messages=[],this.sendingMessages=!1):(e=this.messages.shift(),this.postMessage(n+e),setTimeout((function(){t.sendMessages()}),this.messageSendingInterval)):this.sendingMessages=!1},postMessage:function(e){$.postMessage(e,this.url,this.iframe.contentWindow),this.messagesPosted.push(e)},receiveMessage:function(e){var t,n=/^---destpub-to-parent---/;"string"==typeof e&&n.test(e)&&("canSetThirdPartyCookies"===(t=e.replace(n,"").split("|"))[0]&&(this.canSetThirdPartyCookies="true"===t[1],this.receivedThirdPartyCookiesNotification=!0,this.requestToProcess()),this.messagesReceived.push(e))},processIDCallData:function(a){(null==this.url||a.subdomain&&"nosubdomainreturned"===this.subdomain)&&("string"==typeof e._subdomain&&e._subdomain.length?this.subdomain=e._subdomain:this.subdomain=a.subdomain||"",this.url=this.getUrl()),a.ibs instanceof Array&&a.ibs.length&&(this.doAttachIframe=!0),this.readyToAttachIframe()&&(e.idSyncAttachIframeOnWindowLoad?(t.windowLoaded||"complete"===n.readyState||"loaded"===n.readyState)&&this.attachIframe():this.attachIframeASAP()),"function"==typeof e.idSyncIDCallResult?e.idSyncIDCallResult(a):this.requestToProcess(a),"function"==typeof e.idSyncAfterIDCallResult&&e.idSyncAfterIDCallResult(a)},canMakeSyncIDCall:function(t,n){return e._forceSyncIDCall||!t||n-t>K.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(n.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}},X={audienceManagerServer:{},audienceManagerServerSecure:{},cookieDomain:{},cookieLifetime:{},cookieName:{},doesOptInApply:{type:"boolean"},disableThirdPartyCalls:{type:"boolean"},discardTrackingServerECID:{type:"boolean"},idSyncAfterIDCallResult:{},idSyncAttachIframeOnWindowLoad:{type:"boolean"},idSyncContainerID:{},idSyncDisable3rdPartySyncing:{type:"boolean"},disableThirdPartyCookies:{type:"boolean"},idSyncDisableSyncs:{type:"boolean"},disableIdSyncs:{type:"boolean"},idSyncIDCallResult:{},idSyncSSLUseAkamai:{type:"boolean"},isCoopSafe:{type:"boolean"},isIabContext:{type:"boolean"},isOptInStorageEnabled:{type:"boolean"},loadSSL:{type:"boolean"},loadTimeout:{},marketingCloudServer:{},marketingCloudServerSecure:{},optInCookieDomain:{},optInStorageExpiry:{},overwriteCrossDomainMCIDAndAID:{type:"boolean"},preOptInApprovals:{},previousPermissions:{},resetBeforeVersion:{},sdidParamExpiry:{},serverState:{},sessionCookieName:{},secureCookie:{type:"boolean"},sameSiteCookie:{},takeTimeoutMetrics:{},trackingServer:{},trackingServerSecure:{},whitelistIframeDomains:{},whitelistParentDomain:{}},Z={getConfigNames:function(){return Object.keys(X)},getConfigs:function(){return X},normalizeConfig:function(e,t){return X[e]&&"boolean"===X[e].type?"function"!=typeof t?t:t():t}},ee=function(e){var t={};return e.on=function(e,n,a){if(!n||"function"!=typeof n)throw new Error("[ON] Callback should be a function.");t.hasOwnProperty(e)||(t[e]=[]);var r=t[e].push({callback:n,context:a})-1;return function(){t[e].splice(r,1),t[e].length||delete t[e]}},e.off=function(e,n){t.hasOwnProperty(e)&&(t[e]=t[e].filter((function(e){if(e.callback!==n)return e})))},e.publish=function(e){if(t.hasOwnProperty(e)){var n=[].slice.call(arguments,1);t[e].slice(0).forEach((function(e){e.callback.apply(e.context,n)}))}},e.publish},te={PENDING:"pending",CHANGED:"changed",COMPLETE:"complete"},ne={AAM:"aam",ADCLOUD:"adcloud",ANALYTICS:"aa",CAMPAIGN:"campaign",ECID:"ecid",LIVEFYRE:"livefyre",TARGET:"target",MEDIA_ANALYTICS:"mediaaa"},ae=(t(b={},ne.AAM,565),t(b,ne.ECID,565),b),re=(t(k={},ne.AAM,[1,10]),t(k,ne.ECID,[1,10]),k),ie=["videoaa","iabConsentHash"],oe=function(e){return Object.keys(e).map((function(t){return e[t]}))}(ne),se=function(){var e={};return e.callbacks=Object.create(null),e.add=function(t,n){if(!c(n))throw new Error("[callbackRegistryFactory] Make sure callback is a function or an array of functions.");e.callbacks[t]=e.callbacks[t]||[];var a=e.callbacks[t].push(n)-1;return function(){e.callbacks[t].splice(a,1)}},e.execute=function(t,n){if(e.callbacks[t]){n=(n=void 0===n?[]:n)instanceof Array?n:[n];try{for(;e.callbacks[t].length;){var a=e.callbacks[t].shift();"function"==typeof a?a.apply(null,n):a instanceof Array&&a[1].apply(a[0],n)}delete e.callbacks[t]}catch(e){}}},e.executeAll=function(t,n){(n||t&&!l(t))&&Object.keys(e.callbacks).forEach((function(n){var a=void 0!==t[n]?t[n]:"";e.execute(n,a)}),e)},e.hasCallbacks=function(){return Boolean(Object.keys(e.callbacks).length)},e},le=function(){},ce=function(e){var t=window.console;return!!t&&"function"==typeof t[e]},ue=function(e,t,n){return n()?function(){if(ce(e)){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];console[e].apply(console,[t].concat(a))}}:le},pe=u,ve=function(){for(var e=[],t=0;t<256;t++){for(var n=t,a=0;a<8;a++)n=1&n?3988292384^n>>>1:n>>>1;e.push(n)}return function(t,n){t=unescape(encodeURIComponent(t)),n||(n=0),n^=-1;for(var a=0;a<t.length;a++){var r=255&(n^t.charCodeAt(a));n=n>>>8^e[r]}return(n^=-1)>>>0}}(),de=new pe("[ADOBE OPT-IN]"),me=function(t,n){return e(t)===n},ge=function(e,t){return e instanceof Array?e:me(e,"string")?[e]:t||[]},fe=function(e){var t=Object.keys(e);return!!t.length&&t.every((function(t){return!0===e[t]}))},he=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||ke(e))&&ge(e).every((function(e){return oe.indexOf(e)>-1||t&&ie.indexOf(e)>-1}))},ye=function(e,t){return e.reduce((function(e,n){return e[n]=t,e}),{})},be=function(e){return JSON.parse(JSON.stringify(e))},ke=function(e){return"[object Array]"===Object.prototype.toString.call(e)&&!e.length},Ve=function(e){if(Te(e))return e;try{return JSON.parse(e)}catch(e){return{}}},Ce=function(e){return void 0===e||(Te(e)?he(Object.keys(e),!0):Ee(e))},Ee=function(e){try{var t=JSON.parse(e);return!!e&&me(e,"string")&&he(Object.keys(t),!0)}catch(e){return!1}},Te=function(e){return null!==e&&me(e,"object")&&!1===Array.isArray(e)},Pe=function(){},Se=function(e){return me(e,"function")?e():e},we=function(e,t){Ce(e)||de.error("".concat(t))},_e=function(e){return Object.keys(e).map((function(t){return e[t]}))},Ie=function(e){return _e(e).filter((function(e,t,n){return n.indexOf(e)===t}))},De=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.command,a=t.params,r=void 0===a?{}:a,i=t.callback,o=void 0===i?Pe:i;if(!n||-1===n.indexOf("."))throw new Error("[OptIn.execute] Please provide a valid command.");try{var s=n.split("."),l=e[s[0]],c=s[1];if(!l||"function"!=typeof l[c])throw new Error("Make sure the plugin and API name exist.");var u=Object.assign(r,{callback:o});l[c].call(l,u)}catch(e){de.error("[execute] Something went wrong: "+e.message)}}};v.prototype=Object.create(Error.prototype),v.prototype.constructor=v;var Le="fetchPermissions",Ae="[OptIn#registerPlugin] Plugin is invalid.";d.Categories=ne,d.TimeoutError=v;var xe=Object.freeze({OptIn:d,IabPlugin:h}),Oe=function(e,t){e.publishDestinations=function(n){var a=arguments[1],r=arguments[2];try{r="function"==typeof r?r:n.callback}catch(e){r=function(){}}var i=t;if(i.readyToAttachIframePreliminary()){if("string"==typeof n){if(!n.length)return void r({error:"subdomain is not a populated string."});if(!(a instanceof Array&&a.length))return void r({error:"messages is not a populated array."});var o=!1;if(a.forEach((function(e){"string"==typeof e&&e.length&&(i.addMessage(e),o=!0)})),!o)return void r({error:"None of the messages are populated strings."})}else{if(!D.isObject(n))return void r({error:"Invalid parameters passed."});var s=n;if("string"!=typeof(n=s.subdomain)||!n.length)return void r({error:"config.subdomain is not a populated string."});var l=s.urlDestinations;if(!(l instanceof Array&&l.length))return void r({error:"config.urlDestinations is not a populated array."});var c=[];l.forEach((function(e){D.isObject(e)&&(e.hideReferrer?e.message&&i.addMessage(e.message):c.push(e))})),function e(){c.length&&setTimeout((function(){var t=new Image,n=c.shift();t.src=n.url,i.onPageDestinationsFired.push(n),e()}),100)}()}i.iframe?(r({message:"The destination publishing iframe is already attached and loaded."}),i.requestToProcess()):!e.subdomain&&e._getField("MCMID")?(i.subdomain=n,i.doAttachIframe=!0,i.url=i.getUrl(),i.readyToAttachIframe()?(i.iframeLoadedCallbacks.push((function(e){r({message:"Attempted to attach and load the destination publishing iframe through this API call. Result: "+(e.message||"no result")})})),i.attachIframe()):r({error:"Encountered a problem in attempting to attach and load the destination publishing iframe through this API call."})):i.iframeLoadedCallbacks.push((function(e){r({message:"Attempted to attach and load the destination publishing iframe through normal Visitor API processing. Result: "+(e.message||"no result")})}))}else r({error:"The destination publishing iframe is disabled in the Visitor library."})}},je=function e(t){function n(e,t){return e>>>t|e<<32-t}for(var a,r,i=Math.pow,o=i(2,32),s="",l=[],c=8*t.length,u=e.h=e.h||[],p=e.k=e.k||[],v=p.length,d={},m=2;v<64;m++)if(!d[m]){for(a=0;a<313;a+=m)d[a]=m;u[v]=i(m,.5)*o|0,p[v++]=i(m,1/3)*o|0}for(t+="\x80";t.length%64-56;)t+="\0";for(a=0;a<t.length;a++){if((r=t.charCodeAt(a))>>8)return;l[a>>2]|=r<<(3-a)%4*8}for(l[l.length]=c/o|0,l[l.length]=c,r=0;r<l.length;){var g=l.slice(r,r+=16),f=u;for(u=u.slice(0,8),a=0;a<64;a++){var h=g[a-15],y=g[a-2],b=u[0],k=u[4],V=u[7]+(n(k,6)^n(k,11)^n(k,25))+(k&u[5]^~k&u[6])+p[a]+(g[a]=a<16?g[a]:g[a-16]+(n(h,7)^n(h,18)^h>>>3)+g[a-7]+(n(y,17)^n(y,19)^y>>>10)|0);(u=[V+((n(b,2)^n(b,13)^n(b,22))+(b&u[1]^b&u[2]^u[1]&u[2]))|0].concat(u))[4]=u[4]+V|0}for(a=0;a<8;a++)u[a]=u[a]+f[a]|0}for(a=0;a<8;a++)for(r=3;r+1;r--){var C=u[a]>>8*r&255;s+=(C<16?0:"")+C.toString(16)}return s},Ne=function(e,t){return"SHA-256"!==t&&"SHA256"!==t&&"sha256"!==t&&"sha-256"!==t||(e=je(e)),e},Fe=function(e){return String(e).trim().toLowerCase()},Me=xe.OptIn;D.defineGlobalNamespace(),window.adobe.OptInCategories=Me.Categories;var Re=function(t,n,a){function r(){b._customerIDsHashChanged=!1}function i(e){var t=e;return function(e){var n=e||S.location.href;try{var a=b._extractParamFromUri(n,t);if(a)return ee.parsePipeDelimetedKeyValues(a)}catch(e){}}}function o(e){function t(e,t,n){e&&e.match(K.VALID_VISITOR_ID_REGEX)&&(n===A&&(P=!0),t(e))}t(e[A],b.setMarketingCloudVisitorID,A),b._setFieldExpire(M,-1),t(e[N],b.setAnalyticsVisitorID)}function s(e){e=e||{},b._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",b._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},b._supplementalDataIDLast=e.supplementalDataIDLast||"",b._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function l(e){function t(e,t,n){return(n=n?n+="|":n)+(e+"=")+encodeURIComponent(t)}function n(e,n){var a=n[0],r=n[1];return null!=r&&r!==R&&(e=t(a,r,e)),e}return function(e){return(e=e?e+="|":e)+"TS="+ee.getTimestampInSeconds()}(e.reduce(n,""))}function c(e){var t=e.minutesToLive,n="";return(b.idSyncDisableSyncs||b.disableIdSyncs)&&(n=n||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(n=n||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(n=n||"Error: config.url is empty"),void 0===t?t=20160:(t=parseInt(t,10),(isNaN(t)||t<=0)&&(n=n||"Error: config.minutesToLive needs to be a positive number")),{error:n,ttl:t}}function u(){return!(!b.configs.doesOptInApply||k.optIn.isComplete&&p())}function p(){return b.configs.doesOptInApply&&b.configs.isIabContext?k.optIn.isApproved(k.optIn.Categories.ECID)&&T:k.optIn.isApproved(k.optIn.Categories.ECID)}function v(){[["getMarketingCloudVisitorID"],["setCustomerIDs",void 0],["syncIdentity",void 0],["getAnalyticsVisitorID"],["getAudienceManagerLocationHint"],["getLocationHint"],["getAudienceManagerBlob"]].forEach((function(e){ var t=e[0],n=2===e.length?e[1]:"",a=b[t];b[t]=function(e){return p()&&b.isAllowed()?a.apply(b,arguments):("function"==typeof e&&b._callCallback(e,[n]),n)}}))}function d(){var e=b._getAudienceManagerURLData(),t=e.url;return b._loadData(L,t,null,e)}function m(e,t){if(T=!0,e)throw new Error("[IAB plugin] : "+e);t&&t.gdprApplies&&(C=t.consentString,E=t.hasConsentChangedSinceLastCmpPull?1:0),d(),h()}function g(e,t){if(T=!0,e)throw new Error("[IAB plugin] : "+e);t.gdprApplies&&(C=t.consentString,E=t.hasConsentChangedSinceLastCmpPull?1:0),b.init(),h()}function f(){k.optIn.isComplete&&(k.optIn.isApproved(k.optIn.Categories.ECID)?b.configs.isIabContext?k.optIn.execute({command:"iabPlugin.fetchConsentData",callback:g}):(b.init(),h()):b.configs.isIabContext?k.optIn.execute({command:"iabPlugin.fetchConsentData",callback:m}):(v(),h()))}function h(){k.optIn.off("complete",f)}if(!a||a.split("").reverse().join("")!==t)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var b=this,k=window.adobe,C="",E=0,T=!1,P=!1;b.version="5.1.1";var S=y,w=S.Visitor;w.version=b.version,w.AuthState=V.AUTH_STATE,w.OptOut=V.OPT_OUT,S.s_c_in||(S.s_c_il=[],S.s_c_in=0),b._c="Visitor",b._il=S.s_c_il,b._in=S.s_c_in,b._il[b._in]=b,S.s_c_in++,b._instanceType="regular",b._log={requests:[]},b.marketingCloudOrgID=t,b.cookieName="AMCV_"+t,b.sessionCookieName="AMCVS_"+t;var _={};n&&n.secureCookie&&n.sameSiteCookie&&(_={sameSite:n.sameSiteCookie,secure:n.secureCookie}),b.cookieDomain=B(null,_),b.loadSSL=!0,b.loadTimeout=3e4,b.CORSErrors=[],b.marketingCloudServer=b.audienceManagerServer="dpm.demdex.net",b.sdidParamExpiry=30;var I=null,L="MC",A="MCMID",x="MCIDTS",j="A",N="MCAID",F="AAM",M="MCAAMB",R="NONE",U=function(e){return!Object.prototype[e]},z=W(b);b.FIELDS=V.FIELDS,b.cookieRead=function(e){return G.get(e)},b.cookieWrite=function(e,t,n){var a=b.cookieLifetime?(""+b.cookieLifetime).toUpperCase():"",r={expires:n,domain:b.cookieDomain,cookieLifetime:a};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(r.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(r.sameSite=V.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),G.set(e,""+t,r)},b.removeCookie=function(e){var t={domain:b.cookieDomain};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(t.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(t.sameSite=V.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),G.remove(e,t)},b.resetState=function(e){e?b._mergeServerState(e):s()},b._isAllowedDone=!1,b._isAllowedFlag=!1,b.isAllowed=function(){return b._isAllowedDone||(b._isAllowedDone=!0,(b.cookieRead(b.cookieName)||b.cookieWrite(b.cookieName,"T",1))&&(b._isAllowedFlag=!0)),"T"===b.cookieRead(b.cookieName)&&b._helpers.removeCookie(b.cookieName),b._isAllowedFlag},b.setMarketingCloudVisitorID=function(e){b._setMarketingCloudFields(e)},b._use1stPartyMarketingCloudServer=!1,b.getMarketingCloudVisitorID=function(e,t){b.marketingCloudServer&&b.marketingCloudServer.indexOf(".demdex.net")<0&&(b._use1stPartyMarketingCloudServer=!0);var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),a=n.url;return b._getRemoteField(A,a,e,t,n)};var X=function(e,t){var n={};b.getMarketingCloudVisitorID((function(){t.forEach((function(e){n[e]=b._getField(e,!0)})),-1!==t.indexOf("MCOPTOUT")?b.isOptedOut((function(t){n.MCOPTOUT=t,e(n)}),null,!0):e(n)}),!0)};b.getVisitorValues=function(e,t){var n={MCMID:{fn:b.getMarketingCloudVisitorID,args:[!0],context:b},MCOPTOUT:{fn:b.isOptedOut,args:[void 0,!0],context:b},MCAID:{fn:b.getAnalyticsVisitorID,args:[!0],context:b},MCAAMLH:{fn:b.getAudienceManagerLocationHint,args:[!0],context:b},MCAAMB:{fn:b.getAudienceManagerBlob,args:[!0],context:b}},a=t&&t.length?D.pluck(n,t):n;t&&-1===t.indexOf("MCAID")?X(e,t):q(a,e)},b._currentCustomerIDs={},b._customerIDsHashChanged=!1,b._newCustomerIDsHash="",b.setCustomerIDs=function(t,n){if(!b.isOptedOut()&&t){if(!D.isObject(t)||D.isObjectEmpty(t))return!1;var a,i,o,s;for(a in b._readVisitor(),t)if(U(a)&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},n=(i=t[a]).hasOwnProperty("hashType")?i.hashType:n,i))if("object"===e(i)){var l={};if(i.id){if(n){if(!(s=Ne(Fe(i.id),n)))return;i.id=s,l.hashType=n}l.id=i.id}null!=i.authState&&(l.authState=i.authState),b._currentCustomerIDs.dataSources[a]=l}else if(n){if(!(s=Ne(Fe(i),n)))return;b._currentCustomerIDs.dataSources[a]={id:s,hashType:n}}else b._currentCustomerIDs.dataSources[a]={id:i};var c=b.getCustomerIDs(!0),u=b._getField("MCCIDH"),p="";for(o in u||(u=0),c){var v=c[o];if(!D.isObjectEmpty(v))for(a in v)U(a)&&(p+=(p?"|":"")+a+"|"+((i=v[a]).id?i.id:"")+(i.authState?i.authState:""))}b._newCustomerIDsHash=String(b._hash(p)),b._newCustomerIDsHash!==u&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(r))}},b.syncIdentity=function(t,n){if(!b.isOptedOut()&&t){if(!D.isObject(t)||D.isObjectEmpty(t))return!1;var a,i,o,s,l;for(a in b._readVisitor(),t)if(U(a)&&(b._currentCustomerIDs.nameSpaces=b._currentCustomerIDs.nameSpaces||{},n=(i=t[a]).hasOwnProperty("hashType")?i.hashType:n,i&&"object"===e(i))){var c={};if(i.id){if(n){if(!(o=Ne(Fe(i.id),n)))return;i.id=o,c.hashType=n}c.id=i.id}null!=i.authState&&(c.authState=i.authState),i.dataSource&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},s=i.dataSource,b._currentCustomerIDs.dataSources[s]=c),b._currentCustomerIDs.nameSpaces[a]=c}var u=b.getCustomerIDs(!0),p=b._getField("MCCIDH"),v="";for(l in p||(p="0"),u){var d=u[l];if(!D.isObjectEmpty(d))for(a in d)U(a)&&(v+=(v?"|":"")+a+"|"+((i=d[a]).id?i.id:"")+(i.authState?i.authState:""))}b._newCustomerIDsHash=String(b._hash(v)),b._newCustomerIDsHash!==p&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(r))}},b.getCustomerIDs=function(e){b._readVisitor();var t,n,a={dataSources:{},nameSpaces:{}},r=b._currentCustomerIDs.dataSources;for(t in r)U(t)&&(n=r[t]).id&&(a.dataSources[t]||(a.dataSources[t]={}),a.dataSources[t].id=n.id,null!=n.authState?a.dataSources[t].authState=n.authState:a.dataSources[t].authState=w.AuthState.UNKNOWN,n.hashType&&(a.dataSources[t].hashType=n.hashType));var i=b._currentCustomerIDs.nameSpaces;for(t in i)U(t)&&(n=i[t]).id&&(a.nameSpaces[t]||(a.nameSpaces[t]={}),a.nameSpaces[t].id=n.id,null!=n.authState?a.nameSpaces[t].authState=n.authState:a.nameSpaces[t].authState=w.AuthState.UNKNOWN,n.hashType&&(a.nameSpaces[t].hashType=n.hashType));return e?a:a.dataSources},b.setAnalyticsVisitorID=function(e){b._setAnalyticsFields(e)},b.getAnalyticsVisitorID=function(e,t,n){if(!ee.isTrackingServerPopulated()&&!n)return b._callCallback(e,[""]),"";var a="";if(n||(a=b.getMarketingCloudVisitorID((function(){b.getAnalyticsVisitorID(e,!0)}))),a||n){var r=n?b.marketingCloudServer:b.trackingServer,i="";b.loadSSL&&(n?b.marketingCloudServerSecure&&(r=b.marketingCloudServerSecure):b.trackingServerSecure&&(r=b.trackingServerSecure));var o={};if(r){var s="http"+(b.loadSSL?"s":"")+"://"+r+"/id",l="d_visid_ver="+b.version+"&mcorgid="+encodeURIComponent(b.marketingCloudOrgID)+(a?"&mid="+encodeURIComponent(a):"")+(b.idSyncDisable3rdPartySyncing||b.disableThirdPartyCookies?"&d_coppa=true":""),c=["s_c_il",b._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"];i=s+"?"+l+"&callback=s_c_il%5B"+b._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields",o.corsUrl=s+"?"+l,o.callback=c}return o.url=i,b._getRemoteField(n?A:N,i,e,t,o)}return""},b.getAudienceManagerLocationHint=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))){var n=b._getField(N);if(!n&&ee.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))),n||!ee.isTrackingServerPopulated()){var a=b._getAudienceManagerURLData(),r=a.url;return b._getRemoteField("MCAAMLH",r,e,t,a)}}return""},b.getLocationHint=b.getAudienceManagerLocationHint,b.getAudienceManagerBlob=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerBlob(e,!0)}))){var n=b._getField(N);if(!n&&ee.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerBlob(e,!0)}))),n||!ee.isTrackingServerPopulated()){var a=b._getAudienceManagerURLData(),r=a.url;return b._customerIDsHashChanged&&b._setFieldExpire(M,-1),b._getRemoteField(M,r,e,t,a)}}return""},b._supplementalDataIDCurrent="",b._supplementalDataIDCurrentConsumed={},b._supplementalDataIDLast="",b._supplementalDataIDLastConsumed={},b.getSupplementalDataID=function(e,t){b._supplementalDataIDCurrent||t||(b._supplementalDataIDCurrent=b._generateID(1));var n=b._supplementalDataIDCurrent;return b._supplementalDataIDLast&&!b._supplementalDataIDLastConsumed[e]?(n=b._supplementalDataIDLast,b._supplementalDataIDLastConsumed[e]=!0):n&&(b._supplementalDataIDCurrentConsumed[e]&&(b._supplementalDataIDLast=b._supplementalDataIDCurrent,b._supplementalDataIDLastConsumed=b._supplementalDataIDCurrentConsumed,b._supplementalDataIDCurrent=n=t?"":b._generateID(1),b._supplementalDataIDCurrentConsumed={}),n&&(b._supplementalDataIDCurrentConsumed[e]=!0)),n};var Z=!1;b._liberatedOptOut=null,b.getOptOut=function(e,t){var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),a=n.url;if(p())return b._getRemoteField("MCOPTOUT",a,e,t,n);if(b._registerCallback("liberatedOptOut",e),null!==b._liberatedOptOut)return b._callAllCallbacks("liberatedOptOut",[b._liberatedOptOut]),Z=!1,b._liberatedOptOut;if(Z)return null;Z=!0;var r="liberatedGetOptOut";return n.corsUrl=n.corsUrl.replace(/\.demdex\.net\/id\?/,".demdex.net/optOutStatus?"),n.callback=[r],y[r]=function(e){if(e===Object(e)){var t,n,a=D.parseOptOut(e,t,R);t=a.optOut,n=1e3*a.d_ottl,b._liberatedOptOut=t,setTimeout((function(){b._liberatedOptOut=null}),n)}b._callAllCallbacks("liberatedOptOut",[t]),Z=!1},z.fireCORS(n),null},b.isOptedOut=function(e,t,n){t||(t=w.OptOut.GLOBAL);var a=b.getOptOut((function(n){var a=n===w.OptOut.GLOBAL||n.indexOf(t)>=0;b._callCallback(e,[a])}),n);return a?a===w.OptOut.GLOBAL||a.indexOf(t)>=0:null},b._fields=null,b._fieldsExpired=null,b._hash=function(e){var t,n=0;if(e)for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n&=n;return n},b._generateID=J,b._generateLocalMID=function(){var e=b._generateID(0);return ae.isClientSideMarketingCloudVisitorID=!0,e},b._callbackList=null,b._callCallback=function(e,t){try{"function"==typeof e?e.apply(S,t):e[1].apply(e[0],t)}catch(e){}},b._registerCallback=function(e,t){t&&(null==b._callbackList&&(b._callbackList={}),null==b._callbackList[e]&&(b._callbackList[e]=[]),b._callbackList[e].push(t))},b._callAllCallbacks=function(e,t){if(null!=b._callbackList){var n=b._callbackList[e];if(n)for(;n.length>0;)b._callCallback(n.shift(),t)}},b._addQuerystringParam=function(e,t,n,a){var r=encodeURIComponent(t)+"="+encodeURIComponent(n),i=ee.parseHash(e),o=ee.hashlessUrl(e);if(-1===o.indexOf("?"))return o+"?"+r+i;var s=o.split("?"),l=s[0]+"?",c=s[1];return l+ee.addQueryParamAtLocation(c,r,a)+i},b._extractParamFromUri=function(e,t){var n=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(n&&n.length)return decodeURIComponent(n[1])},b._parseAdobeMcFromUrl=i(K.ADOBE_MC),b._parseAdobeMcSdidFromUrl=i(K.ADOBE_MC_SDID),b._attemptToPopulateSdidFromUrl=function(e){var n=b._parseAdobeMcSdidFromUrl(e),a=1e9;n&&n.TS&&(a=ee.getTimestampInSeconds()-n.TS),n&&n.SDID&&n.MCORGID===t&&a<b.sdidParamExpiry&&(b._supplementalDataIDCurrent=n.SDID,b._supplementalDataIDCurrentConsumed.SDID_URL_PARAM=!0)},b._attemptToPopulateIdsFromUrl=function(){var e=b._parseAdobeMcFromUrl();if(e&&e.TS){var n=ee.getTimestampInSeconds()-e.TS;if(Math.floor(n/60)>K.ADOBE_MC_TTL_IN_MIN||e.MCORGID!==t)return;o(e)}},b._mergeServerState=function(e){if(e)try{if((e=function(e){return ee.isObject(e)?e:JSON.parse(e)}(e))[b.marketingCloudOrgID]){var t=e[b.marketingCloudOrgID];!function(e){ee.isObject(e)&&b.setCustomerIDs(e)}(t.customerIDs),s(t.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},b._timeout=null,b._loadData=function(e,t,n,a){t=b._addQuerystringParam(t,"d_fieldgroup",e,1),a.url=b._addQuerystringParam(a.url,"d_fieldgroup",e,1),a.corsUrl=b._addQuerystringParam(a.corsUrl,"d_fieldgroup",e,1),ae.fieldGroupObj[e]=!0,a===Object(a)&&a.corsUrl&&"XMLHttpRequest"===z.corsMetadata.corsType&&z.fireCORS(a,n,e)},b._clearTimeout=function(e){null!=b._timeout&&b._timeout[e]&&(clearTimeout(b._timeout[e]),b._timeout[e]=0)},b._settingsDigest=0,b._getSettingsDigest=function(){if(!b._settingsDigest){var e=b.version;b.audienceManagerServer&&(e+="|"+b.audienceManagerServer),b.audienceManagerServerSecure&&(e+="|"+b.audienceManagerServerSecure),b._settingsDigest=b._hash(e)}return b._settingsDigest},b._readVisitorDone=!1,b._readVisitor=function(){if(!b._readVisitorDone){b._readVisitorDone=!0;var e,t,n,a,r,i,o=b._getSettingsDigest(),s=!1,l=b.cookieRead(b.cookieName),c=new Date;if(l||P||b.discardTrackingServerECID||(l=b.cookieRead(K.FIRST_PARTY_SERVER_COOKIE)),null==b._fields&&(b._fields={}),l&&"T"!==l)for((l=l.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(l[0],10)!==o&&(s=!0),l.shift()),l.length%2==1&&l.pop(),e=0;e<l.length;e+=2)n=(t=l[e].split("-"))[0],a=l[e+1],t.length>1?(r=parseInt(t[1],10),i=t[1].indexOf("s")>0):(r=0,i=!1),s&&("MCCIDH"===n&&(a=""),r>0&&(r=c.getTime()/1e3-60)),n&&a&&(b._setField(n,a,1),r>0&&(b._fields["expire"+n]=r+(i?"s":""),(c.getTime()>=1e3*r||i&&!b.cookieRead(b.sessionCookieName))&&(b._fieldsExpired||(b._fieldsExpired={}),b._fieldsExpired[n]=!0)));!b._getField(N)&&ee.isTrackingServerPopulated()&&(l=b.cookieRead("s_vi"))&&(l=l.split("|")).length>1&&l[0].indexOf("v1")>=0&&((e=(a=l[1]).indexOf("["))>=0&&(a=a.substring(0,e)),a&&a.match(K.VALID_VISITOR_ID_REGEX)&&b._setField(N,a))}},b._appendVersionTo=function(e){var t="vVersion|"+b.version,n=e?b._getCookieVersion(e):null;return n?Q.areVersionsDifferent(n,b.version)&&(e=e.replace(K.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},b._writeVisitor=function(){var e,t,n=b._getSettingsDigest();for(e in b._fields)U(e)&&b._fields[e]&&"expire"!==e.substring(0,6)&&(t=b._fields[e],n+=(n?"|":"")+e+(b._fields["expire"+e]?"-"+b._fields["expire"+e]:"")+"|"+t);n=b._appendVersionTo(n),b.cookieWrite(b.cookieName,n,1)},b._getField=function(e,t){return null==b._fields||!t&&b._fieldsExpired&&b._fieldsExpired[e]?null:b._fields[e]},b._setField=function(e,t,n){null==b._fields&&(b._fields={}),b._fields[e]=t,n||b._writeVisitor()},b._getFieldList=function(e,t){var n=b._getField(e,t);return n?n.split("*"):null},b._setFieldList=function(e,t,n){b._setField(e,t?t.join("*"):"",n)},b._getFieldMap=function(e,t){var n=b._getFieldList(e,t);if(n){var a,r={};for(a=0;a<n.length;a+=2)r[n[a]]=n[a+1];return r}return null},b._setFieldMap=function(e,t,n){var a,r=null;if(t)for(a in r=[],t)U(a)&&(r.push(a),r.push(t[a]));b._setFieldList(e,r,n)},b._setFieldExpire=function(e,t,n){var a=new Date;a.setTime(a.getTime()+1e3*t),null==b._fields&&(b._fields={}),b._fields["expire"+e]=Math.floor(a.getTime()/1e3)+(n?"s":""),t<0?(b._fieldsExpired||(b._fieldsExpired={}),b._fieldsExpired[e]=!0):b._fieldsExpired&&(b._fieldsExpired[e]=!1),n&&(b.cookieRead(b.sessionCookieName)||b.cookieWrite(b.sessionCookieName,"1"))},b._findVisitorID=function(t){return t&&("object"===e(t)&&(t=t.d_mid?t.d_mid:t.visitorID?t.visitorID:t.id?t.id:t.uuid?t.uuid:""+t),t&&"NOTARGET"===(t=t.toUpperCase())&&(t=R),t&&(t===R||t.match(K.VALID_VISITOR_ID_REGEX))||(t="")),t},b._setFields=function(t,n){if(b._clearTimeout(t),null!=b._loading&&(b._loading[t]=!1),ae.fieldGroupObj[t]&&ae.setState(t,!1),t===L){!0!==ae.isClientSideMarketingCloudVisitorID&&(ae.isClientSideMarketingCloudVisitorID=!1);var a=b._getField(A);if(!a||b.overwriteCrossDomainMCIDAndAID){if(!(a="object"===e(n)&&n.mid?n.mid:b._findVisitorID(n))){if(b._use1stPartyMarketingCloudServer&&!b.tried1stPartyMarketingCloudServer)return b.tried1stPartyMarketingCloudServer=!0,void b.getAnalyticsVisitorID(null,!1,!0);a=b._generateLocalMID()}b._setField(A,a)}a&&a!==R||(a=""),"object"===e(n)&&((n.d_region||n.dcs_region||n.d_blob||n.blob)&&b._setFields(F,n),b._use1stPartyMarketingCloudServer&&n.mid&&b._setFields(j,{id:n.id})),b._callAllCallbacks(A,[a])}if(t===F&&"object"===e(n)){var r=604800;null!=n.id_sync_ttl&&n.id_sync_ttl&&(r=parseInt(n.id_sync_ttl,10));var i=te.getRegionAndCheckIfChanged(n,r);b._callAllCallbacks("MCAAMLH",[i]);var o=b._getField(M);(n.d_blob||n.blob)&&((o=n.d_blob)||(o=n.blob),b._setFieldExpire(M,r),b._setField(M,o)),o||(o=""),b._callAllCallbacks(M,[o]),!n.error_msg&&b._newCustomerIDsHash&&b._setField("MCCIDH",b._newCustomerIDsHash)}if(t===j){var s=b._getField(N);s&&!b.overwriteCrossDomainMCIDAndAID||((s=b._findVisitorID(n))?s!==R&&b._setFieldExpire(M,-1):s=R,b._setField(N,s)),s&&s!==R||(s=""),b._callAllCallbacks(N,[s])}if(b.idSyncDisableSyncs||b.disableIdSyncs)te.idCallNotProcesssed=!0;else{te.idCallNotProcesssed=!1;var l={};l.ibs=n.ibs,l.subdomain=n.subdomain,te.processIDCallData(l)}if(n===Object(n)){var c,u;p()&&b.isAllowed()&&(c=b._getField("MCOPTOUT"));var v=D.parseOptOut(n,c,R);c=v.optOut,u=v.d_ottl,b._setFieldExpire("MCOPTOUT",u,!0),b._setField("MCOPTOUT",c),b._callAllCallbacks("MCOPTOUT",[c])}},b._loading=null,b._getRemoteField=function(e,t,n,a,r){var i,o="",s=ee.isFirstPartyAnalyticsVisitorIDCall(e),l={MCAAMLH:!0,MCAAMB:!0};if(p()&&b.isAllowed())if(b._readVisitor(),!(!(o=b._getField(e,!0===l[e]))||b._fieldsExpired&&b._fieldsExpired[e])||b.disableThirdPartyCalls&&!s)o||(e===A?(b._registerCallback(e,n),o=b._generateLocalMID(),b.setMarketingCloudVisitorID(o)):e===N?(b._registerCallback(e,n),o="",b.setAnalyticsVisitorID(o)):(o="",a=!0));else if(e===A||"MCOPTOUT"===e?i=L:"MCAAMLH"===e||e===M?i=F:e===N&&(i=j),i)return!t||null!=b._loading&&b._loading[i]||(null==b._loading&&(b._loading={}),b._loading[i]=!0,i===F&&(E=0),b._loadData(i,t,(function(t){if(!b._getField(e)){t&&ae.setState(i,!0);var n="";e===A?n=b._generateLocalMID():i===F&&(n={error_msg:"timeout"}),b._setFields(i,n)}}),r)),b._registerCallback(e,n),o||(t||b._setFields(i,{id:R}),"");return e!==A&&e!==N||o!==R||(o="",a=!0),n&&a&&b._callCallback(n,[o]),o},b._setMarketingCloudFields=function(e){b._readVisitor(),b._setFields(L,e)},b._mapCustomerIDs=function(e){b.getAudienceManagerBlob(e,!0)},b._setAnalyticsFields=function(e){b._readVisitor(),b._setFields(j,e)},b._setAudienceManagerFields=function(e){b._readVisitor(),b._setFields(F,e)},b._getAudienceManagerURLData=function(e){var t=b.audienceManagerServer,n="",a=b._getField(A),r=b._getField(M,!0),i=b._getField(N),o=i&&i!==R?"&d_cid_ic=AVID%01"+encodeURIComponent(i):"";if(b.loadSSL&&b.audienceManagerServerSecure&&(t=b.audienceManagerServerSecure),t){var s,l,c,u=b.getCustomerIDs(!0);if(u)for(l in u){var p=u[l];if(!D.isObjectEmpty(p)){var v="nameSpaces"===l?"&d_cid_ns=":"&d_cid_ic=";for(s in p)U(s)&&(c=p[s],o+=v+encodeURIComponent(s)+"%01"+encodeURIComponent(c.id?c.id:"")+(c.authState?"%01"+c.authState:""))}}e||(e="_setAudienceManagerFields");var d="http"+(b.loadSSL?"s":"")+"://"+t+"/id",m="d_visid_ver="+b.version+(C&&-1!==d.indexOf("demdex.net")?"&gdpr=1&gdpr_consent="+C:"")+(E&&-1!==d.indexOf("demdex.net")?"&d_cf="+E:"")+"&d_rtbd=json&d_ver=2"+(!a&&b._use1stPartyMarketingCloudServer?"&d_verify=1":"")+"&d_orgid="+encodeURIComponent(b.marketingCloudOrgID)+"&d_nsid="+(b.idSyncContainerID||0)+(a?"&d_mid="+encodeURIComponent(a):"")+(b.idSyncDisable3rdPartySyncing||b.disableThirdPartyCookies?"&d_coppa=true":"")+(!0===I?"&d_coop_safe=1":!1===I?"&d_coop_unsafe=1":"")+(r?"&d_blob="+encodeURIComponent(r):"")+o,g=["s_c_il",b._in,e];return{url:n=d+"?"+m+"&d_cb=s_c_il%5B"+b._in+"%5D."+e,corsUrl:d+"?"+m,callback:g}}return{url:n}},b.appendVisitorIDsTo=function(e){try{var t=[[A,b._getField(A)],[N,b._getField(N)],["MCORGID",b.marketingCloudOrgID]];return b._addQuerystringParam(e,K.ADOBE_MC,l(t))}catch(t){return e}},b.appendSupplementalDataIDTo=function(e,t){if(!(t=t||b.getSupplementalDataID(ee.generateRandomString(),!0)))return e;try{var n=l([["SDID",t],["MCORGID",b.marketingCloudOrgID]]);return b._addQuerystringParam(e,K.ADOBE_MC_SDID,n)}catch(t){return e}};var ee={parseHash:function(e){var t=e.indexOf("#");return t>0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,n){var a=e.split("&");return n=null!=n?n:a.length,a.splice(n,0,t),a.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,n){return e===N&&(t||(t=b.trackingServer),n||(n=b.trackingServerSecure),!("string"!=typeof(a=b.loadSSL?n:t)||!a.length)&&a.indexOf("2o7.net")<0&&a.indexOf("omtrdc.net")<0);var a},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){G.remove(e,{domain:b.cookieDomain})},isTrackingServerPopulated:function(){return!!b.trackingServer||!!b.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce((function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e}),{})},generateRandomString:function(e){e=e||5;for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=n[Math.floor(Math.random()*n.length)];return t},normalizeBoolean:function(e){return"true"===e||"false"!==e&&e},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var n in e)e.hasOwnProperty(n)&&"function"==typeof e[n]&&(e[n]=t);return e}};b._helpers=ee;var te=Y(b,w);b._destinationPublishing=te,b.timeoutMetricsLog=[];var ne,ae={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case L:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case j:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case F:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};b.isClientSideMarketingCloudVisitorID=function(){return ae.isClientSideMarketingCloudVisitorID},b.MCIDCallTimedOut=function(){return ae.MCIDCallTimedOut},b.AnalyticsIDCallTimedOut=function(){return ae.AnalyticsIDCallTimedOut},b.AAMIDCallTimedOut=function(){return ae.AAMIDCallTimedOut},b.idSyncGetOnPageSyncInfo=function(){return b._readVisitor(),b._getField("MCSYNCSOP")},b.idSyncByURL=function(e){if(!b.isOptedOut()){var t=c(e||{});if(t.error)return t.error;var n,a,r=e.url,i=encodeURIComponent,o=te;return r=r.replace(/^https:/,"").replace(/^http:/,""),n=D.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),a=["ibs",i(e.dpid),"img",i(r),t.ttl,"",n],o.addMessage(a.join("|")),o.requestToProcess(),"Successfully queued"}},b.idSyncByDataSource=function(e){if(!b.isOptedOut())return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,b.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},Oe(b,te),b._getCookieVersion=function(e){e=e||b.cookieRead(b.cookieName);var t=K.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},b._resetAmcvCookie=function(e){var t=b._getCookieVersion();t&&!Q.isLessThan(t,e)||ee.removeCookie(b.cookieName)},b.setAsCoopSafe=function(){I=!0},b.setAsCoopUnsafe=function(){I=!1},function(){if(b.configs=Object.create(null),ee.isObject(n))for(var e in n)U(e)&&(b[e]=n[e],b.configs[e]=n[e])}(),v(),b.init=function(){u()&&(k.optIn.fetchPermissions(f,!0),!k.optIn.isApproved(k.optIn.Categories.ECID))||ne||(ne=!0,function(){if(ee.isObject(n)){b.idSyncContainerID=b.idSyncContainerID||0,I="boolean"==typeof b.isCoopSafe?b.isCoopSafe:ee.parseBoolean(b.isCoopSafe),b.resetBeforeVersion&&b._resetAmcvCookie(b.resetBeforeVersion),b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl(),b._readVisitor();var e=b._getField(x),t=Math.ceil((new Date).getTime()/K.MILLIS_PER_DAY);b.idSyncDisableSyncs||b.disableIdSyncs||!te.canMakeSyncIDCall(e,t)||(b._setFieldExpire(M,-1),b._setField(x,t)),b.getMarketingCloudVisitorID(),b.getAudienceManagerLocationHint(),b.getAudienceManagerBlob(),b._mergeServerState(b.serverState)}else b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl()}(),function(){if(!b.idSyncDisableSyncs&&!b.disableIdSyncs){te.checkDPIframeSrc();var e=function(){var e=te;e.readyToAttachIframe()&&e.attachIframe()};S.addEventListener("load",(function(){w.windowLoaded=!0,e()}));try{$.receiveMessage((function(e){te.receiveMessage(e.data)}),te.iframeHost)}catch(e){}}}(),b.whitelistIframeDomains&&K.POST_MESSAGE_ENABLED&&(b.whitelistIframeDomains=b.whitelistIframeDomains instanceof Array?b.whitelistIframeDomains:[b.whitelistIframeDomains],b.whitelistIframeDomains.forEach((function(e){var n=new O(t,e),a=H(b,n);$.receiveMessage(a,e)}))))}};Re.config=Z,y.Visitor=Re;var Ue=Re,He=function(e){if(D.isObject(e))return Object.keys(e).filter((function(t){return""!==e[t]&&Z.getConfigs()[t]})).reduce((function(t,n){var a=Z.normalizeConfig(n,e[n]),r=D.normalizeBoolean(a);return t[n]=r,t}),Object.create(null))},qe=xe.OptIn,Ge=xe.IabPlugin;Ue.getInstance=function(e,t){if(!e)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");e.indexOf("@")<0&&(e+="@AdobeOrg");var n=function(){var t=y.s_c_il;if(t)for(var n=0;n<t.length;n++){var a=t[n];if(a&&"Visitor"===a._c&&a.marketingCloudOrgID===e)return a}}();if(n)return n;var a=He(t)||{};!function(e){y.adobe.optIn=y.adobe.optIn||function(){var t=D.pluck(e,["doesOptInApply","previousPermissions","preOptInApprovals","isOptInStorageEnabled","optInStorageExpiry","isIabContext"]),n=e.optInCookieDomain||e.cookieDomain;n=(n=n||B())===window.location.hostname?"":n,t.optInCookieDomain=n;var a=new qe(t,{cookies:G});if(t.isIabContext&&t.doesOptInApply){var r=new Ge;a.registerPlugin(r)}return a}()}(a||{});var r=e.split("").reverse().join(""),i=new Ue(e,null,r);a.cookieDomain&&(i.cookieDomain=a.cookieDomain),a.sameSiteCookie&&a.secureCookie&&(i.configs={sameSiteCookie:a.sameSiteCookie,secureCookie:a.secureCookie}),y.s_c_il.splice(--y.s_c_in,1);var o=D.getIeVersion();if("number"==typeof o&&o<10)return i._helpers.replaceMethodsWithFunction(i,(function(){}));var s=function(){try{return y.self!==y.parent}catch(e){return!0}}()&&!function(e){return e.cookieWrite("TEST_AMCV_COOKIE","T",1),"T"===e.cookieRead("TEST_AMCV_COOKIE")&&(e.removeCookie("TEST_AMCV_COOKIE"),!0)}(i)&&y.parent?new N(e,a,i,y.parent):new Ue(e,a,r);return i=null,s.init(),s},function(){function e(){Ue.windowLoaded=!0}y.addEventListener?y.addEventListener("load",e):y.attachEvent&&y.attachEvent("onload",e),Ue.codeLoadEnd=(new Date).getTime()}()}(),Visitor)}},"adobe-mcid/src/view/utils/timeUnits.js":{script:function(e){var t={Hours:3600,Days:86400,Weeks:604800,Months:2592e3,Years:31536e3};e.exports=t}}}},core:{displayName:"Core",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP2e2f86ba46954a2b8a2b3bb72276b9f8/",modules:{"core/src/lib/dataElements/javascriptVariable.js":{name:"javascript-variable",displayName:"JavaScript Variable",script:function(e,t,n){"use strict";var a=n("../helpers/getObjectProperty.js");e.exports=function(e){return a(window,e.path)}}},"core/src/lib/dataElements/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source(t)}}},"core/src/lib/dataElements/sessionStorage.js":{name:"session-storage",displayName:"Session Storage",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-window");e.exports=function(e){try{return a.sessionStorage.getItem(e.name)}catch(e){return null}}}},"core/src/lib/dataElements/constant.js":{name:"constant",displayName:"Constant",script:function(e){"use strict";e.exports=function(e){return e.value}}},"core/src/lib/dataElements/pageInfo.js":{name:"page-info",displayName:"Page Info",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-document");e.exports=function(e){switch(e.attribute){case"url":return a.location.href;case"hostname":return a.location.hostname;case"pathname":return a.location.pathname;case"protocol":return a.location.protocol;case"referrer":return a.referrer;case"title":return a.title}}}},"core/src/lib/dataElements/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-window"),r=n("@adobe/reactor-query-string");e.exports=function(e){var t=r.parse(a.location.search);if(!e.caseInsensitive)return t[e.name];for(var n=e.name.toLowerCase(),i=Object.keys(t),o=0;o<i.length;o++){var s=i[o];if(s.toLowerCase()===n)return t[s]}}}},"core/src/lib/events/customEvent.js":{name:"custom-event",displayName:"Custom Event",script:function(e,t,n){"use strict";var a=n("./helpers/createBubbly")(),r=[];e.exports=function(e,t){var n=e.type;-1===r.indexOf(n)&&(r.push(n),window.addEventListener(n,a.evaluateEvent,!0)),a.addListener(e,(function(e){e.nativeEvent.type===n&&(e.detail=e.nativeEvent.detail,t(e))}))}}},"core/src/lib/conditions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source.call(t.element,t,t.target)}}},"core/src/lib/conditions/valueComparison.js":{name:"value-comparison",displayName:"Value Comparison",script:function(e){"use strict";var t=function(e){return"number"==typeof e&&isFinite(e)},n=function(e){return"string"==typeof e||e instanceof String},a=function(e,t){return t&&n(e)?e.toLowerCase():e},r=function(e){return t(e)?String(e):e},i=function(e){return n(e)?Number(e):e},o=function(e){return function(t,a,i){return t=r(t),a=r(a),n(t)&&n(a)&&e(t,a,i)}},s=function(e){return function(n,a){return n=i(n),a=i(a),t(n)&&t(a)&&e(n,a)}},l=function(e){return function(t,n,r){return e(a(t,r),a(n,r))}},c={equals:l((function(e,t){return e==t})),doesNotEqual:function(){return!c.equals.apply(null,arguments)},contains:o(l((function(e,t){return-1!==e.indexOf(t)}))),doesNotContain:function(){return!c.contains.apply(null,arguments)},startsWith:o(l((function(e,t){return 0===e.indexOf(t)}))),doesNotStartWith:function(){return!c.startsWith.apply(null,arguments)},endsWith:o(l((function(e,t){return e.substring(e.length-t.length,e.length)===t}))),doesNotEndWith:function(){return!c.endsWith.apply(null,arguments)},matchesRegex:o((function(e,t,n){return new RegExp(t,n?"i":"").test(e)})),doesNotMatchRegex:function(){return!c.matchesRegex.apply(null,arguments)},lessThan:s((function(e,t){return e<t})),lessThanOrEqual:s((function(e,t){return e<=t})),greaterThan:s((function(e,t){return e>t})),greaterThanOrEqual:s((function(e,t){return e>=t})),isTrue:function(e){return!0===e},isTruthy:function(e){return Boolean(e)},isFalse:function(e){return!1===e},isFalsy:function(e){return!e}};e.exports=function(e){return c[e.comparison.operator](e.leftOperand,e.rightOperand,Boolean(e.comparison.caseInsensitive))}}},"core/src/lib/conditions/path.js":{name:"path",displayName:"Path Without Query String",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-document"),r=n("../helpers/textMatch");e.exports=function(e){var t=a.location.pathname;return e.paths.some((function(e){var n=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return r(t,n)}))}}},"core/src/lib/events/windowLoaded.js":{name:"window-loaded",displayName:"Window Loaded",script:function(e,t,n){"use strict";var a=n("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerWindowLoadedTrigger(t)}}},"core/src/lib/events/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){e.source(t)}}},"core/src/lib/events/click.js":{name:"click",displayName:"Click",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-window"),r=n("./helpers/createBubbly")(),i=new(n("./helpers/weakMap")),o=function(e){for(;e;){var t=e.tagName;if(t&&"a"===t.toLowerCase()){var n=e.getAttribute("href"),r=e.getAttribute("target");return n&&(!r||"_self"===r||"_top"===r&&a.top===a||r===a.name)?e:void 0}e=e.parentNode}};document.addEventListener("click",r.evaluateEvent,!0),e.exports=function(e,t){r.addListener(e,(function(n){var r=n.nativeEvent;if(!r.s_fe){if(e.anchorDelay&&!i.has(r)){var s=o(r.target);s&&(r.preventDefault(),setTimeout((function(){a.location=s.href}),e.anchorDelay)),i.set(r,!0)}t(n)}}))},e.exports.__reset=r.__reset}},"core/src/lib/events/focus.js":{name:"focus",displayName:"Focus",script:function(e,t,n){"use strict";var a=n("./helpers/createBubbly")();document.addEventListener("focus",a.evaluateEvent,!0),e.exports=function(e,t){a.addListener(e,t)}}},"core/src/lib/actions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e,t,n,a){"use strict";var r,i,o,s,l=n("@adobe/reactor-document"),c=n("@adobe/reactor-promise"),u=n("./helpers/decorateCode"),p=n("./helpers/loadCodeSequentially"),v=n("../../../node_modules/postscribe/dist/postscribe"),d=n("./helpers/unescapeHtmlCode"),m=(i=function(e){v(l.body,e,{beforeWriteToken:function(e){ var t=e.tagName&&e.tagName.toLowerCase();return r&&"script"===t&&(e.attrs.nonce=r),"script"!==t&&"style"!==t||(Object.keys(e.attrs||{}).forEach((function(t){e.attrs[t]=d(e.attrs[t])})),e.src&&(e.src=d(e.src))),e},error:function(e){a.logger.error(e.msg)}})},o=[],s=function(){if(l.body)for(;o.length;)i(o.shift());else setTimeout(s,20)},function(e){o.push(e),s()}),g=function(){if(l.currentScript)return l.currentScript.async;for(var e=l.querySelectorAll("script"),t=0;t<e.length;t++){var n=e[t];if(/(launch|satelliteLib)-[^\/]+.js(\?.*)?$/.test(n.src))return n.async}return!0}();e.exports=function(e,t){var n;r=a.getExtensionSettings().cspNonce;var i={settings:e,event:t},o=i.settings.source;if(o)return i.settings.isExternal?p(o).then((function(e){return e?(n=u(i,e),m(n.code),n.promise):c.resolve()})):(n=u(i,o),g||"loading"!==l.readyState?m(n.code):l.write&&!1===a.propertySettings.ruleComponentSequencingEnabled?l.write(n.code):m(n.code),n.promise)}}},"core/src/lib/events/dataElementChange.js":{name:"data-element-change",displayName:"Data Element Change",script:function(e,t,n,a){"use strict";var r={},i={};setInterval((function(){Object.keys(r).forEach((function(e){var t=JSON.stringify(a.getDataElementValue(e));if(t!==i[e]){var n={dataElementName:e};r[e].forEach((function(e){e(n)})),i[e]=t}}))}),1e3),e.exports=function(e,t){var n=e.name,o=r[n];o||(o=r[n]=[],i[n]=JSON.stringify(a.getDataElementValue(n))),o.push(t)}}},"core/src/lib/events/libraryLoaded.js":{name:"library-loaded",displayName:"Library Loaded (Page Top)",script:function(e,t,n){"use strict";var a=n("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerLibraryLoadedTrigger(t)}}},"core/src/lib/events/directCall.js":{name:"direct-call",displayName:"Direct Call",script:function(e,t,n,a){"use strict";var r={};window._satellite=window._satellite||{},window._satellite.track=function(e,t){e=e.trim();var n=r[e];if(n){var i={identifier:e,detail:t};n.forEach((function(e){e(i)}));var o=['Rules using the direct call event type with identifier "'+e+'" have been triggered'+(t?" with additional detail:":".")];t&&o.push(t),a.logger.log.apply(a.logger,o)}else a.logger.log('"'+e+'" does not match any direct call identifiers.')},e.exports=function(e,t){var n=r[e.identifier];n||(n=r[e.identifier]=[]),n.push(t)}}},"core/src/lib/events/domReady.js":{name:"dom-ready",displayName:"DOM Ready",script:function(e,t,n){"use strict";var a=n("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerDomReadyTrigger(t)}}},"core/src/lib/conditions/pathAndQuerystring.js":{name:"path-and-querystring",displayName:"Path And Query String",script:function(e,t,n){"use strict";var a=n("@adobe/reactor-document"),r=n("../helpers/textMatch");e.exports=function(e){var t=a.location.pathname+a.location.search;return e.paths.some((function(e){var n=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return r(t,n)}))}}},"core/src/lib/events/pageBottom.js":{name:"page-bottom",displayName:"Page Bottom",script:function(e,t,n){"use strict";var a=n("./helpers/pageLifecycleEvents");e.exports=function(e,t){a.registerPageBottomTrigger(t)}}},"core/src/lib/events/mousedown.js":{name:"mousedown",displayName:"Mousedown",script:function(e,t,n){"use strict";var a=n("./helpers/createBubbly")();document.addEventListener("mousedown",a.evaluateEvent,!0),e.exports=function(e,t){a.addListener(e,t)}}},"core/src/lib/helpers/getObjectProperty.js":{script:function(e){"use strict";e.exports=function(e,t){for(var n=t.split("."),a=e,r=0,i=n.length;r<i;r++){if(null==a)return;a=a[n[r]]}return a}}},"core/src/lib/events/helpers/createBubbly.js":{script:function(e,t,n){"use strict";var a=n("./weakMap"),r=n("./matchesProperties"),i=n("./matchesSelector");e.exports=function(){var e=[],t=new a,n={addListener:function(t,n){e.push({settings:t,callback:n})},evaluateEvent:function(n,a){if(e.length&&!t.has(n)){for(var o=n.target,s=!1;o;){for(var l=!1,c=!1,u=0;u<e.length;u++){var p=e[u],v=p.settings.elementSelector,d=p.settings.elementProperties;if((!1!==p.settings.bubbleFireIfChildFired||!s)&&(o===n.target||!1!==p.settings.bubbleFireIfParent)&&(o===n.target||v||d&&Object.keys(d).length)&&(!v||i(o,v))&&(!d||r(o,d))){var m={};a?Object.keys(n).forEach((function(e){m[e]=n[e]})):m.nativeEvent=n,m.element=o,m.target=n.target,!1!==p.callback(m)&&(c=!0,p.settings.bubbleStop&&(l=!0))}}if(l)break;c&&(s=!0),o=o.parentNode}t.set(n,!0)}},__reset:function(){e=[]}};return n}}},"core/src/lib/events/helpers/weakMap.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-window").WeakMap;if(void 0===a){var r=Object.defineProperty,i=Date.now()%1e9;(a=function(){this.name="__st"+(1e9*Math.random()>>>0)+i+++"__"}).prototype={set:function(e,t){var n=e[this.name];return n&&n[0]===e?n[1]=t:r(e,this.name,{value:[e,t],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}}}e.exports=a}},"core/src/lib/events/helpers/matchesProperties.js":{script:function(e,t,n){"use strict";var a=n("./../../helpers/textMatch"),r=function(e,t){return"@text"===t||"innerText"===t?e.textContent||e.innerText:t in e?e[t]:e.getAttribute?e.getAttribute(t):void 0};e.exports=function(e,t){return!t||t.every((function(t){var n=r(e,t.name),i=t.valueIsRegex?new RegExp(t.value,"i"):t.value;return a(n,i)}))}}},"core/src/lib/events/helpers/matchesSelector.js":{script:function(e,t,n,a){"use strict";e.exports=function(e,t){var n=e.matches||e.msMatchesSelector;if(n)try{return n.call(e,t)}catch(e){return a.logger.warn("Matching element failed. "+t+" is not a valid selector."),!1}return!1}}},"core/src/lib/helpers/textMatch.js":{script:function(e){"use strict";e.exports=function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null!=e&&("string"==typeof t?e===t:t instanceof RegExp&&t.test(e))}}},"core/src/lib/events/helpers/pageLifecycleEvents.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-window"),r=n("@adobe/reactor-document"),i=-1!==a.navigator.appVersion.indexOf("MSIE 10"),o="WINDOW_LOADED",s="DOM_READY",l="PAGE_BOTTOM",c=[l,s,o],u=function(e,t){return{element:e,target:e,nativeEvent:t}},p={};c.forEach((function(e){p[e]=[]}));var v=function(e,t){c.slice(0,m(e)+1).forEach((function(e){g(t,e)}))},d=function(){return"complete"===r.readyState?o:"interactive"===r.readyState?i?null:s:void 0},m=function(e){return c.indexOf(e)},g=function(e,t){p[t].forEach((function(t){f(e,t)})),p[t]=[]},f=function(e,t){var n=t.trigger,a=t.syntheticEventFn;n(a?a(e):null)};a._satellite=a._satellite||{},a._satellite.pageBottom=v.bind(null,l),r.addEventListener("DOMContentLoaded",v.bind(null,s),!0),a.addEventListener("load",v.bind(null,o),!0),a.setTimeout((function(){var e=d();e&&v(e)}),0),e.exports={registerLibraryLoadedTrigger:function(e){e()},registerPageBottomTrigger:function(e){p[l].push({trigger:e})},registerDomReadyTrigger:function(e){p[s].push({trigger:e,syntheticEventFn:u.bind(null,r)})},registerWindowLoadedTrigger:function(e){p[o].push({trigger:e,syntheticEventFn:u.bind(null,a)})}}}},"core/src/lib/actions/helpers/decorateCode.js":{script:function(e,t,n){"use strict";var a=n("./decorators/decorateGlobalJavaScriptCode"),r=n("./decorators/decorateNonGlobalJavaScriptCode"),i={javascript:function(e,t){return e.settings.global?a(e,t):r(e,t)},html:n("./decorators/decorateHtmlCode")};e.exports=function(e,t){return i[e.settings.language](e,t)}}},"core/src/lib/actions/helpers/loadCodeSequentially.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-promise"),r=n("./getSourceByUrl"),i=a.resolve();e.exports=function(e){var t=new a((function(t){var n=r(e);a.all([n,i]).then((function(e){var n=e[0];t(n)}))}));return i=t,t}}},"core/node_modules/postscribe/dist/postscribe.js":{script:function(e,t){var n,a;n=this,a=function(){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var r=a(n(1));e.exports=r.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}function i(){}function o(){var e=m.shift();if(e){var t=p.last(e);t.afterDequeue(),e.stream=s.apply(void 0,e),t.afterStreamStart()}}function s(e,t,n){function a(e){e=n.beforeWrite(e),g.write(e),n.afterWrite(e)}(g=new u.default(e,n)).id=d++,g.name=n.name||g.id,l.streams[g.name]=g;var r=e.ownerDocument,s={close:r.close,open:r.open,write:r.write,writeln:r.writeln};c(r,{close:i,open:i,write:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return a(t.join(""))},writeln:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return a(t.join("")+"\n")}});var p=g.win.onerror||i;return g.win.onerror=function(e,t,a){n.error({msg:e+" - "+t+": "+a}),p.apply(g.win,[e,t,a])},g.write(t,(function(){c(r,s),g.win.onerror=p,n.done(),g=null,o()})),g}function l(e,t,n){if(p.isFunction(n))n={done:n};else if("clear"===n)return m=[],g=null,void(d=0);n=p.defaults(n,v);var a=[e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e,t,n];return e.postscribe={cancel:function(){a.stream?a.stream.abort():a[1]=i}},n.beforeEnqueue(a),m.push(a),g||o(),e.postscribe}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.default=l;var u=r(n(2)),p=a(n(4)),v={afterAsync:i,afterDequeue:i,afterStreamStart:i,afterWrite:i,autoFix:!0,beforeEnqueue:i,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:i,error:function(e){throw new Error(e.msg)},releaseAsync:!1},d=0,m=[],g=null;c(l,{streams:{},queue:m,WriteStream:u.default})},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){var n=v+t,a=e.getAttribute(n);return u.existy(a)?String(a):a}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=v+t;u.existy(n)&&""!==n?e.setAttribute(a,n):e.removeAttribute(a)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=r(n(3)),u=a(n(4)),p=!1,v="data-ps-",d="ps-style",m="ps-script",g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.root=t,this.options=n,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new c.default("",{autoFix:n.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],s(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();u.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var t=void 0,n=void 0,a=void 0,r=[];(t=this.parser.readToken())&&!(n=u.isScript(t))&&!(a=u.isStyle(t));)(t=this.options.beforeWriteToken(t))&&r.push(t);r.length>0&&this._writeStaticTokens(r),n&&this._handleScriptToken(t),a&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,p&&(t.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),p&&(t.actualInnerHTML=this.root.innerHTML),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,n=[],a=[],r=[],i=e.length,o=0;o<i;o++){var s=e[o],l=s.toString();if(n.push(l),s.attrs){if(!/^noscript$/i.test(s.tagName)){var c=t++;a.push(l.replace(/(\/?>)/," "+v+"id="+c+" $1")),s.attrs.id!==m&&s.attrs.id!==d&&r.push("atomicTag"===s.type?"":"<"+s.tagName+" "+v+"proxyof="+c+(s.unary?" />":">"))}}else a.push(l),r.push("endTag"===s.type?l:"")}return{tokens:e,raw:n.join(""),actual:a.join(""),proxy:r.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot];u.existy(e=t.shift());){var n=1===e.nodeType;if(!n||!o(e,"proxyof")){n&&(this.actuals[o(e,"id")]=e,s(e,"id"));var a=e.parentNode&&o(e.parentNode,"proxyof");a&&this.actuals[a].appendChild(e)}t.unshift.apply(t,u.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,n=this.parser.clear();n&&this.writeQueue.unshift(n),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,(function(){t._onScriptDone(e)})))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e);this._insertCursor(t,d),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName);return t.setAttribute("type",e.type),u.eachKey(e.attrs,(function(e,n){t.setAttribute(e,n)})),t},e.prototype._insertCursor=function(e,t){this._writeImpl('<span id="'+t+'"/>');var n=this.doc.getElementById(t);n&&n.parentNode.replaceChild(e,n)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},e.prototype._writeScriptToken=function(e,t){var n=this._buildScript(e),a=this._shouldRelease(n),r=this.options.afterAsync;e.src&&(n.src=e.src,this._scriptLoadHandler(n,a?r:function(){t(),r()}));try{this._insertCursor(n,m),n.src&&!a||t()}catch(e){this.options.error(e),t()}},e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName);return u.eachKey(e.attrs,(function(e,n){t.setAttribute(e,n)})),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function n(){e=e.onload=e.onreadystatechange=e.onerror=null}function a(){n(),null!=t&&t(),t=null}function r(e){n(),o(e),null!=t&&t(),t=null}function i(e,t){var n=e["on"+t];null!=n&&(e["_on"+t]=n)}var o=this.options.error;i(e,"load"),i(e,"error"),l(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){r({msg:"onload handler failed "+t+" @ "+e.src})}a()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void r({msg:"onerror handler failed "+t+" @ "+e.src})}r({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&a()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();t.default=g},function(e){var t;t=function(){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var r=a(n(1));e.exports=r.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=r(n(2)),s=r(n(3)),l=a(n(6)),c=n(5),u={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},p=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.stream=n;var r=!1,s={};for(var c in o)o.hasOwnProperty(c)&&(a.autoFix&&(s[c+"Fix"]=!0),r=r||s[c+"Fix"]);r?(this._readToken=(0,l.default)(this,s,(function(){return t._readTokenImpl()})),this._peekToken=(0,l.default)(this,s,(function(){return t._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return e.prototype.append=function(e){this.stream+=e},e.prototype.prepend=function(e){this.stream=e+this.stream},e.prototype._readTokenImpl=function(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},e.prototype._peekTokenImpl=function(){for(var e in u)if(u.hasOwnProperty(e)&&u[e].test(this.stream)){var t=s[e](this.stream);if(t)return"startTag"===t.type&&/script|style/i.test(t.tagName)?null:(t.text=this.stream.substr(0,t.length),t)}},e.prototype.peekToken=function(){return this._peekToken()},e.prototype.readToken=function(){return this._readToken()},e.prototype.readTokens=function(e){for(var t=void 0;t=this.readToken();)if(e[t.type]&&!1===e[t.type](t))return},e.prototype.clear=function(){var e=this.stream;return this.stream="",e},e.prototype.rest=function(){return this.stream},e}();for(var v in t.default=p,p.tokenToString=function(e){return e.toString()},p.escapeAttributes=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=(0,c.escapeQuotes)(e[n],null));return t},p.supports=o,o)o.hasOwnProperty(v)&&(p.browserHasFlaw=p.browserHasFlaw||!o[v]&&v)},function(e,t){"use strict";t.__esModule=!0;var n=!1,a=!1,r=window.document.createElement("div");try{var i="<P><I></P></I>";r.innerHTML=i,t.tagSoup=n=r.innerHTML!==i}catch(e){t.tagSoup=n=!1}try{r.innerHTML="<P><i><P></P></i></P>",t.selfClose=a=2===r.childNodes.length}catch(e){t.selfClose=a=!1}r=null,t.tagSoup=n,t.selfClose=a},function(e,t,n){"use strict";function a(e){var t=e.indexOf("-->");if(t>=0)return new c.CommentToken(e.substr(4,t-1),t+3)}function r(e){var t=e.indexOf("<");return new c.CharsToken(t>=0?t:e.length)}function i(e){var t,n,a;if(-1!==e.indexOf(">")){var r=e.match(u.startTag);if(r){var i=(t={},n={},a=r[2],r[2].replace(u.attr,(function(e,r){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",n[arguments[5]]=!0):t[r]=arguments[2]||arguments[3]||arguments[4]||u.fillAttr.test(r)&&r||"":t[r]="",a=a.replace(e,"")})),{v:new c.StartTagToken(r[1],r[0].length,t,n,!!r[3],a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===i?"undefined":l(i)))return i.v}}}function o(e){var t=i(e);if(t){var n=e.slice(t.length);if(n.match(new RegExp("</\\s*"+t.tagName+"\\s*>","i"))){var a=n.match(new RegExp("([\\s\\S]*?)</\\s*"+t.tagName+"\\s*>","i"));if(a)return new c.AtomicTagToken(t.tagName,a[0].length+t.length,t.attrs,t.booleanAttrs,a[1])}}}function s(e){var t=e.match(u.endTag);if(t)return new c.EndTagToken(t[1],t[0].length)}t.__esModule=!0;var l="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};t.comment=a,t.chars=r,t.startTag=i,t.atomicTag=o,t.endTag=s;var c=n(4),u={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=void 0;var r=n(5),i=(t.Token=function e(t,n){a(this,e),this.type=t,this.length=n,this.text=""},t.CommentToken=function(){function e(t,n){a(this,e),this.type="comment",this.length=n||(t?t.length:0),this.text="",this.content=t}return e.prototype.toString=function(){return"<!--"+this.content},e}(),t.CharsToken=function(){function e(t){a(this,e),this.type="chars",this.length=t,this.text=""}return e.prototype.toString=function(){return this.text},e}(),t.TagToken=function(){function e(t,n,r,i,o){a(this,e),this.type=t,this.length=r,this.text="",this.tagName=n,this.attrs=i,this.booleanAttrs=o,this.unary=!1,this.html5Unary=!1}return e.formatTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="<"+e.tagName;for(var a in e.attrs)if(e.attrs.hasOwnProperty(a)){n+=" "+a;var i=e.attrs[a];void 0!==e.booleanAttrs&&void 0!==e.booleanAttrs[a]||(n+='="'+(0,r.escapeQuotes)(i)+'"')}return e.rest&&(n+=" "+e.rest),e.unary&&!e.html5Unary?n+="/>":n+=">",null!=t&&(n+=t+"</"+e.tagName+">"),n},e}());t.StartTagToken=function(){function e(t,n,r,i,o,s){a(this,e),this.type="startTag",this.length=n,this.text="",this.tagName=t,this.attrs=r,this.booleanAttrs=i,this.html5Unary=!1,this.unary=o,this.rest=s}return e.prototype.toString=function(){return i.formatTag(this)},e}(),t.AtomicTagToken=function(){function e(t,n,r,i,o){a(this,e),this.type="atomicTag",this.length=n,this.text="",this.tagName=t,this.attrs=r,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=o}return e.prototype.toString=function(){return i.formatTag(this,this.content)},e}(),t.EndTagToken=function(){function e(t,n){a(this,e),this.type="endTag",this.length=n,this.text="",this.tagName=t}return e.prototype.toString=function(){return"</"+this.tagName+">"},e}()},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/([^"]*)"/g,(function(e,t){return/\\/.test(t)?t+'"':t+'\\"'})):t}t.__esModule=!0,t.escapeQuotes=n},function(e,t){"use strict";function n(e){return e&&"startTag"===e.type&&(e.unary=s.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function a(e,t){var a=e.stream,r=n(t());return e.stream=a,r}function r(e,t){var n=t.pop();e.prepend("</"+n.tagName+">")}function i(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var t=this.last();return t&&t.tagName&&t.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var t,n=0;t=this[n];n++)if(t.tagName===e)return!0;return!1},e}function o(e,t,o){function s(){var t=a(e,o);t&&u[t.type]&&u[t.type](t)}var c=i(),u={startTag:function(n){var a=n.tagName;"TR"===a.toUpperCase()&&c.lastTagNameEq("TABLE")?(e.prepend("<TBODY>"),s()):t.selfCloseFix&&l.test(a)&&c.containsTagName(a)?c.lastTagNameEq(a)?r(e,c):(e.prepend("</"+n.tagName+">"),s()):n.unary||c.push(n)},endTag:function(n){c.last()?t.tagSoupFix&&!c.lastTagNameEq(n.tagName)?r(e,c):c.pop():t.tagSoupFix&&(o(),s())}};return function(){return s(),n(o())}}t.__esModule=!0,t.default=o;var s=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,l=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])},e.exports=t()},function(e,t){"use strict";function n(e){return null!=e}function a(e){return"function"==typeof e}function r(e,t,n){var a=void 0,r=e&&e.length||0;for(a=0;a<r;a++)t.call(n,e[a],a)}function i(e,t,n){for(var a in e)e.hasOwnProperty(a)&&t.call(n,a,e[a])}function o(e,t){return e=e||{},i(t,(function(t,a){n(e[t])||(e[t]=a)})),e}function s(e){try{return Array.prototype.slice.call(e)}catch(a){var t=(n=[],r(e,(function(e){n.push(e)})),{v:n});if("object"===(void 0===t?"undefined":v(t)))return t.v}var n}function l(e){return e[e.length-1]}function c(e,t){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e)||!~e.tagName.toLowerCase().indexOf(t))}function u(e){return c(e,"script")}function p(e){return c(e,"style")}t.__esModule=!0;var v="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};t.existy=n,t.isFunction=a,t.each=r,t.eachKey=i,t.defaults=o,t.toArray=s,t.last=l,t.isTag=c,t.isScript=u,t.isStyle=p}])},"object"==typeof t&&"object"==typeof e?e.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof t?t.postscribe=a():n.postscribe=a()}},"core/src/lib/actions/helpers/unescapeHtmlCode.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-document").createElement("div");e.exports=function(e){return a.innerHTML=e,a.textContent||a.innerText||e}}},"core/src/lib/actions/helpers/decorators/decorateGlobalJavaScriptCode.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-promise");e.exports=function(e,t){return{code:"<script>\n"+t+"\n</script>",promise:a.resolve()}}}},"core/src/lib/actions/helpers/decorators/decorateNonGlobalJavaScriptCode.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-promise"),r=0;e.exports=function(e,t){var n="_runScript"+ ++r,i=new a((function(t,r){_satellite[n]=function(i){delete _satellite[n],new a((function(t){t(i.call(e.event.element,e.event,e.event.target,a))})).then(t,r)}}));return{code:'<script>_satellite["'+n+'"](function(event, target, Promise) {\n'+t+"\n});</script>",promise:i}}}},"core/src/lib/actions/helpers/decorators/decorateHtmlCode.js":{script:function(e,t,n,a){"use strict";var r=n("@adobe/reactor-promise"),i=0,o={};window._satellite=window._satellite||{},window._satellite._onCustomCodeSuccess=function(e){var t=o[e];t&&(delete o[e],t.resolve())},window._satellite._onCustomCodeFailure=function(e){var t=o[e];t&&(delete o[e],t.reject())};var s=function(e){return-1!==e.indexOf("${reactorCallbackId}")},l=function(e,t){return e.replace(/\${reactorCallbackId}/g,t)},c=function(e){return e.settings.isExternal};e.exports=function(e,t){var n;return c(e)&&(t=a.replaceTokens(t,e.event)),s(t)?(n=new r((function(e,t){o[String(i)]={resolve:e,reject:t}})),t=l(t,i),i+=1):n=r.resolve(),{code:t,promise:n}}}},"core/src/lib/actions/helpers/getSourceByUrl.js":{script:function(e,t,n){"use strict";var a=n("@adobe/reactor-load-script"),r=n("@adobe/reactor-promise"),i={},o={},s=function(e){return o[e]||(o[e]=a(e)),o[e]};_satellite.__registerScript=function(e,t){i[e]=t},e.exports=function(e){return i[e]?r.resolve(i[e]):new r((function(t){s(e).then((function(){t(i[e])}),(function(){t()}))}))}}}}},"ags055-time-spent-and-scroll-depth-combined-event":{displayName:"Time and Scroll Event",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP0fd0a531808043b0aecb2181103fb5c9/",modules:{"ags055-time-spent-and-scroll-depth-combined-event/src/lib/events/combinedTimeSpentAndScrollDepth.js":{name:"combined-time-spent-and-scroll-depth",displayName:"Combined Time Spent and Scroll Depth",script:function(e,t,n){"use strict";e.exports=function(e,t){var a=e.scrollDepth||50,r=e.timeSpent||30,i=e.initDelay||100,o={targetScrollDepthReached:!1,targetTimeSpentReached:!1,hasTriggered:!1};setTimeout((function(){o.targetTimeSpentReached=!0,o.targetScrollDepthReached&&(!1!==o.hasTriggered&&!1!==e.fireOnce||(o.hasTriggered=!0,t({subType:"timeSpent"})))}),1e3*r),setTimeout((function(){try{var r=n("@adobe/reactor-document"),i=0,s=0;void 0!==r.documentElement&&r.documentElement&&(i=Math.max(r.documentElement.clientHeight,r.documentElement.scrollHeight,r.documentElement.offsetHeight)),void 0!==r.body&&r.body&&(s=Math.max(r.body.scrollHeight,r.body.offsetHeight));var l=Math.max(i,s),c=n("@adobe/reactor-window"),u=Math.max(r.documentElement.clientHeight,c.innerHeight||0);if(u>=l)o.targetScrollDepthReached=e.fireOnShortPages;else{var p=(l-u)*a/100;c.addEventListener("scroll",(function(){try{r.documentElement.scrollTop>=p&&(o.targetScrollDepthReached=!0,o.targetTimeSpentReached&&(!1!==o.hasTriggered&&!1!==e.fireOnce||(o.hasTriggered=!0,t({subType:"scrollDepth",scrollDepth:a}))))}catch(e){}}))}}catch(e){}}),i)}}}}},"doubleclick-floodlight":{displayName:"DoubleClick Floodlight (Beta)",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP9a01085750854132acb9bc9bade4150c/",modules:{"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js":{name:"floodlight-counter",displayName:"Floodlight Counter Tag",script:function(e,t,n,a){"use strict";function r(e,t,n){var a;a="sales"===t&&"img"===n?"ad.doubleclick.net/activity":e.src.value+".fls.doubleclick.net/activityi";var r="";for(var i in e){var o=e[i].value;""!=o&&void 0!==o&&(r+=encodeURIComponent(i)+"="+encodeURIComponent(o)+";")}return r.length>0&&(a=a+";"+(r=r.substring(0,r.length-1))),"https://"+a+"?"}function i(e,t){var n=document.createElement(t);if(n.src=e,n.style="display:none","loading"===document.readyState){var r="Waiting on document to embed "+e+" "+t+"..";a.logger.log(r),document.addEventListener("DOMContentLoaded",(function(){a.logger.log("Document is now loaded, embedding..");try{document.body.appendChild(n)}catch(e){a.logger.error("Unable to embed Floodlight!"),a.logger.error(e)}}))}else{r="Embedding "+e+" "+t+"..",a.logger.log(r);try{document.body.appendChild(n)}catch(e){a.logger.error("Unable to embed Floodlight!"),a.logger.error(e)}}}var o="counter";e.exports=function(e){e?i(r(e.params,o,e.elementTagName),e.elementTagName):a.logger.error("No settings found, not firing Floodlight tag!")}}}}},"adobe-analytics":{displayName:"Adobe Analytics",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP5e9ec493dfa0465eaa797b523b09d3f7/",settings:{orgId:"723A625F5DFA732C0A495ED6@AdobeOrg",customSetup:{source:function(e){"object"==typeof e.ActivityMap&&(e.ActivityMap.link=function(){return!1}),e.usePlugins=!0,e.doPlugins=function(){e.linkTrackVars=e.linkTrackVars?e.linkTrackVars+",eVar20,prop20,eVar21,prop21,eVar22,prop22,prop38,eVar147":"eVar20,prop20,eVar21,prop21,eVar22,prop22,prop38,eVar147",e.eVar20=e.eVar20?e.eVar20:_satellite.getVar("PageName"),e.prop20=e.prop20?e.prop20:_satellite.getVar("PageName"),e.eVar21=e.eVar21?e.eVar21:_satellite.getVar("PageURL_QP"),e.prop21=e.prop21?e.prop21:_satellite.getVar("PageURL_QP"),e.eVar22=e.eVar22?e.eVar22:_satellite.getVar("PageURL_no_QP"),e.prop22=e.prop22?e.prop22:_satellite.getVar("PageURL_no_QP"),e.prop38=e.prop38?e.prop38:_satellite.getVar("PageName"),e.eVar147=e.eVar147?e.eVar147:_satellite.getVar("PageName")},e.Util.cookieRead("adobeDebug")&&e.registerPreTrackCallback((function(e,t){let n={};n.auditName=window.localStorage.getItem("loggingName")||"",Object.keys(t).forEach((function(e){-1===e.indexOf("eVar")&&-1===e.indexOf("prop")&&-1===e.indexOf("list")||!t[e]||(n[e]=t[e]),t[e]&&-1!==e.indexOf("event")&&(n.event=t[e])}));let a=JSON.stringify(n,Object.keys(n).sort());window.localStorage.getItem("CitiData All")&&a&&(a=a.concat(",",window.localStorage.getItem("CitiData All"))),window.localStorage.setItem("CitiData All",a),window.localStorage.setItem("CitiData Latest",JSON.stringify(n,Object.keys(n).sort()))}),e)},loadPhase:"beforeSettings"},libraryCode:{type:"managed",company:"citihk0",accounts:{staging:["citihktw-hk-uat"],production:["citihktw-hk-prod"],development:["citihktw-hk-uat"]},scopeTrackerGlobally:!1},moduleProperties:{audienceManager:{config:{partner:"citihktw",uuidCookie:{name:"aam_uuid"}}}},trackerProperties:{currencyCode:"HKD",trackingServer:"metrics.citibank.com.hk",trackInlineStats:!1,visitorNamespace:"citihktw",trackDownloadLinks:!0,trackExternalLinks:!0,cookieDomainPeriods:"3",linkInternalFilters:["%InternalUrls%"],trackingServerSecure:"smetrics.citibank.com.hk",fpCookieDomainPeriods:"3",linkDownloadFileTypes:["doc","docx","eps","jpg","png","svg","xls","ppt","pptx","pdf","xlsx","tab","csv","zip","txt","vsd","vxd","xml","js","css","rar","exe","wma","mov","avi","wmv","mp3","wav","m4v"]}},modules:{"adobe-analytics/src/lib/actions/sendBeacon.js":{name:"send-beacon",displayName:"Send Beacon",script:function(e,t,n,a){"use strict";var r=n("../sharedModules/getTracker"),i=function(e){return e&&e.nodeName&&"a"===e.nodeName.toLowerCase()},o=function(e){ return i(e)?e.innerHTML:"link clicked"},s=function(e,t,n){if("page"===t.type)a.logger.info("Firing page view beacon."),e.t();else{var r={linkType:t.linkType||"o",linkName:t.linkName||o(n)};a.logger.info("Firing link track beacon using the values: "+JSON.stringify(r)+"."),e.tl(i(n)?n:"true",r.linkType,r.linkName)}};e.exports=function(e,t){return r().then((function(n){s(n,e,t.element)}),(function(e){a.logger.error("Cannot send beacon: "+e)}))}}},"adobe-analytics/src/lib/actions/clearVariables.js":{name:"clear-variables",displayName:"Clear Variables",script:function(e,t,n,a){"use strict";var r=n("../sharedModules/getTracker");e.exports=function(){return r().then((function(e){e.clearVars&&(a.logger.info("Clear variables."),e.clearVars())}),(function(e){a.logger.error("Cannot clear variables: "+e)}))}}},"adobe-analytics/src/lib/actions/setVariables.js":{name:"set-variables",displayName:"Set Variables",script:function(e,t,n,a){"use strict";var r=n("../sharedModules/getTracker"),i=n("../helpers/applyTrackerVariables");e.exports=function(e,t){return r().then((function(n){a.logger.info("Set variables on the tracker."),i(n,e.trackerProperties),e.customSetup&&e.customSetup.source&&e.customSetup.source.call(t.element,t,n)}),(function(e){a.logger.error("Cannot set variables: "+e)}))}}},"adobe-analytics/src/lib/sharedModules/getTracker.js":{script:function(e,t,n,a){"use strict";var r,i=n("@adobe/reactor-cookie"),o=n("@adobe/reactor-promise"),s=n("@adobe/reactor-window"),l=n("../helpers/augmenters"),c=n("@adobe/reactor-load-script"),u=n("../helpers/applyTrackerVariables"),p=n("../helpers/loadLibrary"),v=n("../helpers/generateVersion")(a.buildInfo.turbineBuildDate),d="beforeSettings",m=a.getSharedModule("adobe-mcid","mcid-instance"),g=function(e){return!e||"true"===i.get(e)},f=function(e){return o.all(l.map((function(t){var n;try{n=t(e)}catch(e){setTimeout((function(){throw e}))}return o.resolve(n)}))).then((function(){return e}))},h=function(e){return m&&(a.logger.info("Setting MCID instance on the tracker."),e.visitor=m),e},y=function(e){return a.logger.info('Setting version on tracker: "'+v+'".'),void 0!==e.tagContainerMarker?e.tagContainerMarker=v:"string"==typeof e.version&&e.version.substring(e.version.length-5)!=="-"+v&&(e.version+="-"+v),e},b=function(e,t,n){return t.loadPhase===d&&t.source&&(a.logger.info("Calling custom script before settings."),t.source.call(s,n)),u(n,e||{}),t.loadPhase!==d&&t.source&&(a.logger.info("Calling custom script after settings."),t.source.call(s,n)),n},k=function(e,t){var n=e.moduleProperties;if(n&&n.audienceManager&&n.audienceManager.config&&s._satellite&&s._satellite.company&&s._satellite.company.orgId){var r={namespace:s._satellite.company.orgId};n.audienceManager.config.visitorService=r;var i="AppMeasurement_Module_AudienceManagement.js",o=a.getHostedLibFileUrl(i);return c(o).then((function(){return t.loadModule("AudienceManagement"),a.logger.info("Initializing AudienceManagement module"),t.AudienceManagement.setup(n.audienceManager.config),t}))}return t},V=(r=a.getExtensionSettings(),g(r.trackingCookieName)?p(r).then(f).then(h).then(y).then(b.bind(null,r.trackerProperties,r.customSetup||{})).then(k.bind(null,r)):o.reject("EU compliance was not acknowledged by the user."));e.exports=function(){return V}},name:"get-tracker",shared:!0},"adobe-analytics/src/lib/sharedModules/augmentTracker.js":{name:"augment-tracker",shared:!0,script:function(e,t,n){"use strict";var a=n("../helpers/augmenters");e.exports=function(e){a.push(e)}}},"adobe-analytics/src/lib/helpers/augmenters.js":{script:function(e){"use strict";e.exports=[]}},"adobe-analytics/src/lib/helpers/applyTrackerVariables.js":{script:function(e,t,n,a){"use strict";var r=n("@adobe/reactor-query-string"),i=n("@adobe/reactor-window"),o=/eVar([0-9]+)/,s=/prop([0-9]+)/,l=new RegExp("^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$"),c=function(e,t,n){return n.indexOf(e)===t},u=function(e,t,n){var a=Object.keys(t).filter(l.test.bind(l));return n&&a.push("events"),(a=a.concat((e.linkTrackVars||"").split(","))).filter((function(e,t){return"None"!==e&&e&&c(e,t,a)})).join(",")},p=function(e,t){var n=t.map((function(e){return e.name}));return(n=n.concat((e.linkTrackEvents||"").split(","))).filter((function(e,t){return"None"!==e&&c(e,t,n)})).join(",")},v=function(e,t,n){e[t]=n[t].join(",")},d=function(e,t,n){var a=n.dynamicVariablePrefix||"D=";n[t].forEach((function(t){var n;if("value"===t.type)n=t.value;else{var r=o.exec(t.value);if(r)n=a+"v"+r[1];else{var i=s.exec(t.value);i&&(n=a+"c"+i[1])}}e[t.name]=n}))},m={linkDownloadFileTypes:v,linkExternalFilters:v,linkInternalFilters:v,hierarchies:function(e,t,n){n[t].forEach((function(t){e[t.name]=t.sections.join(t.delimiter)}))},props:d,eVars:d,campaign:function(e,t,n){if("queryParam"===n[t].type){var a=r.parse(i.location.search);e[t]=a[n[t].value]}else e[t]=n[t].value},events:function(e,t,n){var a=n[t].map((function(e){var t=e.name;return e.value&&(t=[t,e.value].join("=")),e.id&&(t=[t,e.id].join(":")),t}));e[t]=a.join(",")}};e.exports=function(e,t){var n={};t=t||{},Object.keys(t).forEach((function(e){var a=m[e],r=t[e];a?a(n,e,t):n[e]=r})),n.events&&e.events&&e.events.length>0&&(n.events=e.events+","+n.events);var r=t&&t.events&&t.events.length>0,i=u(e,n,r);i&&(n.linkTrackVars=i);var o=p(e,t.events||[]);o&&(n.linkTrackEvents=o),a.logger.info('Applying the following properties on tracker: "'+JSON.stringify(n)+'".'),Object.keys(n).forEach((function(t){e[t]=n[t]}))}}},"adobe-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,n,a){"use strict";var r=n("@adobe/reactor-load-script"),i=n("@adobe/reactor-window"),o=n("@adobe/reactor-promise"),s={MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote",CUSTOM:"custom"},l=function(e){return a.logger.info("Loading AppMeasurement script from: "+e+"."),r(e)},c=function(e){var t=e.production;return e[a.buildInfo.environment]&&(t=e[a.buildInfo.environment]),t.join(",")},u=function(e,t){if(!i.s_gi)throw new Error("Unable to create AppMeasurement tracker, `s_gi` function not found."+i.AppMeasurement);a.logger.info('Creating AppMeasurement tracker with these report suites: "'+t+'"');var n=i.s_gi(t);return e.libraryCode.scopeTrackerGlobally&&(a.logger.info("Setting the tracker as window.s"),i.s=n),n},p=function(e){var t=c(e.libraryCode.accounts);return l(a.getHostedLibFileUrl("AppMeasurement.js")).then(u.bind(null,e,t))},v=function(e,t){if(e.libraryCode.accounts)if(t.sa){var n=c(e.libraryCode.accounts);a.logger.info('Setting the following report suites on the tracker: "'+n+'"'),t.sa(n)}else a.logger.warn("Cannot set report suites on tracker. `sa` method not available.");return t},d=function(e){return a.logger.info('Waiting for the tracker to become accessible at: "'+e+'".'),new o((function(t,n){var r=1,o=setInterval((function(){i[e]&&(a.logger.info('Found tracker located at: "'+e+'".'),t(i[e]),clearInterval(o)),r>=10&&(clearInterval(o),n(new Error('Bailing out. Cannot find the global variable name: "'+e+'".'))),r++}),1e3)}))},m=function(e){return d(e.libraryCode.trackerVariableName).then(v.bind(null,e))},g=function(e){if(i[e])return a.logger.info('Found tracker located at: "'+e+'".'),i[e];throw new Error('Cannot find the global variable name: "'+e+'".')},f=function(e,t){return l(e).then(g.bind(null,t.libraryCode.trackerVariableName)).then(v.bind(null,t))};e.exports=function(e){var t,n;switch(e.libraryCode.type){case s.MANAGED:n=p(e);break;case s.PREINSTALLED:n=m(e);break;case s.CUSTOM:t=e.libraryCode.source,n=f(t,e);break;case s.REMOTE:t="https:"===i.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl,n=f(t,e);break;default:throw new Error("Cannot load library. Type not supported.")}return n}}},"adobe-analytics/src/lib/helpers/generateVersion.js":{script:function(e){"use strict";var t=8,n=function(e){return e.getUTCDate().toString(36)},a=function(e){return e.substr(e.length-1)},r=function(e){return Math.floor(e.getUTCHours()/t)},i=function(e){var t=(e.getUTCMonth()+1+12*r(e)).toString(36);return a(t)},o=function(e){return(e.getUTCFullYear()-2010).toString(36)};e.exports=function(e){var t=new Date(e);if(isNaN(t))throw new Error("Invalid date provided");return("L"+o(t)+i(t)+n(t)).toUpperCase()}}}}},"adobe-target-v2":{displayName:"Adobe Target v2",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP269792aa7319457ea7dd670d3f2f68e5/",settings:{targetSettings:{enabled:!0,timeout:3e3,version:"2.3.0",endpoint:"/rest/v1/delivery",imsOrgId:"723A625F5DFA732C0A495ED6@AdobeOrg",clientCode:"citihktw",secureOnly:!1,serverState:{},optinEnabled:!1,serverDomain:"citihktw.tt.omtrdc.net",urlSizeLimit:2048,viewsEnabled:!0,optoutEnabled:!1,globalMboxName:"target-global-mbox",bodyHiddenStyle:"body {opacity: 0}",pageLoadEnabled:!0,analyticsLogging:"server_side",deviceIdLifetime:632448e5,bodyHidingEnabled:!0,sessionIdLifetime:186e4,visitorApiTimeout:2e3,authoringScriptUrl:"//cdn.tt.omtrdc.net/cdn/target-vec.js",overrideMboxEdgeServer:!1,selectorsPollingTimeout:5e3,defaultContentHiddenStyle:"visibility: hidden;",defaultContentVisibleStyle:"visibility: visible;",overrideMboxEdgeServerTimeout:186e4,supplementalDataIdParamTimeout:30}},modules:{"adobe-target-v2/lib/loadTarget.js":{name:"load-target",displayName:"Load Target",script:function(e,t,n,a){"use strict";function r(e,t){return new l((function(n){e?t.then((function(t){t&&(e.abort=!0),n()})):n()}))}function i(e){if(e){var t=new l((function(e){var t=setTimeout((function(){e(!1)}),y.targetSettings.timeout),n=function n(a){e(!1),clearTimeout(t),m(s,a,n)};d(s,k,(function n(a){a.detail&&!0===a.detail.redirect?e(!0):e(!1),clearTimeout(t),m(s,a,n)})),d(s,V,n)}));e((function(e){return r(e,t)}))}}var o=n("@adobe/reactor-window"),s=n("@adobe/reactor-document"),l=n("@adobe/reactor-promise"),c=n("./modules/load-target"),u=c.initLibrarySettings,p=c.overridePublicApi,v=n("./modules/event-util"),d=v.addEventListener,m=v.removeEventListener,g=n("./modules/optin"),f=g.shouldUseOptIn,h=g.isTargetApproved,y=n("./targetSettings").extensionSettings,b=a.getSharedModule("adobe-analytics","augment-tracker"),k="at-request-succeeded",V="at-request-failed";e.exports=function(){var e=u();e&&e.enabled?((0,n("./modules/libs/at-launch").init)(o,s,e),f()&&!h()||i(b)):p(o)}}},"adobe-target-v2/lib/firePageLoad.js":{name:"fire-page-load",displayName:"Fire Page Load Request",script:function(e,t,n,a){"use strict";function r(){return i.adobe&&i.adobe.target&&i.adobe.target.VERSION}var i=n("@adobe/reactor-window"),o=n("./modules/libs/at-launch"),s=o.initConfig,l=o.initDelivery,c=n("./modules/page-load"),u=n("./messages");e.exports=function(e){var t=c(e);r()?(s(t),l()):i.console&&a.logger.warn(u.NO_REQUEST)}}},"adobe-target-v2/lib/addParams.js":{name:"add-params",displayName:"Add Params to All Requests",script:function(e,t,n){"use strict";var a=n("./modules/params-store").mergeParams;e.exports=function(e){a(e.params)}}},"adobe-target-v2/lib/modules/load-target.js":{script:function(e,t,n,a){"use strict";function r(e){var t=e.compatMode,n=e.documentMode;return t&&"CSS1Compat"===t&&(!n||n>=9)}function i(e){var t=function(){},n=function(){return u.resolve()};e.adobe=e.adobe||{},e.adobe.target={VERSION:"",event:{},getOffer:t,getOffers:n,applyOffer:t,applyOffers:n,sendNotifications:t,trackEvent:t,triggerView:t,registerExtension:t,init:t},e.mboxCreate=t,e.mboxDefine=t,e.mboxUpdate=t}function o(){return l.adobe&&l.adobe.target&&void 0!==l.adobe.target.getOffer}function s(){return o()?(a.logger.warn(p.ALREADY_INITIALIZED),null):(g.mboxParams=d(),g.globalMboxParams=m(),f(g,l.targetGlobalSettings||{},y),f(g,h||{},["version"]),r(c)||(g.enabled=!1,a.logger.warn(p.DELIVERY_DISABLED)),g)}var l=n("@adobe/reactor-window"),c=n("@adobe/reactor-document"),u=n("@adobe/reactor-promise"),p=n("../messages"),v=n("./params-store"),d=v.getParams,m=v.getPageLoadParams,g=n("../targetSettings").targetSettings,f=n("./object-override"),h=n("../librarySettings").TARGET_DEFAULT_SETTINGS,y=["enabled","clientCode","imsOrgId","serverDomain","cookieDomain","timeout","defaultContentHiddenStyle","defaultContentVisibleStyle","bodyHiddenStyle","bodyHidingEnabled","selectorsPollingTimeout","visitorApiTimeout","overrideMboxEdgeServer","overrideMboxEdgeServerTimeout","optoutEnabled","optinEnabled","secureOnly","supplementalDataIdParamTimeout","authoringScriptUrl","urlSizeLimit","endpoint","pageLoadEnabled","viewsEnabled","analyticsLogging","serverState","globalMboxName"];e.exports={initLibrarySettings:s,overridePublicApi:i}}},"adobe-target-v2/lib/modules/event-util.js":{script:function(e){"use strict";function t(e,t,n){e.addEventListener(t,n)}function n(e,t,n){e.removeEventListener(t,n)}e.exports={addEventListener:t,removeEventListener:n}}},"adobe-target-v2/lib/modules/optin.js":{script:function(e,t,n){"use strict";function a(e){return"undefined"===(void 0===e?"undefined":u(e))||null===e}function r(e){var t=void 0===e?"undefined":u(e);return null!==e&&("object"===t||"function"===t)}function i(e){return r(e[g])&&r(e[v])}function o(e,t){return!!t&&!a(e)&&!a(e[m])&&i(e[m])}function s(e,t){return e[v](t)}function l(){var e=p[m];return s(e,e[f][h])}function c(){var e=y[d];return o(p,e)}var u="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},p=n("@adobe/reactor-window").adobe,v="isApproved",d="optinEnabled",m="optIn",g="fetchPermissions",f="Categories",h="TARGET",y=n("../targetSettings").targetSettings;e.exports={shouldUseOptIn:c,isTargetApproved:l}}},"adobe-target-v2/lib/targetSettings.js":{script:function(e,t,n,a){"use strict";var r=a.getExtensionSettings(),i=r.targetSettings||{};e.exports={extensionSettings:r,targetSettings:i}}},"adobe-target-v2/lib/modules/libs/at-launch.js":{script:function(e,t,n){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,Number(t)||0)}function i(e){clearTimeout(e)}function o(e){return null==e}function s(e){return uu.call(e)}function l(e){return s(e)}function c(e){return c="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},c(e)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){var t=c(e);return null!=e&&("object"===t||"function"===t)}function v(e){return!!p(e)&&l(e)===pu}function d(e){return e}function m(e){return v(e)?e:d}function g(e){return o(e)?[]:Object.keys(e)}function f(e,t){return o(t)?[]:(lu(t)?mu:gu)(m(e),t)}function h(e){return e&&e.length?e[0]:void 0}function y(e){return o(e)?[]:[].concat.apply([],e)}function b(e){for(var t=this,n=e?e.length:0,a=n;a-=1;)if(!v(e[a]))throw new TypeError("Expected a function");return function(){for(var a=0,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];for(var s=n?e[a].apply(t,i):i[0];(a+=1)<n;)s=e[a].call(t,s);return s}}function k(e,t){o(t)||(lu(t)?vu:du)(m(e),t)}function V(e){return null!=e&&"object"===c(e)}function C(e){return"string"==typeof e||!lu(e)&&V(e)&&l(e)===fu}function E(e){if(!C(e))return-1;for(var t=0,n=e.length,a=0;a<n;a+=1)t=(t<<5)-t+e.charCodeAt(a)&4294967295;return t}function T(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=hu}function P(e){return null!=e&&T(e.length)&&!v(e)}function S(e,t){return yu((function(e){return t[e]}),e)}function w(e){for(var t=0,n=e.length,a=Array(n);t<n;)a[t]=e[t],t+=1;return a}function _(e){return e.split("")}function I(e){return o(e)?[]:P(e)?C(e)?_(e):w(e):S(g(e),e)}function D(e){if(null==e)return!0;if(P(e)&&(lu(e)||C(e)||v(e.splice)))return!e.length;for(var t in e)if(ku.call(e,t))return!1;return!0}function L(e){return o(e)?"":Cu.call(e)}function A(e){return C(e)?!L(e):D(e)}function x(e){return Object.getPrototypeOf(Object(e))}function O(e){if(!V(e)||l(e)!==Eu)return!1;var t=x(e);if(null===t)return!0;var n=wu.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Su.call(n)===_u}function j(e){return V(e)&&1===e.nodeType&&!O(e)}function N(e){return"number"==typeof e||V(e)&&l(e)===Du}function F(e,t){return lu(t)?t.join(e||""):""}function M(e,t){return o(t)?[]:(lu(t)?yu:Lu)(m(e),t)}function R(){}function U(){return(new Date).getTime()}function H(e,t,n){return o(n)?t:(lu(n)?Au:xu)(m(e),t,n)}function q(e){return null==e?e:ju.call(e)}function G(e,t){return A(t)?[]:t.split(e||"")}function B(e,t){return e+Math.floor(Math.random()*(t-e+1))}function Q(){var e=U();return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+B(0,16))%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}))}function z(e,t){e[Mv]&&(o(t[Bv])||(e[Ed]=t[Bv]),k((function(n){o(t[n])||(e[n]=t[n])}),sm))}function $(e){var t=e.documentMode;return!t||t>=10}function J(e){var t=e.compatMode;return t&&"CSS1Compat"===t}function W(e){return rm.test(e)}function K(e){if(W(e))return e;var t=q(G(".",e)),n=t.length;return n>=3&&im.test(t[1])?t[2]+"."+t[1]+"."+t[0]:1===n?t[0]:t[1]+"."+t[0]}function Y(e,t,n){var a="";e.location.protocol===am||(a=K(e.location.hostname)),n[od]=a,n[Mv]=J(t)&&$(t),z(n,e[yd]||{})}function X(e){Y(tu,nu,e);var t=tu.location.protocol===am;(om=au({},e))[Wv]=e[Wv]/1e3,om[Kv]=e[Kv]/1e3,om[id]=om[nd]||t?"https:":""}function Z(){return om}function ee(e){try{return cm(e)}catch(e){return{}}}function te(e){try{return um(e)}catch(e){return""}}function ne(e){try{return decodeURIComponent(e)}catch(t){return e}}function ae(e){try{return encodeURIComponent(e)}catch(t){return e}}function re(e){if(vm[e])return vm[e];pm.href=e;var t=lm(pm.href);return t.queryKey=ee(t.query),vm[e]=t,vm[e]}function ie(e,t,n){return{name:e,value:t,expires:n}}function oe(e){var t=G("#",e);return D(t)||t.length<3||isNaN(parseInt(t[2],10))?null:ie(ne(t[0]),ne(t[1]),Number(t[2]))}function se(e){return A(e)?[]:G("|",e)}function le(){var e=M(oe,se(dm(fm))),t=Math.ceil(U()/1e3);return H((function(e,t){return e[t.name]=t,e}),{},f((function(e){return p(e)&&t<=e.expires}),e))}function ce(e){var t=le()[e];return p(t)?t.value:""}function ue(e){return F("#",[ae(e.name),ae(e.value),e.expires])}function pe(e){return e.expires}function ve(e){var t=M(pe,e);return Math.max.apply(null,t)}function de(e,t){var n=I(e),a=Math.abs(1e3*ve(n)-U()),r=F("|",M(ue,n)),i=new Date(U()+a);mm(fm,r,{domain:t,expires:i})}function me(e){var t=e.name,n=e.value,a=e.expires,r=e.domain,i=le();i[t]=ie(t,n,Math.ceil(a+U()/1e3)),de(i,r)}function ge(e){return Iu(dm(e))}function fe(e,t){var n=ee(e.location.search);return Iu(n[t])}function he(e,t){var n=re(e.referrer).queryKey;return!o(n)&&Iu(n[t])}function ye(e,t,n){return ge(n)||fe(e,n)||he(t,n)}function be(){var e=Z()[od];mm(bp,kp,{domain:e});var t=dm(bp)===kp;return gm(bp),t}function ke(){return ye(tu,nu,hp)}function Ve(){return Z()[Mv]&&be()&&!ke()}function Ce(){return ye(tu,nu,fp)}function Ee(){return ye(tu,nu,yp)}function Te(e,t){var n=e.console;return!o(n)&&v(n[t])}function Pe(e,t){var n=e.console;Te(e,"warn")&&n.warn.apply(n,[hm].concat(t))}function Se(e,t){var n=e.console;Te(e,"debug")&&Ce()&&n.debug.apply(n,[hm].concat(t))}function we(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Pe(tu,t)}function _e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Se(tu,t)}function Ie(e){return H((function(t,n){return t[n]=e[n],t}),{},sm)}function De(e,t,n){var a=e[hd]||[];if(e[hd]=a,n){var r=a.push;a[Qv]=ym,a[md]=Ie(t),a[gd]=[],a[fd]=[],a.push=function(e){a[fd].push(au({timestamp:U()},e)),r.call(this,e)}}}function Le(e,t,n,a){t===fd&&e[hd].push(n),a&&t!==fd&&e[hd][t].push(au({timestamp:U()},n))}function Ae(){De(tu,Z(),Ce())}function xe(e){Le(tu,fd,e,Ce())}function Oe(e){Le(tu,gd,e,Ce())}function je(){return v(km)}function Ne(e){return new km(e)}function Fe(){var e=nu.createTextNode(""),t=function(){e.textContent=e.textContent.length>0?"":"a"},n=[];return Ne((function(){for(var e=n.length,t=0;t<e;t+=1)n[t]();n.splice(0,e)})).observe(e,{characterData:!0}),function(e){n.push(e),t()}}function Me(){return function(e){var t=bm("<script>");t.on("readystatechange",(function(){t.on("readystatechange",null),t.remove(),t=null,e()})),bm(nu.documentElement).append(t)}}function Re(){je()?ou._setImmediateFn(Fe()):-1!==tu.navigator.userAgent.indexOf("MSIE 10")&&ou._setImmediateFn(Me())}function Ue(e){return new ou(e)}function He(e){return ou.resolve(e)}function qe(e){return ou.reject(e)}function Ge(e){return lu(e)?ou.race(e):qe(new TypeError(Vm))}function Be(e){return lu(e)?ou.all(e):qe(new TypeError(Vm))}function Qe(e,t,n){var a=-1;return Ge([e,Ue((function(e,i){a=r((function(){return i(new Error(n))}),t)}))]).then((function(e){return i(a),e}),(function(e){throw i(a),e}))}function ze(e){if(o(e[Hd]))return!1;var t=e[Hd];if(o(t[qd]))return!1;var n=t[qd];return v(n[Bd])&&v(n[Gd])}function $e(e,t){return!!t&&ze(e)}function Je(e,t){if(!ze(e))return!0;var n=e[Hd][qd],a=(e[Hd][qd][Qd]||{})[t];return n[Gd](a)}function We(e,t){if(!ze(e))return He(!0);var n=e[Hd][qd],a=(e[Hd][qd][Qd]||{})[t];return Ue((function(e,t){n[Bd]((function(){n[Gd](a)?e(!0):t(Wd)}),!0)}))}function Ke(){var e=Z()[Jd];return $e(tu,e)}function Ye(){return Je(tu,zd)}function Xe(){return Je(tu,$d)}function Ze(){return We(tu,zd)}function et(){return ee(tu.location.search)[cd]}function tt(e,t){me({name:vd,value:e,expires:t[Kv],domain:t[od]})}function nt(){if(Ke()&&!Ye())return Cm;var e=Z(),t=et();return Iu(t)?(tt(t,e),ce(vd)):(A(ce(vd))&&tt(Cm,e),ce(vd))}function at(e){var t=Z();me({name:ud,value:e,expires:t[Wv],domain:t[od]})}function rt(){return ce(ud)}function it(e){if(A(e))return"";var t=Em.exec(e);return D(t)||2!==t.length?"":t[1]}function ot(){if(!Z()[Zv])return"";var e=dm(pd);return A(e)?"":e}function st(e){var t=Z();if(t[Zv]){var n=t[od],a=new Date(U()+t[ed]),r=dm(pd),i={domain:n,expires:a};if(Iu(r))mm(pd,r,i);else{var o=it(e);A(o)||mm(pd,o,i)}}}function lt(e,t){function n(e,n){var a=t.createEvent("CustomEvent");return n=n||{bubbles:!1,cancelable:!1,detail:void 0},a.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),a}v(e.CustomEvent)||(n.prototype=e.Event.prototype,e.CustomEvent=n)}function ct(e,t){var n=e(),a=t(),r={};return r.sessionId=n,Iu(a)?(r.deviceId=a,r):r}function ut(e,t,n,a){var r=new e.CustomEvent(n,{detail:a});t.dispatchEvent(r)}function pt(e,t){var n=t.mbox,a=t.error,r=t.url,i=t.analyticsDetails,s=t.responseTokens,l=t.execution,c={type:e,tracking:ct(nt,rt)};return o(n)||(c.mbox=n),o(a)||(c.error=a),o(r)||(c.url=r),D(i)||(c.analyticsDetails=i),D(s)||(c.responseTokens=s),D(l)||(c.execution=l),c}function vt(){var e=pt(Pm,{});ut(tu,nu,Pm,e)}function dt(e){var t=pt(Sm,e);ut(tu,nu,Sm,t)}function mt(e,t){var n=pt(wm,e);n.redirect=t,ut(tu,nu,wm,n)}function gt(e){var t=pt(_m,e);ut(tu,nu,_m,t)}function ft(e){var t=pt(Im,e);ut(tu,nu,Im,t)}function ht(e){var t=pt(Dm,e);ut(tu,nu,Dm,t)}function yt(e){var t=pt(Lm,e);ut(tu,nu,Lm,t)}function bt(e){var t=pt(Am,e);ut(tu,nu,Am,t)}function kt(e){var t=pt(xm,e);ut(tu,nu,xm,t)}function Vt(e){var t=e.charAt(0),n=e.charAt(1),a=e.charAt(2),r={key:e};return r.val="-"===n?""+t+n+"\\3"+a+" ":t+"\\3"+n+" ",r}function Ct(e){var t=e.match(Fm);return D(t)?e:H((function(e,t){return e.replace(t.key,t.val)}),e,M(Vt,t))}function Et(e){for(var t,n,a,r,i=[],o=L(e),s=o.indexOf(Om);-1!==s;)t=L(o.substring(0,s)),r=(n=L(o.substring(s))).indexOf(jm),a=L(n.substring(Nm,r)),s=(o=L(n.substring(r+1))).indexOf(Om),t&&a&&i.push({sel:t,eq:Number(a)});return o&&i.push({sel:o}),i}function Tt(e){if(j(e))return bm(e);if(!C(e))return bm(e);var t=Ct(e);if(-1===t.indexOf(Om))return bm(t);var n=Et(t);return H((function(e,t){var n=t.sel,a=t.eq;return e=e.find(n),N(a)&&(e=e.eq(a)),e}),bm(nu),n)}function Pt(e){return Tt(e).length>0}function St(e){return bm("<"+Np+"/>").append(e)}function wt(e){return bm(e)}function _t(e){return Tt(e).prev()}function It(e){return Tt(e).next()}function Dt(e){return Tt(e).parent()}function Lt(e,t){return Tt(t).is(e)}function At(e,t){return Tt(t).find(e)}function xt(e){return Tt(e).children()}function Ot(){tu[Um]=tu[Um]||{},tu[Um].querySelectorAll=Tt}function jt(e){if(Ee()){var t=e[Ad];tu[Um][qm]=t}}function Nt(){nu.addEventListener(Dp,(function(e){v(tu[Um][Hm])&&tu[Um][Hm](e)}),!0)}function Ft(){if(Ee()){Ot();var e=Z()[rd],t=function(){return Nt()},n=function(){return we(Mm)};_e(Rm),su(e).then(t).catch(n)}}function Mt(e){return parseInt(e,10)}function Rt(e){var t=Mt(e);return isNaN(t)?null:t}function Ut(e){return G(Wm,e)}function Ht(e){var t=G(Wm,e),n=Rt(t[0]);if(o(n))return null;var a={};a.activityIndex=n;var r=Rt(t[1]);return o(r)||(a.experienceIndex=r),a}function qt(e){return f(Km,M(Ht,e))}function Gt(e){return lu(e)?qt(e):qt([e])}function Bt(e){var t=ee(e),n=t[Bm];if(A(n))return null;var a={};a.token=n;var r=t[zm];Iu(r)&&r===kp&&(a.listedActivitiesOnly=!0);var i=t[$m];Iu(i)&&(a.evaluateAsTrueAudienceIds=Ut(i));var o=t[Jm];Iu(o)&&(a.evaluateAsFalseAudienceIds=Ut(o));var s=t[Qm];return D(s)||(a.previewIndexes=Gt(s)),a}function Qt(e){var t=Bt(e.location.search);if(!o(t)){var n=new Date(U()+186e4);mm(Gm,JSON.stringify(t),{expires:n})}}function zt(){var e=dm(Gm);if(A(e))return{};try{return JSON.parse(e)}catch(e){return{}}}function $t(e){return Tt(e).empty().remove()}function Jt(e,t){return Tt(t).after(e)}function Wt(e,t){return Tt(t).before(e)}function Kt(e,t){return Tt(t).append(e)}function Yt(e,t){return Tt(t).prepend(e)}function Xt(e,t){return Tt(t).html(e)}function Zt(e){return Tt(e).html()}function en(e,t){return Tt(t).text(e)}function tn(e,t){return"<"+xp+" "+_p+'="'+e+'" '+Ip+'="'+jv+'">'+t+"</"+xp+">"}function nn(e,t){return tn(Ym+E(t),t+" {"+e+"}")}function an(e,t){return tn(eg,t+" {"+e+"}")}function rn(e){if(!0===e[Jv]&&!Pt(Zm)){var t=e[$v];Kt(tn(Xm,t),Lp)}}function on(e){!0===e[Jv]&&Pt(Zm)&&$t(Zm)}function sn(e,t){if(!D(t)){var n=f((function(e){return!Pt("#"+(Ym+E(e)))}),t);if(!D(n)){var a=e[zv];Kt(F("\n",M((function(e){return nn(a,e)}),n)),Lp)}}}function ln(e,t){D(t)||Pt("#"+eg)||Kt(an(e[zv],F(", ",t)),Lp)}function cn(){rn(Z())}function un(){on(Z())}function pn(e){sn(Z(),e)}function vn(e){ln(Z(),e)}function dn(e){$t("#"+(Ym+E(e)))}function mn(){var e="#"+eg;Pt(e)&&$t(e)}function gn(e){return!o(e[_p])}function fn(e){return!o(e[Td])}function hn(e){switch(e){case 0:default:return"unknown";case 1:return"authenticated";case 2:return"logged_out"}}function yn(e){return gn(e)||fn(e)}function bn(e){if(o(e))return[];if(!v(e[sg]))return[];var t=e[sg]();return p(t)?H((function(e,t,n){var a={};return a[Sd]=n,gn(t)&&(a[_p]=t[_p]),fn(t)&&(a[Pd]=hn(t[Td])),e.push(a),e}),[],f(yn,t)):[]}function kn(e,t){return o(e)?null:v(e[og])?e[og](t):null}function Vn(e,t){if(o(e))return null;var n=e[t];return o(n)?null:n}function Cn(e,t,n){if(A(t))return null;if(o(e[ug]))return null;if(!v(e[ug][pg]))return null;var a=e[ug][pg](t,{sdidParamExpiry:n});return p(a)&&v(a[vg])&&a[vg]()?a:null}function En(e,t){if(!v(e.getVisitorValues))return He({});var n=[rg,ng,ag];return t&&n.push(ig),Ue((function(t){e.getVisitorValues((function(e){return t(e)}),n)}))}function Tn(e){return _e(mg,e),{}}function Pn(e,t,n){return o(e)?He({}):Qe(En(e,n),t,dg).catch(Tn)}function Sn(e,t){if(!v(e.getVisitorValues))return{};var n=[rg,ng,ag];t&&n.push(ig);var a={};return e.getVisitorValues((function(e){return au(a,e)}),n),a}function wn(e,t){return o(e)?{}:Sn(e,t)}function _n(){var e=Z(),t=e[Uv],n=e[ad];return Cn(tu,t,n)}function In(){var e=_n(),t=Z();return Pn(e,t[Xv],t[td])}function Dn(){return wn(_n(),Z()[td])}function Ln(){return bn(_n())}function An(e){return kn(_n(),e)}function xn(e){return Vn(_n(),e)}function On(e,t){gg[e]=t}function jn(e){return gg[e]}function Nn(e){var t=e[yd];if(o(t))return!1;var n=t[kd];return!(!lu(n)||D(n))}function Fn(e){var t=e[Pv];if(!C(t)||D(t))return!1;var n=e[Qv];if(!C(n)||D(n))return!1;var a=e[qv];return!(!o(a)&&!N(a)||!v(e[xv]))}function Mn(e){return Ue((function(t,n){e((function(e,a){o(e)?t(a):n(e)}))}))}function Rn(e,t,n,a,r,i){var o={};o[e]=t,o[n]=a,o[r]=i;var s={};return s[bd]=o,s}function Un(e){var t=e[Pv],n=e[Qv],a=e[qv]||yg;return Qe(Mn(e[xv]),a,hg).then((function(e){var a=Rn(Pv,t,Qv,n,wv,e);return _e(fg,kv,a),Oe(a),e})).catch((function(e){var a=Rn(Pv,t,Qv,n,fv,e);return _e(fg,fv,a),Oe(a),{}}))}function Hn(e){var t=H((function(e,t){return au(e,t)}),{},e);return On(kd,t),t}function qn(e){return Nn(e)?Be(M(Un,f(Fn,e[yd][kd]))).then(Hn):He({})}function Gn(){var e=jn(kd);return o(e)?{}:e}function Bn(){return qn(tu)}function Qn(){return Gn()}function zn(e){var t=ee(e.location.search)[bg];return A(t)?null:t}function $n(){var e=dm(kg);return A(e)?null:e}function Jn(){var e=zn(tu),t=$n();return e||t}function Wn(e){return!D(e)&&2===e.length&&Iu(e[0])}function Kn(e){var t=e.indexOf("=");return-1===t?[]:[e.substr(0,t),e.substr(t+1)]}function Yn(e,t,n,a){k((function(e,r){p(e)?(t.push(r),Yn(e,t,n,a),t.pop()):D(t)?n[a(r)]=e:n[a(F(".",t.concat(r)))]=e}),e)}function Xn(e){return f((function(e,t){return Iu(t)}),ee(e))}function Zn(e){var t=H((function(e,t){return e.push(Kn(t)),e}),[],f(Iu,e));return H((function(e,t){return e[ne(L(t[0]))]=ne(L(t[1])),e}),{},f(Wn,t))}function ea(e,t){var n={};return o(t)?Yn(e,[],n,d):Yn(e,[],n,t),n}function ta(e){if(!v(e))return{};var t=null;try{t=e()}catch(e){return{}}return o(t)?{}:lu(t)?Zn(t):C(t)&&Iu(t)?Xn(t):p(t)?ea(t):{}}function na(e){return au({},e,ta(tu.targetPageParamsAll))}function aa(e){return au({},e,ta(tu.targetPageParams))}function ra(e){var t=Z(),n=t[Gv],a=t[sd],r=t[ld];return n!==e?na(a||{}):au(na(a||{}),aa(r||{}))}function ia(){var e=nu.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(o(t))return null;var n=t.getExtension("WEBGL_debug_renderer_info");if(o(n))return null;var a=t.getParameter(n.UNMASKED_RENDERER_WEBGL);return o(a)?null:a}function oa(){var e=tu.devicePixelRatio;if(!o(e))return e;e=1;var t=tu.screen,n=t.systemXDPI,a=t.logicalXDPI;return!o(n)&&!o(a)&&n>a&&(e=n/a),e}function sa(){var e=tu.screen,t=e.orientation,n=e.width,a=e.height;if(o(t))return n>a?"landscape":"portrait";if(o(t.type))return null;var r=G("-",t.type);if(D(r))return null;var i=r[0];return o(i)?null:i}function la(){return Vg}function ca(e){return e===Eg}function ua(e){return-1!==e.indexOf(Cg)}function pa(e){return e===Tg}function va(e){return e===Pg}function da(e){return e===Sg}function ma(e){return e===wg}function ga(e){return e===_g}function fa(e){return e===Ig}function ha(e){return ua(e)||ca(e)||pa(e)||va(e)||da(e)||ma(e)||ga(e)||fa(e)}function ya(e){return e.substring(Cg.length)}function ba(e){return e[Eg]}function ka(e){return e[Tg]}function Va(e){return e[Pg]}function Ca(e){return e[Sg]}function Ea(e){var t=M(L,G(",",e[wg]));return f(Iu,t)}function Ta(e){return e[_g]}function Pa(e){return e[Ig]}function Sa(e){return H((function(e,t,n){return ha(n)||(e[n]=o(t)?"":t),e}),{},e)}function wa(e){return H((function(e,t,n){if(!ua(n))return e;var a=ya(n);return A(a)||(e[a]=o(t)?"":t),e}),{},e)}function _a(e,t,n){return e.onload=function(){var a=1223===e.status?204:e.status;if(a<100||a>599)n(new Error(Lg));else{var r;try{r=JSON.parse(e.responseText)}catch(e){return void n(new Error(xg))}var i=e.getAllResponseHeaders();t({status:a,headers:i,response:r})}},e}function Ia(e,t){return e.onerror=function(){t(new Error(Lg))},e}function Da(e,t,n){return e.timeout=t,e.ontimeout=function(){n(new Error(Ag))},e}function La(e){return k((function(t,n){lu(t)&&k((function(t){e.setRequestHeader(n,t)}),t)}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),e}function Aa(e){var t=e.url,n=e.headers,a=e.body,r=e.timeout,i=e.async;return Ue((function(e,o){var s=new window.XMLHttpRequest;(s=Ia(s=_a(s,e,o),o)).open(Dg,t,i),s.withCredentials=!0,s=La(s,n),i&&(s=Da(s,r,o)),s.send(JSON.stringify(a))})).then((function(e){var t=e.response,n=t.status,a=t.message;if(!o(n)&&!o(a))throw new Error(a);return t}))}function xa(e){if(e[ig])throw new Error(tg);return e}function Oa(){var e=In(),t=Bn();return Be([e.then(xa),t])}function ja(){return[Dn(),Qn()]}function Na(e){var t=Z()[Gv];return au({},e,ra(t))}function Fa(){return-(new Date).getTimezoneOffset()}function Ma(){var e=tu.screen;return{width:e.width,height:e.height,orientation:sa(),colorDepth:e.colorDepth,pixelRatio:oa()}}function Ra(){var e=nu.documentElement;return{width:e.clientWidth,height:e.clientHeight}}function Ua(){return{host:tu.location.hostname,webGLRenderer:la()}}function Ha(){return{url:tu.location.href,referringUrl:nu.referrer}}function qa(e){if(!o(e)&&e.channel===Og)return e;var t=(e||{}).beacon;return{userAgent:tu.navigator.userAgent,timeOffsetInMinutes:Fa(),channel:Og,screen:Ma(),window:Ra(),browser:Ua(),address:Ha(), beacon:t}}function Ga(e,t){if(!o(e))return e;var n={};if(D(t))return n;var a=t[ag],r=parseInt(a,10);isNaN(r)||(n.locationHint=r);var i=t[ng];return Iu(i)&&(n.blob=i),n}function Ba(e){var t=e.id,n=e.integrationCode,a=e.authenticatedState,r={};return Iu(t)&&(r.id=t),Iu(n)&&(r.integrationCode=n),Iu(a)&&(r.authenticatedState=a),r}function Qa(e){return M(Ba,e)}function za(e,t,n,a,r){var i={};Iu(t)&&(i.tntId=t),Iu(n)&&(i.thirdPartyId=n),Iu(e.thirdPartyId)&&(i.thirdPartyId=e.thirdPartyId);var o=a[rg];return Iu(o)&&(i.marketingCloudVisitorId=o),Iu(e.marketingCloudVisitorId)&&(i.marketingCloudVisitorId=e.marketingCloudVisitorId),D(e.customerIds)?(D(r)||(i.customerIds=Qa(r)),i):(i.customerIds=e.customerIds,i)}function $a(e,t){var n={},a=Ga(e.audienceManager,t);return D(a)||(n.audienceManager=a),D(e.analytics)||(n.analytics=e.analytics),n}function Ja(e,t){if(!o(e)&&Iu(e.token))return e;var n={},a=ka(t);return Iu(a)&&(n.token=a),n}function Wa(e){if(!o(e)&&Iu(e.authorizationToken))return e;var t={},n=Jn();return Iu(n)&&(t.authorizationToken=n),t}function Ka(e){return o(e)?zt():e}function Ya(e){var t={},n=Va(e);o(n)||(t.id=n);var a=Ca(e),r=parseFloat(a);isNaN(r)||(t.total=r);var i=Ea(e);return D(i)||(t.purchasedProductIds=i),t}function Xa(e){var t={},n=Ta(e);o(n)||(t.id=n);var a=Pa(e);return o(a)||(t.categoryId=a),t}function Za(e,t){var n={},a=au({},Sa(t),e.parameters||{}),r=au({},wa(t),e.profileParameters||{}),i=au({},Ya(t),e.order||{}),o=au({},Xa(t),e.product||{});return D(a)||(n.parameters=a),D(r)||(n.profileParameters=r),D(i)||(n.order=i),D(o)||(n.product=o),n}function er(e,t){var n=e.index,a=e.name,r=e.address,i=Za(e,au({},t,ra(a)));return o(n)||(i.index=n),Iu(a)&&(i.name=a),D(r)||(i.address=r),i}function tr(e,t){var n=e.name,a=e.address,r=Za(e,t);return Iu(n)&&(r.name=n),D(a)||(r.address=a),r}function nr(e,t){var n=e.execute,a=void 0===n?{}:n,r={};if(D(a))return r;var i=a.pageLoad;o(i)||(r.pageLoad=Za(i,t));var s=a.mboxes;if(!o(s)&&lu(s)&&!D(s)){var l=f(Fg,M((function(e){return er(e,t)}),s));D(l)||(r.mboxes=l)}return r}function ar(e,t){var n=e.prefetch,a=void 0===n?{}:n,r={};if(D(a))return r;var i=a.mboxes;o(i)||!lu(i)||D(i)||(r.mboxes=M((function(e){return er(e,t)}),i));var s=a.views;return o(s)||!lu(s)||D(s)||(r.views=M((function(e){return tr(e,t)}),s)),r}function rr(e,t){if(Ke()&&!Xe())return null;var n=Z(),a=An(e),r=xn(lg),i=xn(cg),s=t.experienceCloud,l=(void 0===s?{}:s).analytics,c=void 0===l?{}:l,u=c.logging,p=c.supplementalDataId,v=c.trackingServer,d=c.trackingServerSecure,m={};return o(u)?m.logging=n[Kd]:m.logging=u,o(p)||(m.supplementalDataId=p),Iu(a)&&(m.supplementalDataId=a),o(v)||(m.trackingServer=v),Iu(r)&&(m.trackingServer=r),o(d)||(m.trackingServerSecure=d),Iu(i)&&(m.trackingServerSecure=i),D(m)?null:m}function ir(e,t,n){var a=Na(n),r=rt(),i=ba(a),o=Ln(),s=za(e.id||{},r,i,t,o),l=Ja(e.property,a),c=$a(e.experienceCloud||{},t),u=Wa(e.trace),p=Ka(e.qaMode),v=nr(e,a),d=ar(e,a),m=e.notifications,g={};return g.requestId=Q(),g.context=qa(e.context),D(s)||(g.id=s),D(l)||(g.property=l),D(u)||(g.trace=u),D(c)||(g.experienceCloud=c),D(p)||(g.qaMode=p),D(v)||(g.execute=v),D(d)||(g.prefetch=d),D(m)||(g.notifications=m),g}function or(e,t,n){var a=n[0],r=n[1];return ir(e,a,au({},r,t))}function sr(e,t){return Oa().then((function(n){return or(e,t,n)}))}function lr(e,t){return or(e,t,ja())}function cr(e,t){return N(t)?t<0?e[qv]:t:e[qv]}function ur(e){var t=e[Hv];if(!e[Zv])return t;var n=ot();return A(n)?t:""+jg+n+Ng}function pr(e){return e[id]+"//"+ur(e)+e[Vd]+"?"+te({client:e[Rv],sessionId:nt(),version:e[Qv]})}function vr(e,t){var n=Z(),a=pr(n),r=u({},Od,[jd]),i=cr(n,t),o={url:a,headers:r,body:e,timeout:i,async:!0};return _e(Av,e),Oe({request:e}),Aa(o).then((function(t){return _e(Lv,t),Oe({response:t}),{request:e,response:t}}))}function dr(e,t){return{status:kv,type:e,data:t}}function mr(e,t){return{status:fv,type:e,data:t}}function gr(e){return p(e)}function fr(e){return!!gr(e)&&Iu(e.eventToken)}function hr(e){return!D(e)&&!A(e.type)&&Iu(e.eventToken)}function yr(e){return!!hr(e)&&Iu(e.selector)}function br(e){var t=e.id;return p(t)&&Iu(t.tntId)}function kr(e){var t=e.response;return br(t)&&at(t.id.tntId),e}function Vr(e){var t=e.response;return br(t)&&st(t.id.tntId),st(null),e}function Cr(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).trace;D(e)||xe(e)}function Er(e){var t=e.response,n=t.execute,a=void 0===n?{}:n,r=t.prefetch,i=void 0===r?{}:r,o=a.pageLoad,s=void 0===o?{}:o,l=a.mboxes,c=void 0===l?[]:l,u=i.mboxes,p=void 0===u?[]:u,v=i.views,d=void 0===v?[]:v;return Cr(s),k(Cr,c),k(Cr,p),k(Cr,d),e}function Tr(e){var t=e.queryKey,n=t[nf];if(!C(n))return t;if(A(n))return t;var a=Math.round(U()/1e3);return t[nf]=n.replace(/\|TS=\d+/,"|TS="+a),t}function Pr(e){return e.queryKey}function Sr(e,t,n){var a=re(e),r=a.protocol,i=a.host,o=a.path,s=""===a.port?"":":"+a.port,l=A(a.anchor)?"":"#"+a.anchor,c=n(a),u=te(au({},c,t));return r+"://"+i+s+o+(A(u)?"":"?"+u)+l}function wr(e,t){return Sr(e,t,Tr)}function _r(e,t){return Sr(e,t,Pr)}function Ir(e){var t=e.content;if(A(t))return _e(sv,e),null;var n=au({},e);return n.content=wr(t,{}),n}function Dr(e){throw new Error(e)}function Lr(e){var t=e[cf]||sf,n=e[uf]||Dr(of),a=e[pf]||{},r=e[vf]||null,i=e[df]||!1,s=e[mf]||3e3,l=!!o(e[gf])||!0===e[gf],c={};return c[cf]=t,c[uf]=n,c[pf]=a,c[vf]=r,c[df]=i,c[mf]=s,c[gf]=l,c}function Ar(e,t,n){return e.onload=function(){var a=1223===e.status?204:e.status;if(a<100||a>599)n(new Error(af));else{var r=e.responseText,i=e.getAllResponseHeaders();t({status:a,headers:i,response:r})}},e}function xr(e,t){return e.onerror=function(){t(new Error(af))},e}function Or(e,t,n){return e.timeout=t,e.ontimeout=function(){n(new Error(rf))},e}function jr(e,t){return!0===t&&(e.withCredentials=t),e}function Nr(e,t){return k((function(t,n){k((function(t){return e.setRequestHeader(n,t)}),t)}),t),e}function Fr(e,t){var n=Lr(t),a=n[cf],r=n[uf],i=n[pf],o=n[vf],s=n[df],l=n[mf],c=n[gf];return Ue((function(t,n){var u=new e.XMLHttpRequest;(u=xr(u=Ar(u,t,n),n)).open(a,r,c),u=Nr(u=jr(u,s),i),c&&(u=Or(u,l,n)),u.send(o)}))}function Mr(e){return Fr(tu,e)}function Rr(e,t,n){var a={};return a[cf]=sf,a[uf]=_r(e,t),a[mf]=n,a}function Ur(e){return e>=200&&e<300||304===e}function Hr(e){if(!Ur(e.status))return null;var t=e.response;if(A(t))return null;var n={};return n.type=Tp,n.content=t,n}function qr(e){return Mr(Rr(e.content,{},Z()[mf])).then(Hr).catch((function(){return null}))}function Gr(e){var t=e[Qu];if(A(t))return"";var n=ff.exec(t);return D(n)||2!==n.length?"":n[1]}function Br(e,t){var n=document.createElement(Np);n.innerHTML=t;var a=n.firstElementChild;return o(a)?t:(a.id=e,a.outerHTML)}function Qr(e){var t=e[Fu],n=Gr(e);if(A(n)||A(t))return e;var a=e[Qu];return e[Qu]=a.replace(hf,""),e[Fu]=Br(n,t),e}function zr(e){return!o(e.selector)}function $r(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Jr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Wr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Kr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Yr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Xr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function Zr(e){if(!zr(e))return null;var t=Qr(e);return C(t[Fu])?t:(_e(tv,t),null)}function ei(e){return zr(e)?C(e[Fu])?e:(_e(tv,e),null):null}function ti(e){return zr(e)?p(e[Fu])?e:(_e(nv,e),null):null}function ni(e){return zr(e)?C(e[Fu])?e:(_e(lv,e),null):null}function ai(e){return zr(e)?p(e[Fu])?e:(_e(av,e),null):null}function ri(e){return zr(e)?p(e[Fu])?e:(_e(rv,e),null):null}function ii(e){return zr(e)?p(e[Fu])?e:(_e(iv,e),null):null}function oi(e){return zr(e)?e:null}function si(e){return zr(e)?p(e[Fu])?e:(_e(ov,e),null):null}function li(e){var t=e.content;return A(t)?(_e(sv,e),null):(e.content=wr(t,{}),e)}function ci(e){var t=e[Nu];if(A(t))return null;switch(t){case $u:return $r(e);case Wu:return Jr(e);case up:return Wr(e);case vp:return Kr(e);case mp:return Yr(e);case lp:return Xr(e);case cp:return Zr(e);case rp:return ei(e);case Yu:return ti(e);case Xu:return ni(e);case Zu:return ai(e);case tp:return ri(e);case np:return ii(e);case ap:return oi(e);case ep:return si(e);case ip:return li(e);default:return null}}function ui(e){var t=e[Fu];if(!lu(t))return null;if(D(t))return null;var n=f(yf,M(ci,t));if(D(n))return null;var a=au({},e);return a.content=n,a}function pi(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).options;return lu(e)?D(e)?[]:Bg(M($g,e)):[]}function vi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.execute,n=void 0===t?{}:t,a=e.prefetch,r=void 0===a?{}:a,i=n.pageLoad,o=void 0===i?{}:i,s=n.mboxes,l=void 0===s?[]:s,c=r.mboxes,u=void 0===c?[]:c,p=r.views,v=void 0===p?[]:p,d=pi(o),m=y(M(pi,l)),g=y(M(pi,u)),f=y(M(pi,v));return y([d,m,g,f])}function di(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).execute,t=void 0===e?{}:e,n=t.pageLoad,a=void 0===n?{}:n,r=t.mboxes,i=void 0===r?[]:r,o=Qg(a)||[],s=y(Bg(M(Qg,i))),l=y([o,s]),c=y(M(zg,f(qg,l))),u=f(Gg,l),p=f(Gg,c),v=u.concat(p),d={};if(D(v))return d;var m=v[0].content;return A(m)||(d.url=m),d}function mi(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).analytics;return D(e)?[]:[e]}function gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.execute,n=void 0===t?{}:t,a=e.prefetch,r=void 0===a?{}:a,i=n.pageLoad,o=void 0===i?{}:i,s=n.mboxes,l=void 0===s?[]:s,c=r.mboxes,u=void 0===c?[]:c,p=r.views,v=void 0===p?[]:p,d=mi(o),m=y(M(mi,l)),g=y(M(mi,u)),f=y(M(mi,v));return y([d,m,g,f])}function fi(e,t){e.parameters=t.parameters,e.profileParameters=t.profileParameters,e.order=t.order,e.product=t.product}function hi(e,t){var n=t[0],a=t[1],r=!D(n),i=!D(a);return r||i?(r&&(e.options=n),i&&(e.metrics=a),e):e}function yi(e){switch(e.type){case ip:return He(Ir(e));case Pp:return qr(e);case _v:return He(ui(e));default:return He(e)}}function bi(e,t){if(!lu(e))return He([]);if(D(e))return He([]);var n=f(t,e);return D(n)?He([]):Be(M((function(e){return yi(e)}),n)).then(Bg)}function ki(e,t){return lu(e)?D(e)?He([]):He(f(t,e)):He([])}function Vi(e){var t=e.response.execute;if(!p(t))return He(null);var n=t.pageLoad;if(!p(n))return He(null);var a=n.analytics,r=n.options,i=n.metrics,o={analytics:a};return Be([bi(r,gr),ki(i,yr)]).then((function(e){return hi(o,e)}))}function Ci(e){var t=e.name,n=e.analytics,a=e.options,r=e.metrics,i={name:t,analytics:n};return Be([bi(a,gr),ki(r,hr)]).then((function(e){return hi(i,e)}))}function Ei(e){var t=e.response.execute;if(!p(t))return He([]);var n=t.mboxes;return!lu(n)||D(n)?He([]):Be(M(Ci,f(Kg,n))).then(Bg)}function Ti(e,t,n){return e.index===t&&e.name===n}function Pi(e,t,n){var a=e.prefetch,r=(void 0===a?{}:a).mboxes,i=void 0===r?[]:r;return D(i)?null:h(f((function(e){return Ti(e,t,n)}),i))}function Si(e,t){var n=t.index,a=t.name,r=t.state,i=t.analytics,s=t.options,l=t.metrics,c=Pi(e,n,a),u={name:a,state:r,analytics:i};return o(c)||fi(u,c),Be([bi(s,fr),ki(l,hr)]).then((function(e){return hi(u,e)}))}function wi(e){var t=e.request,n=e.response.prefetch;if(!p(n))return He([]);var a=n.mboxes;return!lu(a)||D(a)?He([]):Be(M((function(e){return Si(t,e)}),f(Yg,a))).then(Bg)}function _i(e){var t=e.prefetch,n=(void 0===t?{}:t).views,a=void 0===n?[]:n;return D(a)?null:a[0]}function Ii(e,t){var n=t.name,a=t.state,r=t.analytics,i=t.options,s=t.metrics,l=_i(e),c={name:n.toLowerCase(),state:a,analytics:r};return o(l)||fi(c,l),Be([bi(i,fr),ki(s,yr)]).then((function(e){return hi(c,e)}))}function Di(e){var t=e.request,n=e.response.prefetch;if(!p(n))return He([]);var a=n.views;return!lu(a)||D(a)?He([]):Be(M((function(e){return Ii(t,e)}),f(Xg,a))).then(Bg)}function Li(e){var t=e.response.prefetch;return p(t)?ki(t.metrics,yr):He([])}function Ai(e){var t=e[0],n=e[1],a=e[2],r=e[3],i=e[4],o={},s={};p(t)&&(s.pageLoad=t),D(n)||(s.mboxes=n);var l={};return D(a)||(l.mboxes=a),D(r)||(l.views=r),D(i)||(l.metrics=i),D(s)||(o.execute=s),D(l)||(o.prefetch=l),o}function xi(e){var t=b([Er,kr,Vr])(e);return Be([Vi(t),Ei(t),wi(t),Di(t),Li(t)]).then(Ai)}function Oi(e){return!D(di(e))}function ji(e){var t=vi(e),n={};return D(t)||(n.responseTokens=t),n}function Ni(e){var t=ji(e),n=gi(e);return D(n)||(t.analyticsDetails=n),_e(Xp,e),mt(t,Oi(e)),He(e)}function Fi(e,t){var n=ji(t);return n.mbox=e,_e(Xp,t),mt(n,Oi(t)),He(t)}function Mi(e){return we(Yp,e),gt({error:e}),qe(e)}function Ri(e,t){return we(Yp,t),gt({mbox:e,error:t}),qe(t)}function Ui(e){var t=Z()[Gv],n=e.mbox,a=e.timeout,r=p(e.params)?e.params:{},i=function(e){return Fi(n,e)},o=function(e){return Ri(n,e)},s={},l={};n===t?l.pageLoad={}:l.mboxes=[{index:0,name:n}],s.execute=l;var c=rr(n,s);if(!D(c)){var u={};u.analytics=c,s.experienceCloud=u}return dt({mbox:n}),sr(s,r).then((function(e){return vr(e,a)})).then(xi).then(i).catch(o)}function Hi(e){var t=Z()[Gv],n=e.consumerId,a=void 0===n?t:n,r=e.request,i=e.timeout,o=rr(a,r),s=function(e){return Ni(e)},l=function(e){return Mi(e)};if(!D(o)){var c=r.experienceCloud||{};c.analytics=o,r.experienceCloud=c}return dt({}),sr(r,{}).then((function(e){return vr(e,i)})).then(xi).then(s).catch(l)}function qi(e,t){return Tt(t).addClass(e)}function Gi(e,t){return Tt(t).css(e)}function Bi(e,t){return Tt(t).attr(e)}function Qi(e,t,n){return Tt(n).attr(e,t)}function zi(e,t){return Tt(t).removeAttr(e)}function $i(e,t,n){var a=Bi(e,n);Iu(a)&&(zi(e,n),Qi(t,a,n))}function Ji(e,t){return Iu(Bi(e,t))}function Wi(e){return new Error("Could not find: "+e)}function Ki(e,t,n){return Ue((function(a,i){var o=Ne((function(){var t=n(e);D(t)||(o.disconnect(),a(t))}));r((function(){o.disconnect(),i(Wi(e))}),t),o.observe(nu,{childList:!0,subtree:!0})}))}function Yi(){return nu[bf]===kf}function Xi(e,t,n){return Ue((function(a,i){function o(){var t=n(e);D(t)?tu.requestAnimationFrame(o):a(t)}o(),r((function(){i(Wi(e))}),t)}))}function Zi(e,t,n){return Ue((function(a,i){function o(){var t=n(e);D(t)?r(o,Vf):a(t)}o(),r((function(){i(Wi(e))}),t)}))}function eo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z()[Yv],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tt,a=n(e);return D(a)?je()?Ki(e,t,n):Yi()?Xi(e,t,n):Zi(e,t,n):He(a)}function to(e){return Bi(Cp,e)}function no(e){return Ji(Cp,e)}function ao(e){return k((function(e){return $i(wp,Cp,e)}),I(At(jp,e))),e}function ro(e){return k((function(e){return $i(Cp,wp,e)}),I(At(jp,e))),e}function io(e){return _e(uv,e),Bi(wp,Qi(wp,e,wt("<"+jp+"/>")))}function oo(e){var t=f(no,I(At(jp,e)));return D(t)||k(io,M(to,t)),e}function so(e){return b([ao,oo,ro])(e)}function lo(e){var t=Bi(wp,e);return Iu(t)?t:null}function co(e){return f(Iu,M(lo,I(At(Sp,e))))}function uo(e){return H((function(e,t){return e.then((function(){return _e(gv,t),Oe({remoteScript:t}),su(t)}))}),He(),e)}function po(e){return e}function vo(e,t){return we(Kp,t),Oe({action:e,error:t}),e}function mo(e,t){var n,a=Tt(t[Qu]),r=so(St(t[Fu])),i=co(r);try{n=He(e(a,r))}catch(e){return qe(vo(t,e))}return D(i)?n.then((function(){return po(t)})).catch((function(e){return vo(t,e)})):n.then((function(){return uo(i)})).then((function(){return po(t)})).catch((function(e){return vo(t,e)}))}function go(e){var t=St(e);return F("",H((function(e,t){return e.push(Zt(St(t))),e}),[],I(At(Cf,t))))}function fo(e){var t=au({},e),n=t[Fu];if(A(n))return t;var a=Tt(t[Qu]);return Lt(Lp,a)?(t[Nu]=up,t[Fu]=go(n),t):t}function ho(e){return e.indexOf("px")===e.length-2?e:e+"px"}function yo(e,t){return Xt(Zt(t),e)}function bo(e){return _e(ev,e),mo(yo,e)}function ko(e){var t=Tt(e[Qu]),n=e[Fu];return _e(ev,e),Oe({action:e}),en(n,t),He(e)}function Vo(e,t){return Kt(Zt(t),e)}function Co(e){return _e(ev,e),mo(Vo,e)}function Eo(e,t){return Yt(Zt(t),e)}function To(e){return _e(ev,e),mo(Eo,e)}function Po(e,t){var n=Dt(e);return $t(Wt(Zt(t),e)),n}function So(e){return _e(ev,e),mo(Po,e)}function wo(e,t){return _t(Wt(Zt(t),e))}function _o(e){return _e(ev,e),mo(wo,e)}function Io(e,t){return It(Jt(Zt(t),e))}function Do(e){return _e(ev,e),mo(Io,e)}function Lo(e,t){return Dt(Wt(Zt(t),e))}function Ao(e){return _e(ev,e),mo(Lo,e)}function xo(e){var t=e[Fu],n=Tt(e[Qu]);return _e(ev,e),Oe({action:e}),zi(wp,n),Qi(wp,io(t),n),He(e)}function Oo(e){var t=e[Fu],n=Tt(e[Qu]);return _e(ev,e),Oe({action:e}),k((function(e,t){return Qi(t,e,n)}),t),He(e)}function jo(e,t,n){k((function(e){k((function(t,a){return e.style.setProperty(a,t,n)}),t)}),I(e))}function No(e){var t=Tt(e[Qu]),n=e[Fu],a=n[Bu];return _e(ev,e),Oe({action:e}),A(a)?Gi(n,t):jo(t,n,a),He(e)}function Fo(e){var t=Tt(e[Qu]),n=e[Fu];return n[Ru]=ho(n[Ru]),n[Mu]=ho(n[Mu]),_e(ev,e),Oe({action:e}),Gi(n,t),He(e)}function Mo(e){var t=Tt(e[Qu]),n=e[Fu];return n[Uu]=ho(n[Uu]),n[Hu]=ho(n[Hu]),_e(ev,e),Oe({action:e}),Gi(n,t),He(e)}function Ro(e){var t=Tt(e[Qu]);return _e(ev,e),Oe({action:e}),$t(t),He(e)}function Uo(e){var t=Tt(e[Qu]),n=e[Fu],a=n[qu],r=n[Gu],i=I(xt(t)),o=i[a],s=i[r];return Pt(o)&&Pt(s)?(_e(ev,e),Oe({action:e}),a<r?Jt(o,s):Wt(o,s),He(e)):(_e(cv,e),qe(e))}function Ho(e){var t=fo(e);switch(t[Nu]){case $u:return bo(t);case Wu:return ko(t);case up:return Co(t);case vp:return To(t);case mp:return So(t);case lp:return _o(t);case cp:return Do(t);case rp:return Ao(t);case Yu:return Oo(t);case Xu:return xo(t);case Zu:return No(t);case tp:return Fo(t);case np:return Mo(t);case ap:return Ro(t);case ep:return Uo(t);default:return He(t)}}function qo(e){return e[Nu]===op||e[Nu]===sp}function Go(e){var t=e[Qu];return Iu(t)||j(t)}function Bo(e){var t=e.key;if(!A(t)&&Go(e)){var n=e[Qu];Qi(Ef,t,n)}}function Qo(e){var t=e[zu];A(t)||dn(t)}function zo(e){if(Go(e)){var t=e[Qu];qo(e)?qi(Fv,t):(qi(Nv,t),Qo(e))}else Qo(e)}function $o(e){k(zo,e)}function Jo(e){var t=e.key;if(A(t))return!0;if(e[Nu]===rp)return e[wd];var n=e[Qu],a=Bi(Ef,n);return a!==t||a===t&&!e[wd]}function Wo(e){return Jo(e)?Ho(e).then((function(){return _e(Zp,e),Oe({action:e}),Bo(e),zo(e),e})).catch((function(t){we(Kp,t),Oe({action:e,error:t}),zo(e);var n=au({},e);return n[fv]=!0,n})):(zo(e),e)}function Ko(e){var t=f((function(e){return!0===e[fv]}),e);return D(t)?He():($o(t),qe(e))}function Yo(e){return eo(e[Qu]).then((function(){return e})).catch((function(){var t=au({},e);return t[fv]=!0,t}))}function Xo(e){return Yo(e).then(Wo)}function Zo(e){return Be(M(Xo,e)).then(Ko)}function es(e,t,n){return Tt(n).on(e,t)}function ts(e,t,n){return Tt(n).off(e,t)}function ns(e){return eo(e[Qu]).then((function(){return Oe({metric:e}),au({found:!0},e)})).catch((function(){return we(Tf,e),Oe({metric:e,message:Tf}),e}))}function as(e,t,n){return e[Pf][Sf](t,n)}function rs(e,t,n){var a={};a[Od]=[jd];var r={};r[cf]=lf,r[uf]=t,r[vf]=n,r[df]=!0,r[gf]=!1,r[pf]=a;try{e(r)}catch(e){return!1}return!0}function is(e){return Pf in e&&Sf in e[Pf]}function os(e,t){return is(tu)?as(tu,e,t):rs(Mr,e,t)}function ss(e){var t=e.name,n=jn(Id)||{};n[t]=e,On(Id,n)}function ls(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.page,a=void 0===n||n,r=(jn(Id)||{})[e];if(o(r))return r;var i=t.impressionId;return o(i)?r:au({page:a,impressionId:i},r)}function cs(e){k(ss,e)}function us(e){var t=rr(e,{}),n={context:{beacon:!0}};if(!D(t)){var a={};a.analytics=t,n.experienceCloud=a}return n}function ps(e,t,n){var a=lr(us(e),t);return a.notifications=n,a}function vs(e,t,n){return sr(us(e),t).then((function(e){return e.notifications=n,e}))}function ds(e,t,n){var a={id:Q(),type:t,timestamp:U(),parameters:e.parameters,profileParameters:e.profileParameters,order:e.order,product:e.product};return D(n)||(a.tokens=n),a}function ms(e,t,n){var a=e.name,r=e.state,i=ds(e,t,n);return i.mbox={name:a,state:r},i}function gs(e,t,n){var a=e.name,r=e.state,i=ds(e,t,n);return i.view={name:a,state:r},i}function fs(e){var t=pr(Z());return os(t,JSON.stringify(e))?(_e(wf,t,e),!0):(we(_f,t,e),!1)}function hs(e,t,n){var a=ra(Z()[Gv]),r=ds(Za({},a),t,[n]),i=ps(Q(),a,[r]);_e(Af,e,r),Oe({source:e,event:t,request:i}),fs(i)}function ys(e,t,n){var a=ra(e),r=ds(Za({},a),t,[n]);r.mbox={name:e};var i=ps(e,a,[r]);_e(xf,e,r),Oe({mbox:e,event:t,request:i}),fs(i)}function bs(e){var t=Z()[Gv],n=[],a=xd;if(k((function(e){var t=e.mbox,r=e.data;if(!o(r)){var i=r.eventTokens,s=void 0===i?[]:i;D(s)||n.push(ms(t,a,s))}}),e),!D(n)){var r=ps(t,{},n);_e(Lf,n),Oe({source:jf,event:Nf,request:r}),fs(r)}}function ks(e,t,n){var a=ra(Z()[Gv]),r=ds(Za({},a),t,[n]);r.view={name:e};var i=ps(Q(),a,[r]);_e(Of,e,r),Oe({view:e,event:t,request:i}),fs(i)}function Vs(e){var t=e.viewName,n=e.impressionId,a=ra(Z()[Gv]),r=ds(Za({},a),xd,[]);r.view={name:t},_e(If,t),vs(t,a,[r]).then((function(e){e.impressionId=n,Oe({view:t,event:Ff,request:e}),fs(e)}))}function Cs(e){if(!o(e)){var t=e.view,n=e.data,a=(void 0===n?{}:n).eventTokens,r=void 0===a?[]:a;if(!D(r)){var i=t.name,s=t.impressionId,l=ls(i);if(!o(l)){var c=ps(i,{},[gs(l,xd,r)]);c.impressionId=s,_e(Df,i,r),Oe({view:i,event:Nf,request:c}),fs(c)}}}}function Es(e,t){e===Dp&&qi(Fv,t)}function Ts(e,t){return!o(Mf[e])&&!o(Mf[e][t])}function Ps(e,t,n){if(o(Mf[e])){var a=g(Mf);D(a)||k((function(e){k((function(a){var r=Mf[e][a];ts(t,r,n)}),g(Mf[e])),delete Mf[e]}),a)}}function Ss(e,t,n){Mf[e]=Mf[e]||{},Mf[e][t]=n}function ws(e,t,n,a){var r=n.type,i=n.selector,o=n.eventToken,s=E(r+":"+i+":"+o),l=function(){return a(e,r,o)};Es(r,i),t?Ts(e,s)||(Ps(e,r,i),Ss(e,s,l),es(r,l,i)):es(r,l,i)}function _s(e,t,n,a){return Be(M(ns,n)).then((function(n){return k((function(n){return ws(e,t,n,a)}),f((function(e){return e.found}),n)),qf()})).catch(Gf)}function Is(e){return _s(e.name,!1,Hf(e),ys)}function Ds(e){return _s(e.name,!0,Hf(e),ks)}function Ls(e){return _s(Rf,!1,Hf(e),hs)}function As(e){return _s(Uf,!1,Hf(e),hs)}function xs(e){var t=M(Qf,e);pn(Bg(t))}function Os(e){var t=M(Qf,e);vn(Bg(t))}function js(e){var t=f(qg,Qg(e));return y(M(Bf,t))}function Ns(e){return p(e)&&e.type!==Ku}function Fs(e,t,n){return M((function(e){return au({key:t,page:n},e)}),f(Ns,e))}function Ms(e,t,n){var a=e.eventToken;return Zo(Fs(e.content,t,n)).then((function(){return zf(a)})).catch($f)}function Rs(e){return p(e)&&e.type!==Ep}function Us(e,t){return M(e,f(Rs,Qg(t)))}function Hs(e,t,n){var a=u({status:kv},e,t),r=M(ef,f(Hg,n)),i={};return D(r)||(a.status=fv,i.errors=r),D(i)||(a.data=i),a}function qs(e,t,n){var a=u({status:kv},e,t),r=M(ef,f(Hg,n)),i=M(ef,f(Jf,n)),o={};return D(r)||(a.status=fv,o.errors=r),D(i)||(o.eventTokens=i),D(o)||(a.data=o),a}function Gs(e,t,n){return Be(Us((function(e){return Ms(e,!0)}),e)).then(t).then((function(t){return n(e),t}))}function Bs(e,t,n,a){var r=t.name;return Be(Us((function(e){return Ms(e,r,n)}),t)).then((function(n){return qs(e,t,n)})).then((function(e){return a(t),e}))}function Qs(e){return Gs(e,(function(t){return Hs(Ev,e,t)}),Is)}function zs(e){return Bs(Ev,e,!0,Is)}function $s(e){xs(js(e))}function Js(e){if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])){var t=e.execute,n=(void 0===t?{}:t).pageLoad,a=void 0===n?{}:n;D(a)||$s(a)}}function Ws(e){var t=e.prefetch,n=(void 0===t?{}:t).views,a=void 0===n?[]:n;D(a)||Os(y(M(js,a)))}function Ks(e){xs(js(e)),mn()}function Ys(e){return Gs(e,(function(t){return Hs(Ov,e,t)}),Ls)}function Xs(e){return Be(M(Qs,e))}function Zs(e){return Be(M(zs,e))}function el(e){return Be([As(e)]).then(Hs)}function tl(e){var t=e.page;return Bs(_d,e,t,Ds)}function nl(){}function al(){return new Wf}function rl(e,t,n){e.emit(t,n)}function il(e,t,n){e.on(t,n)}function ol(e,t){rl(Yf,e,t)}function sl(e,t){il(Yf,e,t)}function ll(e){return{type:ip,content:e.url}}function cl(e){var t={};return t.type=$u,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function ul(e){var t={};return t.type=Wu,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function pl(e){var t={};return t.type=up,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function vl(e){var t={};return t.type=vp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function dl(e){var t={};return t.type=mp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function ml(e){var t={};return t.type=lp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function gl(e){var t={};return t.type=cp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function fl(e){var t={};return t.type=rp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function hl(e){var t={};if(t.selector=e.selector,t.cssSelector=e.cssSelector,e.attribute===wp)return t.type=Xu,t.content=e.value,t;t.type=Yu;var n={};return n[e.attribute]=e.value,t.content=n,t}function yl(e){var t=e.style,n=void 0===t?{}:t,a={};return a.selector=e.selector,a.cssSelector=e.cssSelector,o(n.left)||o(n.top)?o(n.width)||o(n.height)?(a.type=Zu,a.content=n,a):(a.type=tp,a.content=n,a):(a.type=np,a.content=n,a)}function bl(e){var t={};return t.type=ap,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function kl(e){var t={};t.from=e.from,t.to=e.to;var n={};return n.type=ep,n.selector=e.selector,n.cssSelector=e.cssSelector,n.content=t,n}function Vl(e){return Iu(e.selector)&&Iu(e.cssSelector)}function Cl(e){var t={};if(D(e))return t;var n=[],a=[],r=[];k((function(e){switch(e.action){case Ju:Vl(e)?r.push(cl(e)):n.push({type:Tp,content:e.content});break;case Ku:D(e.content)||k((function(e){return n.push({type:Ep,content:e})}),e.content);break;case Wu:r.push(ul(e));break;case pp:r.push(pl(e));break;case dp:r.push(vl(e));break;case gp:r.push(dl(e));break;case lp:r.push(ml(e));break;case cp:r.push(gl(e));break;case rp:r.push(fl(e));break;case Yu:r.push(hl(e));break;case Zu:r.push(yl(e));break;case ap:r.push(bl(e));break;case ep:r.push(kl(e));break;case ip:n.push(ll(e));break;case op:a.push({type:Dp,selector:e.selector,eventToken:e.clickTrackId})}}),e);var i={};if(!D(r)&&n.push({type:_v,content:r}),!D(n)&&(i.options=n),!D(a)&&(i.metrics=a),D(i))return t;var o={};return o.pageLoad=i,t.execute=o,t}function El(e,t){var n={};if(D(t))return n;var a=[],r=[];k((function(e){switch(e.action){case Ju:a.push({type:Tp,content:e.content});break;case Ku:D(e.content)||k((function(e){return a.push({type:Ep,content:e})}),e.content);break;case ip:a.push(ll(e));break;case sp:r.push({type:Dp,eventToken:e.clickTrackId})}}),t);var i={name:e};if(!D(a)&&(i.options=a),!D(r)&&(i.metrics=r),D(i))return n;var o={},s=[i];return o.mboxes=s,n.execute=o,n}function Tl(e,t,n){return n?Cl(t):El(e,t)}function Pl(e){var t=e.status,n=e.data,a={status:t,pageLoad:!0};return o(n)||(a.data=n),a}function Sl(e){var t=e.status,n=e.mbox,a=e.data,r={status:t,mbox:n.name};return o(a)||(r.data=a),r}function wl(e){var t=e.status,n=e.view,a=e.data,r={status:t,view:n.name};return o(a)||(r.data=a),r}function _l(e){var t=e.status,n=e.data,a={status:t,prefetchMetrics:!0};return o(n)||(a.data=n),a}function Il(e){if(o(e))return[null];var t=M(Pl,[e]);return nh(t)&&we(Xf,e),t}function Dl(e){if(o(e))return[null];var t=M(Sl,e);return nh(t)&&we(Zf,e),t}function Ll(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bs;if(o(e))return[null];var n=M(Sl,e);return nh(n)&&we(Zf,e),t(e),n}function Al(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cs;if(o(e))return[null];var n=M(wl,[e]);return nh(n)&&we(eh,e),e.view.page?(t(e),n):n}function xl(e){if(o(e))return[null];var t=M(_l,[e]);return nh(t)&&we(th,e),t}function Ol(e){var t=y([Il(e[0]),Dl(e[1]),Ll(e[2]),xl(e[3])]),n=f(Ug,t),a=f(Hg,n);return D(a)?He(n):qe(a)}function jl(e){return qe(e)}function Nl(e,t){if(!D(t)){var n=t.options;D(n)||k((function(t){if(t.type===Tp){var n=$u,a=t.content;t.type=_v,t.content=[{type:n,selector:e,content:a}]}}),n)}}function Fl(e,t){var n=t.metrics;if(!D(n)){var a=t.name;k((function(t){t.name=a,t.selector=t.selector||e}),n)}}function Ml(e,t){var n=au({},t),a=n.execute,r=void 0===a?{}:a,i=n.prefetch,o=void 0===i?{}:i,s=r.pageLoad,l=void 0===s?{}:s,c=r.mboxes,u=void 0===c?[]:c,p=o.mboxes,v=void 0===p?[]:p;return Nl(e,l),k((function(t){return Nl(e,t)}),u),k((function(t){return Fl(e,t)}),u),k((function(t){return Nl(e,t)}),v),k((function(t){return Fl(e,t)}),v),n}function Rl(e){var t=e.prefetch,n=(void 0===t?{}:t).views,a=void 0===n?[]:n;D(a)||cs(a)}function Ul(e){var t=[],n=e.execute,a=void 0===n?{}:n,r=a.pageLoad,i=void 0===r?{}:r,o=a.mboxes,s=void 0===o?[]:o;D(i)?t.push(He(null)):t.push(Ys(i)),D(s)?t.push(He(null)):t.push(Xs(s));var l=e.prefetch,c=void 0===l?{}:l,u=c.mboxes,p=void 0===u?[]:u,v=c.metrics,d=void 0===v?[]:v;return D(p)?t.push(He(null)):t.push(Zs(p)),lu(d)&&!D(d)?t.push(el(c)):t.push(He(null)),un(),Be(t).then(Ol).catch(jl)}function Hl(e,t){r((function(){return e.location.replace(t)}))}function ql(e){return Iu(e)||j(e)?e:Lp}function Gl(e){qi(Nv,e)}function Bl(e){var t=e.mbox,n=e.selector,a=e.offer,r=Z(),i=t===r[Gv];if(D(a))return _e(dv),Gl(n),un(),void bt({mbox:t});var o=Ml(n,Tl(t,a,i)),s=di(o);if(!D(s)){var l=s.url;return _e(mv,s),kt({url:l}),void Hl(tu,l)}ft({mbox:t}),Js(o),Ul(o).then((function(e){D(e)||ht({mbox:t,execution:e})})).catch((function(e){return yt({error:e})}))}function Ql(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.selector,a=e.response;if(D(a))return _e(dv),Gl(n),un(),bt({}),ol(tm),He();var r=Ml(n,a),i=di(r);if(!D(i)){var o=i.url;return _e(mv,i),kt({url:o}),ol(nm),Hl(tu,o),He()}return ft({}),Rl(r),ol(em),Js(r,t),Ul(r).then((function(e){D(e)||ht({execution:e})})).catch((function(e){return yt({error:e})}))}function zl(e){var t=e[Yd];if(D(t))return!1;var n=t.request,a=t.response;return!D(n)&&!D(a)}function $l(e){return e[Yd]}function Jl(e){we(ah,Fd,e),Oe({source:ah,error:e}),un()}function Wl(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={selector:Lp,response:e};_e(ah,Lv,e),Oe({source:ah,response:e}),Ql(n,t).catch(Jl)}function Kl(e,t){var n=au({},t),a=n.execute,r=n.prefetch,i=e[Ed],o=e[Cd];return a&&(n.execute.mboxes=null),a&&!i&&(n.execute.pageLoad=null),r&&(n.prefetch.mboxes=null),r&&!o&&(n.prefetch.views=null),n}function Yl(e){var t=$l(e),n=t.request,a=t.response,r=!0;_e(ah,Ud),Oe({source:ah,serverState:t});var i=Kl(e,a);Js(i),Ws(i),xi({request:n,response:i}).then((function(e){return Wl(e,r)})).catch(Jl)}function Xl(){if(!Ve())return we(ah,Fp),void Oe({source:ah,error:Fp});var e=Z();if(zl(e))Yl(e);else{var t=e[Ed],n=e[Cd];if(!t&&!n)return _e(ah,Rd),void Oe({source:ah,error:Rd});cn();var a={};if(t){var r={pageLoad:{}};a.execute=r}if(n){var i={views:[{}]};a.prefetch=i}var o=e[qv];_e(ah,Av,a),Oe({source:ah,request:a});var s={request:a,timeout:o};Ke()&&!Ye()?Ze().then((function(){Hi(s).then(Wl).catch(Jl)})).catch(Jl):Hi(s).then(Wl).catch(Jl)}}function Zl(){var e={};return e[bv]=!0,e}function ec(e){var t={};return t[bv]=!1,t[fv]=e,t}function tc(e){return A(e)?ec(Qp):e.length>Vp?ec(zp):Zl()}function nc(e){if(!p(e))return ec(Rp);var t=tc(e[Ev]);return t[bv]?v(e[kv])?v(e[fv])?Zl():ec(Jp):ec($p):t}function ac(e){if(!p(e))return ec(Rp);var t=e.request;if(!p(t))return ec(Up);var n=t.execute,a=t.prefetch;return p(n)||p(a)?Zl():ec(qp)}function rc(e){if(!p(e))return ec(Rp);var t=e.request;if(!p(t))return ec(Up);var n=t.execute,a=t.prefetch,r=t.notifications;return p(n)||p(a)?ec(Gp):lu(r)?Zl():ec(Bp)}function ic(e){if(!p(e))return ec(Rp);var t=tc(e[Ev]);if(!t[bv])return t;var n=e[Tv];return lu(n)?Zl():ec(Wp)}function oc(e){return p(e)?p(e.response)?Zl():ec(Hp):ec(Rp)}function sc(e){if(!p(e))return ec(Rp);var t=tc(e[Ev]);return t[bv]?Zl():t}function lc(e){return{action:ip,url:e.content}}function cc(e){var t={};return t.action=Ju,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function uc(e){var t={};return t.action=Wu,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function pc(e){var t={};return t.action=pp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function vc(e){var t={};return t.action=dp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function dc(e){var t={};return t.action=gp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function mc(e){var t={};return t.action=lp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function gc(e){var t={};return t.action=cp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function fc(e){var t={};return t.action=rp,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function hc(e){var t=g(e.content)[0],n={};return n.action=Yu,n.attribute=t,n.value=e.content[t],n.selector=e.selector,n.cssSelector=e.cssSelector,n}function yc(e){var t={};return t.action=Yu,t.attribute=wp,t.value=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function bc(e){var t={};return t.action=Zu,t.style=e.content,t.selector=e.selector, t.cssSelector=e.cssSelector,t}function kc(e){var t={};return t.action=Zu,t.style=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Vc(e){var t={};return t.action=Zu,t.style=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Cc(e){var t={};return t.action=ap,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Ec(e){var t={};return t.action=ep,t.from=e.content.from,t.to=e.content.to,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Tc(e){var t=[];return k((function(e){switch(e.type){case $u:t.push(cc(e));break;case Wu:t.push(uc(e));break;case up:t.push(pc(e));break;case vp:t.push(vc(e));break;case mp:t.push(dc(e));break;case lp:t.push(mc(e));break;case cp:t.push(gc(e));break;case rp:t.push(fc(e));break;case Yu:t.push(hc(e));break;case Xu:t.push(yc(e));break;case Zu:t.push(bc(e));break;case tp:t.push(kc(e));break;case np:t.push(Vc(e));break;case ap:t.push(Cc(e));break;case ep:t.push(Ec(e));break;case ip:t.push(lc(e))}}),e),t}function Pc(e){if(D(e))return[];var t=[];return k((function(e){e.type===Dp&&(Zg(e)?t.push({action:op,selector:e.selector,clickTrackId:e.eventToken}):t.push({action:sp,clickTrackId:e.eventToken}))}),e),t}function Sc(e){if(D(e))return[];var t=[],n=[],a=[],r=e.options,i=void 0===r?[]:r,o=e.metrics,s=void 0===o?[]:o;k((function(e){switch(e.type){case Tp:t.push(e.content);break;case Ep:n.push(e.content);break;case ip:a.push(lc(e));break;case _v:a.push.apply(a,Tc(e.content))}}),i),D(t)||a.push({action:Ju,content:t.join("")}),D(n)||a.push({action:Ku,content:n});var l=Pc(s);return D(l)||a.push.apply(a,l),a}function wc(e){var t=e.execute,n=void 0===t?{}:t,a=n.pageLoad,r=void 0===a?{}:a,i=n.mboxes,o=void 0===i?[]:i,s=[];return s.push.apply(s,Sc(r)),s.push.apply(s,y(M(Sc,o))),s}function _c(e,t){var n=wc(t);e[kv](n)}function Ic(e,t){var n=t[Sv]||yv;e[fv](n,t)}function Dc(e){var t=nc(e),n=t[fv];if(!t[bv])return we(rh,n),void Oe({source:rh,options:e,error:n});if(!Ve())return r(e[fv](hv,Fp)),we(rh,Fp),void Oe({source:rh,options:e,error:Fp});var a=function(t){return _c(e,t)},i=function(t){return Ic(e,t)};_e(rh,e),Oe({source:rh,options:e}),Ke()&&!Ye()?Ze().then((function(){Ui(e).then(a).catch(i)})):Ui(e).then(a).catch(i)}function Lc(e){var t=ac(e),n=t[fv];return t[bv]?Ve()?(_e(ih,e),Oe({source:ih,options:e}),!Ke()||Ye()?Hi(e):Ze().then((function(){return Hi(e)}))):(we(ih,Fp),Oe({source:ih,options:e,error:Fp}),qe(new Error(Fp))):(we(ih,n),Oe({source:ih,options:e,error:n}),qe(t))}function Ac(e){var t=ql(e.selector),n=ic(e),a=n[fv];return n[bv]?Ve()?(e.selector=t,_e(oh,e),Oe({source:oh,options:e}),void Bl(e)):(we(oh,Fp),Oe({source:oh,options:e,error:Fp}),void Gl(t)):(we(oh,e,a),Oe({source:oh,options:e,error:a}),void Gl(t))}function xc(e){var t=ql(e.selector),n=oc(e),a=n[fv];return n[bv]?Ve()?(e.selector=t,_e(sh,e),Oe({source:sh,options:e}),Ql(e)):(we(sh,Fp),Oe({source:sh,options:e,error:Fp}),Gl(t),qe(new Error(Fp))):(we(sh,e,a),Oe({source:sh,options:e,error:a}),Gl(t),qe(n))}function Oc(e){var t=Z()[Gv],n=e.consumerId,a=void 0===n?t:n,r=e.request,i=rc(e),o=i[fv];if(!i[bv])return we(lh,o),void Oe({source:lh,options:e,error:o});if(!Ve())return we(lh,Fp),void Oe({source:lh,options:e,error:Fp});_e(lh,e),Oe({source:lh,options:e});var s=ps(a,{},r.notifications);!Ke()||Ye()?fs(s):we(lh,Wd)}function jc(e,t){var n=t[Ev],a=au({},t),r=p(t.params)?t.params:{};return a[wv]=au({},ra(n),r),a[qv]=cr(e,t[qv]),a[kv]=v(t[kv])?t[kv]:R,a[fv]=v(t[fv])?t[fv]:R,a}function Nc(e){var t=e[Nu],n=e[Qu];return Iu(t)&&(Iu(n)||j(n))}function Fc(e){var t=e.mbox,n=p(e.params)?e.params:{},a=au({},ra(t),n),r=xd,i=ds(Za({},a),r,[]);if(i.mbox={name:t},fs(ps(t,a,[i])))return _e(pv,e),void e[kv]();we(vv,e),e[fv](yv,vv)}function Mc(e){if(Ke()&&!Ye())return we(vv,Wd),void e[fv](fv,Wd);Fc(e)}function Rc(e){return Mc(e),!e.preventDefault}function Uc(e){var t=e[Qu],n=e[Nu],a=I(Tt(t)),r=function(){return Rc(e)};k((function(e){return es(n,r,e)}),a)}function Hc(e){var t=sc(e),n=t[fv];if(!t[bv])return we(ch,n),void Oe({source:ch,options:e,error:n});var a=jc(Z(),e);if(!Ve())return we(ch,Fp),r(a[fv](hv,Fp)),void Oe({source:ch,options:e,error:Fp});_e(ch,a),Oe({source:ch,options:a}),Nc(a)?Uc(a):Mc(a)}function qc(e){return Ks(e),tl(e).then(Al).then((function(e){D(e)||ht({execution:e})})).catch((function(e){we(Nd,e),yt({error:e})}))}function Gc(){for(;ph.length>0;){var e=ph.pop(),t=ls(e.viewName,e);o(t)||qc(t)}}function Bc(){dh=vh,Gc()}function Qc(){sl(em,Bc),sl(tm,Bc),sl(nm,Bc)}function zc(e,t){var n={};return n.viewName=e,n.impressionId=Q(),n.page=!0,D(t)||(n.page=!!t.page),n}function $c(e){jt(e),o(ls(e.viewName,e))&&e.page&&Vs(e),ph.push(e),dh===vh&&Gc()}function Jc(e,t){if(!C(e)||A(e))return we(uh,Md,e),void Oe({source:uh,view:e,error:Md});var n=e.toLowerCase(),a=zc(n,t);_e(uh,n,a),Oe({source:uh,view:n,options:a}),$c(a)}function Wc(){we(gh,arguments)}function Kc(){we(fh,arguments)}function Yc(){we(hh,arguments)}function Xc(){we(yh,arguments)}function Zc(e){var t=function(){},n=function(){return He()};e.adobe=e.adobe||{},e.adobe.target={VERSION:"",event:{},getOffer:t,getOffers:n,applyOffer:t,applyOffers:n,sendNotifications:t,trackEvent:t,triggerView:t,registerExtension:t,init:t},e.mboxCreate=t,e.mboxDefine=t,e.mboxUpdate=t}function eu(e,t,n){if(e.adobe&&e.adobe.target&&void 0!==e.adobe.target.getOffer)we(Mp);else{X(n);var a=Z(),r=a[Qv];if(e.adobe=e.adobe||{},e.adobe.target=e.adobe.target||{},e.adobe.target.VERSION=r,e.adobe.target.event={LIBRARY_LOADED:Pm,REQUEST_START:Sm,REQUEST_SUCCEEDED:wm,REQUEST_FAILED:_m,CONTENT_RENDERING_START:Im,CONTENT_RENDERING_SUCCEEDED:Dm,CONTENT_RENDERING_FAILED:Lm,CONTENT_RENDERING_NO_OFFERS:Am,CONTENT_RENDERING_REDIRECT:xm},!a[Mv])return Zc(e),void we(Fp);Ae(),Ft(),Qt(e),e.adobe.target.getOffer=Dc,e.adobe.target.getOffers=Lc,e.adobe.target.applyOffer=Ac,e.adobe.target.applyOffers=xc,e.adobe.target.sendNotifications=Oc,e.adobe.target.trackEvent=Hc,e.adobe.target.triggerView=Jc,e.adobe.target.registerExtension=Wc,e.mboxCreate=Kc,e.mboxDefine=Yc,e.mboxUpdate=Xc,vt()}}var tu=n("@adobe/reactor-window"),nu=n("@adobe/reactor-document"),au=a(n("@adobe/reactor-object-assign")),ru=a(n("@adobe/reactor-cookie")),iu=a(n("@adobe/reactor-query-string")),ou=a(n("@adobe/reactor-promise")),su=a(n("@adobe/reactor-load-script")),lu=Array.isArray,cu=Object.prototype,uu=cu.toString,pu="[object Function]",vu=function(e,t){return t.forEach(e)},du=function(e,t){vu((function(n){return e(t[n],n)}),g(t))},mu=function(e,t){return t.filter(e)},gu=function(e,t){var n={};return du((function(t,a){e(t,a)&&(n[a]=t)}),t),n},fu="[object String]",hu=9007199254740991,yu=function(e,t){return t.map(e)},bu=Object.prototype,ku=bu.hasOwnProperty,Vu=String.prototype,Cu=Vu.trim,Eu="[object Object]",Tu=Function.prototype,Pu=Object.prototype,Su=Tu.toString,wu=Pu.hasOwnProperty,_u=Su.call(Object),Iu=function(e){return!A(e)},Du="[object Number]",Lu=function(e,t){var n={};return du((function(t,a){n[a]=e(t,a)}),t),n},Au=function(e,t,n){return n.reduce(e,t)},xu=function(e,t,n){var a=t;return du((function(t,n){a=e(a,t,n)}),n),a},Ou=Array.prototype,ju=Ou.reverse,Nu="type",Fu="content",Mu="height",Ru="width",Uu="left",Hu="top",qu="from",Gu="to",Bu="priority",Qu="selector",zu="cssSelector",$u="setHtml",Ju="setContent",Wu="setText",Ku="setJson",Yu="setAttribute",Xu="setImageSource",Zu="setStyle",ep="rearrange",tp="resize",np="move",ap="remove",rp="customCode",ip="redirect",op="trackClick",sp="signalClick",lp="insertBefore",cp="insertAfter",up="appendHtml",pp="appendContent",vp="prependHtml",dp="prependContent",mp="replaceHtml",gp="replaceContent",fp="mboxDebug",hp="mboxDisable",yp="mboxEdit",bp="at_check",kp="true",Vp=250,Cp="data-at-src",Ep="json",Tp="html",Pp="dynamic",Sp="script",wp="src",_p="id",Ip="class",Dp="click",Lp="head",Ap="script",xp="style",Op="link",jp="img",Np="div",Fp='Adobe Target content delivery is disabled. Ensure that you can save cookies to your current domain, there is no "mboxDisable" cookie and there is no "mboxDisable" parameter in query string.',Mp="Adobe Target has already been initialized.",Rp="options argument is required",Up="request option is required",Hp="response option is required",qp="execute or prefetch is required",Gp="execute or prefetch is not allowed",Bp="notifications are required",Qp="mbox option is required",zp="mbox option is too long",$p="success option is required",Jp="error option is required",Wp="offer option is required",Kp="Unexpected error",Yp="request failed",Xp="request succeeded",Zp="Action rendered successfully",ev="Rendering action",tv="Action has no content",nv="Action has no attributes",av="Action has no CSS properties",rv="Action has no height or width",iv="Action has no left, top or position",ov="Action has no from or to",sv="Action has no url",lv="Action has no image url",cv="Rearrange elements are missing",uv="Loading image",pv="Track event request succeeded",vv="Track event request failed",dv="No actions to be rendered",mv="Redirect action",gv="Script load",fv="error",hv="warning",yv="unknown",bv="valid",kv="success",Vv="render",Cv="metric",Ev="mbox",Tv="offer",Pv="name",Sv="status",wv="params",_v="actions",Iv="responseTokens",Dv="data",Lv="response",Av="request",xv="provider",Ov="pageLoad",jv="at-flicker-control",Nv="at-element-marker",Fv="at-element-click-tracking",Mv="enabled",Rv="clientCode",Uv="imsOrgId",Hv="serverDomain",qv="timeout",Gv="globalMboxName",Bv="globalMboxAutoCreate",Qv="version",zv="defaultContentHiddenStyle",$v="bodyHiddenStyle",Jv="bodyHidingEnabled",Wv="deviceIdLifetime",Kv="sessionIdLifetime",Yv="selectorsPollingTimeout",Xv="visitorApiTimeout",Zv="overrideMboxEdgeServer",ed="overrideMboxEdgeServerTimeout",td="optoutEnabled",nd="secureOnly",ad="supplementalDataIdParamTimeout",rd="authoringScriptUrl",id="scheme",od="cookieDomain",sd="mboxParams",ld="globalMboxParams",cd="mboxSession",ud="PC",pd="mboxEdgeCluster",vd="session",dd="Traces",md="settings",gd="client"+dd,fd="server"+dd,hd="___target_traces",yd="targetGlobalSettings",bd="dataProvider",kd=bd+"s",Vd="endpoint",Cd="viewsEnabled",Ed="pageLoadEnabled",Td="authState",Pd="authenticatedState",Sd="integrationCode",wd="page",_d="view",Id="views",Dd="options",Ld="metrics",Ad="viewName",xd="display",Od="Content-Type",jd="text/plain",Nd="View rendering failed",Fd="View delivery error",Md="View name should be a non-empty string",Rd="Page load disabled",Ud="Using server state",Hd="adobe",qd="optIn",Gd="isApproved",Bd="fetchPermissions",Qd="Categories",zd="TARGET",$d="ANALYTICS",Jd="optinEnabled",Wd="Adobe Target is not opted in",Kd="analyticsLogging",Yd="serverState",Xd="cspScriptNonce",Zd="cspStyleNonce",em="cache-updated-event",tm="no-offers-event",nm="redirect-offer-event",am="file:",rm=/^(?!0)(?!.*\.$)((1?\d?\d|25[0-5]|2[0-4]\d)(\.|$)){4}$/,im=/^(com|edu|gov|net|mil|org|nom|co|name|info|biz)$/i,om={},sm=[Mv,Rv,Uv,Hv,od,qv,sd,ld,zv,"defaultContentVisibleStyle",Wv,$v,Jv,Yv,Xv,Zv,ed,td,Jd,nd,ad,rd,"urlSizeLimit",Vd,Ed,Cd,Kd,Yd,Xd,Zd,Gv],lm=function(e,t){t=t||{};for(var n={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},a=n.parser[t.strictMode?"strict":"loose"].exec(e),r={},i=14;i--;)r[n.key[i]]=a[i]||"";return r[n.q.name]={},r[n.key[12]].replace(n.q.parser,(function(e,t,a){t&&(r[n.q.name][t]=a)})),r},cm=iu.parse,um=iu.stringify,pm=nu.createElement("a"),vm={},dm=ru.get,mm=ru.set,gm=ru.remove,fm="mbox",hm="AT:",ym="1",bm=function(e){var t=function(){function t(e){return null==e?String(e):Y[X.call(e)]||"object"}function n(e){return"function"==t(e)}function a(e){return null!=e&&e==e.window}function r(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function i(e){return"object"==t(e)}function o(e){return i(e)&&!a(e)&&Object.getPrototypeOf(e)==Object.prototype}function s(e){var t=!!e&&"length"in e&&e.length,n=w.type(e);return"function"!=n&&!a(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e){return x.call(e,(function(e){return null!=e}))}function u(e){return e.length>0?w.fn.concat.apply([],e):e}function p(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function v(e){return e in F?F[e]:F[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function d(e,t){return"number"!=typeof t||M[p(e)]?t:t+"px"}function m(e){var t,n;return N[e]||(t=j.createElement(e),j.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),N[e]=n),N[e]}function g(e){return"children"in e?O.call(e.children):w.map(e.childNodes,(function(e){if(1==e.nodeType)return e}))}function f(e,t){var n,a=e?e.length:0;for(n=0;n<a;n++)this[n]=e[n];this.length=a,this.selector=t||""}function h(e,t,n){for(S in t)n&&(o(t[S])||ae(t[S]))?(o(t[S])&&!o(e[S])&&(e[S]={}),ae(t[S])&&!ae(e[S])&&(e[S]=[]),h(e[S],t[S],n)):t[S]!==P&&(e[S]=t[S])}function y(e,t){return null==t?w(e):w(e).filter(t)}function b(e,t,a,r){return n(t)?t.call(e,a,r):t}function k(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function V(e,t){var n=e.className||"",a=n&&n.baseVal!==P;if(t===P)return a?n.baseVal:n;a?n.baseVal=t:e.className=t}function C(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?w.parseJSON(e):e):e}catch(t){return e}}function E(e,t){t(e);for(var n=0,a=e.childNodes.length;n<a;n++)E(e.childNodes[n],t)}function T(e,t,n){var a=e.getElementsByTagName("script")[0];if(a){var r=a.parentNode;if(r){var i=e.createElement("script");i.innerHTML=t,Iu(n)&&i.setAttribute("nonce",n),r.appendChild(i),r.removeChild(i)}}}var P,S,w,_,I,D,L=[],A=L.concat,x=L.filter,O=L.slice,j=e.document,N={},F={},M={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},R=/^\s*<(\w+|!)[^>]*>/,U=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,H=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/^(?:body|html)$/i,G=/([A-Z])/g,B=["val","css","html","text","data","width","height","offset"],Q=["after","prepend","before","append"],z=j.createElement("table"),$=j.createElement("tr"),J={tr:j.createElement("tbody"),tbody:z,thead:z,tfoot:z,td:$,th:$,"*":j.createElement("div")},W=/complete|loaded|interactive/,K=/^[\w-]*$/,Y={},X=Y.toString,ee={},te=j.createElement("div"),ne={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},ae=Array.isArray||function(e){return e instanceof Array};return ee.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var a,r=e.parentNode,i=!r;return i&&(r=te).appendChild(e),a=~ee.qsa(r,t).indexOf(e),i&&te.removeChild(e),a},I=function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},D=function(e){return x.call(e,(function(t,n){return e.indexOf(t)==n}))},ee.fragment=function(e,t,n){var a,r,i;return U.test(e)&&(a=w(j.createElement(RegExp.$1))),a||(e.replace&&(e=e.replace(H,"<$1></$2>")),t===P&&(t=R.test(e)&&RegExp.$1),t in J||(t="*"),(i=J[t]).innerHTML=""+e,a=w.each(O.call(i.childNodes),(function(){i.removeChild(this)}))),o(n)&&(r=w(a),w.each(n,(function(e,t){B.indexOf(e)>-1?r[e](t):r.attr(e,t)}))),a},ee.Z=function(e,t){return new f(e,t)},ee.isZ=function(e){return e instanceof ee.Z},ee.init=function(e,t){var a;if(!e)return ee.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&R.test(e))a=ee.fragment(e,RegExp.$1,t),e=null;else{if(t!==P)return w(t).find(e);a=ee.qsa(j,e)}else{if(n(e))return w(j).ready(e);if(ee.isZ(e))return e;if(ae(e))a=l(e);else if(i(e))a=[e],e=null;else if(R.test(e))a=ee.fragment(e.trim(),RegExp.$1,t),e=null;else{if(t!==P)return w(t).find(e);a=ee.qsa(j,e)}}return ee.Z(a,e)},(w=function(e,t){return ee.init(e,t)}).extend=function(e){var t,n=O.call(arguments,1);return"boolean"==typeof e&&(t=e,e=n.shift()),n.forEach((function(n){h(e,n,t)})),e},ee.qsa=function(e,t){var n,a="#"==t[0],r=!a&&"."==t[0],i=a||r?t.slice(1):t,o=K.test(i);return e.getElementById&&o&&a?(n=e.getElementById(i))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:O.call(o&&!a&&e.getElementsByClassName?r?e.getElementsByClassName(i):e.getElementsByTagName(t):e.querySelectorAll(t))},w.contains=j.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},w.type=t,w.isFunction=n,w.isWindow=a,w.isArray=ae,w.isPlainObject=o,w.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},w.isNumeric=function(e){var t=Number(e),n=c(e);return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},w.inArray=function(e,t,n){return L.indexOf.call(t,e,n)},w.camelCase=I,w.trim=function(e){return null==e?"":String.prototype.trim.call(e)},w.uuid=0,w.support={},w.expr={},w.noop=function(){},w.map=function(e,t){var n,a,r,i=[];if(s(e))for(a=0;a<e.length;a++)null!=(n=t(e[a],a))&&i.push(n);else for(r in e)null!=(n=t(e[r],r))&&i.push(n);return u(i)},w.each=function(e,t){var n,a;if(s(e)){for(n=0;n<e.length;n++)if(!1===t.call(e[n],n,e[n]))return e}else for(a in e)if(!1===t.call(e[a],a,e[a]))return e;return e},w.grep=function(e,t){return x.call(e,t)},e.JSON&&(w.parseJSON=JSON.parse),w.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){Y["[object "+t+"]"]=t.toLowerCase()})),w.fn={constructor:ee.Z,length:0,forEach:L.forEach,reduce:L.reduce,push:L.push,sort:L.sort,splice:L.splice,indexOf:L.indexOf,concat:function(){var e,t,n=[];for(e=0;e<arguments.length;e++)t=arguments[e],n[e]=ee.isZ(t)?t.toArray():t;return A.apply(ee.isZ(this)?this.toArray():this,n)},map:function(e){return w(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return w(O.apply(this,arguments))},ready:function(e){return W.test(j.readyState)&&j.body?e(w):j.addEventListener("DOMContentLoaded",(function(){e(w)}),!1),this},get:function(e){return e===P?O.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(e){for(var t,n=this.length,a=0;a<n&&(t=this[a],!1!==e.call(t,a,t));)a++;return this},filter:function(e){return n(e)?this.not(this.not(e)):w(x.call(this,(function(t){return ee.matches(t,e)})))},add:function(e,t){return w(D(this.concat(w(e,t))))},is:function(e){return this.length>0&&ee.matches(this[0],e)},not:function(e){var t=[];if(n(e)&&e.call!==P)this.each((function(n){e.call(this,n)||t.push(this)}));else{var a="string"==typeof e?this.filter(e):s(e)&&n(e.item)?O.call(e):w(e);this.forEach((function(e){a.indexOf(e)<0&&t.push(e)}))}return w(t)},has:function(e){return this.filter((function(){return i(e)?w.contains(this,e):w(this).find(e).size()}))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!i(e)?e:w(e)},last:function(){var e=this[this.length-1];return e&&!i(e)?e:w(e)},find:function(e){var t,n=this;return t=e?"object"==c(e)?w(e).filter((function(){var e=this;return L.some.call(n,(function(t){return w.contains(t,e)}))})):1==this.length?w(ee.qsa(this[0],e)):this.map((function(){return ee.qsa(this,e)})):w(),t},closest:function(e,t){var n=[],a="object"==c(e)&&w(e);return this.each((function(i,o){for(;o&&!(a?a.indexOf(o)>=0:ee.matches(o,e));)o=o!==t&&!r(o)&&o.parentNode;o&&n.indexOf(o)<0&&n.push(o)})),w(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=w.map(n,(function(e){if((e=e.parentNode)&&!r(e)&&t.indexOf(e)<0)return t.push(e),e}));return y(t,e)},parent:function(e){return y(D(this.pluck("parentNode")),e)},children:function(e){return y(this.map((function(){return g(this)})),e)},contents:function(){return this.map((function(){return this.contentDocument||O.call(this.childNodes)}))},siblings:function(e){return y(this.map((function(e,t){return x.call(g(t.parentNode),(function(e){return e!==t}))})),e)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(e){return w.map(this,(function(t){return t[e]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=m(this.nodeName))}))},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=n(e);if(this[0]&&!t)var a=w(e).get(0),r=a.parentNode||this.length>1;return this.each((function(n){w(this).wrapAll(t?e.call(this,n):r?a.cloneNode(!0):a)}))},wrapAll:function(e){if(this[0]){var t;for(w(this[0]).before(e=w(e));(t=e.children()).length;)e=t.first();w(e).append(this)}return this},wrapInner:function(e){var t=n(e);return this.each((function(n){var a=w(this),r=a.contents(),i=t?e.call(this,n):e;r.length?r.wrapAll(i):a.append(i)}))},unwrap:function(){return this.parent().each((function(){w(this).replaceWith(w(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(e){return this.each((function(){var t=w(this);(e===P?"none"==t.css("display"):e)?t.show():t.hide()}))},prev:function(e){return w(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return w(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each((function(t){var n=this.innerHTML;w(this).empty().append(b(this,e,t,n))})):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each((function(t){var n=b(this,e,t,this.textContent);this.textContent=null==n?"":""+n})):0 in this?this.pluck("textContent").join(""):null},attr:function(e,t){var n;return"string"!=typeof e||1 in arguments?this.each((function(n){if(1===this.nodeType)if(i(e))for(S in e)k(this,S,e[S]);else k(this,e,b(this,t,n,this.getAttribute(e)))})):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(e))?n:P},removeAttr:function(e){return this.each((function(){1===this.nodeType&&e.split(" ").forEach((function(e){k(this,e)}),this)}))},prop:function(e,t){return e=ne[e]||e,1 in arguments?this.each((function(n){this[e]=b(this,t,n,this[e])})):this[0]&&this[0][e]},removeProp:function(e){return e=ne[e]||e,this.each((function(){delete this[e]}))},data:function(e,t){var n="data-"+e.replace(G,"-$1").toLowerCase(),a=1 in arguments?this.attr(n,t):this.attr(n);return null!==a?C(a):P},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each((function(t){this.value=b(this,e,t,this.value)}))):this[0]&&(this[0].multiple?w(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each((function(e){var n=w(this),a=b(this,t,e,n.offset()),r=n.offsetParent().offset(),i={top:a.top-r.top,left:a.left-r.left};"static"==n.css("position")&&(i.position="relative"),n.css(i)}));if(!this.length)return null;if(j.documentElement!==this[0]&&!w.contains(j.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,n){if(arguments.length<2){var a=this[0];if("string"==typeof e){if(!a)return;return a.style[I(e)]||getComputedStyle(a,"").getPropertyValue(e)}if(ae(e)){if(!a)return;var r={},i=getComputedStyle(a,"");return w.each(e,(function(e,t){r[t]=a.style[I(t)]||i.getPropertyValue(t)})),r}}var o="";if("string"==t(e))n||0===n?o=p(e)+":"+d(e,n):this.each((function(){this.style.removeProperty(p(e))}));else for(S in e)e[S]||0===e[S]?o+=p(S)+":"+d(S,e[S])+";":this.each((function(){this.style.removeProperty(p(S))}));return this.each((function(){this.style.cssText+=";"+o}))},index:function(e){return e?this.indexOf(w(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&L.some.call(this,(function(e){return this.test(V(e))}),v(e))},addClass:function(e){return e?this.each((function(t){if("className"in this){_=[];var n=V(this);b(this,e,t,n).split(/\s+/g).forEach((function(e){w(this).hasClass(e)||_.push(e)}),this),_.length&&V(this,n+(n?" ":"")+_.join(" "))}})):this},removeClass:function(e){return this.each((function(t){if("className"in this){if(e===P)return V(this,"");_=V(this),b(this,e,t,_).split(/\s+/g).forEach((function(e){_=_.replace(v(e)," ")})),V(this,_.trim())}}))},toggleClass:function(e,t){return e?this.each((function(n){var a=w(this);b(this,e,n,V(this)).split(/\s+/g).forEach((function(e){(t===P?!a.hasClass(e):t)?a.addClass(e):a.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var t="scrollTop"in this[0];return e===P?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var t="scrollLeft"in this[0];return e===P?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),a=q.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(w(e).css("margin-top"))||0,n.left-=parseFloat(w(e).css("margin-left"))||0,a.top+=parseFloat(w(t[0]).css("border-top-width"))||0,a.left+=parseFloat(w(t[0]).css("border-left-width"))||0,{top:n.top-a.top,left:n.left-a.left}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||j.body;e&&!q.test(e.nodeName)&&"static"==w(e).css("position");)e=e.offsetParent;return e}))}},w.fn.detach=w.fn.remove,["width","height"].forEach((function(e){var t=e.replace(/./,(function(e){return e[0].toUpperCase()}));w.fn[e]=function(n){var i,o=this[0];return n===P?a(o)?o["inner"+t]:r(o)?o.documentElement["scroll"+t]:(i=this.offset())&&i[e]:this.each((function(t){(o=w(this)).css(e,b(this,n,t,o[e]()))}))}})),Q.forEach((function(e,n){var a=n%2;w.fn[e]=function(){var e,r,i=w.map(arguments,(function(n){var a=[];return"array"==(e=t(n))?(n.forEach((function(e){return e.nodeType!==P?a.push(e):w.zepto.isZ(e)?a=a.concat(e.get()):void(a=a.concat(ee.fragment(e)))})),a):"object"==e||null==n?n:ee.fragment(n)})),o=this.length>1;return i.length<1?this:this.each((function(e,t){r=a?t:t.parentNode,t=0==n?t.nextSibling:1==n?t.firstChild:2==n?t:null;var s=w.contains(j.documentElement,r),l=/^(text|application)\/(javascript|ecmascript)$/,c=Z(),u=c[Xd],p=c[Zd];i.forEach((function(e){if(o)e=e.cloneNode(!0);else if(!r)return w(e).remove();Iu(u)&&"SCRIPT"===e.tagName&&e.setAttribute("nonce",u),Iu(p)&&"STYLE"===e.tagName&&e.setAttribute("nonce",p),r.insertBefore(e,t),s&&E(e,(function(e){null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&!l.test(e.type.toLowerCase())||e.src||T(j,e.innerHTML,e.nonce)}))}))}))},w.fn[a?e+"To":"insert"+(n?"Before":"After")]=function(t){return w(t)[e](this),this}})),ee.Z.prototype=f.prototype=w.fn,ee.uniq=D,ee.deserializeValue=C,w.zepto=ee,w}();return function(t){function n(e){return e._zid||(e._zid=d++)}function a(e,t,a,o){if((t=r(t)).ns)var s=i(t.ns);return(h[n(e)]||[]).filter((function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||s.test(e.ns))&&(!a||n(e.fn)===n(a))&&(!o||e.sel==o)}))}function r(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function i(e){return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)")}function o(e,t){return e.del&&!b&&e.e in k||!!t}function s(e){return V[e]||b&&k[e]||e}function l(e,a,i,l,c,p,d){var m=n(e),g=h[m]||(h[m]=[]);a.split(/\s/).forEach((function(n){if("ready"==n)return t(document).ready(i);var a=r(n);a.fn=i,a.sel=c,a.e in V&&(i=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return a.fn.apply(this,arguments)}),a.del=p;var m=p||i;a.proxy=function(t){if(!(t=u(t)).isImmediatePropagationStopped()){t.data=l;var n=m.apply(e,t._args==v?[t]:[t].concat(t._args));return!1===n&&(t.preventDefault(),t.stopPropagation()),n}},a.i=g.length,g.push(a),"addEventListener"in e&&e.addEventListener(s(a.e),a.proxy,o(a,d))}))}function c(e,t,r,i,l){var c=n(e);(t||"").split(/\s/).forEach((function(t){a(e,t,r,i).forEach((function(t){delete h[c][t.i],"removeEventListener"in e&&e.removeEventListener(s(t.e),t.proxy,o(t,l))}))}))}function u(e,n){if(n||!e.isDefaultPrevented){n||(n=e),t.each(P,(function(t,a){var r=n[t];e[t]=function(){return this[a]=C,r&&r.apply(n,arguments)},e[a]=E}));try{e.timeStamp||(e.timeStamp=(new Date).getTime())}catch(e){}(n.defaultPrevented!==v?n.defaultPrevented:"returnValue"in n?!1===n.returnValue:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=C)}return e}function p(e){var t,n={originalEvent:e};for(t in e)T.test(t)||e[t]===v||(n[t]=e[t]);return u(n,e)}var v,d=1,m=Array.prototype.slice,g=t.isFunction,f=function(e){return"string"==typeof e},h={},y={},b="onfocusin"in e,k={focus:"focusin",blur:"focusout"},V={mouseenter:"mouseover",mouseleave:"mouseout"};y.click=y.mousedown=y.mouseup=y.mousemove="MouseEvents",t.event={add:l,remove:c},t.proxy=function(e,a){var r=2 in arguments&&m.call(arguments,2);if(g(e)){var i=function(){return e.apply(a,r?r.concat(m.call(arguments)):arguments)};return i._zid=n(e),i}if(f(a))return r?(r.unshift(e[a],e),t.proxy.apply(null,r)):t.proxy(e[a],e);throw new TypeError("expected function")},t.fn.bind=function(e,t,n){return this.on(e,t,n)},t.fn.unbind=function(e,t){return this.off(e,t)},t.fn.one=function(e,t,n,a){return this.on(e,t,n,a,1)};var C=function(){return!0},E=function(){return!1},T=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,P={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(e,t,n){return this.on(t,e,n)},t.fn.undelegate=function(e,t,n){return this.off(t,e,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,a,r,i){var o,s,u=this;return e&&!f(e)?(t.each(e,(function(e,t){u.on(e,n,a,t,i)})),u):(f(n)||g(r)||!1===r||(r=a,a=n,n=v),r!==v&&!1!==a||(r=a,a=v),!1===r&&(r=E),u.each((function(u,v){i&&(o=function(e){return c(v,e.type,r),r.apply(this,arguments)}),n&&(s=function(e){var a,i=t(e.target).closest(n,v).get(0);if(i&&i!==v)return a=t.extend(p(e),{currentTarget:i,liveFired:v}),(o||r).apply(i,[a].concat(m.call(arguments,1)))}),l(v,e,r,a,n,s||o)})))},t.fn.off=function(e,n,a){var r=this;return e&&!f(e)?(t.each(e,(function(e,t){r.off(e,n,t)})),r):(f(n)||g(a)||!1===a||(a=n,n=v),!1===a&&(a=E),r.each((function(){c(this,e,a,n)})))},t.fn.trigger=function(e,n){return(e=f(e)||t.isPlainObject(e)?t.Event(e):u(e))._args=n,this.each((function(){e.type in k&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)}))},t.fn.triggerHandler=function(e,n){var r,i;return this.each((function(o,s){(r=p(f(e)?t.Event(e):e))._args=n,r.target=s,t.each(a(s,e.type||e),(function(e,t){if(i=t.proxy(r),r.isImmediatePropagationStopped())return!1}))})),i},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}})),t.Event=function(e,t){f(e)||(e=(t=e).type);var n=document.createEvent(y[e]||"Events"),a=!0;if(t)for(var r in t)"bubbles"==r?a=!!t[r]:n[r]=t[r];return n.initEvent(e,a,!0),u(n)}}(t),function(){try{getComputedStyle(void 0)}catch(n){var t=getComputedStyle;e.getComputedStyle=function(e,n){try{return t(e,n)}catch(e){return null}}}}(),function(e){var t=e.zepto,n=t.qsa,a=/^\s*>/,r="Zepto"+ +new Date;t.qsa=function(t,i){var o,s,l=i;try{l?a.test(l)&&(s=e(t).addClass(r),l="."+r+" "+l):l="*",o=n(t,l)}catch(e){throw e}finally{s&&s.removeClass(r)}return o}}(t),t}(window),km=tu.MutationObserver||tu.WebkitMutationObserver,Vm="Expected an array of promises";ou._setImmediateFn&&Re();var Cm=Q(),Em=/.*\.(\d+)_\d+/;lt(tu,nu) ;var Tm,Pm="at-library-loaded",Sm="at-request-start",wm="at-request-succeeded",_m="at-request-failed",Im="at-content-rendering-start",Dm="at-content-rendering-succeeded",Lm="at-content-rendering-failed",Am="at-content-rendering-no-offers",xm="at-content-rendering-redirect",Om=":eq(",jm=")",Nm=Om.length,Fm=/((\.|#)(-)?\d{1})/g,Mm="Unable to load target-vec.js",Rm="Loading target-vec.js",Um="_AT",Hm="clickHandlerForExperienceEditor",qm="currentView",Gm="at_qa_mode",Bm="at_preview_token",Qm="at_preview_index",zm="at_preview_listed_activities_only",$m="at_preview_evaluate_as_true_audience_ids",Jm="at_preview_evaluate_as_false_audience_ids",Wm="_",Km=function(e){return!o(e)},Ym="at-",Xm="at-body-style",Zm="#"+Xm,eg=Ym+"views",tg="Disabled due to optout",ng="MCAAMB",ag="MCAAMLH",rg="MCMID",ig="MCOPTOUT",og="getSupplementalDataID",sg="getCustomerIDs",lg="trackingServer",cg=lg+"Secure",ug="Visitor",pg="getInstance",vg="isAllowed",dg="Visitor API requests timed out",mg="Visitor API requests error",gg={},fg="Data provider",hg="timed out",yg=2e3,bg="authorization",kg="mboxDebugTools",Vg=ia(),Cg="profile.",Eg="mbox3rdPartyId",Tg="at_property",Pg="orderId",Sg="orderTotal",wg="productPurchasedId",_g="productId",Ig="categoryId",Dg="POST",Lg="Network request failed",Ag="Request timed out",xg="Malformed response JSON",Og="web",jg="mboxedge",Ng=".tt.omtrdc.net",Fg=function(e){return!D(e)},Mg=function(e){return function(t){return t[e]}},Rg=function(e){return function(t){return!e(t)}},Ug=Rg(o),Hg=function(e){return e.status===fv},qg=function(e){return e.type===_v},Gg=function(e){return e.type===ip},Bg=(Tm=Ug,function(e){return f(Tm,e)}),Qg=Mg(Dd),zg=Mg(Fu),$g=Mg(Iv),Jg=function(e){return Iu(e.name)},Wg=function(e){return!o(e.index)},Kg=function(e){return p(e)&&Jg(e)},Yg=function(e){return p(e)&&Jg(e)&&Wg(e)},Xg=function(e){return p(e)&&Jg(e)},Zg=function(e){return Iu(e.selector)},ef=Mg(Dv),tf=b([ef,Ug]),nf="adobe_mc_sdid",af="Network request failed",rf="Request timed out",of="URL is required",sf="GET",lf="POST",cf="method",uf="url",pf="headers",vf="data",df="credentials",mf="timeout",gf="async",ff=/CLKTRK#(\S+)/,hf=/CLKTRK#(\S+)\s/,yf=function(e){return!o(e)},bf="visibilityState",kf="visible",Vf=100,Cf=Ap+","+Op+","+xp,Ef="at-action-key",Tf="metric element not found",Pf="navigator",Sf="sendBeacon",wf="Beacon data sent",_f="Beacon data sent failed",If="View triggered notification",Df="View rendered notification",Lf="Mboxes rendered notification",Af="Event handler notification",xf="Mbox event handler notification",Of="View event handler notification",jf="prefetchMboxes",Nf="rendered",Ff="triggered",Mf={},Rf="pageLoadMetrics",Uf="prefetchMetrics",Hf=Mg(Ld),qf=function(){return dr(Cv)},Gf=function(e){return mr(Cv,e)},Bf=Mg(Fu),Qf=Mg(zu),zf=function(e){return dr(Vv,e)},$f=function(e){return mr(Vv,e)},Jf=function(e){return Rg(Hg)(e)&&tf(e)};nl.prototype={on:function(e,t,n){var a=this.e||(this.e={});return(a[e]||(a[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function a(){r.off(e,a),t.apply(n,arguments)}var r=this;return a._=t,this.on(e,a,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),a=0,r=n.length;a<r;a++)n[a].fn.apply(n[a].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),a=n[e],r=[];if(a&&t)for(var i=0,o=a.length;i<o;i++)a[i].fn!==t&&a[i].fn._!==t&&r.push(a[i]);return r.length?n[e]=r:delete n[e],this}};var Wf=nl,Kf=nl;Wf.TinyEmitter=Kf;var Yf=al(),Xf="Page load rendering failed",Zf="Mboxes rendering failed",eh="View rendering failed",th="Prefetch rendering failed",nh=function(e){return!D(f(Hg,e))},ah="[page-init]",rh="[getOffer()]",ih="[getOffers()]",oh="[applyOffer()]",sh="[applyOffers()]",lh="[sendNotifications()]",ch="[trackEvent()]",uh="[triggerView()]",ph=[],vh=1,dh=0;Qc();var mh="function has been deprecated. Please use getOffer() and applyOffer() functions instead.",gh="adobe.target.registerExtension() function has been deprecated. Please review the documentation for alternatives.",fh="mboxCreate() "+mh,hh="mboxDefine() "+mh,yh="mboxUpdate() "+mh,bh={init:eu,initConfig:X,initDelivery:Xl};e.exports=bh}},"adobe-target-v2/lib/messages.js":{script:function(e){"use strict";e.exports={ALREADY_INITIALIZED:"AT: Adobe Target has already been initialized.",DELIVERY_DISABLED:"AT: Adobe Target content delivery is disabled. Update your DOCTYPE to support Standards mode.",NO_REQUEST:"AT: Target library is either not loaded or disabled, no request will be executed"}}},"adobe-target-v2/lib/modules/params-store.js":{script:function(e,t,n){"use strict";function a(e){return null!=e.value&&null!=e.checked}function r(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];if(a(r)){var i=r.checked,o=r.value;i&&""===o||(t[n]=o)}else t[n]=r})),t}function i(e){var t=r(e);c(u,t)}function o(e){var t=r(e);c(p,t)}function s(){return u}function l(){return p}var c=n("./object-override"),u={},p={};e.exports={mergeParams:i,mergePageLoadParams:o,getParams:s,getPageLoadParams:l}}},"adobe-target-v2/lib/modules/object-override.js":{script:function(e){"use strict";function t(e,t,n,a){t[n]!==a&&(e[n]=t[n])}function n(e){return!Array.isArray(this.subset)||-1!==this.subset.indexOf(e)}e.exports=function(e,a,r){Object.keys(a).filter(n,{subset:r}).forEach((function(n){t(e,a,n)}))}}},"adobe-target-v2/lib/librarySettings.js":{script:function(e){"use strict";var t={version:"2.3.2"};e.exports={TARGET_DEFAULT_SETTINGS:t}}},"adobe-target-v2/lib/modules/page-load.js":{script:function(e,t,n){"use strict";var a=n("../librarySettings"),r=n("@adobe/reactor-window"),i=n("./object-override"),o=n("./params-store"),s=o.getParams,l=o.getPageLoadParams,c=n("../targetSettings").targetSettings;e.exports=function(e){return c.mboxParams=s(),c.globalMboxParams=l(),i(c,e,["bodyHidingEnabled","bodyHiddenStyle"]),i(c,r.targetGlobalSettings||{},["enabled","bodyHidingEnabled","bodyHiddenStyle"]),i(c,a.TARGET_DEFAULT_SETTINGS||{},["version"]),c}}}}}},company:{orgId:"723A625F5DFA732C0A495ED6@AdobeOrg",dynamicCdnEnabled:!1},property:{name:"Citibank Hong Kong Web",settings:{domains:["citibank.com.tw"],undefinedVarsReturnEmpty:!0,ruleComponentSequencingEnabled:!1},id:"PR70d773c4de5f40819bb1e8506cf1135b"},rules:[{id:"RL01dc2575dbbf4c54b66de339c56d6fa7",name:"AA Load",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:53},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==window.location.href.indexOf(".do")}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(-1!=window.location.pathname.indexOf("/hkgcb/english/wealth-management/investment/portfolio-financing")||-1!=window.location.pathname.indexOf("/hkgcb/chinese/wealth-management/investment/portfolio-financing"))return!0}},negate:!0},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/form/dvp/decline-form"},{value:"/hkgcb/english/form/dvp/decline-form"},{value:"/hkgcb/chinese/form/dvp/decline-form"},{value:"/english/credit-cards/promotions/customer-survey-cover"},{value:"/chinese/credit-cards/promotions/customer-survey-cover"},{value:"/english/credit-cards/promotions/customer-survey"},{value:"/chinese/credit-cards/promotions/customer-survey"},{value:"/english/form/dvp/decline-form"},{value:"/english/wealth-management/citigold-private-client/wharton-course-evaluation"},{value:"/chinese/wealth-management/citigold-private-client/wharton-course-evaluation"},{value:"/english/wealth-management/citigold-private-client/wharton-course-evaluation-premium"},{value:"/chinese/wealth-management/citigold-private-client/wharton-course-evaluation-premium"},{value:"/english/credit-cards/octopus/multi-transport/withdrawal-form"},{value:"/chinese/credit-cards/octopus/multi-transport/withdrawal-form"}]},negate:!0},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%PageName%",rightOperand:"Speak to us Form Landing"},negate:!0}],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("FlowType"),r=_satellite.getVar("PageName").toLowerCase();_satellite.getVar("SelfServiceType").toLowerCase(),t.linkTrackVars="events,eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),console.log("finicial readyness:"+a.indexOf("ExistingCustomer_Invest Cloud Financial Readiness"));var i=_satellite.getVar("NboShown");if(""!=i&&null!=i&&(t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event911":"event911",t.events=t.events?t.events+",event911":"event911",t.list1=_satellite.getVar("NboShown")),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var o=getTimeParting("Asia/Hong_Kong").split("|"),s=o[3].split("=")[1],l=o[4].split("=")[1];t.eVar4=s+", "+l,t.prop4=s+", "+l}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var c=_satellite.getVar("PageName");-1===c.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===c.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var u=_satellite.getVar("ProductName");u&&(t.products=u),n=_satellite.getVar("FlowStep").toLowerCase();var p=_satellite.getVar("RetrieveApplication").toLowerCase();(-1!==n.indexOf("retrieve application step 1")||-1!==n.indexOf("retrieve application step 2")||p&&-1!==p.indexOf("retreiveapplication"))&&(t.eVar38="Application Retrieve",t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar38":"eVar38")}catch(e){}try{var v=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventCategory:"",d=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventAction:"";if(v&&"application"==v.toLowerCase().trim()){var m=_satellite.getVar("ApplicationID");d&&"start"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+m:"event301,event351:"+m,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301,event351":"event301,event351"):d&&"complete"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+m:"event302,event352:"+m,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):d&&"rejected"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event303":"event303"):d&&"approved"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):d&&"pending"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event305":"event305"):d&&"save"==d.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event306":"event306")}else if(v&&"lead form"==v.toLowerCase().trim()){var g=_satellite.getVar("LeadID");d&&"view"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+g:"event349,event382:"+g,t.linkTrackEvents="event349,event382"):d&&"start"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+g:"event315,event357:"+g,t.linkTrackEvents="event315,event357"):d&&"complete"==d.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+g:"event316,event358:"+g,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}else v&&"general form"==v.toLowerCase().trim()?d&&"start"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event317":"event317"):d&&"complete"==d.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event318":"event318"):v&&"registration"==v.toLowerCase().trim()?(m=_satellite.getVar("ApplicationID"),d&&"start"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+m:"event319,:"+m,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event319,event359":"event319,event359"):d&&"complete"==d.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+m:"event320,event360:"+m,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event320,event360":"event320,event360")):v&&"emgm form"==v.toLowerCase().trim()&&(d&&"start"==d.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):d&&"complete"==d.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"))}catch(e){console.log("Error Message:Event detail undefined")}try{t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar121,eVar122,eVar123,eVar124,list3":"eVar121,eVar122,eVar123,eVar124,list3",t.eVar121=_satellite.getVar("contentTitle")?_satellite.getVar("contentTitle"):"",t.eVar122=_satellite.getVar("contentDate")?_satellite.getVar("contentDate"):"",t.eVar123=_satellite.getVar("contentType")?_satellite.getVar("contentType"):"",t.eVar124=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):"",t.list3=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):""}catch(e){}try{r=_satellite.getVar("PageName")?_satellite.getVar("PageName"):"",v=_satellite.getVar("eventCategory")?_satellite.getVar("eventCategory"):"",d=_satellite.getVar("eventAction")?_satellite.getVar("eventAction"):"";var f=v&&""!=v?r+"_e:"+v+":"+d:r;if(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=f,!_satellite.getVar("FlowStep")){var h=_satellite.getVar("JourneyFlowName")?_satellite.getVar("JourneyFlowName"):"";n=h&&""!=h?f:"",t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop49,eVar49":"prop49,eVar49",t.prop49=t.eVar49=n}}catch(e){}try{citiData.adobeEvent.eventCategory&&"banner"==citiData.adobeEvent.eventCategory.toLowerCase().trim()&&(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar80,prop27,eVar127,list1":"eVar80,prop27,eVar127,list1",t.eVar80=_satellite.getVar("nbo_shown_sequence")?_satellite.getVar("nbo_shown_sequence").toLowerCase():"",t.list1=_satellite.getVar("nbo_shown_sequence")?_satellite.getVar("nbo_shown_sequence").toLowerCase():"",t.prop27=t.eVar127=_satellite.getVar("bannerAction")?_satellite.getVar("bannerAction").toLowerCase():"",citiData.banner.bannerAction&&"impression"==citiData.banner.bannerAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event852":"event852",t.linkTrackEvents="event852"))}catch(e){}}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar33",type:"value",value:"%ErrorMessage%"},{name:"eVar34",type:"value",value:"%ErrorCode%"},{name:"eVar35",type:"value",value:"%ErrorType%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar83",type:"value",value:"%SelfServiceName%"},{name:"eVar84",type:"value",value:"%SelfSubServiceName%"},{name:"eVar85",type:"value",value:"%SelfServiceType%"},{name:"eVar86",type:"value",value:"%SelfServCompDetail%"},{name:"eVar98",type:"value",value:"%ReminderMessage%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar113",type:"value",value:"%transactionID%"},{name:"eVar114",type:"value",value:"%transactionFrequency%"},{name:"eVar115",type:"value",value:"%transactionCurrency%"},{name:"eVar116",type:"value",value:"%transactionPurpose%"},{name:"eVar117",type:"value",value:"%transactionType%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"},{name:"eVar169",type:"value",value:"%eventCategory%"},{name:"eVar170",type:"value",value:"%eventAction%"},{name:"eVar171",type:"value",value:"%eventLabel%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop25",type:"value",value:"%siteSection4%"},{name:"prop26",type:"value",value:"%siteSection5%"},{name:"prop33",type:"value",value:"%ErrorMessage%"},{name:"prop35",type:"value",value:"%ErrorType%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"},{name:"prop69",type:"value",value:"%eventCategory%"},{name:"prop70",type:"value",value:"%eventAction%"},{name:"prop71",type:"value",value:"%eventLabel%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL068f20736e1a47c787c1adabf8df73f1",name:"AA Scroll Path 75%",events:[{modulePath:"ags055-time-spent-and-scroll-depth-combined-event/src/lib/events/combinedTimeSpentAndScrollDepth.js",settings:{fireOnce:!0,initDelay:400,timeSpent:15,scrollDepth:75,fireOnShortPages:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"scrollPath75",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/prestige-card-alchemy"},{value:"/chinese/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/english/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/english/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/chinese/credit-cards/prestige-card"},{value:"/english/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/prestige-card"},{value:"/hkgcb/chinese/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/english/credit-cards/rewards-card"},{value:"/chinese/credit-cards/rewards-card"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card"},{value:"/english/credit-cards/rewards-card-alchemy-2"},{value:"/chinese/credit-cards/rewards-card-alchemy-2"}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar27",type:"value",value:"75%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop20",type:"value",value:"%PageName%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Scroll Depth",linkType:"o"}}]},{id:"RL0b66688fbc974a318dee8e3420cb4828",name:"HK Media Pixel | DoubleClick-5271445 | BAU Pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(e){return new Date(e)}var t=new Date;const n=location.pathname;if(1==(("/chinese/credit-cards/promotions/moneysmart.html"==n||"/english/credit-cards/promotions/moneysmart.html"==n||"/chinese/credit-cards/promotions/mr-miles.html"==n)&&t<=e("12/31/2024")))return!0;_satellite.logger.info("no path match")}}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"%Media Pixel | DoubleClick-5271445 | Cat | BAU Pages%"},ord:{key:"ord",value:"7864569823475"},src:{key:"src",value:"5271445"},type:{key:"type",value:"%Media Pixel | DoubleClick-5271445 | Type | BAU Pages%"}},elementTagName:"iframe",floodlightType:"counter"}}]},{id:"RL0fa36504a3024fa587a2ddfa0f7d80c6",name:"AA Login Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customCode.js",settings:{source:function(e){window.addEventListener("DOMContentLoaded",(function(){var t=_satellite.getVar("PageURL_QP");-1==t.indexOf("#accope")&&-1==t.indexOf("#appret")&&e()}))}},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%LoginAttempt%"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("LoginAttempt").toLowerCase();-1!==n.indexOf("success")?(t.events=t.events?t.events+",event727,event728":"event727,event728",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event727,event728":"event727,event728"):-1!==n.indexOf("failed")&&(t.events=t.events?t.events+",event727,event729":"event727,event729",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event727,event729":"event727,event729")}},trackerProperties:{}}}]},{id:"RL120157052ae6464685fe6ee10f0eaab6",name:"Adobe Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"adobeEvent",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!(-1!=window.location.href.indexOf("/insurance/travel-insurance/online-quote.htm")&&(adobeEvent&&"complete"==adobeEvent.detail.eventAction||adobeEvent&&"click"==adobeEvent.detail.eventAction&&"ok"==adobeEvent.detail.eventLabel.toLowerCase()))}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{if(t.linkTrackVars="prop20,eVar20,prop69,prop70,prop71,eVar169,eVar170,eVar171,eVar54,eVar55,eVar56,eVar57,eVar87,eVar88,eVar89,eVar90,eVar91,eVar92,prop54,prop55,prop56,prop19,eVar19,prop24,eVar24,prop66,eVar66,prop67,eVar67,prop68,eVar68,prop38,eVar147,evar127,prop27",t.prop20=t.eVar20=adobeEvent.detail.pageName&&""!=adobeEvent.detail.pageName&&"icms"!=adobeEvent.detail.pageName.toLowerCase()&&"drupal"!=adobeEvent.detail.pageName.toLowerCase()?adobeEvent.detail.pageName:_satellite.getVar("PageName"),t.prop69=t.eVar169=adobeEvent.detail.eventCategory?adobeEvent.detail.eventCategory:"undefined",t.prop70=t.eVar170=adobeEvent.detail.eventAction?adobeEvent.detail.eventAction:"undefined",t.prop71=t.eVar171=adobeEvent.detail.eventLabel?adobeEvent.detail.eventLabel:"undefined",t.prop38=t.eVar147=adobeEvent.detail.pageName&&""!=adobeEvent.detail.pageName&&"icms"!=adobeEvent.detail.pageName.toLowerCase()&&"drupal"!=adobeEvent.detail.pageName.toLowerCase()?adobeEvent.detail.pageName:_satellite.getVar("PageName"),t.prop19=t.eVar19=adobeEvent.detail.pageCategory?adobeEvent.detail.pageCategory:_satellite.getVar("PageCategory"),t.prop24=t.eVar24=adobeEvent.detail.language?adobeEvent.detail.language:_satellite.getVar("Language"),t.prop66=t.eVar66=adobeEvent.detail.productType?adobeEvent.detail.productType:_satellite.getVar("ProductType"),t.prop67=t.eVar67=adobeEvent.detail.productFamily?adobeEvent.detail.productFamily:_satellite.getVar("ProductFamily"),t.prop68=t.eVar68=adobeEvent.detail.productSubCategory?adobeEvent.detail.productSubCategory:_satellite.getVar("ProductSubCategory"),t.pageName=t.eVar20,!adobeEvent.detail.eventCategory||"lead form"!=adobeEvent.detail.eventCategory.toLowerCase().trim()&&"general form"!=adobeEvent.detail.eventCategory.toLowerCase().trim()&&"application"!=adobeEvent.detail.eventCategory.toLowerCase().trim()&&"registration"!=adobeEvent.detail.eventCategory.toLowerCase().trim()&&"emgm form"!=adobeEvent.detail.eventCategory.toLowerCase().trim()||(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop40,eVar40,prop41,eVar41,prop42,eVar42,prop43,eVar43,prop46,eVar46,prop36,eVar36":"prop40,eVar40,prop41,eVar41,prop42,eVar42,prop43,eVar43,prop46,eVar46,prop36,eVar36",t.prop40=t.eVar40=adobeEvent.detail.formType?adobeEvent.detail.formType:_satellite.getVar("FormType"),t.prop41=t.eVar41=adobeEvent.detail.formName?adobeEvent.detail.formName:_satellite.getVar("FormName"),t.prop42=t.eVar42=adobeEvent.detail.formId?adobeEvent.detail.formId:_satellite.getVar("FormID"),t.prop43=t.eVar43=adobeEvent.detail.leadId?adobeEvent.detail.leadId:_satellite.getVar("LeadID"),t.prop46=t.eVar46=adobeEvent.detail.emgmId?adobeEvent.detail.emgmId:_satellite.getVar("eMGMID"),t.prop36=t.eVar36=adobeEvent.detail.applicationId?adobeEvent.detail.applicationId:_satellite.getVar("ApplicationID")),-1!=location.href.indexOf("citigroup.net/gct-financial-ng/")&&(t.linkTrackVars=t.linkTrackVars+",prop24,eVar24,prop19,eVar19,eVar6,prop6,eVar103,prop7,eVar130,prop10,eVar131,prop2,eVar2,eVar119",t.prop24=t.eVar24=citiData.page.language?citiData.page.language:"undefined",t.prop19=t.eVar19=citiData.page.pageCategory?citiData.page.pageCategory:"undefined",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID()?_satellite.getVisitorId().getMarketingCloudVisitorID():"undefined",t.eVar103=_satellite.cookie.get("aam_uuid")?_satellite.cookie.get("aam_uuid"):"undefined",t.prop7=t.eVar130=citiData.user.cCSID?citiData.user.cCSID:"undefined",t.prop10=t.eVar131=citiData.user.customerType?citiData.user.customerType:"undefined",t.prop2=t.eVar2=citiData.user.country?citiData.user.country:"undefined",t.eVar119=citiData.user.loginStatus?citiData.user.loginStatus:"undefined"),citiData&&citiData.page&&"citi internal page"==citiData.page.pageCategory.toLowerCase().trim()){if(adobeEvent.detail.eventCategory&&"ocp:widget load"==adobeEvent.detail.eventCategory.toLowerCase().trim()){t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop42,eVar42,list3":"prop42,eVar42,list3",t.list3=adobeEvent.detail.RMList?adobeEvent.detail.RMList.toLowerCase():"undefined",t.prop42=t.eVar42=adobeEvent.detail.BMID?adobeEvent.detail.BMID.toLowerCase():"undefined";let e=parseInt(adobeEvent.detail.totalRMCount?adobeEvent.detail.totalRMCount:"0");t.events=t.events?t.events+",event510="+e:"event510="+e,t.linkTrackEvents="event510"}if(adobeEvent.detail.eventAction&&"ocp:coaching tips:post"==adobeEvent.detail.eventAction.toLowerCase().trim()){t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop62,eVar62,list3,prop42,eVar42":"prop62,eVar62,list3,prop42,eVar42",t.prop62=t.eVar62=adobeEvent.detail.contentId?adobeEvent.detail.contentId:"undefined",t.list3=adobeEvent.detail.selectedRM?adobeEvent.detail.selectedRM.toLowerCase():"undefined",t.prop42=t.eVar42=adobeEvent.detail.BMID?adobeEvent.detail.BMID.toLowerCase():"undefined";let e=parseInt(adobeEvent.detail.RMReceiverCount?adobeEvent.detail.RMReceiverCount:"0");t.events=t.events?t.events+",event512="+e:"event512="+e;let n=parseInt(adobeEvent.detail.totalRMCount?adobeEvent.detail.totalRMCount:"0");t.events=t.events?t.events+",event510="+n:"event510="+n,t.linkTrackEvents="event510,event512"}!adobeEvent.detail.eventAction||"ocp:coaching tips:read"!=adobeEvent.detail.eventAction.toLowerCase().trim()&&"ocp:coaching tips:reply"!=adobeEvent.detail.eventAction.toLowerCase().trim()||(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop62,eVar62,list3":"prop62,eVar62,list3",t.prop62=t.eVar62=adobeEvent.detail.contentId?adobeEvent.detail.contentId:"undefined",t.list3=adobeEvent.detail.selectedRM?adobeEvent.detail.selectedRM.toLowerCase():citiData.user.cCSID?citiData.user.cCSID.toLowerCase():"undefined")}if(adobeEvent.detail.eventCategory&&"application"==adobeEvent.detail.eventCategory.toLowerCase().trim()){var n=_satellite.getVar("ApplicationID");adobeEvent.detail.eventAction&&"start"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+n:"event301,event351:"+n, t.linkTrackEvents="event301,event351"):adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+n:"event302,event352:"+n,t.linkTrackEvents="event302,event352"):adobeEvent.detail.eventAction&&"rejected"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303",t.linkTrackEvents="event303"):adobeEvent.detail.eventAction&&"approved"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents="event304"):adobeEvent.detail.eventAction&&"pending"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents="event305"):adobeEvent.detail.eventAction&&"save"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents="event306")}else if(adobeEvent.detail.eventCategory&&"lead form"==adobeEvent.detail.eventCategory.toLowerCase().trim()){var a=_satellite.getVar("LeadID");adobeEvent.detail.eventAction&&"view"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+a:"event349,event382:"+a,t.linkTrackEvents="event349,event382"):adobeEvent.detail.eventAction&&"start"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+a:"event315,event357:"+a,t.linkTrackEvents="event315,event357"):adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+a:"event316,event358:"+a,t.linkTrackEvents="event316,event358")}else adobeEvent.detail.eventCategory&&"general form"==adobeEvent.detail.eventCategory.toLowerCase().trim()?adobeEvent.detail.eventAction&&"start"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents="event317"):adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents="event318"):adobeEvent.detail.eventCategory&&"registration"==adobeEvent.detail.eventCategory.toLowerCase().trim()?(n=_satellite.getVar("ApplicationID"),adobeEvent.detail.eventAction&&"start"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+n:"event319,event359:"+n,t.linkTrackEvents="event319,event359"):adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+n:"event320,event360:"+n,t.linkTrackEvents="event320,event360")):adobeEvent.detail.eventCategory&&"widget"==adobeEvent.detail.eventCategory.toLowerCase().trim()?adobeEvent.detail.eventAction&&"click"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event851":"event851",t.linkTrackEvents="event851"):adobeEvent.detail.eventCategory&&"livechat:out of service"==adobeEvent.detail.eventCategory.toLowerCase().trim()?adobeEvent.detail.eventAction&&"livechat:out of service:popup"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event2":"event2",t.linkTrackEvents="event2"):adobeEvent.detail.eventCategory&&"livechat:under maintenance"==adobeEvent.detail.eventCategory.toLowerCase().trim()?adobeEvent.detail.eventAction&&"livechat:under maintenance:popup"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event2":"event2",t.linkTrackEvents="event2"):adobeEvent.detail.eventCategory&&"emgm form"==adobeEvent.detail.eventCategory.toLowerCase().trim()?adobeEvent.detail.eventAction&&"start"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"):adobeEvent.detail.eventCategory&&"interaction"==adobeEvent.detail.eventCategory.toLowerCase().trim()&&(adobeEvent.detail.eventAction&&"click"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event541":"event541",t.linkTrackEvents="event541"):adobeEvent.detail.eventAction&&"swipe"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event542":"event542",t.linkTrackEvents="event542"):adobeEvent.detail.eventAction&&"accordion"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event543":"event543",t.linkTrackEvents="event543"):adobeEvent.detail.eventAction&&"popup"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event544":"event544",t.linkTrackEvents="event544"):adobeEvent.detail.eventAction&&"filter"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event545":"event545",t.linkTrackEvents="event545"):adobeEvent.detail.eventAction&&"sort"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event546":"event546",t.linkTrackEvents="event546"):adobeEvent.detail.eventAction&&"tab"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event547":"event547",t.linkTrackEvents="event547"):adobeEvent.detail.eventAction&&"search"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event511":"event511",t.linkTrackEvents="event511"):adobeEvent.detail.eventAction&&"download"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event913":"event913",t.linkTrackEvents="event913"):adobeEvent.detail.eventAction&&"radio"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event548":"event548",t.linkTrackEvents="event548"):adobeEvent.detail.eventAction&&"dropdown"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event549":"event549",t.linkTrackEvents="event549"):adobeEvent.detail.eventAction&&"toggle"==adobeEvent.detail.eventAction.toLowerCase().trim()?(t.events=t.events?t.events+",event550":"event550",t.linkTrackEvents="event550"):adobeEvent.detail.eventAction&&"search click"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop52,eVar52":"prop52,eVar52",t.prop52=t.eVar52=adobeEvent.detail.eventLabel?adobeEvent.detail.eventLabel:"",t.events=t.events?t.events+",event515":"event515",t.linkTrackEvents="event515"))}catch(e){console.log("Error Message:Event detail undefined")}try{var r=adobeEvent.detail.pageName&&""!=adobeEvent.detail.pageName?adobeEvent.detail.pageName:_satellite.getVar("PageName"),i=adobeEvent.detail.eventCategory?adobeEvent.detail.eventCategory:_satellite.getVar("eventCategory"),o=adobeEvent.detail.eventAction?adobeEvent.detail.eventAction:_satellite.getVar("eventAction"),s=i&&""!=i?r+"_e:"+i+":"+o:r;t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=s}catch(e){}try{window.location.href&&(-1!=window.location.href.indexOf("/english/insurance/travel-insurance/index.htm")||-1!=window.location.href.indexOf("/english/insurance/travel-insurance/online-quote.htm"))&&adobeEvent.detail.eventAction&&"complete"==adobeEvent.detail.eventAction.toLowerCase().trim()&&(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",list3":"list3",t.list3=adobeEvent.detail.eventLabel?adobeEvent.detail.eventLabel:"undefined")}catch(e){}adobeEvent.detail.eventCategory&&"banner"==adobeEvent.detail.eventCategory.toLowerCase().trim()&&(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar80,prop27,eVar127,list1":"eVar80,prop27,eVar127,list1",t.eVar80=adobeEvent.detail.nbo_shown_sequence?adobeEvent.detail.nbo_shown_sequence:"undefined",t.list1=adobeEvent.detail.nbo_shown_sequence?adobeEvent.detail.nbo_shown_sequence:"undefined",t.prop27=t.eVar127=adobeEvent.detail.bannerAction?adobeEvent.detail.bannerAction.toLowerCase():"undefined",adobeEvent.detail.bannerAction&&"impression"==adobeEvent.detail.bannerAction.toLowerCase().trim()?(t.events=t.events?t.events+",event852":"event852",t.linkTrackEvents="event852"):adobeEvent.detail.bannerAction&&"click"==adobeEvent.detail.bannerAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event851":"event851",t.linkTrackEvents="event851"))}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"adobeEvent",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL12abeff655544f74a2fb7315833717de",name:"AA Mortgage Speak To Us Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"MortgageSpeakToUs",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:45}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%PageName%",rightOperand:"Speak to us"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o);var s=_satellite.getVar("FlowStep").toLowerCase(),l=_satellite.getVar("RetrieveApplication").toLowerCase();(-1!==s.indexOf("retrieve application step 1")||-1!==s.indexOf("retrieve application step 2")||l&&-1!==l.indexOf("retreiveapplication"))&&(t.eVar38="Application Retrieve",t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar38":"eVar38");var c=_satellite.getVar("FormStep").toLowerCase(),u=_satellite.getVar("LeadID");l=_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("PageName"),_satellite.getVar("Calculator"),_satellite.getVar("FormType").toLowerCase(),-1!==c.indexOf("form view")||-1!==c.indexOf("formview")?(t.events=t.events?t.events+",event349,event382:"+u:"event349,event382:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event349,event382":"event349,event382"):""==u||-1===c.indexOf("leadcomplete")&&-1===c.indexOf("lead complete")||(t.events=t.events?t.events+",event316,event358:"+u:"event316,event358:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Mortgage Speak To Us:Form View",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL166dcf2563ee489f917f29a1c381044c",name:"AA AppStatus Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%AppStatus%"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("AppStatus").toLowerCase();-1!==_satellite.getVar("FlowStep").toLowerCase().indexOf("leanflow fulfilment")&&(-1!==n.indexOf("full approval")?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):-1!==n.indexOf("refer approval")?(t.events=t.events?t.events+",event340":"event340",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event340":"event340"):-1!==n.indexOf("partial approval")&&(t.events=t.events?t.events+",event339":"event339",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event339":"event339")),-1!==n.indexOf("application reject")&&(t.events="event303",t.linkTrackEvents="event303")}},trackerProperties:{}}}]},{id:"RL1bc4b15d1c174c05a8ef723384d365bb",name:"AA Form Interaction Event",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"input",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/focus.js",settings:{elementSelector:"input",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"select",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/focus.js",settings:{elementSelector:"select",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RCceb2f37b5c5e40fa9c64be30aed9a17f-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL2253ba50fac94e878de154ecc39e1ec1",name:"HK Media Pixel | GoogleTag | Loan Forms",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%ProductFamily%",rightOperand:"Lending"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(e){return new Date(e)}function t(){return-1!==n.indexOf("leanflow pre screening step 1")?"step 1":-1!==n.indexOf("leanflow pre screening step 2")?"step 2":-1!==n.indexOf("leanflow ipa")?"step 3":a.includes("reject")||a.includes("Reject")?"step 4a":-1!==n.indexOf("leanflow fulfilment")?"step 4":-1!==n.indexOf("leanflow doc upload")?"step 5":-1!==n.indexOf("leanflow confirmation")?"step 6":void 0}_satellite.getVar("ApplicationID"),_satellite.getVar("PageName");var n=_satellite.getVar("FlowStep").toLowerCase(),a=(_satellite.getVar("FlowType").toLowerCase(),_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("ECID"),_satellite.getVar("ICID"),_satellite.getVar("pcode"),_satellite.getVar("scode"),_satellite.getVar("PageURL_QP"),_satellite.getVar("Country"),_satellite.getVar("ProductFamily"),_satellite.getVar("ProductSubCategory"),_satellite.getVar("LoginStatus"),_satellite.getVar("AppStatus")),r=(_satellite.getVar("CustomerType").toLowerCase(),_satellite.getVar("Language"),_satellite.getVar("Calculator"),_satellite.getVar("AppStatus").toLowerCase(),_satellite.getVar("DocUploadIndicator").toLowerCase(),_satellite.getVar("pcode")),i=_satellite.getVar("scode"),o=(Math.random(),new Date);if("step 4a"===t()&&"US251"==r&&"PGP139"==i&&o<=e("10/20/2024"))return!0;switch(_satellite.logger.info("no path match"),citiData.page.pageName){case"HK:Public:Lean:PIL:Pre Screening Step 1":case"HK:Public:Lean:PIL:Pre Screening Step 2":case"HK:Public:Lean:PIL:IPA":case"HK:Public:Lean:PIL:Refer Approval Fulfilment":case"HK:Public:Lean:PIL:Refer Approval Doc Upload":case"HK:Public:Lean:PIL:Refer Approval Confirmation":if("US251"==r&&"PGP139"==i&&o<=e("10/20/2024"))return!0;default:_satellite.logger.info("no path match")}}}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"DoubleClick event",options:[["u1","%ApplicationID%"]],accounts:{1697185317925:{label:"%Media Pixel | Loan Forms | GTag Conversion label%",enabled:!0}},callback:null}}]},{id:"RL22a3674e3b5d4f45989c43bb5b15f439",name:"AA | User Interaction | Citi Ultima Card| SPA | Page Load",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"PageURL_with_hash"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1!=window.location.href.indexOf("credit-cards/citi-ultima")}}}],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o);try{var s=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventCategory:"",l=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventAction:"";if(s&&"application"==s.toLowerCase().trim()){var c=_satellite.getVar("ApplicationID");l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+c:"event301,event351:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301,event351":"event301,event351"):l&&"complete"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+c:"event302,event352:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):l&&"rejected"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event303":"event303"):l&&"approved"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):l&&"pending"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event305":"event305"):l&&"save"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event306":"event306")}else if(s&&"lead form"==s.toLowerCase().trim()){var u=_satellite.getVar("LeadID");l&&"view"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+u:"event349,event382:"+u,t.linkTrackEvents="event349,event382"):l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+u:"event315,event357:"+u,t.linkTrackEvents="event315,event357"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+u:"event316,event358:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}else s&&"general form"==s.toLowerCase().trim()?l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event317":"event317"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event318":"event318"):s&&"registration"==s.toLowerCase().trim()?(c=_satellite.getVar("ApplicationID"),l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+c:"event319,event359:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event319,event359":"event319,event359"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+c:"event320,event360:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event320,event360":"event320,event360")):s&&"emgm form"==s.toLowerCase().trim()&&(l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"))}catch(e){console.log("Error Message:Event detail undefined")}try{t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar121,eVar122,eVar123,eVar124,list3":"eVar121,eVar122,eVar123,eVar124,list3",t.eVar121=_satellite.getVar("contentTitle")?_satellite.getVar("contentTitle"):"",t.eVar122=_satellite.getVar("contentDate")?_satellite.getVar("contentDate"):"",t.eVar123=_satellite.getVar("contentType")?_satellite.getVar("contentType"):"",t.eVar124=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):"",t.list3=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):""}catch(e){console.log("Error Message:Event detail undefined")}try{var p=_satellite.getVar("PageName")?_satellite.getVar("PageName"):"",v=(s=_satellite.getVar("eventCategory")?_satellite.getVar("eventCategory"):"",l=_satellite.getVar("eventAction")?_satellite.getVar("eventAction"):"",s&&""!=s?p+"_e:"+s+":"+l:p);if(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=v,!_satellite.getVar("FlowStep")){var d=_satellite.getVar("JourneyFlowName")?_satellite.getVar("JourneyFlowName"):"",m=d&&""!=d?v:"";t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop49,eVar49":"prop49,eVar49",t.prop49=t.eVar49=m}}catch(e){}}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar113",type:"value",value:"%transactionID%"},{name:"eVar114",type:"value",value:"%transactionFrequency%"},{name:"eVar115",type:"value",value:"%transactionCurrency%"},{name:"eVar116",type:"value",value:"%transactionPurpose%"},{name:"eVar117",type:"value",value:"%transactionType%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"},{name:"eVar169",type:"value",value:"%eventCategory%"},{name:"eVar170",type:"value",value:"%eventAction%"},{name:"eVar171",type:"value",value:"%eventLabel%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop25",type:"value",value:"%siteSection4%"},{name:"prop26",type:"value",value:"%siteSection5%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"},{name:"prop69",type:"value",value:"%eventCategory%"},{name:"prop70",type:"value",value:"%eventAction%"},{name:"prop71",type:"value",value:"%eventLabel%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL2654df90cb1d4854bc01e37a9d50b380",name:"AA STO Form Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:45}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{var n=_satellite.getVar("FlowStep").toLowerCase(),a=(_satellite.getVar("ApplicationID"),_satellite.getVar("PageName").toLowerCase(),_satellite.getVar("SelfServiceType").toLowerCase());-1!==a.indexOf("credit card:sto trailing document:non-financial")&&(-1!==n.indexOf("document upload")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("document submitted")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==a.indexOf("credit card:credit shield enrollment:non-financial")&&(-1!==n.indexOf("landing")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("need analysis")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("credit shield detail")?(t.events=t.events?t.events+",event323":"event323",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323":"event323"):-1!==n.indexOf("successfully submitted")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")), -1!==a.indexOf("card services:supplementary card:non-financial")&&(-1!==n.indexOf("user detail")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("request received")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==a.indexOf("card services:additional card:financial")&&(-1!==n.indexOf("rewards card")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("request received")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==a.indexOf("banking:tax reporting:non-financial")&&(-1!==n.indexOf("before you proceed")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("review personal info")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("review completed form")?(t.events=t.events?t.events+",event323":"event323",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323":"event323"):-1!==n.indexOf("form submitted successfully")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==a.indexOf("card services:credit limit increase:financial")&&(-1!==n.indexOf("amount and employment detail")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("document upload")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("confirmation")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==a.indexOf("sto:time deposit:financial")&&(-1!==n.indexOf("plan detail")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("review and confirm")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("confirmation")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==flowType.indexOf("existingcustomer_odyssey personal loan cross sell application")&&(-1!==n.indexOf("loan detail")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("employment detail")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("enter amount")?(t.events=t.events?t.events+",event323":"event323",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323":"event323"):-1!==n.indexOf("disbursal option detail")?(t.events=t.events?t.events+",event324":"event324",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event324":"event324"):-1!==n.indexOf("document upload")?(t.events=t.events?t.events+",event325":"event325",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event325":"event325"):-1!==n.indexOf("review and confirm")?(t.events=t.events?t.events+",event326":"event326",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event326":"event326"):-1!==n.indexOf("confirmation")&&(t.events=t.events?t.events+",event302":"event302",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302":"event302")),-1!==flowType.indexOf("existingcustomer_odyssey brokerage account opening")&&(-1!==n.indexOf("account detail")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("confirmation")&&(t.events=t.events?t.events+",event302":"event302",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302":"event302")),-1!==flowType.indexOf("existingcustomer_odyssey mutual fund account opening")&&(-1!==n.indexOf("account detail")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("confirmation")&&(t.events=t.events?t.events+",event302":"event302",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302":"event302"))}catch(e){}}},trackerProperties:{}}}]},{id:"RL31c39cd6d7994ece869f7cc1ccf7d66c",name:"AA Lead Form Event",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:30}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%FormType%"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/mortgages/mortgage-calculator"},{value:"/english/mortgages/mortgage-calculator"},{value:"/chinese/mortgages/refinance-home-loan-calculator"},{value:"/english/mortgages/refinance-home-loan-calculator"},{value:"/chinese/loans/mortgages/mortgage-calculator"}]},negate:!0}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FormStep").toLowerCase(),a=_satellite.getVar("LeadID");_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("PageName"),_satellite.getVar("Calculator"),_satellite.getVar("FormType").toLowerCase(),-1!==n.indexOf("form view")||-1!==n.indexOf("formview")?(t.events=t.events?t.events+",event349,event382:"+a:"event349,event382:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event349,event382":"event349,event382"):""==a||-1===n.indexOf("leadcomplete")&&-1===n.indexOf("lead complete")?-1===n.indexOf("prodview")&&-1===n.indexOf("prod view")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652"):(t.events=t.events?t.events+",event316,event358:"+a:"event316,event358:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}},trackerProperties:{}}}]},{id:"RL40edb055d7864472ac905303cac1da11",name:"AA Load__Drupal pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1==window.location.href.indexOf(".do")&&-1==window.location.href.indexOf("refinance-home-loan-calculator")&&-1==window.location.href.indexOf("mortgage-calculator")&&-1==window.location.href.indexOf("/acquisition/")&&-1==window.location.href.indexOf("/libaccope/")&&-1==window.location.href.indexOf("/accope/")&&-1==window.location.href.indexOf("/forms/cse/")&&-1==window.location.href.indexOf("/forms/tdocuments/")&&-1==window.location.href.indexOf("/forms/suppcard/")&&-1==window.location.href.indexOf("/forms/nth/")&&-1==window.location.href.indexOf("/forms/w8/")&&-1==window.location.href.indexOf("/forms/cli/")&&-1==window.location.href.indexOf("/forms/rcplc/")&&-1==window.location.href.indexOf("/forms/td/")&&-1==window.location.href.indexOf("/forms/brk/")&&-1==window.location.href.indexOf("/forms/mf/")}}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/Apps/CitiHK_WF_App.aspx",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){try{if(-1!=window.location.href.toLowerCase().indexOf("ocpbluebar.jsp")||-1!=window.location.href.toLowerCase().indexOf("gct-financial-ng"))return!0;if(citiData&&citiData.page&&"citi internal page"==citiData.page.pageCategory.toLowerCase().trim())return!0}catch(e){}}},negate:!0}],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o);try{var s=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventCategory:"",l=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventAction:"";if(s&&"application"==s.toLowerCase().trim()){var c=_satellite.getVar("ApplicationID");l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+c:"event301,event351:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301,event351":"event301,event351"):l&&"complete"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+c:"event302,event352:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):l&&"rejected"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event303":"event303"):l&&"approved"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):l&&"pending"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event305":"event305"):l&&"save"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event306":"event306")}else if(s&&"lead form"==s.toLowerCase().trim()){var u=_satellite.getVar("LeadID");l&&"view"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+u:"event349,event382:"+u,t.linkTrackEvents="event349,event382"):l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+u:"event315,event357:"+u,t.linkTrackEvents="event315,event357"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+u:"event316,event358:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}else s&&"general form"==s.toLowerCase().trim()?l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event317":"event317"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event318":"event318"):s&&"registration"==s.toLowerCase().trim()?(c=_satellite.getVar("ApplicationID"),l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+c:"event319,event359:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event319,event359":"event319,event359"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+c:"event320,event360:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event320,event360":"event320,event360")):s&&"emgm form"==s.toLowerCase().trim()&&(l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"))}catch(e){console.log("Error Message:Event detail undefined")}try{t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar121,eVar122,eVar123,eVar124,list3":"eVar121,eVar122,eVar123,eVar124,list3",t.eVar121=_satellite.getVar("contentTitle")?_satellite.getVar("contentTitle"):"",t.eVar122=_satellite.getVar("contentDate")?_satellite.getVar("contentDate"):"",t.eVar123=_satellite.getVar("contentType")?_satellite.getVar("contentType"):"",t.eVar124=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):"",t.list3=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):""}catch(e){console.log("Error Message:Event detail undefined")}try{var p=_satellite.getVar("PageName")?_satellite.getVar("PageName"):"",v=(s=_satellite.getVar("eventCategory")?_satellite.getVar("eventCategory"):"",l=_satellite.getVar("eventAction")?_satellite.getVar("eventAction"):"",s&&""!=s?p+"_e:"+s+":"+l:p);if(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=v,!_satellite.getVar("FlowStep")){var d=_satellite.getVar("JourneyFlowName")?_satellite.getVar("JourneyFlowName"):"",m=d&&""!=d?v:"";t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop49,eVar49":"prop49,eVar49",t.prop49=t.eVar49=m}}catch(e){}try{s&&"banner"==s.toLowerCase().trim()&&(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar80,prop27,eVar127,list1":"eVar80,prop27,eVar127,list1",t.eVar80=_satellite.getVar("nbo_shown_sequence")?_satellite.getVar("nbo_shown_sequence").toLowerCase():"",t.list1=_satellite.getVar("nbo_shown_sequence")?_satellite.getVar("nbo_shown_sequence").toLowerCase():"",t.prop27=t.eVar127=_satellite.getVar("bannerAction")?_satellite.getVar("bannerAction").toLowerCase():"",citiData.banner.bannerAction&&"impression"==citiData.banner.bannerAction.toLowerCase().trim()&&(t.events=t.events?t.events+",event852":"event852",t.linkTrackEvents="event852"))}catch(e){}}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar113",type:"value",value:"%transactionID%"},{name:"eVar114",type:"value",value:"%transactionFrequency%"},{name:"eVar115",type:"value",value:"%transactionCurrency%"},{name:"eVar116",type:"value",value:"%transactionPurpose%"},{name:"eVar117",type:"value",value:"%transactionType%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"},{name:"eVar169",type:"value",value:"%eventCategory%"},{name:"eVar170",type:"value",value:"%eventAction%"},{name:"eVar171",type:"value",value:"%eventLabel%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop25",type:"value",value:"%siteSection4%"},{name:"prop26",type:"value",value:"%siteSection5%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"},{name:"prop69",type:"value",value:"%eventCategory%"},{name:"prop70",type:"value",value:"%eventAction%"},{name:"prop71",type:"value",value:"%eventLabel%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL4514d91e4df74ffeb57463840a12d5ce",name:"AA Errors",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customCode.js",settings:{source:function(e){window.addEventListener("DOMContentLoaded",(function(){var t=_satellite.getVar("PageURL_QP");-1==t.indexOf("#accope")&&-1==t.indexOf("#appret")&&e()}))}},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%ErrorMessage%"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar33",type:"value",value:"%ErrorMessage%"},{name:"eVar34",type:"value",value:"%ErrorCode%"},{name:"eVar35",type:"value",value:"%ErrorType%"}],props:[{name:"prop33",type:"alias",value:"eVar33"},{name:"prop35",type:"alias",value:"eVar35"}],events:[{name:"event33"}]}}}]},{id:"RL45670a7089f4441f82d29333042f8124",name:"AA AdditionalServicesOffered Action",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:55}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%AdditionalServicesOffered%"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"doesNotEqual"},leftOperand:"%RetrieveApplication%",rightOperand:"retreiveApplication"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){for(var n=_satellite.getVar("AdditionalServicesOffered").split(","),a="",r=0;r<n.length;r++)a+="services;"+n[r]+";;;;eVar70=additional services,";-1!==a.substr(a.length-1).indexOf(",")&&(a=a.substr(0,a.length-1)),t.products=a,t.events="event313",t.linkTrackEvents="event313",t.linkTrackVars="products"}},trackerProperties:{eVars:[{name:"eVar69",type:"value",value:"%OriginalProductName%"}],server:"%Server%",pageURL:"%PageURL_QP%",pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Additional Services Offered",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL484c44dfedbe471f8835e6ee1a53bffe",name:"Media Pixel - Lead Submit ",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"LeadSubmitEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=$(this).data("ctaname"),t=$(this).data("ctatype"),n=$(this).attr("href"),a=$(this).data("ctaposition");_satellite.setVar("dyn_CTAName",e),_satellite.setVar("dyn_CTAType",t),_satellite.setVar("dyn_CTAURL",n),_satellite.setVar("dyn_CTAPosition",a);for(var r=_satellite.getVar("DownloadFileTypes").split(","),i=!1,o=0;o<r.length;o++)if(n&&-1!==n.indexOf(r[o])){i=!0;break}for(var s=_satellite.getVar("InternalUrls").split(","),l=!1,c=0;c<s.length;c++)if(null!=n){if(n&&-1!==n.indexOf(s[c])||n.indexOf("://")<0){l=!0;break}l=!0;break}if(l&&!i||!n)return!0}}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/mortgages/mortgage-calculator|/chinese/loans/mortgages/mortgage-calculator",valueIsRegex:!0},{value:"/english/mortgages/mortgage-calculator|/english/loans/mortgages/mortgage-calculator",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RC73e13d2cdab042e0a66d60440dc0d5a0-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL4967ac13824e4b01bef59706a7006232",name:"AA Lead Submit Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"LeadSubmitEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",products":"products",o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{id:"%LeadID%",name:"event381"},{name:"event348"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Submit Button Clicked",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL4b56c0d6b02d44c4b49147974f28c6ad",name:"Internal Search Variable",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"searchKeyword"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=citiData.search.searchCount||"0"==citiData.search.searchCount?citiData.search.searchCount:"";console.log("searchcount:"+n),citiData.search&&"0"==citiData.search.searchCount.toString()&&(n="No search result found");var a=citiData.search.searchKeyword?citiData.search.searchKeyword:"";t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop50,eVar50,prop51,eVar51":"prop50,eVar50,prop51,eVar51",t.prop50=t.eVar50=a,t.prop51=t.eVar51=n,t.events=t.events?t.events+",event511,event512:"+n:"event511,event512:"+n,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event511,event512":"event511,event512"}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"internal search",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL558159a7ff2f4f9bb99ebbb22fe509f0",name:"AA BI FlowStep Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:40}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("FlowStep"),t=_satellite.getVar("RetrieveApplication");if(e||t)return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("ApplicationID");_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("PageName"),_satellite.getVar("Calculator"),-1!==_satellite.getVar("FlowType").toLowerCase().indexOf("existingcustomer_leanflow")&&(-1!==n.indexOf("bi flow otp authentication page")?(t.events=t.events?t.events+",event333,event301,event372":"event333,event301,event372",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event333,event301,event372":"event333,event301,event372"):-1!==n.indexOf("bi flow review details page")||-1!==n.indexOf("terms and conditions page")?(t.events=t.events?t.events+",event322,event361:"+a:"event322,event361:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322,event361":"event322,event361"):-1!==n.indexOf("confirmation page")&&(t.events=t.events?t.events+",event302,event352:"+a:"event302,event352:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"))}},trackerProperties:{eVars:[{name:"eVar49",type:"value",value:"%FlowStep%"}],props:[{name:"prop49",type:"alias",value:"eVar49"}]}}}]},{id:"RL57a01554c6e042089a1e27cd42eff4e4",name:"AA AdditionalServicesAccepted Action",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:55}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%AdditionalServicesAccepted%"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"doesNotEqual"},leftOperand:"%RetrieveApplication%",rightOperand:"retreiveApplication"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){for(var n=_satellite.getVar("AdditionalServicesAccepted").split(","),a="",r=0;r<n.length;r++)a+="services;"+n[r]+";;;;eVar70=additional services,";-1!==a.substr(a.length-1).indexOf(",")&&(a=a.substr(0,a.length-1)),t.products=a,t.events="event314", t.linkTrackEvents="event314",t.linkTrackVars="products"}},trackerProperties:{eVars:[{name:"eVar69",type:"value",value:"%OriginalProductName%"}],server:"%Server%",pageURL:"%PageURL_QP%",pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Additional Services Accepted",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL59cd51f575a1455c9661fa1c7b530780",name:"Media Pixel Retail DIY Flow_Citi Gold ",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%ProductFamily%",rightOperand:"Retail"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%CustomerType%",rightOperand:"Citigold"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RC4577519062334fec81a33f4036717e21-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL5c480b3c5bd64d588baed21b5fd01cb4",name:"AA Invest Cloud Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:35}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("FlowType"),r=(_satellite.getVar("PageName").toLowerCase(),_satellite.getVar("SelfServiceType").toLowerCase());-1!==a.indexOf("ExistingCustomer_Invest Cloud Financial Readiness")&&(-1!==n.indexOf("financial readiness")?(console.log("start challenge"),t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841",t.events=t.events?t.events+",event841":"event841"):-1!==n.indexOf("completed challenge")&&(t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842",t.events=t.events?t.events+",event842":"event842")),-1!==r.indexOf("money goals:add goal:non-financial")&&(-1!==n.indexOf("add goal step1")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("add goal step2")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("add goal step3")?(t.events=t.events?t.events+",event323":"event323",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323":"event323"):-1!==n.indexOf("add goal step4")?(t.events=t.events?t.events+",event324":"event324",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event324":"event324"):-1!==n.indexOf("add goal step5")?(t.events=t.events?t.events+",event325":"event325",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event325":"event325"):-1!==n.indexOf("successfully added money goal")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==r.indexOf("money goals:add external asset:non-financial")&&(-1!==n.indexOf("add external asset")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("successfully updated external asset")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==r.indexOf("money goals:edit external asset:non-financial")&&(-1!==n.indexOf("edit external asset")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("successfully updated external asset")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")),-1!==r.indexOf("invest cloud:course:non-financial")&&(-1!==n.indexOf("part 1 of 2")||-1!==n.indexOf("part 1 of 3")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1!==n.indexOf("part 2 of 2")||-1!==n.indexOf("part 2 of 3")?(t.events=t.events?t.events+",event322":"event322",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322":"event322"):-1!==n.indexOf("part 2 of 3")?(t.events=t.events?t.events+",event323":"event323",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323":"event323"):-1!==n.indexOf("pop quiz")?(t.events=t.events?t.events+",event324":"event324",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event324":"event324"):-1!==n.indexOf("complete confirmation")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842"))}catch(e){}}},trackerProperties:{}}}]},{id:"RL6270519c935842ca9e248839b011e7b3",name:"AA FlowStep Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("FlowStep"),t=_satellite.getVar("RetrieveApplication");if(e||t)return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("ApplicationID"),r=_satellite.getVar("RetrieveApplication").toLowerCase(),i=_satellite.getVar("PageName"),o=_satellite.getVar("Calculator");_satellite.getVar("AppStatus").toLowerCase(),_satellite.getVar("DocUploadIndicator").toLowerCase(),!r||-1===r.indexOf("retreiveapplication")&&-1===r.indexOf("retrievecomplete")?-1!==n.indexOf("leanflow customized rate result")?(t.events=t.events?t.events+",event591":"event591",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event591":"event591",t.eVar59=i+":"+o,t.linkTrackVars="eVar59"):-1!==n.indexOf("leanflow pre screening step 1")||-1!==n.indexOf("fcoflow basic information")||-1!==n.indexOf("crosssellflow pre screening")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("leanflow ipa processing")||-1!==n.indexOf("crosssellflow ipa processing")?(t.events=t.events?t.events+",event334,event373:"+a:"event334,event373:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event334,event373":"event334,event373"):-1!==n.indexOf("leanflow pre screening step 2")||-1!==n.indexOf("fcoflow schedule an appointment")||-1!==n.indexOf("fcoflow personal information")||-1!==n.indexOf("crosssellflow ipa")?(t.events=t.events?t.events+",event322,event361:"+a:"event322,event361:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322,event361":"event322,event361"):-1!==n.indexOf("leanflow ipa")||-1!==n.indexOf("fcoflow wealth source")||-1!==n.indexOf("fcoflow wealth resources")||-1!==n.indexOf("leanflow summary and declaration")?(t.events=t.events?t.events+",event323,event362:"+a:"event323,event362:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323,event362":"event323,event362"):-1!==n.indexOf("leanflow fulfilment")||-1!==n.indexOf("fcoflow tax declaration")||-1!==n.indexOf("fcoflow tax information")||-1!==n.indexOf("crosssellflow fulfilment")?(t.events=t.events?t.events+",event324,event363:"+a:"event324,event363:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event324,event363":"event324,event363"):-1!==n.indexOf("leanflow doc upload")||-1!==n.indexOf("fcoflow bundle account offer")||-1!==n.indexOf("crosssellflow doc upload")?(t.events=t.events?t.events+",event325,event364:"+a:"event325,event364:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event325,event364":"event325,event364"):-1!==n.indexOf("leanflow confirmation")||-1!==n.indexOf("fcoflow confirmation")||-1!==n.indexOf("fcoflow application submitted")||-1!==n.indexOf("crosssellflow confirmation")?(t.events=t.events?t.events+",event302,event352:"+a:"event302,event352:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):-1!==n.indexOf("leanflow kba page")?(t.events=t.events?t.events+",event335,event374:"+a:"event335,event374:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event335,event374":"event335,event374"):-1!==n.indexOf("fcoflow security questionnaire")?(t.events=t.events?t.events+",event326,event365:"+a:"event326,event365:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event326,event365":"event326,event365"):-1!==n.indexOf("fcoflow review your info")||-1!==n.indexOf("fcoflow review screen")?(t.events=t.events?t.events+",event327,event366:"+a:"event327,event366:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event327,event366":"event327,event366"):-1!==n.indexOf("fcoflow cbol registration")?(t.events=t.events?t.events+",event328,event367:"+a:"event328,event367:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event328,event367":"event328,event367"):-1!==n.indexOf("leanflow application status inquiry-step1")?(t.events=t.events?t.events+",event345":"event345",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event345":"event345"):-1!==n.indexOf("leanflow application status inquiry-step2")?(t.events=t.events?t.events+",event346":"event346",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event346":"event346"):-1!==n.indexOf("leanflow application status inquiry complete")?(t.events=t.events?t.events+",event347":"event347",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event347":"event347"):-1!==n.indexOf("leanflow retrieve application step 1")||-1!==n.indexOf("fcoflow retrieve application step 1")?(t.events=t.events?t.events+",event307,event353:"+a:"event307,event353:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event307,event353":"event307,event353",t.eVar38="Application Retrieve",t.linkTrackVars="eVar38"):-1!==n.indexOf("leanflow retrieve application step 2")||-1!==n.indexOf("fcoflow retrieve application step 2")?(t.events=t.events?t.events+",event308,event354:"+a:"event308,event354:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event308,event354":"event308,event354",t.eVar38="Application Retrieve",t.linkTrackVars="eVar38"):-1!==n.indexOf("leanflow personal details")||-1!==n.indexOf("leanflow myinfo personal details")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("leanflow application submit")||-1!==n.indexOf("leanflow myinfo application submit")?(t.events=t.events?t.events+",event322,event361:"+a:"event322,event361:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322,event361":"event322,event361"):-1===n.indexOf("leanflow confirm")&&-1===n.indexOf("leanflow myinfo confirm")||(t.events=t.events?t.events+",event302,event352:"+a:"event302,event352:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):(t.events=t.events?t.events+",event310,event356:"+a:"event310,event356:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event310,event356":"event310,event356",t.eVar38="Application Retrieve",t.linkTrackVars="eVar38")}},trackerProperties:{eVars:[{name:"eVar49",type:"value",value:"%FlowStep%"}],props:[{name:"prop49",type:"alias",value:"eVar49"}]}}}]},{id:"RL6312cda5a7d64d33beb384a19ca4fa91",name:"HK Media Pixel | Doubleclick | BAU pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(e){return new Date(e)}var t=new Date;const n=location.pathname;switch(!0){case("/english/wealth-management/citigold-private-client/upgrade/"==n||"/english/cpc/upgradenow-thankyou/index.htm"==n||"/chinese/wealth-management/citigold-private-client/apply-now/"==n||"/chinese/cpc/applynow-thankyou/index.htm"==n)&&t<=e("12/31/2024"):case("/chinese/credit-cards/promotions/student-cards/"==n||"/english/credit-cards/promotions/student-cards/"==n)&&t<=e("12/31/2024"):case"/chinese/credit-cards/promotions/ekin/"==n&&t<=e("12/31/2024"):case"/chinese/credit-cards/cash-back-card"==n&&t<=e("05/25/2024"):case"/english/credit-cards/cash-back-card"==n&&t<=e("05/25/2024"):case"/chinese/mobile-banking/flash-sale"==n&&t<=e("05/25/2024"):case"/english/mobile-banking/flash-sale"==n&&t<=e("05/25/2024"):case"/chinese/mobile-banking/promotion-bank-in-hand"==n&&t<=e("05/25/2024"):case"/english/mobile-banking/promotion-bank-in-hand"==n&&t<=e("05/25/2024"):case"/chinese/banking/red-packet-function"==n&&t<=e("05/25/2024"):case"/english/banking/red-packet-function"==n&&t<=e("05/25/2024"):case"/chinese/credit-cards/citi-plus-card"==n&&t<=e("05/25/2024"):case"/english/credit-cards/citi-plus-card"==n&&t<=e("05/25/2024"):case("/chinese/mortgages/manage-mortgage"==n||"/chinese/loans/mortgages/manage-my-mortgage"==n)&&t<=e("05/25/2024"):case("/english/mortgages/manage-mortgage"==n||"/english/loans/mortgages/manage-my-mortgage"==n)&&t<=e("05/25/2024"):case"/chinese/loans/mortgages/mortgage-calculator"==n&&t<=e("05/25/2024"):case"/english/loans/mortgages/mortgage-calculator"==n&&t<=e("05/25/2024"):case"/chinese/credit-cards/promotions/media.html"==n&&t<=e("05/25/2024"):case"/chinese/loans/tactical/loans.html"==n&&t<=e("05/25/2024"):case("/english/wealth-management/citigold/apply-now/"==n||"/english/cpc/applynow-thankyou/index.htm"==n||"/chinese/cpc/applynow-thankyou/index.htm"==n)&&t<=e("05/25/2024"):case("/english/wealth-management/citigold/privileges-and-offers/welcome-offers/"==n||"/chinese/wealth-management/citigold/privileges-and-offers/welcome-offers/"==n)&&t<=e("12/31/2024"):case("/chinese/personal-banking/citi-plus/"==n||"/english/personal-banking/citi-plus/"==n)&&t<=e("12/31/2024"):case("/chinese/loans/personal-loans/speedy-cash"==n||"/english/loans/personal-loans/speedy-cash"==n||"/global_docs/chinese/loans/tactical/loan.html"==n||"/global_docs/english/loans/tactical/loan.html"==n||"/english/loans/tactical/loans.html"==n||"/chinese/loans/tactical/loans.html"==n)&&t<=e("07/31/2025"):case("/chinese/credit-cards/quick-cash.html"==n||"/english/credit-cards/quick-cash.html"==n)&&t<=e("12/31/2024"):case("/english/credit-cards/promotions/SEM"==n||"/chinese/credit-cards/promotions/SEM"==n)&&t<=e("12/31/2024"):case("/english/personal-banking/citi-plus/SEM/"==n||"/chinese/personal-banking/citi-plus/SEM/"==n)&&t<=e("12/31/2024"):case("/chinese/credit-cards/promotions/student/circle/"==n||"/english/credit-cards/promotions/student/circle/"==n||"/chinese/credit-cards/promotions/student/kingdom/"==n||"/english/credit-cards/promotions/student/kingdom/"==n)&&t<=e("12/31/2024"):case"/chinese/credit-cards/promotions/endy-chow"==n||"/chinese/credit-cards/promotions/endy-chow.html"==n&&t<=e("12/31/2024"):case"/english/credit-cards/promotions/endy-chow"==n||"/english/credit-cards/promotions/endy-chow.html"==n&&t<=e("12/31/2024"):case("/chinese/credit-cards/promotions/student-cards/"==n||"/english/credit-cards/promotions/student-cards/"==n)&&t<=e("12/31/2024"):case("/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/"==n||"/english/wealth-management/investment/promotions/citigold-exclusive-offer/"==n)&&t<=e("12/31/2024"):case("/chinese/loans/mortgages/tools/"==n||"/chinese/loans/mortgages/mortgage-offers/"==n||"/chinese/loans/mortgages/"==n||"/chinese/loans/mortgages/mortgage-plan/90-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/deposit-linked-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/hibor-based-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/hibor-linked-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/home-smart-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/"==n||"/chinese/loans/mortgages/mortgage-plan/mortgage-refinancing/"==n||"/chinese/loans/mortgages/overseas-property-mortgage/"==n||"/chinese/loans/mortgages/mortgage-plan/prime-based-mortgage/"==n||"/chinese/loans/mortgages/learn-and-help/property-market-insights/"==n||"/chinese/loans/mortgages/tools/useful-mortgage-information/"==n||"/english/loans/mortgages/tools/"==n||"/english/loans/mortgages/mortgage-offers/"==n||"/english/loans/mortgages/"==n||"/english/loans/mortgages/mortgage-plan/90-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/deposit-linked-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/hibor-based-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/hibor-linked-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/home-smart-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/"==n||"/english/loans/mortgages/mortgage-plan/mortgage-refinancing/"==n||"/english/loans/mortgages/overseas-mortgage/"==n||"/english/loans/mortgages/mortgage-plan/prime-based-mortgage/"==n||"/english/loans/mortgages/learn-and-help/property-market-insights/"==n||"/english/loans/mortgages/tools/useful-mortgage-information/"==n)&&t<=e("12/31/2024"):case("/chinese/credit-cards/promotions/milestactical/"==n||"/english/credit-cards/promotions/milestactical/"==n)&&t<=e("12/31/2023"):case("/sc/international-banking/apply-now/"==n||"/sc/international-banking/apply-now-thank-you.html"==n||"/zh/international-banking/about-ipb/"==n||"/en/international-banking/apply-now/"==n||"/en/international-banking/apply-now-thank-you.html"==n)&&t<=e("12/31/2023"):case("/chinese/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles"==n||"/english/loans/mortgages/learn-and-help/mortgage-and-home-loan-blog-articles"==n)&&t<=e("12/31/2023"):case"/english/loans/mortgages/overseas-property-mortgage/"==n&&t<=e("12/31/2023"):case"/chinese/cpc/contactus-thankyou/index.htm"==n&&t<=e("12/31/2023"):case("/zh/international-banking/apply-now/"==n||"/zh/international-banking/apply-now-thank-you.html"==n||"/en/international-banking/about-ipb/"==n||"/sc/international-banking/about-ipb/"==n)&&t<=e("12/31/2023"):case("/chinese/personal-banking/citi-plus/promotions/exclusive-offer/index.html"==n||"/english/personal-banking/citi-plus/promotions/exclusive-offer/index.html"==n)&&t<=e("12/31/2023"):case("/en/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html"==n||"/sc/international-banking/privileges-and-offers/ipb-exclusive-offer/index.html"==n||"/sc/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html"==n||"/en/international-banking/privileges-and-offers/cpc-ipb-exclusive-offer/index.html"==n)&&t<=e("12/31/2023"):case("/en/international-banking/apply-now/"==n||"/en/international-banking/apply-now-thank-you.html"==n)&&t<=e("12/31/2023"):case("/english/credit-cards/promotions/2023-uefa-club-card"==n||"/chinese/credit-cards/promotions/2023-uefa-club-card"==n)&&t<=e("12/31/2023"):case("/chinese/wealth-management/investment/promotions/citigold-exclusive-offer/"==n||"/english/wealth-management/investment/promotions/citigold-exclusive-offer/"==n)&&t<=e("12/31/2023"):case("/chinese/credit-cards/promotions/cash-rebate/"==n||"/english/credit-cards/promotions/cash-rebate/"==n)&&t<=e("12/31/2023"):case("/chinese/wealth-management/citigold/apply-now2/"==n||"/chinese/citigold/thank-you/"==n||"/english/citigold/thank-you/"==n)&&t<=e("10/19/2024"):case("/english/loans/landing-page/personal-loans/speedy-cash-mh-apps/"==n||"/chinese/loans/landing-page/personal-loans/speedy-cash-mh-apps/"==n)&&t<=e("10/19/2024"):case("/chinese/livesmart/trending/investment-opportunities-after-us-election/"==n||"/chinese/livesmart/trending/things-you-need-to-know-about-us-election/"==n)&&t<=e("11/30/2024"):case("/english/citigold/thank-you/index.htm"==n||"/chinese/citigold/thank-you/index.htm"==n)&&t<=e("11/30/2024"):return!0;default:_satellite.logger.info("no path match")}}}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"%Media pixel | Cat | BAU pages%"},ord:{key:"ord",value:"7864569823475"},src:{key:"src",value:"8121631"},type:{key:"type",value:"%Media Pixel | Type | BAU Pages%"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL64a8f364852249bb8ceb340407b41184",name:"AT Load",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!(window.location.hostname.indexOf("forms.citibank.com")>-1)&&"post"!=_satellite.getVar("cbolDept")&&(-1==window.location.href.indexOf("/JSO/signon/")&&-1==window.location.href.indexOf("/JSO/username/signon/")&&-1==window.location.href.indexOf("/JPS/apps/otpstc/")&&-1==window.location.href.indexOf("/JSO/signoff/")||void 0)}}}],actions:[{modulePath:"adobe-target-v2/lib/loadTarget.js",settings:{}},{modulePath:"adobe-target-v2/lib/addParams.js",settings:{params:{at_property:{value:"ed82ceea-be21-c4b8-5716-d51f0881fa8f",checked:!1},mbox_pagename:{value:"%Mbox_Pagename%",checked:!1}}}},{modulePath:"adobe-target-v2/lib/firePageLoad.js",settings:{bodyHiddenStyle:"body {opacity: 0}",bodyHidingEnabled:!0}}]},{id:"RL681c6f0b0818463b849897a2e9311070",name:"AA Load- Login Page",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:53},{modulePath:"core/src/lib/events/customCode.js",settings:{source:function(e){window.addEventListener("DOMContentLoaded",(function(){var t=_satellite.getVar("PageURL_QP");-1==t.indexOf("#accope")&&-1==t.indexOf("#appret")&&e()}))}},ruleOrder:53}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1!=window.location.href.indexOf(".do")}}}],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o),(-1!==flowStep.indexOf("retrieve application step 1")||-1!==flowStep.indexOf("retrieve application step 2")||retrieveApplication&&-1!==retrieveApplication.indexOf("retreiveapplication"))&&(t.eVar38="Application Retrieve",t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar38":"eVar38")}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL77282ec2318b43e8a8667e627da34481",name:"AA User Action",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"useraction"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(){}},trackerProperties:{eVars:[{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar54",type:"value",value:"%event.detail.ctaname%"},{name:"eVar55",type:"value",value:"%event.detail.ctatype%"},{name:"eVar56",type:"value",value:"%event.detail.ctaposition%"},{name:"eVar57",type:"value",value:"%PageName%:%event.detail.ctaname%:%event.detail.ctatype%"},{name:"eVar87",type:"value",value:"%event.detail.bannername%"},{name:"eVar130",type:"value",value:"%CCSID%"}],props:[{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop54",type:"value",value:"%event.detail.ctaname%"},{name:"prop55",type:"value",value:"%event.detail.ctatype%"},{name:"prop56",type:"value",value:"%event.detail.ctaposition%"}],events:[{name:"event541"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"%event.detail.ctaname%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL7d038c997f71406390691e5f2b8d3175",name:"AA SavedApplication Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%SavedApplication%"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event306"}]}}}]},{id:"RL7d9af1758b13485582611101f44e0e34",name:"AA CounterOffer Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%CounterOffer%"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("CounterOffer").toLowerCase(),a=_satellite.getVar("ApplicationID").toLowerCase();-1!==n.indexOf("counterofferreject")?(t.events=t.events?t.events+",event343,event742,event379:"+a:"event343,event742,event379:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event343,event742,event379":"event343,event742,event379"):-1!==n.indexOf("counterofferaccept")&&(t.events=t.events?t.events+",event343,event741,event379:"+a:"event343,event741,event379:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event343,event741,event379":"event343,event741,event379")}},trackerProperties:{}}}]},{id:"RL8ec1d3cc4e884ddd844f942d88f702ca",name:"AA Scroll_Percentage",events:[{modulePath:"core/src/lib/events/customCode.js",settings:{source:function(e){document.addEventListener("scroll",(function(){e()}))}},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(-1!=location.pathname.indexOf("/english/insurance/travel-insurance/index.htm")||-1!=location.pathname.indexOf("/english/insurance/travel-insurance/online-quote.htm")||-1!=location.pathname.indexOf("/english/wealth-management/investment/portfolio-financing")||-1!=location.pathname.indexOf("/chinese/wealth-management/investment/portfolio-financing"))return!0}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=document.documentElement,t=document.body,n="scrollTop",a="scrollHeight",r=(e[n]||t[n])/((e[a]||t[a])-e.clientHeight)*100,i=parseInt(r);return i>=97&&"true"!=sessionStorage.getItem("scroll_100Per")?(sessionStorage.setItem("scroll_100Per","true"),!0):i>=75&&i<97&&"true"!=sessionStorage.getItem("scroll_75Per")?(sessionStorage.setItem("scroll_75Per","true"),!0):i>=50&&i<75&&"true"!=sessionStorage.getItem("scroll_50Per")?(sessionStorage.setItem("scroll_50Per","true"), !0):i>=25&&i<50&&"true"!=sessionStorage.getItem("scroll_25Per")?(sessionStorage.setItem("scroll_25Per","true"),!0):void 0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.linkTrackVars="eVar20,eVar27,prop20,eVar169,prop69,eVar170,prop70,eVar171,prop71",t.prop20=t.eVar20=_satellite.getVar("PageName"),t.pageName=t.eVar20;var n=document.documentElement,a=document.body,r="scrollTop",i="scrollHeight",o=(n[r]||a[r])/((n[i]||a[i])-n.clientHeight)*100,s=parseInt(o);s>=97?(t.eVar27="100%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="100%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_100Per","true"),"true"!=sessionStorage.getItem("scroll_75Per")&&(t.eVar27="75%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="75%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_75Per","true")),"true"!=sessionStorage.getItem("scroll_50Per")&&(t.eVar27="50%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="50%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_50Per","true")),"true"!=sessionStorage.getItem("scroll_25Per")&&(t.eVar27="25%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="25%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_25Per","true"))):s>=75&&s<97?(t.eVar27="75%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="75%",sessionStorage.setItem("scroll_75Per","true"),t.tl(!0,"o","scroll percentage"),"true"!=sessionStorage.getItem("scroll_50Per")&&(t.eVar27="50%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="50%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_50Per","true")),"true"!=sessionStorage.getItem("scroll_25Per")&&(t.eVar27="25%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="25%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_25Per","true"))):s>=50&&s<75?(t.eVar27="50%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="50%",sessionStorage.setItem("scroll_50Per","true"),t.tl(!0,"o","scroll percentage"),"true"!=sessionStorage.getItem("scroll_25Per")&&(t.eVar27="25%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="25%",t.tl(!0,"o","scroll percentage"),sessionStorage.setItem("scroll_25Per","true"))):s>=25&&s<50&&(console.log("beacon cond"),t.eVar27="25%",t.eVar169=t.prop69="interaction",t.eVar170=t.prop70="scroll",t.eVar171=t.prop71="25%",sessionStorage.setItem("scroll_25Per","true"),t.tl(!0,"o","scroll percentage"))}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL8f78e1cd8b9d4505a1eb05c24d727f48",name:"HK Media Pixel | GoogleTag | Card Forms",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%ProductFamily%",rightOperand:"Cards"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){}}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"DoubleClick event",options:[["u1","%ApplicationID%"]],accounts:{1697185317925:{label:"%Media Pixel | Card Forms | Conversion label%",enabled:!0}},callback:null}}]},{id:"RL9282a9e4d31c4f47ad3ba4c0409cc442",name:"AA Referral Complete",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"GlobalReferralComplete",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{name:"event430"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"MGM Form Completed :%FormName%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL9f5a93af1f764ab59f168c6a074ce074",name:"Media Pixel Retail FCO Flow_Citi Blue",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%ProductFamily%",rightOperand:"Retail"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%CustomerType%",rightOperand:"citiblue"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RC4a99120caa844534b6f2d047c30a2a17-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLa0e9fe6e633549e186b784b404e90d6a",name:"AA Mortgage Lead Form Event ",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:30}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/mortgages/mortgage-calculator"},{value:"/english/mortgages/mortgage-calculator"},{value:"/chinese/mortgages/refinance-home-loan-calculator"},{value:"/english/mortgages/refinance-home-loan-calculator"},{value:"/chinese/loans/mortgages/mortgage-calculator"}]}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%PageName%",rightOperand:"Speak to us Form Landing"},negate:!0}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FormStep").toLowerCase(),a=_satellite.getVar("LeadID");_satellite.getVar("RetrieveApplication").toLowerCase(),_satellite.getVar("PageName"),_satellite.getVar("Calculator"),_satellite.getVar("FormType").toLowerCase(),-1!==n.indexOf("form view")||-1!==n.indexOf("formview")?(t.events=t.events?t.events+",event349,event382:"+a:"event349,event382:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event349,event382":"event349,event382"):-1===n.indexOf("leadcomplete")&&-1===n.indexOf("lead complete")||(t.events=t.events?t.events+",event316,event358:"+a:"event316,event358:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}},trackerProperties:{}}}]},{id:"RLa1a2f41ad2114c0392da3807315c1222",name:"Media pixel Lean Loan Flow",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%ProductFamily%",rightOperand:"Lending"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RCc28a4609b5e04e658209268408f7dae5-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLa3005c9aa689496a82a67334f3b50a2b",name:"HK Media Pixel | DoubleClick-9180494 | BAU Pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(e){return new Date(e)}var t=new Date;const n=location.pathname;switch(!0){case("/english/wealth-management/citigold-private-client/upgrade/"==n||"/english/cpc/upgradenow-thankyou/index.htm"==n||"/chinese/wealth-management/citigold-private-client/apply-now/"==n||"/chinese/cpc/applynow-thankyou/index.htm"==n)&&t<=e("12/31/2024"):case"/chinese/credit-cards/promotions/media.html"==n&&t<=e("12/31/2024"):case"/english/wealth-management/citigold-private-client/apply-now/"==n&&t<=e("12/31/2024"):case"/chinese/loans/tactical/loans.html"==n&&t<=e("07/31/2025"):case("/chinese/loans/personal-loans/card-debt-consolidation-loans/"==n||"/english/loans/personal-loans/card-debt-consolidation-loans/"==n)&&t<=e("05/22/2024"):return!0;default:_satellite.logger.info("no path match")}}}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"%Media pixel | DC-9180494 | Cat | BAU pages%"},ord:{key:"ord",value:"3457654345655"},src:{key:"src",value:"9180494"},type:{key:"type",value:"%Media Pixel | DC-9180494 | Type | BAU Pages%"}},elementTagName:"iframe",floodlightType:"counter"}}]},{id:"RLa6bca965026a4c01885fdf6374ed247e",name:"AA | User Interaction | OCP | Account Info Screen | Page Load",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"adobeEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){try{if("ocp:account infomation"==adobeEvent.detail.eventCategory||"ocp:account information"==adobeEvent.detail.eventCategory)return!0}catch(e){}}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o);try{var s=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventCategory:"",l=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventAction:"";if(s&&"application"==s.toLowerCase().trim()){var c=_satellite.getVar("ApplicationID");l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+c:"event301,event351:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301,event351":"event301,event351"):l&&"complete"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+c:"event302,event352:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):l&&"rejected"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event303":"event303"):l&&"approved"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):l&&"pending"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event305":"event305"):l&&"save"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event306":"event306")}else if(s&&"lead form"==s.toLowerCase().trim()){var u=_satellite.getVar("LeadID");l&&"view"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+u:"event349,event382:"+u,t.linkTrackEvents="event349,event382"):l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+u:"event315,event357:"+u,t.linkTrackEvents="event315,event357"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+u:"event316,event358:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}else s&&"general form"==s.toLowerCase().trim()?l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event317":"event317"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event318":"event318"):s&&"registration"==s.toLowerCase().trim()?(c=_satellite.getVar("ApplicationID"),l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+c:"event319,event359:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event319,event359":"event319,event359"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+c:"event320,event360:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event320,event360":"event320,event360")):s&&"emgm form"==s.toLowerCase().trim()&&(l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"))}catch(e){console.log("Error Message:Event detail undefined")}try{t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar121,eVar122,eVar123,eVar124,list3":"eVar121,eVar122,eVar123,eVar124,list3",t.eVar121=_satellite.getVar("contentTitle")?_satellite.getVar("contentTitle"):"",t.eVar122=_satellite.getVar("contentDate")?_satellite.getVar("contentDate"):"",t.eVar123=_satellite.getVar("contentType")?_satellite.getVar("contentType"):"",t.eVar124=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):"",t.list3=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):""}catch(e){console.log("Error Message:Event detail undefined")}try{var p=_satellite.getVar("PageName")?_satellite.getVar("PageName"):"",v=(s=_satellite.getVar("eventCategory")?_satellite.getVar("eventCategory"):"",l=_satellite.getVar("eventAction")?_satellite.getVar("eventAction"):"",s&&""!=s?p+"_e:"+s+":"+l:p);if(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=v,!_satellite.getVar("FlowStep")){var d=_satellite.getVar("JourneyFlowName")?_satellite.getVar("JourneyFlowName"):"",m=d&&""!=d?v:"";t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop49,eVar49":"prop49,eVar49",t.prop49=t.eVar49=m}}catch(e){}}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar113",type:"value",value:"%transactionID%"},{name:"eVar114",type:"value",value:"%transactionFrequency%"},{name:"eVar115",type:"value",value:"%transactionCurrency%"},{name:"eVar116",type:"value",value:"%transactionPurpose%"},{name:"eVar117",type:"value",value:"%transactionType%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"},{name:"eVar169",type:"value",value:"%eventCategory%"},{name:"eVar170",type:"value",value:"%eventAction%"},{name:"eVar171",type:"value",value:"%eventLabel%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop25",type:"value",value:"%siteSection4%"},{name:"prop26",type:"value",value:"%siteSection5%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"},{name:"prop69",type:"value",value:"%eventCategory%"},{name:"prop70",type:"value",value:"%eventAction%"},{name:"prop71",type:"value",value:"%eventLabel%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLabe84769900449c4ac1139bd305772d4",name:"AA Scroll Path 25%",events:[{modulePath:"ags055-time-spent-and-scroll-depth-combined-event/src/lib/events/combinedTimeSpentAndScrollDepth.js",settings:{fireOnce:!0,initDelay:400,timeSpent:15,scrollDepth:25,fireOnShortPages:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"scrollPath25",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/prestige-card-alchemy"},{value:"/chinese/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/english/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/english/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/chinese/credit-cards/prestige-card"},{value:"/english/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/prestige-card"},{value:"/hkgcb/chinese/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/chinese/credit-cards/rewards-card"},{value:"/english/credit-cards/rewards-card"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card"},{value:"/english/credit-cards/rewards-card-alchemy-2"},{value:"/chinese/credit-cards/rewards-card-alchemy-2"}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar27",type:"value",value:"25%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop20",type:"value",value:"%PageName%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Scroll Depth",linkType:"o"}}]},{id:"RLac2b7596ec464d87b70eaa8a2d4bde0c",name:"Media Pixels - CTA",events:[{modulePath:"core/src/lib/events/click.js",settings:{anchorDelay:100,elementSelector:"a",elementProperties:[{name:"data-ctatype",value:"(?:^|\\W)link|button(?:$|\\W)",valueIsRegex:!0}],bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"button",elementProperties:[{name:"data-ctatype",value:"(?:^|\\W)link|button(?:$|\\W)",valueIsRegex:!0}],bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"button",elementProperties:[{name:"class",value:"(?:^|\\W)close|btn(?:$|\\W)",valueIsRegex:!1}],bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=$(this).data("ctaname"),t=$(this).data("ctatype"),n=$(this).attr("href"),a=$(this).data("ctaposition");_satellite.setVar("dyn_CTAName",e),_satellite.setVar("dyn_CTAType",t),_satellite.setVar("dyn_CTAURL",n),_satellite.setVar("dyn_CTAPosition",a);for(var r=_satellite.getVar("DownloadFileTypes").split(","),i=!1,o=0;o<r.length;o++)if(n&&-1!==n.indexOf(r[o])){i=!0;break}for(var s=_satellite.getVar("InternalUrls").split(","),l=!1,c=0;c<s.length;c++)if(null!=n){if(n&&-1!==n.indexOf(s[c])||n.indexOf("://")<0){l=!0;break}l=!0;break}if(l&&!i||!n)return!0}}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/mortgages/mortgage-calculator|/chinese/loans/mortgages/mortgage-calculator",valueIsRegex:!0},{value:"/english/mortgages/mortgage-calculator|/english/loans/mortgages/mortgage-calculator",valueIsRegex:!0},{value:"/chinese/mortgages/manage-mortgage|/chinese/loans/mortgages/manage-my-mortgage",valueIsRegex:!0},{value:"/english/mortgages/manage-mortgage|/english/loans/mortgages/manage-my-mortgage",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RC6dc102ff255b460e8a44b5dc26c5712c-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLb16f890cc91a4f8c8d9d310ba0bdef30",name:"AA | User Interaction | OCP | Page Load",events:[{modulePath:"core/src/lib/events/domReady.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){try{if(citiData&&citiData.page&&"citi internal page"==citiData.page.pageCategory.toLowerCase().trim()&&""!=citiData.page.pageName&&null!=citiData.page.pageName)return!0}catch(e){}}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetValOnce.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetVisitNum.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetTimeParting.js",settings:{}},{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetNewRepeat.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o);try{var s=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventCategory:"",l=citiData&&citiData.adobeEvent?citiData.adobeEvent.eventAction:"";if(s&&"application"==s.toLowerCase().trim()){var c=_satellite.getVar("ApplicationID");l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event301,event351:"+c:"event301,event351:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301,event351":"event301,event351"):l&&"complete"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event302,event352:"+c:"event302,event352:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"):l&&"rejected"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event303":"event303", t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event303":"event303"):l&&"approved"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event304":"event304",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event304":"event304"):l&&"pending"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event305":"event305",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event305":"event305"):l&&"save"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event306":"event306",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event306":"event306")}else if(s&&"lead form"==s.toLowerCase().trim()){var u=_satellite.getVar("LeadID");l&&"view"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event349,event382:"+u:"event349,event382:"+u,t.linkTrackEvents="event349,event382"):l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event315,event357:"+u:"event315,event357:"+u,t.linkTrackEvents="event315,event357"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event316,event358:"+u:"event316,event358:"+u,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event316,event358":"event316,event358")}else s&&"general form"==s.toLowerCase().trim()?l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event317":"event317",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event317":"event317"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event318":"event318",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event318":"event318"):s&&"registration"==s.toLowerCase().trim()?(c=_satellite.getVar("ApplicationID"),l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event319,event359:"+c:"event319,event359:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event319,event359":"event319,event359"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event320,event360:"+c:"event320,event360:"+c,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event320,event360":"event320,event360")):s&&"emgm form"==s.toLowerCase().trim()&&(l&&"start"==l.toLowerCase().trim()?(t.events=t.events?t.events+",event428":"event428",t.linkTrackEvents="event428"):l&&"complete"==l.toLowerCase().trim()&&(t.events=t.events?t.events+",event430":"event430",t.linkTrackEvents="event430"))}catch(e){console.log("Error Message:Event detail undefined")}try{t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar121,eVar122,eVar123,eVar124,list3":"eVar121,eVar122,eVar123,eVar124,list3",t.eVar121=_satellite.getVar("contentTitle")?_satellite.getVar("contentTitle"):"",t.eVar122=_satellite.getVar("contentDate")?_satellite.getVar("contentDate"):"",t.eVar123=_satellite.getVar("contentType")?_satellite.getVar("contentType"):"",t.eVar124=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):"",t.list3=_satellite.getVar("contentLabel")?_satellite.getVar("contentLabel"):""}catch(e){console.log("Error Message:Event detail undefined")}try{var p=_satellite.getVar("PageName")?_satellite.getVar("PageName"):"",v=(s=_satellite.getVar("eventCategory")?_satellite.getVar("eventCategory"):"",l=_satellite.getVar("eventAction")?_satellite.getVar("eventAction"):"",s&&""!=s?p+"_e:"+s+":"+l:p);if(t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop61,eVar161":"prop61,eVar161",t.prop61=t.eVar161=v,!_satellite.getVar("FlowStep")){var d=_satellite.getVar("JourneyFlowName")?_satellite.getVar("JourneyFlowName"):"",m=d&&""!=d?v:"";t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",prop49,eVar49":"prop49,eVar49",t.prop49=t.eVar49=m}}catch(e){}}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar113",type:"value",value:"%transactionID%"},{name:"eVar114",type:"value",value:"%transactionFrequency%"},{name:"eVar115",type:"value",value:"%transactionCurrency%"},{name:"eVar116",type:"value",value:"%transactionPurpose%"},{name:"eVar117",type:"value",value:"%transactionType%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"},{name:"eVar147",type:"value",value:"%PageName%"},{name:"eVar169",type:"value",value:"%eventCategory%"},{name:"eVar170",type:"value",value:"%eventAction%"},{name:"eVar171",type:"value",value:"%eventLabel%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop25",type:"value",value:"%siteSection4%"},{name:"prop26",type:"value",value:"%siteSection5%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop38",type:"value",value:"%PageName%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop65",type:"value",value:"%FlowType%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"},{name:"prop69",type:"value",value:"%eventCategory%"},{name:"prop70",type:"value",value:"%eventAction%"},{name:"prop71",type:"value",value:"%eventLabel%"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLb33720fc2a6043eab31f5de220013ab4",name:"AA Scroll Path 50%",events:[{modulePath:"ags055-time-spent-and-scroll-depth-combined-event/src/lib/events/combinedTimeSpentAndScrollDepth.js",settings:{fireOnce:!0,initDelay:400,timeSpent:15,scrollDepth:50,fireOnShortPages:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"scrollPath50",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/credit-cards/prestige-card-alchemy"},{value:"/english/credit-cards/prestige-card-alchemy"},{value:"/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/english/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/english/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/prestige-card-alchemy"},{value:"/english/credit-cards/prestige-card"},{value:"/chinese/credit-cards/prestige-card"},{value:"/hkgcb/chinese/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/prestige-card"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/chinese/credit-cards/rewards-card"},{value:"/english/credit-cards/rewards-card"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card"},{value:"/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/english/credit-cards/rewards-card-alchemy-2"}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar27",type:"value",value:"50%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop20",type:"value",value:"%PageName%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Scroll Depth",linkType:"o"}}]},{id:"RLbb0a6e89854b4dc99c6bc209b2e00013",name:"AA Scroll Path 100%",events:[{modulePath:"ags055-time-spent-and-scroll-depth-combined-event/src/lib/events/combinedTimeSpentAndScrollDepth.js",settings:{fireOnce:!0,initDelay:400,timeSpent:15,scrollDepth:100,fireOnShortPages:!0},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"scrollPath100",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/premiermiles-card-alchemy"},{value:"/english/credit-cards/prestige-card-alchemy"},{value:"/chinese/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/english/credit-cards/premiermiles-card-alchemy"},{value:"/hkgcb/english/credit-cards/prestige-card-alchemy"},{value:"/hkgcb/chinese/credit-cards/prestige-card-alchemy"},{value:"/english/credit-cards/prestige-card"},{value:"/chinese/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/prestige-card"},{value:"/hkgcb/chinese/credit-cards/prestige-card"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/english/credit-cards/rewards-card"},{value:"/chinese/credit-cards/rewards-card"},{value:"/hkgcb/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card-alchemy-2"},{value:"/hkgcb-prod-preview/english/credit-cards/rewards-card"},{value:"/hkgcb-prod-preview/chinese/credit-cards/rewards-card"},{value:"/english/credit-cards/rewards-card-alchemy-2"},{value:"/chinese/credit-cards/rewards-card-alchemy-2"}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar27",type:"value",value:"100%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop20",type:"value",value:"%PageName%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Scroll Depth",linkType:"o"}}]},{id:"RLc3b790f3004c4a01bdc136df7c3c8f81",name:"AA ECID Forwarding ",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"ecid|ECID",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/chinese/banking/promotion-citigold-ota-offer.html"},{value:"/english/banking/promotion-citigold-ota-offer.html"},{value:"/english/wealth-management/promotions/citi-wealth-citigold/"},{value:"/chinese/wealth-management/promotions/citi-wealth-citigold/"},{value:"/chinese/wealth-management/promotions/citi-wealth-citigold-private-client/"},{value:"/english/wealth-management/promotions/citi-wealth-citigold-private-client/"}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RCaa8d1cd7786b4febb11389d58d8184c4-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLc44f9857b4b9454cb058b180ee39a816",name:"AA Referral Submit Complete Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"GlobalReferralSubmitComplete",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",products":"products",o&&(t.products=o);var s=_satellite.getVar("FlowStep").toLowerCase(),l=_satellite.getVar("RetrieveApplication").toLowerCase();(-1!==s.indexOf("retrieve application step 1")||-1!==s.indexOf("retrieve application step 2")||l&&-1!==l.indexOf("retreiveapplication"))&&(t.eVar38="Application Retrieve",t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",eVar38":"eVar38")}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{name:"event430"},{name:"event429"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"MGM Form Submit Completed :%FormName%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLc6b8862e580940678cdcb6417dc3a822",name:"AA | User Interaction | OCP | SPA | Page Load",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"adobeEvent",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(adobeEvent&&adobeEvent.detail.eventCategory&&"spa"==adobeEvent.detail.eventCategory.toLowerCase())return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{t.linkTrackVars="prop20,eVar20,prop69,prop70,prop71,eVar169,eVar170,eVar171,prop24,eVar24,prop19,eVar19,eVar6,prop6,eVar103,prop7,eVar130,prop10,eVar131,prop2,eVar2,eVar119",t.prop20=t.eVar20=adobeEvent.detail.pageName&&""!=adobeEvent.detail.pageName?adobeEvent.detail.pageName:_satellite.getVar("PageName"),t.prop69=t.eVar169=adobeEvent.detail.eventCategory?adobeEvent.detail.eventCategory.toLowerCase():"undefined",t.prop70=t.eVar170=adobeEvent.detail.eventAction?adobeEvent.detail.eventAction.toLowerCase():"undefined",t.prop71=t.eVar171=adobeEvent.detail.eventLabel?adobeEvent.detail.eventLabel.toLowerCase():"undefined",t.pageName=t.eVar20,t.prop24=t.eVar24=adobeEvent.detail.language?adobeEvent.detail.language:"undefined",t.prop19=t.eVar19=adobeEvent.detail.pageCategory?adobeEvent.detail.pageCategory:"undefined",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID()?_satellite.getVisitorId().getMarketingCloudVisitorID():"undefined",t.eVar103=_satellite.cookie.get("aam_uuid")?_satellite.cookie.get("aam_uuid"):"undefined",t.prop7=t.eVar130=adobeEvent.detail.cCSID?adobeEvent.detail.cCSID:"undefined",t.prop10=t.eVar131=adobeEvent.detail.customerType?adobeEvent.detail.customerType:"undefined",t.prop2=t.eVar2=adobeEvent.detail.country?adobeEvent.detail.country:"undefined",t.eVar119=adobeEvent.detail.loginStatus?adobeEvent.detail.loginStatus:"undefined"}catch(e){console.log("Error Message:Event detail undefined")}}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLcb1eec4ea15c4e6ca572b9d3b8e10a8a",name:"AA Lead Submit Complete Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"LeadSubmitCompleteEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",products":"products",o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{id:"%LeadID%",name:"event381"},{name:"event316"},{name:"event348"},{id:"%LeadID%",name:"event358"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Lead submit complete",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLcb3190067a3040548bd17ac59372db2e",name:"Media Pixel - Lead Start",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"LeadStartEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(){var e=_satellite.getVar("FormName");if(("/chinese/mortgages/mortgage-calculator"==location.pathname||"/chinese/loans/mortgages/mortgage-calculator"==location.pathname)&&"Lending:Mortgage Calculator:New Property IPA Form"==e){function t(){dataLayer.push(arguments)}(n=document.createElement("script")).src="https://www.googletagmanager.com/gtag/js?id=DC-8121631",n.async=!0,document.head.appendChild(n),window.dataLayer=window.dataLayer||[],t("js",new Date),t("config","DC-8121631"),t("event","conversion",{allow_custom_scripts:!0,send_to:"DC-8121631/mortg-n/mogn-005+standard"})}if(("/english/mortgages/mortgage-calculator"==location.pathname||"/english/loans/mortgages/mortgage-calculator"==location.pathname)&&"Lending:Mortgage Calculator:New Property IPA Form"==e){var n;function t(){dataLayer.push(arguments)}(n=document.createElement("script")).src="https://www.googletagmanager.com/gtag/js?id=DC-8121631",n.async=!0,document.head.appendChild(n),window.dataLayer=window.dataLayer||[],t("js",new Date),t("config","DC-8121631"),t("event","conversion",{allow_custom_scripts:!0,send_to:"DC-8121631/mortg-n/mogn-006+standard"})}}},trackerProperties:{}}}]},{id:"RLcb7a80f0e4ab4ace849c36931e0f311d",name:"HK Media Pixel | Doubleclick | English | Citigold/apply-now2/",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/english/wealth-management/citigold/apply-now2/",valueIsRegex:!0}]}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"cgja05"},ord:{key:"ord",value:"687654356787654"},src:{key:"src",value:"DC-8121631"},type:{key:"type",value:"cgja01"}},elementTagName:"iframe",floodlightType:"counter"}}]},{id:"RLd226ac46423b4d94b23f10f8e9e8d4cd",name:"AA Card +Casa NTB DIY Bundle AC opening FlowStep Load Event ",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:40}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(-1!=location.pathname.indexOf("/acquisition/liability/HKGCB/index.html"))return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("FlowType").toLowerCase(),r=_satellite.getVar("ApplicationID");_satellite.getVar("PageName").toLowerCase(),"newcustomer_credit card diy application"==a&&(-1!==n.indexOf("contact details")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("key fact statement")?(t.events=t.events?t.events+",event322,event361:"+r:"event322,event361:"+r,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322,event361":"event322,event361"):-1!==n.indexOf("download app to continue application")?(t.events=t.events?t.events+",event323,event362:"+r:"event323,event362:"+r,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323,event362":"event323,event362"):-1!==n.indexOf("unable to open account")&&(t.events=t.events?t.events+",event33":"event33",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event33":"event33"))}},trackerProperties:{eVars:[{name:"eVar49",type:"value",value:"%FlowStep%"}],props:[{name:"prop49",type:"alias",value:"eVar49"}]}}}]},{id:"RLd9419ea0ff45469eacef845f8d3dd09a",name:"AA Actual Lead Start Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"LeadStartEvent",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime, t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652"),console.log("Actual lead start: form interacted");var o=_satellite.getVar("ProductName");t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",products":"products",o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar103",type:"value",value:"%AudienceManagerID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{id:"%LeadID%",name:"event357"},{name:"event315"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Actual Lead Start",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLd95b36bb8e6146f9905a35c58e3397e0",name:"AA EPP & LOP FlowStep Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("FlowStep"),t=_satellite.getVar("RetrieveApplication");if(e||t)return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("FlowStep").toLowerCase(),a=(_satellite.getVar("FlowType").toLowerCase(),_satellite.getVar("ApplicationID"));_satellite.getVar("PageName"),-1!==n.indexOf("pre-login quick cash landing")?(t.events=t.events?t.events+",event301":"event301",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event301":"event301"):-1!==n.indexOf("pre-login quick cash otp")?(t.events=t.events?t.events+",event322,event361:"+a:"event322,event361:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event322,event361":"event322,event361"):-1!==n.indexOf("pre-login quick cash loan verification")?(t.events=t.events?t.events+",event323,event362:"+a:"event323,event362:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event323,event362":"event323,event362"):-1!==n.indexOf("pre-login quick cash loan confirmation")&&(t.events=t.events?t.events+",event302,event352:"+a:"event302,event352:"+a,t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event302,event352":"event302,event352"),-1!==n.indexOf("pre-login statement epp landing")||-1!==n.indexOf("pre-login transaction epp landing")?(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"):-1===n.indexOf("pre-login statement epp confirmation")&&-1===n.indexOf("pre-login transaction epp confirmation")||(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")}},trackerProperties:{eVars:[{name:"eVar49",type:"value",value:"%FlowStep%"}],props:[{name:"prop49",type:"alias",value:"eVar49"}]}}}]},{id:"RLde7972fb6f9a4112aa2ca4dc6abca487",name:"AA Spend and Enjoy",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"spaPageView",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:45}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=_satellite.getVar("FlowStep"),t=_satellite.getVar("RetrieveApplication");if(e||t)return console.log("in Flow step"),!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("ApplicationID"),r=(_satellite.getVar("PageName").toLowerCase(),_satellite.getVar("SelfServiceType").toLowerCase());console.log("in Speed & Enjoy Rule"),-1!==r.indexOf("spend and enjoy:enrollment:non-financial")?(-1!==n.indexOf("landing")&&(t.events=t.events?t.events+",event841":"event841",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event841":"event841"),-1!==n.indexOf("successful enrollment")&&(t.events=t.events?t.events+",event842":"event842",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event842":"event842")):-1!==n.indexOf("OTP Screen")&&(t.events=t.events?t.events+",event333"+a:"event333",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event333":"event333")}catch(e){}}},trackerProperties:{}}}]},{id:"RLe432500ef41043cbb881751bf7fe4857",name:"Media Pixel Retail FCO Flow_Citi Priority",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%ProductFamily%",rightOperand:"Retail"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%CustomerType%",rightOperand:"citipriority"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RCd33fae66b53c4c2da61557d81aba44e9-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLe7999c20545545a3b693ae408433defa",name:"CTA - Click to Action",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"[data-ctaname]",elementProperties:[{name:"data-ctatype",value:"^(?!(undefined)$)",valueIsRegex:!0}],bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){console.log("tagname "+this.tagName);try{var e=this.dataset.ctaname;console.log("buttonName:"+e);var t=this.dataset.ctatype,n=this.getAttribute("href"),a=this.dataset.ctaposition;_satellite.setVar("dyn_CTAName",e),_satellite.setVar("dyn_CTAType",t),_satellite.setVar("dyn_CTAURL",n),_satellite.setVar("dyn_CTAPosition",a);for(var r=_satellite.getVar("DownloadFileTypes"),i=r?r.split(","):"",o=!1,s=0;s<i.length;s++)if(n&&-1!==n.indexOf(i[s])){o=!0;break}for(var l=_satellite.getVar("InternalUrls").split(","),c=!1,u=0;u<l.length;u++)if(null!=n){if(n&&-1!==n.indexOf(l[u])||n.indexOf("://")<0){c=!0;break}c=!0;break}if(c&&!o||!n)return!0}catch(e){}}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){if(-1!=window.location.pathname.indexOf("/hkgcb/chinese/wealth-management/investment/portfolio-financing")||-1!=window.location.pathname.indexOf("/hkgcb/english/wealth-management/investment/portfolio-financing"))return!0}},negate:!0}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{var n=_satellite.getVar("FlowStep").toLowerCase(),a=_satellite.getVar("dyn_CTAName").toLowerCase(),r=_satellite.getVar("PageName"),i=_satellite.getVar("Calculator");-1!==n.indexOf("leanflow customized rate result")&&-1!==a.indexOf("continue with application")&&(t.events=t.events?t.events+",event593":"event593",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event593":"event593",t.eVar59=r+":"+i,t.linkTrackVars="eVar59")}catch(e){}}},trackerProperties:{eVars:[{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar6",type:"value",value:"%AdobeID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar54",type:"value",value:"%dyn_CTAName%"},{name:"eVar55",type:"value",value:"%dyn_CTAType%"},{name:"eVar56",type:"value",value:"%dyn_CTAPosition%"},{name:"eVar57",type:"value",value:"%PageName%:%dyn_CTAName%:%dyn_CTAType%"},{name:"eVar105",type:"value",value:"%dyn_CTAURL%"},{name:"eVar130",type:"value",value:"%CCSID%"}],props:[{name:"prop6",type:"value",value:"%AdobeID%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop54",type:"value",value:"%dyn_CTAName%"},{name:"prop55",type:"value",value:"%dyn_CTAType%"},{name:"prop56",type:"value",value:"%dyn_CTAPosition%"}],events:[{name:"event541"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"%dyn_CTAName%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLecc856c9ae1546898e1762a2a9115ff2",name:"HK Media Pixels tags - Global",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var appID = _satellite.getVar('ApplicationID');\nvar pagename = _satellite.getVar(\"PageName\");\ntry{\nvar flowStep = _satellite.getVar('FlowStep').toLowerCase();\nvar flowType = _satellite.getVar('FlowType').toLowerCase();\nvar retrieveApplication = _satellite.getVar('RetrieveApplication').toLowerCase();}catch(e){}\nvar ECID = _satellite.getVar('ECID');\nvar ICID = _satellite.getVar('ICID');\nvar Page_URL = _satellite.getVar('PageURL_QP');\nvar Country = _satellite.getVar('Country');\nvar ProductFamily = _satellite.getVar('ProductFamily');\nvar ProductSubCategory = _satellite.getVar('ProductSubCategory');\nvar LoginStatus = _satellite.getVar('LoginStatus');\nvar applicationStatus = _satellite.getVar('AppStatus');\nvar CustomerType = _satellite.getVar('CustomerType').toLowerCase();\nvar Language = _satellite.getVar('Language');\nvar pcode_val=_satellite.getVar('pcode');\nvar scode_val=_satellite.getVar('scode');\nvar sitelanguage=_satellite.getVar('Language');\nvar currentDate = new Date();\n\n function startDate(str){\n var strDate = new Date(str);\n return strDate;\n }\n\n function endDate(nd){\n var enDate = new Date(nd);\n return enDate;\n }\n// GAE-3943(jira) - 27th May 2022 - start - Expiry : December 31st 2030\nif ((location.hostname.search(\"citibank.com.hk\") != -1) || (location.hostname.search(\"citigold.com.hk\") != -1) && (currentDate <= endDate(\"12/31/2030\"))) {\n\t! function(f, b, e, v, n, t, s) {\n\t\tif (f.fbq) return;\n\t\tn = f.fbq = function() {\n\t\t\tn.callMethod ?\n\t\t\t\tn.callMethod.apply(n, arguments) : n.queue.push(arguments)\n\t\t};\n\t\tif (!f._fbq) f._fbq = n;\n\t\tn.push = n;\n\t\tn.loaded = !0;\n\t\tn.version = '2.0';\n\t\tn.queue = [];\n\t\tt = b.createElement(e);\n\t\tt.async = !0;\n\t\tt.src = v;\n\t\ts = b.getElementsByTagName(e)[0];\n\t\ts.parentNode.insertBefore(t, s)\n\t}(window, document, 'script',\n\t\t'https://connect.facebook.net/en_US/fbevents.js');\n\tfbq('init', '2703663633236624');\n\tfbq('track', 'PageView');\n\n}\n// GAE-3943(jira) - 27th May 2022 - End - Expiry : December 31st 2030\n// GAE-4084(jira) - 6th June 2022 - start - Expiry : December 31st 2026\n//GAE-5698 - Remove FB Pixel \"1647153958947815\" - 30th September 2022 - Start\n//Remove FB Pixel \"1647153958947815\"\n//GAE-5698 - Remove FB Pixel \"1647153958947815\" - 30th September 2022 - End\n// GAE-4084(jira) - 6th June 2022 - End - Expiry : December 31st 2026\n//GAE-5746 (JIRA) - Start - 3rd October 2022\nvar GoogleDC = document.createElement('script');\n GoogleDC.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=DC-5605041');\n GoogleDC.type = 'text/javascript';\n GoogleDC.async = true;\n document.body.appendChild(GoogleDC);\n \n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', 'DC-5605041');\n gtag('config', 'AW-844135309');\n gtag('config', 'AW-849925109');\n gtag('config', 'AW-856673847');\n gtag('config', 'AW-856058984');\n gtag('config', 'AW-818788405');\n gtag('config', 'AW-818786960');\n gtag('config', 'AW-818788691');\n gtag('config', 'AW-818790088');\n gtag('config', 'AW-856693519');\n gtag('config', 'DC-6074284');\n gtag('config', 'AW-932803168');\n gtag('config', 'AW-871048641');\n gtag('config', 'AW-973186544');\n gtag('config', 'AW-869700521');\n//GAE-5746 (JIRA) - End - 3rd October 2022",language:"javascript"}}]},{id:"RLeef4ff9b22eb4e1da78f8834f3a78fe1",name:"AA Login Authentication Event",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%PageURL_no_QP%",rightOperand:".do"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("PageName").toLowerCase(),a=_satellite.getVar("Authentication State").toLowerCase();-1!==a.indexOf("loginsuccess")?(t.events=t.events?t.events+",event732,event728":"event732,event728",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event732,event728":"event732,event728"):-1!==a.indexOf("loginfailure")?(t.events=t.events?t.events+",event734,event729":"event734,event729",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event734,event729":"event734,event729"):-1!==a.indexOf("logoutsuccess")?(t.events=t.events?t.events+",event730":"event730",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event730":"event730"):-1!==n.indexOf("sign on:sign on")&&(t.events=t.events?t.events+",event733,event727":"event733,event727",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event733,event727":"event733,event727")}},trackerProperties:{}}}]},{id:"RLeff6d311bb4c4a0fb23840d4570f6a83",name:"Media Pixel Retail FCO Flow_Citi Gold",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%ProductFamily%",rightOperand:"Retail"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals"},leftOperand:"%CustomerType%",rightOperand:"Citigold"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RCe2444a3bf744404c8d63afff2868e683-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf24d69902510467ead21ee917d1e040d",name:"HK Media Pixel | GoogleTag DC-8121631 | BAU pages",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(e){return new Date(e)}_satellite.getVar("ApplicationID"),_satellite.getVar("PageName");try{_satellite.getVar("FlowStep").toLowerCase(),_satellite.getVar("FlowType").toLowerCase(),_satellite.getVar("RetrieveApplication").toLowerCase()}catch(e){}_satellite.getVar("ECID"),_satellite.getVar("ICID"),_satellite.getVar("PageURL_QP"),_satellite.getVar("Country"),_satellite.getVar("ProductFamily"),_satellite.getVar("ProductSubCategory"),_satellite.getVar("LoginStatus"),_satellite.getVar("AppStatus"),_satellite.getVar("CustomerType").toLowerCase(),_satellite.getVar("Language"),_satellite.getVar("pcode"),_satellite.getVar("scode"),_satellite.getVar("Language");var t=new Date;if(_satellite.getVar("FormName"),_satellite.getVar("FormStep"),console.log("media pixel pages"),1==("/chinese/cpc/applynow-thankyou/index.htm"==location.pathname&&t<=e("12/31/2024")))return!0;_satellite.logger.info("no path match")}}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"DoubleClick event",options:[],accounts:{1697185317925:{label:"%Media Pixel | DC-8121631 | BAU Pages | GTag Conversion label%",enabled:!0}},callback:null}}]},{id:"RLf2ad8434cbee456a88a7756477c24302",name:"AA Referral Submit Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"GlobalReferralSubmit",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.eVar20&&t.getPageLoadTime(),t._pltPreviousPage&&(t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime),t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");t.linkTrackVars=t.linkTrackVars?t.linkTrackVars+",products":"products",o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{name:"event429"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"MGM Form Submitted :%FormName%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLf45c369ce96244cd8b5c384e01f01a6d",name:"AA Referral Start Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"GlobalReferralStart",elementSelector:"body",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){if(t.linkTrackVars="eVar6,eVar103,prop6",t.eVar6=t.prop6=_satellite.getVisitorId().getMarketingCloudVisitorID(),t.eVar103=_satellite.cookie.get("aam_uuid"),document.documentMode)t.eVar4="Internet Explorer Visitors",t.prop4="Internet Explorer Visitors";else{var n=getTimeParting("Asia/Hong_Kong").split("|"),a=n[3].split("=")[1],r=n[4].split("=")[1];t.eVar4=a+", "+r,t.prop4=a+", "+r}t.eVar5=t.getNewRepeat(),t.prop5=t.getNewRepeat(),t.eVar7=t.getVisitNum(),t.eVar23=t.getPreviousValue(t.eVar20),t.prop23=t.getPreviousValue(t.prop20,"gpv_Page"),t.getPageLoadTime(),t.eVar26=t._pltLoadTime,t.events=t.events?t.events+",event2="+t._pltLoadTime:"event2="+t._pltLoadTime,t.campaign=t.getValOnce(t.campaign,"s_campaign",30);var i=_satellite.getVar("PageName");-1===i.indexOf("Public:Lean:CreditCard:Landing Page")&&-1===i.indexOf("Public:Lean:ReadyCredit:LAN")||(t.events=t.events?t.events+",event652":"event652",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event652":"event652");var o=_satellite.getVar("ProductName");o&&(t.products=o)}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%Platform%"},{name:"eVar2",type:"value",value:"%Country%"},{name:"eVar3",type:"value",value:"%Environment%"},{name:"eVar8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"eVar11",type:"value",value:"%ECID%"},{name:"eVar12",type:"value",value:"%ICID%"},{name:"eVar15",type:"value",value:"%SiteName%"},{name:"eVar16",type:"value",value:"%Hier_SiteSection1%"},{name:"eVar17",type:"value",value:"%SiteSection2%"},{name:"eVar18",type:"value",value:"%SiteSection3%"},{name:"eVar19",type:"value",value:"%PageCategory%"},{name:"eVar20",type:"value",value:"%PageName%"},{name:"eVar21",type:"value",value:"%PageURL_QP%"},{name:"eVar22",type:"value",value:"%PageURL_no_QP%"},{name:"eVar24",type:"value",value:"%Language%"},{name:"eVar36",type:"value",value:"%ApplicationID%"},{name:"eVar37",type:"value",value:"%AppStatus%"},{name:"eVar38",type:"value",value:"%StatusInquiry%"},{name:"eVar40",type:"value",value:"%FormType%"},{name:"eVar41",type:"value",value:"%FormName%"},{name:"eVar42",type:"value",value:"%FormID%"},{name:"eVar43",type:"value",value:"%LeadID%"},{name:"eVar46",type:"value",value:"%eMGMID%"},{name:"eVar48",type:"value",value:"%JourneyFlowName%"},{name:"eVar49",type:"value",value:"%FlowStep%"},{name:"eVar50",type:"value",value:"%InternalSearchTerm%"},{name:"eVar51",type:"value",value:"%InternalSearchTermCount%"},{name:"eVar52",type:"value",value:"%InternalSearchResultClicked%"},{name:"eVar65",type:"value",value:"%FlowType%"},{name:"eVar66",type:"value",value:"%ProductType%"},{name:"eVar67",type:"value",value:"%ProductFamily%"},{name:"eVar68",type:"value",value:"%ProductSubCategory%"},{name:"eVar69",type:"value",value:"%OriginalProductName%"},{name:"eVar70",type:"value",value:"%ProductOfferType%"},{name:"eVar71",type:"value",value:"%segID%"},{name:"eVar119",type:"value",value:"%LoginStatus%"},{name:"eVar130",type:"value",value:"%CCSID%"},{name:"eVar131",type:"value",value:"%CustomerType%"}],props:[{name:"prop1",type:"value",value:"%Platform%"},{name:"prop2",type:"value",value:"%Country%"},{name:"prop7",type:"value",value:"%CCSID%"},{name:"prop8",type:"value",value:"%AnalyticsCodeVersion%"},{name:"prop10",type:"value",value:"%CustomerType%"},{name:"prop11",type:"value",value:"%ECID%"},{name:"prop12",type:"value",value:"%ICID%"},{name:"prop13",type:"value",value:"%segID%"},{name:"prop15",type:"value",value:"%SiteName%"},{name:"prop16",type:"value",value:"%Hier_SiteSection1%"},{name:"prop17",type:"value",value:"%SiteSection2%"},{name:"prop18",type:"value",value:"%SiteSection3%"},{name:"prop19",type:"value",value:"%PageCategory%"},{name:"prop20",type:"value",value:"%PageName%"},{name:"prop21",type:"value",value:"%PageURL_QP%"},{name:"prop22",type:"value",value:"%PageURL_no_QP%"},{name:"prop24",type:"value",value:"%Language%"},{name:"prop36",type:"value",value:"%ApplicationID%"},{name:"prop40",type:"value",value:"%FormType%"},{name:"prop41",type:"value",value:"%FormName%"},{name:"prop42",type:"value",value:"%FormID%"},{name:"prop43",type:"value",value:"%LeadID%"},{name:"prop46",type:"value",value:"%eMGMID%"},{name:"prop48",type:"value",value:"%JourneyFlowName%"},{name:"prop49",type:"value",value:"%FlowStep%"},{name:"prop50",type:"value",value:"%InternalSearchTerm%"},{name:"prop51",type:"value",value:"%InternalSearchTermCount%"},{name:"prop52",type:"value",value:"%InternalSearchResultClicked%"},{name:"prop66",type:"value",value:"%ProductType%"},{name:"prop67",type:"value",value:"%ProductFamily%"},{name:"prop68",type:"value",value:"%ProductSubCategory%"}],events:[{name:"event428"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%ECID%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"MGM Form interacted :%FormName%",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLf682e939eb804312bc741341f0279eb3",name:"AA Calculator Usage Start Event",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"span.sliderEditPencilIcon",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:52},{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:"#principalAmountSlider a",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:52},{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:".box-group-ui div.box-ui-item",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/mousedown.js",settings:{elementSelector:"#principalAmountSlider a",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%FlowStep%",rightOperand:"Leanflow Customized Rate Result"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar59",type:"value",value:"%PageName%:%Calculator%"}],events:[{id:"%AdobeID%",name:"event592"}],server:"%Server%",channel:"%Channel%",pageURL:"%PageURL_QP%",campaign:{type:"value",value:"%Campaign%"},pageName:"%PageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"Tool Usage Start",linkType:"o"}}]},{id:"RLf78f993b24064dcdbdee621578c9db96",name:"Adobe Event - Travel Insurance Form Complete",events:[{modulePath:"core/src/lib/events/click.js",settings:{elementSelector:'a[data-company="AXA"], a[data-company="Zurich"]',bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return-1!=window.location.href.indexOf("/insurance/travel-insurance/online-quote.htm")}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){try{ var n=this.getAttribute("data-cover"),a=this.getAttribute("id"),r=this.getAttribute("data-type"),i=this.getAttribute("data-company"),o=this.getAttribute("data-mobile"),s=this.getAttribute("data-car"),l=this.getAttribute("data-sports"),c=this.getAttribute("data-enhanced"),u=this.getAttribute("data-cruise"),p="",v=_satellite.getVar("LeadID");c?p="dataenhanced":("true"==o&&(p="mobile:"),"true"==s&&(p+="car:"),"true"==l&&(p+="sports:"),"true"==u&&(p+="datacruise:")),""==p?p="NA":""!=p&&(console.log("addon value : "+p+":length:"+p.length),p=p.slice(0,p.length-1));var d="departureDate:"+document.getElementById("startdate").value+"|returnDate:"+document.getElementById("enddate").value+"|coverage:"+n+"|partner:"+i+"|plan:"+a+"|datatype:"+r+"|addon:"+p;localStorage.setItem("travelInsurane_Select",d),_satellite.setVar("travelInsurane_Select",d),console.log("finalSelected"+d),t.linkTrackVars="prop20,eVar20,prop69,prop70,prop71,prop38,eVar169,eVar170,eVar171,eVar147,prop40,eVar40,prop41,eVar41,prop42,eVar42,prop43,eVar43,prop46,eVar46,prop36,eVar36",t.prop20=t.eVar20=_satellite.getVar("PageName"),t.prop69=t.eVar169="lead form",t.prop70=t.eVar170="complete",t.prop71=t.eVar171=d,t.prop40=t.eVar40=_satellite.getVar("FormType"),t.prop41=t.eVar41=_satellite.getVar("FormName"),t.prop42=t.eVar42=_satellite.getVar("FormID"),t.prop43=t.eVar43=_satellite.getVar("LeadID"),t.prop38=t.eVar147=_satellite.getVar("PageName"),t.pageName=t.eVar20,t.events=t.events?t.events+",event316,event358:"+v:"event316,event358:"+v,t.linkTrackEvents="event316,event358"}catch(e){}}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"adobeEvent",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLf8514c802326445c81d0edfb5be1ad76",name:"AA DocUploadIndicator Load Event",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"isTruthy"},leftOperand:"%DocUploadIndicator%"}},{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%FlowStep%",rightOperand:"Leanflow Confirmation"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var n=_satellite.getVar("DocUploadIndicator").toLowerCase();-1!==n.indexOf("all")?(t.events=t.events?t.events+",event311":"event311",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event311":"event311"):-1!==n.indexOf("none")||-1!==n.indexOf("na")?(t.events=t.events?t.events+",event342":"event342",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event342":"event342"):-1!==n.indexOf("partial")&&(t.events=t.events?t.events+",event341":"event341",t.linkTrackEvents=t.linkTrackEvents?t.linkTrackEvents+",event341":"event341")}},trackerProperties:{}}}]},{id:"RLfe582b167bf9480faecbad1d320a116e",name:"Media Pixel Lean Cards Flow",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"event-view-end",elementSelector:"#mainScreen",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:53}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"equals",caseInsensitive:!0},leftOperand:"%ProductFamily%",rightOperand:"Cards"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"https://assets.adobedtm.com/e98965ff8624/b8c0b5e404b1/86fae419f83a/RC27ada47b32c1472aadcfa0c492bc8d9f-source.min.js",language:"javascript",isExternal:!0}}]}]};var _satellite=function(){"use strict";function e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}function n(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})})),t}function a(e){var t={exports:{}};return e(t,t.exports),t.exports}function r(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function i(e){return Boolean(e&&void 0!==e.length)}function o(){}function s(e,t){return function(){e.apply(t,arguments)}}function l(e){if(!(this instanceof l))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],m(e,this)}function c(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,l._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var a;try{a=n(e._value)}catch(e){return void p(t.promise,e)}u(t.promise,a)}else(1===e._state?u:p)(t.promise,e._value)}))):e._deferreds.push(t)}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof l)return e._state=3,e._value=t,void v(e);if("function"==typeof n)return void m(s(n,t),e)}e._state=1,e._value=t,v(e)}catch(t){p(e,t)}}function p(e,t){e._state=2,e._value=t,v(e)}function v(e){2===e._state&&0===e._deferreds.length&&l._immediateFn((function(){e._handled||l._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)c(e,e._deferreds[t]);e._deferreds=null}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function m(e,t){var n=!1;try{e((function(e){n||(n=!0,u(t,e))}),(function(e){n||(n=!0,p(t,e))}))}catch(e){if(n)return;n=!0,p(t,e)}}function g(e){return!0===Ue(e)&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e){return"string"==typeof e&&-1!==e.indexOf("[")&&-1!==e.indexOf("]")}function y(e){return e.substr(0,e.indexOf("["))}function b(e,t,n){if(e.length&&He(t)){var a=e[0];if(1!==e.length){var r=e.slice(1);if(!h(a))return b(r,t[a],n);var i=t[a=y(a)];Array.isArray(i)&&i.forEach((function(e){return b(r,e,n)}))}else t.hasOwnProperty(a)&&"string"==typeof t[a]&&(t[a]=n(t[a]))}}if(window.atob){var k=document,V=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,T=t()?Object.assign:function(t){for(var n,a,r=e(t),i=1;i<arguments.length;i++){for(var o in n=Object(arguments[i]))C.call(n,o)&&(r[o]=n[o]);if(V){a=V(n);for(var s=0;s<a.length;s++)E.call(n,a[s])&&(r[a[s]]=n[a[s]])}}return r},P=T,S=window,w=function(e,t,n,a){var r,i=Boolean(t&&Array.isArray(n)),o=Boolean(i&&e),s=document.createElement("a");if(i){var l=function(){var e=new Error("Unable to find the Library Embed Code for Dynamic Host Resolution.");throw e.code="dynamic_host_resolver_constructor_error",e};if(e&&(/^((https?:)?\/\/).+/.test(e)||l(),/^\/\/.+/.test(e)?s.href=S.location.protocol+e:s.href=e),s.hostname||l(),-1===n.indexOf(s.hostname)){var c=new Error("This library is not authorized for this domain. Please contact your CSM for more information.");throw c.code="dynamic_host_not_allowed",c}}var u=function(){if(null!=r)return r;if(o){var e=s.host;/:80$/.test(e)?e=e.replace(":80",""):/:80\/$/.test(e)?e=e.replace(":80/",""):/:443$/.test(e)?e=e.replace(":443",""):/:443\/$/.test(e)&&(e=e.replace(":443/","")),r=s.protocol+"//"+e}else r="";return r},p=function(e){return o&&"string"==typeof e?[u(),"/"===e.charAt(0)?e.slice(1):e].join("/"):e},v={getTurbineHost:u,decorateWithDynamicHost:p,get isDynamicEnforced(){return i}};return S&&a.onDebugChanged((function(e){e?S.dynamicHostResolver=v:delete S.dynamicHostResolver})),v},_=function(e){var t=[];return e.forEach((function(e){e.events&&e.events.forEach((function(n){t.push({rule:e,event:n})}))})),t.sort((function(e,t){return e.event.ruleOrder-t.event.ruleOrder}))},I="debug",D=function(e,t){var n=function(){return"true"===e.getItem(I)},a=function(t){e.setItem(I,t)},r=[],i=function(e){r.push(e)};return t.outputEnabled=n(),{onDebugChanged:i,getDebugEnabled:n,setDebugEnabled:function(e){n()!==e&&(a(e),t.outputEnabled=e,r.forEach((function(t){t(e)})))}}},L="Module did not export a function.",A=function(e,t,n){return function(a,r,i){i=i||[];var o=e.getModuleExports(a.modulePath);if("function"!=typeof o)throw new Error(L);var s=e.getModuleDefinition(a.modulePath),l=a.settings||{};!a.hasTransformedFilePaths&&s.filePaths&&(n(l,s.filePaths,a.modulePath),a.hasTransformedFilePaths=!0);var c=t(l,r);return o.bind(null,c).apply(null,i)}},x=function(e){return"string"==typeof e?e.replace(/\s+/g," ").trim():e},O={LOG:"log",INFO:"info",DEBUG:"debug",WARN:"warn",ERROR:"error"},j="\ud83d\ude80",N=10===parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1])?"[Launch]":j,F=!1,M=function(e){if(F&&window.console){var t=Array.prototype.slice.call(arguments,1);t.unshift(N),e!==O.DEBUG||window.console[e]||(e=O.INFO),window.console[e].apply(window.console,t)}},R=M.bind(null,O.LOG),U=M.bind(null,O.INFO),H=M.bind(null,O.DEBUG),q=M.bind(null,O.WARN),G=M.bind(null,O.ERROR),B=function(){var e=F;F=!0,M.apply(null,Array.prototype.concat(O.WARN,Array.prototype.slice.call(arguments))),e||(F=!1)},Q={log:R,info:U,debug:H,warn:q,error:G,deprecation:B,get outputEnabled(){return F},set outputEnabled(e){F=e},createPrefixedLogger:function(e){var t="["+e+"]";return{log:R.bind(null,t),info:U.bind(null,t),debug:H.bind(null,t),warn:q.bind(null,t),error:G.bind(null,t)}}},z="com.adobe.reactor.",$=function(e,t){var n=z+(t||"");return{getItem:function(t){try{return S[e].getItem(n+t)}catch(e){return null}},setItem:function(t,a){try{return S[e].setItem(n+t,a),!0}catch(e){return!1}}}},J="dataElements.",W=$("sessionStorage",J),K=$("localStorage",J),Y={PAGEVIEW:"pageview",SESSION:"session",VISITOR:"visitor"},X={},Z=function(e){var t;try{t=JSON.stringify(e)}catch(e){}return t},ee={setValue:function(e,t,n){var a;switch(t){case Y.PAGEVIEW:return void(X[e]=n);case Y.SESSION:return void((a=Z(n))&&W.setItem(e,a));case Y.VISITOR:return void((a=Z(n))&&K.setItem(e,a))}},getValue:function(e,t){var n;switch(t){case Y.PAGEVIEW:return X.hasOwnProperty(e)?X[e]:null;case Y.SESSION:return null===(n=W.getItem(e))?n:JSON.parse(n);case Y.VISITOR:return null===(n=K.getItem(e))?n:JSON.parse(n)}}},te=function(e,t,n,a){return"Failed to execute data element module "+e.modulePath+" for data element "+t+". "+n+(a?"\n"+a:"")},ne=function(e,t,n,a,r){return function(i,o){var s=t(i);if(!s)return a?"":void 0;var l,c,u=s.storageDuration;try{l=e.getModuleExports(s.modulePath),c=e.getModuleDefinition(s.modulePath)}catch(e){return void Q.error(te(s,i,e.message,e.stack))}if("function"==typeof l){var p,v=s.settings||{};!s.hasTransformedFilePaths&&c.filePaths&&(r(v,c.filePaths,s.modulePath),s.hasTransformedFilePaths=!0);try{p=l(n(v,o),o)}catch(e){return void Q.error(te(s,i,e.message,e.stack))}return u&&(null!=p?ee.setValue(i,u,p):p=ee.getValue(i,u)),null==p&&null!=s.defaultValue&&(p=s.defaultValue),"string"==typeof p&&(s.cleanText&&(p=x(p)),s.forceLowerCase&&(p=p.toLowerCase())),p}Q.error(te(s,i,"Module did not export a function."))}},ae={text:function(e){return e.textContent},cleanText:function(e){return x(e.textContent)}},re=function(e,t,n){for(var a,r=e,i=0,o=t.length;i<o;i++){if(null==r)return;var s=t[i];if(n&&"@"===s.charAt(0)){var l=s.slice(1);r=ae[l](r)}else if(r.getAttribute&&(a=s.match(/^getAttribute\((.+)\)$/))){var c=a[1];r=r.getAttribute(c)}else r=r[s]}return r},ie=function(e,t,n){return function(a,r){var i;if(t(a))i=n(a,r);else{var o=a.split("."),s=o.shift();"this"===s?r&&(i=re(r.element,o,!0)):"event"===s?r&&(i=re(r,o)):"target"===s?r&&(i=re(r.target,o)):i=re(e[s],o)}return i}},oe=function(e,t){return function(n){var a=n.split(".")[0];return Boolean(t(n)||"this"===a||"event"===a||"target"===a||e.hasOwnProperty(a))}},se=function(e,t,n){var a={exports:{}};return e.call(a.exports,a,a.exports,t,n),a.exports},le=function(){var e={},t=function(t){var n=e[t];if(!n)throw new Error("Module "+t+" not found.");return n},n=function(){Object.keys(e).forEach((function(e){try{a(e)}catch(n){var t="Error initializing module "+e+". "+n.message+(n.stack?"\n"+n.stack:"");Q.error(t)}}))},a=function(e){var n=t(e);return n.hasOwnProperty("exports")||(n.exports=se(n.definition.script,n.require,n.turbine)),n.exports};return{registerModule:function(t,n,a,r,i){var o={definition:n,extensionName:a,require:r,turbine:i};o.require=r,e[t]=o},hydrateCache:n,getModuleExports:a,getModuleDefinition:function(e){return t(e).definition},getModuleExtensionName:function(e){return t(e).extensionName}}},ce=!1,ue=function(e){return function(t,n){var a=e._monitors;a&&(ce||(Q.warn("The _satellite._monitors API may change at any time and should only be used for debugging."),ce=!0),a.forEach((function(e){e[t]&&e[t](n)})))}},pe=function(e,t,n){var a,r,i,o,s=[],l=function(a,r,i){if(!e(r))return a;s.push(r);var o=t(r,i);return s.pop(),null==o&&n?"":o};return a=function(e,t){var n=/^%([^%]+)%$/.exec(e);return n?l(e,n[1],t):e.replace(/%(.+?)%/g,(function(e,n){return l(e,n,t)}))},r=function(e,t){for(var n={},a=Object.keys(e),r=0;r<a.length;r++){var i=a[r],s=e[i];n[i]=o(s,t)}return n},i=function(e,t){for(var n=[],a=0,r=e.length;a<r;a++)n.push(o(e[a],t));return n},o=function(e,t){return"string"==typeof e?a(e,t):Array.isArray(e)?i(e,t):"object"==typeof e&&null!==e?r(e,t):e},function(e,t){return s.length>10?(Q.error("Data element circular reference detected: "+s.join(" -> ")),e):o(e,t)}},ve=function(e){return function(){if("string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var n in t)e[n]=t[n]}}},de="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},me=setTimeout;l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){var n=new this.constructor(o);return c(this,new d(e,t,n)),n},l.prototype.finally=r,l.all=function(e){return new l((function(t,n){function a(e,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var s=i.then;if("function"==typeof s)return void s.call(i,(function(t){a(e,t)}),n)}r[e]=i,0==--o&&t(r)}catch(e){n(e)}}if(!i(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var o=r.length,s=0;s<r.length;s++)a(s,r[s])}))},l.resolve=function(e){return e&&"object"==typeof e&&e.constructor===l?e:new l((function(t){t(e)}))},l.reject=function(e){return new l((function(t,n){n(e)}))},l.race=function(e){return new l((function(t,n){if(!i(e))return n(new TypeError("Promise.race accepts an array"));for(var a=0,r=e.length;a<r;a++)l.resolve(e[a]).then(t,n)}))},l._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){me(e,0)},l._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var ge=n(Object.freeze({__proto__:null,default:l})),fe="undefined"!=typeof window&&window.Promise||void 0!==de&&de.Promise||ge.default||ge,he=function(e,t,n){return function(a,r,i,o){return o.then((function(){var o,s=a.delayNext;return new fe((function(t,n){var r=e(a,i,[i]);if(!s)return t();var l=a.timeout,c=new fe((function(e,t){o=setTimeout((function(){t(new Error("A timeout occurred because the action took longer than "+l/1e3+" seconds to complete. "))}),l)}));fe.race([r,c]).then(t,n)})).catch((function(e){return clearTimeout(o),e=t(e),n(a,r,e),fe.reject(e)})).then((function(){clearTimeout(o)}))}))}},ye=function(e,t,n,a,r){return function(i,o,s,l){return l.then((function(){var l;return new fe((function(t,n){var a=e(i,s,[s]),r=i.timeout,o=new fe((function(e,t){l=setTimeout((function(){t(new Error("A timeout occurred because the condition took longer than "+r/1e3+" seconds to complete. "))}),r)}));fe.race([a,o]).then(t,n)})).catch((function(e){return clearTimeout(l),e=t(e),a(i,o,e),fe.reject(e)})).then((function(e){if(clearTimeout(l),!n(i,e))return r(i,o),fe.reject()}))}))}},be=fe.resolve(),ke=function(e,t,n){return function(a,r){return a.conditions&&a.conditions.forEach((function(t){be=e(t,a,r,be)})),a.actions&&a.actions.forEach((function(e){be=t(e,a,r,be)})),be=(be=be.then((function(){n(a)}))).catch((function(){}))}},Ve=function(e){return Boolean(e&&"object"==typeof e&&"function"==typeof e.then)},Ce=function(e,t,n,a){return function(r,i){var o;if(r.conditions)for(var s=0;s<r.conditions.length;s++){o=r.conditions[s];try{var l=e(o,i,[i]);if(Ve(l))throw new Error("Rule component sequencing must be enabled on the property for this condition to function properly.");if(!t(o,l))return n(o,r),!1}catch(e){return a(o,r,e),!1}}return!0}},Ee=function(e,t){return function(n,a){e(n,a)&&t(n,a)}},Te=function(e){return function(t){var n=e.getModuleDefinition(t.modulePath);return n&&n.displayName||t.modulePath}},Pe=function(e){return function(t){var n=t.rule,a=t.event,r=e.getModuleDefinition(a.modulePath).name;return{$type:e.getModuleExtensionName(a.modulePath)+"."+r,$rule:{id:n.id,name:n.name}}}},Se=function(e,t,n,a,r,i){return function(o,s){var l=s.rule,c=s.event;c.settings=c.settings||{};try{var u=r(s);t(c,null,[function(t){var a=n(u,t);o((function(){e(a,l)}))}])}catch(e){i.error(a(c,l,e))}}},we=function(e,t,n,a){return function(r,i,o){var s=t(r);n.error(e(s,i.name,o)),a("ruleActionFailed",{rule:i,action:r})}},_e=function(e,t,n,a){return function(r,i,o){var s=t(r);n.error(e(s,i.name,o)),a("ruleConditionFailed",{rule:i,condition:r})}},Ie=function(e,t,n){return function(a,r){var i=e(a);t.log('Condition "'+i+'" for rule "'+r.name+'" was not met.'),n("ruleConditionFailed",{rule:r,condition:a})}},De=function(e,t){return function(n){e.log('Rule "'+n.name+'" fired.'),t("ruleCompleted",{rule:n})}},Le=function(e,t,n){return function(a,r){var i;if(a.actions)for(var o=0;o<a.actions.length;o++){i=a.actions[o];try{e(i,r,[r])}catch(e){return void t(i,a,e)}}n(a)}},Ae=function(e,t,n,a){return function(r,i){a("ruleTriggered",{rule:i}),e?n(i,r):t(i,r)}},xe=function(e,t,n){return'Failed to execute "'+e+'" for "'+t+'" rule. '+n.message+(n.stack?"\n"+n.stack:"")},Oe=function(e,t){return t&&!e.negate||!t&&e.negate},je=[],Ne=!1,Fe=function(e){Ne?e():je.push(e)},Me=function(e,t,n){e(t).forEach((function(e){n(Fe,e)})),Ne=!0,je.forEach((function(e){e()})),je=[]},Re=function(e){if(e||(e=new Error("The extension triggered an error, but no error information was provided.")),!(e instanceof Error)){var t="object"==typeof e?JSON.stringify(e):String(e);e=new Error(t)}return e},Ue=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)},He=function(e){var t,n;return!1!==g(e)&&("function"==typeof(t=e.constructor)&&(!1!==g(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))},qe=function(e,t){return He(t=t||{})?t=P({},t,e):P(t,e),t.hasOwnProperty("type")||Object.defineProperty(t,"type",{get:function(){return Q.deprecation("Accessing event.type in Adobe Launch has been deprecated and will be removed soon. Please use event.$type instead."),t.$type}}),t},Ge=function(e,t){return function(n,a){var r=e[n];if(r){var i=r.modules;if(i)for(var o=Object.keys(i),s=0;s<o.length;s++){var l=o[s],c=i[l];if(c.shared&&c.name===a)return t.getModuleExports(l)}}}},Be=function(e,t){return function(){return t?e(t):{}}},Qe=function(e,t,n){return function(a){if(n){var r=a.split(".");r.splice(r.length-1||1,0,"min"),a=r.join(".")}return e(t)+a}},ze=".js",$e=function(e){return e.substr(0,e.lastIndexOf("/"))},Je=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},We=function(e,t){Je(t,ze)||(t+=ze);var n=t.split("/"),a=$e(e).split("/");return n.forEach((function(e){e&&"."!==e&&(".."===e?a.length&&a.pop():a.push(e))})),a.join("/")},Ke=a((function(e){!function(t){if(e.exports=t(),!!0){var n=window.Cookies,a=window.Cookies=t();a.noConflict=function(){return window.Cookies=n,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var a in n)t[a]=n[a]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(a){function r(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},r.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var o=JSON.stringify(n);/^[\{\[]/.test(o)&&(n=o)}catch(e){}n=a.write?a.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=t+"="+n+s}}function o(e,n){if("undefined"!=typeof document){for(var r={},i=document.cookie?document.cookie.split("; "):[],o=0;o<i.length;o++){var s=i[o].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(s[0]);if(l=(a.read||a)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(r[c]=l,e===c)break}catch(e){}}return e?r[e]:r}}return r.set=i,r.get=function(e){return o(e,!1)},r.getJSON=function(e){return o(e,!0)},r.remove=function(t,n){i(t,"",e(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}return n((function(){}))}))})),Ye={get:Ke.get,set:Ke.set,remove:Ke.remove},Xe=function(e,t){return new fe((function(n,a){t.onload=function(){n(t)},t.onerror=function(){a(new Error("Failed to load script "+e))}}))},Ze=function(e){var t=document.createElement("script");t.src=e,t.async=!0;var n=Xe(e,t);return document.getElementsByTagName("head")[0].appendChild(t),n},et=function(e,t,n,a){t=t||"&",n=n||"=";var r={};if("string"!=typeof e||0===e.length)return r;var i=/\+/g;e=e.split(t);var o=1e3;a&&"number"==typeof a.maxKeys&&(o=a.maxKeys);var s=e.length;o>0&&s>o&&(s=o);for(var l=0;l<s;++l){var c,u,p,v,d=e[l].replace(i,"%20"),m=d.indexOf(n);m>=0?(c=d.substr(0,m),u=d.substr(m+1)):(c=d,u=""),p=decodeURIComponent(c),v=decodeURIComponent(u),f(r,p)?Array.isArray(r[p])?r[p].push(v):r[p]=[r[p],v]:r[p]=v}return r},tt=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},nt=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var r=encodeURIComponent(tt(a))+n;return Array.isArray(e[a])?e[a].map((function(e){return r+encodeURIComponent(tt(e))})).join(t):r+encodeURIComponent(tt(e[a]))})).join(t):a?encodeURIComponent(tt(a))+n+encodeURIComponent(tt(e)):""},at=a((function(e,t){t.decode=t.parse=et,t.encode=t.stringify=nt})),rt="@adobe/reactor-",it={cookie:Ye,document:k,"load-script":Ze,"object-assign":P,promise:fe,"query-string":{parse:function(e){return"string"==typeof e&&(e=e.trim().replace(/^[?#&]/,"")),at.parse(e)},stringify:function(e){return at.stringify(e)}},window:S},ot=function(e){return function(t){if(0===t.indexOf(rt)){var n=t.substr(rt.length),a=it[n];if(a)return a}if(0===t.indexOf("./")||0===t.indexOf("../"))return e(t);throw new Error('Cannot resolve module "'+t+'".')}},st=function(e,t,n,a,r,i,o){var s=e.extensions,l=e.buildInfo,c=e.environment,u=e.property.settings;if(s){var p=Ge(s,t);Object.keys(s).forEach((function(v){var d=s[v],m=d.settings;Array.isArray(d.filePaths)&&(m=i(m,d.filePaths));var g=Be(a,m);if(d.modules){var f=Q.createPrefixedLogger(d.displayName),h=Qe(o,d.hostedLibFilesBaseUrl,l.minified),y={buildInfo:l,environment:c,property:{name:e.property.name,id:e.property.id},getDataElementValue:r,getExtensionSettings:g,getHostedLibFileUrl:h,getSharedModule:p,logger:f,propertySettings:u,replaceTokens:a,onDebugChanged:n.onDebugChanged,get debugEnabled(){return n.getDebugEnabled()}};Object.keys(d.modules).forEach((function(e){var n=d.modules[e],a=ot((function(n){var a=We(e,n);return t.getModuleExports(a)}));t.registerModule(e,n,v,a,y)}))}})),t.hydrateCache()}return t},lt=function(e,t,n,a,r){var i=Q.createPrefixedLogger("Custom Script");e.track=function(e){Q.log('"'+e+'" does not match any direct call identifiers.')},e.getVisitorId=function(){return null},e.property={name:t.property.name,id:t.property.id},e.company=t.company,e.buildInfo=t.buildInfo,e.environment=t.environment,e.logger=i,e.notify=function(e,t){switch(Q.deprecation("_satellite.notify is deprecated. Please use the `_satellite.logger` API."),t){case 3:i.info(e);break;case 4:i.warn(e);break;case 5:i.error(e);break;default:i.log(e)}},e.getVar=a,e.setVar=r,e.setCookie=function(e,t,n){var a="",r={};n&&(a=", { expires: "+n+" }",r.expires=n);var i='_satellite.setCookie is deprecated. Please use _satellite.cookie.set("'+e+'", "'+t+'"'+a+").";Q.deprecation(i),Ye.set(e,t,r)},e.readCookie=function(e){return Q.deprecation('_satellite.readCookie is deprecated. Please use _satellite.cookie.get("'+e+'").'),Ye.get(e)},e.removeCookie=function(e){Q.deprecation('_satellite.removeCookie is deprecated. Please use _satellite.cookie.remove("'+e+'").'),Ye.remove(e)},e.cookie=Ye,e.pageBottom=function(){},e.setDebug=n;var o=!1;Object.defineProperty(e,"_container",{get:function(){return o||(Q.warn("_satellite._container may change at any time and should only be used for debugging."),o=!0),t}})},ct=function(e,t){return function(n,a,r){return e&&He(n)&&Object.keys(n).length&&Array.isArray(a)&&a.length?(a.forEach((function(e){Boolean(null!=r&&/^core\/.*actions.*\/customCode\.js$/.test(r))&&"source"===e&&!n.isExternal||b(e.split("."),n,t)})),n):n}},ut=window._satellite;if(ut&&!window.__satelliteLoaded){window.__satelliteLoaded=!0;var pt=ut.container;delete ut.container;var vt=P({},pt.buildInfo);Object.defineProperty(vt,"environment",{get:function(){return Q.deprecation("container.buildInfo.environment is deprecated.Please use `container.environment.stage` instead"),pt.environment.stage}}),pt.buildInfo=vt;var dt,mt=D($("localStorage"),Q),gt="";k.currentScript&&k.currentScript.getAttribute("src")&&(gt=k.currentScript.getAttribute("src"));try{dt=w(gt,Boolean(pt.company.dynamicCdnEnabled),pt.company.cdnAllowList,mt)}catch(e){throw Q.warn("Please review the following error:"),e}var ft,ht=ct(dt.isDynamicEnforced,dt.decorateWithDynamicHost),yt=le(),bt=pt.property.settings.undefinedVarsReturnEmpty,kt=pt.property.settings.ruleComponentSequencingEnabled,Vt=pt.dataElements||{},Ct=function(e){return Vt[e]},Et=function(){return ft.apply(null,arguments)},Tt=ne(yt,Ct,Et,bt,ht),Pt={},St=ve(Pt),wt=oe(Pt,Ct),_t=ie(Pt,Ct,Tt);ft=pe(wt,_t,bt),lt(ut,pt,mt.setDebugEnabled,_t,St),st(pt,yt,mt,ft,Tt,ht,dt.decorateWithDynamicHost);var It=ue(ut),Dt=A(yt,ft,ht),Lt=Te(yt),At=Ie(Lt,Q,It),xt=_e(xe,Lt,Q,It),Ot=we(xe,Lt,Q,It),jt=De(Q,It),Nt=Se(Ae(kt,Ee(Ce(Dt,Oe,At,xt),Le(Dt,Ot,jt)),ke(ye(Dt,Re,Oe,xt,At),he(Dt,Re,Ot),jt),It),Dt,qe,xe,Pe(yt),Q);Me(_,pt.rules||[],Nt)}return ut}console.warn("Adobe Launch is unsupported in IE 9 and below.")}();