!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;O(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:V(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),h}},t}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||v(e,t)||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 h(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||v(t)||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 m(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function v(t,n){if(t){if("string"==typeof t)return e(t,n);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}function _(){return new Proxy(new URLSearchParams(window.location.search),{get:function(e,t){return e.get(t)}})}function y(){var e=window.location.hostname;return"localhost"===e&&(e=""),e.replace(/.*\.([^.]*[^0-9][^.]*\.[^.]*[^.0-9][^.]*$)/,"$1")}var x=function(){return a((function e(){r(this,e)}),null,[{key:"get_cookie",value:function(e){return z("getting cookie value",e),this._get_cookie_silent(e)}},{key:"_get_cookie_silent",value:function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length)return t.pop().split(";").shift()}},{key:"set_cookie",value:function(e,t,n){z("setting cookie value",e,t,n);var o=new Date(Date.now()+864e5*n).toUTCString(),r=y(),i="".concat(e,"=").concat(t,"; expires=").concat(o,"; path=/; domain=").concat(r,";");if(document.cookie=i,this.get_cookie(e)!==t){var a="".concat(e,"=").concat(t,"; expires=").concat(o,"; path=/;");document.cookie=a}}},{key:"rm_cookie",value:function(e,t){z("removing cookie",e,t);var n="".concat(e,"="),o=document.cookie.split(";").some((function(e){return e.trim().startsWith(n)}));if(t&&"undefined"!==t||(t=y()),o){var r="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=").concat(t);document.cookie=r}}}])}(),k="lawwwing-logging",L="lawwwing-session",E="lawwwing/blocked",C="data-lawwwing-iframe-src",S="lawwwing-consent-v2",I="lawwwing-consent-v2-tcf",A="lawwwing:config:ready",O="lawwwing:consent:uninitialized",T="lawwwing:storage:load",V="lawwwing:ui:consent-update",P="lawwwing:ui:consent-granted",R="lawwwing:ui:consent-denied",D="lawwwing:consent:ready";function N(e){if(window.Lawwwing&&(window.Lawwwing.debug||x._get_cookie_silent(k))){for(var t,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r1&&t.length>1||0===Object.keys(e).length?(ne(!1),void oe(!1)):void 0}function ne(e){for(var t in z("Flushing scripts:"),G=!1,window.Lawwwing.blacklists.scripts.blocked){for(var n=window.Lawwwing.blacklists.scripts.blocked[t],o=n.script,r=n.type,i=document.createElement("script"),a=0;a0&&void 0!==arguments[0]?arguments[0]:5,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return new Promise((function(n){var o=1;!function r(){var i=ke();if(null!==i)n(i);else if(o0&&(console.log("%cConsent Mode issues found:","color: orange; font-weight: bold;"),o.forEach((function(e){return console.log("\t- No default consent settings found for %c".concat(e),"color: orange;")}))),r?console.log("%cConsent Mode Warning: %cA tag attempted to read consent before defaults were set.\nOne or more Google Tags triggered before the Consent Mode defaults were configured.\nFor more details, visit: https://developers.google.com/tag-platform/security/guides/consent-debugging#default-consent\nor reach out to support at hola@lawwwing.com","color: red; font-weight: bold;","color: red;"):!1===r&&console.log("%cConsent Mode defaults are correctly set in time.","color: lightgreen; font-weight: bold;");case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Se="lawwwing-diagnostic",Ie="lawwwing:diagnostics:connect",Ae="lawwwing:diagnostics:connect:ack",Oe="lawwwing:diagnostics:connect:mismatch",Te="lawwwing:diagnostics:disconnect",Ve="success",Pe="warning",Re="error",De="unknown",Ne="check_consent",ze="check_gcm_found",je="check_gcm_defaults",Me="check_gcm_defaults_ontime",Fe="check_gcm_updates";function Ue(e){return qe.apply(this,arguments)}function qe(){return(qe=n(b().mark((function e(t){var n,o,r,i,a,s,l,c,d,u;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.entries,o=t.missing_defaults,r=t.was_set_late,i=t.google_tag_found,a=window.LWDiagnostic){e.next=4;break}return e.abrupt("return");case 4:if(s={},l={},c=[],d=[],u=[],n.forEach((function(e){var t=e.entry,n=e.default,o=e.update,r=null!=n&&""!==n;null!=o&&""!==o?d.push({entry:t,update:o}):c.push(t),r&&u.push({entry:t,default:n})})),!i){e.next=14;break}s[ze]=Ve,e.next=16;break;case 14:return s[ze]=Re,e.abrupt("return",a._send_diagnostic_entry(s,{}));case 16:o.length>0&&0===u.length?(s[je]=De,l[je]=[]):o.length>0&&u.length>0?(s[je]=Pe,l[je]=o):(s[je]=Ve,l[je]=u),c.length>0&&0===d.length?(s[Fe]=De,l[Fe]=[]):c.length>0&&d.length>0?(s[Fe]=Pe,l[Fe]=c):(s[Fe]=Ve,l[Fe]=d),r?(s[Me]=Re,l[Me]={}):!1===r&&(s[Me]=Ve,l[Me]={}),a._send_diagnostic_entry(s,l);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(){return He.apply(this,arguments)}function He(){return(He=n(b().mark((function e(){var t,n,o,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=window.LWDiagnostic){e.next=3;break}return e.abrupt("return");case 3:if(o=null===(t=window.Lawwwing)||void 0===t?void 0:t.config_service){e.next=6;break}return e.abrupt("return");case 6:r=o.get_consent_status(),n._send_diagnostic_entry(l({},Ne,Ve),l({},Ne,r));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Be(){return We.apply(this,arguments)}function We(){return(We=n(b().mark((function e(){var t,o,r,i,a,s;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=!0===(null===(t=window.Lawwwing)||void 0===t||null===(t=t.config)||void 0===t?void 0:t.debug),r=!!window.LWDiagnostic,o||r){e.next=4;break}return e.abrupt("return");case 4:if(i=window.LWConfig,a=i.op_mode_iab,s=i.op_mode_gcm,!a&&!s){e.next=11;break}return e.next=8,new Promise((function(e){return setTimeout(e,500)}));case 8:n(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le();case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:o&&Ee(t),r&&Ue(t);case 7:case"end":return e.stop()}}),e)})))(),e.next=12;break;case 11:Ge();case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Qe(){return _()["lawwwing-diagnostic"]||null}function $e(){var e=function(){var e=Qe();if(!e)return null;try{return atob(e)}catch(e){return null}}();return"string"==typeof e&&(e=JSON.parse(e)),e}function Je(){var e=x.get_cookie(Se);if(!e)return!1;try{var t=JSON.parse(e);return Boolean(t.session_id&&t.session_token&&t.widget_id)}catch(e){return!1}}function Ye(){var e=x.get_cookie(Se);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}var Ze=function(){function e(){r(this,e)}return a(e,null,[{key:"_handle",value:function(t,n){for(var o,r,i,a=window.LWConfig,s=a.op_mode_iab,l=a.op_mode_gcm,c=[],d=function(e){if("function"==typeof e)try{var t=e();t instanceof Promise&&c.push(t)}catch(e){console.error("Handler error:",e)}},u=[{condition:!0,handler:re},{condition:l,handler:de},{condition:s,handler:ue},{condition:null===(o=window.Shopify)||void 0===o?void 0:o.customerPrivacy,handler:we},{condition:window.uetq&&!s,handler:be},{condition:window.clarity,handler:fe},{condition:window.wp_set_consent,handler:he},{condition:window.fbq,handler:me}],w=function(){var e=b[p],n=e.condition,o=e.handler;n&&d((function(){return o[t]()}))},p=0,b=u;p0;)n[o]=arguments[o+1];var r=typeof e;if("string"===r)t=st(e);else{if("function"!==r)throw new Error("At least one argument required");var i=e;t=new(Function.prototype.bind.apply(i,[null].concat(n)))}return mt(vt(t),n,!0),t}var xt=yt;yt.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return yt.bind.apply(yt,[this].concat(e))};var kt="http://www.w3.org/2000/svg";function Lt(e){for(var t,n=[],o=arguments.length-1;o-- >0;)n[o]=arguments[o+1];var r=typeof e;if("string"===r)t=st(e,kt);else{if("function"!==r)throw new Error("At least one argument required");var i=e;t=new(Function.prototype.bind.apply(i,[null].concat(n)))}return mt(vt(t),n,!0),t}Lt.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Lt.bind.apply(Lt,[this].concat(e))},Lt.ns=kt;function Et(e){var t;null!==(t=window.Lawwwing)&&void 0!==t&&t.ui?e():setTimeout((function(){return Et(e)}),250)}function Ct(){Et((function(){var e,t=window.Lawwwing.ui;t._render("lw-stylesheet-diagnostic",xt("style#lw-stylesheet-diagnostic",{rel:"stylesheet",type:"text/css"},"#lw-diagnostic{bottom:60px;cursor:pointer;font-family:Arial,Helvetica,sans-serif;opacity:1;position:fixed;right:25px;width:450px;z-index:2147483631}.lw-diagnostic-container{background-color:#fff;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.lw-diagnostic-header{align-items:center;background-color:#f1f3f4;border-bottom:1px solid #f1f3f4;border-radius:10px 10px 0 0;display:flex;gap:10px;padding:10px 15px}.lw-diagnostic-header img{vertical-align:middle}.lw-diagnostic-header p{color:#333;font-size:15px;font-weight:700;margin:0}.lw-diagnostic-content{max-height:300px;overflow-y:auto;padding:10px 20px}.lw-diagnostic-status{align-items:center;display:flex;gap:20px;margin:10px 0 20px}.lw-diagnostic-beacon{background-color:#d3d3d3;border-radius:50%;box-sizing:border-box;display:inline-block;height:16px;vertical-align:middle;width:16px}.lw-diagnostic-beacon.success{background-color:#28a745;box-shadow:0 0 8px 2px rgba(40,167,69,.3)}.lw-diagnostic-beacon.error{background-color:#dc3545;box-shadow:0 0 8px 2px rgba(220,53,69,.3)}.lw-diagnostic-status-text{color:#222;font-size:14px;font-weight:500;line-height:1.25;margin:0}.lw-diagnostic-description{font-size:12px;line-height:1.25}.lw-diagnostic-footer{background-color:#f1f3f4;border-bottom:1px solid #f1f3f4;display:flex;justify-content:flex-end;padding:10px}.lw-diagnostic-footer button{background-color:#e0e0e0;border:none;border-radius:5px;color:#111;cursor:pointer;font-size:13px;padding:5px 10px;transition:background-color .3s ease}")),t._render("lw-diagnostic-dialog",xt("div#lw-diagnostic",xt("div.lw-diagnostic-container",xt("div.lw-diagnostic-header",xt("img.lw-diagnostic-logo",{src:"https://cdn.lawwwing.com/static/assets/img/logos/single/logo_color1.webp",alt:"Lawwwing Logo",width:"37",height:"32"}),xt("p","Lawwwing Diagnostic")),xt("div.lw-diagnostic-content",xt("div.lw-diagnostic-status",xt("div.lw-diagnostic-beacon"),xt("p.lw-diagnostic-status-text","Connecting to Lawwwing Diagnostics...")),xt("div.lw-diagnostic-description","Debug information will be displayed in Lawwwing dashboard diagnostic section. If you are experiencing issues, please reach out to us ",xt("a.lw-diagnostic-support-link",{href:"https://lawwwing.com/en/contact/",target:"_blank"},"here"))),xt("div.lw-diagnostic-footer",xt("button.lw-disconnect-button",{type:"button"},"Disconnect"))))),null===(e=document.querySelector(".lw-disconnect-button"))||void 0===e||e.addEventListener("click",(function(){var e;St("Disconnecting from Lawwwing Diagnostics..."),It(""),null===(e=window.LWDiagnostic)||void 0===e||e.disconnect()}))}))}function St(e){Et((function(){document.querySelectorAll(".lw-diagnostic-status-text").forEach((function(t){t.textContent=e}))}))}function It(e){Et((function(){var t=document.querySelector(".lw-diagnostic-beacon");t&&(t.className="lw-diagnostic-beacon ".concat(e))}))}var At=function(){return a((function e(t,n){r(this,e),this.session_id=t,this.session_token=n,this._queue=[],this._start_api_check()}),[{key:"_start_api_check",value:function(){var e=this;this._api_check_interval=setInterval((function(){var t;null!==(t=window.Lawwwing)&&void 0!==t&&null!==(t=t.api)&&void 0!==t&&t.post_diagnostic_check&&(clearInterval(e._api_check_interval),e._flush_queue())}),500)}},{key:"_flush_queue",value:function(){for(;this._queue.length>0;){var e=this._queue.shift(),t=e.payload,n=e.metadata;this._send_diagnostic_entry(t,n)}}},{key:"_send_diagnostic_entry",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null!==(t=window.Lawwwing)&&void 0!==t&&null!==(t=t.api)&&void 0!==t&&t.post_diagnostic_check)return console.log("Sending diagnostic entry:",e,n),window.Lawwwing.api.post_diagnostic_check(e,n,this.session_id,this.session_token).then((function(e){console.log("Diagnostic entry posted successfully:",e)})).catch((function(e){console.error("Error posting diagnostic entry:",e)}));this._queue.push({payload:e,metadata:n})}},{key:"disconnect",value:function(){x.rm_cookie(Se);try{Ot(Te,{},window.location.origin)}catch(e){console.error("Error sending disconnect message to opener:",e)}try{window.close()}catch(e){console.error("Error closing the window:",e)}}}])}();function Ot(e,t,n){window.opener.postMessage({action:e,data:t},n||window.location.origin)}function Tt(e,t,n){return window.LWDiagnostic?(window.LWDiagnostic.session_id=e,window.LWDiagnostic.session_token=t):window.LWDiagnostic=new At(e,t),function(e,t,n){x.set_cookie(Se,JSON.stringify({session_id:e,session_token:t,widget_id:n||null}),1)}(e,t,n),window.LWDiagnostic}function Vt(e,t){return!e||!t||e===t}function Pt(){return(Pt=n(b().mark((function e(){var t,n,o,r,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!at()){e.next=3;break}return e.abrupt("return");case 3:if(t=it()){e.next=6;break}return e.abrupt("return");case 6:if(!1,o=!1,n=Boolean(Qe()),o=Je(),window.addEventListener("message",(function(e){var n=e.data,o=e.origin||e.originalEvent.origin;if(n.action==Ie){if(Ct(),!Vt(t,n.widget_id))return Ot(Oe,{plugin_id:t,widget_id:n.widget_id},o),St("Plugin ID mismatch. Diagnostic connection failed."),void It("error");Ot(Ae,{},o),Tt(n.session_id,n.session_token,n.widget_id),Be(),St("Connected to Lawwwing Diagnostics."),It("success")}})),!n){e.next=30;break}if(Ct(),e.prev=12,r=$e(),Vt(t,r.widget_id)){e.next=18;break}return St("Plugin ID mismatch. Diagnostic connection failed."),It("error"),e.abrupt("return");case 18:Tt(r.session_id,r.session_token,r.widget_id),Ot(Ae,{},"*"),Be(),St("Connected to Lawwwing Diagnostics."),It("success"),e.next=30;break;case 25:return e.prev=25,e.t0=e.catch(12),St("Failed to parse diagnostic value from URL parameters."),It("error"),e.abrupt("return");case 30:if(!o){e.next=48;break}if(Ct(),e.prev=32,i=Ye(),Vt(t,i.widget_id)){e.next=38;break}return St("Plugin ID mismatch. Diagnostic connection failed."),It("error"),e.abrupt("return");case 38:Tt(i.session_id,i.session_token,i.widget_id),St("Connected to Lawwwing Diagnostics."),It("success"),e.next=48;break;case 43:return e.prev=43,e.t1=e.catch(32),St("Failed to parse diagnostic value from cookie."),It("error"),e.abrupt("return");case 48:case"end":return e.stop()}}),e,null,[[12,25],[32,43]])})))).apply(this,arguments)}var Rt=function(){return a((function e(t,n,o,i,a){r(this,e),this.id=t,this.host=n,this.preview=o,this.language=i,this.session=a}),[{key:"_headers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p({"Content-Type":"application/json","Accept-Language":this.language,"lawwwing-widget-preview":String(this.preview),"lawwwing-widget-id":String(this.id),"lawwwing-session-id":String(this.session),"lawwwing-pathname":window.location.pathname,"lawwwing-hostname":window.location.hostname,"lawwwing-api-version":"v2"},e)}},{key:"_endpoint",value:function(e){return{config:"".concat(this.host,"/api/widgets/config/?wid=").concat(this.id),consent:"".concat(this.host,"/api/widgets/consent/"),diagnostics:"".concat(this.host,"/api/diagnostics/check/")}[e]}},{key:"_request_options",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return p({method:e,mode:"cors",cache:"default",credentials:"same-origin",referrerPolicy:"no-referrer-when-downgrade",redirect:"follow",headers:t},n&&{body:JSON.stringify(n)})}},{key:"_fetch",value:(e=n(b().mark((function e(t,n){var o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return z("[api] ".concat(n.method,":"),t),e.next=3,fetch(t,n);case 3:if((o=e.sent).ok){e.next=6;break}throw new Error("Error: ".concat(o.status));case 6:return e.abrupt("return",o.json());case 7:case"end":return e.stop()}}),e)}))),function(t,n){return e.apply(this,arguments)})},{key:"fetch_config",value:function(){var e=this._endpoint("config"),t=this._request_options("GET",this._headers());return this._fetch(e,t)}},{key:"post_consent",value:function(e){var t=this._endpoint("consent"),n=this._request_options("POST",this._headers(),e);return this._fetch(t,n)}},{key:"post_diagnostic_check",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=this._endpoint("diagnostics"),i=p(p({session:n,path:window.location.pathname},e),{},{metadata:t}),a=this._headers({Authorization:"Token ".concat(o)}),s=this._request_options("POST",a,i);return this._fetch(r,s)}}]);var e}(),Dt=function(){return a((function e(){r(this,e),this.blacklist={predefined:[],user:[]},this.blocked={}}),[{key:"_find_pattern",value:function(e){return!this.blacklist.predefined||this.blacklist.predefined.some((function(t){return t.test(e)}))||!this.blacklist.user||this.blacklist.user.some((function(t){return t.test(e)}))}},{key:"add",value:function(e){this.blacklist.user.push(new RegExp(e))}},{key:"check",value:function(e){throw new Error("Not implemented",e)}},{key:"backup",value:function(e){throw new Error("Not implemented",e)}},{key:"backup_pop",value:function(e){throw new Error("Not implemented",e)}},{key:"flush",value:function(){this.blacklist.predefined=[],this.blacklist.user=[]}}])}(),Nt=function(e){function t(){var e;return r(this,t),(e=o(this,t)).blacklist.predefined=[],window.LWConfig.op_mode_default&&e.blacklist.predefined.push(new RegExp("googletagmanager.com"),new RegExp("google-analytics.com"),new RegExp("googlesyndication.com"),new RegExp("youtube.com"),new RegExp("youtube-nocookie.com"),new RegExp("doubleclick.net"),new RegExp("facebook.*"),new RegExp("linkedin.com"),new RegExp("twitter.com"),new RegExp("addthis.com"),new RegExp("bing.com"),new RegExp("c.bing.com"),new RegExp("sharethis.com"),new RegExp("yahoo.com"),new RegExp("addtoany.com"),new RegExp("dailymotion.com"),new RegExp("amazon-adsystem.com"),new RegExp("snap.licdn.com"),new RegExp("googleadservices.com"),new RegExp("clarity.ms"),new RegExp("service.force.com"),new RegExp("taboola.com"),new RegExp("outbrain.com"),new RegExp("matomo.org"),new RegExp("yandex.ru"),new RegExp("vk.com"),new RegExp("tiktok.com")),e}return d(t,e),a(t,[{key:"_get_src_type_from_obj",value:function(e){return Array.isArray(e)?[e[0],e[1]]:[e.src,e.type]}},{key:"check",value:function(e){var t=f(this._get_src_type_from_obj(e),2),n=t[0],o=t[1];return n&&(!o||o!==E)&&this._find_pattern(n)}},{key:"backup",value:function(e,t){""!==e.src&&(this.blocked[e.src]={script:e,type:t})}},{key:"backup_pop",value:function(e){delete this.blocked[e.src]}}])}(Dt),zt=function(e){function t(){return r(this,t),o(this,t,arguments)}return d(t,e),a(t,[{key:"check",value:function(e){return!e.match(RegExp("^lawwwing-*"))&&(e&&this._find_pattern(e))}},{key:"backup",value:function(e,t){this.blocked[e]=t}},{key:"backup_pop",value:function(e){delete this.blocked[e]}},{key:"refresh",value:function(){var e=this,t=window.Lawwwing.config,n={},o=t.services,r=t.categories;for(var i in o)!1===r[o[i].category].needed&&!1===r[o[i].category].wanted&&(n[i]=o[i]);for(var a in this.blacklist.user=[],n)n[a].cookies.forEach((function(t){e.add(t.name)}))}}])}(Dt),jt=function(e){function t(){var e;return r(this,t),(e=o(this,t)).blacklist.predefined=[],window.LWConfig.op_mode_default&&e.blacklist.predefined.push(new RegExp("youtube.com"),new RegExp("vimeo\\.com(?![^?]*[?&]dnt=1)"),new RegExp("dailymotion.com")),e}return d(t,e),a(t,[{key:"check",value:function(e){return e&&"IFRAME"===e.tagName&&this._find_pattern(e.src)}},{key:"backup",value:function(e){this.blocked[e.src]=e}},{key:"backup_pop",value:function(e){delete this.blocked[e.src]}}])}(Dt);function Mt(){z("Cleaning unwanted cookies");var e=window.Lawwwing.config,t=[];for(var n in document.cookie.split(";").map((function(e){return t.push(e.split("=")[0].replace(/(^\s*)|(\s*&)/,""))})),e.services){var o=e.services[n];if(!e.categories[o.category].wanted)for(var r in o.cookies)if(t.includes(o.cookies[r].name)){var i=o.cookies[r];F=!1,x.rm_cookie(i.name,i.domain),F=!0}}}function Ft(e){var t,n=f(null!==(t=e.match(/^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/))&&void 0!==t?t:[],5);return[n[1],n[2]]}function Ut(e){return function(e,t){var n=window.Lawwwing.config.language,o=window.Lawwwing.config.languages.default,r=window.Lawwwing.config.languages.available;if(r.includes(n)||(n=o,1===r.length&&(n=r[0])),Object.prototype.hasOwnProperty.call(e,n)&&e[n]){var i=e[n];if(Object.prototype.hasOwnProperty.call(i,t)&&i[t])return i[t]}return"[Missing translation]"}(window.Lawwwing.config.locales,e)}function qt(e,t){return Ut(("marketing"===e?"advertising":e)+{title:"_title",description:"_description"}[t])}var Gt,Ht,Bt,Wt,Qt,$t,Jt,Yt,Zt=function(){return a((function e(){r(this,e)}),null,[{key:"read",value:function(){return x.get_cookie(S)}},{key:"write",value:function(e){var t=JSON.stringify(e);return x.set_cookie(S,t,365)}},{key:"purge",value:function(){x.rm_cookie(S,y()),x.get_cookie(S)||window.location.reload(!1)}},{key:"read_tc_string",value:function(){return x.get_cookie(I)}},{key:"write_tc_string",value:function(e){var t=JSON.stringify(e);return x.set_cookie(I,t,365)}}])}(),Kt=function(){return a((function e(t){r(this,e),this.config=t,this._loaded_from_storage=!1,this._preferred_language=function(){var e=window.navigator.languages?window.navigator.languages[0]:null;e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage;var t=document.documentElement.lang;t&&(e=t);var n=e;return-1!==n.indexOf("-")&&(n=n.split("-")[0]),-1!==n.indexOf("_")&&(n=n.split("_")[0]),n}()}),[{key:"loaded_from_storage",get:function(){return this._loaded_from_storage}},{key:"initialize_from_api",value:function(e){this.config=e}},{key:"read",value:function(){var e=Zt.read();if(e){var t=JSON.parse(e);if(void 0!==t.version)if(n=t.version,o=this.config.version,r=f(Ft(n),2),i=r[0],a=r[1],l=f(Ft(o),2),c=l[0],d=l[1],void 0!==i&&void 0!==a&&void 0!==c&&void 0!==d){var n,o,r,i,a,l,c,d;for(var u in t.categories)if(void 0===this.config.categories[u])return void Zt.purge();var w,p=s(t.services);try{for(p.s();!(w=p.n()).done;){var b=w.value;if(void 0===this.config.services[b])return void Zt.purge()}}catch(e){p.e(e)}finally{p.f()}for(var g in t.categories)this.config.categories[g].checked=this.config.categories[g].wanted=!0===t.categories[g].wanted;this._loaded_from_storage=!0,!0===window.Lawwwing.preview&&(this._loaded_from_storage=!1)}else Zt.purge();else Zt.purge()}}},{key:"save",value:function(e){var t={version:this.config.version,categories:{},services:[]};for(var n in this.categories)t.categories[n]={wanted:this.config.categories[n].wanted};t.services=this.get_services_keys(),Zt.write(t),e&&e()}},{key:"iab",get:function(){return this.config.features.iab_tcf_enabled}},{key:"gcm",get:function(){return this.config.features.gcm_enabled}},{key:"debug",get:function(){return this.config.features&&this.config.features.debug_mode_enabled||!1}},{key:"language",get:function(){return this._preferred_language}},{key:"version",get:function(){return this.config.version}},{key:"categories",get:function(){return this.config.categories}},{key:"documents",get:function(){return this.config.documents}},{key:"features",get:function(){return this.config.features}},{key:"languages",get:function(){return this.config.language}},{key:"locales",get:function(){return this.config.locales}},{key:"services",get:function(){return this.config.services}},{key:"theme",get:function(){return this.config.theme}},{key:"custom_css",get:function(){return this.config.theme.custom_css}},{key:"is_display_mode_dialog",value:function(){return"dialog"===this.config.theme.display_mode}},{key:"get_branding_logo",value:function(){return this.config.theme.brand}},{key:"get_branding_logo_alt_text",value:function(){return this.config.theme.brand_alt_tag}},{key:"get_branding_name",value:function(){return this.config.theme.brand_name}},{key:"get_is_white_label",value:function(){return this.config.theme.white_label}},{key:"get_wanted_categories",value:function(){var e=[];for(var t in this.categories)!0===this.categories[t].wanted&&e.push(t);return e}},{key:"get_wanted_services",value:function(){var e=this,t=[];return this.get_wanted_categories().forEach((function(n){for(var o in e.services)e.services[o].category===n&&t.push(e.services[o])})),t}},{key:"get_wanted_cookies",value:function(){var e=[];return this.get_wanted_services().forEach((function(t){t.cookies.forEach((function(t){e.push(t)}))})),e}},{key:"get_services_keys",value:function(){return Object.keys(this.services)}},{key:"get_document_available_languages",value:function(e){for(var t=this.config.documents,n=[],o=0,r=Object.entries(t[e]);o>e/4).toString(16)})),x.set_cookie(L,e,365)),e}!function(e){e.PING="ping",e.GET_TC_DATA="getTCData",e.GET_IN_APP_TC_DATA="getInAppTCData",e.GET_VENDOR_LIST="getVendorList",e.ADD_EVENT_LISTENER="addEventListener",e.REMOVE_EVENT_LISTENER="removeEventListener"}(Gt||(Gt={})),function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(Ht||(Ht={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(Bt||(Bt={})),function(e){e.TC_LOADED="tcloaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete"}(Wt||(Wt={}));class tn{listenerId;callback;next;param;success=!0;constructor(e,t,n,o){Object.assign(this,{callback:e,listenerId:n,param:t,next:o});try{this.respond()}catch(e){this.invokeCallback(null)}}invokeCallback(e){const t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)}}class nn extends tn{respond(){this.throwIfParamInvalid(),this.invokeCallback(new ln(this.param,this.listenerId))}throwIfParamInvalid(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")}}class on{eventQueue=new Map;queueNumber=0;add(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}remove(e){return this.eventQueue.delete(e)}exec(){this.eventQueue.forEach(((e,t)=>{new nn(e.callback,e.param,t,e.next)}))}clear(){this.queueNumber=0,this.eventQueue.clear()}get size(){return this.eventQueue.size}}class rn{static apiVersion="2";static tcfPolicyVersion;static eventQueue=new on;static cmpStatus=Ht.LOADING;static disabled=!1;static displayStatus=Bt.HIDDEN;static cmpId;static cmpVersion;static eventStatus;static gdprApplies;static tcModel;static tcString;static reset(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=Ht.LOADING,this.disabled=!1,this.displayStatus=Bt.HIDDEN,this.eventQueue.clear()}}class an{cmpId=rn.cmpId;cmpVersion=rn.cmpVersion;gdprApplies=rn.gdprApplies;tcfPolicyVersion=rn.tcfPolicyVersion}class sn extends an{cmpStatus=Ht.ERROR}class ln extends an{tcString;listenerId;eventStatus;cmpStatus;isServiceSpecific;useNonStandardTexts;publisherCC;purposeOneTreatment;outOfBand;purpose;vendor;specialFeatureOptins;publisher;constructor(e,t){if(super(),this.eventStatus=rn.eventStatus,this.cmpStatus=rn.cmpStatus,this.listenerId=t,rn.gdprApplies){const t=rn.tcModel;this.tcString=rn.tcString,this.isServiceSpecific=t.isServiceSpecific,this.useNonStandardTexts=t.useNonStandardTexts,this.purposeOneTreatment=t.purposeOneTreatment,this.publisherCC=t.publisherCountryCode,this.outOfBand={allowedVendors:this.createVectorField(t.vendorsAllowed,e),disclosedVendors:this.createVectorField(t.vendorsDisclosed,e)},this.purpose={consents:this.createVectorField(t.purposeConsents),legitimateInterests:this.createVectorField(t.purposeLegitimateInterests)},this.vendor={consents:this.createVectorField(t.vendorConsents,e),legitimateInterests:this.createVectorField(t.vendorLegitimateInterests,e),disclosedVendors:this.createVectorField(t.vendorsDisclosed,e)},this.specialFeatureOptins=this.createVectorField(t.specialFeatureOptins),this.publisher={consents:this.createVectorField(t.publisherConsents),legitimateInterests:this.createVectorField(t.publisherLegitimateInterests),customPurpose:{consents:this.createVectorField(t.publisherCustomConsents),legitimateInterests:this.createVectorField(t.publisherCustomLegitimateInterests)},restrictions:this.createRestrictions(t.publisherRestrictions)}}}createRestrictions(e){const t={};if(e.numRestrictions>0){const n=e.getMaxVendorId();for(let o=1;o<=n;o++){const n=o.toString();e.getRestrictions(o).forEach((e=>{const o=e.purposeId.toString();t[o]||(t[o]={}),t[o][n]=e.restrictionType}))}}return t}createVectorField(e,t){return t?t.reduce(((t,n)=>(t[String(n)]=e.has(Number(n)),t)),{}):[...e].reduce(((e,t)=>(e[t[0].toString(10)]=t[1],e)),{})}}class cn extends ln{constructor(e){super(e),delete this.outOfBand}createVectorField(e){return[...e].reduce(((e,t)=>e+=t[1]?"1":"0"),"")}createRestrictions(e){const t={};if(e.numRestrictions>0){const n=e.getMaxVendorId();e.getRestrictions().forEach((e=>{t[e.purposeId.toString()]="_".repeat(n)}));for(let o=0;o{const n=e.restrictionType.toString(),r=e.purposeId.toString(),i=t[r].substr(0,o),a=t[r].substr(o+1);t[r]=i+n+a}))}}return t}}class dn extends an{cmpLoaded=!0;cmpStatus=rn.cmpStatus;displayStatus=rn.displayStatus;apiVersion=String(rn.apiVersion);gvlVersion;constructor(){super(),rn.tcModel&&rn.tcModel.vendorListVersion&&(this.gvlVersion=+rn.tcModel.vendorListVersion)}}class un extends tn{respond(){this.invokeCallback(new dn)}}class wn extends nn{respond(){this.throwIfParamInvalid(),this.invokeCallback(new cn(this.param))}}class pn extends Error{constructor(e){super(e),this.name="DecodingError"}}class bn extends Error{constructor(e){super(e),this.name="EncodingError"}}class gn extends Error{constructor(e){super(e),this.name="GVLError"}}class fn extends Error{constructor(e,t,n=""){super(`invalid value ${t} passed for ${e} ${n}`),this.name="TCModelError"}}class hn{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new bn("Invalid bitField");const t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";let n="";for(let t=0;t=2&&2==t.length){if(mn.langSet.has(e))return e;if(mn.langSet.has(t))return t;const n=t+"-"+t;if(mn.langSet.has(n))return n;for(const n of mn.langSet)if(-1!==n.indexOf(e)||-1!==n.indexOf(t))return n}throw new Error(`unsupported language ${e}`)}forEach(e){mn.langSet.forEach(e)}get size(){return mn.langSet.size}}class vn{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class _n{clone(){const e=new this.constructor;return Object.keys(this).forEach((t=>{const n=this.deepClone(this[t]);void 0!==n&&(e[t]=n)})),e}deepClone(e){const t=typeof e;if("number"===t||"string"===t||"boolean"===t)return e;if(null!==e&&"object"===t){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){const t=[];for(const n of e)t.push(this.deepClone(n));return e instanceof Array?t:new e.constructor(t)}{const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=this.deepClone(e[n]));return t}}}}!function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}(Qt||(Qt={}));class yn extends _n{static hashSeparator="-";purposeId_;restrictionType;constructor(e,t){super(),void 0!==e&&(this.purposeId=e),void 0!==t&&(this.restrictionType=t)}static unHash(e){const t=e.split(this.hashSeparator),n=new yn;if(2!==t.length)throw new fn("hash",e);return n.purposeId=parseInt(t[0],10),n.restrictionType=parseInt(t[1],10),n}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${yn.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===Qt.NOT_ALLOWED||this.restrictionType===Qt.REQUIRE_CONSENT||this.restrictionType===Qt.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class xn extends _n{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,t,n){let o=!0;if(this.gvl?.vendors){const r=this.gvl.vendors[n];if(r)if(e===Qt.NOT_ALLOWED)o=r.legIntPurposes.includes(t)||r.purposes.includes(t);else if(r.flexiblePurposes.length)switch(e){case Qt.REQUIRE_CONSENT:o=r.flexiblePurposes.includes(t)&&r.legIntPurposes.includes(t);break;case Qt.REQUIRE_LI:o=r.flexiblePurposes.includes(t)&&r.purposes.includes(t)}else o=!1;else o=!1}return o}add(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){const n=t.hash;this.has(n)||(this.map.set(n,new Set),this.bitLength=0),this.map.get(n).add(e)}}restrictPurposeToLegalBasis(e){const t=Array.from(this.gvl.vendorIds),n=e.hash,o=t[t.length-1],r=[...Array(o).keys()].map((e=>e+1));if(this.has(n))for(let e=1;e<=o;e++)this.map.get(n).add(e);else this.map.set(n,new Set(r)),this.bitLength=0}getVendors(e){let t=[];if(e){const n=e.hash;this.has(n)&&(t=Array.from(this.map.get(n)))}else{const e=new Set;this.map.forEach((t=>{t.forEach((t=>{e.add(t)}))})),t=Array.from(e)}return t.sort(((e,t)=>e-t))}getRestrictionType(e,t){let n;return this.getRestrictions(e).forEach((e=>{e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)})),n}vendorHasRestriction(e,t){let n=!1;const o=this.getRestrictions(e);for(let e=0;e{e=Math.max(Array.from(t)[t.size-1],e)})),e}getRestrictions(e){const t=[];return this.map.forEach(((n,o)=>{e?n.has(e)&&t.push(yn.unHash(o)):t.push(yn.unHash(o))})),t}getPurposes(){const e=new Set;return this.map.forEach(((t,n)=>{e.add(yn.unHash(n).purposeId)})),Array.from(e)}remove(e,t){const n=t.hash,o=this.map.get(n);o&&(o.delete(e),0==o.size&&(this.map.delete(n),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach(((e,t)=>{const n=yn.unHash(t);Array.from(e).forEach((t=>{this.isOkToHave(n.restrictionType,n.purposeId,t)||e.delete(t)}))})))}get gvl(){return this.gvl_}isEmpty(){return 0===this.map.size}get numRestrictions(){return this.map.size}}!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}($t||($t={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(Jt||(Jt={}));class kn{static ID_TO_KEY=[Jt.CORE,Jt.VENDORS_DISCLOSED,Jt.VENDORS_ALLOWED,Jt.PUBLISHER_TC];static KEY_TO_ID={[Jt.CORE]:0,[Jt.VENDORS_DISCLOSED]:1,[Jt.VENDORS_ALLOWED]:2,[Jt.PUBLISHER_TC]:3}}class Ln extends _n{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach((e=>this.unset(e))):"object"==typeof e?this.unset(Object.keys(e).map((e=>Number(e)))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach((e=>{this.maxId_=Math.max(this.maxId,e)}))))}isIntMap(e){let t="object"==typeof e;return t=t&&Object.keys(e).every((t=>{let n=Number.isInteger(parseInt(t,10));return n=n&&this.isValidNumber(e[t].id),n=n&&void 0!==e[t].name,n})),t}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}set(e){if(Array.isArray(e))e.forEach((e=>this.set(e)));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((e=>Number(e))));else{if(!this.isValidNumber(e))throw new fn("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}empty(){this.set_=new Set,this.maxId_=0}forEach(e){for(let t=1;t<=this.maxId;t++)e(this.has(t),t)}get size(){return this.set_.size}setAll(e){this.set(e)}}class En{static[vn.cmpId]=12;static[vn.cmpVersion]=12;static[vn.consentLanguage]=12;static[vn.consentScreen]=6;static[vn.created]=36;static[vn.isServiceSpecific]=1;static[vn.lastUpdated]=36;static[vn.policyVersion]=6;static[vn.publisherCountryCode]=12;static[vn.publisherLegitimateInterests]=24;static[vn.publisherConsents]=24;static[vn.purposeConsents]=24;static[vn.purposeLegitimateInterests]=24;static[vn.purposeOneTreatment]=1;static[vn.specialFeatureOptins]=12;static[vn.useNonStandardTexts]=1;static[vn.vendorListVersion]=12;static[vn.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class Cn{static encode(e){return String(Number(e))}static decode(e){return"1"===e}}class Sn{static encode(e,t){let n;if("string"==typeof e&&(e=parseInt(e,10)),n=e.toString(2),n.length>t||e<0)throw new bn(`${e} too large to encode into ${t}`);return n.length25||o<0||o>25)throw new bn(`invalid language code: ${e}`);if(t%2==1)throw new bn(`numBits must be even, ${t} is not valid`);t/=2;return Sn.encode(n,t)+Sn.encode(o,t)}static decode(e,t){let n;if(t!==e.length||e.length%2)throw new pn("invalid bit length for language");{const t=65,o=e.length/2,r=Sn.decode(e.slice(0,o),o)+t,i=Sn.decode(e.slice(o),o)+t;n=String.fromCharCode(r)+String.fromCharCode(i)}return n}}class Tn{static encode(e){let t=Sn.encode(e.numRestrictions,En.numRestrictions);if(!e.isEmpty()){const n=(t,n)=>{for(let o=t+1;o<=n;o++)if(e.gvl.vendorIds.has(o))return o;return t};e.getRestrictions().forEach((o=>{t+=Sn.encode(o.purposeId,En.purposeId),t+=Sn.encode(o.restrictionType,En.restrictionType);const r=e.getVendors(o),i=r.length;let a=0,s=0,l="";for(let e=0;en(t,r[i-1])){const e=!(t===s);l+=Cn.encode(e),l+=Sn.encode(s,En.vendorId),e&&(l+=Sn.encode(t,En.vendorId)),s=0}}t+=Sn.encode(a,En.numEntries),t+=l}))}return t}static decode(e){let t=0;const n=new xn,o=Sn.decode(e.substr(t,En.numRestrictions),En.numRestrictions);t+=En.numRestrictions;for(let r=0;r{if(i+=Cn.encode(r),n=e.maxId>l&&c{const t=1===e.length;n+=Cn.encode(!t),n+=Sn.encode(e[0],En.vendorId),t||(n+=Sn.encode(e[1],En.vendorId))})),n}}function Pn(){return{[vn.version]:Sn,[vn.created]:In,[vn.lastUpdated]:In,[vn.cmpId]:Sn,[vn.cmpVersion]:Sn,[vn.consentScreen]:Sn,[vn.consentLanguage]:On,[vn.vendorListVersion]:Sn,[vn.policyVersion]:Sn,[vn.isServiceSpecific]:Cn,[vn.useNonStandardTexts]:Cn,[vn.specialFeatureOptins]:An,[vn.purposeConsents]:An,[vn.purposeLegitimateInterests]:An,[vn.purposeOneTreatment]:Cn,[vn.publisherCountryCode]:On,[vn.vendorConsents]:Vn,[vn.vendorLegitimateInterests]:Vn,[vn.publisherRestrictions]:Tn,segmentType:Sn,[vn.vendorsDisclosed]:Vn,[vn.vendorsAllowed]:Vn,[vn.publisherConsents]:An,[vn.publisherLegitimateInterests]:An,[vn.numCustomPurposes]:Sn,[vn.publisherCustomConsents]:An,[vn.publisherCustomLegitimateInterests]:An}}class Rn{1={[Jt.CORE]:[vn.version,vn.created,vn.lastUpdated,vn.cmpId,vn.cmpVersion,vn.consentScreen,vn.consentLanguage,vn.vendorListVersion,vn.purposeConsents,vn.vendorConsents]};2={[Jt.CORE]:[vn.version,vn.created,vn.lastUpdated,vn.cmpId,vn.cmpVersion,vn.consentScreen,vn.consentLanguage,vn.vendorListVersion,vn.policyVersion,vn.isServiceSpecific,vn.useNonStandardTexts,vn.specialFeatureOptins,vn.purposeConsents,vn.purposeLegitimateInterests,vn.purposeOneTreatment,vn.publisherCountryCode,vn.vendorConsents,vn.vendorLegitimateInterests,vn.publisherRestrictions],[Jt.PUBLISHER_TC]:[vn.publisherConsents,vn.publisherLegitimateInterests,vn.numCustomPurposes,vn.publisherCustomConsents,vn.publisherCustomLegitimateInterests],[Jt.VENDORS_ALLOWED]:[vn.vendorsAllowed],[Jt.VENDORS_DISCLOSED]:[vn.vendorsDisclosed]}}class Dn{1=[Jt.CORE];2=[Jt.CORE];constructor(e,t){if(2===e.version)if(e.isServiceSpecific)this[2].push(Jt.PUBLISHER_TC),this[2].push(Jt.VENDORS_DISCLOSED);else{const n=!(!t||!t.isForVendors);n&&!0!==e[vn.supportOOB]||this[2].push(Jt.VENDORS_DISCLOSED),n&&(e[vn.supportOOB]&&e[vn.vendorsAllowed].size>0&&this[2].push(Jt.VENDORS_ALLOWED),this[2].push(Jt.PUBLISHER_TC))}}}class Nn{static fieldSequence=new Rn;static encode(e,t){let n;try{n=this.fieldSequence[String(e.version)][t]}catch(n){throw new bn(`Unable to encode version: ${e.version}, segment: ${t}`)}let o="";t!==Jt.CORE&&(o=Sn.encode(kn.KEY_TO_ID[t],En.segmentType));const r=Pn();return n.forEach((n=>{const i=e[n],a=r[n];let s=En[n];void 0===s&&this.isPublisherCustom(n)&&(s=Number(e[vn.numCustomPurposes]));try{o+=a.encode(i,s)}catch(e){throw new bn(`Error encoding ${t}->${n}: ${e.message}`)}})),hn.encode(o)}static decode(e,t,n){const o=hn.decode(e);let r=0;n===Jt.CORE&&(t.version=Sn.decode(o.substr(r,En[vn.version]),En[vn.version])),n!==Jt.CORE&&(r+=En.segmentType);const i=this.fieldSequence[String(t.version)][n],a=Pn();return i.forEach((e=>{const n=a[e];let i=En[e];if(void 0===i&&this.isPublisherCustom(e)&&(i=Number(t[vn.numCustomPurposes])),0!==i){const a=o.substr(r,i);if(t[e]=n===Vn?n.decode(a,t.version):n.decode(a,i),Number.isInteger(i))r+=i;else{if(!Number.isInteger(t[e].bitLength))throw new pn(e);r+=t[e].bitLength}}})),t}static isPublisherCustom(e){return 0===e.indexOf("publisherCustom")}}class zn{static processor=[e=>e,(e,t)=>{e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach(((n,o)=>{n.forEach(((r,i)=>{if(r){const r=t.vendors[i];if(!r||r.deletedDate)n.unset(i);else if(0===r[o].length)if("legIntPurposes"===o&&0===r.purposes.length&&0===r.legIntPurposes.length&&r.specialPurposes.length>0)n.set(i);else if("legIntPurposes"===o&&r.purposes.length>0&&0===r.legIntPurposes.length&&r.specialPurposes.length>0)n.set(i);else if(e.isServiceSpecific)if(0===r.flexiblePurposes.length)n.unset(i);else{const t=e.publisherRestrictions.getRestrictions(i);let r=!1;for(let e=0,n=t.length;e0&&t?.version<=this.processor.length?e.version=t.version:e.version=this.processor.length;const o=e.version-1;if(!this.processor[o])throw new bn(`Invalid version: ${e.version}`);return this.processor[o](e,n)}}class jn{static absCall(e,t,n,o){return new Promise(((r,i)=>{const a=new XMLHttpRequest;a.withCredentials=n,a.addEventListener("load",(()=>{if(a.readyState==XMLHttpRequest.DONE)if(a.status>=200&&a.status<300){let e=a.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}r(e)}else i(new Error(`HTTP Status: ${a.status} response type: ${a.responseType}`))})),a.addEventListener("error",(()=>{i(new Error("error"))})),a.addEventListener("abort",(()=>{i(new Error("aborted"))})),null===t?a.open("GET",e,!0):a.open("POST",e,!0),a.responseType="json",a.timeout=o,a.ontimeout=()=>{i(new Error("Timeout "+o+"ms "+e))},a.send(t)}))}static post(e,t,n=!1,o=0){return this.absCall(e,JSON.stringify(t),n,o)}static fetch(e,t=!1,n=0){return this.absCall(e,null,t,n)}}class Mn extends _n{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new mn;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new gn("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,t){super();let n=Mn.baseUrl,o=t?.language;if(o)try{o=Mn.consentLanguages.parseLanguage(o)}catch(e){throw new gn("Error during parsing the language: "+e.message)}if(this.lang_=o||Mn.DEFAULT_LANGUAGE,this.cacheLang_=o||Mn.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!n)throw new gn("must specify GVL.baseUrl before loading GVL json");if(e>0){const t=e;Mn.CACHE.has(t)?(this.populate(Mn.CACHE.get(t)),this.readyPromise=Promise.resolve()):(n+=Mn.versionedFilename.replace("[VERSION]",String(t)),this.readyPromise=this.fetchJson(n))}else Mn.CACHE.has(Mn.LATEST_CACHE_KEY)?(this.populate(Mn.CACHE.get(Mn.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(n+Mn.latestFilename))}}static emptyLanguageCache(e){let t=!1;return null==e&&Mn.LANGUAGE_CACHE.size>0?(Mn.LANGUAGE_CACHE=new Map,t=!0):"string"==typeof e&&this.consentLanguages.has(e.toUpperCase())&&(Mn.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}static emptyCache(e){let t=!1;return Number.isInteger(e)&&e>=0?(Mn.CACHE.delete(e),t=!0):void 0===e&&(Mn.CACHE=new Map,t=!0),t}cacheLanguage(){Mn.LANGUAGE_CACHE.has(this.cacheLang_)||Mn.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await jn.fetch(e))}catch(e){throw new gn(e.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const t of Object.keys(this.specialFeatures))e[t]=Mn.cloneFeature(this.specialFeatures[t]);return e}cloneFeatures(){const e={};for(const t of Object.keys(this.features))e[t]=Mn.cloneFeature(this.features[t]);return e}cloneStacks(){const e={};for(const t of Object.keys(this.stacks))e[t]=Mn.cloneStack(this.stacks[t]);return e}cloneDataCategories(){const e={};for(const t of Object.keys(this.dataCategories))e[t]=Mn.cloneDataCategory(this.dataCategories[t]);return e}cloneSpecialPurposes(){const e={};for(const t of Object.keys(this.specialPurposes))e[t]=Mn.clonePurpose(this.specialPurposes[t]);return e}clonePurposes(){const e={};for(const t of Object.keys(this.purposes))e[t]=Mn.clonePurpose(this.purposes[t]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{..."number"==typeof e.stdRetention?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map((e=>({langId:e.langId,privacy:e.privacy,...e.legIntClaim?{legIntClaim:e.legIntClaim}:{}})))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},..."number"==typeof e.cookieMaxAgeSeconds||null===e.cookieMaxAgeSeconds?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...void 0!==e.usesCookies?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...void 0!==e.cookieRefresh?{cookieRefresh:e.cookieRefresh}:{},...void 0!==e.usesNonCookieAccess?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const t of Object.keys(this.fullVendorList))e[t]=Mn.cloneVendor(this.fullVendorList[t]);return e}async changeLanguage(e){let t=e;try{t=Mn.consentLanguages.parseLanguage(e)}catch(e){throw new gn("Error during parsing the language: "+e.message)}const n=e.toUpperCase();if((t.toLowerCase()!==Mn.DEFAULT_LANGUAGE.toLowerCase()||Mn.LANGUAGE_CACHE.has(n))&&t!==this.lang_)if(this.lang_=t,Mn.LANGUAGE_CACHE.has(n)){const e=Mn.LANGUAGE_CACHE.get(n);for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}else{const e=Mn.baseUrl+Mn.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(e),this.cacheLang_=n,this.cacheLanguage()}catch(e){throw new gn("unable to load language: "+e.message)}}}get language(){return this.lang_}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&Mn.CACHE.set(Mn.LATEST_CACHE_KEY,this.getJson()),Mn.CACHE.has(this.vendorListVersion)||Mn.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((e=>{this.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((e=>{this.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((e=>{this.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((e=>{this.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((e=>+e))),this.vendorIds=new Set(e),this.vendors_=e.reduce(((e,t)=>{const n=this.vendors_[String(t)];return n&&void 0===n.deletedDate&&(n.purposes.forEach((e=>{this.byPurposeVendorMap[String(e)].consent.add(t)})),n.specialPurposes.forEach((e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)})),n.legIntPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)})),n.flexiblePurposes&&n.flexiblePurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)})),n.features.forEach((e=>{this.byFeatureVendorMap[String(e)].add(t)})),n.specialFeatures.forEach((e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=n),e}),{})}getFilteredVendors(e,t,n,o){const r=e.charAt(0).toUpperCase()+e.slice(1);let i;const a={};return i="purpose"===e&&n?this["by"+r+"VendorMap"][String(t)][n]:this["by"+(o?"Special":"")+r+"VendorMap"][String(t)],i.forEach((e=>{a[String(e)]=this.vendors[String(e)]})),a}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new Mn(this.getJson());return this.lang_!==Mn.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo}}class Fn extends _n{static consentLanguages=Mn.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=5;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new Ln;purposeConsents=new Ln;purposeLegitimateInterests=new Ln;publisherConsents=new Ln;publisherLegitimateInterests=new Ln;publisherCustomConsents=new Ln;publisherCustomLegitimateInterests=new Ln;customPurposes;vendorConsents=new Ln;vendorLegitimateInterests=new Ln;vendorsDisclosed=new Ln;vendorsAllowed=new Ln;publisherRestrictions=new xn;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){Mn.isInstanceOf(e)||(e=new Mn(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new fn("cmpId",e);this.cmpId_=e}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new fn("cmpVersion",e);this.cmpVersion_=e}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new fn("consentScreen",e);this.consentScreen_=e}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(!/^([A-z]){2}$/.test(e))throw new fn("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if((e=Number(e)|0)<0)throw new fn("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new fn("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if("object"==typeof this.customPurposes){const t=Object.keys(this.customPurposes).sort(((e,t)=>Number(e)-Number(t)));e=parseInt(t.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new fn("numCustomPurposes",e)}updated(){const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}}class Un{static encode(e,t){let n,o="";return e=zn.process(e,t),n=Array.isArray(t?.segments)?t.segments:new Dn(e,t)[""+e.version],n.forEach(((t,r)=>{let i="";r{this.invokeCallback(n.getJson())}))}}class Gn extends nn{respond(){this.listenerId=rn.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),super.respond()}}class Hn extends tn{respond(){this.invokeCallback(rn.eventQueue.remove(this.param))}}class Bn{static[Gt.PING]=un;static[Gt.GET_TC_DATA]=nn;static[Gt.GET_IN_APP_TC_DATA]=wn;static[Gt.GET_VENDOR_LIST]=qn;static[Gt.ADD_EVENT_LISTENER]=Gn;static[Gt.REMOVE_EVENT_LISTENER]=Hn}class Wn{static set_=new Set([0,2,void 0,null]);static has(e){return"string"==typeof e&&(e=Number(e)),this.set_.has(e)}}const Qn="__tcfapi";class $n{callQueue;customCommands;constructor(e){if(e){let t=Gt.ADD_EVENT_LISTENER;if(e?.[t])throw new Error(`Built-In Custom Commmand for ${t} not allowed: Use ${Gt.GET_TC_DATA} instead`);if(t=Gt.REMOVE_EVENT_LISTENER,e?.[t])throw new Error(`Built-In Custom Commmand for ${t} not allowed`);e?.[Gt.GET_TC_DATA]&&(e[Gt.ADD_EVENT_LISTENER]=e[Gt.GET_TC_DATA],e[Gt.REMOVE_EVENT_LISTENER]=e[Gt.GET_TC_DATA]),this.customCommands=e}try{this.callQueue=window[Qn]()||[]}catch(e){this.callQueue=[]}finally{window[Qn]=this.apiCall.bind(this),this.purgeQueuedCalls()}}apiCall(e,t,n,...o){if("string"!=typeof e)n(null,!1);else if(Wn.has(t)){if("function"!=typeof n)throw new Error("invalid callback function");rn.disabled?n(new sn,!1):this.isCustomCommand(e)||this.isBuiltInCommand(e)?this.isCustomCommand(e)&&!this.isBuiltInCommand(e)?this.customCommands[e](n,...o):e===Gt.PING?this.isCustomCommand(e)?new Bn[e](this.customCommands[e],o[0],null,n):new Bn[e](n,o[0]):void 0===rn.tcModel?this.callQueue.push([e,t,n,...o]):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new Bn[e](this.customCommands[e],o[0],null,n):new Bn[e](n,o[0]):n(null,!1)}else n(null,!1)}purgeQueuedCalls(){const e=this.callQueue;this.callQueue=[],e.forEach((e=>{window[Qn](...e)}))}isCustomCommand(e){return this.customCommands&&"function"==typeof this.customCommands[e]}isBuiltInCommand(e){return void 0!==Bn[e]}}class Jn{callResponder;isServiceSpecific;numUpdates=0;constructor(e,t,n=!1,o){this.throwIfInvalidInt(e,"cmpId",2),this.throwIfInvalidInt(t,"cmpVersion",0),rn.cmpId=e,rn.cmpVersion=t,rn.tcfPolicyVersion=5,this.isServiceSpecific=!!n,this.callResponder=new $n(o)}throwIfInvalidInt(e,t,n){if(!("number"==typeof e&&Number.isInteger(e)&&e>=n))throw new Error(`Invalid ${t}: ${e}`)}update(e,t=!1){if(rn.disabled)throw new Error("CmpApi Disabled");rn.cmpStatus=Ht.LOADED,t?(rn.displayStatus=Bt.VISIBLE,rn.eventStatus=Wt.CMP_UI_SHOWN):void 0===rn.tcModel?(rn.displayStatus=Bt.DISABLED,rn.eventStatus=Wt.TC_LOADED):(rn.displayStatus=Bt.HIDDEN,rn.eventStatus=Wt.USER_ACTION_COMPLETE),rn.gdprApplies=null!==e,rn.gdprApplies?(""===e?(rn.tcModel=new Fn,rn.tcModel.cmpId=rn.cmpId,rn.tcModel.cmpVersion=rn.cmpVersion):rn.tcModel=Un.decode(e),rn.tcModel.isServiceSpecific=this.isServiceSpecific,rn.tcfPolicyVersion=Number(rn.tcModel.policyVersion),rn.tcString=e):rn.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():rn.eventQueue.exec(),this.numUpdates++}disable(){rn.disabled=!0,rn.cmpStatus=Ht.ERROR}}function Yn(e){return(Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Zn;Zn=function(){for(var e,t,n=[],o=window,r=o;r;){try{if(r.frames.__tcfapiLocator){e=r;break}}catch(e){}if(r===o.top)break;r=r.parent}e||(function e(){var t=o.document,n=!!o.frames.__tcfapiLocator;if(!n)if(t.body){var r=t.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",t.body.appendChild(r)}else setTimeout(e,5);return!n}(),o.__tcfapi=function(){for(var e=arguments.length,o=new Array(e),r=0;r3&&2===parseInt(o[1],10)&&"boolean"==typeof o[3]&&(t=o[3],"function"==typeof o[2]&&o[2]("set",!0)):"ping"===o[0]?"function"==typeof o[2]&&o[2]({gdprApplies:t,cmpLoaded:!1,cmpStatus:"stub"}):n.push(o)},o.addEventListener("message",(function(e){var t="string"==typeof e.data,n={};if(t)try{n=JSON.parse(e.data)}catch(e){}else n=e.data;var o="object"===Yn(n)&&null!==n?n.__tcfapiCall:null;if(o){var r=null==e?void 0:e.source;window.__tcfapi(o.command,o.version,(function(e,n){var i={__tcfapiReturn:{returnValue:e,success:n,callId:o.callId}};r&&r.postMessage&&r.postMessage(t?JSON.stringify(i):i,"*")}),o.parameter),r=null}}),!1))},"undefined"!=typeof module?module.exports=Zn:Zn();var Kn=function(){return a((function e(t,n){r(this,e),this.host=t,this.language=n,this.cmpId=405,this.cmpVersion=6,this.service_specific=!0,this.cmpApi=new Jn(this.cmpId,this.cmpVersion,this.service_specific,{getTCData:function(e,t,n){"boolean"!=typeof t&&(t.enableAdvertiserConsentMode=!0),e(t,n)}}),Mn.baseUrl="".concat(this.host,"/api/iab/gvl/"),Mn.latestFilename="",Mn.versionedFilename="?version=[VERSION]",Mn.languageFilename="purposes/[LANG]/",this.gvl=null}),[{key:"_init_global_vendor_list",value:(t=n(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.gvl=new Mn,e.next=3,this.gvl.readyPromise;case 3:if("en"===this.language){e.next=6;break}return e.next=6,this.gvl.changeLanguage(this.language);case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_init_tc_model",value:function(){this.tcModel=new Fn(this.gvl),this.tcModel.cmpId=this.cmpId,this.tcModel.isServiceSpecific=!0,this.tcModel.publisherCountryCode="ES",this.tcModel.cmpVersion=this.cmpVersion}},{key:"initialize",value:(e=n(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._init_global_vendor_list();case 2:this.restore(),this.tcModel?(this.tcModel.gvl=this.gvl,this.save()):(this._init_tc_model(),this.cmpApi.update("",!0),this.tcModel.purposeLegitimateInterests.set(2),this.tcModel.purposeLegitimateInterests.set(7),this.tcModel.purposeLegitimateInterests.set(8),this.tcModel.purposeLegitimateInterests.set(9),this.tcModel.purposeLegitimateInterests.set(10),this.tcModel.purposeLegitimateInterests.set(11));case 4:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"get_tc_string",value:function(){return this.tcModel?Un.encode(this.tcModel):""}},{key:"save",value:function(){var e=Un.encode(this.tcModel);Zt.write_tc_string(e),this.cmpApi.update(e,!1)}},{key:"restore",value:function(){var e=Zt.read_tc_string();try{e=JSON.parse(e)}catch(t){e=null}return e&&(this.tcModel=Un.decode(e)),e}},{key:"purposes",get:function(){var e=[];for(var t in this.gvl.purposes)0!==this.gvl.byPurposeVendorMap[t].consent.size&&e.push(t);return e}},{key:"flexiblepurposes",get:function(){var e=[];for(var t in this.gvl.purposes)0!==this.gvl.byPurposeVendorMap[t].flexible.size&&e.push(t);return e}},{key:"legintpurposes",get:function(){var e=[];for(var t in this.gvl.purposes)0!==this.gvl.byPurposeVendorMap[t].legInt.size&&e.push(t);return e}},{key:"features",get:function(){var e=[];for(var t in this.gvl.features)0!==this.gvl.byFeatureVendorMap[t].size&&e.push(t);return e}},{key:"specialfeatures",get:function(){var e=[];for(var t in this.gvl.specialFeatures)0!==this.gvl.bySpecialFeatureVendorMap[t].size&&e.push(t);return e}},{key:"specialpurposes",get:function(){var e=[];for(var t in this.gvl.specialPurposes)0!==this.gvl.bySpecialPurposeVendorMap[t].size&&e.push(t);return e}}]);var e,t}();function Xn(e){var t=window.Lawwwing.config,n=[],o=[];for(var r in t.services)t.services[r].category===e&&n.push(t.services[r]);if(n.length){for(var i=[],a=0;a0?xt("div.lw-iab-cmp-switch-component",Ut("modal_iab_vendors_switch_legint"),this._render_switch(!0)):xt("div.lw-iab-cmp-switch-component",Ut("modal_iab_vendors_switch_legint"),xt("div.lw-iab-cmp-switch-wrapper",{style:"text-align: center;"},"-")))),xt("div.lw-iab-cmp-vendor-show-details.hidden",{"data-vendor-details":this.id})]}}])}();function lo(){return xt("span.lw-modal-cmp-disclosure-description",Ut("modal_iab_tab_cmp_disclose_storage").replace("{{ tc_string_cookie }}",I))}function co(){return xt("div.lw-modal-content.lw-modal-content-hidden",{"data-mode":"iab"},xt("div.lw-modal-subtabs",xt("div.lw-modal-subtab.lw-modal-subtab-selected",{"data-iab-section":"purposes",tabindex:0},xt("span",Ut("modal_iab_tab_purposes"))),xt("div.lw-modal-subtab",{"data-iab-section":"legint",tabindex:0},xt("span",Ut("modal_iab_tab_legint"))),xt("div.lw-modal-subtab",{"data-iab-section":"vendors",tabindex:0},xt("span",Ut("modal_iab_tab_vendors")))),function(){var e,t=window.Lawwwing.iab,n=[],o=s(t.purposes);try{for(o.s();!(e=o.n()).done;){var r=e.value;n.push(new no(r).render())}}catch(e){o.e(e)}finally{o.f()}var i,a=[],l=s(t.specialfeatures);try{for(l.s();!(i=l.n()).done;){var c=i.value;a.push(new ao(c).render())}}catch(e){l.e(e)}finally{l.f()}var d,u=[],w=s(t.specialpurposes);try{for(w.s();!(d=w.n()).done;){var p=d.value;u.push(new oo(p).render())}}catch(e){w.e(e)}finally{w.f()}var b,g=[],f=s(t.features);try{for(f.s();!(b=f.n()).done;){var h=b.value;g.push(new io(h).render())}}catch(e){f.e(e)}finally{f.f()}var m=xt("p");return m.innerHTML=Ut("modal_iab_tab_purposes_heading"),xt("div.lw-modal-subtab-content",{"data-iab-section":"purposes"},xt("div.lw-modal-subtab-content-heading",m,lo()),xt("div.lw-modal-subtab-content-body",xt("div.lw-modal-subtab-content-buttons",xt("button",{"data-purposes-set-all":!1},Ut("modal_iab_reject_all")),xt("button",{"data-purposes-set-all":!0},Ut("modal_iab_accept_all"))),n,a,u,g))}(),function(){var e,t=[],n=s(window.Lawwwing.iab.legintpurposes);try{for(n.s();!(e=n.n()).done;){var o=e.value;t.push(new ro(o).render())}}catch(e){n.e(e)}finally{n.f()}var r=xt("p");return r.innerHTML=Ut("modal_iab_tab_legint_heading"),xt("div.lw-modal-subtab-content.lw-modal-subtab-content-hidden",{"data-iab-section":"legint"},xt("div.lw-modal-subtab-content-heading",r,lo()),xt("div.lw-modal-subtab-content-body",xt("div.lw-modal-subtab-content-buttons",xt("button",{"data-legint-set-all":!1},Ut("modal_iab_reject_all")),xt("button",{"data-legint-set-all":!0},Ut("modal_iab_accept_all"))),t))}(),function(){var e=window.Lawwwing.iab,t=xt("p");t.innerHTML=Ut("modal_iab_tab_vendors_heading");var n=[];for(var o in e.gvl.vendors)n.push(new so(o).render());return xt("div.lw-modal-subtab-content.lw-modal-subtab-content-hidden",{"data-iab-section":"vendors"},xt("div.lw-modal-subtab-content-heading",t,lo()),xt("div.lw-modal-subtab-content-body",xt("div.lw-modal-subtab-content-buttons",xt("button",{"data-vendors-set-all":!1},Ut("modal_iab_reject_all")),xt("button",{"data-vendors-set-all":!0},Ut("modal_iab_accept_all"))),n))}(),xt("div.lw-modal-cmp-footer",xt("div.lw-modal-cmp-footer-buttons",xt("div.lw-modal-cmp-footer-button",xt("button.lw-button.lw-consent-save",Ut("config_save_text"))),xt("div.lw-modal-cmp-footer-button",xt("button.lw-button.lw-consent-reject",Ut("config_reject_all_text"))),xt("div.lw-modal-cmp-footer-button",xt("button.lw-button.lw-consent-accept",Ut("config_accept_all_text"))))))}function uo(){var e=window.Lawwwing,t=e.config.get_branding_logo(),n=e.config.get_branding_logo_alt_text(),o=e.config.get_branding_name();return t?xt("img",{src:"".concat(e.cdn).concat(t),alt:n||o,title:o||""}):""}function wo(){var e,t=window.Lawwwing,n=t.config.get_is_white_label(),o=uo();return xt("div#lw-modal",{tabindex:-1},xt("div.lw-modal-wrapper",xt("div.lw-modal-header",xt("div.lw-modal-client-logo",o),n?null:xt("div.lw-modal-lawwwing-logo",{tabindex:-1,"aria-hidden":"true"},xt("span","Powered by"),xt("img",{src:"".concat(t.cdn,"/static/assets/img/logos/horizontal/resized/logo_color1_18.webp"),alt:"Lawwwing logo",height:18}))),(e=[xt("div.lw-modal-tab.lw-modal-tab-selected",{"data-mode":"consent",tabindex:0},xt("span",Ut("config_dialog_title")))],window.Lawwwing.config.iab&&e.push(xt("div.lw-modal-tab",{"data-mode":"iab",tabindex:0},xt("span",Ut("modal_iab_title")))),xt("div.lw-modal-tabs",e)),eo(),window.Lawwwing.config.iab?co():""),{"data-nosnippet":!0})}function po(){document.querySelector("div#lw-modal").classList.add("lw-modal-visible"),document.querySelector("div#lw-modal").focus()}function bo(){document.querySelector("div#lw-modal").classList.remove("lw-modal-visible")}function go(){document.querySelectorAll("button.lw-button").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget.classList;t.contains("lw-consent-save")?(document.querySelector("div#lw-modal").querySelectorAll("lw-category-switch input").forEach((function(e){window.Lawwwing.config.categories[e.dataset.category].wanted=e.checked})),xe(V),window.Lawwwing.ui.close()):t.contains("lw-consent-accept")?(xe(P),window.Lawwwing.ui.close()):t.contains("lw-consent-reject")&&(xe(R),window.Lawwwing.ui.close())}))})),document.querySelectorAll(".ibamu-consent-edit,.lawwwing-consent-edit,.ibamu-banner-edit,.lawwwing-banner-edit,.lw-consent-edit").forEach((function(e){e.addEventListener("click",(function(){po()}))})),window.addEventListener("message",(function(e){"com.lawwwing.consent.edit"===e.data&&po()}))}function fo(){return xt("div.lw-banner-iab-tcf-id",Lt("svg",{version:"1.2",preserveAspectRatio:"none",viewBox:"0 0 24 24",style:"opacity: 1; mix-blend-mode: normal; width: var(--lw-font-size-normal-1); height: var(--lw-font-size-normal-1); vertical-align: middle;"},Lt("path",{d:"M18.5811 2.14067L12.3161 0.0516681C12.111 -0.016653 11.8893 -0.016653 11.6841 0.0516681L5.41912 2.14067C4.42303 2.47155 3.55654 3.10793 2.94277 3.95938C2.329 4.81083 1.99916 5.83406 2.00012 6.88367V12.0007C2.00012 19.5637 11.2001 23.7407 11.5941 23.9147C11.7219 23.9715 11.8603 24.0008 12.0001 24.0008C12.14 24.0008 12.2783 23.9715 12.4061 23.9147C12.8001 23.7407 22.0001 19.5637 22.0001 12.0007V6.88367C22.0011 5.83406 21.6713 4.81083 21.0575 3.95938C20.4437 3.10793 19.5772 2.47155 18.5811 2.14067ZM20.0001 12.0007C20.0001 17.4557 13.6811 21.0337 12.0001 21.8897C10.3171 21.0367 4.00012 17.4697 4.00012 12.0007V6.88367C4.00018 6.25395 4.1984 5.64021 4.56669 5.12941C4.93498 4.61861 5.45467 4.23666 6.05212 4.03767L12.0001 2.05467L17.9481 4.03767C18.5456 4.23666 19.0653 4.61861 19.4336 5.12941C19.8018 5.64021 20.0001 6.25395 20.0001 6.88367V12.0007Z",style:"fill: #858FA0"}),Lt("path",{d:"M15.2999 8.30032L11.1119 12.5003L8.86792 10.1603C8.77786 10.0619 8.66901 9.98242 8.54778 9.92667C8.42654 9.87092 8.29538 9.84001 8.16201 9.83573C8.02864 9.83146 7.89577 9.85393 7.77122 9.9018C7.64667 9.94968 7.53296 10.022 7.43679 10.1145C7.34062 10.207 7.26393 10.3178 7.21125 10.4404C7.15856 10.563 7.13095 10.6949 7.13003 10.8283C7.12911 10.9618 7.1549 11.094 7.20589 11.2173C7.25688 11.3407 7.33203 11.4525 7.42692 11.5463L9.73291 13.9463C9.90489 14.1321 10.1128 14.281 10.3439 14.3842C10.5751 14.4873 10.8248 14.5425 11.0779 14.5463H11.1109C11.359 14.5472 11.6047 14.4987 11.8339 14.4038C12.0631 14.3088 12.2711 14.1693 12.4459 13.9933L16.7179 9.72132C16.8112 9.62822 16.8853 9.51764 16.9358 9.39592C16.9864 9.27419 17.0125 9.14369 17.0127 9.01188C17.0128 8.88007 16.987 8.74952 16.9367 8.62769C16.8863 8.50585 16.8125 8.39512 16.7194 8.30182C16.6263 8.20852 16.5157 8.13446 16.394 8.08389C16.2723 8.03332 16.1418 8.00722 16.01 8.00708C15.8782 8.00694 15.7476 8.03277 15.6258 8.08308C15.5039 8.13339 15.3932 8.20721 15.2999 8.30032Z",style:"fill: #858FA0"})),xt("span"," Complies with IAB TCF, CMP ID: 405"))}function ho(){return window.Lawwwing.config.iab?function(){var e=window.Lawwwing.iab,t=Object.keys(e.gvl.vendors).length,n=xt("div.lw-banner-text"),o=Ut("dialog_main_text");n.innerHTML=o.replace("[[vendors_counts]]",t);var r,i=[],a=s(e.purposes);try{for(a.s();!(r=a.n()).done;){var l=r.value;i.push(xt("span",e.gvl.purposes[l].name.replace(".",""),". "))}}catch(e){a.e(e)}finally{a.f()}var c,d=s(e.specialfeatures);try{for(d.s();!(c=d.n()).done;){var u=c.value;i.push(xt("span",e.gvl.specialFeatures[u].name.replace(".",""),". "))}}catch(e){d.e(e)}finally{d.f()}return xt("div#lw-banner",{tabindex:-1},xt("div.lw-banner-wrapper.lw-iab",xt("div.lw-banner-header",Ut("config_dialog_title")),xt("div.lw-banner-text-wrapper",n,xt("div.lw-banner-iab-purposes",xt("p",Ut("banner_iab_purposes_introduction")," ",i,Ut("banner_iab_choices_scope"))),fo()),xt("div.lw-banner-buttons-wrapper",xt("div.lw-banner-buttons",xt("button.lw-button.lw-consent-edit",Ut("dialog_configure_text")),xt("button.lw-button.lw-consent-reject",Ut("dialog_reject_all_text")),xt("button.lw-button.lw-consent-accept",Ut("dialog_accept_all_text"))),fo())),{"data-nosnippet":!0})}():((e=xt("div.lw-banner-text")).innerHTML=Ut("dialog_main_text"),xt("div#lw-banner",{tabindex:-1},xt("div.lw-banner-wrapper",xt("div.lw-banner-header",[xt("div.lw-banner-header-brand",uo()),xt("div.lw-banner-header-title",Ut("config_dialog_title"))]),xt("div.lw-banner-brand",uo()),xt("div.lw-banner-text-wrapper",e),xt("div.lw-banner-buttons-wrapper",xt("div.lw-banner-buttons",xt("button.lw-button.lw-consent-edit",Ut("dialog_configure_text")),xt("button.lw-button.lw-consent-reject",Ut("dialog_reject_all_text")),xt("button.lw-button.lw-consent-accept",Ut("dialog_accept_all_text"))))),{"data-nosnippet":!0}));var e}function mo(){document.querySelector("div#lw-banner").classList.add("lw-banner-visible"),document.querySelector("div#lw-banner").focus()}function vo(){document.querySelector("div#lw-banner").classList.remove("lw-banner-visible"),function(){var e,t=s(document.querySelector("div#lw-modal").querySelectorAll(".lw-category-tab"));try{for(t.s();!(e=t.n()).done;){var n=e.value;window.Lawwwing.config.categories[n.dataset.category].checked?n.classList.contains("lw-checked")||(n.classList.add("lw-checked"),n.querySelector("input.lw-category-on-off").checked=!0):(n.classList.contains("lw-checked")&&n.classList.remove("lw-checked"),n.querySelector("input.lw-category-on-off").checked=!1)}}catch(e){t.e(e)}finally{t.f()}document.querySelectorAll("input[type=checkbox][data-iab-consent=true]").forEach((function(e){var t=e.dataset.iabCategory,n=parseInt(e.dataset.iabId);"purpose"===t?e.checked=window.Lawwwing.iab.tcModel.purposeConsents.has(n):"specialfeature"===t?e.checked=window.Lawwwing.iab.tcModel.specialFeatureOptins.has(n):"legintpurpose"===t?e.checked=window.Lawwwing.iab.tcModel.purposeLegitimateInterests.has(n):"vendor"===t&&("true"===e.dataset.iabLegint?e.checked=window.Lawwwing.iab.tcModel.vendorLegitimateInterests.has(n):e.checked=window.Lawwwing.iab.tcModel.vendorConsents.has(n))}))}()}function _o(){document.querySelectorAll(".lw-open-modal-iab-vendors").forEach((function(e){e.addEventListener("click",(function(){document.querySelector(".lw-button.lw-consent-edit").click(),document.querySelector(".lw-modal-tab[data-mode=iab]").click(),document.querySelector(".lw-modal-subtab[data-iab-section=vendors]").click()})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))}))}function yo(){document.querySelector("div#lw-modal").querySelectorAll(".lw-category-tab").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget,n=e.target;if(n.classList.contains("lw-category-on-off")){var o=n.dataset.category,r=window.Lawwwing.config.categories[o];r.wanted=r.checked=n.checked,document.querySelector(".lw-category-tab."+o).classList.toggle("lw-checked",n.checked)}else t.classList.toggle("lw-category-tab-open")})),e.addEventListener("keydown",(function(e){if("Enter"===e.key||" "===e.key){e.preventDefault();var t=e.currentTarget,n=e.target;n.classList.contains("lw-category-switch-slider")?n.previousElementSibling.click():t.click()}}))})),document.querySelector(".lw-modal-session-details-show").addEventListener("click",(function(){var e=document.querySelector(".lw-modal-session-details-content");e&&e.classList.toggle("open")}))}function xo(){document.querySelectorAll("input[data-iab-consent]").forEach((function(e){e.addEventListener("change",(function(e){var t=e.currentTarget,n=t.dataset.iabCategory,o=parseInt(t.dataset.iabId),r=t.checked;z("[iab] change consent for ".concat(n,"[").concat(o,"] to ").concat(t.checked));var i=window.Lawwwing.iab.tcModel;"purpose"===n?r?i.purposeConsents.set(o):i.purposeConsents.unset(o):"specialfeature"===n?r?i.specialFeatureOptins.set(o):i.specialFeatureOptins.unset(o):"legintpurpose"===n?r?i.purposeLegitimateInterests.set(o):i.purposeLegitimateInterests.unset(o):"vendor"===n&&("true"===t.dataset.iabLegint?r?i.vendorLegitimateInterests.set(o):i.vendorLegitimateInterests.unset(o):r?i.vendorConsents.set(o):i.vendorConsents.unset(o))}))})),document.querySelectorAll("span.lw-iab-cmp-switch-slider").forEach((function(e){e.addEventListener("keydown",(function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.previousElementSibling.click())}))})),document.querySelectorAll("span.lw-iab-cmp-expand-illustrations").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget.parentElement.parentElement.nextElementSibling;t.classList.contains("show")?t.classList.remove("show"):t.classList.add("show")})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))})),function(){function e(e,t){return document.querySelector(".lw-modal-subtab-content[data-iab-section='".concat(e,"']")).querySelectorAll("input[data-iab-consent]").forEach((function(e){t!="".concat(e.checked)&&e.click()}))}document.querySelectorAll("button[data-purposes-set-all]").forEach((function(t){t.addEventListener("click",(function(t){e("purposes",t.currentTarget.dataset.purposesSetAll)}))})),document.querySelectorAll("button[data-legint-set-all]").forEach((function(t){t.addEventListener("click",(function(t){e("legint",t.currentTarget.dataset.legintSetAll)}))})),document.querySelectorAll("button[data-vendors-set-all]").forEach((function(t){t.addEventListener("click",(function(t){e("vendors",t.currentTarget.dataset.vendorsSetAll)}))}))}(),document.querySelectorAll(".lw-iab-cmp-details[data-vendor-details]").forEach((function(e){e.addEventListener("click",(function(e){var t=parseInt(e.currentTarget.dataset.vendorDetails),n=document.querySelector(".lw-iab-cmp-vendor-show-details[data-vendor-details='".concat(t,"']"));if(n.classList.contains("hidden")?n.classList.remove("hidden"):n.classList.add("hidden"),!(n.childNodes.length>0)){var o=window.Lawwwing.iab.gvl,r=new so(t),i=r.gvl_spec,a=[];i.flexiblePurposes.forEach((function(e){a.push(xt("li",o.purposes[e].name))}));var s=[];i.purposes.forEach((function(e){i.flexiblePurposes.includes(e)||s.push(xt("li",o.purposes[e].name))}));var l=[];i.specialFeatures.forEach((function(e){l.push(xt("li",o.specialFeatures[e].name))}));var c=[];i.features.forEach((function(e){c.push(xt("li",o.features[e].name))}));var d=[];i.dataDeclaration.forEach((function(e){d.push(xt("li",o.dataCategories[e].name))}));var u=function(e){function t(e){return e>1?"s":""}var n=Math.floor(e/31536e3);if(n)return n+" year"+t(n);var o=Math.floor((e%=31536e3)/86400);if(o)return o+" day"+t(o);var r=Math.floor((e%=86400)/3600);if(r)return r+" hour"+t(r);var i=Math.floor((e%=3600)/60);if(i)return i+" minute"+t(i);var a=e%60;return a?a+" second"+t(a):"less than a second"}(i.cookieMaxAgeSeconds),w=xt("div",xt("div.lw-iab-cmp-vendor-storage",i.usesCookies?xt("p","".concat(Ut("modal_iab_vendors_details_cookie_duration"),": ").concat(u)):xt("p","".concat(Ut("modal_iab_vendors_details_cookie_duration"),": n/a")),i.usesNonCookieAccess?xt("p",Ut("modal_iab_vendors_details_non_cookie_access")):"",xt("p","".concat(Ut("modal_iab_vendors_std_data_retention"),": ").concat(i.dataRetention.stdRetention," days"))),xt("div.lw-iab-cmp-vendor-consent-legint",0===a.length?{style:"display:none"}:"",xt("p",Ut("modal_iab_vendors_details_legint_purposes"),xt("a.lw-iab-cmp-policy-legint",{href:r._get_privacy_policy_link(!0),target:"_blank",rel:"nofollow"},Ut("modal_iab_vendors_privacy_policy_link"))),xt("div.lw-iab-cmp-vendor-flexible-purposes",a)),xt("div.lw-iab-cmp-vendor-consent-base",xt("p",Ut("modal_iab_vendors_details_consent_purposes")),xt("div.lw-iab-cmp-vendor-purposes",s),xt("div.lw-iab-cmp-vendor-special-features",l)),xt("div.lw-iab-cmp-vendor-consent-features",xt("p",Ut("modal_iab_vendors_details_features")),xt("div.lw-iab-cmp-vendor-features",c)),xt("div.lw-iab-cmp-vendor-data-categories",xt("p",Ut("modal_iab_vendors_details_data_categories")),xt("div",d)));n.append(w)}})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))})),document.querySelectorAll(".lw-iab-cmp-vendors[data-iab-id]").forEach((function(e){e.addEventListener("click",(function(e){var t=parseInt(e.currentTarget.dataset.iabId),n=e.currentTarget.dataset.iabCategory,o=document.querySelector(".lw-iab-cmp-vendors-list[data-iab-id='".concat(t,"'][data-iab-category='").concat(n,"']"));if(o.classList.contains("show")?o.classList.remove("show"):o.classList.add("show"),!(o.childNodes.length>0)){var r="";"purpose"===n?r=new no(t)._render_vendors_list():"specialpurpose"==n?r=new oo(t)._render_vendors_list():"feature"==n?r=new io(t)._render_vendors_list():"specialfeature"===n?r=new ao(t)._render_vendors_list():"legintpurpose"===n&&(r=new ro(t)._render_vendors_list(!0)),o.append(xt("div",r))}})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))}))}function ko(){document.addEventListener("keydown",(function(e){"Escape"===e.key&&document.querySelector("#lw-modal").classList.contains("lw-modal-visible")&&document.querySelector("#lw-modal").classList.remove("lw-modal-visible")})),document.querySelectorAll(".lw-modal-tab").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget;document.querySelectorAll(".lw-modal-tab").forEach((function(e){e.classList.remove("lw-modal-tab-selected")})),t.classList.add("lw-modal-tab-selected");var n=t.dataset.mode;document.querySelectorAll("div.lw-modal-content").forEach((function(e){e.classList.add("lw-modal-content-hidden")})),document.querySelectorAll('div.lw-modal-content[data-mode="'.concat(n,'"]')).forEach((function(e){e.classList.remove("lw-modal-content-hidden")}))})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))})),yo(),document.querySelectorAll(".lw-modal-subtab").forEach((function(e){e.addEventListener("click",(function(e){var t=e.currentTarget;document.querySelectorAll(".lw-modal-subtab").forEach((function(e){e.classList.remove("lw-modal-subtab-selected")})),t.classList.add("lw-modal-subtab-selected");var n=t.dataset.iabSection;document.querySelectorAll("div.lw-modal-subtab-content").forEach((function(e){e.classList.add("lw-modal-subtab-content-hidden")})),document.querySelectorAll('div.lw-modal-subtab-content[data-iab-section="'.concat(n,'"]')).forEach((function(e){e.classList.remove("lw-modal-subtab-content-hidden")}))})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))})),xo()}function Lo(e){var t=window.Lawwwing.ui,n="document-modal-".concat(e);t._render(n,function(e){var t,n=window.Lawwwing.config,o=n.language,r=n.documents,i=n.get_document_field_by_language(r[e],o,"url"),a={en:"English",es:"Español",ca:"Català",gl:"Galego",fr:"French",pt:"Português",it:"Italiano",de:"Deutsch",nl:"Nederlandse",eu:"Euskera",el:"Ελληνικά",pl:"Polski",ru:"Русский"},l=[],c=s(n.get_document_available_languages(e));try{for(c.s();!(t=c.n()).done;){var d=t.value;l.push(xt("option",a[d],{value:d,selected:d===o}))}}catch(e){c.e(e)}finally{c.f()}return xt("div#lw-document."+e,xt("div.lw-document-content",xt("div.lw-document-header",xt("div.lw-document-language-selector",xt("select#lawwwing-document-languages",l)),xt("button.lw-document-close",Ut("document_modal_close_text"))),xt("iframe.lw-document-frame","",{src:i,frameborder:"0",scrolling:"auto"})))}(e)),t.elements[n].classList.add("lw-modal-visible"),t.elements[n].querySelector("select#lawwwing-document-languages").focus(),t.elements[n].querySelector(".lw-document-close").addEventListener("click",(function(){t.elements[n].classList.remove("lw-modal-visible")})),t.elements[n].querySelector("select#lawwwing-document-languages").addEventListener("change",(function(o){!function(e,t,n){var o=window.Lawwwing.config.get_document_field_by_language(window.Lawwwing.config.documents[t],n,"url");try{e.getElementsByTagName("iframe")[0].src=o}catch(e){z(e)}}(t.elements[n],e,o.target.value)}))}function Eo(){!function(){function e(e,t){e.addEventListener("click",(function(){Lo(t)})),e.addEventListener("keydown",(function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e.click())}))}Object.keys(window.Lawwwing.config.documents).forEach((function(t){document.querySelectorAll(".ibamu-document-open.".concat(t)).forEach((function(n){e(n,t)})),document.querySelectorAll(".lawwwing-document-open.".concat(t)).forEach((function(n){e(n,t)})),document.querySelectorAll(".lw-document-open.".concat(t)).forEach((function(n){e(n,t)}))}))}()}function Co(){var e,t;null===(e=document.querySelector("div#lw-bubble"))||void 0===e||e.classList.add("lw-bubble-visible"),null===(t=document.querySelector("div#lw-bubble .lw-bubble-button"))||void 0===t||t.classList.add("lw-bubble-button-visible")}function So(){var e,t;null===(t=document.querySelector("div#lw-bubble .lw-bubble-button"))||void 0===t||t.classList.remove("lw-bubble-button-visible"),null===(e=document.querySelector("div#lw-bubble"))||void 0===e||e.classList.add("lw-bubble-visible");var n=document.querySelector("div#lw-bubble .lw-bubble-body");n&&(n.classList.add("lw-bubble-body-visible"),n.focus())}function Io(){var e,t;Co(),t=window.Lawwwing.config_service.get_consent_status(),document.querySelectorAll(".lw-bubble-consent-statuses [data-consent-category]").forEach((function(e){var n=e.getAttribute("data-consent-category"),o=t.find((function(e){return e.category===n}));e.querySelector(".lw-bubble-consent-status-value").classList.toggle("lw-consent-status-checked",o.wanted)})),null===(e=document.querySelector("div#lw-bubble .lw-bubble-body"))||void 0===e||e.classList.remove("lw-bubble-body-visible")}var Ao=function(){return a((function e(t){r(this,e),this.elements={},this.config=t}),[{key:"_render",value:function(e,t,n){if(void 0===n&&(n=function(){}),void 0!==this.elements[e])return this.elements[e].parentNode.replaceChild(t,this.elements[e]),this.elements[e]=t,n(t),t;var o=ut(document.body,t);return o&&(this.elements[e]=o),n(o),o}},{key:"_check_meta_status",value:function(){return null!==document.querySelector("meta[name=lw-status]")}},{key:"_set_meta_status",value:function(){this._render("meta",xt("meta",{name:"lw-status",content:"loaded"}))}},{key:"build",value:function(){var e,t=this;e=function(){if(!t._check_meta_status()){t._render("theme",function(){var e=window.Lawwwing.config.theme,t="static";t=document.body.offsetHeight<.9*document.documentElement.clientHeight?"fixed":"static";var n="100%";e.footer_max_width&&(n=e.footer_max_width);var o="font-weight: bold";"underline"===e.footer_links_hover&&(o="text-decoration: underline");var r=e.text_font_size+4,i=e.text_font_size+2,a=e.text_font_size,s=e.text_font_size-1,l=e.text_font_size-2,c=e.text_font_size-4,d=e.custom_css?e.custom_css:"";return xt("style#lw-theme",{rel:"stylesheet",type:"text/css"},"\n /* Lawwwing theme */\n :root {\n /* fonts */\n --lw-font-size-largest: ".concat(r,"px;\n --lw-font-size-large: ").concat(i,"px;\n --lw-font-size-normal: ").concat(a,"px;\n --lw-font-size-normal-1: ").concat(s,"px;\n --lw-font-size-small: ").concat(l,"px;\n --lw-font-size-smallest: ").concat(c,"px;\n\n /* colors */\n --lw-banner-color: ").concat(e.cookie_bar_text_color,";\n --lw-banner-button-color: ").concat(e.cookie_bar_button_text_color,";\n --lw-footer-color: ").concat(e.document_footer_text_color,";\n\n /* backgrounds */\n --lw-banner-bg-color: ").concat(e.cookie_bar_background_color,";\n --lw-banner-button-bg-color: ").concat(e.cookie_bar_button_background_color,";\n --lw-footer-bg-color: ").concat(e.document_footer_background_color,";\n\n /* Radius */\n --lw-button-radius: ").concat(e.button_border_radius,"px;\n\n /* Position */\n --lw-footer-position: ").concat(t,";\n\n /* Sizes */\n --lw-footer-max-width: ").concat(n,";\n\n /* Bubble */\n --lw-bubble-bg-color: ").concat(e.bubble_background_color,";\n\n /* Button Accept/Reject*/\n --lw-button1-bg-color: ").concat(e.button1_bg_color,";\n --lw-button1-text-color: ").concat(e.button1_text_color,";\n --lw-button1-border-radius: ").concat(e.button1_border_radius,"px;\n --lw-button1-border-color: ").concat(e.button1_border_color,";\n\n /* Button Configure */\n --lw-button2-bg-color: ").concat(e.button2_bg_color,";\n --lw-button2-text-color: ").concat(e.button2_text_color,";\n --lw-button2-border-radius: ").concat(e.button2_border_radius,"px;\n --lw-button2-border-color: ").concat(e.button2_border_color,";\n }\n\n /* Lawwwing global */\n #lw-modal, #lw-modal *, #lw-banner, #lw-banner * {\n font-size: var(--lw-font-size-normal);\n }\n\n #lw-modal p, #lw-banner p {\n margin: 0;\n line-height: 150%;\n }\n\n #lw-modal *:after, #lw-modal *:before, #lw-banner *:after, #lw-banner *:before {\n content: unset;\n }\n\n #lw-modal input, #lw-modal textarea, #lw-modal button, #lw-banner input, #lw-banner textarea, #lw-banner button {\n font-family: inherit\n }\n\n /* Lawwwing Buttons */\n .lw-button {\n color: var(--lw-banner-button-color) !important;\n background-color: var(--lw-banner-button-bg-color) !important;\n font-size: var(--lw-font-size-normal) !important;\n line-height: 150%;\n border: 1px solid var(--lw-banner-button-bg-color);\n border-radius: var(--lw-button-radius);\n padding: 8px !important;\n cursor: pointer;\n width: 100%;\n text-shadow: unset;\n text-align: center;\n }\n\n .lw-button:hover {\n opacity: .85;\n }\n\n .lw-button.lw-consent-accept {\n background-color: var(--lw-button1-bg-color) !important;\n color: var(--lw-button1-text-color) !important;\n border-radius: var(--lw-button1-border-radius);\n border: 1px solid var(--lw-button1-border-color);\n }\n\n .lw-button.lw-consent-reject {\n background-color: var(--lw-button1-bg-color) !important;\n color: var(--lw-button1-text-color) !important;\n border-radius: var(--lw-button1-border-radius);\n border: 1px solid var(--lw-button1-border-color);\n }\n\n .lw-button.lw-consent-edit, .lw-button.lw-consent-save {\n background-color: var(--lw-button2-bg-color) !important;\n color: var(--lw-button2-text-color) !important;\n border-radius: var(--lw-button2-border-radius);\n border: 1px solid var(--lw-button2-border-color);\n }\n\n @media only screen and (max-width:600px) {\n .lw-button {\n padding: 13px !important;\n }\n }\n\n /* Footer links hover */\n #lw-footer div.lw-document-open:hover,\n #lw-footer div.lawwwing-document-open:hover,\n #lw-footer div.lawwwing-consent-edit:hover,\n #lw-footer div.lw-consent-edit:hover {\n ").concat(o,";\n }\n\n /* Accessibility */\n .lw-button:focus-visible {\n outline: 2px solid #00f;\n outline-offset: 2px;\n }\n\n #lw-banner a:focus-visible, #lw-banner span:focus-visible,\n #lw-modal a:focus-visible, #lw-modal span:focus-visible, #lw-modal div:focus-visible,\n #lw-document a:focus-visible, #lw-document span:focus-visible {\n outline: 2px solid #00f;\n outline-offset: 1px;\n }\n\n /* Custom CSS */\n ").concat(d,"\n "))}());var e=[].concat(h(["#lw-banner,#lw-banner *,#lw-modal,#lw-modal *{font-size:var(--lw-font-size-normal)}#lw-banner p,#lw-modal p{line-height:150%;margin:0}#lw-banner :after,#lw-banner :before,#lw-bubble :after,#lw-bubble :before,#lw-footer :after,#lw-footer :before,#lw-modal :after,#lw-modal :before{content:unset}"]),h(window.Lawwwing.config.is_display_mode_dialog()?["#lw-banner,#lw-banner *{box-sizing:border-box;font-size:var(--lw-font-size-normal)}@keyframes lw-fade-in{0%{opacity:0;visibility:hidden}50%{opacity:.5;visibility:visible}to{opacity:1;visibility:visible}}#lw-banner{animation:lw-fade-in .2s ease-in-out;background-color:var(--lw-banner-bg-color);border-radius:6px;box-shadow:0 32px 68px rgba(0,0,0,.3);box-sizing:border-box;color:var(--lw-banner-color);display:none;font-family:inherit;height:auto;left:50%;letter-spacing:.1px;line-height:150%;max-height:calc(100% - 2rem);max-width:900px;opacity:0;outline:0;overflow:hidden;position:fixed;text-align:initial;top:50%;transform:translate(-50%,-50%);transition:opacity .2s ease-in-out;visibility:hidden;width:calc(100% - 2rem);z-index:2147483631}#lw-banner.lw-banner-visible{display:flex;opacity:1;visibility:visible}#lw-banner .lw-banner-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-header{align-items:center;border-bottom:4px solid var(--lw-button1-bg-color);color:var(--lw-banner-color);display:flex;font-weight:700;justify-content:center;padding:1em 0;position:relative;text-align:center}#lw-banner .lw-banner-wrapper .lw-banner-header .lw-banner-header-brand{align-items:center;display:flex;justify-self:flex-start;left:0;padding:10px 25px;position:absolute}#lw-banner .lw-banner-wrapper .lw-banner-header .lw-banner-header-brand img{height:auto;max-height:40px;max-width:150px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}#lw-banner .lw-banner-wrapper .lw-banner-brand{display:none}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper{flex-grow:1;padding:0!important}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper .lw-banner-text{background-color:var(--lw-banner-bg-color);border-bottom:1px solid #d8d8d8;color:var(--lw-banner-color);overflow-y:hidden;padding:1em;text-align:justify;white-space:pre-line}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper .lw-banner-text>a,#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper .lw-banner-text>span{color:var(--lw-banner-color);cursor:pointer;text-decoration:underline}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper{display:flex;padding:1em}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons{display:flex;flex-grow:1;gap:.25em}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons .lw-button{padding:.5em 1em!important}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-iab-tcf-id span{color:#858fa0;font-size:var(--lw-font-size-small)}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-text{border-bottom:none;padding-bottom:.2em}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-purposes{padding:0 1em;text-align:justify}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-iab-tcf-id span{color:#858fa0;font-size:var(--lw-font-size-small);margin-left:.2em;margin-top:3px}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-purposes p span{font-size:var(--lw-font-size-normal)!important}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-tcf-id{display:none}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper{flex-direction:column;padding-bottom:.5em}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-iab-tcf-id{align-items:center;display:flex;margin:.5em auto auto}@media only screen and (max-width:992px){#lw-banner{width:95%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons{flex-direction:column}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper{max-height:50vh;overflow-y:scroll}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar,#lw-modal .lw-modal-wrapper::-webkit-scrollbar{width:5px!important}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-track,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-track{background-color:#f7f7f7}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-thumb,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#c4c4c4;border:1px solid #c4c4c4;border-radius:5px}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-thumb:hover,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb:hover{background-color:#a8bbbf}}"]:["#lw-banner,#lw-banner *{box-sizing:border-box;font-size:var(--lw-font-size-normal)}#lw-banner{background-color:var(--lw-banner-bg-color);bottom:0;color:var(--lw-banner-color);font-family:inherit;left:0;line-height:150%;outline:0;padding:2em 1em;position:fixed;transform:translateY(100%);transition:transform .6s ease-in-out;transition-delay:.1s;width:100%;z-index:2147483640}#lw-banner.lw-banner-visible{display:block;transform:translateY(0)}#lw-banner .lw-banner-wrapper{display:flex;flex-wrap:nowrap;justify-content:space-between;margin:0 auto;max-width:1400px}#lw-banner .lw-banner-wrapper.lw-iab{margin:.5em 1em;max-width:unset}#lw-banner .lw-banner-wrapper .lw-banner-header{display:none}#lw-banner .lw-banner-wrapper .lw-banner-brand{align-items:center;display:flex;padding:10px 25px}#lw-banner .lw-banner-wrapper .lw-banner-brand img{height:auto;max-height:60px;max-width:150px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper{flex-grow:1;padding:0!important}#lw-banner .lw-banner-wrapper .lw-banner-text{background-color:var(--lw-banner-bg-color);color:var(--lw-banner-color);overflow-y:hidden;padding:0;white-space:pre-line}#lw-banner .lw-banner-wrapper .lw-banner-text>a,#lw-banner .lw-banner-wrapper .lw-banner-text>span{color:var(--lw-banner-color);cursor:pointer;text-decoration:underline}#lw-banner .lw-banner-wrapper .lw-banner-text span.lw-banner-vendor-count{font-size:var(--lw-font-size-smallest)!important;text-decoration:none}#lw-banner .lw-banner-wrapper .lw-banner-iab-purposes{padding:0;text-align:justify}#lw-banner .lw-banner-wrapper .lw-banner-iab-purposes p span{font-size:var(--lw-font-size-normal)!important}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-iab-tcf-id span{color:#858fa0;font-size:var(--lw-font-size-small)}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-tcf-id{display:block}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-iab-tcf-id{display:none}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between;margin-left:32px!important}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons{align-items:center;align-self:center;color:#fff;display:flex;flex-direction:row;white-space:nowrap}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button{margin-right:8px;min-width:180px;text-align:center;width:unset}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button:last-child{margin-right:0!important}@media only screen and (max-width:1400px){#lw-banner .lw-banner-wrapper.lw-iab{margin:0}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text{max-width:unset}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-tcf-id{display:none}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-iab-tcf-id{display:unset;margin-top:1em;text-align:center;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper{margin-left:16px!important;width:100%}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-buttons{display:flex;flex-direction:column;width:100%}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-buttons button{width:100%}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-edit{margin-right:0;margin-top:8px;order:2}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-reject{margin-right:0;margin-top:8px;order:1}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-accept{margin-right:0;margin-top:8px;order:0}}@media only screen and (max-width:992px){#lw-banner .lw-banner-wrapper{flex-direction:column}#lw-banner .lw-banner-wrapper.lw-iab{margin:0}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text{max-width:unset}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-text-wrapper .lw-banner-iab-tcf-id{display:none}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-buttons-wrapper .lw-banner-iab-tcf-id{display:unset;margin-top:1em;text-align:center;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-brand{padding:10px 0}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper{margin-left:0!important;margin-top:10px;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons{display:flex;flex-direction:row;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button{width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-edit{margin-right:8px;margin-top:8px;order:0}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-reject{margin-right:8px;margin-top:8px;order:1}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button.lw-consent-accept{margin-right:8px;margin-top:8px;order:2}}@media only screen and (max-width:600px){#lw-banner .lw-banner-wrapper{flex-wrap:wrap}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper{max-height:50vh;overflow-y:scroll}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar,#lw-modal .lw-modal-wrapper::-webkit-scrollbar{width:5px!important}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-track,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-track{background-color:#f7f7f7}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-thumb,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#c4c4c4;border:1px solid #c4c4c4;border-radius:5px}#lw-banner .lw-banner-wrapper .lw-banner-text-wrapper::-webkit-scrollbar-thumb:hover,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb:hover{background-color:#a8bbbf}#lw-banner .lw-banner-wrapper .lw-banner-iab-purposes,#lw-banner .lw-banner-wrapper .lw-banner-text{max-width:unset;padding:0;width:100%}#lw-banner .lw-banner-wrapper.lw-iab{margin:0}#lw-banner .lw-banner-wrapper.lw-iab .lw-banner-iab-purposes{padding-right:0}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper{margin-top:20px;padding:0;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons{flex-direction:column;width:100%}#lw-banner .lw-banner-wrapper .lw-banner-buttons-wrapper .lw-banner-buttons button{margin-right:0!important;min-width:unset}}"]),h(['#lw-modal{align-items:center;background-color:rgba(0,0,0,.6);color:#666;display:none;font-family:inherit;font-size:var(--lw-font-size-normal);height:100vh;inset:0;justify-content:center;line-height:150%;position:fixed;width:100vw;z-index:2147483641}#lw-modal.lw-modal-visible{display:flex}@media only screen and (max-width:600px){#lw-modal{height:100%}}#lw-modal .lw-modal-wrapper{overflow-Y:auto;overflow-X:hidden;background-color:var(--lw-banner-bg-color);border-radius:5px;color:var(--lw-banner-color);max-height:90vh;max-width:50vw}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body::-webkit-scrollbar,#lw-modal .lw-modal-wrapper::-webkit-scrollbar{width:5px!important}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body::-webkit-scrollbar-track,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-track{background-color:#f7f7f7!important}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body::-webkit-scrollbar-thumb,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb{background-clip:content-box!important;background-color:#c4c4c4!important;border:1px solid #c4c4c4!important;border-radius:5px!important}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body::-webkit-scrollbar-thumb:hover,#lw-modal .lw-modal-wrapper::-webkit-scrollbar-thumb:hover{background-color:#a8bbbf!important}@media only screen and (max-width:600px){#lw-modal .lw-modal-wrapper{height:100%;max-height:100vh!important;max-width:100vw!important}}@media only screen and (min-width:600px) and (max-width:1200px){#lw-modal .lw-modal-wrapper{max-height:90vh;max-width:80vw}}#lw-modal .lw-modal-wrapper .lw-modal-header{display:flex;flex-wrap:wrap;justify-content:space-between;padding:1em 2em 0}#lw-modal .lw-modal-wrapper .lw-modal-header .lw-modal-client-logo{align-items:center;display:flex;gap:5px}#lw-modal .lw-modal-wrapper .lw-modal-header .lw-modal-client-logo img{height:auto;max-height:60px;max-width:150px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}#lw-modal .lw-modal-wrapper .lw-modal-header .lw-modal-lawwwing-logo span{color:gray;font-size:7px;margin-right:.3em}#lw-modal .lw-modal-wrapper .lw-modal-header .lw-modal-lawwwing-logo{align-items:center;display:flex;gap:5px}#lw-modal .lw-modal-wrapper .lw-modal-header .lw-modal-lawwwing-logo img{display:inline;filter:grayscale(1);height:18px;vertical-align:middle;width:101px}#lw-modal .lw-modal-wrapper .lw-modal-tabs{border-bottom:1px solid #d8d8d8;display:flex;flex-flow:row wrap;justify-content:space-around}#lw-modal .lw-modal-wrapper .lw-modal-tabs .lw-modal-tab{flex:1 1 0%;font-weight:700;padding:1em 2em;text-align:center}#lw-modal .lw-modal-wrapper .lw-modal-tabs .lw-modal-tab span{font-size:var(--lw-font-size-large);font-weight:600}#lw-modal .lw-modal-wrapper .lw-modal-tabs .lw-modal-tab:hover{color:var(--lw-banner-color);cursor:pointer}#lw-modal .lw-modal-wrapper .lw-modal-tabs .lw-modal-tab.lw-modal-tab-selected{border-bottom:4px solid var(--lw-button1-bg-color);color:var(--lw-banner-color)}#lw-modal .lw-modal-content.lw-modal-content-hidden{display:none}#lw-modal .lw-modal-content .lw-modal-content-heading{border-bottom:1px solid #d8d8d8;padding:1em 2em;position:relative}#lw-modal .lw-modal-content .lw-modal-content-heading p{white-space:pre-line}#lw-modal .lw-modal-content .lw-modal-content-heading p a,#lw-modal .lw-modal-content .lw-modal-content-heading p span{cursor:pointer;text-decoration:underline}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details{display:flex;flex-direction:column;padding:0}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-show{align-self:flex-end;cursor:pointer;font-size:var(--lw-font-size-small)}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-show:hover{text-decoration:underline}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-content{background-color:#e9e9e9;border-radius:5px;display:none;padding:.5em 1em}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-content.open{display:flex}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-content .lw-modal-session-details-key{font-size:var(--lw-font-size-small);font-weight:700}#lw-modal .lw-modal-content .lw-modal-content-heading .lw-modal-session-details .lw-modal-session-details-content .lw-modal-session-details-value{font-size:var(--lw-font-size-small);font-weight:400}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab{border-bottom:1px solid #d8d8d8;margin:0}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab .lw-category-tab-head{color:var(--lw-banner-color);cursor:pointer;font-weight:600;margin:0;padding:17px 35px 17px 56px;position:relative;transition:background-color .5s ease-out}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab .lw-category-tab-head:hover{opacity:.8}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab .lw-category-tab-head:before{color:#e56385;content:"\\00D7"!important;display:inline-block;font-size:1.4em;font-weight:600;left:35px;margin-right:20px;position:absolute}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab.lw-checked .lw-category-tab-head:before{color:#28a834;content:"\\2714"!important;font-size:1em}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab .lw-category-tab-head .lw-category-tab-chevron{position:absolute;right:25px;top:50%;transform:rotate(0deg);transform:translateY(-50%);transform-origin:16px 6px 0;transition:transform .3s ease-out}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab.lw-category-tab-open .lw-category-tab-head .lw-category-tab-chevron{transform:rotate(-180deg)}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab .lw-category-tab-content{display:none;margin:0;padding:25px 35px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab.lw-category-tab-open .lw-category-tab-head{background-color:var(--lw-banner-bg-color)}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab.lw-category-tab-open .lw-category-tab-content{display:flex}@media only screen and (max-width:600px){#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab.lw-category-tab-open .lw-category-tab-content{flex-direction:column}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left{margin-bottom:20px}}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch-component{align-items:center;display:flex;margin-right:35px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch-component>div{font-weight:600;word-break:normal}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch-wrapper{height:20px;margin:0 10px;position:relative;width:40px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch{display:inline-block;height:20px;position:absolute;right:0;top:0;width:40px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch input{display:none}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch .lw-category-switch-slider{background-color:#ccc;border-radius:10px;cursor:pointer;inset:0;position:absolute;transition:.4s}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch .lw-category-switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:12px;left:4px;position:absolute;transition:.4s;width:12px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch input:checked+.lw-category-switch-slider{background-color:#28a834}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch input:focus+.lw-category-switch-slider{box-shadow:0 0 1px #28a834}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-left .lw-category-switch input:checked+.lw-category-switch-slider:before{transform:translateX(20px)}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right p.lw-category-name{color:var(--lw-banner-text-color);font-size:var(--lw-font-size-large);line-height:1;margin-bottom:10px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right p.lw-category-description{color:var(--lw-banner-text-color);margin-bottom:0;opacity:.85}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right .lw-category-providers:not(:empty){margin-top:10px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right .lw-category-providers .lw-category-provider-title{color:var(--lw-banner-color);font-weight:600}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right .lw-category-providers>ul{margin:5px 0 0;padding:0 0 0 16px}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right .lw-category-providers>ul>li{font-weight:700;margin:5px 0 0}#lw-modal .lw-modal-content .lw-modal-content-body .lw-category-tab-content .lw-category-tab-content-right .lw-category-providers>ul>ul.lw-category-provider-cookies{font-weight:400;margin:0;padding:0 0 0 24px}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons{background-color:var(--lw-banner-bg-color);color:var(--lw-banner-color);display:flex;padding:35px}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons .lw-modal-content-footer-button{flex:1 1 0%;margin-right:10px}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons .lw-modal-content-footer-button button{min-width:110px!important;text-align:center}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-suffix{display:flex;justify-content:center;padding:0 2em 1em;position:relative}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-suffix .lw-modal-gcm-badge{align-items:center;display:flex;gap:.2em}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-suffix .lw-modal-gcm-badge span{font-size:var(--lw-font-size-small)}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-suffix .lw-modal-gcm-badge a{color:#666;font-size:var(--lw-font-size-small)}@media only screen and (max-width:850px){#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons{flex-wrap:wrap;order:1}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons .lw-modal-content-footer-button{flex-basis:100%;margin:0}#lw-modal .lw-modal-content .lw-modal-content-footer .lw-modal-content-footer-buttons .lw-modal-content-footer-button button{margin:10px 0 0}}','#lw-modal .lw-modal-wrapper .lw-modal-subtabs{border-bottom:1px solid #d8d8d8;display:flex;flex-flow:row wrap;justify-content:space-around}#lw-modal .lw-modal-content .lw-modal-subtabs .lw-modal-subtab{flex:1 1 0%;font-weight:700;padding:1em 2em;text-align:center}#lw-modal .lw-modal-content .lw-modal-subtabs .lw-modal-subtab span{font-size:var(--lw-font-size-normal);font-weight:600}#lw-modal .lw-modal-content .lw-modal-subtabs .lw-modal-subtab:hover{color:var(--lw-banner-color);cursor:pointer}#lw-modal .lw-modal-content .lw-modal-subtabs .lw-modal-subtab.lw-modal-subtab-selected{border-bottom:4px solid var(--lw-button1-bg-color);color:var(--lw-banner-color)}#lw-modal .lw-modal-content .lw-modal-subtab-content.lw-modal-subtab-content-hidden{display:none}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-heading{border-bottom:1px solid #d8d8d8;padding:1em 2em;position:relative}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-heading p{white-space:pre-line}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-heading .lw-modal-cmp-disclosure-description{font-size:var(--lw-font-size-small)}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-heading p a,#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-heading p span{cursor:pointer;text-decoration:underline}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body{border-bottom:1px solid #d8d8d8;height:50vh;overflow-y:scroll;padding:.5em 1em}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body .lw-modal-subtab-content-buttons{display:flex;justify-content:flex-end}#lw-modal .lw-modal-content .lw-modal-subtab-content .lw-modal-subtab-content-body .lw-modal-subtab-content-buttons button{background-color:var(--lw-banner-bg-color);border:0;color:var(--lw-banner-color);cursor:pointer;font-size:var(--lw-font-size-normal);line-height:150%;padding:5px!important;text-decoration:underline}#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons{background-color:var(--lw-banner-bg-color);color:var(--lw-banner-color);display:flex;padding:35px}#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons .lw-modal-cmp-footer-button{flex:1 1 0%;margin-right:10px}#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons .lw-modal-cmp-footer-button button{min-width:110px!important;padding:13px!important}@media only screen and (max-width:850px){#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons{flex-wrap:wrap;order:1}#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons .lw-modal-cmp-footer-button{flex-basis:100%;margin:0}#lw-modal .lw-modal-content .lw-modal-cmp-footer .lw-modal-cmp-footer-buttons .lw-modal-cmp-footer-button button{margin:10px 0 0}}@media only screen and (max-width:600px){#lw-modal .lw-modal-content .lw-modal-subtabs .lw-modal-subtab{padding:.5em 1em}}.lw-cmp-wrapper{display:flex;flex-direction:row;justify-content:space-between;margin-top:.5em}.lw-cmp-wrapper .lw-iab-cmp{padding:.5em}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-name{font-size:var(--lw-font-size-normal)!important;font-weight:700}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-description{font-size:var(--lw-font-size-small)!important}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-description p>span.lw-iab-cmp-expand-illustrations{cursor:pointer;font-size:var(--lw-font-size-small)!important;margin-left:2px;text-decoration:underline}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-illustrations{display:none}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-illustrations.show{background-color:#e3e4e5;border-radius:5px;display:flex;font-size:var(--lw-font-size-small)!important;margin:.5em 0;padding:.5em}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-vendors{cursor:pointer;font-size:var(--lw-font-size-small)!important;margin-top:5px}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-vendors-list{display:none}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-vendors-list a{color:var(--lw-banner-color);font-size:var(--lw-font-size-small)!important}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-vendors-list li{margin-left:.5em}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-vendors-list.show{background-color:var(--lw-banner-bg-color);border:1px solid var(--lw-banner-color);border-radius:5px;display:flex;font-size:var(--lw-font-size-small)!important;margin:.5em 0;max-height:15vh;overflow-y:scroll;padding:.5em}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-details-wrapper{display:flex;flex-direction:column}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-details-wrapper *{font-size:var(--lw-font-size-small)!important}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-details-wrapper .lw-iab-cmp-details{cursor:pointer}.lw-cmp-wrapper .lw-iab-cmp .lw-iab-cmp-details-wrapper .lw-iab-cmp-policy{color:var(--lw-banner-color);cursor:pointer;margin-left:5px;text-decoration:underline}.lw-cmp-wrapper .lw-iab-cmp-vendor-consents{display:flex;flex-direction:row;padding:.5em}.lw-cmp-wrapper .lw-iab-cmp-vendor-consents .lw-iab-cmp-switch-component{display:flex;flex-direction:column;font-size:var(--lw-font-size-small)!important;padding:.2em 0 0}.lw-iab-cmp-vendor-show-details{background-color:var(--lw-banner-bg-color);border:1px solid var(--lw-banner-color);border-radius:5px;display:flex;margin-left:.5em;padding:.5em}.lw-iab-cmp-vendor-show-details.hidden{display:none}.lw-iab-cmp-vendor-show-details *{font-size:var(--lw-font-size-small)!important}.lw-iab-cmp-vendor-show-details li{margin-left:1em}.lw-iab-cmp-vendor-show-details p{font-weight:700}.lw-iab-cmp-vendor-show-details .lw-iab-cmp-vendor-storage p{font-weight:400}.lw-iab-cmp-vendor-show-details a.lw-iab-cmp-policy-legint{color:#666;cursor:pointer;font-weight:400;margin-left:5px;text-decoration:underline}.lw-iab-cmp-switch-component{align-items:center;display:flex;margin-right:35px}.lw-iab-cmp-switch-component>div{font-size:var(--lw-font-size-small)!important;font-weight:600;white-space:nowrap}.lw-iab-cmp-switch-component .lw-iab-cmp-switch-wrapper{height:20px;margin:0 10px;position:relative;width:40px}.lw-iab-cmp-switch{display:inline-block;height:20px;position:absolute;right:0;top:0;width:40px}.lw-iab-cmp-switch input{display:none}.lw-iab-cmp-switch .lw-iab-cmp-switch-slider{background-color:#ccc;border-radius:10px;cursor:pointer;inset:0;position:absolute;transition:.4s}.lw-iab-cmp-switch .lw-iab-cmp-switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:""!important;height:12px;left:4px;position:absolute;transition:.4s;width:12px}.lw-iab-cmp-switch input:checked+.lw-iab-cmp-switch-slider{background-color:#28a834}.lw-iab-cmp-switch input:focus+.lw-iab-cmp-switch-slider{box-shadow:0 0 1px #28a834}.lw-iab-cmp-switch input:checked+.lw-iab-cmp-switch-slider:before{transform:translateX(20px)}@media only screen and (max-width:850px){.lw-cmp-wrapper{flex-wrap:wrap}.lw-cmp-wrapper .lw-iab-cmp{flex-basis:100%}.lw-iab-cmp-switch-component{padding:.5em}.lw-iab-cmp-vendor-consents{flex-wrap:wrap}.lw-iab-cmp-vendor-consents .lw-iab-cmp-switch-component{flex-basis:100%;flex-direction:row!important}}']),h(["@media only screen and (max-width:600px){#lw-document .lw-document-content{height:100%!important;width:100%!important}}#lw-document{-webkit-touch-callout:none;align-items:center;background-color:rgba(0,0,0,.6);color:#666;display:none;flex-direction:column;font-family:inherit;font-size:var(--lw-font-size-normal);height:100vh;inset:0;justify-content:center;line-height:150%;position:fixed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100vw;z-index:2147483648}#lw-document :after,#lw-document :before{content:unset}#lw-document *,#lw-document button,#lw-document input,#lw-document textarea{font-family:inherit}#lw-document.lw-modal-visible{display:flex}@media only screen and (max-width:800px){#lw-document .lw-document-close{right:0;top:0}}#lw-document .lw-document-content{background-clip:padding-box;background-color:var(--lw-banner-bg-color);border:1px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:0 3px 7px rgba(0,0,0,.3);color:var(--lw-banner-color);display:flex;flex-direction:column;height:90%;max-width:75em;padding:0 15px 15px;width:90%}#lw-document .lw-document-frame{height:100%;width:100%}#lw-document .lw-document-header{border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding:1em}#lw-document .lw-document-header .lw-document-language-selector{max-width:150px}#lw-document .lw-document-header>button{align-items:center;background-color:var(--lw-button1-bg-color);border:1px solid var(--lw-button1-border-color);border-radius:var(--lw-button1-border-radius);color:var(--lw-button1-text-color);cursor:pointer;display:flex;font-weight:700;padding:10px 32px;text-shadow:unset;width:unset}#lw-document .lw-document-header>button:hover{opacity:.8}select#lawwwing-document-languages{-webkit-appearance:unset;-moz-appearance:unset;appearance:unset;background-color:var(--lw-button1-bg-color);background-image:unset;background-position-x:unset;background-repeat:unset;background-size:unset;border-color:var(--lw-button1-border-color);color:var(--lw-button1-text-color);cursor:pointer;font-weight:700;line-height:normal;padding:10px 20px;width:100%}"]),h(["#lw-footer,#lw-footer *{font-size:var(--lw-font-size-normal)}#lw-footer{align-items:center;bottom:0;position:var(--lw-footer-position)}#lw-footer,#lw-footer .lw-footer-wrapper{display:flexbox;display:flex;justify-content:center;width:100%}#lw-footer .lw-footer-wrapper{background-color:var(--lw-footer-bg-color);color:var(--lw-footer-color);flex-wrap:wrap;margin:0 auto;max-width:var(--lw-footer-max-width);padding:.5em 0}#lw-footer #lw-footer,#lw-footer div.lawwwing-consent-edit,#lw-footer div.lawwwing-document-open,#lw-footer div.lw-consent-edit{color:var(--lw-footer-color);margin-right:1em;text-decoration:none}#lw-footer #lw-footer,#lw-footer div.lawwwing-consent-edit:hover,#lw-footer div.lawwwing-document-open:hover,#lw-footer div.lw-consent-edit:hover{cursor:pointer}@media only screen and (max-width:600px){#lw-footer .lw-footer-wrapper{flex-direction:column}#lw-footer #lw-footer,#lw-footer div.lawwwing-consent-edit,#lw-footer div.lawwwing-document-open,#lw-footer div.lw-consent-edit{margin:.5em 0;text-align:center}}"]),h(['#lw-bubble{cursor:pointer;opacity:0;position:fixed;z-index:2147483631}#lw-bubble.lw-bubble-visible{opacity:1}#lw-bubble.bottom-right{bottom:10px;right:10px}#lw-bubble.bottom-left{bottom:10px;left:10px}#lw-bubble.top-right{right:10px;top:10px}#lw-bubble.top-left{left:10px;top:10px}#lw-bubble .lw-bubble-button{word-wrap:break-word;background-color:var(--lw-bubble-bg-color);border:0;border-radius:40px;box-shadow:0 2px 16px rgba(2,6,16,.2);cursor:pointer;display:flex;font-family:Helvetica,Arial,sans-serif;justify-content:center;line-height:1.5;min-height:48px;min-width:48px;opacity:0;pointer-events:none;word-break:break-word}#lw-bubble .lw-bubble-button.lw-bubble-button-visible{opacity:1;pointer-events:auto}#lw-bubble .lw-bubble-button.lw-bubble-button-visible:hover{transform:scale(1.1)}#lw-bubble .lw-bubble-button .lw-bubble-icon{align-items:center;display:flex;justify-content:center}#lw-bubble .lw-bubble-body{background-color:var(--lw-banner-bg-color);border-radius:8px;box-shadow:0 30px 70px rgba(0,0,0,.3);display:none;max-height:calc(100vh - 10px);max-width:100vw;min-width:360px;opacity:0;transition:all 1s ease}#lw-bubble .lw-bubble-body.lw-bubble-body-visible{display:block;opacity:1;pointer-events:auto}#lw-bubble .lw-bubble-body .lw-bubble-header{align-items:center;background-color:var(--lw-banner-bg-color);border-bottom:4px solid var(--lw-button1-bg-color);border-top-left-radius:8px;border-top-right-radius:8px;color:var(--lw-banner-color);display:flex;justify-content:space-between;padding:1.25em 1.25em .6em}#lw-bubble .lw-bubble-body .lw-bubble-header .lw-bubble-title{font-size:var(--lw-font-size-normal);font-weight:700}#lw-bubble .lw-bubble-body .lw-bubble-header .lw-bubble-close{font-size:var(--lw-font-size-normal)}#lw-bubble .lw-bubble-body .lw-bubble-content{padding:.5em 1.25em}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-header{color:var(--lw-banner-color);font-size:var(--lw-font-size-normal);font-weight:700;padding:.25em 0}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-statuses{color:var(--lw-banner-color);display:flex;flex-direction:column}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-statuses .lw-bubble-consent-status{align-items:center;display:flex;gap:5px;line-height:1em;padding:5px 0}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-statuses .lw-bubble-consent-status .lw-bubble-consent-status-value:before{color:#e56385;content:"\\00D7"!important;font-family:monospace;font-size:1.4em;font-weight:600}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-statuses .lw-bubble-consent-status .lw-bubble-consent-status-value.lw-consent-status-checked:before{color:#28a834;content:"\\2714"!important;font-family:monospace;font-size:1em;margin-left:1px}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-consent-statuses .lw-bubble-consent-status .lw-bubble-consent-status-label{font-size:var(--lw-font-size-normal)}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-header{color:var(--lw-banner-color);font-size:var(--lw-font-size-normal);font-weight:700;padding:.25em 0}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-list{display:flex;flex-direction:column}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-list .lw-bubble-document{align-items:center;color:var(--lw-banner-color);display:flex;gap:5px;line-height:1em;padding:5px 0}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-list .lw-bubble-document .lw-bubble-document-icon{font-size:1em;vertical-align:middle}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-list .lw-bubble-document div.lawwwing-document-open{font-size:var(--lw-font-size-normal)}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-documents .lw-bubble-documents-list .lw-bubble-document div.lawwwing-document-open:hover{text-decoration:underline}#lw-bubble .lw-bubble-body .lw-bubble-footer{background-color:var(--lw-banner-bg-color);border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-top:1px solid #e0e0e0;color:var(--lw-banner-color);display:flex;flex-direction:column;justify-content:space-between;padding:.75em 1.25em}#lw-bubble .lw-bubble-body .lw-bubble-footer .lw-bubble-footer-powered-by{align-items:center;display:flex;justify-content:end;padding-bottom:0;padding-top:.75em}#lw-bubble .lw-bubble-body .lw-bubble-footer .lw-bubble-footer-powered-by img{display:inline;filter:grayscale(1);height:10px;vertical-align:middle;width:56px}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-branding{display:flex;flex-direction:column;padding:.5em 0}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-branding .lw-bubble-branding-content{align-items:flex-end;display:flex;flex-direction:column}#lw-bubble .lw-bubble-body .lw-bubble-content .lw-bubble-branding .lw-bubble-branding-content img{height:auto;max-height:60px;max-width:150px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}@media only screen and (max-width:400px){#lw-bubble .lw-bubble-body{min-width:100%}}']));t._render("stylesheet",xt("style#lw-stylesheet",{rel:"stylesheet",type:"text/css"},e.join(" "))),t._render("banner",ho(),(function(){window.Lawwwing.config.loaded_from_storage||setTimeout((function(){mo()}),window.Lawwwing.config.features.timeout)})),t._render("modal",wo()),t._render("footer",function(){var e=[],t=window.Lawwwing.config;if(!1===t.features.autofooter)return z("Footer disabled 'features.autofooter === false'"),xt("");var n=t.documents;return Object.keys(n).forEach((function(o){e.push(xt("div.lawwwing-document-open."+o,t.get_document_field_by_language(n[o],t.language,"title")))})),e.push(xt("div.lw-consent-edit",Ut("dialog_configure_text"))),xt("div#lw-footer",xt("div.lw-footer-wrapper",e),{"data-nosnippet":!0})}()),t._render("bubble",function(){if(!1===window.Lawwwing.config.features.bubble_enabled)return xt("");var e=window.Lawwwing.config_service.get_documents_key_and_title(),t=[];e.forEach((function(e){t.push(xt("div.lw-bubble-document",xt("div.lw-bubble-document-icon",String.fromCodePoint(128441)),xt("div.lawwwing-document-open."+e.key,e.title)))}));var n=window.Lawwwing.config_service.get_consent_status(),o=[];n.forEach((function(e){o.push(xt("div.lw-bubble-consent-status",{"data-consent-category":e.category},xt("div.lw-bubble-consent-status-value"+(e.wanted?".lw-consent-status-checked":"")),xt("div.lw-bubble-consent-status-label",e.name)))}));var r=uo(),i=window.Lawwwing.config.get_is_white_label(),a=window.Lawwwing.config.theme.bubble_icon_color,s=window.Lawwwing.config.theme.bubble_position;return xt("div#lw-bubble."+s,[xt("div.lw-bubble-button",xt("div.lw-bubble-icon",Lt("svg",{width:"28px",height:"28px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Lt("path",{d:"M9 12L11 14L15 9.99999M20 12C20 16.4611 14.54 19.6937 12.6414 20.683C12.4361 20.79 12.3334 20.8435 12.191 20.8712C12.08 20.8928 11.92 20.8928 11.809 20.8712C11.6666 20.8435 11.5639 20.79 11.3586 20.683C9.45996 19.6937 4 16.4611 4 12V8.21759C4 7.41808 4 7.01833 4.13076 6.6747C4.24627 6.37113 4.43398 6.10027 4.67766 5.88552C4.9535 5.64243 5.3278 5.50207 6.0764 5.22134L11.4382 3.21067C11.6461 3.13271 11.75 3.09373 11.857 3.07827C11.9518 3.06457 12.0482 3.06457 12.143 3.07827C12.25 3.09373 12.3539 3.13271 12.5618 3.21067L17.9236 5.22134C18.6722 5.50207 19.0465 5.64243 19.3223 5.88552C19.566 6.10027 19.7537 6.37113 19.8692 6.6747C20 7.01833 20 7.41808 20 8.21759V12Z",stroke:a,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})))),xt("div.lw-bubble-body",[xt("div.lw-bubble-header",[xt("div.lw-bubble-title",Ut("dialog_configure_text")),xt("div.lw-bubble-close",{tabindex:0},Lt("svg",{version:"1.2",preserveAspectRatio:"none",viewBox:"0 0 24 24",style:"opacity: 1; mix-blend-mode: normal; fill: var(--lw-banner-color); width: 1rem; height: 1rem;"},Lt("path",{d:"M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01 l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47 c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24 l0,0H17.2z",style:"fill: var(--lw-banner-color);"})))]),xt("div.lw-bubble-content",o.length>0?xt("div.lw-bubble-consent",xt("div.lw-bubble-consent-header",Ut("bubble_consent_header")),xt.apply(void 0,["div.lw-bubble-consent-statuses"].concat(o))):null,t.length>0?xt("div.lw-bubble-documents",xt("div.lw-bubble-documents-header",Ut("bubble_documents_header")),xt.apply(void 0,["div.lw-bubble-documents-list"].concat(t))):null,xt("div.lw-bubble-branding",xt("div.lw-bubble-branding-content",r))),xt("div.lw-bubble-footer",[xt("button.lw-button.lw-consent-edit",Ut("dialog_configure_text")),i?null:xt("div.lw-bubble-footer-powered-by",xt("img",{src:"https://cdn.lawwwing.com/static/assets/img/logos/horizontal/resized/logo_color1_18.webp",alt:"Lawwwing logo",height:10}))])])])}(),(function(){window.Lawwwing.config.loaded_from_storage&&Co()})),t._set_meta_status()}t._setup_event_listeners()},(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}},{key:"_setup_event_listeners",value:function(){var e,t;go(),_o(),ko(),Eo(),null===(e=document.querySelector(".lw-bubble-button"))||void 0===e||e.addEventListener("click",So),null===(t=document.querySelector(".lw-bubble-close"))||void 0===t||t.addEventListener("click",Io)}},{key:"close",value:function(){bo(),vo(),Co(),Io()}}])}(),Oo=function(){return a((function e(){r(this,e)}),[{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;z("[sdk] showing layer ".concat(e)),this._toggle_layer(e,!0)}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;z("[sdk] hiding layer ".concat(e)),this._toggle_layer(e,!1)}},{key:"renew",value:function(){this.show(2)}},{key:"document",value:function(e){var t,n=this;return e?"string"!=typeof e?(z("[sdk] Document is not a string"),{open:function(){},close:function(){}}):(null===(t=window.Lawwwing)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.documents)||void 0===t?void 0:t[e])?{open:function(){return z("[sdk] opening document ".concat(e)),Lo(e),n},close:function(){var t,o,r;return z("[sdk] closing document ".concat(e)),t=e,o=window.Lawwwing.ui,r="document-modal-".concat(t),o.elements[r]&&o.elements[r].classList.remove("lw-modal-visible"),n}}:(z("[sdk] Document ".concat(e," not found")),{open:function(){},close:function(){}}):(z("[sdk] No document provided"),{open:function(){},close:function(){}})}},{key:"_toggle_layer",value:function(e,t){var n={1:t?mo:vo,2:t?po:bo}[e];n?n():z("[sdk] No action defined for layer ".concat(e))}}])}(),To=function(){return a((function e(){r(this,e),this._initialize_attributes(),this._initialize_instances()}),[{key:"_initialize_attributes",value:function(){this.id=it(),this.session=en(),this.preview=at(),this.debug=nt(ot("data-lwdebug")),this.environment=ot("data-lwenvironment"),this.injected_from_gtm=rt()}},{key:"_initialize_instances",value:function(){this.config=new Kt({}),this.config_service=new Xt(this.config),this.blacklists={scripts:new Nt,cookies:new zt,iframes:new jt},this.iab=new Kn(this.host,this.config.language),this.api=new Rt(this.id,this.host,this.preview,this.config.language,this.session),this.sdk=new Oo}},{key:"_get_url",value:function(e){var t=e.production_url,n=e.staging_url;return this.debug?"http://localhost:8000":this.preview?document.location.origin:"staging"===this.environment?n:t}},{key:"cdn",get:function(){return this._get_url({production_url:"https://cdn.lawwwing.com",staging_url:"https://cdn.staging.lawwwing.com"})}},{key:"host",get:function(){return this._get_url({production_url:"https://api.lawwwing.com",staging_url:"https://api.staging.lawwwing.com"})}},{key:"initialize",value:(t=n(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.id){e.next=3;break}return j("ID not setted"),e.abrupt("return");case 3:if(!window.LWConfig.initialized){e.next=5;break}return e.abrupt("return");case 5:return window.LWConfig.initialized=!0,e.prev=6,e.next=9,this.api.fetch_config();case 9:if(t=e.sent,this.config.initialize_from_api(t),this.config.read(),xe(A),this.blacklists.cookies.refresh(),Mt(),this.config.loaded_from_storage?(xe(T),te()):xe(O),!0!==this.config.iab){e.next=20;break}return z("IAB mode enabled"),e.next=20,this.iab.initialize();case 20:this.ui=new Ao,this.ui.build(),e.next=27;break;case 24:e.prev=24,e.t0=e.catch(6),j("Error fetching widget configuration:",e.t0);case 27:case"end":return e.stop()}}),e,this,[[6,24]])}))),function(){return t.apply(this,arguments)})},{key:"widget",value:(e=n(b().mark((function e(t){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.id=t.wid,this.preview=t.preview,this.debug=t.debug,this.initialize();case 4:case"end":return e.stop()}}),e,this)}))),function(t){return e.apply(this,arguments)})}]);var e,t}();!function(){window.LWConfig={MODE:"iab",VERSION:"v7.5.84",initialized:null,op_mode_default:!1,op_mode_iab:!0,op_mode_gcm:!1},function(){Pt.apply(this,arguments)}();var e,t,n,o=new To;window.Lawwwing=o,e=window.LWConfig,t=e.op_mode_iab,n=e.op_mode_gcm,(new Ke).setup(),n&&(new Xe).setup(),t&&(new et).setup(),(new tt).setup(),ye(O,Ze.handle_consent_unset),ye(T,Ze.handle_consent_load),ye(V,Ze.handle_consent_update),ye(P,Ze.handle_consent_granted),ye(R,Ze.handle_consent_denied),o.initialize(),window.Ibamu=o}()}();