PageSourceSearch

https://easyengine.io/wp-content/plugins/godam/assets/build/js/godam-player-analytics.min.js?ver=1790870907

js easyengine.io collected 2026-10-02 03:35:44 UTC 50,901 bytes, 1 lines download raw bytes

1(()=>{var e={144(e){e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(()=>{"use strict";var e=n(144),t="undefined",r="object",o=typeof process!==t?process:{},i=(o.env&&o.env.NODE_ENV,typeof document!==t);function a(e,t){return t.charAt(0)[e]()+t.slice(1)}i&&window.location.hostname,null!=o.versions&&o.versions.node,typeof Deno!==t&&Deno.core,typeof self===r&&self.constructor&&self.constructor.name,i&&"nodejs"===window.name||typeof navigator!==t&&typeof navigator.userAgent!==t&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var s=a.bind(null,"toUpperCase"),u=a.bind(null,"toLowerCase");function c(e,t){void 0===t&&(t=!0);var n=function(e){return m(e)?s("null"):typeof e===r?function(e){return l(e.constructor)?e.constructor.name:null}(e):Object.prototype.toString.call(e).slice(8,-1)}(e);return t?u(n):n}function d(e,t){return typeof t===e}var l=d.bind(null,"function"),f=d.bind(null,"string"),p=d.bind(null,t),g=d.bind(null,"boolean");function m(e){return null===e}function y(e){if(!function(e){return e&&(typeof e===r||null!==e)}(e))return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t){if("object"!=typeof t||m(t))return!1;if(t instanceof e)return!0;var n=c(new e(""));if(function(e){return e instanceof Error||f(e.message)&&e.constructor&&function(e){return"number"===c(e)&&!isNaN(e)}(e.constructor.stackTraceLimit)}(t))for(;t;){if(c(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}function v(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?function(e,t){return void 0===t&&(t=""),e&&e.nodeName===t.toUpperCase()}(e,t):n}function _n(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}function w(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function b(e,t,n){for(var r=t.length-1,o=0;o<r;++o){var i=t[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[t[r]]=n}function I(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],o=15&n;e+="-"==r||"4"==r?r:("x"==r?o:3&o|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}d.bind(null,"symbol"),h.bind(null,TypeError),h.bind(null,SyntaxError),_n(v,"form"),_n(v,"button"),_n(v,"input"),_n(v,"select");var P="global",k="__"+P+"__",S=typeof self===r&&self.self===self&&self||typeof globalThis===r&&globalThis[P]===globalThis&&globalThis||void 0;function _(e){return S[k][e]}function E(e,t){return S[k][e]=t}function A(e){delete S[k][e]}function O(e,t,n){var r;try{if(j(e)){var o=window[e];r=o[t].bind(o)}}catch(e){}return r||n}S[k]||(S[k]={});var T={};function j(e){if(typeof T[e]!==t)return T[e];try{var n=window[e];n.setItem(t,t),n.removeItem(t)}catch(n){return T[e]=!1}return T[e]=!0}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(null,arguments)}var L="function",M="undefined",N="reducer",D="@@redux/",G=D+"INIT",F=D+Math.random().toString(36),U=function(){return typeof Symbol===L&&Symbol.observable||"@@observable"}(),V=" != "+L;function C(e,t,n){var r;if(typeof t===L&&typeof n===M&&(n=t,t=void 0),typeof n!==M){if(typeof n!==L)throw new Error("enhancer"+V);return n(C)(e,t)}if(typeof e!==L)throw new Error(N+V);var o=e,i=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function d(){return i}function l(e){if(typeof e!==L)throw new Error("Listener"+V);var t=!0;return c(),s.push(e),function(){if(t){t=!1,c();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!y(e))throw new Error("Act != obj");if(typeof e.type===M)throw new Error("ActType "+M);if(u)throw new Error("Dispatch in "+N);try{u=!0,i=o(i,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return f({type:G}),(r={dispatch:f,subscribe:l,getState:d,replaceReducer:function(e){if(typeof e!==L)throw new Error("next "+N+V);o=e,f({type:G})}})[U]=function(){var e,t=l;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Observer != obj");function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}})[U]=function(){return this},e},r}function z(e,t){var n=t&&t.type;return"action "+(n&&n.toString()||"?")+N+" "+e+" returns "+M}function q(){var e=[].slice.call(arguments);return 0===e.length?function(e){return e}:1===e.length?e[0]:e.reduce(function(e,t){return function(){return e(t.apply(void 0,[].slice.call(arguments)))}})}function R(){var e=arguments;return function(t){return function(n,r,o){var i,a=t(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(e){return s(e)}};return i=[].slice.call(e).map(function(e){return e(u)}),x({},a,{dispatch:s=q.apply(void 0,i)(a.dispatch)})}}}var $="__anon_id",B="__user_id",J="__user_traits",W="analytics",Q="userId",K="anonymousId",H=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],X=["name","EVENTS","config","loaded"],Y=H.reduce(function(e,t){return e[t]=t,e},{registerPluginType:function(e){return"registerPlugin:"+e},pluginReadyType:function(e){return"ready:"+e}}),Z=/^utm_/,ee=/^an_prop_/,te=/^an_trait_/;function ne(e){var t=e.storage.setItem;
vendor: 21,509 bytes, line 1
1return function(n){return function(r){return function(o){if(o.type===Y.bootstrap){var i=o.params,a=o.user,s=o.persistedUser,u=o.initialUser,c=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t($,a.anonymousId),c||t(B,a.userId),u.traits&&t(J,x({},c&&s.traits?s.traits:{},u.traits));var d=Object.keys(o.params);if(d.length){var l=i.an_uid,f=i.an_event,p=d.reduce(function(e,t){if(t.match(Z)||t.match(/^(d|g)clid/)){var n=t.replace(Z,"");e.campaign["campaign"===n?"name":n]=i[t]}return t.match(ee)&&(e.props[t.replace(ee,"")]=i[t]),t.match(te)&&(e.traits[t.replace(te,"")]=i[t]),e},{campaign:{},props:{},traits:{}});n.dispatch(x({type:Y.params,raw:i},p,l?{userId:l}:{})),l&&setTimeout(function(){return e.identify(l,p.traits)},0),f&&setTimeout(function(){return e.track(f,p.props)},0),Object.keys(p.campaign).length&&n.dispatch({type:Y.campaign,campaign:p.campaign})}}return r(o)}}}}function re(e){return function(t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),n.type===Y.setItemEnd){if(n.key===$)return x({},t,{anonymousId:n.value});if(n.key===B)return x({},t,{userId:n.value})}switch(n.type){case Y.identify:return Object.assign({},t,{userId:n.userId,traits:x({},t.traits,n.traits)});case Y.reset:return[B,$,J].forEach(function(t){e.removeItem(t)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function oe(e){return{userId:e.getItem(B),anonymousId:e.getItem($),traits:e.getItem(J)}}var ie=function(e){return"__TEMP__"+e};function ae(e){var t=e.storage,n=t.setItem,r=t.removeItem,o=t.getItem;return function(e){return function(t){return function(i){var a=i.userId,s=i.traits,u=i.options;if(i.type===Y.reset&&([B,J,$].forEach(function(e){r(e)}),[Q,K,"traits"].forEach(function(e){A(ie(e))})),i.type===Y.identify){o($)||n($,I());var c=o(B),d=o(J)||{};c&&c!==a&&e.dispatch({type:Y.userIdChanged,old:{userId:c,traits:d},new:{userId:a,traits:s},options:u}),a&&n(B,a),s&&n(J,x({},d,s))}return t(i)}}}}var se={};function ue(e,t){se[e]&&l(se[e])&&(se[e](t),delete se[e])}function ce(e,t,n){return new Promise(function(r,o){return t()?r(e):n<1?o(x({},e,{queue:!0})):new Promise(function(e){return setTimeout(e,10)}).then(function(i){return ce(e,t,n-10).then(r,o)})})}function de(e){return{abort:e}}function le(e,t,n){var r={},o=t(),i=e.getState(),a=i.plugins,s=i.queue,u=i.user;if(!i.context.offline&&s&&s.actions&&s.actions.length){var c=s.actions.reduce(function(e,t,n){return a[t.plugin].loaded?(e.process.push(t),e.processIndex.push(n)):(e.requeue.push(t),e.requeueIndex.push(n)),e},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach(function(t){var i=s.actions[t],c=i.plugin,d=i.payload.type,f=o[c][d];if(f&&l(f)){var p,g=function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),[Q,K].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}(i.payload,u),m=r[g.meta.rid];if(!m&&(p=f({payload:g,config:a[c].config,instance:n,abort:de}))&&y(p)&&p.abort)return void(r[g.meta.rid]=!0);if(!m){var h=d+":"+c;e.dispatch(x({},g,{type:h,_:{called:h,from:"queueDrain"}}))}}});var d=s.actions.filter(function(e,t){return!~c.processIndex.indexOf(t)});s.actions=d}}}var fe=function(e){var t=e.data,n=e.action,r=e.instance,o=e.state,i=e.allPlugins,a=e.allMatches,s=e.store,u=e.EVENTS;try{var c=o.plugins,d=o.context,f=n.type,p=f.match(pe),g=t.exact.map(function(e){return e.pluginName});p&&(g=a.during.map(function(e){return e.pluginName}));var m=function(e,t){return function(n,r,o){var i=r.config,a=r.name,s=a+"."+n.type;o&&(s=o.event);var u=n.type.match(pe)?function(e,t,n,r,o){return function(i,a){var s=r?r.name:e,u=a&&Pe(a)?a:n;if(r&&(!(u=a&&Pe(a)?a:[e]).includes(e)||1!==u.length))throw new Error("Method "+t+" can only abort "+e+" plugin. "+JSON.stringify(u)+" input valid");return x({},o,{abort:{reason:i,plugins:u,caller:t,_:s}})}}(a,s,t,o,n):function(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}(n,s);return{payload:_e(n),instance:e,config:i||{},abort:u}}}(r,g),h=t.exact.reduce(function(e,t){var n=t.pluginName,r=t.methodName,o=!1;return r.match(/^initialize/)||r.match(/^reset/)||(o=!c[n].loaded),d.offline&&r.match(/^(page|track|identify)/)&&(o=!0),e[""+n]=o,e},{});return Promise.resolve(t.exact.reduce(function(e,o,a){var s=o.pluginName;return Promise.resolve(e).then(function(e){function o(){return Promise.resolve(e)}var a=function(){if(t.namespaced&&t.namespaced[s])return Promise.resolve(t.namespaced[s].reduce(function(e,t,n){return Promise.resolve(e).then(function(e){return t.method&&l(t.method)?(function(e,t){var n=Se(e);if(n&&n.name===t){var r=Se(n.method);throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use "+n.method+" "+(r?"or "+r.method:"")+" in "+t+" plugin insteadof "+e].join("\n"))}}(t.methodName,t.pluginName),Promise.resolve(t.method({payload:e,instance:r,abort:(n=e,o=s,a=t.pluginName,function(e,t){return x({},n,{abort:{reason:e,plugins:t||[o],caller:f,from:a||o}})}),config:he(t.pluginName,c,i),plugins:c})).then(function(t){var n=y(t)?t:{};return Promise.resolve(x({},e,n))})):e;var n,o,a})},Promise.resolve(n))).then(function(t){e[s]=t});e[s]=n}();return a&&a.then?a.then(o):o()})},Promise.resolve({}))).then(function(e){return Promise.resolve(t.exact.reduce(function(n,o,a){try{var u=t.exact.length===a+1,d=o.pluginName,l=i[d];return Promise.resolve(n).then(function(t){var n=e[d]?e[d]:{};if(p&&(n=t),be(n,d))return ye({data:n,method:f,instance:r,pluginName:d,store:s}),Promise.resolve(t);if(be(t,d))return u&&ye({data:t,method:f,instance:r,store:s}),Promise.resolve(t);if(h.hasOwnProperty(d)&&!0===h[d])return s.dispatch({type:"queue",plugin:d,payload:n,_:{called:"queue",from:"queueMechanism"}}),Promise.resolve(t);var o=m(e[d],i[d]);return Promise.resolve(l[f]({abort:o.abort,payload:n,instance:r,config:he(d,c,i),plugins:c})).then(function(o){var i=y(o)?o:{},a=x({},t,i),u=e[d];if(be(u,d))ye({data:u,method:f,instance:r,pluginName:d,store:s});else{var c=f+":"+d;(c.match(/:/g)||[]).length<2&&!f.match(ge)&&!f.match(me)&&r.dispatch(x({},p?a:n,{type:c,_:{called:c,from:"submethod"}}))}return Promise.resolve(a)})})}catch(e){return Promise.reject(e)}},Promise.resolve(n))).then(function(e){if(!(f.match(pe)||f.match(/^registerPlugin/)||f.match(me)||f.match(ge)||f.match(/^params/)||f.match(/^userIdChanged/))){if(u.plugins.includes(f),e._&&e._.originalAction===f)return e;var n=x({},e,{_:{originalAction:e.type,called:e.type,from:"engineEnd"}});Ie(e,t.exact.length)&&!f.match(/End$/)&&(n=x({},n,{type:e.type+"Aborted"})),s.dispatch(n)}return e})})}catch(e){return Promise.reject(e)}},pe=/Start$/,ge=/^bootstrap/,me=/^ready/;function ye(e){var t=e.pluginName,n=e.method+"Aborted"+(t?":"+t:"");e.store.dispatch(x({},e.data,{type:n,_:{called:n,from:"abort"}}))}function he(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function ve(e,t){return t.reduce(function(t,n){return n[e]?t.concat({methodName:e,pluginName:n.name,method:n[e]}):t},[])}function we(e,t){var n=e.replace(pe,""),r=t?":"+t:"";return[""+e+r,""+n+r,n+"End"+r]}function be(e,t){var n=e.abort;return!!n&&(!0===n||ke(n,t)||n&&ke(n.plugins,t))}function Ie(e,t){var n=e.abort;if(!n)return!1;if(!0===n||f(n))return!0;var r=n.plugins;return Pe(n)&&n.length===t||Pe(r)&&r.length===t}function Pe(e){return Array.isArray(e)}function ke(e,t){return!(!e||!Pe(e))&&e.includes(t)}function Se(e){var t=e.match(/(.*):(.*)/);return!!t&&{method:t[1],name:t[2]}}function _e(e){return Object.keys(e).reduce(function(t,n){return"type"===n||(t[n]=y(e[n])?Object.assign({},e[n]):e[n]),t},{})}function Ee(e,t,n){var r={};return function(o){return function(i){return function(a){try{var s,u=function(e){return s?e:i(f)},c=a.type,d=a.plugins,f=a;if(a.abort)return Promise.resolve(i(a));if(c===Y.enablePlugin&&o.dispatch({type:Y.initializeStart,plugins:d,disabled:[],fromEnable:!0,meta:a.meta}),c===Y.disablePlugin&&setTimeout(function(){return ue(a.meta.rid,{payload:a})},0),c===Y.initializeEnd){var p=t(),m=Object.keys(p),y=m.filter(function(e){return d.includes(e)}).map(function(e){return p[e]}),h=[],v=[],w=a.disabled,b=y.map(function(e){var t=e.loaded,n=e.name,i=e.config;return ce(e,function(){return t({config:i})},1e4).then(function(t){return r[n]||(o.dispatch({type:Y.pluginReadyType(n),name:n,events:Object.keys(e).filter(function(e){return!X.includes(e)})}),r[n]=!0),h=h.concat(n),e}).catch(function(e){if(e instanceof Error)throw new Error(e);return v=v.concat(e.name),e})});Promise.all(b).then(function(e){var t={plugins:h,failed:v,disabled:w};setTimeout(function(){m.length===b.length+w.length&&o.dispatch(x({},{type:Y.ready},t))},0)})}var I=function(){if(c!==Y.bootstrap)return/^ready:([^:]*)$/.test(c)&&setTimeout(function(){return le(o,t,e)},0),Promise.resolve(function(e,t,n,r,o){try{var i=l(t)?t():t,a=e.type,s=a.replace(pe,"");if(e._&&e._.called)return Promise.resolve(e);var u=n.getState(),c=(p=i,void 0===(m=u.plugins)&&(m={}),void 0===(y=e.options)&&(y={}),Object.keys(p).filter(function(e){var t=y.plugins||{};return g(t[e])?t[e]:!1!==t.all&&(!m[e]||!1!==m[e].enabled)}).map(function(e){return p[e]}));a===Y.initializeStart&&e.fromEnable&&(c=Object.keys(u.plugins).filter(function(t){var n=u.plugins[t];return e.plugins.includes(t)&&!n.initialized}).map(function(e){return i[e]}));var d=c.map(function(e){return e.name}),f=function(e,t){var n=we(e).map(function(e){return ve(e,t)});return t.reduce(function(n,r){var o=r.name,i=we(e,o).map(function(e){return ve(e,t)}),a=i[0],s=i[1],u=i[2];return a.length&&(n.beforeNS[o]=a),s.length&&(n.duringNS[o]=s),u.length&&(n.afterNS[o]=u),n},{before:n[0],beforeNS:{},during:n[1],duringNS:{},after:n[2],afterNS:{}})}(a,c);return Promise.resolve(fe({action:e,data:{exact:f.before,namespaced:f.beforeNS},state:u,allPlugins:i,allMatches:f,instance:n,store:r,EVENTS:o})).then(function(e){function t(){var t=function(){if(a.match(pe))return Promise.resolve(fe({action:x({},c,{type:s+"End"}),data:{exact:f.after,namespaced:f.afterNS},state:u,allPlugins:i,allMatches:f,instance:n,store:r,EVENTS:o})).then(function(e){e.meta&&e.meta.hasCallback&&ue(e.meta.rid,{payload:e})})}();return t&&t.then?t.then(function(){return e}):e}if(Ie(e,d.length))return e;var c,l=function(){if(a!==s)return Promise.resolve(fe({action:x({},e,{type:s}),data:{exact:f.during,namespaced:f.duringNS},state:u,allPlugins:i,allMatches:f,instance:n,store:r,EVENTS:o})).then(function(e){c=e});c=e}();return l&&l.then?l.then(t):t()})}catch(e){return Promise.reject(e)}var p,m,y}(a,t,e,o,n)).then(function(e){var t=i(e);return s=1,t})}();return Promise.resolve(I&&I.then?I.then(u):u(I))}catch(e){return Promise.reject(e)}}}}}function Ae(e){return function(t){return function(t){return function(n){var r=n.type,o=n.key,i=n.value,a=n.options;if(r===Y.setItem||r===Y.removeItem){if(n.abort)return t(n);r===Y.setItem?e.setItem(o,i,a):e.removeItem(o,a)}return t(n)}}}}var Oe=function(){var e=this;this.before=[],this.after=[],this.addMiddleware=function(t,n){e[n]=e[n].concat(t)},this.removeMiddleware=function(t,n){var r=e[n].findIndex(function(e){return e===t});-1!==r&&(e[n]=[].concat(e[n].slice(0,r),e[n].slice(r+1)))},this.dynamicMiddlewares=function(t){return function(n){return function(r){return function(o){var i={getState:n.getState,dispatch:function(e){return n.dispatch(e)}},a=e[t].map(function(e){return e(i)});return q.apply(void 0,a)(r)(o)}}}}};function Te(e){return function(t,n){void 0===t&&(t={});var r={};if("initialize:aborted"===n.type)return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var o=je(n.type,"registerPlugin"),i=e()[o];if(!i||!o)return t;var a=n.enabled,s=i.config;return r[o]={enabled:a,initialized:!!a&&Boolean(!i.initialize),loaded:!!a&&Boolean(i.loaded({config:s})),config:s},x({},t,r)}if(/^initialize:([^:]*)$/.test(n.type)){var u=je(n.type,Y.initialize),c=e()[u];return c&&u?(r[u]=x({},t[u],{initialized:!0,loaded:Boolean(c.loaded({config:c.config}))}),x({},t,r)):t}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=x({},t[n.name],{loaded:!0}),x({},t,r);switch(n.type){case Y.disablePlugin:return x({},t,xe(n.plugins,!1,t));case Y.enablePlugin:return x({},t,xe(n.plugins,!0,t));default:return t}}}function je(e,t){return e.substring(t.length+1,e.length)}function xe(e,t,n){return e.reduce(function(e,r){return e[r]=x({},n[r],{enabled:t}),e},n)}function Le(e){try{return JSON.parse(JSON.stringify(e))}catch(e){}return e}var Me={last:{},history:[]};function Ne(e,t){void 0===e&&(e=Me);var n=t.options,r=t.meta;if(t.type===Y.track){var o=Le(x({event:t.event,properties:t.properties},Object.keys(n).length&&{options:n},{meta:r}));return x({},e,{last:o,history:e.history.concat(o)})}return e}var De={actions:[]};function Ge(e,t){void 0===e&&(e=De);var n=t.payload;switch(t.type){case"queue":var r;return r=n&&n.type&&n.type===Y.identify?[t].concat(e.actions):e.actions.concat(t),x({},e,{actions:r});case"dequeue":return[];default:return e}}var Fe=/#.*$/;function Ue(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(e);return"/"+(t&&t[3]?t[3].split("?")[0].replace(Fe,""):"")}var Ve,Ce,ze,qe,Re=function(e){if(void 0===e&&(e={}),!i)return e;var t=document,n=t.title,r=t.referrer,o=window,a=o.location,s=o.innerWidth,u=o.innerHeight,c=a.hash,d=a.search,l=function(e){var t=function(){if(i)for(var e,t=document.getElementsByTagName("link"),n=0;e=t[n];n++)if("canonical"===e.getAttribute("rel"))return e.getAttribute("href")}();return t?t.match(/\?/)?t:t+e:window.location.href.replace(Fe,"")}(d),f={title:n,url:l,path:Ue(l),hash:c,search:d,width:s,height:u};return r&&""!==r&&(f.referrer=r),x({},f,e)},$e={last:{},history:[]};function Be(e,t){void 0===e&&(e=$e);var n=t.options;if(t.type===Y.page){var r=Le(x({properties:t.properties,meta:t.meta},Object.keys(n).length&&{options:n}));return x({},e,{last:r,history:e.history.concat(r)})}return e}Ve=function(){if(!i)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}(),Ce=i?document.referrer:null,ze=function(){if(i){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}(),qe=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}}();var Je={initialized:!1,sessionId:I(),app:null,version:null,debug:!1,offline:!!i&&!navigator.onLine,os:{name:Ve},userAgent:i?navigator.userAgent:"node",library:{name:W,version:"0.13.1"},timezone:qe,locale:ze,campaign:{},referrer:Ce};function We(e,t){void 0===e&&(e=Je);var n=e.initialized,r=t.campaign;switch(t.type){case Y.campaign:return x({},e,{campaign:r});case Y.offline:return x({},e,{offline:!0});case Y.online:return x({},e,{offline:!1});default:return n?e:x({},Je,e,{initialized:!0})}}var Qe=["plugins","reducers","storage"];function Ke(e,t,n){if(i){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(e){r(e,t)})}}function He(e){var t=Ke.bind(null,"online offline",function(t){return Promise.resolve(!navigator.onLine).then(e)});return t(!0),function(e){return t(!1)}}function Xe(){return E(W,[]),function(e){return function(t,n,r){var o=e(t,n,r),i=o.dispatch;return Object.assign(o,{dispatch:function(e){return S[k][W].push(e.action||e),i(e)}})}}}function Ye(e){return function(){return q(q.apply(null,arguments),Xe())}}function Ze(e){return e?"array"===c(e)?e:[e]:[]}function et(e,t,n){void 0===e&&(e={});var r,o,i=I();return t&&(se[i]=(r=t,o=function(e){for(var t,n=e||Array.prototype.slice.call(arguments),r=0;r<n.length;r++)if(l(n[r])){t=n[r];break}return t}(n),function(e){o&&o(e),r(e)})),x({},e,{rid:i,ts:(new Date).getTime()},t?{hasCallback:!0}:{})}function tt(t){void 0===t&&(t={});var n,r=t.reducers||{},o=t.initialUser||{},a=(t.plugins||[]).reduce(function(e,t){if(l(t))return e.middlewares=e.middlewares.concat(t),e;if(t.NAMESPACE&&(t.name=t.NAMESPACE),!t.name)throw new Error("https://lytics.dev/errors/1");t.config||(t.config={});var n=t.EVENTS?Object.keys(t.EVENTS).map(function(e){return t.EVENTS[e]}):[];e.pluginEnabled[t.name]=!(!1===t.enabled||!1===t.config.enabled),delete t.enabled,t.methods&&(e.methods[t.name]=Object.keys(t.methods).reduce(function(e,n){var r;return e[n]=(r=t.methods[n],function(){for(var e=Array.prototype.slice.call(arguments),t=new Array(r.length),n=0;n<e.length;n++)t[n]=e[n];return t[t.length]=V,r.apply({instance:V},t)}),e},{}),delete t.methods);var r=Object.keys(t).concat(n),o=new Set(e.events.concat(r));if(e.events=Array.from(o),e.pluginsArray=e.pluginsArray.concat(t),e.plugins[t.name])throw new Error(t.name+"AlreadyLoaded");return e.plugins[t.name]=t,e.plugins[t.name].loaded||(e.plugins[t.name].loaded=function(){return!0}),e},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),s=t.storage?t.storage:{getItem:_,setItem:E,removeItem:A},u=(n=s,function(e,t,r){return t.getState("user")[e]||(r&&y(r)&&r[e]?r[e]:oe(n)[e]||_(ie(e))||null)}),c=a.plugins,d=a.events.filter(function(e){return!X.includes(e)}).sort(),p=new Set(d.concat(H).filter(function(e){return!X.includes(e)})),g=Array.from(p).sort(),m=function(){return c},h=new Oe,v=h.addMiddleware,P=h.removeMiddleware,k=h.dynamicMiddlewares,S=function(){throw new Error("Abort disabled inListener")},O=function(e){return function(e){for(var t,n=Object.create(null),r=/([^&=]+)=?([^&]*)/g;t=r.exec(e);){var o=w(t[1]),i=w(t[2]);if(o)if("[]"===o.substring(o.length-2)){var a=n[o=o.substring(0,o.length-2)]||(n[o]=[]);n[o]=Array.isArray(a)?a:[],n[o].push(i)}else n[o]=""===i||i}for(var s in n){var u=s.split("[");u.length>1&&(b(n,u.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),n[s]),delete n[s])}return n}(function(e){if(e){var t=e.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return i&&window.location.search.substring(1)}(e))}(),T=oe(s),j=x({},T,o,O.an_uid?{userId:O.an_uid}:{},O.an_aid?{anonymousId:O.an_aid}:{});j.anonymousId||(j.anonymousId=I());var D=x({enable:function(e,t){return new Promise(function(n){de.dispatch({type:Y.enablePlugin,plugins:Ze(e),_:{originalAction:Y.enablePlugin}},n,[t])})},disable:function(e,t){return new Promise(function(n){de.dispatch({type:Y.disablePlugin,plugins:Ze(e),_:{originalAction:Y.disablePlugin}},n,[t])})}},a.methods),U=!1,V={identify:function(e,t,n,r){try{var o=f(e)?e:null,i=y(e)?e:t,a=n||{},s=V.user();E(ie(Q),o);var c=o||i.userId||u(Q,V,i);return Promise.resolve(new Promise(function(e){de.dispatch(x({type:Y.identifyStart,userId:c,traits:i||{},options:a,anonymousId:s.anonymousId},s.id&&s.id!==o&&{previousId:s.id}),e,[t,n,r])}))}catch(e){return Promise.reject(e)}},track:function(e,t,n,r){try{var o=y(e)?e.event:e;if(!o||!f(o))throw new Error("EventMissing");var i=y(e)?e:t||{},a=y(n)?n:{};return Promise.resolve(new Promise(function(e){de.dispatch({type:Y.trackStart,event:o,properties:i,options:a,userId:u(Q,V,t),anonymousId:u(K,V,t)},e,[t,n,r])}))}catch(e){return Promise.reject(e)}},page:function(e,t,n){try{var r=y(e)?e:{},o=y(t)?t:{};return Promise.resolve(new Promise(function(i){de.dispatch({type:Y.pageStart,properties:Re(r),options:o,userId:u(Q,V,r),anonymousId:u(K,V,r)},i,[e,t,n])}))}catch(e){return Promise.reject(e)}},user:function(t){if(t===Q||"id"===t)return u(Q,V);if(t===K||"anonId"===t)return u(K,V);var n=V.getState("user");return t?e(n,t):n},reset:function(e){return new Promise(function(t){de.dispatch({type:Y.resetStart},t,e)})},ready:function(e){return U&&e({plugins:D,instance:V}),V.on(Y.ready,function(t){e&&e(t),U=!0})},on:function(e,t){if(!e||!l(t))return!1;if(e===Y.bootstrap)throw new Error(".on disabled for "+e);var n=/Start$|Start:/;if("*"===e){var r=function(e){return function(e){return function(r){return r.type.match(n)&&t({payload:r,instance:V,plugins:c}),e(r)}}},o=function(e){return function(e){return function(r){return r.type.match(n)||t({payload:r,instance:V,plugins:c}),e(r)}}};return v(r,nt),v(o,rt),function(){P(r,nt),P(o,rt)}}var i=e.match(n)?nt:rt,a=function(n){return function(n){return function(r){return r.type===e&&t({payload:r,instance:V,plugins:c,abort:S}),n(r)}}};return v(a,i),function(){return P(a,i)}},once:function(e,t){if(!e||!l(t))return!1;if(e===Y.bootstrap)throw new Error(".once disabled for "+e);var n=V.on(e,function(e){t({payload:e.payload,instance:V,plugins:c,abort:S}),n()});return n},getState:function(t){var n=de.getState();return t?e(n,t):Object.assign({},n)},dispatch:function(e){var t=f(e)?{type:e}:e;if(H.includes(t.type))throw new Error("reserved action "+t.type);var n=x({},t,{_:x({originalAction:t.type},e._||{})});de.dispatch(n)},enablePlugin:D.enable,disablePlugin:D.disable,plugins:D,storage:{getItem:s.getItem,setItem:function(e,t,n){de.dispatch({type:Y.setItemStart,key:e,value:t,options:n})},removeItem:function(e,t){de.dispatch({type:Y.removeItemStart,key:e,options:t})}},setAnonymousId:function(e,t){V.storage.setItem($,e,t)},events:{core:H,plugins:d}},B=a.middlewares.concat([function(e){return function(e){return function(t){return t.meta||(t.meta=et()),e(t)}}},k(nt),Ee(V,m,{all:g,plugins:d}),Ae(s),ne(V),ae(V),k(rt)]),J={context:We,user:re(s),page:Be,track:Ne,plugins:Te(m),queue:Ge},W=q,Z=q;if(i&&t.debug){var ee=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;ee&&(W=ee({trace:!0,traceLimit:25})),Z=function(){return 0===arguments.length?Xe():y(typeof arguments[0])?Ye():Ye().apply(null,arguments)}}var te,se=function(e){return Object.keys(e).reduce(function(t,n){return Qe.includes(n)||(t[n]=e[n]),t},{})}(t),ue=a.pluginsArray.reduce(function(e,t){var n=t.name,r=t.config,o=t.loaded,i=a.pluginEnabled[n];return e[n]={enabled:i,initialized:!!i&&Boolean(!t.initialize),loaded:Boolean(o({config:r}
1)),config:r},e},{}),ce={context:se,user:j,plugins:ue},de=C(function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];typeof e[o]===L&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(typeof n(void 0,{type:G})===M||typeof n(void 0,{type:F})===M)throw new Error(N+" "+t+" "+M)})}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var u=a[s],c=e[u],d=(0,n[u])(c,t);if(typeof d===M){var l=z(u,t);throw new Error(l)}o[u]=d,r=r||d!==c}return r?o:e}}(x({},J,r)),ce,Z(W(R.apply(void 0,B))));de.dispatch=(te=de.dispatch,function(e,t,n){var r=x({},e,{meta:et(e.meta,t,Ze(n))});return te.apply(null,[r])});var fe=Object.keys(c);de.dispatch({type:Y.bootstrap,plugins:fe,config:se,params:O,user:j,initialUser:o,persistedUser:T});var pe=fe.filter(function(e){return a.pluginEnabled[e]}),ge=fe.filter(function(e){return!a.pluginEnabled[e]});return de.dispatch({type:Y.registerPlugins,plugins:fe,enabled:a.pluginEnabled}),a.pluginsArray.map(function(e,t){var n=e.bootstrap,r=e.config,o=e.name;n&&l(n)&&n({instance:V,config:r,payload:e}),de.dispatch({type:Y.registerPluginType(o),name:o,enabled:a.pluginEnabled[o],plugin:e}),a.pluginsArray.length===t+1&&de.dispatch({type:Y.initializeStart,plugins:pe,disabled:ge})}),He(function(e){de.dispatch({type:e?Y.offline:Y.online})}),function(e,t,n){setInterval(function(){return le(e,t,n)},3e3)}(de,m,V),V}var nt="before",rt="after",ot="cookie",it=ct(),at=dt,st=dt;function ut(e){return it?dt(e,"",-1):A(e)}function ct(){if(void 0!==it)return it;var e=ot+ot;try{dt(e,e),it=-1!==document.cookie.indexOf(e),ut(e)}catch(e){it=!1}return it}function dt(e,t,n,r,o,i){if("undefined"!=typeof window){var a=arguments.length>1;return!1===it&&(a?E(e,t):_(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(o?"; domain="+o:"")+(i?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var lt="localStorage",ft=j.bind(null,lt),pt=(O(lt,"getItem",_),O(lt,"setItem",E),O(lt,"removeItem",A),"sessionStorage"),gt=j.bind(null,pt);function mt(e){var t=e;try{if("true"===(t=JSON.parse(e)))return!0;if("false"===t)return!1;if(y(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch(e){}if(null!==t&&""!==t)return t}O(pt,"getItem",_),O(pt,"setItem",E),O(pt,"removeItem",A);var yt=ft(),ht=gt(),vt=ct();function wt(e,t){if(e){var n=bt(t),r=!St(n),o=It(n)?mt(localStorage.getItem(e)):void 0;
1if(r&&!p(o))return o;var i=Pt(n)?mt(at(e)):void 0;if(r&&i)return i;var a=kt(n)?mt(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=_(e);return r?s:{localStorage:o,sessionStorage:a,cookie:i,global:s}}}function bt(e){return e?f(e)?e:e.storage:"any"}function It(e){return yt&&_t(e,lt)}function Pt(e){return vt&&_t(e,ot)}function kt(e){return ht&&_t(e,pt)}function St(e){return"*"===e||"all"===e}function _t(e,t){return"any"===e||e===t||St(e)}function Et(e,t,n){return{location:e,current:t,previous:n}}var At={setItem:function(e,t,n){if(e&&!p(t)){var r={},o=bt(n),i=JSON.stringify(t),a=!St(o);return It(o)&&(r[lt]=Et(lt,t,mt(localStorage.getItem(e))),localStorage.setItem(e,i),a)?r[lt]:Pt(o)&&(r[ot]=Et(ot,t,mt(at(e))),st(e,i),a)?r[ot]:kt(o)&&(r[pt]=Et(pt,t,mt(sessionStorage.getItem(e))),sessionStorage.setItem(e,i),a)?r[pt]:(r[P]=Et(P,t,_(e)),E(e,t),a?r[P]:r)}},getItem:wt,removeItem:function(e,t){if(e){var n=bt(t),r=wt(e,"*"),o={};return!p(r.localStorage)&&It(n)&&(localStorage.removeItem(e),o[lt]=r.localStorage),!p(r.cookie)&&Pt(n)&&(ut(e),o[ot]=r.cookie),!p(r.sessionStorage)&&kt(n)&&(sessionStorage.removeItem(e),o[pt]=r.sessionStorage),!p(r.global)&&_t(n,P)&&(A(e),o[P]=r.global),o}}};function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach(function(t){Ot(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const xt={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Lt;const Mt=new Uint8Array(16),Nt=[];for(let e=0;e<256;++e)Nt.push((e+256).toString(16).slice(1));const Dt=function(e,t,n){if(xt.randomUUID&&!t&&!e)return xt.randomUUID();const r=(e=e||{}).random??e.rng?.()??function(){if(!Lt){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Lt=crypto.getRandomValues.bind(crypto)}return Lt(Mt)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return(Nt[e[t+0]]+Nt[e[t+1]]+Nt[e[t+2]]+Nt[e[t+3]]+"-"+Nt[e[t+4]]+Nt[e[t+5]]+"-"+Nt[e[t+6]]+Nt[e[t+7]]+"-"+Nt[e[t+8]]+Nt[e[t+9]]+"-"+Nt[e[t+10]]+Nt[e[t+11]]+Nt[e[t+12]]+Nt[e[t+13]]+Nt[e[t+14]]+Nt[e[t+15]]).toLowerCase()}(r)};let Gt=null;function Ft(){return Gt||(Gt=Dt()),Gt}function Ut(){const{isAdminPage:e}=window.videoAnalyticsParams||{};return!!e||"video-preview"===new URLSearchParams(window.location.search).get("godam_page")}function Vt(e){const t=e;let n="Unknown",r="Unknown",o="",i="";/(linux)/i.test(t)?r="Linux":/(macintosh|mac os x)/i.test(t)?r="Macintosh":/(windows|win32)/i.test(t)&&(r="Windows"),/(MSIE)/i.test(t)&&!/(Opera)/i.test(t)?(n="Internet Explorer",i="MSIE"):/(Firefox)/i.test(t)?(n="Mozilla Firefox",i="Firefox"):/(Chrome)/i.test(t)?(n="Google Chrome",i="Chrome"):/(Safari)/i.test(t)?(n="Apple Safari",i="Safari"):/(Opera)/i.test(t)?(n="Opera",i="Opera"):/(Netscape)/i.test(t)&&(n="Netscape",i="Netscape");const a=new RegExp("(?<browser>"+["Version",i,"other"].join("|")+")[/ ]+(?<version>[0-9.|a-zA-Z.]*)","g"),s=t.matchAll(a),u=Array.from(s);return o=1!==u.length?t.lastIndexOf("Version")<t.lastIndexOf(i)?u[0].groups.version:u[1].groups.version:u[0].groups.version,null!==o&&""!==o||(o="?"),{userAgent:t,name:n,version:o,platform:r,pattern:a}}function Ct(e){const t=new Map;
1return(Array.isArray(e)?e:[]).forEach(e=>{const n=parseInt(e?.hostPostId,10),r=n>0?n:0;t.has(r)||t.set(r,[]),t.get(r).push([e?.videoId,e?.jobId||"",e?.blockSource||""])}),t}function zt({type:e,userToken:t="",visitorTimestamp:n,videoId:r=0,jobId:o="",videoIds:i=[],ranges:a=[],videoLength:s=0,layers:u=[],reelPopId:c=0,blockSource:d="",hostPostId:l=0}){const{endpoint:f,token:p,userId:g,emailId:m,locationIP:y,isPost:h,isPage:v,isArchive:w,postType:b,postId:I,postTitle:P,categories:k,tags:S,author:_}=window.videoAnalyticsParams||{},E=window.campaign_data||{};if(!f||"unverified"===p)return{endpoint:null,body:null};const A=Vt(window.navigator.userAgent),O={site_url:window.location.origin,user_token:t,wp_user_id:parseInt(g,10)||0,account_token:p||"",email:m||"",visitor_timestamp:n||Date.now(),visit_entry_action_url:window.location.href,visit_entry_action_name:document.title,referer_type:"",referer_name:document.referrer||"",referer_url:document.referrer||"",referer_keyword:"",campaign_keyword:E.keyword||"",campaign_medium:E.medium||"",campaign_name:E.name||"",campaign_source:E.source||"",campaign_content:E.content||"",campaign_token:E.id||"",config_token:A.userAgent,config_os:A.platform,config_browser_name:A.name,config_browser_version:A.version,config_resolution:window.innerWidth+"x"+window.innerHeight,location_browser_lang:navigator.language,location_ip:y||"",config_cookie:navigator.cookieEnabled,param_vars:"",is_post:"1"===h,is_page:"1"===v,is_archive:"1"===w,post_type:b,post_id:parseInt(I,10)||0,post_title:P,categories:k,tags:S,author:_,type:e,video_id:r?parseInt(r,10):0,video_ids:1===e?i:[],ranges:a,video_length:s||0,page_load_session_id:Ft(),block_source:d||""},T=parseInt(l,10);T>0&&(O.post_id=T),o&&(O.job_id=o),3===e&&Array.isArray(u)&&u.length>0&&(O.layers=u);const j=parseInt(c,10);return j>0&&(O.reel_pop_id=j),{endpoint:f,body:O}}const qt={};window.GoDAM=window.GoDAM||{},window.GoDAM.getPageLoadSessionId=Ft,window.GoDAM.getBrowserName=function(){return Vt(window.navigator.userAgent).name},window.GoDAM.getOSName=function(){return Vt(window.navigator.userAgent).platform},window.GoDAM.getDeviceType=function(){try{const e=window.navigator.userAgent||"";return/iPad|Android(?!.*Mobile)|Tablet|Kindle/i.test(e)?"tablet":/Mobile|iPhone|iPod|Android.*Mobile|Mobi|webOS|BlackBerry/i.test(e)?"mobile":"desktop"}catch(e){return"desktop"}},window.GoDAM.wasFirstViewForVideo=function(e){if(!e)return!1;if(void 0!==qt[e])return qt[e];try{const t=`godamVideoSeen:${e}`;localStorage.getItem(t)?qt[e]=!1:(qt[e]=!0,localStorage.setItem(t,"1"))}catch(t){qt[e]=!1}return qt[e]},window.GoDAM.shouldSkipAnalytics=Ut;class Rt{constructor(e,t){this.player=e,this.videoElement=t,this.videoId=t.getAttribute("data-id"),this.trackingInterval=null,this.trackedProgress=new Set,this.isTracking=!1,this.lastPlayedDuration=0,this.init()}init(){this.player.ready(()=>{this.setupEventListeners()})}setupEventListeners(){this.player.on("play",()=>{this.trackedProgress.has(0)||(this.sendGTMEvent("video_start",0),this.trackedProgress.add(0)),this.startTracking()}),this.player.on("pause",()=>{this.stopTracking()}),this.player.on("ended",()=>{this.calculatePlayedPercentage()>=99&&!this.trackedProgress.has(100)&&(this.sendGTMEvent("video_complete",100),this.trackedProgress.add(100)),this.stopTracking()}),this.player.on("seeking",()=>{this.stopTracking()}),this.player.on("seeked",()=>{this.player.paused()||this.startTracking()}),this.player.on("dispose",()=>{this.stopTracking()})}startTracking(){this.isTracking||(this.isTracking=!0,this.trackingInterval=setInterval(()=>{this.checkProgress()},2500))}stopTracking(){this.trackingInterval&&(clearInterval(this.trackingInterval),this.trackingInterval=null),this.isTracking=!1}checkProgress(){const e=this.calculatePlayedPercentage();e>=25&&!this.trackedProgress.has(25)&&(this.trackedProgress.add(25),this.sendGTMEvent("video_progress",25)),e>=50&&!this.trackedProgress.has(50)&&(this.trackedProgress.add(50),this.sendGTMEvent("video_progress",50)),e>=75&&!this.trackedProgress.has(75)&&(this.trackedProgress.add(75),this.sendGTMEvent("video_progress",75)),e>=99&&!this.trackedProgress.has(100)&&(this.trackedProgress.add(100),this.sendGTMEvent("video_complete",100))}calculatePlayedPercentage(){try{const e=this.player.played(),t=this.player.duration();if(!e||!t||0===t)return 0;let n=0;for(let t=0;t<e.length;t++){const r=e.start(t);n+=e.end(t)-r}const r=n/t*100;return Math.min(Math.round(r),100)}catch(e){return 0}}sendGTMEvent(e,t){try{void 0===window.dataLayer&&(window.dataLayer=[]);const n={event:e,video_id:this.videoId?parseInt(this.videoId,10):null,video_url:this.player.currentSrc()||"",video_title:this.videoElement.getAttribute("data-video-title")||"",video_duration:this.player.duration()||0,video_progress_percentage:t,video_current_time:this.player.currentTime()||0,page_url:window.location.href,page_title:document.title,timestamp:(new Date).toISOString()};window.dataLayer.push(n)}catch{}}reset(){this.trackedProgress.clear(),this.lastPlayedDuration=0,this.stopTracking()}isCurrentlyTracking(){return this.isTracking}getTrackedProgress(){return new Set(this.trackedProgress)}}const $t=Rt;"undefined"!=typeof window&&(window.GTMVideoTracker=Rt);const Bt="godamLayerInteractions";function Jt(){const e=function(e,t){try{const n=sessionStorage.getItem(e);if(!n)return t;const r=JSON.parse(n);return null!=r?r:t}catch(e){return t}}(Bt,{});return"object"==typeof e&&null!==e?e:{}}function Wt(e,t){if(!e||"string"!=typeof e)return;if(!Array.isArray(t)||0===t.length)return;const n=t.filter(e=>e&&"object"==typeof e&&e.layer_id&&e.layer_type&&e.action_type);if(0===n.length)return;const r=Jt();Array.isArray(r[e])||(r[e]=[]);const o=1e3-r[e].length;o<=0||(r[e].push(...n.slice(0,o)),function(e,t){try{sessionStorage.setItem(e,JSON.stringify(t))}catch(e){}}(Bt,r))}function Qt(e,t){Wt(e,[t])}function Kt(){try{sessionStorage.removeItem(Bt)}catch(e){}}const Ht={cta:{all:["viewed","clicked","skipped"],conversion:"clicked",displayMetrics:["clicked","skipped"]},form:{all:["viewed","submitted","skipped"],conversion:"submitted",displayMetrics:["submitted","skipped"]},hotspot:{all:["viewed","clicked","hovered"],conversion:"clicked",displayMetrics:["clicked","hovered"]},woo:{all:["viewed","clicked","hovered","added_to_cart"],conversion:"clicked",displayMetrics:["clicked","added_to_cart","hovered"]},poll:{all:["viewed","voted","skipped"],conversion:"voted",displayMetrics:["voted","skipped"]}},Xt=Object.freeze(Object.keys(Ht));Object.freeze(["clicked","submitted","voted"]);const Yt={cta:"CTA",form:"Form",hotspot:"Hotspot",poll:"Poll",woo:"Woo"},Zt={gravity:"Gravity Forms",wpforms:"WPForms",cf7:"Contact Form 7",jetpack:"Jetpack Forms",sureforms:"SureForms",forminator:"Forminator Forms",fluentforms:"Fluent Forms",everestforms:"Everest Forms",ninjaforms:"Ninja Forms",metform:"MetForm"},en=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function tn(e,t){const n=e?.name?String(e.name).trim():"";if(n&&!en.test(n))return n;let r;r="form"===t&&e?.form_type&&Zt[e.form_type]?Zt[e.form_type]:Yt[t]||(t?String(t):"Layer");const o=parseFloat(e?.displayTime);return`${r} layer at ${Number.isFinite(o)?o.toFixed(2):"0.00"}s`}const nn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return tt(jt(jt({},{storage:At}),e))}({app:"analytics-cdp-plugin",plugins:[{name:"video-analytics-plugin",track:async({payload:e})=>
1{if(Ut())return;const{properties:t,meta:n,anonymousId:r}=e;try{const{ranges:e=[],videoId:o,type:i,videoLength:a,videoIds:s,jobId:u,layers:c=[],reelPopId:d,blockSource:l="",hostPostId:f=0}=t;if(!i||1===i&&(!s||0===s.length))return;if(3===i&&(!Array.isArray(c)||0===c.length))return;const{endpoint:p,body:g}=zt({type:i,userToken:r,visitorTimestamp:n?.ts||Date.now(),videoId:o,jobId:u,videoIds:s,ranges:e,videoLength:a,layers:c,reelPopId:d,blockSource:l,hostPostId:f});if(!p)return;const m=await fetch(p+"/analytics/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g),keepalive:!0});if(!m.ok)throw new Error(`Video analytics POST failed with status ${m.status}`)}catch(e){}}}]});function rn(e){const t=e&&e.played&&e.played(),n=[];if(t&&"number"==typeof t.length)for(let e=0;e<t.length;e++)n.push([t.start(e),t.end(e)]);return n}function on(e){return e?e.getAttribute?.("data-instance-id")?e:e.querySelector?.("[data-instance-id]")||null:null}function an(e){const t=on(e),n=t?.getAttribute("data-instance-id")||"",r=parseInt(t?.getAttribute("data-id"),10)||0;if(!t||!n||!r)return null;const o=parseInt(t.dataset.hostPostId,10);return{videoEl:t,instanceId:n,videoId:r,jobId:t.getAttribute("data-job_id")||"",blockSource:t.dataset.blockSource||"",hostPostId:o>0?o:null}}function sn(e){const t=parseInt(e?.dataset?.hostPostId,10);return t>0?t:null}function un(e=!1){if(window.godamPageLoadFlushTimer&&(clearTimeout(window.godamPageLoadFlushTimer),window.godamPageLoadFlushTimer=null),window.godamPageLoadQueue.length){if(e){if(Ut())return void(window.godamPageLoadQueue.length=0);const e=window.godamPageLoadQueue.splice(0),t=window.analytics?.user?.()?.anonymousId||"";return void Ct(e).forEach((e,n)=>{const{endpoint:r,body:o}=zt({type:1,userToken:t,videoIds:e,hostPostId:n||null});r&&fetch(r+"/analytics/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o),keepalive:!0})})}window.analytics?Ct(window.godamPageLoadQueue.splice(0)).forEach((e,t)=>{window.analytics.track("page_load",{type:1,videoIds:e,hostPostId:t||null})}):window.godamPageLoadFlushTimer=setTimeout(un,1e3)}}function cn(e,t=0){const n=an(e);if(!n)return!0;if(window.godamTrackedPageLoadInstances.has(n.instanceId))return!0;if(!window.analytics)return!1;const r=parseInt(t,10)||0;return r>0?window.analytics.track("page_load",{type:1,videoIds:[[n.videoId,n.jobId,n.blockSource||""]],reelPopId:r,hostPostId:n.hostPostId}):function(e){window.godamPageLoadQueue.push({videoId:e.videoId,jobId:e.jobId,blockSource:e.blockSource||"",hostPostId:e.hostPostId||null}),window.godamPageLoadQueue.length>=10?un():window.godamPageLoadFlushTimer||(window.godamPageLoadFlushTimer=setTimeout(un,1e3))}(n),window.godamTrackedPageLoadInstances.add(n.instanceId),!0}function dn(e){if("1"===e?.getAttribute?.("data-godam-no-auto-analytics"))return;const t=an(e);t&&(window.godamTrackedPageLoadInstances.has(t.instanceId)||window.godamObservedPageLoadVideos.has(t.videoEl)||("IntersectionObserver"in window?(window.godamPageLoadObserver||(window.godamPageLoadObserver=new IntersectionObserver((e,t)=>{e.forEach(e=>{!e.isIntersecting||e.intersectionRatio<.1||cn(e.target)&&(t.unobserve(e.target),window.godamObservedPageLoadVideos.delete(e.target))})},{root:null,rootMargin:"0px",threshold:.1})),window.godamObservedPageLoadVideos.add(t.videoEl),window.godamPageLoadObserver.observe(t.videoEl)):cn(t.videoEl)))}if(window.analytics=nn,window.godamTrackedPageLoadInstances=window.godamTrackedPageLoadInstances||new Set,window.godamObservedPageLoadVideos=window.godamObservedPageLoadVideos||new WeakSet,window.godamPageLoadObserver=window.godamPageLoadObserver||null,window.godamPageLoadQueue=window.godamPageLoadQueue||[],window.godamPageLoadFlushTimer=window.godamPageLoadFlushTimer||null,function(){function e(e,t){return(t&&t.querySelector?t:document).querySelector(`.easydam-player.video-js[data-id="${e}"], .video-js[data-id="${e}"]`)}window.GoDAM=window.GoDAM||{},window.GoDAM.findVideoElementById=e,window.GoDAM.addLayerInteraction=Qt,window.GoDAM.addLayerInteractions=Wt,window.GoDAM.getLayerInteractions=Jt,window.GoDAM.clearLayerInteractions=Kt,window.GoDAM.LAYER_ACTIONS=Ht,window.GoDAM.LAYER_TYPE_WHITELIST=Xt,window.GoDAM.getLayerDisplayName=tn;let t=0,n=null;window.GoDAM.getTabHiddenAccumulatedMs=function(){return null!==n?t+Math.max(0,Date.now()-n):t},document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState?null===n&&(n=Date.now()):null!==n&&(t+=Math.max(0,Date.now()-n),n=null)}),window.GoDAM.flushLayerInteractions=function(){if(Ut())return void Kt();const t=Jt(),n=Object.keys(t);if(0!==n.length){for(const r of n){const n=Array.isArray(t[r])?t[r]:[];if(0===n.length)continue;const o=parseInt(r,10),i=Number.isFinite(o)&&String(o)===r,a=i?e(o):document.querySelector(`.video-js[data-job_id="${r}"]`),s=[];let u=[],c=0;for(const e of n){const t=JSON.stringify(e).length+1;u.length>0&&(u.length>=100||c+t>32768)&&(s.push(u),u=[],c=0),u.push(e),c+=t}u.length&&s.push(u);for(const e of s){const{endpoint:t,body:n}=zt({type:3,userToken:window.analytics?.user?.()?.anonymousId||"",videoId:i?o:0,jobId:i?""
1:r,layers:e,blockSource:a?.dataset?.blockSource||"",hostPostId:sn(a)});t&&fetch(t+"/analytics/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0}).catch(()=>{})}}Kt()}},window.analytics.trackVideoEvent=({type:t,videoId:n,root:r,sendPageLoad:o=!0,reelPopId:i=0}={})=>{if(!t)return!1;if(2===t){const t=r&&r.querySelector?r:document;let a=n,s="";const u=e(a,r)||t.querySelector(".easydam-player.video-js, .video-js");!a&&u&&(a=parseInt(u.getAttribute("data-id"),10)||0),u&&(s=u.getAttribute("data-job_id")||"");let c=parseInt(i,10)||0;if(!c&&u&&(c=parseInt(u.getAttribute("data-reel-pop-id"),10)||0),a=parseInt(a,10)||0,!a)return!1;o&&cn(u,c);const d=function(e){if(!e)return null;if(e.player&&"function"==typeof e.player.played)return e.player;try{return videojs.getPlayer(e)}catch(e){return null}}(u);if(!d)return!1;const l=rn(d);if(0===l.length)return!1;const f=Number(d.duration&&d.duration())||0,p=parseInt(u?.dataset?.hostPostId,10)||0;return window.analytics.track("video_heatmap",{type:2,videoId:a,jobId:s,ranges:l,videoLength:f,reelPopId:c,blockSource:u?.dataset?.blockSource||"",hostPostId:p}),!0}return!1}}(),window.pageLoadEventTracked||(window.pageLoadEventTracked=!0,document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".easydam-player.video-js").forEach(e=>dn(e)),document.addEventListener("godamPlayerReady",e=>{dn(e.detail.videoElement),pn(e.detail.player,e.detail.videoElement)}),document.querySelectorAll(".easydam-player.video-js").forEach(e=>{if("true"===e.dataset.videojsInitializing)return;let t=null;try{t=videojs.getPlayer(e)}catch(e){return}t&&pn(t,e)})})),window.godamTrackedPlayers=window.godamTrackedPlayers||new Map,!window.godamUnloadListenerBound){window.godamUnloadListenerBound=!0;const e=()=>{un(!0);try{window.GoDAM?.flushLayerInteractions?.()}catch(e){}window.godamTrackedPlayers.forEach((e,t)=>{e.flushedByGallery||fn(t,e.videoEl,e.lastSentKey)}),window.godamTrackedPlayers.clear()},t=()=>{if("hidden"===document.visibilityState){un(!0);try{window.GoDAM?.flushLayerInteractions?.()}catch(e){}window.godamTrackedPlayers.forEach((e,t)=>{if(e.flushedByGallery)return;const n=fn(t,e.videoEl);n&&(e.lastSentKey=n)})}};window.addEventListener("beforeunload",e),window.addEventListener("pagehide",e),document.addEventListener("visibilitychange",t)}function ln(e,t,n=null){if(!e||!t)return null;try{if("function"==typeof e.isDisposed&&e.isDisposed())return null;const r=rn(e);if(0===r.length)return null;const o=JSON.stringify(r);if(n&&o===n)return null;const i=t.getAttribute("data-id"),a=t.getAttribute("data-job_id")||"";if(!i)return null;if(Ut())return null;const s=Number(e.duration&&e.duration())||0,u=parseInt(t.getAttribute("data-reel-pop-id"),10)||0,c=t.getAttribute("data-block-source")||"",d=parseInt(t.getAttribute("data-host-post-id"),10)||0,{endpoint:l,body:f}=zt({type:2,userToken:window.analytics?.user?.()?.anonymousId||"",videoId:parseInt(i,10),jobId:a,ranges:r,videoLength:s,reelPopId:u,blockSource:c,hostPostId:d});return l?{endpoint:l,body:f,fingerprint:o}:null}catch(e){return null}}function fn(e,t,n=null){const r=ln(e,t,n);return r?(fetch(r.endpoint+"/analytics/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r.body),keepalive:!0}),r.fingerprint):null}function pn(e,t){dn(t),e._godamAnalyticsSetup||t&&t.getAttribute&&"1"===t.getAttribute("data-godam-no-auto-analytics")||(e._godamAnalyticsSetup=!0,t.dataset.analyticsSetup="true",window.godamTrackedPlayers.set(e,{videoEl:t,lastSentKey:null}),void 0!==window.dataLayer&&window.godamSettings?.enableGTMTracking&&(t.gtmTracker=new $t(e,t)),e.on("dispose",()=>{const n=on(t);if(n&&window.godamPageLoadObserver&&(window.godamPageLoadObserver.unobserve(n),window.godamObservedPageLoadVideos.delete(n)),window.godamTrackedPlayers.has(e)){const t=window.godamTrackedPlayers.get(e);t.flushedByGallery||fn(e,t.videoEl,t.lastSentKey),window.godamTrackedPlayers.delete(e)}}))}(()=>{try{return"1"===new URLSearchParams(window.location.search).get("godam_gallery")}catch(e){return!1}})()&&(window.godamGalleryFlushPayloads=function(){const e=[];return window.godamTrackedPlayers?(window.godamTrackedPlayers.forEac
1h((t,n)=>{const r=ln(n,t.videoEl,t.lastSentKey);r&&(e.push({endpoint:r.endpoint,body:r.body}),t.lastSentKey=r.fingerprint),t.flushedByGallery=!0}),e):e})})()})();

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.