{"version":3,"file":"cookie-consent-init.min.js","names":["m","$","initCookieControl","initCookieConsent","run","current_lang","autoclear_cookies","remove_cookie_tables","page_scripts","onFirstAction","user_preferences","cookie","updateGtagConsent","level","gtag","send_to","onAccept","show","onChange","changed_preferences","gui_options","consent_modal","layout","position","transition","swap_buttons","settings_modal","languages","en","title","description","primary_btn","text","role","secondary_btn","save_settings_btn","accept_all_btn","reject_all_btn","close_btn_label","cookie_table_headers","col1","col2","col3","blocks","toggle","value","enabled","readonly","cookie_table","window","location","hostname","is_regex","length","css","allowed_levels","updated_levels","i","name","includes","analytics_storage","ad_storage","ooooby","jQuery"],"sources":["cookie-consent-init.js"],"mappings":"CAAC,SAAUA,EAAGC,GAEVD,EAAEE,kBAAoB,WACTC,oBAENC,IAAI,CACHC,aAAc,KACdC,mBAAmB,EACnBC,sBAAsB,EACtBC,cAAc,EAEdC,cAAe,SAASC,EAAkBC,GACtCX,EAAEY,kBAAkBD,EAAOE,MAAOF,EAAOE,OAEzCC,KAAK,QAAS,aACdA,KAAK,QAAS,YAAa,CAAEC,QAAW,OAC5C,EAEAC,SAAU,SAAUL,GAChBX,EAAEY,kBAAkBD,EAAOE,MAAOF,EAAOE,OAEzCZ,EAAE,uBAAuBgB,MAC7B,EAEAC,SAAU,SAAUP,EAAQQ,GACxBnB,EAAEY,kBAAkBD,EAAOE,MAAOM,EACtC,EAEAC,YAAa,CACTC,cAAe,CACXC,OAAQ,MACRC,SAAU,cACVC,WAAY,QACZC,cAAc,GAElBC,eAAgB,CACZJ,OAAQ,MAERE,WAAY,UAIpBG,UAAW,CACPC,GAAM,CACFP,cAAe,CACXQ,MAAO,4BACPC,YAAa,uKACbC,YAAa,CACTC,KAAM,aACNC,KAAM,cAEVC,cAAe,CACXF,KAAM,mBACNC,KAAM,qBAGdP,eAAgB,CACZG,MAAO,qBACPM,kBAAmB,gBACnBC,eAAgB,aAChBC,eAAgB,aAChBC,gBAAiB,QACjBC,qBAAsB,CAClB,CAACC,KAAM,QACP,C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W,SAAU,CACtB+C,WAAc,cAMT,cAATH,GACA5C,KAAK,UAAW,SAAU,CACtB8C,kBAAqB,WAIhB,QAATF,GACA5C,KAAK,UAAW,SAAU,CACtB+C,WAAc,WAK9B,CACJ,CAEJ,CAtMA,CAsMEZ,OAAOa,OAASb,OAAOa,QAAU,CAAC,EAAGC,QAEvCD,OAAO5D","ignoreList":[],"sourcesContent":["(function (m, $) {\n\n m.initCookieControl = function () {\n let cc = initCookieConsent();\n\n cc.run({\n current_lang: 'en',\n autoclear_cookies: true,\n remove_cookie_tables: true,\n page_scripts: true,\n\n onFirstAction: function(user_preferences, cookie) {\n m.updateGtagConsent(cookie.level, cookie.level);\n \n gtag('event', 'page_view');\n gtag('event', 'page_view', { 'send_to': 'GA4' });\n },\n\n onAccept: function (cookie) {\n m.updateGtagConsent(cookie.level, cookie.level);\n \n $('.ux-cookie-settings').show();\n },\n\n onChange: function (cookie, changed_preferences) {\n m.updateGtagConsent(cookie.level, changed_preferences);\n },\n\n gui_options: {\n consent_modal: {\n layout: 'box', // box/cloud/bar\n position: 'bottom left', // bottom/middle/top + left/right/center\n transition: 'slide', // zoom/slide\n swap_buttons: true // enable to invert buttons\n },\n settings_modal: {\n layout: 'box', // box/bar\n // position: 'left', // left/right\n transition: 'slide' // zoom/slide\n }\n },\n\n languages: {\n 'en': {\n consent_modal: {\n title: 'This website uses cookies',\n description: 'We use cookies to improve our user experience. Choose what cookies you allow us to use. ',\n primary_btn: {\n text: 'Accept all',\n role: 'accept_all' // 'accept_selected' or 'accept_all'\n },\n secondary_btn: {\n text: 'Accept necessary',\n role: 'accept_necessary' // 'settings' or 'accept_necessary'\n }\n },\n settings_modal: {\n title: 'Cookie preferences',\n save_settings_btn: 'Save settings',\n accept_all_btn: 'Accept all',\n reject_all_btn: 'Reject all',\n close_btn_label: 'Close',\n cookie_table_headers: [\n {col1: 'Name'},\n {col2: 'Domain'},\n {col3: 'Description'}\n ],\n blocks: [\n {\n title: 'Cookie usage 📢',\n description: 'We use cookies to improve our user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our privacy policy.'\n }, {\n title: 'Strictly necessary cookies',\n description: 'These cookies are essential for the proper functioning of the website.',\n toggle: {\n value: 'necessary',\n enabled: true,\n readonly: true\n },\n cookie_table: [\n {\n col1: 'ASP.NET_SessionId',\n col2: window.location.hostname,\n col3: 'Keeps track of user sessions',\n },\n {\n col1: 'aus',\n col2: window.location.hostname,\n col3: 'Keeps track of user sessions',\n },\n {\n col1: '.ASPXAUTH',\n col2: window.location.hostname,\n col3: 'Keeps track of user authentication',\n },\n {\n col1: 'ssub',\n col2: window.location.hostname,\n col3: 'Remembers logged in user selections',\n },\n {\n col1: 'sus',\n col2: window.location.hostname,\n col3: 'Remembers new user selections',\n },\n {\n col1: 'dpc',\n col2: window.location.hostname,\n col3: 'Remembers new user selections',\n },\n {\n col1: 'ctd',\n col2: window.location.hostname,\n col3: 'Remembers new user selections',\n },\n {\n col1: 'cc_cookie',\n col2: window.location.hostname,\n col3: 'Remembers your cookie preferences',\n }\n ]\n }, {\n title: 'Performance and Analytics cookies',\n description: 'These cookies allow us to understand how visitors interact with our website by collecting and reporting information anonymously. This helps us to improve the way our website works, for example, by ensuring that users are finding what they are looking for easily.',\n toggle: {\n value: 'analytics',\n enabled: false,\n readonly: false\n },\n cookie_table: [\n {\n col1: '^_ga',\n col2: 'google.com',\n col3: 'All cookies starting with \"_ga\" are set by Google Analytics to understand site usage behaviours.',\n is_regex: true\n },\n {\n col1: '_gid',\n col2: 'google.com',\n col3: 'Set by Google Analytics to understand site usage behaviours.',\n }\n ]\n }, {\n title: 'Advertisement and Targeting cookies',\n description: 'These cookies are used to make advertising messages more relevant to you and your interests.',\n toggle: {\n value: 'ads',\n enabled: false,\n readonly: false\n }\n }\n ]\n }\n }\n }\n });\n \n let fixedNavigationContainer = $(\".ux-signup-fixed-navigation\");\n if (fixedNavigationContainer.length > 0) {\n $(\".cookie-settings\").css(\"bottom\", \"10rem\");\n }\n };\n \n m.updateGtagConsent = function (allowed_levels, updated_levels) {\n for (let i = 0; i < updated_levels.length; i++) {\n let name = updated_levels[i];\n if (allowed_levels.includes(name)) {\n\n if (name === \"analytics\") {\n gtag('consent', 'update', {\n 'analytics_storage': 'granted'\n });\n }\n\n if (name === \"ads\") {\n gtag('consent', 'update', {\n 'ad_storage': 'granted'\n });\n }\n\n } else {\n\n if (name === \"analytics\") {\n gtag('consent', 'update', {\n 'analytics_storage': 'denied'\n });\n }\n\n if (name === \"ads\") {\n gtag('consent', 'update', {\n 'ad_storage': 'denied'\n });\n }\n\n }\n }\n }\n\n}(window.ooooby = window.ooooby || {}, jQuery));\n\nooooby.initCookieControl();"]}