PageSourceSearch

https://www.kleber.fr/modules/@dgad/analytics-custom-pages/js/analytics.js

js kleber.fr collected 2026-10-07 15:41:36 UTC 19,028 bytes, 3 lines download raw bytes

1/*! For license information please see analytics.js.LICENSE */
2!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=35)}([function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e){for(var n=function(t){return window.apos&&window.apos.utils&&"function"==typeof window.apos.utils[t]?window.apos.utils:console},r={log:function(){var t;return(t=n("log")).log.apply(t,arguments)},table:function(){var t;return(t=console).table.apply(t,arguments)},group:function(t){return r.log(t)},groupCollapsed:function(t){return r.log(t)},groupEnd:function(){}},o=function(){var t=a[i];r[t]=function(){var e;return(e=n(t))[t].apply(e,arguments)}},i=0,a=["info","warn","error","debug"];i<a.length;i++)o();t.exports=r},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},function(t,e,n){var r=n(7);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}},function(t,e,n){var r=n(3),o=n(8);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?o(t):e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e,n){var r=n(3),o=n(0),i=n(1),a=n(2),u=function(){"use strict";function t(e){var n=e.event,i=e.tags,a=e.required;o(this,t),this.event=n,this.tags=i&&"object"===r(i)?i:{},this.required=Array.isArray(a)||a instanceof Set?Array.from(new Set(a)):[]}return i(t,[{key:"hydrate",value:function(t){var e=[],n=Object.assign({},this.tags);if(t&&"object"===r(t)&&(e=Object.keys(t),Object.assign(n,t)),this.required.length>0){var o=this.required.filter((function(t){return!e.includes(t)}));o.length>0&&a.warn("Missing parameters when hydrating rule ".concat(this.constructor.name,":"),o)}return n}},{key:"fire",value:function(t){window.Analytics.push(this.hydrate(t))}}]),t}();t.exports=u},function(t,e,n){var r=n(2),o={startedAt:null,init:function(){this.startedAt?r.error("AnalyticsLoadTime has already been initialized."):this.reset()},calculate:function(){return this.startedAt?(Date.now()-this.startedAt)/1e3:(r.error("AnalyticsLoadTime has not been initialized."),0)},reset:function(){this.startedAt=Date.now()}};t.exports=o},function(t,e,n){var r=n(0),o=n(1),i=function(){"use strict";function t(){r(this,t)}return o(t,null,[{key:"retrieve",value:function(){return window.sessionStorage&&window.sessionStorage.dtm_analytics?JSON.parse(window.sessionStorage.dtm_analytics):{}}},{key:"set",value:function(t){window.sessionStorage.dtm_analytics=JSON.stringify(t)}},{key:"store",value:function(e){t.set(Object.assign(t.retrieve(),e))}},{key:"clear",value:function(){delete window.sessionStorage.dtm_analytics}},{key:"flush",value:function(){var e=t.retrieve();return t.clear(),e}}]),t}();t.exports=i},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){var r=n(12);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e,n){var r=n(15),o=n(0),i=n(1),a=n(11),u=n(10);t.exports=function(){"use strict";function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,t),this.dataLayerName=e,this.options=c||{};var s=Object.assign({},i);if(c.loadTime){var f="string"==typeof c.loadTime?c.loadTime:"loadtime";Object.assign(s,r({},f,u.calculate()))}var l=c.ignoreSession?{}:a.flush();this.init(s,l,this.options),this.log=new Proxy(console,{get:function(t,e){return n.options.debug?t[e]:function(){}}}),Object.defineProperty(window,e,{get:function(){return n.getDataLayer()}})}return i(t,[{key:"init",value:function(t,e,n){this.log.warn("Method init() not implemented")}},{key:"getDataLayer",value:function(){this.log.warn("Method getDataLayer() not implemented")}}
2,{key:"push",value:function(t){this.log.warn("Method push() not implemented")}},{key:"pushEvent",value:function(t,e){this.log.warn("Method eventName() not implemented")}},{key:"pushVirtualPage",value:function(t,e){t.event,t.url,t.page,t.section;this.log.warn("Method pushVirtualPage() not implemented")}},{key:"pushEcommerce",value:function(t,e,n){this.log.warn("Method pushEcommerce() not implemented")}}]),t}()},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(17),o=n(18),i=n(13),a=n(19);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||a()}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){var r=n(3),o=n(0),i=n(1),a=n(21);function u(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s=n(2),f=["push","pushVirtualPage","pushEcommerce","pushEvent"],l=function(t,e,n){t.options&&t.options.debug&&(s.groupCollapsed("[".concat(t.id,"] Call to ").concat(e)),s.debug.apply(s,["".concat(t.dataLayerName,".").concat(e,"(")].concat(a(n),[")"])),Array.isArray(t.dataLayer)?s.table(Object.assign.apply(Object,a(t.dataLayer))):s.table(t.dataLayer),s.groupEnd())},p=function(t,e,n){t.options&&t.options.debug&&(s.groupCollapsed("[".concat(t.id,"] ").concat(e," (NOOP)")),s.debug.apply(s,["".concat(t.dataLayerName,".").concat(e,"(")].concat(a(n),[")"])),s.groupEnd())},y=function(){"use strict";function t(){o(this,t),this.handlers=[],this.attach.apply(this,arguments)}return i(t,[{key:"attach",value:function(){for(var t=this,e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];n.forEach((function(e,n){if(e&&"object"===r(e)){var o,i={},a=u(f);try{var c=function(){var t=o.value;"function"==typeof e[t]?i[t]=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e[t].apply(e,r),l(e,t,r)}:i[t]=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return p(e,t,r)}};for(a.s();!(o=a.n()).done;)c()}catch(t){a.e(t)}finally{a.f()}t.handlers.push(i)}else s.warn("Invalid analytics vendor at position ".concat(n,":"),'Expected an object but got "'.concat(e&&r(e),'"'))}))}},{key:"get",value:function(t){var e="object"===r(t)?function(e){return e instanceof t}:function(e){return e.id===t};return this.handlers.find(e)}},{key:"push",value:function(t){var e,n=u(this.handlers);try{for(n.s();!(e=n.n()).done;){e.value.push(t)}}catch(t){n.e(t)}finally{n.f()}}},{key:"pushEvent",value:function(t,e){var n,r=u(this.handlers);try{for(r.s();!(n=r.n()).done;){n.value.pushEvent(t,e)}}catch(t){r.e(t)}finally{r.f()}}},{key:"pushVirtualPage",value:function(t,e){var n,r=u(this.handlers);try{for(r.s();!(n=r.n()).done;){n.value.pushVirtualPage(t,e)}}catch(t){r.e(t)}finally{r.f()}}},{key:"pushEcommerce",value:function(t,e){var n,r=u(this.handlers);try{for(r.s();!(n=r.n()).done;){n.value.pushEcommerce(t,e)}}catch(t){r.e(t)}finally{r.f()}}}]),t}();t.exports=y},function(t,e,n){var r=n(22),o=n(23),i=n(13),a=n(24);t.exports=function(t){return r(t)||o(t)||i(t)||a()}},function(t,e,n){var r=n(12);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){var r=n(3),o=n(16),i=n(0),a=n(1),u=n(4),c=n(5),s=n(6);function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}var l=function(t){"use strict";u(n,t);var e=f(n);function n(){return i(this,n),e.apply(this,arguments)}return a(n,[{key:"init",value:function(t,e,n){this.id="DTM",this.dataLayer=Object.assign({},t,e),this.options.async&&window.addEventListener("load",(function(){window._satellite.track("pageBottom")}))}},{key:"getDataLayer",value:function(){return Object.assign({},this.dataLayer)}},{key:"push",value:function(t){for(var e=0,n=Object.entries(t);e<n.length;e++){var r=o(n[e],2),i=r[0],a=r[1];null===a?delete this.dataLayer[i]:this.dataLayer[i]=a}}},{key:"pushEvent",value:function(t,e){if(window._satellite)if("function"==typeof window._satellite.track){e&&"object"===r(e)&&this.push(e);try{window._satellite.track(t)}catch(t){this.log.error(t)}}else this.log.warn("".concat(t," is not a valid satellite"));else this.log.warn("window._satellite is undefined, have you tried to disable your ads/scripts blocker?")}},{key:"pushVirtualPage",value:function(t,e){var n=t.event,r=t.url,o=t.page,i=t.section;this.pushEvent(n,Object.assign({pageurl:r,pagename:o,sitesection:i},e))}}]),n}(n(14));t.exports=l},function(t,e,n){var r=n(0),o=n(1),i=n(4),a=n(5),u=n(6),c=n(16),s=n(3);function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}var l=n(27),p=n(14),y=function(t){"use strict";i(n,t);var e=f(n);function n(){return r(this,n),e.apply(this,arguments)}return o(n,[{key:"init",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.id="GTM",this.ecommerceMapping=n.ecommerceMapping||{},this.dataLayer=window[this.dataLayerName]||[];var r=Object.assign({},this.mapEcommerce(t),e);this.push(r)}},{key:"mapEcommerce",value:function(t){var e=this;return l(t,(function(t){return e.ecommerceMapping[t]||t}))}},{key:"getDataLayer",value:function(){return this.dataLayer||[]}},{key:"push",value:function(t){var e=function t(e){if(!e||"object"!==s(e))return e;if(Array.isArray(e))return e.map((function(e){return t(e)}));for(var n={},r=0,o=Object.entries(e);r<o.length;r++){var i=c(o[r],2),a=i[0],u=i[1];void 0!==u&&(n[a]=t(u))}return n}(t)||{};e&&Object.keys(e).length>0&&this.dataLayer.push(e)}},{key:"pushEvent",value:function(t,e){this.push(Object.assign({event:t},e))}},{key:"pushVirtualPage",value:function(t,e){var n=t.event,r=t.url,o=t.page,i=t.section;this.pushEvent("virtualPageView",Object.assign({virtualPage:n,pageurl:r,pagecategory:o,sitesection:i},e))}},{key:"pushEcommerce",value:function(t,e,n){this.pushEvent(t,Object.assign({},n,{ecommerce:this.mapEcommerce(e)}))}}]),n}(p);t.exports=y},function(t,e,n){"use strict";var r=n(28),o=n(30);t.exports=function t(e,n){var i=r(e);
2if("object"!==i&&"array"!==i)throw new Error("expected an object");var a=[];for(var u in"object"===i&&(e=o(e,n),a={}),e)if(e.hasOwnProperty(u)){var c=e[u];"object"===r(c)||"array"===r(c)?a[u]=t(c,n):a[u]=c}return a}},function(t,e,n){var r=n(29),o=Object.prototype.toString;t.exports=function(t){if(void 0===t)return"undefined";if(null===t)return"null";if(!0===t||!1===t||t instanceof Boolean)return"boolean";if("string"==typeof t||t instanceof String)return"string";if("number"==typeof t||t instanceof Number)return"number";if("function"==typeof t||t instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(t))return"array";if(t instanceof RegExp)return"regexp";if(t instanceof Date)return"date";var e=o.call(t);return"[object RegExp]"===e?"regexp":"[object Date]"===e?"date":"[object Arguments]"===e?"arguments":"[object Error]"===e?"error":r(t)?"buffer":"[object Set]"===e?"set":"[object WeakSet]"===e?"weakset":"[object Map]"===e?"map":"[object WeakMap]"===e?"weakmap":"[object Symbol]"===e?"symbol":"[object Int8Array]"===e?"int8array":"[object Uint8Array]"===e?"uint8array":"[object Uint8ClampedArray]"===e?"uint8clampedarray":"[object Int16Array]"===e?"int16array":"[object Uint16Array]"===e?"uint16array":"[object Int32Array]"===e?"int32array":"[object Uint32Array]"===e?"uint32array":"[object Float32Array]"===e?"float32array":"[object Float64Array]"===e?"float64array":"object"}},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){var r;!function(){"use strict";function n(t,e){if("function"!=typeof e)return t;var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[e(r,t[r])||r]=t[r]);return n}t.exports?t.exports=n:void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){var r=n(0),o=n(1),i=n(4),a=n(5),u=n(6);function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}var s=function(t){"use strict";i(n,t);var e=c(n);function n(t){var o,i=t.event,a=t.url,u=t.page,c=t.section,s=t.tags,f=t.required;return r(this,n),(o=e.call(this,{tags:s,required:f})).event=i,o.url=a,o.page=u,o.section=c,o}return o(n,[{key:"fire",value:function(t){window.Analytics.pushVirtualPage({event:this.event,url:this.url,page:this.page,section:this.section},this.hydrate(t))}}]),n}(n(9));t.exports=s},function(t,e,n){var r=n(0),o=n(1),i=n(4),a=n(5),u=n(6);function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}var s=function(t){"use strict";i(n,t);var e=c(n);function n(t){var o,i=t.event,a=t.required,u=t.ecommerce;return r(this,n),(o=e.call(this,{event:i,required:a})).ecommerce=u,o}return o(n,[{key:"fire",value:function(t){window.Analytics.pushEcommerce(this.event,this.hydrate(Object.assign({},this.ecommerce,t)))}}]),n}(n(9));t.exports=s},function(t,e,n){var r=n(0),o=n(1),i=n(4),a=n(5),u=n(6);function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}var s=function(t){"use strict";i(n,t);var e=c(n);function n(){return r(this,n),e.apply(this,arguments)}return o(n,[{key:"fire",value:function(t){window.Analytics.pushEvent(this.event,this.hydrate(t))}}]),n}(n(9));t.exports=s},,function(t,e,n){window.AnalyticsLoadTime=n(10),window.AnalyticsSession=n(11),window.AnalyticsDispatcher=n(20),window.AdobeAnalyticsHandler=n(25),window.GoogleAnalyticsHandler=n(26),window.AnalyticsVirtualPageRule=n(31),window.AnalyticsEcommerceRule=n(32),window.AnalyticsEventRule=n(33),window.AnalyticsLoadTime.init()}]);
3//# sourceMappingURL=analytics.js.map

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