PageSourceSearch

https://l305.concacaf.com/script.js

js concacaf.com collected 2026-10-02 02:25:44 UTC 162,418 bytes, 495 lines download raw bytes

1(function(){var getDG=function(){var x={};return x;};var getP=function(){var x={};try{x['231829024']=['div.sdp-fixture-results', 'div.section > section.container > div.html-content', 'div.static-text', 'div:nth-of-type(10) > section.container > div.html-content', 'div:nth-of-type(11) > section.container > div.html-content', 'div:nth-of-type(13) > section.container > div.html-content', 'div:nth-of-type(2) > div.html-content', 'div:nth-of-type(2) > section.container > div.html-content', 'div:nth-of-type(2) > section.container > div:nth-of-type(3) > section.container > div:nth-of-type(3)', 'div:nth-of-type(3) > section.container > div:nth-of-type(3) > div.image > section.container > div.leading-none > div.transform-gpu > div.grid-element > figure.h-full > picture.relative', 'html > body > div:nth-of-type(3) > div[id=\'main-container\'] > main[id=\'main\'] > div.sdp-fixture-results > section.container > div.dfw-fixture-and-results-widget > div._widgetCommon_1a3rs_1 > div.dfw:relative.dfw:w-full.dfw:min-h-full > div:nth-of-type(2) > div > section.dfw:w-full.dfw:h-full > div:nth-of-type(2) > div:nth-of-type(2) > section.dfw:flex.dfw:flex-col.dfw:w-full.dfw:gap-6.dfw:md:gap-8 > div:nth-of-type(2) > div:nth-of-type(2) > article:nth-of-type(2) > div.dfw-card > div.dfw:relative.dfw:overflow-hidden.dfw:h-full > div.undefined > div.dfw:relative.dfw:z-20.dfw:px-4.dfw:py-3.dfw:md:py-5.dfw:md:px-6'];x['-1433991488']=x['231829024'];x['-1870286400']=x['231829024'];x['523356064']=['div:nth-of-type(2) > section.container > div.html-content'];x['10188288']=x['523356064'];}catch(err){}return x;};(function(k){window.blueConicPreListeners=[];(function(){var k=!1,xa=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.BCClass=function(){};BCClass.extend=function(O){function W(){!k&&this.init&&this.init.apply(this,arguments)}var R=this.prototype;k=!0;var P=new this;k=!1;for(var N in O)P[N]="function"==typeof O[N]&&"function"==typeof R[N]&&xa.test(O[N])?function(k,N){return function(){var P=this._super;this._super=R[k];var A=N.apply(this,arguments);this._super=P;return A}}(N,O[N]):O[N];W.prototype=
2P;W.constructor=W;W.extend=arguments.callee;return W}})();var InteractionType=BCClass.extend({init:function(){},getPreloadProperties:function(){return [];},getContent:function(){},onEvent:function() {},importLibraries:function(urls) {blueConic.fn.importLibraries.call(this, urls);}});(function(){var InteractionTypeImpl = InteractionType.extend({
3  CHECK_EVERY_MS: 50,
4  MAX_TIMES_CHECKED: 60,
5  OBJECTIVE_ID: "purpose_",
6  /** Purposes 2–5 align with TrustArc categories; absence in an explicit CMP payload means refusal. */
7  PURPOSE_OPTIONS: [2, 3, 4, 5],
8  /** Same rule for 2–5: if TrustArc does not include the purpose in consentDecision, treat it as refused. */
9  PURPOSES_REFUSE_WHEN_ABSENT_FROM_TRUSTARC: [2, 3, 4, 5],
10  /** purpose_1–purpose_5 are owned by this listener; sync replaces these slots without clobbering other objectives. */
11  MANAGED_PURPOSE_IDS: ["purpose_1", "purpose_2", "purpose_3", "purpose_4", "purpose_5"],
12  COOKIE_NAME: "notice_gdpr_prefs",
13  init: function(blueConicClient, context) {
14    this.blueConicClient = blueConicClient;
15    this.context = context || null;
16  },
17  /**
18   * Apply cookie consents before pageview so previously accepted purposes stay eligible.
19   * Never refuse here: notice_gdpr_prefs can be required-only until TrustArc hydrates
20   * (getnonemptyindexes), and treating missing indexes as refusals drops gated interactions.
21   */
22  onPrepare: function() {
23    var consentDecision = this._parseCookieConsentDecision(this._getCookie(this.COOKIE_NAME));
24    if (!consentDecision) {
25      return;
26    }
27    this._setObjectives(
28      {
29        source: "asserted",
30        consentDecision: consentDecision
31      },
32      false,
33      false
34    );
35  },
36  onLoad: function() {
37    this._subscribeConsentOnChanged();
38  },
39  _subscribeConsentOnChanged: function() {
40    if (this.subscribed) {
41      return;
42    }
43    this.subscribed = true;
44    var attempts = 0;
45    var intervalId = setInterval(
46      function() {
47        if (window.PrivacyManagerAPI) {
48          var message = {
49            PrivacyManagerAPI: {
50              action: "getConsentDecision",
51              timestamp: new Date().getTime(),
52              self: self.location.host
53            }
54          };
55          self.top.postMessage(JSON.stringify(message), "*");
56          this._registerEventListener();
57          clearInterval(intervalId);
58        }
59        attempts++;
60        if (attempts > this.MAX_TIMES_CHECKED) {
61          clearInterval(intervalId);
62        }
63      }.bind(this),
64      this.CHECK_EVERY_MS
65    );
66  },
67  _registerEventListener: function() {
68    self.addEventListener(
69      "message",
70      function(event) {
71        try {
72          if (!event.data) {
73            return;
74          }
75          var parsed = JSON.parse(event.data);
76          var pm = parsed && parsed.PrivacyManagerAPI;
77          if (pm && pm.capabilities && pm.action === "getConsentDecision") {
78            var decision = this._getGDPRConsentDecision();
79            if (!decision) {
80              return;
81            }
82            // The first callback often assigns purposes before the visitor answers the banner
83            // (source "implied"). Pageview then, so gated listeners arm on this page.
84            // Skip that when those purposes were already on the profile (cookie applied in onPrepare).
85            // A later explicit action (Allow all, Submit preferences) always pageviews.
86            var isFirstCmpSnapshot = !this._hasSeenCmpDecision;
87            this._hasSeenCmpDecision = true;
88            var newlyConsented = this._setObjectives(decision, false, true);
89            var assignedOptionalConsent = newlyConsented.some(function(id) {
90              return id !== "purpose_1";
91            });
92            var userAssertedChange = !isFirstCmpSnapshot && decision.source === "asserted";
93            if (assignedOptionalConsent || userAssertedChange) {
94              this._scheduleHandlePageView();
95            } else {
96              this.blueConicClient.profile.updateProfile();
97            }
98          }
99        } catch (err) {
100          /* ignore malformed postMessage payloads */
101        }
102      }.bind(this)
103    );
104  },
105  /**
106   * TrustArc posts getConsentDecision once per category on Accept all, and handlePageView
107   * creates a new listener instance that subscribes again. One page gets one follow-up pageview.
108   * Schedule it after updateProfile so the Do Not Track permission change is not still on the stack.
109   */
110  _scheduleHandlePageView: function() {
111    if (self._trustarcConcacafHandlePageViewScheduled) {
112      this.blueConicClient.profile.updateProfile();
113      return;
114    }
115    self._trustarcConcacafHandlePageViewScheduled = true;
116    var me = this;
117    this.blueConicClient.profile.updateProfile(this, function() {
118      setTimeout(function() {
119        me.blueConicClient.handlePageView();
120      }, 0);
121    });
122  },
123  _getGDPRConsentDecision: function() {
124    return self.PrivacyManagerAPI.callApi("getGDPRConsentDecision", self.location.host);
125  },
126  _uniqueStrings: function(arr) {
127    var seen = {};
128    var out = [];
129    (arr || []).forEach(function(id) {
130      if (!id || seen[id]) {
131        return;
132      }
133      seen[id] = true;
134      out.push(id);
135    });
136    return out;
137  },
138  _normalizeConsentPurposes: function(payload) {
139    if (payload && payload.source === "implied") {
140      return [1, 2, 3, 4, 5];
141    }
142    var normalized = [];
143    ((payload && payload.consentDecision) || []).forEach(function(value) {
144      var purposeId = parseInt(value, 10);
145      if (!isNaN(purposeId) && purposeId >= 1 && purposeId <= 5 && normalized.indexOf(purposeId) < 0) {
146        normalized.push(purposeId);
147      }
148    });
149    return normalized;
150  },
151  /**
152   * TrustArc stores 0-based category indexes as `0,1,2:` or `0|1|2:`, optionally
153   * URI-encoded and followed by a signature after `:`.
154   */
155  _parseCookieConsentDecision: function(cookieValue) {
156    if (!cookieValue) {
157      return null;
158    }
159    var categories = cookieValue.split(":")[0];
160    if (!categories) {
161      return null;
162    }
163    var purposes = [];
164    categories.split(/[,|]/).forEach(function(part) {
165      var index = parseInt(part, 10);
166      if (isNaN(index) || index < 0) {
167        return;
168      }
169      var purposeId = index + 1;
170      if (purposeId >= 1 && purposeId <= 5 && purposes.indexOf(purposeId) < 0) {
171        purposes.push(purposeId);
172      }
173    });
174    return purposes.length ? purposes : null;
175  },
176  /**
177   * TrustArc + cookie can fire out of order (e.g. cookie asserts consent, then CMP returns a
178   * transient or partial decision). Using only add* leaves the same objective on both consented
179   * and refused lists until the server reconciles. Rebuild managed IDs and use set* so each
180   * purpose is in at most one list, matching what operators see in the UI.
181   *
182   * @param {boolean} applyRefusals When false (cookie / onPrepare), only promote consents and
183   *   keep existing managed state. Refusals are applied only from getGDPRConsentDecision.
184   * @returns {string[]} Managed purpose ids that were not consented before this call.
185   *   purpose_1 is always included when it was missing; callers that care about optional
186   *   consent should ignore it.
187   */
188  _setObjectives: function(payload, shouldUpdateProfile, applyRefusals) {
189    var profile = this.blueConicClient.profile.getProfile();
190    var consentPurposes = this._normalizeConsentPurposes(payload);
191    var shouldRefuse = applyRefusals !== false;
192
193    var managed = this.MANAGED_PURPOSE_IDS;
194    var prefix = this.OBJECTIVE_ID;
195
196    var existingConsented = profile.getConsentedObjectives() || [];
197    var existingRefused = profile.getRefusedObjectives() || [];
198    var consentedRest = existingConsented.filter(function(id) {
199      return managed.indexOf(id) < 0;
200    });
201    var refusedRest = existingRefused.filter(function(id) {
202      return managed.indexOf(id) < 0;
203    });
204
205    var trustConsented = [prefix + "1"];
206    consentPurposes.forEach(function(purposeId) {
207      trustConsented.push(prefix + purposeId);
208    });
209    trustConsented = this._uniqueStrings(trustConsented);
210
211    var trustRefused = shouldRefuse
212      ? this.PURPOSES_REFUSE_WHEN_ABSENT_FROM_TRUSTARC.filter(function(purposeId) {
213          return consentPurposes.indexOf(purposeId) < 0;
214        }).map(function(purposeId) {
215          return prefix + purposeId;
216        })
217      : [];
218
219    var nextConsented;
220    var nextRefused;
221    if (shouldRefuse) {
222      nextConsented = this._uniqueStrings(consentedRest.concat(trustConsented));
223      nextRefused = this._uniqueStrings(refusedRest.concat(trustRefused));
224    } else {
225      nextConsented = this._uniqueStrings(existingConsented.concat(trustConsented));
226      nextRefused = this._uniqueStrings(
227        existingRefused.filter(function(id) {
228          return trustConsented.indexOf(id) < 0;
229        })
230      );
231    }
232
233    if (typeof profile.setConsentedObjectives === "function" && typeof profile.setRefusedObjectives === "function") {
234      profile.setConsentedObjectives(nextConsented);
235      profile.setRefusedObjectives(nextRefused);
236    } else {
237      trustConsented.forEach(function(id) {
238        profile.addConsentedObjective(id);
239      });
240      trustRefused.forEach(function(id) {
241        profile.addRefusedObjective(id);
242      });
243    }
244
245    if (shouldUpdateProfile) {
246      this.blueConicClient.profile.updateProfile();
247    }
248
249    return nextConsented.filter(function(id) {
250      return managed.indexOf(id) >= 0 && existingConsented.indexOf(id) < 0;
251    });
252  },
253  _getCookie: function(name) {
254    var parts = ("; " + document.cookie).split("; " + name + "=");
255    if (parts.length < 2) {
256      return null;
257    }
258    var value = parts
259      .pop()
260      .split(";")
261      .shift();
262    if (!value) {
263      return null;
264    }
265    try {
266      return decodeURIComponent(value);
267    } catch (err) {
268      return value;
269    }
270  }
271});
272
273//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlcyI6WyIvVXNlcnMvbWFya20vZ2l0L2NkcC1jdXN0b20tcGx1Z2lucy9wbHVnaW5zX3lhcm4vY3VzdG9tZXItc3BlY2lmaWMvY29uY2FjYWYvbGlzdGVuZXJfdHJ1c3RhcmNfY29uY2FjYWYvZnJvbnRlbmQvbGlzdGVuZXJfdHJ1c3RhcmNfY29uY2FjYWYuanMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEludGVyYWN0aW9uVHlwZUltcGwgPSBJbnRlcmFjdGlvblR5cGUuZXh0ZW5kKHtcbiAgQ0hFQ0tfRVZFUllfTVM6IDUwLFxuICBNQVhfVElNRVNfQ0hFQ0tFRDogNjAsXG4gIE9CSkVDVElWRV9JRDogXCJwdXJwb3NlX1wiLFxuICAvKiogUHVycG9zZXMgMuKAkzUgYWxpZ24gd2l0aCBUcnVzdEFyYyBjYXRlZ29yaWVzOyBhYnNlbmNlIGluIGFuIGV4cGxpY2l0IENNUCBwYXlsb2FkIG1lYW5zIHJlZnVzYWwuICovXG4gIFBVUlBPU0VfT1BUSU9OUzogWzIsIDMsIDQsIDVdLFxuICAvKiogU2FtZSBydWxlIGZvciAy4oCTNTogaWYgVHJ1c3RBcmMgZG9lcyBub3QgaW5jbHVkZSB0aGUgcHVycG9zZSBpbiBjb25zZW50RGVjaXNpb24sIHRyZWF0IGl0IGFzIHJlZnVzZWQuICovXG4gIFBVUlBPU0VTX1JFRlVTRV9XSEVOX0FCU0VOVF9GUk9NX1RS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ldHVybiBtYW5hZ2VkLmluZGV4T2YoaWQpID49IDAgJiYgZXhpc3RpbmdDb25zZW50ZWQuaW5kZXhPZihpZCkgPCAwO1xuICAgIH0pO1xuICB9LFxuICBfZ2V0Q29va2llOiBmdW5jdGlvbihuYW1lKSB7XG4gICAgdmFyIHBhcnRzID0gKFwiOyBcIiArIGRvY3VtZW50LmNvb2tpZSkuc3BsaXQoXCI7IFwiICsgbmFtZSArIFwiPVwiKTtcbiAgICBpZiAocGFydHMubGVuZ3RoIDwgMikge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuICAgIHZhciB2YWx1ZSA9IHBhcnRzXG4gICAgICAucG9wKClcbiAgICAgIC5zcGxpdChcIjtcIilcbiAgICAgIC5zaGlmdCgpO1xuICAgIGlmICghdmFsdWUpIHtcbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbiAgICB0cnkge1xuICAgICAgcmV0dXJuIGRlY29kZVVSSUNvbXBvbmVudCh2YWx1ZSk7XG4gICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICByZXR1cm4gdmFsdWU7XG4gICAgfVxuICB9XG59KTtcbiJdLCJmaWxlIjoiZnJvbnRlbmQvc3JjL2xpc3RlbmVyX3RydXN0YXJjX2NvbmNhY2FmLmpzIn0=
274window.blueConicPreListeners.push({id: 'listener_trustarc_concacaf', interactionType: InteractionTypeImpl });})();(function(){var InteractionTypeImpl=InteractionType.extend({blueConicClient:null,context:null,_profile:null,_userLanguage:null,_systemLanguage:null,_language:null,_referrer:null,_hostName:null,_currentUrl:null,_domain:null,ORIGIN_TYPES:{WEB:"web",MOBILE_WEB:"mobile_web",CONNECTION:"connection",MOBILE:"mobile_app"},CONSTANTS:{THIRTY_MINUTES_IN_MS:18e5,UNKNOWN:""},PROFILE_PROPERTIES:{CLICKCOUNT:"clickcount",VISITS:"visits",VISITCLICKS:"visitclicks",LASTVISITDATE:"lastvisitdate",VISITEDSITES:"visitedsites",VISITEDDOMAIN:"visiteddomain",ENTRYPAGE:"entrypage",REFERRERHOST:"referrerhost",REFERRERHOSTS:"referrerhosts",HOSTENTRYPAGE:"hostentrypage",HOSTAVERAGETIME:"hostaveragetime",LASTREFERRERAVERAGE:"lastreferreraverage",AVERAGETIME:"averagetime",TOTALVISITTIME:"totalvisittime",RESOLUTION:"resolution",CURRENTRESOLUTION:"currentresolution",CURRENTSCREENWIDTH:"currentscreenwidth",CURRENTSCREENHEIGHT:"currentscreenheight",ORIGIN_TYPE:"origin_type",ORIGIN_SOURCE:"origin_source",ORIGIN_DETAIL:"origin_detail",DEVICETYPE:"devicetype",RECEIVED_FROM_SYSTEM:"received_from_system",RECEIVED_FROM_CONNECTION:"received_from_connection",MOBILE_APP_ID:"mobile_app_id",MOBILE_APP_NAMEVERSION:"mobile_app_nameversion",LANGUAGE:"language",KEYWORDS:"keywords",CURRENTKEYWORDS:"currentkeywords",CURRENT_UTM_SOURCE:"current_utm_source",CURRENT_UTM_MEDIUM:"current_utm_medium",CURRENT_UTM_TERM:"current_utm_term",CURRENT_UTM_CONTENT:"current_utm_content",CURRENT_UTM_CAMPAIGN:"current_utm_campaign",UTM_SOURCE:"utm_source",UTM_MEDIUM:"utm_medium",UTM_TERM:"utm_term",UTM_CONTENT:"utm_content",UTM_CAMPAIGN:"utm_campaign"},PROFILE_PROPERTIES_FOR_CHANNEL:{},init:function(e,t){this.blueConicClient=e,this.context=t,this._profile=e.profile.getProfile(),this._channelId=e.getChannelId(),this._referrer=document.referrer,this._hostName=window.location.hostname,this._currentUrl=window.location.href,this._domain=document.domain,this._userLanguage=window.navigator.userLanguage,this._systemLanguage=navigator.systemLanguage,this._language=window.navigator.language,this.PROFILE_PROPERTIES_FOR_CHANNEL={CLICKCOUNT:this.PROFILE_PROPERTIES.CLICKCOUNT+"_"+this._channelId,VISITS:this.PROFILE_PROPERTIES.VISITS+"_"+this._channelId,VISITCLICKS:this.PROFILE_PROPERTIES.VISITCLICKS+"_"+this._channelId,LASTVISITDATE:this.PROFILE_PROPERTIES.LASTVISITDATE+"_"+this._channelId}},onPrepare:function(){this._profile&&(this._setLanguageProperties(),this._setResolutionProperties(),this._setReferrerProperties(),this._setCampaignPro
274perties())},onLoad:function(){this._profile&&(this._setReferrerHostOnLoad(),this._setVisitProperties(),this._setOriginProperties(),this.blueConicClient.profile.updateProfile())},getPreloadProperties:function(){return[this.PROFILE_PROPERTIES.CLICKCOUNT,this.PROFILE_PROPERTIES.VISITS,this.PROFILE_PROPERTIES.VISITCLICKS,this.PROFILE_PROPERTIES.LASTVISITDATE,this.PROFILE_PROPERTIES.VISITEDSITES,this.PROFILE_PROPERTIES.ENTRYPAGE,this.PROFILE_PROPERTIES.HOSTENTRYPAGE,this.PROFILE_PROPERTIES.HOSTAVERAGETIME,this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE,this.PROFILE_PROPERTIES.AVERAGETIME,this.PROFILE_PROPERTIES.TOTALVISITTIME,this.PROFILE_PROPERTIES.RESOLUTION,this.PROFILE_PROPERTIES.DEVICETYPE,this.PROFILE_PROPERTIES.ORIGIN_TYPE,this.PROFILE_PROPERTIES.ORIGIN_SOURCE,this.PROFILE_PROPERTIES.ORIGIN_DETAIL,this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM,this.PROFILE_PROPERTIES.RECEIVED_FROM_CONNECTION,this.PROFILE_PROPERTIES.VISITEDDOMAIN,this.PROFILE_PROPERTIES.MOBILE_APP_ID,this.PROFILE_PROPERTIES.MOBILE_APP_NAMEVERSION,this.PROFILE_PROPERTIES_FOR_CHANNEL.CLICKCOUNT,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITS,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITCLICKS,this.PROFILE_PROPERTIES_FOR_CHANNEL.LASTVISITDATE]},_setLanguageProperties:function(){var e=this._userLanguage||this._systemLanguage||this._language,t=this._normalizeLocale(e).split("-")[0];t&&this._profile.setValue(this.PROFILE_PROPERTIES.LANGUAGE,t)},_normalizeLocale:function(e){return e&&e.replace("_","-").toLowerCase()},_setResolutionProperties:function(){var e=screen.width,t=screen.height;this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTSCREENWIDTH,e),this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTSCREENHEIGHT,t);var i=e+"x"+t;this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTRESOLUTION,i),this._profile.addValue(this.PROFILE_PROPERTIES.RESOLUTION,i)},_setReferrerProperties:function(){this._setReferrerKeywords(),this._setReferrerHost()},_setReferrerKeywords:function(){var e=this.HELPER.decodeReferrer(this._referrer)||[];e.length>0&&(this._addProfileValues(this.PROFILE_PROPERTIES.KEYWORDS,e),this._profile.setValues(this.PROFILE_PROPERTIES.CURRENTKEYWORDS,e))},_addProfileValues:function(e,t){(Array.isArray(t)?t:[t]).forEach(function(t){this._profile.addValue(e,t)},this)},_setReferrerHost:function(){var e=this._getReferrerHost();e!==this._hostName&&(this._profile.setValue(this.PROFILE_PROPERTIES.ENTRYPAGE,this._currentUrl),e&&(this._profile.setValue(this.PROFILE_PROPERTIES.REFERRERHOST,e),this._profile.addValue(this.PROFILE_PROPERTIES.REFERRERHOSTS,e)))},_setReferrerHostOnLoad:function(){var e=this._getReferrerHost();e!==this._hostName&&this._setHostEntryPageProperty(),this._setHostTotalAndAverageTimeProperty(this._hostName,e)},_getReferrerHost:function(){return this._referrer.replace(/http[s]?:\/\/(.*?)(:|\?|\/|$).*/,"$1")},_setCampaignProperties:function(){[this.PROFILE_PROPERTIES.UTM_SOURCE,this.PROFILE_PROPERTIES.UTM_MEDIUM,this.PROFILE_PROPERTIES.UTM_TERM,this.PROFILE_PROPERTIES.UTM_CONTENT,this.PROFILE_PROPERTIES.UTM_CAMPAIGN].forEach(function(e){var t=this._removeHashPart(this.HELPER._getParameterByName(this._currentUrl,e));t&&(this._profile.setValue("current_"+e,t),this._profile.addValue(e,t))},this)},_setHostEntryPageProperty:function(){this._profile.setValue(this.PROFILE_PROPERTIES.ENTRYPAGE,this._currentUrl);var e=this._getHostEntryPageMapping();e[this._hostName]={entrypage:this._currentUrl},this._profile.setValue(this.PROFILE_PROPERTIES.HOSTENTRYPAGE,JSON.stringify(e))},_getHostEntryPageMapping:function(){return this._safeJSONParse(this._profile.getValue(this.PROFILE_PROPERTIES.HOSTENTRYPAGE))},_safeJSONParse:function(e){try{var t=e.replace(/'/g,'"');return JSON.parse(t)||{}}catch(i){return{}}},_setHostTotalAndAverageTimeProperty:function(e,t){var i=this._safeJSONParse(this._profile.getValue(this.PROFILE_PROPERTIES.HOSTAVERAGETIME));i[e]||(i[e]=this._createNewVisitData());var E=this.blueConicClient.getCurrentDate().getTime(),s=this._profile.getValue(this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE),r=0,R=0,I=0;Object.keys(i).map(function(e){return e.toString()}
274).forEach(function(n){var _=i[n];this._isSessionExpired(_.enddate)?this._addVisit(_,_.enddate-_.startdate):n===e?_.enddate=E:n===t&&s!==t&&(_.enddate=E,this._profile.setValue(this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE,t)),0!==_.averageTime&&(R++,r+=_.averageTime,I+=_.averageTime*_.visits)},this),this._profile.setValue(this.PROFILE_PROPERTIES.HOSTAVERAGETIME,JSON.stringify(i)),this._profile.setValue(this.PROFILE_PROPERTIES.TOTALVISITTIME,I);var n=R>0?Math.round(r/R):0;this._profile.setValue(this.PROFILE_PROPERTIES.AVERAGETIME,n)},_addVisit:function(e,t){if(t>0){var i=e.averageTime*e.visits+t/1e3;e.visits++,e.averageTime=Math.round(i/e.visits)}var E=this.blueConicClient.getCurrentDate().getTime();e.startdate=E,e.enddate=E},_createNewVisitData:function(){var e=this.blueConicClient.getCurrentDate().getTime();return{startdate:e,enddate:e,averageTime:0,visits:0}},_setPropertyIfEmpty:function(e,t,i){"undefined"==typeof e[t]&&(e[t]=i)},_setVisitProperties:function(){this._addVisitedDomain(this._domain),this._increaseClickCount(),this._increaseVisits(this.PROFILE_PROPERTIES.VISITS,this.PROFILE_PROPERTIES.VISITCLICKS,this.PROFILE_PROPERTIES.LASTVISITDATE),this._channelId&&this._increaseVisits(this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITS,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITCLICKS,this.PROFILE_PROPERTIES_FOR_CHANNEL.LASTVISITDATE)},_increaseVisits:function(e,t,i){e=e||this.PROFILE_PROPERTIES.VISITS,t=t||this.PROFILE_PROPERTIES.VISITCLICKS,i=i||this.PROFILE_PROPERTIES.LASTVISITDATE,this._isNewSession(e,i)?(this._resetPageViewsCurrentSession(t),this._increaseSessionCount(e)):this._increasePageViewsCurrentSession(t),this._setLastVisitDate(i,this.blueConicClient.getCurrentDate().getTime())},_setLastVisitDate:function(e,t){e=e||this.PROFILE_PROPERTIES.LASTVISITDATE,this._profile.setValue(e,t)},_addVisitedDomain:function(e){this._hasVisitedDomain(e)||this._profile.addValue(this.PROFILE_PROPERTIES.VISITEDSITES,e)},_hasVisitedDomain:function(e){var t=this._profile.getValues(this.PROFILE_PROPERTIES.VISITEDSITES)||[];return t.length>0&&-1!==t.indexOf(e)},_increaseClickCount:function(){this._profile.incrementValue(this.PROFILE_PROPERTIES.CLICKCOUNT,1),this._channelId&&this._profile.incrementValue(this.PROFILE_PROPERTIES_FOR_CHANNEL.CLICKCOUNT,1)},_isNewSession:function(e,t){e=e||this.PROFILE_PROPERTIES.VISITS,t=t||this.PROFILE_PROPERTIES.LASTVISITDATE;var i=this._getNumberProperty(e),E=this._getNumberProperty(t)||0;return 0===i||this._isSessionExpired(E)},_isSessionExpired:function(e){return this.blueConicClient.getCurrentDate().getTime()>e+this.CONSTANTS.THIRTY_MINUTES_IN_MS},_resetPageViewsCurrentSession:function(e){e=e||this.PROFILE_PROPERTIES.VISITCLICKS,this._profile.setValue(e,1)},_increasePageViewsCurrentSession:function(e){e=e||this.PROFILE_PROPERTIES.VISITCLICKS,this._profile.incrementValue(e,1)},_increaseSessionCount:function(e){e=e||this.PROFILE_PROPERTIES.VISITS,this._profile.incrementValue(e,1)},_setOriginProperties:function(){var e=this._getOriginCount();e>1?this._mergeOriginProperties():0===e&&this._resolveOriginProperties()},_getOriginCount:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_TYPE)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_SOURCE)||[],i=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_DETAIL)||[];return Math.max(e.length,t.length,i.length)},_mergeOriginProperties:function(){this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_TYPE),this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_SOURCE),this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_DETAIL)},_mergePropertyToUnknown:function(e){var t=this._profile.getValues(e)||[];this._profile.setValue(e,1===t.length?t[0]:this.CONSTANTS.UNKNOWN)},_resolveOriginProperties:function(){this._isVisitorOriginFromWeb()?this._resolveOriginForWebVisitor():this._isVisitorOriginFromConnection()?this._resolveOriginForProfileComingFromConnection():this._isVisitorOriginFromMobileApp()&&this._resolveOriginForMobileAppVisitor()},_isVisitorOriginFromWeb:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[];return 0===e.length&&0===t.length},_isVisitorOriginFromMobileApp:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[],i=this._getNumberProperty(this.PROFILE_PROPERTIES.VISITS);return t.length>0&&0===e.length&&0===i},_isVisitorOriginFromConnection:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM),t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID),i=this._getNumberProperty(this.PROFILE_PROPERTIES.VISITS);return e&&e.length>0&&t&&0===t.length&&i<=0},_resolveOriginForWebVisitor:function(){var e="",t=this._profile.getValues(this.PROFILE_PROPERTIES.VISITEDSITES)||[],i=this._profile.getValue(this.PROFILE_PROPERTIES.DEVICETYPE)||"",E=this._profile.getValues(this.PROFILE_PROPERTIES.ENTRYPAGE)||[];i&&(e="PC"===i?this.ORIGIN_TYPES.WEB:this.ORIGIN_TYPES.MOBILE_WEB);var s=1===t.length?t[0]:this.CONSTANTS.UNKNOWN,r=1===E.length?E[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(e,s,r)},_resolveOriginForProfileComingFromConnection:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_CONNECTION)||[],i=1===e.length?e[0]:this.CONSTANTS.UNKNOWN,E=1===t.length?t[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(this.ORIGIN_TYPES.CONNECTION,i,E)},_resolveOriginForMobileAppVisitor:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_NAMEVERSION)||[],i=1===e.length?e[0]:this.CONSTANTS.UNKNOWN,E=1===t.length?t[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(this.ORIGIN_TYPES.MOBILE,i,E)},_setOriginProfileProperties:function(e,t,i){this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_TYPE,e),this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_SOURCE,t),this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_DETAIL,i)},_removeHashPart:function(e){if(e){var t=e.indexOf("#");if(-1!==t)return e.substring(0,t)}return e},HELPER:{search_engines:[["google\\.","q"],["bing\\.","q"],["search\\.yahoo\\.","p"],["search\\.aol\\.","q"],["duckduckgo\\.","q"],["baidu\\.","wd"],["ask\\.com","q"],["search\\.lycos\\.","q"],["dogpile\\.com","q"]],substringToHash:function(e){if(e){var t=e.indexOf("#");if(-1!==t)return e.substring(0,t)}return e},decodeReferrer:function(e){for(var t=new RegExp(""),i=0;i<this.search_engines.length;i++){var E=this.search_engines[i];t.compile("^http(s?)://(www\\.)?"+E[0],"i");var s=e.match(t);if(s){var r;if(r=isNaN(E[1])?this._getParameterByName(e,E[1]):s[E[1]+1])return r=decodeURIComponent(r),E.length>2&&E[2]&&(r=decodeURIComponent(r)),r=(r=(r=r.replace(/'|"/g,"")).split(/[\s,+.]+/)).filter(function(e){return e});break}}return null},_getParameterByName:function(e,t){if(!t)return"";t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))}},_getNumberProperty:function(e){var t=this._profile.getValue(e);if(!t)return 0;try{t=parseInt(t),isNaN(t)&&(t=0)}catch(i){t=0}return t}});window.blueConicPreListeners.push({id: 'listenerinteractiontype', interactionType: InteractionTypeImpl });})();})();
275(function(k,kb,xa,O,W,R,P,N,lb,mb,nb,A){function ia(){var a=c.hash(k.location.hostname).toString();return k.location.hostname&&a in BC_HOSTNAME_MAP?"https://"+BC_HOSTNAME_MAP[a]:null}function S(){return Kb?0===P.indexOf("http://")||0===P.indexOf("https://")?P:"https://"+P:ia()||BC_URL}
275function Lb(a,b){this._id=a;this._parameters=b;this.getId=function(){return this._id};this.getParameters=function(){var a=null,b=null;for(a in this._parameters)if(b=a,X&&a&&0===a.indexOf(X))return l&&c.logInfo("Use locale ["+
276a+"] for connection ["+this.getId()+"]."),this._parameters[a];return null!==b?(l&&c.logInfo("Use locale ["+b+"] for connection ["+this.getId()+"]."),this._parameters[b]):null}}function Mb(a,b){this._id=a.id;this._dialogueId=a.dialogueId;this._name=a.name;this._position=a.position;this._positionHideContent=a.positionHideContent;this._parameters=b;this._defaultLocale=a.defaultLocale;this._interactionTypeId=a.interactionType.myId?a.interactionType.myId.toLowerCase():null;this._type=a.interactionType.myType?
277a.interactionType.myType.toUpperCase():null;this._positionType=a.interactionType.myPositionType?a.interactionType.myPositionType:null;this._usedLocale=null;this._isOnLoadExecuted=this._isGetContentExecuted=this._isPositionFound=!1;this._isLocalEditMode=!0===a.isLocalEditMode;this._bcClient=null;this.getInteractionId=function(){return this._id};this.getDialogueId=function(){return this._dialogueId};this.getName=function(){return this._name};this.getType=function(){return this._type};this.getPosition=
278function(){return this._position};this.getPositionHideContent=function(){return this._positionHideContent};this.getDOMElement=function(){var a=c.getDOMElement(this._position);a&&!this._isPositionFound&&(this._isPositionFound=!0);return a};this.isPositionFound=function(){return this._isPositionFound};this.isGetContentExecuted=function(){return this._isGetContentExecuted};this.setGetContentExecuted=function(a){this._isGetContentExecuted=a};this.isOnLoadExecuted=function(){return this._isOnLoadExecuted};
279this.setOnLoadExecuted=function(a){this._isOnLoadExecuted=a};this.setParameters=function(a,b){this._parameters[a]=b};this.getParameters=function(){var a,b=this.getName()?this.getName():this.getInteractionId();for(a in this._parameters)if(X&&a&&0===a.indexOf(X))return this._usedLocale=a,l&&c.logInfo("use locale ["+a+"] for interaction ["+b+"]."),this._parameters[a];l&&c.logInfo("no parameters found for locale ["+X+"] with interaction ["+b+"].\x3cbr\x3eUsing the default locale ["+this._defaultLocale+
280"] instead.");this._usedLocale=this._defaultLocale;return this._parameters[this._defaultLocale]};this.getDefaultLocale=function(){return this._defaultLocale};this.getLocale=function(){return X};this.getUrlPrefix=function(){c.logDeprecated("context.getUrlPrefix","profile.getBaseURL");return c.getBaseURL(this._interactionTypeId)};this.getBaseURL=function(){return c.getBaseURL(this._interactionTypeId)};this.getInteractionTypeId=function(){return this._interactionTypeId};this.isPositionTypePlugin=function(){return"position"===
281this._positionType};this.getProfile=function(){return this._bcClient.profile.getProfile()};this.isLocalEditMode=function(){return this._isLocalEditMode};this.getBlueConicClient=function(){this._bcClient||(this._bcClient=B.getBlueConicClient(this));return this._bcClient};this.getConnection=function(a){if(!a||!aa||!c.isArray(aa)||0===aa.length)return null;for(var b=0,d=aa.length;b<d;b++){var g=aa[b];if(g&&g.id&&g.parameters&&g.id===a)return b=c.getInteractionParameters(g),new Lb(a,b)}return null};this.getGoals=
282function(){return ya?ya[this._id]:null}}function za(a){function b(a){a=c.ensureArray(a).join(",");T?a?localStorage.setItem("BCRefusedObjectives",a):localStorage.removeItem("BCRefusedObjectives"):c.setCookie("BCRefusedObjectives",a,31536E6)}this._id=a;this._properties={};this.getId=function(){return this._id};this.getPropertyNames=function(){var a=[],b;for(b in this._properties)y.call(a,b);return a};this.getValue=function(a){if(!sa.call(this._properties,a))return A;a=this._properties[a];return c.isArray(a)?
283a[0]:a};this.getValues=function(a){return sa.call(this._properties,a)?c.ensureArray(this._properties[a]):[]};this.setValue=function(a,b,f){"consented_objectives"===a?(b=c.isArray(b)?0<b.length?[b[0]]:[]:[b],this.setConsentedObjectives(b,f)):"refused_objectives"===a?(b=c.isArray(b)?0<b.length?[b[0]]:[]:[b],this.setRefusedObjectives(b,f)):this._setValue(a,b,f)};this._setValue=function(a,b,f){var d=this.profileIsPrivacyAware();a?null===b||b===A?l&&c.logInfo("value cannot be undefined or null"):(t.unsavedLog(a,
284null),c.isArray(b)?b=0<b.length?b[0]:null:c.isDate(b)?b=b.getTime():c.isObject(b)&&(b=c.stringifyObject(b)),t.unsavedLog(a,b,t.
284SET,d,f),this._properties[a]=c.ensureArray(b)):l&&c.logInfo("could not set value for undefined property")};this.setValues=function(a,b,c){"consented_objectives"===a?this.setConsentedObjectives(b,c):"refused_objectives"===a?this.setRefusedObjectives(b,c):this._setValues(a,b,c)};this._setValues=function(a,b,f){var d=this.profileIsPrivacyAware();if(a)if(c.isArray(a))l&&c.logInfo("property cannot be an array");
285else{t.unsavedLog(a,null);b=c.ensureArray(b);for(var e=0;e<b.length;e++)c.isDate(b[e])?b[e]=b[e].getTime():c.isArray(b[e])?b[e]=0<b[e].length?b[e][0]:null:c.isObject(b[e])&&(b[e]=c.stringifyObject(b[e]));c.removeItemFromArray(b,null);c.removeItemFromArray(b,A);this._properties[a]=b;t.unsavedLog(a,b,t.SET,d,f)}else l&&c.logInfo("could not set values for undefined property")};this.addValue=function(a,b,c){"consented_objectives"===a?this.addConsentedObjective(b,c):"refused_objectives"===a?this.addRefusedObjective(b,
286c):this._addValue(a,b,c)};this._addValue=function(a,b,f){var d=this.profileIsPrivacyAware();if(a)if(c.isArray(a))l&&c.logInfo("property cannot be an array");else if(null===b||b===A)l&&c.logInfo("value cannot be undefined or null");else{c.isDate(b)?b=b.getTime():c.isArray(b)?b=0<b.length?b[0]:null:c.isObject(b)&&(b=c.stringifyObject(b));this._properties[a]||(this._properties[a]=[]);var e=this._properties[a];-1===c.indexOfArray(e,b)&&(y.call(e,b),t.setQueue[a]?t.unsavedLog(a,e,t.SET,d,f):t.unsavedLog(a,
287b,t.ADD,d,f));this._properties[a]=e}else l&&c.logInfo("could not add value for undefined property")};this.incrementValue=function(a,b,f){var d=this.profileIsPrivacyAware();a?c.isArray(a)?l&&c.logInfo("property cannot be an array"):null===b||b===A?l&&c.logInfo("value cannot be undefined or null"):(c.isArray(b)&&(b=0<b.length?b[0]:null),isNaN(b)?l&&c.logInfo("value must be a number"):(this._properties[a]||(this._properties[a]=[]),t.unsavedLog(a,b,t.INCREMENT,d,f))):l&&c.logInfo("could not increment value for undefined property")};
288this.getPrivacyLegislation=function(){return this.getValue("privacy_legislation")};this.getConsentedObjectives=function(){return this.getValues("consented_objectives")};this.getRefusedObjectives=function(){return this._privacyAwareAndDoNotTrack()?this.getDntRefusedObjectives():this.getValues("refused_objectives")};this.setPrivacyLegislation=function(a,b){this.setValue("privacy_legislation",a,b)};this.addConsentedObjective=function(a,b){var d=this.getConsentedObjectives();-1===c.indexOfArray(d,a)&&
289this._addValue("consented_objectives",a,b);d=this.getRefusedObjectives();this._privacyAwareAndDoNotTrack()&&(this._setValues("refused_objectives",d,b),this.deleteDntRefusedObjectives(),l&&c.logInfo("Set permission level because of added consented objective: "+a),m.setLevel(m.PERSONAL,"Added consented objective: "+a))};this.addRefusedObjective=function(a,e){if(this._privacyAwareAndDoNotTrack())e=this.getDntRefusedObjectives(),-1===c.indexOfArray(e,a)&&y.call(e,a),b(e);else{var d=this.getRefusedObjectives();
290-1===c.indexOfArray(d,a)&&this._addValue("refused_objectives",a,e)}};this.setConsentedObjectives=function(a,b){this._setValues("consented_objectives",a,b);if(0!==a.length){var d=this.getRefusedObjectives();this._privacyAwareAndDoNotTrack()&&(this._setValues("refused_objectives",d,b),this.deleteDntRefusedObjectives(),l&&c.logInfo("Set permission level because of consented objectives: "+a),m.setLevel(m.PERSONAL,"Set consented objectives: "+a))}};this.setRefusedObjectives=function(a,c){this._privacyAwareAndDoNotTrack()?
291b(a):this._setValues("refused_objectives",a,c)};this.loadValues=function(a,b,f){a=c.ensureArray(a);0===a.length?c.doCallback(b,f):(t.getProperties(a,this,function(){c.doCallback(b,f)}),h.submitBatchTimeout(0,"loadValues"))};this.addProperty=function(a,b){c.logDeprecated("profile.addProperty(property, value)","profile.addValue(property, value)");this.addValue(a,b)};this.getDntRefusedObjectives=function(){var a;return(a=T?localStorage.getItem("BCRefusedObjectives"):c.getCookie("BCRefusedObjectives"))?
292c.ensureArray(a.split(",")):[]};this.deleteDntRefusedObjectives=function(){T?localStorage.removeItem("BCRefusedObjectives"):c.setCookie("BCRefusedObjectives",null)};this._privacyAwareAndDoNotTrack=function(){return this.hasSupportedLegislation()&&m.getLevel()===m.DO_NOT_TRACK};this.hasSupportedLegislation=function(){var a=this.getPrivacyLegislation();return 0<=c.indexOfArray(Xa,"REST_OF_WORLD")?!0:0<=c.indexOfArray(Xa,a)};this.profileIsPrivacyAware=function(){return!this.getPrivacyLegislation()||
293this.hasSupportedLegislation()}}function U(a){this.getId=function(){return q.getId()};this.getPropertyNames=function(){return q.getPropertyNames()};this.getValue=function(a){return q.getValue(a)};this.getValues=function(a){return q.getValues(a)};this.setValue=function(b,c){q.setValue(b,c,a)};this.setValues=function(b,c){q.setValues(b,c,a)};this.addValue=function(b,c){q.addValue(b,c,a)};this.incrementValue=function(b,c){q.incrementValue(b,c,a)};this.getPrivacyLegislation=function(){return q.getPrivacyLegislation()};
294this.getConsentedObjectives=function(){return q.getConsentedObjectives()};this.getRefusedObjectives=function(){return q.getRefusedObjectives()};this.setPrivacyLegislation=function(a,c){q.setPrivacyLegislation(a,c)};this.addConsentedObjective=function(b){q.addConsentedObjective(b,a)};this.addRefusedObjective=function(b){q.addRefusedObjective(b,a)};this.setConsentedObjectives=function(b){q.setConsentedObjectives(b,a)};this.setRefusedObjectives=function(b){q.setRefusedObjectives(b,a)};this.loadValues=
295function(a,c,e){q.loadValues(a,c,e)};this.addProperty=function(a,c){q.addProperty(a,c)};this.isNew=function(){return Ya};this.getLifecycleStages=function(){return ja}}function Nb(a){this._apiVersion=a&&a.recommendationBlock?2:1;if(1===this._apiVersion)this._id=a&&0<a.length?a[0].recommendationId[0]:null,this._items=a?a:[];else{this._id=a.recommendationId;this._setsOrder=[];this._groupedItems={};for(var b=v.util.array.ensureArray(a.recommendationBlock),c=0;c<b.length;c++)for(var e=v.util.array.ensureArray(b[c].recommendations),
296f=0;f<e.length;f++){var g=b[c].id;e[f].recommendationId=this._id;e[f].setId=g;this._groupedItems[g]||(this._groupedItems[g]=[],this._setsOrder.push(g));this._groupedItems[g].push(e[f])}this._trackingPixel=a.trackingPixel}this.getId=function(){return this._id};this.getAPIVersion=function(){return this._apiVersion};this.getItems=function(){if(1===this.getAPIVersion())return this._items;for(var a=[],b=0;b<this._setsOrder.length;
296b++)a=a.concat(this._groupedItems[this._setsOrder[b]]);return a};this.getSetsOrder=
297function(){return this._setsOrder};this.getGroupedItems=function(){return this._groupedItems};this.getTrackingPixelUrl=function(){return this._trackingPixel}}function Ob(a,b,c,e,f){this._id=a;this._html=b;this._css=c;this._javascript=e;this._precompiledTemplate=f;this.getId=function(){return this._id};this.getHtml=function(){return this._html};this.getCss=function(){return this._css};this.getJavaScript=function(){return this._javascript};this.getPrecompiled=function(){return this._precompiledTemplate}}
298function Pb(a,b,c){this._id=a;this._title=b;this._description=c;this.getId=function(){return this._id};this.getTitle=function(){return this._title};this.getDescription=function(){return this._description}}function Qb(a){this._id=a;this.getId=function(){return this._id}}function Rb(a,b){this._id=a;this._name=b;this.getId=function(){return this._id};this.getName=function(){return this._name}}function Sb(a,b){this._id=a;this._name=b;this.getId=function(){return this._id};this.getName=function(){return this._name}}
299function Tb(a,b){this._lifecycle=a;this._stage=b;this.getLifecycle=function(){return this._lifecycle};this.getStage=function(){return this._stage}}function Ub(){l&&c.logInfo("The browser has no JSON support; the json2 [http://www.JSON.org/js.html] is used for handling JSON");Aa={};(function(a){function b(a){return 10>a?"0"+a:a}function c(a){g.lastIndex=0;return g.test(a)?'"'+a.replace(g,function(a){var b=n[a];
299return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':
300'"'+a+'"'}function e(a,b){var d,f,g=p,n,h=b[a];h&&"object"===typeof h&&"function"===typeof h.bcToJSON&&(h=h.bcToJSON(a));"function"===typeof z&&(h=z.call(b,a,h));switch(typeof h){case "string":return c(h);case "number":return isFinite(h)?String(h):"null";case "boolean":case "null":return String(h);case "object":if(!h)return"null";p+=r;n=[];if("[object Array]"===Object.prototype.toString.apply(h)){f=h.length;for(a=0;a<f;a+=1)n[a]=e(a,h)||"null";b=0===n.length?"[]":p?"[\n"+p+n.join(",\n"+p)+"\n"+g+
301"]":"["+n.join(",")+"]";p=g;return b}if(z&&"object"===typeof z)for(f=z.length,a=0;a<f;a+=1)"string"===typeof z[a]&&(d=z[a],(b=e(d,h))&&n.push(c(d)+(p?": ":":")+b));else for(d in h)Object.prototype.hasOwnProperty.call(h,d)&&(b=e(d,h))&&n.push(c(d)+(p?": ":":")+b);b=0===n.length?"{}":p?"{\n"+p+n.join(",\n"+p)+"\n"+g+"}":"{"+n.join(",")+"}";p=g;return b}}"function"!==typeof Date.prototype.bcToJSON&&(Date.prototype.bcToJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+
3021)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null},String.prototype.bcToJSON=Number.prototype.bcToJSON=Boolean.prototype.bcToJSON=function(a){return this.valueOf()});var f=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,p,r,n={"\b":"\\b","\t":"\\t",
303"\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},z;"function"!==typeof a.stringify&&(a.stringify=function(a,b,c){var d;r=p="";if("number"===typeof c)for(d=0;d<c;d+=1)r+=" ";else"string"===typeof c&&(r=c);if((z=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return e("",{"":a})});"function"!==typeof a.parse&&(a.parse=function(a,b){function c(a,d){var e,f,g=a[d];if(g&&"object"===typeof g)for(e in g)Object.prototype.hasOwnProperty.call(g,
304e)&&(f=c(g,e),f!==A?g[e]=f:delete g[e]);return b.call(a,d,g)}a=String(a);f.lastIndex=0;f.test(a)&&(a=a.replace(f,function(a){return"\\u"+("0000"+a.charCo
304deAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return a=eval("("+a+")"),"function"===typeof b?c({"":a},""):a;throw new SyntaxError("JSON.parse");})})(Aa)}var Wb=O?O:"FORCE_POST";
305var BC_URL='https://concacaf.blueconic.net';var BC_HOSTNAME_MAP = {"1167092448":"l305.concacaf.com","231829024":"l305.concacaf.com","523356064":"l305.concacaf.com","-1870286400":"l305.concacaf.com","2051415616":"l305.concacaf.com","-1433991488":"l305.concacaf.com","10188288":"l305.concacaf.com","841882976":"l305.concacaf.com","1959671872":"l305.concacaf.com"};var Kb=P&&"string"===typeof P?!0:!1,Ba=document.createElement("a");Ba.href=BC_URL;R=-1===Ba.href.substring(Ba.protocol.length).indexOf(":")?Ba.hostname:Ba.host;var ta=!1;if(k.name&&0==k.name.indexOf("bc_")||top.window!=k)if(k.top!=k||k.opener){ta=!0;try{top.location.host!=document.location.host||k.opener||(ta=!1)}catch(a){ta=!0}}var Y=!1,I=!1;if(k.name&&0==k.name.indexOf("bc_")&&(k.top!=k||k.opener)){I=!0;try{top.location.host!=document.location.host||
306k.opener||(I=!1)}catch(a){I=!0}}if(!k.blueConicClient||-1==BC_URL.indexOf(R)){var pb=function(){if(I)return BC_URL;var a="undefined"!=typeof R?"https://"+R:null;a&&-1!=BC_URL.indexOf(R.split(":")[0].replace("http://",""))||(a=BC_URL);if(!a)a:{var b;b=document.getElementsByTagName("script");for(var c=0,e=b.length;c<e;c++)if(a=b[c],(a=a.getAttribute("src"))&&-1!==a.indexOf("/blueconic/blueconic")){b=document.createElement("a");b.href=a;a="https://"+b.host;break a}a=void 0}return a},qb=pb(),K="undefined"!=
307typeof xa&&xa?xa:null,rb=function(){var a=k.navigator.userLanguage||navigator.systemLanguage||k.navigator.language;if(!a)return null;var b=-1!==a.indexOf("-")?a.indexOf("-"):a.indexOf("_");-1!=b&&(a=a.substring(0,b));return a=a.toLowerCase()},X=rb.call(this),Xb=(new Date).getTime(),l="undefined"!=typeof kb&&kb,da="undefined"!=typeof console&&console&&console.log,ua=!1,sb=!1,Za=!1,ea=[],Yb=["LISTENER","TOOLBAR"],Ca=!1,Da=!1,La=!1,$a=null,Xa=[],ab=null,Zb="string"===typeof N&&N?N:null,Ea;Ea=k.navigator&&
308k.navigator.userAgent?navigator.userAgent.toLowerCase():"unknown";var $b=function(){try{var a;document.createEvent?(a=document.createEvent("Event"),a.initEvent("onBlueConicEventCheck",!0,!0),k.dispatchEvent(a)):(a=document.createEventObject(),k.fireEvent("onBlueConicEventCheck",a));return!0}catch(b){return!1}}(),ac=function(){if("undefined"!=typeof XMLHttpRequest&&XMLHttpRequest){if("withCredentials"in new XMLHttpRequest)return l&&da&&console.log("CORS is fully supported. Chrome/Firefox/Opera/Safari/IE10+"),
309!0;if("undefined"!=typeof XDomainRequest)return l&&da&&console.log("CORS is not fully supported in IE8/9, fallback to old GET mechanism."),!1}l&&da&&console.log("CORS is not supported.");return!1}(),T;try{localStorage.setItem("bc_local_storage_check","bc_local_storage_check"),localStorage.removeItem("bc_local_storage_check"),T=!0}catch(a){T=!1}var la=!0,bb=null,L=!0,tb=!1,Fa=function(){if(k.navigator&&k.navigator.vendor&&-1!==k.navigator.vendor.toLowerCase().indexOf("apple")||-1!==Ea.indexOf("safari/"))L=
310!1;return-1!==Ea.indexOf("firefox")?(-1!==Ea.indexOf("gecko/")&&(L=!1),7168):-1!==Ea.indexOf("chrome")?(L=!0,7168):3072}();W!==A&&(L=L?W:!1,l&&da&&console.log("Cookie sync is toggled by configuration: "+L));var Aa=null,ub=Object.prototype.toString,sa=Object.prototype.hasOwnProperty,y=Array.prototype.push,bc=Array.prototype.unshift,vb=Array.prototype.indexOf,cc=Array.prototype.isArray,dc=Array.prototype.filter,ec=Array.prototype.map,Ga=null,Ha=null,wb=!1,fa;try{Ga=document.cookie,fa=!0}catch(a){fa=
311!1}if(ta&&fa&&"https:"===k.location.protocol)try{document.cookie="BCpartitiontest\x3d1;path\x3d/;SameSite\x3dNone;Secure";var fc=-1!==document.cookie.indexOf("BCpartitiontest\x3d1");document.cookie="BCpartitiontest\x3d;expires\x3dThu, 01 Jan 1970 00:00:00 GMT;path\x3d/;SameSite\x3dNone;Secure";fc||(Y=!0)}catch(a){}var xb=null,yb=null,cb=null,Q=[],ma=[],ja=[],ya=null,aa=[],ba=null,q=null,Ya=!1,Ma=null,Pa=null,Qa=null,Ia=[],db={},eb={},Ra={},na={},zb={},fb="bc_pre_"+(new Date).getTime(),Ab="bc_post_"+
312(new Date).getTime(),Sa="bc_async_"+(new Date).getTime();var PROFILE_COOKIE_MAX_AGE_DEFAULT_MS = 34560000000;for(var va=nb?nb:[],Bb=!1,Cb=["bc_simulator","bc_dialogues","bc_visualpicker"],Db="ArrayBuffer Attr Audio AudioProcessingEvent BCClass BeforeLo
312adEvent Blob CDATASection CSSCharsetRule CSSFontFaceRule CSSImportRule CSSMediaRule CSSPageRule CSSPrimitiveValue CSSRule CSSRuleList CSSStyleDeclaration CSSStyleRule CSSStyleSheet CSSValue CSSValueList CanvasGradient CanvasPattern CanvasRenderingContext2D CharacterData ClientRect ClientRectList Clipboard CloseEvent Comment CompositionEvent Counter CustomEvent DOMException DOMImplementation DOMParser DOMSettableTokenList DOMStringList DOMStringMap DOMTokenList DataView DeviceOrientationEvent Document DocumentFragment DocumentType Element Entity EntityReference ErrorEvent Event EventException EventSource File FileError FileList FileReader Float32Array Float64Array FormData HTMLAllCollection HTMLAnchorElement HTMLAppletElement HTMLAreaElement HTMLAudioElement HTMLBRElement HTMLBaseElement HTMLBaseFontElement HTMLBodyElement HTMLButtonElement HTMLCanvasElement HTMLCollection HTMLDListElement HTMLDirectoryElement HTMLDivElement HTMLDocument HTMLElement HTMLEmbedElement HTMLFieldSetElement HTMLFontElement HTMLFormElement HTMLFrameElement HTMLFrameSetElement HTMLHRElement HTMLHeadElement HTMLHeadingElement HTMLHtmlElement HTMLIFrameElement HTMLImageElement HTMLInputElement HTMLKeygenElement HTMLLIElement HTMLLabelElement HTMLLegendElement HTMLLinkElement HTMLMapElement HTMLMarqueeElement HTMLMediaElement HTMLMenuElement HTMLMetaElement HTMLMeterElement HTMLModElement HTMLOListElement HTMLObjectElement HTMLOptGroupElement HTMLOptionElement HTMLOutputElement HTMLParagraphElement HTMLParamElement HTMLPreElement HTMLProgressElement HTMLQuoteElement HTMLScriptElement HTMLSelectElement HTMLSourceElement HTMLSpanElement HTMLStyleElement HTMLTableCaptionElement HTMLTableCellElement HTMLTableColElement HTMLTableElement HTMLTableRowElement HTMLTableSectionElement HTMLTextAreaElement HTMLTitleElement HTMLUListElement HTMLUnknownElement HTMLVideoElement HashChangeEvent IceCandidate Image ImageData Int16Array Int32Array Int8Array KeyboardEvent MediaController MediaError MediaList MediaStreamEvent MessageChannel MessageEvent MessagePort MimeType MimeTypeArray MouseEvent MutationEvent NamedNodeMap Node NodeFilter NodeList Notation OfflineAudioCompletionEvent Option OverflowEvent PERSISTENT PageTransitionEvent Plugin PluginArray PopStateEvent ProcessingInstruction ProgressEvent RGBColor Range RangeException Rect SQLException SVGAElement SVGAltGlyphDefElement SVGAltGlyphElement SVGAltGlyphItemElement SVGAngle SVGAnimateColorElement SVGAnimateElement SVGAnimateMotionElement SVGAnimateTransformElement SVGAnimatedAngle SVGAnimatedBoolean SVGAnimatedEnumeration SVGAnimatedInteger SVGAnimatedLength SVGAnimatedLengthList SVGAnimatedNumber SVGAnimatedNumberList SVGAnimatedPreserveAspectRatio SVGAnimatedRect SVGAnimatedString SVGAnimatedTransformList SVGCircleElement SVGClipPathElement SVGColor SVGComponentTransferFunctionElement SVGCursorElement SVGDefsElement SVGDescElement SVGDocument SVGElement SVGElementInstance SVGElementInstanceList SVGEllipseElement SVGException SVGFEBlendElement SVGFEColorMatrixElement SVGFEComponentTransferElement SVGFECompositeElement SVGFEConvolveMatrixElement SVGFEDiffuseLightingElement SVGFEDisplacementMapElement SVGFEDistantLightElement SVGFEDropShadowElement SVGFEFloodElement SVGFEFuncAElement SVGFEFuncBElement SVGFEFuncGElement SVGFEFuncRElement SVGFEGaussianBlurElement SVGFEImageElement SVGFEMergeElement SVGFEMergeNodeElement SVGFEMorphologyElement SVGFEOffsetElement SVGFEPointLightElement SVGFESpecularLightingElement SVGFESpotLightElement SVGFETileElement SVGFETurbulenceElement SVGFilterElement SVGFontElement SVGFontFaceElement SVGFontFaceFormatElement SVGFontFaceNameElement SVGFontFaceSrcElement SVGFontFaceUriElement SVGForeignObjectElement SVGGElement SVGGlyphElement SVGGlyphRefElement SVGGradientElement SVGHKernElement SVGImageElement SVGLength SVGLengthList SVGLineElement SVGLinearGradientElement SVGMPathElement SVGMarkerElement SVGMaskElement SVGMatrix SVGMetadataElement SVGMissingGlyphElement SVGNumber SVGNumberList SVGPaint SVGPathElement SVGPathSeg SVGPathSegArcAbs SVGPathSegArcRel SVGPathSegClosePath SVGPathSegCurvetoCubicAbs SVGPathSegCurvetoCubicRel SVGPathSegCurvetoCubicSmoothAbs SVGPathSegCurvetoCubicSmoothRel SVGPathSegCurvetoQuadraticAbs SVGPathSegCurvetoQuadraticRel SVGPathSegCurvetoQuadraticSmoothAbs SVGPathSegCurvetoQuadraticSmoothRel SVGPathSegLinetoAbs SVGPathSegLinetoHorizontalAbs SVGPathSegLinetoHorizontalRel SVGPathSegLinetoRel SVGPathSegLinetoVerticalAbs SVGPathSegLinetoVerticalRel SVGPathSegList SVGPathSegMovetoAbs SVGPathSegMovetoRel SVGPatternElement SVGPoint SVGPointList SVGPolygonElement SVGPolylineElement SVGPreserveAspectRatio SVGRadialGradientElement SVGRect SVGRectElement SVGRenderingIntent SVGSVGElement SVGScriptElement SVGSetElement SVGStopElement SVGStringList SVGStyleElement SVGSwitchElement SVGSymbolElement SVGTRefElement SVGTSpanElement SVGTextContentElement SVGTextElement SVGTextPathElement SVGTextPositioningElement SVGTitleElement SVGTransform SVGTransformList SVGUnitTypes SVGUseElement SVGVKernElement SVGViewElement SVGZoomEvent Selection SessionDescription SharedWorker SpeechInputEvent Storage StorageEvent StyleSheet StyleSheetList TEMPORARY Text TextEvent TextMetrics TimeRanges TouchEvent UIEvent URL Uint16Array Uint32Array Uint8Array Uint8ClampedArray WebGLActiveInfo WebGLBuffer WebGLContextEvent WebGLFramebuffer WebGLProgram WebGLRenderbuffer WebGLRenderingContext WebGLShader WebGLTexture WebGLUniformLocation WebKitAnimationEvent WebKitBlobBuilder WebKitCSSFilterValue WebKitCSSKeyframeRule WebKitCSSKeyframesRule WebKitCSSMatrix WebKitCSSRegionRule WebKitCSSTransformValue WebKitIntent WebKitMutationObserver WebKitPoint WebKitTransitionEvent WebSocket WheelEvent Window Worker XMLDocument XMLHttpRequest XMLHttpRequestException XMLHttpRequestProgressEvent XMLHttpRequestUpload XMLSerializer XPathEvaluator XPathException XPathResult 
312XSLTProcessor addEventListener alert applicationCache atob bcHostname bcVerbose blueConicClient blueConicPreListeners blur btoa caches cancelAnimationFrame cancelIdleCallback captureEvents chrome clearInterval clearTimeout clientInformation close closed confirm console content controllers createImageBitmap crypto customElements defaultStatus defaultstatus devicePixelRatio disableExternalCapture dispatchEvent document enableExternalCapture event external fetch find focus forward frameElement frames fullScreen getComputedStyle getMatchedCSSRules getSelection globalStorage history home indexedDB innerHeight innerWidth isSecureContext length localStorage location locationbar matchMedia menubar moveBy moveTo mozAnimationStartTime mozCancelAnimationFrame mozCancelRequestAnimationFrame mozIndexedDB mozInnerScreenX mozInnerScreenY mozPaintCount mozRequestAnimationFrame myVar name navigator offscreenBuffering onabort onafterprint onafterscriptexecute onanimationend onanimationiteration onanimationstart onappinstalled onauxclick onbeforeinstallprompt onbeforeprint onbeforescriptexecute onbeforeunload onblur oncancel oncanplay oncanplaythrough onchange onclick onclose oncontextmenu oncopy oncuechange oncut ondblclick ondevicemotion ondeviceorientation ondeviceorientationabsolute ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus ongotpointercapture onhashchange oninput oninvalid onkeydown onkeypress onkeyup onlanguagechange onload onloadeddata onloadedmetadata onloadstart onlostpointercapture onmessage onmessageerror onmousedown onmouseenter onmouseleave onmousemove onmouseout onmouseover onmouseup onmousewheel onmozfullscreenchange onmozfullscreenerror onoffline ononline onpagehide onpageshow onpaste onpause onplay onplaying onpointercancel onpointerdown onpointerenter onpointerleave onpointermove onpointerout onpointerover onpointerup onpopstate onprogress onratechange onrejectionhandled onreset onresize onscroll onsearch onseeked onseeking onselect onshow onstalled onstorage onsubmit onsuspend ontimeupdate ontoggle ontouchcancel ontouchend ontouchmove ontouchstart ontransitionend onunhandledrejection onunload onvolumechange onwaiting onwebkitanimationend onwebkitanimationiteration onwebkitanimationstart onwebkittransitionend onwheel open openDatabase openDialog opener origin outerHeight outerWidth pageXOffset pageYOffset parent performance personalbar pkcs11 postMessage print prompt releaseEvents removeEventListener requestAnimationFrame requestIdleCallback resizeBy resizeTo routeEvent screen screenLeft screenTop screenX screenY scroll scrollBy scrollByLines scrollByPages scrollMaxX scrollMaxY scrollTo scrollX scrollY scrollbars self sessionStorage setInterval setResizable setTimeout showModalDialog sizeToContent speechSynthesis status statusbar stop styleMedia toolbar top updateCommands v8Locale visualViewport webkitAudioContext webkitAudioPannerNode webkitCancelAnimationFrame webkitCancelRequestAnimationFrame webkitConvertPointFromNodeToPage webkitConvertPointFromPageToNode webkitIDBCursor webkitIDBDatabase webkitIDBDatabaseError webkitIDBDatabaseException webkitIDBFactory webkitIDBIndex webkitIDBKeyRange webkitIDBObjectStore webkitIDBRequest webkitIDBTransaction webkitIndexedDB webkitNotifications webkitPostMessage webkitRequestAnimationFrame webkitRequestFileSystem webkitResolveLocalFileSystemURL webkitStorageInfo webkitURL window".split(" "),
313oa={},gb=0;gb<Db.length;gb++)oa[Db[gb]]=null;var hb=k.BOOMR||k.dT_?["$","jQuery"]:["$"],Ta=null,Ua=[],ga,u=function(){if(!qb)return l&&c.logInfo("blueconic stopped running because the hostname is not defined"),null};u.prototype.createEvent=function(a,b,d,e,f){var g=-1<c.indexOfArray(w.dynamicTypes,a),p=-1<c.indexOfArray(w.types,a),r=!0===b,n=null!==b&&"object"===typeof b;r&&(Da=!0);if(p||g)if(p&&"PAGEVIEW"!=a&&!b)c.logWarning("An interaction is required for event type ["+a+"]");else{"PAGEVIEW"!==
314a||r||t.getProfile();"PAGEVIEW"!==a||Ca&&!r||(va&&0<va.length&&t.updateProfile(),r||h.handleRevisions());var p={type:a,referrer:document.referrer,profile:null!==q?q.getId():c.getBcSessionId()},z;for(z in f)f.hasOwnProperty(z)&&(p[z]=f[z]);n?(f=ib.getParams(a,{timestamp:new Date,data:b,profile:p.profile,referrer:p.referrer},d),p.timelineContext=f.data,p.timestamp=f.timestamp,p.eventSource=f.eventSource):p.interaction=b;w.create(p,this,function(f){"VIEW"===a&&f&&Va(f,!1);g&&Va(f,!1);c.doCallback(d,
315e,f);w.publish(a,b)});"VIEW"===a?h.submitBatchTimeout(200,"VIEW"):g?h.submitBatchTimeout(0,"DYNAMIC"):h.submitBatch()}else w.publish(a,b)};u.prototype.setEditableNode=function(a,b){this.functions.setEditableNode(a,b)};u.prototype.getHostname=function(){return R};u.prototype.getIPAddress=function(){return yb};u.prototype.getInteractions=function(){return Q};u.prototype.getInteractionNamesById=function(a){var b=null;if(Q&&0<Q.length)for(var c=0;c<Q.length;c++)Q[c].id===a&&(b=Q[c]);return b};u.prototype.getSegments=
316function(){return ma};u.prototype.getTemplate=function(a,b){if(a){u.prototype._templateCallbacks||(u.prototype._templateCallbacks={});var d=(new Date).getTime()+Math.random();u.prototype._templateCallbacks[d]&&(d=(new Date).getTime()+Math.random());u.prototype._templateCallbacks[d]={onSuccess:b,templateId:a};var e=function(){for(var a=c.getPropertiesFromObject(u.prototype._templateCallbacks),b=0;b<a.length;b++){var d=u.prototype._templateCallbacks[a[b]];if(d){delete u.prototype._templateCallbacks[a[b]];
317var e=zb[d.templateId];if(!e){c.logWarning("Template with ID ["+d.templateId+"] is not found.");break}c.doCallback(this,d.onSuccess,e)}}};u.prototype.isInEditMode()&&!u.prototype._isTemplateDownloading&&(La=!1,Qa=null,l&&c.logInfo("download templates again for edit mode"));La||u.prototype._isTemplateDownloading?u.prototype._isTemplateDownloading||e():(u.prototype._isTemplateDownloading=!0,a=(I?BC_URL:S())+"/templates",c.loadScript(Qa?a+"/"+Qa:a,this,function(){delete u.prototype._isTemplateDownloading;
318l&&c.logInfo("finished template download");e()}))}else c.logWarning("A templateID is required for loading a template")};u.prototype.getChannelId=function(){return xb};u.prototype.isInEditMode=function(){return k.name&&"bc_dialogues"===k.name.substring(0,12)||k.bcEditModeInstanceName&&-1<k.bcEditModeInstanceName.indexOf("bc_dialogues")?!0:!1};u.prototype.setHostname=function(a){c.logDeprecated("blueConicClient.setHostName","Use setChannelIdentifier instead.");K=a};u.prototype.setChannelIdentifier=
319function(a){K=a};u.prototype.getStaticUrlPrefix=function(a){c.logDeprecated("blueConicClient.getStaticUrlPrefix","Use getBaseURL instead");return c.getBaseURL(a)};u.prototype.getBaseURL=function(a){return c.getBaseURL(a)};u.prototype.getRestEndpoint=function(a){var b=S()+"/rest/v2/custom/frontend/",d=c.getZoneId();d&&(b+=d+"/");a&&(b+=a);return b};u.prototype.isInSimulatorMode=function(){return k.name&&-1<k.name.indexOf("bc_simulator")};u.prototype.getCurrentDate=function(){return u.prototype.isInSimulatorMode()&&
320$a?$a:new Date};u.prototype.doNotShowAgain=function(a,b,c){if(a&&!this.isInEditMode()){var d=this.profile.getProfile();d&&(d.addValue("dialogues_do_not_show_again",a),this.profile.updateProfile(b,c))}};u.prototype.getProfileProperties=function(a,b){var d=(new Date).getTime()+ ++h.requestId;h.addBatchRequest(h.GET_PROFILE_PROPERTIES,null,d,this,function(d){var e={};if(d&&d.result){d=d.result;if(d.properties){var e=d.properties,g;for(g in e)e[g].permissionLevel&&(e[g].permissionLevel=m[e[g].permissionLevel])}c.doCallback(a,
321b,e)}});h.submitBatch()};u.prototype.handlePageView=function(a){ab&&clearTimeout(ab);ab=setTimeout(function(){if(!(v._lastHandlePageView&&500>(new Date).getTime()-v._lastHandlePageView)){v._lastHandlePageView=(new Date).getTime();l&&c.logInfo("handling asynchronous navigation for new url ["+document.location.href+"], creating new PAGEVIEW event to retrieve interactions for this url.");h.resetThrottlingCounter(!0);a&&!0===a.hidePositions&&B.hideAllPositions();var b=document.getElementById(Sa);b&&b.parentNode.removeChild(b);
322v._pendingInteractions=[];B.checkPreListeners();Ya=!1;v.createEvent("PAGEVIEW",!0,this,function(a){w.publish(w.ON_URL_CHANGE,{url:document.location.href});Va(a,!1)})}},10)};u.prototype.mail={sendEmail:function(a,b,d,e){var f=v._handledInteractions;if(f){for(var g=null,p=0,r=f.length;p<r&&!g;p++)f[p]&&f[p].context&&f[p].context.getInteractionId()===a&&(g=f[p].context);g&&(locale=g._usedLocale,f=h.getNextRequestId(),a={interactionId:[a],onlyOnce:[b],langId:[locale]},t.updateProfile(),h.addBatchRequest(h.SEND_MAIL,
323a,f,this,function(a){a&&c.doCallback(d,e,a)}),h.submitBatchTimeout(100,"sendMail"))}}};u.prototype.util={loadScript:function(a,b,d){return c.loadScript(a,b,d)},loadJQuery:function(a,b){c.loadJQuery(a,b)},loadJSON:function(a,b,d){h.JSONP.get(a,null,function(a){c.doCallback(b,d,a)})},loadCSS:function(a,b,d){return c.loadCSS(a,b,d)},load:function(a,b,d,e,f){c.logDeprecated("blueConicClient.util.load (libname, libversion, liboptions, caller, onSuccess)","blueConicClient.util.loadScript (url, caller, onSuccess)");
324"function"!=typeof f?c.logError('blueConicClient.util.load "onSuccess" is not a function'):c.loadScript(a,e,f)},loadLabels:function(a,b){c.logDeprecated("blueConicClient.util.loadLabels(caller, onSuccess)","blueConicClient.getProfileProperties(caller, onSuccess)");var d=h.getNextRequestId();h.addBatchRequest(h.GET_PROPERTY_LABELS,null,d,this,function(d){var e={};if(d&&d.result){d=d.result;if(d.properties)for(var g in d.properties){e[g]={};var p=d.properties[g],r;for(r in p)e[g][r]=p[r]}c.doCallback(a,
325b,e)}});h.submitBatch()},log:function(a){c.log(a)},getDOMElement:function(a){return c.getDOMElement(a,A,!1)},getDOMElements:function(a){return c.getDOMElement(a,A,!0)},getNonce:function(){return c.getNonce()},loadInlineScript:function(a,b,d){return c.loadInlineScript(a,b,d)},loadInlineCSS:function(a){return c.loadInlineCSS(a)}};u.prototype.util.cookie={setCookie:function(a,b,d){return c.setCookie(a,b,d)},getCookie:function(a){return c.getCookie(a)}};u.prototype.util.array={ensureArray:function(a){return c.ensureArray(a)},
326isArray:function(a){return c.isArray(a)},diffArrays:function(a,b){return c.diffArrays(a,b)},removeItemFromArray:function(a,b){c.removeItemFromArray(a,b)},indexOfArray:function(a,b){return c.indexOfArray(a,b)},mergeArrays:function(a,b){c.mergeArrays(a,b)}};var Eb=function(a){return{updateProfile:function(a,d){var b=a,f=d;"function"==typeof a&&(c.logDeprecated("blueConicClient.profile.updateProfile (onSuccess, caller)","blueConicClient.profile.updateProfile (caller, onSuccess)"),f=a,b=d);t.updateProfile(b,
327f);h.submitBatchTimeout(0,"updateProfile")},createProfile:function(a,c){t.createProfile(a,c);h.submitBatch()},deleteProfile:function(a,d){var b=a,f=d;"function"==typeof a&&(c.logDeprecated("blueConicClient.profile.deleteProfile (onSuccess, caller)","blueConicClient.profile.deleteProfile (caller, onSuccess)"),f=a,b=d);t.deleteProfile(b,f);h.submitBatch()},getProfile:function(){return q?new U(a):null}}};u.prototype.functions={setLocaleFunction:function(a){a&&"function"==typeof a?(X=a.call(null),l&&
328c.logInfo("runned locale function, the locale is now ["+X+"]")):X=rb.call(this)},setEditableNode:function(a,b){if(v.fn.postMessage&&v.fn.getSelectorForElement){var c=null;"string"==typeof a?c=a:null!=a&&(c=v.fn.getSelectorForElement(a));v.fn.postMessage("editableNodeUpdate",{selector:c,options:b})}},sendMessage:function(a){v.fn.postMessage&&v.fn.postMessage("onInteractionMessage",a)}};u.prototype.json={parse:function(a){try{return c.checkNativeJsonLib(),la?k.JSON.parse(a):Aa.parse(a)}catch(b){return c.logError("Could not parse json ["+
329b.message+"]"),null}},stringify:function(a,b,d){try{c.checkNativeJsonLib();var e=!1,f=null;Array.prototype.toJSON&&(e=!0,f=Array.prototype.toJSON,delete Array.prototype.toJSON);var g;if(la)return g=k.JSON.stringify(a,b,d),e&&(Array.prototype.toJSON=f),g;g=Aa.stringify(a,b,d);e&&(Array.prototype.toJSON=f);return g}catch(p){return c.logError("Could not stringify object ["+p.message+"]"),null}}};
329u.prototype.fn={createInteraction:function(a){if(a){var b=c.getInteractionParameters(a);return new Mb(a,b)}},
330postMessage:function(a,b){(k.opener&&k.opener!=k?k.opener:k.parent).postMessage({event:a,message:b,instanceName:k.bcEditModeInstanceName||v.instanceName},this.getBCUrl())},stringify:function(a,b,d){return c.stringifyObject(a,b,d)},addGlobalVarToBlacklist:function(a){oa[a]=null},addImplicitGlobalList:function(a){y.call(hb,a)},handlePreListeners:function(a){if(a)for(var b=0,d=a.length;b<d;b++){var e=a[b],f=e.getInteractionTypeId();l&&c.logInfo("start handling pre listener ["+f+"]");var g=db[f];if(g&&
331"function"===typeof g){var p=e.getBlueConicClient(),e=g.call(this,p,e);if(e.onPrepare&&"function"===typeof e.onPrepare){l&&c.logInfo("call method [onPrepare] for listener ["+f+"]");try{e.onPrepare()}catch(r){c.logError("an error occurred in interactiontype: ["+f+"]\x3cbr\x3ecalled method: [onPrepare]\x3cbr\x3eerror: "+r.message),l&&console.error&&console.error(r)}}}}},updateParams:function(a,b,c){for(var d=v._handledInteractions,f=0,g=d.length;f<g;f++){var p=d[f];a&&null===p.id&&(p.id=a);if(p.id==
332a){p.context.setParameters(b,c);var r="function"==typeof p.interaction.onUpdate?p.interaction.onUpdate:null;r&&r.call(p.interaction)}}},handleInteractions:function(a,b){a=B.handleLocalEditModeInteractions(a);var d=B.prepareInteractions(a,b);(a=document.getElementById(Ab))&&a.parentNode.removeChild(a);a=[];for(var e=0,f=d.length;e<f;e++){var g=d[e];if(g.getPreloadProperties)try{var p=g.getPreloadProperties();c.mergeArrays(a,p)}catch(n){c.logError("an error occurred in interactiontype: ["+g.ctx.getInteractionTypeId()+
333"]\x3cbr\x3ecalled method: [getPreloadProperties]\x3cbr\x3eerror: "+n.message),l&&console.error&&console.error(n)}}if(q&&0<a.length){l&&c.logInfo("start preloading "+a.length+" profile properties");var r=0,p=function(){r++;2===r&&B.executeInteractionsOnDocReady(d,b)};B.downloadLibraries(p);q.loadValues(a,this,p)}else l&&c.logInfo("skip preloading "+a.length+" profile properties"),B.executeInteractionsOnDocReady(d,b)},getBCHostnameAwarePluginsRepositoryUrl:function(a,b){var c=ia();return c?c+b:a},
334getBCHostnameAwareLocalPluginsUrl:function(){return ia()||BC_URL},getBCUrl:function(){return BC_URL},registerInteractionType:function(a,b,d,e){var f=[];if(b){for(var g=0;d&&g<d.length;g++)y.call(f,d[g].url+" - "+d[g].sharing);l&&c.logInfo("register plugin ["+a+"] with libraries \x3cbr\x3e"+f.join("\x3cbr\x3e"))}else return c.logInfo("did not register interactiontype with id : ["+a+"]. InteractionTypeImpl is undefined."),null;var p;(function(){p=function(d,e){try{return new b(d,e)}catch(z){c.logError("an error occurred in interactiontype: ["+
335a+"]\x3cbr\x3ecalled method: [init]\x3cbr\x3eerror: "+z.message),l&&console.error&&console.error(z)}}})();if(e)for(f=0;f<e.length;f++)(g=e[f])&&g.id&&g.baseUrl&&!Ia[g.id]&&(Ia[g.id]=g.baseUrl);db[a]=p;eb[a]=d},registerLibrary:function(a,b,d){l&&c.logInfo("register library ["+a+"]");na[a]={libraryFunction:b,libraryName:d}},registerTemplates:function(a){if(a&&!La){var b=c.getPropertiesFromObject(a);l&&c.logInfo("registering templates with the following IDs ["+b+"]");for(var d=0;d<b.length;d++){var e=
336a[b[d]];e.css!==A&&e.js!==A&&e.html!==A&&(zb[b[d]]=new Ob(b[d],e.html,e.css,e.js,e.precompiled?e.precompiled:null))}La=!0}},saveGlobalVariables:function(){var a={},b=[],d=null;for(d in k)oa[d]===A&&(a[d]=k[d],y.call(b,d));"undefined"===typeof k.jQuery||k.propertyIsEnumerable("jQuery")||(a.jQuery=k.jQuery,y.call(b,"jQuery"));for(var e=hb.length,f=0;f<e;f++)d=hb[f],-1===c.indexOfArray(b,d)&&k[d]&&(a[d]=k[d],y.call(b,d));return function(){for(var d=[],e=b.length,f=0;f<e;f++){var n=b[f];if(oa[n]===A&&
337k[n]!==a[n]){l&&c.logInfo(typeof k[n]+" ["+n+"] moved to private space");this[n]=k[n];y.call(d,n);try{k[n]=a[n]}catch(Na){}}}var e=[],z;for(z in k)oa[z]===A&&e.push(z);"undefined"===typeof k.jQuery||k.propertyIsEnumerable("jQuery")||e.push("jQuery");z=c.diffArrays(e,b);e=0;for(f=z.length;e<f;e++){var n=z[e],h=typeof k[n];if(oa[n]===A&&(this[n]=k[n],y.call(d,n),"jQuery"===n))try{k[n]=A,delete k[n]}catch(Na){}l&&c.logInfo(h+" ["+n+"] added to private space")}return d}},importLibraries:function(a){a=
338c.ensureArray(a);var b=a.length;if(0!==b){for(var d=Fb(),e=0;e<b;e++)Gb.call(this,a[e]);d.call(this)}},importAndCacheLibraries:function(a){a=c.ensureArray(a);var b=a.length,d=this.ctx.getInteractionTypeId();if(0!==b)if(d)for(var e=0;e<b;e++){var f=a[e],g=na[f];if(g===A)l&&c.logError("unexisting library ["+f+"] for interactiontype ["+d+"]");else{var p=g.libraryName;Ra[p]?(function(a){for(var b,d=0;d<a.length;d++)b=a[d],l&&c.logInfo("added ["+b.key+"] from cache to private space"),this[b.key]=b.object}.call(this,
339Ra[p]),l&&c.logInfo("retrieved library ["+f+"] from cache with key ["+p+"] for interactiontype ["+d+"]")):(Ra[p]=[],function(a,b){var e=Fb();Gb(a);for(var e=e.call(this),f=0;f<e.length;f++){var g={key:null,object:null};g.key=e[f];g.object=this[e[f]];y.call(b,g)}l&&c.logInfo("added library ["+a+"] to cache with key ["+p+"] for interactiontype ["+d+"]")}
339.call(this,f,Ra[p]))}}else l&&c.logInfo("Could not determine the interactiontype during library import")},parseLibrary:function(a){if(na)if(na[a]){var b=
340na[a].libraryFunction;if(b&&"function"==typeof b){l&&c.logInfo("start import library ["+a+"]");var d=null,e=null;k.define&&(l&&c.logInfo('moving "window.define" out of the way, to make sure library ['+a+"] is parsed properly"),d=k.define,k.define=null);"object"===typeof module&&"object"===typeof module.exports&&(l&&c.logInfo('moving "module.exports" out of the way, to make sure library ['+a+"] is parsed properly"),e=module.exports,module.exports=A);b.call(this);d&&(l&&c.logInfo("resetting window.define to original state."),
341k.define=d);e&&(l&&c.logInfo("resetting module.exports to original state."),module.exports=e)}else c.logError("library with url ["+a+"] not found")}else c.logError("the external library ["+a+"] is declared in the plugin XML but not present.");else c.logError("the external libraries are not loaded")},getDomainGroup:function(a){a=c.hash(a);for(var b in lb){var d=lb[b],e;for(e in d)if(d[e]==a)return b}return"DEFAULT"},setRequestInfo:function(a){},getDOMElement:function(a){return c.getDOMElement(a)},
342version:"2.6.0"};var Hb=u.prototype.fn.createInteraction,Va=u.prototype.fn.handleInteractions,gc=u.prototype.fn.registerInteractionType,hc=u.prototype.fn.handlePreListeners,Fb=u.prototype.fn.saveGlobalVariables,Gb=u.prototype.fn.parseLibrary,B={getBlueConicClient:function(a){var b=v,c=a&&-1<a.getInteractionTypeId().indexOf("editmode_")&&("GLOBALLISTENER"===a.getType()||"ACTION"===a.getType());a&&!c&&(a.getInteractionId()===a.getInteractionTypeId()&&"TOOLBAR"!==a.getType()||"GLOBALLISTENER"===a.getType())?
343(b=new u,b.profile=new Eb(a.getInteractionTypeId())):b||(b=new u,b.profile=new Eb);return b},publishPlainEventAndCallHook:function(a){if($b)try{var b;document.createEvent?(b=document.createEvent("Event"),b.initEvent(a,!0,!0),k.dispatchEvent(b)):(b=document.createEventObject(),k.fireEvent(a,b))}catch(d){}try{if(k[a]&&"function"===typeof k[a])k[a]()}catch(d){}},hideAllPositions:function(){var a=K?K:document.location.hostname;l&&c.logInfo("start hide all positions for hostname ["+a+"]");var b=mb[c.hash(a)];
344b&&0<b.length&&c.addCSSToDOM(b,fb,1250);l&&c.logInfo("finished hide all positions for hostname ["+a+"]")},checkPreListeners:function(){var a=[];if(va.length&&0<va.length){for(var b=0,c=va.length;b<c;b++){var e=va[b];gc(e.id,e.interactionType);e=Hb({id:e.id,name:e.id,interactionType:{myId:e.id}});y.call(a,e)}hc(a)}Bb=!0},observeDOMChanges:function(){var a=v,b=document.getElementsByTagName("body")[0];b&&!a._observer&&(k.MutationObserver||k.WebKitMutationObserver||k.MozMutationObserver?(a._observer=
345new MutationObserver(function(a,b){B.handleDOMMutation()}),a._observer.observe(b,{childList:!0,subtree:!0,characterData:!0})):k.addEventListener&&b.addEventListener("DOMNodeInserted",function(){B.handleDOMMutation()},!1))},handleDOMMutation:function(){v._handleMutationTO&&clearTimeout(v._handleMutationTO);v._handleMutationTO=setTimeout(function(){var a=v._pendingInteractions.length;v.isPaused!==A&&v.isPaused||l&&c.logInfo("dom mutation detected, #pending interactions: ["+a+"]");0<a&&(a=B.handleOnLoad(v._pendingInteractions.slice(),
346!1),l&&c.logInfo("dom mutation detected, #handled: ["+a.length+"]"),0<a.length&&((a=document.getElementById(Sa))&&a.parentNode.removeChild(a),B.hidePendingPositions()));if((a=M.getSelectors().concat())&&0<a.length){l&&c.logInfo("listener subscribers found for the following selectors: ["+a+"]. Callbacks will be called now.");for(var b=0;b<a.length;b++){var d=a[b];try{d&&c.getDOMElement(d)&&M.publish(d)}catch(e){l&&console.error(e)}}}delete v._handleMutationTO},100)},isNative:function(a,b){(a=/\{\s*\[native code\]\s*\}/.test(""+
347a))||c.logWarning("function: ["+b+"] is not native any more, the target website overruled it.");return a},handleLocalEditModeInteractions:function(a){if(!u.prototype.isInEditMode())return a;for(var b=[],d=[],e=0;e<a.length;e++){var f=a[e],g=f.getInteractionTypeId();y.call(b,g);f.isLocalEditMode()?l&&c.logInfo("skipping local edit mode interaction ["+g+"]"):y.call(d,f)}for(a=0;a<ga.length;a++)e=ga[a],f=e.getInteractionTypeId(),e.isLocalEditMode()&&(g=f.substring(11),-1!==b.indexOf(g)&&(l&&c.logInfo("adding local edit mode interaction ["+
348f+"] for interaction type ["+g+"]"),bc.call(d,e)));return d},shouldExecute:function(a,b){for(var d=0,e=v._handledInteractions.length;d<e;d++){var f=v._handledInteractions[d],f=-1<c.indexOfArray(Yb,b)&&a===f.id,g=!1;f||(g=a&&-1<a.indexOf("editmode_"));if(f||g)return!1}return!0},executeInteractionsOnDocReady:function(a,b){B.downloadLibraries(function(){B.injectLibraries(a);ua?B.callInteractionMethods(a,b):c.bindDocumentReady(this,function(){B.callInteractionMethods(a,b)})})},downloadLibraries:function(a){sb?
349c.doCallback(this,a):Za?ea.push(a):(ea.push(a),Za=!0,l&&c.logInfo("start library download from url [/plugin/library] with version ["+Pa+"]"),a=I?BC_URL:S(),a=Pa?a+"/plugin/library/"+Pa:a+"/plugin/library",I&&(a+="_e"),c.loadScript(a,this,function(){sb=!0;Za=!1;l&&c.logInfo("finished library download");if(ea&&0<ea.length){for(var a=0;a<ea.length;a++)ea[a]&&c.doCallback(this,ea[a]);ea=[]}}))},injectLibraries:function(a){for(var b=0,d=a.length;b<d;b++){var e=a[b].ctx.getInteractionTypeId(),f=a[b].ctx.getName()?
350a[b].ctx.getName():a[b].ctx.getInteractionId();l&&c.logInfo("start import libraries for interaction ["+f+"]");eb[e]&&a[b].importLibraries(eb[e]);l&&c.logInfo("finished import libraries for interaction ["+f+"]")}},prepareInteractions:function(a,b){for(var d=[],e=0,f=a.length;e<f;e++){var g=a[e],p=g.getInteractionTypeId(),h=g.getName()?g.getName():g.getInteractionId();if(b||!v._handledInteractions||B.shouldExecute(g.getInteractionId(),g.getType())){l&&c.logInfo("start initializing interaction ["+h+
351"], interaction type ["+p+"]");var n=db[p];if(n&&"function"===typeof n){var z=g.getBlueConicClient();if(n=n.call(this,z,g)){n.ctx=g;if(n.getContent&&"function"==typeof n.getContent&&"function"==typeof n.ctx.getPosition&&n.ctx.getPosition()){z
351=g=null;try{g=n.getContent()}catch(ob){c.logError("an error occured in interactiontype: ["+n.ctx.getInteractionTypeId()+"]\x3cbr\x3ecalled method: [getContent]\x3cbr\x3eerror: "+ob.message),l&&console.error&&console.error(ob)}z=n.ctx.getPosition();u.prototype.isInSimulatorMode()&&
352!g&&z&&n.ctx.getDOMElement();g&&z&&(l&&c.logInfo("start set content mechanism for interaction ["+h+"] with position ["+z+"]"),function(a,b,d){function e(){g++;(f=d.ctx.getDOMElement())?d.ctx.isOnLoadExecuted()?l&&c.logInfo('"onLoad" already executed for interaction ['+h+'], skipping "getContent"'):(d.ctx.setGetContentExecuted(!0),c.setContent(f,a),l&&c.logInfo("[+] set content on position ["+b+"] was successful, recursion ["+g+"]")):50<=g?l&&c.logInfo("failed to set content on position ["+b+"] max recursion reached"):
353Ca?l&&c.logInfo("failed to set content on position ["+b+"] onEvent started"):k.setTimeout(e,100)}var f=null,g=0;e.call(this)}(g,z,n))}y.call(d,n)}}else l&&c.logInfo("InteractionType with id ["+p+"] not found");l&&c.logInfo("finished initializing interaction ["+h+"], interaction type ["+p+"]")}else l&&c.logInfo("skipping interaction, already executed ["+h+"], interaction type ["+p+"]")}return d},handleOnLoad:function(a,b){for(var d=[],e=0,f=a.length;e<f;e++){var g=a[e];if(g){var h="function"==typeof g.onLoad?
354g.onLoad:g.onEvent,r=g.ctx.getName()?g.ctx.getName():g.ctx.getInteractionId(),n=g.ctx;if(b||!v._handledInteractions||B.shouldExecute(n.getInteractionId(),n.getType()))if(n.getPosition()&&n.getDOMElement()||!n.getPosition()&&!n.isPositionTypePlugin()||n.getPosition()&&n.isGetContentExecuted()){c.removeItemFromArray(v._pendingInteractions,g);l&&c.logInfo("[+] start onEvent for interaction ["+r+"]");d.push({id:n.getInteractionId(),name:n.getName(),position:n.getPosition(),type:n.getInteractionTypeId(),
355isPositionFound:n.isPositionFound()});v._handledInteractions.push({id:n.getInteractionId(),interaction:g,context:n});try{n.setOnLoadExecuted(!0);var z=n.getBlueConicClient(),k=I?BC_URL:S();h.call(g,z.profile.getProfile(),n.getParameters(),n.getPosition(),z,n.getInteractionId(),k)}catch(Na){c.logError("an error occured in interactiontype: ["+n.getInteractionTypeId()+"]\x3cbr\x3ecalled method: [onEvent]\x3cbr\x3eerror: "+Na.message),l&&console.error&&console.error(Na)}l&&c.logInfo("finished onEvent for interaction ["+
356r+"]")}else if(n.getPosition()){h=!0;for(r=0;r<blueConicClient._pendingInteractions.length;r++)h&&blueConicClient._pendingInteractions[r]&&blueConicClient._pendingInteractions[r].ctx.getInteractionId()===n.getInteractionId()&&(h=!1);h&&v._pendingInteractions.push(g)}}}0<d.length&&!b&&w.publish("onHandledInteractions",{handledInteractions:d});return d},callInteractionMethods:function(a,b){ua?(Da=Ca=!0,v._pendingInteractions||(v._pendingInteractions=[]),v._handledInteractions||(v._handledInteractions=
357[]),l&&c.logInfo("start running interactions"),b&&w.publish(w.ON_BEFORE_INTERACTIONS),a=B.handleOnLoad(a,b),l&&c.logInfo("finished running interactions"),w.publish(w.ON_EVENT_READY,{blueConicClient:v,handledInteractions:a,isFirstLoad:b}),b&&(0<v._pendingInteractions.length&&B.hidePendingPositions(),B.observeDOMChanges()),Da=Ca=!1,v.profile.updateProfile()):l&&c.logInfo("cannot run onLoad: document ready ["+ua+"]")},hidePendingPositions:function(){if(0<v._pendingInteractions.length){for(var a=mb[c.hash(K?
358K:document.location.hostname)],b=[],d=0;d<v._pendingInteractions.length;d++){var e=v._pendingInteractions[d];-1<c.indexOfArray(a,e.ctx.getPosition())&&b.push(e.ctx.getPosition())}0<b.length&&(l&&c.logInfo("hiding interactions: ["+b+"]"),(a=document.getElementById(Sa))&&a.parentNode.removeChild(a),c.addCSSToDOM(b,Sa))}}};U.prototype.permission={getLevel:function(){return m.getLevel()},setLevel:function(a,b){return m.setLevel(a,b)}};U.prototype.timeline={createEventById:function(a,b,d,e,f,g){if(a&&
359b){if(!d)d=new Date;else if(!(d instanceof Date)){l&&c.logInfo("Timestamp must be of type 'Date'.");return}a={profile:null!==q?q.getId():c.getBcSessionId(),data:e,timestamp:d,eventId:a};ib.createEvent(b,a,f,g)}else l&&c.logInfo("Timeline event must contain an ID and a type")},createEvent:function(a,b,d,e,f){if(a){if(!b)b=new Date;else if(!(b instanceof Date)){l&&c.logInfo("Timestamp must be of type 'Date'.");return}b={profile:null!==q?q.getId():c.getBcSessionId(),data:d,timestamp:b};ib.createEvent(a,
360b,e,f)}else l&&c.logInfo("Timeline event must contain a type")}};U.prototype.permission.optin={};U.prototype.permission.optout={};var m={DO_NOT_TRACK:"DO_NOT_TRACK",ANONYMOUS:"ANONYMOUS",PERSONAL:"PERSONAL",propertyOptOutHandler:null,propertyOptInHandler:null,pluginOptIn
360Handler:null,pluginOptOutHandler:null,permissionLevel:null,previousPermissionLevel:null,isPermissionLevelChanged:!1,PermissionHandler:function(){this.itemList=[];this.removeList=[];this.addList=[];this.getAll=function(){return this.itemList};
361this.add=function(a){-1===c.indexOfArray(this.itemList,a)&&(y.call(this.itemList,a),y.call(this.addList,a),c.removeItemFromArray(this.removeList,a))};this.remove=function(a){c.removeItemFromArray(this.itemList,a);y.call(this.removeList,a);c.removeItemFromArray(this.addList,a)};this.getRemoveList=function(){return this.removeList};this.getAddList=function(){return this.addList};this.set=function(a){this.itemList=a};this.clear=function(){this.addList=[];this.removeList=[]}},setLevel:function(a,b){if(a!==
362m.DO_NOT_TRACK&&a!==m.ANONYMOUS&&a!==m.PERSONAL)return c.logInfo("invalid permission level ["+a+"]. Use one of \x3cbr\x3eblueConicClient.permission.level.DO_NOT_TRACK\x3cbr\x3eblueConicClient.permission.level.ANONYMOUS\x3cbr\x3eblueConicClient.permission.level.PERSONAL"),!1;m.previousPermissionLevel=m.permissionLevel;m.isPermissionLevelChanged=!0;m.message=b;m.permissionLevel=a;l&&c.logInfo("setPermissionLevel from ["+m.previousPermissionLevel+"] to ["+m.permissionLevel+"]");return!0},getLevel:function(){return m.permissionLevel},
363createAPI:function(){function a(a){var b=new m.PermissionHandler;a.getProfileProperties=function(){return b.getAll()};a.addProfileProperty=function(a){return b.add(a)};a.removeProfileProperty=function(a){return b.remove(a)};return b}function b(a){var b=new m.PermissionHandler;a.getPlugins=function(){return b.getAll()};a.addPlugin=function(a){return b.add(a)};a.removePlugin=function(a){return b.remove(a)};return b}m.propertyOptOutHandler=a(U.prototype.permission.optout);m.propertyOptInHandler=a(U.prototype.permission.optin);
364m.pluginOptInHandler=b(U.prototype.permission.optin);m.pluginOptOutHandler=b(U.prototype.permission.optout);u.prototype.permission={};u.prototype.permission.level={DO_NOT_TRACK:m.DO_NOT_TRACK,ANONYMOUS:m.ANONYMOUS,PERSONAL:m.PERSONAL}}};m.createAPI();var t={SET:"SET",ADD:"ADD",INCREMENT:"INCREMENT",addQueue:{},setQueue:{},incrementQueue:{},callbackQueue:[],addSources:{},setSources:{},incrementSources:{},replaySources:{},getProfile:function(a,b){var d=h.getNextRequestId();h.addBatchRequest(h.GET_PROFILE,
365null,d,this,function(d){this._handleProfileResponse(d,!0);c.doCallback(a,b,q)})},_handleProfileResponse:function(a,b){if(a&&a.result){var d=function(a,d){var e=m[a.result.permissionlevel];m.permissionLevel=e;var f=c.ensureArray(a.result.optinproperties);m.propertyOptInHandler.set(f);var g=c.ensureArray(a.result.optoutproperties);m.propertyOptOutHandler.set(g);var h=c.ensureArray(a.result.optinplugins);m.pluginOptInHandler.set(h);a=c.ensureArray(a.result.optoutplugins);m.pluginOptOutHandler.set(a);
366l&&(d="Profile object initialized"+("\x3cbr\x3e-id : ["+d+"]")+("\x3cbr\x3e-permission level : ["+e+"]")+("\x3cbr\x3e-optin properties : ["+f+"]"),d+="\x3cbr\x3e-optout properties : ["+g+"]",d+="\x3cbr\x3e-optin plugins : ["+h+"]",d+="\x3cbr\x3e-optout plugins : ["+a+"]",c.logInfo(d));b&&w.publish(w.ON_READY,{blueConicClient:v})},e=a.profileId?a.profileId:a.tempId?a.tempId:a.result.id;q?(function(a){this._id=a}.call(q,e),q.getId()&&m.getLevel()||d.call(this,a,e)):(q=new za(e),d.call(this,a,e));m.getLevel()!==
367m.DO_NOT_TRACK&&q.deleteDntRefusedObjectives()}},deleteProfile:function(a,b){var d=q.getPrivacyLegislation(),e=h.getNextRequestId();h.addBatchRequest(h.DELETE_PROFILE,null,e,this,function(){c.setBcSessionId(null);q=new za;m.permissionLevel=m.DO_NOT_TRACK;q._properties.privacy_legislation=d;l&&c.logInfo("profile is deleted");c.doCallback(a,b)})},createProfile:function(a,b){var d=h.getNextRequestId();h.addBatchRequest(h.CREATE_PROFILE,null,d,this,function(d){q=null;t.clearQueue();this._handleProfileResponse(d,
368!1);l&&c.logInfo("new profile is created");c.doCallback(a,b,q)})},clearQueue:function(){t.addQueue={};t.setQueue={};t.incrementQueue={};t.addSources={};t.setSources={};t.incrementSources={}},updateProfile:function(a,b){if(Da)b&&t.callbackQueue.push({caller:a,onSuccessCallback:b});else{var d=function(a){for(var b in a)return!1;return!0},e=function(a,b){a===m.DO_NOT_TRACK&&c.setBcSessionId(b.profileId)};m.isPermissionLevelChanged&&m.previousPermissionLevel===m.DO_NOT_TRACK?function(){m.isPermissionLevelChanged=
369!1;var d=h.getNextRequestId(),g={};g.level=c.ensureArray(m.permissionLevel);g.message=c.ensureArray(m.message);q&&(q.getConsentedObjectives()&&(g.consented_objectives=c.ensureArray(q.getConsentedObjectives())),q.getRefusedObjectives()&&(g.refused_objectives=c.ensureArray(q.getRefusedObjectives())));c.setBcSessionId(null);h.addBatchRequest(h.SET_PERMISSION_LEVEL,g,d,this,function(d){e(m.getLevel()+"",d);t.getProfile(this,function(){if(q)for(var d=q.getPropertyNames(),e=0;e<d.length;e++){var f=d[e],
370g=t.replaySources[f],p=t.addQueue[f];if(p&&0<p.length)for(var l=0;l<p.length;l++)q.addValue(f,p[l],g);(p=t.incrementQueue[f])&&0<p.length&&q.incrementValue(f,p,g);(p=t.setQueue[f])&&q.setValues(f,p,g)}t.updateProfile(this,function(){v.createEvent("PAGEVIEW",!1,this,function(d){w.publish(w.ON_PERMISSION_LEVEL_CHANGE,{permissionLevel:m.permissionLevel,previousPermissionLevel:m.previousPermissionLevel});c.doCallback(a,b)})});h.submitBatch()});h.submitBatch()});h.submitBatch()}():function(){function f(d){ka--;
371if(0===ka){if(t.callbackQueue&&0<t.callbackQueue.length){for(var e=0;e<t.callbackQueue.length;e++)c.doCallback(t.callbackQueue[e].caller,t.callbackQueue[e].onSuccessCallback);t.callbackQueue=[]}d&&d.result&&(d.result.permissionlevel&&"No profile present and will not be created."!==c.getBcSessionId(Ha)&&(m.permissionLevel=m[d.result.permissionlevel]),Bb&&q&&q.getPrivacyLegislation()&&(d.result.consentedobjectives&&(q._properties.consented_objectives=d.result.consentedobjectives),d.result.refusedobjectives&&
372(q._properties.refused_objectives=d.result.refusedobjectives)));c.doCallback(a,b)}}var g=t.addQueue,p=t.setQueue,r=t.incrementQueue,n=t.addSources,z=t.setSources,l=t.incrementSources;t.clearQueue();for(var k=c.getPropertiesFromObject(p),Oa=0,u=k.length;Oa<u;Oa++)delete g[k[Oa]],delete r[k[Oa]];var v=c.getPropertiesFromObject(g),Vb=c.getPropertiesFromObject(r),ka=1;(new Date).getTime();(function(){if(m.isPermissionLevelChanged){var a={};ka++;var b=m.getLevel()+"";a.level=c.ensureArray(b);a.message=
373c.ensureArray(m.message);m.isPermissionLevelChanged=!1;var d=h.getNextRequestId();h.addBatchRequest(h.SET_PERMISSION_LEVEL,a,d,this,function(a){f.call(this);e(b,a);w.publish(w.ON_PERMISSION_LEVEL_CHANGE,{permissionLevel:m.permissionLevel,previousPermissionLevel:m.previousPermissionLevel})})}})();(function(){var a=m.pluginOptInHandler&&m.pluginOptInHandler.getAddList(),b=m.propertyOptInHandler&&m.propertyOptInHandler.getAddList(),c={};if(0<a.length||0<b.length)ka++,c.properties=b,c.plugins=a,a=h.getNextRequestId(),
374h.addBatchRequest(h.ADD_OPTIN,c,a,this,f)})();(function(){var a=m.pluginOptInHandler&&m.pluginOptInHandler.getRemoveList(),b=m.propertyOptInHandler&&m.propertyOptInHandler.getRemoveList(),c={};if(0<a.length||0<b.length)ka++,c.properties=b,c.plugins=a,a=h.getNextRequestId(),h.addBatchRequest(h.REMOVE_OPTIN,c,a,this,f)})();(function(){var a=m.pluginOptOutHandler&&m.pluginOptOutHandler.getAddList(),b=m.propertyOptOutHandler&&m.propertyOptOutHandler.getAddList(),c={};if(0<a.length||0<b.length)ka++,c.properties=
375b,c.plugins=a,a=h.getNextRequestId(),h.addBatchRequest(h.ADD_OPTOUT,c,a,this,f)})();(function(){var a=m.pluginOptOutHandler&&m.pluginOptOutHandler.getRemoveList(),b=m.propertyOptOutHandler&&m.propertyOptOutHandler.getRemoveList(),c={};if(0<a.length||0<b.length)ka++,c.properties=b,c.plugins=a,a=h.getNextRequestId(),h.addBatchRequest(h.REMOVE_OPTOUT,c,a,this,f)})();(function(){if(0<k.length){var a={};a.properties=p;d(z)||(a.sources=z);ka++;var b=h.getNextRequestId();h.addBatchRequest(h.SET_PROPERTIES,
376a,b,this,f)}})();(function(){if(0<v.length){var a={};a.properties=g;d(n)||(a.sources=n);ka++;var b=h.getNextRequestId();h.addBatchRequest(h.ADD_PROPERTIES,a,b,this,f)}})();(function(){if(0<Vb.length){var a={};a.properties=r;d(n)||(a.sources=l);ka++;var b=h.getNextRequestId();h.addBatchRequest(h.INCREMENT_PROPERTIES,a,b,this,f)}})();f();m.propertyOptOutHandler&&m.propertyOptOutHandler.clear();m.propertyOptInHandler&&m.propertyOptInHandler.clear();m.pluginOptInHandler&&m.pluginOptInHandler.clear();
377m.pluginOptOutHandler&&m.pluginOptOutHandler.clear()}()}},getProperties:function(a,b,d){a={property:a};var e=h.getNextRequestId();h.addBatchRequest(h.GET_PROPERTIES,a,e,this,function(a){function e(a,b){b=c.ensureArray(b);this._properties[a]=b}if(a&&a.result&&a.result.properties){a=a.result.properties;for(var f in a){var h=a[f];h&&"function"!=typeof h&&e.call(q,f,h)}}c.doCallback(b,d)})},unsavedLog:function(a,b,d,e,f){var g;switch(d){case t.SET:g=t.setQueue;break;case t.ADD:g=t.addQueue;break;case t.INCREMENT:g=
378t.incrementQueue;break;default:g=t.setQueue}d===t.SET&&(delete t.addQueue[a],delete t.setQueue[a],delete t.incrementQueue[a]);g[a]||(g[a]=[]);g=g[a];var h=function(){if(e&&f){var b=null;d===t.SET?b=t.setSources:d===t.ADD?b=t.addSources:d===t.INCREMENT&&(b=t.incrementSources);b&&(b[f]||(b[f]=[]),-1===v.util.array.indexOfArray(b[f],a)&&b[f].push(a));t.replaySources[a]=f}};if(c.isArray(b)){for(var r=b.length,n=0;n<r;n++)y.call(g,b[n]);h()}else null!==b&&b!==A?(y.call(g,b),h()):g=null}},ib={createEvent:function(a,
379b,d,e){var f=h.getNextRequestId();a=this.getParams(a,b,d);h.addBatchRequest(h.CREATE_TIMELINE_EVENT,a,f,d,function(a){a&&a.result?c.doCallback(d,e,"true"===a.error?new TypeError("Event is not added due to validation errors or invalid event type."):a.result):c.doCallback(d,e,null)});h.submitBatch()},getParams:function(a,b,d){var e=null;if(b.data&&b.data instanceof Object&&!c.isArray(b.data))for(var e=v.json.parse(v.json.stringify(b.data)),f=c.getPropertiesFromObject(e),g=0;g<f.length;g++){var h=f[g];
380e[h]=c.ensureArray(e[h]);if(0<e[h].length&&e[h][0]instanceof Object&&!c.isDate(e[h][0]))for(var r=0;r<e[h].length;r++){var n=e[h][r];if(n)for(var z=c.getPropertiesFromObject(n),l=0;l<z.length;l++){var k=z[l];n[k]=c.ensureArray(n[k])}}}f=null;d&&d.context&&d.context.getInteractionId&&(f=d.context.getInteractionId());a={referrer:c.ensureArray(b.referrer),profile:c.ensureArray(b.profile),type:c.ensureArray(a),eventSource:c.ensureArray(f)};e&&(a.data=c.ensureArray(v.json.stringify(e)));b.eventId&&(a.eventId=
381c.ensureArray(b.eventId));b.timestamp&&(a.timestamp=c.ensureArray(b.timestamp.getTime()));return a}},w={types:["PAGEVIEW","VIEW","CLICK","CONVERSION"],dynamicTypes:[],eventQueue:[],handlersByEvent:{},ON_PERMISSION_LEVEL_CHANGE:"onpermissionlevelchange",ON_READY:"onready",ON_EVENT_READY:"oneventready",ON_URL_CHANGE:"onurlchange",ON_BEFORE_PRELISTENERS:"onbeforeprelisteners",ON_BEFORE_INTERACTIONS:"onbeforeinteractions",ON_SEGMENT_CHANGE:"onsegmentchange",ON_LIFECYCLE_STAGE_CHANGE:"onlifecyclestagechange",
382ON_PROFILE_ID_CHANGE:"onprofileidchange",publish:function(a,b){if(a&&"string"==typeof a){var d={};d.name=a.toLowerCase();d.context=b;w.eventQueue.push(d);l&&c.logInfo("published event : ["+a+"]");w.handleEvent(d)}},unsubscribe:function(a){for(var b=c.getPropertiesFromObject(w.handlersByEvent),d=0;d<b.length;d++){var e=w.handlersByEvent[b[d]],e=e?e:[];w.handlersByEvent[b[d]]=e;for(var f=e.length-1;0<=f;f--){var g=e[f].handlerObject.ctx;(g.isLocalEditMode()?g.getInteractionTypeId().substring(11):g.getInteractionTypeId())===
383a&&c.removeItemFromArray(e,e[f])}}},subscribe:function(a,b,d,e){if(a&&"string"==typeof a&&d&&"function"==typeof d){a=a.toLowerCase();var f=w.handlersByEvent[a],f=f?f:[];w.handlersByEvent[a]=f;var g={};g.handlerObject=b;g.handlerFunction=d;g.onlyOnce=e!==A?e:!1;f.push(g);l&&c.logInfo("subscribing to event: ["+a+"] (onlyOnce: "+g.onlyOnce+")");w.handleQueuedEvents(a,g)}},handleQueuedEvents:function(a,b){for(var d=[],e=0;e<w.eventQueue.length;e++){var f=w.eventQueue[e];f.name==a&&(b.onlyOnce||c.doCallback(b.handlerObject,
384b.handlerFunction,a,f.context),d.push(f))}for(a=0;a<d.length;a++)c.removeItemFromArray(w.eventQueue,d[a])}
384,handleEvent:function(a){if(a&&a.name){for(var b=a.name.toLowerCase(),d=w.handlersByEvent[b],d=d?d:[],e=[],f=0;f<d.length;f++){var g=d[f];c.doCallback(g.handlerObject,g.handlerFunction,b,a.context);g.onlyOnce&&e.push(g)}for(a=0;a<e.length;a++)c.removeItemFromArray(d,e[a])}},create:function(a,b,d){var e=h.getNextRequestId(),f={type:c.ensureArray(a.type),referrer:c.ensureArray(a.referrer),profile:c.ensureArray(a.profile)};
385a.interaction?f.interaction=c.ensureArray(a.interaction):a.timelineContext&&(f.timelineContext=a.timelineContext,f.timestamp=a.timestamp,f.eventSource=a.eventSource);a.losingInteractions&&(f.losingInteractions=c.ensureArray(a.losingInteractions));a.conversionValue&&(f.conversionValue=c.ensureArray(a.conversionValue));h.addBatchRequest(h.CREATE_EVENT,f,e,this,function(a){function e(a){a=c.ensureArray(a);for(var b=a.length,d=0;d<b;d++){var e=a[d];e&&(e=Hb(e),y.call(f,e))}}if(a&&a.result){a=a.result;
386var f=[];a.interactions&&e(a.interactions);a.loggedIn&&"true"===a.loggedIn&&(l=!0);a.channelId&&(xb=a.channelId);a.ipaddress&&(yb=a.ipaddress);if(a.interactionnames){for(var g=[],h=0;h<Q.length;h++)g.push(Q[h].id);for(h=0;h<a.interactionnames.length;h++)-1===c.indexOfArray(g,a.interactionnames[h].id)&&Q.push(a.interactionnames[h])}if(a.objectives)for(null===ba&&(ba={}),g=0;g<a.objectives.length;g++)-1===c.indexOfArray(ba,a.objectives[g].id)&&(h=a.objectives[g].myId,ba[h]=new Pb(h,a.objectives[g].myName,
387a.objectives[g].myDescription));if(a.connections){g=[];for(h=0;h<aa.length;h++)g.push(aa[h].id);for(h=0;h<a.connections.length;h++){var k=a.connections[h],m=c.indexOfArray(g,k.id);-1===m?aa.push(k):aa[m]=k}}if(a.goals)for(null===ya&&(ya={}),g=c.getPropertiesFromObject(a.goals),h=0;h<g.length;h++)k=g[h],a.goals[k]&&(m=c.ensureArray(a.goals[k]),ya[k]=m.map(function(a){return new Qb(a)}));if(a.lifecycleStages){g=[];ja&&0<ja.length&&ja.map&&(g=ja.map(function(a){return a.getLifecycle().getId()+"_"+a.getStage().getId()}));
388ja=[];if(0<a.lifecycleStages.length)for(h=0;h<a.lifecycleStages.length;h++)m=a.lifecycleStages[h],k=new Rb(m.myLifecycleId,m.myLifecycleName?m.myLifecycleName:""),m=new Sb(m.myStageId,m.myStageName?m.myStageName:""),ja.push(new Tb(k,m));null!==g&&(h=ja.map(function(a){return a.getLifecycle().getId()+"_"+a.getStage().getId()}),h.sort().join(",")!==g.sort().join(",")&&w.publish(w.ON_LIFECYCLE_STAGE_CHANGE,{old:g,new:h}))}a.segments&&(g=null,ma&&0<ma.length&&ma.map&&(g=ma.map(function(a){return a.id})),
389ma=a.segments,null!==g&&(h=ma.map(function(a){return a.id}),h.sort().join(",")!==g.sort().join(",")&&w.publish(w.ON_SEGMENT_CHANGE,{old:g,new:h})));a.pluginversion&&(Ma=a.pluginversion);a.libraryversion&&(Pa=a.libraryversion);a.templatesversion&&(Qa=a.templatesversion);a.simulatordate&&($a=new Date(a.simulatordate));a.eventtypes&&(g=c.ensureArray(a.eventtypes),w.dynamicTypes=w.dynamicTypes.concat(g));a.selectedlegislations&&(Xa=a.selectedlegislations);a.legislation&&(q._properties.privacy_legislation=
390a.legislation);a.consentedobjectives&&(q._properties.consented_objectives=a.consentedobjectives);a.refusedobjectives&&(q._properties.refused_objectives=a.refusedobjectives);c.doCallback(b,d,f)}else c.doCallback(b,d,null)})}};u.prototype.event={publish:function(a,b){w.publish(a,b)},subscribe:function(a,b,c,e){w.subscribe(a,b,c,e)},unsubscribe:function(a){w.unsubscribe(a)},onProfilePermissionChange:w.ON_PERMISSION_LEVEL_CHANGE,onReady:w.ON_READY,onEventReady:w.ON_EVENT_READY,onUrlChange:w.ON_URL_CHANGE,
391onBeforePreListeners:w.ON_BEFORE_PRELISTENERS,onBeforeInteractions:w.ON_BEFORE_INTERACTIONS,onSegmentChange:w.ON_SEGMENT_CHANGE,onLifecycleStageChange:w.ON_LIFECYCLE_STAGE_CHANGE,onProfileIdChange:w.ON_PROFILE_ID_CHANGE};var Ib={getRecommendationsEndpoint:function(a,b){var d=S()+"/rest/v2/recommendations",e=c.getZoneId();e&&(d+="/"+e);d+=b?"/"+b:"";a=a||{};b=c.getPropertiesFromObject(a);for(e=0;e<b.length;e++)"request"===b[e]&&"object"===typeof a[b[e]]&&(a[b[e]]=v.json.stringify(a[b[e]]));a=c.objectToUrl(a);
392return d+(a?"?"+a:"")},createEvent:function(a,b){a=a||{};a.referer||(a.referer=k.location);h.JSONP.get(this.getRecommendationsEndpoint(a,"stats"),null,function(a){b&&c.doCallback(this,b,a)})},getRecommendations:function(a,b){h.JSONP.get(this.getRecommendationsEndpoint(a),null,function(a){a=new Nb(a);b&&c.doCallback(this,b,a)})}};u.prototype.recommendation={getRecommendations:function(a,b){Ib.getRecommendations(a,b)},createEvent:function(a,b){Ib.createEvent(a,b)}};var M={selectors:[],handlersBySelector:{},
393handlerId:0,publish:function(a){a&&"string"===typeof a&&(l&&c.logInfo("published position update event for selector : ["+a+"]"),M.handlePositionUpdateEvent(a))},subscribe:function(a,b,d){if(!a||"string"!==typeof a)throw Error("Selector is empty or not of type string");if(!d||"function"!=typeof d)throw Error("No callback function defined or not a function.");-1===c.indexOfArray(this.selectors,a)&&(c.isArray(a)?this.selectors=this.selectors.concat(a):this.selectors.push(a));var e=this.handlersBySelector[a],
394e=e?e:[];M.handlersBySelector[a]=e;var f={};f.id=++this.handlerId;f.handlerObject=b;f.handlerFunction=d;e.push(f);l&&c.logInfo("subscribing to position update event for selector: ["+a+"] with id ["+f.id+"]");return f.id}
394,unsubscribe:function(a){if(!a||"number"!==typeof a)throw Error("Subscription id is empty or not of type number");for(var b=c.getPropertiesFromObject(this.handlersBySelector),d=0;d<b.length;d++){var e=b[d],f=this.handlersBySelector[e],f=f.filter(function(b){b.id===a&&l&&c.logInfo("found handler with id: ["+
395a+"]");return b.id!==a});0===f.length?(delete this.handlersBySelector[e],c.removeItemFromArray(this.selectors,e)):this.handlersBySelector[e]=f}l&&c.logInfo("unsubscribing to position update event for id ["+a+"]")},handlePositionUpdateEvent:function(a){if(a){var b=M.handlersBySelector[a],b=b?b:[];delete M.handlersBySelector[a];c.removeItemFromArray(this.selectors,a);for(var d=0,e=b.length;d<e;d++){var f=b[d];c.doCallback(f.handlerObject,f.handlerFunction,a)}}},getSelectors:function(){return this.selectors}};
396u.prototype.position={publish:function(a){M.publish(a)},subscribe:function(a,b,c){return M.subscribe(a,b,c)},unsubscribe:function(a){M.unsubscribe(a)}};u.prototype.objective={getObjectives:function(){return ba},getObjectiveById:function(a){return ba[a]?ba[a]:null}};var c={docReadyCallbacks:[],rxhtmlTag:/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,hash:function(a){for(var b=0,c,e=0;e<a.length;e++)c=a.charCodeAt(e),b=31*b+c,b&=b;for(e=a.length-1;0<=e;e--)c=a.charCodeAt(e),
397b=31*b+c,b&=b;return b},doCallback:function(){for(var a=arguments[0],b=arguments[1],d=[],e=2,f=arguments.length;e<f;e++)y.call(d,arguments[e]);if(b&&"function"==typeof b)if(l)b.apply(a,d);else try{b.apply(a,d)}catch(g){c.logError("an error occured in callback function: ["+b+"], error: ["+g+"]")}},trimLeft:function(a){if(a)return a.replace(/^\s+/,"")},trimRight:function(a){if(a)return a.replace(/\s+$/,"")},map:function(a,b,c){if(ec)return a.map(function(a){return b.call(c,a)});for(var d=0,f=a.length,
398g=[];d<f;d++)d in a&&(g[d]=b.call(c,a[d]));return g},setContent:function(a,b){if(a&&b!==A&&null!==b){b=b.replace(c.rxhtmlTag,"\x3c$1\x3e\x3c/$2\x3e");var d=a.nodeName?a.nodeName.toLowerCase():a.nodeName;if(-1!==c.indexOfArray("area base br col command embed hr img input keygen link meta param source track wbr".split(" "),d)){var e=a.parentNode?a.parentNode.innerHTML:null;if(e){var f=document.createElement("div");f.appendChild(a.cloneNode(!0));b=e.replace(f.innerHTML,b);
398if(a.parentNode.innerHTML!==
399b)try{a.parentNode.innerHTML=b,l&&c.logInfo("setContent replaced void element ["+d+"] with given html")}catch(g){l&&c.logInfo("setContent failed to replace void element ["+d+"] with given html")}}else l&&c.logInfo("could not set inner html for void element ["+d+"] because container was not ready")}else{for(;a.firstChild;)a.removeChild(a.firstChild);try{a.innerHTML=b}catch(g){d=document.createElement(),d.innerHTML=b,a.appendChild(d)}}}},getBcTempId:function(a){return c.getBcId("BCTempID",a)},setBcTempId:function(a,
400b,d){c.setBcId("BCTempID",a,b,d)},getBcSessionId:function(a){return c.getBcId("BCSessionID",a)},getBcId:function(a,b){return b?b[a]:c.getCookie(a)},setBcSessionId:function(a,b){c.setBcId("BCSessionID",a,b)},setBcId:function(a,b,d,e){var f="BCSessionID"===a;f?(null!==e&&e!==A&&!isNaN(e)||"undefined"===typeof PROFILE_COOKIE_MAX_AGE_DEFAULT_MS||(e=PROFILE_COOKIE_MAX_AGE_DEFAULT_MS),Y?c.setCookie(a,b,e):tb?(c.setCookie(a,b,0),c.setCookie(a,null,null,cb)):(c.setCookie(a,null,null),c.setCookie(a,b,e,cb))):
401c.setCookie(a,b,e);d&&(b?d[a]=b:delete d[a]);L&&f&&h.lastSyncedCookieId!==b&&h.thirdPartyCookieId!==b&&(h.lastSyncedCookieId=b,h.cookieSyncTimeoutHandle&&clearTimeout(h.cookieSyncTimeoutHandle),h.cookieSyncTimeoutHandle=setTimeout(function(){h.JSONP.get(h.resourceURL_CST,{bcsessionid:b||""},function(){l&&c.logInfo("CS update success: "+b)},null,function(){h.lastSyncedCookieId=A;c.logWarning("CS request failed...")},!1,!1)},0))},bcSessionIdChanged:function(a){var b=c.getCookie("BCSessionID");return a!==
402b},setCookie:function(a,b,d,e){if(fa&&a)if(null===b||b===A)document.cookie=a+"\x3d;expires\x3dThu, 01 Jan 1970 00:00:00 GMT; path\x3d/"+(e&&!Y?";domain\x3d"+e:"")+(ta||Y?";SameSite\x3dNone;Secure":"")+(Y?";Partitioned":"");else{var f=new Date;null===d||d===A||isNaN(d)?f.setDate(f.getDate()+365):f=0<d?new Date(f.getTime()+parseInt(d)):null;b&&"string"==typeof b&&(b=b.replace(/[\n\r]/g,""));b=a+"\x3d"+encodeURIComponent(b);f&&(b+=";expires\x3d"+f.toUTCString());e&&!Y&&(b+=";domain\x3d"+e);b+=";path\x3d/";
403ta||Y?b+=";SameSite\x3dNone;Secure":"https:"===k.location.protocol&&(b+="; Secure");Y&&(b+=";Partitioned");e=document.cookie+b;-1<a.indexOf("BCRevision")&&3E3<e.length?l&&c.logInfo("could not set cookie ["+a+"] with size ["+b.length+"] because it would exceed the total cookie length of 3kb"):document.cookie=b}},getCookies:function(){var a=null,b=0,d={};if(!fa)return d;a=null!==Ga&&null===Ha?Ga:document.cookie;if(Ga!==a)Ga=a;else if(null!==Ha)return Ha;a&&-1<a.indexOf("$Version\x3d")&&document.cookie.match(/^\s*\$Version=(?:"1"|1);\s*(.*)/)&&
404(a=RegExp.$1,b=1);0===b?c.map(a.split(/[,;]/),function(a){a=a.split(/=/);var b=decodeURIComponent(c.trimLeft(a[0])),e=null;try{if(1<a.length)for(var h=1;h<a.length;h++)e=e?e+a[h]:a[h],h<a.length-1&&(e+=encodeURIComponent("\x3d"));d[b]=e?decodeURIComponent(c.trimRight(e)):null}catch(r){}}):c.map(a.match(/(?:^|\s+)([!#$%&'*+\-.0-9A-Z^`a-z|~]+)=([!#$%&'*+\-.0-9A-Z^`a-z|~]*|"(?:[\x20-\x7E\x80\xFF]|\\[\x00-\x7F])*")(?=\s*[,;]|$)/g),function(a,b){b='"'===b.charAt(0)?b.substr(1,-1).replace(/\\(.)/g,"$1"):
405b;d[a]=b});return Ha=d},getCookie:function(a){return c.getCookies()[a]},ensureArray:function(a){if(c.isArray(a))return a;var b=[];null!==a&&a!==A&&y.call(b,a);return b},isArray:function(a){return a?cc?Array.isArray(a):-1==ub.call(a).indexOf("Array")?!1:!0:!1},isDate:function(a){return a&&-1!=ub.call(a).indexOf("Date")&&a.getTime?!0:!1},isObject:function(a){return null!==a&&"[object Object]"===Object.prototype.toString.call(a)},diffArrays:function(a,b){if(dc&&vb)return a.filter(function(a){return 0>
406b.indexOf(a)});var c,e=a.slice();for(a=0;a<e.length;a++)for(c=0;c<b.length;c++)if(e[a]===b[c]){e.splice(a,1);a--;break}return e},removeItemFromArray:function(a,b){if(c.isArray(a))for(var d;-1!==(d=c.indexOfArray(a,b));)a.splice(d,1)},indexOfArray:function(a,b){if(!a||!c.isArray(a))return-1;if(vb)return a.indexOf(b);for(var d=0,e=a.length;d<e;d++)if(a[d]===b)return d;return-1},mergeArrays:function(a,b){if(c.isArray(a)&&b)if(c.isArray(b)||-1==c.indexOfArray(a,b))for(var d=0,e=b.length;d<e;d++){var f=
407b[d];-1===c.indexOfArray(a,f)&&y.call(a,f)}else y.call(a,b)},loadScript:function(a,b,d){var e=document.createElement("script"),f=!1,g;e.src=a;e.async=!0;null!==c.getNonce()&&(e.nonce=c.getNonce());e.onload=e.onreadystatechange=function(){f||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(f=!0,e.onload=e.onreadystatechange=null,e&&e.parentNode&&e.parentNode.removeChild(e),c.doCallback(b,d,null,e))};b&&d&&(e.onerror=function(a){c.logError("could not load script url: "+a);
408c.doCallback(b,d,a,e)});g||(g=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]);g.appendChild(e);return e},loadJQuery:function(a,b){"function"!==typeof b?c.logError('blueConicClient.util.loadJQuery "onSuccess" is not a function'):Ta?c.doCallback(a,b,Ta):(Ua.push({caller:a,callback:b}),1<Ua.length||c.loadScript("https://plugins.blueconic.net/static/scripts/jquery/jquery-3.7.1-BC-v2.min.js",a,function(){Ta=v._jQuery;for(var a=[].concat(Ua),b=a.length;b--;){var f=a[b];
409c.doCallback(f.caller,f.callback,Ta);Ua.splice(b,1)}}))},loadCSS:function(a,b,d){c.loadCSS.urlMap||(c.loadCSS.urlMap={});c.loadCSS.counter||(c.loadCSS.counter=0);var e=c.loadCSS.urlMap,f=e[a];f||(e[a]="id_"+ ++c.loadCSS.counter);f=e[a];if(e=document.getElementById(f))return l&&c.logInfo("skip loading css ["+a+"]"),c.doCallback(b,d,null,e),e;l&&c.logInfo("start loading css ["+a+"]");var e=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0],g=document.createElement("link");
410b&&d&&(g.onload=function(){c.doCallback(b,d,null,g)},g.onerror=function(a){c.logError("could not load CSS url: "+a);c.doCallback(b,d,a,g)});g.id=f;g.rel="stylesheet";g.type="text/css";g.href=a;null!==c.getNonce()&&(g.nonce=c.getNonce());e.appendChild(g);return g},bindDocumentReady:function(a,b){b&&"function"==typeof b&&(ua?c.doCallback(a,b):y.call(c.docReadyCallbacks,function(){c.doCallback(a,b)}))},docReady:function(){if(!ua){ua=!0;l&&c.logInfo("[+] document ready event thrown by browser");for(var a=
411c.docReadyCallbacks,b=a.length,d=0;d<b;d++)a[d].apply()}},getInteractionParameters:function(a){var b={};if(a){a=c.ensureArray(a.parameters);for(var d=0,e=a.length;d<e;d++){var f=a[d];if(f){for(var g={},h=0,r=f.parameter.length;h<r;h++){var n=f.parameter[h];n&&(g[n.id]=n.value)}b[f.locale]=g}}}return b}
411,getPropertiesFromObject:function(a){if(!a)return[];var b=[],c;for(c in a)sa.call(a,c)&&"function"!=typeof a[c]&&y.call(b,c);return b},getDOMElement:function(a,b,d){if(!a)return null;"undefined"==typeof b&&
412(b=c.isCSSSelector(a));return b?(a=ic(a))&&0<a.length?d?a:a[0]:d?[]:null:((b=document.getElementById(a))||(b=document.getElementsByTagName(a)),b&&b.length&&0<b.length?d?b:b[0]:b instanceof HTMLCollection&&0===b.length?d?[]:null:d?[b]:b)},isCSSSelector:function(a){if(!a)return!1;var b=!1;-1!==a.indexOf("[")&&-1!==a.indexOf("]")&&-1!==a.indexOf("\x3d")&&(b=!0);var c=!1;if(-1!==a.indexOf("#")||-1!==a.indexOf(".")||-1!==a.indexOf(" ")||-1!==a.indexOf(":")||b)c=!0;return c},normalizePosition:function(a){if(!a)return null;
413c.isCSSSelector(a)||(a="#"+a);return a},addCSSToDOM:function(a,b,d){if(a&&0!==a.length){l&&c.logInfo("hide positions  ["+a+"]");for(var e="",f=0,g=a.length;f<g;f++){var h=c.normalizePosition(a[f]);h&&(e=e+h+" {opacity:0.0;filter:alpha(opacity\x3d0);}\n")}a=document.createElement("style");a.setAttribute("type","text/css");a.setAttribute("id",b);null!==c.getNonce()&&(a.nonce=c.getNonce());a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e));(document.getElementsByTagName("head")[0]||
414document.getElementsByTagName("body")[0]).appendChild(a);d&&0<d&&k.setTimeout(function(){var a=document.getElementById(b);a&&(a.parentNode.removeChild(a),l&&c.logInfo("timeout ["+d+"] expired; CSS ["+b+"] removed"))},d)}},getBaseURL:function(a){var b=null;Ia&&Ia[a]&&(b=Ia[a]);return b?0==b.indexOf("/blueconic/static/plugins/")?BC_URL+b:b:null},parseJSON:function(a){return a?v.json.parse(a):null},stringifyObject:function(a,b,c){return v.json.stringify(a,b,c)},checkNativeJsonLib:function(){la&&(!bb||
415(new Date).getTime()-100)>bb&&(la=B.isNative(k.JSON.parse,"window.JSON.parse")&&B.isNative(k.JSON.stringify,"window.JSON.stringify"),bb=(new Date).getTime());la||null!==Aa||Ub()},handleProfileId:function(a,b){if(m.getLevel()!==m.DO_NOT_TRACK){if(c.bcSessionIdChanged(a)){var d=c.getCookie("BCSessionID");l&&c.logInfo("update cookie [BCSessionID] with profile id ["+a+"]");c.setBcSessionId(a,b);w.publish(w.ON_PROFILE_ID_CHANGE,{oldProfileId:d,newProfileId:a});q&&q.getId()!==a&&(t.getProfile(),h.submitBatch())}else wb||
416(c.setBcSessionId(a,b),wb=!0);a&&c.getBcTempId(b)&&(c.setBcTempId(null,b),q&&!q.getId()&&function(a){this._id=a}.call(q,a))}},handleTempProfileId:function(a,b){a&&c.getBcTempId(b)!==a&&c.setBcTempId(a,b&&c.getBcTempId()?b:null,6E5)},log:function(a){da&&console.log("[BC]"+a)},logError:function(a){for(;-1!==a.indexOf("\x3cbr\x3e");)a=a.replace("\x3cbr\x3e","\n            ");c.log("[ERROR] "+a);da&&console.trace&&(c.log("[ERROR] --stacktrace--"),console.trace(),c.log("[ERROR] --end stacktrace--"))},
417logWarning:function(a){l&&c.log("[WARNING] "+a)},logInfo:function(a){if(l){for(var b=(new Date).getTime()-Xb;-1!==a.indexOf("\x3cbr\x3e");)a=a.replace("\x3cbr\x3e","\n           ");c.log("[INFO] "+a+" +"+b+" ms")}},logDeprecated:function(a,b){l&&c.log("[DEPRECATED] function ["+a+"] is deprecated. \n                 Please use : "+b)},formatLocalDate:function(){var a=new Date,b=-a.getTimezoneOffset(),c=0<=b?"+":"-",e=function(a){a=Math.abs(Math.floor(a));return(10>a?"0":"")+a};return a.getFullYear()+
418"-"+e(a.getMonth()+1)+"-"+e(a.getDate())+"T"+e(a.getHours())+":"+e(a.getMinutes())+":"+e(a.getSeconds())+c+e(b/60)+":"+e(b%60)},getCurrentTime:function(){var a=new Date;return("0"+a.getHours()).slice(-2)+":"+("0"+a.getMinutes()).slice(-2)},objectToUrl:function(a){var b="",d;for(d in a){var e=a[d];if(c.isArray(e))for(var f=0;f<e.length;f++)""!==b&&(b+="\x26"),b+=d+"\x3d"+encodeURIComponent(e[f]);else""!==b&&(b+="\x26"),b+=d+"\x3d"+encodeURIComponent(e)}return b},getZoneId:function(){return T?sessionStorage.getItem("BCZoneID"):
419c.getCookie("BCZoneID")},handleZoneId:function(a){T?a?sessionStorage.setItem("BCZoneID",a):sessionStorage.removeItem("BCZoneID"):a?c.setCookie("BCZoneID",a,3E5):c.setCookie("BCZoneID",null)},loadInlineScript:function(a,b,d){var e=document.createElement("script"),f=!1,g;e.text=a;null!==c.getNonce()&&(e.nonce=c.getNonce());e.onload=e.onreadystatechange=function(){f||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(f=!0,e.onload=e.onreadystatechange=null,e&&e.parentNode&&e.parentNode.removeChild(e),
420b&&d&&c.doCallback(b,d,null,e))};e.onerror=function(a){c.logError("could not load inline script: "+a);b&&d&&c.doCallback(b,d,a,link)};g||(g=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]);g.appendChild(e);return e},loadInlineCSS:function(a){var b=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0],d=document.createElement("style");null!==c.getNonce()&&(d.nonce=c.getNonce());d.innerHTML=a;b.appendChild(d);return d},getNonce:function(){return Zb||
421null}};B.hideAllPositions();var Wa;Wa=K?u.prototype.fn.getDomainGroup(K):u.prototype.fn.getDomainGroup(document.location.hostname);var Jb=Math.floor(1E3*Math.random())+100,h={GET_PROFILE:"getProfile",CREATE_PROFILE:"createProfile",DELET
421E_PROFILE:"deleteProfile",SET_PROPERTIES:"setProperties",ADD_PROPERTIES:"addProperties",INCREMENT_PROPERTIES:"incrementProperties",GET_PROPERTIES:"getProperties",GET_LOGIN_STATUS:"getLoginStatus",GET_ALL:"getAll",CREATE_EVENT:"createEvent",GET_PROPERTY_LABELS:"getPropertyLabels",
422GET_PROFILE_PROPERTIES:"getProfileProperties",SEND_MAIL:"sendMail",ADD_OPTIN:"addOptin",REMOVE_OPTIN:"removeOptin",ADD_OPTOUT:"addOptout",REMOVE_OPTOUT:"removeOptout",SET_PERMISSION_LEVEL:"setPermissionLevel",SET_OBJECTIVES:"setObjectives",ADD_OBJECTIVES:"addObjectives",CREATE_TIMELINE_EVENT:"createTimelineEvent",resourceURL_GET:(I?BC_URL:S())+"/DG/"+Wa+"/rest/rpc/",resourceURL_POST:(I?BC_URL:S())+"/DG/"+Wa+"/rest/rpc/"+ ++Jb,resourceURL_CST:BC_URL+"/DG/"+Wa+"/cs",batchRequests:[],usedRequestIds:[],
423requestId:0,openRequests:0,lastSyncedCookieId:A,thirdPartyCookieId:null,cookieSyncTimeoutHandle:!1,_csRequestDone:L&&null!==ia()?!1:!0,_rpcThrottlingRequestCount:0,_rpcThrottlingTimeoutHandle:null,_batchTimeoutHandlers:{},getNextRequestId:function(){var a=(new Date).getTime()+ ++h.requestId;if(-1===c.indexOfArray(h.usedRequestIds,a))h.usedRequestIds.push(a);else return this.getNextRequestId();return a},JSONP:function(){function a(a,b,d){var f=document.createElement("script"),g=!1;f.src=a;f.async=
424!0;null!==c.getNonce()&&(f.nonce=c.getNonce());f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(g=!0,f.onload=f.onreadystatechange=null,f&&f.parentNode&&f.parentNode.removeChild(f))};f.onerror=function(a){d&&c.handleZoneId();b&&b(a)};e||(e=document.getElementsByTagName("head")[0]);e.appendChild(f)}function b(a,b){a="";!L&&b&&(b=null);var d=c.getCookies();b=b||c.getBcSessionId(d)||"";var d=c.getBcTempId(d)||"",e=K?encodeURIComponent(K):
425"";a+="referer\x3d"+encodeURIComponent(f.location)+"\x26";if(f.name&&-1<f.name.indexOf("bc_")){var g=f.name;if(g){for(var h=!1,l=g,r=0;r<Cb.length;r++){var k=Cb[r];-1<g.indexOf(k)&&(l=k,h=!0)}g=h?l:g.substring(g.indexOf("bc_"));a+="mode\x3d"+g+"\x26"}}else if(I||f.opener)a+="checkCookie\x3dtrue\x26isopener\x3d"+("undefined"!=typeof f.opener&&null!=f.opener)+"\x26";
425a+="bcsessionid\x3d"+b+"\x26bctempid\x3d"+d+"\x26overruleReferrer\x3d"+e+"\x26time\x3d"+encodeURIComponent(c.formatLocalDate());if(q)for(b=
426q.getDntRefusedObjectives(),d=0;d<b.length;d++)a+="\x26bcro\x3d"+encodeURIComponent(b[d]);Y&&(a+="\x26partitioned\x3dtrue");return a}function d(a,e,f,g,h,l){l=(-1===a.indexOf("?")?"?":"")+b(a,l);var n=function(a,b){var c=new XMLHttpRequest;"withCredentials"in c?(c.open(a,b,!0),c.setRequestHeader("Content-Type","text/plain"),c.withCredentials=!0,c.timeout=3E4):c=null;return c}("POST",a+l+"\x26ts\x3d"+(new Date).getTime());if(!n)return c.logWarning("CORS POST request failed, is XMLHttpRequest overruled?"),
427g(),!1;n.onload=function(){if(n.responseText){var a=v.json.parse(n.responseText);!h&&a.location?d(a.location,e,f,g,!0):f(a)}};n.onerror=function(){0<n.status?(c.logWarning("CORS POST request failed."),usePostMethod()&&c.handleZoneId()):c.log("[WARNING] BlueConic request failed, please make sure '"+(K?K:document.location.hostname)+"' is added as a channel (or alias) in BlueConic.");g&&g()};n.onabort=function(a){da&&console.log("CORS request is aborted.",a)};n.ontimeout=function(a){da&&console.log("CORS request has timed-out, 30s exceeded.")};
428n.send(e);return!0}var e,f=this,g={};return{get:function(c,d,e,h,l,k,m,q){var n=-1===(c||"").indexOf("?")?"?":"\x26";d=d||{};for(var r in d)sa.call(d,r)&&(n+=r+"\x3d"+d[r]+"\x26");m&&(n+=b(c,q));var p="bc_json"+ ++Jb;f[p]=function(a){e(a);try{delete f[p]}catch(jc){}f[p]=null};a(c+n+"\x26"+(h||g.callbackName||"callback")+"\x3d"+p,l,k);return p},post:d,init:function(a){g=a}}}(),resetThrottlingCounter:function(a){h._rpcThrottlingRequestCount=0;a&&h._rpcThrottlingTimeoutHandle&&(clearInterval(h._rpcThrottlingTimeoutHandle),
429h._rpcThrottlingTimeoutHandle=null)},handleRevisions:function(){var a=null,b;if(T){b=[];for(var d=0;d<localStorage.length;d++)b.push(localStorage.key(d))}else a=c.getCookies(),b=c.getPropertiesFromObject(a);for(var d=0,e=b.length;d<e;d++){var f=b[d];if(f&&-1!==f.indexOf("BCRevision")){var g;T?g=localStorage.getItem(f):a&&(g=a[f]);var k=c.parseJSON(g);if(k){var r=k.method,n=k.param,k=k.requestId;r&&n&&k&&(h.usedRequestIds.push(k),l&&c.logInfo("scheduled revision RPC for requestId ["+k+"] with method : ["+
430r+"]"),n.source={revision:["backlog"]},h.addBatchRequest(r,n,k,null,null),T&&localStorage.getItem(f)?localStorage.removeItem(f):c.setCookie(f,null))}}}},RPCTask:function(a,b,d,e,f){this._id=a+"";this._param=b;this._method=d;this._caller=e;this._callBack=f;this._isFinished=this._isQueued=!1;this._revCookie=this._rpc=null;this.getContentLength=function(){return encodeURIComponent(c.stringifyObject(this.getRPC())).length};this.getId=function(){return this._id.replace("rev_","")};this.isQueued=function(){return this._isQueued};
431this.getMethod=function(){return this._method};this.queued=function(){this._isQueued=!0};this.isFinished=function(){return this._isFinished};this.setParameter=function(a){this._param=a;this._rpc=null};this.getParameter=function(){return this._param};this.finished=function(a){this._isFinished=!0;c.handleZoneId(a.zoneId);this.removeRevisionCookie();c.doCallback(this._caller,this._callBack,a)};this.getRPC=function(){this._rpc||(this._rpc={method:encodeURIComponent(this._method),params:c.stringifyObject(this._param),
432id:encodeURIComponent(this.getId())});return this._rpc};this.setRevisionCookie=function(){if(!(0===this._id.indexOf("rev")||m.getLevel()===m.DO_NOT_TRACK||this.getContentLength()>Fa||this._method!==h.SET_PROPERTIES&&this._method!==h.ADD_PROPERTIES&&this._method!==h.SEND_MAIL&&this._method!==h.CREATE_EVENT&&this._method!==h.CREATE_TIMELINE_EVENT||this._method===h.CREATE_EVENT&&this._param&&this._param.type&&"PAGEVIEW"===this._param.type[0])){var a="rev_"+this._id,b=c.stringifyObject({method:this._method,
433param:this._param,requestId:a}),d="BCRevision_"+this._id,e=function(){c.setCookie(d,b,0);var e=c.getCookie(d);if(!e){for(var e=c.getCookies(),e=c.getPropertiesFromObject(e),f=0,g=e.length;f<g;f++){var h=e[f];0===h.indexOf("BCRevision")&&c.setCookie(h,null)}c.setCookie(d,b,0);e=c.getCookie(d);if(!e){l&&c.logInfo("could not store revision cookie ["+d+"]");return}}l&&c.logInfo("revision cookie with name ["+d+"] with revision ["+a+"] stored")};if(T){try{localStorage.setItem(d,b)}catch(z){l&&c.logInfo("adding item ["+
434d+"] to localStorage failed, fallback to cookie.")}localStorage.getItem(d)?l&&c.logInfo("revision with name ["+d+"] with revision ["+a+"] is stored in localStorage."):e()}else e();this._revCookie=d}};this.removeRevisionCookie=function(){this._revCookie&&(T&&localStorage.getItem(this._revCookie)?(l&&c.logInfo("revision with name ["+this._revCookie+"] removed from localStorage"),localStorage.removeItem(this._revCookie)):(l&&c.logInfo("revision cookie with name ["+this._revCookie+"] removed"),c.setCo
434okie(this._revCookie,
435null)))}},RemoteRequest:function(a,b,d,e,f){this._caller=b;this._onSuccess=d;this._isFinished=!1;this._parameter=e;this._requestId=f;this._method=a;this._tasks=[];this.getTasks=function(){return this._tasks};this.isFinished=function(){return this._isFinished};this.toString=function(){for(var a=(new h.RPCTask(this._requestId,this._parameter,this._method,null,null)).getContentLength(),a="RemoteRequest ["+this._requestId+"] - method : ["+this._method+"], Tasks : ["+this._tasks.length+"], contentLength : ["+
436a+"]",b=0,d=this._tasks.length;b<d;b++){var e=this._tasks[b],f=e.getContentLength(),a=a+("\x3cbr\x3eTask ["+e.getId()+"] - Content length : ["+f+"]. Is finished ["+e.isFinished()+"]."),e=e.getParameter();if(!e)break;var e=e.properties?e.properties:e,g;for(g in e)if(sa.call(e,g))if(a+="\x3cbr\x3e  -"+g,(f=e[g])&&0!==f.length)if(c.isArray(f))for(var l=0,k=f.length;l<k;l++){var m=f[l];if(""===m)m="(empty string)";else if(null==m||m==A)m="(null or undefined)";a+="\x3cbr\x3e    "+m}else f&&(a+="\x3cbr\x3e    "+
437f);else a+="\x3cbr\x3e    (null or undefined)"}return a};b=function(a){for(var b=this._tasks,d=0,e=b.length;d<e;d++)if(!b[d].isFinished())return;this._isFinished=!0;l&&c.logInfo(this.toString());c.doCallback(this._caller,this._onSuccess,a)};d=new h.RPCTask(this._requestId,this._parameter,this._method,this,b);
437if(d.getContentLength()<=Fa)y.call(this._tasks,d);else switch(a){case h.ADD_PROPERTIES:case h.SET_PROPERTIES:d=function(a,b,d){for(var e=[],f=function(a,b){this.properties[a]=c.ensureArray(b)},
438g=function(a){try{delete this.properties[a]}catch(E){}},l=function(){return 1===c.getPropertiesFromObject(this.properties).length||(new h.RPCTask(a,this,b,null,null)).getContentLength()<=Fa?!0:!1},k=c.getPropertiesFromObject(d.properties),n={properties:{}},m=0,r=k.length;m<r;m++){var p=k[m],q=d.properties[p];f.call(n,p,q);l.call(n)||(g.call(n,p),y.call(e,n),n={properties:{}},f.call(n,p,q))}y.call(e,n);return e}(this._requestId,this._method,this._parameter);e=0;for(var g=d.length;e<g;e++){var k=new h.RPCTask(f+
439"-"+e,d[e],a,this,b);y.call(this._tasks,k)}break;default:y.call(this._tasks,d)}},addBatchRequest:function(a,b,c,e,f){a=new h.RemoteRequest(a,e,f,b,c);y.call(h.batchRequests,a)},submitBatchTimeout:function(a,b){h._batchTimeoutHandlers[b]&&clearTimeout(h._batchTimeoutHandlers[b]);h._batchTimeoutHandlers[b]=setTimeout(function(){delete h._batchTimeoutHandlers[b];h.batchRequests&&0!==h.batchRequests.length&&h.submitBatch()},a)},submitBatch:function(){var a=function(){var a=ac;if(a)switch(Wb){case "FORCE_GET":a=
440!1;break;case "POST_NATIVE_ONLY":a=XMLHttpRequest.prototype&&B.isNative(XMLHttpRequest.prototype.send,"XMLHttpRequest.prototype.send")}return a}(),b=function(a){for(var d=[],e=0,g=0,h=a.length;g<h;g++)for(var k=a[g].getTasks(),m=0,p=k.length;m<p;m++){var r=k[m];if(!r.isQueued()){var q=parseInt(r.getContentLength());if(e+q<=Fa)r.queued(),e+=q,y.call(d,r);else{0===d.length&&(r.queued(),e+=q,y.call(d,r),l&&c.logInfo("RPC task with id ["+r.getId()+"] method ["+r.getMethod()+" ] contains a profile property value which could be too large too handle.\x3cbr\x3e The size of the RPC is ["+
441q+"] while the max size is ["+Fa+"]"));f.call(this,d,function(){b.call(this,a)});return}}}0<d.length&&f.call(this,d,null)},d=function(a,b,d){if(a){a=c.ensureArray(a);for(var e=c.getCookies(),f=0;f<a.length;f++){var g=a[f];if(g){e.BCTempID&&g.profileId&&(Ya=!0);g.secondAndTopLevelDomain&&(cb=g.secondAndTopLevelDomain);g.setPartitionedCookies&&(Y=!0);c.handleTempProfileId(g.tempId,e);c.handleProfileId(g.profileId,e);for(var k=0;k<b.length;k++){var l=b[k];l.getId()===g.id&&(l.finished(g),c.removeItemFromArray(h.usedRequestIds,
442g.id))}}}}else for(a=0;a<b.length;a++)b[a].finished();d&&"function"===typeof d&&d.call(this);h.openRequests--},e=function(a){if(!c.getZoneId())return a;a&&"/"!==a[a.length-1]&&(a+="/");return a+=c.getZoneId()},f=function(b,f){if(20<=h.openRequests)c.logWarning("Too many open RPC requests (20), task will not be processed");else if(100<=h._rpcThrottlingRequestCount)c.logWarning("Too many RPC requests (100) done in this timeframe (1 minute), task will not be processed.");else{null===h._rpcThrottlingTimeoutHandle&&
443(h._rpcThrottlingTimeoutHandle=setInterval(function(){h.resetThrottlingCounter(!1)},6E4));h._rpcThrottlingRequestCount++;var g=function(a,g,k){a={requests:encodeURIComponent(c.stringifyObject(a))};a.requests&&"null"!==a.requests&&(h.openRequests++,h.JSONP.get(e(h.resourceURL_GET),a,function(a){d(a,b,f)},null,function(){h.openRequests--},g,!0,k))};if(q&&q.getId()&&!c.getBcSessionId()&&!c.getBcTempId()){q=new za;t.clearQueue();for(var k=[],n=0;n<b.length;n++){var m=b[n];-1<[h.ADD_PROPERTIES,h.SET_PROPERTIES].indexOf(m.getMethod())&&
444(m.finished({}),k.push(m))}for(n=0;n<k.length;n++)c.removeItemFromArray(b,k[n]);if(0===b.length){f&&"function"===typeof f&&f.call(this);return}}for(var p=[],k=0;k<b.length;k++)y.call(p,b[k].getRPC()),b[k].setRevisionCookie();var r=function(k){a?(h.openRequests++,h.JSONP.post(e(h.resourceURL_POST),c.stringifyObject(p),function(a){d(a,b,f)},function(){h.openRequests--;c.logWarning("CORS POST request failed.")},!1,k)):g(p,!0,k)};h._csRequestDone?r():h.JSONP.get(h.resourceURL_CST,{},function(a){var b=
445null;a&&a[0]&&a[0].profileId&&(b=a[0].profileId,l&&c.logInfo("CS callback success; third-party cookie:"+b));h.thirdPartyCookieId=b;h._csRequestDone=!0;r(b)},null,function(){h._csRequestDone=!0;r()},!1,!1)}},g=function(a){for(var b=[],c=0,d=a.length;c<d;c++)for(var e=a[c].getTasks(),f=0,g=e.length;f<g;f++)e[f].isQueued()||(e[f].queued(),y.call(b,e[f]));return b},k=h.batchRequests;a?(g=g.call(this,k),0<g.length&&f.call(this,g)):b.call(this,k);h.batchRequests=[]}};(function(){if("undefined"!==typeof bcSubscriptions&&
446c.isArray(bcSubscriptions)){for(var a=0,b=bcSubscriptions.length;a<b;a++){var d=bcSubscriptions[a];if(!c.isArray(d)||2!==d.length)return;w.subscribe(d[0],null,d[1])}bcSubscriptions={push:function(a){c.isArray(a)&&2===a.length&&w.subscribe(a[0],null,a[1])}}}})();(function(){if("complete"===document.readyState||"interactive"===document.readyState)c.docReady();else if(document.addEventListener)document.addEventListener("readystatechange",function(){c.docReady()},!1),document.addEventListener("DOMContentLoaded",
447function(){c.docReady()},!1),k.addEventListener("load",function(){c.docReady()},!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){c.docReady()});k.attachEvent("onload",function(){c.docReady()});var a=!1;try{a=null==k.frameElement}catch(b){}document.documentElement.doScroll&&a&&c.docReady()}})();k.Sizzle&&(k.bcTempSizzle=k.Sizzle);(function(a){function b(a,b,c,d){var e,f,x,g,G,h=b&&b.ownerDocument;f=b?b.nodeType:9;c=c||[];if("string"!==typeof a||!a||1!==f&&9!==
448f&&11!==f)return c;if(!d&&(M(b),b=b||D,ca)){if(11!==f&&(G=Ia.exec(a)))if(e=G[1])if(9===f)if(x=b.getElementById(e)){if(x.id===e)return c.push(x),c}else return c;else{if(h&&(x=h.getElementById(e))&&S(b,x)&&x.id===e)return c.push(x),c}else{if(G[2])return wa.apply(c,b.getElementsByTagName(a)),c;if((e=G[3])&&E.getElementsByClassName&&b.getElementsByClassName)return wa.apply(c,b.getElementsByClassName(e)),c}if(!(!E.qsa||ba[a+" "]||J&&J.test(a)||1===f&&"object"===b.nodeName.toLowerCase())){e=a;h=b;if(1===
449f&&(Aa.test(a)||sa.test(a))){h=na.test(a)&&t(b.parentNode)||b;h===b&&E.scope||((g=b.getAttribute("id"))?g=g.replace(za,Ca):b.setAttribute("id",g=H));e=R(a);for(f=e.length;f--;)e[f]=(g?"#"+g:":scope")+" "+v(e[f]);e=e.join(",")}try{return wa.apply(c,h.querySelectorAll(e)),c}catch(kc){ba(a,!0)}finally{g===H&&b.removeAttribute("id")}}}return aa(a.replace(ia,"$1"),b,c,d)}function c(){function a(c,d){b.push(c+" ")>C.cacheLength&&delete a[b.shift()];return a[c+" "]=d}var b=[];return a}function e(a){a[H]=
450!0;return a}function f(a){var b=D.createElement("fieldset");try{return!!a(b)}catch(G){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function g(a,b){a=a.split("|");for(var c=a.length;c--;)C.attrHandle[a[c]]=b}function h(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function k(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function l(a){return function(b){var c=
451b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function m(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&La(b)===a:b.disabled===a:"label"in b?b.disabled===a:!1}}function q(a){return e(function(b){b=+b;return e(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function t(a){return a&&"undefined"!==
452typeof a.getElementsByTagName&&a}function u(){}function v(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function w(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,x=ja++;
452return b.first?function(b,c,e){for(;b=b[d];)if(1===b.nodeType||g)return a(b,c,e);return!1}:function(b,c,h){var G,F,k=[pa,x];if(h)for(;b=b[d];){if((1===b.nodeType||g)&&a(b,c,h))return!0}else for(;b=b[d];)if(1===b.nodeType||g)if(F=b[H]||(b[H]={}),F=F[b.uniqueID]||(F[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=
453b[d]||b;else{if((G=F[f])&&G[0]===pa&&G[1]===x)return k[2]=G[2];F[f]=k;if(k[2]=a(b,c,h))return!0}return!1}}function y(a){return 1<a.length?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function B(a,b,c,d,e){for(var f,g=[],x=0,h=a.length,G=null!=b;x<h;x++)if(f=a[x])if(!c||c(f,d,e))g.push(f),G&&b.push(x);return g}function I(a,c,d,f,g,h){f&&!f[H]&&(f=I(f));g&&!g[H]&&(g=I(g,h));return e(function(e,x,h,G){var F,k,l=[],V=[],n=x.length,m;if(!(m=e)){m=c||"*";for(var p=h.nodeType?
454[h]:h,q=[],r=0,jb=p.length;r<jb;r++)b(m,p[r],q);m=q}m=!a||!e&&c?m:B(m,l,a,h,G);p=d?g||(e?a:n||f)?[]:x:m;d&&d(m,p,h,G);if(f)for(F=B(p,V),f(F,[],h,G),h=F.length;h--;)if(k=F[h])p[V[h]]=!(m[V[h]]=k);if(e){if(g||a){if(g){F=[];for(h=p.length;h--;)(k=p[h])&&F.push(m[h]=k);g(null,p=[],F,G)}for(h=p.length;h--;)(k=p[h])&&-1<(F=g?Ja(e,k):l[h])&&(e[F]=!(x[F]=k))}}else p=B(p===x?p.splice(n,p.length):p),g?g(null,x,p,G):wa.apply(x,p)})}function N(a){var b,c,d,e=a.length,f=C.relative[a[0].type];c=f||C.relative[" "];
455for(var g=f?1:0,h=w(function(a){return a===b},c,!0),x=w(function(a){return-1<Ja(b,a)},c,!0),k=[function(a,c,d){a=!f&&(d||c!==U)||((b=c).nodeType?h(a,c,d):x(a,c,d));b=null;return a}];g<e;g++)if(c=C.relative[a[g].type])k=[w(y(k),c)];else{c=C.filter[a[g].type].apply(null,a[g].matches);if(c[H]){for(d=++g;d<e&&!C.relative[a[d].type];d++);return I(1<g&&y(k),1<g&&v(a.slice(0,g-1).concat({value:" "===a[g-2].type?"*":""})).replace(ia,"$1"),c,g<d&&N(a.slice(g,d)),d<e&&N(a=a.slice(d)),d<e&&v(a))}k.push(c)}return y(k)}
456function T(a,c){var d=0<c.length,f=0<a.length,g=function(e,g,h,x,G){var k,F,l,m=0,V="0",n=e&&[],p=[],q=U,r=e||f&&C.find.TAG("*",G),t=pa+=null==q?1:Math.random()||.1,jb=r.length;for(G&&(U=g==D||g||G);V!==jb&&null!=(k=r[V]);V++){if(f&&k){F=0;g||k.ownerDocument==D||(M(k),h=!ca);for(;l=a[F++];)if(l(k,g||D,h)){x.push(k);break}G&&(pa=t)}d&&((k=!l&&k)&&m--,e&&n.push(k))}m+=V;if(d&&V!==m){for(F=0;l=c[F++];)l(n,p,g,h);if(e){if(0<m)for(;V--;)n[V]||p[V]||(p[V]=ua.call(x));p=B(p)}wa.apply(x,p);G&&!e&&0<p.length&&
4571<m+c.length&&b.uniqueSort(x)}G&&(pa=t,U=q);return n};return d?e(g):g}var K,E,C,P,Y,R,X,aa,U,L,Q,M,D,Z,ca,J,O,W,S,H="sizzle"+1*new Date,ha=a.document,pa=0,ja=0,da=c(),ea=c(),ma=c(),ba=c(),ga=function(a,b){a===b&&(Q=!0);return 0},ta={}.hasOwnProperty,Ka=[],ua=Ka.pop,va=Ka.push,wa=Ka.push,oa=Ka.slice,Ja=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},xa=/[\x20\t\r\n\f]+/g,ia=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,ya=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,sa=
458/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Aa=/[\x20\t\r\n\f]|>/,Ba=/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,Ea=
459/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,la={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\]/,
460PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,
461bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Fa=/HTML$/i,Ga=/^(?:input|select|textarea|button)$/i,Ha=/^h\d$/i,fa=/^[^{]+\{\s*\[native \w/,Ia=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,na=/[+~]/,qa=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,ra=function(a,b){a="0x"+a.slice(1)-
46265536;return b?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},za=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ca=function(a,b){return b?"\x00"===a?"�":a.slice(0,-1)+"\\"+a.charCo
462deAt(a.length-1).toString(16)+" ":"\\"+a},Da=function(){M()},La=w(function(a){return!0===a.disabled&&"fieldset"===a.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{wa.apply(Ka=oa.call(ha.childNodes),ha.childNodes),Ka[ha.childNodes.length].nodeType}catch(x){wa={apply:Ka.length?
463function(a,b){va.apply(a,oa.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}E=b.support={};Y=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!Fa.test(a&&a.namespaceURI||b&&b.nodeName||"HTML")};M=b.setDocument=function(a){var b;a=a?a.ownerDocument||a:ha;if(a==D||9!==a.nodeType||!a.documentElement)return D;D=a;Z=D.documentElement;ca=!Y(D);ha!=D&&(b=D.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",Da,!1):b.attachEvent&&b.attachEvent("onunload",
464Da));E.scope=f(function(a){Z.appendChild(a).appendChild(D.createElement("div"));return"undefined"!==typeof a.querySelectorAll&&!a.querySelectorAll(":scope fieldset div").length});E.cssHas=f(function(){try{return D.querySelector(":has(*,:jqfake)"),!1}catch(G){return!0}});E.attributes=f(function(a){a.className="i";return!a.getAttribute("className")});E.getElementsByTagName=f(function(a){a.appendChild(D.createComment(""));return!a.getElementsByTagName("*").length});E.getElementsByClassName=fa.test(D.getElementsByClassName);
465E.getById=f(function(a){Z.appendChild(a).id=H;return!D.getElementsByName||!D.getElementsByName(H).length});E.getById?(C.filter.ID=function(a){var b=a.replace(qa,ra);return function(a){return a.getAttribute("id")===b}},C.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&ca)return(a=b.getElementById(a))?[a]:[]}):(C.filter.ID=function(a){var b=a.replace(qa,ra);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},C.find.ID=function(a,
466b){if("undefined"!==typeof b.getElementById&&ca){var c,d,e=b.getElementById(a);if(e){if((c=e.getAttributeNode("id"))&&c.value===a)return[e];d=b.getElementsByName(a);for(b=0;e=d[b++];)if((c=e.getAttributeNode("id"))&&c.value===a)return[e]}return[]}});C.find.TAG=E.getElementsByTagName?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a);if(E.qsa)return b.querySelectorAll(a)}:function(a,b){var c=[],d=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[d++];)1===
467a.nodeType&&c.push(a);return c}return b};C.find.CLASS=E.getElementsByClassName&&function(a,b){if("undefined"!==typeof b.getElementsByClassName&&ca)return b.getElementsByClassName(a)};O=[];J=[];if(E.qsa=fa.test(D.querySelectorAll))f(function(a){var b;Z.appendChild(a).innerHTML="\x3ca id\x3d'"+H+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+H+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";a.querySelectorAll("[msallowcapture^\x3d'']").length&&J.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");
468a.querySelectorAll("[selected]").length||J.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");a.querySelectorAll("[id~\x3d"+H+"-]").length||J.push("~\x3d");b=D.createElement("input");b.setAttribute("name","");a.appendChild(b);a.querySelectorAll("[name\x3d'']").length||J.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll(":checked").length||
469J.push(":checked");a.querySelectorAll("a#"+H+"+*").length||J.push(".#.+[+~]");a.querySelectorAll("\\\f");J.push("[\\r\\n\\f]")}),f(function(a){a.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var b=D.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name\x3dd]").length&&J.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==a.querySelectorAll(":enabled").length&&
470J.push(":enabled",":disabled");Z.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&J.push(":enabled",":disabled");a.querySelectorAll("*,:x");J.push(",.*:")});(E.matchesSelector=fa.test(W=Z.matches||Z.webkitMatchesSelector||Z.mozMatchesSelector||Z.oMatchesSelector||Z.msMatchesSelector))&&f(function(a){E.disconnectedMatch=W.call(a,"*");W.call(a,"[s!\x3d'']:x");O.push("!\x3d",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?
470:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")});
471E.cssHas||J.push(":has");J=J.length&&new RegExp(J.join("|"));O=O.length&&new RegExp(O.join("|"));S=(b=fa.test(Z.compareDocumentPosition))||fa.test(Z.contains)?function(a,b){var c=9===a.nodeType&&a.documentElement||a;b=b&&b.parentNode;return a===b||!!(b&&1===b.nodeType&&(c.contains?c.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};ga=b?function(a,b){if(a===b)return Q=!0,0;var c=!a.compareDocumentPosition-
472!b.compareDocumentPosition;if(c)return c;c=(a.ownerDocument||a)==(b.ownerDocument||b)?a.compareDocumentPosition(b):1;return c&1||!E.sortDetached&&b.compareDocumentPosition(a)===c?a==D||a.ownerDocument==ha&&S(ha,a)?-1:b==D||b.ownerDocument==ha&&S(ha,b)?1:L?Ja(L,a)-Ja(L,b):0:c&4?-1:1}:function(a,b){if(a===b)return Q=!0,0;var c=0,d=a.parentNode,e=b.parentNode,f=[a],g=[b];if(!d||!e)return a==D?-1:b==D?1:d?-1:e?1:L?Ja(L,a)-Ja(L,b):0;if(d===e)return h(a,b);for(;a=a.parentNode;)f.unshift(a);for(a=b;a=a.parentNode;)g.unshift(a);
473for(;f[c]===g[c];)c++;return c?h(f[c],g[c]):f[c]==ha?-1:g[c]==ha?1:0};return D};b.matches=function(a,c){return b(a,null,null,c)};b.matchesSelector=function(a,c){M(a);if(!(!E.matchesSelector||!ca||ba[c+" "]||O&&O.test(c)||J&&J.test(c)))try{var d=W.call(a,c);if(d||E.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(V){ba(c,!0)}return 0<b(c,D,null,[a]).length};b.contains=function(a,b){(a.ownerDocument||a)!=D&&M(a);return S(a,b)};b.attr=function(a,b){(a.ownerDocument||a)!=D&&M(a);
474var c=C.attrHandle[b.toLowerCase()],c=c&&ta.call(C.attrHandle,b.toLowerCase())?c(a,b,!ca):A;return c!==A?c:E.attributes||!ca?a.getAttribute(b):(c=a.getAttributeNode(b))&&c.specified?c.value:null};b.escape=function(a){return(a+"").replace(za,Ca)};b.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};b.uniqueSort=function(a){var b,c=[],d=0,e=0;Q=!E.detectDuplicates;L=!E.sortStable&&a.slice(0);a.sort(ga);if(Q){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}L=
475null;return a};P=b.getText=function(a){var b,c="",d=0;b=a.nodeType;if(!b)for(;b=a[d++];)c+=P(b);else if(1===b||9===b||11===b){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=P(a)}else if(3===b||4===b)return a.nodeValue;return c};C=b.selectors={cacheLength:50,createPseudo:e,match:la,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){a[1]=
476a[1].replace(qa,ra);a[3]=(a[3]||a[4]||a[5]||"").replace(qa,ra);"~\x3d"===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]);return a},PSEUDO:function(a){var b,c=!a[6]&&a[2];if(la.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":c&&Ba.test(c)&&(b=R(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=
477a[0].slice(0,b),a[2]=c.slice(0,b));return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(qa,ra).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=da[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),da(a,function(a){return b.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,c,d){return function(e){e=
478b.attr(e,a);if(null==e)return"!\x3d"===c;if(!c)return!0;e+="";return"\x3d"===c?e===d:"!\x3d"===c?e!==d:"^\x3d"===c?d&&0===e.indexOf(d):"*\x3d"===c?d&&-1<e.indexOf(d):"$\x3d"===c?d&&e.slice(-d.length)===d:"~\x3d"===c?-1<(" "+e.replace(xa," ")+" ").indexOf(d):"|\x3d"===c?e===d||e.slice(0,d.length+1)===d+"-":!1}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,k){var l,x,m,n,p;c=f!==g?"nextSibling":
479"previousSibling";var F=b.parentNode,q=h&&b.nodeName.toLowerCase();k=!k&&!h;l=!1;if(F){if(f){for(;c;){for(m=b;m=m[c];)if(h?m.nodeName.toLowerCase()===q:1===m.nodeType)return!1;p=c="only"===a&&!p&&"nextSibling"}return!0}p=[g?F.firstChild:F.lastChild];
479if(g&&k)for(m=F,x=m[H]||(m[H]={}),x=x[m.uniqueID]||(x[m.uniqueID]={}),l=x[a]||[],l=(n=l[0]===pa&&l[1])&&l[2],m=n&&F.childNodes[n];m=++n&&m&&m[c]||(l=n=0)||p.pop();){if(1===m.nodeType&&++l&&m===b){x[a]=[pa,n,l];break}}else if(k&&(m=b,x=m[H]||(m[H]={}),
480x=x[m.uniqueID]||(x[m.uniqueID]={}),l=x[a]||[],l=n=l[0]===pa&&l[1]),!1===l)for(;(m=++n&&m&&m[c]||(l=n=0)||p.pop())&&((h?m.nodeName.toLowerCase()!==q:1!==m.nodeType)||!++l||(k&&(x=m[H]||(m[H]={}),x=x[m.uniqueID]||(x[m.uniqueID]={}),x[a]=[pa,l]),m!==b)););l-=e;return l===d||0===l%d&&0<=l/d}}},PSEUDO:function(a,c){var d,f=C.pseudos[a]||C.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);return f[H]?f(c):1<f.length?(d=[a,a,"",c],C.setFilters.hasOwnProperty(a.toLowerCase())?e(function(a,b){for(var d,
481e=f(a,c),g=e.length;g--;)d=Ja(a,e[g]),a[d]=!(b[d]=e[g])}):function(a){return f(a,0,d)}):f}},pseudos:{not:e(function(a){var b=[],c=[],d=X(a.replace(ia,"$1"));return d[H]?e(function(a,b,c,e){e=d(a,null,e,[]);for(var f=a.length;f--;)if(c=e[f])a[f]=!(b[f]=c)}):function(a,e,f){b[0]=a;d(b,null,f,c);b[0]=null;return!c.pop()}}),has:e(function(a){return function(c){return 0<b(a,c).length}}),contains:e(function(a){a=a.replace(qa,ra);return function(b){return-1<(b.textContent||P(b)).indexOf(a)}}),lang:e(function(a){Ea.test(a||
482"")||b.error("unsupported lang: "+a);a=a.replace(qa,ra).toLowerCase();return function(b){var c;do if(c=ca?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===Z},focus:function(a){return a===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:m(!1),
483disabled:m(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!C.pseudos.empty(a)},header:function(a){return Ha.test(a.nodeName)},input:function(a){return Ga.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===
484b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:q(function(){return[0]}),last:q(function(a,b){return[b-1]}),eq:q(function(a,b,c){return[0>c?c+b:c]}),even:q(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:q(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:q(function(a,b,c){for(b=0>c?c+b:c>b?b:c;0<=--b;)a.push(b);return a}),gt:q(function(a,b,
485c){for(c=0>c?c+b:c;++c<b;)a.push(c);return a})}};C.pseudos.nth=C.pseudos.eq;for(K in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[K]=k(K);for(K in{submit:!0,reset:!0})C.pseudos[K]=l(K);u.prototype=C.filters=C.pseudos;C.setFilters=new u;R=b.tokenize=function(a,c){var d,e,f,g,h,k,l;if(h=ea[a+" "])return c?0:h.slice(0);h=a;k=[];for(l=C.preFilter;h;){if(!d||(e=ya.exec(h)))e&&(h=h.slice(e[0].length)||h),k.push(f=[]);d=!1;if(e=sa.exec(h))d=e.shift(),f.push({value:d,type:e[0].replace(ia,
486" ")}),h=h.slice(d.length);for(g in C.filter)!(e=la[g].exec(h))||l[g]&&!(e=l[g](e))||(d=e.shift(),f.push({value:d,type:g,matches:e}),h=h.slice(d.length));if(!d)break}return c?h.length:h?b.error(a):ea(a,k).slice(0)};X=b.compile=function(a,b){var c,d=[],e=[],f=ma[a+" "];if(!f){b||(b=R(a));for(c=b.length;c--;)f=N(b[c]),f[H]?d.push(f):e.push(f);f=ma(a,T(e,d));f.selector=a}return f};aa=b.select=function(a,b,c,d){var e,f,g,h,k="function"===typeof a&&a,l=!d&&R(a=k.selector||a);c=c||[];if(1===l.length){f=
487l[0]=l[0].slice(0);if(2<f.length&&"ID"===(g=f[0]).type&&9===b.nodeType&&ca&&C.relative[f[1].type]){b=(C.find.ID(g.matches[0].replace(qa,ra),b)||[])[0];if(!b)return c;k&&(b=b.parentNode);a=a.slice(f.shift().value.length)}for(e=la.needsContext.test(a)?0:f.length;e--;){g=f[e];if(C.relative[h=g.type])break;if(h=C.find[h])if(d=h(g.matches[0].replace(qa,ra),na.test(f[0].type)&&t(b.parentNode)||b)){f.splice(e,1);a=d.length&&v(f);if(!a)return wa.apply(c,d),c;break}}}(k||X(a,l))(d,b,!ca,c,!b||na.test(a)&&
488t(b.parentNode)||b);return c};E.sortStable=H.split("").sort(ga).join("")===H;E.detectDuplicates=!!Q;M();E.sortDetached=f(function(a){return a.compareDocumentPosition(D.createElement("fieldset"))&1});f(function(a){a.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";return"#"===a.firstChild.getAttribute("href")})||g("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)});E.attributes&&f(function(a){a.innerHTML="\x3cinput/\x3e";a.firstChild.setAttribute("value",
489"");return""===a.firstChild.getAttribute("value")})||g("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue});f(function(a){return null==a.getAttribute("disabled")})||g("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,b,c){var d;if(!c)return!0===a[b]?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null});var Ma=a.Sizzle;b.noConflict=function(){a.Sizzle===b&&(a.Sizzle=
490Ma);return b};b.selectors.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)};b.selectors.pseudos.hidden=function(a){return!b.selectors.pseudos.visible(a)};b.selectors.pseudos.animated=function(a){var b=jQuery&&jQuery.timers&&jQuery.timers.some(function(b){return b.elem===a}),c=a.getAnimations&&0<a.getAnimations().length;return b||c};a.Sizzle=b})(k);var ic=k.Sizzle;try{k.bcTempSizzle?(k.Sizzle=k.bcTempSizzle,delete k.bcTempSizzle):delete k.Sizzle}catch(a){}var v=
491k.blueConicClient=B.getBlueConicClient();v.fn.setRequestInfo({});(function(){var a=function(){B.publishPlainEventAndCallHook("onBlueConicLoaded");w.publish(w.ON_BEFORE_PRELISTENERS);B.checkPreListeners();var a=!1,b=!1;l&&c.logInfo("start pageview event");v.createEvent("PAGEVIEW",null,this,function(d){if(!d||0==d.length){l&&c.logInfo("the pageview event did not return any interaction, check if the channel is configured");var e=document.getElementById(fb);e&&(e.parentNode.removeChild(e),l&&c.logInfo("removed css for phase 1"))}l&&
492c.logInfo("[+] finished pageview event ["+d.length+" interactions to run]");ga=d;a=!0;l&&c.logInfo("start hide positions mechanism for positions claimed by the configured interactions");d=[];for(var e=0,f=ga.length;e<f;e++){var h=ga[e].getPosition(),m=ga[e].getPositionHideContent();h&&m&&y.call(d,h)}c.addCSSToDOM(d,Ab,2E3);k.setTimeout(function(){var a=document.getElementById(fb);a&&a.parentNode.removeChild(a)},1);b=!1;l&&c.logInfo("start plugin download from url [/plugin/plugin] with version ["+
493Ma+"]");d=I?BC_URL:S();d=Ma?d+"/plugin/plugin/"+Ma:d+"/plugin/plugin";I&&(d+="_e");c.loadScript(d,this,function(){l&&c.logInfo("finished plugin download");b=!0;b&&a&&(q||c.log("Profile is not initialized"),Va(ga,!0))});B.downloadLibraries()})};tb=null!==ia();var b=c.getBcSessionId();b||(b=null);q=new za(b);I?h.JSONP.get(BC_URL+"/frontend/e",null,function(b){b||(I=!1,qb=pb());I&&k.name&&-1<k.name.indexOf("bc_simulator")?c.loadScript(BC_URL+"/simulatordevice",null,function(){a()}):a()}):a()})()}})(window,
494this.bcVerbose,this.bcChannelIdentifier,this.bcRpcMode,this.bcCSEnabled,this.bcHostname,this.bcRpcHostname,this.bcNonce,getDG()||{},getP()||{},window.blueConicPreListeners);
495})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.