UNPKG

@comscore/analytics

Version:

Provides Comscore Audience Measurement intended for use by Comscore customers.

1 lines 187 kB
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ns_=t():(n.ns_=n.ns_||{},n.ns_.analytics=t())}("undefined"!=typeof self?self:this,(()=>{return n={9713:(n,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t=t.i=void 0,t.i={o:2,u:6,l:7,v:8,_:9,h:10,m:11,S:12,I:13,A:14,P:15,C:16},t.t={D:3,L:5,T:6,N:7,O:8,k:9,R:10,M:11}},5797:(n,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.U=void 0,t.W=function(){if("function"!=typeof __gpp)return!1;var n=__gpp("ping");return n&&"1.0"==n.gppVersion};var i=e(1547),r=e(9713),o=function(){function n(){this.F={V:!1},this.B=[],this.j=!1}return n.prototype.G=function(){return this.H(),this.F},n.prototype.K=function(n){this.B.indexOf(n)>-1||(this.B.push(n),this.H())},n.prototype.H=function(){this.j||(this.j=!0,this.F=(0,i.J)({cs_cmp_ie:r.t.L.toString(),cs_cmp_av:"1.0"}))},n}();t.U=o},154:(n,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Y=void 0,t.X=function(){if("function"!=typeof __gpp)return!1;var n=!1;try{__gpp("ping",(function(t){"1.1"==t.gppVersion&&(n=!0)}))}catch(t){}return n},t.Z=function(){return __gpp};var i=e(3929),r=e(9713),o=function(){function n(n){void 0===n&&(n=null),this.F={V:!1},this.B=[],this.j=!1,this.nn=-1,this.tn=null,this.en=n}return n.prototype.G=function(){return this.H(),this.F},n.prototype.K=function(n){this.B.indexOf(n)>-1||(this.B.push(n),this.H())},n.prototype.H=function(){var n=this;if(!this.j){this.j=!0;var t=+new Date,e=-1;try{this.en("addEventListener",(function(o){var s,u,a;try{if(n.tn)return;if(n.nn=o.rn,n.F={V:!1},-1==e&&(e=+new Date-t),!(0,i.sn)(o.pingData)||!(0,i.un)(o.pingData)||!(0,i.an)(o.pingData)){var c=(0,i.cn)(o.pingData),f=[];return(0,i.fn)(o.pingData)&&f.push(r.t.T),n.F=(0,i.ln)({cs_cmp_id:o.pingData.cmpId,cs_cmp_rt:e,cs_cmp_av:o.pingData.gppVersion,gpp_sid:c},f,(0,i.vn)(o.pingData)),void(n.F.V&&n.dn())}if((0,i.vn)(o.pingData)&&("signalStatus"!=o.eventName||"ready"!=o.data))return;var l=(0,i._n)(o.pingData);if(l.length>0)return c=(0,i.cn)(o.pingData),n.F=(0,i.ln)({cs_cmp_id:o.pingData.cmpId,cs_cmp_rt:e,cs_cmp_av:o.pingData.gppVersion,gpp_sid:c},l,(0,i.vn)(o.pingData)),void(n.F.V&&n.dn());var v=(0,i.pn)(o.pingData);if(v==r.i.o&&(null===(s=o.pingData.parsedSections)||void 0===s?void 0:s.tcfeuv2)!==undefined){if(Array.isArray(null===(u=o.pingData.parsedSections)||void 0===u?void 0:u.tcfeuv2)&&(0,i.hn)(o.pingData.parsedSections.tcfeuv2[0])){var d=o.pingData.parsedSections.tcfeuv2[0];n.F=(0,i.gn)(d,{cs_cmp_id:o.pingData.cmpId,cs_cmp_sv:d.CmpVersion,cs_cmp_rt:e,cs_cmp_av:o.pingData.gppVersion,gpp_sid:o.pingData.applicableSections.toString()})}(0,i.hn)(o.pingData.parsedSections.tcfeuv2)&&(n.F=(0,i.gn)(o.pingData.parsedSections.tcfeuv2,{cs_cmp_id:o.pingData.cmpId,cs_cmp_sv:o.pingData.parsedSections.tcfeuv2.CmpVersion,cs_cmp_rt:e,cs_cmp_av:o.pingData.gppVersion,gpp_sid:o.pingData.applicableSections.toString()},[r.t.R]))}v==r.i.u&&(null===(a=o.pingData.parsedSections)||void 0===a?void 0:a.uspv1)!==undefined&&(n.F=(0,i.mn)({cs_cmp_id:o.pingData.cmpId,us_privacy:o.pingData.parsedSections.uspv1,cs_cmp_rt:e,cs_cmp_av:o.pingData.gppVersion,gpp_sid:o.pingData.applicableSections.toString()})),n.F.V&&n.dn()}catch(_){n.yn()}}))}catch(o){this.yn()}}},n.prototype.dn=function(){for(var n=0,t=this.B;n<t.length;n++)(0,t[n])()},n.prototype.yn=function(){this.removeEventListener(),this.F={V:!0,bn:!0,Sn:!1,wn:{cs_cmp_ie:r.t.D.toString()}},this.dn()},n.prototype.removeEventListener=function(){try{this.en("removeEventListener",(function(){}),this.nn)}catch(n){}},n}();t.Y=o},3929:function(n,t,e){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},i.apply(this,arguments)},r=this&&this.__spreadArray||function(n,t,e){if(e||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return n.concat(i||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.mn=u,t.En=a,t.ln=function(n,t,e){return 1==e?a(n,t):u(n,t)},t._n=function(n){var t=[];f(n)&&t.push(o.t.T);var e=function(n){var t,e,i=[],s=[];n.applicableSections instanceof Array?s=r([],n.applicableSections,!0):"number"==typeof n.applicableSections&&s.push(n.applicableSections);for(var u=0;u<s.length;u++){var a=s[u];a==o.i.o&&(null===(t=n.parsedSections)||void 0===t?void 0:t.tcfeuv2)==undefined&&i.push(o.t.N),a==o.i.u&&(null===(e=n.parsedSections)||void 0===e?void 0:e.uspv1)==undefined&&i.push(o.t.O)}return i}(n);return e.length>0&&(t=r(r([],t,!0),e,!0)),t},t.In=c,t.fn=f,t.An=l,t.an=function(n){var t=v(n);return t==o.i.o||t==o.i.u},t.vn=function(n){return n.applicableSections instanceof Array?-1!=n.applicableSections.indexOf(o.i.o):"number"==typeof n.applicableSections&&n.applicableSections==o.i.o},t.cn=function(n){return n.applicableSections==undefined?"":n.applicableSections instanceof Array||"number"==typeof n.applicableSections?n.applicableSections.toString():""},t.pn=v,t.sn=function(n){return!(null==n.supportedAPIs||n.supportedAPIs instanceof Array&&(0==n.supportedAPIs.length||!l(n)))},t.un=function(n){return!(null==n.applicableSections||-1==n.applicableSections||0==n.applicableSections||n.applicableSections instanceof Array&&(f(n)||0==n.applicableSections.length||-1!=n.applicableSections.indexOf(-1)))},t.gn=function(n,t,e){if(_(n))return a(t,e=e?r(r([],e,!0),[o.t.M],!1):[o.t.M]);var u={Pn:n.IsServiceSpecific,purposeOneTreatment:n.PurposeOneTreatment,Cn:n.VendorLegitimateInterest.includes(s.Dn),Ln:n.VendorConsent.includes(s.Dn),consents:d(n),Tn:n.PublisherCC||""};return t&&e&&(t.cs_cmp_ie=e.toString()),(0,s.Nn)(u,i({},t))},t.hn=function(n){return null!==n&&"object"==typeof n&&!Array.isArray(n)},t.On=_;var o=e(9713),s=e(1547);function u(n,t){return{V:!0,bn:!0,Sn:!0,wn:i(i({cs_ucc:1},n),t!=undefined&&t.length>0&&{cs_cmp_ie:t.toString()})}}function a(n,t){return{V:!0,bn:!1,Sn:!0,wn:i(i({cs_ucc:1},n),t!=undefined&&t.length>0&&{cs_cmp_ie:t.toString()})}}function c(n){var t=n.applicableSections,e=[o.i.l,o.i.v,o.i._,o.i.h,o.i.m,o.i.S,o.i.I,o.i.A,o.i.P,o.i.C];return t instanceof Array&&!(t.length<=1)&&-1!=t.indexOf(6)&&t.every((function(n){return e.includes(n)||n==o.i.u}))}function f(n){return n.applicableSections instanceof Array&&!(n.applicableSections.length<=1)&&!c(n)}function l(n){return n.supportedAPIs.indexOf("2:tcfeuv2")>=0||n.supportedAPIs.indexOf("6:uspv1")>=0}function v(n){return n.applicableSections instanceof Array&&n.applicableSections[0]!==undefined?n.applicableSections[0]:"number"==typeof n.applicableSections?n.applicableSections:-1}function d(n){var t={};if(!n)return t;for(var e=0,i=s.kn;e<i.length;e++){var r=i[e],o=n.PurposeConsent[r-1];o!==undefined&&(t[r]=o)}return t}function _(n){return!n||null==n||["IsServiceSpecific","PurposeOneTreatment","VendorLegitimateInterest","VendorConsent","PurposeConsent","PublisherCC"].some((function(t){return!(t in n)}))}},3244:function(n,t,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(n,t,e,i){i===undefined&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(n,i,r)}:function(n,t,e,i){i===undefined&&(i=e),n[i]=t[e]}),r=this&&this.__exportStar||function(n,t){for(var e in n)"default"===e||Object.prototype.hasOwnProperty.call(t,e)||i(t,n,e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Rn=void 0;var o=e(7110),s=e(5797),u=e(154);r(e(2089),t);var a={V:!0,bn:!0,Sn:!1,wn:{}},c=function(){function n(){}return n.prototype.Mn=function(){return this.Un(),this.xn?this.xn.G():a},n.prototype.Wn=function(n){this.Un(),this.xn&&this.xn.K(n)},n.prototype.Fn=function(){return null!=this.xn},n.prototype.Un=function(){null==this.xn&&((0,o.Vn)()&&(0,o.Bn)()?this.xn=new o.qn((0,o.jn)()):(0,u.X)()?this.xn=new u.Y((0,u.Z)()):(0,s.W)()&&(this.xn=new s.U))},n}();t.Rn=c},7110:(n,t,e)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.qn=void 0,t.Vn=function(){return"function"==typeof __tcfapi},t.Bn=function(){var n=!1;try{__tcfapi("ping",2,(function(t){t.gdprApplies&&(n=!0)}))}catch(t){}return n},t.jn=function(){return __tcfapi};var i=e(1547),r=e(9713),o=function(){function n(n){void 0===n&&(n=null),this.F={V:!1},this.B=[],this.j=!1,this.nn=-1,this.Gn=[],this.Hn=n}return n.prototype.Kn=function(){return this.Gn},n.prototype.G=function(){return this.H(),this.F},n.prototype.K=function(n){this.B.indexOf(n)>-1||(this.B.push(n),this.H())},n.prototype.H=function(){var n=this;if(!this.j){this.j=!0;var t=+new Date,e=-1;if(this.Hn)try{this.Hn("addEventListener",2,(function(o,s){return-1==e&&(e=+new Date-t),o.rn!==undefined&&(n.nn=o.rn),n.F={V:!1},s?!1===o.gdprApplies?(n.F=(0,i.Jn)({cs_cmp_id:o.cmpId,cs_cmp_sv:o.cmpVersion,cs_cmp_rt:e}),n.F.V&&n.dn(),void n.removeEventListener()):void("tcloaded"!=o.eventStatus&&"useractioncomplete"!=o.eventStatus||(n.F=(0,i.Yn)(o,{cs_cmp_id:o.cmpId,cs_cmp_sv:o.cmpVersion,cs_cmp_rt:e}),n.F.V&&n.dn())):(n.Gn.push(r.t.k),n.F=(0,i.Yn)(o,{cs_cmp_id:o.cmpId,cs_cmp_sv:o.cmpVersion,cs_cmp_rt:e,cs_cmp_ie:n.Gn.toString()}),void(n.F.V&&n.dn()))}))}catch(o){}}},n.prototype.dn=function(){for(var n=0,t=this.B;n<t.length;n++)(0,t[n])()},n.prototype.removeEventListener=function(){if(this.Hn)try{this.Hn("removeEventListener",2,(function(){}),this.nn)}catch(n){}},n}();t.qn=o},1547:function(n,t){"use strict";var e=this&&this.__assign||function(){return e=Object.assign||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},e.apply(this,arguments)};function i(n){var e={};if(!n)return e;for(var i=0,r=t.kn;i<r.length;i++){var o=r[i];e[o]=n.purpose.consents[o]}return e}function r(n){return{V:!0,bn:!0,Sn:!0,wn:e({gdpr:0,cs_ucc:1},n)}}function o(n,t){var i,r={gdpr:1};r.gdpr_li=n.Cn?1:0,r.gdpr_pcc=n.Tn,n.Pn&&n.purposeOneTreatment?(r.gdpr_p1t=1,i=!0):(r.gdpr_p1t=0,i=!!n.consents[1]);var o=!1;if(n.Ln){o=i;var s=[];i&&s.push(1),n.consents[7]&&s.push(7),n.consents[8]&&s.push(8),n.consents[9]&&s.push(9),n.consents[10]&&s.push(10),r.gdpr_purps=s.join(","),r.gdpr_vc=1}else r.gdpr_purps="",r.gdpr_vc=0;return{V:!0,bn:o,Sn:!0,wn:e(e({cs_ucc:1},r),t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.kn=t.Dn=void 0,t.Yn=function(n,s){return n.gdprApplies?o({Pn:n.isServiceSpecific,purposeOneTreatment:n.purposeOneTreatment,Cn:n.vendor.legitimateInterests[t.Dn],Ln:n.vendor.consents[t.Dn],consents:i(n),Tn:n.publisherCC||""},e({},s)):r(s)},t.J=function(n){return{V:!0,bn:!0,Sn:!1,wn:e({},n)}},t.Jn=r,t.Nn=o,t.Dn=77,t.kn=[1,7,8,9,10]},2089:(n,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4499:(n,t,e)=>{var i,r=e(6174),o=e(7304),s=e(7412),u=e(5203),a=e(3906),c=e(2239),f=e(8075);i=new function(){r.extend(this,{StreamingAnalytics:f,PlatformAPIs:c.zn.PlatformApis,PlatformApi:c.zn,ConnectivityType:u,EventInfo:s,configuration:o.configuration.Xn,version:a.VERSION,start:function(){o.start()},notifyHiddenEvent:function(n){o.Qn(n)},notifyViewEvent:function(n){o.$n(n)},notifyDistributedContentViewEvent:function(n,t){o.notifyDistributedContentViewEvent(n,t)},notifyUxActive:function(){o.notifyUxActive()},notifyUxInactive:function(){o.notifyUxInactive()},notifyEnterForeground:function(){o.notifyEnterForeground()},notifyExitForeground:function(){o.notifyExitForeground()},flushOfflineCache:function(){o.flushOfflineCache()},clearOfflineCache:function(){o.clearOfflineCache()},clearInternalData:function(){o.clearInternalData()}})},n.exports=i},3906:(n,t,e)=>{var i="http://b.scorecardresearch.com/p",r="https://sb.scorecardresearch.com/p",o={VERSION:"7.12.0+2412131210",Zn:!0,nt:5e3,tt:!0,et:e(2311).STANDARD,it:["c1","c2","ca2","cb2","cc2","cd2","ns_site","ns_ap_an","ns_ap_pn","ns_ap_pv","c12","ca12","cb12","cc12","cd12","ns_ak","ns_ar","name","ns_ap_ni","ns_ap_ec","ns_ap_ev","ns_ap_device","ns_ap_id","ns_ap_csf","ns_ap_bi","ns_ap_pfm","ns_ap_pfv","ns_ap_ver","ns_ap_sv","ns_ap_bv","ns_ap_cv","ns_ap_smv","ns_type","cs_partner","cs_xcid","cs_impid","cs_proid","cs_dc_di","cs_dc_ci","cs_dc_ei","ns_ap_ui","ns_ap_gs","ns_ap_ie","ns_ts","ns_ap_cfg","ns_ap_env","ns_ap_ais","ns_ap_ut","ns_ap_er","cs_fpcu","cs_fpid","cs_fpit","cs_fpdm","cs_fpdt","cs_fpcd","cs_fpccd","ns_st_sv","ns_st_pv","ns_st_smv","ns_st_it","ns_st_id","ns_st_ec","ns_st_cn","ns_st_ev","ns_st_sp","ns_st_sc","ns_st_ppc","ns_st_apc","ns_st_spc","ns_st_dppc","ns_st_dapc","ns_st_dspc","ns_st_psq","ns_st_asq","ns_st_sq","ns_st_po","ns_st_lda","ns_st_ldw","ns_st_ldo","ns_st_hc","ns_st_hd","ns_st_mp","ns_st_mv","ns_st_cl","ns_st_sl","ns_st_pn","ns_st_tp","ns_st_ct","ns_st_ad","ns_st_li","ns_st_ty","ns_st_ci","ns_st_si","ns_ap_et","ns_ap_ar","cs_c12u","ca_cs_c12u","cb_cs_c12u","cc_cs_c12u","cd_cs_c12u","ns_ap_cs","ns_ap_fg","ns_ap_dft","ns_ap_dbt","ns_ap_dit","ns_ap_as","ns_ap_das","ns_ap_usage","ns_category","category","ns_radio","ns_st_pt","ns_st_ipt","ns_st_iap","ns_st_iet","ns_st_iupc","ns_st_iupa","ns_st_ilpc","ns_st_ilpa","ns_st_ibc","ns_st_ibt","ns_st_itpc","ns_st_icpc","ns_st_ae","ns_st_er","ns_st_cfg","ns_st_rcn","ns_st_cpo","ns_st_ui","c3","ca3","cb3","cc3","cd3","c4","ca4","cb4","cc4","cd4","c6","ca6","cb6","cc6","cd6","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_ce","ns_st_ia","ns_st_pu","ns_st_st","ns_st_stc","ns_st_sta","ns_st_pr","ns_st_tpr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_tep","ns_st_dt","ns_st_ddt","ns_st_tdt","ns_st_tm","ns_st_dtm","ns_st_ttm","ns_st_ge","ns_st_tge","ns_st_cs","ns_st_ft","ns_st_amg","ns_st_ami","ns_st_amp","ns_st_amw","ns_st_amt","ns_st_ams","ns_st_cde","ns_st_cds","ns_st_cdc","ns_st_cda","ns_st_cdm","ns_st_cmt","ns_st_amd","ns_st_amo","ns_st_sr","ns_st_pl","ns_st_ca","ns_st_cp","ns_st_fee","ns_st_dskc","ns_st_dska","ns_st_skd","ns_st_dskt","ns_st_dpc","ns_ap_i1","ns_ap_i2","ns_ap_i3","ns_ap_i4","ns_ap_i5","ns_ap_i6","cs_ucfr","gdpr","gdpr_p1t","gdpr_li","gdpr_pcc","gdpr_purps","gdpr_vc","gdpr_consent","gpp","gpp_sid","us_privacy","cs_ucc","cs_cmp_id","cs_cmp_sv","cs_cmp_av","cs_cmp_ie","cs_cmp_rt","cs_gpc","c5","c10","c11","c13","c14","c15","c16","ns_ap_install","ns_ap_updated","ns_ap_lastrun","ns_ap_ft","ns_ap_bt","ns_ap_it","ns_ap_res","ns_ap_sd","ns_ap_po","ns_ap_ot","ns_ap_lang","ns_ap_miss","ns_ap_jb","ns_ap_oc","ns_c","ns_st_cev","ns_st_lt","ns_st_br","ns_st_pbr","ns_st_rt","ns_st_prt","ns_st_vo","ns_st_pvo","ns_st_ws","ns_st_pws","ns_st_rp","ns_st_at","ns_st_pat","ns_st_vt","ns_st_pvt","ns_st_tt","ns_st_ptt","ns_st_cdn","ns_st_pcdn","ns_st_pb","ns_st_dpt","ns_st_ap","ns_st_dap","ns_st_et","ns_st_det","ns_st_upc","ns_st_dupc","ns_st_upa","ns_st_dupa","ns_st_lpc","ns_st_dlpc","ns_st_lpa","ns_st_dlpa","ns_st_bc","ns_st_dbc","ns_st_bt","ns_st_dbt","ns_st_bp","ns_st_dtpc","ns_st_dcpc","ns_st_skc","ns_st_ska","ns_st_skt","ns_st_pc","ns_st_pp","ns_st_pa","c7","c8","c9","ns_st_cu","ns_st_amc"],rt:i,ot:i+"2",st:r,ut:r+"2",ct:["co.uk","com.br","com.ar","com.tw","com.mx","co.jp","com.au","com.my","gob.mx","co.id","com.hk","mus.br","com.co","com.sg","com.tr","co.in","net.tw","com.pe","com.ve","co.es"]};n.exports=o},7304:(n,t,e)=>{var i,r=e(6174),o=e(5392),s=e(1013),u=e(8184),a=e(7412),c=e(6701),f=e(2239).ft,l=e(4180),v=e(9927),d=e(365),_=e(9767),p=e(7073),h=e(1957),g=e(6358),m=e(5708),y=e(2275),b=e(1736),S=e(1301),w=e(3906),E=e(3315),I=e(9442),A=e(4401),P=e(2978),C=e(7321);i=new function(){var n,t,e,i,D,L,T,N,O,k,R,M,U,x,W,F,V,B,q,j,G=this;function H(){var n;W.lt()||V.vt((function(n){n.bn&&D.dt()})),((n=D.ht())._t||n.gt)&&W.yt(n.bt)}function K(n){j.push((function(){e.St(n,X(),W)}))}function J(r){switch(r){case u.DISABLE:!function(){O&&(O=!1,R&&f.clearTimeout(q),x&&(N.stop(),I.Et().wt()),(k||R)&&(t.It(this),t.At(this),t.Pt(),F.Ct()),T&&T.Dt())}();break;case u.TIME_WINDOW_ELAPSED:V.vt((function(r){!function(r){e=new s(t,n,T,i,L,D,V,B),(N=new p(n)).Lt(G),r.bn&&z(),W.Tt()>=0&&t.Nt(W.Tt(),W.Ot()==v.FOREGROUND_ONLY),N.kt(W.isKeepAliveMeasurementEnabled()),I.Et().Rt(W),x=!0,n.commit()}(r),function(){for(var n=0;n<j.length;++n)(0,j[n])();j=[]}()}));break;case u.PARTNER:case u.PUBLISHER:x&&(V.vt((function(t){t.bn&&(z(),n.commit())})),n.commit());break;case u.OFFLINE_CACHE_MODE:break;case u.KEEP_ALIVE:x&&N.kt(W.isKeepAliveMeasurementEnabled());break;case u.DISABLED_TCF_INTEGRATION:V.disableCmpIntegration(),B.disableCmpIntegration();break;case u.Mt:B.enableFirstPartyCookie();break;case u.Ut:B.xt();break;case u.DISABLED_CMP_INTEGRATION:V.disableCmpIntegration(),B.disableCmpIntegration()}}function Y(n,e,i,r){var o;k&&x?n():U?j.push(n):i?(j.push(n),K(e),M=!0):(M||(o=e,j.push((function(){t.notifyEnterForeground(o)})),M=!0),r||K(e),j.push(n),U=!0)}function z(){for(var t=n.get(b.Wt,{}),i=W.getPublisherConfigurations(),r="a".charCodeAt(0)-1,o=0;o<i.length;++o){var s=i[o],u=s.getPublisherId(),a=D.Ft(s.getPublisherSecret()),c=t[u],f="";r>="a".charCodeAt(0)&&(f="c"+String.fromCharCode(r)+"_"),r++,c&&c!=a&&e.Vt(f+"cs_c12u",c),t[u]=a,s.setPublisherUniqueDeviceId(a)}n.put(b.Wt,t)}function X(n){var t;if(n instanceof a)t=n;else{t=new a,"object"==typeof n&&t.addLabels(n);var e=W.getIncludedPublishers();if(e.length>0)for(var i=0;i<e.length;++i)t.addIncludedPublisher(e[i])}return t.getIncludedPublishers().length>0&&W.getPartnerConfigurations().length>0&&t.addIncludedPublisher(o.Bt),t}i=new _(H),O=!0,k=!1,R=!1,M=!1,U=!1,x=!1,W=new o,V=new A,B=new P,j=[],W.addListener(J),r.extend(G,{configuration:W,start:function(){if(W.qt(),!k&&!R){B.jt(f.Gt),R=!0;var i,r,o=C.Ht();F=new E(W),function(n){var t=new y;t.Kt(n),t.Jt(n)}(n=new d(F)),T=new h(n,F),(i=new S(F,n,T)).Yt(),i.zt(),D=new m(n),O&&(L=new g(n,W),(t=new l(n,o)).Xt(G),t.Qt(G),U||(r=o,O&&Y((function(){0==e.$t()&&e.St(r,X(),W)}),r,!1,!0),U=!0),k=!0,n.commit(),V.Zt(),q=f.setTimeout((function(){V.vt((function(t){t.bn||V.ne(n),q=null,W.te()}))}),w.nt))}},Qn:function(n){if(O){var t=C.Ht();Y((function(){e.Qn(t,X(n),W)}),t)}},notifyDistributedContentViewEvent:function(n,t){if(W.getPartnerConfiguration(n)){var e=new c;e.ee(!1),e.addIncludedPublisher(o.Bt),e.setLabel("ns_ap_ev","distributed_view"),e.setLabel("cs_dc_di",n),e.setLabel("cs_dc_ci",t),G.$n(e)}},$n:function(n){if(O){var t=C.Ht();Y((function(){e.$n(t,X(n),W)}),t)}},notifyUxActive:function(){if(O){var n=C.Ht();Y((function(){t.notifyUxActive(n)}),n)}},notifyUxInactive:function(){if(O){var n=C.Ht();Y((function(){t.notifyUxInactive(n)}),n)}},notifyEnterForeground:function(){if(O){var n=C.Ht();Y((function(){t.notifyEnterForeground(n)}),n,!0)}},notifyExitForeground:function(){if(O){var n=C.Ht();Y((function(){t.notifyExitForeground(n)}),n,!0)}},flushOfflineCache:function(){O&&k&&Y((function(){T.flush(W,!0),T.persist(),n.commit()}),C.Ht())},clearOfflineCache:function(){O&&k&&Y((function(){T.Dt(),T.persist(),n.commit()}),C.Ht())},clearInternalData:function(){O&&k&&Y((function(){n.clear(),n.commit()}),C.Ht())},ie:function(){e.re(C.Ht(),X(),W),n.commit()},oe:function(n,t){O&&n==l.ue.se&&(x?N.start(p.ae):j.push((function(){N.start(p.ae)})))},ce:function(n,t){if(O){var e=function(){n==l.ue.se&&(x?N.stop():j.push((function(){N.stop()})))};x?e():j.push(e)}},fe:function(n,t){},le:function(n,t){}})},n.exports=i},7073:(n,t,e)=>{var i=e(6174),r=e(2239).ft,o=e(1736),s=e(7321),u=864e5;function a(n){var t,e,a,c,f=this;t=!0,e=!1,i.extend(f,{start:function(i){f.stop(),t&&(e=!0,a=r.setTimeout((function(){if(function(){if(t){var e=n.get(o.ve,0),i=s.Ht()-e;e>0&&i>86399e3&&c&&c.ie()}}(),e){var i=n.get(o.ve,0);if(0==i)f.start(3e3);else{var r=u-(s.Ht()-i);f.start(r)}}}),i))},stop:function(){e&&(e=!1,r.clearTimeout(a),a=null)},kt:function(n){t=n},Lt:function(n){c=n}})}a.ENABLED=!0,a.ae=3e3,n.exports=a},6358:(n,t,e)=>{var i=e(6174),r=e(1736),o=e(7321);n.exports=function(n,t){var e,s,u,a,c=-1;!function(){u=!1,a=!1,c=n.get(r.de,-1),e=n.get(r._e,-1),s=n.get(r.pe,null),n.put(r.pe,t.he());var i=o.Ht();-1==c?(c=i,e=i,n.put(r.de,c),n.put(r._e,e),u=!0):s&&s!=t.he()&&(e=i,n.put(r._e,e),n.put(r.ge,0),a=!0)}(),i.extend(this,{me:function(){return s},ye:function(){return c},be:function(){return e},Se:function(){return a},we:function(){return u}})}},5834:(n,t,e)=>{var i=e(6174),r=e(3983),o=e(3906).ct,s="unknown",u={Ee:function(n,t,e){return-1==n.indexOf("?")?n+="?":n+="&",n+u.Ie(t,e)},Ae:function(n,t){return i.extend(n,u.Pe(t||{}))},Pe:function(n){var t={};for(var e in n)if(n.hasOwnProperty(e)){var i=n[e];null===i||i===undefined?t[e]=i:t[e]=n[e]+""}return t},Ie:function(n,t){var e=!1,r="";n=i.Ce(n);for(var o="undefined"!=typeof encodeURIComponent?encodeURIComponent:escape,s=0;s<t.length;++s){var u=t[s];null!=n[u]&&(e&&(r+="&"),e=!0,r+=o(u)+"="+o(n[u]),delete n[u])}for(u in n)null!=n[u]&&(e&&(r+="&"),e=!0,r+=o(u)+"="+o(n[u]));return r},De:function(n){return s==n?s:r.Le(n)?"1":"0"},Te:function(n){for(var t=0;t<=o.length;t++){var e=o[t];if(e&&n.lastIndexOf("."+e)===n.length-(e.length+1)){var i=n.lastIndexOf("."+e),r=n.substring(0,i).split(".");if(r.length>0){var s=r.pop();if(s)return s+"."+e}}}var u=n.split(".");return u.length>=2?u.slice(-2).join("."):n}};n.exports=u},6681:(n,t,e)=>{var i=e(6174),r=e(9030),o=e(3906),s=e(7073);n.exports=function(n){var t,e,u,a,c;function f(t,e){return n&&null!=n[t]?n[t]:e}i.extend(this,{addPersistentLabels:function(n){r.Ne(e,n)},setPersistentLabel:function(n,t){r.Oe(e,n,t)},removeAllPersistentLabels:function(){e={}},removePersistentLabel:function(n){delete e[n]},getStartLabels:function(){return t},getPersistentLabels:function(){return e},containsPersistentLabel:function(n){return null!=e[n]},containsStartLabel:function(n){return null!=t[n]},getPersistentLabel:function(n){return e[n]},isKeepAliveMeasurementEnabled:function(){return u},isSecureTransmissionEnabled:function(){return a},isHttpRedirectCachingEnabled:function(){return c}}),u=s.ENABLED,a=o.tt,c=o.Zn,e={},t=f("startLabels",t={}),e=f("persistentLabels",e),u=f("keepAliveMeasurement",u),a=f("secureTransmission",a),c=f("httpRedirectCaching",c)}},5392:(n,t,e)=>{var i=e(6174),r=e(9030),o=e(7321),s=e(1957),u=e(6770),a=e(3906),c=e(2852),f=e(4180),l=e(3315),v=e(8184),d=e(4218),_=e(8466),p=e(1748),h=e(2239),g=h.ft,m=e(9442),y=c.ke,b="21193409";function S(){var n,t,e,c,w,E,I,A,P,C,D,L,T,N,O,k,R,M,U,x,W,F,V,B,q,j,G,H,K,J,Y,z,X,Q,$,Z,nn,tn,en,rn,on,sn,un,an,cn,fn=this;function ln(){(function(){if(K.length>0){for(var n=!1,t=0;t<M.length;++t){var e=M[t];if(-1!=K.indexOf(e.getPublisherId())){n=!0;break}}return!n&&U.length>0&&-1!=K.indexOf(b)&&(n=!0),n}return!0})()&&(dn(),O&&function(){var n=O.split("?");if(O=n[0],n[1])for(var t=n[1].split("&"),e=0;e<t.length;e++){var i=t[e].split("=");D[i[0]]=i[1]?i[1]:""}}(),R&&R!=s.Re||(R=n?s.Me:s.Re),U.length>0&&0==M.length&&vn(),A=!0,_n(v.TIME_WINDOW_ELAPSED))}function vn(){if(!C){C=!0;var n=new _({publisherId:Z.getPublisherId(),publisherSecret:Z.getPublisherSecret()});M.push(n),_n(v.PUBLISHER)}}function dn(){!function(){if(0!=M.length)for(var e=0;e<M.length;++e){var i=M[e];i.getPublisherId()!=Z.getPublisherId()&&(n=i.isSecureTransmissionEnabled(),T=i.isKeepAliveMeasurementEnabled(),t=i.isHttpRedirectCachingEnabled())}}(),function(){if(0!=U.length)for(var e=1==M.length&&M[0].getPublisherId()==Z.getPublisherId(),i=0;i<U.length;++i){var r=U[i];e&&r.isSecureTransmissionEnabled()&&(n=!0),T=r.isKeepAliveMeasurementEnabled(),t=r.isHttpRedirectCachingEnabled()}}()}function _n(n){for(var t=j.slice(),e=0;e<t.length;++e)t[e](n)}i.extend(fn,{qt:function(){h.Ue(),en=-1==en?g.xe:en,rn=-1==rn?g.We:rn},addListener:function(n){o.Fe(n)&&j.push(n)},te:function(){P||(P=!0,(U.length>0||M.length>0)&&ln())},addClient:function(n){n instanceof p&&function(n){if(n.getPartnerId()){for(var t=0;t<U.length;++t)if(U[t].getPartnerId()==n.getPartnerId())return;U.push(n),vn(),P&&(A?dn():ln()),_n(v.PARTNER)}}(n),n instanceof _&&function(n){if(n.getPublisherId()&&n.getPublisherSecret()&&n.getPublisherId()!=S.Bt){for(var t=0;t<M.length;++t)if(M[t].getPublisherId()==n.getPublisherId())return;M.length>0&&M[M.length-1].getPublisherId()==Z.getPublisherId()?M.splice(M.length-1,0,n):M.push(n),P&&(A?dn():ln()),_n(v.PUBLISHER)}}(n)},Ve:function(){var i="",r="-";return i+=n?"1":"0",i+=T?"1":"0",i+=t?"1":"0",i+=e?"1":"0",i+=tn?"1":"0",i+=sn?"1":"0",i+=c?"1":"0",i+=w?"1":"0",i+=E?"1":"0",i+=I?"1":"0",i+=x?"1":"0",i+=W?"1":"0",i+=F?"1":"0",i+=r,i+=N+"",i+=k+"",i+=Q+"",i+=r,i+=$.toString(16).toUpperCase(),i+=r,i+=J.toString(16).toUpperCase(),i+=r,i+=Y.toString(16).toUpperCase(),i+=r,i+=X.toString(16).toUpperCase(),i+=r,i+=z.toString(16).toUpperCase(),i+=r,i+=(en/100).toString(16).toUpperCase(),i+=r,i+=(rn/100).toString(16).toUpperCase(),i+=r,i+=(on/100).toString(16).toUpperCase()},Be:function(n){for(var t=0;t<M.length;++t)if(M[t].getPublisherId()==n)return!0;return!1},qe:function(n){for(var t=0;t<U.length;++t)if(U[t].getPartnerId()==n)return!0;return!1},getPartnerConfiguration:function(n){for(var t=0;t<U.length;++t){var e=U[t];if(e.getPartnerId()==n)return e}return null},getPublisherConfiguration:function(n){for(var t=0;t<M.length;++t){var e=M[t];if(e.getPublisherId()==n)return e}return null},je:function(){for(var n=[],t=0;t<M.length;++t){var e=M[t];n.push(e.getPublisherId())}return n},getPublisherConfigurations:function(){return M},getPartnerConfigurations:function(){return U},getLabelOrder:function(){return q},setLabelOrder:function(n){n instanceof Array&&(q=i.Ce(n),_n(v.LABEL_ORDER))},Ge:function(){return O},setLiveEndpointUrl:function(n){A||(O=n)},He:function(){return R},setOfflineFlushEndpointUrl:function(n){A||(R=n)},Ke:function(){return V},setApplicationName:function(n){A||(V=n)},setApplicationVersion:function(n){A||(B=n)},he:function(){return B},Je:function(){return g.Ye()},setPersistentLabel:function(n,t){r.Oe(D,n,t)&&_n(v.PERSISTENT_LABELS)},removeAllPersistentLabels:function(){D={},_n(v.PERSISTENT_LABELS)},removePersistentLabel:function(n){delete D[n],_n(v.PERSISTENT_LABELS)},getPersistentLabels:function(){return D},getPersistentLabel:function(n){return D[n]},containsPersistentLabel:function(n){return null!=D[n]},addPersistentLabels:function(n){r.Ne(D,n),_n(v.PERSISTENT_LABELS)},setStartLabel:function(n,t){r.Oe(L,n,t)&&_n(v.START_LABELS)},removeAllStartLabels:function(){L={},_n(v.START_LABELS)},removeStartLabel:function(n){delete L[n],_n(v.START_LABELS)},addStartLabels:function(n){r.Ne(L,n),_n(v.START_LABELS)},getStartLabels:function(){return L},ze:function(n){return L[n]},containsStartLabel:function(n){return null!=L[n]},setKeepAliveMeasurementEnabled:function(n){null!=n&&(T=n,_n(v.KEEP_ALIVE))},isKeepAliveMeasurementEnabled:function(){return T},isSecureTransmissionEnabled:function(){return n},isHttpRedirectCachingEnabled:function(){return t},setLiveTransmissionMode:function(n){n&&(N=n,_n(v.LIVE_TRANSMISSION_MODE))},Xe:function(){return N},enableImplementationValidationMode:function(){A||(e=!0)},Qe:function(){return e},setOfflineCacheMode:function(n){n&&(k=n,_n(v.OFFLINE_CACHE_MODE))},$e:function(){return k},setUsagePropertiesAutoUpdateMode:function(n){n&&(A||(Q=n))},Ot:function(){return Q},setUsagePropertiesAutoUpdateInterval:function(n){A||($=n)},Tt:function(){return $},setCacheMaxMeasurements:function(n){A||(J=n)},Ze:function(){return J},setCacheMaxFlushesInARow:function(n){A||(Y=n)},ni:function(){return Y},setCacheMinutesToRetry:function(n){A||(z=n)},ti:function(){return z},setCacheMeasurementExpiry:function(n){A||(X=n)},ei:function(){return X},isEnabled:function(){return H},ii:function(){return A},disable:function(){H&&(H=!1,_n(v.DISABLE))},disableDocumentUrlCollection:function(){c=!1},disableDocumentTitleCollection:function(){w=!1},disableDocumentReferrerCollection:function(){E=!1},ri:function(){return c},oi:function(){return w},si:function(){return E},setFirstPartyCookieDomain:function(n){I=n},ui:function(){return I},disableTcfIntegration:function(){x&&(x=!1,_n(v.DISABLED_TCF_INTEGRATION))},disableCmpIntegration:function(){x&&(x=!1,_n(v.DISABLED_CMP_INTEGRATION))},enableFirstPartyCookie:function(){A||(W=!0,_n(v.Mt))},bypassUserConsentRequirementFor1PCookie:function(){A||(F=!0,_n(v.Ut))},removeListener:function(n){if(o.Fe(n)){var t=j.indexOf(n);-1!=t&&j.splice(t,1)}},ai:function(){return fn.getPublisherConfiguration(b)},setDebugEnabled:function(n){nn=n},ci:function(){return nn},setSystemClockJumpDetectionEnabled:function(n){A||(tn=n)},fi:function(){return tn},setSystemClockJumpDetectionInterval:function(n){A||(n=100*Math.floor(n/100),en=n)},setSystemClockJumpDetectionAlternativeContextInterval:function(n){A||(n=100*Math.floor(n/100),rn=n)},li:function(){return en},di:function(){return rn},setSystemClockJumpDetectionPrecision:function(n){A||(n=100*Math.floor(n/100),on=n)},_i:function(){return on},setStorageWriteInterval:function(n){0!=un&&(n<l.pi||n>l.hi)||(an=!0,un=n)},gi:function(){return an?un:g.mi},addIncludedPublisher:function(n){-1==K.indexOf(n)&&K.push(n)},getIncludedPublishers:function(){return K},addCrossPublisherUniqueDeviceIdChangeListener:function(n){o.Fe(n)&&-1===G.indexOf(n)&&G.push(n)},removeCrossPublisherUniqueDeviceIdChangeListener:function(n){var t=G.indexOf(n);-1!==t&&G.splice(t,1)},yt:function(n){if("string"==typeof n)for(var t=0;t<G.length;t++)G[t](n)},enableChildDirectedApplicationMode:function(){A||(sn=!0)},lt:function(){return sn},Xn:null}),H=!0,C=!1,A=!1,P=!1,z=s.yi,J=s.bi,Y=s.Si,X=s.wi,Q=f.Ei,$=f.Ii,D={},L={},q=a.it,K=[],Z=new _({publisherId:b}),N=a.et,k=u.ENABLED,T=Z.isKeepAliveMeasurementEnabled(),n=!1,t=!0,e=!1,I="",j=[],G=[],U=[],M=[],x=!0,W=!1,F=!1,c=!0,w=!0,E=!0,nn=!1,tn=m.ENABLED,en=-1,rn=-1,on=m.Ai,sn=!1,un=l.Pi,an=!1,V=y,B=y,cn=new d(fn),fn.Xn=cn}S.Bt=b,n.exports=S},4218:(n,t,e)=>{var i=e(6174),r=e(1748),o=e(8466),s=e(2311),u=e(6770),a=e(8184),c=e(9927);n.exports=function(n){i.extend(this,{setLiveTransmissionMode:n.setLiveTransmissionMode,setKeepAliveMeasurementEnabled:n.setKeepAliveMeasurementEnabled,setFirstPartyCookieDomain:n.setFirstPartyCookieDomain,setOfflineCacheMode:n.setOfflineCacheMode,enableImplementationValidationMode:n.enableImplementationValidationMode,getPartnerConfigurations:n.getPartnerConfigurations,getPublisherConfigurations:n.getPublisherConfigurations,setLabelOrder:n.setLabelOrder,getLabelOrder:n.getLabelOrder,setApplicationName:n.setApplicationName,setApplicationVersion:n.setApplicationVersion,addStartLabels:n.addStartLabels,setStartLabel:n.setStartLabel,removeStartLabel:n.removeStartLabel,removeAllStartLabels:n.removeAllStartLabels,isEnabled:n.isEnabled,addPersistentLabels:n.addPersistentLabels,setPersistentLabel:n.setPersistentLabel,removePersistentLabel:n.removePersistentLabel,removeAllPersistentLabels:n.removeAllPersistentLabels,getPartnerConfiguration:n.getPartnerConfiguration,getPublisherConfiguration:n.getPublisherConfiguration,disable:n.disable,disableTcfIntegration:n.disableTcfIntegration,disableCmpIntegration:n.disableCmpIntegration,enableFirstPartyCookie:n.enableFirstPartyCookie,bypassUserConsentRequirementFor1PCookie:n.bypassUserConsentRequirementFor1PCookie,addListener:n.addListener,removeListener:n.removeListener,addClient:n.addClient,setDebugEnabled:n.setDebugEnabled,setSystemClockJumpDetectionEnabled:n.setSystemClockJumpDetectionEnabled,setSystemClockJumpDetectionInterval:n.setSystemClockJumpDetectionInterval,setSystemClockJumpDetectionAlternativeContextInterval:n.setSystemClockJumpDetectionAlternativeContextInterval,setSystemClockJumpDetectionPrecision:n.setSystemClockJumpDetectionPrecision,setLiveEndpointUrl:n.setLiveEndpointUrl,setOfflineFlushEndpointUrl:n.setOfflineFlushEndpointUrl,setCacheMaxMeasurements:n.setCacheMaxMeasurements,setCacheMaxFlushesInARow:n.setCacheMaxFlushesInARow,setCacheMinutesToRetry:n.setCacheMinutesToRetry,setCacheMeasurementExpiry:n.setCacheMeasurementExpiry,setUsagePropertiesAutoUpdateMode:n.setUsagePropertiesAutoUpdateMode,setUsagePropertiesAutoUpdateInterval:n.setUsagePropertiesAutoUpdateInterval,setStorageWriteInterval:n.setStorageWriteInterval,addIncludedPublisher:n.addIncludedPublisher,addCrossPublisherUniqueDeviceIdChangeListener:n.addCrossPublisherUniqueDeviceIdChangeListener,removeCrossPublisherUniqueDeviceIdChangeListener:n.removeCrossPublisherUniqueDeviceIdChangeListener,enableChildDirectedApplicationMode:n.enableChildDirectedApplicationMode,disableDocumentUrlCollection:n.disableDocumentUrlCollection,disableDocumentTitleCollection:n.disableDocumentTitleCollection,disableDocumentReferrerCollection:n.disableDocumentReferrerCollection,PartnerConfiguration:r,PublisherConfiguration:o,LiveTransmissionMode:s,CacheMode:u,UsagePropertiesAutoUpdateMode:c,ConfigurationType:a})}},8184:n=>{n.exports={PERSISTENT_LABELS:0,PARTNER:1,PUBLISHER:2,KEEP_ALIVE:3,LIVE_TRANSMISSION_MODE:4,OFFLINE_CACHE_MODE:5,DISABLE:6,TIME_WINDOW_ELAPSED:7,START_LABELS:8,LABEL_ORDER:9,DISABLED_TCF_INTEGRATION:10,Mt:11,Ut:12,DISABLED_CMP_INTEGRATION:13}},1748:(n,t,e)=>{var i=e(6174),r=e(6681);n.exports=function(n){var t,e,o;function s(t,e){return n&&null!=n[t]?n[t]:e}t=new r(n=n||{}),i.extend(this,t),i.extend(this,{getPartnerId:function(){return e},getExternalClientId:function(){return o}}),e=s("partnerId",""),o=s("externalClientId","")}},8466:(n,t,e)=>{var i=e(6174),r=e(6681),o=e(5708);n.exports=function s(n){var t,e,u,a,c;function f(t,e){return n&&null!=n[t]?n[t]:e}n=i.Ce(n||{}),e=f("publisherId",e),c=f("publisherUniqueDeviceIdListener"),u=o.Ci(e),a=null,t=new r(n),i.extend(this,t),i.extend(this,{getPublisherId:function(){return e},getPublisherSecret:function(){return u},getPublisherUniqueDeviceId:function(){return a},setPublisherUniqueDeviceId:function(n){a=n,"function"==typeof c&&c(n)},copy:function(t){return new s(t=i.extend(n,t))}})}},6701:(n,t,e)=>{var i=e(6174),r=e(7412);function o(){var n=new r,t=[],e=!0;i.extend(this,n),i.extend(this,{Di:function(n){t=n},Li:function(){return t},ee:function(n){e=n},Ti:function(){return e}})}o.prototype=Object.create(r.prototype),n.exports=o},9767:(n,t,e)=>{var i=e(6174),r=e(2239).ft;n.exports=function(n){var t,e;function o(){e&&(e=!1,function(){n();for(var e=0;e<t.length;e++)t[e]()}())}function s(){e&&(e=!1)}t=[],i.extend(this,{addListener:function(n){t.push(n)},Ni:function(){e||(e=!0,r.Oi(o,s))}})}},7472:(n,t,e)=>{var i=e(6174);n.exports=function(){var n,t={};i.extend(this,{ki:function(n){return null!=t[n]},Ri:function(n){return t[n]},addLabels:function(n){i.extend(t,n)},setLabel:function(n,e){t[n]=e+""},Mi:function(){return"start"==t.ns_ap_ev},getLabels:function(){return t},setLiveEndpointUrl:function(t){n=t},Ge:function(){return n}})}},7637:(n,t,e)=>{var i=e(5392),r=e(6174),o=e(6701),s=e(2239).ft,u="a".charCodeAt(0);function a(n,t){if(0==t)return n;var e=String.fromCharCode(u+t-1),i=function(n){var t=n.match(/^[cC](\d|[12]\d)$/);return t&&t[1]?t[1]:""}(n);return String(i?"c"+e+i:"c"+e+"_"+n)}function c(n,t,e){var i=[],r=n.getPersistentLabels();for(var o in r)i.push(o);if(e){var s=n.getStartLabels();for(o in s)i.push(o)}var u=t.getPublisherLabels(n.getPublisherId()),a=t.getLabels();for(o in u)o in a||i.push(o);return i}var f={Ui:function(n,t,e,u){for(var f={},l=n.Mi(),v=[],d=[],_=t.getIncludedPublishers(),p=u.getPublisherConfigurations(),h=0;h<p.length;++h){var g=p[h],m=g.getPublisherId();m!=i.Bt&&(0!=_.length&&-1==_.indexOf(m)||(v.push(g),d.push(m)))}if((0==_.length||-1!=_.indexOf(i.Bt))&&u.getPartnerConfigurations().length>0){var y=function(n){for(var t={},e={},i=n.getPartnerConfigurations(),o=0;o<i.length;++o){var s=i[o];r.extend(t,s.getPersistentLabels()),r.extend(e,s.getStartLabels())}return n.ai().copy({persistentLabels:t,startLabels:e})}(u);v.push(y),d.push(y.getPublisherId())}for(var b=[],S=0;S<v.length;++S){var w=v[S];if(S>=26)break;var E={};if(E.c2=w.getPublisherId(),E.c12=w.getPublisherUniqueDeviceId(),s.xi&&(E.c12=s.Wi),r.extend(E,e),r.extend(E,u.getPersistentLabels()),r.extend(E,w.getPersistentLabels()),r.extend(E,t.getLabels()),l&&r.extend(E,u.getStartLabels()),r.extend(E,t.getPublisherLabels(w.getPublisherId())),l&&r.extend(E,w.getStartLabels()),0==S)b=c(w,t,l),r.extend(f,E);else{for(h=0;h<b.length;++h){var I=b[h];I in E||(E[I]="*null")}for(var A in E)A in f&&f[A]==E[A]||(f[a(A,S)]=E[A])}}if(t instanceof o){var P=t.Li();for(h=0;h<P.length;++h){var C=P[h];if(S>=26)break;if(-1==d.indexOf(C)){var D=t.getPublisherLabels(C);for(A in f[a("c2",S)]=C,D)A in f&&f[A]==D[A]||(f[a(A,S)]=D[A]);S++}}}n.addLabels(f)}};n.exports=f},7412:(n,t,e)=>{var i=e(6174),r=e(9030);n.exports=function(){var n={},t=[],e={};i.extend(this,{addLabels:function(t){r.Ne(n,t)},getLabels:function(){return n},setLabel:function(t,e){r.Oe(n,t,e)},getIncludedPublishers:function(){return t},addIncludedPublisher:function(n){t&&-1==t.indexOf(n)&&t.push(n)},addPublisherLabels:function(n,t){n&&(e[n]=e[n]||{},r.Ne(e[n],t))},setPublisherLabel:function(n,t,i){n&&(e[n]=e[n]||{},r.Oe(e[n],t,i))},getPublisherLabels:function(n){return e[n]||{}}})}},1013:(n,t,e)=>{var i=e(6174),r=e(5834),o=e(7472),s=e(2239).ft,u=e(7727),a=e(7637),c=e(4180),f=e(3906),l=e(2852),v=e(5203),d=e(2311),_=e(1736),p=e(6701),h=e(7321),g=l.ke;n.exports=function(n,t,e,l,m,y,b,S){var w,E,I,A,P,C,D,L,T,N;function O(){for(var n=0;n<N.length;n++){var t=N[n];k(t.event,t.timestamp,t.Fi,t.configuration)}N=[]}function k(n,i,o,a){!function(n){n.setLabel("ns_ap_pn",s.Vi()),n.setLabel("ns_ap_pv",s.Bi()),n.setLabel("ns_ap_pfm",s.qi()),n.setLabel("ns_ap_pfv",s.ji()),n.setLabel("ns_ap_device",s.Gi()),n.setLabel("ns_ap_lang",s.Hi()),n.setLabel("ns_ap_ar",s.Ki()),n.setLabel("ns_radio",function(n){switch(n){case v.EMULATOR:return"emu";case v.WIFI:return"wlan";case v.WWAN:return"wwan";case v.ETHERNET:return"eth";case v.BLUETOOTH:return"bth";default:return"unknown"}}(s.Ji())),n.setLabel("ns_ap_env",s.Yi()),n.Mi()&&n.setLabel("ns_ap_jb",r.De(s.zi()))}(n),function(n,t){n.setLabel("ns_ap_an",t.Ke()===g?s.Ke():t.Ke()),n.setLabel("ns_ap_res",s.Xi()),n.setLabel("ns_ap_po","0x0"),n.setLabel("ns_ap_sd",s.Qi()),n.setLabel("ns_ap_ver",t.he()===g?s.he():t.he()),n.setLabel("ns_ap_bi",t.Je())}(n,a),b.vt((function(i){S.$i(i,a,n),n.addLabels(i.wn),function(n){var t=y.ht();t.bt&&n.setLabel("ns_ak",t.bt),t._t&&n.setLabel("ns_ap_ni","1")}(n),E.push(n),function(n,t){!function(n,t){var i=s.Ji(),r=n.Xe(),o=!1;i!=v.DISCONNECTED&&r!=d.CACHE&&(r!=d.LAN||i!=v.WWAN&&i!=v.BLUETOOTH)||(o=!0);for(var a=0;a<E.length;++a){var c=E[a];if(o)e.Zi(c,n);else{var f=new u(c,U,x,n,t);n.Qe()&&s.nr("Comscore: "+f.tr()),f.er()}}e.ir(),E=[]}(n,t)}(a,i),t.commit()}))}function R(n,e){return function(n,t){var e=n.getIncludedPublishers();if(0==e.length)return!0;for(var i=0;i<e.length;++i)if(t.Be(e[i]))return!0;return!1}(n,e)&&((i=h.Ht())<P?(C=0,P=i,D=0,L=i,t.put(_.rr,D),t.put(_.sr,L)):(i-P>1e3&&(C=0,P=i),i-L>1e3&&(D=0,L=i,t.put(_.rr,D),t.put(_.sr,L))),C<20&&D<6e3&&(C++,D++,t.put(_.rr,D),!0));var i}function M(e,i,r,o){R(r,o)&&(t.put(_.ve,h.Ht()),n.ur(i,!0),function(e,i,r,o){var u=0==w&&e.Mi();u&&(I=h.Ht(),t.put(_.ar,I),A++,t.put(_.ge,A),e.setLabel("ns_ap_csf","1"),e.setLabel("ns_ap_cfg",o.Ve())),o.ui()&&e.setLabel("cs_fpccd",o.ui()),w++,e.setLabel("ns_ts",i+""),e.setLabel("ns_ap_ec",w+""),e.setLabel("ns_ap_cs",A+""),e.setLabel("ns_ap_id",I+""),n.cr()==c.ue.lr?e.setLabel("name","foreground"):n.cr()==c.ue.vr||n.cr()==c.ue.se?e.setLabel("name","background"):e.setLabel("name","Application"),r instanceof p&&!r.Ti()||function(t,e,i){t.setLabel("ns_ap_fg",n.dr()+""),t.setLabel("ns_ap_ft",n._r(t.Mi())+""),t.setLabel("ns_ap_dft",n.pr()+""),t.setLabel("ns_ap_bt",n.hr(t.Mi())+""),t.setLabel("ns_ap_dbt",n.gr()+""),t.setLabel("ns_ap_it",n.mr(t.Mi())+""),t.setLabel("ns_ap_dit",n.yr()+""),t.setLabel("ns_ap_as",n.br()+""),t.setLabel("ns_ap_das",n.Sr()+""),t.setLabel("ns_ap_ut",1e3*e.Tt()+""),t.setLabel("ns_ap_usage",i-n.wr()+"")}(e,o,i),function(n){n.setLabel("c1","19"),n.setLabel("ns_ap_smv","6.7"),n.setLabel("ns_ap_bv",f.VERSION),n.setLabel("ns_ap_sv",f.VERSION)}(e),s.Er(e.getLabels(),{ri:o.ri(),oi:o.oi(),si:o.si()}),function(n,t){var e=t.getPartnerConfigurations();if(0!=t.getPartnerConfigurations().length){for(var i="",r="",o=0;o<e.length;++o){var s=e[o];i+=s.getPartnerId()+",",r+=s.getExternalClientId()+","}i=i.substring(0,i.length-1),r=r.substring(0,r.length-1),n.setLabel("cs_partner",i),n.setLabel("cs_xcid",r)}}(e,o),e.addLabels(T),e.addLabels(r.getLabels()),a.Ui(e,r,e.getLabels(),o)}(e,i,r,o),T={},N.push({event:e,timestamp:i,Fi:r,configuration:o}),l.Ni())}function U(n,i){e.flush(i),e.persist(),t.commit()}function x(n,i){e.Zi(n,i),e.persist(),e.ir(),t.commit()}i.extend(this,{$t:function(){return w},re:function(n,t,i){var r;M(((r=new o).setLabel("ns_type","hidden"),r.setLabel("ns_ap_ev","keep-alive"),r.setLabel("ns_ap_oc",e.Ir()+""),r),n,t,i)},St:function(t,e,i){M(function(){var t=new o;t.setLabel("ns_type","view"),t.setLabel("ns_ap_ev","start"),t.setLabel("ns_ap_gs",m.ye()+""),t.setLabel("ns_ap_install",m.be()+"");var e=n.Ar();return e>0&&t.setLabel("ns_ap_lastrun",e+""),m.Se()&&t.setLabel("ns_ap_updated",m.me()+""),t}(),t,e,i)},Qn:function(n,t,e){M(function(){var n=new o;return n.setLabel("ns_type","hidden"),n.setLabel("ns_ap_ev","hidden"),n}(),n,t,e)},$n:function(n,t,e){var i=function(){var n=new o;return n.setLabel("ns_type","view"),n.setLabel("ns_ap_ev","view"),n}();M(i,n,t,e)},Vt:function(n,e){T[n]=e+"",t.put(_.Pr,T)}}),w=0,E=[],A=t.get(_.ge,0),P=-1,C=0,L=-1,D=0,T=t.get(_.Pr,{}),N=[],l.addListener(O)}},2311:n=>{n.exports={STANDARD:1,LAN:2,CACHE:3}},5203:n=>{n.exports={UNKNOWN:0,UNAVAILABLE:1,DISCONNECTED:2,CONNECTED:3,ETHERNET:4,WIFI:5,WWAN:6,BLUETOOTH:7,EMULATOR:8}},5521:(n,t,e)=>{var i=e(6174),r=e(2239).ft;n.exports=function(n,t,e,o){function s(n){200==n||o.isHttpRedirectCachingEnabled()&&(302==n||301==n)?e.onSuccess():e.onFailure()}i.extend(this,{er:function(){r.Cr?r.Cr(n,t,s):s()}})}},7727:(n,t,e)=>{var i=e(6174),r=e(2239).ft,o=e(5834),s=e(7321);n.exports=function(n,t,e,u,a){var c;function f(i){200==i||u.isHttpRedirectCachingEnabled()&&(302==i||301==i)?t(n,u):e(n,u)}!function(){c=o.Ee(u.Ge()||(u.isSecureTransmissionEnabled()?a.bn?s.Fe(r.Dr)?r.Dr():r.Dr:s.Fe(r.Lr)?r.Lr():r.Lr:a.bn?s.Fe(r.Tr)?r.Tr():r.Tr:s.Fe(r.Nr)?r.Nr():r.Nr),n.getLabels(),u.getLabelOrder());var t="undefined"==typeof window||(window.ActiveXObject,1)?4096:2048;if(c.length>t&&c.indexOf("&")>0){var e=c.substring(0,t-8).lastIndexOf("&"),i=encodeURIComponent(c.substring(e+1));c=c.substring(0,e)+"&ns_cut="+i}c.length>t&&(c=c.substring(0,t))}(),i.extend(this,{er:function(){r.Or?r.Or(c,f,u):f()},tr:function(){return c}})}},1957:(n,t,e)=>{var i=e(6174),r=e(5834),o=e(8501),s=e(6770),u=e(5521),a=e(3753),c=e(2239).ft,f=e(5203),l=e(1736),v=e(7321);function d(n,t){var e,d,_,p,h,g=this;function m(t,i){var r=t.$e(),o=c.Ji();return!(r==s.DISABLED||r==s.MANUAL_FLUSH&&!i||r==s.LAN&&(o==f.WWAN||o==f.BLUETOOTH||o==f.DISCONNECTED)||function(t){var e=60*t.ti()*1e3,i=t.ni();return v.Ht()-n.get(l.ve,-1)>e&&(h=0),h>i}(t)||0==e.length||d)}function y(n){d=!0;var t=n.He(),i={};i.c2=n.getPublisherConfigurations()[0].getPublisherId();var s="JetportGotAMaskOfThe"+n.getPublisherConfigurations()[0].getPublisherSecret()+"S.D_K-";s=a(s),i.s=s;var c=r.Ee(t,i,n.getLabelOrder());!function(n){for(var t=v.Ht()-24*n.ei()*60*60*1e3,i=0;i<e.length;){var r=e[i];parseInt(r.ns_ts)<t?(e.splice(i,1),p++):i++}}(n),_=e,e=[],h++;var f=o.kr(n,_,p);new u(c,f,g,n).er()}d=!1,e=[],_=null,p=n.get(l.Rr,0),h=0,function(){var n=t.getCache();if(null!=n)try{var i=JSON.parse(n);if(!(i instanceof Array))return;e=i}catch(r){}}(),i.extend(g,{persist:function(){c.Mr&&n.put(l.Rr,p)},ir:function(){if(c.Mr){var n=JSON.stringify(e);t.storeCache(n)}},onSuccess:function(){d=!1,_=null,p=0,g.ir()},onFailure:function(){d=!1,e=_.concat(e),_=null,g.ir()},Zi:function(n,t){c.Mr&&t.$e()!=s.DISABLED&&(function(n){return e.length<=n.Ze()}(t)?e.push(n.getLabels()):p++)},Ur:function(n){if(c.Mr){for(var t=[],i=0;i<n.length;++i)t.push(n[i].getLabels());e=t.concat(e)}},flush:function(n,t){c.Mr&&m(n,t)&&y(n)},Ir:function(){return e.length},Dt:function(){e=[]}})}d.wi=31,d.bi=2e3,d.Re="http://udm.scorecardresearch.com/offline",d.Me="https://udm.scorecardresearch.com/offline",d.Si=10,d.yi=30,n.exports=d},6770:n=>{n.exports={DISABLED:4,LAN:3,MANUAL_FLUSH:2,ENABLED:1}},1301:(n,t,e)=>{var i=e(6174),r=e(7472),o=e(2239).ft,s="cache_dir",u="undefined"!=typeof encodeURIComponent?decodeURIComponent:unescape;n.exports=function(n,t,e){var a="function"==typeof o.Wr?new o.Wr:null,c="function"==typeof o.Fr?new o.Fr:null,f=function(){return c&&c.dir(s)||[]},l=function(n){c&&(c.deleteFile(s,n),a&&a.remove(n))},v=function(n){if(!c)return[];var t=c.read(s,n);return t?t.split("\n"):[]};function d(n){for(var t=n.split("&"),e=new r,i=0;i<t.length;++i){var o=t[i].split("="),s=u(o[0]),a=u(o[1]);e.setLabel(s,a)}return e}i.extend(this,{Yt:function(){var n=function(n){for(var t=[],e=0;e<n.length;++e){var i=d(n[e]);t.push(i)}return t}(function(){for(var n=f(),t=[],e=0;e<n.length;++e){var i=v(n[e]);t=t.concat(i)}return t}());e.Ur(n)},zt:function(){for(var n=f(),t=0;t<n.length;++t)l(n[t])}})}},8501:(n,t,e)=>{var i=e(2239).ft,r=e(3753),o=e(7321);function s(n,t,e){var i=n.ns_ts,r="undefined"!=typeof encodeURIComponent?encodeURIComponent:escape,o="",s=!1;for(var u in n)null==t[u]&&"ns_ts"!=u&&(s&&(o+="&"),s=!0,o+=r(u)+"="+r(n[u]));return e.push(o),'<event t="'+i+'">'+o+"</event>"}var u={kr:function(n,t,e){var u=function(n){var t={};return t.c12=n.getPublisherConfigurations()[0].getPublisherUniqueDeviceId(),t.c1="19",t.ns_ap_pn=i.Vi(),t.ns_ap_an=n.Ke(),t.ns_ap_device=i.Gi(),t}(n),a="";for(var c in a+='<?xml version="1.0" encoding="UTF-8" ?>\n<events ',a+='t="'+o.Ht()+'" ',u)a+=c+'="'+u[c]+'" ';a+='dropped="'+e+'" ';for(var f=[],l="",v=0;v<t.length;++v)l+=" "+s(t[v],u,f)+"\n";return a+='md5="'+r(f.join(""))+'" ',a+=">\n",a+=l,a+="</events>"}};n.exports=u},1736:n=>{n.exports={Rr:"ocdrm",ve:"ltrts",pe:"pappv",de:"fits",_e:"cits",Vr:"cpidmd5",Br:"cpidrsa",Wt:"c12s",qr:"lappaccts",jr:"lsaccts",Gr:"lappsts",Hr:"ftrsc",Kr:"accft",Jr:"accbt",Yr:"accit",zr:"tft",Xr:"tbt",Qr:"tit",$r:"accappst",Zr:"appsc",no:"g",ar:"lrt",rr:"dc",sr:"dco",ge:"csc",Pr:"sl"}},365:(n,t,e)=>{var i=e(6174);n.exports=function(n){var t,e;!function(){var e=n.getProperties();try{(t=JSON.parse(e))&&"object"==typeof t||(t={})}catch(i){t={}}}(),e=!1,i.extend(this,{put:function(n,i){t[n]=i,e=!0},get:function(n,e){return n in t?t[n]:e},remove:function(n){delete t[n],e=!0},contains:function(n){return n in t},clear:function(){t={}},commit:function(){var i;e&&(i=JSON.stringify(t),n.storeProperties(i)),e=!1}})}},2275:(n,t,e)=>{var i=e(6174),r=e(1736),o=e(2239).ft,s=["previousVersion","AppName","AppVersion","vid","exitCode","q_dcc","q_dcf","runs","accumulatedActiveUserSessionTime","accumulatedUserSessionTime","activeUserSessionCount","userSessionCount","userInteractionCount","lastActiveUserSessionTimestamp","lastUserInteractionTimestamp","lastUserSessionTimestamp"],u={CACHE_DROPPED_MEASUREMENTS:r.Rr,lastApplicationAccumulationTimestamp:r.qr,lastSessionAccumulationTimestamp:r.jr,lastApplicationSessionTimestamp:r.Gr,foregroundTransitionsCount:r.Hr,accumulatedForegroundTime:r.Kr,accumulatedBackgroundTime:r.Jr,accumulatedInactiveTime:r.Yr,totalForegroundTime:r.zr,totalBackgroundTime:r.Xr,totalInactiveTime:r.Qr,accumulatedApplicationSessionTime:r.$r,applicationSessionCountKey:r.Zr,genesis:r.no,previousGenesis:r.ar,installId:r._e,firstInstallId:r.de,currentVersion:r.pe,coldStartCount:r.ge,crossPublisherIdHashed:r.Vr,crossPublisherId:r.Br},a={pg:r.ar};n.exports=function(){var n="function"==typeof o.Wr?new o.Wr:null;i.extend(this,{Kt:function(t){if(n)for(var e in u){var i=n.get(e);null!=i&&t.put(u[e],i)}for(var r in a){var o=t.get(r);null!=o&&t.put(a[r],o)}},Jt:function(t){if(n){for(var e in u)n.remove(e);for(var i=0;i<s.length;++i)n.remove(s[i]);n.clear()}for(var r in a)t.remove(r)}})}},4180:(n,t,e)=>{var i=e(6174),r=e(2239).ft,o=e(1736),s=e(7321),u=e(9927),a={eo:2,io:3,se:4},c={lr:1,vr:2,se:3};function f(n,t){var e,u,f,l,v,d,_,p,h,g,m,y,b,S,w,E,I,A,P,C,D,L=this,T=[],N=[];function O(n){var t;(t=u?c.lr:f?c.vr:c.se)!=l&&function(n,t){l!=n&&(function(n,t){switch(n){case c.se:break;case c.vr:case c.lr:M()}for(var e=0;e<N.length;++e)N[e].oe(n,t)}(l,t),function(n,t){switch(n){case c.se:break;case c.vr:v||R();break;case c.lr:R(),d++}for(var e=0;e<N.length;++e)N[e].ce(n,t)}(n,t),k(t,!0),l=n)}(t,n)}function k(t,e){var i=t-_;switch(l){case c.lr:p+=i,h+=i;break;case c.vr:g+=i,m+=i;break;case c.se:y+=i,b+=i}_=t,e&&(n.put(o.qr,_),n.put(o.Hr,d),n.put(o.Kr,p),n.put(o.Jr,g),n.put(o.Yr,y),n.put(o.zr,h),n.put(o.Xr,m),n.put(o.Qr,b))}function R(){M(),P>0&&(D=r.setTimeout((function(){L.ur(s.Ht(),!0),D=null,R(),n.commit()}),P))}function M(){D&&(r.clearTimeout(D),D=null)}function U(n){var t;(t=f?a.eo:u?a.io:a.se)!=e&&function(n,t){e!=n&&(function(n,t){switch(n){case a.eo:case a.io:S=t;break;case a.se:W(t)||(w+=t-E)}for(var e=0;e<T.length;++e)T[e].fe(n,t)}(e,t),function(n,t){switch(n){case a.eo:case a.io:W(t)}for(var e=0;e<T.length;++e)T[e].le(n,t)}(n,t),x(t,!0),e=n)}(t,n)}function x(t,i){var r=t-E;switch(e){case a.eo:case a.io:w+=r,S=t}E=t,i&&(n.put(o.jr,E),n.put(o.Gr,S),n.put(o.$r,w),n.put(o.no,I),n.put(o.Zr,C))}function W(t){var e=!1;return t-S>18e5&&(I=t,n.put(o.no,I),C++,e=!0),S=t,e}d=0,v=!1,l=c.se,e=a.se,u=!1,f=!1,h=0,m=0,b=0,g=0,p=0,y=0,w=0,I=-1,A=-1,_=-1,E=-1,S=-1,P=0,C=0,_=n.get(o.qr,-1),E=n.get(o.jr,-1),S=n.get(o.Gr,-1),d=n.get(o.Hr,0),p=n.get(o.Kr,0),g=n.get(o.Jr,0),y=n.get(o.Yr,0),h=n.get(o.zr,0),m=n.get(o.Xr,0),b=n.get(o.Qr,0),w=n.get(o.$r,0),C=n.get(o.Zr,0),function(t){A=n.get(o.ar,0),(I=n.get(o.no,-1))<0?(I=t,n.put(o.no,I),A=0,n.put(o.ar,A),S=I,C++):(W(t)||(w+=t-E,n.put(o.$r,w)),S=I)}(t),function(t){if(_>0){var e=t-_;y+=e,n.put(o.Yr,y),b+=e,n.put(o.Qr,b)}E=_=t,n.put(o.jr,E),n.put(o.qr,_),n.put(o.Gr,S)}(t),i.extend(L,{cr:function(){return l},notifyUxActive:function(t){f||(f=!0,O(t),U(t),n.commit())},notifyUxInactive:function(t){f&&(f=!1,O(t),U(t),n.commit())},notifyEnterForeground:function(t){u||(u=!0,O(t),U(t),n.commit())},notifyExitForeground:function(t){u&&(u=!1,O(t),U(t),n.commit())},ur:function(n,t){k(n,t),x(n,t)},Nt:function(n,t){P=1e3*n,v=t,n>0&&(l==c.lr||l==c.vr&&!t)?R()