PageSourceSearch

https://senedd.cymru/site/scripts/CookieMessage.min.js

js senedd.cymru collected 2026-10-02 03:01:54 UTC 5,620 bytes, 120 lines download raw bytes

1/******/ (function() { // webpackBootstrap
2var __webpack_exports__ = {};
3var civicCookieConfig = {
4  Config: function Config(lang) {
5    return {
6      apiKey: '6a143dc9a280abae659c3a42805171a8b5be8e87',
7      product: 'PRO_MULTISITE',
8      initialState: 'notify',
9      rejectButton: true,
10      necessaryCookies: [".AspNetCore.*", "ARRAffinity", 'ASP.NET_SessionId', 'UMB-XSRF-TOKEN', 'ApplicationGatewayAffinity'],
11      text: civicCookieConfig.Text(lang),
12      statement: civicCookieConfig.Statement(lang),
13      optionalCookies: [{
14        name: 'analytics',
15        label: civicCookieConfig.AnalyticsLabel(lang),
16        description: civicCookieConfig.AnalyticsDescription(lang),
17        cookies: ['_ga', '_gid', '_gat', '__utma', '__utmt', '__utmb', '__utmc', '__utmz', '__utmv'],
18        recommendedState: true,
19        onAccept: function onAccept() {
20          
vendor: 182 bytes, lines 20-25
20window.dataLayer = window.dataLayer || [];
21          function gtag() {
22            dataLayer.push(arguments);
23          }
24          gtag('js', new Date());
25          gtag('config', '
25UA-11914414-5
vendor: 12 bytes, lines 25-26
25');
26        
26},
27        onRevoke: function onRevoke() {
28          window['ga-disable-' + 'UA-11914414-5'] = true;
29        }
30      }, {
31        name: 'pixel meta',
32        label: civicCookieConfig.PixelLabel(lang),
33        description: civicCookieConfig.PixelDescription(lang),
34        cookies: ['_fbp', '_fbc'],
35        recommendedState: true,
36        onAccept: function onAccept() {
37          fbq('consent', 'grant');
38        },
39        onRevoke: function onRevoke() {
40          fbq('consent', 'revoke');
41        }
42      }]
43    };
44  },
45  Statement: function Statement(lang) {
46    return lang === civicCookieConfig.WELSHCODE() ? {
47      description: ' ',
48      name: 'Darllenwch ein polisi preifatrwydd am ragor o wybodaeth.',
49      url: 'https://senedd.cymru/polisi-preifatrwydd',
50      updated: '26/01/2018'
51    } : {
52      description: ' ',
53      name: 'For more information visit our privacy policy',
54      url: 'https://senedd.wales/privacy-policy',
55      updated: '26/01/2018'
56    };
57  },
58  Text: function Text(lang) {
59    return lang === civicCookieConfig.WELSHCODE() ? {
60      title: 'Mae’r wefan hon yn defnyddio cwcis.',
61      intro: 'Mae rhai o’r cwcis hyn yn hanfodol, ac mae eraill yn ein helpu i wella’ch profiad.',
62      acceptRecommended: 'Derbyn cwcis nad ydynt yn hanfodol',
63      acceptSettings: 'Derbyn cwcis nad ydynt yn hanfodol',
64      rejectSettings: 'Gwrthod cwcis nad ydynt yn hanfodol',
65      necessaryTitle: 'Cwcis angenrheidiol',
66      necessaryDescription: 'Mae cwcis angenrheidiol yn galluogi ymarferoldeb craidd',
67      thirdPartyTitle: '(W)Warning: Some cookies require your attention',
68      thirdPartyDescription: '(W)Please follow the link(s) below to opt out manually.',
69      on: 'Ymlaen',
70      off: 'I ffwrdd',
71      notifyTitle: 'Eich dewis ynghylch cwcis ar y wefan',
72      notifyDescription: 'Rydym yn defnyddio cwcis i wneud y gorau o ymarferoldeb y wefan a rhoi’r profiad gorau posibl i chi.',
73      accept: 'Derbyn cwcis nad ydynt yn hanfodol',
74      reject: 'Gwrthod cwcis nad ydynt yn hanfodol',
75      settings: 'Dewisiadau cwcis',
76      closeLabel: 'Caewch',
77      accessibilityAlert: '(W)This site uses cookies to store information. Press accesskey C to learn more about your options.'
78    } : {
79      title: 'This site uses cookies.',
80      intro: 'Some of these cookies are essential, while others help us to improve your experience.',
81      acceptRecommended: 'Accept non-essential cookies',
82      acceptSettings: 'Accept non-essential cookies',
83      rejectSettings: 'Reject non-essential cookies',
84      necessaryTitle: 'Necessary Cookies',
85      necessaryDescription: 'Necessary cookies enable core functionality..',
86      thirdPartyTitle: 'Warning: Some cookies require your attention',
87      thirdPartyDescription: 'Please follow the link(s) below to opt out manually.',
88      on: 'On',
89      off: 'Off',
90      notifyTitle: 'Your choice regarding cookies on this site',
91      notifyDescription: 'We use cookies to optimise site functionality and give you the best possible experience.',
92      accept: 'Accept non-essential cookies',
93      reject: 'Reject non-essential cookies',
94      settings: 'Cookie Preferences',
95      closeLabel: 'Close',
96      accessibilityAlert: 'This site uses cookies to store information. Press accesskey C to learn more about your options.'
97    };
98  },
99  AnalyticsLabel: function AnalyticsLabel(lang) {
100    return lang === civicCookieConfig.WELSHCODE() ? 'Dadansoddeg Google' : 'Google Analytics';
101  },
102  AnalyticsDescription: function AnalyticsDescription(lang) {
103    return lang === civicCookieConfig.WELSHCODE() ? 'Mae cwcis dadansoddol Google yn ein helpu i wella ein gwefan drwy gasglu ac adrodd gwybodaeth am ei defnydd.' : 'Google analytical cookies help us to improve our website by collecting and reporting information on its usage.';
104  },
105  PixelLabel: function PixelLabel(lang) {
106    return lang === civicCookieConfig.WELSHCODE() ? 'Dadansoddeg Pixel' : 'Pixel Analytics';
107  },
108  PixelDescription: function PixelDescription(lang) {
109    return lang === civicCookieConfig.WELSHCODE() ? 'Mae cwcis dadansoddol Pixel yn ein helpu i wella ein gwefan drwy gasglu ac adrodd gwybodaeth am ei defnydd.' : 'Pixel analytical cookies help us to improve our website by collecting and reporting information on its usage.';
110  },
111  WELSHCODE: function WELSHCODE() {
112    return 'cy-gb';
113  }
114};
115
116//$(function () {
117CookieControl.load(civicCookieConfig.Config(document.querySelector("meta[name='culture']").getAttribute("content").toLowerCase()));
118//});
119/******/ })()
120;

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.