;(function() {'use strict';
var _dd = {"targ":{"v":{"geo/cy":"NL","geo/ct":"EU","geo/dm":"d"}}};  var _d =  'A|a-jLalPEWt7m2S|a|s|running|c|a:sd-ttl|fs|cust/isMobile|cust/hRooms|cust/app_type|geo/dm|ua/os|ua/br|ua/mo|dt/wp|w|B|md|dc|drts|T|aa|cc|sr|aac|OP-1024|n|OP-1024+-+MYB+-+Login+pop-in+-+Phase+2|cn|Default|B+Variation|a-Qm4kOEJKattV|OP-859|OP-859+-+delay+compensation|B+Variation|G|g-9t0ZGk0iae|sec|gpr|ewe|ext|g-o3Zib0WxOz|g-CeqlC7e5SE|g-0shFHADQzG|me|l|al|cust/isloggedin|conf|sqs:use-ddid|dl:names|dl:ev-style|dl:cdl|dl:px|dl:slx|dl:ev-cust|dl:key-sl|conductrics_selection|x-ga:wgi|wa:gpa-att|data-c-a|bots:cust|ci-tests|observepoint|ruby|grafana|fwas|Google-Travel-Flights|a:session-ttl-secs|js:cook-dom|.eurostar.com|js:ps-q|rt:tr-ids|cust/isMobile:true|#f9|cust/isMobile:false|#f10|cust/isloggedin:true|#f54|cust/isloggedin:false|#f55|cust/hRooms:1|#f246|cust/hRooms:2|#f247|cust/hRooms:3|#f248|cust/hRooms:4|#f249|cust/hRooms:5|#f250|cust/app_type:web|#f316|cust/app_type:app|#f319|rt:a_codes|a-KMcOfjmgnE6I|a-9x2KRPgffW3P|a-bE2GlVW8IxEW|wa:ready|rt:spa-states|#init|vs-vJnn6TCcth|vs-fx3VETYhPx|vs-JAwBfj4mni|vs-YksWOwrS6x|vs-CsCGyL1VPa|vs-pvL5jVZvqn|vs-Ct5mckmC3r|vs-vdRsFvrB5L|vs-e8yckcapl1|vs-RmZi6IHFxI|vs-6ocXLrEruv|vs-dE31VZJ6gb|vs-IWF2t0N4Rq|page-ready|vs-DpxwhKhIWt|vs-Ghqs5d4gvj|vs-hXHeTXMwho|vs-QI26Ld3RlJ|vs-kaXu5ru1uu|vs-4yhl0orSPL|vs-IkhQvARkd1|vs-losK12Wzxs|vs-9077rUp5UQ|vs-phOfMEYQpd|vs-hfIT0umgZY|vs-aAxPi5SMrS|vs-9BVaxrzS6t|vs-wGsLmCOEx2|vs-7iabOFk9gd|vs-xJt7WwzSkY|vs-VeCkH9f2s9|vs-7OJYsjfeuK|vs-tkeURY9zXs|vs-vYIgHNktxh|vs-nlkhlYgckt|vs-KXkVIghdIC|vs-37XlE3pFJl|vs-IlHnwbeC9x|vs-ruyLEUnE6G|vs-GzvHsGDI0C|vs-vXOe9jofd4|vs-JMxRMeVnvx|vs-hCCoMF65ag|vs-yyHdAoXyzE|vs-8ai8mFtneK|vs-5EwZnziNbK|vs-aSwhuYIz1S|vs-GO1YIxAERk|vs-HpGEgsz6tt|vs-UabfYWRkp5|vs-6Bn7Ksfvtv|vs-eV4r6gQrkw|vs-yyhbA4J3ES|vs-kph3G4JTcd|vs-gNahnV18ax|vs-yKPsGZDsRb|vs-DtMz7yYRQR|vs-AW6JU2wA8h|vs-IE4TirekHe|vs-VCDTb8TozF|vs-jTuF1gcoLR|vs-U5uF8r1wI6|vs-8jSwXRQXWW|vs-Aj0Sg08lmn|vs-D2TiTcdUkt|vs-CxaAdolHP4|vs-U1R9bKtkX8|vs-2F2pO1NZ22|vs-6Lb6wAGjAo|vs-BW2pLqc2Ka|vs-SJ98AkWkJI|vs-wtSsoUyWlf|vs-Csu4pKPsBe|vs-b0UN13CHO0|vs-xiEHaNMjoU|vs-5HNVtPWG0s|rt:spa-states-m|js:preboot-eps|wax|api|rt:spa-states-pb|dl:key-tr|conductrics_traits|rt:av-sels|event-queue:sqs-url|https://eus-events.conductrics.com/661082963978/conductrics-eus-v3-2019-queue|rt:spa-states-ms|x-ga:gtm|x-ga:gat|t0|x-ga:gao|admin-ui-server-d2:url|https://console-d2-eus-v3.conductrics.com|acc:code|ac-SrjoSwdJnI|qa:v-qa|js:debug-all|dl:cdl-key|c_conductrics_data_layer|qa:env|q|acc:env|p|pass:ua|pass:ip|pass:loc|pass:vid|pass:sid|pass:sess|pass:qa|pass:qax|rt:spa-states-pv|targ:traits-agent-max|a:vis-ttl|rt:sl-rate|targ:lookup-url|//api-eus-v3.conductrics.com/ac-SrjoSwdJnI/v3/agent-api/resolver|targ:ext-tms|acc:c-dom|BE|DE|FR|GB|NL|dl:watch|dl:key-vs|conductrics_vstate|dl:key-ex|conductrics_commands|targ:vid|qa:st-key|c-conductrics-qa|rt:g_codes|diag|module|root|items|entry|wax-pre|vstate-apply|vstate|trigs|mode|timeout|ms|dl_crit|qa|present|sel|[data-testid="radio-label-cash"]|num|container|body|wa-entry|group|pre|features-profile|types|trait-read|ns|cust|type|app_type|expr|${dl::utag_data.app_type}|isloggedin|${dl::isLoggedIn}|feature-set|feature|conds|is|No|no|any|yes|Yes|wa-start|wa-decision|agent|decision|select|choices|policy|r|wa-await|selectors|one|wa-script|selector|prehide|watch|id|js-uiUmkmVBiutKbsSTbzC3-1754388243|ok|${targ.cust/isloggedin}|false|all|ra-max|wa-css|css|#btn{\n++display:none!important;\n}\n\n#banner+{\n++max-width:+325px;\n++min-width:+calc(100%25+*+2+/+var(--Grid-columns));\n++position:+absolute;\n++/*top:+76px;*/\n++margin-top:+115px;\n++border-radius:+6px;\n++/*border:+2px+solid+#aeaeae;*/\n++padding:+0px+10px;\n++display:+flex;\n++box-shadow:+0px+0px+2px+#ffffff69;\n++background-color:+white;\n++z-index:+70;\n++}\n\n#banner+p{\nfont-family:+\'ABC+Social+Regular\',\'Arial\',\'sans-serif\';\n++font-weight:+normal;\n++font-size:+0.875rem;\n++width:90%25;\n}\n\n.triangle+{\nleft:+77.5%25;\n++top:+0%25;\n++border:+solid+transparent;\n++++border-top-width:+medium;\n++++border-top-color:+transparent;\n++++border-right-width:+medium;\n++++border-right-color:+transparent;\n++++border-bottom-width:+medium;\n++++border-bottom-color:+transparent;\n++++border-left-width:+medium;\n++++border-left-color:+transparent;\n++content:+"";\n++height:+0px;\n++width:+0;\n++position:+absolute;\n++pointer-events:+none;\n++border-color:+rgba(0,0,0,0);\n++++border-bottom-color:+rgba(0,+0,+0,+0);\n++border-bottom-color:+white;\n++border-width:+15px;\n++margin-top:+-30px;\n}\n\n.cross{\nwidth:+12%25;\n++color:+black;\n++padding:+13px;\n++right:+0;\n++position:+absolute;\n++font-family:+\'ABC+Social+Regular\',\'Arial\',\'sans-serif\';\n++font-weight:+normal;\n++font-size:+1rem;\n++cursor:+pointer;\n++border-radius:+0px+5px+5px+0px;\n}\n\n\n\n.crossDiv{\n++position:+absolute;\n++top:+0;\n++right:+0;\n++border-top-right-radius:+5px;\n++overflow:+hidden;\n++border-bottom-right-radius:+5px;\n}\n\n.crossBtn{\n++height:+100%25;\nfont-family:+\'ABC+Social+Bold\',\'Arial\',\'sans-serif\';\n++font-size:+1rem;\n++line-height:+1.5rem;\n++border-radius:+4px;\n++padding:+0.125rem;\n++vertical-align:+middle;\n++color:+#00286A;\n++cursor:+pointer;\n++min-width:+15px;\n++min-height:+24px;\n++display:+inline-block;\n++border-radius:+0;\n++border-width:+0;\n++padding:+0;\n++line-height:+0;\n++border-width:+0;\n++background-color:+transparent;\n++position:+absolute;\n++right:+0;\n++padding:+0px+5px;\n++border-radius:+0px+5px+5px+0px;\n++max-width:+35px;\n}\n\n.crossBtn:hover{\nbackground:+rgb(231,+240,+255);\n++color:+#00286A;\n++border-color:+transparent;\n}\n\n.crossSpan{\nwidth:+1rem+!important;\n++height:+1.5rem+!important;\n++display:+inline-block;\n++background-color:+currentColor;\n++-webkit-mask:+url(https://static.eurostar.com/ui/design-system/icons/cross.svg);\n++mask:+url(https://static.eurostar.com/ui/design-system/icons/cross.svg);\n++++mask-repeat:+repeat;\n++++mask-position-x:+0%25;\n++++mask-position-y:+0%25;\n++++mask-size:+auto;\n++-webkit-mask-size:+contain;\n++mask-size:+contain;\n++-webkit-mask-repeat:+no-repeat;\n++mask-repeat:+no-repeat;\n++-webkit-mask-position:+center;\n++mask-position:+center;\n++-webkit-box-flex:+0;\n++-webkit-flex-grow:+0;\n++-ms-flex-positive:+0;\n++flex-grow:+0;\n++-webkit-flex-shrink:+0;\n++-ms-flex-negative:+0;\n++flex-shrink:+0;\n++-webkit-mask-size:+contain;\n++-webkit-mask-repeat:+no-repeat;\n++-webkit-mask-position:+center;\n}|className|c-conductrics-css+c-conductrics-css-de362ed2888c341cb611418b63d24d4b|${v.sels::a-jLalPEWt7m2S::c}|js-2tXmsFmaiVcykHa5gYRG-1754556503|#btn{\n++display:none!important;\n}\n\n/*+mobile+banner+*/\n@media+(max-width:+1024px)+{\n#banner+{\n++max-width:+350px;\n++min-width:+calc(100%25+*+2+/+var(--Grid-columns));\n++position:+absolute;\n++margin-top:+145px;\n++border-radius:+6px;\n++padding:+0px+10px;\n++display:+flex;\n++box-shadow:+0px+0px+3px+#00000091;\n++background-color:+white;\n++z-index:+70;\n++}\n++\n++.triangle+{\nleft:+79.6%25;\n++top:+1%25;\n++border:+solid+transparent;\n++++border-top-width:+medium;\n++++border-top-color:+transparent;\n++++border-right-width:+medium;\n++++border-right-color:+transparent;\n++++border-bottom-width:+medium;\n++++border-bottom-color:+transparent;\n++++border-left-width:+medium;\n++++border-left-color:+transparent;\n++content:+"";\n++height:+0px;\n++width:+0;\n++position:+absolute;\n++pointer-events:+none;\n++border-color:+rgba(0,0,0,0);\n++++border-bottom-color:+rgba(0,+0,+0,+0);\n++border-bottom-color:+white;\n++border-width:+15px;\n++margin-top:+-30px;\n}\n}\n\n/*+desktop+banner+*/\n@media+(min-width:+1024px)+{\n#banner+{\n++max-width:+485px;\n++min-width:+calc(100%25+*+2+/+var(--Grid-columns));\n++position:+absolute;\n++margin-top:+125px;\n++border-radius:+6px;\n++padding:+0px+10px;\n++display:+flex;\n++box-shadow:+0px+0px+3px+#00000091;\n++background-color:+white;\n++z-index:+70;\n++}\n++\n++.triangle+{\nleft:+77.5%25;\n++top:+1%25;\n++border:+solid+transparent;\n++++border-top-width:+medium;\n++++border-top-color:+transparent;\n++++border-right-width:+medium;\n++++border-right-color:+transparent;\n++++border-bottom-width:+medium;\n++++border-bottom-color:+transparent;\n++++border-left-width:+medium;\n++++border-left-color:+transparent;\n++content:+"";\n++height:+0px;\n++width:+0;\n++position:+absolute;\n++pointer-events:+none;\n++border-color:+rgba(0,0,0,0);\n++++border-bottom-color:+rgba(0,+0,+0,+0);\n++border-bottom-color:+white;\n++border-width:+15px;\n++margin-top:+-30px;\n}\n}\n\n#banner+p{\nfont-family:+\'ABC+Social+Regular\',\'Arial\',\'sans-serif\';\n++font-weight:+normal;\n++font-size:+0.875rem;\n++width:92%25;\n}\n\n.triangle+{\nleft:+77.5%25;\n++top:+0%25;\n++border:+solid+transparent;\n++++border-top-width:+medium;\n++++border-top-color:+transparent;\n++++border-right-width:+medium;\n++++border-right-color:+transparent;\n++++border-bottom-width:+medium;\n++++border-bottom-color:+transparent;\n++++border-left-width:+medium;\n++++border-left-color:+transparent;\n++content:+"";\n++height:+0px;\n++width:+0;\n++position:+absolute;\n++pointer-events:+none;\n++border-color:+rgba(0,0,0,0);\n++++border-bottom-color:+rgba(0,+0,+0,+0);\n++border-bottom-color:+white;\n++border-width:+15px;\n++margin-top:+-30px;\n}\n\n.cross{\nwidth:+12%25;\n++color:+black;\n++padding:+13px;\n++right:+0;\n++position:+absolute;\n++font-family:+\'ABC+Social+Regular\',\'Arial\',\'sans-serif\';\n++font-weight:+normal;\n++font-size:+1rem;\n++cursor:+pointer;\n++border-radius:+0px+5px+5px+0px;\n}\n\n\n\n.crossDiv{\n++position:+absolute;\n++top:+0;\n++right:+0;\n++border-top-right-radius:+5px;\n++overflow:+hidden;\n++border-bottom-right-radius:+5px;\n}\n\n.crossBtn{\n++height:+100%25;\nfont-family:+\'ABC+Social+Bold\',\'Arial\',\'sans-serif\';\n++font-size:+1rem;\n++line-height:+1.5rem;\n++border-radius:+4px;\n++padding:+0.125rem;\n++vertical-align:+middle;\n++color:+#00286A;\n++cursor:+pointer;\n++min-width:+15px;\n++min-height:+24px;\n++display:+inline-block;\n++border-radius:+0;\n++border-width:+0;\n++padding:+0;\n++line-height:+0;\n++border-width:+0;\n++background-color:+transparent;\n++position:+absolute;\n++right:+0;\n++padding:+0px+5px;\n++border-radius:+0px+5px+5px+0px;\n++max-width:+35px;\n}\n\n.crossBtn:hover{\nbackground:+rgb(231,+240,+255);\n++color:+#00286A;\n++border-color:+transparent;\n}\n\n.crossSpan{\nwidth:+1rem+!important;\n++height:+1.5rem+!important;\n++display:+inline-block;\n++background-color:+currentColor;\n++-webkit-mask:+url(https://static.eurostar.com/ui/design-system/icons/cross.svg);\n++mask:+url(https://static.eurostar.com/ui/design-system/icons/cross.svg);\n++++mask-repeat:+repeat;\n++++mask-position-x:+0%25;\n++++mask-position-y:+0%25;\n++++mask-size:+auto;\n++-webkit-mask-size:+contain;\n++mask-size:+contain;\n++-webkit-mask-repeat:+no-repeat;\n++mask-repeat:+no-repeat;\n++-webkit-mask-position:+center;\n++mask-position:+center;\n++-webkit-box-flex:+0;\n++-webkit-flex-grow:+0;\n++-ms-flex-positive:+0;\n++flex-grow:+0;\n++-webkit-flex-shrink:+0;\n++-ms-flex-negative:+0;\n++flex-shrink:+0;\n++-webkit-mask-size:+contain;\n++-webkit-mask-repeat:+no-repeat;\n++-webkit-mask-position:+center;\n}|c-conductrics-css+c-conductrics-css-87006645c94b714ee4c8b9324134a128|${v.loc}|sub|customer-dashboard/en/get-booking|customer-dashboard/fr/get-booking|customer-dashboard/de/get-booking|customer-dashboard/nl/get-booking|condsName|vstates|options|${v.sels::a-Qm4kOEJKattV::c}|js-LOSnxrWhQk33EO7NsKoQ-1741785431|.css-ffct8g{\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n}\n\n.subVoucher{\npadding:+0;\n++++margin:+0;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(59+59+59);\n++++font-size:+1.025rem;\n}\n\n.labelGreen{\n++display:+flex;\n++++align-items:+anchor-center;\n++++margin-top:+0;\n++++++right:+1rem;\n++++position:+absolute;\n++background-color:+#99ebc9;\n++++padding:+4px+7px;\n++++border-radius:+5px;\n++font-size:+1rem;\n}\n\n.iconTicket{\ndisplay:+inline-block;\n++++background-color:+rgb(28,+28,+26);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.5rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n}\n\n.css-1ldgipl+.css-6g9p6r{\n+display:none;\n}\n.css-1ldgipl+.css-6mi5sy{\n+++display:none;\n}\n\n.price{\nfont-family:+"ABC+Social+Bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(0,+40,+106);\n++++text-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-size:+1.25rem;\n++++line-height:+1.5rem;\n++++margin:+0px+0px+0px+0.1rem;\n}\n\n#Addtext0{\n++++color:+rgb(28,+28,+26);\n++++text-align:+left;\n++++margin-bottom:+0rem!important;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++margin-top:+1rem!important;\n}\n\n#Addtext1{\n++++color:+rgb(8+98+100);\n++++text-align:+end+!important;\n++++margin-top:+0px;\n++++margin-bottom:+0rem;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+0.9rem;\n++++line-height:+1.5rem;\n++++width:+100%25+!important;\n}\n\n.arrowRight{\ndisplay:+inline-block;\n++++background-color:+rgb(13+87+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/arrowInCircleRightFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++width:+1.2rem+!important;\n++++height:+1rem+!important;\n++margin-left:+0.5rem+!important;\n++++vertical-align:+middle;\n}\n\n.clickable-link{\ntext-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++text-decoration:+underline;\n++++color:+rgb(13,+87,+204)+!important;\n++++margin:+0rem+!important;\n}\n\n#arrowUp{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n#arrowDown{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n\n#bulletPoints+ul{\n++++margin:+0rem+!important;\n++++padding-inline-start:+25px;\n}\n#bulletPoints+li{\n++++margin:+0rem+!important;\n}\n#main{\nvisibility:visible!important;\n}\n\n#iconTicket2{\ndisplay:+inline-block;\n++++background-color:+rgb(8+98+100);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.25rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}|c-conductrics-css+c-conductrics-css-80fbc243e16ec48de7ff4758305b7688|eurostar.com/customer-dashboard/en/compensation/select-method|js_id|js-QgUIhHdZlyTSiJEIMNIi|#main{\nvisibility:hidden;\n}|c-conductrics-css+c-conductrics-css-c1818530632ac8db298de07df1a5d91b|js-xCJFHMjoCTQflVwiBIUA|js-mg84pyAHFXEt8TaY9mhD-1741787137|.css-ffct8g{\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n}\n\n.subVoucher{\npadding:+0;\n++++margin:+0;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(59+59+59);\n++++font-size:+1.025rem;\n}\n\n.labelGreen{\n++display:+flex;\n++++align-items:+anchor-center;\n++++margin-top:+0;\n++++++right:+1rem;\n++++position:+absolute;\n++background-color:+#99ebc9;\n++++padding:+4px+7px;\n++++border-radius:+5px;\n++font-size:+1rem;\n}\n\n.iconTicket{\ndisplay:+inline-block;\n++++background-color:+rgb(28,+28,+26);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.5rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n}\n\n.css-1ldgipl+.css-6g9p6r{\n+display:none;\n}\n.css-1ldgipl+.css-6mi5sy{\n+++display:none;\n}\n\n.price{\nfont-family:+"ABC+Social+Bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(0,+40,+106);\n++++text-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-size:+1.25rem;\n++++line-height:+1.5rem;\n++++margin:+0px+0px+0px+0.1rem;\n}\n\n#Addtext0{\n++++color:+rgb(28,+28,+26);\n++++text-align:+left;\n++++margin-bottom:+0rem!important;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++margin-top:+1rem!important;\n}\n\n#Addtext1{\n++++color:+rgb(8+98+100);\n++++text-align:+end+!important;\n++++margin-top:+0px;\n++++margin-bottom:+0rem;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+0.9rem;\n++++line-height:+1.5rem;\n++++width:+100%25+!important;\n}\n\n.arrowRight{\ndisplay:+inline-block;\n++++background-color:+rgb(13+87+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/arrowInCircleRightFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++width:+1.2rem+!important;\n++++height:+1rem+!important;\n++margin-left:+0.5rem+!important;\n++++vertical-align:+middle;\n}\n\n.clickable-link{\ntext-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++text-decoration:+underline;\n++++color:+rgb(13,+87,+204)+!important;\n++++margin:+0rem+!important;\n}\n\n#arrowUp{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n#arrowDown{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n\n#bulletPoints+ul{\n++++margin:+0rem+!important;\n++++padding-inline-start:+25px;\n}\n#bulletPoints+li{\n++++margin:+0rem+!important;\n}\n#main{\nvisibility:visible!important;\n}\n\n#iconTicket2{\ndisplay:+inline-block;\n++++background-color:+rgb(8+98+100);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.25rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}|c-conductrics-css+c-conductrics-css-80fbc243e16ec48de7ff4758305b7688|eurostar.com/customer-dashboard/fr/compensation/select-method|js-IQLSRvreWoKozvlrssRu|.css-ffct8g{\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n}\n\n.subVoucher{\npadding:+0;\n++++margin:+0;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(59+59+59);\n++++font-size:+1.025rem;\n}\n\n.labelGreen{\n++display:+flex;\n++++align-items:+anchor-center;\n++++margin-top:+0;\n++++++right:+1rem;\n++++position:+absolute;\n++background-color:+#99ebc9;\n++++padding:+4px+7px;\n++++border-radius:+5px;\n++font-size:+1rem;\n}\n\n.iconTicket{\ndisplay:+inline-block;\n++++background-color:+rgb(28,+28,+26);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.5rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n}\n\n.css-1ldgipl+.css-6g9p6r{\n+display:none;\n}\n.css-1ldgipl+.css-6mi5sy{\n+++display:none;\n}\n\n.price{\nfont-family:+"ABC+Social+Bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(0,+40,+106);\n++++text-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-size:+1.25rem;\n++++line-height:+1.5rem;\n++++margin:+0px+0px+0px+0.1rem;\n}\n\n#Addtext0{\n++++color:+rgb(28,+28,+26);\n++++text-align:+left;\n++++margin-bottom:+0rem!important;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++margin-top:+1rem!important;\n}\n\n#Addtext1{\n++++color:+rgb(8+98+100);\n++++text-align:+end+!important;\n++++margin-top:+0px;\n++++margin-bottom:+0rem;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+0.9rem;\n++++line-height:+1.5rem;\n++++width:+100%25+!important;\n}\n\n.arrowRight{\ndisplay:+inline-block;\n++++background-color:+rgb(13+87+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/arrowInCircleRightFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++width:+1.2rem+!important;\n++++height:+1rem+!important;\n++margin-left:+0.5rem+!important;\n++++vertical-align:+middle;\n}\n\n.clickable-link{\ntext-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++text-decoration:+underline;\n++++color:+rgb(13,+87,+204)+!important;\n++++margin:+0rem+!important;\n}\n\n#arrowUp{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n#arrowDown{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n\n#bulletPoints+ul{\n++++margin:+0rem+!important;\n++++padding-inline-start:+25px;\n}\n#bulletPoints+li{\n++++margin:+0rem+!important;\n}\n#main{\nvisibility:visible!important;\n}\n\n#iconTicket2{\ndisplay:+inline-block;\n++++background-color:+rgb(8+98+100);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.25rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}|c-conductrics-css+c-conductrics-css-80fbc243e16ec48de7ff4758305b7688|js-Z4iNHZTZy75myNwbbg6s-1741784714|eurostar.com/customer-dashboard/nl/compensation/select-method|js-nKBPOlIgHXqGDMlRHBEH|.css-ffct8g{\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n}\n\n.subVoucher{\npadding:+0;\n++++margin:+0;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(59+59+59);\n++++font-size:+1.025rem;\n}\n\n.labelGreen{\n++display:+flex;\n++++align-items:+anchor-center;\n++++margin-top:+0;\n++++++right:+1rem;\n++++position:+absolute;\n++background-color:+#99ebc9;\n++++padding:+4px+7px;\n++++border-radius:+5px;\n++font-size:+1rem;\n}\n\n.iconTicket{\ndisplay:+inline-block;\n++++background-color:+rgb(28,+28,+26);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.5rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n}\n\n.css-1ldgipl+.css-6g9p6r{\n+display:none;\n}\n.css-1ldgipl+.css-6mi5sy{\n+++display:none;\n}\n\n.price{\nfont-family:+"ABC+Social+Bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++color:+rgb(0,+40,+106);\n++++text-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-size:+1.25rem;\n++++line-height:+1.5rem;\n++++margin:+0px+0px+0px+0.1rem;\n}\n\n#Addtext0{\n++++color:+rgb(28,+28,+26);\n++++text-align:+left;\n++++margin-bottom:+0rem!important;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++margin-top:+1rem!important;\n}\n\n#Addtext1{\n++++color:+rgb(8+98+100);\n++++text-align:+end+!important;\n++++margin-top:+0px;\n++++margin-bottom:+0rem;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+bold",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+0.9rem;\n++++line-height:+1.5rem;\n++++width:+100%25+!important;\n}\n\n.arrowRight{\ndisplay:+inline-block;\n++++background-color:+rgb(13+87+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/arrowInCircleRightFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++width:+1.2rem+!important;\n++++height:+1rem+!important;\n++margin-left:+0.5rem+!important;\n++++vertical-align:+middle;\n}\n\n.clickable-link{\ntext-align:+left;\n++++-webkit-font-smoothing:+antialiased;\n++++font-family:+"ABC+Social+Regular",+Arial,+"sans-serif";\n++++font-weight:+normal;\n++++font-size:+1rem;\n++++line-height:+1.5rem;\n++++text-decoration:+underline;\n++++color:+rgb(13,+87,+204)+!important;\n++++margin:+0rem+!important;\n}\n\n#arrowUp{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n#arrowDown{\n++++display:+inline-block;\n++++background-color:+rgb(13,+87,+204);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n+margin:+0rem+0.25rem+0rem+0.5rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}\n\n#bulletPoints+ul{\n++++margin:+0rem+!important;\n++++padding-inline-start:+25px;\n}\n#bulletPoints+li{\n++++margin:+0rem+!important;\n}\n#main{\nvisibility:visible!important;\n}\n\n#iconTicket2{\ndisplay:+inline-block;\n++++background-color:+rgb(8+98+100);\n++++mask:+url(https://static.eurostar.com/ui/design-system/icons/voucherFilled.svg)+center+center+/+contain+no-repeat;\n++++-webkit-box-flex:+0;\n++++flex-grow:+0;\n++++flex-shrink:+0;\n++++margin:+0rem+0.25rem+0rem+0rem+!important;\n++++width:+1rem+!important;\n++++height:+1rem+!important;\n++++vertical-align:+sub;\n}|c-conductrics-css+c-conductrics-css-80fbc243e16ec48de7ff4758305b7688|js-CV6AQpuqq6btWrbenfAv-1741785011|eurostar.com/customer-dashboard/de/compensation/select-method|js-gyUQFwZjUiaEvpALgzMe|wa-goal|goal|eurostar.com/customer-dashboard/en/compensation/summary|eurostar.com/customer-dashboard/nl/compensation/summary|eurostar.com/customer-dashboard/fr/compensation/summary|eurostar.com/customer-dashboard/de/compensation/summary|refundMethod=VOUCHER|sets|ev_conds|event|load|dl_eventName|wa-reward|reward|countMax|valueDef|refundMethod=CASH|click|eventSelector|#txt|sel_i|sel_n|#crossClose|mdn_only|api-steps|diags|flow|f-XnqTYqFYWu|acc|k|api-lASyLwRapbJHagYhtGCk|rt|https://api-eus-v3.conductrics.com/ac-SrjoSwdJnI/v3/agent-api/js/f-XnqTYqFYWu/dt-kTerm2DxYUCBpGda8ntcArikRxTAWJ?apikey=api-lASyLwRapbJHagYhtGCk|js|la|ts|ds|b|eph|use_rest|https://api-eus-v3.conductrics.com/ac-SrjoSwdJnI/v3/agent-api/dt-bmbnIP7gNfElz2VR3GqLHQr6dP7XNu?apikey=api-lASyLwRapbJHagYhtGCk|https://api-eus-v3.conductrics.com/ac-SrjoSwdJnI/v3/agent-api/dt-xDqR77c2TGcVDrqPh2osExwO1yDxyn?apikey=api-lASyLwRapbJHagYhtGCk|tt|ttt|mvt|v|3.7.15|241007.13|m|d|dt-kTerm2DxYUCBpGda8ntcArikRxTAWJ|di|#d7|dn|Express_CS_Live|510^T0TNW1|0|2S|ST25SO|1JK00|A|2S|A|A|1JK00|6Y|1E0|0|1JK|GO|1|1|2S|2S|2S|2S|2S|2S|1|1|1|1|0|1|1|1|0|1|1|1|1|1|1|1|1|1|1|1|T0TNWJ|T0TNW7^^$0|$1|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C|D|E|F]|G|$0|-5|H|-5]|I|$0|$]|H|$]]|J|0|K|B4|L|-5|M|-5|N|-5|O|-5|P|Q|R|S|T|$0|U|H|V]]|W|$2|$3|4|5|$6|-5]]|7|@D|E|C]|G|$0|B5|H|B6]|I|$0|$]|H|$]]|J|H|K|B7|L|-5|M|-5|N|-5|O|-5|P|X|R|Y|T|$0|U|H|Z]]]|10|$11|$2|@W]|12|@]|13|-5|14|-5|15|-5]|16|$2|@W]|12|@]|13|-5|14|-5|15|-5]|17|$2|@1]|12|@]|13|-5|14|-5|15|-5]|18|$2|@1]|12|@]|13|-5|14|-5|15|-5]]|L|$8|$19|1A|1B|$]]|1C|$19|1A|1B|$]]|9|$19|1A|1B|$]]|A|$19|1A|1B|$]]]|1D|$1E|-5|1F|-1|1G|-5|1H|-1|1I|@]|1J|-2|1K|-3|1L|1M|1N|-2|1O|1P|1Q|@1R|1S|1T|1U|1V|1W]|1X|B8|1Y|1Z|20|-5|21|$22|23|24|25|26|27|28|29|2A|2B|2C|2D|2E|2F|2G|2H|2I|2J|2K|2L|2M|2N]|2O|@W|2P|2Q|2R|1]|2S|-3|2T|@2U|2V|2W|2X|2Y|2Z|30|31|32|33|34|35|36|37|38|39|3A|3B|3C|3D|3E|3F|3G|3H|3I|3J|3K|3L|3M|3N|3O|3P|3Q|3R|3S|3T|3U|3V|3W|3X|3Y|3Z|40|41|42|43|44|45|46|47|48|49|4A|4B|4C|4D|4E|4F|4G|4H|4I|4J|4K|4L|4M|4N|4O|4P|4Q|4R|4S|4T|4U|4V|4W|4X|4Y]|4Z|@34|38|3O|3V]|50|@51|52]|53|@2X|30|32|33|34|35|36|3B|3C|3D|3E|3H|3I|3L|3P|3T|3V|3Y|3Z|43|44|4B|4F|4J|4T|4U|4X|4Y|2U]|54|55|56|-5|57|58|59|$38|B9|3O|BA|3S|BB|3V|BC]|5A|-1|5B|5C|5D|-3|5E|5F|5G|5H|5I|-2|5J|-2|5K|5L|5M|5N|5O|5P|5Q|-1|5R|-1|5S|-1|5T|-1|5U|-2|5V|-2|5W|-1|5X|-5|6|BD|5Y|@43|4F|4J|4U]|5Z|BE|60|BF|61|BG|62|63|64|BH|65|@66|67|68|69|6A]|6B|-2|6C|6D|6E|6F|6G|-5|6H|6I|6J|@11|16|17|18]]|6K|$6L|6M|6N|@$6L|6O|6O|6P|6N|@$6L|6Q|6R|2W|6S|@$6T|6U|6V|BI|6W|@]]]|6X|-2]|$6L|6Q|6R|4H|6S|@$6T|6Y|6Z|70|71|BJ|72|73|6V|BK|6W|@]]]|6X|-2]]]|$6L|6O|6O|51|6N|@$6L|74|6N|@$6L|75|75|76|6N|@$6L|77|78|@]|6N|@$6L|79|7A|7B|7C|7D|7E|7F]|$6L|79|7A|7B|7C|7G|7E|7H]|$6L|7I|7J|26|7K|@@7H|7L|7M]|@7H|7L|7N]|$6T|7O]]]|$6L|7I|7J|28|7K|@@7H|7L|7P]|@7H|7L|7Q]|$6T|7O]]]]]]]|$6L|7R|6N|@$6L|7S|7T|1|6N|@$6L|7U|7T|1|6N|@$6L|7V|7T|1|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|82|83|-4|84|-2|85|-4|86|87|6N|@$6L|7U|7T|1|3|88|7K|@@89|7L|8A]|$6T|8B]]|6N|@$6L|7V|7T|1|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|1|8C|BL]|$6L|8D|8E|8F|8G|8H]]|7K|@@8I|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|82|83|-4|84|-2|85|-4|86|8J|6N|@$6L|7U|7T|1|3|88|7K|@@89|7L|8A]|$6T|8B]]|6N|@$6L|7V|7T|1|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|1|8C|BM]|$6L|8D|8E|8K|8G|8L]]|7K|@@8I|7L|H]]]]|3|5P|7K|@@89|7L|8A]|$6T|8B]]]]|7K|@@8M|8N|8O]|@8M|8N|8P]|@8M|8N|8Q]|@8M|8N|8R]|$6T|7O]]|8S|-4|8T|@2W]|83|-4|8U|$0|$]|H|$]]]]]|$6L|7R|6N|@$6L|7S|7T|W|6N|@$6L|7U|7T|W|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|82|83|-4|84|-2|85|-4|86|8W|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|W|8C|BN]|$6L|8D|8E|8X|8G|8Y]]|7K|@@8V|7L|H]]]]|3|5P|7K|@]]]|7K|@@8M|8N|8Z]|$6T|8B]]|8S|-4|8T|@4H]|83|-4|8U|$0|$]|H|$]]|90|91]|$6L|7S|7T|W|6N|@$6L|7U|7T|W|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|8D|8E|92|8G|93]|$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|H]]]]|3|5P|7K|@]]]|7K|@@8M|8N|8Z]|$6T|8B]]|8S|-4|8T|@4H]|83|-4|8U|$0|$]|H|$]]|90|94]|$6L|7S|7T|W|6N|@$6L|7U|7T|W|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|82|83|-4|84|-2|85|-4|86|95|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|W|8C|BO]|$6L|8D|8E|96|8G|97]]|7K|@@8V|7L|H]]]]|3|5P|7K|@]]]|7K|@@8M|8N|98]|$6T|8B]]|8S|-4|8T|@4H]|83|-4|8U|$0|$]|H|$]]|90|99]|$6L|7S|7T|W|6N|@$6L|7U|7T|W|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|8D|8E|9A|8G|9B]|$6L|82|83|-4|84|-2|85|-4|86|9C|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|W|8C|BP]]|7K|@@8V|7L|H]]]]|3|5P|7K|@]]]|7K|@@8M|8N|9D]|$6T|8B]]|8S|-4|8T|@4H]|83|-4|8U|$0|$]|H|$]]|90|9E]|$6L|7S|7T|W|6N|@$6L|7U|7T|W|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|5P|6N|@]]|$6L|7Z|80|@]|81|-2|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7K|@@8V|7L|0]]]|$6L|7Z|80|@]|81|-2|6N|@$6L|8D|8E|9F|8G|9G]|$6L|82|83|-4|84|-2|85|-4|86|9H|6N|@$6L|7U|7T|W|3|88|7K|@]|6N|@$6L|7V|7T|W|7W|@0|H]|7X|7Y|3|88|6N|@]]]]]|7T|W|8C|BQ]]|7K|@@8V|7L|H]]]]|3|5P|7K|@]]]|7K|@@8M|8N|9I]|$6T|8B]]|8S|-4|8T|@4H]|83|-4|8U|$0|$]|H|$]]|90|9J]]]|$6L|9K|9L|11|7K|@@@8M|8N|9M]|@8M|8N|9N]|@8M|8N|9O]|@8M|8N|9P]|$6T|7O]]|@@8M|8N|9Q]|$6T|8B]]|$6T|9R]]|9S|@]|9T|9U|9V|-4|6W|@]|6N|@$6L|9W|9L|11|6N|@$6L|9X|9L|11|9Y|BR|9Z|BS]]]]|6X|-2]|$6L|9K|9L|16|7K|@@@8M|8N|9M]|@8M|8N|9N]|@8M|8N|9O]|@8M|8N|9P]|$6T|7O]]|@@8M|8N|A0]|$6T|8B]]|$6T|9R]]|9S|@]|9T|9U|9V|-4|6W|@]|6N|@$6L|9W|9L|16|6N|@$6L|9X|9L|16|9Y|BT|9Z|BU]]]]|6X|-2]|$6L|9K|9L|17|7K|@@8M|8N|8O]|@8M|8N|8P]|@8M|8N|8Q]|@8M|8N|8R]|$6T|7O]]|9S|@]|9T|A1|A2|A3|A4|BV|A5|BW|9V|-4|6W|@]|6N|@$6L|9W|9L|17|6N|@$6L|9X|9L|17|9Y|BX|9Z|BY]]]]|6X|-2]|$6L|9K|9L|18|7K|@@8M|8N|8O]|@8M|8N|8P]|@8M|8N|8Q]|@8M|8N|8R]|$6T|7O]]|9S|@]|9T|A1|A2|A6|A4|BZ|A5|C0|9V|-4|6W|@]|6N|@$6L|9W|9L|18|6N|@$6L|9X|9L|18|9Y|C1|9Z|C2]]]]|6X|-2]]|7K|@]|A7|-1]]]|$6L|6O|6O|52|6N|@$6L|A8|6N|@$6L|75|75|76|6N|@$6L|77|78|@]|6N|@$6L|79|7A|7B|7C|7D|7E|7F]|$6L|79|7A|7B|7C|7G|7E|7H]|$6L|7I|7J|26|7K|@@7H|7L|7M]|@7H|7L|7N]|$6T|7O]]]|$6L|7I|7J|28|7K|@@7H|7L|7P]|@7H|7L|7Q]|$6T|7O]]]]]]]]|A9|$11|$6L|9X|9L|11|9Y|C3|9Z|C4]|16|$6L|9X|9L|16|9Y|C5|9Z|C6]|17|$6L|9X|9L|17|9Y|C7|9Z|C8]|18|$6L|9X|9L|18|9Y|C9|9Z|CA]]]]]]|AA|AB]|AC|$5|5H|AD|AE]|AF|$3|AG|AH|-5|AI|-5|5P|-2|AJ|CB|AK|AL|AM|@]|AN|$5P|AO|5N|AP]|AQ|@B|C|D|E|F]|AR|@B|C|D|E|F]]|AS|-3|AT|$AT|AU|AL|AV|AW|CC|AX|AY|AZ|B0|B1|B2|R|B3]]';  var _wa_preboot = function(visitor_callback) {window._c_storage_check=function(){if(navigator.doNotTrack||navigator.globalPrivacyControl)return!1;try{localStorage.setItem("c-storage-check",1),localStorage.removeItem("c-storage-check")}catch(e){return!1}return!0};var _cookie=function(e){var o;try{o=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))}finally{return o}},isLoggedIn;isLoggedIn=document.cookie.match(/CognitoIdentityServiceProvider.*\.idToken/)?"true":document.cookie.match(/esAuthToken/)?"true":"false",console.log("Log in status is"+isLoggedIn),visitor_callback({isloggedin:isLoggedIn},{presend_callback:function(e,o){var t=10;!function c(){var e=_cookie("utag_main");if(e){var n="v1|"+e.replace(/.*v_id:([^$_]+).*/,"$1");o({vid:n})}else t-- >0?setTimeout(c,300):o({})}()}});}; var _wa_cjs = { 'js-uiUmkmVBiutKbsSTbzC3-1754388243': function (cdx) { try{
 const Place = document.querySelector('[data-testid="customer-dashboard-pill-menu"]');
  function isMobile() {
    const regex = /Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
    return regex.test(navigator.userAgent);
  }
  
  
  let url = window.location.href
  if(url.includes("/customer-dashboard/en/booking?pnr=") || url.includes("customer-dashboard/en/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'>Log in to manage your bookings and account</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
    Place.insertAdjacentHTML('afterend', banner);
  }
   if(url.includes("/customer-dashboard/de/booking?pnr=") || url.includes("customer-dashboard/de/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'>Um Ihre Buchungen und Ihr Konto verwalten zu können, müssen Sie angemeldet sein</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
   if(url.includes("/customer-dashboard/nl/booking?pnr=") || url.includes("customer-dashboard/nl/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'>Meld je aan om je boekingen en account te beheren</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
   if(url.includes("/customer-dashboard/fr/booking?pnr=") || url.includes("customer-dashboard/fr/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'>Connectez-vous pour gérer vos réservations et votre compte</p><button id='crossClose' class='crossBtn'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
  
   document.getElementById("crossClose").addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
    banner2.style.display = "none";
  }
 });
 document.querySelector('[data-testid="customer-dashboard-pill-menu"] button').addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
    banner2.style.display = "none";
  }
 });
   document.getElementById("txt").addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
    document.querySelector('[data-testid="customer-dashboard-pill-menu"] button').click();
    banner2.style.display = "none";
  }
  const mobile = document.querySelector('[data-testid="user-icon"]');
  if(isMobile()){
     document.querySelector('[data-testid="user-icon"]').click();
  }
 });
}
catch(e){}
 },'js-2tXmsFmaiVcykHa5gYRG-1754556503': function (cdx) { try{
 var Place = document.querySelector('[data-testid="customer-dashboard-pill-menu"]');
  function isMobile() {
    const regex = /Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
    return regex.test(navigator.userAgent);
  }
  
  let url = window.location.href
  if(url.includes("/customer-dashboard/en/booking?pnr=") || url.includes("customer-dashboard/en/get-booking")){
    let banner = "<div id='banner' style='max-width:350px;' class='css-fb3aup'><span class='triangle'></span><p id='txt'><b>Log in to unlock rewards with Club Eurostar</b></br>Earn points and access exclusive rewards</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
    Place.insertAdjacentHTML('afterend', banner);
  }
   if(url.includes("/customer-dashboard/de/booking?pnr=") || url.includes("customer-dashboard/de/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'><b>Melden Sie sich an und profitieren Sie von Club Eurostar-Vorteilen</b></br>Sammeln Sie Punkte und genießen Sie exklusive Prämien</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
   if(url.includes("/customer-dashboard/nl/booking?pnr=") || url.includes("customer-dashboard/nl/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'><b>Log in om te genieten van de voordelen met Club Eurostar</b></br>Verdien punten en krijg toegang tot exclusieve voordelen</p><button id='crossClose' class='crossBtn' type='button'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
   if(url.includes("/customer-dashboard/fr/booking?pnr=") || url.includes("customer-dashboard/fr/get-booking")){
    let banner = "<div id='banner' class='css-fb3aup'><span class='triangle'></span><p id='txt'><b>Connectez-vous pour bénéficier d'avantages avec Club Eurostar</b></br>Gagnez des points et accédez à des avantages exclusifs</p><button id='crossClose' class='crossBtn'><span class='css-kvmvdo'><span class='css-1d6z1ou'><span aria-hidden='true' class='crossSpan'></span></span></span></button></div>";
     Place.insertAdjacentHTML('afterend', banner);
   }
   
   document.getElementById("crossClose").addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
    banner2.style.display = "none";
  }
 });
 
 document.querySelector('[data-testid="customer-dashboard-pill-menu"] button').addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
    banner2.style.display = "none";
  }
 });
  document.getElementById("txt").addEventListener("click", function() {
  const banner2 = document.getElementById("banner");
  if (banner2) {
      document.querySelector('[data-testid="customer-dashboard-pill-menu"] button').click();
      banner2.style.display = "none";
  }
  const mobile = document.querySelector('[data-testid="user-icon"]');
  if(isMobile()){
    if(url.includes("customer-dashboard/en/get-booking")){
      document.querySelector('[data-testid="user-icon"]').click();
    }
  }
 });
}
catch(e){}
 },'js-QgUIhHdZlyTSiJEIMNIi': function (cdx) { try{
  const KlarnaCheck = document.querySelectorAll('[data-testid="radio-label-cash"]')[0].outerHTML;
  if(KlarnaCheck.indexOf('Klarna') !== -1){
     return false;
  }
  else{
    return true;
  }
}
catch(e){}
 },'js-LOSnxrWhQk33EO7NsKoQ-1741785431': function (cdx) { try{
  console.log("AB test OP-859 currently running on this page - If you have any issues, please contact the op team.");
  /*** A FAIRE ET CORRIGER ***/
  // DONE --- remove flickering effect 
  // DONE --- calcul différence
  // DONE --- Becky ask Jasien to fix it (26/02) --- Ajouter voucherFilled icon (Becky gère le problème)
  // DONE --- Corriger pb prix sans le zéro à la fin
  // DONE --- data-testid="outbound-totalPrice" Afficher le % pour le train retour si besoin.
  // DONE --- ajout texte selon langue
  // DONE --- Finir hyperlink dropdown
  // DONE --- RequestForm URL
  // DONE --- H2 different changer
  // DONE --- gérer les problèmes de device ($ £ €)
  // DONE --- Problème arrow, JS dropdown hyperlink
  // Done --- placer les devises EUro et dollar après le montant
  // DONE --- Cacher le block e-voucher en savoir plus
  // DONE --- cacher le message vert au dessus CTA si cash selected
  // --- Add link route / destinations
  // --- Potential problem on the difference of % for a return and outbound.

  
  //check devise
  const checkDevise = document.querySelectorAll('[data-testid="radio-label-cash"] .css-nvzq3x')[0].outerHTML;
  let devise = "";
  let devisePound = "";
  let deviseOther = "";
  if (checkDevise.indexOf('£') !== -1){ devise ="£"; devisePound = "£";}
  if (checkDevise.indexOf('€') !== -1){ devise ="€"; deviseOther = "€"}
  if (checkDevise.indexOf('$') !== -1){ devise ="$"; deviseOther = "$"}
  
  // add text request form and price difference ?
  let formURL = document.querySelectorAll('.css-1o4h5u4');
  let FormURL1 = formURL[1].getAttribute('href');
  let paragraphs = document.querySelectorAll('.css-1x7nx75');
  for (let i = 0; i < paragraphs.length; i++) {
    //form
    if(i === 0){
      paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext0" class="css-1i03tdy ">Choose an online compensation method below. Or, you can use our <a href="' + FormURL1 + '" target="_blank" class="css-1o4h5u4">request form</a> to get your compensation by bank transfer.</span>');
    }
    // price difference
    if(i === 1){
    paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext1" class="css-1i03tdy"><span role="img" aria-label="ticketVoucher" aria-hidden="false" id="iconTicket2"></span>You\'ll get <span id="DiffPrice"></span> more with the e-vouchers/s</p>');
    }
  }
  
  // Relocate compensation title
  const title = "Choose a compensation method";
  const url1 = document.querySelector('.css-1jojgja');
  let hrefValue = url1.getAttribute('href');
  let subComp = 'Compensation rates are based on the length of the delay and the compensation method chosen, with Eurostar e-vouchers offering a higher value. <a href="' + hrefValue + '" target="_blank" class="css-1jojgja">Learn more about these rates<span class="css-72hrq4"></span></a><span role="img" aria-label="arrowRight" aria-hidden="false" class="arrowRight"></span> ';
  let CompMethod = document.createElement('div');
  CompMethod.classList.add('comp-div');
  CompMethod.innerHTML = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-6 css-1ocndf" style="margin:0;" ><h2 class="css-258s67">Choose a compensation method</h2></div><p class="css-6mi5sy">' + subComp + '</p>';
  let TextMethod = document.querySelector('.css-1ldgipl');
  let parentElement = TextMethod.parentNode;
  parentElement.insertBefore(CompMethod, TextMethod);
  
  /********************/
  /****** Voucher *****/
  /********************/
  // Option case redesign : data-testid="radio-label-voucher"
  const voucher = document.querySelectorAll('[data-testid="radio-label-voucher"]');
  
  // % discount
  const discount = document.querySelectorAll('[data-testid="radio-label-voucher"] b');
  let discountx = "";
  let discountReturn = "";

  for (let i = 0; i < discount.length; i++) {
    discountx = discount[0].innerHTML;
    if(i === 1){
      discountReturn = discount[1].innerHTML;
    }
  }
  
  // amount
  let voucher1 = voucher[0].outerHTML;
  let spanText = voucher1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];

  // Trouver la position du symbole £ et < dans la chaîne
  let startIdx = spanText.indexOf(devise) + 1 ;

  let Pamount = "";
  if(devise === "£"){
    let startIdx = spanText.indexOf(devise) + 1;
    Pamount = spanText.slice(startIdx);
  }
  else{
    let regex = /(\d+,\d{2})/;
    Pamount = spanText.match(regex)[0];
  }
  const DiffVouch = Pamount.replace(",", ".");
  Pamount = devisePound + Pamount + deviseOther;
  const section = document.querySelectorAll('.css-1lg81rq')[0].innerHTML;
  let subTitle = "";
  let score1 = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Rate/s applied: <b>" + discountx + "</b> of the outbound";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Rate/s applied: <b>" + discountx + "</b> of the return";
  }
  if(score1 === 2){ 
    subTitle = "<p class='subVoucher'>Rate/s applied: <b>" + discountx + "</b> of the outbound + <b>" + discountReturn + "</b> of the return</p>";
  }
  let HigherValue = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-3 css-12tp7t4"><div  class="labelGreen"><span role="img" aria-label="ticketVoucher" aria-hidden="false" class="iconTicket"></span><p style="margin: 0;    font-family: &quot;ABC Social bold&quot;, Arial, &quot;sans-serif&quot;">Higher value</p></div></div>'
  // Replace all 
  voucher[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-voucher"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Get <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount + '</span> in Eurostar e-vouchers which are valid on any of our routes</h3>' + subTitle + '</div></div>' + HigherValue + '</div>';
  
  /******************
  /****** CASH *****/
  /*****************/
  //option case redesign : data-testid="radio-label-cash"
  const cash = document.querySelectorAll('[data-testid="radio-label-cash"]'); 
  const discount1 = document.querySelectorAll('[data-testid="radio-label-cash"] b');
  let discountx1 = "";
  let discount1Return = "";

  for (let i = 0; i < discount1.length; i++) {
    discountx1 = discount1[0].innerHTML;
    if(i === 1){
      discount1Return = discount1[1].innerHTML;
    }
  }
  
  // faire un if pour les € ou $ pour le startindex
  let cash1 = cash[0].outerHTML;
  let spanText1 = cash1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];
  let Pamount1 ="";
  if(devise === "£"){
    let startIdx1 = spanText1.indexOf(devise) + 1;
    Pamount1 = spanText1.slice(startIdx1);
  }
  else{
    let regex1 = /(\d+,\d{2})/;
    Pamount1 = spanText1.match(regex1)[0];
  }
  let DiffCash = Pamount1.replace(",", ".");
  Pamount1 = devisePound + Pamount1 + deviseOther;
  let card = document.querySelector('div[data-testid="radio-label-cash"] h3').textContent;
  // Récupérer les 4 derniers caractères du texte
  let cardend = card.slice(-4);  
  
  let subTitleCash = "";
  let score = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Rate/s applied: <b>" + discountx1 + "</b> of the outbound";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Rate/s applied: <b>" + discountx1 + "</b> of the return";
  }
  if(score === 2){ 
    subTitleCash = "<p class='subVoucher'>Rate/s applied: <b>" + discountx1 + "</b> of the outbound + <b>" + discount1Return + "</b> of the return</p>";
  }
  cash[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-cash"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Get <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount1 + '</span> as a partial refund to your card ending ' + cardend + '</h3><div> ' + subTitleCash + ' </div></div></div></div>';
 
  // change text under radio btn
  const valid = document.querySelectorAll('.css-vf10xe');
  valid[0].outerHTML = '<p class="css-vf10xe">E-vouchers are valid on eurostar.com on any of our routes for 12 months from the initial date of travel. You must book your trip within this time frame, but your travel date can be after it.</p><p class="css-vf10xe" id="toggleLink"><span class="clickable-link" >How many e-vouchers will you get?<span aria-hidden="true" id="arrowUp" style="display : none; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg);"></span></span><span aria-hidden="true" id="arrowDown" style=" display : inline-block; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg);"></span></p><ul id="bulletPoints" class="bullet-points" style="display:none;"><li class="css-vf10xe">1 x e-voucher is issued per passenger, per delayed journey. You can use multiple e-vouchers towards a new booking (including for Train + Hotel packages).</li>      <li class="css-vf10xe">Each e-voucher is sent to the passenger’s email address provided during the booking.</li>    </ul>';
  const toggleLink = document.getElementById('toggleLink');
  const bulletPoints = document.getElementById('bulletPoints');
  const ArrowChange = document.getElementById('arrowUp');
  const ArrowChange1 = document.getElementById('arrowDown');
  
    // Event listener for the clickable link
    toggleLink.addEventListener('click', function() {
      if (bulletPoints.style.display === 'none' || bulletPoints.style.display === '') {
        bulletPoints.style.display = 'block';
        ArrowChange1.style.display = "none";
        ArrowChange.style.display = "inline-block";
      } else {
        bulletPoints.style.display = 'none';
        ArrowChange1.style.display = "inline-block";
        ArrowChange.style.display = "none";
      }
});
      const pricing = document.getElementById("DiffPrice");
      let aNumber = parseFloat(DiffVouch);
      let bNumber = parseFloat(DiffCash);
      let  diff = aNumber - bNumber;
      let formattedDifference = diff.toFixed(2);
      pricing.innerHTML = devisePound + formattedDifference + deviseOther;
  
  // data-testid="field-wrapper" css-7y48fw
  const RadioClick = document.querySelectorAll('[data-testid="field-wrapper"] .css-7y48fw');
  const Addtext1 = document.getElementById('Addtext1');
  RadioClick[0].addEventListener('click', function() {
      Addtext1.style.display = 'block';
   });
  
  RadioClick[1].addEventListener('click', function() {
        Addtext1.style.display = 'none';
  });
}
catch(e){}
 },'js-xCJFHMjoCTQflVwiBIUA': function (cdx) { try{
  const KlarnaCheck = document.querySelectorAll('[data-testid="radio-label-cash"]')[0].outerHTML;
  console.log("KlarnaCheck" + KlarnaCheck);
  if(KlarnaCheck.indexOf('Klarna') !== -1){
    console.log("KlarnaCheck : FALSE");
     return false;
  }
  else{
    console.log("KlarnaCheck : TRUE");
    return true;
  }
}
catch(e){}
 },'js-IQLSRvreWoKozvlrssRu': function (cdx) { try{
  const KlarnaCheck = document.querySelectorAll('[data-testid="radio-label-cash"]')[0].outerHTML;
  if(KlarnaCheck.indexOf('Klarna') !== -1){
     return false;
  }
  else{
    return true;
  }
}
catch(e){}
 },'js-mg84pyAHFXEt8TaY9mhD-1741787137': function (cdx) { try{
  console.log("AB test currently running on this page - If you have any issues, please contact the op team.");
  /*** A FAIRE ET CORRIGER ***/
  // DONE --- remove flickering effect 
  // DONE --- calcul différence
  // DONE --- Becky ask Jasien to fix it (26/02) --- Ajouter voucherFilled icon (Becky gère le problème)
  // DONE --- Corriger pb prix sans le zéro à la fin
  // DONE --- data-testid="outbound-totalPrice" Afficher le % pour le train retour si besoin.
  // DONE --- ajout texte selon langue
  // DONE --- Finir hyperlink dropdown
  // DONE --- RequestForm URL
  // DONE --- H2 different changer
  // DONE --- gérer les problèmes de device ($ £ €)
  // DONE --- Problème arrow, JS dropdown hyperlink
  // Done --- placer les devises EUro et dollar après le montant
  // DONE --- Cacher le block e-voucher en savoir plus
  // DONE --- cacher le message vert au dessus CTA si cash selected

  
  //check devise
  const checkDevise = document.querySelectorAll('[data-testid="radio-label-cash"] .css-nvzq3x')[0].outerHTML;
  let devise = "";
  let devisePound = "";
  let deviseOther = "";
  if (checkDevise.indexOf('£') !== -1){ devise ="£"; devisePound = "£";}
  if (checkDevise.indexOf('€') !== -1){ devise ="€"; deviseOther = "€"}
  if (checkDevise.indexOf('$') !== -1){ devise ="$"; deviseOther = "$"}
  
  // add text request form and price difference ?
  let formURL = document.querySelectorAll('.css-1o4h5u4');
  let FormURL1 = formURL[1].getAttribute('href');
  let paragraphs = document.querySelectorAll('.css-1x7nx75');
  for (let i = 0; i < paragraphs.length; i++) {
    //form
    if(i === 0){
      paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext0" class="css-1i03tdy ">Choisissez un type de dédommagement ci-dessous. Pour obtenir un remboursement par virement bancaire, remplissez notre <a href="' + FormURL1 + '" target="_blank" class="css-1o4h5u4">formulaire de dédommagement</a>.</span>');
    }
    // price difference
    if(i === 1){
    paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext1" class="css-1i03tdy"><span role="img" aria-label="ticketVoucher" aria-hidden="false" id="iconTicket2"></span>Vous recevrez <span id="DiffPrice"></span> en plus avec le ou les e-voucher(s)</p>');
    }
  }
  
  // Relocate compensation title
  const title = "Choisissez votre type de dédommagement";
  const url1 = document.querySelector('.css-1jojgja');
  let hrefValue = url1.getAttribute('href');
  let subComp = 'Les taux de dédommagement varient selon la durée du retard et le type de dédommagement choisi. Les e-vouchers Eurostar offrent un meilleur taux. <a href="' + hrefValue + '" target="_blank" class="css-1jojgja">En savoir plus sur ces taux<span class="css-72hrq4"></span></a><span role="img" aria-label="arrowRight" aria-hidden="false" class="arrowRight"></span> ';
  let CompMethod = document.createElement('div');
  CompMethod.classList.add('comp-div');
  CompMethod.innerHTML = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-6 css-1ocndf" style="margin:0;" ><h2 class="css-258s67">Choisissez votre type de dédommagement</h2></div><p class="css-6mi5sy">' + subComp + '</p>';
  let TextMethod = document.querySelector('.css-1ldgipl');
  let parentElement = TextMethod.parentNode;
  parentElement.insertBefore(CompMethod, TextMethod);
  
  /********************/
  /****** Voucher *****/
  /********************/
  // Option case redesign : data-testid="radio-label-voucher"
  const voucher = document.querySelectorAll('[data-testid="radio-label-voucher"]');
  
  // % discount
  const discount = document.querySelectorAll('[data-testid="radio-label-voucher"] b');
  let discountx = "";
  let discountReturn = "";

  for (let i = 0; i < discount.length; i++) {
    discountx = discount[0].innerHTML;
    if(i === 1){
      discountReturn = discount[1].innerHTML;
    }
  }
  
  // amount
  let voucher1 = voucher[0].outerHTML;
  let spanText = voucher1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];
  // Trouver la position du symbole £ et < dans la chaîne
  let startIdx = spanText.indexOf(devise) + 1 ;

  let Pamount = "";
  if(devise === "£"){
    let startIdx = spanText.indexOf(devise) + 1;
    Pamount = spanText.slice(startIdx);
  }
  else{
    let regex = /(\d+,\d{2})/;
    Pamount = spanText.match(regex)[0];
  }
  const DiffVouch = Pamount.replace(",", ".");
  Pamount = devisePound + Pamount + deviseOther;
  const section = document.querySelectorAll('.css-1lg81rq')[0].innerHTML;
  let subTitle = "";
  let score1 = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Taux appliqués :  <b>" + discountx + "</b> du montant du trajet aller";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Taux appliqués :  <b>" + discountx + "</b> du montant du trajet retour";
  }
  if(score1 === 2){ 
    subTitle = "<p class='subVoucher'>Taux appliqués :  <b>" + discountx + "</b> du montant du trajet aller + <b>" + discountReturn + "</b> du montant du trajet retour</p>";
  }
  let HigherValue = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-3 css-12tp7t4"><div  class="labelGreen"><span role="img" aria-label="ticketVoucher" aria-hidden="false" class="iconTicket"></span><p style="margin: 0;    font-family: &quot;ABC Social bold&quot;, Arial, &quot;sans-serif&quot;">Meilleur taux</p></div></div>'
  // Replace all 
  voucher[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-voucher"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Demander <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount + '</span> en e-vouchers Eurostar valables sur tout notre réseau</h3>' + subTitle + '</div></div>' + HigherValue + '</div>';
  
  /******************
  /****** CASH *****/
  /*****************/
  //option case redesign : data-testid="radio-label-cash"
  const cash = document.querySelectorAll('[data-testid="radio-label-cash"]');
  
  const discount1 = document.querySelectorAll('[data-testid="radio-label-cash"] b');
  let discountx1 = "";
  let discountx1Return = "";

  for (let i = 0; i < discount1.length; i++) {
    discountx1 = discount1[0].innerHTML;
    if(i === 1){
      discountx1Return = discount1[1].innerHTML;
    }
  }
  
  // faire un if pour les € ou $ pour le startindex
  let cash1 = cash[0].outerHTML;
  let spanText1 = cash1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];
  let startIdx1 = spanText1.indexOf(devise) + 1;
  let Pamount1 = "";
  if(devise === "£"){
    let startIdx = spanText.indexOf(devise) + 1;
    Pamount1 = spanText1.slice(startIdx1);
  }
  else{
    let regex1 = /(\d+,\d{2})/;
    Pamount1 = spanText1.match(regex1)[0];
  }
  const DiffCash = Pamount1.replace(",", ".");
  Pamount1 = devisePound + Pamount1 + deviseOther;
  let card = document.querySelector('div[data-testid="radio-label-cash"] h3').textContent;
  // Récupérer les 4 derniers caractères du texte
  let cardend = card.slice(-4);  
  
  let subTitleCash = "";
  let score = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Taux appliqués : <b>" + discountx1 + "</b> du montant du trajet aller";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Taux appliqués : <b>" + discountx1 + "<b> du montant du trajet retour";
  }
  if(score === 2){ 
    subTitleCash = "<p class='subVoucher'>Taux appliqués : <b>" + discountx1 + "</b> du montant du trajet aller + <b>" + discountx1Return + "</b> du montant du trajet retour</p>";
  }
  cash[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-cash"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Demander un remboursement partiel de <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount1 + '</span> sur votre carte bancaire terminant par ' + cardend + '</h3><div> ' + subTitleCash + ' </div></div></div></div>';

  // change text under radio btn
  const valid = document.querySelectorAll('.css-vf10xe');
  valid[0].outerHTML = '<p class="css-vf10xe">Les e-vouchers sont utilisables sur eurostar.com et valables sur l\'intégralité de notre réseau. Vous aurez 12 mois à compter de la date du retard pour effectuer une nouvelle réservation, mais votre trajet pourra avoir lieu après ce délai.</p><p class="css-vf10xe" id="toggleLink"><span class="clickable-link">Combien d\'e-vouchers allez-vous recevoir ?</span><span aria-hidden="true" id="arrowUp" style="display : none; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg);"></span><span aria-hidden="true" id="arrowDown" style=" display : inline-block; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg);"></span></p><ul id="bulletPoints" class="bullet-points" style="display:none;"><li class="css-vf10xe">1 e-voucher est émis par personne et par trajet retardé. Vous pouvez utiliser plusieurs e-vouchers lors d\'une nouvelle réservation (y compris pour les packages Train + Hôtel).</li>      <li class="css-vf10xe">Chaque e-voucher sera envoyé à l\'adresse e-mail de la personne telle qu\'indiquée lors de la réservation.</li>    </ul>';
  const toggleLink = document.getElementById('toggleLink');
  const bulletPoints = document.getElementById('bulletPoints');
  const ArrowChange = document.getElementById('arrowUp');
  const ArrowChange1 = document.getElementById('arrowDown');
  
    // Event listener for the clickable link
    toggleLink.addEventListener('click', function() {
      if (bulletPoints.style.display === 'none' || bulletPoints.style.display === '') {
        bulletPoints.style.display = 'block';
        ArrowChange1.style.display = "none";
        ArrowChange.style.display = "inline-block";
      } else {
        bulletPoints.style.display = 'none';
        ArrowChange1.style.display = "inline-block";
        ArrowChange.style.display = "none";
      }
});
      const pricing = document.getElementById("DiffPrice");
      let aNumber = parseFloat(DiffVouch);
      let bNumber = parseFloat(DiffCash);
      let  diff = aNumber - bNumber;
      let formattedDifference = diff.toFixed(2);
      pricing.innerHTML = devisePound + formattedDifference + deviseOther;
  
  // data-testid="field-wrapper" css-7y48fw
  const RadioClick = document.querySelectorAll('[data-testid="field-wrapper"] .css-7y48fw');
  const Addtext1 = document.getElementById('Addtext1');
  RadioClick[0].addEventListener('click', function() {
      Addtext1.style.display = 'block';
   });
  
  RadioClick[1].addEventListener('click', function() {
        Addtext1.style.display = 'none';
  });
}
catch(e){}
 },'js-nKBPOlIgHXqGDMlRHBEH': function (cdx) { try{
  const KlarnaCheck = document.querySelectorAll('[data-testid="radio-label-cash"]')[0].outerHTML;
  if(KlarnaCheck.indexOf('Klarna') !== -1){
     return false;
  }
  else{
    return true;
  }
}
catch(e){}
 },'js-Z4iNHZTZy75myNwbbg6s-1741784714': function (cdx) { try{
  console.log("AB test currently running on this page - If you have any issues, please contact the op team.");
  /*** A FAIRE ET CORRIGER ***/
  // DONE --- remove flickering effect 
  // DONE --- calcul différence
  // DONE --- Becky ask Jasien to fix it (26/02) --- Ajouter voucherFilled icon (Becky gère le problème)
  // DONE --- Corriger pb prix sans le zéro à la fin
  // DONE --- data-testid="outbound-totalPrice" Afficher le % pour le train retour si besoin.
  // DONE --- ajout texte selon langue
  // DONE --- Finir hyperlink dropdown
  // DONE --- RequestForm URL
  // DONE --- H2 different changer
  // DONE --- gérer les problèmes de device ($ £ €)
  // DONE --- Problème arrow, JS dropdown hyperlink
  // Done --- placer les devises EUro et dollar après le montant
  // DONE --- Cacher le block e-voucher en savoir plus
  // DONE --- cacher le message vert au dessus CTA si cash selected

  
  //check devise
  const checkDevise = document.querySelectorAll('[data-testid="radio-label-cash"] .css-nvzq3x')[0].outerHTML;
  let devise = "";
  let devisePound = "";
  let deviseOther = "";
  if (checkDevise.indexOf('£') !== -1){ devise ="£"; devisePound = "£";}
  if (checkDevise.indexOf('€') !== -1){ devise ="€"; devisePound = "€"}
  if (checkDevise.indexOf('$') !== -1){ devise ="$"; deviseOther = "$"}
  
  // add text request form and price difference ?
  let formURL = document.querySelectorAll('.css-1o4h5u4');
  let FormURL1 = formURL[1].getAttribute('href');
  let paragraphs = document.querySelectorAll('.css-1x7nx75');
  for (let i = 0; i < paragraphs.length; i++) {
    //form
    if(i === 0){
      paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext0" class="css-1i03tdy ">Kies hieronder een online compensatievorm. Je kan ook ons <a href="' + FormURL1 + '" target="_blank" class="css-1o4h5u4">aanvraagformulier</a> gebruiken voor compensatie via bankoverschrijving.</span>');
    }
    // price difference
    if(i === 1){
    paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext1" class="css-1i03tdy"><span role="img" aria-label="ticketVoucher" aria-hidden="false" id="iconTicket2"></span>Met de e-voucher(s) ontvang je <span id="DiffPrice"></span> meer</p>');
    }
  }
  
  // Relocate compensation title
  const title = "Kies je vorm van compensatie:";
  const url1 = document.querySelector('.css-1jojgja');
  let hrefValue = url1.getAttribute('href');
  let subComp = 'De toegepaste tarieven variëren naargelang de duur van de vertraging en de gekozen compensatievorm. Eurostar e-vouchers bieden een hogere waarde. <a href="' + hrefValue + '" target="_blank" class="css-1jojgja">Meer info over toegepaste tarieven<span class="css-72hrq4"></span></a><span role="img" aria-label="arrowRight" aria-hidden="false" class="arrowRight"></span> ';
  let CompMethod = document.createElement('div');
  CompMethod.classList.add('comp-div');
  CompMethod.innerHTML = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-6 css-1ocndf" style="margin:0;" ><h2 class="css-258s67">Kies je vorm van compensatie:</h2></div><p class="css-6mi5sy">' + subComp + '</p>';
  let TextMethod = document.querySelector('.css-1ldgipl');
  let parentElement = TextMethod.parentNode;
  parentElement.insertBefore(CompMethod, TextMethod);
  
  /********************/
  /****** Voucher *****/
  /********************/
  // Option case redesign : data-testid="radio-label-voucher"
  const voucher = document.querySelectorAll('[data-testid="radio-label-voucher"]');
  
  // % discount
  const discount = document.querySelectorAll('[data-testid="radio-label-voucher"] b');
  let discountx = "";
  let discountReturn = "";

  for (let i = 0; i < discount.length; i++) {
    discountx = discount[0].innerHTML;
    if(i === 1){
      discountReturn = discount[1].innerHTML;
    }
  }
  
  // amount
  let voucher1 = voucher[0].outerHTML;
  let spanText = voucher1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];

  // Trouver la position du symbole £ et < dans la chaîne
  let startIdx = spanText.indexOf(devise) + 1 ;
  let Pamount = "";
  if(devise === "£"){
    let startIdx = spanText.indexOf(devise) + 1;
    Pamount = spanText.slice(startIdx);
  }
  else{
    let regex = /(\d+,\d{2})/;
    Pamount = spanText.match(regex)[0];
  }
  const DiffVouch = Pamount.replace(",", ".");
  Pamount = devisePound + Pamount + deviseOther;
  const section = document.querySelectorAll('.css-1lg81rq')[0].innerHTML;
  let subTitle = "";
  let score1 = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx + "</b> heenreis.";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx + "</b> terugreis.";
  }
  if(score1 === 2){ 
    subTitle = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx + "</b> heenreis  + <b>" + discountReturn + "</b> terugreis.</p>";
  }
  let HigherValue = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-3 css-12tp7t4"><div  class="labelGreen"><span role="img" aria-label="ticketVoucher" aria-hidden="false" class="iconTicket"></span><p style="margin: 0;    font-family: &quot;ABC Social bold&quot;, Arial, &quot;sans-serif&quot;">Hogere waarde</p></div></div>'
  // Replace all 
  voucher[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-voucher"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Ontvang <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount + '</span> in Eurostar e-voucher(s), geldig op al onze routes</h3>' + subTitle + '</div></div>' + HigherValue + '</div>';
  
  /******************
  /****** CASH *****/
  /*****************/
  //option case redesign : data-testid="radio-label-cash"
  const cash = document.querySelectorAll('[data-testid="radio-label-cash"]');
  
  const discount1 = document.querySelectorAll('[data-testid="radio-label-cash"] b');
  let discountx1 = "";
  let discount1Return = "";

  for (let i = 0; i < discount1.length; i++) {
    discountx1 = discount1[0].innerHTML;
    if(i === 1){
      discount1Return = discount1[1].innerHTML;
    }
  }
  
  // faire un if pour les € ou $ pour le startindex
  let cash1 = cash[0].outerHTML;
  let spanText1 = cash1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];
  let startIdx1 = spanText1.indexOf(devise) + 1;
  let Pamount1 = "";
  if(devise === "£"){
    let startIdx1 = spanText1.indexOf(devise) + 1;
    Pamount1 = spanText1.slice(startIdx1);
  }
  else{
    let regex1 = /(\d+,\d{2})/;
    Pamount1 = spanText1.match(regex1)[0];
  }
  const DiffCash = Pamount1.replace(",", ".");
  Pamount1 = devisePound + Pamount1 + deviseOther;
  let card = document.querySelector('div[data-testid="radio-label-cash"] h3').textContent;
  // Récupérer les 4 derniers caractères du texte
  let cardend = card.slice(-4);  
  
  let subTitleCash = "";
  let score = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx1 + "</b> heenreis.";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx1 + "</b> terugreis.";
  }
  if(score === 2){ 
    subTitleCash = "<p class='subVoucher'>Toegepaste tariefberekening : <b>" + discountx1 + "</b> heenreis + <b>" + discount1Return + "</b> terugreis.</p>";
  }
  cash[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-cash"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Ontvang  <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount1 + '</span> als een gedeeltelijke terugbetaling van ' + cardend + '</h3><div> ' + subTitleCash + ' </div></div></div></div>';
  //<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-cash"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Get <span style="font-weight:bold; font-size: 1.325rem; ">' + Pamount1 + '</span> as a partial refund to your card ending ' + cardend + '</h3><div> ' + subTitleCash + ' </div></div></div></div>

  // change text under radio btn
  const valid = document.querySelectorAll('.css-vf10xe');
  valid[0].outerHTML = '<p class="css-vf10xe">E-vouchers zijn geldig op eurostar.com op al onze routes gedurende 12 maanden vanaf de datum van je vertraging. Je moet je reis binnen deze periode boeken, maar je reisdatum kan ook later vallen.</p><p class="css-vf10xe"  id="toggleLink"><span class="clickable-link">Hoeveel e-vouchers krijg je?</span><span aria-hidden="true" id="arrowUp" style="display : none; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg);"></span><span aria-hidden="true" id="arrowDown" style=" display : inline-block; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg);"></span></p><ul id="bulletPoints" class="bullet-points" style="display:none;"><li class="css-vf10xe">Er wordt 1 e-voucher uitgegeven per reiziger, per vertraagde reis. Je kan meerdere e-vouchers gebruiken voor een nieuwe boeking (ook voor Trein + Hotelpaketten).</li>      <li class="css-vf10xe">Elke e-voucher wordt verstuurd naar het e-mailadres dat de reiziger heeft opgegeven bij het boeken.</li>    </ul>';
  const toggleLink = document.getElementById('toggleLink');
  const bulletPoints = document.getElementById('bulletPoints');
  const ArrowChange = document.getElementById('arrowUp');
  const ArrowChange1 = document.getElementById('arrowDown');
  
    // Event listener for the clickable link
    toggleLink.addEventListener('click', function() {
      if (bulletPoints.style.display === 'none' || bulletPoints.style.display === '') {
        bulletPoints.style.display = 'block';
        ArrowChange1.style.display = "none";
        ArrowChange.style.display = "inline-block";
      } else {
        bulletPoints.style.display = 'none';
        ArrowChange1.style.display = "inline-block";
        ArrowChange.style.display = "none";
      }
});
      const pricing = document.getElementById("DiffPrice");
      let aNumber = parseFloat(DiffVouch);
      let bNumber = parseFloat(DiffCash);
      let  diff = aNumber - bNumber;
      let formattedDifference = diff.toFixed(2);
      pricing.innerHTML = devisePound + formattedDifference + deviseOther;
  
  // data-testid="field-wrapper" css-7y48fw
  const RadioClick = document.querySelectorAll('[data-testid="field-wrapper"] .css-7y48fw');
  const Addtext1 = document.getElementById('Addtext1');
  RadioClick[0].addEventListener('click', function() {
      Addtext1.style.display = 'block';
   });
  
  RadioClick[1].addEventListener('click', function() {
        Addtext1.style.display = 'none';
  });
}
catch(e){}
 },'js-gyUQFwZjUiaEvpALgzMe': function (cdx) { try{
  const KlarnaCheck = document.querySelectorAll('[data-testid="radio-label-cash"]')[0].outerHTML;
  if(KlarnaCheck.indexOf('Klarna') !== -1){
     return false;
  }
  else{
    return true;
  }
}
catch(e){}
 },'js-CV6AQpuqq6btWrbenfAv-1741785011': function (cdx) { try{
  console.log("AB test currently running on this page - If you have any issues, please contact the op team.");
  /*** A FAIRE ET CORRIGER ***/
  // DONE --- remove flickering effect 
  // DONE --- calcul différence
  // DONE --- Becky ask Jasien to fix it (26/02) --- Ajouter voucherFilled icon (Becky gère le problème)
  // DONE --- Corriger pb prix sans le zéro à la fin
  // DONE --- data-testid="outbound-totalPrice" Afficher le % pour le train retour si besoin.
  // DONE --- ajout texte selon langue
  // DONE --- Finir hyperlink dropdown
  // DONE --- RequestForm URL
  // DONE --- H2 different changer
  // DONE --- gérer les problèmes de device ($ £ €)
  // DONE --- Problème arrow, JS dropdown hyperlink
  // Done --- placer les devises EUro et dollar après le montant
  // DONE --- Cacher le block e-voucher en savoir plus
  // DONE --- cacher le message vert au dessus CTA si cash selected

  
  //check devise
  const checkDevise = document.querySelectorAll('[data-testid="radio-label-cash"] .css-nvzq3x')[0].outerHTML;
  let devise = "";
  let devisePound = "";
  let deviseOther = "";
  if (checkDevise.indexOf('£') !== -1){ devise ="£"; devisePound = "£";}
  if (checkDevise.indexOf('€') !== -1){ devise ="€"; deviseOther = "€"}
  if (checkDevise.indexOf('$') !== -1){ devise ="$"; deviseOther = "$"}
  
  // add text request form and price difference ?
  let formURL = document.querySelectorAll('.css-1o4h5u4');
  let FormURL1 = formURL[1].getAttribute('href');
  let paragraphs = document.querySelectorAll('.css-1x7nx75');
  for (let i = 0; i < paragraphs.length; i++) {
    //form
    if(i === 0){
      paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext0" class="css-1i03tdy ">Wählen Sie bitte eine Online-Entschädigungsform (unten) aus. Füllen Sie einfach unser <a href="' + FormURL1 + '" target="_blank" class="css-1o4h5u4">Formular aus</a>, wenn Ihre Entschädigung per Banküberweisung eingehen soll.</span>');
    }
    // price difference
    if(i === 1){
    paragraphs[i].insertAdjacentHTML('afterend', '<p id="Addtext1" class="css-1i03tdy"><span role="img" aria-label="ticketVoucher" aria-hidden="false" id="iconTicket2"></span>Mit e-Voucher erhalten Sie <span id="DiffPrice"></span> mehr als Entschädigung</p>');
    }
  }
  
  // Relocate compensation title
  const title = "Wählen Sie eine Entschädigungsform";
  const url1 = document.querySelector('.css-1jojgja');
  let hrefValue = url1.getAttribute('href');
  let subComp = 'Die Entschädigungssätze richten sich nach der Dauer der Verspätung und der gewählten Entschädigungform. Merke: e-Voucher von Eurostar besitzen einen höheren Entschädigungswert. <a href="' + hrefValue + '" target="_blank" class="css-1jojgja">Mehr Infos zu den Entschädigungssätzen<span class="css-72hrq4"></span></a><span role="img" aria-label="arrowRight" aria-hidden="false" class="arrowRight"></span> ';
  let CompMethod = document.createElement('div');
  CompMethod.classList.add('comp-div');
  CompMethod.innerHTML = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-6 css-1ocndf" style="margin:0;" ><h2 class="css-258s67">Wählen Sie eine Entschädigungsform</h2></div><p class="css-6mi5sy">' + subComp + '</p>';
  let TextMethod = document.querySelector('.css-1ldgipl');
  let parentElement = TextMethod.parentNode;
  parentElement.insertBefore(CompMethod, TextMethod);
  
  /********************/
  /****** Voucher *****/
  /********************/
  // Option case redesign : data-testid="radio-label-voucher"
  const voucher = document.querySelectorAll('[data-testid="radio-label-voucher"]');
  
  // % discount
  const discount = document.querySelectorAll('[data-testid="radio-label-voucher"] b');
  let discountx = "";
  let discountReturn = "";

  for (let i = 0; i < discount.length; i++) {
    discountx = discount[0].innerHTML;
    if(i === 1){
      discountReturn = discount[1].innerHTML;
    }
  }
  
  // amount
  let voucher1 = voucher[0].outerHTML;
  let spanText = voucher1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];

  // Trouver la position du symbole £ et < dans la chaîne
  let startIdx = spanText.indexOf(devise) + 1 ;
  let Pamount = "";
  if(devise === "£"){
    let startIdx = spanText.indexOf(devise) + 1;
    Pamount = spanText.slice(startIdx);
  }
  else{
    let regex = /(\d+,\d{2})/;
    Pamount = spanText.match(regex)[0];
  }
  const DiffVouch = Pamount.replace(",", ".");
  Pamount = devisePound + Pamount + deviseOther;
  const section = document.querySelectorAll('.css-1lg81rq')[0].innerHTML;
  let subTitle = "";
  let score1 = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx + "</b> der Hinreise.";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score1 = score1 + 1;
    subTitle = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx + "</b> der Rückreise.";
  }
  if(score1 === 2){ 
    subTitle = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx + "</b> der Hinreise + <b>" + discountReturn + "</b> der Rückreise.</p>";
  }
  let HigherValue = '<div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-3 css-12tp7t4"><div  class="labelGreen"><span role="img" aria-label="ticketVoucher" aria-hidden="false" class="iconTicket"></span><p style="margin: 0;    font-family: &quot;ABC Social bold&quot;, Arial, &quot;sans-serif&quot;">Höherer Wert</p></div></div>'
  // Replace all 
  voucher[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-voucher"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Sie erhalten <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount + '</span> in Form von Eurostar e-Voucher, die Sie in Tickets für unser gesamtes Streckennetz einlösen können.</h3>' + subTitle + '</div></div>' + HigherValue + '</div>';
  
  /******************
  /****** CASH *****/
  /*****************/
  //option case redesign : data-testid="radio-label-cash"
  const cash = document.querySelectorAll('[data-testid="radio-label-cash"]');
  
  const discount1 = document.querySelectorAll('[data-testid="radio-label-cash"] b');
  let discountx1 = "";
  let discount1Return = "";

  for (let i = 0; i < discount1.length; i++) {
    discountx1 = discount1[0].innerHTML;
    if(i === 1){
      discount1Return = discount1[1].innerHTML;
    }
  }
  
  // faire un if pour les € ou $ pour le startindex
  let cash1 = cash[0].outerHTML;
  let spanText1 = cash1.split('<span class="css-nvzq3x">')[1].split('</span>')[0];
  let startIdx1 = spanText1.indexOf(devise) + 1;
  let Pamount1 = "";
  if(devise === "£"){
    let startIdx1 = spanText1.indexOf(devise) + 1;
    Pamount1 = spanText1.slice(startIdx1);
  }
  else{
    let regex1 = /(\d+,\d{2})/;
    Pamount1 = spanText1.match(regex1)[0];
  }
  const DiffCash = Pamount1.replace(",", ".");
  Pamount1 = devisePound + Pamount1 + deviseOther;
  let card = document.querySelector('div[data-testid="radio-label-cash"] h3').textContent;
  // Récupérer les 4 derniers caractères du texte
  let cardend = card.slice(-4);  
  
  let subTitleCash = "";
  let score = 0;
  if(section.indexOf('outbound-totalPrice') !== -1){
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx1 + "</b> der Hinreise.";
  }
  if(section.indexOf('return-totalPrice') !== -1){ 
    score = score + 1;
    subTitleCash = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx1 + "</b> der Rückreise.";
  }
  if(score === 2){ 
    subTitleCash = "<p class='subVoucher'>Geltender Entschädigungssatz: <b>" + discountx1 + "</b> der Hinreise + <b>" + discount1Return + "</b> der Rückreise.</p>";
  }
  cash[0].outerHTML = '<div class="MuiGrid2-root MuiGrid2-container MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 css-1p9mypi" data-testid="radio-label-cash"><div class="MuiGrid2-root MuiGrid2-direction-xs-row MuiGrid2-grid-xs-12 MuiGrid2-grid-lg-9 css-1nffmfd"><div><h3 class="css-ffct8g">Sie können <span class="price" style="font-weight:bold; font-size: 1.325rem; ">' + Pamount1 + '</span> als Teilentschädigung bei ' + cardend + ' anfragen.</h3><div> ' + subTitleCash + ' </div></div></div></div>';

  // change text under radio btn
  const valid = document.querySelectorAll('.css-vf10xe');
  valid[0].outerHTML = '<p class="css-vf10xe">E-Voucher sind auf eurostar.com für unser gesamtes Streckennetz ab dem ursprünglichen Reisedatum 12 Monate lang gültig. Sie müssen Ihre Reise daher binnen dieses Zeitraums buchen. Ihr Reisedatum darf aber gerne auch nach diesem Zeitraum fallen.</p><p class="css-vf10xe" id="toggleLink"><span class="clickable-link">Wie viele e-Voucher erhalten Sie?</span><span aria-hidden="true" id="arrowUp" style="display : none; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronUp.svg);"></span><span aria-hidden="true" id="arrowDown" style=" display : inline-block; mask-image:url(https://static.eurostar.com/ui/design-system/icons/chevronDown.svg);"></span></p><ul id="bulletPoints" class="bullet-points" style="display:none;"><li class="css-vf10xe">1 x e-Voucher per Reisender/Reisendem, per verspäteter Zugreise. Bei einer neuen Buchung dürfen Sie gerne mehrere e-Voucher einlösen (auch für Buchungen von Zug und Hotel-Packages).</li>      <li class="css-vf10xe">Jeder e-Voucher wird an die E-Mail-Adresse der/des Reisenden gesendet, die bei der Buchung angegeben wurde.</li>    </ul>';
  const toggleLink = document.getElementById('toggleLink');
  const bulletPoints = document.getElementById('bulletPoints');
  const ArrowChange = document.getElementById('arrowUp');
  const ArrowChange1 = document.getElementById('arrowDown');
  
    // Event listener for the clickable link
    toggleLink.addEventListener('click', function() {
      if (bulletPoints.style.display === 'none' || bulletPoints.style.display === '') {
        bulletPoints.style.display = 'block';
        ArrowChange1.style.display = "none";
        ArrowChange.style.display = "inline-block";
      } else {
        bulletPoints.style.display = 'none';
        ArrowChange1.style.display = "inline-block";
        ArrowChange.style.display = "none";
      }
});
      const pricing = document.getElementById("DiffPrice");
      let aNumber = parseFloat(DiffVouch);
      let bNumber = parseFloat(DiffCash);
      let  diff = aNumber - bNumber;
      let formattedDifference = diff.toFixed(2);
      pricing.innerHTML = devisePound + formattedDifference + deviseOther;
  
  // data-testid="field-wrapper" css-7y48fw
  const RadioClick = document.querySelectorAll('[data-testid="field-wrapper"] .css-7y48fw');
  const Addtext1 = document.getElementById('Addtext1');
  RadioClick[0].addEventListener('click', function() {
      Addtext1.style.display = 'block';
   });
  
  RadioClick[1].addEventListener('click', function() {
        Addtext1.style.display = 'none';
  });
}
catch(e){}
 } }; var _wa_js = {  }; if (!Array.isArray) {Array.isArray = function(arg) {return Object.prototype.toString.call(arg) === '[object Array]'}};
if (!String.prototype.trim) {String.prototype.trim = function () {return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '')}};
if (!String.prototype.startsWith) {String.prototype.startsWith = function(s) {return this.indexOf(s) == 0}}
if (!Array.prototype.filter) {Array.prototype.filter = function(fn) { res = []; for (var i = 0; i < this.length; i++) { v = this[i]; if ( fn(v) ) { res.push(v); }} return res; }}
if (!Array.prototype.map) {Array.prototype.map = function(fn) { res = []; for (var i = 0; i < this.length; i++) { v = this[i]; res.push(fn(v)); } return res; }}
if (!Object.keys) {Object.keys = function(o) { var ar = []; for (var k in o) {ar.push(k)}; return ar; }}
if (!Object.assign) {Object.assign = function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var f in a)r[f]=a[f]}return r};}
if (!Array.prototype.includes) {Array.prototype.includes = function(v) {return this.indexOf(v) >= 0}}  var require = undefined; var define = undefined; require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"./modules/api-steps":[function(require,module,exports){
(function(){var t,e=function(t,e){function s(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(conf){this.conf=conf}return e(o,t),o.prototype.process=function(t,e){var o,s,n,r,i,l,u,p,c,m,a;if((a=null!=(i=null!=(l=t.steps)?l:e.r.steps)?i:[]).length>0){for(null==t.items&&(t.items=[]),null==t._items&&(t._items=t.items.concat()),s={module:"group",items:[]},n=0,r=a.length;r>n;n++)m=a[n],s.items.push({module:"step-set",step:m}),null!=(o=t.diags[null!=(u=null!=(p=m.a)?p:m.g)?u:m.t])&&s.items.push(o);0,"pre"!==(null!=(c=t._items[0])?c.group:void 0)&&e.log("No prelude!","e"),t.items=t._items.concat(),t.items.splice(1,0,s)}},o}(t)}).call(this);
},{"../diagrams":17}],"./modules/condition":[function(require,module,exports){
(function(){var r,t=function(r,t){function n(){this.constructor=r}for(var e in t)o.call(t,e)&&(r[e]=t[e]);return n.prototype=t.prototype,r.prototype=new n,r.__super__=t.prototype,r},o={}.hasOwnProperty;r=require("../diagrams").M,exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}return t(o,r),o}(r)}).call(this);
},{"../diagrams":17}],"./modules/decision":[function(require,module,exports){
(function(){var n,t=function(n,t){function e(){this.constructor=n}for(var o in t)r.call(t,o)&&(n[o]=t[o]);return e.prototype=t.prototype,n.prototype=new e,n.__super__=t.prototype,n},r={}.hasOwnProperty;n=require("../diagrams").M,exports.m=function(n){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,n),r.prototype.active=function(n,t){var r;return t.qa()&&t.selsOnly()&&!t.selPre(n.agent)?(t.log("Skipping agent '"+n.agent+"' during preview","q"),!1):!(n.qa&&(r=t.qa(),t.log("QA-only agent '"+n.agent+"' (QA visitor? "+r+")","q"),!r))},r.prototype.getConds=function(n,t){if(t.selPre(n.agent)){if(!t.enfVcPre())return t.log("Skipping entry conditions for '"+n.agent+"'","q"),[];t.log("Enforcing entry conditions during preview for '"+n.agent+"'","q")}return n.conds},r}(n)}).call(this);
},{"../diagrams":17}],"./modules/entry":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var e in r)o.call(r,e)&&(t[e]=r[e]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return r(o,t),o.prototype.active=function(t,r){return r.data["d.ep"]===t.entry},o}(t)}).call(this);
},{"../diagrams":17}],"./modules/feature-set":[function(require,module,exports){
(function(){var t,r=function(t,r){function e(){this.constructor=t}for(var n in r)o.call(r,n)&&(t[n]=r[n]);return e.prototype=r.prototype,t.prototype=new e,t.__super__=r.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return r(o,t),o.prototype.process=function(t,r){r.tAdd(t.feature,t.def?"def":"set")},o}(t)}).call(this);
},{"../diagrams":17}],"./modules/features-profile":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":17,"dup":"./modules/condition"}],"./modules/group":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":17,"dup":"./modules/condition"}],"./modules/reward":[function(require,module,exports){
(function(){var e,o,t,r=function(e,o){function t(){this.constructor=e}for(var r in o)n.call(o,r)&&(e[r]=o[r]);return t.prototype=o.prototype,e.prototype=new t,e.__super__=o.prototype,e},n={}.hasOwnProperty;e=require("../diagrams").M,t=require("../../../utils"),o=require("../../../rewards"),exports.m=function(e){function n(conf){this.conf=conf,this.rewarder=new o.Rewarder(this.conf),n.__super__.constructor.call(this,this.conf)}return r(n,e),n.prototype.process=function(e,o){var r,n,s,a,l,i,u,c,d,g,p,f,v;if(null==o.sess)throw"No session";if(o.reread(),f=null!=(l=o.step)?l:{},v={goal:e.goal,value:function(){switch(!1){case!(f.g===e.goal&&"number"==typeof f.v):return f.v;default:return parseFloat(e.value)}}(),vc:null!=(i=f.vc)?i:e.vc,agents:null!=(u=e.to)?u:f.to},!0===e.er)return this.sendViaRest(e,o,v);for(a={countMax:e.countMax,valueMin:e.valueMin,valueMax:e.valueMax,valueDef:e.valueDef,rw:e.rw,ps_ok:e.ps_ok,forex:e.forex},0===(g=this.rewarder.handleStep(o,v,a)).items.length&&o.log("No agents to reward for "+e.goal,"g"),p={g:e.goal,rs:[]},r=0,s=(c=g.items).length;s>r;r++)null!=(n=c[r])&&(o.log("Reward of "+v.value+" ("+n.v+" accepted) to agent "+n.a+" for goal "+n.g,"g"),n=t.Obj.extend({},n,{t:"r",rts:o.ts(),c:function(){switch(!1){case!Array.isArray(n.c):return n.c.join(",");default:return n.c}}(),s:void 0}),!0===this.conf["sqs:use-ddid"]&&(n.ddid=n.a+":"+n.g+":"+(null!=(d=n.ri)?d:0)),o.done(n),p.rs.push({a:n.a.split(":")[1],v:n.v}));return o.resp(p)},n.prototype.sendViaRest=function(e,o,r){var n,s,a,l,i,u,c;return n={g:r.goal,v:r.value,to:r.agents},a=o.qa()?"q":"p",(i=null!=(l=_d.rt.use_rest)?l[a]:void 0)?(u=o.data["v.sid"],t.Strings.isId(u)?(o.log("Sending Goal '"+r.goal+"' to REST API","g"),c=i+"&session="+encodeURIComponent(u),(s=null!=s?s:require("harness")).beacon(c,JSON.stringify({commands:[n]}))):void o.log("Could not send Goal '"+r.goal+"' to REST API (no Session ID)","e")):void o.log("Could not send Goal '"+r.goal+"' to REST API (no endpoint)","e")},n}(e)}).call(this);
},{"../../../rewards":9,"../../../utils":23,"../diagrams":17,"harness":"harness"}],"./modules/root":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":17,"dup":"./modules/condition"}],"./modules/select":[function(require,module,exports){
(function(){var n,e,t=function(n,e){function t(){this.constructor=n}for(var a in e)c.call(e,a)&&(n[a]=e[a]);return t.prototype=e.prototype,n.prototype=new t,n.__super__=e.prototype,n},c={}.hasOwnProperty;n=require("../diagrams").M,require("../../../utils"),e=require("../../../selection"),exports.m=function(n){function c(n){this.conf=n,this.chooser=new e.Chooser(this.conf),c.__super__.constructor.call(this,this.conf)}return t(c,n),c.prototype.process=function(n,e){var t,c,conf,a,r,s,o,l,i,u,p,d,f,_,g,h,m,y,v,x,b,w,A,k,O,j,q,C,E,N,P,S,D,J,M,U;if(conf=this.conf,null==e.sess)throw"No session for dec";if(E=e.data,N=null!=(m=e.step)?m:{},c=null!=(y="undefined"!=typeof _d&&null!==_d?_d.A[n.agent]:void 0)?y:{a:{c:{}},md:{}},r=function(n){var e;return n===S.a?e=c.aac:_d.A[n]&&(e=_d.A[n].aac),null!=e?e:n},!0!==N.discard||N.a!==n.agent)if(S={a:n.agent,c:function(){switch(!1){case!(N.a===n.agent&&null!=N.c):return N.c;default:return n.choices}}(),x:null!=(v=N.x)?v:[],p:n.policy,exr:n.exr,gdy:n.gdy,n:function(){var e,t;switch(typeof n.num){case"number":return null!=(e=null!=(t=N.n)?t:n.num)?e:1;default:return}}(),w:c.w},null!=(P=c.a.s)){if("running"!==P&&(S.p="p"),q=this.chooser.handleStep(e,S),J="p"===(h=null!=(x=null!=(b=n.s)?b:N.s)?x:q.ps),M="ok"===h,q.s=J&&"ok"!==q.ps?"p":"ok",p=!J,u=M&&"p"===q.ps,d=n.silent||N.silent,j=null!=(w=q.pp)?w:q.p,"p"===n.rap&&(j=q.p=n.rap),q.dp=e.pool(),e.selAdd(q),u?e.log("Confirming selection '"+q.c+"' for agent '"+n.agent+"'","a"):(e.log("selection '"+q.c+"' for agent '"+n.agent+"' (policy "+q.p+", traits ["+q.fs+"])","a"),"p"===q.s&&e.log("selection for '"+n.agent+"' is pending","a")),(!J&&"p"!==(A=q.p)&&"b"!==A&&"s"!==A&&"x"!==A||u)&&e.done({t:"d",a:S.a,c:Array.isArray(q.c)?q.c.join(","):q.c,p:j,fs:q.fs,dts:q.ts}),"api"===E["d.ep"]&&(d||e.resp({a:S.a,c:q.c,p:q.p,md:Array.isArray(q.c)?function(){var n;return n={},q.c.forEach(function(e){return n[e]=Object.assign({},c.md[e])}),n}():Object.assign({},c.md[q.c]),s:q.s})),(U=conf["dl:names"])&&(g=e.c_name(S.a,q.c)),s=r(S.a),p&&null!=e.handlers){for(f in C={},k=E["v.sels"])D=k[f],C[o=f===S.a?s:r(f)]={c:D.c,p:D.p},U&&(t=e.c_name(f,D.c),Object.assign(C[o],{a_name:t.a,c_name:t.c}));for(i=0,_=(O=e.handlers).length;_>i;i++){l=O[i];try{l(C,S.a)}catch(n){a=n,e.log("Could not call post-selection handler: "+a,"e")}}}!function(){var n,t,c,a,r,o,l,i,u,f;p&&(t=e.r._dl,a=conf["dl:ev-style"],o=t.enabled()&&"none"!==a,l=conf["dl:cdl"],(o||l)&&((r=conf["dl:px"]).length>0&&r.indexOf(j)>=0||d&&(u=null!=t._rm?t._rm:t._rm={})[i="s:"+S.a+":"+q.c+":"+j]||d&&conf["dl:slx"]||(f=function(){var n;return n={item:{t:"s",a:s,c:q.c,p:j},ep:E["d.ep"]},U&&Object.assign(n.item,{a_name:g.a,c_name:g.c}),n},n=function(){var n,e,t,c;switch(a){case"ga4":n={event:"experience_impression",exp_variant_string:"conductrics-"+s+"-"+q.c,conductrics_agent_code:s,conductrics_variation_code:q.c,conductrics_selection_policy:j},U&&(n.conductrics_agent_name=g.a,n.conductrics_variation_name=g.c);break;case"cust":e=null!=(t=conf["dl:ev-cust"])?t:"",c={agent_code:s,variation_code:q.c,policy_code:j,agent_name:U?g.a:s,variation_name:U?g.c:q.c},Object.keys(c).forEach(function(n){var t;return e=e.replaceAll("${"+n+"}",null!=(t=c[n])?t:"")}),n=function(){try{return JSON.parse(e)}catch(n){}}();break;default:n=f()}return n},o&&(c="ga4"===a||"cust"===a?null:conf["dl:key-sl"],e.log("Pushing selection '"+q.c+"' into data layer for Agent '"+S.a+"' (policy "+j+")","a"),t.push(c,n())),l&&e.cdl_push(f()),d&&(u[i]=!0))))}()}else e.log("Unknown agent '"+n.agent+"' or status '"+P+"'","a");else e.selDel(n.agent)},c}(n)}).call(this);
},{"../../../selection":10,"../../../utils":23,"../diagrams":17}],"./modules/step-set":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var e in r)o.call(r,e)&&(t[e]=r[e]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return r(o,t),o.prototype.process=function(t,r){r.stepSet(t.step)},o}(t)}).call(this);
},{"../diagrams":17}],"./modules/switch":[function(require,module,exports){
(function(){var t,o,r,n={}.hasOwnProperty;o=(r=require("../diagrams")).M,t=r.Conds,exports.m=function(o){function r(){return r.__super__.constructor.apply(this,arguments)}return function(t,o){function r(){this.constructor=t}for(var e in o)n.call(o,e)&&(t[e]=o[e]);r.prototype=o.prototype,t.prototype=new r,t.__super__=o.prototype}(r,o),r.prototype.process=function(o,r){var n,e,s,i;for(o.items=[],e=0,s=(i=o.cases).length;s>e;e++)if(n=i[e],t.evalConds(n.conds,r))return void(o.items=n.items)},r}(o)}).call(this);
},{"../diagrams":17}],"./modules/trait-read":[function(require,module,exports){
(function(){var r,t,e=function(r,t){function e(){this.constructor=r}for(var o in t)n.call(t,o)&&(r[o]=t[o]);return e.prototype=t.prototype,r.prototype=new e,r.__super__=t.prototype,r},n={}.hasOwnProperty,o=[].indexOf||function(r){for(var t=0,e=this.length;e>t;t++)if(t in this&&this[t]===r)return t;return-1};r=require("../diagrams").M,t=require("../../../utils"),exports.m=function(r){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,r),n.prototype.process=function(r,e){var n,i,s,a,p;for(a=t.Strings.interpolate(r.expr,e.data),n=0,i=(p=function(){var r;switch(!1){case!Array.isArray(a):return a;case"string"!=typeof a:return a.split(/[,; ]+/);case r=typeof a,o.call("boolean",r)<0:case!1:return[a]}}()).length;i>n;n++)s=p[n],this.isId(s)&&e.tAdd(r.ns+"/"+r.type+":"+s,"read")},n}(r)}).call(this);
},{"../../../utils":23,"../diagrams":17}],"./modules/vstate-apply":[function(require,module,exports){
(function(){var e,t,r,n,o,i,s,u,c=function(e,t){function r(){this.constructor=e}for(var n in t)a.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},a={}.hasOwnProperty;r=require("../diagrams").M,o=require("../../../dom-utils").doc_ready,s=require("../../../utils"),i=s.nested,u=s.waitFor,e=s.Conds,n=require("../wa-utils").dl_eventMsgApplies,t=require("../../client/exit-intent").ExitIntent,exports.m=function(r){function s(){return s.__super__.constructor.apply(this,arguments)}var a,l;return c(s,r),s.prototype.active=function(e,t){return!(e.qa&&!t.qa())},s.prototype.process=function(e,t){return o(function(){var r,n,o,i;for(r=0,n=(o=e.trigs).length;n>r;r++)i=o[r],a(e,t,i)})},a=function(r,o,s){var c,a,v,d,g,f,m,h,b,p,w,_;switch(h="view-state '"+r.vstate+"'",v=function(){var t;return!((t=s.ev_conds)&&t.length>0)||e.evalConds(t,o,"Event Conditions for view-state '"+r.vstate+"'","x")},p=function(){var e;return e=function(){var e;if(v())return o.log("Triggering view-state '"+r.vstate+"'","x"),e=new CustomEvent("ConductricsStateChange",{detail:r.vstate}),window.dispatchEvent(e)},s.ms>0?(o.log("Will trigger "+h+" in "+s.ms+" ms (trigger mode '"+s.mode+"')","x"),setTimeout(e,s.ms)):e()},s.mode){case"timeout":return p();case"scroll":if(!IntersectionObserver)return;return l(s.sel,function(e){return o.log("Will trigger "+h+" on '"+s.sel+"' scroll (trigger mode '"+s.mode+"')","x"),new IntersectionObserver(function(e){return e.some(function(e){return e.isIntersecting})?p():void 0},{threshold:.5}).observe(e)});case"visible":case"not-visible":if(!IntersectionObserver)return;return l(s.sel,function(e){var t,r,n,i;i="visible"===s.mode,r=function(e){return e.some(function(e){return e.isIntersecting===i})?p():void 0};try{n=document.querySelector(s.container)}catch(e){}return n?(t=new IntersectionObserver(r,{root:n,threshold:1}),o.log("Will trigger "+h+" on '"+s.sel+"' visibility (trigger mode '"+s.mode+"')","x"),t.observe(e)):void 0});case"class-has":case"class-not":if(!MutationObserver)return;return o.log("Prerequisite for "+h+" (trigger mode '"+s.mode+"'})","x"),l(s.sel,function(e){var t;return o.log("Will trigger "+h+" on CSS class changes (trigger mode '"+s.mode+"' for '"+s.css_class+"')","x"),t=function(){var t;return t=e.classList.contains(s.css_class),"class-has"===s.mode===t},new MutationObserver(function(e,r){return t()?p():void 0}).observe(e,{attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1})});case"present":case"not-present":if(!MutationObserver)return;try{c=document.querySelector(s.container)}catch(e){}if(!c)return;return o.log("Will trigger "+h+" upon DOM changes (trigger mode '"+s.mode+"')","x"),b=function(){var e,t,r,n;r=c.matches(s.sel)?1:0;try{e=c.querySelectorAll(s.sel).length}catch(t){e=0}return t=r+e>=(null!=(n=s.num)?n:1),"present"===s.mode===t},new MutationObserver(function(e,t){return b()?p():void 0}).observe(c,{childList:!0,subtree:!0});case"js-ev":return o.log("Will trigger "+h+" upon JS event '"+s.js_ev+"'","x"),u(300,100,function(){return i(s.js_obj,window)},function(e){try{return e[s.js_fn](s.js_ev,function(){return o.log("Detected '"+s.js_ev+"' event for "+h,"x"),p()})}catch(e){}});case"dl-ev":if((a=o.r._dl).enabled())return o.log("Will trigger "+h+" on Data Layer event '"+s.dl_ev+"'","x"),a.sub(function(e){var t;return e=null!=(t=e.eventInfo)?t:e,n(s.dl_ev,s.dl_crit,e,a)?p():void 0});break;case"exit-intent":return o.log("Will trigger "+h+" on 'exit-intent'","x"),t.waitForIntent(h,Object.assign({},s,{cb:function(){return o.log("Detected 'exit-intent' for "+h,"x"),p()}}));case"ui-inact":for(_="mousedown mousemove touchstart scroll keydown".split(" "),o.log("Will trigger "+h+" after "+s.ms+" ms of inaction","x"),f=function(e){return o.data["v.uits"]=Date.now()},m={passive:!0},u(1e3,7200,function(){var e;return e=o.data["v.uits"],Date.now()-e>s.ms},function(){var e,t,r,n;for(o.log("No UI action detected for "+s.ms,"x"),p(),r=[],e=0,t=_.length;t>e;e++)n=_[e],r.push(document.removeEventListener(n,f,m));return r}),d=0,g=_.length;g>d;d++)w=_[d],document.addEventListener(w,f,m)}},l=function(e,t){var r,n;return(r=(n=function(){try{return document.querySelector(e)}catch(e){}})())?t(r):MutationObserver?new MutationObserver(function(e,o){return(r=n())?(o.disconnect(),t(r)):void 0}).observe(document,{childList:!0,subtree:!0}):void 0},s}(r)}).call(this);
},{"../../../dom-utils":4,"../../../utils":23,"../../client/exit-intent":12,"../diagrams":17,"../wa-utils":19}],"./modules/wa-await":[function(require,module,exports){
(function(){var e,r,t,o={}.hasOwnProperty;e=(r=require("../diagrams")).M,r.Reapplyer,require("../../../dom-utils").await_selector,t=require("sentinel-js"),exports.m=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return function(e,r){function t(){this.constructor=e}for(var n in r)o.call(r,n)&&(e[n]=r[n]);t.prototype=r.prototype,e.prototype=new t,e.__super__=r.prototype}(r,e),r.prototype.process=function(e,r,o){var n,u,s,c,i,l,p,a;if(!(e.selectors.length>0))return!1;for(n=0,a=(new Date).getTime(),l=function(){var t;return e.resumed?void 0:(t=(new Date).getTime(),r.log("Selector found ("+p+") after "+(t-a)+" ms","s"),o.resume(e,r),e.resumed=!0)},u=0,s=(i=e.selectors).length;s>u;u++){p=i[u];try{c=null!==document.querySelector(p)}catch(e){}if(r.log("Selector matches? "+(null!=c)+" ("+p+")","x"),c&&!0===e.one)return!1;c||(t.on(p,l),n++)}return n>0},r}(e)}).call(this);
},{"../../../dom-utils":4,"../diagrams":17,"sentinel-js":5}],"./modules/wa-css":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var e in r)o.call(r,e)&&(t[e]=r[e]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return r(o,t),o.prototype.process=function(t,r,o){r.log("Adding CSS"),this.addCSS(t.css,t.className)},o}(t)}).call(this);
},{"../diagrams":17}],"./modules/wa-decision":[function(require,module,exports){
(function(){var e,t,r=function(e,t){function r(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty,i=[].indexOf||function(e){for(var t=0,r=this.length;r>t;t++)if(t in this&&this[t]===e)return t;return-1};e=require("../diagrams").M,t=require("../../../dom-utils").await_selector,exports.m=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}var o,s;return r(n,e),n.prototype.active=function(e,t){var r,n,o;return t.qa()&&t.selsOnly()&&!t.selPre(e.agent)?(t.log("Skipping agent '"+e.agent+"' during preview","q"),!1):!(e.qa&&(n=t.qa(),t.log("QA-only agent '"+e.agent+"' (QA visitor? "+n+")","q"),!n))&&(o=t.vstate(),r=i.call(e.vstates,o)>=0,t.log("Agent '"+e.agent+"' used at view-state '"+t.vstate()+"'? "+r,"a"),r)},n.prototype.process=function(e,t,r){return!(!e.await||!o(e,t,r))||(e.js_id&&!s(e,t)?"skip":void 0)},s=function(e,t){var r,n;if(!e.js_id)return!0;try{n=(0,_wa_cjs[e.js_id])()}catch(n){return r=n,t.log("Eligibility JS error for Agent '"+e.agent+"': "+r,"e"),!1}return!0===n?(t.log("Eligibility JS for Agent '"+e.agent+"' returned true (eligible)","s"),!0):(t.log("Eligibility JS for Agent '"+e.agent+"' returned "+n+" (not eligible)","s"),!1)},o=function(e,r,n){var i;return document.querySelector(e.selector)?(r.log("Eligibility selector already present ("+e.selector+")","s"),!1):(i=(new Date).getTime(),r.log("Eligibility selector not yet present ("+e.selector+")","x"),t(e.selector,function(){var t;return r.pvd[e.agent+"_res"]?void 0:(t=(new Date).getTime()-i,r.log("Selector found ("+e.selector+") after "+t+" ms","s"),e.js_id&&!s(e,r)?"skip":(n.resume(e,r),r.pvd[e.agent+"_res"]=!0))}),!0)},n}(e)}).call(this);
},{"../../../dom-utils":4,"../diagrams":17}],"./modules/wa-entry":[function(require,module,exports){
(function(){var r,t=function(r,t){function n(){this.constructor=r}for(var e in t)o.call(t,e)&&(r[e]=t[e]);return n.prototype=t.prototype,r.prototype=new n,r.__super__=t.prototype,r},o={}.hasOwnProperty;r=require("../diagrams").M,exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}return t(o,r),o.prototype.active=function(r,t){var o;return!r.mdn_only||"m"===(o=t.mdn())||(t.log("Stopping because 'modern' browser features not available ("+o+")","cf"),!1)},o}(r)}).call(this);
},{"../diagrams":17}],"./modules/wa-goal":[function(require,module,exports){
(function(){var e,t,n,r,o,i,l,a,u=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},c={}.hasOwnProperty,s=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};n=require("../diagrams").M,t=require("../../client/ga").GA,l=require("../../../utils"),i=l.nested,a=l.waitFor,e=l.Conds,o=require("../../../dom-utils").doc_ready,r=require("../wa-utils").dl_eventMsgApplies,exports.m=function(n){function l(){return l.__super__.constructor.apply(this,arguments)}var c,v,g;return u(l,n),l.prototype.active=function(e,t){return!(e.qa&&!t.qa())&&!e._done},l.prototype.process=function(n,l,u){var v,d,f,p,_,h,w;switch(v=function(){var t,r;return!((t=null!=(r=n.ev_conds)?r:[]).length>0)||e.evalConds(t,l,"wa-goal ("+n.goal+" "+n.event+")","g")},p=function(e,t){if(v()){if(l.log(e+" triggered goal "+n.goal,"g"),t)try{n.items[0].items[0].to=t}catch(e){return void e}return u.resume(n,l)}},!1){case"load"!==n.event:o(function(){return p("Page load")});break;case"ga-ev"!==n.event:this.conf["x-ga:wgi"]&&t.init(this.conf),g(document,"ga.conductrics",function(e,r){return"event"===(null!=(r=null!=r?r:e.detail)?r.get("hitType"):void 0)&&t.eventApplies(n,r)?p("GA Event"):void 0});break;case"dl-ev"!==n.event:(d=l.r._dl).enabled()&&(l.log("Goal "+n.goal+" will watch for DL event '"+n.dl_eventName+"'","g"),d.sub(function(e){return r(n.dl_eventName,n.dl_crit,e,d)?p("DL event '"+n.dl_eventName+"'"):void 0}));break;case"js-ev"!==n.event:l.log("Goal "+n.goal+" will watch for JS event '"+n.js_ev+"'","g"),a(300,100,function(){return i(n.js_obj,window)},function(e){try{return e[n.js_fn](n.js_ev,function(){return p("JS Event '"+n.js_ev+"'")})}catch(e){}});break;case"vs"!==n.event:window.addEventListener("ConductricsStateChanged",function(e){var t;return t=e.detail,s.call(n.vs,t)>=0?p("View-state '"+e.detail+"'"):void 0});break;case!(null!=n.eventSelector&&null!=n.event):h=this,f=null!=(_=n.events)?_:n.event,w=void 0,l.log("Goal "+n.goal+" will watch for DOM event '"+f+"' on '"+n.eventSelector+"'","g"),c(document,f,n.eventSelector,n.sel_i,n.sel_n,n.evuc,function(e){var t,r,o,i;if(f.indexOf(" ")){if(o=(new Date).getTime(),w>=o)return void l.log(e.type+" too soon for goal "+n.goal,"g");w=o+100}return l.log(e.type+" from '"+n.eventSelector+"' triggered goal "+n.goal,"g"),n.gpa?(r=h.conf["wa:gpa-att"],(t=h.closest(e.target,"["+r+"]"))?p("DOM event '"+e.type+"'",null!=(i=t.getAttribute(r))?i.split(" "):void 0):void 0):p("DOM event '"+e.type+"'")});break;default:l.log("Unknown trigger for "+n.goal,"g")}return n._done=!0,!0},g=function(e,t,n){return e.addEventListener(t,n)},c=function(e,t,n,r,o,i,l){var a,u,c,s,g;for(null==i&&(i=!1),g=[],u=0,c=(s=t.split(" ")).length;c>u;u++)a=s[u],g.push(e.addEventListener(a,function(t){return v(e,n,t.target,r,o)?(i||t.stopPropagation(),l(t)):void 0},i));return g},v=function(e,t,n,r,o){var i,l,a,u,c;null==r&&(r=0),null==o&&(o=9999);try{for(c=e.querySelectorAll(t),l=a=0,u=c.length;u>a;l=++a)if(i=c[l],l>=r&&r+o>l&&i.contains(n))return!0}catch(e){}return!1},function(e,t,n,r){var o,i;i=0,(o=function(){var l;return i++,(l=n())?r(l):i>=t?void 0:setTimeout(o,e)})()},l}(n)}).call(this);
},{"../../../dom-utils":4,"../../../utils":23,"../../client/ga":13,"../diagrams":17,"../wa-utils":19}],"./modules/wa-pre-un":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var o in r)e.call(r,o)&&(t[o]=r[o]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},e={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return r(e,t),e.prototype.active=function(t,r){var e;switch(e=r.selHas(t.agent),!1){case!t.exists:return e;case!!e:return!0;case!t.qa:return!1===r.qa();default:return!1}},e.prototype.process=function(t,r){var e,n,o,u,a;for(a="style.__c-pre-"+t.agent,n=0,o=(u=document.querySelectorAll(a)).length;o>n;n++)e=u[n],r.log("un-pre-hiding for "+t.agent,"x"),e.disabled=!0},e}(t)}).call(this);
},{"../diagrams":17}],"./modules/wa-reward":[function(require,module,exports){
(function(){var e,t,r=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;e=require("../diagrams").M,exports.m=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.process=function(e,t){var r,n,o,u,l,c;for(c=this.val(e,t),r=0,n=(u=e.items).length;n>r;r++)"reward"===(o=u[r]).module&&(l=o);null!=l?(l.value=c,e.forex&&(l.vc=this.cur(e,t))):e.items=[]},n.prototype.val=function(e,r){var n,o,u,l,c;return u=null!=(o=e.valueSelector)?o:"",l=function(){var o,l;switch(e.valueSelectorType){case"dl":if((n=r.r._dl).enabled())return c=function(e,r){var o,u;return u=n.get(r.trim())+"",e+(null!=(o=t(u))?o:0)},u.split("+").reduce(c,0);break;case"dom":return null!=(o=document.querySelector(u))?o.textContent:void 0;case"meta":return null!=(l=document.querySelector("meta[name='"+u+"']"))?l.content:void 0;default:return""}}(),t(l)},n.prototype.cur=function(e,t){var r,n,o,u;return o=null!=(n=e.currSelector)?n:"",null!=(u=function(){var n,u;switch(e.currSelectorType){case"dl":if((r=t.r._dl).enabled())return r.get(o);break;case"dom":return null!=(n=document.querySelector(o))?n.textContent:void 0;case"meta":return null!=(u=document.querySelector("meta[name='"+o+"']"))?u.content:void 0}}())?(""+u).trim().toUpperCase():void 0},n}(e),t=function(e){var t;return"number"==typeof e?e:(null!=e?e.length:void 0)>0?(t=parseFloat(parseFloat(e.replace(/[^0-9. ]/g," ")).toFixed(2)),isFinite(t)?t:null):null}}).call(this);
},{"../diagrams":17}],"./modules/wa-script":[function(require,module,exports){
(function (process){(function (){
(function(){var r,t,n,e,o,i=function(r,t){function n(){this.constructor=r}for(var e in t)c.call(t,e)&&(r[e]=t[e]);return n.prototype=t.prototype,r.prototype=new n,r.__super__=t.prototype,r},c={}.hasOwnProperty,u=function(r,t){return function(){return r.apply(t,arguments)}},s=[].indexOf||function(r){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===r)return t;return-1};r=(o=require("../diagrams")).M,t=o.Reapplyer,n=require("./wa-script-reg").ScriptReg,exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}var c;return i(o,r),o.prototype.process=function(r,t,e){var o;return r.ext?(t.log("Loading "+r.id,"s"),(null!=(o=window.Conductrics).reg?o.reg:o.reg=new n).load(r.id,function(n){return t.log("Loaded "+r.id,"s"),c(r,t,e)})):c(r,t,e),r.confirm},c=function(r,n,o){var i,c,u,s,l,f,a,p,d,m;p=!0===r.confirm,f=process.env.C_WA_SCRIPT_CDX||p||r.types,c=r.agent,i=function(r,t){return n.log("Custom script "+r+" for agent '"+c+"'",null!=t?t:"s")},f?(u=new e(n.tr(),r.types),process.env.C_WA_SCRIPT_CDX&&Object.assign(u,{agent:r.agent,sel:function(){var t;return(t=n.data["v.sels"][r.agent])?{c:t.c,p:t.p}:null}})):u=null;try{l=_wa_cjs[r.id],(s=function(){var t,e;return i(""+(null!=(t=r.id)?t:"")),l(u),p?(e=function(){var t;return!1===(t=u.confirmed())?(i("called confirm(false)"),n.keep()):t?r.resumed?i("re-confirmed selection"):(i("confirmed selection"),o.resume(r,n),r.resumed=!0):i("declined to confirm")},null!=u._ok?e():u.on_confirm=e):void 0})()}catch(t){i("error: "+t,"e"),r.items&&(r.items=r.items.filter(function(r){return"decision"!==r.module}))}try{r.watch&&(d=null!=(a=r.watch_sel)?a:r.selector,(m=document.querySelectorAll(d)).length>0&&new t(s,m,null,r["ra-max"]).start())}catch(r){}},function(r,t){var e;return(null!=(e=window.Conductrics).reg?e.reg:e.reg=new n).load(r.id,t)},o}(r),e=function(){function r(r,t){this.tr=r,this.ok=t,this.confirm=u(this.confirm,this)}return r.prototype.trait=function(r){var t,n,e,o,i,c;if(null==r&&(r=""),s.call(r,"/")<0&&(r="cust/"+r),s.call(this.ok,r)<0)return"";for(t=0,n=(e=this.tr).length;n>t;t++)if(c=(o=e[t].split(":"))[0],i=o[1],c===r)return i;return""},r.prototype.confirm=function(r){return this._ok=r,"function"==typeof this.on_confirm?this.on_confirm(r):void 0},r.prototype.confirmed=function(){return this._ok},r}()}).call(this);
}).call(this)}).call(this,require('_process'))
},{"../diagrams":17,"./wa-script-reg":18,"_process":7}],"./modules/wa-start":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":17,"dup":"./modules/condition"}],"./plugins/dt":[function(require,module,exports){
(function(){var t,r,o=function(t,r){function o(){this.constructor=t}for(var e in r)n.call(r,e)&&(t[e]=r[e]);return o.prototype=r.prototype,t.prototype=new o,t.__super__=r.prototype,t},n={}.hasOwnProperty;t=require("../targeting"),r=require("../dt-resolve")._resolve,exports.p=function(t){function n(conf){this.conf=conf}return o(n,t),n.ns="dt",n.modes=["s","b"],n.sync=!0,n.prototype.ttl=function(t){return 60},n.prototype.resolve=function(t,o,n,e){return e(!1,r(o,t.ts(),t.data["v.tzo"]))},n}(t.Plugin)}).call(this);
},{"../dt-resolve":20,"../targeting":22}],"./plugins/geo":[function(require,module,exports){
(function(){var t,n=function(t,n){function r(){this.constructor=t}for(var e in n)o.call(n,e)&&(t[e]=n[e]);return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t},o={}.hasOwnProperty;t=require("../targeting"),exports.p=function(t){function o(conf){this.conf=conf}return n(o,t),o.ns="geo",o.modes=["b","s"],o.sync=!0,o.prototype.resolve=function(t,n,o,r){return r(!1,null)},o}(t.Plugin)}).call(this);
},{"../targeting":22}],"./plugins/ua":[function(require,module,exports){
(function(){var e,r,n,t=function(e,r){function n(){this.constructor=e}for(var t in r)a.call(r,t)&&(e[t]=r[t]);return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},a={}.hasOwnProperty;r=require("ua-parser-js"),e=require("../targeting"),n={},exports.p=function(e){function a(conf){this.conf=conf}var o,s,u,i;return t(a,e),a.ns="ua",a.modes=["s","b"],a.sync=!0,a.UA_CACHE={},a.prototype.ttl=function(e){return 0},i=function(e){return"os"===e||"br"===e||"dv"===e||"mo"===e},u=function(){return"object"==typeof window&&"ontouchstart"in window},s=function(e){var r,n;return null!=(r=e.data["v.ua"])?r:null!=(n=e.r)?n.ua:void 0},o=function(e,t){var a,o;return n[a="ua:"+t]?n[a]:(o=new r(t).getResult(),n[a]=Object.assign({},o),o)},a.prototype.resolve=function(e,r,n,t){var a,c,d;if(i(r)){if("string"!=typeof(d=s(e)))return t(!1);c=o(0,d)}return t(!1,function(){switch(r){case"os":switch(c.os.name){case"Android":return"a";case"iOS":return"i";case"Mac OS":return"m";case"Windows":case"Windows Phone":case"Windows Mobile":return"w";default:return"o"}break;case"br":switch(c.browser.name){case"Chrome":return"c";case"Firefox":return"f";case"Safari":case"Mobile Safari":return"s";case"IE":case"IEMobile":case"Edge":return"i";default:return"o"}break;case"dv":switch(c.device.type){case"mobile":return"m";case"tablet":return"t";case void 0:case null:case"":return"d";default:return"o"}break;case"mo":switch(c.device.type){case"mobile":case"tablet":return"m";default:return"n"}break;case"vi":return e.mdn();case"wi":return a="undefined"!=typeof window&&null!==window?window.innerWidth:void 0;case"wb":switch(a="undefined"!=typeof window&&null!==window?window.innerWidth:void 0,!1){case!(a>=1400):return"xxl";case!(a>=1200):return"xl";case!(a>=992):return"lg";case!(a>=768):return"md";case!(a>=576):return"sm";case!(576>a):return"xs"}break;case"te":return u()?"t":"n";case"ag":return s(e)}}())},a}(e.Plugin)}).call(this);
},{"../targeting":22,"ua-parser-js":8}],1:[function(require,module,exports){
(function(){exports.Bots=function(){function t(conf){this.conf=conf}var n;return t.prototype.detect=function(t){var o,e,i,r;if(!((null!=t?t.length:void 0)>0))return null;for(t=t.toLowerCase(),o=0,e=(i=n.concat(this.conf["bots:cust"])).length;e>o;o++)if(r=i[o],t.indexOf(r)>=0)return r;return null},n=["bot","spider","crawler","search","track","ping","monitor","google","twitter","yahoo","bing","akamai","y!j","mozilla/5.0 (compatible; msie 10.0; windows nt 6.1; wow64; trident/6.0)","synthetic","waitfor","delay","sleep"],t}()}).call(this);
},{}],2:[function(require,module,exports){
(function(){var n;n=exports,require("./data"),n.merged=function(n){return null==n&&(n=[]),_d.conf}}).call(this);
},{"./data":3}],3:[function(require,module,exports){
(function(){var c,t;if("string"==typeof _d)try{t=require,c=t("jsonpack"),_d=c.unpack(_d)}catch(a){}}).call(this);

},{}],4:[function(require,module,exports){
(function(){exports.doc_ready=function(e){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)},exports.await_selector=function(e,t){var o,n;try{o=document.querySelector(e)}catch(e){return}return o?t():(n=new MutationObserver(function(){return document.querySelector(e)?(n.disconnect(),t()):void 0})).observe(document,{childList:!0,subtree:!0})},exports.cookie_get=function(e){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){}},exports.cookie_set=function(e,t,o,n){var c;try{return null==o&&(o=_d.conf["a:session-ttl-secs"]),null==n&&(n=null!=(c=_d.conf["js:cook-dom"])?c:document.location.hostname.split(".").slice(-2).join(".")),document.cookie=e+"="+encodeURIComponent(t)+"; max-age="+o+"; domain="+n+"; path=/"}catch(e){}}}).call(this);
},{}],5:[function(require,module,exports){
!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.sentinel=n()}(this,function(){var e,n,t,i=Array.isArray,o={},r={};return{on:function(a,f){if(f){if(!e){var s=document,c=s.head;s.addEventListener("animationstart",function(e,n,t,i){if(n=r[e.animationName])for(e.stopImmediatePropagation(),t=n.length,i=0;t>i;i++)n[i](e.target)},!0);e=s.createElement("style");var l=function(){var e=document.querySelector("style[nonce]")||document.querySelector("script[nonce]");return e?e.nonce||e.getAttribute("nonce"):void 0}();l&&(e.nonce=l),c.insertBefore(e,c.firstChild),n=e.sheet,t=n.cssRules}(i(a)?a:[a]).map(function(e,i,a){(i=o[e])||(a="!"==e[0],o[e]=i=a?e.slice(1):"sentinel-"+Math.random().toString(16).slice(2),t[n.insertRule("@keyframes "+i+"{from{transform:none;}to{transform:none;}}",t.length)]._id=e,a||(t[n.insertRule(e+"{animation-duration:0.0001s;animation-name:"+i+";}",t.length)]._id=e),o[e]=i),(r[i]=r[i]||[]).push(f)})}},off:function(e,a){(i(e)?e:[e]).map(function(e,i,f,s){if(i=o[e]){if(f=r[i],a)for(s=f.length;s--;)f[s]===a&&f.splice(s,1);else f=[];if(!f.length){for(s=t.length;s--;)t[s]._id==e&&n.deleteRule(s);delete o[e],delete r[i]}}})},reset:function(){o={},r={},e&&e.parentNode.removeChild(e),e=0}}});
},{}],6:[function(require,module,exports){

},{}],7:[function(require,module,exports){
var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue.length;t;){for(currentQueue=queue,queue=[];++queueIndex<t;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,t=queue.length}currentQueue=null,draining=!1,runClearTimeout(e)}}function Item(e,t){this.fun=e,this.array=t}function noop(){}process.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];queue.push(new Item(e,t)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(e){return[]},process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
},{}],8:[function(require,module,exports){
!function(i,e){"use strict";function o(i){for(var e={},o=0;o<i.length;o++)e[i[o].toUpperCase()]=i[o];return e}function a(i,e){return typeof i==d&&-1!==Z(e).indexOf(Z(i))}function r(i,e){if(typeof i==d)return i=i.replace(/^\s\s*/,""),typeof e==b?i:i.substring(0,500)}function n(i,o){for(var a,r,n,t,b,d=0;d<o.length&&!t;){for(var l=o[d],c=o[d+1],u=a=0;u<l.length&&!t&&l[u];)if(t=l[u++].exec(i))for(r=0;r<c.length;r++)b=t[++a],typeof(n=c[r])==w&&0<n.length?2===n.length?typeof n[1]==s?this[n[0]]=n[1].call(this,b):this[n[0]]=n[1]:3===n.length?typeof n[1]!=s||n[1].exec&&n[1].test?this[n[0]]=b?b.replace(n[1],n[2]):e:this[n[0]]=b?n[1].call(this,b,n[2]):e:4===n.length&&(this[n[0]]=b?n[3].call(this,b.replace(n[1],n[2])):e):this[n]=b||e;d+=2}}function t(i,o){for(var r in o)if(typeof o[r]==w&&0<o[r].length){for(var n=0;n<o[r].length;n++)if(a(o[r][n],i))return"?"===r?e:r}else if(a(o[r],i))return"?"===r?e:r;return o.hasOwnProperty("*")?o["*"]:i}var s="function",b="undefined",w="object",d="string",l="major",c="model",u="name",m="type",p="vendor",h="version",f="architecture",g="console",v="mobile",x="tablet",k="smarttv",y="wearable",_="embedded",T="Amazon",S="Apple",q="ASUS",z="BlackBerry",N="Browser",A="Chrome",O="Firefox",C="Google",E="Huawei",U="LG",P="Microsoft",j="Motorola",B="Opera",M="Samsung",R="Sharp",D="Sony",V="Xiaomi",I="Zebra",G="Facebook",L="Chromium OS",H="Mac OS",F=" Browser",Z=function(i){return i.toLowerCase()},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,h],[/opios[\/ ]+([\w\.]+)/i],[h,[u,B+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[u,B+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[u,B]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[u,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[u,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[u,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[u,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[u,"UC"+N]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[u,"Smart Lenovo "+N]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+N],h],[/\bfocus\/([\w\.]+)/i],[h,[u,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[u,B+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[u,B+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[u,"MIUI"+F]],[/fxios\/([\w\.-]+)/i],[h,[u,O]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[u,"360"]],[/\b(qq)\/([\w\.]+)/i],[[u,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1"+F],h],[/samsungbrowser\/([\w\.]+)/i],[h,[u,M+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[u,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[u],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,G],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[u,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,A+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[u,"Android "+N]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[h,t,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[u,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[u,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[u,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,Z]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",Z]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,Z]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,M],[m,x]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,M],[m,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,S],[m,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,S],[m,x]],[/(macintosh);/i],[c,[p,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,R],[m,v]],[/(?:honor)([-\w ]+)[;\)]/i],[c,[p,"Honor"],[m,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[p,E],[m,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,E],[m,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[c,/_/g," "],[p,V],[m,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[p,V],[m,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,"OPPO"],[m,v]],[/\b(opd2\d{3}a?) bui/i],[c,[p,"OPPO"],[m,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[m,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[m,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,j],[m,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,j],[m,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,U],[m,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,U],[m,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[p,"Lenovo"],[m,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[p,"Nokia"],[m,v]],[/(pixel c)\b/i],[c,[p,C],[m,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,C],[m,v]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,D],[m,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,D],[m,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,"OnePlus"],[m,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,T],[m,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,T],[m,v]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[m,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,z],[m,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,q],[m,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,q],[m,v]],[/(nexus 9)/i],[c,[p,"HTC"],[m,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[m,v]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[p,"TCL"],[m,x]],[/(itel) ((\w+))/i],[[p,Z],c,[m,t,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[m,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[m,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[p,"Ulefone"],[m,v]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[p,"Energizer"],[m,v]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[p,"Cat"],[m,v]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[p,"Smartfren"],[m,v]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[p,"Nothing"],[m,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[m,v]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[m,x]],[/(surface duo)/i],[c,[p,P],[m,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[m,v]],[/(u304aa)/i],[c,[p,"AT&T"],[m,v]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[m,v]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[m,x]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[m,x]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[m,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[m,x]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[m,x]],[/\b(k88) b/i],[c,[p,"ZTE"],[m,x]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[m,v]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[m,v]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[m,x]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[m,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[m,x]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[m,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[m,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[m,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[m,v]],[/\b(ph-1) /i],[c,[p,"Essential"],[m,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[m,x]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[m,x]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[m,x]],[/(shield[\w ]+) b/i],[c,[p,"Nvidia"],[m,x]],[/(sprint) (\w+)/i],[p,c,[m,v]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,P],[m,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,I],[m,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,I],[m,v]],[/smart-tv.+(samsung)/i],[p,[m,k]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,M],[m,k]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,U],[m,k]],[/(apple) ?tv/i],[p,[c,S+" TV"],[m,k]],[/crkey/i],[[c,A+"cast"],[p,C],[m,k]],[/droid.+aft(\w+)( bui|\))/i],[c,[p,T],[m,k]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,R],[m,k]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,D],[m,k]],[/(mitv-\w{5}) bui/i],[c,[p,V],[m,k]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[m,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,r],[c,r],[m,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,k]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[m,g]],[/droid.+; (shield) bui/i],[c,[p,"Nvidia"],[m,g]],[/(playstation [345portablevi]+)/i],[c,[p,D],[m,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,P],[m,g]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[p,M],[m,y]],[/((pebble))app/i],[p,c,[m,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,S],[m,y]],[/droid.+; (glass) \d/i],[c,[p,C],[m,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,I],[m,y]],[/droid.+; (glass) \d/i],[c,[p,C],[m,y]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,c,[m,y]],[/; (quest( \d| pro)?)/i],[c,[p,G],[m,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[m,_]],[/(aeobc)\b/i],[c,[p,T],[m,_]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[m,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[m,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,v]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[u,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[u,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[u,[h,t,$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,t,$],[u,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,H],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,h],[/\(bb(10);/i],[h,[u,z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[u,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[u,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,L],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,h],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,h]]},X=function(o,a){if(typeof o==w&&(a=o,o=e),!(this instanceof X))return new X(o,a).getResult();var t=typeof i!=b&&i.navigator?i.navigator:e,g=o||(t&&t.userAgent?t.userAgent:""),k=t&&t.userAgentData?t.userAgentData:e,y=a?function(i,e){var o,a={};for(o in i)e[o]&&e[o].length%2==0?a[o]=e[o].concat(i[o]):a[o]=i[o];return a}(W,a):W,_=t&&t.userAgent==g;return this.getBrowser=function(){var i,o={};return o[u]=e,o[h]=e,n.call(o,g,y.browser),o[l]=typeof(i=o[h])==d?i.replace(/[^\d\.]/g,"").split(".")[0]:e,_&&t&&t.brave&&typeof t.brave.isBrave==s&&(o[u]="Brave"),o},this.getCPU=function(){var i={};return i[f]=e,n.call(i,g,y.cpu),i},this.getDevice=function(){var i={};return i[p]=e,i[c]=e,i[m]=e,n.call(i,g,y.device),_&&!i[m]&&k&&k.mobile&&(i[m]=v),_&&"Macintosh"==i[c]&&t&&typeof t.standalone!=b&&t.maxTouchPoints&&2<t.maxTouchPoints&&(i[c]="iPad",i[m]=x),i},this.getEngine=function(){var i={};return i[u]=e,i[h]=e,n.call(i,g,y.engine),i},this.getOS=function(){var i={};return i[u]=e,i[h]=e,n.call(i,g,y.os),_&&!i[u]&&k&&k.platform&&"Unknown"!=k.platform&&(i[u]=k.platform.replace(/chrome os/i,L).replace(/macos/i,H)),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return g},this.setUA=function(i){return g=typeof i==d&&500<i.length?r(i,500):i,this},this.setUA(g),this};X.VERSION="0.7.40",X.BROWSER=o([u,h,l]),X.CPU=o([f]),X.DEVICE=o([c,p,m,g,v,k,x,y,_]),X.ENGINE=X.OS=o([u,h]),typeof exports!=b?(typeof module!=b&&module.exports&&(exports=module.exports=X),exports.UAParser=X):typeof define==s&&define.amd?define(function(){return X}):typeof i!=b&&(i.UAParser=X);var K,Q=typeof i!=b&&(i.jQuery||i.Zepto);Q&&!Q.ua&&(K=new X,Q.ua=K.getResult(),Q.ua.get=function(){return K.getUA()},Q.ua.set=function(i){K.setUA(i);var e,o=K.getResult();for(e in o)Q.ua[e]=o[e]})}("object"==typeof window?window:this);
},{}],9:[function(require,module,exports){
(function(){var l,n,e,a=[].indexOf||function(l){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===l)return n;return-1};n=exports,e=require("./utils"),l=999999,n.Rewarder=function(){function n(conf){this.conf=conf}var t;return n.prototype.handleStep=function(n,t,r){var o,u,s,g,i,v,d,p,c,f,w,h,y,x,G,M,b,m,A,_,D,N;for(h=e.Dates.stamp(),-l<(x=t.value)&&l>x||(t.value=null!=(G=r.valueDef)?G:1),i=null!=(M=_d.G[t.goal])?M:{},s=null!=(b=i.a)?b:[],Array.isArray(t.agents)&&(s=t.agents.filter(function(l){return a.call(s,l)>=0})),p=this.selsFor(n,t,s),N=!1,i.gpr,n.log("Goal '"+t.goal+"' mapped to agents: "+s+" (value "+t.value+" "+(null!=(m=t.vc)?m:"")+")","g"),v=c=0,f=p.length;f>c;v=++c)(d=p[v]).g=t.goal,d.v=this.val(n,t,r,d),d.vc=t.vc,o="running"===(u=null!=(A=_d.A[d.a])?A.a.s:void 0)&&"p"!==(_=d.p)&&"b"!==_&&"x"!==_,"p"===d.s&&("number"==typeof r.ps_ok&&h-d.dts<=r.ps_ok?n.log("Allowing reward for pending selection","g"):i.gpr?N?(n.log("Allowing 'pending' reward for goal '"+t.goal+"' and agent '"+d.a+"'","g"),o=!0):(n.log("Goal '"+t.goal+"' may not be sent via this Deploy Target","g"),o=!1):(n.log("Not rewarding '"+d.a+"' for Goal '"+t.goal+"' due to 'pending' selection","g"),o=!1)),i.gpr&&(n.log("Goal '"+t.goal+"' may only be sent via the REST API","g"),o=!1),o&&i.ewe>0&&h-d.dts>i.ewe&&(n.log("Not rewarding '"+d.a+"' for Goal '"+t.goal+"' due to eligibility window ("+i.ewe+")","g"),o=!1),o&&null!=d.v&&null!=d.fs?(null==(g=n.sess.rwds)[w=d.a]&&(g[w]={}),D=this.getPrior(n,d.a,d.g),d.pr=D[0],d.ri=D[1],r.rw&&d.pr&&(y=h-d.pr.gts)<r.rw?(n.log("Not rewarding "+d.a+" for "+d.g+" ("+y+" of "+r.rw+" secs)","g"),p[v]=null):n.rwdAdd(d.a,d.g,d.v)):(n.log("Not rewarding "+d.a+" for "+d.g+" (policy "+d.p+" - status "+u+")","g"),p[v]=null);return{items:p}},n.prototype.selsFor=function(l,n,e){var a,t,r,o,u;for(r=[],o=0,u=e.length;u>o;o++)a=e[o],null!=(t=l.selGet(a))&&r.push({a:a,c:t.c,p:t.p,s:t.s,fs:t.fs.concat(),dts:t.ts,dp:t.dp});return r},n.prototype.getPrior=function(l,n,e){var a,r,o,u,s,g;for(a in s=0,r={v:0,n:0,gv:0,gn:0,gts:0,ts:0},g=null!=(u=l.sess.rwds[n])?u:{})null!=(o=g[a])&&"number"==typeof o.v&&(t(n,a)||(r.v+=o.v,r.n+=o.n),a===e&&(r.gv+=o.v,r.gn+=o.n,r.gts=o.ts,s=o.n),o.ts>r.ts&&(r.ts=o.ts));return 0===r.ts&&(r=void 0),[r,s]},n.prototype.val=function(l,n,e,a){var t,r,o,u,s,g,i;switch(t=null!=(r=null!=(o=l.sess.rwds[a.a])?o[a.g]:void 0)?r:{},i=null!=(u=null!=(s=n.value)?s:e.valueDef)?u:1,!1){case!(t.n>=(null!=(g=e.countMax)?g:1)):return l.log("Goal '"+a.g+"' already accepted "+t.n+"x for agent '"+a.a+"'","g"),null;case!(null==e.valueMin&&null==e.valueMax):return 1;case!(n.vc&&n.vc!==e.forex):return i;case!(null!=e.valueMin&&i<e.valueMin||null!=e.valueMax&&i>e.valueMax):return l.log("Goal '"+a.g+"' not accepted (reward "+i+" not between "+e.valueMin+" and "+e.valueMax+")","g"),null;default:return i}},t=function(l,n){var e,t;return!!(t=null!=(e=_d.G[n])?e.sec:void 0)&&a.call(t,l)>=0},n}()}).call(this);
},{"./utils":23}],10:[function(require,module,exports){
(function(){var r,n=[].indexOf||function(r){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===r)return n;return-1};r=require("./utils"),exports.Chooser=function(){function e(conf){this.conf=conf}var t;return e.prototype.handleStep=function(e,t){var l,c,a,u,i,s,o,p,f,h,d,v,g,x,w;return o=this.priorChoice(e,t),l=null!=(p=_d.A[t.a])?p:{},1>(d=l.sr)&&!e.enfVcPre()&&t.c&&1===t.c.length&&(e.log("Ignoring selection rate during preview","q"),d=1),g=e.tFor(t.a),v=e.polGet(t.a),c=function(){var r;switch(!1){case"p"!==v:return[];default:return null!=(r=e.selRed(t.a))?r:[]}}(),x=Array.isArray(t.x)?t.x:[],(c.length>0||x.length>0)&&(t.c=t.c.filter(function(r){return(0===c.length||n.call(c,r)>=0)&&n.call(x,r)<0}),null!=o&&(f=o.c,n.call(t.c,f)<0)&&(o=null)),s=function(){var n,l;switch(!1){case"x"!==v&&"p"!==v:return v;case!e.dnt():return"p";case null==o:return"s";case!(1>d&&!r.Rand.coin(d)):return"x";case!v:return v;case"ar"!==t.p:return"r";case!(1===c.length&&(!e.qa()||c[0]!==e.selPre(t.a))):return"f";case null==t.n:return"a";case"c"!==(n=t.p)&&"p"!==n&&"b"!==n&&"f"!==n&&"x"!==n:case"a"!==(l=t.p)&&"r"!==l:return t.p;default:return"r"}}(),1>d&&"s"!==s&&"p"!==s&&"x"!==v&&"x"!==t.p&&e.log("Selection rate ("+d+") "+("x"===s?"excluded":"allowed")+" visitor for agent "+t.a,"a"),"s"===s&&"p"===o.s&&(g=o.fs),"s"===s?u=o.c:"p"===s?u=l.dc:"x"===s?u="":(w=(a=function(){var r,e,c,a,u,s;for(s=[],r=0,e=(u=null!=(c=null!=(a=l.T)?a.rank:void 0)?c:t.c).length;e>r;r++)i=u[r],n.call(t.c,i)>=0&&s.push(i);return s}()).map(function(r){var n,e;switch(s){case"r":return null!=(n=null!=(e=t.w)?e[r]:void 0)?n:1/a.length;case"c":case"f":return r===a[0]?1:0;default:throw Error("Unknown policy '"+s+"'")}}),u=null!=t.n?r.Rand.pickn(a,w,t.n):r.Rand.pick(a,w)),{a:t.a,c:u,p:s,fs:g.concat(),ts:null!=(h=null!=o?o.ts:void 0)?h:e.ts(),ps:null!=o?o.s:void 0,pp:null!=o?o.p:void 0}},e.prototype.priorChoice=function(r,e){var l,c;return l=null!=(c=r.selGet(e.a))?c:{},void 0===e.n&&Array.isArray(l.c)&&(l.c=l.c[0]),function(){var r;switch(!1){case!(null!=e.n&&Array.isArray(l.c)):return e.n===l.c.length&&t(l.c,e.c);case!("x"===l.p&&""===l.c):return!0;default:return r=l.c,n.call(e.c,r)>=0}}()&&"p"!==l.p?l:null},t=function(r,e){var t,l,c;for(t=0,l=r.length;l>t;t++)if(c=r[t],n.call(e,c)<0)return!1;return!0},e}()}).call(this);
},{"./utils":23}],11:[function(require,module,exports){
(function (process){(function (){
(function(){var t,e,n,s,i,r,o,u,l,a,d,c,h,p,f,v,_=function(t,e){return function(){return t.apply(e,arguments)}},g=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};s=require("../diagrams/diagrams"),e=require("../../configuration"),r=require("../targeting/targeting"),n=require("data-layers").DL,i=require("loader").Loader,f=require("../../dom-utils").doc_ready,v=null!=v?v:require("harness"),u=null,o=null,p=[],c=null,l=null,h=!0===(null!=v?v.single:void 0),d=null,t=function(){function t(t){var s,i;null==t&&(t={}),this.dev_sessDecoded=_(this.dev_sessDecoded,this),this.h_sess_set=_(this.h_sess_set,this),this._post=_(this._post,this),this.do_vs=_(this.do_vs,this),this.do=_(this.do,this),this._do=_(this._do,this),this.o=t,this.h=null!=(i=t.harness)?i:v,this.conf=e.merged(),this.dl=null!=o?o:o=new n(this.conf,this,this.o.dataLayer),this.use_q=!0===this.conf["js:ps-q"]&&null!=this.h.q_add,s=require("./sess-min").SM,this.sm=new s(this.conf["rt:tr-ids"],this.conf["rt:a_codes"])}var a,y,b,w,m;return t.loader=new i(_d,v),t._isRelevant=function(t){return t&&(null!=_d.A[t.a]||null!=_d.G[t.g])},t._hasRelevant=function(e){return Array.isArray(e)&&e.some(t._isRelevant)},t.version=function(){return _d.v.v+" build "+_d.v.b+" ("+_d.v.d+" - "+new Date(1e3*_d.v.m).toUTCString()+")"},t.prototype.exec=function(t,e){return this.push({t:"e",steps:t,cb:e})},t.prototype.run=function(){return this.push({t:"r"})},t.prototype.push=function(t){return p.push(t),this._do()},t.prototype._do=function(){var t;if(!l&&p.length)switch(l=t=p.shift(),t.t){case"e":this.do_exec(t.steps,t.cb);break;case"r":this.do_run();break;case"v":this.do_vs(t.vs)}},t.prototype.do=function(){return l=null,this._do()},t.prototype.select=function(t){return this.exec([{a:t}]).sels[t]},t.prototype.reward=function(t,e){this.exec([{g:t,v:e}])},t.prototype.listAgents=function(){return Object.keys(_d.A)},t.prototype.hasAgent=function(t){return g.call(this.listAgents(),t)>=0},t.prototype.version=function(){return t.version()},t.prototype.do_exec=function(t,e){var n,i,r,o,u;return r=this._req(),m(r)?"function"==typeof e?e():void 0:(t=null!=(i=a(t))?i:[],w(t),r.steps=t,this.o.qa&&r.v&&(r.v.qa=!0),(u=new s.State(this.conf,r)).log("Activating: Conductrics API","i"),this._ses(u),this._hello(u),n=function(t){return function(){var e,n,s,i,r,o;for(t._process(u),e=0,s=(r=(o={items:(i=u.out).res,sels:{},traits:u.tExt(),log:!0===t.o.debug?i.log.concat():void 0,ext:Object.keys(i.ext).length?i.ext:void 0}).items).length;s>e;e++)null!=(n=r[e]).a&&(o.sels[n.a]=n.c);return null!=t.o.sess&&(o.sess=JSON.stringify(u.sess)),o}}(this),"function"==typeof e?this._init(u,function(t){return function(s){return e(!1,n()),t.do()}}(this)):(this._targ(u),o=n(),setTimeout(this.do,1),o))},t.prototype.do_run=function(t){var e,n;return null==t&&(t="#init"),e=this._req(this.o.entry+"-pre"),m(e)?void 0:(n=null!=u?u.state:new s.State(this.conf,e),"#init"===t?n.log("Activating: Conductrics Express","i"):n.log("Activating: Conductrics View-State '"+t+"'","i"),this._ses(n),this._hello(n),!0===this.o.globalEvents&&this._spaInit(n),new s.Runner(this.conf,function(t){return function(){return n.ep(t.o.entry),t._init(n,function(e){return y(t.conf["wa:ready"],function(){return t._process(n),n.log("(end)","i"),t.do()})})}}(this)).run(_d.diag,n))},t.prototype.discard=function(){return v.sess_del()},t.prototype.do_vs=function(t){var e,n,s;return null==u?void this.do():(n=u.state,s=null!=(e=this.conf["rt:spa-states"])?e:[],g.call(s,t)>=0?t!==n.vstate()||g.call(this.conf["rt:spa-states-m"],t)>=0?(n.vstate(t),this._preboot(n,function(e){return function(){return e._process(n),n.log("(end view-state)","x"),window.dispatchEvent(new CustomEvent("ConductricsStateChanged",{detail:t}))}}(this))):n.log("Already at '"+t+"'","x"):n.log("Unknown view-state '"+t+"'","x"),this.do())},t.prototype._req=function(t){var e,n,s,i;return null==t&&(t="api"),n=this.o,(i=this.h.env_get()).acc=_d.acc.c,i.ep=t,i.v.traits=n.traits,i.debug=i.debug||n.debug,i.ud=n.inputs,null==(e=i.v).vid&&(e.vid=n.vid),(!0===(s=n.dnt)||1===s||"yes"===s||"on"===s||"DNT"===s)&&(i.v.dnt=!0),i._dl=this.dl,i},t.prototype._process=function(t){var e;if(this._pre(t),new s.Runner(this.conf,this._post).run(_d.diag,t),"function"==typeof CustomEvent)try{return e=new CustomEvent("c-rt",{detail:{log:t.out.log.concat(),sel:t.out.sel}}),document.dispatchEvent(e)}catch(t){}},t.prototype._init=function(t,e){var n;this._preboot(t,(n=this,function(){return n._q_send(t),n._targ(t,e)}))},t.prototype._preboot=function(t,e){var n,s,i,r,o,u,l,a;if("function"!=typeof _wa_preboot)return e();if(o=s=t.ep(),g.call(null!=(u=this.conf["js:preboot-eps"])?u:["wax"],o)<0)return t.log("Skipping preboot ("+s+")","s"),e();if(l=a=t.vstate(),g.call(this.conf["rt:spa-states-pb"],l)<0)return t.log("Skipping preboot (view-state '"+a+"')","s"),e();r=null,i=function(n,s){return null==s&&(s={}),"string"==typeof s&&(s={vstate:s}),n&&t.tAdds(n,"pre"),"string"==typeof s.vstate&&t.vstate(s.vstate),"string"==typeof s.vid&&(t.data["v.vid"]=s.vid),"string"==typeof s.sid&&(t.data["v.sid"]=s.sid),"object"==typeof s.inputs&&t.ud(s.inputs),"boolean"==typeof s.qa&&t.qa(s.qa),"boolean"==typeof s.dnt&&t.dnt(s.dnt),"function"==typeof s.selection_callback&&(null!=t.handlers?t.handlers:t.handlers=[]).push(s.selection_callback),"function"==typeof s.presend_callback&&(t.ps_cb=s.presend_callback),t.log("Preboot done ("+(Date.now()-r)+" ms elapsed)","s"),e()};try{r=Date.now(),t.log("Preboot running","s"),_wa_preboot(i)}catch(s){n=s,t.log("Preboot error: "+n,"e"),e()}},t.prototype._targ=function(t,e){var n,s,i,o;return t.dnt()?e():(o=_d.rt.tt,i=_d.rt.ttt,(n=void 0===e)&&(e=function(){}),o.length>0?(s=new r.Targeter(this.conf,this.h,n),t.log("Resolve targeting ("+o.length+")","t"),void s.resolve(t,o,function(n,s){var r,o,u;if(n)return e(n);for(r in o=s.values)null!=(u=o[r])&&(g.call(i,r)>=0?t.tAdd(r+":"+u,"apply"):(t.log("Set value '"+r+"' to "+u,"t"),t.data["targ."+r]=u));return e()})):e())},t.prototype._pre=function(t){var e,n,s,i,r;if((e=t.r._dl).enabled()&&(r=e.get(this.conf["dl:key-tr"]),Array.isArray(r)))for(n=0,s=r.length;s>n;n++)i=r[n],t.tAdd(i,"dl");t.data["v.sels"]=t.sess.sels},t.prototype._ses=function(t){var e,n,s,i,r,o,u,l,a,d,p,f,v,_;if(_=null!=(r=t.r.v)?r:{},"string"==typeof(p=null!=(o=this.o.sess)?o:this.h.sess_get())&&p.length&&"{"!==p[0])try{p=atob(p)}catch(t){p=null}if(process.env.C_SESS_FIX_652&&h&&null!=c&&(p={}),h&&null==p&&(c=null),t.r.newv&&(t.log("Treating as a new visitor","q"),c=this.o.sess=t.sess=p=null),d=t.sess=null!=c?c:{traits:null!=(u=null!=(l=_.traits)?l.cust:void 0)?u:[],sels:{},rwds:{}},"string"!=typeof(f=null!=(a=this.o.sess)?a:p)||f.startsWith("{")||(f=function(){try{return atob(f)}catch(t){}}()),s=function(){try{return JSON.parse(f,this.sm.reviver())}catch(t){}}.call(this),h&&(c=d),b(t.sess,s),t.vnAdv(),Array.isArray(i=null!=s?s.traits:void 0))for(e=0,n=i.length;n>e;e++)v=i[e],t.tAdd(v,"init")},t.prototype._post=function(t){var e,n;return e=t.out.work.splice(0),this.use_q&&e.length&&!t.dnt()&&this.h.q_add(e),this._presend(t,e,(n=this,function(){return n.h_sess_set(t),n._send(t,e),n.use_q?n.h.q_del():void 0}))},t.prototype.h_sess_set=function(t){var e,n;if(!t.dnt()&&!t.bot()){if(e=t.sess,h&&this.conf["rt:av-sels"]&&Object.assign(e.sels,t.data["v.sels"]),e.traits=t.tSti(),e.vals=t.targ,null!=this.o.sess)return;n=function(){try{return JSON.stringify(e,this.sm.replacer())}catch(t){}}.call(this),n=btoa(n),this.h.sess_set(n,t.dirty)}},b=function(t,e){return Object.assign(t,e)},t.prototype._q_send=function(t){var e,n;if(this.use_q&&!d&&(e=this.h.q_get(),d=!0,e.length))return this._presend(t,e,(n=this,function(){return n._send(t,e),n.use_q?n.h.q_del():void 0}))},t.prototype._presend=function(t,e,n){return t.ps_cb&&Array.isArray(e)&&e.length?(t.log("Waiting for presend callback","s"),t.ps_cb({},function(s){var i,r,o;if(t.log("Presend callback returned "+typeof s,"s"),s){for(i=0,o=e.length;o>i;i++)(r=e[i]).ctx&&s.vid&&(t.log("Using external id '"+s.vid+"' from presend callback","s"),r.ctx.vid=s.vid);s.traits&&t.tAdds(s.traits,"presend",e)}return n()})):n()},t.prototype._send=function(t,e){var n,s,i;switch(s=e.length,!1){case 0!==s:return;case!t.dnt():t.log("Not sending events ("+s+") due to DNT","q");break;case!t.bot():t.log("Not sending events ("+s+") because 'bot'","q");break;case!t.muted():t.log("Not sending events ("+s+") because 'muted': "+JSON.stringify(e),"q");break;default:t.log("Sending events ("+s+")","i"),n=(i=this.conf["event-queue:sqs-url"])+"?Action=SendMessage&Version=2012-11-05&MessageBody="+encodeURIComponent(JSON.stringify(e)),i.endsWith(".fifo")&&(n+="&MessageGroupId=ctrx"),this.h.beacon(n)}},t.prototype._spaInit=function(t){h&&(null==u&&(window.addEventListener("ConductricsStateChange",function(t){return function(e){return t.on(e.type,e.detail)}}(this)),window.addEventListener("ConductricsInternalState",function(t){return function(e){return t.h_sess_set(e.detail.state)}}(this))),u={state:t})},t.prototype.on=function(t,e){var n,s,i,r;switch(t){case"ConductricsStateChange":if("wax"===this.o.entry&&(null!=(i=this.conf["rt:spa-states"])?i.length:void 0)>0)return s=function(t){return function(){return t.push({t:"v",vs:e})}}(this),(n=this.conf["rt:spa-states-ms"][e])>0?setTimeout(s,n):s();break;case"ConductricsCommands":if(Array.isArray(r=null!=e?e.commands:void 0))return this.exec(r,function(){})}},a=function(t){if("string"!=typeof t)return t;try{return JSON.parse(t)}catch(t){}},t.prototype._hello=function(t){var e;t.log(_d.v.v+" build "+_d.v.b+" ("+_d.v.d+" Deploy #"+_d.v.n+" - "+new Date(1e3*_d.v.m).toUTCString()+")","i"),t.debug&&_d.v.dn&&this.h.p_get&&(e=function(){try{return this.h.p_get()}catch(t){}}.call(this))&&t.log("Deploy Target '"+_d.v.dn+"' started loading at "+Math.ceil(e.startTime)+" ms, loaded in "+Math.ceil(e.duration)+" ms ("+e.initiatorType+")","i"),t.qa()&&t.log("QA visitor detected","q")},t.prototype.dev_sessDecoded=function(t){var e;if(null==t&&(t=this.h.sess_get()),"string"==typeof t&&t.length&&"{"!==t[0])try{t=atob(t)}catch(e){t=null}return e=JSON.parse(t,this.sm.reviver()),JSON.stringify(e)},w=function(t){},y=function(t,e){switch(t){case"doc":return f(e);default:return e()}},m=function(t){var e;if(e=!0===t.abort)try{console.log("C:\\ 'Abort' flag detected; stopping.")}catch(t){}return e},t}(),(null!=(a=function(){return"undefined"!=typeof window&&null!==window?window:this}()).Conductrics?a.Conductrics:a.Conductrics={}).ClientApi=t,("undefined"!=typeof define&&null!==define?define.amd:void 0)&&define(["ClientApi"],t),("undefined"!=typeof module&&null!==module?module.exports:void 0)&&(module.exports.ClientApi=t),("undefined"!=typeof __module&&null!==__module?__module.exports:void 0)&&(__module.exports.ClientApi=t),null!=v&&(v.ClientApi=t)}).call(this);
}).call(this)}).call(this,require('_process'))
},{"../../configuration":2,"../../dom-utils":4,"../diagrams/diagrams":17,"../targeting/targeting":22,"./sess-min":14,"_process":7,"data-layers":"data-layers","harness":"harness","loader":"loader"}],12:[function(require,module,exports){
(function(){var n,e;e={},n={mouse:null,scroll:null,has_mouse:!1,moused_down:!1},exports.ExitIntent=function(){function o(){}var u,t,r,l;return o.waitForIntent=function(n,o){return null==o&&(o={}),null==o.max&&(o.max=1),o.n=0,e[n]=o,o.mouse&&t(o),o.scroll?r(o):void 0},t=function(e){var o;if(!n.mouse)return o=function(e){return e.clientY>100?(n.moused_down=!0,document.body.removeEventListener("mousemove",o)):void 0},document.body.addEventListener("mousemove",o),n.mouse=document.body.addEventListener("mouseleave",function(e){var o,t,r,l;return(o=e.clientY<20)&&n.moused_down&&(t=o&&e.clientX<100,l=function(){try{return document.referrer.split("/").slice(0,3).join("/")}catch(n){}}(),r=0===document.location.href.indexOf(l),!t||!r)?u("mouse"):void 0})},r=function(e){var o,t,r,l,i,c,s,d,m;n.scroll||(i=null,t=null,m=null,r=null,d=null!=(c=e.scroll_speed)?c:-80,l=null!=(s=e.scroll_inter)?s:100,(o=function(){return i=null,r=0})(),function(){var e;e=function(o){return n.has_mouse=!0,document.body.removeEventListener("mousemove",e)},document.body.addEventListener("mousemove",e)}(),n.scroll=window.addEventListener("scroll",function(e){if(!n.has_mouse)return r=function(){var n;return t=window.scrollY,i&&(n=t-i),i=t,clearTimeout(m),m=setTimeout(o,l),n}(),0>d&&d>r||d>0&&r>d?u("scroll"):void 0}))},u=function(n){var o,u,t;for(o in t=[],e)(u=e[o])[n]&&(u.pns>0&&l()<u.pns||(u.n++,u.n<=u.max?t.push(u.cb()):t.push(void 0)));return t},l=function(){return"undefined"!=typeof performance&&null!==performance?performance.now():void 0},o}()}).call(this);
},{}],13:[function(require,module,exports){
(function(){exports.GA=function(){function t(){}var e,n,r;return t.get=function(conf){return window[n(conf)]},t.init=function(conf){var t,e,i,u,a,c,o,l;a=conf["x-ga:gtm"],t=window,c=n(conf),u="string"==typeof conf["x-ga:gat"],i=null!=(l=conf["x-ga:gat"])?l:"t0",a&&(null==t[c]&&(t[c]=function(){var e;return(null!=(e=t[c]).q?e.q:e.q=[]).push(arguments)}),null==(e=t[c]).l&&(e.l=1*new Date)),t[c]&&(t[c]._ci||(o=function(){var e,n;return(e=t[c]).getByName(i)?void r(e.getByName(i)):(n=e.create,e.create=function(){var t,a,c,o,l;if(o=n.apply(e,arguments),u)r(e.getByName(i));else for(t=0,a=(c=e.getAll()).length;a>t;t++)l=c[t],r(l);return o})},t[c](o),t[c]._ci=!0))},r=function(t){var n;t&&!t._ci&&(n=t.get("sendHitTask"),t.set("sendHitTask",function(t){var r;return r=n(t),e(document,"ga.conductrics",t),r}),t._ci=!0)},e=function(t,e,n){var r;window.CustomEvent?r=new CustomEvent(e,{detail:n}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,n),t.dispatchEvent(r)},t.eventApplies=function(t,e){var n,r,i,u;if("event"!==e.get("hitType"))return!1;if("Conductrics"===e.get("eventCategory"))return!1;for(i=function(n){var r,i,u,a,c,o,l,g;if(r=e.get(n),"/"===(g=null!=(o=t["ga_"+n])?o:"")[0]&&"/"===g[g.length-1])return RegExp(g.slice(1,-1)).test(r);for(i=0,u=(l=g.split(",")).length;u>i;i++)switch(c=l[i],!1){case!("*"===c||c===r):return!0;case!(c.indexOf("*")>=0):return a=c.replace("*","[ \\S]*"),RegExp("^"+a+"$").test(r);default:return!1}},n=0,r=(u=["eventCategory","eventAction","eventLabel"]).length;r>n;n++)if(!i(u[n]))return!1;return!0},n=function(conf){var t,e;return null!=(t=null!=(e=conf["x-ga:gao"])?e:window.GoogleAnalyticsObject)?t:"ga"},t}()}).call(this);
},{}],14:[function(require,module,exports){
(function(){var s,t,n,r=function(s,t){return function(){return s.apply(t,arguments)}};s={p:"r",s:"ok",dp:"p"},t=946684800,exports.SM=function(){function e(s,t){this.ids=s,this.known_agents=t,this.reviver=r(this.reviver,this),this.replacer=r(this.replacer,this),this.known_traits=Object.keys(this.ids),this.ids_rev=n(this.ids)}return e.prototype.replacer=function(){var n,r,e,i,u,l,a,c,o,f;return n=(l=this).ids,r=l.ids_rev,i=l.known_agents,u=l.known_traits,e=function(s){return 0===s.indexOf("cust/")||0===s.indexOf("#")},a=function(s){return null==s&&(s=[]),s.map(function(s){var t;return null!=(t=n[s])?t:s}).filter(function(s){return u.includes(s)||r[s]||!e(s)})},c=null,o=null,f=[],function(r,e){var u,l,p,d,v,h,k,b;switch(""===r&&(o=null!=(d=(c=e).vts)?d:0,c._strs=f),e){case c.traits:e=a(e).join(" ");break;case c.sels:for(p in e={},v=c.sels)b=v[p],i.includes(p)&&(u=a(b.fs).join(" "),-1===(l=f.indexOf(u))&&(l=f.push(u)-1),e[p]=Object.assign({},b,{a:void 0,fs:l,p:b.p===s.p?void 0:b.p,s:b.s===s.s?void 0:b.s,dp:b.dp===s.dp?void 0:b.dp}));break;case c.rwds:for(p in e={},h=c.rwds)b=h[p],i.includes(p)&&(e[null!=(k=n[p])?k:p]=b);break;default:("ts"===r||"pvts"===r||"tvts"===r)&&e>t&&(e-=o)}return e}},e.prototype.reviver=function(){var n,r,e,i;return this,this.ids,n=this.ids_rev,r=null,e=null,i=null,function(u,l){var a,c,o,f,p,d,v,h,k,b;switch(null===r&&(e=null!=(o=(r=this).vts)?o:0,i=null!=(f=r._strs)?f:[]),k=function(s){return"number"==typeof s&&(s=i[s]),"string"==typeof s?s.split(" ").map(function(s){var t;return null!=(t=n[s])?t:s}):s},u){case"":delete r._strs;break;case"_strs":return;case"traits":case"fs":l=k(l);break;case"sels":for(c in h={},l)b=l[c],h[a=null!=(p=n[c])?p:c]=Object.assign({a:a},s,b);l=h;break;case"rwds":for(c in v={},l)b=l[c],v[a=null!=(d=n[c])?d:c]=b;l=v;break;case"ts":case"pvts":case"tvts":t>=l&&(l=e+l)}return l}},e}(),n=function(s){var t,n;for(t in n={},s)n[s[t]]=t;return n}}).call(this);
},{}],15:[function(require,module,exports){
(function(){var e,conf;e=require("../../configuration"),conf=e.merged(),function(){var e,n,t,r,a,i;if(null!=("undefined"!=typeof window&&null!==window&&null!=(i=window.opener)?i.postMessage:void 0))n=function(e){var n,t;return(n=document.createElement("script")).src=e,(t=a())&&(n.nonce=t),document.getElementsByTagName("head")[0].appendChild(n)},a=function(){var e;return null!=(e=document.querySelector("script[nonce]"))?e.nonce:void 0},r=function(e){switch(null==e&&(e=""),!1){case!e.startsWith("https://"):return e;case!e.startsWith("//"):return"https:"+e;default:return"https://"+e}},e=r(conf["admin-ui-server-d2:url"]),t=new URL(e).origin,window.addEventListener("message",function(e){var r;if(e.origin===t)switch(null!=(r=e.data)?r.type:void 0){case"wa-author-load":return n(t+"/admin/"+conf["acc:code"]+"/embed/wa/wa-author-time"),n(t+"/js/mutation-summary.js"),n(t+"/js/css-parse.js")}}),window.opener.postMessage({type:"wa-rt-ready",pageUrl:document.location.href},t)}()}).call(this);
},{"../../configuration":2}],16:[function(require,module,exports){
(function(){var e,t,n;require("../../data"),e=require("../../utils").Strings;try{n=require("log-styles").logger}catch(e){}t=function(e){try{return n("C:\\ "+e,"q")}catch(e){}},function(){var n,o,r,c,i,l,s,a,u,d,f,h,m,w,p,g,v,y;if(("undefined"!=typeof document&&null!==document?document.querySelector:void 0)&&(h="c-conductrics",(m=window.location.hash&&window.location.hash.indexOf(h)>=0?window.location.hash.slice(1):window.location.search).indexOf(h)>=0||m.indexOf("__c-token")>=0)){for(f=e.qs(m),i=0,l=(w=["abort","muted","qa","debug","new","entry-enforce","preview-only"]).length;l>i;i++)if("true"===(p=y=f[s=h+"-"+(r=w[i])])||"false"===p)try{"abort"===r||"qa"===r||"entry-enforce"===r||"preview-only"===r?sessionStorage.setItem(s,y):localStorage.setItem(s,y),t("Preview: set "+s+" to "+y)}catch(e){}null!=(v=f[h+"-preview"])&&(""===v?(t("Preview: clearing "+h+"-sels"),sessionStorage.removeItem(h+"-sels")):(d=function(){try{return decodeURIComponent(decodeURIComponent(unescape(atob(v))))}catch(e){}}())&&d.length>0&&(t("Preview: set "+h+"-sels to: "+d),sessionStorage.setItem(h+"-sels",d))),"true"===f[h+"-reload"]?function(){var e,t,n;for(e in n=""+window.location.href,f)0===e.indexOf(h)&&(t=e+"="+encodeURIComponent(f[e]),n=(n=n.replace("&"+t,"")).replace(""+t,""));"?"===n[n.length-1]&&(n=n.substr(0,n.length-1)),document.location.replace(n)}():(g=_d.rt,c=function(){var e,t;return(e=document.querySelector("script[nonce]"))?null!=(t=e.nonce)?t:e.getAttribute("nonce"):void 0},(u=f["__c-token"])&&(o="c-conductrics-preview-"+u,null==document.querySelector("script#"+o))&&((n=document.createElement("script")).id=o,n.src=g.s+"&__c-token="+u,(a=c())&&(n.nonce=a),document.head.appendChild(n)))}}()}).call(this);
},{"../../data":3,"../../utils":23,"log-styles":"log-styles"}],17:[function(require,module,exports){
(function(){var t,n,e,r,s=function(t,n){return function(){return t.apply(n,arguments)}},o=[].indexOf||function(t){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===t)return n;return-1};e=require("../../utils"),t=require("../../bots").Bots,n=module.exports;try{r=require("log-styles").logger}catch(t){}exports.M=function(){function t(t){this.conf=t}var n,r;return t.prototype.getNodes=function(t){var n;return null!=(n=t.items)?n:[]},t.prototype.active=function(t,n){return!0},t.prototype.getConds=function(t,n){return t.conds},t.prototype.process=function(t,n){},t.prototype.isId=e.Strings.isId,t.prototype.wait=function(t,n){return setTimeout(n,t)},t.prototype.clone=function(t){return JSON.parse(JSON.stringify(t))},t.prototype.sel=function(t){return r(t.selector,t.so)},t.prototype.closest=function(t,e){return n(t,e)},r=function(t,n){var e,r,s,o,i,u;null==n&&(n={});try{s=document.querySelectorAll(t)}catch(t){}if(!s)return[];if(n.t){for(e=[],o=0,i=s.length;i>o;o++)(null!=(u=(r=s[o]).textContent)?u.indexOf(n.t):void 0)>=0&&e.push(r);s=e}return(n.i>0||n.n>0)&&(s=Array.prototype.slice.call(s,n.i,n.n)),s},n=function(t,e){if(Element.prototype.closest)return t.closest(e);try{if(t.matches(e))return t;if(t.parentNode)return n(t.parentNode,e)}catch(t){}return null},t.prototype.addCSS=function(t,n,e){var r,s;null==e&&(e=null),"undefined"!=typeof document&&null!==document&&((s=document.createElement("style")).type="text/css",s.className=n,e&&(s.id=e),null!=s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t)),(r=this.getStyleNonce())&&(s.nonce=r),document.getElementsByTagName("head")[0].appendChild(s))},t.prototype.getStyleNonce=function(){var t,n,e,r;return void 0===_d.style_nonce&&(_d.style_nonce=null!=(t=null!=(n=null!=(e=document.querySelector("style[nonce]"))?e.nonce:void 0)?n:null!=(r=document.querySelector("script[nonce]"))?r.nonce:void 0)?t:null),_d.style_nonce},t}(),n.Runner=function(){function t(t,e){this.conf=t,this.ph=e,this.mf=new n.MFactory(this.conf)}var r;return t.prototype.run=function(t,n){return this.exec(t,n)},t.prototype.exec=function(t,n){return this.walk(t,n),this.ph(n)},t.prototype.walk=function(t,n){var e,s,o,i,u,l;if(null!=(i=this.mf.provide(t))&&r(i,t,n)&&("skip"!==(u=i.process(t,n,this))&&!(!0===u)))for(s=0,o=(l=i.getNodes(t)).length;o>s;s++)e=l[s],this.walk(e,n)},t.prototype.find=function(t,n,e,s){var o,i,u,l,a;if(null==s&&(s=[]),null==(l=this.mf.provide(t)))return!1;if(!r(l,t,n))return!1;for(e(t)&&s.push(t),i=0,u=(a=l.getNodes(t)).length;u>i;i++)o=a[i],this.find(o,n,e,s);return s},t.prototype.findOne=function(t,n,e){var r,s,o,i,u,l;if(e(t))return t;if(null!=(u=this.mf.provide(t)))for(o=0,i=(l=u.getNodes(t)).length;i>o;o++)if(r=l[o],s=this.findOne(r,n,e))return s},t.prototype.resume=function(t,n){var e;return e={module:"root",items:t.items.concat()},this.exec(e,n)},r=function(t,n,r){var s,o;switch(!1){case!!t.active(n,r):case!((null!=(o=s=t.getConds(n,r))?o.length:void 0)>0&&!e.Conds.evalConds(s,r,n.module)):return!1;default:return!0}},t}(),exports.Conds=e.Conds,n.MFactory=function(){function t(t){this.conf=t}return t.prototype.provide=function(t){var n;n=t.module;try{return new(0,require("./modules/"+n).m)(this.conf)}catch(t){return console.log("Can't provide '"+n+"'","e"),null}},t}(),n.State=function(){function n(n,r){var i,u,l,a,c,d,p,f,h,v,y,g,m,w,x;if(this.conf=n,null==r&&(r={}),this.tAdd=s(this.tAdd,this),this.r=r,this.out={status:200,res:[],sel:{},log:[],work:[],ext:{}},w=null!=(p=r.v)?p:{},x=Array.isArray(w.vid)&&w.vid.length>0?w.vid.join("||"):w.vid,l=!0===this.conf["qa:v-qa"]||"true"===(f=w.qa)||!0===f,this.debug=r.debug||this.conf["js:debug-all"],this.dirty={},this.pvd={},this.data={"v.ip":w.ip,"v.ua":w.ua,"v.vid":x,"v.ref":w.ref,"v.tzo":w.tzo,"v.ts":w.ts>9999999999?Math.floor(w.ts/1e3):w.ts>0?Math.floor(w.ts):null,"v.traits":["*"],"v.qa":l,"v.bot":new t(this.conf).detect(w.ua),"v.lang":w.lang,ud:{},"d.ep":null!=(h=r.ep)?h:"wax","d.dc":function(){var t;return null!=(t=r.dt)?t:_d.v.d},selex:function(t){try{return null!=document.querySelector(decodeURIComponent(t))}catch(t){}},selval:function(t){try{return document.querySelector(decodeURIComponent(t)).value}catch(t){}},seltc:function(t){try{return document.querySelector(decodeURIComponent(t)).textContent}catch(t){}},vels:function(t){return function(){return t.vels()}}(this),pvels:function(t){return function(){return t.pvels()}}(this),gh:function(t){return function(n){return t.rwdHas(n)}}(this),gc:function(t){return function(n){return t.rwdN(n)}}(this),gse:function(t){return function(n){return t.rwdEls(n)}}(this),wf:function(t){var n;try{return"function"==typeof(n=e.nested(t,window))?n():n}catch(t){}},dl:function(t){var n;return null!=(n=r._dl)?n.get(t):void 0},st:function(t){var n,r,s,i,u;try{return(r="="===t[0]&&o.call(t,":")>=0)&&(i=t.slice(1).split(":"),t=i[0],s=i[1]),u="function"==typeof(n=null!=n?n:require("harness")).st_get?n.st_get(t):void 0,r&&(u=e.Obj.read(JSON.parse(u),s)),u}catch(t){}},qfv:function(t){return function(n){var e;return(e=t.qs)?e.values[n]:null}}(this)},this.dnt(w.dnt),this.loc(null!=(v=w.loc)?v:{}),this.data["v.sid"]=w.sid,this.ud(r.ud),"string"==typeof this.r.sels)for(a=0,c=(y=this.r.sels.split(",")).length;c>a;a++)i=(g=y[a].split(":"))[0],u=g[1],this.selPre(i,u);this.conf["dl:cdl"]&&("undefined"!=typeof window&&null!==window?this._cdl=null!=window[d=this.conf["dl:cdl-key"]]?window[d]:window[d]=[]:this._cdl=this.out.ext.cdl=[]),this.tAdds(w.traits,"api"),this.vstate(null!=(m=w.vstate)?m:"#init")}var i,u,l,a;return n.prototype._conf=function(t){return this.conf[t]},u=function(t,n){var e;return null!=(e=_d.A[t])?e.a.c[n]:void 0},n.prototype.a_dc=function(t){var n;return null!=(n=_d.A[t])?n.dc:void 0},n.prototype.c_name=function(t,n){var e;return(e=_d.A[t])&&e.cn?{a:e.n,c:e.cn[n]}:{a:t,c:n}},n.prototype.loc=function(t){return t?Object.assign(this.data,{"v.loc":t,"v.loc.path":t.pathname,"v.loc.qs":e.Strings.qs(t.search),"v.loc.qx":t.protocol+"//"+t.host+t.pathname}):void 0},n.prototype.ud=function(t){return Object.assign(this.data.ud,l(t))},n.prototype.stepSet=function(t){return this.step=t},n.prototype.resp=function(t){return this.out.res.push(t)},n.prototype.ts=function(){var t;return null!=(t=this.data["v.ts"])?t:a()},n.prototype.respGet=function(t){var n,e,r,s;for(e=0,r=(s=this.out.res).length;r>e;e++)if((n=s[e]).a===t)return n},n.prototype.keep=function(){try{return window.dispatchEvent(new CustomEvent("ConductricsInternalState",{detail:{state:this}}))}catch(t){}},n.prototype.pool=function(){return this.qa()?this.conf["qa:env"]:this.conf["acc:env"]},n.prototype.done=function(t){var n,r,conf,s,o,i,u,l;conf=this.conf,i=null!=(u=t.dp)?u:this.pool(),n=conf["acc:code"],null!=t.fs&&(o=conf["rt:tr-ids"],t.fs=t.fs.map(function(t){var n;return null!=(n=o[t])?n:t})),null==t.ds&&(t.ds=_d.rt.ds),t.di=_d.v.di,s=t.ctx={},conf["pass:ua"]&&(s.ua=this.data["v.ua"]),conf["pass:ip"]&&(s.ip=this.data["v.ip"]),conf["pass:loc"]&&(s.loc=null!=(l=this.data["v.loc"])?l.href:void 0),conf["pass:vid"]&&(s.vid=this.data["v.vid"],!s.vid&&conf["pass:sid"]&&(s.vid=this.data["v.sid"])),conf["pass:sess"]&&(s.sid=this.data["v.sid"]),(conf["pass:qa"]||conf["pass:qax"])&&(s.qa=this.qa()),null!=t.a&&(t.a=e.Strings.qualify(t.a,n,null!=r?r:i)),this.out.work.push(t)},n.prototype.dnt=function(t){return"boolean"==typeof t&&(t&&this.qa()&&(this.log("DO-NOT-TRACK flag detected, but ignoring because QA Mode is in effect.","e"),t=!1),t&&this.log("DO-NOT-TRACK visitor detected; will not persist or send any data.","e"),this.data["v.dnt"]=t),!0===this.data["v.dnt"]},n.prototype.bot=function(){return null!=this.data["v.bot"]},n.prototype.ep=function(t){var n;return n=this.data,null!=t?(this.log("Entry point "+t,"i"),n["d.ep"]=t):n["d.ep"]},n.prototype.muted=function(){return this.r.muted},n.prototype.reread=function(){return this.data["v.sels"]=this.sess.sels},n.prototype.selAdd=function(t){var n,e;if(null!=(null!=t?t.a:void 0)&&null!=t.c)switch(e=this.data["v.sels"],this.out.sel[t.a]=t,n=e[t.a],t.p){case"s":if(n&&n.s!==t.s)return n.s=t.s,this.dirty.s=!0;break;default:return e[t.a]=t,null!=this.sess.rwds[t.a]&&(this.sess.rwds[t.a]={}),this.dirty.s=!0}},n.prototype.selDel=function(t){return this.selHas(t)?(this.log("Discarding selection for agent "+t,"a"),delete this.data["v.sels"][t],this.sess.rwds[t]={},this.dirty.s=!0):void 0},n.prototype.selGet=function(t){var n,e,r,s,o;return o=null!=(e=u(t,"a:sd-ttl"))?e:this.conf["a:sd-ttl"],n=this.data["v.sels"][t],s=this.ts(),null!=n&&n.ts+o>=s&&n.ts>=(null!=(r=_d.A[t])?r.drts:void 0)?(null==n.fs&&(n.fs=this.tr().concat()),n):void 0},n.prototype.selHas=function(t){return null!=this.data["v.sels"][t]},n.prototype.selRed=function(t,n){return n instanceof Array?(this.data["a.sel-reduce:"+t]=n,void this.log("Reducing choices for "+t+" to ["+n+"]","a")):this.data["a.sel-reduce:"+t]},n.prototype.selPre=function(t,n){return"string"==typeof n?(this.data["a.sel-pre:"+t]=n,this.selRed(t,[n])):this.data["a.sel-pre:"+t]},n.prototype.enfVcPre=function(){return!0===this.r.enforce_entry},n.prototype.selsOnly=function(){return!0===this.r.sels_only},n.prototype.rwdAdd=function(t,n,e){var r,s;return r=this.sess.rwds[t],Array.isArray(r[n])&&(r[n]=void 0),null==(s=null!=r[n]?r[n]:r[n]={}).n&&(s.n=0),s.n+=1,null==s.v&&(s.v=0),s.v+=e,s.ts=a(),this.dirty.r=!0},n.prototype.rwdHas=function(t){return this.rwdN(t)>0},n.prototype.rwdN=function(t){var n,e,r,s;for(n in e=0,r=this.sess.rwds)(s=r[n][t])&&s.n>e&&(e=s.n);return e},n.prototype.rwdEls=function(t){var n,e,r;for(n in e=this.sess.rwds)if((r=e[n][t])&&r.ts>0)return a()-r.ts;return null},n.prototype.rwdCnt=function(t,n){var e,r,s;return null!=(e=null!=(r=this.sess.rwds[n])&&null!=(s=r[t])?s.n:void 0)?e:0},n.prototype.polSet=function(t,n){return"string"!=typeof t||"a"!==n&&"r"!==n&&"c"!==n&&"p"!==n&&"b"!==n&&"x"!==n||(this.data["a.sel-pol:"+t]=n,0)?void 0:this.log("Setting policy for "+t+" to (policy "+n+")","a")},n.prototype.polHas=function(t){return null!=this.polGet(t)},n.prototype.polGet=function(t){return this.data["a.sel-pol:"+t]},n.prototype.vstate=function(t){var n,e,r,s,i;return e=this.data,0===arguments.length?e["v.vstate"]:(i=null!=(s=this.conf["rt:spa-states"])?s:"",n=this.vstate(),o.call(i,t)>=0&&o.call(this.conf["rt:spa-states-pv"],t)>=0&&(t!==n||o.call(this.conf["rt:spa-states-m"],t)>=0)&&(this.pvd={}),(r=o.call(i,t)>=0&&t!==n)&&(null!=e["v.vstate"]&&this.log("view-state is now '"+t+"' (was '"+n+"')","x"),"#init"!==t&&this.mdn()&&this.loc(window.location),e["v.vstate"]=t),r)},n.prototype.qa=function(t){return"boolean"==typeof t?(this.log("QA Mode: "+t,"q"),this.data["v.qa"]=t):!0===this.data["v.qa"]},n.prototype.tr=function(){return this.data["v.traits"]},n.prototype.tFor=function(t){var n,e,r,s,i,u,l,a,c,d;if(e=null!=(l=_d.A[t])?l:{},s=null!=(a=e.fs)?a:this.tr(),d=this.tr().filter(function(n){var e;return"*"===n||(e=n.split(":")[0],o.call(s,e)>=0)||0===n.indexOf("cust/c-i-")&&n!=="cust/c-i-"+t}).slice(0,this.conf["targ:traits-agent-max"]),e.aa)for(i=0,u=(c=e.aa).length;u>i;i++)(n=c[i]).tr&&(r=this.selGet(n.aa))&&d.push("cust/"+n.tr+":"+r.c);return d},n.prototype.ttFor=function(t){var n,e;return null!=(e=(null!=(n=_d.A[t])?n:{}).fs)?e:[]},n.prototype.tExt=function(){return this.tr().filter(function(t){return 0===t.indexOf("cust/")&&-1===t.indexOf("cust/c-i-")})},n.prototype.tSti=function(){return this.tr().filter(function(t){var n;return 0===t.indexOf("cust/")&&(n=t.split(":")[0],o.call(_d.rt.eph,n)<0)})},n.prototype.tMap=function(t){var n,e,r,s,o,i;for(o={"*":1},e=this.conf["rt:tr-ids"],r=0,s=t.length;s>r;r++)o[null!=(i=e[n=t[r]])?i:n]=1;return o},n.prototype.tHas=function(t){return t=i(t),o.call(this.data["v.traits"],t)>=0},n.prototype.ttHas=function(t){return this.data["v.traits"].some(function(n){return n.split(":")[0]===t})},n.prototype.tAdds=function(t,n,e){var r,s,i,u,l,a;if(Array.isArray(t))for(r=0,u=t.length;u>r;r++)l=t[r],this.tAdd(l,n,e);else if("object"==typeof t)for(s in t)switch(a=t[s],i=o.call(s,":")>=0,!1){case!(i&&a):this.tAdd(""+s,n,e);break;case!(!i&&"string"==typeof a):this.tAdd(s+":"+a,n,e)}},n.prototype.tAdd=function(t,n,e){var r,s,u,l,a,c,d,p,f,h,v,y,g,m,w;if(null==e&&(e=null),c=(f=(t=i(t)).split(":"))[0],m=f[1],"def"===n){if(this.ttHas(c))return}else if("init"===n&&o.call(_d.rt.eph,c)>=0)return;if(!m)return!1;if(t.indexOf(" ")>-1&&(t=(c=c.trim())+":"+(m=m.trim())),(r=null!=(v=(g=null!=(h=_d.T[c])?h:{}).al)?v:{})[m]&&(this.log("Trait alias '"+m+"' mapped to value '"+r[m]+"'","t"),t=c+":"+(m=r[m])),(l=0===c.indexOf("cust/"))&&!this.conf["rt:tr-ids"][t])return this.log("Unknown trait '"+t+"' ("+n+")","t"),!1;if(this.tHas(t))return!1;if(u="init"===n,null!=(s=this.data["targ."+c]))switch(p=null!=(y=g.me)?y:"l"){case"f":if(!u)return!1;this.tDel(c+":"+s);break;case"l":if(u)return!1;this.tDel(c+":"+s)}if(this.data["targ."+c]=m,this.data["v.traits"].push(t),u||l&&(this.dirty.t=!0),this.log("Added trait '"+t+"' ("+n+")","t"),e&&"l"===p)for(a=0,d=e.length;d>a;a++)w=e[a],this.tApp(c,m,w);return!0},n.prototype.tApp=function(t,n,e){var r,s,i,u,l;e.a&&(r=e.a.split(":")[1],o.call(this.ttFor(r),t)>=0&&(i=this.selGet(r))&&(u=t+":"+n,-1===i.fs.indexOf(u)&&(this.log("Post-applying trait '"+u+"' for selection '"+i.c+"' for agent '"+r+"'","t"),l=t+":",s=function(t){return!t.startsWith(l)},e.fs=e.fs.filter(s),e.fs.push(u),i.fs=i.fs.filter(s),i.fs.push(u))))},n.prototype.tDel=function(t){var n,e,r;return t=i(t),!!this.tHas(t)&&(n=(r=t.split(":"))[0],r[1],null!=n&&(this.data["targ."+n]=void 0,(e=this.data["v.traits"].indexOf(t))>-1&&this.data["v.traits"].splice(e,1),this.log("Removed trait '"+t+"'","t"),!0))},i=function(t){switch(!1){case"*"!==t:return"*";case o.call(t,"/")>=0:return"cust/"+t;default:return t}},n.prototype.plAdd=function(t){var n,e,r;return n=null!=(e=null!=(r=this.data["v.pl"])?r.split(","):void 0)?e:[],o.call(n,t)<0&&n.push(t),this.data["v.pl"]=n.join(",")},n.prototype.vn=function(){var t;return null!=(t=this.sess.vn)?t:0},n.prototype.vnAdv=function(){var t,n,e,r,s;t=null!=(e=(s=this.sess).vts)?e:0,(n=a())>t+this.conf["a:vis-ttl"]&&(t>0&&(s.pvts=t),s.vn=(null!=(r=s.vn)?r:0)+1,s.tvts=n),s.vts=n,this.log("Visit #"+s.vn,"i")},n.prototype.vels=function(){var t,n;return(t=a())-Math.min(null!=(n=this.sess.tvts)?n:0,t)},n.prototype.pvels=function(){var t,n;return(t=a())>(n=this.sess.pvts)?t-n:null},n.prototype.log=function(t,n){return this.out.log.push(t),this.debug?(t="C:\\ ["+this.out.log.length+"] "+t,r?r(t,n):console.log(t)):void 0},n.prototype.cdl_push=function(t){return this._cdl.push(t)},n.prototype.mdn=function(){return this.r.mdn},n.prototype.qualify=function(t){return e.Strings.qualify(t,this.conf["acc:code"],this.conf["acc:env"])},a=function(){return e.Dates.stamp()},l=function(t){var n,e,r,s;if(t){for(n in r={},t)("string"==(e=typeof(s=t[n]))||"number"===e||"boolean"===e)&&(r[n]=s);return r}},n}(),exports.Reapplyer=function(){function t(t,n,e,r){this.cb=t,this.targets=null!=n?n:[],this.opts=null!=e?e:{characterData:!0,subtree:!0,attributes:!0,childList:!0},this.max=null!=r?r:100,this.on=s(this.on,this);try{this.o=new MutationObserver(this.on)}catch(t){}this.n=0}return t.prototype.start=function(){var t,n,e,r,s;for(t=0,n=(e=this.targets).length;n>t;t++)s=e[t],this.o&&1===s.nodeType&&null!=(r=this.o)&&r.observe(s,this.opts)},t.prototype.stop=function(){var t;return null!=(t=this.o)?t.disconnect():void 0},t.prototype.on=function(t,n){return this.n++<this.max?(this.stop(),this.cb(),this.start()):void 0},t}()}).call(this);
},{"../../bots":1,"../../utils":23,"harness":"harness","log-styles":"log-styles"}],18:[function(require,module,exports){
(function(){exports.ScriptReg=function(){function t(){this.cbs={}}var e,n,c;return t.prototype.load=function(t,e){return this._load(t,n(t),e)},t.prototype.load_lang=function(t,n){var c;return(c=_wa_cjs[t])?n(c):void this._load(t,e(t),function(){return n(_wa_cjs[t])})},t.prototype._load=function(t,e,n){var o,r;return document.querySelector("script.c-wa[id='"+t+"']")?n():(this.cbs[t]=n,(o=document.createElement("script")).src=e,o.id=t,o.class="c-wa",(r=c())&&(o.nonce=r),void document.getElementsByTagName("head")[0].appendChild(o))},t.prototype.preload=function(t){var e,o;(e=document.createElement("link")).rel="preload",e.as="script",e.href=n(t),(o=c())&&(e.nonce=o),document.getElementsByTagName("head")[0].appendChild(e)},t.prototype.register=function(t,e){var n;"function"==typeof e&&(n=this.cbs[t])&&(_wa_cjs[t]=e,this.cbs[t]=null,n())},t.prototype.data=function(t,e){var n;null!=e&&(n=this.cbs[t])&&(_wa_cjs[t]=e,this.cbs[t]=null,n())},n=function(t){return _d.rt.js+"/"+t+"?apikey="+_d.acc.k},e=function(t){return _d.rt.la+"/"+t+"?apikey="+_d.acc.k},c=function(){var t,e;return(t=document.querySelector("script[nonce]"))?null!=(e=t.nonce)?e:t.getAttribute("nonce"):void 0},t}()}).call(this);
},{}],19:[function(require,module,exports){
(function(){var e,n=[].indexOf||function(e){for(var n=0,t=this.length;t>n;n++)if(n in this&&this[n]===e)return n;return-1};exports.dl_eventMsgApplies=function(n,t,r,i){var l;return!!n&&(((r=null!=(l=r.eventInfo)?l:r).event===n||r.eventAction===n||r.eventName===n)&&e(t,r,i))},e=function(e,t,r){var i,l,s,u,f,o,v;if(null==e&&(e=[]),0===e.length)return!0;for(i=0,f=e.length;f>i;i++){if(l="."===(u=e[i]).k[0],s="/"===u.s[0]&&"/"===u.s[u.s.length-1],null==(v=l?t[u.k.substr(1)]:r.get(u.k)))return!1;if(s){if(!RegExp(u.s.slice(1,-1)).test(v))return!1}else if(o=""+v,n.call(u.s.split(","),o)<0)return!1}return!0}}).call(this);
},{}],20:[function(require,module,exports){
(function(){exports._resolve=function(e,s,a){var r,t,c,n,u;return u=s+60*a,isFinite(u)?(t=new Date(1e3*u),r=t.getUTCDay(),c=t.getUTCHours(),n=60*c+t.getUTCMinutes(),function(){switch(e){case"wp":switch(r){case 0:case 6:return"we";default:return"wd"}break;case"dp":switch(c){case 6:case 7:case 8:case 9:case 10:case 11:return"m";case 12:case 13:case 14:case 15:case 16:return"a";case 17:case 18:case 19:case 20:return"e";default:return"n"}break;case"d":return["su","mo","tu","we","th","fr","sa"][r];case"h":return c;case"m":return n;case"z":return Math.floor(a/60);case"ts":return s}}()):null}}).call(this);
},{}],21:[function(require,module,exports){
(function(){exports.registry=function(){function n(conf){this.conf=conf}return n.prototype.getPlugin=function(n,e,t){var o,r;try{if(o=require("./plugins/"+n).p,!0===e&&!0!==r.sync)return;return(r=new o(this.conf))&&(r.harness=t),r}catch(e){return e,"undefined"!=typeof console&&null!==console&&console.log("Plugin '"+n+"' unavailable","e"),null}},n}()}).call(this);
},{}],22:[function(require,module,exports){
(function(){var t,n,r,e,l=[].indexOf||function(t){for(var n=0,r=this.length;r>n;n++)if(n in this&&this[n]===t)return n;return-1};r=require("../../utils"),t=require("./registry"),(n=exports).Plugin=function(){function t(){}return t.prototype.ttl=function(t){return 3600},t.prototype.as_code=function(t){return null!=t?t.replace(/[^A-Za-z0-9_-]/g,"-"):void 0},t.prototype.active=function(t){return!0},t.prototype.resolve=function(t,n,r,e){return e()},t}(),n.Targeter=function(){function n(n,r,e){this.conf=n,this.harness=r,this.sync_only=e,this.registry=new t.registry(this.conf),this.mode=null!=this.harness?"b":"s",this.account=null}return n.prototype.resolve=function(t,n,u){var o,s,i,a,c,d,v;return o="undefined"!=typeof _dd&&null!==_dd&&_dd.targ&&_dd.targ.v?_dd.targ.v:{},(null!=n?n.length:void 0)>0?(c={values:{}},s=null!=t.targ?t.targ:t.targ=null!=(i=null!=(a=t.sess)?a.vals:void 0)?i:{},this.sync_only&&t.log("In sync mode; async targeting lookups will be skipped.","t"),d=[],v=r.Dates.stamp(),e(n,function(n){return function(r,e){var u,i,a,f,g,h,p,y;return null!=(g=o[r])?(c.values[r]=g,e(!1,c)):(a=(h=r.split("/"))[0],u=h[1],(f=n.registry.getPlugin(a,n.sync_only,n.harness))?(f.account=n.account,f.active(t)?(y=f.ttl(u),void 0!==s[r]&&y>0&&s[r].ts+y>v?(c.values[r]=s[r].v,e(!1,c)):(i=null!=(p=f.constructor.modes)?p:[],"b"===n.mode&&l.call(i,"b")<0&&l.call(i,"s")>=0?(d.push(r),e(!1,c)):f.resolve(t,u,s[r],function(t,u){return t?e(t):(c.values[r]=u,s[r]=null!=u&&y>0?{v:u,ts:v}:void 0,null===u&&"b"===n.mode&&l.call(i,"s")>=0&&d.push(r),e())}))):e()):e())}}(this),function(n){return function(e){var l,conf,o,i,a,f,g,h,p,y,_,m;if(e)return u(e);if(conf=n.conf,0===d.length)return u(!1,c);if(y=function(t,n){s[t]={v:null!=n?n:null,ts:v}},p=conf["rt:sl-rate"],_=r.Rand.coin(p),t.log("Resolve ["+d+"] on server? "+_+" ("+p+")","t"),!_){for(i=0,f=d.length;f>i;i++)l=d[i],y(l,null);return u(!1,c)}for(m=conf["targ:lookup-url"]+"?codes="+d.join(",")+"&apikey="+_d.acc.k+"&vid="+t.data["v.vid"]+"&dt="+t.data["d.dc"](),a=0,g=(h=["ua","ip"]).length;g>a;a++)o=h[a],null!=t.data["v."+o]&&(m=m+"&"+o+"="+escape(t.data["v."+o]));return n.harness.http("GET",m,conf["targ:ext-tms"],function(n,r){var e,o,s,i,a,v,f;if(n)return t.log("Could not resolve: "+d+" ("+n+")","t"),u(!1,c);try{for(o=JSON.parse(r).data,v=[],s=0,i=d.length;i>s;s++)l=d[s],f=null!=(a=o.values[l])?a:null,t.log("Resolved on server: '"+l+"' ("+f+")","t"),null==(e=c.values)[l]&&(e[l]=f),v.push(y(l,f));return v}finally{return u(!1,c)}})}}(this))):u(!1,{})},n}(),n.geo_dm=function(conf,t){var n;switch(n=null!=conf?conf["acc:c-dom"]:void 0,!1){case void 0!==n:case null!=t&&""!==t:return"x";case l.call(n,t)<0:return"d";default:return"i"}},e=function(t,n,r){var e,l,u;return l=-1,u=t.length,(e=function(){return++l===u?r():n(t[l],function(t){return t&&r(t),e()})})()}}).call(this);
},{"../../utils":23,"./registry":21}],23:[function(require,module,exports){
(function (process){(function (){
(function(){var n,t=[].slice,r=[].indexOf||function(n){for(var t=0,r=this.length;r>t;t++)if(t in this&&this[t]===n)return t;return-1};switch(n={},!1){case"undefined"==typeof define||null===define:define(function(){return n});break;case"undefined"==typeof module||null===module:module.exports=n}n.Obj=function(){function n(){}return n.extend=function(){var n,r,e,i,o,u;for(n=arguments[0],r=0,i=(u=2<=arguments.length?t.call(arguments,1):[]).length;i>r;r++)for(e in o=u[r])n[e]=o[e];return n},n.read=function(n,t){var r;for(r=t.split(".");r.length&&(n=n[r.shift()]););return n},n}(),n.Dates=function(){function n(){}return n.now=function(){var n;return null!=(n="function"==typeof Date.now?Date.now():void 0)?n:(new Date).getTime()},n.stamp=function(){return Math.floor(this.now()/1e3)},n}(),n.Rand=function(){function n(){}return n.pick=function(n,t){var r,e,i,o,u,f;for(u=0,e=0,i=t.length;i>e;e++)u+=t[e];for(r in 0===u&&(t=n.map(function(n){return 1}),u=n.length),o=Math.random()*u,f=0,t)if((f+=t[r])>o)return n[r]},n.pickn=function(n,t,r){var e,i,o,u,f;for(r=Math.min(r,n.length),n=n.concat(),t=t.concat(),u=[],e=0,f=r;f>e;e+=1)i=this.pick(n,t),u.push(i),o=n.indexOf(i),n.splice(o,1),t.splice(o,1);return u},n.coin=function(n){return n>1||n>=0&&this.pick([!0,!1],[n,1-n])},n}(),n.Conds=function(){function t(){}var e;return t.evalConds=function(r,e,i){var o,u,f,l,c,a,s,h,d;if(!((null!=r?r.length:void 0)>0))return!1;if(s=null!=(r=r.concat())[r.length-1].mode?r.pop():{mode:"all"},0===r.length)return"all"===(d=s.mode)||"any"===d;if("sets"===s.mode)return r.length>0&&r.every(function(t){return n.Conds.evalConds(t,e,i)});if("setsor"===s.mode)return r.some(function(t){return n.Conds.evalConds(t,e,i)});switch(s.mode){case"all":for(u=0,f=r.length;f>u;u++)if(o=r[u],!t.evalCond(o,e,i))return!1;return!0;case"any":for(a=0,l=r.length;l>a;a++)if(o=r[a],t.evalCond(o,e,i))return!0;return!1;case"none":for(h=0,c=r.length;c>h;h++)if(o=r[h],t.evalCond(o,e,i))return!1;return!0;default:throw Error("Unknown conds mode '"+s.mode+"'")}},t.evalCond=function(r,e,i){var o,u,f,l,c,a,s;return null==i&&(i=""),u=r[0],l=r[1],s=r[2],u=n.Strings.interpolate(u,e.data),s=n.Strings.interpolate(s,e.data),("gt"===l||"gte"===l||"lt"===l||"lte"===l)&&("string"==typeof u&&(u=parseFloat(u)),"string"==typeof s&&(s=parseFloat(s))),c=null!=(a="function"==typeof(o=t.ops)[l]?o[l](u,s):void 0)&&a,"undefined"!=typeof process&&null!==process&&(f=c?"ct":"cf",e.log("Condition "+c+": "+r+" ("+u+") ("+s+") ["+i+"]",f)),c},t.ops={is:function(n,t){return n===t},isnt:function(n,t){return n!==t},mp:function(t,r){return!0===n.Strings.pmatch(t,r,!0)},"mp-not":function(t,r){return!1===n.Strings.pmatch(t,r,!0)},gt:function(n,t){return n>t},lt:function(n,t){return t>n},gte:function(n,t){return n>=t},lte:function(n,t){return t>=n},inr:function(n,t){var r;return Array.isArray(t)&&t[0]<=(r=+n)&&r<=t[1]},ninr:function(n,t){return!(Array.isArray(t)&&t[0]<=n&&n<=t[1])},in:function(n,t){return""!==n&&t.indexOf(n)>=0},nin:function(n,t){return""===n||-1===t.indexOf(n)},sw:function(n,t){return n.slice(0,t.length)===t},ew:function(n,t){return n.slice(-t.length)===t},"sw-not":function(n,t){return n.slice(0,t.length)!==t},"ew-not":function(n,t){return n.slice(-t.length)!==t},re:function(n,t){try{return RegExp(t).test(n)}catch(n){return n,!1}},"re-not":function(n,t){try{return!1===RegExp(t).test(n)}catch(n){return n,!1}},sub:function(n,t){return("function"==typeof n.indexOf?n.indexOf(t):void 0)>=0},"sub-not":function(n,t){return!(("function"==typeof n.indexOf?n.indexOf(t):void 0)>=0)},"has-any":function(n,t){var i,o,u;if(!((n=e(n)).length>0&&t.length>0))return!1;for(i=0,o=t.length;o>i;i++)if(u=t[i],r.call(n,u)>=0)return!0;return!1},"has-all":function(n,t){var i,o,u;if(!((n=e(n)).length>0&&t.length>0))return!1;for(i=0,o=t.length;o>i;i++)if(u=t[i],r.call(n,u)<0)return!1;return!0},"has-none":function(n,t){var i,o,u;if(!((n=e(n)).length>0&&t.length>0))return!0;for(i=0,o=t.length;o>i;i++)if(u=t[i],r.call(n,u)>=0)return!1;return!0}},e=function(n){switch(!1){case""!==n:return[];case"string"!=typeof n:return n.split(",");default:return n}},t}(),n.Strings=function(){function n(){}var t,r;return t=/^[A-Za-z0-9_-]+$/,r=/\$\{([A-Za-z0-9.:_=%-]+)\}/g,n.isId=function(n,r){var e,i,o;if(null==r&&(r=!1),"undefined"===n||"string"!=typeof n)return!1;if(r){if(!((o=n.split(":")).length>1))return!1;for(e=0,i=o.length;i>e;e++)if(n=o[e],!this.isId(n))return!1;return!0}return"string"==typeof n&&n.length<=100&&t.test(n)},n.isValidExtenalId=function(n,t){return null==t&&(t=500),"string"==typeof n&&n.length<=t&&n.trim()===n&&!/['"“”]+/.test(n)&&/^[ \S]+$/.test(n)},n.interpolate=function(t,r){var e,i,o,u,f,l;if(Array.isArray(t))return t;if(0===(o=n.interkeys(""+t)).length)return t;for(f=""+t,e=0,u=o.length;u>e;e++)i=o[e],l=n.propeval(i,r),f=f.replace("${"+i+"}",null!=l?l:"");return f},n.interkeys=function(n){var t,e;if("string"!=typeof n)return[];if(-1===n.indexOf("${"))return[];if("${"===n.slice(0,2)&&-1===n.indexOf("::")&&n.indexOf("}")===n.length-1)return[n.slice(2,-1)];for(e=[];null!=(t=r.exec(n));)e.push(""+t[1]);return e},n.propeval=function(n,t){var r,e,i,o,u,f;for(f=t,r=e=0,i=(u=o=n.split("::")).length;i>e&&null!=(f=f[u[r]]);r=++e)if("function"==typeof f)return f(o[r+1]);return f},n.isNum=function(n){return""+ +n===n},n.parseUrl=function(n){var t,r,e,i,o,u,f;switch(!1){case!(null==n):return null;case"object"!=typeof n:return n;case"undefined"==typeof window||null===window:if(window.location.href===n)return window.location;try{return new window.URL(n)}catch(l){l;try{for(t=$("<a>",{href:n})[0],o={},r=0,i=(u=["hash","hostname","href","pathname","port","protocol","search"]).length;i>r;r++)o[e=u[r]]=null!=(f=t[e])?""+f:void 0;return o.pathname.length>0&&"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),o}catch(n){return void n}}break;default:return require("url").parse(n)}},n.pmatch=function(n,t,r){return null==r&&(r=!1),r&&(n=this.pnorm(n),t=this.pnorm(t)),t=t.replace(/\*/g,"[\\S]*"),RegExp("^"+t+"$").test(n)},n.pnorm=function(n){return n.length>1&&"/"!==n.slice(-1)&&"*"!==n.slice(-1)?n+"/":n},n.qualify=function(n,t,r){return-1===n.indexOf(":")?t+":"+n+":"+r:n},n.qs=function(n){var t,r,e,i,o,u,f;if("function"==typeof URLSearchParams)try{return Object.fromEntries(new URLSearchParams(n).entries())}catch(n){}if(u={},"string"!=typeof n)return u;for(t=0,e=(o=(n=n.trim().replace(/^(\?|#|&)/,"")).split("&")).length;e>t;t++)r=(i=o[t].replace(/\+/g," ").split("=")).shift(),f=i.length>0?i.join("="):void 0,u[decodeURIComponent(r)]=null!=f?decodeURIComponent(f):null;return u},n}(),n.nested=function(n,t,r){return null==r&&(r="."),n.split(r).reduce(function(n,t){return null!=n?n[t]:void 0},t)},n.arrayFrom=function(n){return Array.from?Array.from(n):[].slice.call(n)},n.waitFor=function(n,t,r,e){var i,o;o=0,(i=function(){var u;return o++,(u=r())?e(u):o>=t?void 0:setTimeout(i,n)})()}}).call(this);
}).call(this)}).call(this,require('_process'))
},{"_process":7,"url":6}],"data-layers":[function(require,module,exports){
(function(){var t=[].indexOf||function(t){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===t)return n;return-1};exports.DL=function(){function n(t,n,e,r){this.conf=t,this.name=null!=e?e:"utag_data",this.win=null!=r?r:window,this.subs=[]}var e;return n.prototype._dl=function(){var conf,t,n,r,i,o;return conf=(i=this).conf,r=i.name,o=i.win,i.subs,n=!0===conf["dl:watch"],t=function(){switch(typeof r){case"string":return n?null!=o[r]?o[r]:o[r]={}:o[r];case"object":return r;default:return}}(),n&&"object"==typeof t&&"function"==typeof Object.defineProperty&&(null==t.__vals&&Object.defineProperty(t,"__vals",{value:{},writable:!1,enumerable:!1}),e(t,conf["dl:key-vs"],function(t){return"string"==typeof t?listener.on("ConductricsStateChange",t):void 0}),e(t,conf["dl:key-ex"],function(t){return Array.isArray(t)?listener.on("ConductricsCommands",{commands:t}):void 0}),e(t,"event",function(t){var n,e,r,i,o;if("string"==typeof t){for(o=[],e=0,r=(i=this.subs).length;r>e;e++)n=i[e],o.push(n(t));return o}})),t},n.prototype.enabled=function(){return"object"==typeof this._dl()},n.prototype.get=function(t){var n;return(n=this._dl())?n[t]:void 0},n.prototype.push=function(t,n){var e;return(e=this._dl())?e[t]=n:void 0},n.prototype.sub=function(n){return t.call(this.subs,n)<0?this.subs.push(n):void 0},n.prototype.unsub=function(t){return this.subs.splice(this.subs.indexOf(t),1)},e=function(t,n,e){return t.__vals[n]?void 0:(t.__vals.hasOwnProperty(n)||(t.__vals[n]=t[n]),Object.defineProperty(t,n,{get:function(){return t.__vals[n]},set:function(n){return t.__vals[n],e(n)},configurable:!0,enumerable:!0}))},n}()}).call(this);
},{}],"harness":[function(require,module,exports){
(function(){var t,e,n,o,r,c,u,s,i;n="cp-sess",e="cp-hold",s=require("../../dom-utils"),c=s.cookie_set,r=s.cookie_get,o=function(t){try{return localStorage.getItem(t)}catch(t){}},module.exports=t={single:!0,sess_get:function(){return r(n)},sess_set:function(t){try{c(n,t)}catch(t){}},sess_del:function(){try{c(n,"",0)}catch(t){}},beacon:function(e,n){navigator.sendBeacon?navigator.sendBeacon(e,n):t.http("GET",e)},http:function(t,e,n,o){var r;null==n&&(n=2e3),r=new XMLHttpRequest,null!=o&&(r.onload=function(){return o(!1,r.responseText)},r.ontimeout=function(){return o("timeout")},r.onerror=function(){return o("HTTP error ("+r.status+")")}),r.open(t,e),r.timeout=n,r.send()},st_get:function(t){var e,n;if(t)try{return null!=(e=null!=(n=r(t))?n:sessionStorage.getItem(t))?e:localStorage.getItem(t)}catch(t){}},env_get:function(){var t,e,n,r;if(t="true"===o("c-conductrics-new"))try{localStorage.removeItem("c-conductrics-new")}catch(t){}return{mdn:(e=u())?"m":"n",v:{ua:navigator.userAgent,loc:window.location,ref:window.document.referrer,ts:-1,tzo:0-(new Date).getTimezoneOffset(),dnt:!e||1===(n=navigator.doNotTrack)||"1"===n||navigator.globalPrivacyControl||!i(),vid:this.st_get(_d.conf["targ:vid"]),qa:this.st_get(_d.conf["qa:st-key"]),lang:null!=(r=document.documentElement.lang)?r:navigator.language},debug:"true"===o("c-conductrics-debug"),muted:"true"===o("c-conductrics-muted"),abort:"true"===this.st_get("c-conductrics-abort"),newv:t,sels:this.st_get("c-conductrics-sels"),enforce_entry:"true"===this.st_get("c-conductrics-entry-enforce"),sels_only:"true"===this.st_get("c-conductrics-preview-only")}},log:function(){return"undefined"!=typeof console&&null!==console?console.log.call(this,arguments):void 0},q_get:function(){var t;try{t=JSON.parse(sessionStorage.getItem(e))}catch(t){}return Array.isArray(t)||(t=[]),t},q_add:function(t){t.length>0&&sessionStorage.setItem(e,JSON.stringify(this.q_get().concat(t)))},q_del:function(){try{return sessionStorage.removeItem(e)}catch(t){}},p_get:function(){return"undefined"!=typeof performance&&null!==performance?performance.getEntriesByType("resource").find(function(t){var e;return(null!=(e=t.name)?e.indexOf(_d.v.d):void 0)>-1}):void 0}},u=function(){try{return"undefined"!=typeof document&&null!==document&&null!=window.addEventListener&&null!=window.localStorage&&null!=window.atob}catch(t){return!1}},i=function(){var t;try{return t="c-storage-check",localStorage.setItem(t,1),localStorage.removeItem(t),!0}catch(t){return!1}}}).call(this);
},{"../../dom-utils":4}],"jsonpack":[function(require,module,exports){
("undefined"!=typeof define&&define.amd?define:function(e,r){var n=r();if("undefined"!=typeof exports)for(var t in n)exports[t]=n[t];else window.jsonpack=n})([],function(){var e=function(e){return"string"!=typeof e?e:e.replace(/[\+ \|\^\%]/g,function(e){return{" ":"+","+":"%2B","|":"%7C","^":"%5E","%":"%25","~":"%7E"}[e]})},r=function(e){return"string"!=typeof e?e:e.replace(/\+|%2B|%7C|%5E|%25/g,function(e){return{"+":" ","%2B":"+","%7C":"|","%5E":"^","%25":"%","%7E":"~"}[e]})},n=function(e){return Number.prototype.toString.call(e,36).toUpperCase()},t=function(e){return parseInt(e,36)},i=Array.prototype.indexOf||function(e,r){for(var n=r||0,t=this.length;t>n;n++)if(this[n]===e)return n;return-1};return{JSON:JSON,pack:function(r,t){t=t||{},r="string"==typeof r?this.JSON.parse(r):r;var s={strings:[],integers:[],floats:[]},f=function r(t){var f,u=typeof t;if(null===t)return{type:"null",index:-3};if(void 0===t)return{type:"undefined",index:-5};if(t instanceof Array){for(var a=["@"],o=0;o<t.length;o++)a.push(r(t[o]));return a}if("object"===u){for(var p in a=["$"],t)t.hasOwnProperty(p)&&(a.push(r(p)),a.push(r(t[p])));return a}if(""===t)return{type:"empty",index:-4};if("string"===u)return-1==(f=i.call(s.strings,t))&&(s.strings.push(e(t)),f=s.strings.length-1),{type:"strings",index:f};if("number"===u&&t%1==0)return-1==(f=i.call(s.integers,t))&&(s.integers.push(n(t)),f=s.integers.length-1),{type:"integers",index:f};if("number"===u)return-1==(f=i.call(s.floats,t))&&(s.floats.push(t),f=s.floats.length-1),{type:"floats",index:f};if("boolean"===u)return{type:"boolean",index:t?-1:-2};throw Error("Unpack type "+typeof t)}(r),u=s.strings.length,a=s.integers.length,o=(s.floats.length,s.strings.join("|"));return o+="^"+s.integers.join("|"),o+="^"+s.floats.join("|"),o+="^"+function e(r){if(r instanceof Array){for(var t=r.shift(),i=0;i<r.length;i++)t+=e(r[i])+"|";return("|"===t[t.length-1]?t.slice(0,-1):t)+"]"}var s=r.type,f=r.index;if("strings"===s)return n(f);if("integers"===s)return n(u+f);if("floats"===s)return n(u+a+f);if("boolean"===s)return r.index;if("null"===s)return-3;if("undefined"===s)return-5;if("empty"===s)return-4;throw new TypeError("The item is alien!")}(f),t.debug?{dictionary:s,ast:f,packed:o}:o},unpack:function(e,n){if("string"!=typeof e)return e;n=n||{};var i=e.split("^"),s=[],f=i[0];if(""!==f){f=f.split("|");for(var u=0;u<f.length;u++)s.push(r(f[u]))}if(""!==(f=i[1]))for(f=f.split("|"),u=0;u<f.length;u++)s.push(t(f[u]));if(""!==(f=i[2]))for(f=f.split("|"),u=0;u<f.length;u++)s.push(parseFloat(f[u]));f=void 0;var a="",o=[];for(u=0;u<i[3].length;u++){var p=i[3][u];"|"===p||"$"===p||"@"===p||"]"===p?(a&&(o.push(t(a)),a=""),"|"!==p&&o.push(p)):a+=p}var l=o.length,h=0;return function e(){var r=o[h++];if("@"===r){for(var n=[];l>h;h++){if("]"===(t=o[h]))return n;if("@"===t||"$"===t)n.push(e());else switch(t){case-1:n.push(!0);break;case-2:n.push(!1);break;case-3:n.push(null);break;case-5:n.push(void 0);break;case-4:n.push("");break;default:n.push(s[t])}}return n}if("$"===r){for(n={};l>h;h++){var t,i=o[h];if("]"===i)return n;if(i=-4===i?"":s[i],"@"===(t=o[++h])||"$"===t)n[i]=e();else switch(t){case-1:n[i]=!0;break;case-2:n[i]=!1;break;case-3:n[i]=null;break;case-5:n[i]=void 0;break;case-4:n[i]="";break;default:n[i]=s[t]}}return n}throw new TypeError("Bad token "+r+" isn't a type")}()}}});
},{}],"loader":[function(require,module,exports){
(function(){exports.Loader=function(){function n(){}return n}()}).call(this);

},{}],"log-styles":[function(require,module,exports){
(function(){var o;o={e:"color:#D50000;",a:"color:#2962FF;",g:"color:#2E7D32;",t:"color:#359996;",s:"color:#AA00FF;",x:"color:#6A1B9A;",ct:"color:#546E7A;",cf:"color:#607D8B;",q:"color:#FF6D00;",i:"color:#00BFA5;"},exports.logger=function(c,l){return console.log("%c"+c,o[l])}}).call(this);
},{}]},{},[3,11,15,16]);
;
var run = (typeof window != 'undefined' && typeof window.name === 'string' && window.name != '__c-wa-ipe') && !( true && (window.location.search.indexOf('__c-token') >= 0) );
if (window.Conductrics && window.Conductrics.express == false) { run = false }
if (run) { new Conductrics.ClientApi({"entry":"wax","debug":false,"dataLayer":"utag_data","globalEvents":true}).run(); }(function(){var t,e,n,o=function(t,e){return function(){return t.apply(e,arguments)}},i=[].slice;e=function(){function e(e,n){switch(null==e&&(e={}),this.doc=null!=n?n:document,this.goalParser=o(this.goalParser,this),this.agentParser=o(this.agentParser,this),this.onEvent=o(this.onEvent,this),this.cq=new t(e.jQuery,this.doc),this.options=this.cq.defaults(e,{log:null!=("undefined"!=typeof console&&null!==console?console.log:void 0)&&"true"===("undefined"!=typeof localStorage&&null!==localStorage?localStorage.getItem("c-conductrics-debug"):void 0),events:"click mouseover change",agentAttribute:"data-agent",textAttribute:"data-text",swapAttribute:"data-frag",goalAttribute:"data-goal",goalOnAttribute:"data-goal-on",variationClass:"c-variation",defaultClass:"c-default",doneClass:"c-m-done",fallbackClass:"c-m-fallback",agentParser:this.agentParser,goalParser:this.goalParser,autoGoals:{a:{},g:{}},reapply:!1,reapplyWatchSelector:null,styleId:"c-ms",ajaxTimeout:3e3,cookies:!0,cookieName:"cp-id",api:"local"}),!1){case!(e.api instanceof Conductrics.ClientApi):this.exec=this._exec_local;break;case"local"!==e.api:this.exec=this._exec_local,e.api=new Conductrics.ClientApi;break;case"string"!=typeof e.api:this.exec=this._exec_ajax;break;default:throw Error("Unknown executor")}this.addListeners()}var s,l,a;return e.prototype.find=function(){return{agents:this.findAgents()}},e.prototype.findAgents=function(){var t,e,n,o,i,s,l,r,u,c,d,p,h,f,g,v,y,m,b;for(p=this.options,n={},f=[p.textAttribute+"-",p.swapAttribute+"-"],g=this.cq.select("["+p.agentAttribute+"]"),s=0,u=g.length;u>s;s++)if(i=g[s],v=p.agentParser(i),t=v.a,m=v.v,a(t)){for(e=null!=n[t]?n[t]:n[t]={variations:{}},b=function(t){var n,o,s;return s=null!=(n=e.variations)[o=t.toLowerCase()]?n[o]:n[o]={els:[]},s.els.push(i)},null!=m&&b(m),y=i.attributes,l=0,c=y.length;c>l;l++)for(o=y[l],r=0,d=f.length;d>r;r++)h=f[r],m=o.name.split(h)[1],a(m)&&b(m);this.cq.addClass(i,p.variationClass),this.log("Found element for agent "+t+":",i)}return n},e.prototype.process=function(t){var e;null==t&&(t=function(){}),e=this.options,0===this.cq.select("style#"+e.styleId).length&&this.cq.addStyleTag("."+e.variationClass+" {display: none !important}",e.styleId),this.cq.ready(function(o){return function(){var i,l;return o.cq.select("html."+e.fallbackClass).length>0?(o.log("Aborting due to "+e.fallbackClass),t()):(l=o.find(),i=s(l),o.exec(i,function(i,s){var a,r,u,c;return i?t(i):(o.applySelections(null!=s?s.sels:void 0,l),o.onDocLoad(l),o.cq.addClass(o.doc.documentElement,e.doneClass),e.reapply&&(r=e.reapplyWatchSelector)&&(c=o.cq.select(r),c.length>0&&(o.log("Will watch for changes to '"+r+"' ("+c.length+")"),a=function(){return o.applySelections(null!=s?s.sels:void 0,o.find())},u=new n(a,c),u.start())),t())}))}}(this))},e.prototype.addListeners=function(){var t,e,n,o;for(o=this.options.events.split(" "),e=0,n=o.length;n>e;e++)t=o[e],this.doc.addEventListener(t,this.onEvent)},e.prototype.removeListeners=function(){var t,e,n,o;for(o=this.options.events.split(" "),e=0,n=o.length;n>e;e++)t=o[e],this.doc.removeEventListener(t,this.onEvent)},e.prototype.onEvent=function(t){var e,n,o,i,s,l;null==t&&(t=window.event),i=this.options.goalParser(t.target),o=i.g,n=i.e,l=i.v,n===t.type&&a(o)&&("string"==typeof l&&(l=parseFloat(l)),isFinite(l)||(l=void 0),s=Object.keys(this.findAgents()),this.log("Goal '"+o+"' detected (value "+(null!=l?l:"default")+") ["+s+"]"),e=[{g:o,v:l,to:s}],this.exec(e,function(t){return function(t,e){}}(this)))},e.prototype.onDocLoad=function(t){var e,n,o,i,s,l;for(l="["+this.options.goalOnAttribute+"='load']",s=this.cq.select(l),o=0,i=s.length;i>o;o++)e=s[o],this.onEvent(n={type:"load",target:e})},e.prototype.applySelections=function(t,e){var n,o,i,s,a,r,u,c,d,p,h,f,g,v,y,m,b,q,C,w,x,j,k;null==t&&(t={}),y=this.options,m=e.agents;for(n in m)if(o=m[n],x=null!=(b=t[n])?b.toLowerCase():void 0,null==o.variations[x]&&(x=Object.keys(o.variations)[0],this.log("Using fallback variation '"+x+"' for '"+n+"'")),k=o.variations[x],a=y.autoGoals,r=null!=(q=a.a)?q[n]:void 0,u=null!=(C=a.g)?C[r]:void 0,null!=(d=k.els))for(h=0,g=d.length;g>h;h++){if(c=d[h],c.hasAttribute(s=y.textAttribute+"-"+x)&&this.cq.textSet(c,l(c,s)),c.hasAttribute(s=y.swapAttribute+"-"+x)&&null!=(p=document.getElementById(l(c,s)))&&this.cq.htmlSet(c,p.innerText),u&&(i=function(t){return t.hasAttribute(y.goalAttribute)?void 0:t.setAttribute(y.goalAttribute,r)},i(c),u.sel))for(w=this.cq.select(u.sel,c),f=0,v=w.length;v>f;f++)j=w[f],i(j);this.log("showing element",c),this.show(c)}},e.prototype.show=function(t){this.cq.removeClass(t,this.options.variationClass)},e.prototype._exec_local=function(t,e){var n,o;return 0===t.length?e():(n=null!=(o=this.options.api)?o:new Conductrics.ClientApi,void n.exec(t,e))},e.prototype._exec_ajax=function(t,e){var n,o,i;o=this.sessionId(),i=this.options.api+"&session="+escape(o),n=function(t){return e(!1,null!=t?t.data:void 0)},this.cq.ajax({method:"post",url:i,timeout:this.options.ajaxTimeout,data:JSON.stringify({commands:t}),contentType:"text/plain",dataType:"json",success:n,error:n})},e.prototype.sessionId=function(){var t,e,n;switch(e=this.options,!1){case null==e.session:return e.session;case e.cookies!==!0:return t=e.cookieName,n=this.cq.cookieGet(t),null!=n?n:(n="cs-"+Math.round(1e6*Math.random()),this.cq.cookieSet(t,n,e.cookiePath,e.cookieDomain,e.cookieMaxAge),n);default:return}},e.prototype.agentParser=function(t){var e,n,o,i;return null==t&&(t={}),n=l(t,this.options.agentAttribute,""),o=n.split(" "),e=o[0],i=o[1],{a:e,v:i}},e.prototype.goalParser=function(t){var e,n,o,i,s,a;return null==t&&(t={}),i=this.options,e=l(t,i.goalAttribute,""),s=e.split(" "),o=s[0],a=s[1],n=l(t,i.goalOnAttribute,"click"),{g:o,e:n,v:a}},l=function(t,e,n){var o;return null!=(o="function"==typeof t.getAttribute?t.getAttribute(e):void 0)?o:n},e.prototype.log=function(){var t;t=1<=arguments.length?i.call(arguments,0):[],this.options.log&&console.log.apply(this,["[Markup]"].concat(t))},a=function(t){return"string"==typeof t&&t.length>0},s=function(t){var e,n;n=[];for(e in t.agents)n.push({a:e});return n},e}(),t=function(){function t(t,e){this.doc=null!=e?e:document,this.jq=t===!1?void 0:null!=t?t:window.jQuery}var e;return t.prototype.select=function(t,e){return null==e&&(e=this.doc),null!=this.jq?this.jq(t,e):e.querySelectorAll(t)},t.prototype.addClass=function(t,e){var n;if(null!=(n=t.classList)?!n.contains(e):!0)switch(!1){case null==this.jq:this.jq(t).addClass(e);break;case!t.classList:t.classList.add(e);break;case!t.className:t.className+=" "+e}},t.prototype.removeClass=function(t,e){switch(!1){case null==this.jq:this.jq(t).removeClass(e);break;case!t.classList:t.classList.remove(e);break;default:t.className=t.className.replace(RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}},t.prototype.ready=function(t){var e,n;if(null==t&&(t=function(){}),null!=this.jq)this.jq(this.doc).ready(function(){return t()});else switch(e=this.doc,n=function(){var t;return"complete"===(t=e.readyState)||"interactive"===t},!1){case!n():return t();case null==e.attachEvent:e.attachEvent("onreadystatechange",function(){return n()?t():void 0});break;default:e.addEventListener("DOMContentLoaded",function(){return n()?t():void 0})}},e=function(){var t,e,n;return t=null!=(e=document.querySelector("style[nonce]"))?e:document.querySelector("script[nonce]"),t?null!=(n=t.nonce)?n:t.getAttribute("nonce"):void 0},t.prototype.addStyleTag=function(t,n){var o,i,s;i=e(),s=document.createElement("style"),s.id=n,s.type="text/css",i&&(s.nonce=i),null!=s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t)),o=document.getElementsByTagName("head")[0],o.appendChild(s)},t.prototype.show=function(t){var e;null!=this.jq?this.jq(t).show():(e=getDefaultDisplay(t),styleSet(t,"display",e))},t.prototype.cookieGet=function(t){return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},t.prototype.cookieSet=function(t,e,n,o,i){var s;null==n&&(n="/"),null==o&&(o=31536e3),s=encodeURIComponent(t)+"="+encodeURIComponent(e)+";path="+n,null!=i&&(s+=";domain="+i),null!=o&&(s+=";max-age="+o),document.cookie=s},t.prototype.styleGet=function(t,e){var n,o,i,s;return null!=this.jq?this.jq(t).css(e):null!=(n=null!=(o="function"==typeof t.getComputedStyle?t.getComputedStyle(e):void 0)?o:null!=(i=t.currentStyle)?i[e]:void 0)?n:null!=(s=t.style)?s[e]:void 0},t.prototype.styleSet=function(t,e,n){var o;null!=this.jq?this.jq(t).css(e,n):null!=(o=t.style)&&(o[e]=n)},t.prototype.textSet=function(t,e){null!=this.jq?this.jq(t).text(e):t.innerText=e},t.prototype.htmlSet=function(t,e){null!=this.jq?this.jq(t).html(e):t.innerHTML=e},t.prototype.ajax=function(t){var e,n,o,i,s;return null==this.jq?(s=function(t){var e,n,o,i;for(i=["http:","https:"],e=0,n=i.length;n>e;e++)if(o=i[e],0===t.indexOf(o))return t.slice(o.length);return t},e=function(t,e){var n;return null==e&&(e="GET"),"undefined"!=typeof XMLHttpRequest&&null!==XMLHttpRequest&&(n=new XMLHttpRequest),null!=(null!=n?n.withCredentials:void 0)?n.open(e,t,!0):"undefined"!=typeof XDomainRequest&&null!==XDomainRequest?(n=new XDomainRequest,n.open(e,s(t))):n=null,n},i=e(t.url,null!=(o=t.method)?o:t.type),null!=t.success&&(i.onload=function(){return t.success}),null!=t.error&&(i.onerror=t.error,i.ontimeout=t.error),null!=t.timeout&&(i.timeout=t.timeout),i.send(JSON.stringify(t.data)),i):(null!=t.method&&(t.type=t.method),this.jq.ajax(t),n=function(t){var e,n,o,i;return n=t.ownerDocument,o=t.nodeName,(e=defaultDisplayMap[o])?e:(i=n.body.appendChild(n.createElement(o)),e=this.styleGet(t,"display"),i.parentNode.removeChild(i),"none"===e&&(e="block"),defaultDisplayMap[o]=e,e)})},t.prototype.defaults=function(t,e){var n;for(n in e)null==t[n]&&(t[n]=e[n]);return t},t}(),n=function(){function t(t,e,n,i){this.cb=t,this.targets=null!=e?e:[],this.opts=null!=n?n:{subtree:!0,childList:!0},this.max=null!=i?i:100,this.on=o(this.on,this);try{this.o=new MutationObserver(this.on)}catch(s){}this.n=0}return t.prototype.start=function(){var t,e,n,o,i,s;for(n=this.targets,i=[],t=0,e=n.length;e>t;t++)s=n[t],i.push(null!=(o=this.o)?o.observe(s,this.opts):void 0);return i},t.prototype.stop=function(){var t;return null!=(t=this.o)?t.disconnect():void 0},t.prototype.on=function(t,e){return this.n++<=this.max?(this.stop(),this.cb(),this.start()):void 0},t}(),"undefined"!=typeof window&&null!==window&&((null!=window.Conductrics?window.Conductrics:window.Conductrics={}).Comma=e),("undefined"!=typeof define&&null!==define?define.amd:void 0)&&define(["Comma"],e),("undefined"!=typeof module&&null!==module?module.exports:void 0)&&(module.exports=e)}).call(this);
new Conductrics.Comma({"reapply":true,"reapplyWatchSelector":"#__next"}).process();}() )