gdpr-guard-local
Advanced tools
Comparing version 1.1.6 to 1.2.0
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.gdprGuardLocal=t():e.gdprGuardLocal=t()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:this,(()=>(()=>{var __webpack_modules__={974:function(e){var t;"undefined"!=typeof self?self:"undefined"!=typeof window&&window,t=()=>(()=>{"use strict";var e={315:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeGuard=void 0;var n=r(670);t.makeGuard=function(e,t,r,o,i){return void 0===r&&(r=n.GdprStorage.Cookie),void 0===o&&(o=!1),void 0===i&&(i=null),{name:e,description:t,storage:r,required:o,enabled:null===i?o:i,enable:function(){return this.enabled||this.toggle(),this},disable:function(){return this.enabled&&this.toggle(),this},toggle:function(){return this.required||(this.enabled=!this.enabled),this},makeRequired:function(){return this.required=!0,this.enabled=!0,this},isEnabled:function(e){return this.name===e&&this.enabled},enableForStorage:function(e){return this.enabled||this.toggleForStorage(e),this},disableForStorage:function(e){return this.enabled&&this.toggleForStorage(e),this},toggleForStorage:function(e){return this.storage!=e||this.required||this.toggle(),this},raw:function(){return JSON.parse(JSON.stringify(this))}}}},822:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGuardGroup=void 0;var a=r(670),u=function(){function e(e,t,r,n){void 0===t&&(t=""),void 0===r&&(r=!1),void 0===n&&(n=!1),this.name=e,this.description=t,this.enabled=r,this.required=n,this.storage=a.GdprStorage.None,this.bindings=new Map,this.required&&(this.enabled=!0)}return e.for=function(t,r,n,o){return void 0===r&&(r=""),void 0===n&&(n=!1),void 0===o&&(o=!1),new e(t,r,n,o)},e.prototype.addGuard=function(e){return this.bindings.set(e.name,e),this},e.prototype.hasGuard=function(e){return this.name===e||this.bindings.has(e)||this.reduceSubGroupsPred((function(t){return t.hasGuard(e)}))},e.prototype.getGuard=function(e){var t,r;return this.name===e?this:null!==(r=null!==(t=this.bindings.get(e))&&void 0!==t?t:this.reduceSubGroups((function(t){return t.getGuard(e)})))&&void 0!==r?r:null},e.prototype.isEnabled=function(e){if(this.hasGuard(e)){var t=this.getGuard(e);if(null!==t)return t.enabled}return!1},e.prototype.enable=function(){return this.required?this:(this.enabled=!0,this.doForEachGuard((function(e){return e.enable()})))},e.prototype.disable=function(){return this.required?this:(this.enabled=!1,this.doForEachGuard((function(e){return e.disable()})))},e.prototype.toggle=function(){return this.enabled?this.disable():this.enable()},e.prototype.makeRequired=function(){return this.required=!0,this.enabled=!0,this.doForEachGuard((function(e){return e.makeRequired()}))},e.prototype.enableForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.enableForStorage(e)}))},e.prototype.disableForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.disableForStorage(e)}))},e.prototype.toggleForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.toggleForStorage(e)}))},e.prototype.raw=function(){var e={name:this.name,description:this.description,enabled:this.enabled,required:this.required,storage:this.storage,guards:[]};return e.guards=o([],n(this.bindings),!1).map((function(e){var t=n(e,2);return t[0],t[1].raw()})),e},e.prototype.doForEachGuard=function(e){return this.bindings.forEach((function(t){return e(t)})),this},e.prototype.reduceSubGroupsPred=function(t){var r,o;try{for(var a=i(this.bindings),u=a.next();!u.done;u=a.next()){var s=n(u.value,2),c=(s[0],s[1]);if(c instanceof e&&t(c))return!0}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return!1},e.prototype.reduceSubGroups=function(t){var r,o;try{for(var a=i(this.bindings),u=a.next();!u.done;u=a.next()){var s=n(u.value,2),c=(s[0],s[1]);if(c instanceof e){var l=t(c);if(l)return l}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return null},e.prototype.getGuards=function(){return o([],n(this.bindings.values()),!1)},e}();t.GdprGuardGroup=u},777:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManager=void 0;var a=r(822),u=r(670),s=r(554),c=r(779),l=function(){function e(){this.bannerWasShown=!1,this.enabled=!0,this.events=new s.GdprManagerEventHub,this.groups=new Map,this.name="manager",this.description="Manager of GDPR guard groups",this.storage=u.GdprStorage.None,this.required=!1}return e.create=function(t){void 0===t&&(t=[]);var r=new e;return t.forEach((function(e){return r.addGroup(e)})),r},e.prototype.closeBanner=function(){var e=this;this.bannerWasShown=!0,(0,c.visitGdpr)(this,{onEach:function(t){t.enabled?e.events.enable(t.name):e.events.disable(t.name)}})},e.prototype.resetAndShowBanner=function(){this.bannerWasShown=!1},e.prototype.createGroup=function(e,t){return void 0===t&&(t=""),this.addGroup(a.GdprGuardGroup.for(e,t))},e.prototype.addGroup=function(e){return this.groups.set(e.name,e),this},e.prototype.hasGuard=function(e){return this.reduceGroupsPred((function(t){return t.hasGuard(e)}))},e.prototype.getGuard=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2),s=(u[0],u[1]);if(s.hasGuard(e))return s.getGuard(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},e.prototype.hasGroup=function(e){return this.reduceGroupsPred((function(t){return t.name===e}))},e.prototype.getGroup=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2),s=u[0],c=u[1];if(s===e)return c}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},e.prototype.isEnabled=function(e){return this.reduceGroupsPred((function(t){return t.isEnabled(e)}))},e.prototype.enable=function(){return this.enabled=!0,this.forEachGroup((function(e){return e.enable()}))},e.prototype.disable=function(){return this.enabled=!1,this.forEachGroup((function(e){return e.disable()}))},e.prototype.toggle=function(){return this.enabled?this.disable():this.enable()},e.prototype.makeRequired=function(){return this},e.prototype.enableForStorage=function(e){return this.forEachGroup((function(t){return t.enableForStorage(e)}))},e.prototype.disableForStorage=function(e){return this.forEachGroup((function(t){return t.disableForStorage(e)}))},e.prototype.toggleForStorage=function(e){return this.forEachGroup((function(t){return t.toggleForStorage(e)}))},e.prototype.raw=function(){var e={bannerWasShown:this.bannerWasShown,enabled:this.enabled,groups:[],name:this.name,description:this.description,storage:this.storage,required:this.required};return e.groups=i([],o(this.groups.values()),!1).map((function(e){return e.raw()})),e},e.prototype.reduceGroupsPred=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2);if(u[0],e(u[1]))return!0}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1},e.prototype.forEachGroup=function(e){return this.groups.forEach((function(t){return e(t)})),this},e.prototype.getGroups=function(){return i([],o(this.groups.values()),!1)},e}();t.GdprManager=l},554:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManagerEventHub=void 0;var r=function(){function e(){this.eventMap={}}return e.prototype.onEnable=function(e,t){return this.addListener("enable",e,t),this},e.prototype.onDisable=function(e,t){return this.addListener("disable",e,t),this},e.prototype.enable=function(e){return this.executeListeners("enable",e),this},e.prototype.disable=function(e){return this.executeListeners("disable",e),this},e.prototype.tagFor=function(e,t){return"".concat(e,"--").concat(t)},e.prototype.addListener=function(e,t,r){var n=this.tagFor(e,t);n in this.eventMap||(this.eventMap[n]=[]),this.eventMap[n].push(r)},e.prototype.executeListeners=function(e,t){var r,n=this.tagFor(e,t);null===(r=this.eventMap[n])||void 0===r||r.forEach((function(e){return e()}))},e}();t.GdprManagerEventHub=r},670:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.GdprStorage=void 0,function(e){e[e.None=1]="None",e[e.Cookie=2]="Cookie",e[e.LocalStorage=4]="LocalStorage",e[e.SessionStorage=8]="SessionStorage",e[e.IndexedDb=16]="IndexedDb",e[e.FileSystem=16]="FileSystem",e[e.ServerStorage=16]="ServerStorage",e[e.All=30]="All"}(r||(r={})),t.GdprStorage=r},860:function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGroupBuilder=void 0;var u=r(670),s=r(237),c=r(822),l=r(890),f=function(e){function t(t,r,n,o,i,a){var u=e.call(this)||this;return u.parent=t,u.name=r,u.description=n,u.enable=i,u.require=a,u.guards=[],u.storage=o,a&&(u.enable=!0),u}return o(t,e),t.create=function(e,r,n,o,i,a){return void 0===n&&(n=""),void 0===o&&(o=null),void 0===i&&(i=!0),void 0===a&&(a=!1),new t(e,r,n,o||u.GdprStorage.Cookie,i,a)},t.prototype.startGroup=function(t,r,n){return void 0===t&&(t=null),void 0===r&&(r=""),void 0===n&&(n=""),e.prototype.startGroup.call(this,t||this.parent.storage,r,n)},t.prototype.startRequiredGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r).required()},t.prototype.endGroup=function(){var e=this.require||this.enable,t=c.GdprGuardGroup.for(this.name,this.description,e,this.require);return a(a([],i(this.guards),!1),i(this.groups),!1).forEach((function(e){return t.addGuard(e)})),this.require&&t.makeRequired(),this.parent.groups.push(t),this.parent},t.prototype.withName=function(e){return this.edit((function(t){return t.name=e}))},t.prototype.withDescription=function(e){return this.edit((function(t){return t.description=e}))},t.prototype.storedIn=function(e){return this.edit((function(t){return t.storage=e}))},t.prototype.enabled=function(){return this.edit((function(e){return e.enable=!0}))},t.prototype.disabled=function(){return this.edit((function(e){return e.enable=!1}))},t.prototype.required=function(){return this.edit((function(e){return e.require=!0}))},t.prototype.startGuard=function(e){return void 0===e&&(e=null),l.GdprGuardBuilder.create(this,e||this.storage,this.enable)},t.prototype.startRequiredGuard=function(e){return this.startGuard(e).required()},t.prototype.withEnabledGuard=function(e,t,r){return void 0===t&&(t=""),void 0===r&&(r=null),this.startGuard(r).withName(e).withDescription(t).enabled().endGuard()},t.prototype.withDisabledGuard=function(e,t,r){return void 0===t&&(t=""),void 0===r&&(r=null),this.startGuard(r).withName(e).withDescription(t).disabled().endGuard()},t.prototype.edit=function(e){return e(this),this},t}(s.GdprManagerBuilder);t.GdprGroupBuilder=f},890:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGuardBuilder=void 0;var n=r(670),o=r(315),i=function(){function e(e,t,r,n){this.parent=e,this.storage=t,this.enable=r,this.require=n,this.name="",this.description="",n&&(this.enable=!0)}return e.create=function(t,r,o,i){return void 0===r&&(r=n.GdprStorage.Cookie),void 0===o&&(o=!1),void 0===i&&(i=!1),new e(t,r,o,i)},e.prototype.endGuard=function(){var e=this.require||this.enable,t=(0,o.makeGuard)(this.name,this.description,this.storage,this.require,e);return this.require&&t.makeRequired(),this.parent.guards.push(t),this.parent},e.prototype.withName=function(e){return this.edit((function(t){return t.name=e}))},e.prototype.withDescription=function(e){return this.edit((function(t){return t.description=e}))},e.prototype.enabled=function(){return this.edit((function(e){return e.enable=!0}))},e.prototype.disabled=function(){return this.edit((function(e){return e.enable=!1}))},e.prototype.storedIn=function(e){return this.edit((function(t){return t.storage=e}))},e.prototype.required=function(){return this.edit((function(e){return e.require=!0}))},e.prototype.edit=function(e){return e(this),this},e}();t.GdprGuardBuilder=i},237:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManagerBuilder=void 0;var n=r(670),o=r(777),i=r(171),a=function(){function e(){this.storage=n.GdprStorage.Cookie,this.groups=[],this.bannerWasShown=!1}return e.make=function(){return new e},e.prototype.withBannerShown=function(e){void 0===e&&(e=!0),this.bannerWasShown=e},e.prototype.startGroup=function(e,t,r,n){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=!0),i.GdprGroupBuilder.create(this,t,r,e,n,!1)},e.prototype.startRequiredGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startEnabledGroup(e,t,r).required()},e.prototype.startEnabledGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r,!0).enabled()},e.prototype.startDisabledGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r,!1).disabled()},e.prototype.build=function(){var e=o.GdprManager.create(this.groups);return e.bannerWasShown=this.bannerWasShown,e},e.prototype.endGroup=function(){return this},e}();t.GdprManagerBuilder=a},171:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(890),t),o(r(237),t),o(r(860),t)},93:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(315),t),o(r(822),t),o(r(777),t),o(r(670),t),o(r(554),t),o(r(779),t),o(r(171),t),o(r(891),t),o(r(562),t),o(r(344),t)},562:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprDeserializer=void 0;var n=r(777),o=r(670),i=r(822),a=r(315),u=["enabled","groups"],s=["guards"],c=["name","enabled","required","description","storage"],l=function(){function e(){}return e.manager=function(e){var t=this;if(!function(e){return u.every((function(t){return t in e}))&&"boolean"==typeof e.enabled&&Array.isArray(e.groups)}(e))return null;var r=e.groups.map((function(e){return t.group(e)})).filter((function(e){return null!==e})),o=n.GdprManager.create([]);return o.enabled=!!e.enabled,o.bannerWasShown=!!e.bannerWasShown,r.forEach((function(e){return o.addGroup(e)})),o},e.group=function(e){var t=this,r=this.guard(e);if(null===r)return null;if(!function(e){return s.every((function(t){return t in e}))&&Array.isArray(e.guards)}(e))return null;var n=i.GdprGuardGroup.for(r.name,r.description,r.enabled,r.required);return e.guards.map((function(e){return s.every((function(t){return t in e}))?t.group(e):t.guard(e)})).filter((function(e){return null!==e})).forEach((function(e){return n.addGuard(e)})),n},e.guard=function(e){return function(e){return c.every((function(t){return t in e}))&&"string"==typeof e.name&&"boolean"==typeof e.enabled&&"boolean"==typeof e.required&&"string"==typeof e.description&&"number"==typeof e.storage&&e.storage in o.GdprStorage}(e)?(0,a.makeGuard)(e.name,e.description,e.storage,!!e.required,!!e.enabled):null},e}();t.GdprDeserializer=l},344:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprSaviorAdapter=void 0;var o=function(){function e(){}return e.prototype.exists=function(e){return void 0===e&&(e=!0),r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,this.restore(e)];case 1:return[2,null!==t.sent()]}}))}))},e.prototype.storeIfNotExists=function(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,this.exists()];case 1:return[2,!!t.sent()||this.store(e)]}}))}))},e.prototype.restoreOrCreate=function(e){return r(this,void 0,void 0,(function(){var t,r;return n(this,(function(n){switch(n.label){case 0:return[4,this.restore()];case 1:return(t=n.sent())?[3,3]:[4,e()];case 2:return r=n.sent(),this.updateSharedManager(r),r.bannerWasShown&&r.closeBanner(),[2,r];case 3:return t.bannerWasShown&&t.closeBanner(),[2,t]}}))}))},e.prototype.check=function(){return r(this,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Promise.resolve()];case 1:return e.sent(),[4,this.exists(!0)];case 2:return e.sent(),[2]}}))}))},e}();t.GdprSaviorAdapter=o},891:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprSerializer=void 0;var r=function(){function e(){}return e.serialize=function(e){return e.raw()},e}();t.GdprSerializer=r},779:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.visitGdpr=void 0;var n=r(777),o=r(822);t.visitGdpr=function(e,r){var i=void 0===r?{}:r,a=i.onManager,u=void 0===a?function(){}:a,s=i.onGroup,c=void 0===s?function(){}:s,l=i.onGuard,f=void 0===l?function(){}:l,p=i.onEach,d=void 0===p?function(){}:p,h={onManager:u,onGroup:c,onGuard:f,onEach:d};e instanceof n.GdprManager?(u(e),d(e),e.getGroups().forEach((function(e){return(0,t.visitGdpr)(e,h)}))):e instanceof o.GdprGuardGroup?(c(e),d(e),e.getGuards().forEach((function(e){return(0,t.visitGdpr)(e,h)}))):(f(e),d(e))}}},t={};return function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(93)})(),e.exports=t()},53:(e,t,r)=>{var n=r(129),o=r(890),i=[r(293)];e.exports=n.createStore(o,i)},535:e=>{e.exports=function(){return{dump:function(e){var t={};return this.each((function(e,r){t[r]=e})),t}}}},398:e=>{var t="expire_mixin";e.exports=function(){var e=this.createStore(this.storage,null,this._namespacePrefix+t);return{set:function(r,n,o,i){return this.hasNamespace(t)||e.set(n,i),r()},get:function(e,n){return this.hasNamespace(t)||r.call(this,n),e()},remove:function(r,n){return this.hasNamespace(t)||e.remove(n),r()},getExpiration:function(t,r){return e.get(r)},removeExpiredKeys:function(e){var t=[];this.each((function(e,r){t.push(r)}));for(var n=0;n<t.length;n++)r.call(this,t[n])}};function r(t){e.get(t,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(t),e.remove(t))}}},293:(e,t,r)=>{e.exports=function(){return r(413),{}}},413:()=>{"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var r,n,o,i,a,u=gap,s=t[e];switch(s&&"object"==typeof s&&"function"==typeof s.toJSON&&(s=s.toJSON(e)),"function"==typeof rep&&(s=rep.call(t,e,s)),typeof s){case"string":return quote(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(s)){for(i=s.length,r=0;r<i;r+=1)a[r]=str(r,s)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+u+"]":"["+a.join(",")+"]",gap=u,o}if(rep&&"object"==typeof rep)for(i=rep.length,r=0;r<i;r+=1)"string"==typeof rep[r]&&(o=str(n=rep[r],s))&&a.push(quote(n)+(gap?": ":":")+o);else for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(o=str(n,s))&&a.push(quote(n)+(gap?": ":":")+o);return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+u+"}":"{"+a.join(",")+"}",gap=u,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;n<r;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var r,n,o=e[t];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(void 0!==(n=walk(o,r))?o[r]=n:delete o[r]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},596:(e,t,r)=>{var n=r(535),o=r(293);function i(e,t){return void 0!==this.get(t)}function a(e,t,r,n){null==n&&(n=r,r=null),null==r&&(r={});var o=this.get(t,r),i=n(o);this.set(t,void 0===i?o:i)}function u(e){return this.clearAll.call(this)}function s(e,t){return this.each.call(this,(function(e,r){t(r,e)}))}function c(e){return this.dump.call(this)}function l(e,t){return JSON.stringify(t)}function f(e,t){if("string"==typeof t)try{return JSON.parse(t)}catch(e){return t||void 0}}e.exports=[n,o,function(){return this.disabled=!this.enabled,{has:i,transact:a,clear:u,forEach:s,getAll:c,serialize:l,deserialize:f}}]},129:(e,t,r)=>{var n=r(123),o=n.slice,i=n.pluck,a=n.each,u=n.bind,s=n.create,c=n.isList,l=n.isFunction,f=n.isObject;e.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(e,t){var r=this.storage.read(this._namespacePrefix+e);return this._deserialize(r,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(r,n){e.call(t,t._deserialize(r),(n||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return d(this.storage,this.plugins,e)}};function d(e,t,r){r||(r=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var n=r?"__storejs_"+r+"_":"",d=r?new RegExp("^"+n):null;if(!/^[a-zA-Z0-9_\-]*$/.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:n,_namespaceRegexp:d,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var r=e.read(t)===t;return e.remove(t),r}catch(e){return!1}},_assignPluginFnProp:function(e,t){var r=this[t];this[t]=function(){var t=o(arguments,0),n=this,i=[function(){if(r)return a(arguments,(function(e,r){t[r]=e})),r.apply(n,t)}].concat(t);return e.apply(n,i)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var r="";try{r=JSON.parse(e)}catch(t){r=e}return void 0!==r?r:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))a(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var r=e.call(this);if(!f(r))throw new Error("Plugins must return an object of function properties");a(r,(function(r,n){if(!l(r))throw new Error("Bad plugin property: "+n+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(r,n)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},v=s(h,p,{plugins:[]});return v.raw={},a(v,(function(e,t){l(e)&&(v.raw[t]=u(v,e))})),a(e,(function(e){v._addStorage(e)})),a(t,(function(e){v._addPlugin(e)})),v}},123:(e,t,r)=>{var n=Object.assign?Object.assign:function(e,t,r,n){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,r){e[r]=t}));return e},o=function(){if(Object.create)return function(e,t,r,o){var i=u(arguments,1);return n.apply(this,[Object.create(e)].concat(i))};{function e(){}return function(t,r,o,i){var a=u(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(a))}}}(),i=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},a="undefined"!=typeof window?window:r.g;function u(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){c(e,(function(e,r){return t(e,r),!1}))}function c(e,t){if(l(e)){for(var r=0;r<e.length;r++)if(t(e[r],r))return e[r]}else for(var n in e)if(e.hasOwnProperty(n)&&t(e[n],n))return e[n]}function l(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:n,create:o,trim:i,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:u,each:s,map:function(e,t){var r=l(e)?[]:{};return c(e,(function(e,n){return r[n]=t(e,n),!1})),r},pluck:c,isList:l,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:a}},890:(e,t,r)=>{e.exports=[r(653),r(333),r(991),r(234),r(416),r(529)]},234:(e,t,r)=>{var n=r(123),o=n.Global,i=n.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:u,remove:s,clearAll:function(){u((function(e,t){s(t)}))}};var a=o.document;function u(e){for(var t=a.cookie.split(/; ?/g),r=t.length-1;r>=0;r--)if(i(t[r])){var n=t[r].split("="),o=unescape(n[0]);e(unescape(n[1]),o)}}function s(e){e&&c(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},653:(e,t,r)=>{var n=r(123).Global;function o(){return n.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var r=o().key(t);e(i(r),r)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},529:e=>{e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,r){t[e]=r},each:function(e){for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},333:(e,t,r)=>{var n=r(123).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=n.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var r=o.key(t);e(o[r],r)}}},991:(e,t,r)=>{var n=r(123).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(!u){var r=c(e);a((function(e){e.setAttribute(r,t),e.save(o)}))}},read:function(e){if(!u){var t=c(e),r=null;return a((function(e){r=e.getAttribute(t)})),r}},each:function(e){a((function(t){for(var r=t.XMLDocument.documentElement.attributes,n=r.length-1;n>=0;n--){var o=r[n];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);a((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){a((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var r=t.length-1;r>=0;r--)e.removeAttribute(t[r].name);e.save(o)}))}};var o="storejs",i=n.document,a=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,r,n="script";try{(t=new ActiveXObject("htmlfile")).open(),t.write("<"+n+">document.w=window</"+n+'><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,r=e.createElement("div")}catch(t){r=i.createElement("div"),e=i.body}return function(t){var n=[].slice.call(arguments,0);n.unshift(r),e.appendChild(r),r.addBehavior("#default#userData"),r.load(o),t.apply(this,n),e.removeChild(r)}}(),u=(n.navigator?n.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./),s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(s,"___")}},416:(e,t,r)=>{var n=r(123).Global;function o(){return n.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var r=o().key(t);e(i(r),r)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},966:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var n,o=r(974),i=r(944),a=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},s=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},c=function(e){function t(t,r){void 0===t&&(t=(0,i.makeConfig)()),void 0===r&&(r=i.defaultStoreFactory);var n=e.call(this)||this;return n.config=t,n.storage=r(),n}return a(t,e),t.prototype.updateSharedManager=function(e){return u(this,void 0,void 0,(function(){return s(this,(function(e){return[2]}))}))},t.prototype.restore=function(e){return void 0===e&&(e=!0),u(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(i){switch(i.label){case 0:return[4,this.storage.removeExpiredKeys()];case 1:return i.sent(),[4,this.storage.has(this.config.versionKey)];case 2:return i.sent()?[3,5]:[4,this.storage.set(this.config.versionKey,this.config.version,this.config.expiration())];case 3:return i.sent(),[4,this.storage.remove(this.config.storeKey)];case 4:i.sent(),i.label=5;case 5:return[4,this.storage.get(this.config.storeKey)];case 6:return t=i.sent(),[4,this.storage.get(this.config.versionKey)];case 7:r=i.sent(),i.label=8;case 8:return i.trys.push([8,15,,16]),n=o.GdprDeserializer.manager(t),this.config.comparator(r,this.config.version)?[4,this.storage.remove(this.config.storeKey)]:[3,11];case 9:return i.sent(),[4,this.storage.set(this.config.versionKey,this.config.version,this.config.expiration())];case 10:return i.sent(),[2,null];case 11:return n?e?[4,this.updateSharedManager(n)]:[3,13]:[3,14];case 12:i.sent(),i.label=13;case 13:return[2,n];case 14:return[2,null];case 15:return i.sent(),[2,null];case 16:return[2]}}))}))},t.prototype.store=function(e){return u(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.storage.set(this.config.storeKey,e,this.config.expiration())];case 1:t.sent();try{return[2,this.exists()]}catch(e){return[2,!1]}return[2]}}))}))},t}(o.GdprSaviorAdapter)},944:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultConfig:()=>y,defaultConfigParts:()=>g,defaultStoreFactory:()=>h,expiration:()=>v,makeConfig:()=>b,versionComparator:()=>d});var n=r(53),o=r.n(n),i=r(596),a=r.n(i),u=r(398),s=r.n(u);function c(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function l(e,t){const r=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}(e);if(isNaN(t))return c(e,NaN);if(!t)return r;const n=r.getDate(),o=c(e,r.getTime());return o.setMonth(r.getMonth()+t+1,0),n>=o.getDate()?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}var f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},p=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},d=function(e,t){return t!==e};p(p([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}(a()),!1),[s()],!1).forEach((function(e){return o().addPlugin(e)}));var h=function(){return o()},v=function(){return l(new Date,13)},g={comparator:d,expiration:v},y={storeKey:"gdpr",versionKey:"gdpr__version",version:"v0.0.0",comparator:d,expiration:v},b=function(e){return void 0===e&&(e={}),f(f({},y),e)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{LocalStorageSavior:()=>n.$,defaults:()=>e});var e=__webpack_require__(944),t=__webpack_require__(974),r={};for(const e in t)["default","defaults"].indexOf(e)<0&&(r[e]=()=>t[e]);__webpack_require__.d(__webpack_exports__,r);var n=__webpack_require__(966)})(),__webpack_exports__})())); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.gdprGuardLocal=t():e.gdprGuardLocal=t()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:this,(()=>(()=>{var __webpack_modules__={974:function(e){var t;"undefined"!=typeof self?self:"undefined"!=typeof window&&window,t=()=>(()=>{"use strict";var e={315:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.makeGuard=void 0;var n=r(670);t.makeGuard=function(e,t,r,o,i){return void 0===r&&(r=n.GdprStorage.Cookie),void 0===o&&(o=!1),void 0===i&&(i=null),{name:e,description:t,storage:r,required:o,enabled:null===i?o:i,enable:function(){return this.enabled||this.toggle(),this},disable:function(){return this.enabled&&this.toggle(),this},toggle:function(){return this.required||(this.enabled=!this.enabled),this},makeRequired:function(){return this.required=!0,this.enabled=!0,this},isEnabled:function(e){return this.name===e&&this.enabled},enableForStorage:function(e){return this.enabled||this.toggleForStorage(e),this},disableForStorage:function(e){return this.enabled&&this.toggleForStorage(e),this},toggleForStorage:function(e){return!this.required&&this.storage&e&&this.toggle(),this},raw:function(){return JSON.parse(JSON.stringify(this))}}}},822:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGuardGroup=void 0;var a=r(670),u=function(){function e(e,t,r,n){void 0===t&&(t=""),void 0===r&&(r=!1),void 0===n&&(n=!1),this.name=e,this.description=t,this.enabled=r,this.required=n,this.storage=a.GdprStorage.None,this.bindings=new Map,this.required&&(this.enabled=!0)}return e.for=function(t,r,n,o){return void 0===r&&(r=""),void 0===n&&(n=!1),void 0===o&&(o=!1),new e(t,r,n,o)},e.prototype.addGuard=function(e){return this.bindings.set(e.name,e),this},e.prototype.hasGuard=function(e){return this.name===e||this.bindings.has(e)||this.reduceSubGroupsPred((function(t){return t.hasGuard(e)}))},e.prototype.getGuard=function(e){var t,r;return this.name===e?this:null!==(r=null!==(t=this.bindings.get(e))&&void 0!==t?t:this.reduceSubGroups((function(t){return t.getGuard(e)})))&&void 0!==r?r:null},e.prototype.isEnabled=function(e){if(this.hasGuard(e)){var t=this.getGuard(e);if(null!==t)return t.enabled}return!1},e.prototype.enable=function(){return this.required?this:(this.enabled=!0,this.doForEachGuard((function(e){return e.enable()})))},e.prototype.disable=function(){return this.required?this:(this.enabled=!1,this.doForEachGuard((function(e){return e.disable()})))},e.prototype.toggle=function(){return this.enabled?this.disable():this.enable()},e.prototype.makeRequired=function(){return this.required=!0,this.enabled=!0,this.doForEachGuard((function(e){return e.makeRequired()}))},e.prototype.enableForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.enableForStorage(e)}))},e.prototype.disableForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.disableForStorage(e)}))},e.prototype.toggleForStorage=function(e){return this.required?this:this.doForEachGuard((function(t){t.toggleForStorage(e)}))},e.prototype.raw=function(){var e={name:this.name,description:this.description,enabled:this.enabled,required:this.required,storage:this.storage,guards:[]};return e.guards=o([],n(this.bindings),!1).map((function(e){var t=n(e,2);return t[0],t[1].raw()})),e},e.prototype.doForEachGuard=function(e){return this.bindings.forEach((function(t){return e(t)})),this},e.prototype.reduceSubGroupsPred=function(t){var r,o;try{for(var a=i(this.bindings),u=a.next();!u.done;u=a.next()){var s=n(u.value,2),c=(s[0],s[1]);if(c instanceof e&&t(c))return!0}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return!1},e.prototype.reduceSubGroups=function(t){var r,o;try{for(var a=i(this.bindings),u=a.next();!u.done;u=a.next()){var s=n(u.value,2),c=(s[0],s[1]);if(c instanceof e){var l=t(c);if(l)return l}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return null},e.prototype.getGuards=function(){return o([],n(this.bindings.values()),!1)},e}();t.GdprGuardGroup=u},777:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManager=void 0;var a=r(822),u=r(670),s=r(554),c=r(779),l=function(){function e(){this.bannerWasShown=!1,this.enabled=!0,this.events=new s.GdprManagerEventHub,this.groups=new Map,this.name="manager",this.description="Manager of GDPR guard groups",this.storage=u.GdprStorage.None,this.required=!1}return e.create=function(t){void 0===t&&(t=[]);var r=new e;return t.forEach((function(e){return r.addGroup(e)})),r},e.prototype.closeBanner=function(){var e=this;this.bannerWasShown=!0,(0,c.visitGdpr)(this,{onEach:function(t){t.enabled?e.events.enable(t.name):e.events.disable(t.name)}})},e.prototype.resetAndShowBanner=function(){this.bannerWasShown=!1},e.prototype.createGroup=function(e,t){return void 0===t&&(t=""),this.addGroup(a.GdprGuardGroup.for(e,t))},e.prototype.addGroup=function(e){return this.groups.set(e.name,e),this},e.prototype.hasGuard=function(e){return this.reduceGroupsPred((function(t){return t.hasGuard(e)}))},e.prototype.getGuard=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2),s=(u[0],u[1]);if(s.hasGuard(e))return s.getGuard(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},e.prototype.hasGroup=function(e){return this.reduceGroupsPred((function(t){return t.name===e}))},e.prototype.getGroup=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2),s=u[0],c=u[1];if(s===e)return c}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},e.prototype.isEnabled=function(e){return this.reduceGroupsPred((function(t){return t.isEnabled(e)}))},e.prototype.enable=function(){return this.enabled=!0,this.forEachGroup((function(e){return e.enable()}))},e.prototype.disable=function(){return this.enabled=!1,this.forEachGroup((function(e){return e.disable()}))},e.prototype.toggle=function(){return this.enabled?this.disable():this.enable()},e.prototype.makeRequired=function(){return this},e.prototype.enableForStorage=function(e){return this.forEachGroup((function(t){return t.enableForStorage(e)}))},e.prototype.disableForStorage=function(e){return this.forEachGroup((function(t){return t.disableForStorage(e)}))},e.prototype.toggleForStorage=function(e){return this.forEachGroup((function(t){return t.toggleForStorage(e)}))},e.prototype.raw=function(){var e={bannerWasShown:this.bannerWasShown,enabled:this.enabled,groups:[],name:this.name,description:this.description,storage:this.storage,required:this.required};return e.groups=i([],o(this.groups.values()),!1).map((function(e){return e.raw()})),e},e.prototype.reduceGroupsPred=function(e){var t,r;try{for(var i=n(this.groups),a=i.next();!a.done;a=i.next()){var u=o(a.value,2);if(u[0],e(u[1]))return!0}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!1},e.prototype.forEachGroup=function(e){return this.groups.forEach((function(t){return e(t)})),this},e.prototype.getGroups=function(){return i([],o(this.groups.values()),!1)},e}();t.GdprManager=l},554:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManagerEventHub=void 0;var r=function(){function e(){this.eventMap={}}return e.prototype.onEnable=function(e,t){return this.addListener("enable",e,t),this},e.prototype.onDisable=function(e,t){return this.addListener("disable",e,t),this},e.prototype.enable=function(e){return this.executeListeners("enable",e),this},e.prototype.disable=function(e){return this.executeListeners("disable",e),this},e.prototype.tagFor=function(e,t){return"".concat(e,"--").concat(t)},e.prototype.addListener=function(e,t,r){var n=this.tagFor(e,t);n in this.eventMap||(this.eventMap[n]=[]),this.eventMap[n].push(r)},e.prototype.executeListeners=function(e,t){var r,n=this.tagFor(e,t);null===(r=this.eventMap[n])||void 0===r||r.forEach((function(e){return e()}))},e}();t.GdprManagerEventHub=r},670:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.GdprStorage=void 0,(r=t.GdprStorage||(t.GdprStorage={}))[r.None=1]="None",r[r.Cookie=2]="Cookie",r[r.LocalStorage=4]="LocalStorage",r[r.SessionStorage=8]="SessionStorage",r[r.IndexedDb=16]="IndexedDb",r[r.FileSystem=32]="FileSystem",r[r.ServerStorage=64]="ServerStorage",r[r.All=126]="All"},860:function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGroupBuilder=void 0;var u=r(670),s=r(237),c=r(822),l=r(890),f=function(e){function t(t,r,n,o,i,a){var u=e.call(this)||this;return u.parent=t,u.name=r,u.description=n,u.enable=i,u.require=a,u.guards=[],u.storage=o,a&&(u.enable=!0),u}return o(t,e),t.create=function(e,r,n,o,i,a){return void 0===n&&(n=""),void 0===o&&(o=null),void 0===i&&(i=!0),void 0===a&&(a=!1),new t(e,r,n,o||u.GdprStorage.Cookie,i,a)},t.prototype.startGroup=function(t,r,n){return void 0===t&&(t=null),void 0===r&&(r=""),void 0===n&&(n=""),e.prototype.startGroup.call(this,t||this.parent.storage,r,n)},t.prototype.startRequiredGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r).required()},t.prototype.endGroup=function(){var e=this.require||this.enable,t=c.GdprGuardGroup.for(this.name,this.description,e,this.require);return a(a([],i(this.guards),!1),i(this.groups),!1).forEach((function(e){return t.addGuard(e)})),this.require&&t.makeRequired(),this.parent.groups.push(t),this.parent},t.prototype.withName=function(e){return this.edit((function(t){return t.name=e}))},t.prototype.withDescription=function(e){return this.edit((function(t){return t.description=e}))},t.prototype.storedIn=function(e){return this.edit((function(t){return t.storage=e}))},t.prototype.enabled=function(){return this.edit((function(e){return e.enable=!0}))},t.prototype.disabled=function(){return this.edit((function(e){return e.enable=!1}))},t.prototype.required=function(){return this.edit((function(e){return e.require=!0}))},t.prototype.startGuard=function(e){return void 0===e&&(e=null),l.GdprGuardBuilder.create(this,e||this.storage,this.enable)},t.prototype.startRequiredGuard=function(e){return this.startGuard(e).required()},t.prototype.withEnabledGuard=function(e,t,r){return void 0===t&&(t=""),void 0===r&&(r=null),this.startGuard(r).withName(e).withDescription(t).enabled().endGuard()},t.prototype.withDisabledGuard=function(e,t,r){return void 0===t&&(t=""),void 0===r&&(r=null),this.startGuard(r).withName(e).withDescription(t).disabled().endGuard()},t.prototype.edit=function(e){return e(this),this},t}(s.GdprManagerBuilder);t.GdprGroupBuilder=f},890:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprGuardBuilder=void 0;var n=r(670),o=r(315),i=function(){function e(e,t,r,n){this.parent=e,this.storage=t,this.enable=r,this.require=n,this.name="",this.description="",n&&(this.enable=!0)}return e.create=function(t,r,o,i){return void 0===r&&(r=n.GdprStorage.Cookie),void 0===o&&(o=!1),void 0===i&&(i=!1),new e(t,r,o,i)},e.prototype.endGuard=function(){var e=this.require||this.enable,t=(0,o.makeGuard)(this.name,this.description,this.storage,this.require,e);return this.require&&t.makeRequired(),this.parent.guards.push(t),this.parent},e.prototype.withName=function(e){return this.edit((function(t){return t.name=e}))},e.prototype.withDescription=function(e){return this.edit((function(t){return t.description=e}))},e.prototype.enabled=function(){return this.edit((function(e){return e.enable=!0}))},e.prototype.disabled=function(){return this.edit((function(e){return e.enable=!1}))},e.prototype.storedIn=function(e){return this.edit((function(t){return t.storage=e}))},e.prototype.required=function(){return this.edit((function(e){return e.require=!0}))},e.prototype.edit=function(e){return e(this),this},e}();t.GdprGuardBuilder=i},237:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprManagerBuilder=void 0;var n=r(670),o=r(777),i=r(171),a=function(){function e(){this.storage=n.GdprStorage.Cookie,this.groups=[],this.bannerWasShown=!1}return e.make=function(){return new e},e.prototype.withBannerShown=function(e){void 0===e&&(e=!0),this.bannerWasShown=e},e.prototype.startGroup=function(e,t,r,n){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),void 0===n&&(n=!0),i.GdprGroupBuilder.create(this,t,r,e,n,!1)},e.prototype.startRequiredGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startEnabledGroup(e,t,r).required()},e.prototype.startEnabledGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r,!0).enabled()},e.prototype.startDisabledGroup=function(e,t,r){return void 0===e&&(e=null),void 0===t&&(t=""),void 0===r&&(r=""),this.startGroup(e,t,r,!1).disabled()},e.prototype.build=function(){var e=o.GdprManager.create(this.groups);return e.bannerWasShown=this.bannerWasShown,e},e.prototype.endGroup=function(){return this},e}();t.GdprManagerBuilder=a},171:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(890),t),o(r(237),t),o(r(860),t)},93:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(315),t),o(r(822),t),o(r(777),t),o(r(670),t),o(r(554),t),o(r(779),t),o(r(171),t),o(r(891),t),o(r(562),t),o(r(344),t)},562:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprDeserializer=void 0;var n=r(777),o=r(670),i=r(822),a=r(315),u=["enabled","groups"],s=["guards"],c=["name","enabled","required","description","storage"],l=function(){function e(){}return e.manager=function(e){var t=this;if(!function(e){return u.every((function(t){return t in e}))&&"boolean"==typeof e.enabled&&Array.isArray(e.groups)}(e))return null;var r=e.groups.map((function(e){return t.group(e)})).filter((function(e){return null!==e})),o=n.GdprManager.create([]);return o.enabled=!!e.enabled,o.bannerWasShown=!!e.bannerWasShown,r.forEach((function(e){return o.addGroup(e)})),o},e.group=function(e){var t=this,r=this.guard(e);if(null===r)return null;if(!function(e){return s.every((function(t){return t in e}))&&Array.isArray(e.guards)}(e))return null;var n=i.GdprGuardGroup.for(r.name,r.description,r.enabled,r.required);return e.guards.map((function(e){return s.every((function(t){return t in e}))?t.group(e):t.guard(e)})).filter((function(e){return null!==e})).forEach((function(e){return n.addGuard(e)})),n},e.guard=function(e){return function(e){return c.every((function(t){return t in e}))&&"string"==typeof e.name&&"boolean"==typeof e.enabled&&"boolean"==typeof e.required&&"string"==typeof e.description&&"number"==typeof e.storage&&e.storage in o.GdprStorage}(e)?(0,a.makeGuard)(e.name,e.description,e.storage,!!e.required,!!e.enabled):null},e}();t.GdprDeserializer=l},344:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GdprSaviorAdapter=void 0;var o=function(){function e(e){void 0===e&&(e=void 0),this.decorator=e}return e.prototype.exists=function(e){return void 0===e&&(e=!0),r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,this.restore(e)];case 1:return[2,null!==t.sent()]}}))}))},e.prototype.storeIfNotExists=function(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,this.exists()];case 1:return[2,!!t.sent()||this.store(e)]}}))}))},e.prototype.restoreOrCreate=function(e){return r(this,void 0,void 0,(function(){var t,r,o,i;return n(this,(function(n){switch(n.label){case 0:return[4,this.restore()];case 1:return(t=n.sent())?[3,4]:[4,e()];case 2:return r=n.sent(),o=this.decorate(r),[4,this.updateSharedManager(o)];case 3:return n.sent(),o.bannerWasShown&&o.closeBanner(),[2,o];case 4:return(i=this.decorate(t)).bannerWasShown&&i.closeBanner(),[2,i]}}))}))},e.prototype.check=function(){return r(this,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Promise.resolve()];case 1:return e.sent(),[4,this.exists(!0)];case 2:return e.sent(),[2]}}))}))},e.prototype.decorate=function(e){return this.decorator?this.decorator(e):e},e}();t.GdprSaviorAdapter=o},891:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GdprSerializer=void 0;var r=function(){function e(){}return e.serialize=function(e){return e.raw()},e}();t.GdprSerializer=r},779:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.visitGdpr=void 0;var n=r(777),o=r(822);t.visitGdpr=function(e,r){var i=void 0===r?{}:r,a=i.onManager,u=void 0===a?function(){}:a,s=i.onGroup,c=void 0===s?function(){}:s,l=i.onGuard,f=void 0===l?function(){}:l,p=i.onEach,d=void 0===p?function(){}:p,h={onManager:u,onGroup:c,onGuard:f,onEach:d};e instanceof n.GdprManager?(u(e),d(e),e.getGroups().forEach((function(e){return(0,t.visitGdpr)(e,h)}))):e instanceof o.GdprGuardGroup?(c(e),d(e),e.getGuards().forEach((function(e){return(0,t.visitGdpr)(e,h)}))):(f(e),d(e))}}},t={};return function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(93)})(),e.exports=t()},53:(e,t,r)=>{var n=r(129),o=r(890),i=[r(293)];e.exports=n.createStore(o,i)},535:e=>{e.exports=function(){return{dump:function(e){var t={};return this.each((function(e,r){t[r]=e})),t}}}},398:e=>{var t="expire_mixin";e.exports=function(){var e=this.createStore(this.storage,null,this._namespacePrefix+t);return{set:function(r,n,o,i){return this.hasNamespace(t)||e.set(n,i),r()},get:function(e,n){return this.hasNamespace(t)||r.call(this,n),e()},remove:function(r,n){return this.hasNamespace(t)||e.remove(n),r()},getExpiration:function(t,r){return e.get(r)},removeExpiredKeys:function(e){var t=[];this.each((function(e,r){t.push(r)}));for(var n=0;n<t.length;n++)r.call(this,t[n])}};function r(t){e.get(t,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(t),e.remove(t))}}},293:(e,t,r)=>{e.exports=function(){return r(413),{}}},413:()=>{"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var r,n,o,i,a,u=gap,s=t[e];switch(s&&"object"==typeof s&&"function"==typeof s.toJSON&&(s=s.toJSON(e)),"function"==typeof rep&&(s=rep.call(t,e,s)),typeof s){case"string":return quote(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(s)){for(i=s.length,r=0;r<i;r+=1)a[r]=str(r,s)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+u+"]":"["+a.join(",")+"]",gap=u,o}if(rep&&"object"==typeof rep)for(i=rep.length,r=0;r<i;r+=1)"string"==typeof rep[r]&&(o=str(n=rep[r],s))&&a.push(quote(n)+(gap?": ":":")+o);else for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(o=str(n,s))&&a.push(quote(n)+(gap?": ":":")+o);return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+u+"}":"{"+a.join(",")+"}",gap=u,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;n<r;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var r,n,o=e[t];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(void 0!==(n=walk(o,r))?o[r]=n:delete o[r]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},596:(e,t,r)=>{var n=r(535),o=r(293);function i(e,t){return void 0!==this.get(t)}function a(e,t,r,n){null==n&&(n=r,r=null),null==r&&(r={});var o=this.get(t,r),i=n(o);this.set(t,void 0===i?o:i)}function u(e){return this.clearAll.call(this)}function s(e,t){return this.each.call(this,(function(e,r){t(r,e)}))}function c(e){return this.dump.call(this)}function l(e,t){return JSON.stringify(t)}function f(e,t){if("string"==typeof t)try{return JSON.parse(t)}catch(e){return t||void 0}}e.exports=[n,o,function(){return this.disabled=!this.enabled,{has:i,transact:a,clear:u,forEach:s,getAll:c,serialize:l,deserialize:f}}]},129:(e,t,r)=>{var n=r(123),o=n.slice,i=n.pluck,a=n.each,u=n.bind,s=n.create,c=n.isList,l=n.isFunction,f=n.isObject;e.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(e,t){var r=this.storage.read(this._namespacePrefix+e);return this._deserialize(r,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(r,n){e.call(t,t._deserialize(r),(n||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return d(this.storage,this.plugins,e)}};function d(e,t,r){r||(r=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var n=r?"__storejs_"+r+"_":"",d=r?new RegExp("^"+n):null;if(!/^[a-zA-Z0-9_\-]*$/.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:n,_namespaceRegexp:d,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var r=e.read(t)===t;return e.remove(t),r}catch(e){return!1}},_assignPluginFnProp:function(e,t){var r=this[t];this[t]=function(){var t=o(arguments,0),n=this,i=[function(){if(r)return a(arguments,(function(e,r){t[r]=e})),r.apply(n,t)}].concat(t);return e.apply(n,i)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var r="";try{r=JSON.parse(e)}catch(t){r=e}return void 0!==r?r:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))a(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var r=e.call(this);if(!f(r))throw new Error("Plugins must return an object of function properties");a(r,(function(r,n){if(!l(r))throw new Error("Bad plugin property: "+n+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(r,n)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;e&&(e.warn?e.warn:e.log).apply(e,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},v=s(h,p,{plugins:[]});return v.raw={},a(v,(function(e,t){l(e)&&(v.raw[t]=u(v,e))})),a(e,(function(e){v._addStorage(e)})),a(t,(function(e){v._addPlugin(e)})),v}},123:(e,t,r)=>{var n=Object.assign?Object.assign:function(e,t,r,n){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,r){e[r]=t}));return e},o=function(){if(Object.create)return function(e,t,r,o){var i=u(arguments,1);return n.apply(this,[Object.create(e)].concat(i))};{function e(){}return function(t,r,o,i){var a=u(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(a))}}}(),i=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},a="undefined"!=typeof window?window:r.g;function u(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){c(e,(function(e,r){return t(e,r),!1}))}function c(e,t){if(l(e)){for(var r=0;r<e.length;r++)if(t(e[r],r))return e[r]}else for(var n in e)if(e.hasOwnProperty(n)&&t(e[n],n))return e[n]}function l(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:n,create:o,trim:i,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:u,each:s,map:function(e,t){var r=l(e)?[]:{};return c(e,(function(e,n){return r[n]=t(e,n),!1})),r},pluck:c,isList:l,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:a}},890:(e,t,r)=>{e.exports=[r(653),r(333),r(991),r(234),r(416),r(529)]},234:(e,t,r)=>{var n=r(123),o=n.Global,i=n.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:u,remove:s,clearAll:function(){u((function(e,t){s(t)}))}};var a=o.document;function u(e){for(var t=a.cookie.split(/; ?/g),r=t.length-1;r>=0;r--)if(i(t[r])){var n=t[r].split("="),o=unescape(n[0]);e(unescape(n[1]),o)}}function s(e){e&&c(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},653:(e,t,r)=>{var n=r(123).Global;function o(){return n.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var r=o().key(t);e(i(r),r)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},529:e=>{e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,r){t[e]=r},each:function(e){for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},333:(e,t,r)=>{var n=r(123).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=n.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var r=o.key(t);e(o[r],r)}}},991:(e,t,r)=>{var n=r(123).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(!u){var r=c(e);a((function(e){e.setAttribute(r,t),e.save(o)}))}},read:function(e){if(!u){var t=c(e),r=null;return a((function(e){r=e.getAttribute(t)})),r}},each:function(e){a((function(t){for(var r=t.XMLDocument.documentElement.attributes,n=r.length-1;n>=0;n--){var o=r[n];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);a((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){a((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var r=t.length-1;r>=0;r--)e.removeAttribute(t[r].name);e.save(o)}))}};var o="storejs",i=n.document,a=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,r,n="script";try{(t=new ActiveXObject("htmlfile")).open(),t.write("<"+n+">document.w=window</"+n+'><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,r=e.createElement("div")}catch(t){r=i.createElement("div"),e=i.body}return function(t){var n=[].slice.call(arguments,0);n.unshift(r),e.appendChild(r),r.addBehavior("#default#userData"),r.load(o),t.apply(this,n),e.removeChild(r)}}(),u=(n.navigator?n.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./),s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(s,"___")}},416:(e,t,r)=>{var n=r(123).Global;function o(){return n.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var r=o().key(t);e(i(r),r)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},966:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var n,o=r(974),i=r(911),a=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},s=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}},c=function(e){function t(t,r,n){void 0===t&&(t=(0,i.makeConfig)()),void 0===r&&(r=i.defaultStoreFactory),void 0===n&&(n=void 0);var o=e.call(this,n)||this;return o.config=t,o.storage=r(),o}return a(t,e),t.prototype.updateSharedManager=function(e){return u(this,void 0,void 0,(function(){return s(this,(function(e){return[2]}))}))},t.prototype.restore=function(e){return void 0===e&&(e=!0),u(this,void 0,void 0,(function(){var t,r,n,i;return s(this,(function(a){switch(a.label){case 0:return[4,this.storage.removeExpiredKeys()];case 1:return a.sent(),[4,this.storage.has(this.config.versionKey)];case 2:return a.sent()?[3,5]:[4,this.storage.set(this.config.versionKey,this.config.version,this.config.expiration())];case 3:return a.sent(),[4,this.storage.remove(this.config.storeKey)];case 4:a.sent(),a.label=5;case 5:return[4,this.storage.get(this.config.storeKey)];case 6:return t=a.sent(),[4,this.storage.get(this.config.versionKey)];case 7:r=a.sent(),a.label=8;case 8:return a.trys.push([8,15,,16]),n=o.GdprDeserializer.manager(t),this.config.comparator(r,this.config.version)?[4,this.storage.remove(this.config.storeKey)]:[3,11];case 9:return a.sent(),[4,this.storage.set(this.config.versionKey,this.config.version,this.config.expiration())];case 10:return a.sent(),[2,null];case 11:return n?(i=this.decorate(n),e?[4,this.updateSharedManager(i)]:[3,13]):[3,14];case 12:a.sent(),a.label=13;case 13:return[2,i];case 14:return[2,null];case 15:return a.sent(),[2,null];case 16:return[2]}}))}))},t.prototype.store=function(e){return u(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,this.storage.set(this.config.storeKey,e,this.config.expiration())];case 1:t.sent();try{return[2,this.exists()]}catch(e){return[2,!1]}return[2]}}))}))},t}(o.GdprSaviorAdapter)},911:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultConfig:()=>b,defaultConfigParts:()=>y,defaultStoreFactory:()=>v,expiration:()=>g,makeConfig:()=>_,versionComparator:()=>h});var n=r(53),o=r.n(n),i=r(596),a=r.n(i),u=r(398),s=r.n(u);function c(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const l=function e(t,r,n=[]){return n.length>=r?t(...n.slice(0,r).reverse()):(...o)=>e(t,r,n.concat(o))}((function(e,t){const r=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}(e);if(isNaN(t))return c(e,NaN);if(!t)return r;const n=r.getDate(),o=c(e,r.getTime());return o.setMonth(r.getMonth()+t+1,0),n>=o.getDate()?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}),2);var f=function(){return f=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},p=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},d=l(13),h=function(e,t){return t!==e};p(p([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}(a()),!1),[s()],!1).forEach((function(e){return o().addPlugin(e)}));var v=function(){return o()},g=function(){return d(new Date)},y={comparator:h,expiration:g},b=f(f({},y),{storeKey:"gdpr",versionKey:"gdpr__version",version:"v0.0.0",comparator:h,expiration:g}),_=function(e){return void 0===e&&(e={}),f(f({},b),e)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{LocalStorageSavior:()=>n.$,defaults:()=>e});var e=__webpack_require__(911),t=__webpack_require__(974),r={};for(const e in t)["default","defaults"].indexOf(e)<0&&(r[e]=()=>t[e]);__webpack_require__.d(__webpack_exports__,r);var n=__webpack_require__(966)})(),__webpack_exports__})())); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { GdprManager, GdprManagerRaw, GdprSaviorAdapter } from "gdpr-guard"; | ||
import { GdprManager, GdprManagerDecorator, GdprManagerRaw, GdprSaviorAdapter } from "gdpr-guard"; | ||
import { LocalStorageConfig, LocalStore, LocalStoreFactory } from "./types"; | ||
@@ -6,3 +6,3 @@ export declare class LocalStorageSavior extends GdprSaviorAdapter { | ||
protected storage: LocalStore; | ||
constructor(config?: LocalStorageConfig, storeFactory?: LocalStoreFactory); | ||
constructor(config?: LocalStorageConfig, storeFactory?: LocalStoreFactory, decorator?: GdprManagerDecorator | undefined); | ||
/** | ||
@@ -9,0 +9,0 @@ * @inheritDoc |
{ | ||
"name": "gdpr-guard-local", | ||
"version": "1.1.6", | ||
"version": "1.2.0", | ||
"description": "A simple local storage adapter for gdpr-guard", | ||
@@ -42,7 +42,7 @@ "main": "dist/index.js", | ||
"date-fns": "^3.6.0", | ||
"gdpr-guard": "^2.3.0", | ||
"gdpr-guard": "^2.4.1", | ||
"store": "^2.0.12" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.14.9", | ||
"@types/node": "^20.14.10", | ||
"@types/store": "^2.0.5", | ||
@@ -54,8 +54,8 @@ "@types/webpack": "^5.28.5", | ||
"ts-node": "^10.9.2", | ||
"typedoc": "^0.23.24", | ||
"typedoc": "^0.23.28", | ||
"typedoc-plugin-as-member-of": "^1.0.2", | ||
"typescript": "^4.9.4", | ||
"typescript": "^4.9.5", | ||
"webpack": "^5.92.1", | ||
"webpack-cli": "^5.0.1" | ||
"webpack-cli": "^5.1.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
182129
277
Updatedgdpr-guard@^2.4.1