"use strict";(self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[885],{10715:(e,n,t)=>{t.r(n),t.d(n,{GeniallyLogrocketAppId:()=>v,GeniallyLogrocketViewAppId:()=>h,hasOnetrustPermissionToLoadLogRocket:()=>y,loadLogRocketIntegration:()=>m});var r=t(25479),o=t.n(r),i=t(94328),a=t.n(i),c=t(21303),l=t(80946),u=0,s=function(e,n){return new Promise((function(t){setTimeout((function(){return window[e]?t(!0):u>=n?t(!1):(u+=1,t(s(e,n)))}),100)}))},f=t(16227),p=function(e,n,t,r){return new(t||(t=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(n){i(n)}}function c(e){try{l(r.throw(e))}catch(n){i(n)}}function l(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,c)}l((r=r.apply(e,n||[])).next())}))},d=function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(c){i=[6,c],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},v="genially-z2e5p/genially",h="genially-z2e5p/view-em2xk";function w(e){var n,t=e.releaseVersion,r=e.appId,i=e.parentDomain,c={release:t,mergeIframes:!0,childDomains:e.childDomains,parentDomain:i};n=c,Object.keys(n).forEach((function(e){return e in n&&void 0===n[e]?delete n[e]:{}})),o().init(r,c),a()(o())}var y=function(){var e;return!0===(null===(e=window.OnetrustActiveGroups)||void 0===e?void 0:e.includes(f.G.Performance))},m=function(e,n){return void 0===n&&(n=!1),p(void 0,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return l.Z.appEnv===c.rz.Local||l.Z.appEnv===c.rz.Dynamic?[3,3]:n?(w(e),[2,!0]):[4,(r="Optanon",new Promise((function(e){u=0,e(s(r,20))})))];case 1:return t.sent()&&window.Optanon?y()?(w(e),[2,!0]):[4,new Promise((function(e){var n;null===(n=window.Optanon)||void 0===n||n.OnConsentChanged((function(n){e(n.detail)}))}))]:[3,3];case 2:if(t.sent().includes(f.G.Performance))return w(e),[2,!0];t.label=3;case 3:return[2,!1]}var r}))}))}},94328:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){document.body.addEventListener("click",(function(e){try{for(var n=o(e.target),t=[],r=n;r;){var i="function"===typeof r.elementType&&r.elementType.displayName;i&&t.push(i),r=r.return}e.__lrName=t}catch(a){console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}}),{capture:!0,passive:!0})};var r=t(19897),o=void 0,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;i&&i.Events&&i.Events[0]?o=i.Events[0]:console.warn("logrocket-react does not work with this version of React"),e.exports=n.default}}]);
//# sourceMappingURL=https://statics-view.genially.com/view/static/js/matahari.11a064b9.chunk.js.map