{"version":3,"sources":["node_modules/browser-pack/_prelude.js","adobe-client-data-layer.js","custom-lodash.js","src/constants.js","src/dataLayerManager.js","src/index.js","src/item.js","src/itemConstraints.js","src/listener.js","src/listenerManager.js","src/utils/ancestorRemoved.js","src/utils/customMerge.js","src/utils/dataMatchesContraints.js","src/utils/indexOfListener.js","src/utils/listenerMatch.js","version.json"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","acdlreq","module","global","Array","s","size","forEach","b","Object","h","y","this","clear","set","j","_","g","__data__","add","v","d","xn","zn","En","Mn","String","Ue","vt","push","A","re","Ft","k","w","m","Qe","configurable","enumerable","value","writable","z","l","Bt","constructor","index","input","yt","tt","mn","X","jt","et","wn","rt","Kt","S","An","nt","Jt","O","ge","Y","buffer","byteOffset","byteLength","Z","source","se","exec","lastIndex","yn","_t","get","Fn","In","ft","at","I","Q","Ot","F","M","Ke","Pe","$","D","U","Pt","B","ct","Ve","name","message","it","T","Yt","_typeof","dt","wt","Gt","Ht","W","bt","L","R","te","V","At","Ze","q","vn","$t","Lt","Wt","Dt","J","Ct","jn","oe","K","xt","Sn","qt","slice","Re","copy","ot","On","mt","H","Mt","ut","has","lt","iteratee","Zt","arguments","st","map","ht","Be","Ne","pe","test","St","pt","Ut","_n","We","gt","Je","je","ie","ce","prototype","Me","tn","apply","De","kt","Vt","zt","E","Et","cache","TypeError","Cache","It","Le","Nt","Tt","Rt","ue","valueOf","replace","fe","he","ye","de","be","Qt","Xt","G","ee","ne","NaN","ae","le","_e","ve","parseInt","Ae","we","self","me","Function","Oe","nodeType","Se","ke","ze","process","binding","xe","isMap","Ee","isSet","Ie","isTypedArray","Fe","$e","toString","hasOwnProperty","keys","IE_PROTO","RegExp","Ce","Buffer","Te","Symbol","Uint8Array","getPrototypeOf","qe","create","Ge","propertyIsEnumerable","He","splice","isConcatSpreadable","toStringTag","Xe","getOwnPropertySymbols","Ye","isBuffer","Math","max","en","Date","now","nn","rn","on","un","cn","an","fn","ln","sn","bn","hn","pn","pop","hash","string","gn","dn","ArrayBuffer","resolve","charCodeAt","kn","isArray","$n","Dn","Un","constant","flatten","keysIn","memoize","merge","mergeWith","negate","omit","property","reject","toPlainObject","values","cloneDeep","cloneDeepWith","eq","find","findIndex","hasIn","identity","includes","indexOf","isArguments","isArrayLike","isArrayLikeObject","isEmpty","isEqual","isFunction","isLength","isNull","isObject","isObjectLike","isPlainObject","isString","isSymbol","last","stubArray","stubFalse","toFinite","toInteger","toNumber","VERSION","window","2","itemType","DATA","FCTN","EVENT","LISTENER_ON","LISTENER_OFF","dataLayerEvent","CHANGE","listenerScope","PAST","FUTURE","ALL","3","version","Item","Listener","ListenerManager","CONSTANTS","customMerge","config","_listenerManager","_config","_dataLayer","_preLoadedItems","_state","DataLayerManager","getState","getDataLayer","_updateState","item","data","_processItem","valid","triggerListeners","fctn","event","listenerOn","listener","scope","_step","_iterator","_createForOfIteratorHelper","_getBefore","done","registeredItem","triggerListener","err","register","_step2","_iterator2","listenerOff","unregister","type","_logInvalidItemError","itemConfig","JSON","stringify","console","error","dataLayer","_initialize","var_args","pushArguments","filteredArguments","key","path","addEventListener","callback","options","handler","removeEventListener","off","_processItems","../custom-lodash","../version.json","./constants","./item","./listener","./listenerManager","./utils/customMerge","4","DataLayer","Manager","adobeDataLayer","warn","concat","./dataLayerManager","dataMatchesContraints","ITEM_CONSTRAINTS","_index","_type","_data","getData","./itemConstraints","./utils/dataMatchesContraints","6","eventInfo","optional","7","8","constants","listenerMatch","indexOfListener","dataLayerManager","_listeners","_dataLayerManager","_indexOfListener","bind","_callHandler","callbackArgs","triggeredEvents","_getTriggeredEvents","_step3","_iterator3","./utils/indexOfListener","./utils/listenerMatch","9","object","ancestorPath","substring","lastIndexOf","ancestorValue","../../custom-lodash","10","objValue","srcValue","predicate","omittingCloneDeepCustomizer","stack","clone","_i","_Object$keys","subKey","makeOmittingCloneDeepCustomizer","undefined","val","omitDeep","11","constraints","supportedValues","mandatory","valueType","incorrectType","noMatchForSupportedValues","12","listeners","_step4","_iterator4","entries","_step4$value","_slicedToArray","registeredListener","13","ancestorRemoved","selectorMatches","matches","./ancestorRemoved","14"],"mappings":"khEAAA,SAAAA,EAAAC,EAAAC,EAAAC,GAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,IAAAE,EAAA,mBAAAC,SAAAA,QAAA,IAAAF,GAAAC,EAAA,OAAAA,EAAAF,GAAA,GAAA,GAAAI,EAAA,OAAAA,EAAAJ,GAAA,GAAA,IAAAK,EAAA,IAAAC,MAAA,uBAAAN,EAAA,KAAA,MAAAK,EAAAE,KAAA,mBAAAF,EAAA,IAAAG,EAAAX,EAAAG,GAAA,CAAAS,QAAA,IAAAb,EAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAAA,OAAAI,EAAAH,EAAAI,GAAA,GAAAL,IAAAA,IAAAa,EAAAA,EAAAC,QAAAd,EAAAC,EAAAC,EAAAC,GAAA,OAAAD,EAAAG,GAAAS,QAAA,IAAA,IAAAL,EAAA,mBAAAD,SAAAA,QAAAH,EAAA,EAAAA,EAAAF,EAAAa,OAAAX,IAAAD,EAAAD,EAAAE,IAAA,OAAAD,EAAA,CAAA,CAAAa,EAAA,CAAA,SAAAC,EAAAC,GAAAL,KCCA,SAAWM,KCIX,WAAA,SAAAlB,EAAAC,EAAAF,GAAA,IAAA,IAAAC,GAAA,EAAAF,EAAA,MAAAG,EAAA,EAAAA,EAAAa,OAAAZ,EAAA,EAAAK,EAAA,KAAAP,EAAAF,GAAA,CAAA,IAAAO,EAAAJ,EAAAD,GAAAD,EAAAM,EAAAL,EAAAC,KAAAM,EAAAL,KAAAG,GAAA,OAAAE,EAAA,SAAAT,EAAAG,EAAAF,GAAA,IAAA,IAAAC,GAAA,EAAAF,EAAA,MAAAG,EAAA,EAAAA,EAAAa,OAAAZ,EAAAiB,MAAArB,KAAAE,EAAAF,GAAAI,EAAAF,GAAAD,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ApU,EAAA,gBACA4c,EAAA5c,EAAA,qBAsCA,SAAA6c,EAAArH,EAAAR,GACA,OAAAA,EAAAC,OAAAO,EAAA4B,OACAhP,EAAA4M,EAAAC,KAAAO,EAAA4B,OAAAwF,EAAA5H,EAAAC,KAAAO,EAAA4B,OAMAnX,EAAAL,QArCA,SAAA4V,EAAAR,GACA,IAAAM,EAAAE,EAAAF,MACAmB,EAAAzB,EAAAV,OACAwI,GAAA,EAeA,OAbA9H,EAAAuB,OAAAnC,EAAAjB,SAAAC,KACAkC,IAAAlB,EAAAX,eAAAC,SACAoJ,EAAAD,EAAArH,EAAAR,IAEAA,EAAAuB,OAAAnC,EAAAjB,SAAAG,QACAgC,IAAAlB,EAAAX,eAAAH,OAAAgC,IAAAmB,EAAAnB,QACAwH,EAAAD,EAAArH,EAAAR,IAEAA,EAAAC,MAAAK,IAAAlB,EAAAX,eAAAC,SACAoJ,EAAAD,EAAArH,EAAAR,KAIA8H,IZRA,CAAAjC,sBAAAzN,EAAAA,eAAA,EAAA2P,oBAAA,IAAAC,GAAA,CAAA,SAAAhd,EAAAC,EAAAL,GanCAK,EAAAL,QAAA,CACAoU,QAAA,UbkCA,KAAA,GAAA,CAAA","file":"adobe-client-data-layer.min.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;ie.length)n=t;else{\nn=e;var r=0,o=-1,u=-1,c=n.length;for(0>r&&(r=-r>c?0:c+r),o=o>c?c:o,0>o&&(o+=c),c=r>o?0:o-r>>>0,r>>>=0,o=Array(c);++uu?re:c,u=1),e=Object(e);++oa))return false;if((f=c.get(t))&&c.get(e))return f==e;var f=-1,l=true,s=2&n?new g:re;for(c.set(t,e),c.set(e,t);++fn&&(n=tn(r+n,0)),c(t,lt(e,3),n)):-1}function zt(t){return(null==t?0:t.length)?E(t,1):[]}function xt(t){var e=null==t?0:t.length;return e?t[e-1]:re}function Et(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;\nreturn u.has(o)?u.get(o):(r=t.apply(this,r),n.cache=u.set(o,r)||u,r)}if(typeof t!=\"function\"||null!=e&&typeof e!=\"function\")throw new TypeError(\"Expected a function\");return n.cache=new(Et.Cache||_),n}function It(t){if(typeof t!=\"function\")throw new TypeError(\"Expected a function\");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ft(t,e){\nreturn t===e||t!==t&&e!==e}function Mt(t){return null!=t&&Ut(t.length)&&!Dt(t)}function $t(t){return Pt(t)&&Mt(t)}function Dt(t){return!!Bt(t)&&(t=M(t),\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t)}function Ut(t){return typeof t==\"number\"&&-1=t}function Bt(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)}function Pt(t){return null!=t&&typeof t==\"object\"}function Lt(t){return!(!Pt(t)||\"[object Object]\"!=M(t))&&(t=We(t),\nnull===t||(t=Ue.call(t,\"constructor\")&&t.constructor,typeof t==\"function\"&&t instanceof t&&De.call(t)==Le))}function Nt(t){return typeof t==\"string\"||!xn(t)&&Pt(t)&&\"[object String]\"==M(t)}function Ct(t){return typeof t==\"symbol\"||Pt(t)&&\"[object Symbol]\"==M(t)}function Tt(t){return t?(t=Rt(t),t===oe||t===-oe?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Vt(t){t=Tt(t);var e=t%1;return t===t?e?t-e:t:0}function Rt(t){if(typeof t==\"number\")return t;if(Ct(t))return ue;if(Bt(t)&&(t=typeof t.valueOf==\"function\"?t.valueOf():t,\nt=Bt(t)?t+\"\":t),typeof t!=\"string\")return 0===t?t:+t;t=t.replace(fe,\"\");var e=he.test(t);return e||ye.test(t)?de(t.slice(2),e?2:8):be.test(t)?ue:+t}function Wt(t){return et(t,Kt(t))}function qt(t){return null==t?\"\":J(t)}function Gt(t,e,n){return t=null==t?re:I(t,e),t===re?n:t}function Ht(t,e){return null!=t&&pt(t,e,D)}function Jt(t){return Mt(t)?d(t):V(t)}function Kt(t){if(Mt(t))t=d(t,true);else if(Bt(t)){var e,n=At(t),r=[];for(e in t)(\"constructor\"!=e||!n&&Ue.call(t,e))&&r.push(e);t=r}else{if(e=[],\nnull!=t)for(n in Object(t))e.push(n);t=e}return t}function Qt(t){return null==t?[]:l(t,Jt(t))}function Xt(t){return function(){return t}}function Yt(t){return t}function Zt(t){return T(typeof t==\"function\"?t:z(t,1))}function te(t){return dt(t)?a(Ot(t)):G(t)}function ee(){return[]}function ne(){return false}var re,oe=1/0,ue=NaN,ce=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,ie=/^\\w*$/,ae=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,fe=/^\\s+|\\s+$/g,le=/\\\\(\\\\)?/g,se=/\\w*$/,be=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,pe=/^\\[object .+?Constructor\\]$/,ye=/^0o[0-7]+$/i,je=/^(?:0|[1-9]\\d*)$/,_e={};\n_e[\"[object Float32Array]\"]=_e[\"[object Float64Array]\"]=_e[\"[object Int8Array]\"]=_e[\"[object Int16Array]\"]=_e[\"[object Int32Array]\"]=_e[\"[object Uint8Array]\"]=_e[\"[object Uint8ClampedArray]\"]=_e[\"[object Uint16Array]\"]=_e[\"[object Uint32Array]\"]=true,_e[\"[object Arguments]\"]=_e[\"[object Array]\"]=_e[\"[object ArrayBuffer]\"]=_e[\"[object Boolean]\"]=_e[\"[object DataView]\"]=_e[\"[object Date]\"]=_e[\"[object Error]\"]=_e[\"[object Function]\"]=_e[\"[object Map]\"]=_e[\"[object Number]\"]=_e[\"[object Object]\"]=_e[\"[object RegExp]\"]=_e[\"[object Set]\"]=_e[\"[object String]\"]=_e[\"[object WeakMap]\"]=false;\nvar ge={};ge[\"[object Arguments]\"]=ge[\"[object Array]\"]=ge[\"[object ArrayBuffer]\"]=ge[\"[object DataView]\"]=ge[\"[object Boolean]\"]=ge[\"[object Date]\"]=ge[\"[object Float32Array]\"]=ge[\"[object Float64Array]\"]=ge[\"[object Int8Array]\"]=ge[\"[object Int16Array]\"]=ge[\"[object Int32Array]\"]=ge[\"[object Map]\"]=ge[\"[object Number]\"]=ge[\"[object Object]\"]=ge[\"[object RegExp]\"]=ge[\"[object Set]\"]=ge[\"[object String]\"]=ge[\"[object Symbol]\"]=ge[\"[object Uint8Array]\"]=ge[\"[object Uint8ClampedArray]\"]=ge[\"[object Uint16Array]\"]=ge[\"[object Uint32Array]\"]=true,\nge[\"[object Error]\"]=ge[\"[object Function]\"]=ge[\"[object WeakMap]\"]=false;var ve,de=parseInt,Ae=typeof global==\"object\"&&global&&global.Object===Object&&global,we=typeof self==\"object\"&&self&&self.Object===Object&&self,me=Ae||we||Function(\"return this\")(),Oe=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Se=Oe&&typeof module==\"object\"&&module&&!module.nodeType&&module,ke=Se&&Se.exports===Oe,ze=ke&&Ae.process;t:{try{ve=ze&&ze.binding&&ze.binding(\"util\");break t}catch(t){}ve=void 0}var xe=ve&&ve.isMap,Ee=ve&&ve.isSet,Ie=ve&&ve.isTypedArray,Fe=Array.prototype,Me=Object.prototype,$e=me[\"__core-js_shared__\"],De=Function.prototype.toString,Ue=Me.hasOwnProperty,Be=function(){\nvar t=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||\"\");return t?\"Symbol(src)_1.\"+t:\"\"}(),Pe=Me.toString,Le=De.call(Object),Ne=RegExp(\"^\"+De.call(Ue).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),Ce=ke?me.Buffer:re,Te=me.Symbol,Ve=me.Uint8Array,Re=Ce?Ce.a:re,We=b(Object.getPrototypeOf),qe=Object.create,Ge=Me.propertyIsEnumerable,He=Fe.splice,Je=Te?Te.isConcatSpreadable:re,Ke=Te?Te.toStringTag:re,Qe=function(){try{var t=ht(Object,\"defineProperty\");\nreturn t({},\"\",{}),t}catch(t){}}(),Xe=Object.getOwnPropertySymbols,Ye=Ce?Ce.isBuffer:re,Ze=b(Object.keys),tn=Math.max,en=Date.now,nn=ht(me,\"DataView\"),rn=ht(me,\"Map\"),on=ht(me,\"Promise\"),un=ht(me,\"Set\"),cn=ht(me,\"WeakMap\"),an=ht(Object,\"create\"),fn=St(nn),ln=St(rn),sn=St(on),bn=St(un),hn=St(cn),pn=Te?Te.prototype:re,yn=pn?pn.valueOf:re,jn=pn?pn.toString:re,_n=function(){function t(){}return function(e){return Bt(e)?qe?qe(e):(t.prototype=e,e=new t,t.prototype=re,e):{}}}();y.prototype.clear=function(){\nthis.__data__=an?an(null):{},this.size=0},y.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},y.prototype.get=function(t){var e=this.__data__;return an?(t=e[t],\"__lodash_hash_undefined__\"===t?re:t):Ue.call(e,t)?e[t]:re},y.prototype.has=function(t){var e=this.__data__;return an?e[t]!==re:Ue.call(e,t)},y.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=an&&e===re?\"__lodash_hash_undefined__\":e,this},j.prototype.clear=function(){\nthis.__data__=[],this.size=0},j.prototype.delete=function(t){var e=this.__data__;return t=m(e,t),!(0>t)&&(t==e.length-1?e.pop():He.call(e,t,1),--this.size,true)},j.prototype.get=function(t){var e=this.__data__;return t=m(e,t),0>t?re:e[t][1]},j.prototype.has=function(t){return-1r?(++this.size,n.push([t,e])):n[r][1]=e,this},_.prototype.clear=function(){this.size=0,this.__data__={hash:new y,map:new(rn||j),string:new y\n}},_.prototype.delete=function(t){return t=st(this,t).delete(t),this.size-=t?1:0,t},_.prototype.get=function(t){return st(this,t).get(t)},_.prototype.has=function(t){return st(this,t).has(t)},_.prototype.set=function(t,e){var n=st(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},g.prototype.add=g.prototype.push=function(t){return this.__data__.set(t,\"__lodash_hash_undefined__\"),this},g.prototype.has=function(t){return this.__data__.has(t)},v.prototype.clear=function(){this.__data__=new j,\nthis.size=0},v.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},v.prototype.get=function(t){return this.__data__.get(t)},v.prototype.has=function(t){return this.__data__.has(t)},v.prototype.set=function(t,e){var n=this.__data__;if(n instanceof j){var r=n.__data__;if(!rn||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _(r)}return n.set(t,e),this.size=n.size,this};var gn=function(t,e){return function(n,r){if(null==n)return n;if(!Mt(n))return t(n,r);\nfor(var o=n.length,u=e?o:-1,c=Object(n);(e?u--:++un&&(n=tn(r+n,0)),Nt(t))t=n<=r&&-1} The items before.\n * @private\n */\n function _getBefore(item) {\n if (!(_dataLayer.length === 0 || item.index > _dataLayer.length - 1)) {\n return _dataLayer.slice(0, item.index).map(itemConfig => Item(itemConfig));\n }\n return [];\n }\n\n const typeProcessors = {\n data: function(item) {\n _updateState(item);\n _listenerManager.triggerListeners(item);\n },\n fctn: function(item) {\n item.config.call(_dataLayer, _dataLayer);\n },\n event: function(item) {\n if (item.data) {\n _updateState(item);\n }\n _listenerManager.triggerListeners(item);\n },\n listenerOn: function(item) {\n const listener = Listener(item);\n switch (listener.scope) {\n case CONSTANTS.listenerScope.PAST: {\n for (const registeredItem of _getBefore(item)) {\n _listenerManager.triggerListener(listener, registeredItem);\n }\n break;\n }\n case CONSTANTS.listenerScope.FUTURE: {\n _listenerManager.register(listener);\n break;\n }\n case CONSTANTS.listenerScope.ALL: {\n const registered = _listenerManager.register(listener);\n if (registered) {\n for (const registeredItem of _getBefore(item)) {\n _listenerManager.triggerListener(listener, registeredItem);\n }\n }\n }\n }\n },\n listenerOff: function(item) {\n _listenerManager.unregister(Listener(item));\n }\n };\n\n typeProcessors[item.type](item);\n };\n\n /**\n * Logs error for invalid item pushed to the data layer.\n *\n * @param {Item} item The invalid item.\n * @private\n */\n function _logInvalidItemError(item) {\n const message = 'The following item cannot be handled by the data layer ' +\n 'because it does not have a valid format: ' +\n JSON.stringify(item.config);\n console.error(message);\n };\n\n return DataLayerManager;\n};\n\n},{\"../custom-lodash\":1,\"../version.json\":14,\"./constants\":2,\"./item\":5,\"./listener\":7,\"./listenerManager\":8,\"./utils/customMerge\":10}],4:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst DataLayerManager = acdlreq('./dataLayerManager');\n\n/**\n * Data Layer.\n *\n * @type {Object}\n */\nconst DataLayer = {\n Manager: DataLayerManager\n};\n\nwindow.adobeDataLayer = window.adobeDataLayer || [];\n\n// If data layer has already been initialized, do not re-initialize.\nif (window.adobeDataLayer.version) {\n console.warn(\n `Adobe Client Data Layer v${window.adobeDataLayer.version} has already been imported/initialized on this page. You may be erroneously loading it a second time.`\n );\n} else {\n DataLayer.Manager({\n dataLayer: window.adobeDataLayer\n });\n}\n\n/**\n * @typedef {Object} ListenerOnConfig\n * @property {String} on Name of the event to bind to.\n * @property {String} [path] Object key in the state to bind to.\n * @property {ListenerScope} [scope] Scope of the listener.\n * @property {Function} handler Handler to execute when the bound event is triggered.\n */\n\n/**\n * @typedef {Object} ListenerOffConfig\n * @property {String} off Name of the event to unbind.\n * @property {String} [path] Object key in the state to bind to.\n * @property {ListenerScope} [scope] Scope of the listener.\n * @property {Function} [handler] Handler for a previously attached event to unbind.\n */\n\n/**\n * @typedef {Object} DataConfig\n * @property {Object} data Data to be updated in the state.\n */\n\n/**\n * @typedef {Object} EventConfig\n * @property {String} event Name of the event.\n * @property {Object} [eventInfo] Additional information to pass to the event handler.\n * @property {DataConfig.data} [data] Data to be updated in the state.\n */\n\n/**\n * @typedef {DataConfig | EventConfig | ListenerOnConfig | ListenerOffConfig} ItemConfig\n */\n\n/**\n * Triggered when there is change in the data layer state.\n *\n * @event DataLayerEvent.CHANGE\n * @type {Object}\n * @property {Object} data Data pushed that caused a change in the data layer state.\n */\n\n/**\n * Triggered when an event is pushed to the data layer.\n *\n * @event DataLayerEvent.EVENT\n * @type {Object}\n * @property {String} name Name of the committed event.\n * @property {Object} eventInfo Additional information passed with the committed event.\n * @property {Object} data Data that was pushed alongside the event.\n */\n\n/**\n * Triggered when an arbitrary event is pushed to the data layer.\n *\n * @event \n * @type {Object}\n * @property {String} name Name of the committed event.\n * @property {Object} eventInfo Additional information passed with the committed event.\n * @property {Object} data Data that was pushed alongside the event.\n */\n\nmodule.exports = DataLayer;\n\n},{\"./dataLayerManager\":3}],5:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../custom-lodash');\nconst isPlainObject = _.isPlainObject;\nconst isEmpty = _.isEmpty;\nconst omit = _.omit;\nconst find = _.find;\n\nconst dataMatchesContraints = acdlreq('./utils/dataMatchesContraints');\nconst ITEM_CONSTRAINTS = acdlreq('./itemConstraints');\nconst CONSTANTS = acdlreq('./constants');\n\n/**\n * Constructs a data layer item.\n *\n * @param {ItemConfig} itemConfig The data layer item configuration.\n * @param {Number} index The item index in the array of existing items.\n */\n\nmodule.exports = function(itemConfig, index) {\n const _config = itemConfig;\n const _index = index;\n const _type = getType();\n const _data = getData();\n const _valid = !!_type;\n\n function getType() {\n return find(Object.keys(ITEM_CONSTRAINTS), key => dataMatchesContraints(_config, ITEM_CONSTRAINTS[key])) ||\n (typeof _config === 'function' && CONSTANTS.itemType.FCTN) ||\n (isPlainObject(_config) && CONSTANTS.itemType.DATA);\n }\n\n function getData() {\n const data = omit(_config, Object.keys(ITEM_CONSTRAINTS.event));\n if (!isEmpty(data)) {\n return data;\n }\n }\n\n return {\n /**\n * Returns the item configuration.\n *\n * @returns {ItemConfig} The item configuration.\n */\n config: _config,\n\n /**\n * Returns the item type.\n *\n * @returns {itemType} The item type.\n */\n type: _type,\n\n /**\n * Returns the item data.\n *\n * @returns {DataConfig} The item data.\n */\n data: _data,\n\n /**\n * Indicates whether the item is valid.\n *\n * @returns {Boolean} true if the item is valid, false otherwise.\n */\n valid: _valid,\n\n /**\n * Returns the index of the item in the array of existing items (added with the standard Array.prototype.push())\n *\n * @returns {Number} The index of the item in the array of existing items if it exists, -1 otherwise.\n */\n index: _index\n };\n};\n\n},{\"../custom-lodash\":1,\"./constants\":2,\"./itemConstraints\":6,\"./utils/dataMatchesContraints\":11}],6:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n/**\n * Constraints for each type of the item configuration.\n */\n\nconst itemConstraints = {\n event: {\n event: {\n type: 'string'\n },\n eventInfo: {\n optional: true\n }\n },\n listenerOn: {\n on: {\n type: 'string'\n },\n handler: {\n type: 'function'\n },\n scope: {\n type: 'string',\n values: ['past', 'future', 'all'],\n optional: true\n },\n path: {\n type: 'string',\n optional: true\n }\n },\n listenerOff: {\n off: {\n type: 'string'\n },\n handler: {\n type: 'function',\n optional: true\n },\n scope: {\n type: 'string',\n values: ['past', 'future', 'all'],\n optional: true\n },\n path: {\n type: 'string',\n optional: true\n }\n }\n};\n\nmodule.exports = itemConstraints;\n\n},{}],7:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst CONSTANTS = acdlreq('./constants');\n\n/**\n * Constructs a data layer listener.\n *\n * @param {Item} item The item from which to construct the listener.\n */\n\nmodule.exports = function(item) {\n const _event = item.config.on || item.config.off;\n const _handler = item.config.handler || null;\n const _scope = item.config.scope || (item.config.on && CONSTANTS.listenerScope.ALL) || null;\n const _path = item.config.path || null;\n\n return {\n /**\n * Returns the listener event name.\n *\n * @returns {String} The listener event name.\n */\n event: _event,\n\n /**\n * Returns the listener handler.\n *\n * @returns {(Function|null)} The listener handler.\n */\n handler: _handler,\n\n /**\n * Returns the listener scope.\n *\n * @returns {(String|null)} The listener scope.\n */\n scope: _scope,\n\n /**\n * Returns the listener path.\n *\n * @returns {(String|null)} The listener path.\n */\n path: _path\n };\n};\n\n},{\"./constants\":2}],8:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../custom-lodash');\nconst cloneDeep = _.cloneDeep;\n\nconst constants = acdlreq('./constants');\nconst listenerMatch = acdlreq('./utils/listenerMatch');\nconst indexOfListener = acdlreq('./utils/indexOfListener');\n\n/**\n * Creates a listener manager.\n *\n * @param {Manager} dataLayerManager The data layer manager.\n * @returns {ListenerManager} A listener manager.\n */\nmodule.exports = function(dataLayerManager) {\n const _listeners = {};\n const _dataLayerManager = dataLayerManager;\n\n /**\n * Find index of listener in listeners object.\n */\n const _indexOfListener = indexOfListener.bind(null, _listeners);\n\n const ListenerManager = {\n /**\n * Registers a listener.\n *\n * @function\n * @param {Listener} listener The listener to register.\n * @returns {Boolean} true if the listener was registered, false otherwise.\n */\n register: function(listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n if (_indexOfListener(listener) === -1) {\n _listeners[listener.event].push(listener);\n return true;\n }\n } else {\n _listeners[listener.event] = [listener];\n return true;\n }\n return false;\n },\n /**\n * Unregisters a listener.\n *\n * @function\n * @param {Listener} listener The listener to unregister.\n */\n unregister: function(listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n if (!(listener.handler || listener.scope || listener.path)) {\n _listeners[event] = [];\n } else {\n const index = _indexOfListener(listener);\n if (index > -1) {\n _listeners[event].splice(index, 1);\n }\n }\n }\n },\n /**\n * Triggers listeners related to the passed item.\n *\n * @function\n * @param {Item} item Item to trigger listener for.\n */\n triggerListeners: function(item) {\n const triggeredEvents = _getTriggeredEvents(item);\n triggeredEvents.forEach(function(event) {\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n for (const listener of _listeners[event]) {\n _callHandler(listener, item);\n }\n }\n });\n },\n /**\n * Triggers a single listener on the passed item.\n *\n * @function\n * @param {Listener} listener Listener to call.\n * @param {Item} item Item to call the listener with.\n */\n triggerListener: function(listener, item) {\n _callHandler(listener, item);\n }\n };\n\n /**\n * Calls the listener handler on the item if a match is found.\n *\n * @param {Listener} listener The listener.\n * @param {Item} item The item.\n * @private\n */\n function _callHandler(listener, item) {\n if (listenerMatch(listener, item)) {\n const callbackArgs = [cloneDeep(item.config)];\n listener.handler.apply(_dataLayerManager.getDataLayer(), callbackArgs);\n }\n }\n\n /**\n * Returns the names of the events that are triggered for this item.\n *\n * @param {Item} item The item.\n * @returns {Array} The names of the events that are triggered for this item.\n * @private\n */\n function _getTriggeredEvents(item) {\n const triggeredEvents = [];\n\n switch (item.type) {\n case constants.itemType.DATA: {\n triggeredEvents.push(constants.dataLayerEvent.CHANGE);\n break;\n }\n case constants.itemType.EVENT: {\n triggeredEvents.push(constants.dataLayerEvent.EVENT);\n if (item.data) triggeredEvents.push(constants.dataLayerEvent.CHANGE);\n if (item.config.event !== constants.dataLayerEvent.CHANGE) {\n triggeredEvents.push(item.config.event);\n }\n break;\n }\n }\n return triggeredEvents;\n }\n\n return ListenerManager;\n};\n\n},{\"../custom-lodash\":1,\"./constants\":2,\"./utils/indexOfListener\":12,\"./utils/listenerMatch\":13}],9:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../../custom-lodash');\nconst has = _.has;\nconst get = _.get;\n\n/**\n * Checks if the object contains an ancestor that is set to null or undefined.\n *\n * @param {Object} object The object to check.\n * @param {String} path The path to check.\n * @returns {Boolean} true if the object contains an ancestor that is set to null or undefined, false otherwise.\n * @private\n */\nmodule.exports = function(object, path) {\n let ancestorPath = path.substring(0, path.lastIndexOf('.'));\n while (ancestorPath) {\n if (has(object, ancestorPath)) {\n const ancestorValue = get(object, ancestorPath);\n if (ancestorValue === null || ancestorValue === undefined) {\n return true;\n }\n }\n ancestorPath = ancestorPath.substring(0, ancestorPath.lastIndexOf('.'));\n }\n\n return false;\n};\n\n},{\"../../custom-lodash\":1}],10:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../../custom-lodash');\nconst cloneDeepWith = _.cloneDeepWith;\nconst isObject = _.isObject;\nconst isArray = _.isArray;\nconst reject = _.reject;\nconst mergeWith = _.mergeWith;\nconst isNull = _.isNull;\n\n/**\n * Merges the source into the object and sets objects as 'undefined' if they are 'undefined' in the source object.\n *\n * @param {Object} object The object into which to merge.\n * @param {Object} source The source to merge with.\n * @returns {Object} The object into which source was merged in.\n */\nmodule.exports = function(object, source) {\n const makeOmittingCloneDeepCustomizer = function(predicate) {\n return function omittingCloneDeepCustomizer(value, key, object, stack) {\n if (isObject(value)) {\n if (isArray(value)) {\n return reject(value, predicate).map(item => cloneDeepWith(item, omittingCloneDeepCustomizer));\n }\n\n const clone = {};\n for (const subKey of Object.keys(value)) {\n if (!predicate(value[subKey])) {\n clone[subKey] = cloneDeepWith(value[subKey], omittingCloneDeepCustomizer);\n }\n }\n return clone;\n }\n return undefined;\n };\n };\n\n const customizer = function(objValue, srcValue, key, object) {\n if (typeof srcValue === 'undefined' || srcValue === null) {\n return null;\n }\n };\n\n const omitDeep = function(value, predicate = (val) => !val) {\n return cloneDeepWith(value, makeOmittingCloneDeepCustomizer(predicate));\n };\n\n mergeWith(object, source, customizer);\n\n // Remove null or undefined objects\n object = omitDeep(object, isNull);\n\n return object;\n};\n\n},{\"../../custom-lodash\":1}],11:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../../custom-lodash');\nconst find = _.find;\nconst includes = _.includes;\n\nmodule.exports = function(data, constraints) {\n // Go through all constraints and find one which does not match the data\n const foundObjection = find(Object.keys(constraints), key => {\n const type = constraints[key].type;\n const supportedValues = key && constraints[key].values;\n const mandatory = !constraints[key].optional;\n const value = data[key];\n const valueType = typeof value;\n const incorrectType = type && valueType !== type;\n const noMatchForSupportedValues = supportedValues && !includes(supportedValues, value);\n if (mandatory) {\n return !value || incorrectType || noMatchForSupportedValues;\n } else {\n return value && (incorrectType || noMatchForSupportedValues);\n }\n });\n // If no objections found then data matches contraints\n return typeof foundObjection === 'undefined';\n};\n\n},{\"../../custom-lodash\":1}],12:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../../custom-lodash');\nconst isEqual = _.isEqual;\n\nmodule.exports = function(listeners, listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(listeners, event)) {\n for (const [index, registeredListener] of listeners[event].entries()) {\n if (isEqual(registeredListener.handler, listener.handler)) {\n return index;\n }\n }\n }\n return -1;\n};\n\n},{\"../../custom-lodash\":1}],13:[function(acdlreq,module,exports){\n/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = acdlreq('../../custom-lodash');\nconst has = _.has;\n\nconst CONSTANTS = acdlreq('../constants');\nconst ancestorRemoved = acdlreq('./ancestorRemoved');\n\n/**\n * Checks if the listener matches the item.\n *\n * @param {Listener} listener The listener.\n * @param {Item} item The item.\n * @returns {Boolean} true if listener matches the item, false otherwise.\n */\nfunction listenerMatch(listener, item) {\n const event = listener.event;\n const itemConfig = item.config;\n let matches = false;\n\n if (item.type === CONSTANTS.itemType.DATA) {\n if (event === CONSTANTS.dataLayerEvent.CHANGE) {\n matches = selectorMatches(listener, item);\n }\n } else if (item.type === CONSTANTS.itemType.EVENT) {\n if (event === CONSTANTS.dataLayerEvent.EVENT || event === itemConfig.event) {\n matches = selectorMatches(listener, item);\n }\n if (item.data && event === CONSTANTS.dataLayerEvent.CHANGE) {\n matches = selectorMatches(listener, item);\n }\n }\n\n return matches;\n}\n\n/**\n * Checks if a listener has a selector that points to an object in the data payload of an item.\n *\n * @param {Listener} listener The listener to extract the selector from.\n * @param {Item} item The item.\n * @returns {Boolean} true if a selector is not provided or if the given selector is matching, false otherwise.\n * @private\n */\nfunction selectorMatches(listener, item) {\n if (item.data && listener.path) {\n return has(item.data, listener.path) || ancestorRemoved(item.data, listener.path);\n }\n\n return true;\n}\n\nmodule.exports = listenerMatch;\n\n},{\"../../custom-lodash\":1,\"../constants\":2,\"./ancestorRemoved\":9}],14:[function(acdlreq,module,exports){\nmodule.exports={\n \"version\": \"2.0.2\"\n}\n\n},{}]},{},[4])\n\n","/**\n * @license\n * Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE\n * Build: `lodash exports=\"node\" include=\"cloneDeep,cloneDeepWith,find,get,has,includes,isEmpty,isEqual,isNull,isPlainObject,isObject,merge,mergeWith,omit,reject\" -p -o custom-lodash.js`\n */\n;(function(){function t(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function e(t,e){for(var n=-1,r=null==t?0:t.length;++ne.length)n=t;else{\nn=e;var r=0,o=-1,u=-1,c=n.length;for(0>r&&(r=-r>c?0:c+r),o=o>c?c:o,0>o&&(o+=c),c=r>o?0:o-r>>>0,r>>>=0,o=Array(c);++uu?re:c,u=1),e=Object(e);++oa))return false;if((f=c.get(t))&&c.get(e))return f==e;var f=-1,l=true,s=2&n?new g:re;for(c.set(t,e),c.set(e,t);++fn&&(n=tn(r+n,0)),c(t,lt(e,3),n)):-1}function zt(t){return(null==t?0:t.length)?E(t,1):[]}function xt(t){var e=null==t?0:t.length;return e?t[e-1]:re}function Et(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;\nreturn u.has(o)?u.get(o):(r=t.apply(this,r),n.cache=u.set(o,r)||u,r)}if(typeof t!=\"function\"||null!=e&&typeof e!=\"function\")throw new TypeError(\"Expected a function\");return n.cache=new(Et.Cache||_),n}function It(t){if(typeof t!=\"function\")throw new TypeError(\"Expected a function\");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ft(t,e){\nreturn t===e||t!==t&&e!==e}function Mt(t){return null!=t&&Ut(t.length)&&!Dt(t)}function $t(t){return Pt(t)&&Mt(t)}function Dt(t){return!!Bt(t)&&(t=M(t),\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t)}function Ut(t){return typeof t==\"number\"&&-1=t}function Bt(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)}function Pt(t){return null!=t&&typeof t==\"object\"}function Lt(t){return!(!Pt(t)||\"[object Object]\"!=M(t))&&(t=We(t),\nnull===t||(t=Ue.call(t,\"constructor\")&&t.constructor,typeof t==\"function\"&&t instanceof t&&De.call(t)==Le))}function Nt(t){return typeof t==\"string\"||!xn(t)&&Pt(t)&&\"[object String]\"==M(t)}function Ct(t){return typeof t==\"symbol\"||Pt(t)&&\"[object Symbol]\"==M(t)}function Tt(t){return t?(t=Rt(t),t===oe||t===-oe?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Vt(t){t=Tt(t);var e=t%1;return t===t?e?t-e:t:0}function Rt(t){if(typeof t==\"number\")return t;if(Ct(t))return ue;if(Bt(t)&&(t=typeof t.valueOf==\"function\"?t.valueOf():t,\nt=Bt(t)?t+\"\":t),typeof t!=\"string\")return 0===t?t:+t;t=t.replace(fe,\"\");var e=he.test(t);return e||ye.test(t)?de(t.slice(2),e?2:8):be.test(t)?ue:+t}function Wt(t){return et(t,Kt(t))}function qt(t){return null==t?\"\":J(t)}function Gt(t,e,n){return t=null==t?re:I(t,e),t===re?n:t}function Ht(t,e){return null!=t&&pt(t,e,D)}function Jt(t){return Mt(t)?d(t):V(t)}function Kt(t){if(Mt(t))t=d(t,true);else if(Bt(t)){var e,n=At(t),r=[];for(e in t)(\"constructor\"!=e||!n&&Ue.call(t,e))&&r.push(e);t=r}else{if(e=[],\nnull!=t)for(n in Object(t))e.push(n);t=e}return t}function Qt(t){return null==t?[]:l(t,Jt(t))}function Xt(t){return function(){return t}}function Yt(t){return t}function Zt(t){return T(typeof t==\"function\"?t:z(t,1))}function te(t){return dt(t)?a(Ot(t)):G(t)}function ee(){return[]}function ne(){return false}var re,oe=1/0,ue=NaN,ce=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,ie=/^\\w*$/,ae=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,fe=/^\\s+|\\s+$/g,le=/\\\\(\\\\)?/g,se=/\\w*$/,be=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,pe=/^\\[object .+?Constructor\\]$/,ye=/^0o[0-7]+$/i,je=/^(?:0|[1-9]\\d*)$/,_e={};\n_e[\"[object Float32Array]\"]=_e[\"[object Float64Array]\"]=_e[\"[object Int8Array]\"]=_e[\"[object Int16Array]\"]=_e[\"[object Int32Array]\"]=_e[\"[object Uint8Array]\"]=_e[\"[object Uint8ClampedArray]\"]=_e[\"[object Uint16Array]\"]=_e[\"[object Uint32Array]\"]=true,_e[\"[object Arguments]\"]=_e[\"[object Array]\"]=_e[\"[object ArrayBuffer]\"]=_e[\"[object Boolean]\"]=_e[\"[object DataView]\"]=_e[\"[object Date]\"]=_e[\"[object Error]\"]=_e[\"[object Function]\"]=_e[\"[object Map]\"]=_e[\"[object Number]\"]=_e[\"[object Object]\"]=_e[\"[object RegExp]\"]=_e[\"[object Set]\"]=_e[\"[object String]\"]=_e[\"[object WeakMap]\"]=false;\nvar ge={};ge[\"[object Arguments]\"]=ge[\"[object Array]\"]=ge[\"[object ArrayBuffer]\"]=ge[\"[object DataView]\"]=ge[\"[object Boolean]\"]=ge[\"[object Date]\"]=ge[\"[object Float32Array]\"]=ge[\"[object Float64Array]\"]=ge[\"[object Int8Array]\"]=ge[\"[object Int16Array]\"]=ge[\"[object Int32Array]\"]=ge[\"[object Map]\"]=ge[\"[object Number]\"]=ge[\"[object Object]\"]=ge[\"[object RegExp]\"]=ge[\"[object Set]\"]=ge[\"[object String]\"]=ge[\"[object Symbol]\"]=ge[\"[object Uint8Array]\"]=ge[\"[object Uint8ClampedArray]\"]=ge[\"[object Uint16Array]\"]=ge[\"[object Uint32Array]\"]=true,\nge[\"[object Error]\"]=ge[\"[object Function]\"]=ge[\"[object WeakMap]\"]=false;var ve,de=parseInt,Ae=typeof global==\"object\"&&global&&global.Object===Object&&global,we=typeof self==\"object\"&&self&&self.Object===Object&&self,me=Ae||we||Function(\"return this\")(),Oe=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Se=Oe&&typeof module==\"object\"&&module&&!module.nodeType&&module,ke=Se&&Se.exports===Oe,ze=ke&&Ae.process;t:{try{ve=ze&&ze.binding&&ze.binding(\"util\");break t}catch(t){}ve=void 0}var xe=ve&&ve.isMap,Ee=ve&&ve.isSet,Ie=ve&&ve.isTypedArray,Fe=Array.prototype,Me=Object.prototype,$e=me[\"__core-js_shared__\"],De=Function.prototype.toString,Ue=Me.hasOwnProperty,Be=function(){\nvar t=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||\"\");return t?\"Symbol(src)_1.\"+t:\"\"}(),Pe=Me.toString,Le=De.call(Object),Ne=RegExp(\"^\"+De.call(Ue).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),Ce=ke?me.Buffer:re,Te=me.Symbol,Ve=me.Uint8Array,Re=Ce?Ce.a:re,We=b(Object.getPrototypeOf),qe=Object.create,Ge=Me.propertyIsEnumerable,He=Fe.splice,Je=Te?Te.isConcatSpreadable:re,Ke=Te?Te.toStringTag:re,Qe=function(){try{var t=ht(Object,\"defineProperty\");\nreturn t({},\"\",{}),t}catch(t){}}(),Xe=Object.getOwnPropertySymbols,Ye=Ce?Ce.isBuffer:re,Ze=b(Object.keys),tn=Math.max,en=Date.now,nn=ht(me,\"DataView\"),rn=ht(me,\"Map\"),on=ht(me,\"Promise\"),un=ht(me,\"Set\"),cn=ht(me,\"WeakMap\"),an=ht(Object,\"create\"),fn=St(nn),ln=St(rn),sn=St(on),bn=St(un),hn=St(cn),pn=Te?Te.prototype:re,yn=pn?pn.valueOf:re,jn=pn?pn.toString:re,_n=function(){function t(){}return function(e){return Bt(e)?qe?qe(e):(t.prototype=e,e=new t,t.prototype=re,e):{}}}();y.prototype.clear=function(){\nthis.__data__=an?an(null):{},this.size=0},y.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},y.prototype.get=function(t){var e=this.__data__;return an?(t=e[t],\"__lodash_hash_undefined__\"===t?re:t):Ue.call(e,t)?e[t]:re},y.prototype.has=function(t){var e=this.__data__;return an?e[t]!==re:Ue.call(e,t)},y.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=an&&e===re?\"__lodash_hash_undefined__\":e,this},j.prototype.clear=function(){\nthis.__data__=[],this.size=0},j.prototype.delete=function(t){var e=this.__data__;return t=m(e,t),!(0>t)&&(t==e.length-1?e.pop():He.call(e,t,1),--this.size,true)},j.prototype.get=function(t){var e=this.__data__;return t=m(e,t),0>t?re:e[t][1]},j.prototype.has=function(t){return-1r?(++this.size,n.push([t,e])):n[r][1]=e,this},_.prototype.clear=function(){this.size=0,this.__data__={hash:new y,map:new(rn||j),string:new y\n}},_.prototype.delete=function(t){return t=st(this,t).delete(t),this.size-=t?1:0,t},_.prototype.get=function(t){return st(this,t).get(t)},_.prototype.has=function(t){return st(this,t).has(t)},_.prototype.set=function(t,e){var n=st(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},g.prototype.add=g.prototype.push=function(t){return this.__data__.set(t,\"__lodash_hash_undefined__\"),this},g.prototype.has=function(t){return this.__data__.has(t)},v.prototype.clear=function(){this.__data__=new j,\nthis.size=0},v.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},v.prototype.get=function(t){return this.__data__.get(t)},v.prototype.has=function(t){return this.__data__.has(t)},v.prototype.set=function(t,e){var n=this.__data__;if(n instanceof j){var r=n.__data__;if(!rn||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _(r)}return n.set(t,e),this.size=n.size,this};var gn=function(t,e){return function(n,r){if(null==n)return n;if(!Mt(n))return t(n,r);\nfor(var o=n.length,u=e?o:-1,c=Object(n);(e?u--:++un&&(n=tn(r+n,0)),Nt(t))t=n<=r&&-1} The items before.\n * @private\n */\n function _getBefore(item) {\n if (!(_dataLayer.length === 0 || item.index > _dataLayer.length - 1)) {\n return _dataLayer.slice(0, item.index).map(itemConfig => Item(itemConfig));\n }\n return [];\n }\n\n const typeProcessors = {\n data: function(item) {\n _updateState(item);\n _listenerManager.triggerListeners(item);\n },\n fctn: function(item) {\n item.config.call(_dataLayer, _dataLayer);\n },\n event: function(item) {\n if (item.data) {\n _updateState(item);\n }\n _listenerManager.triggerListeners(item);\n },\n listenerOn: function(item) {\n const listener = Listener(item);\n switch (listener.scope) {\n case CONSTANTS.listenerScope.PAST: {\n for (const registeredItem of _getBefore(item)) {\n _listenerManager.triggerListener(listener, registeredItem);\n }\n break;\n }\n case CONSTANTS.listenerScope.FUTURE: {\n _listenerManager.register(listener);\n break;\n }\n case CONSTANTS.listenerScope.ALL: {\n const registered = _listenerManager.register(listener);\n if (registered) {\n for (const registeredItem of _getBefore(item)) {\n _listenerManager.triggerListener(listener, registeredItem);\n }\n }\n }\n }\n },\n listenerOff: function(item) {\n _listenerManager.unregister(Listener(item));\n }\n };\n\n typeProcessors[item.type](item);\n };\n\n /**\n * Logs error for invalid item pushed to the data layer.\n *\n * @param {Item} item The invalid item.\n * @private\n */\n function _logInvalidItemError(item) {\n const message = 'The following item cannot be handled by the data layer ' +\n 'because it does not have a valid format: ' +\n JSON.stringify(item.config);\n console.error(message);\n };\n\n return DataLayerManager;\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst DataLayerManager = require('./dataLayerManager');\n\n/**\n * Data Layer.\n *\n * @type {Object}\n */\nconst DataLayer = {\n Manager: DataLayerManager\n};\n\nwindow.adobeDataLayer = window.adobeDataLayer || [];\n\n// If data layer has already been initialized, do not re-initialize.\nif (window.adobeDataLayer.version) {\n console.warn(\n `Adobe Client Data Layer v${window.adobeDataLayer.version} has already been imported/initialized on this page. You may be erroneously loading it a second time.`\n );\n} else {\n DataLayer.Manager({\n dataLayer: window.adobeDataLayer\n });\n}\n\n/**\n * @typedef {Object} ListenerOnConfig\n * @property {String} on Name of the event to bind to.\n * @property {String} [path] Object key in the state to bind to.\n * @property {ListenerScope} [scope] Scope of the listener.\n * @property {Function} handler Handler to execute when the bound event is triggered.\n */\n\n/**\n * @typedef {Object} ListenerOffConfig\n * @property {String} off Name of the event to unbind.\n * @property {String} [path] Object key in the state to bind to.\n * @property {ListenerScope} [scope] Scope of the listener.\n * @property {Function} [handler] Handler for a previously attached event to unbind.\n */\n\n/**\n * @typedef {Object} DataConfig\n * @property {Object} data Data to be updated in the state.\n */\n\n/**\n * @typedef {Object} EventConfig\n * @property {String} event Name of the event.\n * @property {Object} [eventInfo] Additional information to pass to the event handler.\n * @property {DataConfig.data} [data] Data to be updated in the state.\n */\n\n/**\n * @typedef {DataConfig | EventConfig | ListenerOnConfig | ListenerOffConfig} ItemConfig\n */\n\n/**\n * Triggered when there is change in the data layer state.\n *\n * @event DataLayerEvent.CHANGE\n * @type {Object}\n * @property {Object} data Data pushed that caused a change in the data layer state.\n */\n\n/**\n * Triggered when an event is pushed to the data layer.\n *\n * @event DataLayerEvent.EVENT\n * @type {Object}\n * @property {String} name Name of the committed event.\n * @property {Object} eventInfo Additional information passed with the committed event.\n * @property {Object} data Data that was pushed alongside the event.\n */\n\n/**\n * Triggered when an arbitrary event is pushed to the data layer.\n *\n * @event \n * @type {Object}\n * @property {String} name Name of the committed event.\n * @property {Object} eventInfo Additional information passed with the committed event.\n * @property {Object} data Data that was pushed alongside the event.\n */\n\nmodule.exports = DataLayer;\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../custom-lodash');\nconst isPlainObject = _.isPlainObject;\nconst isEmpty = _.isEmpty;\nconst omit = _.omit;\nconst find = _.find;\n\nconst dataMatchesContraints = require('./utils/dataMatchesContraints');\nconst ITEM_CONSTRAINTS = require('./itemConstraints');\nconst CONSTANTS = require('./constants');\n\n/**\n * Constructs a data layer item.\n *\n * @param {ItemConfig} itemConfig The data layer item configuration.\n * @param {Number} index The item index in the array of existing items.\n */\n\nmodule.exports = function(itemConfig, index) {\n const _config = itemConfig;\n const _index = index;\n const _type = getType();\n const _data = getData();\n const _valid = !!_type;\n\n function getType() {\n return find(Object.keys(ITEM_CONSTRAINTS), key => dataMatchesContraints(_config, ITEM_CONSTRAINTS[key])) ||\n (typeof _config === 'function' && CONSTANTS.itemType.FCTN) ||\n (isPlainObject(_config) && CONSTANTS.itemType.DATA);\n }\n\n function getData() {\n const data = omit(_config, Object.keys(ITEM_CONSTRAINTS.event));\n if (!isEmpty(data)) {\n return data;\n }\n }\n\n return {\n /**\n * Returns the item configuration.\n *\n * @returns {ItemConfig} The item configuration.\n */\n config: _config,\n\n /**\n * Returns the item type.\n *\n * @returns {itemType} The item type.\n */\n type: _type,\n\n /**\n * Returns the item data.\n *\n * @returns {DataConfig} The item data.\n */\n data: _data,\n\n /**\n * Indicates whether the item is valid.\n *\n * @returns {Boolean} true if the item is valid, false otherwise.\n */\n valid: _valid,\n\n /**\n * Returns the index of the item in the array of existing items (added with the standard Array.prototype.push())\n *\n * @returns {Number} The index of the item in the array of existing items if it exists, -1 otherwise.\n */\n index: _index\n };\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n/**\n * Constraints for each type of the item configuration.\n */\n\nconst itemConstraints = {\n event: {\n event: {\n type: 'string'\n },\n eventInfo: {\n optional: true\n }\n },\n listenerOn: {\n on: {\n type: 'string'\n },\n handler: {\n type: 'function'\n },\n scope: {\n type: 'string',\n values: ['past', 'future', 'all'],\n optional: true\n },\n path: {\n type: 'string',\n optional: true\n }\n },\n listenerOff: {\n off: {\n type: 'string'\n },\n handler: {\n type: 'function',\n optional: true\n },\n scope: {\n type: 'string',\n values: ['past', 'future', 'all'],\n optional: true\n },\n path: {\n type: 'string',\n optional: true\n }\n }\n};\n\nmodule.exports = itemConstraints;\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst CONSTANTS = require('./constants');\n\n/**\n * Constructs a data layer listener.\n *\n * @param {Item} item The item from which to construct the listener.\n */\n\nmodule.exports = function(item) {\n const _event = item.config.on || item.config.off;\n const _handler = item.config.handler || null;\n const _scope = item.config.scope || (item.config.on && CONSTANTS.listenerScope.ALL) || null;\n const _path = item.config.path || null;\n\n return {\n /**\n * Returns the listener event name.\n *\n * @returns {String} The listener event name.\n */\n event: _event,\n\n /**\n * Returns the listener handler.\n *\n * @returns {(Function|null)} The listener handler.\n */\n handler: _handler,\n\n /**\n * Returns the listener scope.\n *\n * @returns {(String|null)} The listener scope.\n */\n scope: _scope,\n\n /**\n * Returns the listener path.\n *\n * @returns {(String|null)} The listener path.\n */\n path: _path\n };\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../custom-lodash');\nconst cloneDeep = _.cloneDeep;\n\nconst constants = require('./constants');\nconst listenerMatch = require('./utils/listenerMatch');\nconst indexOfListener = require('./utils/indexOfListener');\n\n/**\n * Creates a listener manager.\n *\n * @param {Manager} dataLayerManager The data layer manager.\n * @returns {ListenerManager} A listener manager.\n */\nmodule.exports = function(dataLayerManager) {\n const _listeners = {};\n const _dataLayerManager = dataLayerManager;\n\n /**\n * Find index of listener in listeners object.\n */\n const _indexOfListener = indexOfListener.bind(null, _listeners);\n\n const ListenerManager = {\n /**\n * Registers a listener.\n *\n * @function\n * @param {Listener} listener The listener to register.\n * @returns {Boolean} true if the listener was registered, false otherwise.\n */\n register: function(listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n if (_indexOfListener(listener) === -1) {\n _listeners[listener.event].push(listener);\n return true;\n }\n } else {\n _listeners[listener.event] = [listener];\n return true;\n }\n return false;\n },\n /**\n * Unregisters a listener.\n *\n * @function\n * @param {Listener} listener The listener to unregister.\n */\n unregister: function(listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n if (!(listener.handler || listener.scope || listener.path)) {\n _listeners[event] = [];\n } else {\n const index = _indexOfListener(listener);\n if (index > -1) {\n _listeners[event].splice(index, 1);\n }\n }\n }\n },\n /**\n * Triggers listeners related to the passed item.\n *\n * @function\n * @param {Item} item Item to trigger listener for.\n */\n triggerListeners: function(item) {\n const triggeredEvents = _getTriggeredEvents(item);\n triggeredEvents.forEach(function(event) {\n if (Object.prototype.hasOwnProperty.call(_listeners, event)) {\n for (const listener of _listeners[event]) {\n _callHandler(listener, item);\n }\n }\n });\n },\n /**\n * Triggers a single listener on the passed item.\n *\n * @function\n * @param {Listener} listener Listener to call.\n * @param {Item} item Item to call the listener with.\n */\n triggerListener: function(listener, item) {\n _callHandler(listener, item);\n }\n };\n\n /**\n * Calls the listener handler on the item if a match is found.\n *\n * @param {Listener} listener The listener.\n * @param {Item} item The item.\n * @private\n */\n function _callHandler(listener, item) {\n if (listenerMatch(listener, item)) {\n const callbackArgs = [cloneDeep(item.config)];\n listener.handler.apply(_dataLayerManager.getDataLayer(), callbackArgs);\n }\n }\n\n /**\n * Returns the names of the events that are triggered for this item.\n *\n * @param {Item} item The item.\n * @returns {Array} The names of the events that are triggered for this item.\n * @private\n */\n function _getTriggeredEvents(item) {\n const triggeredEvents = [];\n\n switch (item.type) {\n case constants.itemType.DATA: {\n triggeredEvents.push(constants.dataLayerEvent.CHANGE);\n break;\n }\n case constants.itemType.EVENT: {\n triggeredEvents.push(constants.dataLayerEvent.EVENT);\n if (item.data) triggeredEvents.push(constants.dataLayerEvent.CHANGE);\n if (item.config.event !== constants.dataLayerEvent.CHANGE) {\n triggeredEvents.push(item.config.event);\n }\n break;\n }\n }\n return triggeredEvents;\n }\n\n return ListenerManager;\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../../custom-lodash');\nconst has = _.has;\nconst get = _.get;\n\n/**\n * Checks if the object contains an ancestor that is set to null or undefined.\n *\n * @param {Object} object The object to check.\n * @param {String} path The path to check.\n * @returns {Boolean} true if the object contains an ancestor that is set to null or undefined, false otherwise.\n * @private\n */\nmodule.exports = function(object, path) {\n let ancestorPath = path.substring(0, path.lastIndexOf('.'));\n while (ancestorPath) {\n if (has(object, ancestorPath)) {\n const ancestorValue = get(object, ancestorPath);\n if (ancestorValue === null || ancestorValue === undefined) {\n return true;\n }\n }\n ancestorPath = ancestorPath.substring(0, ancestorPath.lastIndexOf('.'));\n }\n\n return false;\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../../custom-lodash');\nconst cloneDeepWith = _.cloneDeepWith;\nconst isObject = _.isObject;\nconst isArray = _.isArray;\nconst reject = _.reject;\nconst mergeWith = _.mergeWith;\nconst isNull = _.isNull;\n\n/**\n * Merges the source into the object and sets objects as 'undefined' if they are 'undefined' in the source object.\n *\n * @param {Object} object The object into which to merge.\n * @param {Object} source The source to merge with.\n * @returns {Object} The object into which source was merged in.\n */\nmodule.exports = function(object, source) {\n const makeOmittingCloneDeepCustomizer = function(predicate) {\n return function omittingCloneDeepCustomizer(value, key, object, stack) {\n if (isObject(value)) {\n if (isArray(value)) {\n return reject(value, predicate).map(item => cloneDeepWith(item, omittingCloneDeepCustomizer));\n }\n\n const clone = {};\n for (const subKey of Object.keys(value)) {\n if (!predicate(value[subKey])) {\n clone[subKey] = cloneDeepWith(value[subKey], omittingCloneDeepCustomizer);\n }\n }\n return clone;\n }\n return undefined;\n };\n };\n\n const customizer = function(objValue, srcValue, key, object) {\n if (typeof srcValue === 'undefined' || srcValue === null) {\n return null;\n }\n };\n\n const omitDeep = function(value, predicate = (val) => !val) {\n return cloneDeepWith(value, makeOmittingCloneDeepCustomizer(predicate));\n };\n\n mergeWith(object, source, customizer);\n\n // Remove null or undefined objects\n object = omitDeep(object, isNull);\n\n return object;\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../../custom-lodash');\nconst find = _.find;\nconst includes = _.includes;\n\nmodule.exports = function(data, constraints) {\n // Go through all constraints and find one which does not match the data\n const foundObjection = find(Object.keys(constraints), key => {\n const type = constraints[key].type;\n const supportedValues = key && constraints[key].values;\n const mandatory = !constraints[key].optional;\n const value = data[key];\n const valueType = typeof value;\n const incorrectType = type && valueType !== type;\n const noMatchForSupportedValues = supportedValues && !includes(supportedValues, value);\n if (mandatory) {\n return !value || incorrectType || noMatchForSupportedValues;\n } else {\n return value && (incorrectType || noMatchForSupportedValues);\n }\n });\n // If no objections found then data matches contraints\n return typeof foundObjection === 'undefined';\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../../custom-lodash');\nconst isEqual = _.isEqual;\n\nmodule.exports = function(listeners, listener) {\n const event = listener.event;\n\n if (Object.prototype.hasOwnProperty.call(listeners, event)) {\n for (const [index, registeredListener] of listeners[event].entries()) {\n if (isEqual(registeredListener.handler, listener.handler)) {\n return index;\n }\n }\n }\n return -1;\n};\n","/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nconst _ = require('../../custom-lodash');\nconst has = _.has;\n\nconst CONSTANTS = require('../constants');\nconst ancestorRemoved = require('./ancestorRemoved');\n\n/**\n * Checks if the listener matches the item.\n *\n * @param {Listener} listener The listener.\n * @param {Item} item The item.\n * @returns {Boolean} true if listener matches the item, false otherwise.\n */\nfunction listenerMatch(listener, item) {\n const event = listener.event;\n const itemConfig = item.config;\n let matches = false;\n\n if (item.type === CONSTANTS.itemType.DATA) {\n if (event === CONSTANTS.dataLayerEvent.CHANGE) {\n matches = selectorMatches(listener, item);\n }\n } else if (item.type === CONSTANTS.itemType.EVENT) {\n if (event === CONSTANTS.dataLayerEvent.EVENT || event === itemConfig.event) {\n matches = selectorMatches(listener, item);\n }\n if (item.data && event === CONSTANTS.dataLayerEvent.CHANGE) {\n matches = selectorMatches(listener, item);\n }\n }\n\n return matches;\n}\n\n/**\n * Checks if a listener has a selector that points to an object in the data payload of an item.\n *\n * @param {Listener} listener The listener to extract the selector from.\n * @param {Item} item The item.\n * @returns {Boolean} true if a selector is not provided or if the given selector is matching, false otherwise.\n * @private\n */\nfunction selectorMatches(listener, item) {\n if (item.data && listener.path) {\n return has(item.data, listener.path) || ancestorRemoved(item.data, listener.path);\n }\n\n return true;\n}\n\nmodule.exports = listenerMatch;\n","module.exports={\n \"version\": \"2.0.2\"\n}\n"]}