(()=>{var e,t,n,r,o={72505:(e,t,n)=>{e.exports=n(18015)},35592:(e,t,n)=>{"use strict";var r=n(9516),o=n(7522),s=n(33948),a=n(79106),i=n(99615),l=n(62012),c=n(64202),u=n(47763),d=n(96987),f=n(31928);e.exports=function(e){return new Promise((function(t,n){var p,m=e.data,g=e.headers,h=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var S=i(e.baseURL,e.url);function E(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,s={data:h&&"text"!==h&&"json"!==h?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),v()}),(function(e){n(e),v()}),s),b=null}}if(b.open(e.method.toUpperCase(),a(S,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(E)},b.onabort=function(){b&&(n(u("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(u("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var C=(e.withCredentials||c(S))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;C&&(g[e.xsrfHeaderName]=C)}"setRequestHeader"in b&&r.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),h&&"json"!==h&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new f("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null),b.send(m)}))}},18015:(e,t,n)=>{"use strict";var r=n(9516),o=n(69012),s=n(35155),a=n(85343),i=function e(t){var n=new s(t),i=o(s.prototype.request,n);return r.extend(i,s.prototype,n),r.extend(i,n),i.create=function(n){return e(a(t,n))},i}(n(96987));i.Axios=s,i.Cancel=n(31928),i.CancelToken=n(3191),i.isCancel=n(93864),i.VERSION=n(49641).version,i.all=function(e){return Promise.all(e)},i.spread=n(17980),i.isAxiosError=n(45019),e.exports=i,e.exports.default=i},31928:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},3191:(e,t,n)=>{"use strict";var r=n(31928);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},93864:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},35155:(e,t,n)=>{"use strict";var r=n(9516),o=n(79106),s=n(83471),a=n(64490),i=n(85343),l=n(34841),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=i(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(u),s=Promise.resolve(t);d.length;)s=s.then(d.shift(),d.shift());return s}for(var f=t;r.length;){var p=r.shift(),m=r.shift();try{f=p(f)}catch(e){m(e);break}}try{s=a(f)}catch(e){return Promise.reject(e)}for(;u.length;)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=u},83471:(e,t,n)=>{"use strict";var r=n(9516);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},99615:(e,t,n)=>{"use strict";var r=n(29137),o=n(84680);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},47763:(e,t,n)=>{"use strict";var r=n(5449);e.exports=function(e,t,n,o,s){var a=new Error(e);return r(a,t,n,o,s)}},64490:(e,t,n)=>{"use strict";var r=n(9516),o=n(82881),s=n(93864),a=n(96987),i=n(31928);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5449:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},85343:(e,t,n)=>{"use strict";var r=n(9516);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||s,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},7522:(e,t,n)=>{"use strict";var r=n(47763);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},82881:(e,t,n)=>{"use strict";var r=n(9516),o=n(96987);e.exports=function(e,t,n){var s=this||o;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},96987:(e,t,n)=>{"use strict";var r=n(9516),o=n(7018),s=n(5449),a={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(35592)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw s(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c},49641:e=>{e.exports={version:"0.25.0"}},69012:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},79106:(e,t,n)=>{"use strict";var r=n(9516);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(r.isURLSearchParams(t))s=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),s=a.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},84680:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},33948:(e,t,n)=>{"use strict";var r=n(9516);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,s,a){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(o)&&i.push("path="+o),r.isString(s)&&i.push("domain="+s),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},29137:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},45019:(e,t,n)=>{"use strict";var r=n(9516);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},64202:(e,t,n)=>{"use strict";var r=n(9516);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},7018:(e,t,n)=>{"use strict";var r=n(9516);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},62012:(e,t,n)=>{"use strict";var r=n(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,a={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},17980:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},34841:(e,t,n)=>{"use strict";var r=n(49641).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var s=r[o],a=t[s];if(a){var i=e[s],l=void 0===i||a(i,s,e);if(!0!==l)throw new TypeError("option "+s+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+s)}},validators:o}},9516:(e,t,n)=>{"use strict";var r=n(69012),o=Object.prototype.toString;function s(e){return Array.isArray(e)}function a(e){return void 0===e}function i(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:s,isArrayBuffer:i,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&i(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):s(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},32828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(81621),o=n(9588);const s=(0,r.vt)(((e,t)=>({filter:"all",notices:[],error:!1,percentageCompleted:0,progressLoaded:!1,progressLoading:!1,setProgressLoaded(t){e((e=>({progressLoaded:t})))},showCookieBanner:!1,setFilter:t=>{sessionStorage.cmplz_task_filter=t,e((e=>({filter:t})))},fetchFilter:()=>{if("undefined"!=typeof Storage&&sessionStorage.cmplz_task_filter){let t=sessionStorage.cmplz_task_filter;e((e=>({filter:t})))}},fetchProgressData:async()=>{if(t().progressLoading)return;e({progressLoading:!0});const{notices:n,show_cookiebanner:r}=await o.doAction("get_notices").then((e=>e));e((e=>({progressLoading:!1,notices:n,percentageCompleted:t().getPercentageCompleted(n),showCookieBanner:r,progressLoaded:!0})))},updateProgressData:async(n,r)=>{e((e=>({notices:n,percentageCompleted:t().getPercentageCompleted(n),showCookieBanner:r,progressLoaded:!0})))},dismissNotice:async n=>{let r=t().notices;r=r.filter((function(e){return e.id!==n})),e((e=>({notices:r})));let s={};s.id=n,await o.doAction("dismiss_task",s),e((e=>({notices:r,percentageCompleted:t().getPercentageCompleted(r)})))},addNotice:(n,r,o,s)=>{let a=t().notices;a.filter((e=>e.id===n)).length||(s=[s],a.push({id:n,status:r,label:r,message:o,show_with_options:s}),e((e=>({notices:a,percentageCompleted:t().getPercentageCompleted(a)}))))},getPercentageCompleted:e=>{let n=(e=void 0===e?t().notices:e).length,r=e.filter((e=>"completed"===e.status)).length/n*100;return Math.round(r)}})))},34963:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(86087),o=n(27723),s=n(52043);const a=()=>{const{menu:e,selectedMainMenuItem:t,fetchSelectedMainMenuItem:n,fetchMenuData:a}=(0,s.default)(),i=cmplz_settings.plugin_url;(0,r.useEffect)((()=>{a(),n()}),[]);let l=Object.values(e);return l=l.filter((e=>null!==e)),(0,r.createElement)("div",{className:"cmplz-header-container"},(0,r.createElement)("div",{className:"cmplz-settings-header"},(0,r.createElement)("img",{className:"cmplz-header-logo",src:i+"assets/images/cmplz-logo.svg",alt:"Complianz logo"}),(0,r.createElement)("div",{className:"cmplz-header-left"},(0,r.createElement)("nav",{className:"cmplz-header-menu"},(0,r.createElement)("ul",null,l.map(((e,n)=>(0,r.createElement)("li",{key:n},(0,r.createElement)("a",{className:t===e.id?"cmplz-main active":"cmplz-main",href:"#"+e.id.toString()},e.title))))))),(0,r.createElement)("div",{className:"cmplz-header-right"},(0,r.createElement)("a",{className:"cmplz-knowledge-base-link",href:"https://complianz.io/docs",target:"_blank",rel:"noopener noreferrer"},(0,o.__)("Documentation","complianz-gdpr")),cmplz_settings.is_premium&&(0,r.createElement)("a",{href:"#tools/support",className:"button button-black"},(0,o.__)("Support","complianz-gdpr")),!cmplz_settings.is_premium&&(0,r.createElement)("a",{href:cmplz_settings.upgrade_link,className:"button button-black",target:"_blank",rel:"noopener noreferrer"},(0,o.__)("Go Pro","complianz-gdpr")))))}},25923:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(86087),o=n(14144),s=n(27723),a=n(52043),i=n(76641),l=n(97194);const c=()=>{const{subMenu:e,hasPremiumItems:t,subMenuLoaded:n,selectedMainMenuItem:c}=(0,a.default)();return n?(0,r.createElement)("div",{className:"cmplz-wizard-menu"},(0,r.createElement)("div",{className:"cmplz-wizard-menu-header"},(0,r.createElement)("h1",{className:"cmplz-h4"},e.title)),(0,r.createElement)("div",{className:"cmplz-wizard-menu-items"},e.menu_items.map(((e,t)=>(0,r.createElement)(o.default,{key:e.id,index:t+1,menuItem:e,isMain:!0}))),t&&cmplz_settings.is_premium&&(0,r.createElement)("div",{className:"cmplz-premium-menu-item"},(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:cmplz_settings.upgrade_link,className:"button button-black"},(0,s.__)("Go Pro","complianz-gdpr"))),"banner"===c&&(0,r.createElement)(i.default,null))):(0,r.createElement)(l.default,null)}},52043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(81621),o=n(45511);const s=(0,r.vt)(((e,t)=>({menu:[],subMenuLoaded:!1,previousMenuItem:!1,nextMenuItem:!1,selectedMainMenuItem:"dashboard",selectedSubMenuItem:!1,hasPremiumItems:!1,subMenu:{title:" ",menu_items:[]},setSelectedSubMenuItem:t=>e((e=>({selectedSubMenuItem:t}))),fetchSelectedMainMenuItem:()=>{let t=(0,o.default)("main")||"dashboard";e((()=>({selectedMainMenuItem:t}))),(0,o.default)("main")!==t&&(window.location.hash="#"+t)},getMenuLinkById:e=>{let n=c(t().menu,"wizard").menu_items;for(let t=0;t<n.length;t++){const r=n[t];if(r.id===e)return"#wizard/"+r.id;if(r.menu_items)for(let t=0;t<r.menu_items.length;t++){const n=r.menu_items[t];if(n.id===e)return"#wizard/"+n.id}}return"#general"},saveButtonsRequired:()=>{let e=t().selectedSubMenuItem,n=t().subMenu.menu_items,r=n.filter((t=>t.id===e));return 0===r.length?(n=d(e,n),!1!==n.save_buttons_required):(r=r[0],!1!==r.save_buttons_required)},fetchSelectedSubMenuItem:async()=>{let t=(0,o.default)("menu")||"general";e((e=>({selectedSubMenuItem:t})))},fetchMenuData:t=>{let n=cmplz_settings.menu;const r=(0,o.default)("main")||"dashboard";if(void 0!==t){let o=c(n,r);const s=u(o,t);o.menu_items=l(o.menu_items,t,s);const{nextMenuItem:a,previousMenuItem:d}=i(o,s),f=d?`#${r}/${d}`:"#",p=`#${r}/${a}`,m=o.menu_items.filter((e=>!0===e.premium)).length>0;e((e=>({subMenuLoaded:!0,menu:n,nextMenuItem:p,previousMenuItem:f,selectedMainMenuItem:r,selectedSubMenuItem:s,subMenu:o,hasPremiumItems:m})))}else e((e=>({menu:n,selectedMainMenuItem:r})))},getMenuRegions:()=>{let e=t().subMenu.menu_items,n=t().selectedSubMenuItem,r=d(n,e),o=[];return r.hasOwnProperty("region")&&(o=r.region),o}}))),a=(e,t)=>(t.forEach((t=>{t.visible&&(e.push(t.id),t.hasOwnProperty("menu_items")&&a(e,t.menu_items))})),e),i=(e,t)=>{let n,r;const o=[];a(o,[e]);const s=o.findIndex((e=>e===t));if(-1!==s){if(n=o[0===s?"":s-1],d(n,[e]).hasOwnProperty("menu_items")){const t=0===s?0:s-2;n=!!o.hasOwnProperty(t)&&o[t],d(n,[e]).hasOwnProperty("menu_items")&&(n=!1)}r=o[s===o.length-1?"":s+1],n=n||"",r=r||o[o.length-1]}return{nextMenuItem:r,previousMenuItem:n}},l=(e,t,n)=>{const r=e;for(const[o,s]of e.entries())0!==t.filter((e=>e.menu_id===s.id&&e.visible&&!e.conditionallyDisabled)).length||s.hasOwnProperty("menu_items")?(r[o].visible=!0,s.hasOwnProperty("menu_items")&&(r[o].menu_items=l(s.menu_items,t,n))):r[o].visible=!1;return r},c=(e,t)=>{let n=[];for(const r in e)e.hasOwnProperty(r)&&e[r].id===t&&(n=e[r]);return n=f(n),n},u=(e,t)=>{let n,r=e&&e.menu_items.hasOwnProperty(0)?e.menu_items[0].id:"general",s=a([],e.menu_items),i=(0,o.default)("menu");n=s.filter((e=>e===i)),n||(i=!1);let l=i||r;if(0===t.filter((e=>e.menu_id===l)).length){let t=d(l,e.menu_items);t&&t.menu_items&&t.menu_items.hasOwnProperty(0)&&(l=t.menu_items[0].id)}return l},d=(e,t)=>{for(const n in t){let r=t[n];if(r.id===e)return r;if(r.menu_items){let t=d(e,r.menu_items);if(t)return t}}return!1},f=e=>{if(!e.hasOwnProperty("menu_items"))return e;let t=e.menu_items;for(let[e,n]of t.entries())n.visible=!0,n.hasOwnProperty("menu_items")&&(n=f(n)),t[e]=n;return e.menu_items=t,e.visible=!0,e}},14144:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(58168),o=n(86087),s=n(27723),a=n(52043),i=n(4219),l=n(45111),c=n(96979);const u=({index:e,menuItem:t,isMain:n})=>{const{completed:g,selectedSubMenuItem:h,selectedMainMenuItem:v}=((e,t)=>{const{hasMissingPages:n,fetchDocumentsData:r,documentsDataLoaded:s,documentsDataLoading:l}=(0,c.UseDocumentsData)(),{selectedSubMenuItem:u,selectedMainMenuItem:d}=(0,a.default)(),{fieldsLoaded:f,fields:p,notCompletedRequiredFields:m,fetchAllFieldsCompleted:g}=(0,i.default)(),[h,v]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{"create-documents"!==u||s||l||r()}),[e.id]),(0,o.useEffect)((()=>{if(f&&!t)if("create-documents"===e.id)v(!n);else{const t=m.filter((t=>t.menu_id===e.id));v(0===t.length)}}),[m,n,s,u]),(0,o.useEffect)((()=>{g()}),[p]),{completed:h,selectedSubMenuItem:u,selectedMainMenuItem:d}})(t,n),b=d(h,t),y=f(t,n,b),{icon:w,iconColor:S}=p(b,g),E=m(t,v,h);return t.visible?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("a",(0,r.A)({},E,{className:`cmplz-wizard-menu-item ${y}`}),!n&&(0,o.createElement)(l.default,{name:w,size:11,color:S}),t.title,t.featured&&(0,o.createElement)("span",{className:"cmplz-menu-item-featured-pill"},(0,s.__)("New","complianz-gdpr"))),t.menu_items&&b&&(0,o.createElement)("div",{className:"cmplz-submenu-items"},t.menu_items.map(((e,t)=>e.visible&&(0,o.createElement)(u,{key:e.id,menuItem:e}))))):null},d=(e,t)=>{if(e===t.id)return!0;if(t.menu_items)for(const n of t.menu_items)if(n.id===e)return!0;return!1},f=(e,t,n)=>{let r="";return n&&(r+=" cmplz-active"),r+=t?" cmplz-main":" cmplz-sub",r+=e.featured?" cmplz-featured":"",r+=e.premium&&!cmplz_settings.is_premium?" cmplz-premium":"",r},p=(e,t)=>{let n="circle",r="grey";return t&&(n="circle-check",r="green"),e&&(n="bullet",r="dark-blue"),e&&t&&(n="circle-check",r="dark-blue"),{icon:n,iconColor:r}},m=(e,t,n)=>{const r={},o=((e,t)=>!!Array.isArray(e.menu_items)&&e.menu_items.filter((e=>e.id===t)).length>0)(e,n);return e.menu_items&&o||(r.href="#"+t+"/"+e.id),r},g=u},77845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(86087),o=n(34963),s=n(45511),a=n(4219),i=n(52043),l=(n(25923),n(49966)),c=n(97194),u=n(39864),d=n(15139),f=n(32828),p=n(9712),m=n(27723),g=n(65170);const h=()=>{const{progressLoaded:e,fetchProgressData:t}=(0,f.default)(),{error:h,fields:v,changedFields:b,fetchFieldsData:y,updateFieldsData:w,fieldsLoaded:S,lockedByUser:E}=(0,a.default)(),{fetchMenuData:C,selectedMainMenuItem:_,selectedSubMenuItem:x}=(0,i.default)(),{loading:T,syncProgress:P,fetchSyncProgressData:D}=(0,d.default)(),[O,k]=(0,r.useState)(null),[z,A]=(0,r.useState)(null),[M,I]=(0,r.useState)(null),[L,R]=(0,r.useState)(null),[N,j]=(0,r.useState)(null),[B,F]=(0,r.useState)(null),[H,U]=(0,r.useState)(null);(0,r.useEffect)((()=>{cmplz_settings.json_translations.forEach((e=>{let t=JSON.parse(e),n=t.locale_data["complianz-gdpr"]||t.locale_data.messages;n[""].domain="complianz-gdpr",(0,m.setLocaleData)(n,"complianz-gdpr")}))}),[]);let V=-1!==window.location.href.indexOf("tour");(0,r.useEffect)((()=>{V&&!L&&n.e(8525).then(n.bind(n,8525)).then((({default:e})=>{R((()=>e))}))}),[V]);let q=-1!==window.location.href.indexOf("onboarding");return(0,r.useEffect)((()=>{q&&!N&&n.e(6683).then(n.bind(n,16683)).then((({default:e})=>{j((()=>e))}))}),[q]),(0,r.useEffect)((()=>{"dashboard"===_||O||M||(n.e(11).then(n.bind(n,60011)).then((({default:e})=>{k((()=>e))})),Promise.resolve().then(n.bind(n,25923)).then((({default:e})=>{I((()=>e))}))),"dashboard"!==_||z||Promise.all([n.e(4521),n.e(8399),n.e(5296),n.e(8596)]).then(n.bind(n,48596)).then((({default:e})=>{A((()=>e))}))}),[_]),(0,r.useEffect)((()=>{B||n.e(626).then(n.bind(n,10626)).then((({default:e})=>{F((()=>e))}))}),[]),(0,r.useEffect)((()=>{Promise.resolve().then(n.bind(n,55446)).then((e=>{const t=e.ToastContainer;U((()=>t))}))}),[]),(0,r.useEffect)((()=>{window.addEventListener("hashchange",(()=>{C(v)})),S&&C(v)}),[v]),(0,r.useEffect)((()=>{let e=(0,s.default)("menu");w(e)}),[b,x]),(0,r.useEffect)((()=>{(async()=>{let n=(0,s.default)("menu");await y(n),e||await t(),!T&&P<100&&D()})()}),[]),h?(0,r.createElement)(l.default,{error:h}):parseInt(E)!==parseInt(cmplz_settings.user_id)?(0,r.createElement)(l.default,{lockedByUser:E}):(0,r.createElement)("div",{className:"cmplz-wrapper"},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.default,null),V&&L&&(0,r.createElement)(L,null),q&&N&&(0,r.createElement)(N,null),(0,r.createElement)("div",{className:"cmplz-content-area cmplz-grid cmplz-"+_},"dashboard"!==_&&(0,r.createElement)(r.Fragment,null,M&&(0,r.createElement)(M,null),!M&&(0,r.createElement)(c.default,null),O&&(0,r.createElement)(g.default,{fallback:"Could not load: Settings page"},(0,r.createElement)(O,null)),!O&&(0,r.createElement)(u.default,null)),"dashboard"===_&&z&&(0,r.createElement)(z,null)),H&&(0,r.createElement)(H,{position:"bottom-right",autoClose:2e3,limit:3,hideProgressBar:!0,newestOnTop:!0,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,theme:"light"})),"cookie-scan"!==x&&B&&(0,r.createElement)(B,null),"dashboard"===_&&(0,r.createElement)(p.default,null))}},97194:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(86087);const o=()=>(0,r.createElement)("div",{className:"cmplz-wizard-menu cmplz-grid-item"},(0,r.createElement)("div",{className:"cmplz-grid-item-header"},"...",(0,r.createElement)("h1",{className:"cmplz-h4"})))},49966:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(86087),o=n(73972),s=n(27723);const a=e=>{let t=cmplz_settings.plugin_url;const[a,i]=(0,r.useState)(null);return(0,r.useEffect)((()=>{Promise.resolve().then(n.bind(n,55446)).then((e=>{const t=e.ToastContainer;i((()=>t))}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"cmplz-header-container"},(0,r.createElement)("div",{className:"cmplz-settings-header"},(0,r.createElement)("img",{className:"cmplz-header-logo",src:t+"assets/images/cmplz-logo.svg",alt:"Complianz logo"}))),(0,r.createElement)("div",{className:"cmplz-content-area cmplz-grid cmplz-dashboard cmplz-page-placeholder"},(0,r.createElement)("div",{className:"cmplz-grid-item  cmplz-column-2 cmplz-row-2 "},e.error&&(0,r.createElement)(o.default,{error:e.error}),e.lockedByUser>0&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",null,(0,s.__)("The wizard is currently in use by user with ID: ","complianz-gdpr")+e.lockedByUser),(0,r.createElement)("p",null,(0,s.__)("To prevent conflicts during saving the wizard is temporarily locked.","complianz-gdpr")),(0,r.createElement)("p",null,(0,s.__)("The lock will automatically clear after two minutes.","complianz-gdpr")))),(0,r.createElement)("div",{className:"cmplz-grid-item cmplz-row-2"}),(0,r.createElement)("div",{className:"cmplz-grid-item cmplz-row-2"}),(0,r.createElement)("div",{className:"cmplz-grid-item  cmplz-column-2"})),a&&(0,r.createElement)(a,{position:"bottom-right",autoClose:2e3,limit:3,hideProgressBar:!0,newestOnTop:!0,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,theme:"light"}))}},99695:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(86087),o=n(73972);const s=e=>{let t=e.lines;return t||(t=4),(0,r.createElement)("div",{className:"cmplz-placeholder cmplz-placeholder-count-"+t},e.error&&(0,r.createElement)(o.default,{error:e.error}),Array.from({length:t}).map(((e,t)=>(0,r.createElement)("div",{className:"cmplz-placeholder-line",key:t}))))}},39864:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(86087),o=n(99695);const s=()=>(0,r.createElement)("div",{className:"cmplz-wizard-settings cmplz-column-2"},(0,r.createElement)("div",{className:"cmplz-grid-item"},(0,r.createElement)("div",{className:"cmplz-grid-item-content"},(0,r.createElement)("div",{className:"cmplz-settings-block-intro"},(0,r.createElement)(o.default,{lines:"3"})))),(0,r.createElement)("div",{className:"cmplz-grid-item-footer"}))},76641:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(86087),o=n(4219),s=n(88499),a=n(27723),i=n(45111);const l=()=>{const{getFieldValue:e}=(0,o.default)(),{selectedBannerId:t,setBannerId:n,banners:l,consentType:c,consentTypes:u,setConsentType:d,cssLoading:f,bannerDataLoaded:p}=(0,s.default)();let m=[];for(var g in u)if(u.hasOwnProperty(g)){let e={};e.label=u[g],e.value=g,m.push(e)}const h=e=>{let t=f||!p?"loading":"loaded";return t+=e.value===c?" active":" inactive",t},v=1==e("a_b_testing_buttons");return(0,r.createElement)("div",{className:"cmplz-cookiebanner-preview-controls"},v&&l.length>1&&(0,r.createElement)("h6",null,(0,a.__)("Switch between banners","complianz-gdpr")),(0,r.createElement)("div",{className:"cmplz-cookiebanner-preview-controls-buttons"},v&&l.length>1&&l.map(((e,o)=>(0,r.createElement)("button",{key:o,className:e.ID===t?"active":"inactive",onClick:()=>{return t=e.ID,void(f||n(t));var t}},""!==e.title?e.title:(0,a.__)("Banner","complianz-gdpr")+" "+(o+1))))),m.length>1&&(0,r.createElement)("h6",null,(0,a.__)("Edit consent types","complianz-gdpr")),(0,r.createElement)("div",{className:"cmplz-cookiebanner-preview-controls-buttons"},m.length>1&&m.map(((e,t)=>(0,r.createElement)("button",{key:t,className:h(e),onClick:()=>{return t=e.value,void(f||d(t));var t}},e.label))),f&&(0,r.createElement)(i.default,{name:"loading"})))}},88499:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(81621),o=n(9588),s=n(55446),a=n(27723);const i=(0,r.vt)(((e,t)=>({bannerDataLoaded:!1,bannerDataLoading:!1,setBannerDataLoaded:t=>e({bannerDataLoaded:t}),setCssLoading:t=>e({cssLoading:t}),customizeUrl:"#",cssLoaded:!1,bannerHtml:"",pageLinks:[],cssFile:"",cssIndex:1,selectedBannerId:0,selectedBanner:{},banners:[],manageConsentHtml:"",bannerContainerClass:"",tcfActiveServerside:!1,setBannerContainerClass:t=>e({bannerContainerClass:t}),consentTypes:[],consentType:"",setLanguage:t=>e({language:t}),setConsentType:t=>{"undefined"!=typeof Storage&&(sessionStorage.cmplzBannerPreviewConsentType=t),e({consentType:t})},setBannerId:n=>{let r=t().banners;"undefined"!=typeof Storage&&(sessionStorage.cmplzBannerPreviewBannerID=n);let o=r.filter((e=>e.ID===n))[0];e({selectedBanner:o,selectedBannerId:n,bannerFieldsSynced:!1})},saveBanner:e=>{let n=t().selectedBanner;e=e.filter((e=>"banner"===e.data_target));let r={};r.fields=e,r.banner_id=n.ID;const i=o.doAction("update_banner_data",r).then((e=>e)).catch((e=>{console.error(e)}));s.toast.promise(i,{pending:(0,a.__)("Saving settings...","complianz-gdpr"),success:(0,a.__)("Settings saved","complianz-gdpr"),error:(0,a.__)("Something went wrong","complianz-gdpr")})},generatePreviewCss:async n=>{if(t().cssLoading)return;e({cssLoading:!0});let r=t().consentType,s=t().selectedBanner.ID,a={};a.fields=n,a.banner_id=s,await o.doAction("generate_preview_css",a).then((()=>!0)).catch((e=>{console.error(e)}));let i=t().cssFile,l=t().cssIndex,c=document.createElement("link");i=i+"?"+Math.random(),i=i.replace("banner-","banner-preview-"),i=i.replace("{type}",r).replace("{banner_id}",s),c.href=i,c.type="text/css",c.rel="stylesheet";let u=l+1;c.classList.add("cmplz-banner-css-"+u),document.getElementsByTagName("head")[0].appendChild(c),c.onload=function(){let t=document.querySelector(".cmplz-banner-css-"+l);t&&t.parentElement.removeChild(t);var n=new CustomEvent("cmplzCssLoaded");document.dispatchEvent(n),l++,e({cssLoaded:!0,cssIndex:u,cssLoading:!1})}},fetchBannerData:async()=>{if(t().bannerDataLoading)return;e({bannerDataLoading:!0});const{customize_url:n,css_file:r,banner_html:s,manage_consent_html:a,consent_types:i,default_consent_type:l,banners:c,page_links:u,tcf_active:d}=await o.doAction("get_banner_data",{}).then((e=>e)).catch((e=>{console.error(e)}));let f=c.filter((e=>"1"===e.default)),p=0===f.length?c[0]:f[0],m=l,g=p.ID,h=p;if("undefined"!=typeof Storage){if(sessionStorage.cmplzBannerPreviewConsentType){let e=sessionStorage.cmplzBannerPreviewConsentType;Object.keys(i).includes(e)&&(m=e)}if(sessionStorage.cmplzBannerPreviewBannerID){let e=c.filter((e=>e.ID===sessionStorage.cmplzBannerPreviewBannerID))[0];void 0!==e&&(h=e,g=e.ID)}}return e({customizeUrl:n,selectedBannerId:g,selectedBanner:h,bannerDataLoaded:!0,bannerDataLoading:!1,bannerHtml:s,cssFile:r,banners:c,manageConsentHtml:a,consentTypes:i,consentType:m,pageLinks:u,tcfActiveServerside:d}),!0},setSelectedBanner:n=>{let r=t().banners.filter((e=>e.ID===n))[0];e({selectedBanner:r})}})))},15139:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(86087),o=n(81621),s=n(9588),a=n(45111),i=n(16535);const l=(0,o.vt)(((e,t)=>({addedIds:[],loadingSyncData:!1,syncDataLoaded:!1,errorMessage:"",curlExists:!0,language:"en",languages:["en"],hasSyncableData:!0,purposesOptions:[],serviceTypeOptions:[],syncProgress:0,cookies:[],fCookies:[],cookieCount:1,services:[],fServices:[],saving:!1,adding:!1,servicesAndCookies:[],showDeletedCookies:!1,setShowDeletedCookies:t=>e({showDeletedCookies:t}),setSyncProgress:t=>e({syncProgress:t}),setLanguage:t=>e({language:t}),fetchSyncProgressData:async()=>{if(t().loadingSyncData)return;if(e({loadingSyncData:!0,syncDataLoaded:!1}),0===t().cookies.length){let t,n=[];for(let e=1;e<5;e++)t={ID:-e,service:(0,r.createElement)(a.default,{name:"loading",color:"grey"}),serviceID:-e,name:"",deleted:0,sharesData:0,isMembersOnly:0,showOnPolicy:0,retention:"",cookieFunction:"",purpose:"",sync:0,privacyStatementURL:"",language:"en",slug:"loading-placeholder"},n.push(t);e({cookies:n})}const{syncProgress:n,cookies:o,services:s,curlExists:i,hasSyncableData:l,purposesOptions:u,serviceTypeOptions:d,defaultLanguage:f,languages:p}=await c(!1,t().language);let m=t().language?t().language:f;e({language:m,languages:p,purposesOptions:u,serviceTypeOptions:d,services:s,syncProgress:n,cookies:o,curlExists:i,hasSyncableData:l,loadingSyncData:!1,syncDataLoaded:!0}),t().filterAndSort()},filterAndSort:()=>{e((0,i.Ay)((e=>{let n=[...t().services].sort(((e,t)=>e.name.localeCompare(t.name)));e.fServices=n;let r=[...t().cookies].filter((e=>t().showDeletedCookies||!t().showDeletedCookies&&1!==e.deleted&&!0!==e.deleted)).sort(((e,t)=>e.name.localeCompare(t.name)));e.fCookies=r})))},restart:async()=>{if(t().loadingSyncData)return;e((()=>({loadingSyncData:!0,syncDataLoaded:!1})));const{syncProgress:n,cookieCount:r,cookies:o,services:s,curlExists:a,hasSyncableData:i,purposesOptions:l,serviceTypeOptions:u,defaultLanguage:d,languages:f,errorMessage:p}=await c(!0);let m=t().language?t().language:d;e((()=>({loadingSyncData:!1,language:m,languages:f,purposesOptions:l,serviceTypeOptions:u,services:s,syncProgress:n,cookies:o,cookieCount:r,curlExists:a,hasSyncableData:i,errorMessage:p,syncDataLoaded:!0}))),t().filterAndSort()},updateCookie:(n,r,o)=>{e((0,i.Ay)((e=>{const t=e.cookies.findIndex((e=>e.ID===n));-1!==t&&(e.cookies[t][r]=o)}))),t().filterAndSort()},addCookie:async(n,r)=>{e({adding:!0});let o={};o.service=r,o.cookieName=t().cookies.length;const{cookies:a}=await s.doAction("add_cookie",o).then((e=>e)).catch((e=>{console.error(e)}));e((0,i.Ay)((e=>{a.forEach((function(n,r){n.language===t().language&&e.cookies.push(n)}))}))),e({adding:!1}),t().filterAndSort()},saveCookie:async n=>{if(t().saving)return;e({saving:!0});const r=t().cookies.findIndex((e=>e.ID===n));if(-1!==r){let n={};n.cookie=t().cookies[r];const{cookies:o}=await s.doAction("update_cookie",n).then((e=>e)).catch((e=>{console.error(e)}));e((0,i.Ay)((e=>{o.forEach((function(t,n){let r=e.cookies.findIndex((e=>e.ID===t.ID));e.cookies[r]=t}))}))),e({saving:!1})}t().filterAndSort()},addService:()=>{let n=[...t().addedIds],r=t().language;e((0,i.Ay)((e=>{let t=d(n);n.push(t);const o={ID:t,name:"New Service",slug:"new_service",sync:!1,privacyStatementURL:"",language:r};e.services.push(o),e.addedIds=n}))),t().filterAndSort()},saveService:async n=>{if(t().saving)return;e({saving:!0});let r=t().services;const o=r.findIndex((e=>e.ID===n));if(-1!==o){let a={};a.service=r[o],await s.doAction("update_service",a).then((r=>{if(n<0){let o=t().services,s=[];o.forEach((function(e,t){const o={...e};e.ID===n&&(o.ID=r.ID),s.push(o)})),e({services:s})}return e({saving:!1}),r})).catch((e=>{console.error(e)}))}t().filterAndSort()},toggleDeleteCookie:async n=>{e((0,i.Ay)((e=>{const t=e.cookies.findIndex((e=>e.ID===n));if(-1!==t){const n={...e.cookies[t]};n.deleted=1!=n.deleted,e.cookies[t]=n}})));let r={};r.id=n,await s.doAction("delete_cookie",r).then((e=>{})).catch((e=>{console.error(e)})),t().filterAndSort()},deleteService:async n=>{let r={};r.id=n,await s.doAction("delete_service",r).then((e=>e)).catch((e=>{console.error(e)})),e((0,i.Ay)((e=>{e.cookies=e.cookies.filter((function(e){return parseInt(e.serviceID)!==parseInt(n)})),e.services=e.services.filter((function(e){return parseInt(e.ID)!==parseInt(n)}))}))),t().filterAndSort()},updateService:(n,r,o)=>{e((0,i.Ay)((e=>{const t=e.services.findIndex((e=>e.ID===n));-1!==t&&(e.services[t][r]=o,"sync"!==r||o||(e.services[t].synced=o))}))),t().filterAndSort()}}))),c=(e,t)=>{let n={scan_action:"get_progress"};return n.language=t,e&&(n.scan_action="restart"),s.doAction("sync",n).then((e=>{let t=e.progress,n=e.curl_exists,r=e.cookies,o=e.services,s=e.message;r&&0!==r.length||(r=[]),Array.isArray(r)||(r=Object.values(r)),Array.isArray(o)||(o=Object.values(o)),r.forEach((function(e,t){r[t].name=u(e.name),r[t].retention=u(e.retention),r[t].cookieFunction=u(e.cookieFunction)}));let a=e.has_syncable_data,i=e.purposes_options,l=e.serviceType_options,c=e.default_language,d=r.length;return{syncProgress:t,cookies:r,cookieCount:d,services:o,curlExists:n,hasSyncableData:a,purposesOptions:i,serviceTypeOptions:l,defaultLanguage:c,languages:e.languages,errorMessage:s}})).catch((e=>{console.error(e)}))},u=e=>(new DOMParser).parseFromString(e,"text/html").documentElement.textContent,d=e=>{let t;return t=0===e.length?0:1===e.length?e[0]:Math.min(...e),t-1}},96979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UseDocumentsData:()=>a});var r=n(81621),o=n(9588),s=n(16535);const a=(0,r.vt)(((e,t)=>({documentsDataLoaded:!1,documentsDataLoading:!1,saving:!1,hasMissingPages:!1,requiredPages:[],documentsChanged:!1,fetchDocumentsData:async()=>{if(t().documentsDataLoading)return;e({documentsDataLoading:!0});const n=await i(!1);let r=!1,o=n.required_pages;o.forEach((function(e,t){e.page_id||(r=!0)})),e({documentsDataLoaded:!0,hasMissingPages:r,requiredPages:o,documentsDataLoading:!1})},updateDocument:(t,n)=>{e((0,s.Ay)((e=>{let r=!1;e.requiredPages.forEach((function(e,n){e.page_id===t&&(r=n)})),!1!==r&&(e.requiredPages[r].title=n,e.documentsChanged=!0)})))},saveDocuments:async()=>{e({saving:!0});let n=t().documentsChanged,r=t().hasMissingPages,s=t().requiredPages;if(n||r){let t={};return t.documents=s,t.generate=!0,o.doAction("documents_data",t).then((t=>{let n=!1,r=t.required_pages;return r.forEach((function(e,t){e.page_id||(n=!0)})),e({documentsDataLoaded:!0,hasMissingPages:n,requiredPages:r,saving:!1}),!0})).catch((e=>{console.error(e)}))}return!0}}))),i=()=>o.doAction("documents_data",{generate:!1}).then((e=>e)).catch((e=>{console.error(e)}))},32636:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(58168),o=n(86087),s=n(4219),a=n(27723),i=n(45111),l=n(59387),c=n(42838),u=n.n(c),d=n(99695);const f={multicheckbox:{componentPath:"Settings/Inputs/CheckboxGroup"},checkbox:{componentPath:"Settings/Inputs/SwitchInput"},radio:{componentPath:"Settings/Inputs/RadioGroup"},select:{componentPath:"Settings/Inputs/SelectInput"},placeholder_preview:{componentPath:"Settings/PlaceholderPreview/PlaceholderPreview"},text:{componentPath:"Settings/Inputs/TextInput"},textarea:{componentPath:"Settings/Inputs/TextAreaInput"},phone:{componentPath:"Settings/Inputs/PhoneInput"},email:{componentPath:"Settings/Inputs/EmailInput"},number:{componentPath:"Settings/Inputs/NumberInput"},url:{componentPath:"Settings/Inputs/URLInput"},text_checkbox:{componentPath:"Settings/Inputs/TextSwitchInput"},statistics:{componentPath:"Statistics/Statistics"},"statistics-feedback":{componentPath:"Statistics/StatisticsFeedback"},import:{componentPath:"Settings/Export/ImportControl"},export:{componentPath:"Settings/Export/ExportControl"},"integrations-services":{componentPath:"Settings/Integrations/ServicesControl"},"integrations-plugins":{componentPath:"Settings/Integrations/PluginsControl"},"integrations-script-center":{componentPath:"Settings/Integrations/ScriptCenterControl"},borderradius:{componentPath:"Settings/Inputs/BorderInput",customProps:{units:["px","%","em","rem"]}},borderwidth:{componentPath:"Settings/Inputs/BorderInput"},colorpicker:{componentPath:"Settings/ColorPicker/ColorPickerControl"},document:{componentPath:"Settings/DocumentControl"},hidden:{componentPath:"Settings/Inputs/InputHidden"},editor:{componentPath:"Settings/Editor/Editor"},css:{componentPath:"Settings/Editor/AceEditorControl"},cookie_scan:{componentPath:"Settings/CookieScan/CookieScanControl"},finish:{componentPath:"Settings/Finish/FinishControl"},cookiedatabase_sync:{componentPath:"Settings/Cookiedatabase/CookieDatabaseSyncControl"},documents_menu:{componentPath:"Settings/DocumentsMenu/DocumentsMenuControl"},documents_menu_region_redirect:{componentPath:"Settings/DocumentsMenu/DocumentsMenuControl"},plugins_privacy_statements:{componentPath:"Settings/PluginsPrivacyStatements/PluginsPrivacyStatementsControl"},button:{componentPath:"Settings/Inputs/Button"},"debug-data":{componentPath:"Settings/Debug/DebugDataControl"},"banner-reset-button":{componentPath:"Settings/CookieBannerPreview/ResetBannerButton"},"processing-agreements":{componentPath:"Settings/ProcessingAgreements/ProcessingAgreementsControl"},"create-processing-agreements":{componentPath:"Settings/ProcessingAgreements/CreateProcessingAgreements"},"data-breach-reports":{componentPath:"Settings/DataBreachReports/DataBreachReportsControl"},"create-data-breach-reports":{componentPath:"Settings/DataBreachReports/CreateDataBreachReport"},"proof-of-consent":{componentPath:"Settings/ProofOfConsent/ProofOfConsentControl"},"records-of-consent":{componentPath:"Settings/RecordsOfConsent/RecordsOfConsentControl"},datarequests:{componentPath:"Settings/DataRequests/DatarequestsControl"},"export-datarequests":{componentPath:"Settings/DataRequests/ExportDatarequests"},"export-records-of-consent":{componentPath:"Settings/RecordsOfConsent/ExportRecordsOfConsent"},"create-proof-of-consent":{componentPath:"Settings/ProofOfConsent/CreateProofOfConsent"},processors:{componentPath:"Settings/Processors/ProcessorControl"},thirdparties:{componentPath:"Settings/ThirdParties/ThirdPartyControl"},"create-documents":{componentPath:"Settings/CreateDocuments/CreateDocumentsControl"},plugins_overview:{componentPath:"Settings/PluginsOverviewControl"},license:{componentPath:"Settings/License/License"},banner_logo:{componentPath:"Settings/CookieBannerPreview/BannerLogoControl"},support:{componentPath:"Settings/Support"},security_measures:{componentPath:"Settings/SecurityMeasures/SecurityMeasures"},"install-plugin":{componentPath:"Settings/InstallPlugin/InstallPlugin"},"copy-multisite":{componentPath:"Settings/Multisite/CopyMultisite"}},p=(0,o.memo)((({field:e,highLightField:t,isCustomField:c,customChangeHandler:p})=>{const{updateField:m,getFieldValue:g,setChangedField:h}=(0,s.default)(),[v,b]=(0,o.useState)(null),[y,w]=(0,o.useState)(null);let S={...f};"button"===e.type&&(S={...f,button:{...f.button,customProps:{action:e.action}}});const E=S[e.type];(0,o.useEffect)((()=>{f[e.type]&&n(59140)(`./${f[e.type].componentPath}`).then((e=>{e.default&&b(e.default)})).catch((t=>{console.error(`Error loading component of type ${e.type}: ${t}`)}))}),[e.type]);const C=t=>{y&&w(null),e.required&&(Array.isArray(t)&&t.every((e=>""===e))||""===t)&&_("required"),c?p(e.id,t):(m(e.id,t),h(e.id,t))},_=e=>{const t={required:(0,a.__)("This field is required","complianz-gdpr"),invalid_url:(0,a.__)("Please enter a valid URL","complianz-gdpr"),invalid_email:(0,a.__)("Please enter a valid email address","complianz-gdpr"),invalid_number:(0,a.__)("Please enter a valid number","complianz-gdpr"),invalid_phone:(0,a.__)("Please enter a valid phone number","complianz-gdpr")};w(t[e]?t[e]:null)};if(!e.conditionallyDisabled&&E){const n=y?"cmplz-error":"",s=(t===e.id?"cmplz-field-wrap cmplz-highlight":"cmplz-field-wrap")+" "+n+" cmplz-"+e.type,{customProps:a}=E,c=e.comment_status?"cmplz-comment-"+e.comment_status:"";let f=e.label;if(f){const e=/{cmplz_dynamic_content=(.*?)}/,t=f.match(e);if(t&&t.length>1){const e=t[1];let n=g(e);n=n.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "),f=f.replace("{cmplz_dynamic_content="+e+"}",n)}}return(0,o.createElement)("div",{className:s},e.parent_label&&(0,o.createElement)(l.default,{id:e.id,label:e.parent_label,tooltip:e.tooltip,premium:e.premium,required:e.required,type:e.type,isParentLabel:!0}),"hidden"!==e.type&&(0,o.createElement)(l.default,{id:e.id,label:f,tooltip:e.tooltip,premium:e.premium,required:e.required,type:e.type,isParentLabel:!1}),v&&(0,o.createElement)(v,(0,r.A)({id:e.id,label:f,value:e.value,onChange:C,required:e.required,defaultValue:e.default,disabled:e.disabled,options:e.options,fields:e.fields,field:e,placeholder:e.placeholder,onError:_},a)),!v&&(0,o.createElement)(d.default,{lines:"1"}),e.comment&&(0,o.createElement)("div",{className:"cmplz-comment "+c,dangerouslySetInnerHTML:{__html:u().sanitize(e.comment)}}),y&&(0,o.createElement)("div",{className:"cmplz-error-text"},(0,o.createElement)(i.default,{name:"error",size:13,color:"red"}),(0,o.createElement)("p",null,y)))}return null}))},54537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(86087),o=n(45111);const s=({tooltip:e})=>e?(0,r.createElement)(o.default,{name:"help",size:14,tooltip:e}):null},4219:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(81621),o=n(16535),s=n(9588),a=n(55446),i=n(27723),l=n(32828),c=n(73710);const u=(0,r.vt)(((e,t)=>({fieldsLoaded:!1,saving:!1,preloadFields:[],error:!1,fields:[],selectedFields:[],fieldNotices:[],fieldNoticesLoaded:!1,changedFields:[],documentSettingsChanged:!1,notCompletedRequiredFields:[],notCompletedFields:[],completableFields:[],allRequiredFieldsCompleted:!1,nextButtonDisabled:!1,highLightField:"",lockedByUser:0,fetchingFieldNotices:!1,setDocumentSettingsChanged(t){e({documentSettingsChanged:t})},setHighLightField:t=>e((e=>({highLightField:t}))),fetchAllFieldsCompleted:()=>{let n=t().fields.filter((e=>e.required&&m(e)&&!e.conditionallyDisabled&&(e.never_saved||0===e.value.length||!e.value))),r=t().fields.filter((e=>m(e)&&!e.conditionallyDisabled&&(e.never_saved||0===e.value.length||!e.value))),o=t().fields.filter((e=>m(e)&&!e.conditionallyDisabled));e((()=>({notCompletedRequiredFields:n,allRequiredFieldsCompleted:0===n.length,notCompletedFields:r,completableFields:o})))},setChangedField:(t,n)=>{e((0,o.Ay)((e=>{const r=e.changedFields.findIndex((e=>e.id===t));-1!==r?e.changedFields[r].value=n:e.changedFields.push({id:t,value:n})})))},showSavedSettingsNotice:e=>{p(e)},updateField:(t,n)=>{let r=!1,s=!1;e((0,o.Ay)((e=>{if(e.fields.forEach((function(e,n){e.id===t&&(s=n,r=!0)})),!1!==s){e.fields[s].value=n;let t=e.fields[s];"document"!==t.type&&"regions"!==t.id||(e.documentSettingsChanged=!0)}})))},addHelpNotice:(t,n,r,s,a)=>{let i={};i.label=n,i.text=r,a&&(i.url=a),s&&(i.title=s),e((0,o.Ay)((e=>{const n=e.fields.findIndex((e=>e.id===t));-1!==n&&(e.fields[n].help=i)})))},removeHelpNotice:t=>{e((0,o.Ay)((e=>{const n=e.fields.findIndex((e=>e.id===t));e.fields[n].help=!1})))},getFieldValue:e=>{let n=t().fields;for(const t of n)if(t.id===e)return t.value;return!1},getField:e=>{let n=t().fields;for(const t of n)if(t.id===e)return t;return!1},saveFields:async(n,r=!0,u=!1)=>{let p=t().fields;e({saving:!0});const m=t().changedFields;let g=p.filter((e=>{const t=m.some((t=>t.id===e.id)),r=e.menu_id&&e.menu_id===n;return t||r}));if(g.length>0||u){g=g.filter((e=>"banner"!==e.data_target));let m=s.setFields(g,u).then((e=>e));r&&a.toast.promise(m,{pending:(0,i.__)("Saving settings...","complianz-gdpr"),success:(0,i.__)("Settings saved","complianz-gdpr"),error:(0,i.__)("Something went wrong","complianz-gdpr")}),await m.then((r=>{if(p=r.fields,!p)return p=[],void e((0,o.Ay)((e=>{e.saving=!1})));let s=t().fields.filter((e=>"banner"===e.data_target));for(let e=0;e<p.length;e++){let t=p[e];if("banner"===t.data_target){let e=s.filter((e=>e.id===t.id))[0];e&&(t.value=e.value)}p[e]=t}let a=d(p),i=(0,c.updateFieldsListWithConditions)(a);i=f(i);let u=i.filter((e=>e.menu_id===n));e((0,o.Ay)((e=>{e.changedFields=[],e.fields=i,e.selectedFields=u,e.saving=!1}))),l.default.getState().updateProgressData(r.notices,r.show_cookiebanner),e({fieldNotices:r.field_notices,fieldNoticesLoaded:!0})}))}r&&0===g.length&&a.toast.promise(Promise.resolve(),{success:(0,i.__)("Settings saved","complianz-gdpr")})},updateFieldsData:n=>{let r=t().fields;r=(0,c.updateFieldsListWithConditions)(r),t().isNextButtonDisabled(r,n),e((0,o.Ay)((e=>{e.fields=r})))},isNextButtonDisabled:(t,n)=>{let r=t.filter((e=>e.menu_id===n)).filter((e=>e.required&&!e.conditionallyDisabled&&(0===e.value.length||!e.value)));return e({nextButtonDisabled:r.length>0}),r.length>0},fetchFieldsData:async t=>{const{fields:n,error:r,locked_by:o,field_notices:a}=await s.getFields().then((e=>e)).catch((e=>{console.error(e)}));Array.isArray(n)||e((()=>({fieldsLoaded:!0,fields:[],selectedFields:[],error:r,lockedByUser:o})));let i=d(n),l=(0,c.updateFieldsListWithConditions)(i);l=f(l);let u=l.filter((e=>e.menu_id===t)),p=[];const m={};n.forEach((e=>{"radio"!==e.type&&"multicheckbox"!==e.type&&"select"!==e.type||m[e.type]||(p.push(e),m[e.type]=!0)})),e((()=>({fieldsLoaded:!0,fields:l,selectedFields:u,error:r,lockedByUser:o,preloadFields:p,fieldNotices:a,fieldNoticesLoaded:!0})))}}))),d=e=>{if(cmplz_settings.is_premium)for(const t of e){const e=t.premium;e&&(t.disabled=!!e.disabled&&e.disabled,e.default&&(t.default=e.default),e.label&&(t.label=e.label),e.comment&&(t.comment=e.comment),e.tooltip&&(t.tooltip=e.tooltip),e.react_conditions&&(t.react_conditions=e.react_conditions))}return e},f=e=>{for(let t=0;t<e.length;t++){let n=e[t];n.value||"checkbox"===n.type||(n.value=""),n.default&&n.never_saved&&(0!==n.value.length&&n.value||(n.value=n.default)),e[t]=n}return e},p=e=>{void 0===e&&(e=(0,i.__)("Settings saved","complianz-gdpr")),a.toast.success(e)},m=e=>"finish"!==e.group_id&&("radio"===e.type||"select"===e.type||"checkbox"===e.type||"multicheckbox"===e.type||"text"===e.type||"textarea"===e.type||"document"===e.type)},59387:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(86087),o=n(54537),s=n(5085),a=n(27723);const i=(0,r.memo)((({id:e,label:t,tooltip:n,premium:i,required:l,type:c,isParentLabel:u})=>{if(!t||0===t.length)return null;let d=u?"cmplz-parent":"";return(0,r.createElement)("div",{className:"cmplz-label-container "+d},(0,r.createElement)("label",{htmlFor:e},t,l&&"radio"!==c&&"document"!==c&&(0,r.createElement)("span",{className:"cmplz-required"}," (",(0,a.__)("required","complianz-gdpr"),")")),(0,r.createElement)(o.default,{tooltip:n}),(0,r.createElement)(s.default,{premium:i,id:e}))}))},9712:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(86087),o=n(32636),s=n(4219);const a=(0,r.memo)((()=>{const{preloadFields:e}=(0,s.default)(),[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=setTimeout((()=>{n(!0)}),100);return()=>{clearTimeout(e)}}),[]),t?(0,r.createElement)("div",{className:"cmplz-hidden"},t&&e.length>0&&e.map(((e,t)=>(0,r.createElement)(o.default,{key:t,field:e})))):null}))},5085:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(86087),o=n(27723);const s=({premium:e,id:t})=>{if(cmplz_settings.is_premium||!e)return null;let n=e.url?e.url:"https://complianz.io/pricing";return n+="?ref="+t,(0,r.createElement)("div",{className:"cmplz-premium"},(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:n},(0,o.__)("Upgrade","complianz-gdpr")))}},72980:(e,t,n)=>{"use strict";n.r(t);var r=n(86087),o=n(77845);function s(e){r.createRoot?(0,r.createRoot)(e).render((0,r.createElement)(o.default,null)):(0,r.render)((0,r.createElement)(o.default,null),e)}document.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("complianz");e?s(e):setTimeout((()=>{e&&s(e)}),1e3)}))},73972:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(86087),o=n(27723),s=n(44124);const a=e=>{e.error&&(console.log("errors detected during the loading of the settings page"),console.log(e.error));let t=!1,n=(0,o.__)("Please check if security settings on the server or a plugin is blocking the requests from Complianz.","complianz-gdpr"),a=!1;return e.error&&(a=e.error.message,"string"!=typeof a&&(a=JSON.stringify(a)),"rest_no_route"===e.error.code?t=(0,o.__)("The Complianz Rest API is disabled.","complianz-gdpr")+" "+n:"404"===e.error.data.status?t=(0,o.__)("The Complianz Rest API returned a not found.","complianz-gdpr")+" "+n:"403"===e.error.data.status&&(t=(0,o.__)("The Complianz Rest API returned a 403 forbidden error.","complianz-gdpr")+" "+n),a.length>100&&(a=a.substring(0,100)+"...")),(0,r.createElement)(r.Fragment,null,e.error&&(0,r.createElement)("div",{className:"rsssl-rest-error-message"},(0,r.createElement)("h3",null,(0,o.__)("A problem was detected during the loading of the settings","complianz-gdpr")),t&&(0,r.createElement)("p",null,t),(0,r.createElement)("div",null,(0,r.createElement)("p",null,(0,o.__)("The request returned the following errors:","complianz-gdpr")),(0,r.createElement)("ul",null,e.error.code&&(0,r.createElement)("li",null,(0,o.__)("Response code:","complianz-gdpr")," ",e.error.code),e.error.data.status&&(0,r.createElement)("li",null,(0,o.__)("Status code:","complianz-gdpr")," ",e.error.data.status),a&&(0,r.createElement)("li",null,(0,o.__)("Server response:","complianz-gdpr")," ",a))),(0,r.createElement)(s.default,{className:"button button-default",target:"_blank",rel:"noopener noreferrer",text:(0,o.__)("More information","complianz-gdpr"),url:"https://complianz.io/support"})))}},65170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(86087),o=n(51609),s=n(5556),a=n.n(s);class i extends o.Component{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null},this.resetError=this.resetError.bind(this)}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t}),console.log("ErrorBoundary",e,t)}resetError(){this.setState({hasError:!1,error:null,errorInfo:null})}render(){return this.state.hasError?(0,r.createElement)("div",{className:"cmplz-error-boundary"},(0,r.createElement)("h3",{className:"cmplz-h4"},"Something went wrong."),(0,r.createElement)("p",null,this.props.fallback),(0,r.createElement)("button",{className:"button button-primary",onClick:e=>function(){window.location.reload()}},"Try Again")):this.props.children}}i.propTypes={children:a().node,fallback:a().node};const l=i},44124:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(86087);const o=e=>{let t="",n="",o="";if(-1!==e.text.indexOf("%s")){let r=e.text.split(/%s/);t=r[0],o=r[1],n=r[2]}else o=e.text;let s=e.className?e.className:"cmplz-link";return(0,r.createElement)(r.Fragment,null,t,(0,r.createElement)("a",{className:s,target:e.target,rel:e.rel,href:e.url},o),n)}},45111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>D});var r=n(58168),o=n(86087),s=n(51609),a=n(95361),i=n(52425),l=n(46942);const c={core:!1,base:!1};function u({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r}){var o,s;if(!e||"undefined"==typeof document||c[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(s=null===process||void 0===process?void 0:process.env)||void 0===s?void 0:s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:a}=r;if(document.getElementById(t))return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);const i=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css","top"===a&&i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),c[n]=!0}const d=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:s="absolute",middlewares:l=[(0,a.cY)(Number(o)),(0,i.UU)({fallbackAxisSideDirection:"start"}),(0,i.BN)({padding:5})],border:c})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const u=l;return n?(u.push((0,i.UE)({element:n,padding:5})),(0,i.rD)(e,t,{placement:r,strategy:s,middleware:u}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var o,s;const a={left:`${e}px`,top:`${t}px`,border:c},{x:i,y:l}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},u=null!==(s={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==s?s:"bottom",d=c&&{borderBottom:c,borderRight:c};let f=0;if(c){const e=`${c}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:a,tooltipArrowStyles:{left:null!=i?`${i}px`:"",top:null!=l?`${l}px`:"",right:"",bottom:"",...d,[u]:`-${4+f}px`},place:n}}))):(0,i.rD)(e,t,{placement:"bottom",strategy:s,middleware:u}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},f=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),p=(e,t,n)=>{let r=null;const o=function(...o){const s=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(s,t)),n||(r&&clearTimeout(r),r=setTimeout(s,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},m=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,g=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>g(e,t[n])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!m(e)||!m(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>g(e[n],t[n])))},h=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},v=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(h(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},b="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,y={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},w=(0,s.createContext)({getTooltipData:()=>y});function S(e="DEFAULT_TOOLTIP_ID"){return(0,s.useContext)(w).getTooltipData(e)}var E={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},C={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const _=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:a,anchorSelect:c,place:u="top",offset:f=10,events:m=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:w,wrapper:_,delayShow:x=0,delayHide:T=0,float:P=!1,hidden:D=!1,noArrow:O=!1,clickable:k=!1,closeOnEsc:z=!1,closeOnScroll:A=!1,closeOnResize:M=!1,openEvents:I,closeEvents:L,globalCloseEvents:R,imperativeModeOnly:N,style:j,position:B,afterShow:F,afterHide:H,content:U,contentWrapperRef:V,isOpen:q,defaultIsOpen:W=!1,setIsOpen:$,activeAnchor:G,setActiveAnchor:Y,border:J,opacity:X,arrowColor:K,role:Q="tooltip"})=>{var Z;const ee=(0,s.useRef)(null),te=(0,s.useRef)(null),ne=(0,s.useRef)(null),re=(0,s.useRef)(null),oe=(0,s.useRef)(null),[se,ae]=(0,s.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[ie,le]=(0,s.useState)(!1),[ce,ue]=(0,s.useState)(!1),[de,fe]=(0,s.useState)(null),pe=(0,s.useRef)(!1),me=(0,s.useRef)(null),{anchorRefs:ge,setActiveAnchor:he}=S(t),ve=(0,s.useRef)(!1),[be,ye]=(0,s.useState)([]),we=(0,s.useRef)(!1),Se=h||m.includes("click"),Ee=Se||(null==I?void 0:I.click)||(null==I?void 0:I.dblclick)||(null==I?void 0:I.mousedown),Ce=I?{...I}:{mouseenter:!0,focus:!0,click:!1,dblclick:!1,mousedown:!1};!I&&Se&&Object.assign(Ce,{mouseenter:!1,focus:!1,click:!0});const _e=L?{...L}:{mouseleave:!0,blur:!0,click:!1,dblclick:!1,mouseup:!1};!L&&Se&&Object.assign(_e,{mouseleave:!1,blur:!1});const xe=R?{...R}:{escape:z||!1,scroll:A||!1,resize:M||!1,clickOutsideAnchor:Ee||!1};N&&(Object.assign(Ce,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(_e,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),b((()=>(we.current=!0,()=>{we.current=!1})),[]);const Te=e=>{we.current&&(e&&ue(!0),setTimeout((()=>{we.current&&(null==$||$(e),void 0===q&&le(e))}),10))};(0,s.useEffect)((()=>{if(void 0===q)return()=>null;q&&ue(!0);const e=setTimeout((()=>{le(q)}),10);return()=>{clearTimeout(e)}}),[q]),(0,s.useEffect)((()=>{if(ie!==pe.current)if(oe.current&&clearTimeout(oe.current),pe.current=ie,ie)null==F||F();else{const e=(e=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})();oe.current=setTimeout((()=>{ue(!1),fe(null),null==H||H()}),e+25)}}),[ie]);const Pe=e=>{ae((t=>g(t,e)?t:e))},De=(e=x)=>{ne.current&&clearTimeout(ne.current),ce?Te(!0):ne.current=setTimeout((()=>{Te(!0)}),e)},Oe=(e=T)=>{re.current&&clearTimeout(re.current),re.current=setTimeout((()=>{ve.current||Te(!1)}),e)},ke=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return Y(null),void he({current:null});x?De():Te(!0),Y(n),he({current:n}),re.current&&clearTimeout(re.current)},ze=()=>{k?Oe(T||100):T?Oe():Te(!1),ne.current&&clearTimeout(ne.current)},Ae=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};d({place:null!==(n=null==de?void 0:de.place)&&void 0!==n?n:u,offset:f,elementReference:r,tooltipReference:ee.current,tooltipArrowReference:te.current,strategy:y,middlewares:w,border:J}).then((e=>{Pe(e)}))},Me=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};Ae(n),me.current=n},Ie=e=>{var t;if(!ie)return;const n=e.target;n.isConnected&&((null===(t=ee.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${a}']`),...be].some((e=>null==e?void 0:e.contains(n)))||(Te(!1),ne.current&&clearTimeout(ne.current)))},Le=p(ke,50,!0),Re=p(ze,50,!0),Ne=e=>{Re.cancel(),Le(e)},je=()=>{Le.cancel(),Re()},Be=(0,s.useCallback)((()=>{var e,t;const n=null!==(e=null==de?void 0:de.position)&&void 0!==e?e:B;n?Ae(n):P?me.current&&Ae(me.current):(null==G?void 0:G.isConnected)&&d({place:null!==(t=null==de?void 0:de.place)&&void 0!==t?t:u,offset:f,elementReference:G,tooltipReference:ee.current,tooltipArrowReference:te.current,strategy:y,middlewares:w,border:J}).then((e=>{we.current&&Pe(e)}))}),[ie,G,U,j,u,null==de?void 0:de.place,f,y,B,null==de?void 0:de.position,P]);(0,s.useEffect)((()=>{var e,t;const n=new Set(ge);be.forEach((e=>{n.add({current:e})}));const r=document.querySelector(`[id='${a}']`);r&&n.add({current:r});const o=()=>{Te(!1)},s=v(G),l=v(ee.current);xe.scroll&&(window.addEventListener("scroll",o),null==s||s.addEventListener("scroll",o),null==l||l.addEventListener("scroll",o));let c=null;xe.resize?window.addEventListener("resize",o):G&&ee.current&&(c=(0,i.ll)(G,ee.current,Be,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const u=e=>{"Escape"===e.key&&Te(!1)};xe.escape&&window.addEventListener("keydown",u),xe.clickOutsideAnchor&&window.addEventListener("click",Ie);const d=[],f=e=>{ie&&(null==e?void 0:e.target)===G||ke(e)},p=e=>{ie&&(null==e?void 0:e.target)===G&&ze()},m=["mouseenter","mouseleave","focus","blur"],g=["click","dblclick","mousedown","mouseup"];Object.entries(Ce).forEach((([e,t])=>{t&&(m.includes(e)?d.push({event:e,listener:Ne}):g.includes(e)&&d.push({event:e,listener:f}))})),Object.entries(_e).forEach((([e,t])=>{t&&(m.includes(e)?d.push({event:e,listener:je}):g.includes(e)&&d.push({event:e,listener:p}))})),P&&d.push({event:"pointermove",listener:Me});const h=()=>{ve.current=!0},b=()=>{ve.current=!1,ze()};return k&&!Ee&&(null===(e=ee.current)||void 0===e||e.addEventListener("mouseenter",h),null===(t=ee.current)||void 0===t||t.addEventListener("mouseleave",b)),d.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)}))})),()=>{var e,t;xe.scroll&&(window.removeEventListener("scroll",o),null==s||s.removeEventListener("scroll",o),null==l||l.removeEventListener("scroll",o)),xe.resize?window.removeEventListener("resize",o):null==c||c(),xe.clickOutsideAnchor&&window.removeEventListener("click",Ie),xe.escape&&window.removeEventListener("keydown",u),k&&!Ee&&(null===(e=ee.current)||void 0===e||e.removeEventListener("mouseenter",h),null===(t=ee.current)||void 0===t||t.removeEventListener("mouseleave",b)),d.forEach((({event:e,listener:t})=>{n.forEach((n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)}))}))}}),[G,Be,ce,ge,be,I,L,R,Se,x,T]),(0,s.useEffect)((()=>{var e,n;let r=null!==(n=null!==(e=null==de?void 0:de.anchorSelect)&&void 0!==e?e:c)&&void 0!==n?n:"";!r&&t&&(r=`[data-tooltip-id='${t}']`);const o=new MutationObserver((e=>{const n=[],o=[];e.forEach((e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&o.push(e.target)),"childList"===e.type){if(G){const t=[...e.removedNodes].filter((e=>1===e.nodeType));if(r)try{o.push(...t.filter((e=>e.matches(r)))),o.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}t.some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,G))&&(ue(!1),Te(!1),Y(null),ne.current&&clearTimeout(ne.current),re.current&&clearTimeout(re.current),!0)}))}if(r)try{const t=[...e.addedNodes].filter((e=>1===e.nodeType));n.push(...t.filter((e=>e.matches(r)))),n.push(...t.flatMap((e=>[...e.querySelectorAll(r)])))}catch(e){}}})),(n.length||o.length)&&ye((e=>[...e.filter((e=>!o.includes(e))),...n]))}));return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}}),[t,c,null==de?void 0:de.anchorSelect,G]),(0,s.useEffect)((()=>{Be()}),[Be]),(0,s.useEffect)((()=>{if(!(null==V?void 0:V.current))return()=>null;const e=new ResizeObserver((()=>{setTimeout((()=>Be()))}));return e.observe(V.current),()=>{e.disconnect()}}),[U,null==V?void 0:V.current]),(0,s.useEffect)((()=>{var e;const t=document.querySelector(`[id='${a}']`),n=[...be,t];G&&n.includes(G)||Y(null!==(e=be[0])&&void 0!==e?e:t)}),[a,be,G]),(0,s.useEffect)((()=>(W&&Te(!0),()=>{ne.current&&clearTimeout(ne.current),re.current&&clearTimeout(re.current)})),[]),(0,s.useEffect)((()=>{var e;let n=null!==(e=null==de?void 0:de.anchorSelect)&&void 0!==e?e:c;if(!n&&t&&(n=`[data-tooltip-id='${t}']`),n)try{const e=Array.from(document.querySelectorAll(n));ye(e)}catch(e){ye([])}}),[t,c,null==de?void 0:de.anchorSelect]),(0,s.useEffect)((()=>{ne.current&&(clearTimeout(ne.current),De(x))}),[x]);const Fe=null!==(Z=null==de?void 0:de.content)&&void 0!==Z?Z:U,He=ie&&Object.keys(se.tooltipStyles).length>0;return(0,s.useImperativeHandle)(e,(()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}fe(null!=e?e:null),(null==e?void 0:e.delay)?De(e.delay):Te(!0)},close:e=>{(null==e?void 0:e.delay)?Oe(e.delay):Te(!1)},activeAnchor:G,place:se.place,isOpen:Boolean(ce&&!D&&Fe&&He)}))),ce&&!D&&Fe?s.createElement(_,{id:t,role:Q,className:l("react-tooltip",E.tooltip,C.tooltip,C[o],n,`react-tooltip__place-${se.place}`,E[He?"show":"closing"],He?"react-tooltip__show":"react-tooltip__closing","fixed"===y&&E.fixed,k&&E.clickable),onTransitionEnd:e=>{oe.current&&clearTimeout(oe.current),ie||"opacity"!==e.propertyName||(ue(!1),fe(null),null==H||H())},style:{...j,...se.tooltipStyles,opacity:void 0!==X&&He?X:void 0},ref:ee},Fe,s.createElement(_,{className:l("react-tooltip-arrow",E.arrow,C.arrow,r,O&&E.noArrow),style:{...se.tooltipArrowStyles,background:K?`linear-gradient(to right bottom, transparent 50%, ${K} 50%)`:void 0},ref:te})):null},x=({content:e})=>s.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),T=s.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:a,className:i,classNameArrow:c,variant:u="dark",place:d="top",offset:p=10,wrapper:m="div",children:g=null,events:h=["hover"],openOnClick:v=!1,positionStrategy:b="absolute",middlewares:y,delayShow:w=0,delayHide:E=0,float:C=!1,hidden:T=!1,noArrow:P=!1,clickable:D=!1,closeOnEsc:O=!1,closeOnScroll:k=!1,closeOnResize:z=!1,openEvents:A,closeEvents:M,globalCloseEvents:I,imperativeModeOnly:L=!1,style:R,position:N,isOpen:j,defaultIsOpen:B=!1,disableStyleInjection:F=!1,border:H,opacity:U,arrowColor:V,setIsOpen:q,afterShow:W,afterHide:$,role:G="tooltip"},Y)=>{const[J,X]=(0,s.useState)(r),[K,Q]=(0,s.useState)(o),[Z,ee]=(0,s.useState)(d),[te,ne]=(0,s.useState)(u),[re,oe]=(0,s.useState)(p),[se,ae]=(0,s.useState)(w),[ie,le]=(0,s.useState)(E),[ce,ue]=(0,s.useState)(C),[de,fe]=(0,s.useState)(T),[pe,me]=(0,s.useState)(m),[ge,he]=(0,s.useState)(h),[ve,be]=(0,s.useState)(b),[ye,we]=(0,s.useState)(null),[Se,Ee]=(0,s.useState)(null),Ce=(0,s.useRef)(F),{anchorRefs:_e,activeAnchor:xe}=S(e),Te=e=>null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{}),Pe=e=>{const t={place:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:d)},content:e=>{X(null!=e?e:r)},html:e=>{Q(null!=e?e:o)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:u)},offset:e=>{oe(null===e?p:Number(e))},wrapper:e=>{var t;me(null!==(t=e)&&void 0!==t?t:m)},events:e=>{const t=null==e?void 0:e.split(" ");he(null!=t?t:h)},"position-strategy":e=>{var t;be(null!==(t=e)&&void 0!==t?t:b)},"delay-show":e=>{ae(null===e?w:Number(e))},"delay-hide":e=>{le(null===e?E:Number(e))},float:e=>{ue(null===e?C:"true"===e)},hidden:e=>{fe(null===e?T:"true"===e)},"class-name":e=>{we(e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)}))};(0,s.useEffect)((()=>{X(r)}),[r]),(0,s.useEffect)((()=>{Q(o)}),[o]),(0,s.useEffect)((()=>{ee(d)}),[d]),(0,s.useEffect)((()=>{ne(u)}),[u]),(0,s.useEffect)((()=>{oe(p)}),[p]),(0,s.useEffect)((()=>{ae(w)}),[w]),(0,s.useEffect)((()=>{le(E)}),[E]),(0,s.useEffect)((()=>{ue(C)}),[C]),(0,s.useEffect)((()=>{fe(T)}),[T]),(0,s.useEffect)((()=>{be(b)}),[b]),(0,s.useEffect)((()=>{Ce.current!==F&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[F]),(0,s.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===F,disableBase:F}}))}),[]),(0,s.useEffect)((()=>{var r;const o=new Set(_e);let s=n;if(!s&&e&&(s=`[data-tooltip-id='${e}']`),s)try{document.querySelectorAll(s).forEach((e=>{o.add({current:e})}))}catch(r){console.warn(`[react-tooltip] "${s}" is not a valid CSS selector`)}const a=document.querySelector(`[id='${t}']`);if(a&&o.add({current:a}),!o.size)return()=>null;const i=null!==(r=null!=Se?Se:a)&&void 0!==r?r:xe.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!i||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=Te(i);Pe(n)}))})),c={attributes:!0,childList:!1,subtree:!1};if(i){const e=Te(i);Pe(e),l.observe(i,c)}return()=>{l.disconnect()}}),[_e,xe,Se,t,n]),(0,s.useEffect)((()=>{(null==R?void 0:R.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),H&&!f("border",`${H}`)&&console.warn(`[react-tooltip] "${H}" is not a valid \`border\`.`),(null==R?void 0:R.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),U&&!f("opacity",`${U}`)&&console.warn(`[react-tooltip] "${U}" is not a valid \`opacity\`.`)}),[]);let De=g;const Oe=(0,s.useRef)(null);if(a){const e=a({content:(null==Se?void 0:Se.getAttribute("data-tooltip-content"))||J||null,activeAnchor:Se});De=e?s.createElement("div",{ref:Oe,className:"react-tooltip-content-wrapper"},e):null}else J&&(De=J);K&&(De=s.createElement(x,{content:K}));const ke={forwardRef:Y,id:e,anchorId:t,anchorSelect:n,className:l(i,ye),classNameArrow:c,content:De,contentWrapperRef:Oe,place:Z,variant:te,offset:re,wrapper:pe,events:ge,openOnClick:v,positionStrategy:ve,middlewares:y,delayShow:se,delayHide:ie,float:ce,hidden:de,noArrow:P,clickable:D,closeOnEsc:O,closeOnScroll:k,closeOnResize:z,openEvents:A,closeEvents:M,globalCloseEvents:I,imperativeModeOnly:L,style:R,position:N,isOpen:j,defaultIsOpen:B,border:H,opacity:U,arrowColor:V,setIsOpen:q,afterShow:W,afterHide:$,activeAnchor:Se,setActiveAnchor:e=>Ee(e),role:G};return s.createElement(_,{...ke})}));"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||u({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||u({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}));const P=React.forwardRef((function(e,t){const{name:n,color:s,size:a}=e,i={black:"var(--rsp-black)",green:"var(--rsp-green)",blue:"var(--rsp-blue)","dark-blue":"var(--rsp-dark-blue)",yellow:"var(--rsp-yellow)",orange:"var(--rsp-orange)",red:"var(--rsp-red)",grey:"var(--rsp-grey-400)"};let l="";return"bullet"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"}))),"circle"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"check"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"}))),"indeterminate"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M0 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"}))),"warning"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"}))),"error"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"}))),"times"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"}))),"success"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"}))),"circle-check"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"}))),"circle-times"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"}))),"chevron-up"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M416 352c-8.188 0-16.38-3.125-22.62-9.375L224 173.3l-169.4 169.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25C432.4 348.9 424.2 352 416 352z"}))),"chevron-down"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"}))),"chevron-right"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"}))),"upload"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M272 54.6V368c0 8.8-7.2 16-16 16s-16-7.2-16-16V54.6L139.3 155.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l128-128c6.2-6.2 16.4-6.2 22.6 0l128 128c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L272 54.6zM208 352H64c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H304V320H448c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V384c0-35.3 28.7-64 64-64H208v32zm176 64a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"}))),"circle-chevron-right"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm345 17l17-17-17-17L241 135l-17-17L190.1 152l17 17 87 87-87 87-17 17L224 393.9l17-17L345 273z"}))),"dial-high-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm0 248H415c-7.9 63.1-61.7 112-127 112c-70.7 0-128-57.3-128-128s57.3-128 128-128c65.3 0 119.1 48.9 127 112H288c-8.8 0-16 7.2-16 16s7.2 16 16 16zm160-16a160 160 0 1 0 -320 0 160 160 0 1 0 320 0zm120 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm11.3 243.3l89.8-89.8c39.1 50.2 35.5 122.9-10.6 169c-50 50-131 50-181 0s-50-131 0-181c46.2-46.2 118.8-49.7 169-10.6l-89.8 89.8c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0zM401.1 174.9A160 160 0 1 0 174.9 401.1 160 160 0 1 0 401.1 174.9zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-low-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm0 360c-65.3 0-119.1-48.9-127-112H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H161c7.9-63.1 61.7-112 127-112c70.7 0 128 57.3 128 128s-57.3 128-128 128zM128 288a160 160 0 1 0 320 0 160 160 0 1 0 -320 0zm440 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-max-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm90.5 322.5l-.4 .4 .8-.8-.4 .4zM299.3 276.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l89.8 89.8c-50.2 39.1-122.8 35.5-169-10.6c-50-50-50-131 0-181s131-50 181 0c46.2 46.2 49.7 118.8 10.6 169l-89.8-89.8zM401.1 401.1A160 160 0 1 0 174.9 174.9 160 160 0 1 0 401.1 401.1zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-med-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm16 232V161c63.1 7.9 112 61.7 112 127c0 70.7-57.3 128-128 128s-128-57.3-128-128c0-65.3 48.9-119.1 112-127V288c0 8.8 7.2 16 16 16s16-7.2 16-16zM288 128a160 160 0 1 0 0 320 160 160 0 1 0 0-320zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-med-low-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM197.5 378.5c-46.2-46.2-49.7-118.8-10.6-169l89.8 89.8c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-89.8-89.8c50.2-39.1 122.9-35.5 169 10.6c50 50 50 131 0 181s-131 50-181 0zM174.9 174.9A160 160 0 1 0 401.1 401.1 160 160 0 1 0 174.9 174.9zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-min-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM276.7 276.7l-89.8 89.8c-39.1-50.2-35.5-122.9 10.6-169c50-50 131-50 181 0s50 131 0 181c-46.2 46.2-118.8 49.7-169 10.6l89.8-89.8c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0zM174.9 401.1A160 160 0 1 0 401.1 174.9 160 160 0 1 0 174.9 401.1zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"dial-off-light"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M288 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM272 288V415c-63.1-7.9-112-61.7-112-127c0-70.7 57.3-128 128-128s128 57.3 128 128c0 65.3-48.9 119.1-112 127V288c0-8.8-7.2-16-16-16s-16 7.2-16 16zm16 160a160 160 0 1 0 0-320 160 160 0 1 0 0 320zM568 288a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM32 312a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 96A24 24 0 1 0 72 96a24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM120 480a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm360 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"}))),"chevron-left"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"}))),"plus"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"}))),"minus"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"}))),"plugin"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M128 24c0-13.3-10.7-24-24-24S80 10.7 80 24v88h48V24zm176 0c0-13.3-10.7-24-24-24s-24 10.7-24 24v88h48V24zM24 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h8v64c0 80.2 59 146.6 136 158.2V488c0 13.3 10.7 24 24 24s24-10.7 24-24V414.2c77-11.6 136-78 136-158.2V192h8c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8H304 80 32 24zM192 368c-61.9 0-112-50.1-112-112V192H304v64c0 61.9-50.1 112-112 112z"}))),"services"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M410.8 134.2c-19.3 8.6-42 3.5-55.9-12.5C332.8 96.1 300.3 80 264 80c-66.3 0-120 53.7-120 120c0 0 0 0 0 0s0 0 0 0l0 .2c0 20.4-12.8 38.5-32 45.3C74.6 258.7 48 294.3 48 336c0 53 43 96 96 96H504h3.3c.6-.1 1.3-.1 1.9-.2c46.2-2.7 82.8-41 82.8-87.8c0-36-21.6-67.1-52.8-80.7c-20.1-8.8-31.6-30-28.1-51.7c.6-3.8 .9-7.7 .9-11.7c0-39.8-32.2-72-72-72c-10.5 0-20.4 2.2-29.2 6.2zM512 479.8v.2h-8H464 144C64.5 480 0 415.5 0 336c0-62.7 40.1-116 96-135.8l0-.2c0-92.8 75.2-168 168-168c50.9 0 96.4 22.6 127.3 58.3C406.2 83.7 422.6 80 440 80c66.3 0 120 53.7 120 120c0 6.6-.5 13-1.5 19.3c48 21 81.5 68.9 81.5 124.7c0 72.4-56.6 131.6-128 135.8z"}))),"sync"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M483.515 28.485L431.35 80.65C386.475 35.767 324.485 8 256 8 123.228 8 14.824 112.338 8.31 243.493 7.971 250.311 13.475 256 20.301 256h28.045c6.353 0 11.613-4.952 11.973-11.294C66.161 141.649 151.453 60 256 60c54.163 0 103.157 21.923 138.614 57.386l-54.128 54.129c-7.56 7.56-2.206 20.485 8.485 20.485H492c6.627 0 12-5.373 12-12V36.971c0-10.691-12.926-16.045-20.485-8.486zM491.699 256h-28.045c-6.353 0-11.613 4.952-11.973 11.294C445.839 370.351 360.547 452 256 452c-54.163 0-103.157-21.923-138.614-57.386l54.128-54.129c7.56-7.56 2.206-20.485-8.485-20.485H20c-6.627 0-12 5.373-12 12v143.029c0 10.691 12.926 16.045 20.485 8.485L80.65 431.35C125.525 476.233 187.516 504 256 504c132.773 0 241.176-104.338 247.69-235.493.339-6.818-5.165-12.507-11.991-12.507z"}))),"sync-error"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M256 79.1C178.5 79.1 112.7 130.1 89.2 199.7C84.96 212.2 71.34 218.1 58.79 214.7C46.23 210.5 39.48 196.9 43.72 184.3C73.6 95.8 157.3 32 256 32C337.5 32 408.8 75.53 448 140.6V104C448 90.75 458.7 80 472 80C485.3 80 496 90.75 496 104V200C496 213.3 485.3 224 472 224H376C362.7 224 352 213.3 352 200C352 186.7 362.7 176 376 176H412.8C383.7 118.1 324.4 80 256 80V79.1zM280 263.1C280 277.3 269.3 287.1 256 287.1C242.7 287.1 232 277.3 232 263.1V151.1C232 138.7 242.7 127.1 256 127.1C269.3 127.1 280 138.7 280 151.1V263.1zM224 352C224 334.3 238.3 319.1 256 319.1C273.7 319.1 288 334.3 288 352C288 369.7 273.7 384 256 384C238.3 384 224 369.7 224 352zM40 432C26.75 432 16 421.3 16 408V311.1C16 298.7 26.75 287.1 40 287.1H136C149.3 287.1 160 298.7 160 311.1C160 325.3 149.3 336 136 336H99.19C128.3 393 187.6 432 256 432C333.5 432 399.3 381.9 422.8 312.3C427 299.8 440.7 293 453.2 297.3C465.8 301.5 472.5 315.1 468.3 327.7C438.4 416.2 354.7 480 256 480C174.5 480 103.2 436.5 64 371.4V408C64 421.3 53.25 432 40 432V432z"}))),"shortcode"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M128 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h96C145.7 480 160 465.7 160 448S145.7 416 128 416H64V96h64C145.7 96 160 81.67 160 64S145.7 32 128 32zM416 32h-96C302.3 32 288 46.33 288 63.1S302.3 96 319.1 96H384v320h-64C302.3 416 288 430.3 288 447.1S302.3 480 319.1 480H416c17.6 0 32-14.4 32-32V64C448 46.4 433.6 32 416 32z"}))),"file"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z"}))),"file-disabled"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M639.1 487.1c0-7.119-3.153-14.16-9.191-18.89l-118.8-93.12l.0013-237.3c0-16.97-6.742-33.26-18.74-45.26l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 128 28.65 128 64L128 75.01L38.82 5.11C34.41 1.672 29.19 0 24.04 0C10.19 0-.0002 11.3-.0002 23.1c0 7.12 3.153 14.16 9.192 18.89l591.1 463.1C605.6 510.3 610.8 512 615.1 512C629.8 512 639.1 500.6 639.1 487.1zM464 338.4l-287.1-225.7l-.002-48.51c0-8.836 7.164-16 15.1-16h160l-.0065 79.87c0 17.67 14.33 31.1 31.1 31.1L464 159.1V338.4zM448 463.1H192c-8.834 0-15.1-7.164-15.1-16L176 234.6L128 197L128 447.1c0 35.34 28.65 64 63.1 64H448c20.4 0 38.45-9.851 50.19-24.84l-37.72-29.56C457.5 461.4 453.2 463.1 448 463.1z"}))),"file-download"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M235.3 347.3L224 358.6l-11.3-11.3-128-128L73.4 208 96 185.4l11.3 11.3L208 297.4V16 0h32V16 297.4L340.7 196.7 352 185.4 374.6 208l-11.3 11.3-128 128zM32 336V480H416V336 320h32v16V496v16H432 16 0V496 336 320H32v16z"}))),"calendar"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"}))),"calendar-error"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M151.1 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V192H47.1V448C47.1 456.8 55.16 464 63.1 464H284.5C296.7 482.8 312.5 499.1 330.8 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24L151.1 64zM576 368C576 447.5 511.5 512 432 512C352.5 512 287.1 447.5 287.1 368C287.1 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368zM432 416C418.7 416 408 426.7 408 440C408 453.3 418.7 464 432 464C445.3 464 456 453.3 456 440C456 426.7 445.3 416 432 416zM447.1 288C447.1 279.2 440.8 272 431.1 272C423.2 272 415.1 279.2 415.1 288V368C415.1 376.8 423.2 384 431.1 384C440.8 384 447.1 376.8 447.1 368V288z"}))),"rotate"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M447.1 272.2c-8.766-1.562-16.97 4.406-18.42 13.12C415.3 370.3 342.3 432 255.1 432c-49.96 0-95.99-21.56-128.5-56.8l59.88-59.88C191.9 310.8 193.3 303.8 190.8 297.9C188.3 291.9 182.5 288 176 288h-128C39.16 288 32 295.2 32 304v128c0 6.469 3.891 12.31 9.875 14.78C43.86 447.6 45.94 448 48 448c4.156 0 8.25-1.625 11.31-4.688l45.6-45.6C143.3 438.9 197.4 464 256 464c101.1 0 188.3-72.91 205.1-173.3C462.6 281.9 456.7 273.7 447.1 272.2zM64 393.4V320h73.38L64 393.4zM470.1 65.22C468.1 64.41 466.1 64 464 64c-4.156 0-8.25 1.625-11.31 4.688l-45.6 45.6C368.7 73.15 314.6 48 256 48c-102 0-188.3 72.91-205.1 173.3C49.42 230.1 55.3 238.3 64.02 239.8c8.766 1.562 16.97-4.406 18.42-13.12C96.69 141.7 169.7 80 256 80c49.96 0 96.02 21.56 128.6 56.8l-59.88 59.88c-4.578 4.562-5.953 11.47-3.469 17.44C323.7 220.1 329.5 224 336 224h128C472.8 224 480 216.8 480 208v-128C480 73.53 476.1 67.69 470.1 65.22zM448 192h-73.38L448 118.6V192z"}))),"rotate-error"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M387.5 133.1C352.3 90.9 299.3 64 240 64C149.2 64 73.1 127 53.1 211.7c-2 8.6-10.6 13.9-19.2 11.9s-13.9-10.6-11.9-19.2C45.3 105.5 134.1 32 240 32c69.2 0 131 31.4 172.1 80.6L448 154.9V96c0-8.8 7.2-16 16-16s16 7.2 16 16v96c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16h55.9l-36.3-42.8 0 0-.1-.1zM256 144V272c0 8.8-7.2 16-16 16s-16-7.2-16-16V144c0-8.8 7.2-16 16-16s16 7.2 16 16zM240 328a24 24 0 1 1 0 48 24 24 0 1 1 0-48zM16 432c-8.8 0-16-7.2-16-16V320c0-8.8 7.2-16 16-16h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H56.1l36.3 42.8 0 0 .1 .1C127.7 421.1 180.7 448 240 448c90.8 0 166.9-63 186.9-147.7c2-8.6 10.7-13.9 19.3-11.9s13.9 10.6 11.9 19.2C434.7 406.5 345.9 480 240 480c-69.2 0-131-31.4-172.1-80.6L32 357.1V416c0 8.8-7.2 16-16 16z"}))),"help"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 400c-18 0-32-14-32-32s13.1-32 32-32c17.1 0 32 14 32 32S273.1 400 256 400zM325.1 258L280 286V288c0 13-11 24-24 24S232 301 232 288V272c0-8 4-16 12-21l57-34C308 213 312 206 312 198C312 186 301.1 176 289.1 176h-51.1C225.1 176 216 186 216 198c0 13-11 24-24 24s-24-11-24-24C168 159 199 128 237.1 128h51.1C329 128 360 159 360 198C360 222 347 245 325.1 258z"}))),"copy"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"}))),"info"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"}))),"list"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"}))),"external-link"===n&&(l=(0,o.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M304 24c0 13.3 10.7 24 24 24H430.1L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223V184c0 13.3 10.7 24 24 24s24-10.7 24-24V24c0-13.3-10.7-24-24-24H328c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104V440c0 39.8 32.2 72 72 72H408c39.8 0 72-32.2 72-72V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V440c0 13.3-10.7 24-24 24H72c-13.3 0-24-10.7-24-24V104c0-13.3 10.7-24 24-24H200c13.3 0 24-10.7 24-24s-10.7-24-24-24H72z"}))),"loading"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"}))),"linked"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M580.3 267.2c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6L433.1 346.6c-37.4 37.4-98.2 37.4-135.6 0c-35.7-35.7-37.6-92.9-4.4-130.9l4.7-5.4c8.7-10 7.7-25.1-2.3-33.9s-25.1-7.7-33.9 2.3l-4.7 5.4c-49.8 57-46.9 142.9 6.6 196.4c56.2 56.2 147.3 56.2 203.5 0L580.3 267.2zM59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6L207 165.4c37.4-37.4 98.1-37.4 135.6 0c35.7 35.7 37.6 92.9 4.4 130.9l-5.4 6.1c-8.7 10-7.7 25.1 2.3 33.9s25.1 7.7 33.9-2.3l5.4-6.1c49.9-57 47-142.9-6.5-196.5c-56.2-56.2-147.3-56.2-203.5 0L59.7 244.8z"}))),"unlinked"===n&&(l=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:a},(0,o.createElement)("path",{fill:i[s],d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l91-91c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6l-95.1 95.1-45.5-35.7c24.2-53.3 14.1-117.9-29.3-161.3c-52.1-52.1-134.4-55.9-190.8-11.2L38.8 5.1zm186.3 146c36.9-22.3 85.6-17.6 117.4 14.3c26 26 34 63.3 23.7 96.4L225.1 151.1zM406.9 416.6l-54.2-42.7c-20.2-2.7-39.7-11.7-55.2-27.3c-9.8-9.8-17-21.2-21.7-33.3l-54.2-42.7c-2.2 39.6 11.9 79.9 41.9 109.9c38.8 38.8 94.2 50.8 143.4 36zM116.6 187.9L59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6l60.9-60.9-38-29.9z"}))),(0,o.createElement)("div",(0,r.A)({},e,{ref:t}),l)})),D=({name:e,color:t,size:n,tooltip:r})=>{const s=e||"bullet",a=t||"black";let i=n||15;"upload"===s&&(i=15);let l=r?"tooltip-":"",c=Math.floor(1e9*Math.random());return r?(0,o.createElement)("div",{className:"cmplz-"+l+"icon cmplz-icon-"+s+" cmplz-"+a},(0,o.createElement)(P,{name:s,color:a,size:i,id:c,className:"cmplz-"+c,"data-tooltip-delay-hide":200}),(0,o.createElement)(T,{place:"bottom",anchorSelect:".cmplz-"+c,content:r})):(0,o.createElement)("div",{className:"cmplz-"+l+"icon cmplz-icon-"+s+" cmplz-"+a},(0,o.createElement)(P,{name:s,color:a,size:i}))}},9588:(e,t,n)=>{"use strict";n.r(t),n.d(t,{doAction:()=>g,getFields:()=>p,setFields:()=>m});const r=window.wp.apiFetch;var o=n.n(r),s=n(72505),a=n.n(s),i=n(55446),l=n(27723);const c=async(e,t,n=null)=>{try{const r="GET"===e?`${y("ajax")}&rest_action=${t.replace("?","&")}`:y("ajax"),o={method:e,headers:{"Content-Type":"application/json; charset=UTF-8"}};"POST"===e&&(o.body=JSON.stringify({rest_action:t,data:n},u));const s=await fetch(r,o);if(!s.ok)return S(s,s.statusText),d(error,"error","invalid_data");const a=await s.json();return a&&a.hasOwnProperty("request_success")?(delete a.request_success,a):(S(a,"Connection to the server lost. Please try reloading this page.","complianz-gdpr"),d("invalid_data","error","The server returned invalid data. If debugging is enabled, please disable it to check if that helps.","complianz-gdpr"))}catch(e){return S(!1,e),d(e,"error","The server returned invalid data. If debugging is enabled, please disable it to check if that helps.","complianz-gdpr")}},u=(e,t)=>e?e&&e.includes("Control")?void 0:"object"==typeof t?JSON.parse(JSON.stringify(t,u)):t:t,d=(e,t,n)=>{let r={},o={},s={};return s.status=t,o.code=n,o.data=s,o.message=e,r.error=o,r},f=(e,t)=>{if(h()){let n={headers:{"X-WP-Nonce":cmplz_settings.nonce}};return a().post(y()+e,t,n).then((e=>e.data)).catch((n=>c("POST",e,t)))}return o()({path:e,method:"POST",data:t}).then((n=>n.request_success?n:(console.log("apiFetch failed, trying with ajaxPost"),c("POST",e,t)))).catch((n=>c("POST",e,t)))},p=()=>(e=>{if(h()){let t={headers:{"X-WP-Nonce":cmplz_settings.nonce}};return a().get(y()+e,t).then((t=>t.data.request_success?t.data:c("GET",e))).catch((t=>c("GET",e)))}return o()({path:e}).then((t=>t.request_success?t:(console.log("apiFetch failed, trying with ajaxGet"),c("GET",e)))).catch((t=>c("GET",e)))})("complianz/v1/fields/get"+v()+b()),m=(e,t)=>{let n={fields:e,nonce:cmplz_settings.cmplz_nonce,finish:t};return f("complianz/v1/fields/set"+v(),n)},g=(e,t)=>(void 0===t&&(t={}),t.nonce=cmplz_settings.cmplz_nonce,f("complianz/v1/do_action/"+e,t)),h=()=>-1!==cmplz_settings.site_url.indexOf("?"),v=()=>h()?"&":"?",b=()=>"nonce="+cmplz_settings.cmplz_nonce+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),y=e=>{let t;return t=void 0===e?cmplz_settings.site_url:cmplz_settings.admin_ajax_url,"https:"===window.location.protocol&&-1===t.indexOf("https://")?t.replace("http://","https://"):t};let w=!1;const S=(e,t)=>{let n=(0,l.__)("Unexpected error","complianz-gdpr");if(e&&e.errors){for(let t in e.errors)if(e.errors.hasOwnProperty(t)&&"string"==typeof e.errors[t]&&e.errors[t].length>0){n=e.errors[t];break}}else t&&(n=t);w||(w=!0,i.toast.error(n,{autoClose:15e3}))}},45511:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=e=>{let t=window.location.href;if(-1===t.indexOf("#"))return!1;let n=t.split("#");if(1===n.length)return!1;let r=n[1];if("menu"===e){if(-1!==r.indexOf("&")&&(r=r.split("&")[0]),-1===r.indexOf("/"))return!1;{let e=r.split("/");return!(e.length<=1)&&e[1]}}return-1===r.indexOf("/")?r:r.split("/")[0]}},73710:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateFieldsListWithConditions:()=>o});var r=n(90720);const o=e=>e.map((t=>{const n=!(t.hasOwnProperty("react_conditions")&&!(0,r.validateConditions)(t.react_conditions,e,t.id)),o={...t};return"disable"===o.condition_action?o.disabled=!n:o.conditionallyDisabled=!n,o}))},90720:(e,t,n)=>{"use strict";n.r(t),n.d(t,{validateConditions:()=>r});const r=(e,t,n,o=!1)=>{let s="OR"===e.relation?"OR":"AND",a="AND"===s;for(const o in e)if(e.hasOwnProperty(o)){let i="AND"===s,l=e[o];l.hasOwnProperty("relation")&&(i=1===r(l,t,n,!0),a="AND"===s?a&&i:a||i);for(let e in l){if("hidden"===e){i=!1;continue}let n=0===e.indexOf("!");if(l.hasOwnProperty(e)){let n=l[e];e=e.replace("!","");let r=t.filter((t=>t.id===e));if(r.hasOwnProperty(0)){let e=r[0],t=e.value;if("text_checkbox"===e.type)i=t.hasOwnProperty("show")&&t.show==n;else if("checkbox"===e.type)i=t==n;else if("multicheckbox"===e.type){i=!1;let e=t;if(Array.isArray(e)||(e=""!==e?[]:[e]),0===e.length)i=!1;else for(const t of Object.keys(e))if(Array.isArray(n)||(n=[n]),n.includes(e[t])){i=!0;break}}else i="radio"===e.type||"document"===e.type?Array.isArray(n)?n.includes(t):n===t:!0===n?1===t||"1"===t||!0===t:!1===n?0===t||"0"===t||!1===t:-1!==n.indexOf("EMPTY")?0===t.length:String(t).toLowerCase()===n.toLowerCase()}}n&&(i=!i),a="AND"===s?a&&i:a||i}a="AND"===s?a&&i:a||i}return a?1:0}},42838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:s,seal:a,create:i}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),f=C(Array.prototype.push),p=C(String.prototype.toLowerCase),m=C(String.prototype.toString),g=C(String.prototype.match),h=C(String.prototype.replace),v=C(String.prototype.indexOf),b=C(String.prototype.trim),y=C(Object.prototype.hasOwnProperty),w=C(RegExp.prototype.test),S=(E=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(E,t)});var E;function C(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return l(e,t,r)}}function _(e,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let s=r.length;for(;s--;){let t=r[s];if("string"==typeof t){const e=o(t);e!==t&&(n(r)||(r[s]=e),t=e)}e[t]=!0}return e}function x(e){for(let t=0;t<e.length;t++)y(e,t)||(e[t]=null);return e}function T(t){const n=i(null);for(const[r,o]of e(t))y(t,r)&&(Array.isArray(o)?n[r]=x(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=T(o):n[r]=o);return n}function P(e,t){for(;null!==e;){const n=o(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=r(e)}return function(){return null}}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),k=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),z=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),A=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=s(["#text"]),L=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),R=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),N=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),j=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=a(/<%[\w\W]*|[\w\W]*%>/gm),H=a(/\${[\w\W]*}/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),V=a(/^aria-[\-\w]+$/),q=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i),Y=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,MUSTACHE_EXPR:B,ERB_EXPR:F,TMPLIT_EXPR:H,DATA_ATTR:U,ARIA_ATTR:V,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:$,DOCTYPE_NAME:G,CUSTOM_ELEMENT:Y});const X=function(){return"undefined"==typeof window?null:window};return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const r=e=>t(e);if(r.version="3.1.0",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:o}=n;const a=o,l=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:E,Node:C,Element:x,NodeFilter:B,NamedNodeMap:F=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:U,trustedTypes:V}=n,W=x.prototype,$=P(W,"cloneNode"),Y=P(W,"nextSibling"),K=P(W,"childNodes"),Q=P(W,"parentNode");if("function"==typeof E){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let Z,ee="";const{implementation:te,createNodeIterator:ne,createDocumentFragment:re,getElementsByTagName:oe}=o,{importNode:se}=a;let ae={};r.isSupported="function"==typeof e&&"function"==typeof Q&&te&&void 0!==te.createHTMLDocument;const{MUSTACHE_EXPR:ie,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:ue,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:me}=J;let{IS_ALLOWED_URI:ge}=J,he=null;const ve=_({},[...D,...O,...k,...A,...I]);let be=null;const ye=_({},[...L,...R,...N,...j]);let we=Object.seal(i(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ee=null,Ce=!0,_e=!0,xe=!1,Te=!0,Pe=!1,De=!0,Oe=!1,ke=!1,ze=!1,Ae=!1,Me=!1,Ie=!1,Le=!0,Re=!1,Ne=!0,je=!1,Be={},Fe=null;const He=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ue=null;const Ve=_({},["audio","video","img","source","image","track"]);let qe=null;const We=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",Ge="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml";let Je=Ye,Xe=!1,Ke=null;const Qe=_({},[$e,Ge,Ye],m);let Ze=null;const et=["application/xhtml+xml","text/html"];let tt=null,nt=null;const rt=o.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!nt||nt!==e){if(e&&"object"==typeof e||(e={}),e=T(e),Ze=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Ze?m:p,he=y(e,"ALLOWED_TAGS")?_({},e.ALLOWED_TAGS,tt):ve,be=y(e,"ALLOWED_ATTR")?_({},e.ALLOWED_ATTR,tt):ye,Ke=y(e,"ALLOWED_NAMESPACES")?_({},e.ALLOWED_NAMESPACES,m):Qe,qe=y(e,"ADD_URI_SAFE_ATTR")?_(T(We),e.ADD_URI_SAFE_ATTR,tt):We,Ue=y(e,"ADD_DATA_URI_TAGS")?_(T(Ve),e.ADD_DATA_URI_TAGS,tt):Ve,Fe=y(e,"FORBID_CONTENTS")?_({},e.FORBID_CONTENTS,tt):He,Se=y(e,"FORBID_TAGS")?_({},e.FORBID_TAGS,tt):{},Ee=y(e,"FORBID_ATTR")?_({},e.FORBID_ATTR,tt):{},Be=!!y(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pe=e.SAFE_FOR_TEMPLATES||!1,De=!1!==e.SAFE_FOR_XML,Oe=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,Le=!1!==e.SANITIZE_DOM,Re=e.SANITIZE_NAMED_PROPS||!1,Ne=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,ge=e.ALLOWED_URI_REGEXP||q,Je=e.NAMESPACE||Ye,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(_e=!1),Me&&(Ae=!0),Be&&(he=_({},I),be=[],!0===Be.html&&(_(he,D),_(be,L)),!0===Be.svg&&(_(he,O),_(be,R),_(be,j)),!0===Be.svgFilters&&(_(he,k),_(be,R),_(be,j)),!0===Be.mathMl&&(_(he,A),_(be,N),_(be,j))),e.ADD_TAGS&&(he===ve&&(he=T(he)),_(he,e.ADD_TAGS,tt)),e.ADD_ATTR&&(be===ye&&(be=T(be)),_(be,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&_(qe,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(Fe===He&&(Fe=T(Fe)),_(Fe,e.FORBID_CONTENTS,tt)),Ne&&(he["#text"]=!0),Oe&&_(he,["html","head","body"]),he.table&&(_(he,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Z=e.TRUSTED_TYPES_POLICY,ee=Z.createHTML("")}else void 0===Z&&(Z=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(V,l)),null!==Z&&"string"==typeof ee&&(ee=Z.createHTML(""));s&&s(e),nt=e}},at=_({},["mi","mo","mn","ms","mtext"]),it=_({},["foreignobject","desc","title","annotation-xml"]),lt=_({},["title","style","font","a","script"]),ct=_({},[...O,...k,...z]),ut=_({},[...A,...M]),dt=function(e){f(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},ft=function(e,t){try{f(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!be[e])if(Ae||Me)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pt=function(e){let t=null,n=null;if(ze)e="<remove></remove>"+e;else{const t=g(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ze&&Je===Ye&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=Z?Z.createHTML(e):e;if(Je===Ye)try{t=(new U).parseFromString(r,Ze)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Je,"template",null);try{t.documentElement.innerHTML=Xe?ee:r}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),Je===Ye?oe.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:s},mt=function(e){return ne.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},gt=function(e){return"function"==typeof C&&e instanceof C},ht=function(e,t,n){ae[e]&&u(ae[e],(e=>{e.call(r,t,n,nt)}))},vt=function(e){let t=null;if(ht("beforeSanitizeElements",e,null),(n=e)instanceof H&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof F)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return dt(e),!0;var n;const o=tt(e.nodeName);if(ht("uponSanitizeElement",e,{tagName:o,allowedTags:he}),e.hasChildNodes()&&!gt(e.firstElementChild)&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return dt(e),!0;if(7===e.nodeType)return dt(e),!0;if(De&&8===e.nodeType&&w(/<[/\w]/g,e.data))return dt(e),!0;if(!he[o]||Se[o]){if(!Se[o]&&yt(o)){if(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,o))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(o))return!1}if(Ne&&!Fe[o]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore($(n[r],!0),Y(e))}return dt(e),!0}return e instanceof x&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});const n=p(e.tagName),r=p(t.tagName);return!!Ke[e.namespaceURI]&&(e.namespaceURI===Ge?t.namespaceURI===Ye?"svg"===n:t.namespaceURI===$e?"svg"===n&&("annotation-xml"===r||at[r]):Boolean(ct[n]):e.namespaceURI===$e?t.namespaceURI===Ye?"math"===n:t.namespaceURI===Ge?"math"===n&&it[r]:Boolean(ut[n]):e.namespaceURI===Ye?!(t.namespaceURI===Ge&&!it[r])&&!(t.namespaceURI===$e&&!at[r])&&!ut[n]&&(lt[n]||!ct[n]):!("application/xhtml+xml"!==Ze||!Ke[e.namespaceURI]))}(e)?(dt(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Pe&&3===e.nodeType&&(t=e.textContent,u([ie,le,ce],(e=>{t=h(t,e," ")})),e.textContent!==t&&(f(r.removed,{element:e.cloneNode()}),e.textContent=t)),ht("afterSanitizeElements",e,null),!1):(dt(e),!0)},bt=function(e,t,n){if(Le&&("id"===t||"name"===t)&&(n in o||n in rt))return!1;if(_e&&!Ee[t]&&w(ue,t));else if(Ce&&w(de,t));else if(!be[t]||Ee[t]){if(!(yt(e)&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&w(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(qe[t]);else if(w(ge,h(n,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Ue[e])if(xe&&!w(fe,h(n,pe,"")));else if(n)return!1;return!0},yt=function(e){return"annotation-xml"!==e&&g(e,me)},wt=function(e){ht("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};let o=t.length;for(;o--;){const s=t[o],{name:a,namespaceURI:i,value:l}=s,c=tt(a);let f="value"===a?l:b(l);if(n.attrName=c,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,ht("uponSanitizeAttribute",e,n),f=n.attrValue,n.forceKeepAttr)continue;if(ft(a,e),!n.keepAttr)continue;if(!Te&&w(/\/>/i,f)){ft(a,e);continue}Pe&&u([ie,le,ce],(e=>{f=h(f,e," ")}));const p=tt(e.nodeName);if(bt(p,c,f)){if(!Re||"id"!==c&&"name"!==c||(ft(a,e),f="user-content-"+f),Z&&"object"==typeof V&&"function"==typeof V.getAttributeType)if(i);else switch(V.getAttributeType(p,c)){case"TrustedHTML":f=Z.createHTML(f);break;case"TrustedScriptURL":f=Z.createScriptURL(f)}try{i?e.setAttributeNS(i,a,f):e.setAttribute(a,f),d(r.removed)}catch(e){}}}ht("afterSanitizeAttributes",e,null)},St=function e(t){let n=null;const r=mt(t);for(ht("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ht("uponSanitizeShadowNode",n,null),vt(n)||(n.content instanceof c&&e(n.content),wt(n));ht("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,i=null;if(Xe=!e,Xe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!gt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||st(t),r.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=tt(e.nodeName);if(!he[t]||Se[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=pt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Ae&&!Pe&&!Oe&&-1===e.indexOf("<"))return Z&&Ie?Z.createHTML(e):e;if(n=pt(e),!n)return Ae?null:Ie?ee:""}n&&ze&&dt(n.firstChild);const l=mt(je?e:n);for(;s=l.nextNode();)vt(s)||(s.content instanceof c&&St(s.content),wt(s));if(je)return e;if(Ae){if(Me)for(i=re.call(n.ownerDocument);n.firstChild;)i.appendChild(n.firstChild);else i=n;return(be.shadowroot||be.shadowrootmode)&&(i=se.call(a,i,!0)),i}let d=Oe?n.outerHTML:n.innerHTML;return Oe&&he["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&w(G,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),Pe&&u([ie,le,ce],(e=>{d=h(d,e," ")})),Z&&Ie?Z.createHTML(d):d},r.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){nt=null,ke=!1},r.isValidAttribute=function(e,t,n){nt||st({});const r=tt(e),o=tt(t);return bt(r,o,n)},r.addHook=function(e,t){"function"==typeof t&&(ae[e]=ae[e]||[],f(ae[e],t))},r.removeHook=function(e){if(ae[e])return d(ae[e])},r.removeHooks=function(e){ae[e]&&(ae[e]=[])},r.removeAllHooks=function(){ae={}},r}()}()},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,s,a){if(a!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1063:(e,t,n)=>{"use strict";var r=n(51609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,a=r.useEffect,i=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return i((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},88940:(e,t,n)=>{"use strict";var r=n(51609),o=n(19888),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,i=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return i=t}return i=e}if(t=i,s(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,i=n)}var a,i,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},19888:(e,t,n)=>{"use strict";e.exports=n(1063)},69242:(e,t,n)=>{"use strict";e.exports=n(88940)},59140:(e,t,n)=>{var r={"./":[72980],"./Dashboard/DashboardPage":[48596,4521,8399,5296,8596],"./Dashboard/DashboardPage.js":[48596,4521,8399,5296,8596],"./Dashboard/Documents/DocumentsBlock":[19567,4521,8399,5296,9567],"./Dashboard/Documents/DocumentsBlock.js":[19567,4521,8399,5296,9567],"./Dashboard/Documents/DocumentsData":[56716,6716],"./Dashboard/Documents/DocumentsData.js":[56716,6716],"./Dashboard/Documents/DocumentsFooter":[38931,8931],"./Dashboard/Documents/DocumentsFooter.js":[38931,8931],"./Dashboard/Documents/DocumentsHeader":[61249,4521,8399,5296,1249],"./Dashboard/Documents/DocumentsHeader.js":[61249,4521,8399,5296,1249],"./Dashboard/Documents/OtherDocuments":[3192,4521,8399,5296,3192],"./Dashboard/Documents/OtherDocuments.js":[3192,4521,8399,5296,3192],"./Dashboard/Documents/OtherRegions":[91699,1699],"./Dashboard/Documents/OtherRegions.js":[91699,1699],"./Dashboard/Documents/SingleDocument":[98217,4521,8399,5296,8217],"./Dashboard/Documents/SingleDocument.js":[98217,4521,8399,5296,8217],"./Dashboard/GridBlock":[24570,4521,8399,5296,4570],"./Dashboard/GridBlock.js":[24570,4521,8399,5296,4570],"./Dashboard/OtherPlugins/OtherPlugins":[64186,4186],"./Dashboard/OtherPlugins/OtherPlugins.js":[64186,4186],"./Dashboard/OtherPlugins/OtherPluginsData":[57338,7338],"./Dashboard/OtherPlugins/OtherPluginsData.js":[57338,7338],"./Dashboard/OtherPlugins/OtherPluginsHeader":[57907,7907],"./Dashboard/OtherPlugins/OtherPluginsHeader.js":[57907,7907],"./Dashboard/Progress/ProgressBlock":[93407,3407],"./Dashboard/Progress/ProgressBlock.js":[93407,3407],"./Dashboard/Progress/ProgressBlockHeader":[99582,9582],"./Dashboard/Progress/ProgressBlockHeader.js":[99582,9582],"./Dashboard/Progress/ProgressData":[32828],"./Dashboard/Progress/ProgressData.js":[32828],"./Dashboard/Progress/ProgressFooter":[23971,3971],"./Dashboard/Progress/ProgressFooter.js":[23971,3971],"./Dashboard/TaskElement":[9684,9684],"./Dashboard/TaskElement.js":[9684,9684],"./Dashboard/TipsTricks/TipsTricks":[38830,8830],"./Dashboard/TipsTricks/TipsTricks.js":[38830,8830],"./Dashboard/TipsTricks/TipsTricksFooter":[20293,293],"./Dashboard/TipsTricks/TipsTricksFooter.js":[20293,293],"./Dashboard/Tools/Statistics":[98084,8084],"./Dashboard/Tools/Statistics.js":[98084,8084],"./Dashboard/Tools/ToolItem":[69406,9406],"./Dashboard/Tools/ToolItem.js":[69406,9406],"./Dashboard/Tools/Tools":[56644,6644],"./Dashboard/Tools/Tools.js":[56644,6644],"./Dashboard/Tools/ToolsData":[24108,4108],"./Dashboard/Tools/ToolsData.js":[24108,4108],"./Dashboard/Tools/ToolsFooter":[1203,1203],"./Dashboard/Tools/ToolsFooter.js":[1203,1203],"./Dashboard/Tools/ToolsHeader":[71137,4521,8399,5296,3518],"./Dashboard/Tools/ToolsHeader.js":[71137,4521,8399,5296,3518],"./DateRange/DateRange":[95279,20,393,5549,799,5279],"./DateRange/DateRange.js":[95279,20,393,5549,799,5279],"./DateRange/useDateStore":[38432,5549,8432],"./DateRange/useDateStore.js":[38432,5549,8432],"./Header":[34963],"./Header.js":[34963],"./Menu/Menu":[25923],"./Menu/Menu.js":[25923],"./Menu/MenuData":[52043],"./Menu/MenuData.js":[52043],"./Menu/MenuItem":[14144],"./Menu/MenuItem.js":[14144],"./Modal":[31997,20,393,2758,1997],"./Modal.js":[31997,20,393,2758,1997],"./Modal/Modal":[41439,1439],"./Modal/Modal.js":[41439,1439],"./Modal/ModalControl":[40278,278],"./Modal/ModalControl.js":[40278,278],"./Onboarding/InstallPlugin":[77340,7340],"./Onboarding/InstallPlugin.js":[77340,7340],"./Onboarding/Onboarding":[16683,6683],"./Onboarding/Onboarding.js":[16683,6683],"./Onboarding/OnboardingData":[7283,7283],"./Onboarding/OnboardingData.js":[7283,7283],"./Page":[77845],"./Page.js":[77845],"./Placeholder/MenuPlaceholder":[97194],"./Placeholder/MenuPlaceholder.js":[97194],"./Placeholder/PagePlaceholder":[49966],"./Placeholder/PagePlaceholder.js":[49966],"./Placeholder/Placeholder":[99695],"./Placeholder/Placeholder.js":[99695],"./Placeholder/SettingsPlaceholder":[39864],"./Placeholder/SettingsPlaceholder.js":[39864],"./Settings/AreYouSureModal":[31027,20,393,2758,1027],"./Settings/AreYouSureModal.js":[31027,20,393,2758,1027],"./Settings/BorderRadiusControl":[13549,3549],"./Settings/BorderRadiusControl.js":[13549,3549],"./Settings/BorderWidthControl":[6009,6009],"./Settings/BorderWidthControl.js":[6009,6009],"./Settings/ButtonControl":[84161,4161],"./Settings/ButtonControl.js":[84161,4161],"./Settings/ChangeStatus":[5016,5016],"./Settings/ChangeStatus.js":[5016,5016],"./Settings/CheckboxControl":[84786,4786],"./Settings/CheckboxControl.js":[84786,4786],"./Settings/ColorPicker/ColorPicker.scss":[44437,4437],"./Settings/ColorPicker/ColorPickerControl":[11030,4521,8399,4989,8394,3469,1030],"./Settings/ColorPicker/ColorPickerControl.js":[11030,4521,8399,4989,8394,3469,1030],"./Settings/CookieBannerPreview/BannerLogoControl":[40277,4521,8399,5296,277],"./Settings/CookieBannerPreview/BannerLogoControl.js":[40277,4521,8399,5296,277],"./Settings/CookieBannerPreview/CookieBannerControls":[76641],"./Settings/CookieBannerPreview/CookieBannerControls.js":[76641],"./Settings/CookieBannerPreview/CookieBannerData":[88499],"./Settings/CookieBannerPreview/CookieBannerData.js":[88499],"./Settings/CookieBannerPreview/CookieBannerPreview":[40135,135],"./Settings/CookieBannerPreview/CookieBannerPreview.js":[40135,135],"./Settings/CookieBannerPreview/ResetBannerButton":[88830,6449],"./Settings/CookieBannerPreview/ResetBannerButton.js":[88830,6449],"./Settings/CookieBannerPreview/tcf":[70482,482],"./Settings/CookieBannerPreview/tcf.js":[70482,482],"./Settings/CookieScan/CookieScanControl":[10626,626],"./Settings/CookieScan/CookieScanControl.js":[10626,626],"./Settings/CookieScan/CookieScanData":[99091,9091],"./Settings/CookieScan/CookieScanData.js":[99091,9091],"./Settings/CookieScan/Details":[80756,756],"./Settings/CookieScan/Details.js":[80756,756],"./Settings/Cookiedatabase/Cookie":[7102,4521,8399,5296,7102],"./Settings/Cookiedatabase/Cookie.js":[7102,4521,8399,5296,7102],"./Settings/Cookiedatabase/CookieDatabaseSyncControl":[45875,4521,8399,5296,5875],"./Settings/Cookiedatabase/CookieDatabaseSyncControl.js":[45875,4521,8399,5296,5875],"./Settings/Cookiedatabase/Service":[36729,4521,8399,5296,6729],"./Settings/Cookiedatabase/Service.js":[36729,4521,8399,5296,6729],"./Settings/Cookiedatabase/SyncData":[15139],"./Settings/Cookiedatabase/SyncData.js":[15139],"./Settings/CreateDocuments/CreateDocument":[20880,880],"./Settings/CreateDocuments/CreateDocument.js":[20880,880],"./Settings/CreateDocuments/CreateDocumentsControl":[83430,3430],"./Settings/CreateDocuments/CreateDocumentsControl.js":[83430,3430],"./Settings/CreateDocuments/DocumentsData":[96979],"./Settings/CreateDocuments/DocumentsData.js":[96979],"./Settings/DataBreachReports/CreateDataBreachReport":[50599,4521,8399,5296,2980],"./Settings/DataBreachReports/CreateDataBreachReport.js":[50599,4521,8399,5296,2980],"./Settings/DataBreachReports/DataBreachConclusion":[90017,17],"./Settings/DataBreachReports/DataBreachConclusion.js":[90017,17],"./Settings/DataBreachReports/DataBreachConclusionItem":[38414,8414],"./Settings/DataBreachReports/DataBreachConclusionItem.js":[38414,8414],"./Settings/DataBreachReports/DataBreachReportsControl":[28550,4521,8550],"./Settings/DataBreachReports/DataBreachReportsControl.js":[28550,4521,8550],"./Settings/DataBreachReports/DataBreachReportsData":[5207,5207],"./Settings/DataBreachReports/DataBreachReportsData.js":[5207,5207],"./Settings/DataRequests/DatarequestsControl":[61624,4521,1624],"./Settings/DataRequests/DatarequestsControl.js":[61624,4521,1624],"./Settings/DataRequests/ExportDatarequests":[44575,5549,4575],"./Settings/DataRequests/ExportDatarequests.js":[44575,5549,4575],"./Settings/DataRequests/requests.scss":[86755,6755],"./Settings/DataRequests/useDatarequestsData":[90622,622],"./Settings/DataRequests/useDatarequestsData.js":[90622,622],"./Settings/Debug/DebugDataControl":[13370,3370],"./Settings/Debug/DebugDataControl.js":[13370,3370],"./Settings/Debug/debug.scss":[7777,7777],"./Settings/Debug/useDebugData":[96228,6228],"./Settings/Debug/useDebugData.js":[96228,6228],"./Settings/DocumentControl":[78358,4521,20,2848,8992,8358],"./Settings/DocumentControl.js":[78358,4521,20,2848,8992,8358],"./Settings/DocumentsMenu/DocumentsMenuControl":[42302,2302],"./Settings/DocumentsMenu/DocumentsMenuControl.js":[42302,2302],"./Settings/DocumentsMenu/MenuData":[17771,7771],"./Settings/DocumentsMenu/MenuData.js":[17771,7771],"./Settings/DocumentsMenu/MenuPerDocument":[15193,5193],"./Settings/DocumentsMenu/MenuPerDocument.js":[15193,5193],"./Settings/DocumentsMenu/MenuPerDocumentType":[83737,3737],"./Settings/DocumentsMenu/MenuPerDocumentType.js":[83737,3737],"./Settings/DocumentsMenu/SingleDocumentMenuControl":[49709,9709],"./Settings/DocumentsMenu/SingleDocumentMenuControl.js":[49709,9709],"./Settings/Editor/AceEditor.scss":[72330,2330],"./Settings/Editor/AceEditorControl":[89713,8947,9713],"./Settings/Editor/AceEditorControl.js":[89713,8947,9713],"./Settings/Editor/Editor":[57579,8130,7579],"./Settings/Editor/Editor.js":[57579,8130,7579],"./Settings/Editor/Editor.scss":[72749,2749],"./Settings/Export/ExportControl":[5848,5848],"./Settings/Export/ExportControl.js":[5848,5848],"./Settings/Export/Import.scss":[50700,700],"./Settings/Export/ImportControl":[43785,3785],"./Settings/Export/ImportControl.js":[43785,3785],"./Settings/Fields/Field":[32636],"./Settings/Fields/Field.js":[32636],"./Settings/Fields/FieldTooltip":[54537],"./Settings/Fields/FieldTooltip.js":[54537],"./Settings/Fields/FieldsData":[4219],"./Settings/Fields/FieldsData.js":[4219],"./Settings/Fields/LabelWrapper":[59387],"./Settings/Fields/LabelWrapper.js":[59387],"./Settings/Fields/PreloadFields":[9712],"./Settings/Fields/PreloadFields.js":[9712],"./Settings/Finish/Finish.scss":[61409,1409],"./Settings/Finish/FinishControl":[42058,2058],"./Settings/Finish/FinishControl.js":[42058,2058],"./Settings/Finish/useFinishData":[76902,6902],"./Settings/Finish/useFinishData.js":[76902,6902],"./Settings/Help":[20625,625],"./Settings/Help.js":[20625,625],"./Settings/Inputs/BorderInput":[41370,1370],"./Settings/Inputs/BorderInput.js":[41370,1370],"./Settings/Inputs/Button":[79758,9758],"./Settings/Inputs/Button.js":[79758,9758],"./Settings/Inputs/CheckboxGroup":[81366,4521,1366],"./Settings/Inputs/CheckboxGroup.js":[81366,4521,1366],"./Settings/Inputs/ColorPicker":[32945,4989,8394,2945],"./Settings/Inputs/ColorPicker.js":[32945,4989,8394,2945],"./Settings/Inputs/EmailInput":[18458,8458],"./Settings/Inputs/EmailInput.js":[18458,8458],"./Settings/Inputs/InputHidden":[4612,4612],"./Settings/Inputs/InputHidden.js":[4612,4612],"./Settings/Inputs/NumberInput":[69855,9855],"./Settings/Inputs/NumberInput.js":[69855,9855],"./Settings/Inputs/PhoneInput":[27954,7954],"./Settings/Inputs/PhoneInput.js":[27954,7954],"./Settings/Inputs/RadioGroup":[7320,4521,2848,8507],"./Settings/Inputs/RadioGroup.js":[7320,4521,2848,8507],"./Settings/Inputs/SelectInput":[25228,4521,8399,5296,5228],"./Settings/Inputs/SelectInput.js":[25228,4521,8399,5296,5228],"./Settings/Inputs/SwitchInput":[10800,4521,800],"./Settings/Inputs/SwitchInput.js":[10800,4521,800],"./Settings/Inputs/TextAreaInput":[73254,873],"./Settings/Inputs/TextAreaInput.js":[73254,873],"./Settings/Inputs/TextInput":[32489,2489],"./Settings/Inputs/TextInput.js":[32489,2489],"./Settings/Inputs/TextSwitchInput":[51361,4521,1361],"./Settings/Inputs/TextSwitchInput.js":[51361,4521,1361],"./Settings/Inputs/URLInput":[9401,9401],"./Settings/Inputs/URLInput.js":[9401,9401],"./Settings/InstallPlugin/InstallPlugin":[29487,9487],"./Settings/InstallPlugin/InstallPlugin.js":[29487,9487],"./Settings/InstallPlugin/InstallPluginData":[7511,7511],"./Settings/InstallPlugin/InstallPluginData.js":[7511,7511],"./Settings/Integrations/Category":[31356,4521,2848,8583],"./Settings/Integrations/Category.js":[31356,4521,2848,8583],"./Settings/Integrations/Dependency":[48033,4521,8399,5296,8033],"./Settings/Integrations/Dependency.js":[48033,4521,8399,5296,8033],"./Settings/Integrations/IntegrationsData":[34759,4759],"./Settings/Integrations/IntegrationsData.js":[34759,4759],"./Settings/Integrations/Placeholder":[60847,4521,8399,5296,847],"./Settings/Integrations/Placeholder.js":[60847,4521,8399,5296,847],"./Settings/Integrations/PluginsControl":[60093,4521,93],"./Settings/Integrations/PluginsControl.js":[60093,4521,93],"./Settings/Integrations/ScriptCenterControl":[91137,4521,8399,5296,2848,8947,1137],"./Settings/Integrations/ScriptCenterControl.js":[91137,4521,8399,5296,2848,8947,1137],"./Settings/Integrations/ServicesControl":[85023,4521,5023],"./Settings/Integrations/ServicesControl.js":[85023,4521,5023],"./Settings/Integrations/ThirdPartyScript":[59736,4521,8399,5296,2848,8947,9736],"./Settings/Integrations/ThirdPartyScript.js":[59736,4521,8399,5296,2848,8947,9736],"./Settings/Integrations/Urls":[44078,4078],"./Settings/Integrations/Urls.js":[44078,4078],"./Settings/Integrations/integrations.scss":[72177,2177],"./Settings/License/License":[35035,5035],"./Settings/License/License.js":[35035,5035],"./Settings/License/LicenseData":[35683,5683],"./Settings/License/LicenseData.js":[35683,5683],"./Settings/Multisite/CopyMultisite":[48708,8708],"./Settings/Multisite/CopyMultisite.js":[48708,8708],"./Settings/Multisite/UseCopyMultisiteData":[16745,6745],"./Settings/Multisite/UseCopyMultisiteData.js":[16745,6745],"./Settings/Panel":[52010,2010],"./Settings/Panel.js":[52010,2010],"./Settings/Password":[99179,9179],"./Settings/Password.js":[99179,9179],"./Settings/PlaceholderPreview/PlaceholderPreview":[80679,679],"./Settings/PlaceholderPreview/PlaceholderPreview.js":[80679,679],"./Settings/PlaceholderPreview/PlaceholderPreview.scss":[43905,3905],"./Settings/PluginsOverviewControl":[43254,3254],"./Settings/PluginsOverviewControl.js":[43254,3254],"./Settings/PluginsPrivacyStatements/PluginsPrivacyStatementsControl":[95552,5552],"./Settings/PluginsPrivacyStatements/PluginsPrivacyStatementsControl.js":[95552,5552],"./Settings/PluginsPrivacyStatements/PluginsPrivacyStatementsData":[75553,5553],"./Settings/PluginsPrivacyStatements/PluginsPrivacyStatementsData.js":[75553,5553],"./Settings/PluginsPrivacyStatements/SinglePrivacyStatement":[3990,3990],"./Settings/PluginsPrivacyStatements/SinglePrivacyStatement.js":[3990,3990],"./Settings/Premium":[5085],"./Settings/Premium.js":[5085],"./Settings/ProcessingAgreements/CreateProcessingAgreements":[86281,4521,8399,5296,6281],"./Settings/ProcessingAgreements/CreateProcessingAgreements.js":[86281,4521,8399,5296,6281],"./Settings/ProcessingAgreements/ProcessingAgreementsControl":[13068,4521,3068],"./Settings/ProcessingAgreements/ProcessingAgreementsControl.js":[13068,4521,3068],"./Settings/ProcessingAgreements/ProcessingAgreementsData":[81629,1629],"./Settings/ProcessingAgreements/ProcessingAgreementsData.js":[81629,1629],"./Settings/Processors/ProcessorControl":[45175,5175],"./Settings/Processors/ProcessorControl.js":[45175,5175],"./Settings/Processors/ProcessorElement":[46946,6946],"./Settings/Processors/ProcessorElement.js":[46946,6946],"./Settings/ProofOfConsent/CreateProofOfConsent":[36875,6875],"./Settings/ProofOfConsent/CreateProofOfConsent.js":[36875,6875],"./Settings/ProofOfConsent/ProofOfConsentControl":[97234,4521,7234],"./Settings/ProofOfConsent/ProofOfConsentControl.js":[97234,4521,7234],"./Settings/ProofOfConsent/ProofOfConsentControl.scss":[1326,1326],"./Settings/ProofOfConsent/useProofOfConsentData":[54098,4098],"./Settings/ProofOfConsent/useProofOfConsentData.js":[54098,4098],"./Settings/RecordsOfConsent/ExportRecordsOfConsent":[87161,5549,7161],"./Settings/RecordsOfConsent/ExportRecordsOfConsent.js":[87161,5549,7161],"./Settings/RecordsOfConsent/RecordsOfConsentControl":[93078,4521,3078],"./Settings/RecordsOfConsent/RecordsOfConsentControl.js":[93078,4521,3078],"./Settings/RecordsOfConsent/useRecordsOfConsentData":[40054,54],"./Settings/RecordsOfConsent/useRecordsOfConsentData.js":[40054,54],"./Settings/SecurityMeasures/SecurityMeasures":[35575,5575],"./Settings/SecurityMeasures/SecurityMeasures.js":[35575,5575],"./Settings/SecurityMeasures/measures.scss":[54435,4435],"./Settings/SecurityMeasures/useSecurityMeasuresData":[88770,8770],"./Settings/SecurityMeasures/useSecurityMeasuresData.js":[88770,8770],"./Settings/Settings":[60011,11],"./Settings/Settings.js":[60011,11],"./Settings/SettingsGroup":[54644,4644],"./Settings/SettingsGroup.js":[54644,4644],"./Settings/Support":[24139,4139],"./Settings/Support.js":[24139,4139],"./Settings/ThirdParties/ThirdPartyControl":[53582,3582],"./Settings/ThirdParties/ThirdPartyControl.js":[53582,3582],"./Settings/ThirdParties/ThirdPartyElement":[52111,2111],"./Settings/ThirdParties/ThirdPartyElement.js":[52111,2111],"./Statistics/Statistics":[61239,1239],"./Statistics/Statistics.js":[61239,1239],"./Statistics/StatisticsData":[88895,8895],"./Statistics/StatisticsData.js":[88895,8895],"./Statistics/StatisticsFeedback":[70348,348],"./Statistics/StatisticsFeedback.js":[70348,348],"./Tour/Tour":[8525,8525],"./Tour/Tour.js":[8525,8525],"./index":[72980],"./index.js":[72980],"./utils/Error":[73972],"./utils/Error.js":[73972],"./utils/ErrorBoundary":[65170],"./utils/ErrorBoundary.js":[65170],"./utils/Hyperlink":[44124],"./utils/Hyperlink.js":[44124],"./utils/Icon":[45111],"./utils/Icon.js":[45111],"./utils/api":[9588],"./utils/api.js":[9588],"./utils/debounce":[28539,8539],"./utils/debounce.js":[28539,8539],"./utils/getAnchor":[45511],"./utils/getAnchor.js":[45511],"./utils/lib":[50273,273],"./utils/lib.js":[50273,273],"./utils/readMore":[32921,2921],"./utils/readMore.js":[32921,2921],"./utils/sleeper":[99166,9166],"./utils/sleeper.js":[99166,9166],"./utils/updateFieldsListWithConditions":[73710],"./utils/updateFieldsListWithConditions.js":[73710],"./utils/upload":[74101,4101],"./utils/upload.js":[74101,4101],"./utils/validateConditions":[90720],"./utils/validateConditions.js":[90720]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=59140,e.exports=o},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},66087:e=>{"use strict";e.exports=window.lodash},56427:e=>{"use strict";e.exports=window.wp.components},47143:e=>{"use strict";e.exports=window.wp.data},86087:e=>{"use strict";e.exports=window.wp.element},27723:e=>{"use strict";e.exports=window.wp.i18n},46942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},95361:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,ER:()=>m,Ej:()=>g,UE:()=>i,UU:()=>l,cY:()=>f,jD:()=>d,rD:()=>s});var r=n(97193);function o(e,t,n){let{reference:o,floating:s}=e;const a=(0,r.TV)(t),i=(0,r.Dz)(t),l=(0,r.sq)(i),c=(0,r.C0)(t),u="y"===a,d=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,p=o[l]/2-s[l]/2;let m;switch(c){case"top":m={x:d,y:o.y-s.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:f};break;case"left":m={x:o.x-s.width,y:f};break;default:m={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1)}return m}const s=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=o(u,r,c),p=r,m={},g=0;for(let n=0;n<l.length;n++){const{name:a,fn:h}=l[n],{x:v,y:b,data:y,reset:w}=await h({x:d,y:f,initialPlacement:r,placement:p,strategy:s,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=b?b:f,m={...m,[a]:{...m[a],...y}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(u=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:s}):w.rects),({x:d,y:f}=o(u,p,c))),n=-1)}return{x:d,y:f,placement:p,strategy:s,middlewareData:m}};async function a(e,t){var n;void 0===t&&(t={});const{x:o,y:s,platform:a,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=(0,r._3)(t,e),g=(0,r.nI)(m),h=l[p?"floating"===f?"reference":"floating":f],v=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(h)))||n?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),b="floating"===f?{...i.floating,x:o,y:s}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),w=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},S=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:y,strategy:c}):b);return{top:(v.top-S.top+g.top)/w.y,bottom:(S.bottom-v.bottom+g.bottom)/w.y,left:(v.left-S.left+g.left)/w.x,right:(S.right-v.right+g.right)/w.x}}const i=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:s,rects:a,platform:i,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r._3)(e,t)||{};if(null==u)return{};const f=(0,r.nI)(d),p={x:n,y:o},m=(0,r.Dz)(s),g=(0,r.sq)(m),h=await i.getDimensions(u),v="y"===m,b=v?"top":"left",y=v?"bottom":"right",w=v?"clientHeight":"clientWidth",S=a.reference[g]+a.reference[m]-p[m]-a.floating[g],E=p[m]-a.reference[m],C=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u));let _=C?C[w]:0;_&&await(null==i.isElement?void 0:i.isElement(C))||(_=l.floating[w]||a.floating[g]);const x=S/2-E/2,T=_/2-h[g]/2-1,P=(0,r.jk)(f[b],T),D=(0,r.jk)(f[y],T),O=P,k=_-h[g]-D,z=_/2-h[g]/2+x,A=(0,r.qE)(O,z,k),M=!c.arrow&&null!=(0,r.Sg)(s)&&z!==A&&a.reference[g]/2-(z<O?P:D)-h[g]/2<0,I=M?z<O?z-O:z-k:0;return{[m]:p[m]+I,data:{[m]:A,centerOffset:z-A-I,...M&&{alignmentOffset:I}},reset:M}}}),l=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:s,middlewareData:i,rects:l,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...b}=(0,r._3)(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=(0,r.C0)(s),w=(0,r.C0)(c)===c,S=await(null==u.isRTL?void 0:u.isRTL(d.floating)),E=m||(w||!v?[(0,r.bV)(c)]:(0,r.WJ)(c));m||"none"===h||E.push(...(0,r.lP)(c,v,h,S));const C=[c,...E],_=await a(t,b),x=[];let T=(null==(o=i.flip)?void 0:o.overflows)||[];if(f&&x.push(_[y]),p){const e=(0,r.w7)(s,l,S);x.push(_[e[0]],_[e[1]])}if(T=[...T,{placement:s,overflows:x}],!x.every((e=>e<=0))){var P,D;const e=((null==(P=i.flip)?void 0:P.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(D=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:D.placement;if(!n)switch(g){case"bestFit":{var O;const e=null==(O=T.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}};function c(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function u(e){return r.r_.some((t=>e[t]>=0))}const d=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...s}=(0,r._3)(e,t);switch(o){case"referenceHidden":{const e=c(await a(t,{...s,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:u(e)}}}case"escaped":{const e=c(await a(t,{...s,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:u(e)}}}default:return{}}}}},f=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:s,y:a,placement:i,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:o,elements:s}=e,a=await(null==o.isRTL?void 0:o.isRTL(s.floating)),i=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),u=["left","top"].includes(i)?-1:1,d=a&&c?-1:1,f=(0,r._3)(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&"number"==typeof g&&(m="end"===l?-1*g:g),c?{x:m*d,y:p*u}:{x:p*u,y:m*d}}(t,e);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:s+c.x,y:a+c.y,data:{...c,placement:i}}}}},p=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:s}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r._3)(e,t),d={x:n,y:o},f=await a(t,u),p=(0,r.TV)((0,r.C0)(s)),m=(0,r.PG)(p);let g=d[m],h=d[p];if(i){const e="y"===m?"bottom":"right",t=g+f["y"===m?"top":"left"],n=g-f[e];g=(0,r.qE)(t,g,n)}if(l){const e="y"===p?"bottom":"right",t=h+f["y"===p?"top":"left"],n=h-f[e];h=(0,r.qE)(t,h,n)}const v=c.fn({...t,[m]:g,[p]:h});return{...v,data:{x:v.x-n,y:v.y-o}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:s,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=(0,r._3)(e,t),d={x:n,y:o},f=(0,r.TV)(s),p=(0,r.PG)(f);let m=d[p],g=d[f];const h=(0,r._3)(l,t),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+v.mainAxis,n=a.reference[p]+a.reference[e]-v.mainAxis;m<t?m=t:m>n&&(m=n)}if(u){var b,y;const e="y"===p?"width":"height",t=["top","left"].includes((0,r.C0)(s)),n=a.reference[f]-a.floating[e]+(t&&(null==(b=i.offset)?void 0:b[f])||0)+(t?0:v.crossAxis),o=a.reference[f]+a.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[f])||0)-(t?v.crossAxis:0);g<n?g=n:g>o&&(g=o)}return{[p]:m,[f]:g}}}},g=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:s,elements:i}=t,{apply:l=(()=>{}),...c}=(0,r._3)(e,t),u=await a(t,c),d=(0,r.C0)(n),f=(0,r.Sg)(n),p="y"===(0,r.TV)(n),{width:m,height:g}=o.floating;let h,v;"top"===d||"bottom"===d?(h=d,v=f===(await(null==s.isRTL?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(v=d,h="end"===f?"top":"bottom");const b=g-u[h],y=m-u[v],w=!t.middlewareData.shift;let S=b,E=y;if(p){const e=m-u.left-u.right;E=f||w?(0,r.jk)(y,e):e}else{const e=g-u.top-u.bottom;S=f||w?(0,r.jk)(b,e):e}if(w&&!f){const e=(0,r.T9)(u.left,0),t=(0,r.T9)(u.right,0),n=(0,r.T9)(u.top,0),o=(0,r.T9)(u.bottom,0);p?E=m-2*(0!==e||0!==t?e+t:(0,r.T9)(u.left,u.right)):S=g-2*(0!==n||0!==o?n+o:(0,r.T9)(u.top,u.bottom))}await l({...t,availableWidth:E,availableHeight:S});const C=await s.getDimensions(i.floating);return m!==C.width||g!==C.height?{reset:{rects:!0}}:{}}}}},52425:(e,t,n)=>{"use strict";n.d(t,{UE:()=>U,ll:()=>N,rD:()=>q,UU:()=>B,jD:()=>H,ER:()=>V,BN:()=>j,Ej:()=>F});var r=n(97193),o=n(95361);function s(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function a(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof a(e).Node}function c(e){return e instanceof Element||e instanceof a(e).Element}function u(e){return e instanceof HTMLElement||e instanceof a(e).HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof a(e).ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(e){return["table","td","th"].includes(s(e))}function m(e){const t=g(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function g(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(s(e))}function v(e){return a(e).getComputedStyle(e)}function b(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===s(e))return e;const t=e.assignedSlot||e.parentNode||d(e)&&e.host||i(e);return d(t)?t.host:t}function w(e){const t=y(e);return h(t)?e.ownerDocument?e.ownerDocument.body:e.body:u(t)&&f(t)?t:w(t)}function S(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=w(e),s=o===(null==(r=e.ownerDocument)?void 0:r.body),i=a(o);return s?t.concat(i,i.visualViewport||[],f(o)?o:[],i.frameElement&&n?S(i.frameElement):[]):t.concat(o,S(o,[],n))}function E(e){const t=v(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=u(e),a=s?e.offsetWidth:n,i=s?e.offsetHeight:o,l=(0,r.LI)(n)!==a||(0,r.LI)(o)!==i;return l&&(n=a,o=i),{width:n,height:o,$:l}}function C(e){return c(e)?e:e.contextElement}function _(e){const t=C(e);if(!u(t))return(0,r.Jx)(1);const n=t.getBoundingClientRect(),{width:o,height:s,$:a}=E(t);let i=(a?(0,r.LI)(n.width):n.width)/o,l=(a?(0,r.LI)(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const x=(0,r.Jx)(0);function T(e){const t=a(e);return g()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:x}function P(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect(),i=C(e);let l=(0,r.Jx)(1);t&&(o?c(o)&&(l=_(o)):l=_(e));const u=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==a(e))&&t}(i,n,o)?T(i):(0,r.Jx)(0);let d=(s.left+u.x)/l.x,f=(s.top+u.y)/l.y,p=s.width/l.x,m=s.height/l.y;if(i){const e=a(i),t=o&&c(o)?a(o):o;let n=e,r=n.frameElement;for(;r&&o&&t!==n;){const e=_(r),t=r.getBoundingClientRect(),o=v(r),s=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,m*=e.y,d+=s,f+=i,n=a(r),r=n.frameElement}}return(0,r.B1)({width:p,height:m,x:d,y:f})}const D=[":popover-open",":modal"];function O(e){return D.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function k(e){return P(i(e)).left+b(e).scrollLeft}function z(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=a(e),r=i(e),o=n.visualViewport;let s=r.clientWidth,l=r.clientHeight,c=0,u=0;if(o){s=o.width,l=o.height;const e=g();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:l,x:c,y:u}}(e,n);else if("document"===t)o=function(e){const t=i(e),n=b(e),o=e.ownerDocument.body,s=(0,r.T9)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,r.T9)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+k(e);const c=-n.scrollTop;return"rtl"===v(o).direction&&(l+=(0,r.T9)(t.clientWidth,o.clientWidth)-s),{width:s,height:a,x:l,y:c}}(i(e));else if(c(t))o=function(e,t){const n=P(e,!0,"fixed"===t),o=n.top+e.clientTop,s=n.left+e.clientLeft,a=u(e)?_(e):(0,r.Jx)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:s*a.x,y:o*a.y}}(t,n);else{const n=T(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(o)}function A(e,t){const n=y(e);return!(n===t||!c(n)||h(n))&&("fixed"===v(n).position||A(n,t))}function M(e,t,n){const o=u(t),a=i(t),l="fixed"===n,c=P(e,!0,l,t);let d={scrollLeft:0,scrollTop:0};const p=(0,r.Jx)(0);if(o||!o&&!l)if(("body"!==s(t)||f(a))&&(d=b(t)),o){const e=P(t,!0,l,t);p.x=e.x+t.clientLeft,p.y=e.y+t.clientTop}else a&&(p.x=k(a));return{x:c.left+d.scrollLeft-p.x,y:c.top+d.scrollTop-p.y,width:c.width,height:c.height}}function I(e,t){return u(e)&&"fixed"!==v(e).position?t?t(e):e.offsetParent:null}function L(e,t){const n=a(e);if(!u(e)||O(e))return n;let r=I(e,t);for(;r&&p(r)&&"static"===v(r).position;)r=I(r,t);return r&&("html"===s(r)||"body"===s(r)&&"static"===v(r).position&&!m(r))?n:r||function(e){let t=y(e);for(;u(t)&&!h(t);){if(m(t))return t;t=y(t)}return null}(e)||n}const R={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:a}=e;const l="fixed"===a,c=i(o),d=!!t&&O(t.floating);if(o===c||d&&l)return n;let p={scrollLeft:0,scrollTop:0},m=(0,r.Jx)(1);const g=(0,r.Jx)(0),h=u(o);if((h||!h&&!l)&&(("body"!==s(o)||f(c))&&(p=b(o)),u(o))){const e=P(o);m=_(o),g.x=e.x+o.clientLeft,g.y=e.y+o.clientTop}return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-p.scrollLeft*m.x+g.x,y:n.y*m.y-p.scrollTop*m.y+g.y}},getDocumentElement:i,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=S(e,[],!1).filter((e=>c(e)&&"body"!==s(e))),o=null;const a="fixed"===v(e).position;let i=a?y(e):e;for(;c(i)&&!h(i);){const t=v(i),n=m(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||f(i)&&!n&&A(e,i))?r=r.filter((e=>e!==i)):o=t,i=y(i)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=i[0],u=i.reduce(((e,n)=>{const o=z(t,n,a);return e.top=(0,r.T9)(o.top,e.top),e.right=(0,r.jk)(o.right,e.right),e.bottom=(0,r.jk)(o.bottom,e.bottom),e.left=(0,r.T9)(o.left,e.left),e}),z(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:L,getElementRects:async function(e){const t=this.getOffsetParent||L,n=this.getDimensions;return{reference:M(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=E(e);return{width:t,height:n}},getScale:_,isElement:c,isRTL:function(e){return"rtl"===v(e).direction}};function N(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=C(e),f=s||a?[...d?S(d):[],...S(t)]:[];f.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const p=d&&c?function(e,t){let n,o=null;const s=i(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function i(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),a();const{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(l||t(),!f||!p)return;const m={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(s.clientWidth-(u+f))+"px "+-(0,r.RI)(s.clientHeight-(d+p))+"px "+-(0,r.RI)(u)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,c))||1};let g=!0;function h(e){const t=e[0].intersectionRatio;if(t!==c){if(!g)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),100)}g=!1}try{o=new IntersectionObserver(h,{...m,root:s.ownerDocument})}catch(e){o=new IntersectionObserver(h,m)}o.observe(e)}(!0),a}(d,n):null;let m,g=-1,h=null;l&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===d&&h&&(h.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),d&&!u&&h.observe(d),h.observe(t));let v=u?P(e):null;return u&&function t(){const r=P(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n(),v=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach((e=>{s&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const j=o.BN,B=o.UU,F=o.Ej,H=o.jD,U=o.UE,V=o.ER,q=(e,t,n)=>{const r=new Map,s={platform:R,...n},a={...s.platform,_c:r};return(0,o.rD)(e,t,{...s,platform:a})}},97193:(e,t,n)=>{"use strict";n.d(t,{B1:()=>x,C0:()=>p,Dz:()=>b,Jx:()=>l,LI:()=>a,PG:()=>g,RI:()=>i,Sg:()=>m,T9:()=>s,TV:()=>v,WJ:()=>w,_3:()=>f,bV:()=>C,jk:()=>o,lP:()=>E,nI:()=>_,qE:()=>d,r_:()=>r,sq:()=>h,w7:()=>y});const r=["top","right","bottom","left"],o=Math.min,s=Math.max,a=Math.round,i=Math.floor,l=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(e,t,n){return s(e,o(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(p(e))?"y":"x"}function b(e){return g(v(e))}function y(e,t,n){void 0===n&&(n=!1);const r=m(e),o=b(e),s=h(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=C(a)),[a,C(a)]}function w(e){const t=C(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,(e=>u[e]))}function E(e,t,n,r){const o=m(e);let s=function(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:a;default:return[]}}(p(e),"start"===n,r);return o&&(s=s.map((e=>e+"-"+o)),t&&(s=s.concat(s.map(S)))),s}function C(e){return e.replace(/left|right|bottom|top/g,(e=>c[e]))}function _(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function x(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},16535:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[V]}function s(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===q}(e)||Array.isArray(e)||!!e[U]||!!(null===(t=e.constructor)||void 0===t?void 0:t[U])||u(e)||d(e))}function a(e,t,n){void 0===n&&(n=!1),0===i(e)?(n?Object.keys:W)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function i(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:u(e)?2:d(e)?3:0}function l(e,t){return 2===i(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t,n){var r=i(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function u(e){return j&&e instanceof Map}function d(e){return B&&e instanceof Set}function f(e){return e.o||e.t}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$(e);delete t[V];for(var n=W(t),r=0;r<n.length;r++){var o=n[r],s=t[o];!1===s.writable&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),h(e)||o(e)||!s(e)||(i(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){r(2)}function h(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=G[e];return t||r(18,e),t}function b(){return R}function y(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){S(e),e.p.forEach(C),e.p=null}function S(e){e===R&&(R=e.l)}function E(e){return R={p:[],l:R,h:e,m:!0,_:0}}function C(e){var t=e[V];0===t.i||1===t.i?t.j():t.g=!0}function _(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||v("ES5").S(t,e,o),o?(n[V].P&&(w(t),r(4)),s(e)&&(e=x(t,e),t.l||P(t,e)),t.u&&v("Patches").M(n[V].t,e,t.u,t.s)):e=x(t,n,[]),w(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function x(e,t,n){if(h(t))return t;var r=t[V];if(!r)return a(t,(function(o,s){return T(e,r,t,o,s,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return P(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=p(r.k):r.o,s=o,i=!1;3===r.i&&(s=new Set(o),o.clear(),i=!0),a(s,(function(t,s){return T(e,r,o,t,s,n,i)})),P(e,o,!1),n&&e.u&&v("Patches").N(r,n,e.u,e.s)}return r.o}function T(e,t,n,r,a,i,u){if(o(a)){var d=x(e,a,i&&t&&3!==t.i&&!l(t.R,r)?i.concat(r):void 0);if(c(n,r,d),!o(d))return;e.m=!1}else u&&n.add(a);if(s(a)&&!h(a)){if(!e.h.D&&e._<1)return;x(e,a),t&&t.A.l||P(e,a)}}function P(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function D(e,t){var n=e[V];return(n?f(n):e)[t]}function O(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function k(e){e.P||(e.P=!0,e.l&&k(e.l))}function z(e){e.o||(e.o=p(e.t))}function A(e,t,n){var r=u(t)?v("MapSet").F(t,n):d(t)?v("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:b(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,s=Y;n&&(o=[r],s=J);var a=Proxy.revocable(o,s),i=a.revoke,l=a.proxy;return r.k=l,r.j=i,l}(t,n):v("ES5").J(t,n);return(n?n.A:b()).p.push(r),r}function M(e){return o(e)||r(22,e),function e(t){if(!s(t))return t;var n,r=t[V],o=i(t);if(r){if(!r.P&&(r.i<4||!v("ES5").K(r)))return r.t;r.I=!0,n=I(t,o),r.I=!1}else n=I(t,o);return a(n,(function(t,o){r&&function(e,t){return 2===i(e)?e.get(t):e[t]}(r.t,t)===o||c(n,t,e(o))})),3===o?new Set(n):n}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}n.d(t,{Ay:()=>Z,jM:()=>Q});var L,R,N="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),j="undefined"!=typeof Map,B="undefined"!=typeof Set,F="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=N?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),U=N?Symbol.for("immer-draftable"):"__$immer_draftable",V=N?Symbol.for("immer-state"):"__$immer_state",q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},G={},Y={get:function(e,t){if(t===V)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var r,o=O(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!s(r)?r:r===D(e.t,t)?(z(e),e.o[t]=A(e.A.h,r,e)):r},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var r=O(f(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=D(f(e),t),s=null==o?void 0:o[V];if(s&&s.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,o)&&(void 0!==n||l(e.t,t)))return!0;z(e),k(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==D(e.t,t)||t in e.t?(e.R[t]=!1,z(e),k(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},J={};a(Y,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,n){return Y.set.call(this,e[0],t,n,e[0])};var X=function(){function e(e){var t=this;this.O=F,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var l;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),s(e)){var c=E(t),u=A(t,e,void 0),d=!0;try{l=n(u),d=!1}finally{d?w(c):S(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return y(c,o),_(e,c)}),(function(e){throw w(c),e})):(y(c,o),_(l,c))}if(!e||"object"!=typeof e){if(void 0===(l=n(e))&&(l=e),l===H&&(l=void 0),t.D&&m(l,!0),o){var f=[],p=[];v("Patches").M(e,l,f,p),o(f,p)}return l}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,s=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return[e,r,o]})):[s,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){s(e)||r(8),o(e)&&(e=M(e));var t=E(this),n=A(this,e,void 0);return n[V].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[V]).A;return y(n,t),_(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!F&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var s=v("Patches").$;return o(e)?s(e,t):this.produce(e,(function(e){return s(e,t)}))},e}(),K=new X,Q=K.produce;K.produceWithPatches.bind(K),K.setAutoFreeze.bind(K),K.setUseProxies.bind(K),K.applyPatches.bind(K),K.createDraft.bind(K),K.finishDraft.bind(K);const Z=Q},55446:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bounce:()=>x,Flip:()=>D,Icons:()=>h,Slide:()=>T,ToastContainer:()=>O,Zoom:()=>P,collapseToast:()=>d,cssTransition:()=>f,toast:()=>B,useToast:()=>w,useToastContainer:()=>v});var r=n(51609);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const s=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r},a=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,l=e=>"function"==typeof e,c=e=>i(e)||l(e)?e:null,u=e=>(0,r.isValidElement)(e)||i(e)||l(e)||a(e);function d(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame((()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame((()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)}))}))}function f(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:s=!0,collapseDuration:a=300}=e;return function(e){let{children:i,position:l,preventExitTransition:c,done:u,nodeRef:f,isIn:p}=e;const m=o?`${t}--${l}`:t,g=o?`${n}--${l}`:n,h=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=f.current,t=m.split(" "),n=r=>{r.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===h.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=f.current,t=()=>{e.removeEventListener("animationend",t),s?d(e,u,a):u()};p||(c?t():(h.current=1,e.className+=` ${g}`,e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,i)}}function p(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const m={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},g=e=>{let{theme:t,type:n,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...o})},h={info:function(e){return r.createElement(g,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(g,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(g,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(g,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function v(e){const[,t]=(0,r.useReducer)((e=>e+1),0),[n,o]=(0,r.useState)([]),s=(0,r.useRef)(null),d=(0,r.useRef)(new Map).current,f=e=>-1!==n.indexOf(e),g=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:f,getToast:e=>d.get(e)}).current;function v(e){let{containerId:t}=e;const{limit:n}=g.props;!n||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function b(e){o((t=>null==e?[]:t.filter((t=>t!==e))))}function y(){const{toastContent:e,toastProps:t,staleId:n}=g.queue.shift();S(e,t,n)}function w(e,n){let{delay:o,staleId:f,...v}=n;if(!u(e)||function(e){return!s.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||d.has(e.toastId)&&null==e.updateId}(v))return;const{toastId:w,updateId:E,data:C}=v,{props:_}=g,x=()=>b(w),T=null==E;T&&g.count++;const P={..._,style:_.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(v).filter((e=>{let[t,n]=e;return null!=n}))),toastId:w,updateId:E,data:C,closeToast:x,isIn:!1,className:c(v.className||_.toastClassName),bodyClassName:c(v.bodyClassName||_.bodyClassName),progressClassName:c(v.progressClassName||_.progressClassName),autoClose:!v.isLoading&&(D=v.autoClose,O=_.autoClose,!1===D||a(D)&&D>0?D:O),deleteToast(){const e=p(d.get(w),"removed");d.delete(w),m.emit(4,e);const n=g.queue.length;if(g.count=null==w?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),n>0){const e=null==w?g.props.limit:1;if(1===n||1===e)g.displayedToast++,y();else{const t=e>n?n:e;g.displayedToast=t;for(let e=0;e<t;e++)y()}}else t()}};var D,O;P.iconOut=function(e){let{theme:t,type:n,isLoading:o,icon:s}=e,c=null;const u={theme:t,type:n};return!1===s||(l(s)?c=s(u):(0,r.isValidElement)(s)?c=(0,r.cloneElement)(s,u):i(s)||a(s)?c=s:o?c=h.spinner():(e=>e in h)(n)&&(c=h[n](u))),c}(P),l(v.onOpen)&&(P.onOpen=v.onOpen),l(v.onClose)&&(P.onClose=v.onClose),P.closeButton=_.closeButton,!1===v.closeButton||u(v.closeButton)?P.closeButton=v.closeButton:!0===v.closeButton&&(P.closeButton=!u(_.closeButton)||_.closeButton);let k=e;(0,r.isValidElement)(e)&&!i(e.type)?k=(0,r.cloneElement)(e,{closeToast:x,toastProps:P,data:C}):l(e)&&(k=e({closeToast:x,toastProps:P,data:C})),_.limit&&_.limit>0&&g.count>_.limit&&T?g.queue.push({toastContent:k,toastProps:P,staleId:f}):a(o)?setTimeout((()=>{S(k,P,f)}),o):S(k,P,f)}function S(e,t,n){const{toastId:r}=t;n&&d.delete(n);const s={content:e,props:t};d.set(r,s),o((e=>[...e,r].filter((e=>e!==n)))),m.emit(4,p(s,null==s.props.updateId?"added":"updated"))}return(0,r.useEffect)((()=>(g.containerId=e.containerId,m.cancelEmit(3).on(0,w).on(1,(e=>s.current&&b(e))).on(5,v).emit(2,g),()=>{d.clear(),m.emit(3,g)})),[]),(0,r.useEffect)((()=>{g.props=e,g.isToastActive=f,g.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(d.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:s,isToastActive:f}}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function y(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function w(e){const[t,n]=(0,r.useState)(!1),[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(null),i=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,r.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:p,closeOnClick:m}=e;function g(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),i.didMove=!1,document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),document.addEventListener("touchmove",S),document.addEventListener("touchend",E);const n=a.current;i.canCloseOnClick=!0,i.canDrag=!0,i.boundingRect=n.getBoundingClientRect(),n.style.transition="",i.x=b(t.nativeEvent),i.y=y(t.nativeEvent),"x"===e.draggableDirection?(i.start=i.x,i.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(i.start=i.y,i.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function h(t){if(i.boundingRect){const{top:n,bottom:r,left:o,right:s}=i.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&i.x>=o&&i.x<=s&&i.y>=n&&i.y<=r?w():v()}}function v(){n(!0)}function w(){n(!1)}function S(n){const r=a.current;i.canDrag&&r&&(i.didMove=!0,t&&w(),i.x=b(n),i.y=y(n),i.delta="x"===e.draggableDirection?i.x-i.start:i.y-i.start,i.start!==i.x&&(i.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${i.delta}px)`,r.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function E(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",S),document.removeEventListener("touchend",E);const t=a.current;if(i.canDrag&&i.didMove&&t){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)((()=>{c.current=e})),(0,r.useEffect)((()=>(a.current&&a.current.addEventListener("d",v,{once:!0}),l(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=c.current;l(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)})),[]),(0,r.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||w(),window.addEventListener("focus",v),window.addEventListener("blur",w)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",v),window.removeEventListener("blur",w))})),[e.pauseOnFocusLoss]);const C={onMouseDown:g,onTouchStart:g,onMouseUp:h,onTouchEnd:h};return u&&d&&(C.onMouseEnter=w,C.onMouseLeave=v),m&&(C.onClick=e=>{p&&p(e),i.canCloseOnClick&&f()}),{playToast:v,pauseToast:w,isRunning:t,preventExitTransition:o,toastRef:a,eventHandlers:C}}function S(e){let{closeToast:t,theme:n,ariaLabel:o="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function E(e){let{delay:t,isRunning:n,closeToast:o,type:a="default",hide:i,className:c,style:u,controlledProgress:d,progress:f,rtl:p,isIn:m,theme:g}=e;const h=i||d&&0===f,v={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:h?0:1};d&&(v.transform=`scaleX(${f})`);const b=s("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":p}),y=l(c)?c({rtl:p,type:a,defaultClassName:b}):s(b,c);return r.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:y,style:v,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{m&&o()}})}const C=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:a}=w(e),{closeButton:i,children:c,autoClose:u,onClick:d,type:f,hideProgressBar:p,closeToast:m,transition:g,position:h,className:v,style:b,bodyClassName:y,bodyStyle:C,progressClassName:_,progressStyle:x,updateId:T,role:P,progress:D,rtl:O,toastId:k,deleteToast:z,isIn:A,isLoading:M,iconOut:I,closeOnClick:L,theme:R}=e,N=s("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":O},{"Toastify__toast--close-on-click":L}),j=l(v)?v({rtl:O,position:h,type:f,defaultClassName:N}):s(N,v),B=!!D||!u,F={closeToast:m,type:f,theme:R};let H=null;return!1===i||(H=l(i)?i(F):(0,r.isValidElement)(i)?(0,r.cloneElement)(i,F):S(F)),r.createElement(g,{isIn:A,done:z,position:h,preventExitTransition:n,nodeRef:o},r.createElement("div",{id:k,onClick:d,className:j,...a,style:b,ref:o},r.createElement("div",{...A&&{role:P},className:l(y)?y({type:f}):s("Toastify__toast-body",y),style:C},null!=I&&r.createElement("div",{className:s("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!M})},I),r.createElement("div",null,c)),H,r.createElement(E,{...T&&!B?{key:`pb-${T}`}:{},rtl:O,theme:R,delay:u,isRunning:t,isIn:A,closeToast:m,hide:p,type:f,style:x,className:_,controlledProgress:B,progress:D||0})))},_=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},x=f(_("bounce",!0)),T=f(_("slide",!0)),P=f(_("zoom")),D=f(_("flip")),O=(0,r.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:o,isToastActive:a}=v(e),{className:i,style:u,rtl:d,containerId:f}=e;function p(e){const t=s("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return l(i)?i({position:e,rtl:d,defaultClassName:t}):s(t,c(i))}return(0,r.useEffect)((()=>{t&&(t.current=o.current)}),[]),r.createElement("div",{ref:o,className:"Toastify",id:f},n(((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:p(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:o,props:s}=e;return r.createElement(C,{...s,isIn:a(s.toastId),style:{...s.style,"--nth":n+1,"--len":t.length},key:`toast-${s.key}`},o)})))})))}));O.displayName="ToastContainer",O.defaultProps={position:"top-right",transition:x,autoClose:5e3,closeButton:S,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let k,z=new Map,A=[],M=1;function I(){return""+M++}function L(e){return e&&(i(e.toastId)||a(e.toastId))?e.toastId:I()}function R(e,t){return z.size>0?m.emit(0,e,t):A.push({content:e,options:t}),t.toastId}function N(e,t){return{...t,type:t&&t.type||e,toastId:L(t)}}function j(e){return(t,n)=>R(t,N(e,n))}function B(e,t){return R(e,N("default",t))}B.loading=(e,t)=>R(e,N("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),B.promise=function(e,t,n){let r,{pending:o,error:s,success:a}=t;o&&(r=i(o)?B.loading(o,n):B.loading(o.render,{...n,...o}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,o)=>{if(null==t)return void B.dismiss(r);const s={type:e,...c,...n,data:o},a=i(t)?{render:t}:t;return r?B.update(r,{...s,...a}):B(a.render,{...s,...a}),o},d=l(e)?e():e;return d.then((e=>u("success",a,e))).catch((e=>u("error",s,e))),d},B.success=j("success"),B.info=j("info"),B.error=j("error"),B.warning=j("warning"),B.warn=B.warning,B.dark=(e,t)=>R(e,N("default",{theme:"dark",...t})),B.dismiss=e=>{z.size>0?m.emit(1,e):A=A.filter((t=>null!=e&&t.options.toastId!==e))},B.clearWaitingQueue=function(e){return void 0===e&&(e={}),m.emit(5,e)},B.isActive=e=>{let t=!1;return z.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},B.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=z.get(n||k);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:o}=n,s={delay:100,...r,...t,toastId:t.toastId||e,updateId:I()};s.toastId!==e&&(s.staleId=e);const a=s.render||o;delete s.render,R(a,s)}}),0)},B.done=e=>{B.update(e,{progress:1})},B.onChange=e=>(m.on(4,e),()=>{m.off(4,e)}),B.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},B.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},m.on(2,(e=>{k=e.containerId||e,z.set(k,e),A.forEach((e=>{m.emit(0,e.content,e.options)})),A=[]})).on(3,(e=>{z.delete(e.containerId||e),0===z.size&&m.off(0).off(1).off(5)}))},81621:(e,t,n)=>{"use strict";n.d(t,{vt:()=>d});const r=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,s={setState:r,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,o,s);return s};var o=n(51609),s=n(69242);const{useDebugValue:a}=o,{useSyncExternalStoreWithSelector:i}=s;let l=!1;const c=e=>e,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>function(e,t=c,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);const r=i(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(r),r}(t,e,n);return Object.assign(n,t),n},d=e=>e?u(e):u}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,a.d(o,s),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>e+"."+{11:"f1e660ea89e20a471605",17:"81a896d2157e54c7f593",20:"57fc9e2a14725d3c0072",54:"98ba07a14393f02ec1fb",93:"0d35dfbb33053ace150d",135:"fb2725b830f9e0467e33",273:"777a56ea9c7035c302ed",277:"a3d047ea4fcf4945de6c",278:"3e882184f2d065070cb2",293:"5452faa50a4fe3c100ca",348:"537c3545a67065bd1073",393:"a2d1fba4fa2517c1520c",482:"f4f6df576980cb1c8671",622:"e6c4f04166c976533192",625:"02facbde2811e3150b46",626:"472246d1522424d2f65a",679:"0b5fe0020ebac2711558",700:"33db782575dbb7829a06",756:"9f4626c5e1119c777792",799:"57534bf6349daf235f19",800:"ffa970417ee4123fb1f7",847:"a09c071f2c05e7d5b849",873:"60415956bb7c6d1bd4db",880:"7e0dfc9785498e719350",1027:"f3f5161d37d76f6e83a7",1030:"93987b44e780a2ebb2e2",1137:"af33b18480e792cf19d5",1203:"f8f80f3cdef23e55d81a",1239:"850a67bc238d5c9b3e11",1249:"8b85c814dc847660ece1",1326:"cb1e13255d71e1b6515e",1350:"bea03c66590092d3def1",1361:"cb08375694338b5dc3ca",1366:"58b82552e3ddab74038c",1370:"d5be73273d4921a355ff",1409:"d2b43fcb81e891e3619f",1439:"820a41053cd5323f8146",1624:"b8d94b225a6edf121eb1",1629:"e5526cafe7e34e829137",1699:"1f42ee148c03e20ab864",1997:"af9a18c5572646e15f73",2010:"f533affa7c939bacc78e",2058:"993153e3ac15531617fb",2111:"26215798e6b1211782ca",2177:"dea6172ae4fe22541beb",2262:"077380035deb3f943fdb",2302:"48f2be59a4010fc9c8b0",2330:"7fa1b9b833ff2d5c4a96",2489:"3b52a8d3ac172445a404",2749:"d56832e9f5c2a3da4328",2758:"25ecc7f26d16745ebff1",2848:"e25ea6fb88ed375a70cf",2921:"c87a4b254406d3102d14",2945:"d3809ee73cb326b21d2f",2980:"0c37bea24e2070ad6f82",3068:"4062bf21c36ffb66a582",3078:"ec6e0b838ee9e21a27ed",3192:"cfadf38c61412bef6dd8",3254:"06c16f38b85b11f0de90",3370:"1c812ed41ef19997ccf5",3407:"544df4dd05c5f4b4d518",3430:"02a7158ab6a3406e5f63",3469:"f48a77309a133988b4bd",3518:"40873518b5efc2dd68b0",3549:"8890810141f7b8653125",3582:"08caec67d0d210e8ee18",3737:"1c037e1f2d449601fb54",3757:"9e8514ad7ffea006fe5d",3785:"26198e7f9a7cd61d719a",3905:"4bc45df007c252435dbb",3971:"d37043fa7f71e17108e0",3990:"447f546bbed096a32d89",4078:"e799b526162dc294ded8",4098:"d17de21bcd5ab17c7960",4101:"e1e37762e0040058fa5f",4108:"4a2df17842a6347f34fc",4139:"eafb7fe5398bde861b23",4161:"1174a7c1141ec5267878",4186:"eef60a273be4ee8ac878",4435:"ecbfaa8c9220296faf58",4437:"d36893b88f1df015ff9a",4521:"aa4dc4af1e44370fc81e",4570:"8ff8044d798586ef5869",4575:"61724b45c3a1e4890c88",4612:"26dc8b578dd77a0e0cc0",4644:"edfcd0cdfd1a96771e50",4731:"21be547429c405421c5b",4759:"1c0b13238123c0be8754",4786:"22f7214a34c931902df9",4989:"338fa7dade2308083d38",5016:"e5444a432db90be7d6f1",5023:"b095eafbfef6fe80a5f9",5035:"f93eb0558aa4e037afc4",5175:"0278f7bb8c2c01b17d33",5193:"a07ad86afffb771e2eac",5207:"14a8107413678f6f38c4",5228:"344b4cfb6c81bd1340a7",5279:"6803ed1e36337a649e27",5296:"1c404694ad47622477d8",5549:"4cd6f0bd85e6fffbab03",5552:"3213721ffe64826390b3",5553:"09af25a69aba26b9486d",5575:"9d180fb18db16325305a",5683:"48087fc9bb993e55b461",5848:"5f5221c2304cea5ce628",5875:"536a777ef0eb924b3922",6009:"c9eb5aeb1e6d7c4f2183",6228:"5b843b6abc04b3260cc7",6281:"054bed8263d3363c757a",6449:"b5ac6674c50668400d8f",6644:"4631b16c39232ae56bea",6683:"33717017e157778903e7",6716:"97037fbb5a48cd91e0c5",6729:"64726813650ef9b29542",6745:"aebf56790ee73f2cf677",6755:"fbe1e805aef54b7bdf69",6875:"3436eb2898229cef2e60",6902:"ba37bd7cf9aebd33e130",6946:"72b5ca999237d3cebc0a",6970:"8e36892d34ece7456586",7102:"79fb0bfd7bad860da50a",7161:"afe3a07c9361ef766aad",7234:"e3952442004e8900615f",7283:"fcddcc68819ef4f937b3",7338:"425f8db82ab0c7784070",7340:"baf070ad202ea654a00a",7511:"4fe8ba6cfca86b2df4bc",7579:"ff82daa9e200ffd20ea7",7660:"e299280d0195f0c2ef4d",7771:"e02ee81de473e3a1d5a9",7777:"d64c2b932bf9132c8bbb",7907:"d56bd299d045997b6fd9",7954:"64d4445446ff7e71303a",8033:"aa9702d5fe2508fe924f",8084:"6a55f2c12a47f1950a41",8130:"84b67c70e4eb6381482b",8217:"15c264d627510fe1b521",8358:"422bb429ec8395c65414",8394:"df3142acb03eb66f015f",8399:"ad8ab707b055cc01ed05",8414:"8cdcc274c3e611c05a33",8432:"ed70f54579a739530922",8458:"047a8c34e6fd0726fa6a",8507:"cb54ecbe73e465d0eb45",8525:"dd0e47f6431a476cb650",8539:"920a7b89864d37e2cf92",8550:"9a47426cf830d8ff60a5",8583:"637ca697f195259aa47c",8596:"a0b7995a70aa716dcb7b",8708:"09b50b27e24b007c185a",8770:"35dde0de8aedf84ed7a7",8830:"b4e7f66896faab31e6a3",8895:"2128dc418ed63ce1dd32",8931:"bcb368a049e2ca133ea5",8947:"74f943944d361c30e010",8992:"f9074f80d49b8eb2be3a",9091:"a3b10d4d4c78e9034c0f",9166:"489d5f0954654c150ab0",9179:"cfd2be7c1a4d4719838e",9401:"22570e2e3ae51815ea80",9406:"a59416079975c9919b37",9487:"f5a27cede97ead02a706",9567:"5a67b04524946c2574a2",9582:"127455350c6049555a58",9684:"bd134ef7229116fd81bd",9709:"fd6291bab7cf44bfde0d",9713:"b35de612383b2ba6bfe6",9736:"82385228175e892f1495",9758:"1c3c2278ea03df2318bc",9855:"6584b10e38050ec1e9d4"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="complianz-gdpr:",a.l=(e,t,o,s)=>{if(n[e])n[e].push(t);else{var i,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){i=d;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",r+o),i.src=e),n[e]=[t];var f=(t,r)=>{i.onerror=i.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e={3057:0};a.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{679:1,700:1,1030:1,1137:1,1326:1,1409:1,1624:1,2058:1,2177:1,2330:1,2749:1,3370:1,3785:1,3905:1,4435:1,4437:1,5575:1,6755:1,7234:1,7579:1,7777:1,9713:1,9736:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=a.miniCssF(e),o=a.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var s=document.getElementsByTagName("style");for(r=0;r<s.length;r++){var a;if((o=(a=s[r]).getAttribute("data-href"))===e||o===t)return a}})(r,o))return t();((e,t,n,r,o)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",a.nc&&(s.nonce=a.nc),s.onerror=s.onload=n=>{if(s.onerror=s.onload=null,"load"===n.type)r();else{var a=n&&n.type,i=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+i+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=i,s.parentNode&&s.parentNode.removeChild(s),o(l)}},s.href=t,document.head.appendChild(s)})(e,o,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={3057:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var s=a.p+a.u(t),i=new Error;a.l(s,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,r[1](i)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[s,i,l]=n,c=0;if(s.some((t=>0!==e[t]))){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);l&&l(a)}for(t&&t(n);c<s.length;c++)o=s[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,a(72980)})();