- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.190.239.189
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/puertode/public_html/tampico1900/apps/viewer/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/puertode/public_html/tampico1900/apps/viewer/js/viewer-main.js
/*! For license information please see viewer-main.js.LICENSE.txt */
(()=>{var e={9296:(e,t,n)=>{e.exports=n(8690)},9538:(e,t,n)=>{"use strict";var r=n(5345),o=n(8813),i=n(4218),a=n(6240),s=n(7339),l=n(587),u=n(3770),c=n(2287),p=n(1734),d=n(5086),f=n(1420);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,g=e.headers,v=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var A=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(A+":"+C)}var w=s(e.baseURL,e.url);function x(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),y()}),(function(e){n(e),y()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(x)},b.onabort=function(){b&&(n(new p("Request aborted",p.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new p("Network Error",p.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new p(t,r.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||u(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"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),v&&"json"!==v&&(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)&&(h=function(e){b&&(n(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var _=f(w);_&&-1===["http","https","file"].indexOf(_)?n(new p("Unsupported protocol "+_+":",p.ERR_BAD_REQUEST,e)):b.send(m)}))}},8690:(e,t,n)=>{"use strict";var r=n(5345),o=n(4626),i=n(3171),a=n(4815);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(5659));s.Axios=i,s.CanceledError=n(5086),s.CancelToken=n(4351),s.isCancel=n(8196),s.VERSION=n(4167).version,s.toFormData=n(5625),s.AxiosError=n(1734),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(6913),s.isAxiosError=n(5834),e.exports=s,e.exports.default=s},4351:(e,t,n)=>{"use strict";var r=n(5086);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},5086:(e,t,n)=>{"use strict";var r=n(1734);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(5345).inherits(o,r,{__CANCEL__:!0}),e.exports=o},8196:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},3171:(e,t,n)=>{"use strict";var r=n(5345),o=n(6240),i=n(9595),a=n(1782),s=n(4815),l=n(7339),u=n(2204),c=u.validators;function p(e){this.defaults=e,this.interceptors={request:new i,response:new i}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(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&&u.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 i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var p=[a,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(l),i=Promise.resolve(t);p.length;)i=i.then(p.shift(),p.shift());return i}for(var d=t;r.length;){var f=r.shift(),h=r.shift();try{d=f(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},p.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)})),e.exports=p},1734:(e,t,n)=>{"use strict";var r=n(5345);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{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}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,s,l){var u=Object.create(i);return r.toFlatObject(e,u,(function(e){return e!==Error.prototype})),o.call(u,e.message,t,n,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=o},9595:(e,t,n)=>{"use strict";var r=n(5345);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},7339:(e,t,n)=>{"use strict";var r=n(3008),o=n(2736);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},1782:(e,t,n)=>{"use strict";var r=n(5345),o=n(9986),i=n(8196),a=n(5659),s=n(5086);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}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 i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4815:(e,t,n)=>{"use strict";var r=n(5345);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 i(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 s(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 u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},8813:(e,t,n)=>{"use strict";var r=n(1734);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},9986:(e,t,n)=>{"use strict";var r=n(5345),o=n(5659);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},5659:(e,t,n)=>{"use strict";var r=n(4155),o=n(5345),i=n(2808),a=n(1734),s=n(2287),l=n(5625),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var p,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(p=n(9538)),p),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,r=o.isObject(e),a=t&&t["Content-Type"];if((n=o.isFileList(e))||r&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,s&&new s)}return r||"application/json"===a?(c(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(4500)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(u)})),e.exports=d},2287:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},4167:e=>{e.exports={version:"0.27.2"}},4626: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)}}},6240:(e,t,n)=>{"use strict";var r=n(5345);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 i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=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))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2736:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4218:(e,t,n)=>{"use strict";var r=n(5345);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.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(){}}},3008:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5834:(e,t,n)=>{"use strict";var r=n(5345);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},3770:(e,t,n)=>{"use strict";var r=n(5345);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}},2808:(e,t,n)=>{"use strict";var r=n(5345);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4500:e=>{e.exports=null},587:(e,t,n)=>{"use strict";var r=n(5345),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,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+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}},1420:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},6913:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},5625:(e,t,n)=>{"use strict";var r=n(3085).Buffer,o=n(5345);e.exports=function(e,t){t=t||new FormData;var n=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):r.from(e):e}return function e(r,a){if(o.isPlainObject(r)||o.isArray(r)){if(-1!==n.indexOf(r))throw Error("Circular reference detected in "+a);n.push(r),o.forEach(r,(function(n,r){if(!o.isUndefined(n)){var s,l=a?a+"."+r:r;if(n&&!a&&"object"==typeof n)if(o.endsWith(r,"{}"))n=JSON.stringify(n);else if(o.endsWith(r,"[]")&&(s=o.toArray(n)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(l,i(e))}));e(n,l)}})),n.pop()}else t.append(a,i(r))}(e),t}},2204:(e,t,n)=>{"use strict";var r=n(5108),o=n(4167).version,i=n(1734),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+o+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,l){if(!1===e)throw new i(a(o," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!s[o]&&(s[o]=!0,r.warn(a(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,l)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new i("option "+a+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:a}},5345:(e,t,n)=>{"use strict";var r,o=n(4626),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function u(e){return void 0===e}var c=s("ArrayBuffer");function p(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),g=s("FileList");function v(e){return"[object Function]"===i.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(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)}var A,C=(A="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return A&&e instanceof A});e.exports={isArray:l,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:p,isPlainObject:d,isUndefined:u,isDate:f,isFile:h,isBlob:m,isFunction:v,isStream:function(e){return p(e)&&v(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},extend:function(e,t,n){return b(t,(function(t,r){e[r]=n&&"function"==typeof t?o(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},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:C,isFileList:g}},3955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGettextBuilder=function(){return new u},n(4916),n(5306),n(9070),n(1539),n(9714);var r,o=(r=n(7699))&&r.__esModule?r:{default:r},i=n(9944);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=function(){function e(){a(this,e),this.translations={},this.debug=!1}return l(e,[{key:"setLanguage",value:function(e){return this.locale=e,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,i.getLanguage)().replace("-","_"))}},{key:"addTranslation",value:function(e,t){return this.translations[e]=t,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new c(this.locale||"en",this.translations,this.debug)}}]),e}(),c=function(){function e(t,n,r){for(var i in a(this,e),this.gt=new o.default({debug:r,sourceLocale:"en"}),n)this.gt.addTranslations(i,"messages",n[i]);this.gt.setLocale(t)}return l(e,[{key:"subtitudePlaceholders",value:function(e,t){return e.replace(/{([^{}]*)}/g,(function(e,n){var r=t[n];return"string"==typeof r||"number"==typeof r?r.toString():e}))}},{key:"gettext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(e),t)}},{key:"ngettext",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(e,t,n).replace(/%n/g,n.toString()),r)}}]),e}()},9944:(e,t,n)=>{"use strict";var r=n(5108);function o(){return document.documentElement.dataset.locale||"en"}n(9070),Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalLocale=function(){return o().replace(/_/g,"-")},t.getDayNames=function(){if(void 0===window.dayNames)return r.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return window.dayNames},t.getDayNamesMin=function(){if(void 0===window.dayNamesMin)return r.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"];return window.dayNamesMin},t.getDayNamesShort=function(){if(void 0===window.dayNamesShort)return r.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."];return window.dayNamesShort},t.getFirstDay=function(){if(void 0===window.firstDay)return r.warn("No firstDay found"),1;return window.firstDay},t.getLanguage=function(){return document.documentElement.lang||"en"},t.getLocale=o,t.getMonthNames=function(){if(void 0===window.monthNames)return r.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"];return window.monthNames},t.getMonthNamesShort=function(){if(void 0===window.monthNamesShort)return r.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."];return window.monthNamesShort},t.translate=function(e,t,n,o,i){if("undefined"==typeof OC)return r.warn("No OC found"),t;return OC.L10N.translate(e,t,n,o,i)},t.translatePlural=function(e,t,n,o,i,a){if("undefined"==typeof OC)return r.warn("No OC found"),t;return OC.L10N.translatePlural(e,t,n,o,i,a)},n(4916),n(5306)},1356:(e,t,n)=>{"use strict";var r=n(5108);Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0,t.buildConsoleLogger=function(e){return new a(e)},n(9601),n(9070);var o=n(6);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(t){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o=void 0,(r="context")in(n=this)?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,this.context=t}var t,n,a;return t=e,(n=[{key:"formatMessage",value:function(e,t,n){var r="["+o.LogLevel[t].toUpperCase()+"]";return n&&n.app&&(r+=" "+n.app+": "),r+e}},{key:"log",value:function(e,t,n){var i;if(!(e<(null===(i=this.context)||void 0===i?void 0:i.level)))switch(e){case o.LogLevel.Debug:r.debug(this.formatMessage(t,o.LogLevel.Debug,n),n);break;case o.LogLevel.Info:r.info(this.formatMessage(t,o.LogLevel.Info,n),n);break;case o.LogLevel.Warn:r.warn(this.formatMessage(t,o.LogLevel.Warn,n),n);break;case o.LogLevel.Error:r.error(this.formatMessage(t,o.LogLevel.Error,n),n);break;case o.LogLevel.Fatal:default:r.error(this.formatMessage(t,o.LogLevel.Fatal,n),n)}}},{key:"debug",value:function(e,t){this.log(o.LogLevel.Debug,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(o.LogLevel.Info,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(o.LogLevel.Warn,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(o.LogLevel.Error,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(o.LogLevel.Fatal,e,Object.assign({},this.context,t))}}])&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.ConsoleLogger=a},5058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0,n(9070);var r=n(4273),o=n(6);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){function e(t){var n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"context",void 0),a(this,"factory",void 0),this.context={},this.factory=t,this.context.level=window.hasOwnProperty("OC")&&void 0!==(null===(n=OC)||void 0===n||null===(r=n.config)||void 0===r?void 0:r.loglevel)?OC.config.loglevel:o.LogLevel.Warn,window.hasOwnProperty("OC")&&null!==(i=OC)&&void 0!==i&&i.debug&&(this.context.level=o.LogLevel.Debug)}var t,n,s;return t=e,(n=[{key:"setApp",value:function(e){return this.context.app=e,this}},{key:"setLogLevel",value:function(e){return this.context.level=e,this}},{key:"setUid",value:function(e){return this.context.uid=e,this}},{key:"detectUser",value:function(){var e=(0,r.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}},{key:"build",value:function(){return this.factory(this.context)}}])&&i(t.prototype,n),s&&i(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.LoggerBuilder=s},6:(e,t,n)=>{"use strict";var r;n(9070),Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=r,function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal"}(r||(t.LogLevel=r={}))},7499:(e,t,n)=>{"use strict";n(9070),t.IY=i;var r=n(1356),o=n(5058);function i(){return new o.LoggerBuilder(r.buildConsoleLogger)}},4273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var r=n(9517),o=n(4568)},9517:(e,t,n)=>{"use strict";var r=n(5108);n(9554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return a},t.onRequestTokenUpdate=function(e){s.push(e)};var o=n(8088),i=document.getElementsByTagName("head")[0],a=i?i.getAttribute("data-requesttoken"):null,s=[];(0,o.subscribe)("csrf-token-update",(function(e){a=e.token,s.forEach((function(t){try{t(e.token)}catch(e){r.error("error updating CSRF token observer",e)}}))}))},4568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===r)return null;return{uid:r,displayName:i,isAdmin:a}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,a="undefined"!=typeof OC&&OC.isUserAdmin()},8088:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Zo,subscribe:()=>Go,unsubscribe:()=>Wo});var r=n(4155),o=n(5108),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function a(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},l=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i&&i)||function(){return this}()||Function("return this")(),u=function(e){try{return!!e()}catch(e){return!0}},c=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,f={f:d&&!p.call({1:2},1)?function(e){var t=d(this,e);return!!t&&t.enumerable}:p},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m={}.toString,g=function(e){return m.call(e).slice(8,-1)},v="".split,y=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==g(e)?v.call(e,""):Object(e)}:Object,b=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},A=function(e){return y(b(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},w=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},x=function(e){return Object(b(e))},E={}.hasOwnProperty,_=function(e,t){return E.call(x(e),t)},k=l.document,S=C(k)&&C(k.createElement),D=function(e){return S?k.createElement(e):{}},T=!c&&!u((function(){return 7!=Object.defineProperty(D("div"),"a",{get:function(){return 7}}).a})),O=Object.getOwnPropertyDescriptor,P={f:c?O:function(e,t){if(e=A(e),t=w(t,!0),T)try{return O(e,t)}catch(e){}if(_(e,t))return h(!f.f.call(e,t),e[t])}},L=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},F=Object.defineProperty,j={f:c?F:function(e,t,n){if(L(e),t=w(t,!0),L(n),T)try{return F(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},B=c?function(e,t,n){return j.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},I=function(e,t){try{B(l,e,t)}catch(n){l[e]=t}return t},N="__core-js_shared__",M=l[N]||I(N,{}),R=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(e){return R.call(e)});var z,U,$,H=M.inspectSource,q=l.WeakMap,V="function"==typeof q&&/native code/.test(H(q)),G=a((function(e){(e.exports=function(e,t){return M[e]||(M[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),W=0,Z=Math.random(),Y=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++W+Z).toString(36)},X=G("keys"),K=function(e){return X[e]||(X[e]=Y(e))},Q={},J="Object already initialized",ee=l.WeakMap;if(V){var te=M.state||(M.state=new ee),ne=te.get,re=te.has,oe=te.set;z=function(e,t){if(re.call(te,e))throw new TypeError(J);return t.facade=e,oe.call(te,e,t),t},U=function(e){return ne.call(te,e)||{}},$=function(e){return re.call(te,e)}}else{var ie=K("state");Q[ie]=!0,z=function(e,t){if(_(e,ie))throw new TypeError(J);return t.facade=e,B(e,ie,t),t},U=function(e){return _(e,ie)?e[ie]:{}},$=function(e){return _(e,ie)}}var ae={set:z,get:U,has:$,enforce:function(e){return $(e)?U(e):z(e,{})},getterFor:function(e){return function(t){var n;if(!C(t)||(n=U(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},se=a((function(e){var t=ae.get,n=ae.enforce,r=String(String).split("String");(e.exports=function(e,t,o,i){var a,s=!!i&&!!i.unsafe,u=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof t||_(o,"name")||B(o,"name",t),(a=n(o)).source||(a.source=r.join("string"==typeof t?t:""))),e!==l?(s?!c&&e[t]&&(u=!0):delete e[t],u?e[t]=o:B(e,t,o)):u?e[t]=o:I(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||H(this)}))})),le=l,ue=function(e){return"function"==typeof e?e:void 0},ce=function(e,t){return arguments.length<2?ue(le[e])||ue(l[e]):le[e]&&le[e][t]||l[e]&&l[e][t]},pe=Math.ceil,de=Math.floor,fe=function(e){return isNaN(e=+e)?0:(e>0?de:pe)(e)},he=Math.min,me=function(e){return e>0?he(fe(e),9007199254740991):0},ge=Math.max,ve=Math.min,ye=function(e){return function(t,n,r){var o,i=A(t),a=me(i.length),s=function(e,t){var n=fe(e);return n<0?ge(n+t,0):ve(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},be={includes:ye(!0),indexOf:ye(!1)}.indexOf,Ae=function(e,t){var n,r=A(e),o=0,i=[];for(n in r)!_(Q,n)&&_(r,n)&&i.push(n);for(;t.length>o;)_(r,n=t[o++])&&(~be(i,n)||i.push(n));return i},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],we=Ce.concat("length","prototype"),xe={f:Object.getOwnPropertyNames||function(e){return Ae(e,we)}},Ee={f:Object.getOwnPropertySymbols},_e=ce("Reflect","ownKeys")||function(e){var t=xe.f(L(e)),n=Ee.f;return n?t.concat(n(e)):t},ke=function(e,t){for(var n=_e(t),r=j.f,o=P.f,i=0;i<n.length;i++){var a=n[i];_(e,a)||r(e,a,o(t,a))}},Se=/#|\.prototype\./,De=function(e,t){var n=Oe[Te(e)];return n==Le||n!=Pe&&("function"==typeof t?u(t):!!t)},Te=De.normalize=function(e){return String(e).replace(Se,".").toLowerCase()},Oe=De.data={},Pe=De.NATIVE="N",Le=De.POLYFILL="P",Fe=De,je=P.f,Be=function(e,t){var n,r,o,i,a,s=e.target,u=e.global,c=e.stat;if(n=u?l:c?l[s]||I(s,{}):(l[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=je(n,r))&&a.value:n[r],!Fe(u?r:s+(c?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;ke(i,o)}(e.sham||o&&o.sham)&&B(i,"sham",!0),se(n,r,i,e)}};Be({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var Ie,Ne=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return L(n),function(e){if(!C(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Me=function(e,t,n){var r,o;return Ne&&"function"==typeof(r=t.constructor)&&r!==n&&C(o=r.prototype)&&o!==n.prototype&&Ne(e,o),e},Re=Object.keys||function(e){return Ae(e,Ce)},ze=c?Object.defineProperties:function(e,t){L(e);for(var n,r=Re(t),o=r.length,i=0;o>i;)j.f(e,n=r[i++],t[n]);return e},Ue=ce("document","documentElement"),$e=K("IE_PROTO"),He=function(){},qe=function(e){return"<script>"+e+"</"+"script>"},Ve=function(){try{Ie=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Ve=Ie?function(e){e.write(qe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Ie):((t=D("iframe")).style.display="none",Ue.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(qe("document.F=Object")),e.close(),e.F);for(var n=Ce.length;n--;)delete Ve.prototype[Ce[n]];return Ve()};Q[$e]=!0;var Ge=Object.create||function(e,t){var n;return null!==e?(He.prototype=L(e),n=new He,He.prototype=null,n[$e]=e):n=Ve(),void 0===t?n:ze(n,t)},We="\t\n\v\f\r                 \u2028\u2029\ufeff",Ze="["+We+"]",Ye=RegExp("^"+Ze+Ze+"*"),Xe=RegExp(Ze+Ze+"*$"),Ke=function(e){return function(t){var n=String(b(t));return 1&e&&(n=n.replace(Ye,"")),2&e&&(n=n.replace(Xe,"")),n}},Qe={start:Ke(1),end:Ke(2),trim:Ke(3)},Je=xe.f,et=P.f,tt=j.f,nt=Qe.trim,rt="Number",ot=l.Number,it=ot.prototype,at=g(Ge(it))==rt,st=function(e){var t,n,r,o,i,a,s,l,u=w(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=nt(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+u};if(Fe(rt,!ot(" 0o1")||!ot("0b1")||ot("+0x1"))){for(var lt,ut=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof ut&&(at?u((function(){it.valueOf.call(n)})):g(n)!=rt)?Me(new ot(st(t)),n,ut):st(t)},ct=c?Je(ot):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),pt=0;ct.length>pt;pt++)_(ot,lt=ct[pt])&&!_(ut,lt)&&tt(ut,lt,et(ot,lt));ut.prototype=it,it.constructor=ut,se(l,rt,ut)}var dt,ft,ht={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},mt="process"==g(l.process),gt=ce("navigator","userAgent")||"",vt=l.process,yt=vt&&vt.versions,bt=yt&&yt.v8;bt?ft=(dt=bt.split("."))[0]+dt[1]:gt&&(!(dt=gt.match(/Edge\/(\d+)/))||dt[1]>=74)&&(dt=gt.match(/Chrome\/(\d+)/))&&(ft=dt[1]);var At=ft&&+ft,Ct=!!Object.getOwnPropertySymbols&&!u((function(){return!Symbol.sham&&(mt?38===At:At>37&&At<41)})),wt=Ct&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xt=G("wks"),Et=l.Symbol,_t=wt?Et:Et&&Et.withoutSetter||Y,kt=function(e){return _(xt,e)&&(Ct||"string"==typeof xt[e])||(Ct&&_(Et,e)?xt[e]=Et[e]:xt[e]=_t("Symbol."+e)),xt[e]},St=kt("match"),Dt=function(e){var t;return C(e)&&(void 0!==(t=e[St])?!!t:"RegExp"==g(e))},Tt=function(){var e=L(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function Ot(e,t){return RegExp(e,t)}var Pt=u((function(){var e=Ot("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Lt=u((function(){var e=Ot("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),Ft={UNSUPPORTED_Y:Pt,BROKEN_CARET:Lt},jt=kt("species"),Bt=function(e){var t=ce(e),n=j.f;c&&t&&!t[jt]&&n(t,jt,{configurable:!0,get:function(){return this}})},It=j.f,Nt=xe.f,Mt=ae.enforce,Rt=kt("match"),zt=l.RegExp,Ut=zt.prototype,$t=/a/g,Ht=/a/g,qt=new zt($t)!==$t,Vt=Ft.UNSUPPORTED_Y;if(c&&Fe("RegExp",!qt||Vt||u((function(){return Ht[Rt]=!1,zt($t)!=$t||zt(Ht)==Ht||"/a/i"!=zt($t,"i")})))){for(var Gt=function(e,t){var n,r=this instanceof Gt,o=Dt(e),i=void 0===t;if(!r&&o&&e.constructor===Gt&&i)return e;qt?o&&!i&&(e=e.source):e instanceof Gt&&(i&&(t=Tt.call(e)),e=e.source),Vt&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=Me(qt?new zt(e,t):zt(e,t),r?this:Ut,Gt);Vt&&n&&(Mt(a).sticky=!0);return a},Wt=function(e){e in Gt||It(Gt,e,{configurable:!0,get:function(){return zt[e]},set:function(t){zt[e]=t}})},Zt=Nt(zt),Yt=0;Zt.length>Yt;)Wt(Zt[Yt++]);Ut.constructor=Gt,Gt.prototype=Ut,se(l,"RegExp",Gt)}Bt("RegExp");var Xt=RegExp.prototype.exec,Kt=G("native-string-replace",String.prototype.replace),Qt=Xt,Jt=function(){var e=/a/,t=/b*/g;return Xt.call(e,"a"),Xt.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),en=Ft.UNSUPPORTED_Y||Ft.BROKEN_CARET,tn=void 0!==/()??/.exec("")[1];(Jt||tn||en)&&(Qt=function(e){var t,n,r,o,i=this,a=en&&i.sticky,s=Tt.call(i),l=i.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),tn&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Jt&&(t=i.lastIndex),r=Xt.call(a?n:i,c),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Jt&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),tn&&r&&r.length>1&&Kt.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var nn=Qt;Be({target:"RegExp",proto:!0,forced:/./.exec!==nn},{exec:nn});var rn="toString",on=RegExp.prototype,an=on.toString,sn=u((function(){return"/a/b"!=an.call({source:"a",flags:"b"})})),ln=an.name!=rn;(sn||ln)&&se(RegExp.prototype,rn,(function(){var e=L(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in on)?Tt.call(e):n)}),{unsafe:!0});var un=Array.isArray||function(e){return"Array"==g(e)},cn=function(e,t,n){var r=w(t);r in e?j.f(e,r,h(0,n)):e[r]=n},pn=kt("species"),dn=function(e,t){var n;return un(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!un(n.prototype)?C(n)&&null===(n=n[pn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},fn=kt("species"),hn=function(e){return At>=51||!u((function(){var t=[];return(t.constructor={})[fn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},mn=kt("isConcatSpreadable"),gn=9007199254740991,vn="Maximum allowed index exceeded",yn=At>=51||!u((function(){var e=[];return e[mn]=!1,e.concat()[0]!==e})),bn=hn("concat"),An=function(e){if(!C(e))return!1;var t=e[mn];return void 0!==t?!!t:un(e)};function Cn(e){return Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cn(e)}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Be({target:"Array",proto:!0,forced:!yn||!bn},{concat:function(e){var t,n,r,o,i,a=x(this),s=dn(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(An(i=-1===t?a:arguments[t])){if(l+(o=me(i.length))>gn)throw TypeError(vn);for(n=0;n<o;n++,l++)n in i&&cn(s,l,i[n])}else{if(l>=gn)throw TypeError(vn);cn(s,l++,i)}return s.length=l,s}});var xn="object"===(void 0===r?"undefined":Cn(r))&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o).error.apply(e,["SEMVER"].concat(n))}:function(){},En=a((function(e,t){var n=ht.MAX_SAFE_COMPONENT_LENGTH,r=(t=e.exports={}).re=[],o=t.src=[],i=t.t={},a=0,s=function(e,t,n){var s=a++;xn(s,t),i[e]=s,o[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),s("FULL","^".concat(o[i.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),s("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),_n=kt("species"),kn=!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Sn="$0"==="a".replace(/./,"$0"),Dn=kt("replace"),Tn=!!/./[Dn]&&""===/./[Dn]("a","$0"),On=!u((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Pn=function(e,t,n,r){var o=kt(e),i=!u((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!u((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[_n]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||"replace"===e&&(!kn||!Sn||Tn)||"split"===e&&!On){var s=/./[o],l=n(o,""[e],(function(e,t,n,r,o){return t.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Sn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Tn}),c=l[0],p=l[1];se(String.prototype,e,c),se(RegExp.prototype,o,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)})}r&&B(RegExp.prototype[o],"sham",!0)},Ln=function(e){return function(t,n){var r,o,i=String(b(t)),a=fe(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Fn={codeAt:Ln(!1),charAt:Ln(!0)},jn=Fn.charAt,Bn=function(e,t,n){return t+(n?jn(e,t).length:1)},In=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==g(e))throw TypeError("RegExp#exec called on incompatible receiver");return nn.call(e,t)};Pn("match",1,(function(e,t,n){return[function(t){var n=b(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=L(e),i=String(this);if(!o.global)return In(o,i);var a=o.unicode;o.lastIndex=0;for(var s,l=[],u=0;null!==(s=In(o,i));){var c=String(s[0]);l[u]=c,""===c&&(o.lastIndex=Bn(i,me(o.lastIndex),a)),u++}return 0===u?null:l}]}));var Nn=Qe.trim;Be({target:"String",proto:!0,forced:function(e){return u((function(){return!!We[e]()||"​…᠎"!="​…᠎"[e]()||We[e].name!==e}))}("trim")},{trim:function(){return Nn(this)}});var Mn=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Rn=function(e,t,n){if(Mn(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},zn=[].push,Un=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,s=5==e||i;return function(l,u,c,p){for(var d,f,h=x(l),m=y(h),g=Rn(u,c,3),v=me(m.length),b=0,A=p||dn,C=t?A(l,v):n||a?A(l,0):void 0;v>b;b++)if((s||b in m)&&(f=g(d=m[b],b,h),e))if(t)C[b]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:zn.call(C,d)}else switch(e){case 4:return!1;case 7:zn.call(C,d)}return i?-1:r||o?o:C}},$n={forEach:Un(0),map:Un(1),filter:Un(2),some:Un(3),every:Un(4),find:Un(5),findIndex:Un(6),filterOut:Un(7)},Hn=$n.map,qn=hn("map");Be({target:"Array",proto:!0,forced:!qn},{map:function(e){return Hn(this,e,arguments.length>1?arguments[1]:void 0)}});var Vn=kt("species"),Gn=Ft.UNSUPPORTED_Y,Wn=[].push,Zn=Math.min,Yn=4294967295;Pn("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(b(this)),o=void 0===n?Yn:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Dt(e))return t.call(r,e,o);for(var i,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,p=new RegExp(e.source,u+"g");(i=nn.call(p,r))&&!((a=p.lastIndex)>c&&(l.push(r.slice(c,i.index)),i.length>1&&i.index<r.length&&Wn.apply(l,i.slice(1)),s=i[0].length,c=a,l.length>=o));)p.lastIndex===i.index&&p.lastIndex++;return c===r.length?!s&&p.test("")||l.push(""):l.push(r.slice(c)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=b(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var a=L(e),s=String(this),l=function(e,t){var n,r=L(e).constructor;return void 0===r||null==(n=L(r)[Vn])?t:Mn(n)}(a,RegExp),u=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Gn?"g":"y"),p=new l(Gn?"^(?:"+a.source+")":a,c),d=void 0===o?Yn:o>>>0;if(0===d)return[];if(0===s.length)return null===In(p,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){p.lastIndex=Gn?0:h;var g,v=In(p,Gn?s.slice(h):s);if(null===v||(g=Zn(me(p.lastIndex+(Gn?h:0)),s.length))===f)h=Bn(s,h,u);else{if(m.push(s.slice(f,h)),m.length===d)return m;for(var y=1;y<=v.length-1;y++)if(m.push(v[y]),m.length===d)return m;h=f=g}}return m.push(s.slice(f)),m}]}),Gn);var Xn=function(e,t){var n=[][e];return!!n&&u((function(){n.call(null,t||function(){throw 1},1)}))},Kn=[].join,Qn=y!=Object,Jn=Xn("join",",");Be({target:"Array",proto:!0,forced:Qn||!Jn},{join:function(e){return Kn.call(A(this),void 0===e?",":e)}});var er=$n.filter,tr=hn("filter");Be({target:"Array",proto:!0,forced:!tr},{filter:function(e){return er(this,e,arguments.length>1?arguments[1]:void 0)}});var nr=["includePrerelease","loose","rtl"],rr=function(e){return e?"object"!==Cn(e)?{loose:!0}:nr.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},or=/^[0-9]+$/,ir=function(e,t){var n=or.test(e),r=or.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},ar=ir,sr=ht.MAX_LENGTH,lr=ht.MAX_SAFE_INTEGER,ur=En.re,cr=En.t,pr=ar,dr=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=rr(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>sr)throw new TypeError("version is longer than ".concat(sr," characters"));xn("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?ur[cr.LOOSE]:ur[cr.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>lr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lr||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<lr)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}var t,n,r;return t=e,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(xn("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),pr(this.major,t.major)||pr(this.minor,t.minor)||pr(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],o=t.prerelease[n];if(xn("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return pr(r,o)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],o=t.build[n];if(xn("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return pr(r,o)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}])&&wn(t.prototype,n),r&&wn(t,r),e}(),fr=dr,hr=ht.MAX_LENGTH,mr=En.re,gr=En.t,vr=function(e,t){if(t=rr(t),e instanceof fr)return e;if("string"!=typeof e)return null;if(e.length>hr)return null;if(!(t.loose?mr[gr.LOOSE]:mr[gr.FULL]).test(e))return null;try{return new fr(e,t)}catch(e){return null}},yr=function(e,t){var n=vr(e,t);return n?n.version:null},br=function(e,t){return new fr(e,t).major},Ar="1.3.0",Cr=function(){function e(e){"function"==typeof e.getVersion&&yr(e.getVersion())?br(e.getVersion())!==br(this.getVersion())&&o.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):o.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return Ar},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),wr=kt("unscopables"),xr=Array.prototype;null==xr[wr]&&j.f(xr,wr,{configurable:!0,value:Ge(null)});var Er,_r,kr,Sr=function(e){xr[wr][e]=!0},Dr={},Tr=!u((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Or=K("IE_PROTO"),Pr=Object.prototype,Lr=Tr?Object.getPrototypeOf:function(e){return e=x(e),_(e,Or)?e[Or]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Pr:null},Fr=kt("iterator"),jr=!1;[].keys&&("next"in(kr=[].keys())?(_r=Lr(Lr(kr)))!==Object.prototype&&(Er=_r):jr=!0);var Br=null==Er||u((function(){var e={};return Er[Fr].call(e)!==e}));Br&&(Er={}),_(Er,Fr)||B(Er,Fr,(function(){return this}));var Ir={IteratorPrototype:Er,BUGGY_SAFARI_ITERATORS:jr},Nr=j.f,Mr=kt("toStringTag"),Rr=function(e,t,n){e&&!_(e=n?e:e.prototype,Mr)&&Nr(e,Mr,{configurable:!0,value:t})},zr=Ir.IteratorPrototype,Ur=function(){return this},$r=Ir.IteratorPrototype,Hr=Ir.BUGGY_SAFARI_ITERATORS,qr=kt("iterator"),Vr="keys",Gr="values",Wr="entries",Zr=function(){return this},Yr=function(e,t,n,r,o,i,a){!function(e,t,n){var r=t+" Iterator";e.prototype=Ge(zr,{next:h(1,n)}),Rr(e,r,!1),Dr[r]=Ur}(n,t,r);var s,l,u,c=function(e){if(e===o&&g)return g;if(!Hr&&e in f)return f[e];switch(e){case Vr:case Gr:case Wr:return function(){return new n(this,e)}}return function(){return new n(this)}},p=t+" Iterator",d=!1,f=e.prototype,m=f[qr]||f["@@iterator"]||o&&f[o],g=!Hr&&m||c(o),v="Array"==t&&f.entries||m;if(v&&(s=Lr(v.call(new e)),$r!==Object.prototype&&s.next&&(Lr(s)!==$r&&(Ne?Ne(s,$r):"function"!=typeof s[qr]&&B(s,qr,Zr)),Rr(s,p,!0))),o==Gr&&m&&m.name!==Gr&&(d=!0,g=function(){return m.call(this)}),f[qr]!==g&&B(f,qr,g),Dr[t]=g,o)if(l={values:c(Gr),keys:i?g:c(Vr),entries:c(Wr)},a)for(u in l)(Hr||d||!(u in f))&&se(f,u,l[u]);else Be({target:t,proto:!0,forced:Hr||d},l);return l},Xr="Array Iterator",Kr=ae.set,Qr=ae.getterFor(Xr),Jr=Yr(Array,"Array",(function(e,t){Kr(this,{type:Xr,target:A(e),index:0,kind:t})}),(function(){var e=Qr(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Dr.Arguments=Dr.Array,Sr("keys"),Sr("values"),Sr("entries");var eo=!u((function(){return Object.isExtensible(Object.preventExtensions({}))})),to=a((function(e){var t=j.f,n=Y("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(e){t(e,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!C(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!_(e,n)){if(!o(e))return"F";if(!t)return"E";i(e)}return e[n].objectID},getWeakData:function(e,t){if(!_(e,n)){if(!o(e))return!0;if(!t)return!1;i(e)}return e[n].weakData},onFreeze:function(e){return eo&&a.REQUIRED&&o(e)&&!_(e,n)&&i(e),e}};Q[n]=!0})),no=kt("iterator"),ro=Array.prototype,oo={};oo[kt("toStringTag")]="z";var io="[object z]"===String(oo),ao=kt("toStringTag"),so="Arguments"==g(function(){return arguments}()),lo=io?g:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ao))?n:so?g(t):"Object"==(r=g(t))&&"function"==typeof t.callee?"Arguments":r},uo=kt("iterator"),co=function(e){var t=e.return;if(void 0!==t)return L(t.call(e)).value},po=function(e,t){this.stopped=e,this.result=t},fo=function(e,t,n){var r,o,i,a,s,l,u,c,p=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Rn(t,p,1+d+h),g=function(e){return r&&co(r),new po(!0,e)},v=function(e){return d?(L(e),h?m(e[0],e[1],g):m(e[0],e[1])):h?m(e,g):m(e)};if(f)r=e;else{if(o=function(e){if(null!=e)return e[uo]||e["@@iterator"]||Dr[lo(e)]}(e),"function"!=typeof o)throw TypeError("Target is not iterable");if(void 0!==(c=o)&&(Dr.Array===c||ro[no]===c)){for(i=0,a=me(e.length);a>i;i++)if((s=v(e[i]))&&s instanceof po)return s;return new po(!1)}r=o.call(e)}for(l=r.next;!(u=l.call(r)).done;){try{s=v(u.value)}catch(e){throw co(r),e}if("object"==typeof s&&s&&s instanceof po)return s}return new po(!1)},ho=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},mo=kt("iterator"),go=!1;try{var vo=0,yo={next:function(){return{done:!!vo++}},return:function(){go=!0}};yo[mo]=function(){return this},Array.from(yo,(function(){throw 2}))}catch(e){}var bo=function(e,t,n){for(var r in t)se(e,r,t[r],n);return e},Ao=j.f,Co=to.fastKey,wo=ae.set,xo=ae.getterFor,Eo={getConstructor:function(e,t,n,r){var o=e((function(e,i){ho(e,o,t),wo(e,{type:t,index:Ge(null),first:void 0,last:void 0,size:0}),c||(e.size=0),null!=i&&fo(i,e[r],{that:e,AS_ENTRIES:n})})),i=xo(t),a=function(e,t,n){var r,o,a=i(e),l=s(e,t);return l?l.value=n:(a.last=l={index:o=Co(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=l),r&&(r.next=l),c?a.size++:e.size++,"F"!==o&&(a.index[o]=l)),e},s=function(e,t){var n,r=i(e),o=Co(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return bo(o.prototype,{clear:function(){for(var e=i(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,c?e.size=0:this.size=0},delete:function(e){var t=this,n=i(t),r=s(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),c?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=i(this),r=Rn(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),bo(o.prototype,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),c&&Ao(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=xo(t),i=xo(r);Yr(e,t,(function(e,t){wo(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Bt(t)}};!function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=l[e],s=a&&a.prototype,c=a,p={},d=function(e){var t=s[e];se(s,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!C(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!C(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!C(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(Fe(e,"function"!=typeof a||!(o||s.forEach&&!u((function(){(new a).entries().next()})))))c=n.getConstructor(t,e,r,i),to.REQUIRED=!0;else if(Fe(e,!0)){var f=new c,h=f[i](o?{}:-0,1)!=f,m=u((function(){f.has(1)})),g=function(e,t){if(!t&&!go)return!1;var n=!1;try{var r={};r[mo]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){new a(e)})),v=!o&&u((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));g||((c=t((function(t,n){ho(t,c,e);var o=Me(new a,t,c);return null!=n&&fo(n,o[i],{that:o,AS_ENTRIES:r}),o}))).prototype=s,s.constructor=c),(m||v)&&(d("delete"),d("has"),r&&d("get")),(v||h)&&d(i),o&&s.clear&&delete s.clear}p[e]=c,Be({global:!0,forced:c!=a},p),Rr(c,e),o||n.setStrong(c,e,r)}("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Eo);var _o=io?{}.toString:function(){return"[object "+lo(this)+"]"};io||se(Object.prototype,"toString",_o,{unsafe:!0});var ko=Fn.charAt,So="String Iterator",Do=ae.set,To=ae.getterFor(So);Yr(String,"String",(function(e){Do(this,{type:So,string:String(e),index:0})}),(function(){var e,t=To(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=ko(n,r),t.index+=e.length,{value:e,done:!1})}));var Oo={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Po=kt("iterator"),Lo=kt("toStringTag"),Fo=Jr.values;for(var jo in Oo){var Bo=l[jo],Io=Bo&&Bo.prototype;if(Io){if(Io[Po]!==Fo)try{B(Io,Po,Fo)}catch(e){Io[Po]=Fo}if(Io[Lo]||B(Io,Lo,jo),Oo[jo])for(var No in Jr)if(Io[No]!==Jr[No])try{B(Io,No,Jr[No])}catch(e){Io[No]=Jr[No]}}}var Mo=$n.forEach,Ro=Xn("forEach")?[].forEach:function(e){return Mo(this,e,arguments.length>1?arguments[1]:void 0)};for(var zo in Oo){var Uo=l[zo],$o=Uo&&Uo.prototype;if($o&&$o.forEach!==Ro)try{B($o,"forEach",Ro)}catch(e){$o.forEach=Ro}}var Ho="1.3.0",qo=function(){function e(){this.handlers=new Map}return e.prototype.getVersion=function(){return Ho},e.prototype.subscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))},e.prototype.unsubscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))},e.prototype.emit=function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){o.error("could not invoke event listener",e)}}))},e}();var Vo=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(o.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new Cr(window._nc_event_bus):window._nc_event_bus=new qo);function Go(e,t){Vo.subscribe(e,t)}function Wo(e,t){Vo.unsubscribe(e,t)}function Zo(e,t){Vo.emit(e,t)}},5358:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(arguments.length<1)return"";var r=t.filter((function(e){return e.length>0}));if(r.length<1)return"";var o=r[r.length-1],i="/"===r[0].charAt(0),a="/"===o.charAt(o.length-1),s=r.reduce((function(e,t){return e.concat(t.split("/"))}),[]),l=!i,u=s.reduce((function(e,t){return""===t?e:l?(l=!1,e+t):e+"/"+t}),"");return a?u+"/":u}t.Ec=function(e){if(!e)return e;return e.split("/").map(encodeURIComponent).join("/")},t.EZ=function(e){return e.replace(/\\/g,"/").replace(/.*\//,"")},t.XX=function(e){return e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")},n(1249),n(4916),n(3123),n(5306),n(7327),n(5827),n(2222)},9753:(e,t,n)=>{"use strict";n(9070),t.nu=t.c=t.FW=void 0,n(9601),n(4916),n(5306),n(1539),n(9714),n(2772);t.c=function(e){return window.location.protocol+"//"+window.location.host+function(e){return i()+"/remote.php/"+e}(e)};var r=function(e,t,n){var r,o=Object.assign({escape:!0},n||{});return"/"!==e.charAt(0)&&(e="/"+e),r=(r=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){var n=r[t];return o.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(e):"string"==typeof n||"number"==typeof n?n.toString():e}))};t.nu=function(e,t,n){var o,a,s,l=Object.assign({noRewrite:!1},n||{});return!0!==(null===(o=window)||void 0===o||null===(a=o.OC)||void 0===a||null===(s=a.config)||void 0===s?void 0:s.modRewriteWorking)||l.noRewrite?i()+"/index.php"+r(e,t,n):i()+r(e,t,n)};var o=function(e,t,n){var r,o,a,s=-1!==(null===(r=window)||void 0===r||null===(o=r.OC)||void 0===o||null===(a=o.coreApps)||void 0===a?void 0:a.indexOf(e)),l=i();if("php"!==n.substring(n.length-3)||s)if("php"===n.substring(n.length-3)||s)l+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",s||(l+="apps/"),""!==e&&(l+=e+="/"),t&&(l+=t+"/"),l+=n;else{var u,c,p;l=null===(u=window)||void 0===u||null===(c=u.OC)||void 0===c||null===(p=c.appswebroots)||void 0===p?void 0:p[e],t&&(l+="/"+t+"/"),"/"!==l.substring(l.length-1)&&(l+="/"),l+=n}else l+="/index.php/apps/"+e,"index.php"!==n&&(l+="/",t&&(l+=encodeURI(t+"/")),l+=n);return l};t.FW=o;var i=function(){var e,t;return(null===(e=window)||void 0===e||null===(t=e.OC)||void 0===t?void 0:t.webroot)||""}},5400:(e,t,n)=>{self,e.exports=function(){var e={723:function(e,t,n){"use strict";var r=n(2734),o=n.n(r);t.Z={before:function(){this.$slots.default&&""!==this.text.trim()||(o().util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},1139:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={mixins:[n(723).Z],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["click"],computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(e){return!1}}},methods:{onClick:function(e){if(this.$emit("click",e),this.closeAfterClick){var t=function(e,t){for(var n=e.$parent;n;){if(n.$options.name===t)return n;n=n.$parent}}(this,"NcActions");t&&t.closeMenu&&t.closeMenu(!1)}}}}},5698:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon[data-v-45a871d0]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-45a871d0]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action--disabled[data-v-45a871d0]{pointer-events:none;opacity:.5}.action--disabled[data-v-45a871d0]:hover,.action--disabled[data-v-45a871d0]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-45a871d0]{opacity:1 !important}.action-button[data-v-45a871d0]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;box-sizing:border-box;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:rgba(0,0,0,0);box-shadow:none;font-weight:normal;font-size:var(--default-font-size);line-height:44px}.action-button[data-v-45a871d0]:hover,.action-button[data-v-45a871d0]:focus{opacity:1}.action-button>span[data-v-45a871d0]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-45a871d0]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-button[data-v-45a871d0] .material-design-icon{width:44px;height:44px;opacity:1}.action-button[data-v-45a871d0] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button p[data-v-45a871d0]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-button__longtext[data-v-45a871d0]{cursor:pointer;white-space:pre-wrap}.action-button__title[data-v-45a871d0]{font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/assets/action.scss","webpack://./src/assets/variables.scss"],names:[],mappings:"AAGA,uCACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCiBC,2BACC,8CAAA,CACA,iBAAA,CACA,SAAA,CAMF,mCACC,mBAAA,CACA,UCMiB,CDLjB,kFACC,cAAA,CACA,UCGgB,CDDjB,qCACC,oBAAA,CAOF,gCACC,YAAA,CACA,sBAAA,CAEA,UAAA,CACA,WAAA,CACA,QAAA,CACA,SAAA,CACA,kBCxBY,CDyBZ,qBAAA,CAEA,cAAA,CACA,kBAAA,CAEA,UCpBe,CDqBf,4BAAA,CACA,QAAA,CACA,eAAA,CACA,8BAAA,CACA,eAAA,CAEA,kBAAA,CACA,kCAAA,CACA,gBC/Ce,CDiDf,4EAEC,SChCY,CDmCb,qCACC,cAAA,CACA,kBAAA,CAGD,sCACC,UC5Dc,CD6Dd,WC7Dc,CD8Dd,SC3CY,CD4CZ,+BAAA,CACA,oBC5DS,CD6DT,2BAAA,CAGD,sDACC,UCrEc,CDsEd,WCtEc,CDuEd,SCpDY,CDsDZ,iFACC,qBAAA,CAKF,kCACC,eAAA,CACA,iBAAA,CAGA,gBAAA,CAEA,cAAA,CACA,eAAA,CAGA,eAAA,CACA,sBAAA,CAGD,0CACC,cAAA,CAEA,oBAAA,CAGD,uCACC,gBAAA,CACA,sBAAA,CACA,eAAA,CACA,kBAAA,CACA,cAAA,CACA,oBAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n@mixin action-active {\n\tli {\n\t\t&.active {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder-radius: 6px;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n}\n\n@mixin action--disabled {\n\t.action--disabled {\n\t\tpointer-events: none;\n\t\topacity: $opacity_disabled;\n\t\t&:hover, &:focus {\n\t\t\tcursor: default;\n\t\t\topacity: $opacity_disabled;\n\t\t}\n\t\t& * {\n\t\t\topacity: 1 !important;\n\t\t}\n\t}\n}\n\n\n@mixin action-item($name) {\n\t.action-#{$name} {\n\t\tdisplay: flex;\n\t\talign-items: flex-start;\n\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tpadding-right: $icon-margin;\n\t\tbox-sizing: border-box; // otherwise router-link overflows in Firefox\n\n\t\tcursor: pointer;\n\t\twhite-space: nowrap;\n\n\t\topacity: $opacity_normal;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 0;\n\t\tborder-radius: 0; // otherwise Safari will cut the border-radius area\n\t\tbackground-color: transparent;\n\t\tbox-shadow: none;\n\n\t\tfont-weight: normal;\n\t\tfont-size: var(--default-font-size);\n\t\tline-height: $clickable-area;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\topacity: $opacity_full;\n\t\t}\n\n\t\t& > span {\n\t\t\tcursor: pointer;\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t&__icon {\n\t\t\twidth: $clickable-area;\n\t\t\theight: $clickable-area;\n\t\t\topacity: $opacity_full;\n\t\t\tbackground-position: $icon-margin center;\n\t\t\tbackground-size: $icon-size;\n\t\t\tbackground-repeat: no-repeat;\n\t\t}\n\n\t\t&:deep(.material-design-icon) {\n\t\t\twidth: $clickable-area;\n\t\t\theight: $clickable-area;\n\t\t\topacity: $opacity_full;\n\n\t\t\t.material-design-icon__svg {\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\t\t}\n\n\t\t// long text area\n\t\tp {\n\t\t\tmax-width: 220px;\n\t\t\tline-height: 1.6em;\n\n\t\t\t// 14px are currently 1em line-height. Mixing units as '44px - 1.6em' does not work.\n\t\t\tpadding: #{math.div($clickable-area - 1.6 * 14px, 2)} 0;\n\n\t\t\tcursor: pointer;\n\t\t\ttext-align: left;\n\n\t\t\t// in case there are no spaces like long email addresses\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t&__longtext {\n\t\t\tcursor: pointer;\n\t\t\t// allow the use of `\\n`\n\t\t\twhite-space: pre-wrap;\n\t\t}\n\n\t\t&__title {\n\t\t\tfont-weight: bold;\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\t\t\twhite-space: nowrap;\n\t\t\tmax-width: 100%;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n}\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org/7-rules-for-mobile-ui-button-design-e9cf2ea54556\n// recommended is 48px\n// 44px is what we choose and have very good visual-to-usability ratio\n$clickable-area: 44px;\n\n// background icon size\n// also used for the scss icon font\n$icon-size: 16px;\n\n// icon padding for a $clickable-area width and a $icon-size icon\n// ( 44px - 16px ) / 2\n$icon-margin: math.div($clickable-area - $icon-size, 2);\n\n// transparency background for icons\n$icon-focus-bg: rgba(127, 127, 127, .25);\n\n// popovermenu arrow width from the triangle center\n$arrow-width: 9px;\n\n// opacities\n$opacity_disabled: .5;\n$opacity_normal: .7;\n$opacity_full: 1;\n\n// menu round background hover feedback\n// good looking on dark AND white bg\n$action-background-hover: rgba(127, 127, 127, .25);\n\n// various structure data used in the \n// `AppNavigation` component\n$header-height: 50px;\n$navigation-width: 300px;\n\n// mobile breakpoint\n$breakpoint-mobile: 1024px;\n\n// top-bar spacing\n$topbar-margin: 4px;\n\n// navigation spacing\n$app-navigation-settings-margin: 3px;\n"],sourceRoot:""}]),t.Z=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,p="".concat(u," ").concat(c);i[u]=c+1;var d=n(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var h=o(f,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4216:function(){},1900:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}n.d(t,{Z:function(){return r}})},2734:function(e){"use strict";e.exports=n(8725)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return C}});var e={name:"NcActionButton",mixins:[r(1139).Z],props:{disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}}},t=r(3379),n=r.n(t),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),u=r(3565),c=r.n(u),p=r(9216),d=r.n(p),f=r(4589),h=r.n(f),m=r(5698),g={};g.styleTagTransform=h(),g.setAttributes=c(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=d(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals;var v=r(1900),y=r(4216),b=r.n(y),A=(0,v.Z)(e,(function(){var e=this,t=e._self._c;return t("li",{staticClass:"action",class:{"action--disabled":e.disabled},attrs:{role:"presentation"}},[t("button",{staticClass:"action-button",class:{focusable:e.isFocusable},attrs:{"aria-label":e.ariaLabel,role:"menuitem",type:"button"},on:{click:e.onClick}},[e._t("icon",(function(){return[t("span",{staticClass:"action-button__icon",class:[e.isIconUrl?"action-button__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url(".concat(e.icon,")"):null}})]})),e._v(" "),e.title?t("p",[t("strong",{staticClass:"action-button__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),t("br"),e._v(" "),t("span",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("p",{staticClass:"action-button__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-button__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"45a871d0",null);"function"==typeof b()&&b()(A);var C=A.exports}(),o}()},6212:(e,t,n)=>{self,e.exports=function(){var e={723:function(e,t,n){"use strict";var r=n(2734),o=n.n(r);t.Z={before:function(){this.$slots.default&&""!==this.text.trim()||(o().util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},1139:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={mixins:[n(723).Z],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["click"],computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(e){return!1}}},methods:{onClick:function(e){if(this.$emit("click",e),this.closeAfterClick){var t=function(e,t){for(var n=e.$parent;n;){if(n.$options.name===t)return n;n=n.$parent}}(this,"NcActions");t&&t.closeMenu&&t.closeMenu(!1)}}}}},3706:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon[data-v-66219d92]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.active[data-v-66219d92]{background-color:var(--color-background-hover);border-radius:6px;padding:0}.action-link[data-v-66219d92]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;box-sizing:border-box;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:rgba(0,0,0,0);box-shadow:none;font-weight:normal;font-size:var(--default-font-size);line-height:44px}.action-link[data-v-66219d92]:hover,.action-link[data-v-66219d92]:focus{opacity:1}.action-link>span[data-v-66219d92]{cursor:pointer;white-space:nowrap}.action-link__icon[data-v-66219d92]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px;background-repeat:no-repeat}.action-link[data-v-66219d92] .material-design-icon{width:44px;height:44px;opacity:1}.action-link[data-v-66219d92] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-link p[data-v-66219d92]{max-width:220px;line-height:1.6em;padding:10.8px 0;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis}.action-link__longtext[data-v-66219d92]{cursor:pointer;white-space:pre-wrap}.action-link__title[data-v-66219d92]{font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/assets/action.scss","webpack://./src/assets/variables.scss"],names:[],mappings:"AAGA,uCACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCiBC,2BACC,8CAAA,CACA,iBAAA,CACA,SAAA,CAqBF,8BACC,YAAA,CACA,sBAAA,CAEA,UAAA,CACA,WAAA,CACA,QAAA,CACA,SAAA,CACA,kBCxBY,CDyBZ,qBAAA,CAEA,cAAA,CACA,kBAAA,CAEA,UCpBe,CDqBf,4BAAA,CACA,QAAA,CACA,eAAA,CACA,8BAAA,CACA,eAAA,CAEA,kBAAA,CACA,kCAAA,CACA,gBC/Ce,CDiDf,wEAEC,SChCY,CDmCb,mCACC,cAAA,CACA,kBAAA,CAGD,oCACC,UC5Dc,CD6Dd,WC7Dc,CD8Dd,SC3CY,CD4CZ,+BAAA,CACA,oBC5DS,CD6DT,2BAAA,CAGD,oDACC,UCrEc,CDsEd,WCtEc,CDuEd,SCpDY,CDsDZ,+EACC,qBAAA,CAKF,gCACC,eAAA,CACA,iBAAA,CAGA,gBAAA,CAEA,cAAA,CACA,eAAA,CAGA,eAAA,CACA,sBAAA,CAGD,wCACC,cAAA,CAEA,oBAAA,CAGD,qCACC,gBAAA,CACA,sBAAA,CACA,eAAA,CACA,kBAAA,CACA,cAAA,CACA,oBAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@icloud.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n@mixin action-active {\n\tli {\n\t\t&.active {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder-radius: 6px;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n}\n\n@mixin action--disabled {\n\t.action--disabled {\n\t\tpointer-events: none;\n\t\topacity: $opacity_disabled;\n\t\t&:hover, &:focus {\n\t\t\tcursor: default;\n\t\t\topacity: $opacity_disabled;\n\t\t}\n\t\t& * {\n\t\t\topacity: 1 !important;\n\t\t}\n\t}\n}\n\n\n@mixin action-item($name) {\n\t.action-#{$name} {\n\t\tdisplay: flex;\n\t\talign-items: flex-start;\n\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tpadding-right: $icon-margin;\n\t\tbox-sizing: border-box; // otherwise router-link overflows in Firefox\n\n\t\tcursor: pointer;\n\t\twhite-space: nowrap;\n\n\t\topacity: $opacity_normal;\n\t\tcolor: var(--color-main-text);\n\t\tborder: 0;\n\t\tborder-radius: 0; // otherwise Safari will cut the border-radius area\n\t\tbackground-color: transparent;\n\t\tbox-shadow: none;\n\n\t\tfont-weight: normal;\n\t\tfont-size: var(--default-font-size);\n\t\tline-height: $clickable-area;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\topacity: $opacity_full;\n\t\t}\n\n\t\t& > span {\n\t\t\tcursor: pointer;\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t&__icon {\n\t\t\twidth: $clickable-area;\n\t\t\theight: $clickable-area;\n\t\t\topacity: $opacity_full;\n\t\t\tbackground-position: $icon-margin center;\n\t\t\tbackground-size: $icon-size;\n\t\t\tbackground-repeat: no-repeat;\n\t\t}\n\n\t\t&:deep(.material-design-icon) {\n\t\t\twidth: $clickable-area;\n\t\t\theight: $clickable-area;\n\t\t\topacity: $opacity_full;\n\n\t\t\t.material-design-icon__svg {\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\t\t}\n\n\t\t// long text area\n\t\tp {\n\t\t\tmax-width: 220px;\n\t\t\tline-height: 1.6em;\n\n\t\t\t// 14px are currently 1em line-height. Mixing units as '44px - 1.6em' does not work.\n\t\t\tpadding: #{math.div($clickable-area - 1.6 * 14px, 2)} 0;\n\n\t\t\tcursor: pointer;\n\t\t\ttext-align: left;\n\n\t\t\t// in case there are no spaces like long email addresses\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t&__longtext {\n\t\t\tcursor: pointer;\n\t\t\t// allow the use of `\\n`\n\t\t\twhite-space: pre-wrap;\n\t\t}\n\n\t\t&__title {\n\t\t\tfont-weight: bold;\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\t\t\twhite-space: nowrap;\n\t\t\tmax-width: 100%;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n}\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org/7-rules-for-mobile-ui-button-design-e9cf2ea54556\n// recommended is 48px\n// 44px is what we choose and have very good visual-to-usability ratio\n$clickable-area: 44px;\n\n// background icon size\n// also used for the scss icon font\n$icon-size: 16px;\n\n// icon padding for a $clickable-area width and a $icon-size icon\n// ( 44px - 16px ) / 2\n$icon-margin: math.div($clickable-area - $icon-size, 2);\n\n// transparency background for icons\n$icon-focus-bg: rgba(127, 127, 127, .25);\n\n// popovermenu arrow width from the triangle center\n$arrow-width: 9px;\n\n// opacities\n$opacity_disabled: .5;\n$opacity_normal: .7;\n$opacity_full: 1;\n\n// menu round background hover feedback\n// good looking on dark AND white bg\n$action-background-hover: rgba(127, 127, 127, .25);\n\n// various structure data used in the \n// `AppNavigation` component\n$header-height: 50px;\n$navigation-width: 300px;\n\n// mobile breakpoint\n$breakpoint-mobile: 1024px;\n\n// top-bar spacing\n$topbar-margin: 4px;\n\n// navigation spacing\n$app-navigation-settings-margin: 3px;\n"],sourceRoot:""}]),t.Z=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,p="".concat(u," ").concat(c);i[u]=c+1;var d=n(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var h=o(f,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9158:function(){},1900:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}n.d(t,{Z:function(){return r}})},2734:function(e){"use strict";e.exports=n(8725)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return C}});var e={name:"NcActionLink",mixins:[r(1139).Z],props:{href:{type:String,default:"#",required:!0,validator:function(e){try{return new URL(e)}catch(t){return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(e){return["_blank","_self","_parent","_top"].indexOf(e)>-1}},title:{type:String,default:null}}},t=r(3379),n=r.n(t),i=r(7795),a=r.n(i),s=r(569),l=r.n(s),u=r(3565),c=r.n(u),p=r(9216),d=r.n(p),f=r(4589),h=r.n(f),m=r(3706),g={};g.styleTagTransform=h(),g.setAttributes=c(),g.insert=l().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=d(),n()(m.Z,g),m.Z&&m.Z.locals&&m.Z.locals;var v=r(1900),y=r(9158),b=r.n(y),A=(0,v.Z)(e,(function(){var e=this,t=e._self._c;return t("li",{staticClass:"action"},[t("a",{staticClass:"action-link focusable",attrs:{download:e.download,href:e.href,"aria-label":e.ariaLabel,target:e.target,title:e.title,rel:"nofollow noreferrer noopener"},on:{click:e.onClick}},[e._t("icon",(function(){return[t("span",{staticClass:"action-link__icon",class:[e.isIconUrl?"action-link__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url(".concat(e.icon,")"):null}})]})),e._v(" "),e.title?t("p",[t("strong",{staticClass:"action-link__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),t("br"),e._v(" "),t("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?t("p",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}}):t("span",{staticClass:"action-link__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"66219d92",null);"function"==typeof b()&&b()(A);var C=A.exports}(),o}()},110:(e,t,n)=>{var r=n(5108);self,e.exports=function(){var e={1438:function(e,t,n){"use strict";n.d(t,{default:function(){return z}});var r=n(4846),o=n(2481),i=n(336),a=n(1205),s=n(932),l=n(2734),u=n.n(l),c=n(1441),p=n.n(c);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=".focusable",y={name:"NcActions",directives:{tooltip:i.default},components:{NcButton:r.default,DotsHorizontal:p(),NcPopover:o.default},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceTitle:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},type:{type:String,validator:function(e){return-1!==["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:(0,s.t)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["update:open","open","update:open","close","focus","blur"],data:function(){return{opened:this.open,focusIndex:0,randomId:"menu-".concat((0,a.Z)())}},computed:{triggerBtnType:function(){return this.type||(this.primary?"primary":this.menuTitle?"secondary":"tertiary")}},watch:{open:function(e){e!==this.opened&&(this.opened=e)}},methods:{isValidSingleAction:function(e){var t,n,r,o,i,a=null!==(t=null==e||null===(n=e.componentOptions)||void 0===n||null===(r=n.Ctor)||void 0===r||null===(o=r.extendOptions)||void 0===o?void 0:o.name)&&void 0!==t?t:null==e||null===(i=e.componentOptions)||void 0===i?void 0:i.tag;return["NcActionButton","NcActionLink","NcActionRouter"].includes(a)},openMenu:function(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},closeMenu:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.opened&&(this.opened=!1,this.$refs.popover.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.opened=!1,this.focusIndex=0,this.$refs.menuButton.$el.focus())},onOpen:function(e){var t=this;this.$nextTick((function(){t.focusFirstAction(e)}))},onMouseFocusAction:function(e){if(document.activeElement!==e.target){var t=e.target.closest("li");if(t){var n=t.querySelector(v);if(n){var r=m(this.$refs.menu.querySelectorAll(v)).indexOf(n);r>-1&&(this.focusIndex=r,this.focusAction())}}}},onKeydown:function(e){(38===e.keyCode||9===e.keyCode&&e.shiftKey)&&this.focusPreviousAction(e),(40===e.keyCode||9===e.keyCode&&!e.shiftKey)&&this.focusNextAction(e),33===e.keyCode&&this.focusFirstAction(e),34===e.keyCode&&this.focusLastAction(e),27===e.keyCode&&(this.closeMenu(),e.preventDefault())},removeCurrentActive:function(){var e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction:function(){var e=this.$refs.menu.querySelectorAll(v)[this.focusIndex];if(e){this.removeCurrentActive();var t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction:function(e){this.opened&&(0===this.focusIndex?this.closeMenu():(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction:function(e){if(this.opened){var t=this.$refs.menu.querySelectorAll(v).length-1;this.focusIndex===t?this.closeMenu():(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction:function(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=0,this.focusAction())},focusLastAction:function(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.$refs.menu.querySelectorAll(v).length-1,this.focusAction())},preventIfEvent:function(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},render:function(e){var t=this,n=(this.$slots.default||[]).filter((function(e){var t;return null==e||null===(t=e.componentOptions)||void 0===t?void 0:t.tag})),r=n.filter(this.isValidSingleAction);if(this.forceMenu&&r.length>0&&this.inline>0&&(u().util.warn("Specifying forceMenu will ignore any inline actions rendering."),r=[]),0!==n.length){var o=function(n){var r,o,i,a,s,l,u,c,p,d,h,m,g,v,y,b,A,C,w,x,E,_,k,S=(null==n||null===(r=n.data)||void 0===r||null===(o=r.scopedSlots)||void 0===o||null===(i=o.icon())||void 0===i?void 0:i[0])||e("span",{class:["icon",null==n||null===(a=n.componentOptions)||void 0===a||null===(s=a.propsData)||void 0===s?void 0:s.icon]}),D=t.forceTitle?t.menuTitle:"",T=null==n||null===(l=n.componentOptions)||void 0===l||null===(u=l.listeners)||void 0===u?void 0:u.click;return e("NcButton",{class:["action-item action-item--single",null==n||null===(c=n.data)||void 0===c?void 0:c.staticClass,null==n||null===(p=n.data)||void 0===p?void 0:p.class],attrs:{"aria-label":(null==n||null===(d=n.componentOptions)||void 0===d||null===(h=d.propsData)||void 0===h?void 0:h.ariaLabel)||(null==n||null===(m=n.componentOptions)||void 0===m||null===(g=m.children)||void 0===g||null===(v=g[0])||void 0===v?void 0:v.text),title:null==n||null===(y=n.componentOptions)||void 0===y||null===(b=y.propsData)||void 0===b?void 0:b.title},ref:null==n||null===(A=n.data)||void 0===A?void 0:A.ref,props:f({type:t.type||(D?"secondary":"tertiary"),disabled:t.disabled||(null==n||null===(C=n.componentOptions)||void 0===C||null===(w=C.propsData)||void 0===w?void 0:w.disabled)},null==n||null===(x=n.componentOptions)||void 0===x?void 0:x.propsData),directives:[{name:"tooltip",value:null==n||null===(E=n.componentOptions)||void 0===E||null===(_=E.children)||void 0===_||null===(k=_[0])||void 0===k?void 0:k.text,modifiers:{auto:!0}}],on:f({focus:t.onFocus,blur:t.onBlur},!!T&&{click:function(e){T&&T(e)}})},[e("template",{slot:"icon"},[S]),D])},i=function(n){var r,o,i=(null===(r=t.$slots.icon)||void 0===r?void 0:r[0])||(t.defaultIcon?e("span",{class:["icon",t.defaultIcon]}):e("DotsHorizontal",{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:t.opened,placement:t.placement,boundary:t.boundariesElement,container:t.container,popoverBaseClass:"action-item__popper",setReturnFocus:null===(o=t.$refs.menuButton)||void 0===o?void 0:o.$el},attrs:{delay:0,handleResize:!0,shown:t.opened,placement:t.placement,boundary:t.boundariesElement,container:t.container,popoverBaseClass:"action-item__popper"},on:{show:t.openMenu,"after-show":t.onOpen,hide:t.closeMenu}},[e("NcButton",{class:"action-item__menutoggle",props:{type:t.triggerBtnType,disabled:t.disabled},slot:"trigger",ref:"menuButton",attrs:{"aria-haspopup":"menu","aria-label":t.ariaLabel,"aria-controls":t.opened?t.randomId:null,"aria-expanded":t.opened.toString()},on:{focus:t.onFocus,blur:t.onBlur}},[e("template",{slot:"icon"},[i]),t.menuTitle]),e("div",{class:{open:t.opened},attrs:{tabindex:"-1"},on:{keydown:t.onKeydown,mousemove:t.onMouseFocusAction},ref:"menu"},[e("ul",{attrs:{id:t.randomId,tabindex:"-1",role:"menu"}},[n])])])};if(1===n.length&&1===r.length&&!this.forceMenu)return o(r[0]);if(r.length>0&&this.inline>0){var a=r.slice(0,this.inline),s=n.filter((function(e){return!a.includes(e)}));return e("div",{class:["action-items","action-item--".concat(this.triggerBtnType)]},[].concat(m(a.map(o)),[s.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[i(s)]):null]))}return e("div",{class:["action-item action-item--default-popover","action-item--".concat(this.triggerBtnType),{"action-item--open":this.opened}]},[i(n)])}}},b=y,A=n(3379),C=n.n(A),w=n(7795),x=n.n(w),E=n(569),_=n.n(E),k=n(3565),S=n.n(k),D=n(9216),T=n.n(D),O=n(4589),P=n.n(O),L=n(5249),F={};F.styleTagTransform=P(),F.setAttributes=S(),F.insert=_().bind(null,"head"),F.domAPI=x(),F.insertStyleElement=T(),C()(L.Z,F),L.Z&&L.Z.locals&&L.Z.locals;var j=n(1085),B={};B.styleTagTransform=P(),B.setAttributes=S(),B.insert=_().bind(null,"head"),B.domAPI=x(),B.insertStyleElement=T(),C()(j.Z,B),j.Z&&j.Z.locals&&j.Z.locals;var I=n(1900),N=n(5727),M=n.n(N),R=(0,I.Z)(b,void 0,void 0,!1,null,"07fc6d22",null);"function"==typeof M()&&M()(R);var z=R.exports},4846:function(e,t,n){"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{default:function(){return k}});var s={name:"NcButton",props:{disabled:{type:Boolean,default:!1},type:{type:String,validator:function(e){return-1!==["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)},default:"secondary"},nativeType:{type:String,validator:function(e){return-1!==["submit","reset","button"].indexOf(e)},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1}},data:function(){return{slots:this.$slots}},computed:{rootElement:function(){return this.to?i({is:"router-link",tag:"button",type:this.nativeType,to:this.to,exact:this.exact},this.$attrs):this.href?i({is:"a",href:this.href,role:"button"},this.$attrs):i({is:"button",type:this.nativeType},this.$attrs)},hasText:function(){var e,t,n;return void 0!==(null===(e=this.slots)||void 0===e?void 0:e.default)&&(null===(t=this.slots)||void 0===t||null===(n=t.default[0])||void 0===n?void 0:n.text)},hasIcon:function(){return void 0!==this.slots.icon},iconOnly:function(){return this.hasIcon&&!this.hasText},textOnly:function(){return!this.hasIcon&&this.hasText},iconAndText:function(){return this.hasIcon&&this.hasText},text:function(){return this.hasText?this.slots.default[0].text.trim():null},buttonClassObject:function(){var e;return a(e={"button-vue--icon-only":this.iconOnly,"button-vue--text-only":this.textOnly,"button-vue--icon-and-text":this.iconAndText},"button-vue--vue-".concat(this.type),this.type),a(e,"button-vue--wide",this.wide),e}},beforeUpdate:function(){this.slots=this.$slots},mounted:function(){this.text||this.ariaLabel||r.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:this.text,ariaLabel:this.ariaLabel},this)}},l=n(3379),u=n.n(l),c=n(7795),p=n.n(c),d=n(569),f=n.n(d),h=n(3565),m=n.n(h),g=n(9216),v=n.n(g),y=n(4589),b=n.n(y),A=n(278),C={};C.styleTagTransform=b(),C.setAttributes=m(),C.insert=f().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=v(),u()(A.Z,C),A.Z&&A.Z.locals&&A.Z.locals;var w=n(1900),x=n(2102),E=n.n(x),_=(0,w.Z)(s,(function(){var e=this,t=e._self._c;return t("root-element",e._g(e._b({staticClass:"button-vue",class:e.buttonClassObject,attrs:{"aria-label":e.ariaLabel,disabled:e.disabled}},"root-element",e.rootElement,!1),e.$listeners),[t("span",{staticClass:"button-vue__wrapper"},[e.hasIcon?t("span",{staticClass:"button-vue__icon"},[e._t("icon")],2):e._e(),e._v(" "),e.hasText?t("span",{staticClass:"button-vue__text"},[e._t("default")],2):e._e()])])}),[],!1,null,"61417734",null);"function"==typeof E()&&E()(_);var k=_.exports},2481:function(e,t,n){"use strict";n.d(t,{default:function(){return D}});var o=n(9454),i=n(4505),a=n(1206);function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var l={name:"NcPopover",components:{Dropdown:o.Dropdown},props:{popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},setReturnFocus:{required:!1}},emits:["after-show","after-hide"],beforeDestroy:function(){this.clearFocusTrap()},methods:{useFocusTrap:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$nextTick();case 2:if(t.focusTrap){e.next=4;break}return e.abrupt("return");case 4:if(o=null===(n=t.$refs.popover)||void 0===n||null===(r=n.$refs.popperContent)||void 0===r?void 0:r.$el){e.next=7;break}return e.abrupt("return");case 7:t.$focusTrap=(0,i.createFocusTrap)(o,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:t.setReturnFocus,trapStack:(0,a.L)()}),t.$focusTrap.activate();case 9:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))})()},clearFocusTrap:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var t;null===(t=this.$focusTrap)||void 0===t||t.deactivate(e),this.$focusTrap=null}catch(e){r.warn(e)}},afterShow:function(){var e=this;this.$nextTick((function(){e.$emit("after-show"),e.useFocusTrap()}))},afterHide:function(){this.$emit("after-hide"),this.clearFocusTrap()}}},u=l,c=n(3379),p=n.n(c),d=n(7795),f=n.n(d),h=n(569),m=n.n(h),g=n(3565),v=n.n(g),y=n(9216),b=n.n(y),A=n(4589),C=n.n(A),w=n(978),x={};x.styleTagTransform=C(),x.setAttributes=v(),x.insert=m().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=b(),p()(w.Z,x),w.Z&&w.Z.locals&&w.Z.locals;var E=n(1900),_=n(2405),k=n.n(_),S=(0,E.Z)(u,(function(){var e=this;return(0,e._self._c)("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass},on:{"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[e._t("trigger")],2)}),[],!1,null,null,null);"function"==typeof k()&&k()(S);var D=S.exports},336:function(e,t,n){"use strict";n.d(t,{default:function(){return y}});var r=n(9454),o=n(3379),i=n.n(o),a=n(7795),s=n.n(a),l=n(569),u=n.n(l),c=n(3565),p=n.n(c),d=n(9216),f=n.n(d),h=n(4589),m=n.n(h),g=n(8384),v={};v.styleTagTransform=m(),v.setAttributes=p(),v.insert=u().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=f(),i()(g.Z,v),g.Z&&g.Z.locals&&g.Z.locals,r.options.themes.tooltip.html=!1,r.options.themes.tooltip.delay={show:500,hide:200},r.options.themes.tooltip.distance=10,r.options.themes.tooltip["arrow-padding"]=3;var y=r.VTooltip},932:function(e,t,n){"use strict";n.d(t,{n:function(){return i},t:function(){return a}});var r=(0,n(754).getGettextBuilder)().detectLocale();[{locale:"ar",translations:{"{tag} (invisible)":"{tag} (غير مرئي)","{tag} (restricted)":"{tag} (مقيد)",Actions:"الإجراءات",Activities:"النشاطات","Animals & Nature":"الحيوانات والطبيعة","Anything shared with the same group of people will show up here":"أي مادة تمت مشاركتها مع نفس المجموعة من الأشخاص سيتم عرضها هنا","Avatar of {displayName}":"صورة {displayName} الرمزية","Avatar of {displayName}, {status}":"صورة {displayName} الرمزية، {status}","Cancel changes":"إلغاء التغييرات","Change title":"تغيير العنوان",Choose:"إختيار","Clear text":"مسح النص",Close:"أغلق","Close modal":"قفل الشرط","Close navigation":"إغلاق المتصفح","Close sidebar":"قفل الشريط الجانبي","Confirm changes":"تأكيد التغييرات",Custom:"مخصص","Edit item":"تعديل عنصر","Error getting related resources":"خطأ في تحصيل مصادر ذات صلة","External documentation for {title}":"الوثائق الخارجية لـ{title}",Favorite:"مفضلة",Flags:"الأعلام","Food & Drink":"الطعام والشراب","Frequently used":"كثيرا ما تستخدم",Global:"عالمي","Go back to the list":"العودة إلى القائمة","Hide password":"إخفاء كلمة السر","Message limit of {count} characters reached":"تم الوصول إلى الحد الأقصى لعدد الأحرف في الرسالة: {count} حرف","More items …":"عناصر أخرى ...",Next:"التالي","No emoji found":"لم يتم العثور على أي رمز تعبيري","No results":"ليس هناك أية نتيجة",Objects:"الأشياء",Open:"فتح",'Open link to "{resourceTitle}"':'فتح رابط إلى "{resourceTitle}"',"Open navigation":"فتح المتصفح","Password is secure":"كلمة السر مُؤمّنة","Pause slideshow":"إيقاف العرض مؤقتًا","People & Body":"الناس والجسم","Pick an emoji":"اختر رمزًا تعبيريًا","Please select a time zone:":"الرجاء تحديد المنطقة الزمنية:",Previous:"السابق","Related resources":"مصادر ذات صلة",Search:"بحث","Search results":"نتائج البحث","Select a tag":"اختر علامة",Settings:"الإعدادات","Settings navigation":"إعدادات المتصفح","Show password":"أعرض كلمة السر","Smileys & Emotion":"الوجوه و الرموز التعبيرية","Start slideshow":"بدء العرض",Submit:"إرسال",Symbols:"الرموز","Travel & Places":"السفر والأماكن","Type to search time zone":"اكتب للبحث عن منطقة زمنية","Unable to search the group":"تعذر البحث في المجموعة","Undo changes":"التراجع عن التغييرات","Write message, @ to mention someone, : for emoji autocompletion …":"اكتب رسالة، @ للإشارة إلى شخص ما، : للإكمال التلقائي للرموز التعبيرية ..."}},{locale:"br",translations:{"{tag} (invisible)":"{tag} (diwelus)","{tag} (restricted)":"{tag} (bevennet)",Actions:"Oberioù",Activities:"Oberiantizoù","Animals & Nature":"Loened & Natur",Choose:"Dibab",Close:"Serriñ",Custom:"Personelañ",Flags:"Bannieloù","Food & Drink":"Boued & Evajoù","Frequently used":"Implijet alies",Next:"Da heul","No emoji found":"Emoji ebet kavet","No results":"Disoc'h ebet",Objects:"Traoù","Pause slideshow":"Arsav an diaporama","People & Body":"Tud & Korf","Pick an emoji":"Choaz un emoji",Previous:"A-raok",Search:"Klask","Search results":"Disoc'hoù an enklask","Select a tag":"Choaz ur c'hlav",Settings:"Arventennoù","Smileys & Emotion":"Smileyioù & Fromoù","Start slideshow":"Kregiñ an diaporama",Symbols:"Arouezioù","Travel & Places":"Beaj & Lec'hioù","Unable to search the group":"Dibosupl eo klask ar strollad"}},{locale:"ca",translations:{"{tag} (invisible)":"{tag} (invisible)","{tag} (restricted)":"{tag} (restringit)",Actions:"Accions",Activities:"Activitats","Animals & Nature":"Animals i natura","Anything shared with the same group of people will show up here":"Qualsevol cosa compartida amb el mateix grup de persones es mostrarà aquí","Avatar of {displayName}":"Avatar de {displayName}","Avatar of {displayName}, {status}":"Avatar de {displayName}, {status}","Cancel changes":"Cancel·la els canvis","Change title":"Canviar títol",Choose:"Tria","Clear text":"Netejar text",Close:"Tanca","Close modal":"Tancar el mode","Close navigation":"Tanca la navegació","Close sidebar":"Tancar la barra lateral","Confirm changes":"Confirmeu els canvis",Custom:"Personalitzat","Edit item":"Edita l'element","Error getting related resources":"Error obtenint els recursos relacionats","External documentation for {title}":"Documentació externa per a {title}",Favorite:"Preferit",Flags:"Marques","Food & Drink":"Menjar i begudes","Frequently used":"Utilitzats recentment",Global:"Global","Go back to the list":"Torna a la llista","Hide password":"Amagar contrasenya","Message limit of {count} characters reached":"S'ha arribat al límit de {count} caràcters per missatge","More items …":"Més artícles...",Next:"Següent","No emoji found":"No s'ha trobat cap emoji","No results":"Sense resultats",Objects:"Objectes",Open:"Obrir",'Open link to "{resourceTitle}"':'Obrir enllaç a "{resourceTitle}"',"Open navigation":"Obre la navegació","Password is secure":"Contrasenya segura<br>","Pause slideshow":"Atura la presentació","People & Body":"Persones i cos","Pick an emoji":"Trieu un emoji","Please select a time zone:":"Seleccioneu una zona horària:",Previous:"Anterior","Related resources":"Recursos relacionats",Search:"Cerca","Search results":"Resultats de cerca","Select a tag":"Seleccioneu una etiqueta",Settings:"Paràmetres","Settings navigation":"Navegació d'opcions","Show password":"Mostrar contrasenya","Smileys & Emotion":"Cares i emocions","Start slideshow":"Inicia la presentació",Submit:"Envia",Symbols:"Símbols","Travel & Places":"Viatges i llocs","Type to search time zone":"Escriviu per cercar la zona horària","Unable to search the group":"No es pot cercar el grup","Undo changes":"Desfés els canvis",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Escriu missatge, fes servir "@" per esmentar algú, fes servir ":" per autocompletar emojis...'}},{locale:"cs_CZ",translations:{"{tag} (invisible)":"{tag} (neviditelné)","{tag} (restricted)":"{tag} (omezené)",Actions:"Akce",Activities:"Aktivity","Animals & Nature":"Zvířata a příroda","Anything shared with the same group of people will show up here":"Cokoli nasdíleného stejné skupině lidí se zobrazí zde","Avatar of {displayName}":"Zástupný obrázek uživatele {displayName}","Avatar of {displayName}, {status}":"Zástupný obrázek uživatele {displayName}, {status}","Cancel changes":"Zrušit změny","Change title":"Změnit nadpis",Choose:"Zvolit","Clear text":"Čitelný text",Close:"Zavřít","Close modal":"Zavřít dialogové okno","Close navigation":"Zavřít navigaci","Close sidebar":"Zavřít postranní panel","Confirm changes":"Potvrdit změny",Custom:"Uživatelsky určené","Edit item":"Upravit položku","Error getting related resources":"Chyba při získávání souvisejících prostředků","Error parsing svg":"Chyba při zpracovávání svg","External documentation for {title}":"Externí dokumentace k {title}",Favorite:"Oblíbené",Flags:"Příznaky","Food & Drink":"Jídlo a pití","Frequently used":"Často používané",Global:"Globální","Go back to the list":"Jít zpět na seznam","Hide password":"Skrýt heslo","Message limit of {count} characters reached":"Dosaženo limitu počtu ({count}) znaků zprávy","More items …":"Další položky…",Next:"Následující","No emoji found":"Nenalezeno žádné emoji","No results":"Nic nenalezeno",Objects:"Objekty",Open:"Otevřít",'Open link to "{resourceTitle}"':"Otevřít odkaz na „{resourceTitle}“","Open navigation":"Otevřít navigaci","Password is secure":"Heslo je bezpečné","Pause slideshow":"Pozastavit prezentaci","People & Body":"Lidé a tělo","Pick an emoji":"Vybrat emoji","Please select a time zone:":"Vyberte časovou zónu:",Previous:"Předchozí","Related resources":"Související prostředky",Search:"Hledat","Search results":"Výsledky hledání","Select a tag":"Vybrat štítek",Settings:"Nastavení","Settings navigation":"Pohyb po nastavení","Show password":"Zobrazit heslo","Smileys & Emotion":"Úsměvy a emoce","Start slideshow":"Spustit prezentaci",Submit:"Odeslat",Symbols:"Symboly","Travel & Places":"Cestování a místa","Type to search time zone":"Psaním vyhledejte časovou zónu","Unable to search the group":"Nedaří se hledat skupinu","Undo changes":"Vzít změny zpět",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':"Napište zprávu – pokud chcete někoho zmínit, napište před jeho uživatelským jménem „@“ (zavináč); automatické doplňování emotikonů zahájíte napsáním „:“ (dvojtečky)…"}},{locale:"da",translations:{"{tag} (invisible)":"{tag} (usynlig)","{tag} (restricted)":"{tag} (begrænset)",Actions:"Handlinger",Activities:"Aktiviteter","Animals & Nature":"Dyr & Natur","Anything shared with the same group of people will show up here":"Alt der deles med samme gruppe af personer vil vises her","Avatar of {displayName}":"Avatar af {displayName}","Avatar of {displayName}, {status}":"Avatar af {displayName}, {status}","Cancel changes":"Annuller ændringer","Change title":"Ret titel",Choose:"Vælg","Clear text":"Ryd tekst",Close:"Luk","Close modal":"Luk vindue","Close navigation":"Luk navigation","Close sidebar":"Luk sidepanel","Confirm changes":"Bekræft ændringer",Custom:"Brugerdefineret","Edit item":"Rediger emne","Error getting related resources":"Kunne ikke hente tilknyttede data","External documentation for {title}":"Ekstern dokumentation for {title}",Favorite:"Favorit",Flags:"Flag","Food & Drink":"Mad & Drikke","Frequently used":"Ofte brugt",Global:"Global","Go back to the list":"Tilbage til listen","Hide password":"Skjul kodeord","Message limit of {count} characters reached":"Begrænsning på {count} tegn er nået","More items …":"Mere ...",Next:"Videre","No emoji found":"Ingen emoji fundet","No results":"Ingen resultater",Objects:"Objekter",Open:"Åbn",'Open link to "{resourceTitle}"':'Åbn link til "{resourceTitle}"',"Open navigation":"Åbn navigation","Password is secure":"Kodeordet er sikkert","Pause slideshow":"Suspender fremvisning","People & Body":"Mennesker & Menneskekroppen","Pick an emoji":"Vælg en emoji","Please select a time zone:":"Vælg venligst en tidszone:",Previous:"Forrige","Related resources":"Relaterede emner",Search:"Søg","Search results":"Søgeresultater","Select a tag":"Vælg et mærke",Settings:"Indstillinger","Settings navigation":"Naviger i indstillinger","Show password":"Vis kodeord","Smileys & Emotion":"Smileys & Emotion","Start slideshow":"Start fremvisning",Submit:"Send",Symbols:"Symboler","Travel & Places":"Rejser & Rejsemål","Type to search time zone":"Indtast for at søge efter tidszone","Unable to search the group":"Kan ikke søge på denne gruppe","Undo changes":"Fortryd ændringer","Write message, @ to mention someone, : for emoji autocompletion …":"Skriv besked, bruge @ til at nævne personer, : til emoji valg ..."}},{locale:"de",translations:{"{tag} (invisible)":"{tag} (unsichtbar)","{tag} (restricted)":"{tag} (eingeschränkt)",Actions:"Aktionen",Activities:"Aktivitäten","Animals & Nature":"Tiere & Natur","Avatar of {displayName}":"Avatar von {displayName}","Avatar of {displayName}, {status}":"Avatar von {displayName}, {status}","Cancel changes":"Änderungen verwerfen","Change title":"Titel ändern",Choose:"Auswählen","Clear text":"Klartext",Close:"Schließen","Close modal":"Modal schließen","Close navigation":"Navigation schließen","Close sidebar":"Seitenleiste schließen","Confirm changes":"Änderungen bestätigen",Custom:"Benutzerdefiniert","Edit item":"Objekt bearbeiten","Error getting related resources":"Fehler beim Abrufen verwandter Ressourcen","External documentation for {title}":"Externe Dokumentation für {title}",Favorite:"Favorit",Flags:"Flaggen","Food & Drink":"Essen & Trinken","Frequently used":"Häufig verwendet",Global:"Global","Go back to the list":"Zurück zur Liste","Hide password":"Passwort verbergen","Message limit of {count} characters reached":"Nachrichtenlimit von {count} Zeichen erreicht","More items …":"Weitere Elemente …",Next:"Weiter","No emoji found":"Kein Emoji gefunden","No results":"Keine Ergebnisse",Objects:"Gegenstände",Open:"Öffnen",'Open link to "{resourceTitle}"':'Link zu "{resourceTitle}" öffnen',"Open navigation":"Navigation öffnen","Password is secure":"Passwort ist sicher","Pause slideshow":"Diashow pausieren","People & Body":"Menschen & Körper","Pick a date":"Ein Datum auswählen","Pick a date and a time":"Datum und Uhrzeit auswählen","Pick a month":"Einen Monat auswählen","Pick a time":"Eine Uhrzeit auswählen","Pick a week":"Eine Woche auswählen","Pick a year":"Ein Jahr auswählen","Pick an emoji":"Ein Emoji auswählen","Please select a time zone:":"Bitte wählen Sie eine Zeitzone:",Previous:"Vorherige","Related resources":"Verwandte Ressourcen",Search:"Suche","Search results":"Suchergebnisse","Select a tag":"Schlagwort auswählen",Settings:"Einstellungen","Settings navigation":"Einstellungen für die Navigation","Show password":"Passwort anzeigen","Smileys & Emotion":"Smileys & Emotionen","Start slideshow":"Diashow starten",Submit:"Einreichen",Symbols:"Symbole","Travel & Places":"Reisen & Orte","Type to search time zone":"Tippen, um Zeitzone zu suchen","Unable to search the group":"Die Gruppe konnte nicht durchsucht werden","Undo changes":"Änderungen rückgängig machen","Write message, @ to mention someone, : for emoji autocompletion …":"Nachricht schreiben, @, um jemanden zu erwähnen, : für die automatische Vervollständigung von Emojis … "}},{locale:"de_DE",translations:{"{tag} (invisible)":"{tag} (unsichtbar)","{tag} (restricted)":"{tag} (eingeschränkt)",Actions:"Aktionen",Activities:"Aktivitäten","Animals & Nature":"Tiere & Natur","Anything shared with the same group of people will show up here":"Alles, das mit derselben Gruppe von Personen geteilt wird, wird hier angezeigt","Avatar of {displayName}":"Avatar von {displayName}","Avatar of {displayName}, {status}":"Avatar von {displayName}, {status}","Cancel changes":"Änderungen verwerfen","Change title":"Titel ändern",Choose:"Auswählen","Clear text":"Klartext",Close:"Schließen","Close modal":"Modal schließen","Close navigation":"Navigation schließen","Close sidebar":"Seitenleiste schließen","Confirm changes":"Änderungen bestätigen",Custom:"Benutzerdefiniert","Edit item":"Objekt bearbeiten","Error getting related resources":"Fehler beim Abrufen verwandter Ressourcen","Error parsing svg":"Fehler beim Einlesen der SVG","External documentation for {title}":"Externe Dokumentation für {title}",Favorite:"Favorit",Flags:"Flaggen","Food & Drink":"Essen & Trinken","Frequently used":"Häufig verwendet",Global:"Global","Go back to the list":"Zurück zur Liste","Hide password":"Passwort verbergen","Message limit of {count} characters reached":"Nachrichtenlimit von {count} Zeichen erreicht","More items …":"Weitere Elemente …",Next:"Weiter","No emoji found":"Kein Emoji gefunden","No results":"Keine Ergebnisse",Objects:"Objekte",Open:"Öffnen",'Open link to "{resourceTitle}"':'Link zu "{resourceTitle}" öffnen',"Open navigation":"Navigation öffnen","Password is secure":"Passwort ist sicher","Pause slideshow":"Diashow pausieren","People & Body":"Menschen & Körper","Pick an emoji":"Ein Emoji auswählen","Please select a time zone:":"Bitte eine Zeitzone auswählen:",Previous:"Vorherige","Related resources":"Verwandte Ressourcen",Search:"Suche","Search results":"Suchergebnisse","Select a tag":"Schlagwort auswählen",Settings:"Einstellungen","Settings navigation":"Einstellungen für die Navigation","Show password":"Passwort anzeigen","Smileys & Emotion":"Smileys & Emotionen","Start slideshow":"Diashow starten",Submit:"Einreichen",Symbols:"Symbole","Travel & Places":"Reisen & Orte","Type to search time zone":"Tippen, um eine Zeitzone zu suchen","Unable to search the group":"Die Gruppe kann nicht durchsucht werden","Undo changes":"Änderungen rückgängig machen",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Nachricht schreiben, "@" um jemanden zu erwähnen, ":" für die automatische Vervollständigung von Emojis …'}},{locale:"el",translations:{"{tag} (invisible)":"{tag} (αόρατο)","{tag} (restricted)":"{tag} (περιορισμένο)",Actions:"Ενέργειες",Activities:"Δραστηριότητες","Animals & Nature":"Ζώα & Φύση","Anything shared with the same group of people will show up here":"Οτιδήποτε μοιράζεται με την ίδια ομάδα ατόμων θα εμφανίζεται εδώ","Avatar of {displayName}":"Άβαταρ του {displayName}","Avatar of {displayName}, {status}":"Άβαταρ του {displayName}, {status}","Cancel changes":"Ακύρωση αλλαγών","Change title":"Αλλαγή τίτλου",Choose:"Επιλογή","Clear text":"Εκκαθάριση κειμένου",Close:"Κλείσιμο","Close modal":"Βοηθητικό κλείσιμο","Close navigation":"Κλείσιμο πλοήγησης","Close sidebar":"Κλείσιμο πλευρικής μπάρας","Confirm changes":"Επιβεβαίωση αλλαγών",Custom:"Προσαρμογή","Edit item":"Επεξεργασία","Error getting related resources":"Σφάλμα λήψης σχετικών πόρων","Error parsing svg":"Σφάλμα ανάλυσης svg","External documentation for {title}":"Εξωτερική τεκμηρίωση για {title}",Favorite:"Αγαπημένα",Flags:"Σημαίες","Food & Drink":"Φαγητό & Ποτό","Frequently used":"Συχνά χρησιμοποιούμενο",Global:"Καθολικό","Go back to the list":"Επιστροφή στην αρχική λίστα ","Hide password":"Απόκρυψη κωδικού πρόσβασης","Message limit of {count} characters reached":"Συμπληρώθηκε το όριο των {count} χαρακτήρων του μηνύματος","More items …":"Περισσότερα στοιχεία …",Next:"Επόμενο","No emoji found":"Δεν βρέθηκε emoji","No results":"Κανένα αποτέλεσμα",Objects:"Αντικείμενα",Open:"Άνοιγμα",'Open link to "{resourceTitle}"':'Άνοιγμα συνδέσμου στο "{resourceTitle}"',"Open navigation":"Άνοιγμα πλοήγησης","Password is secure":"Ο κωδικός πρόσβασης είναι ασφαλής","Pause slideshow":"Παύση προβολής διαφανειών","People & Body":"Άνθρωποι & Σώμα","Pick an emoji":"Επιλέξτε ένα emoji","Please select a time zone:":"Παρακαλούμε επιλέξτε μια ζώνη ώρας:",Previous:"Προηγούμενο","Related resources":"Σχετικοί πόροι",Search:"Αναζήτηση","Search results":"Αποτελέσματα αναζήτησης","Select a tag":"Επιλογή ετικέτας",Settings:"Ρυθμίσεις","Settings navigation":"Πλοήγηση ρυθμίσεων","Show password":"Εμφάνιση κωδικού πρόσβασης","Smileys & Emotion":"Φατσούλες & Συναίσθημα","Start slideshow":"Έναρξη προβολής διαφανειών",Submit:"Υποβολή",Symbols:"Σύμβολα","Travel & Places":"Ταξίδια & Τοποθεσίες","Type to search time zone":"Πληκτρολογήστε για αναζήτηση ζώνης ώρας","Unable to search the group":"Δεν είναι δυνατή η αναζήτηση της ομάδας","Undo changes":"Αναίρεση Αλλαγών",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Γράψτε μήνυμα, χρησιμοποιείστε "@" για να αναφέρετε κάποιον, χρησιμοποιείστε ":" για αυτόματη συμπλήρωση emoji …'}},{locale:"en_GB",translations:{"{tag} (invisible)":"{tag} (invisible)","{tag} (restricted)":"{tag} (restricted)",Actions:"Actions",Activities:"Activities","Animals & Nature":"Animals & Nature","Anything shared with the same group of people will show up here":"Anything shared with the same group of people will show up here","Avatar of {displayName}":"Avatar of {displayName}","Avatar of {displayName}, {status}":"Avatar of {displayName}, {status}","Cancel changes":"Cancel changes","Change title":"Change title",Choose:"Choose","Clear text":"Clear text",Close:"Close","Close modal":"Close modal","Close navigation":"Close navigation","Close sidebar":"Close sidebar","Confirm changes":"Confirm changes",Custom:"Custom","Edit item":"Edit item","Error getting related resources":"Error getting related resources","Error parsing svg":"Error parsing svg","External documentation for {title}":"External documentation for {title}",Favorite:"Favourite",Flags:"Flags","Food & Drink":"Food & Drink","Frequently used":"Frequently used",Global:"Global","Go back to the list":"Go back to the list","Hide password":"Hide password","Message limit of {count} characters reached":"Message limit of {count} characters reached","More items …":"More items …",Next:"Next","No emoji found":"No emoji found","No results":"No results",Objects:"Objects",Open:"Open",'Open link to "{resourceTitle}"':'Open link to "{resourceTitle}"',"Open navigation":"Open navigation","Password is secure":"Password is secure","Pause slideshow":"Pause slideshow","People & Body":"People & Body","Pick an emoji":"Pick an emoji","Please select a time zone:":"Please select a time zone:",Previous:"Previous","Related resources":"Related resources",Search:"Search","Search results":"Search results","Select a tag":"Select a tag",Settings:"Settings","Settings navigation":"Settings navigation","Show password":"Show password","Smileys & Emotion":"Smileys & Emotion","Start slideshow":"Start slideshow",Submit:"Submit",Symbols:"Symbols","Travel & Places":"Travel & Places","Type to search time zone":"Type to search time zone","Unable to search the group":"Unable to search the group","Undo changes":"Undo changes",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Write message, use "@" to mention someone, use ":" for emoji autocompletion …'}},{locale:"eo",translations:{"{tag} (invisible)":"{tag} (kaŝita)","{tag} (restricted)":"{tag} (limigita)",Actions:"Agoj",Activities:"Aktiveco","Animals & Nature":"Bestoj & Naturo",Choose:"Elektu",Close:"Fermu",Custom:"Propra",Flags:"Flagoj","Food & Drink":"Manĝaĵo & Trinkaĵo","Frequently used":"Ofte uzataj","Message limit of {count} characters reached":"La limo je {count} da literoj atingita",Next:"Sekva","No emoji found":"La emoĝio forestas","No results":"La rezulto forestas",Objects:"Objektoj","Pause slideshow":"Payzi bildprezenton","People & Body":"Homoj & Korpo","Pick an emoji":"Elekti emoĝion ",Previous:"Antaŭa",Search:"Serĉi","Search results":"Serĉrezultoj","Select a tag":"Elektu etikedon",Settings:"Agordo","Settings navigation":"Agorda navigado","Smileys & Emotion":"Ridoj kaj Emocioj","Start slideshow":"Komenci bildprezenton",Symbols:"Signoj","Travel & Places":"Vojaĵoj & Lokoj","Unable to search the group":"Ne eblas serĉi en la grupo","Write message, @ to mention someone …":"Mesaĝi, uzu @ por mencii iun ..."}},{locale:"es",translations:{"{tag} (invisible)":"{tag} (invisible)","{tag} (restricted)":"{tag} (restringido)",Actions:"Acciones",Activities:"Actividades","Animals & Nature":"Animales y naturaleza","Anything shared with the same group of people will show up here":"Cualquier cosa que sea compartida con el mismo grupo de personas se mostrará aquí","Avatar of {displayName}":"Avatar de {displayName}","Avatar of {displayName}, {status}":"Avatar de {displayName}, {status}","Cancel changes":"Cancelar cambios","Change title":"Cambiar título",Choose:"Elegir","Clear text":"Limpiar texto",Close:"Cerrar","Close modal":"Cerrar modal","Close navigation":"Cerrar navegación","Close sidebar":"Cerrar barra lateral","Confirm changes":"Confirmar cambios",Custom:"Personalizado","Edit item":"Editar elemento","Error getting related resources":"Se encontró un error al obtener los recursos relacionados","Error parsing svg":"Error procesando svg","External documentation for {title}":"Documentacion externa de {title}",Favorite:"Favorito",Flags:"Banderas","Food & Drink":"Comida y bebida","Frequently used":"Usado con frecuenca",Global:"Global","Go back to the list":"Volver a la lista","Hide password":"Ocultar contraseña","Message limit of {count} characters reached":"El mensaje ha alcanzado el límite de {count} caracteres","More items …":"Más ítems...",Next:"Siguiente","No emoji found":"No hay ningún emoji","No results":" Ningún resultado",Objects:"Objetos",Open:"Abrir",'Open link to "{resourceTitle}"':'Abrir enlace a "{resourceTitle}"',"Open navigation":"Abrir navegación","Password is secure":"La contraseña es segura","Pause slideshow":"Pausar la presentación ","People & Body":"Personas y cuerpos","Pick an emoji":"Elegir un emoji","Please select a time zone:":"Por favor elige un huso de horario:",Previous:"Anterior","Related resources":"Recursos relacionados",Search:"Buscar","Search results":"Resultados de la búsqueda","Select a tag":"Seleccione una etiqueta",Settings:"Ajustes","Settings navigation":"Navegación por ajustes","Show password":"Mostrar contraseña","Smileys & Emotion":"Smileys y emoticonos","Start slideshow":"Iniciar la presentación",Submit:"Enviar",Symbols:"Símbolos","Travel & Places":"Viajes y lugares","Type to search time zone":"Escribe para buscar un huso de horario","Unable to search the group":"No es posible buscar en el grupo","Undo changes":"Deshacer cambios",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Escribir mensaje, utilice "@" para mencionar a alguien, utilice ":" para autocompletado de emojis ...'}},{locale:"eu",translations:{"{tag} (invisible)":"{tag} (ikusezina)","{tag} (restricted)":"{tag} (mugatua)",Actions:"Ekintzak",Activities:"Jarduerak","Animals & Nature":"Animaliak eta Natura","Anything shared with the same group of people will show up here":"Pertsona-talde berarekin partekatutako edozer agertuko da hemen","Avatar of {displayName}":"{displayName}-(e)n irudia","Avatar of {displayName}, {status}":"{displayName} -(e)n irudia, {status}","Cancel changes":"Ezeztatu aldaketak","Change title":"Aldatu titulua",Choose:"Aukeratu","Clear text":"Garbitu testua",Close:"Itxi","Close modal":"Itxi modala","Close navigation":"Itxi nabigazioa","Close sidebar":"Itxi albo-barra","Confirm changes":"Baieztatu aldaketak",Custom:"Pertsonalizatua","Edit item":"Editatu elementua","Error getting related resources":"Errorea erlazionatutako baliabideak lortzerakoan","External documentation for {title}":"Kanpoko dokumentazioa {title}(r)entzat",Favorite:"Gogokoa",Flags:"Banderak","Food & Drink":"Janaria eta edariak","Frequently used":"Askotan erabilia",Global:"Globala","Go back to the list":"Bueltatu zerrendara","Hide password":"Ezkutatu pasahitza","Message limit of {count} characters reached":"Mezuaren {count} karaketere-limitera heldu zara","More items …":"Elementu gehiago …",Next:"Hurrengoa","No emoji found":"Ez da emojirik aurkitu","No results":"Emaitzarik ez",Objects:"Objektuak",Open:"Ireki",'Open link to "{resourceTitle}"':'Ireki esteka: "{resourceTitle}"',"Open navigation":"Ireki nabigazioa","Password is secure":"Pasahitza segurua da","Pause slideshow":"Pausatu diaporama","People & Body":"Jendea eta gorputza","Pick an emoji":"Hautatu emoji bat","Please select a time zone:":"Mesedez hautatu ordu-zona bat:",Previous:"Aurrekoa","Related resources":"Erlazionatutako baliabideak",Search:"Bilatu","Search results":"Bilaketa emaitzak","Select a tag":"Hautatu etiketa bat",Settings:"Ezarpenak","Settings navigation":"Nabigazio ezarpenak","Show password":"Erakutsi pasahitza","Smileys & Emotion":"Smileyak eta emozioa","Start slideshow":"Hasi diaporama",Submit:"Bidali",Symbols:"Sinboloak","Travel & Places":"Bidaiak eta lekuak","Type to search time zone":"Idatzi ordu-zona bat bilatzeko","Unable to search the group":"Ezin izan da taldea bilatu","Undo changes":"Aldaketak desegin","Write message, @ to mention someone, : for emoji autocompletion …":"Idatzi mezua, @ norbait aipatzeko, : emojia automatikoki idazteko"}},{locale:"fi_FI",translations:{"{tag} (invisible)":"{tag} (näkymätön)","{tag} (restricted)":"{tag} (rajoitettu)",Actions:"Toiminnot",Activities:"Aktiviteetit","Animals & Nature":"Eläimet & luonto","Avatar of {displayName}":"Käyttäjän {displayName} avatar","Avatar of {displayName}, {status}":"Käyttäjän {displayName} avatar, {status}","Cancel changes":"Peruuta muutokset",Choose:"Valitse",Close:"Sulje","Close navigation":"Sulje navigaatio","Confirm changes":"Vahvista muutokset",Custom:"Mukautettu","Edit item":"Muokkaa kohdetta","External documentation for {title}":"Ulkoinen dokumentaatio kohteelle {title}",Flags:"Liput","Food & Drink":"Ruoka & juoma","Frequently used":"Usein käytetyt",Global:"Yleinen","Go back to the list":"Siirry takaisin listaan","Message limit of {count} characters reached":"Viestin merkken enimmäisimäärä {count} täynnä ",Next:"Seuraava","No emoji found":"Emojia ei löytynyt","No results":"Ei tuloksia",Objects:"Esineet & asiat","Open navigation":"Avaa navigaatio","Pause slideshow":"Keskeytä diaesitys","People & Body":"Ihmiset & keho","Pick an emoji":"Valitse emoji","Please select a time zone:":"Valitse aikavyöhyke:",Previous:"Edellinen",Search:"Etsi","Search results":"Hakutulokset","Select a tag":"Valitse tagi",Settings:"Asetukset","Settings navigation":"Asetusnavigaatio","Smileys & Emotion":"Hymiöt & tunteet","Start slideshow":"Aloita diaesitys",Submit:"Lähetä",Symbols:"Symbolit","Travel & Places":"Matkustus & kohteet","Type to search time zone":"Kirjoita etsiäksesi aikavyöhyke","Unable to search the group":"Ryhmää ei voi hakea","Undo changes":"Kumoa muutokset","Write message, @ to mention someone, : for emoji autocompletion …":"Kirjoita viesti, @ mainitaksesi käyttäjän, : emojin automaattitäydennykseen…"}},{locale:"fr",translations:{"{tag} (invisible)":"{tag} (invisible)","{tag} (restricted)":"{tag} (restreint)",Actions:"Actions",Activities:"Activités","Animals & Nature":"Animaux & Nature","Anything shared with the same group of people will show up here":"Tout ce qui est partagé avec le même groupe de personnes apparaîtra ici","Avatar of {displayName}":"Avatar de {displayName}","Avatar of {displayName}, {status}":"Avatar de {displayName}, {status}","Cancel changes":"Annuler les modifications","Change title":"Modifier le titre",Choose:"Choisir","Clear text":"Effacer le texte",Close:"Fermer","Close modal":"Fermer la fenêtre","Close navigation":"Fermer la navigation","Close sidebar":"Fermer la barre latérale","Confirm changes":"Confirmer les modifications",Custom:"Personnalisé","Edit item":"Éditer l'élément","Error getting related resources":"Erreur à la récupération des ressources liées","External documentation for {title}":"Documentation externe pour {title}",Favorite:"Favori",Flags:"Drapeaux","Food & Drink":"Nourriture & Boissons","Frequently used":"Utilisés fréquemment",Global:"Global","Go back to the list":"Retourner à la liste","Hide password":"Cacher le mot de passe","Message limit of {count} characters reached":"Limite de messages de {count} caractères atteinte","More items …":"Plus d'éléments...",Next:"Suivant","No emoji found":"Pas d’émoji trouvé","No results":"Aucun résultat",Objects:"Objets",Open:"Ouvrir",'Open link to "{resourceTitle}"':'Ouvrir le lien vers "{resourceTitle}"',"Open navigation":"Ouvrir la navigation","Password is secure":"Le mot de passe est sécurisé","Pause slideshow":"Mettre le diaporama en pause","People & Body":"Personnes & Corps","Pick an emoji":"Choisissez un émoji","Please select a time zone:":"Sélectionnez un fuseau horaire : ",Previous:"Précédent","Related resources":"Ressources liées",Search:"Chercher","Search results":"Résultats de recherche","Select a tag":"Sélectionnez une balise",Settings:"Paramètres","Settings navigation":"Navigation dans les paramètres","Show password":"Afficher le mot de passe","Smileys & Emotion":"Smileys & Émotions","Start slideshow":"Démarrer le diaporama",Submit:"Valider",Symbols:"Symboles","Travel & Places":"Voyage & Lieux","Type to search time zone":"Saisissez les premiers lettres pour rechercher un fuseau horaire","Unable to search the group":"Impossible de chercher le groupe","Undo changes":"Annuler les changements","Write message, @ to mention someone, : for emoji autocompletion …":"Ecrire un message, @ pour mentionner quelqu'un, : pour l'auto-complétion des émoticônes"}},{locale:"gl",translations:{"{tag} (invisible)":"{tag} (invisíbel)","{tag} (restricted)":"{tag} (restrinxido)",Actions:"Accións",Activities:"Actividades","Animals & Nature":"Animais e natureza","Cancel changes":"Cancelar os cambios",Choose:"Escoller",Close:"Pechar","Confirm changes":"Confirma os cambios",Custom:"Personalizado","External documentation for {title}":"Documentación externa para {title}",Flags:"Bandeiras","Food & Drink":"Comida e bebida","Frequently used":"Usado con frecuencia","Message limit of {count} characters reached":"Acadouse o límite de {count} caracteres por mensaxe",Next:"Seguinte","No emoji found":"Non se atopou ningún «emoji»","No results":"Sen resultados",Objects:"Obxectos","Pause slideshow":"Pausar o diaporama","People & Body":"Persoas e corpo","Pick an emoji":"Escolla un «emoji»",Previous:"Anterir",Search:"Buscar","Search results":"Resultados da busca","Select a tag":"Seleccione unha etiqueta",Settings:"Axustes","Settings navigation":"Navegación polos axustes","Smileys & Emotion":"Sorrisos e emocións","Start slideshow":"Iniciar o diaporama",Submit:"Enviar",Symbols:"Símbolos","Travel & Places":"Viaxes e lugares","Unable to search the group":"Non foi posíbel buscar o grupo","Write message, @ to mention someone …":"Escriba a mensaxe, @ para mencionar a alguén…"}},{locale:"he",translations:{"{tag} (invisible)":"{tag} (נסתר)","{tag} (restricted)":"{tag} (מוגבל)",Actions:"פעולות",Activities:"פעילויות","Animals & Nature":"חיות וטבע",Choose:"בחירה",Close:"סגירה",Custom:"בהתאמה אישית",Flags:"דגלים","Food & Drink":"מזון ומשקאות","Frequently used":"בשימוש תדיר",Next:"הבא","No emoji found":"לא נמצא אמוג׳י","No results":"אין תוצאות",Objects:"חפצים","Pause slideshow":"השהיית מצגת","People & Body":"אנשים וגוף","Pick an emoji":"נא לבחור אמוג׳י",Previous:"הקודם",Search:"חיפוש","Search results":"תוצאות חיפוש","Select a tag":"בחירת תגית",Settings:"הגדרות","Smileys & Emotion":"חייכנים ורגשונים","Start slideshow":"התחלת המצגת",Symbols:"סמלים","Travel & Places":"טיולים ומקומות","Unable to search the group":"לא ניתן לחפש בקבוצה"}},{locale:"hu_HU",translations:{"{tag} (invisible)":"{tag} (láthatatlan)","{tag} (restricted)":"{tag} (korlátozott)",Actions:"Műveletek",Activities:"Tevékenységek","Animals & Nature":"Állatok és természet","Avatar of {displayName}":"{displayName} profilképe","Avatar of {displayName}, {status}":"{displayName} profilképe, {status}","Cancel changes":"Változtatások elvetése",Choose:"Válassszon",Close:"Bezárás","Close modal":"Ablak bezárása","Close navigation":"Navigáció bezárása","Confirm changes":"Változtatások megerősítése",Custom:"Egyéni","Edit item":"Elem szerkesztése","External documentation for {title}":"Külső dokumentáció ehhez: {title}",Flags:"Zászló","Food & Drink":"Étel és ital","Frequently used":"Gyakran használt",Global:"Globális","Go back to the list":"Ugrás vissza a listához",items:"elemek","Message limit of {count} characters reached":"{count} karakteres üzenetkorlát elérve","More {dashboardItemType} …":"Több {dashboardItemType}…",Next:"Következő","No emoji found":"Nem található emodzsi","No results":"Nincs találat",Objects:"Tárgyak",Open:"Megnyitás","Open navigation":"Navigáció megnyitása","Pause slideshow":"Diavetítés szüneteltetése","People & Body":"Emberek és test","Pick an emoji":"Válasszon egy emodzsit","Please select a time zone:":"Válasszon időzónát:",Previous:"Előző",Search:"Keresés","Search results":"Találatok","Select a tag":"Válasszon címkét",Settings:"Beállítások","Settings navigation":"Navigáció a beállításokban","Smileys & Emotion":"Mosolyok és érzelmek","Start slideshow":"Diavetítés indítása",Submit:"Beküldés",Symbols:"Szimbólumok","Travel & Places":"Utazás és helyek","Type to search time zone":"Gépeljen az időzóna kereséséhez","Unable to search the group":"A csoport nem kereshető","Undo changes":"Változtatások visszavonása","Write message, @ to mention someone, : for emoji autocompletion …":"Írjon üzenetet, @ valaki megemlítéséhez, : az emodzsik automatikus kiegészítéséhez…"}},{locale:"is",translations:{"{tag} (invisible)":"{tag} (ósýnilegt)","{tag} (restricted)":"{tag} (takmarkað)",Actions:"Aðgerðir",Activities:"Aðgerðir","Animals & Nature":"Dýr og náttúra",Choose:"Velja",Close:"Loka",Custom:"Sérsniðið",Flags:"Flögg","Food & Drink":"Matur og drykkur","Frequently used":"Oftast notað",Next:"Næsta","No emoji found":"Ekkert tjáningartákn fannst","No results":"Engar niðurstöður",Objects:"Hlutir","Pause slideshow":"Gera hlé á skyggnusýningu","People & Body":"Fólk og líkami","Pick an emoji":"Veldu tjáningartákn",Previous:"Fyrri",Search:"Leita","Search results":"Leitarniðurstöður","Select a tag":"Veldu merki",Settings:"Stillingar","Smileys & Emotion":"Broskallar og tilfinningar","Start slideshow":"Byrja skyggnusýningu",Symbols:"Tákn","Travel & Places":"Staðir og ferðalög","Unable to search the group":"Get ekki leitað í hópnum"}},{locale:"it",translations:{"{tag} (invisible)":"{tag} (invisibile)","{tag} (restricted)":"{tag} (limitato)",Actions:"Azioni",Activities:"Attività","Animals & Nature":"Animali e natura","Avatar of {displayName}":"Avatar di {displayName}","Avatar of {displayName}, {status}":"Avatar di {displayName}, {status}","Cancel changes":"Annulla modifiche",Choose:"Scegli",Close:"Chiudi","Close navigation":"Chiudi la navigazione","Confirm changes":"Conferma modifiche",Custom:"Personalizzato","Edit item":"Modifica l'elemento","External documentation for {title}":"Documentazione esterna per {title}",Flags:"Bandiere","Food & Drink":"Cibo e bevande","Frequently used":"Usati di frequente",Global:"Globale","Go back to the list":"Torna all'elenco","Message limit of {count} characters reached":"Limite dei messaggi di {count} caratteri raggiunto",Next:"Successivo","No emoji found":"Nessun emoji trovato","No results":"Nessun risultato",Objects:"Oggetti","Open navigation":"Apri la navigazione","Pause slideshow":"Presentazione in pausa","People & Body":"Persone e corpo","Pick an emoji":"Scegli un emoji","Please select a time zone:":"Si prega di selezionare un fuso orario:",Previous:"Precedente",Search:"Cerca","Search results":"Risultati di ricerca","Select a tag":"Seleziona un'etichetta",Settings:"Impostazioni","Settings navigation":"Navigazione delle impostazioni","Smileys & Emotion":"Faccine ed emozioni","Start slideshow":"Avvia presentazione",Submit:"Invia",Symbols:"Simboli","Travel & Places":"Viaggi e luoghi","Type to search time zone":"Digita per cercare un fuso orario","Unable to search the group":"Impossibile cercare il gruppo","Undo changes":"Cancella i cambiamenti","Write message, @ to mention someone, : for emoji autocompletion …":"Scrivi un messaggio, @ per menzionare qualcuno, : per il completamento automatico delle emoji ..."}},{locale:"ja_JP",translations:{"{tag} (invisible)":"{タグ} (不可視)","{tag} (restricted)":"{タグ} (制限付)",Actions:"操作",Activities:"アクティビティ","Animals & Nature":"動物と自然","Anything shared with the same group of people will show up here":"同じグループで共有しているものは、全てここに表示されます","Avatar of {displayName}":"{displayName} のアバター","Avatar of {displayName}, {status}":"{displayName}, {status} のアバター","Cancel changes":"変更をキャンセル","Change title":"タイトルを変更",Choose:"選択","Clear text":"テキストをクリア",Close:"閉じる","Close modal":"モーダルを閉じる","Close navigation":"ナビゲーションを閉じる","Close sidebar":"サイドバーを閉じる","Confirm changes":"変更を承認",Custom:"カスタム","Edit item":"編集","Error getting related resources":"関連リソースの取得エラー","External documentation for {title}":"{title} のための添付文書",Favorite:"お気に入り",Flags:"国旗","Food & Drink":"食べ物と飲み物","Frequently used":"よく使うもの",Global:"全体","Go back to the list":"リストに戻る","Hide password":"パスワードを非表示","Message limit of {count} characters reached":"{count} 文字のメッセージ上限に達しています","More items …":"他のアイテム",Next:"次","No emoji found":"絵文字が見つかりません","No results":"なし",Objects:"物",Open:"開く",'Open link to "{resourceTitle}"':'"{resourceTitle}"のリンクを開く',"Open navigation":"ナビゲーションを開く","Password is secure":"パスワードは保護されています","Pause slideshow":"スライドショーを一時停止","People & Body":"様々な人と体の部位","Pick an emoji":"絵文字を選択","Please select a time zone:":"タイムゾーンを選んで下さい:",Previous:"前","Related resources":"関連リソース",Search:"検索","Search results":"検索結果","Select a tag":"タグを選択",Settings:"設定","Settings navigation":"ナビゲーション設定","Show password":"パスワードを表示","Smileys & Emotion":"感情表現","Start slideshow":"スライドショーを開始",Submit:"提出",Symbols:"記号","Travel & Places":"旅行と場所","Type to search time zone":"タイムゾーン検索のため入力してください","Unable to search the group":"グループを検索できません","Undo changes":"変更を取り消し","Write message, @ to mention someone, : for emoji autocompletion …":"メッセージを書く、@で誰かを紹介する、: で絵文字を自動補完する ..."}},{locale:"lt_LT",translations:{"{tag} (invisible)":"{tag} (nematoma)","{tag} (restricted)":"{tag} (apribota)",Actions:"Veiksmai",Activities:"Veiklos","Animals & Nature":"Gyvūnai ir gamta",Choose:"Pasirinkti",Close:"Užverti",Custom:"Tinkinti","External documentation for {title}":"Išorinė {title} dokumentacija",Flags:"Vėliavos","Food & Drink":"Maistas ir gėrimai","Frequently used":"Dažniausiai naudoti","Message limit of {count} characters reached":"Pasiekta {count} simbolių žinutės riba",Next:"Kitas","No emoji found":"Nerasta jaustukų","No results":"Nėra rezultatų",Objects:"Objektai","Pause slideshow":"Pristabdyti skaidrių rodymą","People & Body":"Žmonės ir kūnas","Pick an emoji":"Pasirinkti jaustuką",Previous:"Ankstesnis",Search:"Ieškoti","Search results":"Paieškos rezultatai","Select a tag":"Pasirinkti žymę",Settings:"Nustatymai","Settings navigation":"Naršymas nustatymuose","Smileys & Emotion":"Šypsenos ir emocijos","Start slideshow":"Pradėti skaidrių rodymą",Submit:"Pateikti",Symbols:"Simboliai","Travel & Places":"Kelionės ir vietos","Unable to search the group":"Nepavyko atlikti paiešką grupėje","Write message, @ to mention someone …":"Rašykite žinutę, naudokite @ norėdami kažką paminėti…"}},{locale:"lv",translations:{"{tag} (invisible)":"{tag} (neredzams)","{tag} (restricted)":"{tag} (ierobežots)",Choose:"Izvēlēties",Close:"Aizvērt",Next:"Nākamais","No results":"Nav rezultātu","Pause slideshow":"Pauzēt slaidrādi",Previous:"Iepriekšējais","Select a tag":"Izvēlēties birku",Settings:"Iestatījumi","Start slideshow":"Sākt slaidrādi"}},{locale:"mk",translations:{"{tag} (invisible)":"{tag} (невидливо)","{tag} (restricted)":"{tag} (ограничено)",Actions:"Акции",Activities:"Активности","Animals & Nature":"Животни & Природа","Avatar of {displayName}":"Аватар на {displayName}","Avatar of {displayName}, {status}":"Аватар на {displayName}, {status}","Cancel changes":"Откажи ги промените","Change title":"Промени наслов",Choose:"Избери",Close:"Затвори","Close modal":"Затвори модал","Close navigation":"Затвори навигација","Confirm changes":"Потврди ги промените",Custom:"Прилагодени","Edit item":"Уреди","External documentation for {title}":"Надворешна документација за {title}",Favorite:"Фаворити",Flags:"Знамиња","Food & Drink":"Храна & Пијалоци","Frequently used":"Најчесто користени",Global:"Глобално","Go back to the list":"Врати се на листата",items:"ставки","Message limit of {count} characters reached":"Ограничувањето на должината на пораката од {count} карактери е надминато","More {dashboardItemType} …":"Повеќе {dashboardItemType} …",Next:"Следно","No emoji found":"Не се пронајдени емотикони","No results":"Нема резултати",Objects:"Објекти",Open:"Отвори","Open navigation":"Отвори навигација","Pause slideshow":"Пузирај слајдшоу","People & Body":"Луѓе & Тело","Pick an emoji":"Избери емотикон","Please select a time zone:":"Изберете временска зона:",Previous:"Предходно",Search:"Барај","Search results":"Резултати од барувањето","Select a tag":"Избери ознака",Settings:"Параметри","Settings navigation":"Параметри за навигација","Smileys & Emotion":"Смешковци & Емотикони","Start slideshow":"Стартувај слајдшоу",Submit:"Испрати",Symbols:"Симболи","Travel & Places":"Патувања & Места","Type to search time zone":"Напишете за да пребарате временска зона","Unable to search the group":"Неможе да се принајде групата","Undo changes":"Врати ги промените","Write message, @ to mention someone, : for emoji autocompletion …":"Напиши порака, @ за да спомнете некого, : за емотинони автоатско комплетирање ..."}},{locale:"my",translations:{"{tag} (invisible)":"{tag} (ကွယ်ဝှက်ထား)","{tag} (restricted)":"{tag} (ကန့်သတ်)",Actions:"လုပ်ဆောင်ချက်များ",Activities:"ပြုလုပ်ဆောင်တာများ","Animals & Nature":"တိရစ္ဆာန်များနှင့် သဘာဝ","Avatar of {displayName}":"{displayName} ၏ ကိုယ်ပွား","Cancel changes":"ပြောင်းလဲမှုများ ပယ်ဖျက်ရန်",Choose:"ရွေးချယ်ရန်",Close:"ပိတ်ရန်","Confirm changes":"ပြောင်းလဲမှုများ အတည်ပြုရန်",Custom:"အလိုကျချိန်ညှိမှု","External documentation for {title}":"{title} အတွက် ပြင်ပ စာရွက်စာတမ်း",Flags:"အလံများ","Food & Drink":"အစားအသောက်","Frequently used":"မကြာခဏအသုံးပြုသော",Global:"ကမ္ဘာလုံးဆိုင်ရာ","Message limit of {count} characters reached":"ကန့်သတ် စာလုံးရေ {count} လုံး ပြည့်ပါပြီ",Next:"နောက်သို့ဆက်ရန်","No emoji found":"အီမိုဂျီ ရှာဖွေမတွေ့နိုင်ပါ","No results":"ရလဒ်မရှိပါ",Objects:"အရာဝတ္ထုများ","Pause slideshow":"စလိုက်ရှိုး ခေတ္တရပ်ရန်","People & Body":"လူပုဂ္ဂိုလ်များနှင့် ခန္ဓာကိုယ်","Pick an emoji":"အီမိုဂျီရွေးရန်","Please select a time zone:":"ဒေသစံတော်ချိန် ရွေးချယ်ပေးပါ",Previous:"ယခင်",Search:"ရှာဖွေရန်","Search results":"ရှာဖွေမှု ရလဒ်များ","Select a tag":"tag ရွေးချယ်ရန်",Settings:"ချိန်ညှိချက်များ","Settings navigation":"ချိန်ညှိချက်အညွှန်း","Smileys & Emotion":"စမိုင်လီများနှင့် အီမိုရှင်း","Start slideshow":"စလိုက်ရှိုးအား စတင်ရန်",Submit:"တင်သွင်းရန်",Symbols:"သင်္ကေတများ","Travel & Places":"ခရီးသွားလာခြင်းနှင့် နေရာများ","Type to search time zone":"ဒေသစံတော်ချိန်များ ရှာဖွေရန် စာရိုက်ပါ","Unable to search the group":"အဖွဲ့အား ရှာဖွေ၍ မရနိုင်ပါ","Write message, @ to mention someone …":"စာရေးသားရန်၊ တစ်စုံတစ်ဦးအား @ အသုံးပြု ရည်ညွှန်းရန်..."}},{locale:"nb_NO",translations:{"{tag} (invisible)":"{tag} (usynlig)","{tag} (restricted)":"{tag} (beskyttet)",Actions:"Handlinger",Activities:"Aktiviteter","Animals & Nature":"Dyr og natur","Anything shared with the same group of people will show up here":"Alt som er delt med den samme gruppen vil vises her","Avatar of {displayName}":"Avataren til {displayName}","Avatar of {displayName}, {status}":"{displayName}'s avatar, {status}","Cancel changes":"Avbryt endringer","Change title":"Endre tittel",Choose:"Velg","Clear text":"Fjern tekst",Close:"Lukk","Close modal":"Lukk modal","Close navigation":"Lukk navigasjon","Close sidebar":"Lukk sidepanel","Confirm changes":"Bekreft endringer",Custom:"Tilpasset","Edit item":"Rediger","Error getting related resources":"Feil ved henting av relaterte ressurser","External documentation for {title}":"Ekstern dokumentasjon for {title}",Favorite:"Favoritt",Flags:"Flagg","Food & Drink":"Mat og drikke","Frequently used":"Ofte brukt",Global:"Global","Go back to the list":"Gå tilbake til listen","Hide password":"Skjul passord","Message limit of {count} characters reached":"Karakter begrensing {count} nådd i melding","More items …":"Flere gjenstander...",Next:"Neste","No emoji found":"Fant ingen emoji","No results":"Ingen resultater",Objects:"Objekter",Open:"Åpne",'Open link to "{resourceTitle}"':'Åpne link til "{resourceTitle}"',"Open navigation":"Åpne navigasjon","Password is secure":"Passordet er sikkert","Pause slideshow":"Pause lysbildefremvisning","People & Body":"Mennesker og kropp","Pick an emoji":"Velg en emoji","Please select a time zone:":"Vennligst velg tidssone",Previous:"Forrige","Related resources":"Relaterte ressurser",Search:"Søk","Search results":"Søkeresultater","Select a tag":"Velg en merkelapp",Settings:"Innstillinger","Settings navigation":"Navigasjonsinstillinger","Show password":"Vis passord","Smileys & Emotion":"Smilefjes og følelser","Start slideshow":"Start lysbildefremvisning",Submit:"Send",Symbols:"Symboler","Travel & Places":"Reise og steder","Type to search time zone":"Tast for å søke etter tidssone","Unable to search the group":"Kunne ikke søke i gruppen","Undo changes":"Tilbakestill endringer","Write message, @ to mention someone, : for emoji autocompletion …":"Skriv melding, @ for å nevne noen, : for emoji-autofullføring…"}},{locale:"nl",translations:{"{tag} (invisible)":"{tag} (onzichtbaar)","{tag} (restricted)":"{tag} (beperkt)",Actions:"Acties",Activities:"Activiteiten","Animals & Nature":"Dieren & Natuur","Avatar of {displayName}":"Avatar van {displayName}","Avatar of {displayName}, {status}":"Avatar van {displayName}, {status}","Cancel changes":"Wijzigingen annuleren",Choose:"Kies",Close:"Sluiten","Close navigation":"Navigatie sluiten","Confirm changes":"Wijzigingen bevestigen",Custom:"Aangepast","Edit item":"Item bewerken","External documentation for {title}":"Externe documentatie voor {title}",Flags:"Vlaggen","Food & Drink":"Eten & Drinken","Frequently used":"Vaak gebruikt",Global:"Globaal","Go back to the list":"Ga terug naar de lijst","Message limit of {count} characters reached":"Berichtlimiet van {count} karakters bereikt",Next:"Volgende","No emoji found":"Geen emoji gevonden","No results":"Geen resultaten",Objects:"Objecten","Open navigation":"Navigatie openen","Pause slideshow":"Pauzeer diavoorstelling","People & Body":"Mensen & Lichaam","Pick an emoji":"Kies een emoji","Please select a time zone:":"Selecteer een tijdzone:",Previous:"Vorige",Search:"Zoeken","Search results":"Zoekresultaten","Select a tag":"Selecteer een label",Settings:"Instellingen","Settings navigation":"Instellingen navigatie","Smileys & Emotion":"Smileys & Emotie","Start slideshow":"Start diavoorstelling",Submit:"Verwerken",Symbols:"Symbolen","Travel & Places":"Reizen & Plaatsen","Type to search time zone":"Type om de tijdzone te zoeken","Unable to search the group":"Kan niet in de groep zoeken","Undo changes":"Wijzigingen ongedaan maken","Write message, @ to mention someone, : for emoji autocompletion …":"Schrijf bericht, @ om iemand te noemen, : voor emoji auto-aanvullen ..."}},{locale:"oc",translations:{"{tag} (invisible)":"{tag} (invisible)","{tag} (restricted)":"{tag} (limit)",Actions:"Accions",Choose:"Causir",Close:"Tampar",Next:"Seguent","No results":"Cap de resultat","Pause slideshow":"Metre en pausa lo diaporama",Previous:"Precedent","Select a tag":"Seleccionar una etiqueta",Settings:"Paramètres","Start slideshow":"Lançar lo diaporama"}},{locale:"pl",translations:{"{tag} (invisible)":"{tag} (niewidoczna)","{tag} (restricted)":"{tag} (ograniczona)",Actions:"Działania",Activities:"Aktywność","Animals & Nature":"Zwierzęta i natura","Anything shared with the same group of people will show up here":"Tutaj pojawi się wszystko, co zostało udostępnione tej samej grupie osób","Avatar of {displayName}":"Awatar {displayName}","Avatar of {displayName}, {status}":"Awatar {displayName}, {status}","Cancel changes":"Anuluj zmiany","Change title":"Zmień tytuł",Choose:"Wybierz","Clear text":"Wyczyść tekst",Close:"Zamknij","Close modal":"Zamknij modal","Close navigation":"Zamknij nawigację","Close sidebar":"Zamknij pasek boczny","Confirm changes":"Potwierdź zmiany",Custom:"Zwyczajne","Edit item":"Edytuj element","Error getting related resources":"Błąd podczas pobierania powiązanych zasobów","External documentation for {title}":"Dokumentacja zewnętrzna dla {title}",Favorite:"Ulubiony",Flags:"Flagi","Food & Drink":"Jedzenie i picie","Frequently used":"Często używane",Global:"Globalnie","Go back to the list":"Powrót do listy","Hide password":"Ukryj hasło","Message limit of {count} characters reached":"Przekroczono limit wiadomości wynoszący {count} znaków","More items …":"Więcej pozycji…",Next:"Następny","No emoji found":"Nie znaleziono emoji","No results":"Brak wyników",Objects:"Obiekty",Open:"Otwórz",'Open link to "{resourceTitle}"':'Otwórz link do "{resourceTitle}"',"Open navigation":"Otwórz nawigację","Password is secure":"Hasło jest bezpieczne","Pause slideshow":"Wstrzymaj pokaz slajdów","People & Body":"Ludzie i ciało","Pick an emoji":"Wybierz emoji","Please select a time zone:":"Wybierz strefę czasową:",Previous:"Poprzedni","Related resources":"Powiązane zasoby",Search:"Szukaj","Search results":"Wyniki wyszukiwania","Select a tag":"Wybierz etykietę",Settings:"Ustawienia","Settings navigation":"Ustawienia nawigacji","Show password":"Pokaż hasło","Smileys & Emotion":"Buźki i emotikony","Start slideshow":"Rozpocznij pokaz slajdów",Submit:"Wyślij",Symbols:"Symbole","Travel & Places":"Podróże i miejsca","Type to search time zone":"Wpisz, aby wyszukać strefę czasową","Unable to search the group":"Nie można przeszukać grupy","Undo changes":"Cofnij zmiany",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Napisz wiadomość, "@" aby o kimś wspomnieć, ":" dla autouzupełniania emoji…'}},{locale:"pt_BR",translations:{"{tag} (invisible)":"{tag} (invisível)","{tag} (restricted)":"{tag} (restrito) ",Actions:"Ações",Activities:"Atividades","Animals & Nature":"Animais & Natureza","Anything shared with the same group of people will show up here":"Qualquer coisa compartilhada com o mesmo grupo de pessoas aparecerá aqui","Avatar of {displayName}":"Avatar de {displayName}","Avatar of {displayName}, {status}":"Avatar de {displayName}, {status}","Cancel changes":"Cancelar alterações","Change title":"Alterar título",Choose:"Escolher","Clear text":"Limpar texto",Close:"Fechar","Close modal":"Fechar modal","Close navigation":"Fechar navegação","Close sidebar":"Fechar barra lateral","Confirm changes":"Confirmar alterações",Custom:"Personalizado","Edit item":"Editar item","Error getting related resources":"Erro ao obter recursos relacionados","Error parsing svg":"Erro ao analisar svg","External documentation for {title}":"Documentação externa para {title}",Favorite:"Favorito",Flags:"Bandeiras","Food & Drink":"Comida & Bebida","Frequently used":"Mais usados",Global:"Global","Go back to the list":"Volte para a lista","Hide password":"Ocultar a senha","Message limit of {count} characters reached":"Limite de mensagem de {count} caracteres atingido","More items …":"Mais itens …",Next:"Próximo","No emoji found":"Nenhum emoji encontrado","No results":"Sem resultados",Objects:"Objetos",Open:"Aberto",'Open link to "{resourceTitle}"':'Abrir link para "{resourceTitle}"',"Open navigation":"Abrir navegação","Password is secure":"A senha é segura","Pause slideshow":"Pausar apresentação de slides","People & Body":"Pessoas & Corpo","Pick an emoji":"Escolha um emoji","Please select a time zone:":"Selecione um fuso horário: ",Previous:"Anterior","Related resources":"Recursos relacionados",Search:"Pesquisar","Search results":"Resultados da pesquisa","Select a tag":"Selecionar uma tag",Settings:"Configurações","Settings navigation":"Navegação de configurações","Show password":"Mostrar senha","Smileys & Emotion":"Smiles & Emoções","Start slideshow":"Iniciar apresentação de slides",Submit:"Enviar",Symbols:"Símbolo","Travel & Places":"Viagem & Lugares","Type to search time zone":"Digite para pesquisar o fuso horário ","Unable to search the group":"Não foi possível pesquisar o grupo","Undo changes":"Desfazer modificações",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Escreva mensagens, use "@" para mencionar algum, use ":" for autocompletar emoji …'}},{locale:"pt_PT",translations:{"{tag} (invisible)":"{tag} (invisivel)","{tag} (restricted)":"{tag} (restrito)",Actions:"Ações",Choose:"Escolher",Close:"Fechar",Next:"Seguinte","No results":"Sem resultados","Pause slideshow":"Pausar diaporama",Previous:"Anterior","Select a tag":"Selecionar uma etiqueta",Settings:"Definições","Start slideshow":"Iniciar diaporama","Unable to search the group":"Não é possível pesquisar o grupo"}},{locale:"ro",translations:{"{tag} (invisible)":"{tag} (invizibil)","{tag} (restricted)":"{tag} (restricționat)",Actions:"Acțiuni",Activities:"Activități","Animals & Nature":"Animale și natură","Anything shared with the same group of people will show up here":"Tot ceea ce este partajat cu același grup de persoane va fi afișat aici","Avatar of {displayName}":"Avatarul lui {displayName}","Avatar of {displayName}, {status}":"Avatarul lui {displayName}, {status}","Cancel changes":"Anulează modificările","Change title":"Modificați titlul",Choose:"Alegeți","Clear text":"Șterge textul",Close:"Închideți","Close modal":"Închideți modulul","Close navigation":"Închideți navigarea","Close sidebar":"Închide bara laterală","Confirm changes":"Confirmați modificările",Custom:"Personalizat","Edit item":"Editați elementul","Error getting related resources":" Eroare la returnarea resurselor legate","External documentation for {title}":"Documentație externă pentru {title}",Favorite:"Favorit",Flags:"Marcaje","Food & Drink":"Alimente și băuturi","Frequently used":"Utilizate frecvent",Global:"Global","Go back to the list":"Întoarceți-vă la listă","Hide password":"Ascunde parola","Message limit of {count} characters reached":"Limita mesajului de {count} caractere a fost atinsă","More items …":"Mai multe articole ...",Next:"Următorul","No emoji found":"Nu s-a găsit niciun emoji","No results":"Nu există rezultate",Objects:"Obiecte",Open:"Deschideți",'Open link to "{resourceTitle}"':'Deschide legătura la "{resourceTitle}"',"Open navigation":"Deschideți navigația","Password is secure":"Parola este sigură","Pause slideshow":"Pauză prezentare de diapozitive","People & Body":"Oameni și corp","Pick an emoji":"Alege un emoji","Please select a time zone:":"Vă rugăm să selectați un fus orar:",Previous:"Anterior","Related resources":"Resurse legate",Search:"Căutare","Search results":"Rezultatele căutării","Select a tag":"Selectați o etichetă",Settings:"Setări","Settings navigation":"Navigare setări","Show password":"Arată parola","Smileys & Emotion":"Zâmbete și emoții","Start slideshow":"Începeți prezentarea de diapozitive",Submit:"Trimiteți",Symbols:"Simboluri","Travel & Places":"Călătorii și locuri","Type to search time zone":"Tastați pentru a căuta fusul orar","Unable to search the group":"Imposibilitatea de a căuta în grup","Undo changes":"Anularea modificărilor",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Scrie un mesaj, folosește "@" pentru a menționa pe cineva, folosește ":" pentru autocompletarea cu emoji ...'}},{locale:"ru",translations:{"{tag} (invisible)":"{tag} (невидимое)","{tag} (restricted)":"{tag} (ограниченное)",Actions:"Действия ",Activities:"События","Animals & Nature":"Животные и природа ","Avatar of {displayName}":"Аватар {displayName}","Avatar of {displayName}, {status}":"Фотография {displayName}, {status}","Cancel changes":"Отменить изменения",Choose:"Выберите",Close:"Закрыть","Close modal":"Закрыть модальное окно","Close navigation":"Закрыть навигацию","Confirm changes":"Подтвердить изменения",Custom:"Пользовательское","Edit item":"Изменить элемент","External documentation for {title}":"Внешняя документация для {title}",Flags:"Флаги","Food & Drink":"Еда, напиток","Frequently used":"Часто используемый",Global:"Глобальный","Go back to the list":"Вернуться к списку",items:"элементов","Message limit of {count} characters reached":"Достигнуто ограничение на количество символов в {count}","More {dashboardItemType} …":"Больше {dashboardItemType} …",Next:"Следующее","No emoji found":"Эмодзи не найдено","No results":"Результаты отсуствуют",Objects:"Объекты",Open:"Открыть","Open navigation":"Открыть навигацию","Pause slideshow":"Приостановить показ слйдов","People & Body":"Люди и тело","Pick an emoji":"Выберите эмодзи","Please select a time zone:":"Пожалуйста, выберите часовой пояс:",Previous:"Предыдущее",Search:"Поиск","Search results":"Результаты поиска","Select a tag":"Выберите метку",Settings:"Параметры","Settings navigation":"Навигация по настройкам","Smileys & Emotion":"Смайлики и эмоции","Start slideshow":"Начать показ слайдов",Submit:"Утвердить",Symbols:"Символы","Travel & Places":"Путешествия и места","Type to search time zone":"Введите для поиска часового пояса","Unable to search the group":"Невозможно найти группу","Undo changes":"Отменить изменения","Write message, @ to mention someone, : for emoji autocompletion …":"Напишите сообщение, @ - чтобы упомянуть кого-то, : - для автозаполнения эмодзи …"}},{locale:"sk_SK",translations:{"{tag} (invisible)":"{tag} (neviditeľný)","{tag} (restricted)":"{tag} (obmedzený)",Actions:"Akcie",Activities:"Aktivity","Animals & Nature":"Zvieratá a príroda","Avatar of {displayName}":"Avatar {displayName}","Avatar of {displayName}, {status}":"Avatar {displayName}, {status}","Cancel changes":"Zrušiť zmeny",Choose:"Vybrať",Close:"Zatvoriť","Close navigation":"Zavrieť navigáciu","Confirm changes":"Potvrdiť zmeny",Custom:"Zvyk","Edit item":"Upraviť položku","External documentation for {title}":"Externá dokumentácia pre {title}",Flags:"Vlajky","Food & Drink":"Jedlo a nápoje","Frequently used":"Často používané",Global:"Globálne","Go back to the list":"Naspäť na zoznam","Message limit of {count} characters reached":"Limit správy na {count} znakov dosiahnutý",Next:"Ďalší","No emoji found":"Nenašli sa žiadne emodži","No results":"Žiadne výsledky",Objects:"Objekty","Open navigation":"Otvoriť navigáciu","Pause slideshow":"Pozastaviť prezentáciu","People & Body":"Ľudia a telo","Pick an emoji":"Vyberte si emodži","Please select a time zone:":"Prosím vyberte časovú zónu:",Previous:"Predchádzajúci",Search:"Hľadať","Search results":"Výsledky vyhľadávania","Select a tag":"Vybrať štítok",Settings:"Nastavenia","Settings navigation":"Navigácia v nastaveniach","Smileys & Emotion":"Smajlíky a emócie","Start slideshow":"Začať prezentáciu",Submit:"Odoslať",Symbols:"Symboly","Travel & Places":"Cestovanie a miesta","Type to search time zone":"Začníte písať pre vyhľadávanie časovej zóny","Unable to search the group":"Skupinu sa nepodarilo nájsť","Undo changes":"Vrátiť zmeny","Write message, @ to mention someone, : for emoji autocompletion …":"Napíšte správu, @ ak chcete niekoho spomenúť, : pre automatické dopĺňanie emotikonov…"}},{locale:"sl",translations:{"{tag} (invisible)":"{tag} (nevidno)","{tag} (restricted)":"{tag} (omejeno)",Actions:"Dejanja",Activities:"Dejavnosti","Animals & Nature":"Živali in Narava","Avatar of {displayName}":"Podoba {displayName}","Avatar of {displayName}, {status}":"Prikazna slika {displayName}, {status}","Cancel changes":"Prekliči spremembe","Change title":"Spremeni naziv",Choose:"Izbor","Clear text":"Počisti besedilo",Close:"Zapri","Close modal":"Zapri pojavno okno","Close navigation":"Zapri krmarjenje","Close sidebar":"Zapri stransko vrstico","Confirm changes":"Potrdi spremembe",Custom:"Po meri","Edit item":"Uredi predmet","Error getting related resources":"Napaka pridobivanja povezanih virov","External documentation for {title}":"Zunanja dokumentacija za {title}",Favorite:"Priljubljeno",Flags:"Zastavice","Food & Drink":"Hrana in Pijača","Frequently used":"Pogostost uporabe",Global:"Splošno","Go back to the list":"Vrni se na seznam","Hide password":"Skrij geslo","Message limit of {count} characters reached":"Dosežena omejitev {count} znakov na sporočilo.","More items …":"Več predmetov ...",Next:"Naslednji","No emoji found":"Ni najdenih izraznih ikon","No results":"Ni zadetkov",Objects:"Predmeti",Open:"Odpri",'Open link to "{resourceTitle}"':"Odpri povezavo do »{resourceTitle}«","Open navigation":"Odpri krmarjenje","Password is secure":"Geslo je varno","Pause slideshow":"Ustavi predstavitev","People & Body":"Ljudje in Telo","Pick a date":"Izbor datuma","Pick a date and a time":"Izbor datuma in časa","Pick a month":"Izbor meseca","Pick a time":"Izbor časa","Pick a week":"Izbor tedna","Pick a year":"Izbor leta","Pick an emoji":"Izbor izrazne ikone","Please select a time zone:":"Izbor časovnega pasu:",Previous:"Predhodni","Related resources":"Povezani viri",Search:"Iskanje","Search results":"Zadetki iskanja","Select a tag":"Izbor oznake",Settings:"Nastavitve","Settings navigation":"Krmarjenje nastavitev","Show password":"Pokaži geslo","Smileys & Emotion":"Izrazne ikone","Start slideshow":"Začni predstavitev",Submit:"Pošlji",Symbols:"Simboli","Travel & Places":"Potovanja in Kraji","Type to search time zone":"Vpišite niz za iskanje časovnega pasu","Unable to search the group":"Ni mogoče iskati po skupini","Undo changes":"Razveljavi spremembe","Write message, @ to mention someone, : for emoji autocompletion …":"Napišite sporočilo, za omembo pred ime postavite@, začnite z : za vstavljanje izraznih ikon …"}},{locale:"sr",translations:{"{tag} (invisible)":"{tag} (nevidljivo)","{tag} (restricted)":"{tag} (ograničeno)",Actions:"Radnje",Activities:"Aktivnosti","Animals & Nature":"Životinje i Priroda","Avatar of {displayName}":"Avatar za {displayName}","Avatar of {displayName}, {status}":"Avatar za {displayName}, {status}","Cancel changes":"Otkaži izmene","Change title":"Izmeni naziv",Choose:"Изаберите",Close:"Затвори","Close modal":"Zatvori modal","Close navigation":"Zatvori navigaciju","Close sidebar":"Zatvori bočnu traku","Confirm changes":"Potvrdite promene",Custom:"Po meri","Edit item":"Uredi stavku","External documentation for {title}":"Eksterna dokumentacija za {title}",Favorite:"Omiljeni",Flags:"Zastave","Food & Drink":"Hrana i Piće","Frequently used":"Često korišćeno",Global:"Globalno","Go back to the list":"Natrag na listu",items:"stavke","Message limit of {count} characters reached":"Dostignuto je ograničenje za poruke od {count} znakova","More {dashboardItemType} …":"Više  {dashboardItemType} …",Next:"Следеће","No emoji found":"Nije pronađen nijedan emodži","No results":"Нема резултата",Objects:"Objekti",Open:"Otvori","Open navigation":"Otvori navigaciju","Pause slideshow":"Паузирај слајд шоу","People & Body":"Ljudi i Telo","Pick an emoji":"Izaberi emodži","Please select a time zone:":"Molimo izaberite vremensku zonu:",Previous:"Претходно",Search:"Pretraži","Search results":"Rezultati pretrage","Select a tag":"Изаберите ознаку",Settings:"Поставке","Settings navigation":"Navigacija u podešavanjima","Smileys & Emotion":"Smajli i Emocije","Start slideshow":"Покрени слајд шоу",Submit:"Prihvati",Symbols:"Simboli","Travel & Places":"Putovanja i Mesta","Type to search time zone":"Ukucaj da pretražiš vremenske zone","Unable to search the group":"Nije moguće pretražiti grupu","Undo changes":"Poništi promene","Write message, @ to mention someone, : for emoji autocompletion …":"Napišite poruku, @ da pomenete nekoga, : za automatsko dovršavanje emodžija…"}},{locale:"sv",translations:{"{tag} (invisible)":"{tag} (osynlig)","{tag} (restricted)":"{tag} (begränsad)",Actions:"Åtgärder",Activities:"Aktiviteter","Animals & Nature":"Djur & Natur","Anything shared with the same group of people will show up here":"Något som delats med samma grupp av personer kommer att visas här","Avatar of {displayName}":"{displayName}s avatar","Avatar of {displayName}, {status}":"{displayName}s avatar, {status}","Cancel changes":"Avbryt ändringar","Change title":"Ändra titel",Choose:"Välj","Clear text":"Ta bort text",Close:"Stäng","Close modal":"Stäng modal","Close navigation":"Stäng navigering","Close sidebar":"Stäng sidopanel","Confirm changes":"Bekräfta ändringar",Custom:"Anpassad","Edit item":"Ändra","Error getting related resources":"Problem att hämta relaterade resurser","External documentation for {title}":"Extern dokumentation för {title}",Favorite:"Favorit",Flags:"Flaggor","Food & Drink":"Mat & Dryck","Frequently used":"Används ofta",Global:"Global","Go back to the list":"Gå tillbaka till listan","Hide password":"Göm lössenordet","Message limit of {count} characters reached":"Meddelandegräns {count} tecken används","More items …":"Fler objekt",Next:"Nästa","No emoji found":"Hittade inga emojis","No results":"Inga resultat",Objects:"Objekt",Open:"Öppna",'Open link to "{resourceTitle}"':'Öppna länk till "{resourceTitle}"',"Open navigation":"Öppna navigering","Password is secure":"Lössenordet är säkert","Pause slideshow":"Pausa bildspelet","People & Body":"Kropp & Själ","Pick an emoji":"Välj en emoji","Please select a time zone:":"Välj tidszon:",Previous:"Föregående","Related resources":"Relaterade resurser",Search:"Sök","Search results":"Sökresultat","Select a tag":"Välj en tag",Settings:"Inställningar","Settings navigation":"Inställningsmeny","Show password":"Visa lössenordet","Smileys & Emotion":"Selfies & Känslor","Start slideshow":"Starta bildspelet",Submit:"Skicka",Symbols:"Symboler","Travel & Places":"Resor & Sevärdigheter","Type to search time zone":"Skriv för att välja tidszon","Unable to search the group":"Kunde inte söka i gruppen","Undo changes":"Ångra ändringar",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'Skriv meddelande, använd "@" för att nämna någon, använd ":" för automatiska emojiförslag ...'}},{locale:"tr",translations:{"{tag} (invisible)":"{tag} (görünmez)","{tag} (restricted)":"{tag} (kısıtlı)",Actions:"İşlemler",Activities:"Etkinlikler","Animals & Nature":"Hayvanlar ve Doğa","Anything shared with the same group of people will show up here":"Aynı kişi grubu ile paylaşılan herşey burada görüntülenir","Avatar of {displayName}":"{displayName} avatarı","Avatar of {displayName}, {status}":"{displayName}, {status} avatarı","Cancel changes":"Değişiklikleri iptal et","Change title":"Başlığı değiştir",Choose:"Seçin","Clear text":"Metni temizle",Close:"Kapat","Close modal":"Üste açılan pencereyi kapat","Close navigation":"Gezinmeyi kapat","Close sidebar":"Yan çubuğu kapat","Confirm changes":"Değişiklikleri onayla",Custom:"Özel","Edit item":"Ögeyi düzenle","Error getting related resources":"İlgili kaynaklar alınırken sorun çıktı","Error parsing svg":"svg işlenirken sorun çıktı","External documentation for {title}":"{title} için dış belgeler",Favorite:"Sık kullanılanlara ekle",Flags:"Bayraklar","Food & Drink":"Yeme ve İçme","Frequently used":"Sık kullanılanlar",Global:"Evrensel","Go back to the list":"Listeye dön","Hide password":"Parolayı gizle","Message limit of {count} characters reached":"{count} karakter ileti sınırına ulaşıldı","More items …":"Diğer ögeler…",Next:"Sonraki","No emoji found":"Herhangi bir emoji bulunamadı","No results":"Herhangi bir sonuç bulunamadı",Objects:"Nesneler",Open:"Aç",'Open link to "{resourceTitle}"':'"{resourceTitle}" bağlantısını aç',"Open navigation":"Gezinmeyi aç","Password is secure":"Parola güvenli","Pause slideshow":"Slayt sunumunu duraklat","People & Body":"İnsanlar ve Beden","Pick an emoji":"Bir emoji seçin","Please select a time zone:":"Lütfen bir saat dilimi seçin:",Previous:"Önceki","Related resources":"İlgili kaynaklar",Search:"Arama","Search results":"Arama sonuçları","Select a tag":"Bir etiket seçin",Settings:"Ayarlar","Settings navigation":"Gezinme ayarları","Show password":"Parolayı görüntüle","Smileys & Emotion":"İfadeler ve Duygular","Start slideshow":"Slayt sunumunu başlat",Submit:"Gönder",Symbols:"Simgeler","Travel & Places":"Gezi ve Yerler","Type to search time zone":"Saat dilimi aramak için yazmaya başlayın","Unable to search the group":"Grupta arama yapılamadı","Undo changes":"Değişiklikleri geri al",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'İleti yazın, birini anmak için @, otomatik emoji tamamlamak için ":" kullanın…'}},{locale:"uk",translations:{"{tag} (invisible)":"{tag} (невидимий)","{tag} (restricted)":"{tag} (обмежений)",Actions:"Дії",Activities:"Діяльність","Animals & Nature":"Тварини та природа","Avatar of {displayName}":"Аватар {displayName}","Avatar of {displayName}, {status}":"Аватар {displayName}, {status}","Cancel changes":"Скасувати зміни","Change title":"Змінити назву",Choose:"ВиберітьВиберіть","Clear text":"Очистити текст",Close:"Закрити","Close modal":"Закрити модаль","Close navigation":"Закрити навігацію","Close sidebar":"Закрити бічну панель","Confirm changes":"Підтвердити зміни",Custom:"Власне","Edit item":"Редагувати елемент","External documentation for {title}":"Зовнішня документація для {title}",Favorite:"Улюблений",Flags:"Прапори","Food & Drink":"Їжа та напої","Frequently used":"Найчастіші",Global:"Глобальний","Go back to the list":"Повернутися до списку","Hide password":"Приховати пароль",items:"елементи","Message limit of {count} characters reached":"Вичерпано ліміт у {count} символів для повідомлення","More {dashboardItemType} …":"Більше {dashboardItemType}…",Next:"Вперед","No emoji found":"Емоційки відсутні","No results":"Відсутні результати",Objects:"Об'єкти",Open:"Відкрити","Open navigation":"Відкрити навігацію","Password is secure":"Пароль безпечний","Pause slideshow":"Пауза у показі слайдів","People & Body":"Люди та жести","Pick an emoji":"Виберіть емоційку","Please select a time zone:":"Виберіть часовий пояс:",Previous:"Назад",Search:"Пошук","Search results":"Результати пошуку","Select a tag":"Виберіть позначку",Settings:"Налаштування","Settings navigation":"Навігація у налаштуваннях","Show password":"Показати пароль","Smileys & Emotion":"Смайли та емоції","Start slideshow":"Почати показ слайдів",Submit:"Надіслати",Symbols:"Символи","Travel & Places":"Поїздки та місця","Type to search time zone":"Введіть для пошуку часовий пояс","Unable to search the group":"Неможливо шукати в групі","Undo changes":"Скасувати зміни","Write message, @ to mention someone, : for emoji autocompletion …":"Напишіть повідомлення, @, щоб згадати когось, : для автозаповнення емодзі…"}},{locale:"zh_CN",translations:{"{tag} (invisible)":"{tag} (不可见)","{tag} (restricted)":"{tag} (受限)",Actions:"行为",Activities:"活动","Animals & Nature":"动物 & 自然","Anything shared with the same group of people will show up here":"与同组用户分享的所有内容都会显示于此","Avatar of {displayName}":"{displayName}的头像","Avatar of {displayName}, {status}":"{displayName}的头像,{status}","Cancel changes":"取消更改","Change title":"更改标题",Choose:"选择","Clear text":"清除文本",Close:"关闭","Close modal":"关闭窗口","Close navigation":"关闭导航","Close sidebar":"关闭侧边栏","Confirm changes":"确认更改",Custom:"自定义","Edit item":"编辑项目","Error getting related resources":"获取相关资源时出错","External documentation for {title}":"{title}的外部文档",Favorite:"喜爱",Flags:"旗帜","Food & Drink":"食物 & 饮品","Frequently used":"经常使用",Global:"全局","Go back to the list":"返回至列表","Hide password":"隐藏密码","Message limit of {count} characters reached":"已达到 {count} 个字符的消息限制","More items …":"更多项目…",Next:"下一个","No emoji found":"表情未找到","No results":"无结果",Objects:"物体",Open:"打开",'Open link to "{resourceTitle}"':'打开"{resourceTitle}"的连接',"Open navigation":"开启导航","Password is secure":"密码安全","Pause slideshow":"暂停幻灯片","People & Body":"人 & 身体","Pick an emoji":"选择一个表情","Please select a time zone:":"请选择一个时区:",Previous:"上一个","Related resources":"相关资源",Search:"搜索","Search results":"搜索结果","Select a tag":"选择一个标签",Settings:"设置","Settings navigation":"设置向导","Show password":"显示密码","Smileys & Emotion":"笑脸 & 情感","Start slideshow":"开始幻灯片",Submit:"提交",Symbols:"符号","Travel & Places":"旅游 & 地点","Type to search time zone":"打字以搜索时区","Unable to search the group":"无法搜索分组","Undo changes":"撤销更改","Write message, @ to mention someone, : for emoji autocompletion …":"写信息,@ 提到某人,: 用于表情符号自动完成 ..."}},{locale:"zh_HK",translations:{"{tag} (invisible)":"{tag} (隱藏)","{tag} (restricted)":"{tag} (受限)",Actions:"動作",Activities:"活動","Animals & Nature":"動物與自然","Anything shared with the same group of people will show up here":"與同一組人共享的任何內容都會顯示在此處","Avatar of {displayName}":"{displayName} 的頭像","Avatar of {displayName}, {status}":"{displayName} 的頭像,{status}","Cancel changes":"取消更改","Change title":"更改標題",Choose:"選擇","Clear text":"清除文本",Close:"關閉","Close modal":"關閉模態","Close navigation":"關閉導航","Close sidebar":"關閉側邊欄","Confirm changes":"確認更改",Custom:"自定義","Edit item":"編輯項目","Error getting related resources":"獲取相關資源出錯","Error parsing svg":"解析 svg 時出錯","External documentation for {title}":"{title} 的外部文檔",Favorite:"喜愛",Flags:"旗幟","Food & Drink":"食物與飲料","Frequently used":"經常使用",Global:"全球的","Go back to the list":"返回清單","Hide password":"隱藏密碼","Message limit of {count} characters reached":"已達到訊息最多 {count} 字元限制","More items …":"更多項目 …",Next:"下一個","No emoji found":"未找到表情符號","No results":"無結果",Objects:"物件",Open:"打開",'Open link to "{resourceTitle}"':"打開指向 “{resourceTitle}” 的鏈結","Open navigation":"開啟導航","Password is secure":"密碼是安全的","Pause slideshow":"暫停幻燈片","People & Body":"人物","Pick an emoji":"選擇表情符號","Please select a time zone:":"請選擇時區:",Previous:"上一個","Related resources":"相關資源",Search:"搜尋","Search results":"搜尋結果","Select a tag":"選擇標籤",Settings:"設定","Settings navigation":"設定值導覽","Show password":"顯示密碼","Smileys & Emotion":"表情","Start slideshow":"開始幻燈片",Submit:"提交",Symbols:"標誌","Travel & Places":"旅遊與景點","Type to search time zone":"鍵入以搜索時區","Unable to search the group":"無法搜尋群組","Undo changes":"取消更改",'Write message, use "@" to mention someone, use ":" for emoji autocompletion …':'寫訊息,使用 "@" 來指代某人,使用 ":" 用於表情符號自動填充 ...'}},{locale:"zh_TW",translations:{"{tag} (invisible)":"{tag} (隱藏)","{tag} (restricted)":"{tag} (受限)",Actions:"動作",Activities:"活動","Animals & Nature":"動物與自然",Choose:"選擇",Close:"關閉",Custom:"自定義",Flags:"旗幟","Food & Drink":"食物與飲料","Frequently used":"最近使用","Message limit of {count} characters reached":"已達到訊息最多 {count} 字元限制",Next:"下一個","No emoji found":"未找到表情符號","No results":"無結果",Objects:"物件","Pause slideshow":"暫停幻燈片","People & Body":"人物","Pick an emoji":"選擇表情符號",Previous:"上一個",Search:"搜尋","Search results":"搜尋結果","Select a tag":"選擇標籤",Settings:"設定","Settings navigation":"設定值導覽","Smileys & Emotion":"表情","Start slideshow":"開始幻燈片",Symbols:"標誌","Travel & Places":"旅遊與景點","Unable to search the group":"無法搜尋群組","Write message, @ to mention someone …":"輸入訊息時可使用 @ 來標示某人..."}}].forEach((function(e){var t={};for(var n in e.translations)e.translations[n].pluralId?t[n]={msgid:n,msgid_plural:e.translations[n].pluralId,msgstr:e.translations[n].msgstr}:t[n]={msgid:n,msgstr:[e.translations[n]]};r.addTranslation(e.locale,{translations:{"":t}})}));var o=r.build(),i=o.ngettext.bind(o),a=o.gettext.bind(o)},3648:function(e,t,n){"use strict";var r=n(932);t.Z={methods:{n:r.n,t:r.t}}},1205:function(e,t){"use strict";t.Z=function(e){return Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,e||5)}},7645:function(e,t){"use strict";t.Z=function(e){e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push((function(){this.$el.setAttribute("data-v-".concat("78efc74"),"")}))}},1206:function(e,t,n){"use strict";n.d(t,{L:function(){return r}}),n(4505);var r=function(){return Object.assign(window,{_nc_focus_trap:window._nc_focus_trap||[]}),window._nc_focus_trap}},8384:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.v-popper--theme-tooltip.v-popper__popper{position:absolute;z-index:100000;top:0;right:auto;left:auto;display:block;margin:0;padding:0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{right:100%;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{left:100%;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity .15s,visibility .15s;opacity:0}.v-popper--theme-tooltip.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity .15s;opacity:1}.v-popper--theme-tooltip .v-popper__inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.v-popper--theme-tooltip .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:rgba(0,0,0,0);border-width:10px}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/directives/Tooltip/index.scss"],names:[],mappings:"AAGA,sBACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCQA,0CACC,iBAAA,CACA,cAAA,CACA,KAAA,CACA,UAAA,CACA,SAAA,CACA,aAAA,CACA,QAAA,CACA,SAAA,CACA,eAAA,CACA,gBAAA,CACA,SAAA,CACA,eAAA,CAEA,eAAA,CACA,sDAAA,CAGA,iGACC,YAAA,CACA,qBAAA,CACA,6CAAA,CAID,oGACC,SAAA,CACA,kBAAA,CACA,gDAAA,CAID,mGACC,UAAA,CACA,mBAAA,CACA,+CAAA,CAID,kGACC,SAAA,CACA,oBAAA,CACA,8CAAA,CAID,4DACC,iBAAA,CACA,uCAAA,CACA,SAAA,CAED,6DACC,kBAAA,CACA,uBAAA,CACA,SAAA,CAKF,0CACC,eAAA,CACA,eAAA,CACA,iBAAA,CACA,4BAAA,CACA,kCAAA,CACA,6CAAA,CAID,oDACC,iBAAA,CACA,SAAA,CACA,OAAA,CACA,QAAA,CACA,QAAA,CACA,kBAAA,CACA,0BAAA,CACA,iBAhFY",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n/**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/\n\n$arrow-width: 10px;\n\n.v-popper--theme-tooltip {\n\t&.v-popper__popper {\n\t\tposition: absolute;\n\t\tz-index: 100000;\n\t\ttop: 0;\n\t\tright: auto;\n\t\tleft: auto;\n\t\tdisplay: block;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\ttext-align: left;\n\t\ttext-align: start;\n\t\topacity: 0;\n\t\tline-height: 1.6;\n\n\t\tline-break: auto;\n\t\tfilter: drop-shadow(0 1px 10px var(--color-box-shadow));\n\n\t\t// TOP\n\t\t&[data-popper-placement^='top'] .v-popper__arrow-container {\n\t\t\tbottom: -$arrow-width;\n\t\t\tborder-bottom-width: 0;\n\t\t\tborder-top-color: var(--color-main-background);\n\t\t}\n\n\t\t// BOTTOM\n\t\t&[data-popper-placement^='bottom'] .v-popper__arrow-container {\n\t\t\ttop: -$arrow-width;\n\t\t\tborder-top-width: 0;\n\t\t\tborder-bottom-color: var(--color-main-background);\n\t\t}\n\n\t\t// RIGHT\n\t\t&[data-popper-placement^='right'] .v-popper__arrow-container {\n\t\t\tright: 100%;\n\t\t\tborder-left-width: 0;\n\t\t\tborder-right-color: var(--color-main-background);\n\t\t}\n\n\t\t// LEFT\n\t\t&[data-popper-placement^='left'] .v-popper__arrow-container {\n\t\t\tleft: 100%;\n\t\t\tborder-right-width: 0;\n\t\t\tborder-left-color: var(--color-main-background);\n\t\t}\n\n\t\t// HIDDEN / SHOWN\n\t\t&[aria-hidden='true'] {\n\t\t\tvisibility: hidden;\n\t\t\ttransition: opacity .15s, visibility .15s;\n\t\t\topacity: 0;\n\t\t}\n\t\t&[aria-hidden='false'] {\n\t\t\tvisibility: visible;\n\t\t\ttransition: opacity .15s;\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t// CONTENT\n\t.v-popper__inner {\n\t\tmax-width: 350px;\n\t\tpadding: 5px 8px;\n\t\ttext-align: center;\n\t\tcolor: var(--color-main-text);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-color: var(--color-main-background);\n\t}\n\n\t// ARROW\n\t.v-popper__arrow-container {\n\t\tposition: absolute;\n\t\tz-index: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t\tmargin: 0;\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: $arrow-width;\n\t}\n}\n"],sourceRoot:""}]),t.Z=a},5249:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon[data-v-07fc6d22]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-07fc6d22]{display:flex;align-items:center}.action-item[data-v-07fc6d22]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-07fc6d22]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-07fc6d22]{--open-background-color: var(--color-primary-light-hover)}.action-item.action-item--error[data-v-07fc6d22]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-07fc6d22]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-07fc6d22]{--open-background-color: var(--color-success-hover)}.action-item.action-item--open .action-item__menutoggle[data-v-07fc6d22]{opacity:1;background-color:var(--open-background-color)}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/components/NcActions/NcActions.vue","webpack://./src/assets/variables.scss"],names:[],mappings:"AAGA,uCACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCND,+BACC,YAAA,CACA,kBAAA,CAGD,8BACC,gFAAA,CACA,iBAAA,CACA,oBAAA,CAEA,mDACC,2DAAA,CAGD,qDACC,yDAAA,CAGD,iDACC,iDAAA,CAGD,mDACC,mDAAA,CAGD,mDACC,mDAAA,CAGD,yEACC,SCWa,CDVb,6CAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n\n.action-items {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.action-item {\n\t--open-background-color: var(--color-background-hover, $action-background-hover);\n\tposition: relative;\n\tdisplay: inline-block;\n\n\t&.action-item--primary {\n\t\t--open-background-color: var(--color-primary-element-hover);\n\t}\n\n\t&.action-item--secondary {\n\t\t--open-background-color: var(--color-primary-light-hover);\n\t}\n\n\t&.action-item--error {\n\t\t--open-background-color: var(--color-error-hover);\n\t}\n\n\t&.action-item--warning {\n\t\t--open-background-color: var(--color-warning-hover);\n\t}\n\n\t&.action-item--success {\n\t\t--open-background-color: var(--color-success-hover);\n\t}\n\n\t&.action-item--open .action-item__menutoggle {\n\t\topacity: $opacity_full;\n\t\tbackground-color: var(--open-background-color);\n\t}\n}\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org/7-rules-for-mobile-ui-button-design-e9cf2ea54556\n// recommended is 48px\n// 44px is what we choose and have very good visual-to-usability ratio\n$clickable-area: 44px;\n\n// background icon size\n// also used for the scss icon font\n$icon-size: 16px;\n\n// icon padding for a $clickable-area width and a $icon-size icon\n// ( 44px - 16px ) / 2\n$icon-margin: math.div($clickable-area - $icon-size, 2);\n\n// transparency background for icons\n$icon-focus-bg: rgba(127, 127, 127, .25);\n\n// popovermenu arrow width from the triangle center\n$arrow-width: 9px;\n\n// opacities\n$opacity_disabled: .5;\n$opacity_normal: .7;\n$opacity_full: 1;\n\n// menu round background hover feedback\n// good looking on dark AND white bg\n$action-background-hover: rgba(127, 127, 127, .25);\n\n// various structure data used in the \n// `AppNavigation` component\n$header-height: 50px;\n$navigation-width: 300px;\n\n// mobile breakpoint\n$breakpoint-mobile: 1024px;\n\n// top-bar spacing\n$topbar-margin: 4px;\n\n// navigation spacing\n$app-navigation-settings-margin: 3px;\n"],sourceRoot:""}]),t.Z=a},1085:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__inner{border-radius:var(--border-radius-large);padding:4px;max-height:calc(50vh - 16px);overflow:auto}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/components/NcActions/NcActions.vue"],names:[],mappings:"AAGA,sBACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCJD,gFACC,wCAAA,CACA,WAAA,CACA,4BAAA,CACA,aAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n\n// We overwrote the popover base class, so we can style\n// the popover__inner for actions only.\n.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__inner {\n\tborder-radius: var(--border-radius-large);\n\tpadding: 4px;\n\tmax-height: calc(50vh - 16px);\n\toverflow: auto;\n}\n"],sourceRoot:""}]),t.Z=a},278:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon[data-v-61417734]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-61417734]{position:relative;width:fit-content;overflow:hidden;border:0;padding:0;font-size:var(--default-font-size);font-weight:bold;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px;transition:background-color .1s linear !important;transition:border .1s linear;background-color:var(--color-primary-element-lighter),var(--color-primary-element-light);color:var(--color-primary-light-text)}.button-vue *[data-v-61417734]{cursor:pointer}.button-vue[data-v-61417734]:focus{outline:none}.button-vue[data-v-61417734]:disabled{cursor:default;opacity:.5;filter:saturate(0.7)}.button-vue:disabled *[data-v-61417734]{cursor:default}.button-vue[data-v-61417734]:hover:not(:disabled){background-color:var(--color-primary-light-hover)}.button-vue[data-v-61417734]:active{background-color:var(--color-primary-element-lighter),var(--color-primary-element-light)}.button-vue__wrapper[data-v-61417734]{display:inline-flex;align-items:center;justify-content:space-around}.button-vue__icon[data-v-61417734]{height:44px;width:44px;min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center}.button-vue__text[data-v-61417734]{font-weight:bold;margin-bottom:1px;padding:2px 0}.button-vue--icon-only[data-v-61417734]{width:44px !important}.button-vue--text-only[data-v-61417734]{padding:0 12px}.button-vue--text-only .button-vue__text[data-v-61417734]{margin-left:4px;margin-right:4px}.button-vue--icon-and-text[data-v-61417734]{padding:0 16px 0 4px}.button-vue--wide[data-v-61417734]{width:100%}.button-vue[data-v-61417734]:focus-visible{outline:2px solid var(--color-main-text) !important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-61417734]{outline:2px solid var(--color-primary-text);border-radius:var(--border-radius);background-color:rgba(0,0,0,0)}.button-vue--vue-primary[data-v-61417734]{background-color:var(--color-primary-element);color:var(--color-primary-text)}.button-vue--vue-primary[data-v-61417734]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-61417734]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-61417734]{color:var(--color-primary-light-text);background-color:var(--color-primary-light)}.button-vue--vue-secondary[data-v-61417734]:hover:not(:disabled){color:var(--color-primary-light-text);background-color:var(--color-primary-light-hover)}.button-vue--vue-tertiary[data-v-61417734]{color:var(--color-main-text);background-color:rgba(0,0,0,0)}.button-vue--vue-tertiary[data-v-61417734]:hover:not(:disabled){background-color:var(--color);background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-61417734]{color:var(--color-main-text);background-color:rgba(0,0,0,0)}.button-vue--vue-tertiary-no-background[data-v-61417734]:hover:not(:disabled){background-color:rgba(0,0,0,0)}.button-vue--vue-tertiary-on-primary[data-v-61417734]{color:var(--color-primary-text);background-color:rgba(0,0,0,0)}.button-vue--vue-tertiary-on-primary[data-v-61417734]:hover:not(:disabled){background-color:rgba(0,0,0,0)}.button-vue--vue-success[data-v-61417734]{background-color:var(--color-success);color:#fff}.button-vue--vue-success[data-v-61417734]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-61417734]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-61417734]{background-color:var(--color-warning);color:#fff}.button-vue--vue-warning[data-v-61417734]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-61417734]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-61417734]{background-color:var(--color-error);color:#fff}.button-vue--vue-error[data-v-61417734]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-61417734]:active{background-color:var(--color-error)}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/components/NcButton/NcButton.vue","webpack://./src/assets/variables.scss"],names:[],mappings:"AAGA,uCACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCLD,6BACC,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,QAAA,CACA,SAAA,CACA,kCAAA,CACA,gBAAA,CACA,eCcgB,CDbhB,cCagB,CDZhB,YAAA,CACA,kBAAA,CACA,sBAAA,CAGA,cAAA,CAIA,kBAAA,CACA,iDAAA,CACA,4BAAA,CAkBA,wFAAA,CACA,qCAAA,CAxBA,+BACC,cAAA,CAOD,mCACC,YAAA,CAGD,sCACC,cAAA,CAIA,UCMiB,CDJjB,oBAAA,CALA,wCACC,cAAA,CAUF,kDACC,iDAAA,CAKD,oCACC,wFAAA,CAGD,sCACC,mBAAA,CACA,kBAAA,CACA,4BAAA,CAGD,mCACC,WCpCe,CDqCf,UCrCe,CDsCf,eCtCe,CDuCf,cCvCe,CDwCf,YAAA,CACA,sBAAA,CACA,kBAAA,CAGD,mCACC,gBAAA,CACA,iBAAA,CACA,aAAA,CAID,wCACC,qBAAA,CAID,wCACC,cAAA,CACA,0DACC,eAAA,CACA,gBAAA,CAKF,4CACC,oBAAA,CAID,mCACC,UAAA,CAGD,2CACC,mDAAA,CACA,+EACC,2CAAA,CACA,kCAAA,CACA,8BAAA,CAOF,0CACC,6CAAA,CACA,+BAAA,CACA,+DACC,mDAAA,CAID,iDACC,6CAAA,CAKF,4CACC,qCAAA,CACA,2CAAA,CACA,iEACC,qCAAA,CACA,iDAAA,CAKF,2CACC,4BAAA,CACA,8BAAA,CACA,gEACC,6BAAA,CACA,8CAAA,CAKF,yDACC,4BAAA,CACA,8BAAA,CACA,8EACC,8BAAA,CAKF,sDACC,+BAAA,CACA,8BAAA,CAEA,2EACC,8BAAA,CAKF,0CACC,qCAAA,CACA,UAAA,CACA,+DACC,2CAAA,CAID,iDACC,qCAAA,CAKF,0CACC,qCAAA,CACA,UAAA,CACA,+DACC,2CAAA,CAID,iDACC,qCAAA,CAKF,wCACC,mCAAA,CACA,UAAA,CACA,6DACC,yCAAA,CAID,+CACC,mCAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n\n\n.button-vue {\n\tposition: relative;\n\twidth: fit-content;\n\toverflow: hidden;\n\tborder: 0;\n\tpadding: 0;\n\tfont-size: var(--default-font-size);\n\tfont-weight: bold;\n\tmin-height: $clickable-area;\n\tmin-width: $clickable-area;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\n\t// Cursor pointer on element and all children\n\tcursor: pointer;\n\t& * {\n\t\tcursor: pointer;\n\t}\n\tborder-radius: math.div($clickable-area, 2);\n\ttransition: background-color 0.1s linear !important;\n\ttransition: border 0.1s linear;\n\n\t// No outline feedback for focus. Handled with a toggled class in js (see data)\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t&:disabled {\n\t\tcursor: default;\n\t\t& * {\n\t\t\tcursor: default;\n\t\t}\n\t\topacity: $opacity_disabled;\n\t\t// Gives a wash out effect\n\t\tfilter: saturate($opacity_normal);\n\t}\n\n\t// Default button type\n\tbackground-color: var(--color-primary-element-lighter), var(--color-primary-element-light);\n\tcolor: var(--color-primary-light-text);\n\t&:hover:not(:disabled) {\n\t\tbackground-color: var(--color-primary-light-hover);\n\t}\n\n\t// Back to the default color for this button when active\n\t// TODO: add ripple effect\n\t&:active {\n\t\tbackground-color: var(--color-primary-element-lighter), var(--color-primary-element-light);\n\t}\n\n\t&__wrapper {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: space-around;\n\t}\n\n\t&__icon {\n\t\theight: $clickable-area;\n\t\twidth: $clickable-area;\n\t\tmin-height: $clickable-area;\n\t\tmin-width: $clickable-area;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t}\n\n\t&__text {\n\t\tfont-weight: bold;\n\t\tmargin-bottom: 1px;\n\t\tpadding: 2px 0;\n\t}\n\n\t// Icon-only button\n\t&--icon-only {\n\t\twidth: $clickable-area !important;\n\t}\n\n\t// Text-only button\n\t&--text-only {\n\t\tpadding: 0 12px;\n\t\t& .button-vue__text {\n\t\t\tmargin-left: 4px;\n\t\t\tmargin-right: 4px;\n\t\t}\n\t}\n\n\t// Icon and text button\n\t&--icon-and-text {\n\t\tpadding: 0 16px 0 4px;\n\t}\n\n\t// Wide button spans the whole width of the container\n\t&--wide {\n\t\twidth: 100%;\n\t}\n\n\t&:focus-visible {\n\t\toutline: 2px solid var(--color-main-text) !important;\n\t\t&.button-vue--vue-tertiary-on-primary {\n\t\t\toutline: 2px solid var(--color-primary-text);\n\t\t\tborder-radius: var(--border-radius);\n\t\t\tbackground-color: transparent;\n\t\t}\n\t}\n\n\t// Button types\n\n\t// Primary\n\t&--vue-primary {\n\t\tbackground-color: var(--color-primary-element);\n\t\tcolor: var(--color-primary-text);\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t}\n\t\t// Back to the default color for this button when active\n\t\t// TODO: add ripple effect\n\t\t&:active {\n\t\t\tbackground-color: var(--color-primary-element);\n\t\t}\n\t}\n\n\t// Secondary\n\t&--vue-secondary {\n\t\tcolor: var(--color-primary-light-text);\n\t\tbackground-color: var(--color-primary-light);\n\t\t&:hover:not(:disabled) {\n\t\t\tcolor: var(--color-primary-light-text);\n\t\t\tbackground-color: var(--color-primary-light-hover);\n\t\t}\n\t}\n\n\t// Tertiary\n\t&--vue-tertiary {\n\t\tcolor: var(--color-main-text);\n\t\tbackground-color: transparent;\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: var(--color);\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\t}\n\n\t// Tertiary, no background\n\t&--vue-tertiary-no-background {\n\t\tcolor: var(--color-main-text);\n\t\tbackground-color: transparent;\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: transparent;\n\t\t}\n\t}\n\n\t// Tertiary on primary color (like the header)\n\t&--vue-tertiary-on-primary {\n\t\tcolor: var(--color-primary-text);\n\t\tbackground-color: transparent;\n\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: transparent;\n\t\t}\n\t}\n\n\t// Success\n\t&--vue-success {\n\t\tbackground-color: var(--color-success);\n\t\tcolor: white;\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: var(--color-success-hover);\n\t\t}\n\t\t// Back to the default color for this button when active\n\t\t// : add ripple effect\n\t\t&:active {\n\t\t\tbackground-color: var(--color-success);\n\t\t}\n\t}\n\n\t// Warning\n\t&--vue-warning {\n\t\tbackground-color: var(--color-warning);\n\t\tcolor: white;\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: var(--color-warning-hover);\n\t\t}\n\t\t// Back to the default color for this button when active\n\t\t// TODO: add ripple effect\n\t\t&:active {\n\t\t\tbackground-color: var(--color-warning);\n\t\t}\n\t}\n\n\t// Error\n\t&--vue-error {\n\t\tbackground-color: var(--color-error);\n\t\tcolor: white;\n\t\t&:hover:not(:disabled) {\n\t\t\tbackground-color: var(--color-error-hover);\n\t\t}\n\t\t// Back to the default color for this button when active\n\t\t// TODO: add ripple effect\n\t\t&:active {\n\t\t\tbackground-color: var(--color-error);\n\t\t}\n\t}\n}\n\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org/7-rules-for-mobile-ui-button-design-e9cf2ea54556\n// recommended is 48px\n// 44px is what we choose and have very good visual-to-usability ratio\n$clickable-area: 44px;\n\n// background icon size\n// also used for the scss icon font\n$icon-size: 16px;\n\n// icon padding for a $clickable-area width and a $icon-size icon\n// ( 44px - 16px ) / 2\n$icon-margin: math.div($clickable-area - $icon-size, 2);\n\n// transparency background for icons\n$icon-focus-bg: rgba(127, 127, 127, .25);\n\n// popovermenu arrow width from the triangle center\n$arrow-width: 9px;\n\n// opacities\n$opacity_disabled: .5;\n$opacity_normal: .7;\n$opacity_full: 1;\n\n// menu round background hover feedback\n// good looking on dark AND white bg\n$action-background-hover: rgba(127, 127, 127, .25);\n\n// various structure data used in the \n// `AppNavigation` component\n$header-height: 50px;\n$navigation-width: 300px;\n\n// mobile breakpoint\n$breakpoint-mobile: 1024px;\n\n// top-bar spacing\n$topbar-margin: 4px;\n\n// navigation spacing\n$app-navigation-settings-margin: 3px;\n"],sourceRoot:""}]),t.Z=a},5218:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,'.material-design-icon[data-v-295df2d8]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.modal-mask[data-v-295df2d8]{position:fixed;z-index:9998;top:0;left:0;display:block;width:100%;height:100%;background-color:rgba(0,0,0,.5)}.modal-mask--dark[data-v-295df2d8]{background-color:rgba(0,0,0,.92)}.modal-header[data-v-295df2d8]{position:absolute;z-index:10001;top:0;right:0;left:0;display:flex !important;align-items:center;justify-content:center;width:100%;height:50px;overflow:hidden;transition:opacity 250ms,visibility 250ms}.modal-header.invisible[style*="display:none"][data-v-295df2d8],.modal-header.invisible[style*="display: none"][data-v-295df2d8]{visibility:hidden}.modal-header .modal-title[data-v-295df2d8]{overflow-x:hidden;box-sizing:border-box;width:100%;padding:0 132px 0 12px;transition:padding ease 100ms;white-space:nowrap;text-overflow:ellipsis;color:#fff;font-size:14px;margin-bottom:0}@media only screen and (min-width: 1024px){.modal-header .modal-title[data-v-295df2d8]{padding-left:132px;text-align:center}}.modal-header .icons-menu[data-v-295df2d8]{position:absolute;right:0;display:flex;align-items:center;justify-content:flex-end}.modal-header .icons-menu .header-close[data-v-295df2d8]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:3px;padding:0}.modal-header .icons-menu .play-pause-icons[data-v-295df2d8]{position:relative;width:50px;height:50px;margin:0;padding:0;cursor:pointer;border:none;background-color:rgba(0,0,0,0)}.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__play[data-v-295df2d8],.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__pause[data-v-295df2d8],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__play[data-v-295df2d8],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__pause[data-v-295df2d8]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,.25)}.modal-header .icons-menu .play-pause-icons__play[data-v-295df2d8],.modal-header .icons-menu .play-pause-icons__pause[data-v-295df2d8]{box-sizing:border-box;width:44px;height:44px;margin:3px;cursor:pointer;opacity:.7}.modal-header .icons-menu .header-actions[data-v-295df2d8]{color:#fff}.modal-header .icons-menu[data-v-295df2d8]  .action-item{margin:3px}.modal-header .icons-menu[data-v-295df2d8]  .action-item--single{box-sizing:border-box;width:44px;height:44px;cursor:pointer;background-position:center;background-size:22px}.modal-header .icons-menu[data-v-295df2d8] button{color:#fff}.modal-header .icons-menu[data-v-295df2d8] .action-item__menutoggle{padding:0}.modal-header .icons-menu[data-v-295df2d8] .action-item__menutoggle span,.modal-header .icons-menu[data-v-295df2d8] .action-item__menutoggle svg{width:var(--icon-size);height:var(--icon-size)}.modal-wrapper[data-v-295df2d8]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.modal-wrapper .prev[data-v-295df2d8],.modal-wrapper .next[data-v-295df2d8]{z-index:10000;display:flex !important;height:35vw;position:absolute;transition:opacity 250ms,visibility 250ms;color:var(--color-primary-text)}.modal-wrapper .prev[data-v-295df2d8]:focus-visible,.modal-wrapper .next[data-v-295df2d8]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-text);background-color:var(--color-box-shadow)}.modal-wrapper .prev.invisible[style*="display:none"][data-v-295df2d8],.modal-wrapper .prev.invisible[style*="display: none"][data-v-295df2d8],.modal-wrapper .next.invisible[style*="display:none"][data-v-295df2d8],.modal-wrapper .next.invisible[style*="display: none"][data-v-295df2d8]{visibility:hidden}.modal-wrapper .prev[data-v-295df2d8]{left:2px}.modal-wrapper .next[data-v-295df2d8]{right:2px}.modal-wrapper .modal-container[data-v-295df2d8]{position:relative;display:block;overflow:auto;padding:0;transition:transform 300ms ease;border-radius:var(--border-radius-large);background-color:var(--color-main-background);box-shadow:0 0 40px rgba(0,0,0,.2)}.modal-wrapper .modal-container__close[data-v-295df2d8]{position:absolute;top:4px;right:4px}.modal-wrapper--small .modal-container[data-v-295df2d8]{width:400px;max-width:90%;max-height:90%}.modal-wrapper--normal .modal-container[data-v-295df2d8]{max-width:90%;width:600px;max-height:90%}.modal-wrapper--large .modal-container[data-v-295df2d8]{max-width:90%;width:900px;max-height:90%}.modal-wrapper--full .modal-container[data-v-295df2d8]{width:100%;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}@media only screen and (max-width: 512px){.modal-wrapper .modal-container[data-v-295df2d8]{max-width:initial;width:100%;max-height:initial;height:calc(100% - var(--header-height));position:absolute;top:50px;border-radius:0}}.fade-enter-active[data-v-295df2d8],.fade-leave-active[data-v-295df2d8]{transition:opacity 250ms}.fade-enter[data-v-295df2d8],.fade-leave-to[data-v-295df2d8]{opacity:0}.fade-visibility-enter[data-v-295df2d8],.fade-visibility-leave-to[data-v-295df2d8]{visibility:hidden;opacity:0}.modal-in-enter-active[data-v-295df2d8],.modal-in-leave-active[data-v-295df2d8],.modal-out-enter-active[data-v-295df2d8],.modal-out-leave-active[data-v-295df2d8]{transition:opacity 250ms}.modal-in-enter[data-v-295df2d8],.modal-in-leave-to[data-v-295df2d8],.modal-out-enter[data-v-295df2d8],.modal-out-leave-to[data-v-295df2d8]{opacity:0}.modal-in-enter .modal-container[data-v-295df2d8],.modal-in-leave-to .modal-container[data-v-295df2d8]{transform:scale(0.9)}.modal-out-enter .modal-container[data-v-295df2d8],.modal-out-leave-to .modal-container[data-v-295df2d8]{transform:scale(1.1)}.modal-mask .play-pause-icons .progress-ring[data-v-295df2d8]{position:absolute;top:0;left:0;transform:rotate(-90deg)}.modal-mask .play-pause-icons .progress-ring .progress-ring__circle[data-v-295df2d8]{transition:100ms stroke-dashoffset;transform-origin:50% 50%;animation:progressring-295df2d8 linear var(--slideshow-duration) infinite;stroke-linecap:round;stroke-dashoffset:94.2477796077;stroke-dasharray:94.2477796077}.modal-mask .play-pause-icons--paused .icon-pause[data-v-295df2d8]{animation:breath-295df2d8 2s cubic-bezier(0.4, 0, 0.2, 1) infinite}.modal-mask .play-pause-icons--paused .progress-ring__circle[data-v-295df2d8]{animation-play-state:paused !important}@keyframes progressring-295df2d8{from{stroke-dashoffset:94.2477796077}to{stroke-dashoffset:0}}@keyframes breath-295df2d8{0%{opacity:1}50%{opacity:0}100%{opacity:1}}',"",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/components/NcModal/NcModal.vue","webpack://./src/assets/variables.scss"],names:[],mappings:"AAGA,uCACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCLD,6BACC,cAAA,CACA,YAAA,CACA,KAAA,CACA,MAAA,CACA,aAAA,CACA,UAAA,CACA,WAAA,CACA,+BAAA,CACA,mCACC,gCAAA,CAIF,+BACC,iBAAA,CACA,aAAA,CACA,KAAA,CACA,OAAA,CACA,MAAA,CAGA,uBAAA,CACA,kBAAA,CACA,sBAAA,CACA,UAAA,CACA,WCuBe,CDtBf,eAAA,CACA,yCAAA,CAIA,iIAEC,iBAAA,CAGD,4CACC,iBAAA,CACA,qBAAA,CACA,UAAA,CACA,sBAAA,CACA,6BAAA,CACA,kBAAA,CACA,sBAAA,CACA,UAAA,CACA,cChBY,CDiBZ,eAAA,CAID,2CACC,4CACC,kBAAA,CACA,iBAAA,CAAA,CAIF,2CACC,iBAAA,CACA,OAAA,CACA,YAAA,CACA,kBAAA,CACA,wBAAA,CAEA,yDACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,qBAAA,CACA,UAAA,CACA,SAAA,CAGD,6DACC,iBAAA,CACA,UC3Ba,CD4Bb,WC5Ba,CD6Bb,QAAA,CACA,SAAA,CACA,cAAA,CACA,WAAA,CACA,8BAAA,CAGC,8WAEC,SC9CU,CD+CV,kBAAA,CACA,sCCxDW,CD2Db,uIAEC,qBAAA,CACA,UCzEa,CD0Eb,WC1Ea,CD2Eb,UAAA,CACA,cAAA,CACA,UC3Da,CD+Df,2DACC,UAAA,CAGD,yDACC,UAAA,CAEA,iEACC,qBAAA,CACA,UC1Fa,CD2Fb,WC3Fa,CD4Fb,cAAA,CACA,0BAAA,CACA,oBAAA,CAIF,kDAEC,UAAA,CAID,oEACC,SAAA,CACA,iJACC,sBAAA,CACA,uBAAA,CAMJ,gCACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,qBAAA,CACA,UAAA,CACA,WAAA,CAGA,4EAEC,aAAA,CAEA,uBAAA,CACA,WAAA,CACA,iBAAA,CACA,yCAAA,CAEA,+BAAA,CAEA,wGAEC,8CAAA,CACA,wCAAA,CAOD,8RAEC,iBAAA,CAGF,sCACC,QAAA,CAED,sCACC,SAAA,CAID,iDACC,iBAAA,CACA,aAAA,CACA,aAAA,CACA,SAAA,CACA,+BAAA,CACA,wCAAA,CACA,6CAAA,CACA,kCAAA,CACA,wDACC,iBAAA,CACA,OAAA,CACA,SAAA,CAMD,wDACC,WAAA,CACA,aAAA,CACA,cAAA,CAID,yDACC,aAAA,CACA,WAAA,CACA,cAAA,CAID,wDACC,aAAA,CACA,WAAA,CACA,cAAA,CAID,uDACC,UAAA,CACA,wCAAA,CACA,iBAAA,CACA,QC7Ka,CD8Kb,eAAA,CAKF,0CACC,iDACC,iBAAA,CACA,UAAA,CACA,kBAAA,CACA,wCAAA,CACA,iBAAA,CACA,QC1La,CD2Lb,eAAA,CAAA,CAMH,wEAEC,wBAAA,CAGD,6DAEC,SAAA,CAGD,mFAEC,iBAAA,CACA,SAAA,CAGD,kKAIC,wBAAA,CAGD,4IAIC,SAAA,CAGD,uGAEC,oBAAA,CAGD,yGAEC,oBAAA,CAQA,8DACC,iBAAA,CACA,KAAA,CACA,MAAA,CACA,wBAAA,CACA,qFACC,kCAAA,CACA,wBAAA,CACA,yEAAA,CAEA,oBAAA,CACA,+BAAA,CACA,8BAAA,CAID,mEACC,kEAAA,CAED,8EACC,sCAAA,CAMH,iCACC,KACC,+BAAA,CAED,GACC,mBAAA,CAAA,CAIF,2BACC,GACC,SAAA,CAED,IACC,SAAA,CAED,KACC,SAAA,CAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n\n\n.modal-mask {\n\tposition: fixed;\n\tz-index: 9998;\n\ttop: 0;\n\tleft: 0;\n\tdisplay: block;\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: rgba(0, 0, 0, .5);\n\t&--dark {\n\t\tbackground-color: rgba(0, 0, 0, .92);\n\t}\n}\n\n.modal-header {\n\tposition: absolute;\n\tz-index: 10001;\n\ttop: 0;\n\tright: 0;\n\tleft: 0;\n\t// prevent vue show to use display:none and reseting\n\t// the circle animation loop\n\tdisplay: flex !important;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\theight: $header-height;\n\toverflow: hidden;\n\ttransition: opacity 250ms,\n\t\tvisibility 250ms;\n\n\t// replace display by visibility\n\t&.invisible[style*='display:none'],\n\t&.invisible[style*='display: none'] {\n\t\tvisibility: hidden;\n\t}\n\n\t.modal-title {\n\t\toverflow-x: hidden;\n\t\tbox-sizing: border-box;\n\t\twidth: 100%;\n\t\tpadding: 0 #{$clickable-area * 3} 0 12px; // maximum actions is 3\n\t\ttransition: padding ease 100ms;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\tcolor: #fff;\n\t\tfont-size: $icon-margin;\n\t\tmargin-bottom: 0;\n\t}\n\n\t// On wider screens the title can be centered\n\t@media only screen and (min-width: $breakpoint-mobile) {\n\t\t.modal-title {\n\t\t\tpadding-left: #{$clickable-area * 3}; // maximum actions is 3\n\t\t\ttext-align: center;\n\t\t}\n\t}\n\n\t.icons-menu {\n\t\tposition: absolute;\n\t\tright: 0;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: flex-end;\n\n\t\t.header-close {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: math.div($header-height - $clickable-area, 2);\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.play-pause-icons {\n\t\t\tposition: relative;\n\t\t\twidth: $header-height;\n\t\t\theight: $header-height;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tcursor: pointer;\n\t\t\tborder: none;\n\t\t\tbackground-color: transparent;\n\t\t\t&:hover,\n\t\t\t&:focus {\n\t\t\t\t.play-pause-icons__play,\n\t\t\t\t.play-pause-icons__pause {\n\t\t\t\t\topacity: $opacity_full;\n\t\t\t\t\tborder-radius: math.div($clickable-area, 2);\n\t\t\t\t\tbackground-color: $icon-focus-bg;\n\t\t\t\t}\n\t\t\t}\n\t\t\t&__play,\n\t\t\t&__pause {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: $clickable-area;\n\t\t\t\theight: $clickable-area;\n\t\t\t\tmargin: math.div($header-height - $clickable-area, 2);\n\t\t\t\tcursor: pointer;\n\t\t\t\topacity: $opacity_normal;\n\t\t\t}\n\t\t}\n\n\t\t.header-actions {\n\t\t\tcolor: white;\n\t\t}\n\n\t\t&:deep() .action-item {\n\t\t\tmargin: math.div($header-height - $clickable-area, 2);\n\n\t\t\t&--single {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: $clickable-area;\n\t\t\t\theight: $clickable-area;\n\t\t\t\tcursor: pointer;\n\t\t\t\tbackground-position: center;\n\t\t\t\tbackground-size: 22px;\n\t\t\t}\n\t\t}\n\n\t\t:deep(button) {\n\t\t\t// force white instead of default main text\n\t\t\tcolor: #fff;\n\t\t}\n\n\t\t// Force the Actions menu icon to be the same size as other icons\n\t\t&:deep(.action-item__menutoggle) {\n\t\t\tpadding: 0;\n\t\t\tspan, svg {\n\t\t\t\twidth: var(--icon-size);\n\t\t\t\theight: var(--icon-size);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.modal-wrapper {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbox-sizing: border-box;\n\twidth: 100%;\n\theight: 100%;\n\n\t/* Navigation buttons */\n\t.prev,\n\t.next {\n\t\tz-index: 10000;\n\t\t// ignore display: none\n\t\tdisplay: flex !important;\n\t\theight: 35vw;\n\t\tposition: absolute;\n\t\ttransition: opacity 250ms,\n\t\t\tvisibility 250ms;\n\t\tcolor: var(--color-primary-text);\n\n\t\t&:focus-visible {\n\t\t\t// Override NcButton focus styles\n\t\t\tbox-shadow: 0 0 0 2px var(--color-primary-text);\n\t\t\tbackground-color: var(--color-box-shadow);\n\t\t}\n\n\t\t// we want to keep the elements on page\n\t\t// even if hidden to avoid having a unbalanced\n\t\t// centered content\n\t\t// replace display by visibility\n\t\t&.invisible[style*='display:none'],\n\t\t&.invisible[style*='display: none'] {\n\t\t\tvisibility: hidden;\n\t\t}\n\t}\n\t.prev {\n\t\tleft: 2px;\n\t}\n\t.next {\n\t\tright: 2px;\n\t}\n\n\t/* Content */\n\t.modal-container {\n\t\tposition: relative;\n\t\tdisplay: block;\n\t\toverflow: auto; // avoids unecessary hacks if the content should be bigger than the modal\n\t\tpadding: 0;\n\t\ttransition: transform 300ms ease;\n\t\tborder-radius: var(--border-radius-large);\n\t\tbackground-color: var(--color-main-background);\n\t\tbox-shadow: 0 0 40px rgba(0, 0, 0, .2);\n\t\t&__close {\n\t\t\tposition: absolute;\n\t\t\ttop: 4px;\n\t\t\tright: 4px;\n\t\t}\n\t}\n\n\t// Sizing\n\t&--small {\n\t\t.modal-container {\n\t\t\twidth: 400px;\n\t\t\tmax-width: 90%;\n\t\t\tmax-height: 90%;\n\t\t}\n\t}\n\t&--normal {\n\t\t.modal-container {\n\t\t\tmax-width: 90%;\n\t\t\twidth: 600px;\n\t\t\tmax-height: 90%;\n\t\t}\n\t}\n\t&--large {\n\t\t.modal-container {\n\t\t\tmax-width: 90%;\n\t\t\twidth: 900px;\n\t\t\tmax-height: 90%;\n\t\t}\n\t}\n\t&--full {\n\t\t.modal-container {\n\t\t\twidth: 100%;\n\t\t\theight: calc(100% - var(--header-height));\n\t\t\tposition: absolute;\n\t\t\ttop: $header-height;\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t// Make modal full screen on mobile\n\t@media only screen and (max-width: math.div($breakpoint-mobile, 2)) {\n\t\t.modal-container {\n\t\t\tmax-width: initial;\n\t\t\twidth: 100%;\n\t\t\tmax-height: initial;\n\t\t\theight: calc(100% - var(--header-height));\n\t\t\tposition: absolute;\n\t\t\ttop: $header-height;\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n}\n\n/* TRANSITIONS */\n.fade-enter-active,\n.fade-leave-active {\n\ttransition: opacity 250ms;\n}\n\n.fade-enter,\n.fade-leave-to {\n\topacity: 0;\n}\n\n.fade-visibility-enter,\n.fade-visibility-leave-to {\n\tvisibility: hidden;\n\topacity: 0;\n}\n\n.modal-in-enter-active,\n.modal-in-leave-active,\n.modal-out-enter-active,\n.modal-out-leave-active {\n\ttransition: opacity 250ms;\n}\n\n.modal-in-enter,\n.modal-in-leave-to,\n.modal-out-enter,\n.modal-out-leave-to {\n\topacity: 0;\n}\n\n.modal-in-enter .modal-container,\n.modal-in-leave-to .modal-container {\n\ttransform: scale(.9);\n}\n\n.modal-out-enter .modal-container,\n.modal-out-leave-to .modal-container {\n\ttransform: scale(1.1);\n}\n\n// animated circle\n$radius: 15;\n$pi: 3.14159265358979;\n\n.modal-mask .play-pause-icons {\n\t.progress-ring {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\ttransform: rotate(-90deg);\n\t\t.progress-ring__circle {\n\t\t\ttransition: 100ms stroke-dashoffset;\n\t\t\ttransform-origin: 50% 50%; // axis compensation\n\t\t\tanimation: progressring linear var(--slideshow-duration) infinite;\n\n\t\t\tstroke-linecap: round;\n\t\t\tstroke-dashoffset: $radius * 2 * $pi; // radius * 2 * PI\n\t\t\tstroke-dasharray: $radius * 2 * $pi; // radius * 2 * PI\n\t\t}\n\t}\n\t&--paused {\n\t\t.icon-pause {\n\t\t\tanimation: breath 2s cubic-bezier(.4, 0, .2, 1) infinite;\n\t\t}\n\t\t.progress-ring__circle {\n\t\t\tanimation-play-state: paused !important;\n\t\t}\n\t}\n}\n\n// keyframes get scoped too and break the animation name, we need them unscoped\n@keyframes progressring {\n\tfrom {\n\t\tstroke-dashoffset: $radius * 2 * $pi; // radius * 2 * PI\n\t}\n\tto {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes breath {\n\t0% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org/7-rules-for-mobile-ui-button-design-e9cf2ea54556\n// recommended is 48px\n// 44px is what we choose and have very good visual-to-usability ratio\n$clickable-area: 44px;\n\n// background icon size\n// also used for the scss icon font\n$icon-size: 16px;\n\n// icon padding for a $clickable-area width and a $icon-size icon\n// ( 44px - 16px ) / 2\n$icon-margin: math.div($clickable-area - $icon-size, 2);\n\n// transparency background for icons\n$icon-focus-bg: rgba(127, 127, 127, .25);\n\n// popovermenu arrow width from the triangle center\n$arrow-width: 9px;\n\n// opacities\n$opacity_disabled: .5;\n$opacity_normal: .7;\n$opacity_full: 1;\n\n// menu round background hover feedback\n// good looking on dark AND white bg\n$action-background-hover: rgba(127, 127, 127, .25);\n\n// various structure data used in the \n// `AppNavigation` component\n$header-height: 50px;\n$navigation-width: 300px;\n\n// mobile breakpoint\n$breakpoint-mobile: 1024px;\n\n// top-bar spacing\n$topbar-margin: 4px;\n\n// navigation spacing\n$app-navigation-settings-margin: 3px;\n"],sourceRoot:""}]),t.Z=a},978:function(e,t,n){"use strict";var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.resize-observer{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:rgba(0,0,0,0);pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper--theme-dropdown.v-popper__popper{z-index:100000;top:0;left:0;display:block !important;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.v-popper--theme-dropdown.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius);overflow:hidden;background:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper .v-popper__arrow-container{position:absolute;z-index:1;width:0;height:0;border-style:solid;border-color:rgba(0,0,0,0);border-width:10px}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-container{bottom:-10px;border-bottom-width:0;border-top-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:-10px;border-top-width:0;border-bottom-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-container{left:-10px;border-left-width:0;border-right-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px;border-right-width:0;border-left-color:var(--color-main-background)}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}.v-popper--theme-dropdown.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}","",{version:3,sources:["webpack://./src/assets/material-icons.css","webpack://./src/components/NcPopover/NcPopover.vue"],names:[],mappings:"AAGA,sBACC,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,sBAAA,CCLD,iBACC,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,UAAA,CACA,WAAA,CACA,WAAA,CACA,8BAAA,CACA,mBAAA,CACA,aAAA,CACA,eAAA,CACA,SAAA,CAGD,wBACC,aAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,WAAA,CACA,UAAA,CACA,eAAA,CACA,mBAAA,CACA,UAAA,CAMA,2CACC,cAAA,CACA,KAAA,CACA,MAAA,CACA,wBAAA,CAEA,sDAAA,CAEA,4DACC,SAAA,CACA,4BAAA,CACA,kCAAA,CACA,eAAA,CACA,uCAAA,CAGD,sEACC,iBAAA,CACA,SAAA,CACA,OAAA,CACA,QAAA,CACA,kBAAA,CACA,0BAAA,CACA,iBA1BW,CA6BZ,kGACC,YAAA,CACA,qBAAA,CACA,6CAAA,CAGD,qGACC,SAAA,CACA,kBAAA,CACA,gDAAA,CAGD,oGACC,UAAA,CACA,mBAAA,CACA,+CAAA,CAGD,mGACC,WAAA,CACA,oBAAA,CACA,8CAAA,CAGD,6DACC,iBAAA,CACA,2EAAA,CACA,SAAA,CAGD,8DACC,kBAAA,CACA,yCAAA,CACA,SAAA",sourcesContent:["/*\n* Ensure proper alignment of the vue material icons\n*/\n.material-design-icon {\n\tdisplay: flex;\n\talign-self: center;\n\tjustify-self: center;\n\talign-items: center;\n\tjustify-content: center;\n}\n","@use 'sass:math'; $scope_version:\"78efc74\"; @import 'variables'; @import 'material-icons';\n\n\n.resize-observer {\n\tposition:absolute;\n\ttop:0;\n\tleft:0;\n\tz-index:-1;\n\twidth:100%;\n\theight:100%;\n\tborder:none;\n\tbackground-color:transparent;\n\tpointer-events:none;\n\tdisplay:block;\n\toverflow:hidden;\n\topacity:0\n}\n\n.resize-observer object {\n\tdisplay:block;\n\tposition:absolute;\n\ttop:0;\n\tleft:0;\n\theight:100%;\n\twidth:100%;\n\toverflow:hidden;\n\tpointer-events:none;\n\tz-index:-1\n}\n\n$arrow-width: 10px;\n\n.v-popper--theme-dropdown {\n\t&.v-popper__popper {\n\t\tz-index: 100000;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tdisplay: block !important;\n\n\t\tfilter: drop-shadow(0 1px 10px var(--color-box-shadow));\n\n\t\t.v-popper__inner {\n\t\t\tpadding: 0;\n\t\t\tcolor: var(--color-main-text);\n\t\t\tborder-radius: var(--border-radius);\n\t\t\toverflow: hidden;\n\t\t\tbackground: var(--color-main-background);\n\t\t}\n\n\t\t.v-popper__arrow-container {\n\t\t\tposition: absolute;\n\t\t\tz-index: 1;\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t\tborder-color: transparent;\n\t\t\tborder-width: $arrow-width;\n\t\t}\n\n\t\t&[data-popper-placement^='top'] .v-popper__arrow-container {\n\t\t\tbottom: -$arrow-width;\n\t\t\tborder-bottom-width: 0;\n\t\t\tborder-top-color: var(--color-main-background);\n\t\t}\n\n\t\t&[data-popper-placement^='bottom'] .v-popper__arrow-container {\n\t\t\ttop: -$arrow-width;\n\t\t\tborder-top-width: 0;\n\t\t\tborder-bottom-color: var(--color-main-background);\n\t\t}\n\n\t\t&[data-popper-placement^='right'] .v-popper__arrow-container {\n\t\t\tleft: -$arrow-width;\n\t\t\tborder-left-width: 0;\n\t\t\tborder-right-color: var(--color-main-background);\n\t\t}\n\n\t\t&[data-popper-placement^='left'] .v-popper__arrow-container {\n\t\t\tright: -$arrow-width;\n\t\t\tborder-right-width: 0;\n\t\t\tborder-left-color: var(--color-main-background);\n\t\t}\n\n\t\t&[aria-hidden='true'] {\n\t\t\tvisibility: hidden;\n\t\t\ttransition: opacity var(--animation-quick), visibility var(--animation-quick);\n\t\t\topacity: 0;\n\t\t}\n\n\t\t&[aria-hidden='false'] {\n\t\t\tvisibility: visible;\n\t\t\ttransition: opacity var(--animation-quick);\n\t\t\topacity: 1;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]),t.Z=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,p="".concat(u," ").concat(c);i[u]=c+1;var d=n(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var h=o(f,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},5727:function(){},2102:function(){},9989:function(){},2405:function(){},1900:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}n.d(t,{Z:function(){return r}})},754:function(e){"use strict";e.exports=n(3955)},9454:function(e){"use strict";e.exports=n(7444)},4505:function(e){"use strict";e.exports=n(4291)},2640:function(e){"use strict";e.exports=n(840)},2734:function(e){"use strict";e.exports=n(8725)},9044:function(e){"use strict";e.exports=n(1355)},8618:function(e){"use strict";e.exports=n(1894)},1441:function(e){"use strict";e.exports=n(5098)}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return function(){"use strict";o.r(i),o.d(i,{default:function(){return G}});var e=o(7645),t=o(1206),r=o(932),a=o(1205),s=o(3648),l=o(1438),u=o(4846);function c(e,t){var n,r,o,i=t;this.start=function(){o=!0,r=new Date,n=setTimeout(e,i)},this.pause=function(){o=!1,clearTimeout(n),i-=new Date-r},this.clear=function(){o=!1,clearTimeout(n),i=0},this.getTimeLeft=function(){return o&&(this.pause(),this.start()),i},this.getStateRunning=function(){return o},this.start()}var p=o(336),d=n(9784),f=o.n(d),h=o(9044),m=o.n(h),g=o(8618),v=o.n(g),y=n(1826),b=o.n(y),A=n(9516),C=o.n(A),w=o(4505),x=o(2640),E=o.n(x);function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var k={name:"NcModal",components:{NcActions:l.default,ChevronLeft:f(),ChevronRight:m(),Close:v(),Pause:b(),Play:C(),NcButton:u.default},directives:{tooltip:p.default},mixins:[s.Z],props:{title:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},slideshowDelay:{type:Number,default:5e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:function(e){return["small","normal","large","full"].includes(e)}},canClose:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:[String,null],default:"body"},closeButtonContained:{type:Boolean,default:!0},additionalTrapElements:{type:Array,default:function(){return[]}},inlineActions:{type:Number,default:0}},emits:["previous","next","close"],data:function(){return{mc:null,showModal:!1,playing:!1,slideshowTimeout:null,iconSize:24,focusTrap:null,randId:(0,a.Z)()}},computed:{modalTransitionName:function(){return"modal-".concat(this.outTransition?"out":"in")},playPauseTitle:function(){return this.playing?(0,r.t)("Pause slideshow"):(0,r.t)("Start slideshow")},cssVariables:function(){return{"--slideshow-duration":this.slideshowDelay+"ms","--icon-size":this.iconSize+"px"}},closeButtonAriaLabel:function(){return(0,r.t)("Close modal")},prevButtonAriaLabel:function(){return(0,r.t)("Previous")},nextButtonAriaLabel:function(){return(0,r.t)("Next")}},watch:{slideshowPaused:function(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())},additionalTrapElements:function(e){if(this.focusTrap){var t=this.$refs.mask;this.focusTrap.updateContainerElements([t].concat(function(e){if(Array.isArray(e))return _(e)}(n=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}var n}},beforeMount:function(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy:function(){window.removeEventListener("keydown",this.handleKeydown),this.mc.off("swipeleft swiperight"),this.mc.destroy()},mounted:function(){var e=this;this.showModal=!0,this.useFocusTrap(),this.mc=new(E())(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(t){e.handleSwipe(t)})),this.container&&("body"===this.container?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el))},destroyed:function(){this.clearFocusTrap(),this.$el.remove()},methods:{previous:function(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next:function(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close:function(e){var t=this;this.canClose&&(this.showModal=!1,setTimeout((function(){t.$emit("close",e)}),300))},handleKeydown:function(e){switch(e.keyCode){case 37:this.previous(e);break;case 13:case 39:this.next(e);break;case 27:this.close(e)}},handleSwipe:function(e){this.enableSwipe&&("swipeleft"===e.type?this.next(e):"swiperight"===e.type&&this.previous(e))},togglePlayPause:function(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow:function(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick((function(){this.togglePlayPause()}))},handleSlideshow:function(){var e=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new c((function(){e.next(),e.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()},useFocusTrap:function(){var e=this,n=this.$refs.mask;this.$nextTick((function(){e.focusTrap=(0,w.createFocusTrap)(n,{allowOutsideClick:!0,trapStack:(0,t.L)()}),e.focusTrap.activate()}))},clearFocusTrap:function(){var e;null===(e=this.focusTrap)||void 0===e||e.deactivate(),this.focusTrap=null}}},S=o(3379),D=o.n(S),T=o(7795),O=o.n(T),P=o(569),L=o.n(P),F=o(3565),j=o.n(F),B=o(9216),I=o.n(B),N=o(4589),M=o.n(N),R=o(5218),z={};z.styleTagTransform=M(),z.setAttributes=j(),z.insert=L().bind(null,"head"),z.domAPI=O(),z.insertStyleElement=I(),D()(R.Z,z),R.Z&&R.Z.locals&&R.Z.locals;var U=o(1900),$=o(9989),H=o.n($),q=(0,U.Z)(k,(function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade"}},[t("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark},style:e.cssVariables,attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"modal-title-"+e.randId,"aria-describedby":"modal-description-"+e.randId}},[t("transition",{attrs:{name:"fade-visibility"}},[t("div",{staticClass:"modal-header"},[""!==e.title.trim()?t("h2",{staticClass:"modal-title",attrs:{id:"modal-title-"+e.randId}},[e._v("\n\t\t\t\t\t"+e._s(e.title)+"\n\t\t\t\t")]):e._e(),e._v(" "),t("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseTitle,expression:"playPauseTitle",modifiers:{auto:!0}}],staticClass:"play-pause-icons",class:{"play-pause-icons--paused":e.slideshowPaused},attrs:{type:"button"},on:{click:e.togglePlayPause}},[e.playing?t("Pause",{staticClass:"play-pause-icons__pause",attrs:{size:e.iconSize}}):t("Play",{staticClass:"play-pause-icons__play",attrs:{size:e.iconSize}}),e._v(" "),t("span",{staticClass:"hidden-visually"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.playPauseTitle)+"\n\t\t\t\t\t\t")]),e._v(" "),e.playing?t("svg",{staticClass:"progress-ring",attrs:{height:"50",width:"50"}},[t("circle",{staticClass:"progress-ring__circle",attrs:{stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"}})]):e._e()],1):e._e(),e._v(" "),t("NcActions",{staticClass:"header-actions",attrs:{inline:e.inlineActions}},[e._t("actions")],2),e._v(" "),e.canClose&&!e.closeButtonContained?t("NcButton",{staticClass:"header-close",attrs:{"aria-label":e.closeButtonAriaLabel,type:"tertiary"},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:e.iconSize}})]},proxy:!0}],null,!1,1841713362)}):e._e()],1)])]),e._v(" "),t("transition",{attrs:{name:e.modalTransitionName}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal-wrapper",class:["modal-wrapper--".concat(e.size),e.spreadNavigation?"modal-wrapper--spread-navigation":""],on:{mousedown:function(t){return t.target!==t.currentTarget?null:e.close.apply(null,arguments)}}},[t("transition",{attrs:{name:"fade-visibility"}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasPrevious,expression:"hasPrevious"}],staticClass:"prev",class:{invisible:!e.hasPrevious},attrs:{type:"tertiary-no-background","aria-label":e.prevButtonAriaLabel},on:{click:e.previous},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronLeft",{attrs:{size:40}})]},proxy:!0}])})],1),e._v(" "),t("div",{staticClass:"modal-container",attrs:{id:"modal-description-"+e.randId}},[e._t("default"),e._v(" "),e.canClose&&e.closeButtonContained?t("NcButton",{staticClass:"modal-container__close",attrs:{type:"tertiary","aria-label":e.closeButtonAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close",{attrs:{size:20}})]},proxy:!0}],null,!1,2121748766)}):e._e()],2),e._v(" "),t("transition",{attrs:{name:"fade-visibility"}},[t("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"next",class:{invisible:!e.hasNext},attrs:{type:"tertiary-no-background","aria-label":e.nextButtonAriaLabel},on:{click:e.next},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ChevronRight",{attrs:{size:40}})]},proxy:!0}])})],1)],1)])],1)])}),[],!1,null,"295df2d8",null);"function"==typeof H()&&H()(q);var V=q.exports;(0,e.Z)(V);var G=V}(),i}()},358:e=>{self,e.exports=function(){"use strict";var e={};return function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}(e),e.default={data:function(){return{isFullscreen:this._isFullscreen()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isFullscreen=this._isFullscreen()},_isFullscreen:function(){return window.outerHeight===screen.height}}},e}()},3344:(e,t,n)=>{self,e.exports=function(){"use strict";var e={2734:function(e){e.exports=n(8725)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){r.r(o),r.d(o,{default:function(){return n}});var e=r(2734),t=new(r.n(e)())({data:function(){return{isMobile:!1}},watch:{isMobile:function(e){this.$emit("changed",e)}},created:function(){window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(){this.isMobile=document.documentElement.clientWidth<1024}}}),n={data:function(){return{isMobile:!1}},mounted:function(){t.$on("changed",this.onIsMobileChanged),this.isMobile=t.isMobile},beforeDestroy:function(){t.$off("changed",this.onIsMobileChanged)},methods:{onIsMobileChanged:function(e){this.isMobile=e}}}}(),o}()},8583:(e,t,n)=>{"use strict";var r=n(7418);function o(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0}function i(e){return n.g.Buffer&&"function"==typeof n.g.Buffer.isBuffer?n.g.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(69),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u="foo"===function(){}.name;function c(e){return Object.prototype.toString.call(e)}function p(e){return!i(e)&&("function"==typeof n.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var d=e.exports=y,f=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(a.isFunction(e)){if(u)return e.name;var t=e.toString().match(f);return t&&t[1]}}function m(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(u||!a.isFunction(e))return a.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function v(e,t,n,r,o){throw new d.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:o})}function y(e,t){e||v(e,!0,t,"==",d.ok)}function b(e,t,n,r){if(e===t)return!0;if(i(e)&&i(t))return 0===o(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(p(e)&&p(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===o(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=A(e),i=A(t);if(o&&!i||!o&&i)return!1;if(o)return b(e=l.call(e),t=l.call(t),n);var s,u,c=x(e),p=x(t);if(c.length!==p.length)return!1;for(c.sort(),p.sort(),u=c.length-1;u>=0;u--)if(c[u]!==p[u])return!1;for(u=c.length-1;u>=0;u--)if(!b(e[s=c[u]],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function A(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function C(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function w(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&v(o,n,"Missing expected exception"+r);var i="string"==typeof r,s=!e&&o&&!n;if((!e&&a.isError(o)&&i&&C(o,n)||s)&&v(o,n,"Got unwanted exception"+r),e&&o&&n&&!C(o,n)||!e&&o)throw o}d.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,o=h(t),i=r.indexOf("\n"+o);if(i>=0){var a=r.indexOf("\n",i+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(d.AssertionError,Error),d.fail=v,d.ok=y,d.equal=function(e,t,n){e!=t&&v(e,t,n,"==",d.equal)},d.notEqual=function(e,t,n){e==t&&v(e,t,n,"!=",d.notEqual)},d.deepEqual=function(e,t,n){b(e,t,!1)||v(e,t,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(e,t,n){b(e,t,!0)||v(e,t,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){b(e,t,!1)&&v(e,t,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&v(t,n,r,"notDeepStrictEqual",e)},d.strictEqual=function(e,t,n){e!==t&&v(e,t,n,"===",d.strictEqual)},d.notStrictEqual=function(e,t,n){e===t&&v(e,t,n,"!==",d.notStrictEqual)},d.throws=function(e,t,n){w(!0,e,t,n)},d.doesNotThrow=function(e,t,n){w(!1,e,t,n)},d.ifError=function(e){if(e)throw e},d.strict=r((function e(t,n){t||v(t,!0,n,"==",e)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}},6076:e=>{"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},2014:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},69:(e,t,n)=>{var r=n(4155),o=n(5108),i=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])g(s)||!C(s)?a+=" "+s:a+=" "+l(s);return a},t.deprecate=function(e,i){if(b(n.g.process))return function(){return t.deprecate(e,i).apply(this,arguments)};if(!0===r.noDeprecation)return e;var a=!1;return function(){if(!a){if(r.throwDeprecation)throw new Error(i);r.traceDeprecation?o.trace(i):o.error(i),a=!0}return e.apply(this,arguments)}};var a,s={};function l(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),p(r,e,r.depth)}function u(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function c(e,t){return e}function p(e,n,r){if(e.customInspect&&n&&E(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return y(o)||(o=p(e,o,r)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),x(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(E(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return d(n)}var u,c="",C=!1,_=["{","}"];(h(n)&&(C=!0,_=["[","]"]),E(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return A(n)&&(c=" "+RegExp.prototype.toString.call(n)),w(n)&&(c=" "+Date.prototype.toUTCString.call(n)),x(n)&&(c=" "+d(n)),0!==a.length||C&&0!=n.length?r<0?A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=C?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)T(t,String(a))?i.push(f(e,t,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,n,r,o,!0))})),i}(e,n,r,s,a):a.map((function(t){return f(e,n,r,s,t,C)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,c,_)):_[0]+c+_[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(l.value)<0?(s=g(n)?p(e,l.value,null):p(e,l.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function A(e){return C(e)&&"[object RegExp]"===_(e)}function C(e){return"object"==typeof e&&null!==e}function w(e){return C(e)&&"[object Date]"===_(e)}function x(e){return C(e)&&("[object Error]"===_(e)||e instanceof Error)}function E(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(a)&&(a=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);o.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=m,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=A,t.isObject=C,t.isDate=w,t.isError=x,t.isFunction=E,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(2014);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=n(6076),t._extend=function(e,t){if(!t||!C(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}},1569:(e,t,n)=>{function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=n(1450),i=n(50),a=i.MAX_LENGTH,s=i.MAX_SAFE_INTEGER,l=n(200),u=l.re,c=l.t,p=n(9490),d=n(6327).compareIdentifiers,f=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=p(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>a)throw new TypeError("version is longer than ".concat(a," characters"));o("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?u[c.LOOSE]:u[c.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}var t,n,i;return t=e,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(o("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),d(this.major,t.major)||d(this.minor,t.minor)||d(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],i=t.prerelease[n];if(o("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return d(r,i)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],i=t.build[n];if(o("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return d(r,i)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(0===d(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}])&&r(t.prototype,n),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=f},4140:(e,t,n)=>{var r=n(1569);e.exports=function(e,t){return new r(e,t).major}},6534:(e,t,n)=>{var r=n(50).MAX_LENGTH,o=n(200),i=o.re,a=o.t,s=n(1569),l=n(9490);e.exports=function(e,t){if(t=l(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[a.LOOSE]:i[a.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},7562:(e,t,n)=>{var r=n(6534);e.exports=function(e,t){var n=r(e,t);return n?n.version:null}},50:e=>{var t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},1450:(e,t,n)=>{var r=n(4155),o=n(5108);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a="object"===(void 0===r?"undefined":i(r))&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o).error.apply(e,["SEMVER"].concat(n))}:function(){};e.exports=a},6327:e=>{var t=/^[0-9]+$/,n=function(e,n){var r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:function(e,t){return n(t,e)}}},9490:e=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}var n=["includePrerelease","loose","rtl"];e.exports=function(e){return e?"object"!==t(e)?{loose:!0}:n.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}}},200:(e,t,n)=>{var r=n(50).MAX_SAFE_COMPONENT_LENGTH,o=n(1450),i=(t=e.exports={}).re=[],a=t.src=[],s=t.t={},l=0,u=function(e,t,n){var r=l++;o(e,r,t),s[e]=r,a[r]=t,i[r]=new RegExp(t,n?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION","(".concat(a[s.NUMERICIDENTIFIER],")\\.")+"(".concat(a[s.NUMERICIDENTIFIER],")\\.")+"(".concat(a[s.NUMERICIDENTIFIER],")")),u("MAINVERSIONLOOSE","(".concat(a[s.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[s.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[s.NUMERICIDENTIFIERLOOSE],")")),u("PRERELEASEIDENTIFIER","(?:".concat(a[s.NUMERICIDENTIFIER],"|").concat(a[s.NONNUMERICIDENTIFIER],")")),u("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[s.NUMERICIDENTIFIERLOOSE],"|").concat(a[s.NONNUMERICIDENTIFIER],")")),u("PRERELEASE","(?:-(".concat(a[s.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[s.PRERELEASEIDENTIFIER],")*))")),u("PRERELEASELOOSE","(?:-?(".concat(a[s.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[s.PRERELEASEIDENTIFIERLOOSE],")*))")),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD","(?:\\+(".concat(a[s.BUILDIDENTIFIER],"(?:\\.").concat(a[s.BUILDIDENTIFIER],")*))")),u("FULLPLAIN","v?".concat(a[s.MAINVERSION]).concat(a[s.PRERELEASE],"?").concat(a[s.BUILD],"?")),u("FULL","^".concat(a[s.FULLPLAIN],"$")),u("LOOSEPLAIN","[v=\\s]*".concat(a[s.MAINVERSIONLOOSE]).concat(a[s.PRERELEASELOOSE],"?").concat(a[s.BUILD],"?")),u("LOOSE","^".concat(a[s.LOOSEPLAIN],"$")),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE","".concat(a[s.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),u("XRANGEIDENTIFIER","".concat(a[s.NUMERICIDENTIFIER],"|x|X|\\*")),u("XRANGEPLAIN","[v=\\s]*(".concat(a[s.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[s.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[s.XRANGEIDENTIFIER],")")+"(?:".concat(a[s.PRERELEASE],")?").concat(a[s.BUILD],"?")+")?)?"),u("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[s.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[s.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[s.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(a[s.PRERELEASELOOSE],")?").concat(a[s.BUILD],"?")+")?)?"),u("XRANGE","^".concat(a[s.GTLT],"\\s*").concat(a[s.XRANGEPLAIN],"$")),u("XRANGELOOSE","^".concat(a[s.GTLT],"\\s*").concat(a[s.XRANGEPLAINLOOSE],"$")),u("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),u("COERCERTL",a[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM","(\\s*)".concat(a[s.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",u("TILDE","^".concat(a[s.LONETILDE]).concat(a[s.XRANGEPLAIN],"$")),u("TILDELOOSE","^".concat(a[s.LONETILDE]).concat(a[s.XRANGEPLAINLOOSE],"$")),u("LONECARET","(?:\\^)"),u("CARETTRIM","(\\s*)".concat(a[s.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",u("CARET","^".concat(a[s.LONECARET]).concat(a[s.XRANGEPLAIN],"$")),u("CARETLOOSE","^".concat(a[s.LONECARET]).concat(a[s.XRANGEPLAINLOOSE],"$")),u("COMPARATORLOOSE","^".concat(a[s.GTLT],"\\s*(").concat(a[s.LOOSEPLAIN],")$|^$")),u("COMPARATOR","^".concat(a[s.GTLT],"\\s*(").concat(a[s.FULLPLAIN],")$|^$")),u("COMPARATORTRIM","(\\s*)".concat(a[s.GTLT],"\\s*(").concat(a[s.LOOSEPLAIN],"|").concat(a[s.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE","^\\s*(".concat(a[s.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(a[s.XRANGEPLAIN],")")+"\\s*$"),u("HYPHENRANGELOOSE","^\\s*(".concat(a[s.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(a[s.XRANGEPLAINLOOSE],")")+"\\s*$"),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},3566:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=n(9472).buildOptions,i={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:"  ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},a=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function s(e){this.options=o(e,i,a),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=g),this.options.cdataTagName?this.isCDATA=v:this.isCDATA=function(){return!1},this.replaceCDATAstr=u,this.replaceCDATAarr=c,this.processTextOrObjNode=l,this.options.format?(this.indentate=m,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=h,this.buildObjNode=d):(this.buildTextNode=f,this.buildObjNode=p),this.buildTextValNode=f,this.buildObjectNode=p}function l(e,t,n){var r=this.j2x(e,n+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextNode(r.val,t,r.attrStr,n):this.buildObjNode(r.val,t,r.attrStr,n)}function u(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function c(e,t){if(e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e)return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(var n in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[n]+"]]>");return e+this.newLine}function p(e,t,n,r){return n&&-1===e.indexOf("<")?this.indentate(r)+"<"+t+n+">"+e+"</"+t+this.tagEndChar:this.indentate(r)+"<"+t+n+this.tagEndChar+e+this.indentate(r)+"</"+t+this.tagEndChar}function d(e,t,n,r){return""!==e?this.buildObjectNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function f(e,t,n,r){return this.indentate(r)+"<"+t+n+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function h(e,t,n,r){return""!==e?this.buildTextValNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function m(e){return this.options.indentBy.repeat(e)}function g(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}function v(e){return e===this.options.cdataTagName}s.prototype.parse=function(e){var t,n,r;return Array.isArray(e)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(t={},n=this.options.rootNodeName,r=e,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e=t),this.j2x(e,0).val},s.prototype.j2x=function(e,t){var n="",o="";for(var i in e)if(void 0===e[i]);else if(null===e[i])o+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)o+=this.buildTextNode(e[i],i,"",t);else if("object"!==r(e[i])){var a=this.isAttribute(i);a?n+=" "+a+'="'+this.options.attrValueProcessor(""+e[i])+'"':this.isCDATA(i)?e[this.options.textNodeName]?o+=this.replaceCDATAstr(e[this.options.textNodeName],e[i]):o+=this.replaceCDATAstr("",e[i]):i===this.options.textNodeName?e[this.options.cdataTagName]||(o+=this.options.tagValueProcessor(""+e[i])):o+=this.buildTextNode(e[i],i,"",t)}else if(Array.isArray(e[i]))if(this.isCDATA(i))o+=this.indentate(t),e[this.options.textNodeName]?o+=this.replaceCDATAarr(e[this.options.textNodeName],e[i]):o+=this.replaceCDATAarr("",e[i]);else for(var s=e[i].length,l=0;l<s;l++){var u=e[i][l];void 0===u||(null===u?o+=this.indentate(t)+"<"+i+"/"+this.tagEndChar:"object"===r(u)?o+=this.processTextOrObjNode(u,i,t):o+=this.buildTextNode(u,i,"",t))}else if(this.options.attrNodeName&&i===this.options.attrNodeName)for(var c=Object.keys(e[i]),p=c.length,d=0;d<p;d++)n+=" "+c[d]+'="'+this.options.attrValueProcessor(""+e[i][c[d]])+'"';else o+=this.processTextOrObjNode(e[i],i,t);return{attrStr:n,val:o}},e.exports=s},3996:(e,t,n)=>{"use strict";var r=function(e){return String.fromCharCode(e)},o={nilChar:r(176),missingChar:r(201),nilPremitive:r(175),missingPremitive:r(200),emptyChar:r(178),emptyValue:r(177),boundryChar:r(179),objStart:r(198),arrStart:r(204),arrayEnd:r(185)},i=[o.nilChar,o.nilPremitive,o.missingChar,o.missingPremitive,o.boundryChar,o.emptyChar,o.emptyValue,o.arrayEnd,o.objStart,o.arrStart],a=function e(t,n,r){if("string"==typeof n)return t&&t[0]&&void 0!==t[0].val?s(t[0].val,n):s(t,n);var i,a=void 0===(i=t)?o.missingChar:null===i?o.nilChar:!(i.child&&0===Object.keys(i.child).length&&(!i.attrsMap||0===Object.keys(i.attrsMap).length))||o.emptyChar;if(!0===a){var u="";if(Array.isArray(n)){u+=o.arrStart;var c=n[0],p=t.length;if("string"==typeof c)for(var d=0;d<p;d++){var f=s(t[d].val,c);u=l(u,f)}else for(var h=0;h<p;h++){var m=e(t[h],c,r);u=l(u,m)}u+=o.arrayEnd}else{u+=o.objStart;var g=Object.keys(n);for(var v in Array.isArray(t)&&(t=t[0]),g){var y=g[v],b=void 0;b=!r.ignoreAttributes&&t.attrsMap&&t.attrsMap[y]?e(t.attrsMap[y],n[y],r):y===r.textNodeName?e(t.val,n[y],r):e(t.child[y],n[y],r),u=l(u,b)}}return u}return a},s=function(e){switch(e){case void 0:return o.missingPremitive;case null:return o.nilPremitive;case"":return o.emptyValue;default:return e}},l=function(e,t){return u(t[0])||u(e[e.length-1])||(e+=o.boundryChar),e+t},u=function(e){return-1!==i.indexOf(e)};var c=n(9143),p=n(9472).buildOptions;t.convert2nimn=function(e,t,n){return n=p(n,c.defaultOptions,c.props),a(e,t,n)}},375:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=n(9472);t.convertToJson=function e(t,n,i){var a={};if(!n.alwaysCreateTextNode&&(!t.child||o.isEmptyObject(t.child))&&(!t.attrsMap||o.isEmptyObject(t.attrsMap)))return o.isExist(t.val)?t.val:"";if(o.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)){var s=o.isTagNameInArrayMode(t.tagname,n.arrayMode,i);a[n.textNodeName]=s?[t.val]:t.val}o.merge(a,t.attrsMap,n.arrayMode);for(var l=Object.keys(t.child),u=0;u<l.length;u++){var c=l[u];if(t.child[c]&&t.child[c].length>1)for(var p in a[c]=[],t.child[c])t.child[c].hasOwnProperty(p)&&a[c].push(e(t.child[c][p],n,c));else{var d=e(t.child[c][0],n,c),f=!0===n.arrayMode&&"object"===r(d)||o.isTagNameInArrayMode(c,n.arrayMode,i);a[c]=f?[d]:d}}return a}},2846:(e,t,n)=>{"use strict";var r=n(9472),o=n(9472).buildOptions,i=n(9143),a=function e(t,n,o){for(var i,a="{",s=Object.keys(t.child),l=0;l<s.length;l++){var u=s[l];if(t.child[u]&&t.child[u].length>1){for(var c in a+='"'+u+'" : [ ',t.child[u])a+=e(t.child[u][c],n)+" , ";a=a.substr(0,a.length-1)+" ] "}else a+='"'+u+'" : '+e(t.child[u][0],n)+" ,"}return r.merge(a,t.attrsMap),r.isEmptyObject(a)?r.isExist(t.val)?t.val:"":(r.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)&&(a+='"'+n.textNodeName+'" : '+(!0!==(i=t.val)&&!1!==i&&isNaN(i)?'"'+i+'"':i)),","===a[a.length-1]&&(a=a.substr(0,a.length-2)),a+"}")};t.convertToJsonString=function(e,t){return(t=o(t,i.defaultOptions,i.props)).indentBy=t.indentBy||"",a(e,t,0)}},7857:(e,t,n)=>{"use strict";n(5108);var r=n(375),o=n(9143),i=n(9143),a=n(9472).buildOptions,s=n(5495);t.parse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(n){!0===n&&(n={});var l=s.validate(e,n);if(!0!==l)throw Error(l.err.msg)}t.parseTrueNumberOnly&&!1!==t.parseNodeValue&&!t.numParseOptions&&(t.numParseOptions={leadingZeros:!1});var u=a(t,i.defaultOptions,i.props),c=o.getTraversalObj(e,u);return r.convertToJson(c,u)},t.convertTonimn=n(3996).convert2nimn,t.getTraversalObj=o.getTraversalObj,t.convertToJson=r.convertToJson,t.convertToJsonString=n(2846).convertToJsonString,t.validate=s.validate,t.j2xParser=n(3566),t.parseToNimn=function(e,n,r){return t.convertTonimn(t.getTraversalObj(e,r),n,r)}},9472:(e,t)=>{"use strict";var n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+r+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t)for(var r=Object.keys(t),o=r.length,i=0;i<o;i++)e[r[i]]="strict"===n?[t[r[i]]]:t[r[i]]},t.getValue=function(e){return t.isExist(e)?e:""},t.buildOptions=function(e,t,n){var r={};if(!e)return t;for(var o=0;o<n.length;o++)void 0!==e[n[o]]?r[n[o]]=e[n[o]]:r[n[o]]=t[n[o]];return r},t.isTagNameInArrayMode=function(e,t,n){return!1!==t&&(t instanceof RegExp?t.test(e):"function"==typeof t?!!t(e,n):"strict"===t)},t.isName=function(e){var t=o.exec(e);return!(null==t)},t.getAllMatches=function(e,t){for(var n=[],r=t.exec(e);r;){var o=[];o.startIndex=t.lastIndex-r[0].length;for(var i=r.length,a=0;a<i;a++)o.push(r[a]);n.push(o),r=t.exec(e)}return n},t.nameRegexp=r},5495:(e,t,n)=>{"use strict";var r=n(9472),o={allowBooleanAttributes:!1},i=["allowBooleanAttributes"];function a(e,t){for(var n=t;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{var r=e.substr(n,t-n);if(t>5&&"xml"===r)return d("InvalidXml","XML declaration allowed only at the start of the document.",h(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&0===--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=r.buildOptions(t,o,i);var n,u=[],f=!1,m=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var g=0;g<e.length;g++)if("<"===e[g]&&"?"===e[g+1]){if((g=a(e,g+=2)).err)return g}else{if("<"!==e[g]){if(" "===e[g]||"\t"===e[g]||"\n"===e[g]||"\r"===e[g])continue;return d("InvalidChar","char '"+e[g]+"' is not expected.",h(e,g))}var v=g;if("!"===e[++g]){g=s(e,g);continue}var y=!1;"/"===e[g]&&(y=!0,g++);for(var b="";g<e.length&&">"!==e[g]&&" "!==e[g]&&"\t"!==e[g]&&"\n"!==e[g]&&"\r"!==e[g];g++)b+=e[g];if("/"===(b=b.trim())[b.length-1]&&(b=b.substring(0,b.length-1),g--),n=b,!r.isName(n)){return d("InvalidTag",0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",h(e,g))}var A=l(e,g);if(!1===A)return d("InvalidAttr","Attributes for '"+b+"' have open quote.",h(e,g));var C=A.value;if(g=A.index,"/"===C[C.length-1]){var w=g-C.length,x=c(C=C.substring(0,C.length-1),t);if(!0!==x)return d(x.err.code,x.err.msg,h(e,w+x.err.line));f=!0}else if(y){if(!A.tagClosed)return d("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",h(e,g));if(C.trim().length>0)return d("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",h(e,v));var E=u.pop();if(b!==E.tagName){var _=h(e,E.tagStartPos);return d("InvalidTag","Expected closing tag '"+E.tagName+"' (opened in line "+_.line+", col "+_.col+") instead of closing tag '"+b+"'.",h(e,v))}0==u.length&&(m=!0)}else{var k=c(C,t);if(!0!==k)return d(k.err.code,k.err.msg,h(e,g-C.length+k.err.line));if(!0===m)return d("InvalidXml","Multiple possible root nodes found.",h(e,g));u.push({tagName:b,tagStartPos:v}),f=!0}for(g++;g<e.length;g++)if("<"===e[g]){if("!"===e[g+1]){g=s(e,++g);continue}if("?"!==e[g+1])break;if((g=a(e,++g)).err)return g}else if("&"===e[g]){var S=p(e,g);if(-1==S)return d("InvalidChar","char '&' is not expected.",h(e,g));g=S}"<"===e[g]&&g--}return f?1==u.length?d("InvalidTag","Unclosed tag '"+u[0].tagName+"'.",h(e,u[0].tagStartPos)):!(u.length>0)||d("InvalidXml","Invalid '"+JSON.stringify(u.map((function(e){return e.tagName})),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):d("InvalidXml","Start tag expected.",1)};function l(e,t){for(var n="",r="",o=!1;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){o=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:o}}var u=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function c(e,t){for(var n=r.getAllMatches(e,u),o={},i=0;i<n.length;i++){if(0===n[i][1].length)return d("InvalidAttr","Attribute '"+n[i][2]+"' has no space in starting.",m(n[i]));if(void 0===n[i][3]&&!t.allowBooleanAttributes)return d("InvalidAttr","boolean attribute '"+n[i][2]+"' is not allowed.",m(n[i]));var a=n[i][2];if(!f(a))return d("InvalidAttr","Attribute '"+a+"' is an invalid name.",m(n[i]));if(o.hasOwnProperty(a))return d("InvalidAttr","Attribute '"+a+"' is repeated.",m(n[i]));o[a]=1}return!0}function p(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){var n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);for(var n=0;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function d(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function f(e){return r.isName(e)}function h(e,t){var n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function m(e){return e.startIndex+e[1].length}},5806:e=>{"use strict";e.exports=function(e,t,n){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=n,this.addChild=function(e){Array.isArray(this.child[e.tagname])?this.child[e.tagname].push(e):this.child[e.tagname]=[e]}}},9143:(e,t,n)=>{"use strict";var r=n(9472),o=n(9472).buildOptions,i=n(5806),a=n(4153);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var s={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};t.defaultOptions=s;var l=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];function u(e,t,n){return t&&(n.trimValues&&(t=t.trim()),t=p(t=n.tagValueProcessor(t,e),n.parseNodeValue,n.numParseOptions)),t}function c(e,t){if(t.ignoreNameSpace){var n=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===n[0])return"";2===n.length&&(e=r+n[1])}return e}function p(e,t,n){if(t&&"string"==typeof e){var o=e.trim();return"true"===o||"false"!==o&&a(e,n)}return r.isExist(e)?e:""}t.props=l;var d=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function f(e,t){if(!t.ignoreAttributes&&"string"==typeof e){e=e.replace(/\r?\n/g," ");for(var n=r.getAllMatches(e,d),o=n.length,i={},a=0;a<o;a++){var s=c(n[a][1],t);s.length&&(void 0!==n[a][4]?(t.trimValues&&(n[a][4]=n[a][4].trim()),n[a][4]=t.attrValueProcessor(n[a][4],s),i[t.attributeNamePrefix+s]=p(n[a][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+s]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){var l={};return l[t.attrNodeName]=i,l}return i}}function h(e,t){for(var n,r="",o=t;o<e.length;o++){var i=e[o];if(n)i===n&&(n="");else if('"'===i||"'"===i)n=i;else{if(">"===i)return{data:r,index:o};"\t"===i&&(i=" ")}r+=i}}function m(e,t,n,r){var o=e.indexOf(t,n);if(-1===o)throw new Error(r);return o+t.length-1}t.getTraversalObj=function(e,t){e=e.replace(/\r\n?/g,"\n"),t=o(t,s,l);for(var n=new i("!xml"),a=n,c="",p=0;p<e.length;p++){if("<"===e[p])if("/"===e[p+1]){var d=m(e,">",p,"Closing Tag is not closed."),g=e.substring(p+2,d).trim();if(t.ignoreNameSpace){var v=g.indexOf(":");-1!==v&&(g=g.substr(v+1))}a&&(a.val?a.val=r.getValue(a.val)+""+u(g,c,t):a.val=u(g,c,t)),t.stopNodes.length&&t.stopNodes.includes(a.tagname)&&(a.child=[],null==a.attrsMap&&(a.attrsMap={}),a.val=e.substr(a.startIndex+1,p-a.startIndex-1)),a=a.parent,c="",p=d}else if("?"===e[p+1])p=m(e,"?>",p,"Pi Tag is not closed.");else if("!--"===e.substr(p+1,3))p=m(e,"--\x3e",p,"Comment is not closed.");else if("!D"===e.substr(p+1,2)){var y=m(e,">",p,"DOCTYPE is not closed.");p=e.substring(p,y).indexOf("[")>=0?e.indexOf("]>",p)+1:y}else if("!["===e.substr(p+1,2)){var b=m(e,"]]>",p,"CDATA is not closed.")-2,A=e.substring(p+9,b);if(c&&(a.val=r.getValue(a.val)+""+u(a.tagname,c,t),c=""),t.cdataTagName){var C=new i(t.cdataTagName,a,A);a.addChild(C),a.val=r.getValue(a.val)+t.cdataPositionChar,A&&(C.val=A)}else a.val=(a.val||"")+(A||"");p=b+2}else{var w=h(e,p+1),x=w.data,E=w.index,_=x.indexOf(" "),k=x,S=!0;if(-1!==_&&(k=x.substr(0,_).replace(/\s\s*$/,""),x=x.substr(_+1)),t.ignoreNameSpace){var D=k.indexOf(":");-1!==D&&(S=(k=k.substr(D+1))!==w.data.substr(D+1))}if(a&&c&&"!xml"!==a.tagname&&(a.val=r.getValue(a.val)+""+u(a.tagname,c,t)),x.length>0&&x.lastIndexOf("/")===x.length-1){x="/"===k[k.length-1]?k=k.substr(0,k.length-1):x.substr(0,x.length-1);var T=new i(k,a,"");k!==x&&(T.attrsMap=f(x,t)),a.addChild(T)}else{var O=new i(k,a);t.stopNodes.length&&t.stopNodes.includes(O.tagname)&&(O.startIndex=E),k!==x&&S&&(O.attrsMap=f(x,t)),a.addChild(O),a=O}c="",p=E}else c+=e[p]}return n}},3169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequence=void 0,t.sequence=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)throw new Error("Failed creating sequence: No functions provided");return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t,o=this;e.length>0;){var i=e.shift();r=[i.apply(o,r)]}return r[0]}}},353:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.HotPatcher=void 0;var i=n(4857);Object.defineProperty(t,"HotPatcher",{enumerable:!0,get:function(){return i.HotPatcher}}),o(n(9896),t)},4857:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.HotPatcher=void 0;var o=n(3169),i="@@HOTPATCHER",a=function(){};function s(e){return{original:e,methods:[e],final:!1}}var l=function(){function e(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=i}return Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getEmptyAction",{get:function(){return this.configuration.getEmptyAction},set:function(e){this.configuration.getEmptyAction=e},enumerable:!1,configurable:!0}),e.prototype.control=function(e,t){var n=this;if(void 0===t&&(t=!1),!e||e.__type__!==i)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach((function(r){n.configuration.registry.hasOwnProperty(r)?t&&(n.configuration.registry[r]=Object.assign({},e.configuration.registry[r])):n.configuration.registry[r]=Object.assign({},e.configuration.registry[r])})),e._configuration=this.configuration,this},e.prototype.execute=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.get(e)||a;return r.apply(void 0,t)},e.prototype.get=function(e){var t=this.configuration.registry[e];if(!t)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error("Failed handling method request: No method provided for override: ".concat(e));default:throw new Error("Failed handling request which resulted in an empty method: Invalid empty-action specified: ".concat(this.getEmptyAction))}return o.sequence.apply(void 0,t.methods)},e.prototype.isPatched=function(e){return!!this.configuration.registry[e]},e.prototype.patch=function(e,t,n){void 0===n&&(n={});var r=n.chain,o=void 0!==r&&r;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw new Error("Failed patching '".concat(e,"': Method marked as being final"));if("function"!=typeof t)throw new Error("Failed patching '".concat(e,"': Provided method is not a function"));if(o)this.configuration.registry[e]?this.configuration.registry[e].methods.push(t):this.configuration.registry[e]=s(t);else if(this.isPatched(e)){var i=this.configuration.registry[e].original;this.configuration.registry[e]=Object.assign(s(t),{original:i})}else this.configuration.registry[e]=s(t);return this},e.prototype.patchInline=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return this.isPatched(e)||this.patch(e,t),this.execute.apply(this,r([e],n,!1))},e.prototype.plugin=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return n.forEach((function(n){t.patch(e,n,{chain:!0})})),this},e.prototype.restore=function(e){if(!this.isPatched(e))throw new Error("Failed restoring method: No method present for key: ".concat(e));if("function"!=typeof this.configuration.registry[e].original)throw new Error("Failed restoring method: Original method not found or of invalid type for key: ".concat(e));return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this},e.prototype.setFinal=function(e){if(!this.configuration.registry.hasOwnProperty(e))throw new Error("Failed marking '".concat(e,"' as final: No method found for key"));return this.configuration.registry[e].final=!0,this},e}();t.HotPatcher=l},9896:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateBasicAuthHeader=void 0;var r=n(1050);t.generateBasicAuthHeader=function(e,t){var n=(0,r.toBase64)("".concat(e,":").concat(t));return"Basic ".concat(n)}},4332:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseDigestAuth=t.generateDigestAuthHeader=t.createDigestContext=void 0;var o=r(n(2568)),i=n(7265),a="abcdef0123456789";t.createDigestContext=function(e,t){return{username:e,password:t,nc:0,algorithm:"md5",hasDigestAuth:!1}},t.generateDigestAuthHeader=function(e,t){var n=e.url.replace("//",""),r=-1==n.indexOf("/")?"/":n.slice(n.indexOf("/")),a=e.method?e.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(t.qop)&&"auth",l="00000000".concat(t.nc).slice(-8),u=(0,i.ha1Compute)(t.algorithm,t.username,t.realm,t.password,t.nonce,t.cnonce),c=(0,o.default)("".concat(a,":").concat(r)),p=s?(0,o.default)("".concat(u,":").concat(t.nonce,":").concat(l,":").concat(t.cnonce,":").concat(s,":").concat(c)):(0,o.default)("".concat(u,":").concat(t.nonce,":").concat(c)),d={username:t.username,realm:t.realm,nonce:t.nonce,uri:r,qop:s,response:p,nc:l,cnonce:t.cnonce,algorithm:t.algorithm,opaque:t.opaque},f=[];for(var h in d)d[h]&&("qop"===h||"nc"===h||"algorithm"===h?f.push("".concat(h,"=").concat(d[h])):f.push("".concat(h,'="').concat(d[h],'"')));return"Digest ".concat(f.join(", "))},t.parseDigestAuth=function(e,t){var n=e.headers["www-authenticate"]||"";if("digest"!==n.split(/\s/)[0].toLowerCase())return!1;for(var r=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var o=r.exec(n);if(!o)break;t[o[1]]=o[2]||o[3]}return t.nc+=1,t.cnonce=function(){for(var e="",t=0;t<32;++t)e="".concat(e).concat(a[Math.floor(Math.random()*a.length)]);return e}(),!0}},6590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupAuth=void 0;var r=n(3572),o=n(4332),i=n(7164),a=n(7531),s=n(4918);t.setupAuth=function(e,t,n,l){switch(e.authType){case s.AuthType.Digest:e.digest=(0,o.createDigestContext)(t,n);break;case s.AuthType.None:break;case s.AuthType.Password:e.headers.Authorization=(0,i.generateBasicAuthHeader)(t,n);break;case s.AuthType.Token:e.headers.Authorization=(0,a.generateTokenAuthHeader)(l);break;default:throw new r.Layerr({info:{code:s.ErrorCode.InvalidAuthType}},"Invalid auth type: ".concat(e.authType))}}},7531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateTokenAuthHeader=void 0,t.generateTokenAuthHeader=function(e){return"".concat(e.token_type," ").concat(e.access_token)}},7125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayBuffer=void 0;var n="function"==typeof ArrayBuffer,r=Object.prototype.toString;t.isArrayBuffer=function(e){return n&&(e instanceof ArrayBuffer||"[object ArrayBuffer]"===r.call(e))}},7620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBuffer=void 0,t.isBuffer=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},1578:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPatcher=void 0;var r=n(353),o=null;t.getPatcher=function(){return o||(o=new r.HotPatcher),o}},1798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=void 0;var r=n(2953),o=n(6590),i=n(8613),a=n(9217),s=n(1780),l=n(8625),u=n(6470),c=n(1163),p=n(8857),d=n(969),f=n(9821),h=n(4658),m=n(3009),g=n(8050),v=n(5411),y=n(4918);t.createClient=function(e,t){void 0===t&&(t={});var n=t.authType,b=void 0===n?null:n,A=t.contactHref,C=void 0===A?"https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md":A,w=t.headers,x=void 0===w?{}:w,E=t.httpAgent,_=t.httpsAgent,k=t.maxBodyLength,S=t.maxContentLength,D=t.password,T=t.token,O=t.username,P=t.withCredentials,L=b;L||(L=O||D?y.AuthType.Password:y.AuthType.None);var F={authType:L,contactHref:C,headers:Object.assign({},x),httpAgent:E,httpsAgent:_,maxBodyLength:k,maxContentLength:S,remotePath:(0,r.extractURLPath)(e),remoteURL:e,password:D,token:T,username:O,withCredentials:P};return(0,o.setupAuth)(F,O,D,T),{copyFile:function(e,t,n){return(0,i.copyFile)(F,e,t,n)},createDirectory:function(e,t){return(0,a.createDirectory)(F,e,t)},createReadStream:function(e,t){return(0,s.createReadStream)(F,e,t)},createWriteStream:function(e,t,n){return(0,s.createWriteStream)(F,e,t,n)},customRequest:function(e,t){return(0,l.customRequest)(F,e,t)},deleteFile:function(e,t){return(0,u.deleteFile)(F,e,t)},exists:function(e,t){return(0,c.exists)(F,e,t)},getDirectoryContents:function(e,t){return(0,p.getDirectoryContents)(F,e,t)},getFileContents:function(e,t){return(0,d.getFileContents)(F,e,t)},getFileDownloadLink:function(e){return(0,d.getFileDownloadLink)(F,e)},getFileUploadLink:function(e){return(0,v.getFileUploadLink)(F,e)},getHeaders:function(){return Object.assign({},F.headers)},getQuota:function(e){return(0,h.getQuota)(F,e)},lock:function(e,t){return(0,f.lock)(F,e,t)},moveFile:function(e,t,n){return(0,g.moveFile)(F,e,t,n)},putFileContents:function(e,t,n){return(0,v.putFileContents)(F,e,t,n)},setHeaders:function(e){F.headers=Object.assign({},e)},stat:function(e,t){return(0,m.getStat)(F,e,t)},unlock:function(e,t,n){return(0,f.unlock)(F,e,t,n)}}}},8796:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseXML=t.parseStat=t.getPatcher=t.createClient=void 0;var i=n(1798);Object.defineProperty(t,"createClient",{enumerable:!0,get:function(){return i.createClient}});var a=n(1578);Object.defineProperty(t,"getPatcher",{enumerable:!0,get:function(){return a.getPatcher}}),o(n(4918),t);var s=n(1097);Object.defineProperty(t,"parseStat",{enumerable:!0,get:function(){return s.parseStat}}),Object.defineProperty(t,"parseXML",{enumerable:!0,get:function(){return s.parseXML}})},8613:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.copyFile=void 0;var i=n(2953),a=n(1180),s=n(4601),l=n(1640);t.copyFile=function(e,t,n,u){return void 0===u&&(u={}),r(this,void 0,void 0,(function(){var r,c;return o(this,(function(o){switch(o.label){case 0:return r=(0,s.prepareRequestOptions)({url:(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(t)),method:"COPY",headers:{Destination:(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(n))}},e,u),[4,(0,s.request)(r)];case 1:return c=o.sent(),(0,l.handleResponseCode)(e,c),[2]}}))}))}},9217:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.createDirectory=void 0;var a=n(2953),s=n(1180),l=n(4601),u=n(1640),c=n(3009);function p(e,t,n){return void 0===n&&(n={}),o(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return!0===n.recursive?[2,f(e,t,n)]:(r=(0,l.prepareRequestOptions)({url:(0,a.joinURL)(e.remoteURL,d((0,s.encodePath)(t))),method:"MKCOL"},e,n),[4,(0,l.request)(r)]);case 1:return o=i.sent(),(0,u.handleResponseCode)(e,o),[2]}}))}))}function d(e){return e.endsWith("/")?e:e+"/"}function f(e,t,n){return void 0===n&&(n={}),o(this,void 0,void 0,(function(){var o,a,l,u,d,f;return i(this,(function(i){switch(i.label){case 0:(o=(0,s.getAllDirectories)((0,s.normalisePath)(t))).sort((function(e,t){return e.length>t.length?1:t.length>e.length?-1:0})),a=!1,l=0,u=o,i.label=1;case 1:return l<u.length?(d=u[l],a?[4,p(e,d,r(r({},n),{recursive:!1}))]:[3,3]):[3,10];case 2:return i.sent(),[3,9];case 3:return i.trys.push([3,5,,9]),[4,(0,c.getStat)(e,d)];case 4:if("directory"!==i.sent().type)throw new Error("Path includes a file: ".concat(t));return[3,9];case 5:return f=i.sent(),404!==f.status?[3,7]:(a=!0,[4,p(e,d,r(r({},n),{recursive:!1}))]);case 6:return i.sent(),[3,8];case 7:throw f;case 8:return[3,9];case 9:return l++,[3,1];case 10:return[2]}}))}))}t.createDirectory=p},1780:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createWriteStream=t.createReadStream=void 0;var s=a(n(6901)),l=n(2953),u=n(1180),c=n(4601),p=n(1640),d=function(){};t.createReadStream=function(e,t,n){void 0===n&&(n={});var a=new(0,s.default.PassThrough);return function(e,t,n){void 0===n&&(n={});return o(this,void 0,void 0,(function(){var o,a,s,d,f;return i(this,(function(i){switch(i.label){case 0:return o={},"object"===r(n.range)&&"number"==typeof n.range.start&&(a="bytes=".concat(n.range.start,"-"),"number"==typeof n.range.end&&(a="".concat(a).concat(n.range.end)),o.Range=a),s=(0,c.prepareRequestOptions)({url:(0,l.joinURL)(e.remoteURL,(0,u.encodePath)(t)),method:"GET",headers:o,responseType:"stream"},e,n),[4,(0,c.request)(s)];case 1:if(d=i.sent(),(0,p.handleResponseCode)(e,d),o.Range&&206!==d.status)throw(f=new Error("Invalid response code for partial request: ".concat(d.status))).status=d.status,f;return n.callback&&setTimeout((function(){n.callback(d)}),0),[2,d.data]}}))}))}(e,t,n).then((function(e){e.pipe(a)})).catch((function(e){a.emit("error",e)})),a},t.createWriteStream=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r=d);var o=new(0,s.default.PassThrough),i={};!1===n.overwrite&&(i["If-None-Match"]="*");var a=(0,c.prepareRequestOptions)({url:(0,l.joinURL)(e.remoteURL,(0,u.encodePath)(t)),method:"PUT",headers:i,data:o,maxRedirects:0},e,n);return(0,c.request)(a).then((function(t){return(0,p.handleResponseCode)(e,t)})).then((function(e){setTimeout((function(){r(e)}),0)})).catch((function(e){o.emit("error",e)})),o}},8625:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.customRequest=void 0;var i=n(2953),a=n(1180),s=n(4601),l=n(1640);t.customRequest=function(e,t,n){return r(this,void 0,void 0,(function(){var r,u;return o(this,(function(o){switch(o.label){case 0:return n.url||(n.url=(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(t))),r=(0,s.prepareRequestOptions)(n,e,{}),[4,(0,s.request)(r)];case 1:return u=o.sent(),(0,l.handleResponseCode)(e,u),[2,u]}}))}))}},6470:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.deleteFile=void 0;var i=n(2953),a=n(1180),s=n(4601),l=n(1640);t.deleteFile=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,u;return o(this,(function(o){switch(o.label){case 0:return r=(0,s.prepareRequestOptions)({url:(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(t)),method:"DELETE"},e,n),[4,(0,s.request)(r)];case 1:return u=o.sent(),(0,l.handleResponseCode)(e,u),[2]}}))}))}},8857:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getDirectoryContents=void 0;var a=i(n(3722)),s=n(2953),l=n(1180),u=n(1097),c=n(4601),p=n(1640);t.getDirectoryContents=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,i,d,f,h;return o(this,(function(o){switch(o.label){case 0:return r=(0,c.prepareRequestOptions)({url:(0,s.joinURL)(e.remoteURL,(0,l.encodePath)(t),"/"),method:"PROPFIND",headers:{Accept:"text/plain",Depth:n.deep?"infinity":"1"},responseType:"text"},e,n),[4,(0,c.request)(r)];case 1:return i=o.sent(),(0,p.handleResponseCode)(e,i),[4,(0,u.parseXML)(i.data)];case 2:return d=o.sent(),f=t.startsWith("/")?t:"/"+t,h=function(e,t,n,r){void 0===r&&(r=!1);var o=a.default.join(t,"/");return e.multistatus.response.map((function(e){var t=(0,s.normaliseHREF)(e.href),n=e.propstat.prop,i="/"===o?decodeURIComponent((0,l.normalisePath)(t)):decodeURIComponent((0,l.normalisePath)(a.default.relative(o,t)));return(0,u.prepareFileFromProps)(n,i,r)})).filter((function(e){return e.basename&&("file"===e.type||e.filename!==n.replace(/\/$/,""))}))}(d,e.remotePath,f,n.details),n.glob&&(h=(0,p.processGlobFilter)(h,n.glob)),[2,(0,p.processResponsePayload)(i,h,n.details)]}}))}))}},1163:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.exists=void 0;var i=n(3009);t.exists=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,(0,i.getStat)(e,t,n)];case 1:return o.sent(),[2,!0];case 2:if(404===(r=o.sent()).status)return[2,!1];throw r;case 3:return[2]}}))}))}},969:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFileDownloadLink=t.getFileContents=void 0;var i=n(3572),a=n(2953),s=n(1180),l=n(1050),u=n(4601),c=n(1640),p=n(4918),d=function(e){return e};function f(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,i;return o(this,(function(o){switch(o.label){case 0:return r=(0,u.prepareRequestOptions)({url:(0,a.joinURL)(e.remoteURL,(0,s.encodePath)(t)),method:"GET",responseType:"arraybuffer"},e,n),[4,(0,u.request)(r)];case 1:return i=o.sent(),(0,c.handleResponseCode)(e,i),[2,(0,c.processResponsePayload)(i,i.data,n.details)]}}))}))}function h(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,i;return o(this,(function(o){switch(o.label){case 0:return r=(0,u.prepareRequestOptions)({url:(0,a.joinURL)(e.remoteURL,(0,s.encodePath)(t)),method:"GET",responseType:"text",transformResponse:[d]},e,n),[4,(0,u.request)(r)];case 1:return i=o.sent(),(0,c.handleResponseCode)(e,i),[2,(0,c.processResponsePayload)(i,i.data,n.details)]}}))}))}t.getFileContents=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,a;return o(this,(function(o){if(r=n.format,"binary"!==(a=void 0===r?"binary":r)&&"text"!==a)throw new i.Layerr({info:{code:p.ErrorCode.InvalidOutputFormat}},"Invalid output format: ".concat(a));return[2,"text"===a?h(e,t,n):f(e,t,n)]}))}))},t.getFileDownloadLink=function(e,t){var n=(0,a.joinURL)(e.remoteURL,(0,s.encodePath)(t)),r=/^https:/i.test(n)?"https":"http";switch(e.authType){case p.AuthType.None:break;case p.AuthType.Password:var o=e.headers.Authorization.replace(/^Basic /i,"").trim(),u=(0,l.fromBase64)(o);n=n.replace(/^https?:\/\//,"".concat(r,"://").concat(u,"@"));break;default:throw new i.Layerr({info:{code:p.ErrorCode.LinkUnsupportedAuthType}},"Unsupported auth type for file link: ".concat(e.authType))}return n}},4658:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getQuota=void 0;var i=n(4601),a=n(1640),s=n(1097),l=n(2953),u=n(4232);t.getQuota=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var n,r,c,p,d;return o(this,(function(o){switch(o.label){case 0:return n=t.path||"/",r=(0,i.prepareRequestOptions)({url:(0,l.joinURL)(e.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain",Depth:"0"},responseType:"text"},e,t),[4,(0,i.request)(r)];case 1:return c=o.sent(),(0,a.handleResponseCode)(e,c),[4,(0,s.parseXML)(c.data)];case 2:return p=o.sent(),d=(0,u.parseQuota)(p),[2,(0,a.processResponsePayload)(c,d,t.details)]}}))}))}},9821:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.unlock=t.lock=void 0;var a=i(n(5070)),s=n(2953),l=n(1180),u=n(7310),c=n(4601),p=n(1640);t.lock=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,i,d,f,h,m,g,v;return o(this,(function(o){switch(o.label){case 0:return r=n.refreshToken,i=n.timeout,d={Accept:"text/plain,application/xml",Timeout:void 0===i?"Infinite, Second-4100000000":i},r&&(d.If=r),f=(0,c.prepareRequestOptions)({url:(0,s.joinURL)(e.remoteURL,(0,l.encodePath)(t)),method:"LOCK",headers:d,data:(0,u.generateLockXML)(e.contactHref),responseType:"text"},e,n),[4,(0,c.request)(f)];case 1:if(h=o.sent(),(0,p.handleResponseCode)(e,h),m=(0,u.parseGenericResponse)(h.data),g=a.default.get(m,"prop.lockdiscovery.activelock.locktoken.href"),v=a.default.get(m,"prop.lockdiscovery.activelock.timeout"),!g)throw(0,p.createErrorFromResponse)(h,"No lock token received: ");return[2,{token:g,serverTimeout:v}]}}))}))},t.unlock=function(e,t,n,i){return void 0===i&&(i={}),r(this,void 0,void 0,(function(){var r,a;return o(this,(function(o){switch(o.label){case 0:return r=(0,c.prepareRequestOptions)({url:(0,s.joinURL)(e.remoteURL,(0,l.encodePath)(t)),method:"UNLOCK",headers:{"Lock-Token":n}},e,i),[4,(0,c.request)(r)];case 1:if(a=o.sent(),(0,p.handleResponseCode)(e,a),204!==a.status&&200!==a.status)throw(0,p.createErrorFromResponse)(a);return[2]}}))}))}},8050:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.moveFile=void 0;var i=n(2953),a=n(1180),s=n(4601),l=n(1640);t.moveFile=function(e,t,n,u){return void 0===u&&(u={}),r(this,void 0,void 0,(function(){var r,c;return o(this,(function(o){switch(o.label){case 0:return r=(0,s.prepareRequestOptions)({url:(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(t)),method:"MOVE",headers:{Destination:(0,i.joinURL)(e.remoteURL,(0,a.encodePath)(n))}},e,u),[4,(0,s.request)(r)];case 1:return c=o.sent(),(0,l.handleResponseCode)(e,c),[2]}}))}))}},5411:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFileUploadLink=t.putFileContents=void 0;var a=n(3572),s=i(n(6901)),l=n(1050),u=n(2953),c=n(1180),p=n(4601),d=n(1640),f=n(4858),h=n(4918);t.putFileContents=function(e,t,n,i){return void 0===i&&(i={}),r(this,void 0,void 0,(function(){var r,a,l,h,m,g,v,y;return o(this,(function(o){switch(o.label){case 0:return r=i.contentLength,a=void 0===r||r,l=i.overwrite,h=void 0===l||l,m={"Content-Type":"application/octet-stream"},"undefined"==typeof WEB&&void 0!==s.default&&void 0!==(null===s.default||void 0===s.default?void 0:s.default.Readable)&&n instanceof s.default.Readable||!1===a||(m["Content-Length"]="".concat("number"==typeof a?a:(0,f.calculateDataLength)(n))),h||(m["If-None-Match"]="*"),g=(0,p.prepareRequestOptions)({url:(0,u.joinURL)(e.remoteURL,(0,c.encodePath)(t)),method:"PUT",headers:m,data:n},e,i),[4,(0,p.request)(g)];case 1:v=o.sent();try{(0,d.handleResponseCode)(e,v)}catch(e){if(412!==(y=e).status||h)throw y;return[2,!1]}return[2,!0]}}))}))},t.getFileUploadLink=function(e,t){var n="".concat((0,u.joinURL)(e.remoteURL,(0,c.encodePath)(t)),"?Content-Type=application/octet-stream"),r=/^https:/i.test(n)?"https":"http";switch(e.authType){case h.AuthType.None:break;case h.AuthType.Password:var o=e.headers.Authorization.replace(/^Basic /i,"").trim(),i=(0,l.fromBase64)(o);n=n.replace(/^https?:\/\//,"".concat(r,"://").concat(i,"@"));break;default:throw new a.Layerr({info:{code:h.ErrorCode.LinkUnsupportedAuthType}},"Unsupported auth type for file link: ".concat(e.authType))}return n}},3009:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getStat=void 0;var i=n(1097),a=n(2953),s=n(1180),l=n(4601),u=n(1640);t.getStat=function(e,t,n){return void 0===n&&(n={}),r(this,void 0,void 0,(function(){var r,c,p,d,f,h;return o(this,(function(o){switch(o.label){case 0:return r=n.details,c=void 0!==r&&r,p=(0,l.prepareRequestOptions)({url:(0,a.joinURL)(e.remoteURL,(0,s.encodePath)(t)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"},responseType:"text"},e,n),[4,(0,l.request)(p)];case 1:return d=o.sent(),(0,u.handleResponseCode)(e,d),[4,(0,i.parseXML)(d.data)];case 2:return f=o.sent(),h=(0,i.parseStat)(f,t,c),[2,(0,u.processResponsePayload)(d,h,c)]}}))}))}},4601:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.prepareRequestOptions=void 0;var o=r(n(2276)),i=n(1578),a=n(4332),s=n(2926),l=n(3831);function u(e){return(0,i.getPatcher)().patchInline("request",(function(e){return(0,o.default)(e)}),e)}t.prepareRequestOptions=function(e,t,n){var r=(0,s.cloneShallow)(e);return r.headers=(0,l.mergeHeaders)(t.headers,r.headers||{},n.headers||{}),void 0!==n.data&&(r.data=n.data),n.signal&&(r.signal=n.signal),t.httpAgent&&(r.httpAgent=t.httpAgent),t.httpsAgent&&(r.httpsAgent=t.httpsAgent),t.digest&&(r._digest=t.digest),"boolean"==typeof t.withCredentials&&(r.withCredentials=t.withCredentials),t.maxContentLength&&(r.maxContentLength=t.maxContentLength),t.maxBodyLength&&(r.maxBodyLength=t.maxBodyLength),n.hasOwnProperty("onUploadProgress")&&(r.onUploadProgress=n.onUploadProgress),n.hasOwnProperty("onDownloadProgress")&&(r.onDownloadProgress=n.onDownloadProgress),r.validateStatus=function(){return!0},r},t.request=function(e){if(!e._digest)return u(e);var t=e._digest;return delete e._digest,t.hasDigestAuth&&(e=(0,s.merge)(e,{headers:{Authorization:(0,a.generateDigestAuthHeader)(e,t)}})),u(e).then((function(n){if(401==n.status){if(t.hasDigestAuth=(0,a.parseDigestAuth)(n,t),t.hasDigestAuth)return u(e=(0,s.merge)(e,{headers:{Authorization:(0,a.generateDigestAuthHeader)(e,t)}})).then((function(e){return 401==e.status?t.hasDigestAuth=!1:t.nc++,e}))}else t.nc++;return n}))}},1640:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.processResponsePayload=t.processGlobFilter=t.handleResponseCode=t.createErrorFromResponse=void 0;var o=r(n(7420));function i(e,t){void 0===t&&(t="");var n=new Error("".concat(t,"Invalid response: ").concat(e.status," ").concat(e.statusText));return n.status=e.status,n.response=e,n}t.createErrorFromResponse=i,t.handleResponseCode=function(e,t){var n=t.status;if(401===n&&e.digest)return t;if(n>=400)throw i(t);return t},t.processGlobFilter=function(e,t){return e.filter((function(e){return(0,o.default)(e.filename,t,{matchBase:!0})}))},t.processResponsePayload=function(e,t,n){return void 0===n&&(n=!1),n?{data:t,headers:e.headers||{},status:e.status,statusText:e.statusText}:t}},7265:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ha1Compute=void 0;var o=r(n(2568));t.ha1Compute=function(e,t,n,r,i,a){var s=(0,o.default)("".concat(t,":").concat(n,":").concat(r));return e&&"md5-sess"===e.toLowerCase()?(0,o.default)("".concat(s,":").concat(i,":").concat(a)):s}},1097:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.translateDiskSpace=t.parseStat=t.prepareFileFromProps=t.parseXML=void 0;var i,a=o(n(3722)),s=o(n(7857)),l=o(n(5070)),u=n(1050),c=n(1180);function p(e,t,n){void 0===n&&(n=i.Original);var r=l.default.get(e,t);return"array"===n&&!1===Array.isArray(r)?[r]:"object"===n&&Array.isArray(r)?r[0]:r}function d(e){var t=e.multistatus;if(""===t)return{multistatus:{response:[]}};if(!t)throw new Error("Invalid response: No root multistatus found");var n={multistatus:Array.isArray(t)?t[0]:t};return l.default.set(n,"multistatus.response",p(n,"multistatus.response",i.Array)),l.default.set(n,"multistatus.response",l.default.get(n,"multistatus.response").map((function(e){return function(e){var t=Object.assign({},e);return l.default.set(t,"propstat",p(t,"propstat",i.Object)),l.default.set(t,"propstat.prop",p(t,"propstat.prop",i.Object)),t}(e)}))),n}function f(e,t,n){void 0===n&&(n=!1);var o=e.getlastmodified,i=void 0===o?null:o,s=e.getcontentlength,l=void 0===s?"0":s,c=e.resourcetype,p=void 0===c?null:c,d=e.getcontenttype,f=void 0===d?null:d,h=e.getetag,m=void 0===h?null:h,g=p&&"object"===r(p)&&void 0!==p.collection?"directory":"file",v=(0,u.decodeHTMLEntities)(t),y={filename:v,basename:a.default.basename(v),lastmod:i,size:parseInt(l,10),type:g,etag:"string"==typeof m?m.replace(/"/g,""):null};return"file"===g&&(y.mime=f&&"string"==typeof f?f.split(";")[0]:""),n&&(y.props=e),y}!function(e){e.Array="array",e.Object="object",e.Original="original"}(i||(i={})),t.parseXML=function(e){return new Promise((function(t){t(d(s.default.parse(e,{arrayMode:!1,ignoreNameSpace:!0})))}))},t.prepareFileFromProps=f,t.parseStat=function(e,t,n){void 0===n&&(n=!1);var r=null;try{r=e.multistatus.response[0]}catch(e){}if(!r)throw new Error("Failed getting item stat: bad response");var o=r.propstat,i=o.prop,a=o.status.split(" ",3),s=(a[0],a[1]),l=a[2],u=parseInt(s,10);if(u>=400){var p=new Error("Invalid response: ".concat(u," ").concat(l));throw p.status=u,p}return f(i,(0,c.normalisePath)(t),n)},t.translateDiskSpace=function(e){switch(e.toString()){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(e,10)}}},1050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toBase64=t.fromBase64=t.decodeHTMLEntities=void 0;var r=n(7501);t.decodeHTMLEntities=function(e){if("undefined"==typeof WEB)return n(6492).decode(e);var t=document.createElement("textarea");return t.innerHTML=e,t.value},t.fromBase64=function(e){return(0,r.decode)(e)},t.toBase64=function(e){return(0,r.encode)(e)}},3831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeHeaders=void 0,t.mergeHeaders=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return{};var n={};return e.reduce((function(e,t){return Object.keys(t).forEach((function(r){var o=r.toLowerCase();n.hasOwnProperty(o)?e[n[o]]=t[r]:(n[o]=r,e[r]=t[r])})),e}),{})}},2926:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function o(e){return function(e){if("object"!==n(e)||null===e||"[object Object]"!=Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;var t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e)?Object.assign({},e):Object.setPrototypeOf(Object.assign({},e),Object.getPrototypeOf(e))}function i(e,t){var a=o(e);return Object.keys(t).forEach((function(e){a.hasOwnProperty(e)?Array.isArray(t[e])?a[e]=Array.isArray(a[e])?r(r([],a[e],!0),t[e],!0):r([],t[e],!0):"object"===n(t[e])&&t[e]?a[e]="object"===n(a[e])&&a[e]?i(a[e],t[e]):o(t[e]):a[e]=t[e]:a[e]=t[e]})),a}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=t.cloneShallow=void 0,t.cloneShallow=o,t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=null,a=r([],e,!0);a.length>0;){var s=a.shift();n=n?i(n,s):o(s)}return n}},1180:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalisePath=t.getAllDirectories=t.encodePath=void 0;var r=n(3722),o="__PATH_SEPARATOR_POSIX__",i="__PATH_SEPARATOR_WINDOWS__";t.encodePath=function(e){var t=e.replace(/\//g,o).replace(/\\\\/g,i);return encodeURIComponent(t).split(i).join("\\\\").split(o).join("/")},t.getAllDirectories=function(e){if(!e||"/"===e)return[];var t=e,n=[];do{n.push(t),t=(0,r.dirname)(t)}while(t&&"/"!==t);return n},t.normalisePath=function(e){var t=e;return"/"!==t[0]&&(t="/"+t),/^.+\/$/.test(t)&&(t=t.substr(0,t.length-1)),t}},4232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuota=void 0;var r=n(1097);t.parseQuota=function(e){try{var t=e.multistatus.response[0].propstat.prop,n=t["quota-used-bytes"],o=t["quota-available-bytes"];return void 0!==n&&void 0!==o?{used:parseInt(n,10),available:(0,r.translateDiskSpace)(o)}:null}catch(e){}return null}},4858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateDataLength=void 0;var r=n(3572),o=n(6173),i=n(7125),a=n(7620),s=n(4918);t.calculateDataLength=function(e){if((0,i.isArrayBuffer)(e))return e.byteLength;if((0,a.isBuffer)(e))return e.length;if("string"==typeof e)return(0,o.byteLength)(e);throw new r.Layerr({info:{code:s.ErrorCode.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}},2953:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.normaliseHREF=t.joinURL=t.extractURLPath=void 0;var o=r(n(4564)),i=r(n(4078)),a=n(1180);t.extractURLPath=function(e){var t=new o.default(e).pathname;return t.length<=0&&(t="/"),(0,a.normalisePath)(t)},t.joinURL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.default)(e.reduce((function(e,t,n){return(0===n||"/"!==t||"/"===t&&"/"!==e[e.length-1])&&e.push(t),e}),[]))},t.normaliseHREF=function(e){return e.replace(/^https?:\/\/[^\/]+/,"")}},7310:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.parseGenericResponse=t.generateLockXML=void 0;var l=s(n(7857));function u(e,t){var n=o({},e);for(var i in n)n.hasOwnProperty(i)&&(n[i]&&"object"===r(n[i])&&-1===i.indexOf(":")?(n["".concat(t,":").concat(i)]=u(n[i],t),delete n[i]):!1===/^@_/.test(i)&&(n["".concat(t,":").concat(i)]=n[i],delete n[i]));return n}t.generateLockXML=function(e){return new l.j2xParser({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,supressEmptyNode:!0}).parse(u({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:e}}},"d"))},t.parseGenericResponse=function(e){return l.default.parse(e,{arrayMode:!1,ignoreNameSpace:!0,parseAttributeValue:!0,parseNodeValue:!0})}},4918:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCode=t.AuthType=void 0,function(e){e.Digest="digest",e.None="none",e.Password="password",e.Token="token"}(t.AuthType||(t.AuthType={})),function(e){e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth"}(t.ErrorCode||(t.ErrorCode={}))},5623:e=>{"use strict";function t(e,t,o){e instanceof RegExp&&(e=n(e,o)),t instanceof RegExp&&(t=n(t,o));var i=r(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,o,i,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(l>=0&&u>0){if(e===t)return[l,u];for(r=[],i=n.length;c>=0&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((o=r.pop())<i&&(i=o,a=u),u=n.indexOf(t,c+1)),c=l<u&&l>=0?l:u;r.length&&(s=[i,a])}return s}e.exports=t,t.range=r},7501:function(e,t,n){var r;e=n.nmd(e),function(o){var i=t,a=(e&&e.exports,"object"==typeof n.g&&n.g);a.global!==a&&a.window;var s=function(e){this.message=e};(s.prototype=new Error).name="InvalidCharacterError";var l=function(e){throw new s(e)},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,p={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&l("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,r,o,i=e.length%3,a="",s=-1,c=e.length-i;++s<c;)t=e.charCodeAt(s)<<16,n=e.charCodeAt(++s)<<8,r=e.charCodeAt(++s),a+=u.charAt((o=t+n+r)>>18&63)+u.charAt(o>>12&63)+u.charAt(o>>6&63)+u.charAt(63&o);return 2==i?(t=e.charCodeAt(s)<<8,n=e.charCodeAt(++s),a+=u.charAt((o=t+n)>>10)+u.charAt(o>>4&63)+u.charAt(o<<2&63)+"="):1==i&&(o=e.charCodeAt(s),a+=u.charAt(o>>2)+u.charAt(o<<4&63)+"=="),a},decode:function(e){var t=(e=String(e).replace(c,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&l("Invalid character: the string to be decoded is not correctly encoded.");for(var n,r,o=0,i="",a=-1;++a<t;)r=u.indexOf(e.charAt(a)),n=o%4?64*n+r:r,o++%4&&(i+=String.fromCharCode(255&n>>(-2*o&6)));return i},version:"1.0.0"};void 0===(r=function(){return p}.call(t,n,t,e))||(e.exports=r)}()},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,p=s>0?a-4:a;for(n=0;n<p;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(u(e,s,s+a>l?l:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8764:(e,t,n)=>{"use strict";var r=n(5108),o=n(9742),i=n(645);t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=l.prototype,t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n);return r.__proto__=l.prototype,r}(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);var o=function(e){if(l.isBuffer(e)){var t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||H(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return c(e),s(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(o)return r?-1:R(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),H(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var p=!0,d=0;d<l;d++)if(u(e,i+d)!==u(t,d)){p=!1;break}if(p)return i}return-1}function b(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[n+a]=s}return a}function A(e,t,n,r){return U(R(t,e.length-n),e,n,r)}function C(e,t,n,r){return U(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return C(e,t,n,r)}function x(e,t,n,r){return U(z(t),e,n,r)}function E(e,t,n,r){return U(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function _(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,u=e[o],c=null,p=u>239?4:u>223?3:u>191?2:1;if(o+p<=n)switch(p){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,p=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=p}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=S));return n}(r)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),l.poolSize=8192,l.from=function(e,t,n){return u(e,t,n)},l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,l.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if($(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if($(i,Uint8Array)&&(i=l.from(i)),!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,o){if($(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(r,o),c=e.slice(t,n),p=0;p<s;++p)if(u[p]!==c[p]){i=u[p],a=c[p];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function D(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function O(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=M(e[i]);return o}function P(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function j(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,o){return t=+t,n>>>=0,o||j(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,o){return t=+t,n>>>=0,o||j(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=l.prototype,r},l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var i=o-1;i>=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var N=/[^+/0-9A-Za-z-_]/g;function M(e){return e<16?"0"+e.toString(16):e.toString(16)}function R(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function z(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(e){return e!=e}},6173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byteLength=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,n=e.length;n--;){var r=e.charCodeAt(n);56320<=r&&r<=57343&&n--,127<r&&r<=2047?t++:2047<r&&r<=65535&&(t+=2)}return t}},487:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},5108:(e,t,n)=>{var r=n(9539),o=n(8583);function i(){return(new Date).getTime()}var a,s=Array.prototype.slice,l={};a=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var u=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(e){l[e]=i()},"time"],[function(e){var t=l[e];if(!t)throw new Error("No such label: "+e);delete l[e];var n=i()-t;a.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),a.error(e.stack)},"trace"],[function(e){a.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);o.ok(!1,r.format.apply(null,t))}},"assert"]],c=0;c<u.length;c++){var p=u[c],d=p[0],f=p[1];a[f]||(a[f]=d)}e.exports=a},9662:(e,t,n)=>{var r=n(614),o=n(6330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(4411),o=n(6330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a constructor")}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9670:(e,t,n)=>{var r=n(111),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},8533:(e,t,n)=>{"use strict";var r=n(2092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},1318:(e,t,n)=>{var r=n(5656),o=n(1400),i=n(6244),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,t,n)=>{var r=n(9974),o=n(1702),i=n(8361),a=n(7908),s=n(6244),l=n(5417),u=o([].push),c=function(e){var t=1==e,n=2==e,o=3==e,c=4==e,p=6==e,d=7==e,f=5==e||p;return function(h,m,g,v){for(var y,b,A=a(h),C=i(A),w=r(m,g),x=s(C),E=0,_=v||l,k=t?_(h,x):n||d?_(h,0):void 0;x>E;E++)if((f||E in C)&&(b=w(y=C[E],E,A),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:u(k,y)}else switch(e){case 4:return!1;case 7:u(k,y)}return p?-1:o||c?c:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},1194:(e,t,n)=>{var r=n(7293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,n)=>{"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},3671:(e,t,n)=>{var r=n(9662),o=n(7908),i=n(8361),a=n(6244),s=TypeError,l=function(e){return function(t,n,l,u){r(n);var c=o(t),p=i(c),d=a(c),f=e?d-1:0,h=e?-1:1;if(l<2)for(;;){if(f in p){u=p[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw s("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in p&&(u=n(u,p[f],f,c));return u}};e.exports={left:l(!1),right:l(!0)}},1589:(e,t,n)=>{var r=n(1400),o=n(6244),i=n(6135),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=o(e),u=r(t,l),c=r(void 0===n?l:n,l),p=a(s(c-u,0)),d=0;u<c;u++,d++)i(p,d,e[u]);return p.length=d,p}},7475:(e,t,n)=>{var r=n(3157),o=n(4411),i=n(111),a=n(5112)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},5417:(e,t,n)=>{var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},4326:(e,t,n)=>{var r=n(84),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),o=n(614),i=n(4326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t,n){for(var s=o(t),l=a.f,u=i.f,c=0;c<s.length;c++){var p=s[c];r(e,p)||n&&r(n,p)||l(e,p,u(t,p))}}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},8052:(e,t,n)=>{var r=n(614),o=n(3070),i=n(6339),a=n(3072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},317:(e,t,n)=>{var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(7854),a=n(8113),s=i.process,l=i.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,i=n(8880),a=n(8052),s=n(3072),l=n(9920),u=n(4705);e.exports=function(e,t){var n,c,p,d,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],p=e.dontCallGetSet?(f=o(n,c))&&f.value:n[c],!u(m?c:h+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1702),o=n(8052),i=n(2261),a=n(7293),s=n(5112),l=n(8880),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,p){var d=s(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!h||n){var m=r(/./[d]),g=t(d,""[e],(function(e,t,n,o,a){var s=r(e),l=t.exec;return l===i||l===c.exec?f&&!a?{done:!0,value:m(t,n,o)}:{done:!0,value:s(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(c,d,g[1])}p&&l(c[d],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),i=n(4374),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},84:(e,t,n)=>{var r=n(4374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=function(e){return r?a(e):function(){return i.apply(e,arguments)}}},1702:(e,t,n)=>{var r=n(4326),o=n(84);e.exports=function(e){if("Function"===r(e))return o(e)}},5005:(e,t,n)=>{var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},8173:(e,t,n)=>{var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),o=n(7908),i=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,d){var f=n+e.length,h=r.length,m=c;return void 0!==p&&(p=o(p),m=u),s(d,m,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":u=p[l(s,1,-1)];break;default:var c=+s;if(0===c)return o;if(c>h){var d=i(c/10);return 0===d?o:d<=h?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):o}u=r[c-1]}return void 0===u?"":u}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:e=>{e.exports={}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),o=n(7293),i=n(4326),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},2788:(e,t,n)=>{var r=n(1702),o=n(614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9909:(e,t,n)=>{var r,o,i,a=n(4811),s=n(7854),l=n(111),u=n(8880),c=n(2597),p=n(5465),d=n(6200),f=n(3501),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||p.state){var v=p.state||(p.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw m(h);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=d("state");f[y]=!0,r=function(e,t){if(c(e,y))throw m(h);return t.facade=e,u(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},i=function(e){return c(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:(e,t,n)=>{var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),i=n(614),a=n(648),s=n(5005),l=n(2788),u=function(){},c=[],p=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.exec(u),m=function(e){if(!i(e))return!1;try{return p(u,c,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!p||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},4705:(e,t,n)=>{var r=n(7293),o=n(614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},8554:e=>{e.exports=function(e){return null==e}},111:(e,t,n)=>{var r=n(614),o=n(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,t,n)=>{var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},2190:(e,t,n)=>{var r=n(5005),o=n(614),i=n(7976),a=n(3307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),o=n(614),i=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,l=n(2788),u=n(9909),c=u.enforce,p=u.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&i(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return i(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&p(this).source||l(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),i=n(6916),a=n(7293),s=n(1956),l=n(5181),u=n(5296),c=n(7908),p=n(8361),d=Object.assign,f=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,a=1,d=l.f,f=u.f;o>a;)for(var m,g=p(arguments[a++]),v=d?h(s(g),d(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!i(f,g,m)||(n[m]=g[m]);return n}:d},30:(e,t,n)=>{var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),l=n(490),u=n(317),c=n(6200),p=c("IE_PROTO"),d=function(){},f=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[p]=e):n=m(),void 0===t?n:i.f(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3353),i=n(3070),a=n(9670),s=n(5656),l=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),u=o.length,c=0;u>c;)i.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{var r=n(9781),o=n(4664),i=n(3353),a=n(9670),s=n(4948),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",f="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),i=n(5296),a=n(9114),s=n(5656),l=n(4948),u=n(2597),c=n(4664),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=s(e),t=l(t),c)try{return p(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,s=n(3501),l=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,c=[];for(n in r)!o(s,n)&&o(r,n)&&l(c,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},288:(e,t,n)=>{"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(e,t,n)=>{var r=n(6916),o=n(614),i=n(111),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),i=n(8006),a=n(5181),s=n(9670),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},7651:(e,t,n)=>{var r=n(6916),o=n(9670),i=n(614),a=n(4326),s=n(2261),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var u=r(n,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return r(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,i=n(6916),a=n(1702),s=n(1340),l=n(7066),u=n(2999),c=n(2309),p=n(30),d=n(9909).get,f=n(9441),h=n(7168),m=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=a("".charAt),b=a("".indexOf),A=a("".replace),C=a("".slice),w=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=u.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(w||E||x||f||h)&&(v=function(e){var t,n,r,o,a,u,c,f=this,h=d(f),_=s(e),k=h.raw;if(k)return k.lastIndex=f.lastIndex,t=i(v,k,_),f.lastIndex=k.lastIndex,t;var S=h.groups,D=x&&f.sticky,T=i(l,f),O=f.source,P=0,L=_;if(D&&(T=A(T,"y",""),-1===b(T,"g")&&(T+="g"),L=C(_,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y(_,f.lastIndex-1))&&(O="(?: "+O+")",L=" "+L,P++),n=new RegExp("^(?:"+O+")",T)),E&&(n=new RegExp("^"+O+"$(?!\\s)",T)),w&&(r=f.lastIndex),o=i(g,D?n:f,L),D?o?(o.input=C(o.input,P),o[0]=C(o[0],P),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:w&&o&&(f.lastIndex=f.global?o.index+o[0].length:r),E&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&S)for(o.groups=u=p(null),a=0;a<S.length;a++)u[(c=S[a])[0]]=o[c[1]];return o}),e.exports=v},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4706:(e,t,n)=>{var r=n(6916),o=n(2597),i=n(7976),a=n(7066),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:r(a,e)}},2999:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),s=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:(e,t,n)=>{var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3072),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),i=n(8554),a=n(5112)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||i(n=r(s)[a])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),i=n(1340),a=n(4488),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,p=i(a(t)),d=o(n),f=p.length;return d<0||d>=f?e?"":void 0:(r=l(p,d))<55296||r>56319||d+1===f||(c=l(p,d+1))<56320||c>57343?e?s(p,d):r:e?u(p,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},6293:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:(e,t,n)=>{var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{var r=n(6916),o=n(111),i=n(2190),a=n(8173),s=n(2140),l=n(5112),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},3307:(e,t,n)=>{var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:(e,t,n)=>{var r=n(7854),o=n(614),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},5112:(e,t,n)=>{var r=n(7854),o=n(2309),i=n(2597),a=n(9711),s=n(6293),l=n(3307),u=o("wks"),c=r.Symbol,p=c&&c.for,d=l?c:c&&c.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&i(c,e)?u[e]=c[e]:u[e]=l&&p?p(t):d(t)}return u[e]}},2222:(e,t,n)=>{"use strict";var r=n(2109),o=n(7293),i=n(3157),a=n(111),s=n(7908),l=n(6244),u=n(7207),c=n(6135),p=n(5417),d=n(1194),f=n(5112),h=n(7392),m=f("isConcatSpreadable"),g=h>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=d("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!v},{concat:function(e){var t,n,r,o,i,a=s(this),d=p(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t]))for(o=l(i),u(f+o),n=0;n<o;n++,f++)n in i&&c(d,f,i[n]);else u(f+1),c(d,f++,i);return d.length=f,d}})},7327:(e,t,n)=>{"use strict";var r=n(2109),o=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},9554:(e,t,n)=>{"use strict";var r=n(2109),o=n(8533);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},2772:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),i=n(1318).indexOf,a=n(9341),s=o([].indexOf),l=!!s&&1/s([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:l||!u},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?s(this,e,t)||0:i(this,e,t)}})},1249:(e,t,n)=>{"use strict";var r=n(2109),o=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},5827:(e,t,n)=>{"use strict";var r=n(2109),o=n(3671).left,i=n(9341),a=n(7392),s=n(5268);r({target:"Array",proto:!0,forced:!i("reduce")||!s&&a>79&&a<83},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},9070:(e,t,n)=>{var r=n(2109),o=n(9781),i=n(3070).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},1539:(e,t,n)=>{var r=n(1694),o=n(8052),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:(e,t,n)=>{"use strict";var r=n(6530).PROPER,o=n(8052),i=n(9670),a=n(1340),s=n(7293),l=n(4706),u="toString",c=RegExp.prototype.toString,p=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=r&&c.name!=u;(p||d)&&o(RegExp.prototype,u,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(l(e))}),{unsafe:!0})},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),i=n(1702),a=n(7007),s=n(7293),l=n(9670),u=n(614),c=n(8554),p=n(9303),d=n(7466),f=n(1340),h=n(4488),m=n(1530),g=n(8173),v=n(647),y=n(7651),b=n(5112)("replace"),A=Math.max,C=Math.min,w=i([].concat),x=i([].push),E=i("".indexOf),_=i("".slice),k="$0"==="a".replace(/./,"$0"),S=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=S?"$":"$0";return[function(e,n){var r=h(this),i=c(e)?void 0:g(e,b);return i?o(i,e,r,n):o(t,f(r),e,n)},function(e,o){var a=l(this),s=f(e);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var c=n(t,a,s,o);if(c.done)return c.value}var h=u(o);h||(o=f(o));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var k=[];;){var S=y(a,s);if(null===S)break;if(x(k,S),!g)break;""===f(S[0])&&(a.lastIndex=m(s,d(a.lastIndex),b))}for(var D,T="",O=0,P=0;P<k.length;P++){for(var L=f((S=k[P])[0]),F=A(C(p(S.index),s.length),0),j=[],B=1;B<S.length;B++)x(j,void 0===(D=S[B])?D:String(D));var I=S.groups;if(h){var N=w([L],j,F,s);void 0!==I&&x(N,I);var M=f(r(o,void 0,N))}else M=v(L,s,F,j,I,o);F>=O&&(T+=_(s,O,F)+M,O=F+L.length)}return T+_(s,O)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!k||S)},3123:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),i=n(1702),a=n(7007),s=n(9670),l=n(8554),u=n(7850),c=n(4488),p=n(6707),d=n(1530),f=n(7466),h=n(1340),m=n(8173),g=n(1589),v=n(7651),y=n(2261),b=n(2999),A=n(7293),C=b.UNSUPPORTED_Y,w=4294967295,x=Math.min,E=[].push,_=i(/./.exec),k=i(E),S=i("".slice);a("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=h(c(this)),a=void 0===n?w:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!u(e))return o(t,i,e,a);for(var s,l,p,d=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,f+"g");(s=o(y,v,i))&&!((l=v.lastIndex)>m&&(k(d,S(i,m,s.index)),s.length>1&&s.index<i.length&&r(E,d,g(s,1)),p=s[0].length,m=l,d.length>=a));)v.lastIndex===s.index&&v.lastIndex++;return m===i.length?!p&&_(v,"")||k(d,""):k(d,S(i,m)),d.length>a?g(d,0,a):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=c(this),a=l(t)?void 0:m(t,e);return a?o(a,t,r,n):o(i,h(r),t,n)},function(e,r){var o=s(this),a=h(e),l=n(i,o,a,r,i!==t);if(l.done)return l.value;var u=p(o,RegExp),c=o.unicode,m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(C?"g":"y"),g=new u(C?"^(?:"+o.source+")":o,m),y=void 0===r?w:r>>>0;if(0===y)return[];if(0===a.length)return null===v(g,a)?[a]:[];for(var b=0,A=0,E=[];A<a.length;){g.lastIndex=C?0:A;var _,D=v(g,C?S(a,A):a);if(null===D||(_=x(f(g.lastIndex+(C?A:0)),a.length))===b)A=d(a,A,c);else{if(k(E,S(a,b,A)),E.length===y)return E;for(var T=1;T<=D.length-1;T++)if(k(E,D[T]),E.length===y)return E;A=b=_}}return k(E,S(a,b)),E}]}),!!A((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),C)},1012:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?n.push(t.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}},e.exports=n},9819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,'@charset "UTF-8";@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:20px;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:rgba(0,0,0,.8);background:var(--plyr-captions-background,rgba(0,0,0,.8));border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:transparent;border:0;border-radius:3px;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:2.5px;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:2.5px;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 5px;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);background:var(--plyr-menu-background,hsla(0,0%,100%,.9));border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);border:var(--plyr-menu-arrow-size,4px) solid transparent;border-top-color:var(--plyr-menu-background,hsla(0,0%,100%,.9));content:"";height:0;position:absolute;right:14px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:4.66667px 10.5px;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;border:var(--plyr-menu-item-arrow-size,4px) solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:6.5px;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:7px;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:3.5px;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - 14px);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:6.5px;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:1px;left:0;margin-top:3.5px;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b2ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(35,40,47,.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc(-7px - -2);margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -2);overflow:hidden;padding-left:24.5px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:26px;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b2ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));display:block;height:19px;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;background-image:linear-gradient(90deg,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0));border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:-4px;margin-top:calc((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px))/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;background:currentColor;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"⁄";margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:hsla(0,0%,100%,.9);background:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:5px 7.5px;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before{left:16px;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:6.5px;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:-6.5px;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-6.5px;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{left:0;max-width:120px;overflow-wrap:break-word;white-space:normal}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:-2.5px;margin-top:calc((var(--plyr-range-track-height, 5px)/2)*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(35,40,47,.6) 25%,transparent 0,transparent 50%,rgba(35,40,47,.6) 0,rgba(35,40,47,.6) 75%,transparent 0,transparent);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 25%,transparent 25%,transparent 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 75%,transparent 75%,transparent);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr__progress__marker{background-color:#fff;background-color:var(--plyr-progress-marker-background,#fff);border-radius:1px;height:5px;height:var(--plyr-range-track-height,5px);position:absolute;top:50%;transform:translate(-50%,-50%);width:3px;width:var(--plyr-progress-marker-width,3px);z-index:3}.plyr__volume{align-items:center;display:flex;max-width:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:5px;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:5px;margin-right:calc(var(--plyr-control-spacing, 10px)/2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr--video{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:5px;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:20px;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:35px;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:15px;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--video .plyr__progress__buffer{color:hsla(0,0%,100%,.25);color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;display:block;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:empty:after{display:none}.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;opacity:.8;position:absolute;top:50%;transform:translateY(-50%);width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);background-color:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:3px;pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:calc(50% + var(--preview-arrow-offset));position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:4px;border-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img,.plyr__preview-thumb__image-container:after{height:100%;left:0;position:absolute;top:0;width:100%}.plyr__preview-thumb__image-container:after{border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);content:"";pointer-events:none}.plyr__preview-thumb__image-container img{max-height:none;max-width:none}.plyr__preview-thumb__time-container{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:4px;border-bottom-left-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);border-bottom-right-radius:4px;border-bottom-right-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);bottom:0;left:0;line-height:1.1;padding:20px 6px 6px;position:absolute;right:0;z-index:3}.plyr__preview-thumb__time-container span{color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);border:0!important;height:1px!important;overflow:hidden;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}',"",{version:3,sources:["webpack://./node_modules/@skjnldsv/vue-plyr/dist/vue-plyr.css"],names:[],mappings:"AAAA,gBAAgB,CAAC,yBAAyB,GAAG,0BAA0B,CAAC,4DAA4D,CAAC,CAAC,sBAAsB,GAAG,UAAU,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,uBAAuB,CAAC,CAAC,wBAAwB,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,MAAM,iCAAiC,CAAC,kCAAkC,CAAC,kBAAkB,CAAC,aAAa,CAAC,YAAY,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,2CAA2C,CAAC,iCAAiC,CAAC,eAAe,CAAC,+CAA+C,CAAC,eAAe,CAAC,uCAAuC,CAAC,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,SAAS,CAAC,qCAAqC,aAAa,CAAC,WAAW,CAAC,UAAU,CAAC,aAAa,YAAY,CAAC,mBAAmB,CAAC,UAAU,CAAC,YAAY,SAAS,CAAC,eAAe,qBAAqB,CAAC,8DAA8D,kBAAkB,CAAC,iFAAiF,yBAAyB,CAAC,aAAa,kBAAkB,CAAC,+CAA+C,CAAC,iBAAiB,CAAC,iDAAiD,CAAC,UAAU,CAAC,uCAAuC,CAAC,aAAa,CAAC,yCAAyC,CAAC,aAAa,CAAC,eAAe,CAAC,oDAAoD,YAAY,CAAC,gBAAgB,+BAA+B,CAAC,QAAQ,CAAC,YAAY,CAAC,cAAc,CAAC,0CAA0C,CAAC,MAAM,CAAC,YAAY,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,UAAU,CAAC,2BAA2B,YAAY,CAAC,yBAAyB,gBAAgB,cAAc,CAAC,yCAAyC,CAAC,YAAY,CAAC,iDAAiD,CAAC,CAAC,yBAAyB,gBAAgB,cAAc,CAAC,0CAA0C,CAAC,CAAC,uCAAuC,aAAa,CAAC,4EAA4E,2BAA2B,CAAC,gEAAgE,CAAC,eAAe,yBAAyB,CAAC,yDAAyD,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,0BAA0B,CAAC,UAAU,CAAC,0CAA0C,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,cAAc,CAAC,eAAe,sBAAsB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,4CAA4C,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,gBAAgB,CAAC,WAAW,CAAC,kDAAkD,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,mBAAmB,iBAAiB,CAAC,aAAa,CAAC,WAAW,CAAC,yCAAyC,CAAC,mBAAmB,CAAC,UAAU,CAAC,wCAAwC,CAAC,qBAAqB,SAAS,CAAC,+BAA+B,0BAA0B,CAAC,oGAAoG,CAAC,kBAAkB,CAAC,gBAAgB,oBAAoB,CAAC,uRAAuR,YAAY,CAAC,wCAAwC,YAAY,CAAC,gBAAgB,kBAAkB,CAAC,YAAY,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,2CAA2C,MAAM,CAAC,WAAW,CAAC,sCAAsC,iBAAiB,CAAC,qDAAqD,CAAC,kDAAkD,aAAa,CAAC,iBAAiB,CAAC,gEAAgE,kBAAkB,CAAC,sDAAsD,CAAC,iDAAiD,aAAa,CAAC,mDAAmD,CAAC,sMAAsM,cAAc,CAAC,8HAA8H,YAAY,CAAC,gLAAgL,oBAAoB,CAAC,YAAY,YAAY,CAAC,iBAAiB,CAAC,+BAA+B,6BAA6B,CAAC,mDAAmD,uBAAuB,CAAC,8DAA8D,YAAY,CAAC,uBAAuB,6BAA6B,CAAC,6BAA6B,CAAC,yDAAyD,CAAC,iBAAiB,CAAC,WAAW,CAAC,oCAAoC,CAAC,4DAA4D,CAAC,aAAa,CAAC,oCAAoC,CAAC,cAAc,CAAC,yCAAyC,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,eAAe,CAAC,kBAAkB,CAAC,SAAS,CAAC,2BAA2B,eAAe,CAAC,iFAAiF,CAAC,6BAA6B,4BAA4B,CAAC,mCAAmC,CAAC,wDAAwD,CAAC,+DAA+D,CAAC,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,6HAA6H,CAAC,QAAQ,CAAC,OAAO,CAAC,mCAAmC,WAAW,CAAC,kDAAkD,CAAC,mFAAmF,cAAc,CAAC,2GAA2G,YAAY,CAAC,sCAAsC,kBAAkB,CAAC,aAAa,CAAC,oCAAoC,CAAC,YAAY,CAAC,cAAc,CAAC,qEAAqE,CAAC,wBAAwB,CAAC,qGAAqG,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,UAAU,CAAC,2CAA2C,mBAAmB,CAAC,YAAY,CAAC,UAAU,CAAC,4CAA4C,4BAA4B,CAAC,6DAA6D,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,0BAA0B,CAAC,+CAA+C,kBAAkB,CAAC,0DAA0D,CAAC,qDAAqD,yBAAyB,CAAC,sDAAsD,CAAC,WAAW,CAAC,4FAA4F,CAAC,gIAAgI,8BAA8B,CAAC,4CAA4C,eAAe,CAAC,+CAA+C,CAAC,UAAU,CAAC,iDAAiD,CAAC,mBAAmB,CAAC,0DAA0D,CAAC,iBAAiB,CAAC,yDAAyD,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,yDAAyD,CAAC,kDAAkD,0BAA0B,CAAC,uDAAuD,CAAC,UAAU,CAAC,2FAA2F,CAAC,mDAAmD,kBAAkB,CAAC,qDAAqD,CAAC,uBAAuB,CAAC,iEAAiE,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,uDAAuD,CAAC,eAAe,CAAC,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,0HAA0H,+BAA+B,CAAC,0DAA0D,gBAAgB,CAAC,uDAAuD,CAAC,iIAAiI,kBAAkB,CAAC,iEAAiE,yBAAyB,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC,6CAA6C,CAAC,uBAAuB,CAAC,UAAU,CAAC,gEAAgE,eAAe,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,mCAAmC,CAAC,8CAA8C,CAAC,SAAS,CAAC,oFAAoF,kBAAkB,CAAC,8GAA8G,CAAC,mFAAmF,SAAS,CAAC,mCAAmC,CAAC,wJAAwJ,4BAA4B,CAAC,0CAA0C,kBAAkB,CAAC,YAAY,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,+DAA+D,CAAC,eAAe,CAAC,mBAAmB,CAAC,2DAA2D,CAAC,mBAAmB,CAAC,iCAAiC,uBAAuB,CAAC,eAAe,CAAC,sBAAsB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,0DAA0D,CAAC,aAAa,CAAC,6FAA6F,CAAC,aAAa,CAAC,WAAW,CAAC,sGAAsG,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,8BAA8B,CAAC,UAAU,CAAC,gEAAgE,sBAAsB,CAAC,oEAAoE,CAAC,iGAAiG,CAAC,QAAQ,CAAC,mBAAmB,CAAC,yDAAyD,CAAC,UAAU,CAAC,yCAAyC,CAAC,sCAAsC,CAAC,8BAA8B,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,uDAAuD,uBAAuB,CAAC,eAAe,CAAC,eAAe,CAAC,kDAAkD,CAAC,QAAQ,CAAC,kBAAkB,CAAC,mEAAmE,CAAC,kGAAkG,CAAC,WAAW,CAAC,0CAA0C,CAAC,eAAe,CAAC,kGAAkG,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,UAAU,CAAC,yCAAyC,CAAC,mDAAmD,sBAAsB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,yDAAyD,CAAC,UAAU,CAAC,yCAAyC,CAAC,mCAAmC,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,mDAAmD,eAAe,CAAC,kDAAkD,CAAC,QAAQ,CAAC,kBAAkB,CAAC,mEAAmE,CAAC,kGAAkG,CAAC,WAAW,CAAC,0CAA0C,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,uBAAuB,CAAC,UAAU,CAAC,yCAAyC,CAAC,sDAAsD,uBAAuB,CAAC,mBAAmB,CAAC,yDAAyD,CAAC,UAAU,CAAC,yCAAyC,CAAC,4CAA4C,iBAAiB,CAAC,6FAA6F,sBAAsB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,yDAAyD,CAAC,UAAU,CAAC,yCAAyC,CAAC,kCAAkC,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,iDAAiD,sBAAsB,CAAC,uBAAuB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,yDAAyD,CAAC,UAAU,CAAC,yCAAyC,CAAC,kCAAkC,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,4CAA4C,eAAe,CAAC,kDAAkD,CAAC,QAAQ,CAAC,kBAAkB,CAAC,mEAAmE,CAAC,kGAAkG,CAAC,WAAW,CAAC,0CAA0C,CAAC,YAAY,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,uBAAuB,CAAC,UAAU,CAAC,yCAAyC,CAAC,8CAA8C,YAAY,CAAC,mDAAmD,QAAQ,CAAC,uCAAuC,SAAS,CAAC,gFAAgF,0BAA0B,CAAC,oGAAoG,CAAC,kBAAkB,CAAC,mEAAmE,0BAA0B,CAAC,oGAAoG,CAAC,kBAAkB,CAAC,4DAA4D,0BAA0B,CAAC,oGAAoG,CAAC,kBAAkB,CAAC,cAAc,qBAAqB,CAAC,+EAA+E,CAAC,2BAA2B,CAAC,2BAA2B,CAAC,uBAAuB,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,SAAS,CAAC,kDAAkD,SAAS,CAAC,mFAAmF,YAAY,CAAC,YAAY,cAAc,CAAC,qEAAqE,CAAC,+BAA+B,WAAW,CAAC,iBAAiB,CAAC,6CAA6C,CAAC,yBAAyB,wBAAwB,YAAY,CAAC,CAAC,eAAe,6BAA6B,CAAC,4DAA4D,CAAC,iBAAiB,CAAC,4CAA4C,CAAC,WAAW,CAAC,oCAAoC,CAAC,+DAA+D,CAAC,aAAa,CAAC,uCAAuC,CAAC,cAAc,CAAC,0CAA0C,CAAC,eAAe,CAAC,+CAA+C,CAAC,QAAQ,CAAC,eAAe,CAAC,kBAAkB,CAAC,yDAAyD,CAAC,SAAS,CAAC,iBAAiB,CAAC,+FAA+F,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,wCAAwC,CAAC,yBAAyB,CAAC,sDAAsD,CAAC,kBAAkB,CAAC,SAAS,CAAC,sBAAsB,iCAAiC,CAAC,gEAAgE,CAAC,kCAAkC,CAAC,iEAAiE,CAAC,uCAAuC,CAAC,qGAAqG,CAAC,WAAW,CAAC,mDAAmD,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,OAAO,CAAC,SAAS,CAAC,sHAAsH,SAAS,CAAC,kCAAkC,CAAC,0CAA0C,SAAS,CAAC,mIAAmI,MAAM,CAAC,oCAAoC,CAAC,uBAAuB,CAAC,iJAAiJ,SAAS,CAAC,uFAAuF,CAAC,yDAAyD,SAAS,CAAC,OAAO,CAAC,oCAAoC,CAAC,0BAA0B,CAAC,gEAAgE,SAAS,CAAC,UAAU,CAAC,wFAAwF,CAAC,yBAAyB,CAAC,ipBAAipB,+BAA+B,CAAC,gBAAgB,UAAU,CAAC,kDAAkD,CAAC,iBAAiB,CAAC,gDAAgD,CAAC,iBAAiB,CAAC,0DAA0D,kBAAkB,CAAC,0DAA0D,CAAC,mBAAmB,CAAC,2DAA2D,CAAC,uBAAuB,CAAC,uDAAuD,CAAC,kCAAkC,iBAAiB,CAAC,SAAS,CAAC,+BAA+B,MAAM,CAAC,eAAe,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,wBAAwB,uBAAuB,CAAC,sBAAsB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,UAAU,CAAC,yCAAyC,CAAC,MAAM,CAAC,iBAAiB,CAAC,2DAA2D,CAAC,SAAS,CAAC,iBAAiB,CAAC,OAAO,CAAC,8CAA8C,sBAAsB,CAAC,gDAAgD,uBAAuB,CAAC,mBAAmB,CAAC,aAAa,CAAC,4CAA4C,CAAC,iCAAiC,CAAC,yBAAyB,CAAC,2CAA2C,uBAAuB,CAAC,mBAAmB,CAAC,aAAa,CAAC,4CAA4C,CAAC,8BAA8B,CAAC,yBAAyB,CAAC,kCAAkC,mBAAmB,CAAC,6BAA6B,CAAC,yBAAyB,CAAC,uCAAuC,0CAA0C,CAAC,gKAAgK,CAAC,8RAA8R,CAAC,0BAA0B,CAAC,yBAAyB,CAAC,6FAA6F,CAAC,iBAAiB,CAAC,mDAAmD,oCAAoC,CAAC,mFAAmF,CAAC,mDAAmD,qCAAqC,CAAC,oFAAoF,CAAC,wBAAwB,qBAAqB,CAAC,4DAA4D,CAAC,iBAAiB,CAAC,UAAU,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,OAAO,CAAC,8BAA8B,CAAC,SAAS,CAAC,2CAA2C,CAAC,SAAS,CAAC,cAAc,kBAAkB,CAAC,YAAY,CAAC,eAAe,CAAC,cAAc,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAgC,eAAe,CAAC,qDAAqD,CAAC,gBAAgB,CAAC,sDAAsD,CAAC,iBAAiB,CAAC,SAAS,CAAC,4BAA4B,WAAW,CAAC,UAAU,CAAC,aAAa,aAAa,CAAC,6BAA6B,eAAe,CAAC,qDAAqD,CAAC,qBAAqB,CAAC,aAAa,CAAC,6CAA6C,CAAC,YAAY,CAAC,wCAAwC,CAAC,8HAA8H,kBAAkB,CAAC,2GAA2G,CAAC,UAAU,CAAC,gDAAgD,CAAC,4EAA4E,qCAAqC,CAAC,6HAA6H,CAAC,+DAA+D,qCAAqC,CAAC,6HAA6H,CAAC,wDAAwD,qCAAqC,CAAC,6HAA6H,CAAC,0EAA0E,+FAA+F,CAAC,4NAA4N,CAAC,sEAAsE,+FAA+F,CAAC,4NAA4N,CAAC,+DAA+D,+FAA+F,CAAC,4NAA4N,CAAC,qCAAqC,0BAA0B,CAAC,yEAAyE,CAAC,aAAa,eAAe,CAAC,yEAAyE,CAAC,eAAe,CAAC,6BAA6B,gBAAgB,CAAC,qBAAqB,eAAe,CAAC,yEAAyE,CAAC,WAAW,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC,qDAAqD,iBAAiB,CAAC,kCAAkC,qDAAqD,QAAQ,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,CAAC,kEAAkE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,gEAAgE,mBAAmB,CAAC,iBAAiB,CAAC,gCAAgC,CAAC,6BAA6B,uDAAuD,CAAC,6FAA6F,CAAC,iCAAiC,CAAC,kCAAkC,CAAC,QAAQ,CAAC,UAAU,CAAC,0CAA0C,CAAC,MAAM,CAAC,WAAW,CAAC,iDAAiD,CAAC,gBAAgB,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,OAAO,CAAC,4DAA4D,CAAC,SAAS,CAAC,yBAAyB,6BAA6B,YAAY,CAAC,wCAAwC,CAAC,gBAAgB,CAAC,uDAAuD,CAAC,CAAC,iDAAiD,SAAS,CAAC,mBAAmB,CAAC,0BAA0B,CAAC,8HAA8H,kBAAkB,CAAC,2GAA2G,CAAC,UAAU,CAAC,gDAAgD,CAAC,yBAAyB,kBAAkB,CAAC,2GAA2G,CAAC,QAAQ,CAAC,kBAAkB,CAAC,UAAU,CAAC,0CAA0C,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,mDAAmD,CAAC,iBAAiB,CAAC,OAAO,CAAC,8BAA8B,CAAC,cAAc,CAAC,SAAS,CAAC,6BAA6B,QAAQ,CAAC,iBAAiB,CAAC,8DAA8D,SAAS,CAAC,wCAAwC,SAAS,CAAC,iBAAiB,CAAC,oDAAoD,aAAa,CAAC,4EAA4E,oCAAoC,CAAC,4HAA4H,CAAC,+DAA+D,oCAAoC,CAAC,4HAA4H,CAAC,wDAAwD,oCAAoC,CAAC,4HAA4H,CAAC,0EAA0E,gGAAgG,CAAC,6NAA6N,CAAC,sEAAsE,gGAAgG,CAAC,6NAA6N,CAAC,+DAA+D,gGAAgG,CAAC,6NAA6N,CAAC,qCAAqC,yBAAyB,CAAC,wEAAwE,CAAC,iBAAiB,eAAe,CAAC,yBAAyB,CAAC,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,uBAAuB,WAAW,CAAC,uDAAuD,aAAa,CAAC,2DAA2D,YAAY,CAAC,qCAAqC,WAAW,CAAC,0BAA0B,iCAAiC,cAAc,CAAC,2CAA2C,CAAC,CAAC,2BAA2B,eAAe,CAAC,yBAAyB,CAAC,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,iCAAiC,WAAW,CAAC,iEAAiE,aAAa,CAAC,qEAAqE,YAAY,CAAC,+CAA+C,WAAW,CAAC,0BAA0B,2CAA2C,cAAc,CAAC,2CAA2C,CAAC,CAAC,WAAW,qBAAqB,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,eAAe,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,qCAAqC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,iBAAiB,kBAAkB,CAAC,iBAAiB,CAAC,WAAW,CAAC,uCAAuC,CAAC,UAAU,CAAC,6BAA6B,CAAC,cAAc,CAAC,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,sCAAsC,CAAC,SAAS,CAAC,uBAAuB,YAAY,CAAC,YAAY,uBAAuB,CAAC,aAAa,CAAC,UAAU,CAAC,yCAAyC,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,0BAA0B,CAAC,SAAS,CAAC,SAAS,CAAC,qBAAqB,mCAAmC,CAAC,kEAAkE,CAAC,iBAAiB,CAAC,4CAA4C,CAAC,WAAW,CAAC,oCAAoC,CAAC,+DAA+D,CAAC,kBAAkB,CAAC,yDAAyD,CAAC,SAAS,CAAC,WAAW,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,yBAAyB,CAAC,sDAAsD,CAAC,SAAS,CAAC,+BAA+B,SAAS,CAAC,+BAA+B,CAAC,4BAA4B,iCAAiC,CAAC,gEAAgE,CAAC,kCAAkC,CAAC,iEAAiE,CAAC,uCAAuC,CAAC,qGAAqG,CAAC,WAAW,CAAC,mDAAmD,CAAC,UAAU,CAAC,QAAQ,CAAC,4CAA4C,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,OAAO,CAAC,SAAS,CAAC,sCAAsC,kBAAkB,CAAC,iBAAiB,CAAC,yDAAyD,CAAC,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC,sFAAsF,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,4CAA4C,qBAAqB,CAAC,0CAA0C,CAAC,UAAU,CAAC,mBAAmB,CAAC,0CAA0C,eAAe,CAAC,cAAc,CAAC,qCAAqC,uDAAuD,CAAC,6FAA6F,CAAC,6BAA6B,CAAC,qEAAqE,CAAC,8BAA8B,CAAC,sEAAsE,CAAC,QAAQ,CAAC,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC,0CAA0C,UAAU,CAAC,cAAc,CAAC,qEAAqE,CAAC,yBAAyB,QAAQ,CAAC,gBAAgB,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,SAAS,CAAC,mCAAmC,SAAS,CAAC,6BAA6B,WAAW,CAAC,MAAM,CAAC,eAAe,CAAC,cAAc,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,qBAAqB,yBAAyB,CAAC,eAAe,0BAA0B,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,eAAe,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,mBAAmB,CAAC,eAAe,sBAAsB",sourcesContent:['@charset "UTF-8";@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:20px;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:rgba(0,0,0,.8);background:var(--plyr-captions-background,rgba(0,0,0,.8));border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:transparent;border:0;border-radius:3px;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:2.5px;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:2.5px;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 5px;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);background:var(--plyr-menu-background,hsla(0,0%,100%,.9));border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top-color:hsla(0,0%,100%,.9);border:var(--plyr-menu-arrow-size,4px) solid transparent;border-top-color:var(--plyr-menu-background,hsla(0,0%,100%,.9));content:"";height:0;position:absolute;right:14px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:4.66667px 10.5px;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;border:var(--plyr-menu-item-arrow-size,4px) solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:6.5px;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:7px;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:3.5px;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - 14px);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:6.5px;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:1px;left:0;margin-top:3.5px;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b2ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(35,40,47,.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc(-7px - -2);margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -2);overflow:hidden;padding-left:24.5px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:26px;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b2ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));display:block;height:19px;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;background-image:linear-gradient(90deg,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0));border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:-4px;margin-top:calc((var(--plyr-range-thumb-height, 13px) - var(--plyr-range-track-height, 5px))/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;background:currentColor;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline:3px dotted #00b2ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b2ff))) dotted 3px;outline-offset:2px}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"⁄";margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:hsla(0,0%,100%,.9);background:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:5px 7.5px;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before{left:16px;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:6.5px;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress input[type=range],.plyr__progress__buffer{margin-left:-6.5px;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-6.5px;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{left:0;max-width:120px;overflow-wrap:break-word;white-space:normal}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:-2.5px;margin-top:calc((var(--plyr-range-track-height, 5px)/2)*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(35,40,47,.6) 25%,transparent 0,transparent 50%,rgba(35,40,47,.6) 0,rgba(35,40,47,.6) 75%,transparent 0,transparent);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 25%,transparent 25%,transparent 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 75%,transparent 75%,transparent);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr__progress__marker{background-color:#fff;background-color:var(--plyr-progress-marker-background,#fff);border-radius:1px;height:5px;height:var(--plyr-range-track-height,5px);position:absolute;top:50%;transform:translate(-50%,-50%);width:3px;width:var(--plyr-progress-marker-width,3px);z-index:3}.plyr__volume{align-items:center;display:flex;max-width:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:5px;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:5px;margin-right:calc(var(--plyr-control-spacing, 10px)/2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr--video{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:5px;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:20px;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:35px;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b2ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b2ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:15px;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--video .plyr__progress__buffer{color:hsla(0,0%,100%,.25);color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;display:block;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:empty:after{display:none}.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;opacity:.8;position:absolute;top:50%;transform:translateY(-50%);width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);background-color:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:5px;border-radius:var(--plyr-tooltip-radius,5px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:3px;pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:calc(50% + var(--preview-arrow-offset));position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:4px;border-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img,.plyr__preview-thumb__image-container:after{height:100%;left:0;position:absolute;top:0;width:100%}.plyr__preview-thumb__image-container:after{border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);content:"";pointer-events:none}.plyr__preview-thumb__image-container img{max-height:none;max-width:none}.plyr__preview-thumb__time-container{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:4px;border-bottom-left-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);border-bottom-right-radius:4px;border-bottom-right-radius:calc(var(--plyr-tooltip-radius, 5px) - 1px);bottom:0;left:0;line-height:1.1;padding:20px 6px 6px;position:absolute;right:0;z-index:3}.plyr__preview-thumb__time-container span{color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);border:0!important;height:1px!important;overflow:hidden;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}'],sourceRoot:""}]);const s=a},2966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i),s=n(1667),l=n.n(s),u=new URL(n(7990),n.b),c=new URL(n(362),n.b),p=a()(o()),d=l()(u),f=l()(c);p.push([e.id,".toastify.dialogs{min-width:200px;background:none;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 6px 0 var(--color-box-shadow);padding:0 12px;margin-top:45px;position:fixed;z-index:10100;border-radius:var(--border-radius);display:flex;align-items:center}.toastify.dialogs .toast-undo-container{display:flex;align-items:center}.toastify.dialogs .toast-undo-button,.toastify.dialogs .toast-close{position:static;overflow:hidden;box-sizing:border-box;min-width:44px;height:100%;padding:12px;white-space:nowrap;background-repeat:no-repeat;background-position:center;background-color:rgba(0,0,0,0);min-height:0}.toastify.dialogs .toast-undo-button.toast-close,.toastify.dialogs .toast-close.toast-close{text-indent:0;opacity:.4;border:none;min-height:44px;margin-left:10px;font-size:0}.toastify.dialogs .toast-undo-button.toast-close::before,.toastify.dialogs .toast-close.toast-close::before{background-image:url("+d+');content:" ";filter:var(--background-invert-if-dark);display:inline-block;width:16px;height:16px}.toastify.dialogs .toast-undo-button.toast-undo-button,.toastify.dialogs .toast-close.toast-undo-button{margin:3px;height:calc(100% - 2 * 3px);margin-left:12px}.toastify.dialogs .toast-undo-button:hover,.toastify.dialogs .toast-undo-button:focus,.toastify.dialogs .toast-undo-button:active,.toastify.dialogs .toast-close:hover,.toastify.dialogs .toast-close:focus,.toastify.dialogs .toast-close:active{cursor:pointer;opacity:1}.toastify.dialogs.toastify-top{right:10px}.toastify.dialogs.toast-with-click{cursor:pointer}.toastify.dialogs.toast-error{border-left:3px solid var(--color-error)}.toastify.dialogs.toast-info{border-left:3px solid var(--color-primary)}.toastify.dialogs.toast-warning{border-left:3px solid var(--color-warning)}.toastify.dialogs.toast-success{border-left:3px solid var(--color-success)}.toastify.dialogs.toast-undo{border-left:3px solid var(--color-success)}.theme--dark .toastify.dialogs .toast-close.toast-close::before{background-image:url('+f+")}","",{version:3,sources:["webpack://./node_modules/@nextcloud/dialogs/styles/toast.scss"],names:[],mappings:"AAwBA,kBACC,eAAA,CACA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,4CAAA,CACA,cAAA,CACA,eAAA,CACA,cAAA,CACA,aAAA,CACA,kCAAA,CACA,YAAA,CACA,kBAAA,CAEA,wCACC,YAAA,CACA,kBAAA,CAGD,oEAEC,eAAA,CACA,eAAA,CACA,qBAAA,CACA,cAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,2BAAA,CACA,0BAAA,CACA,8BAAA,CACA,YAAA,CAGA,4FACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,gBAAA,CACA,WAAA,CAGA,4GACC,wDAAA,CACA,WAAA,CACA,uCAAA,CAEA,oBAAA,CACA,UAAA,CACA,WAAA,CAIF,wGAEC,UADS,CAET,2BAAA,CACA,gBAAA,CAGD,kPACC,cAAA,CACA,SAAA,CAIF,+BACC,UAAA,CAID,mCACC,cAAA,CAID,8BACC,wCAAA,CAGD,6BACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,gCACC,0CAAA,CAGD,6BACC,0CAAA,CASC,gEACC,wDAAA",sourcesContent:["/**\n * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n *\n * @author Julius Härtl <jus@bitgrid.net>\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// using a different class than server\n// remember to import this scss file into your app\n.toastify.dialogs {\n\tmin-width: 200px;\n\tbackground: none;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 0 6px 0 var(--color-box-shadow);\n\tpadding: 0 12px;\n\tmargin-top: 45px;\n\tposition: fixed;\n\tz-index: 10100;\n\tborder-radius: var(--border-radius);\n\tdisplay: flex;\n\talign-items: center;\n\n\t.toast-undo-container {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.toast-undo-button,\n\t.toast-close {\n\t\tposition: static;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box;\n\t\tmin-width: 44px;\n\t\theight: 100%;\n\t\tpadding: 12px;\n\t\twhite-space: nowrap;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-color: transparent;\n\t\tmin-height: 0;\n\n\t\t// icon styling\n\t\t&.toast-close {\n\t\t\ttext-indent: 0;\n\t\t\topacity: .4;\n\t\t\tborder: none;\n\t\t\tmin-height: 44px;\n\t\t\tmargin-left: 10px;\n\t\t\tfont-size: 0;\n\n\t\t\t/* dark theme overrides for Nextcloud 25 and later */\n\t\t\t&::before {\n\t\t\t\tbackground-image: url('./close.svg');\n\t\t\t\tcontent: ' ';\n\t\t\t\tfilter: var(--background-invert-if-dark);\n\n\t\t\t\tdisplay: inline-block;\n\t\t\t\twidth: 16px;\n\t\t\t\theight: 16px;\n\t\t\t}\n\t\t}\n\n\t\t&.toast-undo-button {\n\t\t\t$margin: 3px;\n\t\t\tmargin: $margin;\n\t\t\theight: calc(100% - 2 * #{$margin});\n\t\t\tmargin-left: 12px;\n\t\t}\n\n\t\t&:hover, &:focus, &:active {\n\t\t\tcursor: pointer;\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t&.toastify-top {\n\t\tright: 10px;\n\t}\n\n\t// Toast with onClick callback\n\t&.toast-with-click {\n\t\tcursor: pointer;\n\t}\n\n\t// Various toasts types\n\t&.toast-error {\n\t\tborder-left: 3px solid var(--color-error);\n\t}\n\n\t&.toast-info {\n\t\tborder-left: 3px solid var(--color-primary);\n\t}\n\n\t&.toast-warning {\n\t\tborder-left: 3px solid var(--color-warning);\n\t}\n\n\t&.toast-success {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n\n\t&.toast-undo {\n\t\tborder-left: 3px solid var(--color-success);\n\t}\n}\n\n/* dark theme overrides for Nextcloud 24 and earlier */\n.theme--dark {\n\t.toastify.dialogs {\n\t\t.toast-close {\n\t\t\t/* close icon style */\n\t\t\t&.toast-close::before {\n\t\t\t\tbackground-image: url('./close-dark.svg');\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const h=p},8702:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"audio[data-v-3a434b6c]{z-index:20050;align-self:center;max-width:100%;max-height:100%;background-color:#000;justify-self:center}[data-v-3a434b6c] .plyr__progress__container{flex:1 1}[data-v-3a434b6c] .plyr{--plyr-color-main: var(--color-primary);--plyr-control-icon-size: 18px;--plyr-menu-background: var(--color-main-background);--plyr-menu-color: var(--color-main-text);--plyr-audio-controls-background: var(--color-main-background);--plyr-audio-control-color: var(--color-main-text);--plyr-button-size: 44px;--plyr-range-fill-background: var(--color-primary-element)}[data-v-3a434b6c] .plyr .plyr__controls{flex-wrap:wrap}[data-v-3a434b6c] .plyr .plyr__controls .plyr__volume,[data-v-3a434b6c] .plyr .plyr__controls .plyr__progress__container{min-width:120px;max-width:100%;flex:1 1}[data-v-3a434b6c] .plyr .plyr__controls .plyr__progress__container{flex:4 1}[data-v-3a434b6c] .plyr button{width:var(--plyr-button-size);height:var(--plyr-button-size);padding:calc((var(--plyr-button-size) - var(--plyr-control-icon-size))/2);cursor:pointer;border:none;background-color:rgba(0,0,0,0);line-height:inherit}[data-v-3a434b6c] .plyr button:hover,[data-v-3a434b6c] .plyr button:focus{color:var(--color-main-text);background-color:var(--color-background-hover)}[data-v-3a434b6c] .plyr button.plyr__control--overlaid{width:var(--plyr-button-size);height:var(--plyr-button-size);color:var(--color-primary-text);background-color:var(--color-primary-element);--plyr-button-size: 50px}[data-v-3a434b6c] .plyr button.plyr__control--overlaid:hover,[data-v-3a434b6c] .plyr button.plyr__control--overlaid:focus{background-color:var(--color-primary-element-hover)}[data-v-3a434b6c] .plyr .plyr__menu__container button{width:120px;margin:0;color:var(--color-main-text)}[data-v-3a434b6c] .plyr .plyr__menu__container button:hover,[data-v-3a434b6c] .plyr .plyr__menu__container button:focus{color:var(--color-main-text);background-color:var(--color-background-hover)}[data-v-3a434b6c] .plyr .plyr__menu__container button.plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}[data-v-3a434b6c] .plyr .plyr__menu__container button.plyr__control--back{margin:calc(var(--plyr-control-spacing, 10px)*.7);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4)}[data-v-3a434b6c] .plyr .plyr__progress__buffer{width:calc(100% + var(--plyr-range-thumb-height, 13px));height:var(--plyr-range-track-height, 5px);background:rgba(0,0,0,0)}@media only screen and (max-width: 500px){[data-v-3a434b6c] .plyr--audio{top:calc(17.5vw + 30px)}}","",{version:3,sources:["webpack://./src/components/Audios.vue","webpack://./src/mixins/Plyr.scss"],names:[],mappings:"AAmHA,uBAEC,aAAA,CACA,iBAAA,CACA,cAAA,CACA,eAAA,CACA,qBAAA,CAEA,mBAAA,CAIA,6CACC,QAAA,CC/HF,wBAEC,uCAAA,CACA,8BAAA,CACA,oDAAA,CACA,yCAAA,CAGA,8DAAA,CACA,kDAAA,CAkBA,wBAAA,CA2DA,0DAAA,CA1EA,wCACC,cAAA,CACA,yHAEC,eAAA,CACA,cAAA,CACA,QAAA,CAGD,mEACC,QAAA,CAMF,+BACC,6BAAA,CACA,8BAAA,CAEA,yEAAA,CACA,cAAA,CACA,WAAA,CACA,8BAAA,CACA,mBAAA,CAEA,0EAEC,4BAAA,CACA,8CAAA,CAGD,uDACC,6BAAA,CACA,8BAAA,CACA,+BAAA,CACA,6CAAA,CAEA,wBAAA,CAEA,0HAEC,mDAAA,CAMH,sDAEC,WAAA,CACA,QAAA,CAEA,4BAAA,CAEA,wHAEC,4BAAA,CACA,8CAAA,CAGD,6EACC,kBAAA,CACA,0DAAA,CAGD,0EACC,iDAAA,CACA,iBAAA,CACA,yDAAA,CAMF,gDACC,uDAAA,CACA,0CAAA,CACA,wBAAA,CD6CD,0CACC,+BACC,uBAAA,CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\naudio {\n\t/* over arrows in tiny screens */\n\tz-index: 20050;\n\talign-self: center;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\tbackground-color: black;\n\n\tjustify-self: center;\n}\n\n::v-deep {\n\t.plyr__progress__container {\n\t\tflex: 1 1;\n\t}\n\n\t.plyr {\n\t\t@import '../mixins/Plyr';\n\t}\n\n\t// make it a bit off-center in order to fix mobile controls\n\t@media only screen and (max-width: 500px) {\n\t\t.plyr--audio {\n\t\t\ttop: calc(35vw / 2 + 60px / 2);\n\t\t}\n\t}\n}\n\n","// Shared style between video and audio component for plyr\n& {\n\t// https://github.com/sampotts/plyr#customizing-the-css\n\t--plyr-color-main: var(--color-primary);\n\t--plyr-control-icon-size: 18px;\n\t--plyr-menu-background: var(--color-main-background);\n\t--plyr-menu-color: var(--color-main-text);\n\n\t// Audio specific\n\t--plyr-audio-controls-background: var(--color-main-background);\n\t--plyr-audio-control-color: var(--color-main-text);\n\n\t// Reactive content\n\t.plyr__controls {\n\t\tflex-wrap: wrap;\n\t\t.plyr__volume,\n\t\t.plyr__progress__container {\n\t\t\tmin-width: 120px;\n\t\t\tmax-width: 100%;\n\t\t\tflex: 1 1;\n\t\t}\n\t\t// Make main progress grow first\n\t\t.plyr__progress__container {\n\t\t\tflex: 4 1;\n\t\t}\n\t}\n\n\t// Override server font style\n\t--plyr-button-size: 44px;\n\tbutton {\n\t\twidth: var(--plyr-button-size);\n\t\theight: var(--plyr-button-size);\n\t\t// Center icon\n\t\tpadding: calc((var(--plyr-button-size) - var(--plyr-control-icon-size)) / 2);\n\t\tcursor: pointer;\n\t\tborder: none;\n\t\tbackground-color: transparent;\n\t\tline-height: inherit;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: var(--color-main-text);\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\n\t\t&.plyr__control--overlaid {\n\t\t\twidth: var(--plyr-button-size);\n\t\t\theight: var(--plyr-button-size);\n\t\t\tcolor: var(--color-primary-text);\n\t\t\tbackground-color: var(--color-primary-element);\n\n\t\t\t--plyr-button-size: 50px;\n\n\t\t\t&:hover,\n\t\t\t&:focus {\n\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t}\n\t\t}\n\t}\n\n\t// Menu items\n\t.plyr__menu__container button {\n\t\t// avoid size change and flicker\n\t\twidth: 120px;\n\t\tmargin: 0;\n\t\t// background is main-bg\n\t\tcolor: var(--color-main-text);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: var(--color-main-text);\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\n\t\t&.plyr__control--forward {\n\t\t\tpadding-right: 28px;\n\t\t\tpadding-right: calc(var(--plyr-control-spacing, 10px) * .7 * 4);\n\t\t}\n\n\t\t&.plyr__control--back {\n\t\t\tmargin: calc(var(--plyr-control-spacing, 10px) * .7);\n\t\t\tpadding-left: 28px;\n\t\t\tpadding-left: calc(var(--plyr-control-spacing, 10px) * .7 * 4);\n\t\t}\n\t}\n\n\t// Progress\n\t--plyr-range-fill-background: var(--color-primary-element);\n\t.plyr__progress__buffer {\n\t\twidth: calc(100% + var(--plyr-range-thumb-height, 13px));\n\t\theight: var(--plyr-range-track-height, 5px);\n\t\tbackground: transparent;\n\t}\n}\n"],sourceRoot:""}]);const s=a},6723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".viewer__image-editor[data-v-4a9df83c]{position:absolute;z-index:10100;top:calc(var(--header-height)*-1);bottom:calc(var(--header-height)*-1);left:0;width:100%;height:100vh}","",{version:3,sources:["webpack://./src/components/ImageEditor.vue"],names:[],mappings:"AAuPA,uCACC,iBAAA,CACA,aAAA,CACA,iCAAA,CACA,oCAAA,CACA,MAAA,CACA,UAAA,CACA,YAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Take full screen size ()\n.viewer__image-editor {\n\tposition: absolute;\n\tz-index: 10100;\n\ttop: calc(var(--header-height) * -1);\n\tbottom: calc(var(--header-height) * -1);\n\tleft: 0;\n\twidth: 100%;\n\theight: 100vh;\n}\n\n"],sourceRoot:""}]);const s=a},4450:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,'.SfxModal-Wrapper{z-index:10101 !important}.SfxPopper-wrapper{z-index:10102 !important}.viewer__image-editor *,.SfxModal-Wrapper *,.SfxPopper-wrapper *{font-size:var(--default-font-size) !important}.viewer__image-editor label,.viewer__image-editor button,.SfxModal-Wrapper label,.SfxModal-Wrapper button,.SfxPopper-wrapper label,.SfxPopper-wrapper button{color:var(--color-main-text)}.viewer__image-editor label>span,.viewer__image-editor button>span,.SfxModal-Wrapper label>span,.SfxModal-Wrapper button>span,.SfxPopper-wrapper label>span,.SfxPopper-wrapper button>span{font-size:var(--default-font-size) !important}.viewer__image-editor button,.SfxModal-Wrapper button,.SfxPopper-wrapper button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px 12px}.SfxInput-root{height:auto !important;padding:0 !important}.SfxInput-root .SfxInput-Base{margin:0 !important}.SfxSelect-root{padding:8px !important}.SfxButton-root{min-height:44px !important;margin:0 !important;border:rgba(0,0,0,0) !important}.SfxButton-root[color=error]{color:#fff !important;background-color:var(--color-error) !important}.SfxButton-root[color=error]:hover,.SfxButton-root[color=error]:focus{border-color:#fff !important;background-color:var(--color-error-hover) !important}.SfxButton-root[color=primary]{color:var(--color-primary-text) !important;background-color:var(--color-primary-element) !important}.SfxButton-root[color=primary]:hover,.SfxButton-root[color=primary]:focus{background-color:var(--color-primary-element-hover) !important}.SfxMenuItem-root{height:44px;padding-left:8px !important}.SfxMenuItem-root>div{margin-right:0;padding:14px;padding:6px;cursor:pointer}.SfxMenuItem-root[value=jpeg]{display:none}.SfxModal-Container{min-height:300px;padding:22px}.SfxModal-Container .SfxModal-root,.SfxModal-Container .SfxModalTitle-root{flex:1 1 100%;justify-content:center;color:var(--color-main-text)}.SfxModal-Container .SfxModalTitle-Icon{margin-bottom:22px !important;background:none !important}.SfxModal-Container .SfxModalTitle-Icon svg{width:64px;height:64px;opacity:.4;--color-primary: var(--color-main-text);--color-error: var(--color-main-text)}.SfxModal-Container .SfxModalTitle-Close{display:none !important}.SfxModal-Container .SfxModalActions-root{justify-content:space-evenly !important}.FIE_topbar-center-options>button,.FIE_topbar-center-options>label{margin-left:6px !important}.FIE_tabs{padding:6px !important;overflow:hidden;overflow-y:auto}.FIE_tab{width:80px !important;height:80px !important;padding:8px;border-radius:var(--border-radius-large) !important}.FIE_tab svg{width:16px;height:16px}.FIE_tab-label{margin-top:8px !important;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap;display:block !important}.FIE_tab:hover,.FIE_tab:focus{background-color:var(--color-background-hover) !important}.FIE_tab[aria-selected=true]{color:var(--color-main-text);background-color:var(--color-background-dark);box-shadow:0 0 0 2px var(--color-primary-element)}.FIE_tools-bar-wrapper{max-height:max-content !important}.FIE_tools-bar>div[class$=-tool-button],.FIE_tools-bar>div[class$=-tool]{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:6px 16px;border-radius:var(--border-radius-pill)}.FIE_crop-presets-opener-button{min-width:0 !important;padding:5px !important;padding-left:10px !important;border:none !important;background-color:rgba(0,0,0,0) !important}.FIE_topbar-history-buttons button,.FIE_topbar-close-button,.FIE_resize-ratio-locker{border:none !important;background-color:rgba(0,0,0,0) !important}.FIE_topbar-history-buttons button:hover,.FIE_topbar-history-buttons button:focus,.FIE_topbar-close-button:hover,.FIE_topbar-close-button:focus,.FIE_resize-ratio-locker:hover,.FIE_resize-ratio-locker:focus{background-color:var(--color-background-hover) !important}.FIE_topbar-history-buttons button svg,.FIE_topbar-close-button svg,.FIE_resize-ratio-locker svg{width:16px;height:16px}.FIE_topbar-history-buttons button.FIE_topbar-reset-button::before{content:attr(title);font-weight:normal}.FIE_topbar-history-buttons button.FIE_topbar-reset-button svg{display:none}.FIE_topbar-save-button{color:var(--color-primary-text) !important;border:none !important;background-color:var(--color-primary-element) !important}.FIE_topbar-save-button:hover,.FIE_topbar-save-button:focus{background-color:var(--color-primary-element-hover) !important}.FIE_resize-tool-options .FIE_resize-width-option,.FIE_resize-tool-options .FIE_resize-height-option{flex:1 1;min-width:0}.FIE_resize-ratio-locker{margin-right:8px !important}.FIE_resize-ratio-locker svg{width:20px;height:20px}.FIE_resize-ratio-locker svg path{stroke-width:1;stroke:var(--color-main-text);fill:var(--color-main-text)}.FIE_topbar-close-button svg path{transform:scale(1.6)}.FIE_canvas-container{background-color:var(--color-main-background) !important}.FIE_spinner::after,.FIE_spinner-label{display:none !important}.FIE_spinner-wrapper{background-color:rgba(0,0,0,0) !important}.FIE_spinner::before{position:absolute;z-index:2;top:50%;left:50%;width:28px;height:28px;margin:-16px 0 0 -16px;content:"";-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-animation:rotate .8s infinite linear;animation:rotate .8s infinite linear;border:2px solid var(--color-loading-light);border-top-color:var(--color-loading-dark);border-radius:100%;filter:var(--background-invert-if-dark)}',"",{version:3,sources:["webpack://./src/components/ImageEditor.vue"],names:[],mappings:"AAqQA,kBACC,wBAAA,CAGD,mBACC,wBAAA,CAOA,iEAEC,6CAAA,CAGD,6JAEC,4BAAA,CACA,2LACC,6CAAA,CAKF,gFACC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,eAAA,CACA,gBAAA,CAKF,eACC,sBAAA,CACA,oBAAA,CACA,8BACC,mBAAA,CAKF,gBACC,sBAAA,CAID,gBACC,0BAAA,CACA,mBAAA,CACA,+BAAA,CACA,6BACC,qBAAA,CACA,8CAAA,CACA,sEAEC,4BAAA,CACA,oDAAA,CAGF,+BACC,0CAAA,CACA,wDAAA,CACA,0EAEC,8DAAA,CAMH,kBACC,WAAA,CACA,2BAAA,CAEA,sBACC,cAAA,CACA,YAAA,CAEA,WAAA,CACA,cAAA,CAID,8BACC,YAAA,CAKF,oBACC,gBAAA,CACA,YAAA,CAGA,2EAEC,aAAA,CACA,sBAAA,CACA,4BAAA,CAED,wCACC,6BAAA,CACA,0BAAA,CAEA,4CACC,UAAA,CACA,WAAA,CACA,UAAA,CAGA,uCAAA,CACA,qCAAA,CAIF,yCACC,uBAAA,CAGD,0CACC,uCAAA,CAKF,mEAEC,0BAAA,CAID,UACC,sBAAA,CACA,eAAA,CACA,eAAA,CAGD,SACC,qBAAA,CACA,sBAAA,CACA,WAAA,CACA,mDAAA,CACA,aACC,UAAA,CACA,WAAA,CAED,eACC,yBAAA,CACA,eAAA,CACA,sBAAA,CACA,cAAA,CACA,kBAAA,CACA,wBAAA,CAGD,8BAEC,yDAAA,CAGD,6BACC,4BAAA,CACA,6CAAA,CACA,iDAAA,CAMD,uBACC,iCAAA,CAID,yEAEC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,WAAA,CACA,gBAAA,CACA,uCAAA,CAKF,gCAEC,sBAAA,CACA,sBAAA,CACA,4BAAA,CACA,sBAAA,CACA,yCAAA,CAID,qFAGC,sBAAA,CACA,yCAAA,CAEA,8MAEC,yDAAA,CAGD,iGACC,UAAA,CACA,WAAA,CAOA,mEACC,mBAAA,CACA,kBAAA,CAED,+DACC,YAAA,CAMH,wBACC,0CAAA,CACA,sBAAA,CACA,wDAAA,CACA,4DAEC,8DAAA,CAMD,qGAEC,QAAA,CACA,WAAA,CAKF,yBACC,2BAAA,CAEA,6BACC,UAAA,CACA,WAAA,CACA,kCACC,cAAA,CACA,6BAAA,CACA,2BAAA,CAOF,kCAGC,oBAAA,CAKF,sBACC,wDAAA,CAID,uCAEC,uBAAA,CAGD,qBACC,yCAAA,CAGD,qBACC,iBAAA,CACA,SAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CACA,WAAA,CACA,sBAAA,CACA,UAAA,CACA,+BAAA,CACA,2BAAA,CACA,uBAAA,CACA,4CAAA,CACA,oCAAA,CACA,2CAAA,CACA,0CAAA,CACA,kBAAA,CAEA,uCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Make sure the editor and its modals are above everything\n.SfxModal-Wrapper {\n\tz-index: 10101 !important;\n}\n\n.SfxPopper-wrapper {\n\tz-index: 10102 !important;\n}\n\n// Default styling\n.viewer__image-editor,\n.SfxModal-Wrapper,\n.SfxPopper-wrapper {\n\t* {\n\t\t// Fix font size for the entire image editor\n\t\tfont-size: var(--default-font-size) !important;\n\t}\n\n\tlabel,\n\tbutton {\n\t\tcolor: var(--color-main-text);\n\t\t> span {\n\t\t\tfont-size: var(--default-font-size) !important;\n\t\t}\n\t}\n\n\t// Fix button ratio and center content\n\tbutton {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tmin-width: 44px;\n\t\tmin-height: 44px;\n\t\tpadding: 6px 12px;\n\t}\n}\n\n// Input styling\n.SfxInput-root {\n\theight: auto !important;\n\tpadding: 0 !important;\n\t.SfxInput-Base {\n\t\tmargin: 0 !important;\n\t}\n}\n\n// Select styling\n.SfxSelect-root {\n\tpadding: 8px !important;\n}\n\n// Global buttons\n.SfxButton-root {\n\tmin-height: 44px !important;\n\tmargin: 0 !important;\n\tborder: transparent !important;\n\t&[color='error'] {\n\t\tcolor: white  !important;\n\t\tbackground-color: var(--color-error) !important;\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tborder-color: white !important;\n\t\t\tbackground-color: var(--color-error-hover) !important;\n\t\t}\n\t}\n\t&[color='primary'] {\n\t\tcolor: var(--color-primary-text)  !important;\n\t\tbackground-color: var(--color-primary-element) !important;\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-primary-element-hover) !important;\n\t\t}\n\t}\n}\n\n// Menu items\n.SfxMenuItem-root {\n\theight: 44px;\n\tpadding-left: 8px !important;\n\t// Center the menu entry icon and fix width\n\t> div {\n\t\tmargin-right: 0;\n\t\tpadding: 14px;\n\t\t// Minus the parent padding-left\n\t\tpadding: calc(14px - 8px);\n\t\tcursor: pointer;\n\t}\n\n\t// Disable jpeg saving (jpg is already here)\n\t&[value='jpeg'] {\n\t\tdisplay: none;\n\t}\n}\n\n// Modal\n.SfxModal-Container {\n\tmin-height: 300px;\n\tpadding: 22px;\n\n\t// Fill height\n\t.SfxModal-root,\n\t.SfxModalTitle-root {\n\t\tflex: 1 1 100%;\n\t\tjustify-content: center;\n\t\tcolor: var(--color-main-text);\n\t}\n\t.SfxModalTitle-Icon {\n\t\tmargin-bottom: 22px !important;\n\t\tbackground: none !important;\n\t\t// Fit EmptyContent styling\n\t\tsvg {\n\t\t\twidth: 64px;\n\t\t\theight: 64px;\n\t\t\topacity: .4;\n\t\t\t// Override all coloured icons\n\n\t\t\t--color-primary: var(--color-main-text);\n\t\t\t--color-error: var(--color-main-text);\n\t\t}\n\t}\n\t// Hide close icon (use cancel button)\n\t.SfxModalTitle-Close {\n\t\tdisplay: none !important;\n\t}\n\t// Modal actions buttons display\n\t.SfxModalActions-root {\n\t\tjustify-content: space-evenly !important;\n\t}\n}\n\n// Header buttons\n.FIE_topbar-center-options > button,\n.FIE_topbar-center-options > label {\n\tmargin-left: 6px !important;\n}\n\n// Tabs\n.FIE_tabs {\n\tpadding: 6px !important;\n\toverflow: hidden;\n\toverflow-y: auto;\n}\n\n.FIE_tab {\n\twidth: 80px !important;\n\theight: 80px !important;\n\tpadding: 8px;\n\tborder-radius: var(--border-radius-large) !important;\n\tsvg {\n\t\twidth: 16px;\n\t\theight: 16px;\n\t}\n\t&-label {\n\t\tmargin-top: 8px !important;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tmax-width: 100%;\n\t\twhite-space: nowrap;\n\t\tdisplay: block !important;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: var(--color-background-hover) !important;\n\t}\n\n\t&[aria-selected=true] {\n\t\tcolor: var(--color-main-text);\n\t\tbackground-color: var(--color-background-dark);\n\t\tbox-shadow: 0 0 0 2px var(--color-primary-element);\n\t}\n}\n\n// Tools bar\n.FIE_tools-bar {\n\t&-wrapper {\n\t\tmax-height: max-content !important;\n\t}\n\n\t// Matching buttons tools\n\t& > div[class$='-tool-button'],\n\t& > div[class$='-tool'] {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tmin-width: 44px;\n\t\theight: 44px;\n\t\tpadding: 6px 16px;\n\t\tborder-radius: var(--border-radius-pill);\n\t}\n}\n\n// Crop preset select button\n.FIE_crop-presets-opener-button {\n\t// override default button width\n\tmin-width: 0 !important;\n\tpadding: 5px !important;\n\tpadding-left: 10px !important;\n\tborder: none !important;\n\tbackground-color: transparent !important;\n}\n\n// Force icon-only style\n.FIE_topbar-history-buttons button,\n.FIE_topbar-close-button,\n.FIE_resize-ratio-locker {\n\tborder: none !important;\n\tbackground-color: transparent !important;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: var(--color-background-hover) !important;\n\t}\n\n\tsvg {\n\t\twidth: 16px;\n\t\theight: 16px;\n\t}\n}\n\n// Left top bar buttons\n.FIE_topbar-history-buttons button {\n\t&.FIE_topbar-reset-button {\n\t\t&::before {\n\t\t\tcontent: attr(title);\n\t\t\tfont-weight: normal;\n\t\t}\n\t\tsvg {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n// Save button fixes\n.FIE_topbar-save-button {\n\tcolor: var(--color-primary-text) !important;\n\tborder: none !important;\n\tbackground-color: var(--color-primary-element) !important;\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: var(--color-primary-element-hover) !important;\n\t}\n}\n\n// Save Modal fixes\n.FIE_resize-tool-options {\n\t.FIE_resize-width-option,\n\t.FIE_resize-height-option {\n\t\tflex: 1 1;\n\t\tmin-width: 0;\n\t}\n}\n\n// Resize lock\n.FIE_resize-ratio-locker {\n\tmargin-right: 8px !important;\n\t// Icon is very thin\n\tsvg {\n\t\twidth: 20px;\n\t\theight: 20px;\n\t\tpath {\n\t\t\tstroke-width: 1;\n\t\t\tstroke: var(--color-main-text);\n\t\t\tfill: var(--color-main-text);\n\t\t}\n\t}\n}\n\n// Close editor button fixes\n.FIE_topbar-close-button {\n\tsvg path {\n\t\t// The path viewbox is weird and\n\t\t// not correct, this fixes it\n\t\ttransform: scale(1.6);\n\t}\n}\n\n// Canvas container\n.FIE_canvas-container {\n\tbackground-color: var(--color-main-background) !important;\n}\n\n// Loader\n.FIE_spinner::after,\n.FIE_spinner-label {\n\tdisplay: none !important;\n}\n\n.FIE_spinner-wrapper {\n\tbackground-color: transparent !important;\n}\n\n.FIE_spinner::before {\n\tposition: absolute;\n\tz-index: 2;\n\ttop: 50%;\n\tleft: 50%;\n\twidth: 28px;\n\theight: 28px;\n\tmargin: -16px 0 0 -16px;\n\tcontent: '';\n\t-webkit-transform-origin: center;\n\t-ms-transform-origin: center;\n\ttransform-origin: center;\n\t-webkit-animation: rotate .8s infinite linear;\n\tanimation: rotate .8s infinite linear;\n\tborder: 2px solid var(--color-loading-light);\n\tborder-top-color: var(--color-loading-dark);\n\tborder-radius: 100%;\n\n\tfilter: var(--background-invert-if-dark);\n}\n\n"],sourceRoot:""}]);const s=a},876:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"img[data-v-62341d0d]{max-width:100%;max-height:100%;align-self:center;justify-self:center;background-color:#000;transition:height 100ms ease,width 100ms ease,margin-top 100ms ease,margin-left 100ms ease}img[data-v-62341d0d]:hover{background-image:linear-gradient(45deg, #efefef 25%, transparent 25%),linear-gradient(45deg, transparent 75%, #efefef 75%),linear-gradient(45deg, transparent 75%, #efefef 75%),linear-gradient(45deg, #efefef 25%, #fff 25%);background-size:16px 16px;background-position:0 0,0 0,-8px -8px,8px 8px}img.loaded[data-v-62341d0d]{background-color:#fff}img.zoomed[data-v-62341d0d]{position:absolute;max-height:none;max-width:none;z-index:10010;cursor:move}img.dragging[data-v-62341d0d]{transition:none !important;cursor:move}","",{version:3,sources:["webpack://./src/components/Images.vue"],names:[],mappings:"AAkRA,qBACC,cAAA,CACA,eAAA,CACA,iBAAA,CACA,mBAAA,CAEA,qBAAA,CAEA,0FAAA,CAKA,2BACC,6NAAA,CAIA,yBAAA,CACA,6CAAA,CAED,4BAEC,qBAAA,CAED,4BACC,iBAAA,CACA,eAAA,CACA,cAAA,CACA,aAAA,CACA,WAAA,CAGD,8BACC,0BAAA,CACA,WAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$checkered-size: 8px;\n$checkered-color: #efefef;\n\nimg {\n\tmax-width: 100%;\n\tmax-height: 100%;\n\talign-self: center;\n\tjustify-self: center;\n\t// black while loading\n\tbackground-color: #000;\n\t// animate zooming/resize\n\ttransition: height 100ms ease,\n\t\twidth 100ms ease,\n\t\tmargin-top 100ms ease,\n\t\tmargin-left 100ms ease;\n\t// show checkered bg on hover if not currently zooming (but ok if zoomed)\n\t&:hover {\n\t\tbackground-image: linear-gradient(45deg, #{$checkered-color} 25%, transparent 25%),\n\t\t\tlinear-gradient(45deg, transparent 75%, #{$checkered-color} 75%),\n\t\t\tlinear-gradient(45deg, transparent 75%, #{$checkered-color} 75%),\n\t\t\tlinear-gradient(45deg, #{$checkered-color} 25%, #fff 25%);\n\t\tbackground-size: 2 * $checkered-size 2 * $checkered-size;\n\t\tbackground-position: 0 0, 0 0, -#{$checkered-size} -#{$checkered-size}, $checkered-size $checkered-size;\n\t}\n\t&.loaded {\n\t\t// white once done loading\n\t\tbackground-color: #fff;\n\t}\n\t&.zoomed {\n\t\tposition: absolute;\n\t\tmax-height: none;\n\t\tmax-width: none;\n\t\tz-index: 10010;\n\t\tcursor: move;\n\t}\n\n\t&.dragging {\n\t\ttransition: none !important;\n\t\tcursor: move;\n\t}\n}\n"],sourceRoot:""}]);const s=a},4045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"video[data-v-f128e896]{z-index:20050;align-self:center;max-width:100%;max-height:100%;background-color:#000;justify-self:center}[data-v-f128e896] .plyr:-webkit-full-screen video{width:100% !important;height:100% !important}[data-v-f128e896] .plyr:fullscreen video{width:100% !important;height:100% !important}[data-v-f128e896] .plyr__progress__container{flex:1 1}[data-v-f128e896] .plyr{--plyr-color-main: var(--color-primary);--plyr-control-icon-size: 18px;--plyr-menu-background: var(--color-main-background);--plyr-menu-color: var(--color-main-text);--plyr-audio-controls-background: var(--color-main-background);--plyr-audio-control-color: var(--color-main-text);--plyr-button-size: 44px;--plyr-range-fill-background: var(--color-primary-element)}[data-v-f128e896] .plyr .plyr__controls{flex-wrap:wrap}[data-v-f128e896] .plyr .plyr__controls .plyr__volume,[data-v-f128e896] .plyr .plyr__controls .plyr__progress__container{min-width:120px;max-width:100%;flex:1 1}[data-v-f128e896] .plyr .plyr__controls .plyr__progress__container{flex:4 1}[data-v-f128e896] .plyr button{width:var(--plyr-button-size);height:var(--plyr-button-size);padding:calc((var(--plyr-button-size) - var(--plyr-control-icon-size))/2);cursor:pointer;border:none;background-color:rgba(0,0,0,0);line-height:inherit}[data-v-f128e896] .plyr button:hover,[data-v-f128e896] .plyr button:focus{color:var(--color-main-text);background-color:var(--color-background-hover)}[data-v-f128e896] .plyr button.plyr__control--overlaid{width:var(--plyr-button-size);height:var(--plyr-button-size);color:var(--color-primary-text);background-color:var(--color-primary-element);--plyr-button-size: 50px}[data-v-f128e896] .plyr button.plyr__control--overlaid:hover,[data-v-f128e896] .plyr button.plyr__control--overlaid:focus{background-color:var(--color-primary-element-hover)}[data-v-f128e896] .plyr .plyr__menu__container button{width:120px;margin:0;color:var(--color-main-text)}[data-v-f128e896] .plyr .plyr__menu__container button:hover,[data-v-f128e896] .plyr .plyr__menu__container button:focus{color:var(--color-main-text);background-color:var(--color-background-hover)}[data-v-f128e896] .plyr .plyr__menu__container button.plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}[data-v-f128e896] .plyr .plyr__menu__container button.plyr__control--back{margin:calc(var(--plyr-control-spacing, 10px)*.7);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4)}[data-v-f128e896] .plyr .plyr__progress__buffer{width:calc(100% + var(--plyr-range-thumb-height, 13px));height:var(--plyr-range-track-height, 5px);background:rgba(0,0,0,0)}[data-v-f128e896] .plyr button{color:#fff}[data-v-f128e896] .plyr button:hover,[data-v-f128e896] .plyr button:focus{color:var(--color-primary-text);background-color:var(--color-primary-element)}","",{version:3,sources:["webpack://./src/components/Videos.vue","webpack://./src/mixins/Plyr.scss"],names:[],mappings:"AAwJA,uBAEC,aAAA,CACA,iBAAA,CACA,cAAA,CACA,eAAA,CACA,qBAAA,CAEA,mBAAA,CAIA,kDACC,qBAAA,CACA,sBAAA,CAED,yCACC,qBAAA,CACA,sBAAA,CAED,6CACC,QAAA,CC5KF,wBAEC,uCAAA,CACA,8BAAA,CACA,oDAAA,CACA,yCAAA,CAGA,8DAAA,CACA,kDAAA,CAkBA,wBAAA,CA2DA,0DAAA,CA1EA,wCACC,cAAA,CACA,yHAEC,eAAA,CACA,cAAA,CACA,QAAA,CAGD,mEACC,QAAA,CAMF,+BACC,6BAAA,CACA,8BAAA,CAEA,yEAAA,CACA,cAAA,CACA,WAAA,CACA,8BAAA,CACA,mBAAA,CAEA,0EAEC,4BAAA,CACA,8CAAA,CAGD,uDACC,6BAAA,CACA,8BAAA,CACA,+BAAA,CACA,6CAAA,CAEA,wBAAA,CAEA,0HAEC,mDAAA,CAMH,sDAEC,WAAA,CACA,QAAA,CAEA,4BAAA,CAEA,wHAEC,4BAAA,CACA,8CAAA,CAGD,6EACC,kBAAA,CACA,0DAAA,CAGD,0EACC,iDAAA,CACA,iBAAA,CACA,yDAAA,CAMF,gDACC,uDAAA,CACA,0CAAA,CACA,wBAAA,CDyFA,+BACC,UAAA,CAEA,0EAEC,+BAAA,CACA,6CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvideo {\n\t/* over arrows in tiny screens */\n\tz-index: 20050;\n\talign-self: center;\n\tmax-width: 100%;\n\tmax-height: 100%;\n\tbackground-color: black;\n\n\tjustify-self: center;\n}\n\n::v-deep {\n\t.plyr:-webkit-full-screen video {\n\t\twidth: 100% !important;\n\t\theight: 100% !important;\n\t}\n\t.plyr:fullscreen video {\n\t\twidth: 100% !important;\n\t\theight: 100% !important;\n\t}\n\t.plyr__progress__container {\n\t\tflex: 1 1;\n\t}\n\n\t.plyr {\n\t\t@import '../mixins/Plyr';\n\n\t\t// Override server font style\n\t\tbutton {\n\t\t\tcolor: white;\n\n\t\t\t&:hover,\n\t\t\t&:focus {\n\t\t\t\tcolor: var(--color-primary-text);\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t}\n\t\t}\n\t}\n}\n\n","// Shared style between video and audio component for plyr\n& {\n\t// https://github.com/sampotts/plyr#customizing-the-css\n\t--plyr-color-main: var(--color-primary);\n\t--plyr-control-icon-size: 18px;\n\t--plyr-menu-background: var(--color-main-background);\n\t--plyr-menu-color: var(--color-main-text);\n\n\t// Audio specific\n\t--plyr-audio-controls-background: var(--color-main-background);\n\t--plyr-audio-control-color: var(--color-main-text);\n\n\t// Reactive content\n\t.plyr__controls {\n\t\tflex-wrap: wrap;\n\t\t.plyr__volume,\n\t\t.plyr__progress__container {\n\t\t\tmin-width: 120px;\n\t\t\tmax-width: 100%;\n\t\t\tflex: 1 1;\n\t\t}\n\t\t// Make main progress grow first\n\t\t.plyr__progress__container {\n\t\t\tflex: 4 1;\n\t\t}\n\t}\n\n\t// Override server font style\n\t--plyr-button-size: 44px;\n\tbutton {\n\t\twidth: var(--plyr-button-size);\n\t\theight: var(--plyr-button-size);\n\t\t// Center icon\n\t\tpadding: calc((var(--plyr-button-size) - var(--plyr-control-icon-size)) / 2);\n\t\tcursor: pointer;\n\t\tborder: none;\n\t\tbackground-color: transparent;\n\t\tline-height: inherit;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: var(--color-main-text);\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\n\t\t&.plyr__control--overlaid {\n\t\t\twidth: var(--plyr-button-size);\n\t\t\theight: var(--plyr-button-size);\n\t\t\tcolor: var(--color-primary-text);\n\t\t\tbackground-color: var(--color-primary-element);\n\n\t\t\t--plyr-button-size: 50px;\n\n\t\t\t&:hover,\n\t\t\t&:focus {\n\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t}\n\t\t}\n\t}\n\n\t// Menu items\n\t.plyr__menu__container button {\n\t\t// avoid size change and flicker\n\t\twidth: 120px;\n\t\tmargin: 0;\n\t\t// background is main-bg\n\t\tcolor: var(--color-main-text);\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: var(--color-main-text);\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\n\t\t&.plyr__control--forward {\n\t\t\tpadding-right: 28px;\n\t\t\tpadding-right: calc(var(--plyr-control-spacing, 10px) * .7 * 4);\n\t\t}\n\n\t\t&.plyr__control--back {\n\t\t\tmargin: calc(var(--plyr-control-spacing, 10px) * .7);\n\t\t\tpadding-left: 28px;\n\t\t\tpadding-left: calc(var(--plyr-control-spacing, 10px) * .7 * 4);\n\t\t}\n\t}\n\n\t// Progress\n\t--plyr-range-fill-background: var(--color-primary-element);\n\t.plyr__progress__buffer {\n\t\twidth: calc(100% + var(--plyr-range-thumb-height, 13px));\n\t\theight: var(--plyr-range-track-height, 5px);\n\t\tbackground: transparent;\n\t}\n}\n"],sourceRoot:""}]);const s=a},4499:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".viewer.modal-mask[data-v-21a764e7]{transition:width ease 100ms,background-color .3s ease}.viewer[data-v-21a764e7]  .modal-container,.viewer__content[data-v-21a764e7]{overflow:visible !important;cursor:pointer}.viewer[data-v-21a764e7]  .modal-wrapper .modal-container{top:var(--header-height);bottom:var(--header-height);height:auto;background-color:rgba(0,0,0,0);box-shadow:none}.viewer__content[data-v-21a764e7]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.viewer__file[data-v-21a764e7]{transition:height 100ms ease,width 100ms ease}.viewer__file--hidden[data-v-21a764e7]{position:absolute;z-index:-1;left:-10000px}.viewer.theme--dark[data-v-21a764e7] .button-vue--vue-tertiary:hover{background-color:rgba(255,255,255,.08) !important}.viewer.theme--dark[data-v-21a764e7] .button-vue--vue-tertiary:focus,.viewer.theme--dark[data-v-21a764e7] .button-vue--vue-tertiary:focus-visible{background-color:rgba(255,255,255,.08) !important;outline:2px solid var(--color-primary-element) !important}.viewer.theme--undefined.modal-mask[data-v-21a764e7]{background-color:rgba(0,0,0,0) !important}.viewer.theme--light.modal-mask[data-v-21a764e7]{background-color:rgba(255,255,255,.92) !important}.viewer.theme--light[data-v-21a764e7]  .modal-title,.viewer.theme--light[data-v-21a764e7]  .modal-header .icons-menu button svg{color:#000 !important}.viewer.theme--default.modal-mask[data-v-21a764e7]{background-color:var(--color-main-background) !important}.viewer.theme--default[data-v-21a764e7]  .modal-title,.viewer.theme--default[data-v-21a764e7]  .modal-header .icons-menu{color:var(--color-main-text) !important}.viewer.theme--default[data-v-21a764e7]  .modal-title button svg,.viewer.theme--default[data-v-21a764e7]  .modal-title a,.viewer.theme--default[data-v-21a764e7]  .modal-header .icons-menu button svg,.viewer.theme--default[data-v-21a764e7]  .modal-header .icons-menu a{color:var(--color-main-text) !important}","",{version:3,sources:["webpack://./src/views/Viewer.vue"],names:[],mappings:"AA48BC,oCACC,qDAAA,CAGD,6EAEC,2BAAA,CACA,cAAA,CAIA,0DAEC,wBAAA,CACA,2BAAA,CACA,WAAA,CAEA,8BAAA,CACA,eAAA,CAIF,kCAEC,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,UAAA,CACA,WAAA,CAGD,+BACC,6CAAA,CAIA,uCACC,iBAAA,CACA,UAAA,CACA,aAAA,CAKD,qEACC,iDAAA,CAED,kJAEC,iDAAA,CACA,yDAAA,CAIF,qDACC,yCAAA,CAIA,iDACC,iDAAA,CAED,gIAEC,qBAAA,CAKD,mDACC,wDAAA,CAED,yHAEC,uCAAA,CAEA,4QACC,uCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.viewer {\n\t&.modal-mask {\n\t\ttransition: width ease 100ms, background-color .3s ease;\n\t}\n\n\t::v-deep .modal-container,\n\t&__content {\n\t\toverflow: visible !important;\n\t\tcursor: pointer;\n\t}\n\n\t::v-deep .modal-wrapper {\n\t\t.modal-container {\n\t\t\t// Ensure some space at the bottom\n\t\t\ttop: var(--header-height);\n\t\t\tbottom: var(--header-height);\n\t\t\theight: auto;\n\t\t\t// let the mime components manage their own background-color\n\t\t\tbackground-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t&__content {\n\t\t// center views\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&__file {\n\t\ttransition: height 100ms ease,\n\t\t\twidth 100ms ease;\n\n\t\t// display on page but make it invisible\n\t\t&--hidden {\n\t\t\tposition: absolute;\n\t\t\tz-index: -1;\n\t\t\tleft: -10000px;\n\t\t}\n\t}\n\n\t&.theme--dark::v-deep .button-vue--vue-tertiary {\n\t\t&:hover {\n\t\t\tbackground-color: rgba(255, 255, 255, .08) !important;\n\t\t}\n\t\t&:focus,\n\t\t&:focus-visible {\n\t\t\tbackground-color: rgba(255, 255, 255, .08) !important;\n\t\t\toutline: 2px solid var(--color-primary-element) !important;\n\t\t}\n\t}\n\n\t&.theme--undefined.modal-mask {\n\t\tbackground-color: transparent !important;\n\t}\n\n\t&.theme--light {\n\t\t&.modal-mask {\n\t\t\tbackground-color: rgba(255, 255, 255, .92) !important;\n\t\t}\n\t\t::v-deep .modal-title,\n\t\t::v-deep .modal-header .icons-menu button svg {\n\t\t\tcolor: #000 !important;\n\t\t}\n\t}\n\n\t&.theme--default {\n\t\t&.modal-mask {\n\t\t\tbackground-color: var(--color-main-background) !important;\n\t\t}\n\t\t::v-deep .modal-title,\n\t\t::v-deep .modal-header .icons-menu {\n\t\t\tcolor: var(--color-main-text) !important;\n\n\t\t\tbutton svg, a {\n\t\t\t\tcolor: var(--color-main-text) !important;\n\t\t\t}\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]);const s=a},8486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i),s=n(1667),l=n.n(s),u=new URL(n(8227),n.b),c=a()(o()),p=l()(u);c.push([e.id,".component-fade-enter-active,.component-fade-leave-active{transition:opacity .3s ease}.component-fade-enter,.component-fade-leave-to{opacity:0}#viewer.modal-mask--dark .action-item--single.icon-menu-sidebar{background-image:url("+p+")}#viewer.modal-mask--dark .action-item--single.icon-download{background-image:var(--icon-download-fff)}.ui-autocomplete{z-index:2050 !important}","",{version:3,sources:["webpack://./src/views/Viewer.vue"],names:[],mappings:"AAkiCA,0DAEC,2BAAA,CAGD,+CACC,SAAA,CAID,gEACC,wDAAA,CAGD,4DACC,yCAAA,CAMD,iBACC,uBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.component-fade-enter-active,\n.component-fade-leave-active {\n\ttransition: opacity .3s ease;\n}\n\n.component-fade-enter, .component-fade-leave-to {\n\topacity: 0;\n}\n\n// force white icon on single buttons\n#viewer.modal-mask--dark .action-item--single.icon-menu-sidebar {\n\tbackground-image: url('../assets/menu-sidebar-white.svg');\n}\n\n#viewer.modal-mask--dark .action-item--single.icon-download {\n\tbackground-image: var(--icon-download-fff);\n}\n\n// put autocomplete over full sidebar\n// TODO: remove when new sharing sidebar (18)\n// is the min-version of viewer\n.ui-autocomplete {\n\tz-index: 2050 !important;\n}\n\n"],sourceRoot:""}]);const d=c},4371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"\n#emptycontent[data-v-51b0dd4c] {\n\tmargin: 0;\n\tpadding: 10% 5%;\n\tbackground-color: var(--color-main-background);\n}\n","",{version:3,sources:["webpack://./src/components/Error.vue"],names:[],mappings:";AA6CA;CACA,SAAA;CACA,eAAA;CACA,8CAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div id=\"emptycontent\">\n\t\t<div class=\"icon-error\" />\n\t\t<h2>\n\t\t\t<slot>{{ t('viewer', 'Error loading {name}', { name }) }}</slot>\n\t\t</h2>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: 'Error',\n\n\tprops: {\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t},\n}\n<\/script>\n\n<style scoped>\n#emptycontent {\n\tmargin: 0;\n\tpadding: 10% 5%;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],sourceRoot:""}]);const s=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},1667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},296:e=>{function t(e,t,n){var r,o,i,a,s;function l(){var u=Date.now()-a;u<t&&u>=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var u=function(){i=this,o=arguments,a=Date.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(i,o),i=o=null),s};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},7444:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}function o(e){return e.split("-")[1]}function i(e){return["top","bottom"].includes(r(e))?"x":"y"}function a(e){return"y"===e?"height":"width"}function s(e){let{reference:t,floating:n,placement:s}=e;const l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2;let c;switch(r(s)){case"top":c={x:l,y:t.y-n.height};break;case"bottom":c={x:l,y:t.y+t.height};break;case"right":c={x:t.x+t.width,y:u};break;case"left":c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}const p=i(s),d=a(p);switch(o(s)){case"start":c[p]=c[p]-(t[d]/2-n[d]/2);break;case"end":c[p]=c[p]+(t[d]/2-n[d]/2)}return c}n.r(t),n.d(t,{Dropdown:()=>qt,HIDE_EVENT_MAP:()=>ye,Menu:()=>Vt,Popper:()=>Gt,PopperContent:()=>Wt,PopperMethods:()=>Zt,PopperWrapper:()=>Yt,SHOW_EVENT_MAP:()=>ve,ThemeClass:()=>Xt,Tooltip:()=>Kt,TooltipDirective:()=>Qt,VClosePopper:()=>Ht,VTooltip:()=>$t,createTooltip:()=>Ot,default:()=>en,destroyTooltip:()=>Pt,hideAllPoppers:()=>Fe,install:()=>Jt,options:()=>Ut,placements:()=>ge});function l(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 u(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function c(e,t){void 0===t&&(t={});const{x:n,y:r,platform:o,rects:i,elements:a,strategy:s}=e,{boundary:c="clippingParents",rootBoundary:p="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=t,m=l(h),g=a[f?"floating"===d?"reference":"floating":d],v=await o.getClippingClientRect({element:await o.isElement(g)?g:g.contextElement||await o.getDocumentElement({element:a.floating}),boundary:c,rootBoundary:p}),y=u(await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...i.floating,x:n,y:r}:i.reference,offsetParent:await o.getOffsetParent({element:a.floating}),strategy:s}));return{top:v.top-y.top+m.top,bottom:y.bottom-v.bottom+m.bottom,left:v.left-y.left+m.left,right:y.right-v.right+m.right}}const p=Math.min,d=Math.max;function f(e,t,n){return d(e,p(t,n))}const h={left:"right",right:"left",bottom:"top",top:"bottom"};function m(e){return e.replace(/left|right|bottom|top/g,(e=>h[e]))}function g(e,t){const n="start"===o(e),r=i(e),s=a(r);let l="x"===r?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=m(l)),{main:l,cross:m(l)}}const v={start:"end",end:"start"};function y(e){return e.replace(/start|end/g,(e=>v[e]))}const b=["top","right","bottom","left"],A=b.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const C=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,a,s,l,u;const{x:p,y:d,rects:f,middlewareData:h,placement:m}=t,{alignment:v=null,allowedPlacements:b=A,autoAlignment:C=!0,...w}=e;if(null!=(n=h.autoPlacement)&&n.skip)return{};const x=function(e,t,n){return(e?[...n.filter((t=>o(t)===e)),...n.filter((t=>o(t)!==e))]:n.filter((e=>r(e)===e))).filter((n=>!e||o(n)===e||!!t&&y(n)!==n))}(v,C,b),E=await c(t,w),_=null!=(i=null==(a=h.autoPlacement)?void 0:a.index)?i:0,k=x[_],{main:S,cross:D}=g(k,f);if(m!==k)return{x:p,y:d,reset:{placement:x[0]}};const T=[E[r(k)],E[S],E[D]],O=[...null!=(s=null==(l=h.autoPlacement)?void 0:l.overflows)?s:[],{placement:k,overflows:T}],P=x[_+1];if(P)return{data:{index:_+1,overflows:O},reset:{placement:P}};const L=O.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),F=null==(u=L.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:u.placement;return{data:{skip:!0},reset:{placement:null!=F?F:L[0].placement}}}}};const w=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:a,rects:s,initialPlacement:l}=t;if(null!=(n=a.flip)&&n.skip)return{};const{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...v}=e,b=r(i),A=d||(b===l||!h?[m(l)]:function(e){const t=m(e);return[y(e),t,y(t)]}(l)),C=[l,...A],w=await c(t,v),x=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(u&&x.push(w[b]),p){const{main:e,cross:t}=g(i,s);x.push(w[e],w[t])}if(E=[...E,{placement:i,overflows:x}],!x.every((e=>e<=0))){var _,k;const e=(null!=(_=null==(k=a.flip)?void 0:k.index)?_:0)+1,t=C[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(f){case"bestFit":{var S;const e=null==(S=E.slice().sort(((e,t)=>e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)-t.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)))[0])?void 0:S.placement;e&&(n=e);break}case"initialPlacement":n=l}return{data:{skip:!0},reset:{placement:n}}}return{}}}};const x=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:o,placement:a,rects:s}=t,l=function(e){let{placement:t,rects:n,value:o}=e;const a=r(t),s=["left","top"].includes(a)?-1:1,l="function"==typeof o?o({...n,placement:t}):o,{mainAxis:u,crossAxis:c}="number"==typeof l?{mainAxis:l,crossAxis:0}:{mainAxis:0,crossAxis:0,...l};return"x"===i(a)?{x:c,y:u*s}:{x:u*s,y:c}}({placement:a,rects:s,value:e});return{x:n+l.x,y:o+l.y,data:l}}}};function E(e){return"x"===e?"y":"x"}function _(e){return"[object Window]"===(null==e?void 0:e.toString())}function k(e){if(null==e)return window;if(!_(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function S(e){return k(e).getComputedStyle(e)}function D(e){return _(e)?"":e?(e.nodeName||"").toLowerCase():""}function T(e){return e instanceof k(e).HTMLElement}function O(e){return e instanceof k(e).Element}function P(e){return e instanceof k(e).ShadowRoot||e instanceof ShadowRoot}function L(e){const{overflow:t,overflowX:n,overflowY:r}=S(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function F(e){return["table","td","th"].includes(D(e))}function j(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=S(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}const B=Math.min,I=Math.max,N=Math.round;function M(e,t){void 0===t&&(t=!1);const n=e.getBoundingClientRect();let r=1,o=1;return t&&T(e)&&(r=e.offsetWidth>0&&N(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&N(n.height)/e.offsetHeight||1),{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function R(e){return(t=e,(t instanceof k(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function z(e){return _(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function U(e){return M(R(e)).left+z(e).scrollLeft}function $(e,t,n){const r=T(t),o=R(t),i=M(e,r&&function(e){const t=M(e);return N(t.width)!==e.offsetWidth||N(t.height)!==e.offsetHeight}(t));let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==D(t)||L(o))&&(a=z(t)),T(t)){const e=M(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=U(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function H(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||R(e)}function q(e){return T(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function V(e){const t=k(e);let n=q(e);for(;n&&F(n)&&"static"===getComputedStyle(n).position;)n=q(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===getComputedStyle(n).position&&!j(n))?t:n||function(e){let t=H(e);for(;T(t)&&!["html","body"].includes(D(t));){if(j(t))return t;t=t.parentNode}return null}(e)||t}function G(e){return{width:e.offsetWidth,height:e.offsetHeight}}function W(e){return["html","body","#document"].includes(D(e))?e.ownerDocument.body:T(e)&&L(e)?e:W(H(e))}function Z(e,t){var n;void 0===t&&(t=[]);const r=W(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=k(r),a=o?[i].concat(i.visualViewport||[],L(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Z(H(a)))}function Y(e,t){return"viewport"===t?u(function(e){const t=k(e),n=R(e),r=t.visualViewport;let o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,Math.abs(t.innerWidth/r.scale-r.width)<.01&&(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a,y:s}}(e)):O(t)?function(e){const t=M(e),n=t.top+e.clientTop,r=t.left+e.clientLeft;return{top:n,left:r,x:r,y:n,right:r+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t):u(function(e){var t;const n=R(e),r=z(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=I(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=I(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+U(e);const l=-r.scrollTop;return"rtl"===S(o||n).direction&&(s+=I(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(R(e)))}function X(e){const t=Z(H(e)),n=["absolute","fixed"].includes(S(e).position)&&T(e)?V(e):e;return O(n)?t.filter((e=>O(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&P(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==D(e))):[]}const K={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:$(t,V(n),r),floating:{...G(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=T(n),i=R(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==D(n)||L(i))&&(a=z(n)),T(n))){const e=M(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}(e),getOffsetParent:e=>{let{element:t}=e;return V(t)},isElement:e=>O(e),getDocumentElement:e=>{let{element:t}=e;return R(t)},getClippingClientRect:e=>function(e){let{element:t,boundary:n,rootBoundary:r}=e;const o=[..."clippingParents"===n?X(t):[].concat(n),r],i=o[0],a=o.reduce(((e,n)=>{const r=Y(t,n);return e.top=I(r.top,e.top),e.right=B(r.right,e.right),e.bottom=B(r.bottom,e.bottom),e.left=I(r.left,e.left),e}),Y(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(e),getDimensions:e=>{let{element:t}=e;return G(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Q=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n;let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=s({...l,placement:r}),p=r,d={};for(let n=0;n<i.length;n++){const{name:f,fn:h}=i[n],{x:m,y:g,data:v,reset:y}=await h({x:u,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,c=null!=g?g:c,d={...d,[f]:null!=v?v:{}},y&&("object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(l=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:c}=s({...l,placement:p}))),n=-1)}return{x:u,y:c,placement:p,strategy:o,middlewareData:d}})(e,t,{platform:K,...n});var J=n(144),ee=n(5108),te=Object.defineProperty,ne=Object.defineProperties,re=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,se=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,le=(e,t)=>{for(var n in t||(t={}))ie.call(t,n)&&se(e,n,t[n]);if(oe)for(var n of oe(t))ae.call(t,n)&&se(e,n,t[n]);return e},ue=(e,t)=>ne(e,re(t));function ce(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&("object"==typeof t[n]&&e[n]?ce(e[n],t[n]):e[n]=t[n])}const pe={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function de(e,t){let n,r=pe.themes[e]||{};do{n=r[t],void 0===n?r.$extend?r=pe.themes[r.$extend]||{}:(r=null,n=pe[t]):r=null}while(r);return n}function fe(e){const t=[e];let n=pe.themes[e]||{};do{n.$extend?(t.push(n.$extend),n=pe.themes[n.$extend]||{}):n=null}while(n);return t}let he=!1;if("undefined"!=typeof window){he=!1;try{const e=Object.defineProperty({},"passive",{get(){he=!0}});window.addEventListener("test",null,e)}catch(e){}}let me=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(me=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ge=["auto","top","bottom","left","right"].reduce(((e,t)=>e.concat([t,`${t}-start`,`${t}-end`])),[]),ve={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},ye={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function be(e,t){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}function Ae(){return new Promise((e=>requestAnimationFrame((()=>{requestAnimationFrame(e)}))))}const Ce=[];let we=null;const xe={};function Ee(e){let t=xe[e];return t||(t=xe[e]=[]),t}let _e=function(){};function ke(e){return function(){return de(this.$props.theme,e)}}"undefined"!=typeof window&&(_e=window.Element);const Se="__floating-vue__popper";var De=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ke("disabled")},positioningDisabled:{type:Boolean,default:ke("positioningDisabled")},placement:{type:String,default:ke("placement"),validator:e=>ge.includes(e)},delay:{type:[String,Number,Object],default:ke("delay")},distance:{type:[Number,String],default:ke("distance")},skidding:{type:[Number,String],default:ke("skidding")},triggers:{type:Array,default:ke("triggers")},showTriggers:{type:[Array,Function],default:ke("showTriggers")},hideTriggers:{type:[Array,Function],default:ke("hideTriggers")},popperTriggers:{type:Array,default:ke("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ke("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ke("popperHideTriggers")},container:{type:[String,Object,_e,Boolean],default:ke("container")},boundary:{type:[String,_e],default:ke("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ke("strategy")},autoHide:{type:[Boolean,Function],default:ke("autoHide")},handleResize:{type:Boolean,default:ke("handleResize")},instantMove:{type:Boolean,default:ke("instantMove")},eagerMount:{type:Boolean,default:ke("eagerMount")},popperClass:{type:[String,Array,Object],default:ke("popperClass")},computeTransformOrigin:{type:Boolean,default:ke("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ke("autoMinSize")},autoSize:{type:[Boolean,String],default:ke("autoSize")},autoMaxSize:{type:Boolean,default:ke("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ke("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ke("preventOverflow")},overflowPadding:{type:[Number,String],default:ke("overflowPadding")},arrowPadding:{type:[Number,String],default:ke("arrowPadding")},arrowOverflow:{type:Boolean,default:ke("arrowOverflow")},flip:{type:Boolean,default:ke("flip")},shift:{type:Boolean,default:ke("shift")},shiftCrossAxis:{type:Boolean,default:ke("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ke("noAutoFocus")}},provide(){return{[Se]:{parentPopper:this}}},inject:{[Se]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return null!=this.ariaId?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:"function"==typeof this.autoHide?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:ue(le({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return null==(e=this[Se])?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return(null==(e=this.popperTriggers)?void 0:e.includes("hover"))||(null==(t=this.popperShowTriggers)?void 0:t.includes("hover"))}},watch:le(le({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce(((e,t)=>(e[t]="$_refreshListeners",e)),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce(((e,t)=>(e[t]="$_computePosition",e)),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map((e=>e.toString(36).substring(2,10))).join("_")}`,this.autoMinSize&&ee.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&ee.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(null==(r=this.parentPopper)?void 0:r.lockedChild)&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,!n&&this.disabled||((null==(o=this.parentPopper)?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame((()=>{this.$_showFrameLocked=!1}))),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1,skipAiming:n=!1}={}){var r;this.$_hideInProgress||(this.shownChildren.size>0?this.$_pendingHide=!0:!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()?this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout((()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)}),1e3)):((null==(r=this.parentPopper)?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)))},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter((e=>e.nodeType===e.ELEMENT_NODE)),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(x({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(C({alignment:null!=(e=this.placement.split("-")[1])?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...p}=e,d={x:n,y:o},h=await c(t,p),m=i(r(a)),g=E(m);let v=d[m],y=d[g];if(s){const e="y"===m?"bottom":"right";v=f(v+h["y"===m?"top":"left"],v,v-h[e])}if(l){const e="y"===g?"bottom":"right";y=f(y+h["y"===g?"top":"left"],y,y-h[e])}const b=u.fn({...t,[m]:v,[g]:y});return{...b,data:{x:b.x-n,y:b.y-o}}}}}({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(w({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:s,y:u,placement:c,rects:p,platform:d}=t;if(null==n)return{};const h=l(o),m={x:s,y:u},g=i(r(c)),v=a(g),y=await d.getDimensions({element:n}),b="y"===g?"top":"left",A="y"===g?"bottom":"right",C=p.reference[v]+p.reference[g]-m[g]-p.floating[v],w=m[g]-p.reference[g],x=await d.getOffsetParent({element:n}),E=x?"y"===g?x.clientHeight||0:x.clientWidth||0:0,_=C/2-w/2,k=h[b],S=E-y[v]-h[A],D=E/2-y[v]/2+_,T=f(k,D,S);return{data:{[g]:T,centerOffset:D-T}}}}))({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:e,rects:t,middlewareData:n})=>{let r;const{centerOffset:o}=n.arrow;return r=e.startsWith("top")||e.startsWith("bottom")?Math.abs(o)>t.reference.width/2:Math.abs(o)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const e=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:t,placement:n,middlewareData:r})=>{var o;if(null==(o=r.autoSize)?void 0:o.skip)return{};let i,a;return n.startsWith("top")||n.startsWith("bottom")?i=t.reference.width:a=t.reference.height,this.$_innerNode.style["min"===e?"minWidth":"max"===e?"maxWidth":"width"]=null!=i?`${i}px`:null,this.$_innerNode.style["min"===e?"minHeight":"max"===e?"maxHeight":"height"]=null!=a?`${a}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:i,rects:a,middlewareData:s}=t,{apply:l,...u}=e;if(null!=(n=s.size)&&n.skip)return{};const p=await c(t,u),f=r(i),h="end"===o(i);let m,g;"top"===f||"bottom"===f?(m=f,g=h?"left":"right"):(g=f,m=h?"top":"bottom");const v=d(p.left,0),y=d(p.right,0),b=d(p.top,0),A=d(p.bottom,0),C={height:a.floating.height-(["left","right"].includes(i)?2*(0!==b||0!==A?b+A:d(p.top,p.bottom)):p[m]),width:a.floating.width-(["top","bottom"].includes(i)?2*(0!==v||0!==y?v+y:d(p.left,p.right)):p[g])};return null==l||l({...C,...a}),{data:{skip:!0},reset:{rects:!0}}}}}({boundary:this.boundary,padding:this.overflowPadding,apply:({width:e,height:t})=>{this.$_innerNode.style.maxWidth=null!=e?`${e}px`:null,this.$_innerNode.style.maxHeight=null!=t?`${t}px`:null}})));const s=await Q(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:le(le({},s.middlewareData.arrow),s.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),we&&this.instantMove&&we.instantMove&&we!==this.parentPopper)return we.$_applyHide(!0),void this.$_applyShow(!0);t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){this.shownChildren.size>0?this.$_pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(we=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide")))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,this.isShown||(this.$_ensureTeleport(),await Ae(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Z(this.$_referenceNode),...Z(this.$_popperNode)],"scroll",(()=>{this.$_computePosition()})))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),o=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Ce.length;n++)t=Ce[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Ce.push(this),document.body.classList.add("v-popper--some-open");for(const e of fe(this.theme))Ee(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ae(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0)return this.$_pendingHide=!0,void(this.$_hideInProgress=!1);if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,be(Ce,this),0===Ce.length&&document.body.classList.remove("v-popper--some-open");for(const e of fe(this.theme)){const t=Ee(e);be(t,this),0===t.length&&document.body.classList.remove(`v-popper--some-open--${e}`)}we===this&&(we=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=de(this.theme,"disposeTimeout");null!==t&&(this.$_disposeTimer=setTimeout((()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)}),t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ae(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if("string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,ve,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ve,this.popperTriggers,this.popperShowTriggers,e);const t=e=>t=>{t.usedByTooltip||this.hide({event:t,skipAiming:e})};this.$_registerTriggerListeners(this.$_targetNodes,ye,this.triggers,this.hideTriggers,t(!1)),this.$_registerTriggerListeners([this.$_popperNode],ye,this.popperTriggers,this.popperHideTriggers,t(!0))},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach((e=>e.addEventListener(t,n,he?{passive:!0}:void 0)))},$_registerTriggerListeners(e,t,n,r,o){let i=n;null!=r&&(i="function"==typeof r?r(i):r),i.forEach((n=>{const r=t[n];r&&this.$_registerEventListeners(e,r,o)}))},$_removeEventListeners(e){const t=[];this.$_events.forEach((n=>{const{targetNodes:r,eventType:o,handler:i}=n;e&&e!==o?t.push(n):r.forEach((e=>e.removeEventListener(o,i)))})),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout((()=>{this.$_preventShow=!1}),300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];null==r?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(Ie>=e.left&&Ie<=e.right&&Ne>=e.top&&Ne<=e.bottom){const e=this.$_popperNode.getBoundingClientRect(),t=Ie-je,n=Ne-Be,r=e.left+e.width/2-je+(e.top+e.height/2)-Be+e.width+e.height,o=je+t*r,i=Be+n*r;return Me(je,Be,o,i,e.left,e.top,e.left,e.bottom)||Me(je,Be,o,i,e.left,e.top,e.right,e.top)||Me(je,Be,o,i,e.right,e.top,e.right,e.bottom)||Me(je,Be,o,i,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});function Te(e){for(let t=0;t<Ce.length;t++){const n=Ce[t];try{const t=n.popperNode();n.$_mouseDownContains=t.contains(e.target)}catch(e){}}}function Oe(e,t=!1){const n={};for(let r=Ce.length-1;r>=0;r--){const o=Ce[r];try{const r=o.$_containsGlobalTarget=Pe(o,e);o.$_pendingHide=!1,requestAnimationFrame((()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&Le(o,r,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=o.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let i=o.parentPopper;for(;i&&Le(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}}))}catch(e){}}}function Pe(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Le(e,t,n){return n.closeAllPopover||n.closePopover&&t||function(e,t){if("function"==typeof e.autoHide){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}(e,n)&&!t}function Fe(){for(let e=0;e<Ce.length;e++){Ce[e].hide()}}"undefined"!=typeof document&&"undefined"!=typeof window&&(me?(document.addEventListener("touchstart",Te,!he||{passive:!0,capture:!0}),document.addEventListener("touchend",(function(e){Oe(e,!0)}),!he||{passive:!0,capture:!0})):(window.addEventListener("mousedown",Te,!0),window.addEventListener("click",(function(e){Oe(e)}),!0)),window.addEventListener("resize",(function(e){for(let t=0;t<Ce.length;t++){Ce[t].$_computePosition(e)}})));let je=0,Be=0,Ie=0,Ne=0;function Me(e,t,n,r,o,i,a,s){const l=((a-o)*(t-i)-(s-i)*(e-o))/((s-i)*(n-e)-(a-o)*(r-t)),u=((n-e)*(t-i)-(r-t)*(e-o))/((s-i)*(n-e)-(a-o)*(r-t));return l>=0&&l<=1&&u>=0&&u<=1}var Re;function ze(){ze.init||(ze.init=!0,Re=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}())}function Ue(e,t,n,r,o,i,a,s,l,u){"boolean"!=typeof a&&(l=s,s=a,a=!1);var c,p="function"==typeof n?n.options:n;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,o&&(p.functional=!0)),r&&(p._scopeId=r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},p._ssrRegister=c):t&&(c=a?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(p.functional){var d=p.render;p.render=function(e,t){return c.call(t),d(e,t)}}else{var f=p.beforeCreate;p.beforeCreate=f?[].concat(f,c):[c]}return n}"undefined"!=typeof window&&window.addEventListener("mousemove",(e=>{je=Ie,Be=Ne,Ie=e.clientX,Ne=e.clientY}),he?{passive:!0}:void 0);var $e={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;ze(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Re&&this.$el.appendChild(t),t.data="about:blank",Re||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Re&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},He=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};He._withStripped=!0;var qe=Ue({render:He,staticRenderFns:[]},undefined,$e,"data-v-8859cc6c",false,undefined,!1,void 0,void 0,void 0);var Ve={version:"1.0.1",install:function(e){e.component("resize-observer",qe),e.component("ResizeObserver",qe)}},Ge=null;"undefined"!=typeof window?Ge=window.Vue:void 0!==n.g&&(Ge=n.g.Vue),Ge&&Ge.use(Ve);var We={computed:{themeClass(){return function(e){const t=[e];let n=pe.themes[e]||{};do{n.$extend&&!n.$resetCss?(t.push(n.$extend),n=pe.themes[n.$extend]||{}):n=null}while(n);return t.map((e=>`v-popper--theme-${e}`))}(this.theme)}}},Ze={name:"VPopperContent",components:{ResizeObserver:qe},mixins:[We],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx:e=>null==e||isNaN(e)?null:`${e}px`}};function Ye(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}const Xe={};var Ke=Ye(Ze,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(t){e.autoHide&&e.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[n("div",[e._t("default")],2),e.handleResize?n("ResizeObserver",{on:{notify:function(t){return e.$emit("resize",t)}}}):e._e()]:e._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])}),[],!1,Qe,null,null,null);function Qe(e){for(let e in Xe)this[e]=Xe[e]}var Je=function(){return Ke.exports}(),et={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},tt={name:"VPopperWrapper",components:{Popper:De(),PopperContent:Je},mixins:[et,We],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter((e=>e!==this.$refs.popperContent.$el))}}},nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.popperId,o=t.isShown,i=t.shouldMountContent,a=t.skipTransition,s=t.autoHide,l=t.show,u=t.hide,c=t.handleResize,p=t.onResize,d=t.classes,f=t.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":o}]},[e._t("default",null,{shown:o,show:l,hide:u}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":a,"auto-hide":s,"handle-resize":c,classes:d,result:f},on:{hide:u,resize:p}},[e._t("popper",null,{shown:o,hide:u})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))};const rt={};var ot=Ye(tt,nt,[],!1,it,null,null,null);function it(e){for(let e in rt)this[e]=rt[e]}var at=function(){return ot.exports}(),st=ue(le({},at),{name:"VDropdown",vPopperTheme:"dropdown"});const lt={};var ut=Ye(st,undefined,undefined,!1,ct,null,null,null);function ct(e){for(let e in lt)this[e]=lt[e]}var pt=function(){return ut.exports}(),dt=ue(le({},at),{name:"VMenu",vPopperTheme:"menu"});const ft={};var ht=Ye(dt,undefined,undefined,!1,mt,null,null,null);function mt(e){for(let e in ft)this[e]=ft[e]}var gt=function(){return ht.exports}(),vt=ue(le({},at),{name:"VTooltip",vPopperTheme:"tooltip"});const yt={};var bt=Ye(vt,undefined,undefined,!1,At,null,null,null);function At(e){for(let e in yt)this[e]=yt[e]}var Ct=function(){return bt.exports}(),wt={name:"VTooltipDirective",components:{Popper:De(),PopperContent:Je},mixins:[et],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return de(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return de(this.theme,"loadingContent")}}},data:()=>({asyncContent:null}),computed:{isContentAsync(){return"function"==typeof this.content},loading(){return this.isContentAsync&&null==this.asyncContent},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if("function"==typeof this.content&&this.$_isShown&&(e||!this.$_loading&&null==this.asyncContent)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,t=this.content(this);t.then?t.then((t=>this.onResult(e,t))):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.popperId,o=t.isShown,i=t.shouldMountContent,a=t.skipTransition,s=t.autoHide,l=t.hide,u=t.handleResize,c=t.onResize,p=t.classes,d=t.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":a,"auto-hide":s,"handle-resize":u,classes:p,result:d},on:{hide:l,resize:c}},[e.html?n("div",{domProps:{innerHTML:e._s(e.finalContent)}}):n("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))};const Et={};var _t=Ye(wt,xt,[],!1,kt,null,null,null);function kt(e){for(let e in Et)this[e]=Et[e]}var St=function(){return _t.exports}();const Dt="v-popper--has-tooltip";function Tt(e,t,n){let r;const o=typeof t;return r="string"===o?{content:t}:t&&"object"===o?t:{content:!1},r.placement=function(e,t){let n=e.placement;if(!n&&t)for(const e of ge)t[e]&&(n=e);return n||(n=de(e.theme||"tooltip","placement")),n}(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}function Ot(e,t,n){const r=Tt(e,t,n),o=e.$_popper=new J.ZP({mixins:[et],data:()=>({options:r}),render(e){const t=this.options,{theme:n,html:r,content:o,loadingContent:i}=t,a=((e,t)=>{var n={};for(var r in e)ie.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&oe)for(var r of oe(e))t.indexOf(r)<0&&ae.call(e,r)&&(n[r]=e[r]);return n})(t,["theme","html","content","loadingContent"]);return e(St,{props:{theme:n,html:r,content:o,loadingContent:i},attrs:a,ref:"popper"})},devtools:{hide:!0}}),i=document.createElement("div");return document.body.appendChild(i),o.$mount(i),e.classList&&e.classList.add(Dt),o}function Pt(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(Dt)}function Lt(e,{value:t,oldValue:n,modifiers:r}){const o=Tt(e,t,r);if(!o.content||de(o.theme||"tooltip","disabled"))Pt(e);else{let n;e.$_popper?(n=e.$_popper,n.options=o):n=Ot(e,t,r),void 0!==t.shown&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}var Ft={bind:Lt,update:Lt,unbind(e){Pt(e)}};function jt(e){e.addEventListener("click",It),e.addEventListener("touchstart",Nt,!!he&&{passive:!0})}function Bt(e){e.removeEventListener("click",It),e.removeEventListener("touchstart",Nt),e.removeEventListener("touchend",Mt),e.removeEventListener("touchcancel",Rt)}function It(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Nt(e){if(1===e.changedTouches.length){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Mt),t.addEventListener("touchcancel",Rt)}}function Mt(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Rt(e){e.currentTarget.$_vclosepopover_touch=!1}var zt={bind(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(void 0===t||t)&&jt(e)},update(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(void 0===t||t?jt(e):Bt(e))},unbind(e){Bt(e)}};const Ut=pe,$t=Ft,Ht=zt,qt=pt,Vt=gt,Gt=De,Wt=Je,Zt=et,Yt=at,Xt=We,Kt=Ct,Qt=St;function Jt(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ce(pe,t),e.directive("tooltip",Ft),e.directive("close-popper",zt),e.component("v-tooltip",Ct),e.component("VTooltip",Ct),e.component("v-dropdown",pt),e.component("VDropdown",pt),e.component("v-menu",gt),e.component("VMenu",gt))}const en={version:"1.0.0-beta.19",install:Jt,options:pe};let tn=null;"undefined"!=typeof window?tn=window.Vue:void 0!==n.g&&(tn=n.g.Vue),tn&&tn.use(en)},4291:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>B});var r=n(5108),o=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],i=o.join(","),a="undefined"==typeof Element,s=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!a&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&s.call(e,i)&&r.unshift(e),r=r.filter(n)},c=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var l=a.shift();if("SLOT"===l.tagName){var u=l.assignedElements(),c=e(u.length?u:l.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:l,candidates:c})}else{s.call(l,i)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var p=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),d=!r.shadowRootFilter||r.shadowRootFilter(l);if(p&&d){var f=e(!0===p?l.children:p.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:l,candidates:f})}else a.unshift.apply(a,l.children)}}return o},p=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},h=function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||l(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return r.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},m=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},g=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=s.call(e,"details>summary:first-of-type")?e.parentElement:e;if(s.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof r){for(var i=e;e;){var a=e.parentElement,u=l(e);if(a&&!a.shadowRoot&&!0===r(a))return m(e);e=e.assignedSlot?e.assignedSlot:a||u===e.ownerDocument?a:u.host}e=i}if(function(e){for(var t,n=l(e).host,r=!!(null!==(t=n)&&void 0!==t&&t.ownerDocument.contains(n)||e.ownerDocument.contains(e));!r&&n;){var o;r=!(null===(o=n=l(n).host)||void 0===o||!o.ownerDocument.contains(n))}return r}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},v=function(e,t){return!(t.disabled||function(e){return f(e)&&"hidden"===e.type}(t)||g(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!s.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(h(t)||p(t)<0||!v(e,t))},b=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},A=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,s=p(a,i),l=i?e(t.candidates):a;0===s?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:l})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},C=function(e,t){var n;return n=(t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:b}):u(e,t.includeContainer,y.bind(null,t)),A(n)},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==s.call(e,i)&&y(t,e)},x=o.concat("iframe").join(","),E=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==s.call(e,x)&&v(t,e)};function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=[],T=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},O=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},P=function(e){return setTimeout(e,0)},L=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},F=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},j=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},B=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||D,i=k({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},l=function(e){return a.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},p=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},d=function(){var e=p("initialFocus");if(!1===e)return!1;if(void 0===e)if(l(r.activeElement)>=0)e=r.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||p("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},f=function(){if(a.containerGroups=a.containers.map((function(e){var t,n,r=C(e,i.tabbableOptions),o=(t=e,(n=(n=i.tabbableOptions)||{}).getShadowRoot?c([t],n.includeContainer,{filter:v.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):u(t,n.includeContainer,v.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:o,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(t){return t===e}));if(!(n<0))return t?o.slice(n+1).find((function(e){return w(e,i.tabbableOptions)})):o.slice(0,n).reverse().find((function(e){return w(e,i.tabbableOptions)}))}}})),a.tabbableGroups=a.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),a.tabbableGroups.length<=0&&!p("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},m=function(e){var t=p("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=j(e);l(t)>=0||(F(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!E(t,i.tabbableOptions)}):F(i.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=j(e),n=l(t)>=0;n||t instanceof Document?n&&(a.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),h(a.mostRecentlyFocusedNode||d()))},b=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==F(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=j(e);f();var n=null;if(a.tabbableGroups.length>0){var r=l(t),o=r>=0?a.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var s=L(a.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(s<0&&(o.container===t||E(t,i.tabbableOptions)&&!w(t,i.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(s=r),s>=0){var u=0===s?a.tabbableGroups.length-1:s-1;n=a.tabbableGroups[u].lastTabbableNode}}else{var c=L(a.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(c<0&&(o.container===t||E(t,i.tabbableOptions)&&!w(t,i.tabbableOptions)&&!o.nextTabbableNode(t))&&(c=r),c>=0){var d=c===a.tabbableGroups.length-1?0:c+1;n=a.tabbableGroups[d].firstTabbableNode}}}else n=p("fallbackFocus");n&&(e.preventDefault(),h(n))}(e)},A=function(e){var t=j(e);l(t)>=0||F(i.clickOutsideDeactivates,e)||F(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){if(a.active)return T(o,n),a.delayInitialFocusTimer=i.delayInitialFocus?P((function(){h(d())})):h(d()),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",A,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),n},_=function(){if(a.active)return r.removeEventListener("focusin",y,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",A,!0),r.removeEventListener("keydown",b,!0),n};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),o=s(e,"checkCanFocusTrap");o||f(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=r.activeElement,t&&t();var i=function(){o&&f(),x(),n&&n()};return o?(o(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=k({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,_(),a.active=!1,a.paused=!1,O(o,n);var r=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),u=s(t,"checkCanReturnFocus"),c=s(t,"returnFocus","returnFocusOnDeactivate");r&&r();var p=function(){P((function(){c&&h(m(a.nodeFocusedBeforeActivation)),l&&l()}))};return c&&u?(u(m(a.nodeFocusedBeforeActivation)).then(p,p),this):(p(),this)},pause:function(){return a.paused||!a.active||(a.paused=!0,_()),this},unpause:function(){return a.paused&&a.active?(a.paused=!1,f(),x(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),a.active&&f(),this}}).updateContainerElements(e),n}},840:(e,t,n)=>{var r;!function(o,i,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(e,t,n){return setTimeout(C(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function v(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var y=v((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&e[r[o]]===s)&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),b=v((function(e,t){return y(e,t,!0)}),"merge","Use `assign`.");function A(e,t,n){var r,o=t.prototype;(r=e.prototype=Object.create(o)).constructor=e,r._super=o,n&&l(r,n)}function C(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||s,t):e}function x(e,t){return e===s?t:e}function E(e,t,n){g(D(t),(function(t){e.addEventListener(t,n,!1)}))}function _(e,t,n){g(D(t),(function(t){e.removeEventListener(t,n,!1)}))}function k(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function S(e,t){return e.indexOf(t)>-1}function D(e){return e.trim().split(/\s+/g)}function T(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function O(e){return Array.prototype.slice.call(e,0)}function P(e,t,n){for(var r=[],o=[],i=0;i<e.length;){var a=t?e[i][t]:e[i];T(o,a)<0&&r.push(e[i]),o[i]=a,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function L(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i<u.length;){if((r=(n=u[i])?n+o:t)in e)return r;i++}return s}var F=1;function j(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var B="ontouchstart"in o,I=L(o,"PointerEvent")!==s,N=B&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),M="touch",R="mouse",z=24,U=["x","y"],$=["clientX","clientY"];function H(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function q(e,t,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&t&&r-o==0,a=12&t&&r-o==0;n.isFirst=!!i,n.isFinal=!!a,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,o=r.length;n.firstInput||(n.firstInput=V(t));o>1&&!n.firstMultiple?n.firstMultiple=V(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,l=a?a.center:i.center,u=t.center=G(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=X(l,u),t.distance=Y(l,u),function(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}(n,t),t.offsetDirection=Z(t.deltaX,t.deltaY);var c=W(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=d(c.x)>d(c.y)?c.x:c.y,t.scale=a?(p=a.pointers,h=r,Y(h[0],h[1],$)/Y(p[0],p[1],$)):1,t.rotation=a?function(e,t){return X(t[1],t[0],$)+X(e[1],e[0],$)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,o,i,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(l>25||a.velocity===s)){var u=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,p=W(l,u,c);r=p.x,o=p.y,n=d(p.x)>d(p.y)?p.x:p.y,i=Z(u,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}(n,t);var p,h;var m=e.element;k(t.srcEvent.target,m)&&(m=t.srcEvent.target);t.target=m}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function V(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:p(e.pointers[n].clientX),clientY:p(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:G(t),deltaX:e.deltaX,deltaY:e.deltaY}}function G(e){var t=e.length;if(1===t)return{x:p(e[0].clientX),y:p(e[0].clientY)};for(var n=0,r=0,o=0;o<t;)n+=e[o].clientX,r+=e[o].clientY,o++;return{x:p(n/t),y:p(r/t)}}function W(e,t,n){return{x:t/e||0,y:n/e||0}}function Z(e,t){return e===t?1:d(e)>=d(t)?e<0?2:4:t<0?8:16}function Y(e,t,n){n||(n=U);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function X(e,t,n){n||(n=U);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}H.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(j(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(j(this.element),this.evWin,this.domHandler)}};var K={mousedown:1,mousemove:2,mouseup:4},Q="mousedown",J="mousemove mouseup";function ee(){this.evEl=Q,this.evWin=J,this.pressed=!1,H.apply(this,arguments)}A(ee,H,{handler:function(e){var t=K[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:R,srcEvent:e}))}});var te={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ne={2:M,3:"pen",4:R,5:"kinect"},re="pointerdown",oe="pointermove pointerup pointercancel";function ie(){this.evEl=re,this.evWin=oe,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(re="MSPointerDown",oe="MSPointerMove MSPointerUp MSPointerCancel"),A(ie,H,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),o=te[r],i=ne[e.pointerType]||e.pointerType,a=i==M,s=T(t,e.pointerId,"pointerId");1&o&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&o&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8},se="touchstart",le="touchstart touchmove touchend touchcancel";function ue(){this.evTarget=se,this.evWin=le,this.started=!1,H.apply(this,arguments)}function ce(e,t){var n=O(e.touches),r=O(e.changedTouches);return 12&t&&(n=P(n.concat(r),"identifier",!0)),[n,r]}A(ue,H,{handler:function(e){var t=ae[e.type];if(1===t&&(this.started=!0),this.started){var n=ce.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:M,srcEvent:e})}}});var pe={touchstart:1,touchmove:2,touchend:4,touchcancel:8},de="touchstart touchmove touchend touchcancel";function fe(){this.evTarget=de,this.targetIds={},H.apply(this,arguments)}function he(e,t){var n=O(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=O(e.changedTouches),s=[],l=this.target;if(i=n.filter((function(e){return k(e.target,l)})),1===t)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),12&t&&delete r[a[o].identifier],o++;return s.length?[P(i.concat(s),"identifier",!0),s]:void 0}A(fe,H,{handler:function(e){var t=pe[e.type],n=he.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:M,srcEvent:e})}});function me(){H.apply(this,arguments);var e=C(this.handler,this);this.touch=new fe(this.manager,e),this.mouse=new ee(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ge(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ve.call(this,t)):12&e&&ve.call(this,t)}function ve(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ye(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(t-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}A(me,H,{handler:function(e,t,n){var r=n.pointerType==M,o=n.pointerType==R;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)ge.call(this,t,n);else if(o&&ye.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var be=L(c.style,"touchAction"),Ae=be!==s,Ce="compute",we="auto",xe="manipulation",Ee="none",_e="pan-x",ke="pan-y",Se=function(){if(!Ae)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}();function De(e,t){this.manager=e,this.set(t)}De.prototype={set:function(e){e==Ce&&(e=this.compute()),Ae&&this.manager.element.style&&Se[e]&&(this.manager.element.style[be]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return g(this.manager.recognizers,(function(t){w(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(S(e,Ee))return Ee;var t=S(e,_e),n=S(e,ke);if(t&&n)return Ee;if(t||n)return t?_e:ke;if(S(e,xe))return xe;return we}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,o=S(r,Ee)&&!Se.none,i=S(r,ke)&&!Se["pan-y"],a=S(r,_e)&&!Se["pan-x"];if(o){var s=1===e.pointers.length,l=e.distance<2,u=e.deltaTime<250;if(s&&l&&u)return}if(!a||!i)return o||i&&6&n||a&&n&z?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Te=32;function Oe(e){this.options=l({},this.defaults,e||{}),this.id=F++,this.manager=null,this.options.enable=x(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Pe(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function Le(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function Fe(e,t){var n=t.manager;return n?n.get(e):e}function je(){Oe.apply(this,arguments)}function Be(){je.apply(this,arguments),this.pX=null,this.pY=null}function Ie(){je.apply(this,arguments)}function Ne(){Oe.apply(this,arguments),this._timer=null,this._input=null}function Me(){je.apply(this,arguments)}function Re(){je.apply(this,arguments)}function ze(){Oe.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ue(e,t){return(t=t||{}).recognizers=x(t.recognizers,Ue.defaults.preset),new $e(e,t)}Oe.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Fe(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=Fe(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===T(t,e=Fe(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=Fe(e,this);var t=T(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+Pe(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+Pe(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Te},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!w(this.options.enable,[this,t]))return this.reset(),void(this.state=Te);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},A(je,Oe,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,o=this.attrTest(e);return r&&(8&n||!o)?16|t:r||o?4&n?8|t:2&t?4|t:2:Te}}),A(Be,je,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push(ke),e&z&&t.push(_e),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,o=e.direction,i=e.deltaX,a=e.deltaY;return o&t.direction||(6&t.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(o=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=o,n&&r>t.threshold&&o&t.direction},attrTest:function(e){return je.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Le(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),A(Ie,je,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ee]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),A(Ne,Oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[we]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!o)this.reset();else if(1&e.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return Te},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),A(Me,je,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ee]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),A(Re,je,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Be.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:n&z&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Le(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),A(ze,Oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||Y(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&i?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return Te},failTimeout:function(){return this._timer=h((function(){this.state=Te}),this.options.interval,this),Te},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ue.VERSION="2.0.7",Ue.defaults={domEvents:!1,touchAction:Ce,enable:!0,inputTarget:null,inputClass:null,preset:[[Me,{enable:!1}],[Ie,{enable:!1},["rotate"]],[Re,{direction:6}],[Be,{direction:6},["swipe"]],[ze],[ze,{event:"doubletap",taps:2},["tap"]],[Ne]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function $e(e,t){var n;this.options=l({},Ue.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(I?ie:N?fe:B?me:ee))(n,q),this.touchAction=new De(this,this.options.touchAction),He(this,!0),g(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function He(e,t){var n,r=e.element;r.style&&(g(e.options.cssProps,(function(o,i){n=L(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}$e.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,o=t.curRecognizer;(!o||o&&8&o.state)&&(o=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&14&n.state&&(o=t.curRecognizer=n),i++}},get:function(e){if(e instanceof Oe)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=T(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return g(D(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==s){var n=this.handlers;return g(D(e),(function(e){t?n[e]&&n[e].splice(T(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&He(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Ue,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Te,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:z,DIRECTION_ALL:30,Manager:$e,Input:H,TouchAction:De,TouchInput:fe,MouseInput:ee,PointerEventInput:ie,TouchMouseInput:me,SingleTouchInput:ue,Recognizer:Oe,AttrRecognizer:je,Tap:ze,Pan:Be,Swipe:Re,Pinch:Ie,Rotate:Me,Press:Ne,on:E,off:_,each:g,merge:b,extend:y,assign:l,inherit:A,bindFn:C,prefixed:L}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Ue,(r=function(){return Ue}.call(t,n,t,e))===s||(e.exports=r)}(window,document)},6492:function(e,t,n){var r;e=n.nmd(e),function(o){var i=t,a=(e&&e.exports,"object"==typeof n.g&&n.g);a.global!==a&&a.window;var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,f={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},A=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],C=String.fromCharCode,w={}.hasOwnProperty,x=function(e,t){return w.call(e,t)},E=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=x(e,n)?e[n]:t[n];return r},_=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"�"):x(b,e)?(t&&D("disallowed character reference"),b[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(A,e)&&D("disallowed character reference"),e>65535&&(n+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=C(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=E(t,T.options)).strict&&m.test(e)&&D("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?S:k,a=function(e){return i(e.charCodeAt(0))};return n?(e=e.replace(l,(function(e){return r&&x(p,e)?"&"+p[e]+";":a(e)})),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(c,(function(e){return"&"+p[e]+";"})))):r?(o||(e=e.replace(d,(function(e){return"&"+p[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,(function(e){return"&"+p[e]+";"}))):o||(e=e.replace(d,a)),e.replace(s,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return i(1024*(t-55296)+n-56320+65536)})).replace(u,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var O=function(e,t){var n=(t=E(t,O.options)).strict;return n&&h.test(e)&&D("malformed character reference"),e.replace(g,(function(e,r,o,i,a,s,l,u,c){var p,d,f,h,m,g;return r?v[m=r]:o?(m=o,(g=i)&&t.isAttributeValue?(n&&"="==g&&D("`&` did not start a character reference"),e):(n&&D("named character reference was not terminated by a semicolon"),y[m]+(g||""))):a?(f=a,d=s,n&&!d&&D("character reference was not terminated by a semicolon"),p=parseInt(f,10),_(p,n)):l?(h=l,d=u,n&&!d&&D("character reference was not terminated by a semicolon"),p=parseInt(h,16),_(p,n)):(n&&D("named character reference was not terminated by a semicolon"),e)}))};O.options={isAttributeValue:!1,strict:!1};var P={version:"1.2.0",encode:T,decode:O,escape:function(e){return e.replace(d,(function(e){return f[e]}))},unescape:O};void 0===(r=function(){return P}.call(t,n,t,e))||(e.exports=r)}()},8679:(e,t,n)=>{"use strict";var r=n(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);p&&(a=a.concat(p(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=d(n,v);try{u(t,v,y)}catch(e){}}}}return t}},6103:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,A=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case m:case l:return e;default:return t}}case o:return t}}}function w(e){return C(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||C(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===d},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===g},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===A||e.$$typeof===v)},t.typeOf=C},1296:(e,t,n)=>{"use strict";e.exports=n(6103)},645:(e,t)=>{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,u=l>>1,c=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+p],p+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=u}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,c=(1<<u)-1,p=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[n+f]=255&a,f+=h,a/=256,u-=8);e[n+f-h]|=128*m}},5717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},8738:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},8937:(e,t)=>{"use strict";function n(e){return"[object Error]"===(t=e,Object.prototype.toString.call(t))||e instanceof Error;var t}Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.inherit=t.assertError=void 0,t.assertError=function(e){if(!n(e))throw new Error("Parameter was not an error")},t.inherit=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.isError=n},3572:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Layerr=void 0;var i=n(1714);Object.defineProperty(t,"Layerr",{enumerable:!0,get:function(){return i.Layerr}}),o(n(2312),t)},1714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layerr=void 0;const r=n(8937),o=n(8085);function i(e,t){const n=[...arguments];if(this instanceof i==!1)throw new Error("Cannot invoke 'Layerr' like a function: It must be called with 'new'");const{options:r,shortMessage:a}=o.parseArguments(n);this.name="Layerr",r.name&&"string"==typeof r.name&&(this.name=r.name);let s=a;if(r.cause&&(Object.defineProperty(this,"_cause",{value:r.cause}),s=`${s}: ${r.cause.message}`),this.message=s,Object.defineProperty(this,"_info",{value:{}}),r.info&&"object"==typeof r.info&&Object.assign(this._info,r.info),Error.call(this,s),Error.captureStackTrace){const e=r.constructorOpt||this.constructor;Error.captureStackTrace(this,e)}return this}t.Layerr=i,r.inherit(i,Error),i.prototype.cause=function(){return i.cause(this)||void 0},i.prototype.toString=function(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e},i.cause=function(e){return r.assertError(e),r.isError(e._cause)?e._cause:null},i.fullStack=function(e){r.assertError(e);const t=i.cause(e);return t?`${e.stack}\ncaused by: ${i.fullStack(t)}`:e.stack},i.info=function(e){r.assertError(e);const t={},n=i.cause(e);return n&&Object.assign(t,i.info(n)),e._info&&Object.assign(t,e._info),t}},8085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseArguments=void 0;const r=n(8937);t.parseArguments=function(e){let t,n="";if(0===e.length)t={};else if(r.isError(e[0]))t={cause:e[0]},n=e.slice(1).join(" ")||"";else if(e[0]&&"object"==typeof e[0])t=Object.assign({},e[0]),n=e.slice(1).join(" ")||"";else{if("string"!=typeof e[0])throw new Error("Invalid arguments passed to Layerr");t={},n=n=e.join(" ")||""}return{options:t,shortMessage:n}}},2312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9208:(e,t,n)=>{var r="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,h=d||f||Function("return this")();var m,g=Array.prototype,v=Function.prototype,y=Object.prototype,b=h["__core-js_shared__"],A=(m=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",C=v.toString,w=y.hasOwnProperty,x=y.toString,E=RegExp("^"+C.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_=h.Symbol,k=g.splice,S=M(h,"Map"),D=M(Object,"create"),T=_?_.prototype:void 0,O=T?T.toString:void 0;function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function j(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function B(e,t){var n;t=function(e,t){if($(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||q(e))return!0;return s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:$(n=t)?n:R(n);for(var r=0,o=t.length;null!=e&&r<o;)e=e[z(t[r++])];return r&&r==o?e:void 0}function I(e){if(!H(e)||(t=e,A&&A in t))return!1;var t,n=function(e){var t=H(e)?x.call(e):"";return t==o||t==i}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?E:p;return n.test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function N(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function M(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return I(n)?n:void 0}P.prototype.clear=function(){this.__data__=D?D(null):{}},P.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},P.prototype.get=function(e){var t=this.__data__;if(D){var n=t[e];return n===r?void 0:n}return w.call(t,e)?t[e]:void 0},P.prototype.has=function(e){var t=this.__data__;return D?void 0!==t[e]:w.call(t,e)},P.prototype.set=function(e,t){return this.__data__[e]=D&&void 0===t?r:t,this},L.prototype.clear=function(){this.__data__=[]},L.prototype.delete=function(e){var t=this.__data__,n=j(t,e);return!(n<0)&&(n==t.length-1?t.pop():k.call(t,n,1),!0)},L.prototype.get=function(e){var t=this.__data__,n=j(t,e);return n<0?void 0:t[n][1]},L.prototype.has=function(e){return j(this.__data__,e)>-1},L.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},F.prototype.clear=function(){this.__data__={hash:new P,map:new(S||L),string:new P}},F.prototype.delete=function(e){return N(this,e).delete(e)},F.prototype.get=function(e){return N(this,e).get(e)},F.prototype.has=function(e){return N(this,e).has(e)},F.prototype.set=function(e,t){return N(this,e).set(e,t),this};var R=U((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(q(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,o){n.push(r?o.replace(c,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||q(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function U(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(U.Cache||F),n}U.Cache=F;var $=Array.isArray;function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function q(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==x.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:B(e,t);return void 0===r?n:r}},2378:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=p||d||Function("return this")(),h=t&&!t.nodeType&&t,m=h&&e&&!e.nodeType&&e,g=m&&m.exports===h,v=g&&p.process,y=function(){try{var e=m&&m.require&&m.require("util").types;return e||v&&v.binding&&v.binding("util")}catch(e){}}(),b=y&&y.isTypedArray;function A(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var C,w,x,E=Array.prototype,_=Function.prototype,k=Object.prototype,S=f["__core-js_shared__"],D=_.toString,T=k.hasOwnProperty,O=(C=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"",P=k.toString,L=D.call(Object),F=RegExp("^"+D.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=g?f.Buffer:void 0,B=f.Symbol,I=f.Uint8Array,N=j?j.allocUnsafe:void 0,M=(w=Object.getPrototypeOf,x=Object,function(e){return w(x(e))}),R=Object.create,z=k.propertyIsEnumerable,U=E.splice,$=B?B.toStringTag:void 0,H=function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=j?j.isBuffer:void 0,V=Math.max,G=Date.now,W=me(f,"Map"),Z=me(Object,"create"),Y=function(){function e(){}return function(t){if(!Se(t))return{};if(R)return R(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=this.__data__=new K(e);this.size=t.size}function ee(e,t){var n=we(e),r=!n&&Ce(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)!t&&!T.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ge(u,l))||s.push(u);return s}function te(e,t,n){(void 0!==n&&!Ae(e[t],n)||void 0===n&&!(t in e))&&oe(e,t,n)}function ne(e,t,n){var r=e[t];T.call(e,t)&&Ae(r,n)&&(void 0!==n||t in e)||oe(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(Ae(e[n][0],t))return n;return-1}function oe(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}X.prototype.clear=function(){this.__data__=Z?Z(null):{},this.size=0},X.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},X.prototype.get=function(e){var t=this.__data__;if(Z){var n=t[e];return n===r?void 0:n}return T.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return Z?void 0!==t[e]:T.call(t,e)},X.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Z&&void 0===t?r:t,this},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():U.call(t,n,1),--this.size,!0)},K.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},K.prototype.has=function(e){return re(this.__data__,e)>-1},K.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(W||K),string:new X}},Q.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return he(this,e).get(e)},Q.prototype.has=function(e){return he(this,e).has(e)},Q.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new K,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof K){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var ie,ae=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[ie?a:++r];if(!1===t(o[s],s,o))break}return e};function se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=T.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var o=P.call(e);r&&(t?e[$]=n:delete e[$]);return o}(e):function(e){return P.call(e)}(e)}function le(e){return De(e)&&se(e)==i}function ue(e){return!(!Se(e)||function(e){return!!O&&O in e}(e))&&(_e(e)?F:l).test(function(e){if(null!=e){try{return D.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ce(e){if(!Se(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ve(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function pe(e,t,n,r,o){e!==t&&ae(t,(function(i,a){if(o||(o=new J),Se(i))!function(e,t,n,r,o,i,a){var l=ye(e,n),u=ye(t,n),c=a.get(u);if(c)return void te(e,n,c);var p=i?i(l,u,n+"",e,t,a):void 0,d=void 0===p;if(d){var f=we(u),h=!f&&Ee(u),m=!f&&!h&&Te(u);p=u,f||h||m?we(l)?p=l:De(A=l)&&xe(A)?p=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(l):h?(d=!1,p=function(e,t){if(t)return e.slice();var n=e.length,r=N?N(n):new e.constructor(n);return e.copy(r),r}(u,!0)):m?(d=!1,g=u,v=!0?(y=g.buffer,b=new y.constructor(y.byteLength),new I(b).set(new I(y)),b):g.buffer,p=new g.constructor(v,g.byteOffset,g.length)):p=[]:function(e){if(!De(e)||se(e)!=s)return!1;var t=M(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&D.call(n)==L}(u)||Ce(u)?(p=l,Ce(l)?p=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?oe(n,s,l):ne(n,s,l)}return n}(e,Oe(e))}(l):Se(l)&&!_e(l)||(p=function(e){return"function"!=typeof e.constructor||ve(e)?{}:Y(M(e))}(u))):d=!1}var g,v,y,b;var A;d&&(a.set(u,p),o(p,u,r,i,a),a.delete(u));te(e,n,p)}(e,t,a,n,pe,r,o);else{var l=r?r(ye(e,a),i,a+"",e,t,o):void 0;void 0===l&&(l=i),te(e,a,l)}}),Oe)}function de(e,t){return be(function(e,t,n){return t=V(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=V(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),A(e,this,s)}}(e,t,Fe),e+"")}var fe=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Fe;function he(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ue(n)?n:void 0}function ge(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function ve(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}function ye(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(fe);function Ae(e,t){return e===t||e!=e&&t!=t}var Ce=le(function(){return arguments}())?le:function(e){return De(e)&&T.call(e,"callee")&&!z.call(e,"callee")},we=Array.isArray;function xe(e){return null!=e&&ke(e.length)&&!_e(e)}var Ee=q||function(){return!1};function _e(e){if(!Se(e))return!1;var t=se(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Se(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function De(e){return null!=e&&"object"==typeof e}var Te=b?function(e){return function(t){return e(t)}}(b):function(e){return De(e)&&ke(e.length)&&!!c[se(e)]};function Oe(e){return xe(e)?ee(e,!0):ce(e)}var Pe,Le=(Pe=function(e,t,n){pe(e,t,n)},de((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Pe.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Se(n))return!1;var r=typeof t;return!!("number"==r?xe(n)&&ge(t,n.length):"string"==r&&t in n)&&Ae(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pe(e,a,n,o)}return e})));function Fe(e){return e}e.exports=Le},2568:(e,t,n)=>{var r,o,i,a,s;r=n(1012),o=n(487).utf8,i=n(8738),a=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,u=1732584193,c=-271733879,p=-1732584194,d=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var h=s._ff,m=s._gg,g=s._hh,v=s._ii;for(f=0;f<n.length;f+=16){var y=u,b=c,A=p,C=d;u=h(u,c,p,d,n[f+0],7,-680876936),d=h(d,u,c,p,n[f+1],12,-389564586),p=h(p,d,u,c,n[f+2],17,606105819),c=h(c,p,d,u,n[f+3],22,-1044525330),u=h(u,c,p,d,n[f+4],7,-176418897),d=h(d,u,c,p,n[f+5],12,1200080426),p=h(p,d,u,c,n[f+6],17,-1473231341),c=h(c,p,d,u,n[f+7],22,-45705983),u=h(u,c,p,d,n[f+8],7,1770035416),d=h(d,u,c,p,n[f+9],12,-1958414417),p=h(p,d,u,c,n[f+10],17,-42063),c=h(c,p,d,u,n[f+11],22,-1990404162),u=h(u,c,p,d,n[f+12],7,1804603682),d=h(d,u,c,p,n[f+13],12,-40341101),p=h(p,d,u,c,n[f+14],17,-1502002290),u=m(u,c=h(c,p,d,u,n[f+15],22,1236535329),p,d,n[f+1],5,-165796510),d=m(d,u,c,p,n[f+6],9,-1069501632),p=m(p,d,u,c,n[f+11],14,643717713),c=m(c,p,d,u,n[f+0],20,-373897302),u=m(u,c,p,d,n[f+5],5,-701558691),d=m(d,u,c,p,n[f+10],9,38016083),p=m(p,d,u,c,n[f+15],14,-660478335),c=m(c,p,d,u,n[f+4],20,-405537848),u=m(u,c,p,d,n[f+9],5,568446438),d=m(d,u,c,p,n[f+14],9,-1019803690),p=m(p,d,u,c,n[f+3],14,-187363961),c=m(c,p,d,u,n[f+8],20,1163531501),u=m(u,c,p,d,n[f+13],5,-1444681467),d=m(d,u,c,p,n[f+2],9,-51403784),p=m(p,d,u,c,n[f+7],14,1735328473),u=g(u,c=m(c,p,d,u,n[f+12],20,-1926607734),p,d,n[f+5],4,-378558),d=g(d,u,c,p,n[f+8],11,-2022574463),p=g(p,d,u,c,n[f+11],16,1839030562),c=g(c,p,d,u,n[f+14],23,-35309556),u=g(u,c,p,d,n[f+1],4,-1530992060),d=g(d,u,c,p,n[f+4],11,1272893353),p=g(p,d,u,c,n[f+7],16,-155497632),c=g(c,p,d,u,n[f+10],23,-1094730640),u=g(u,c,p,d,n[f+13],4,681279174),d=g(d,u,c,p,n[f+0],11,-358537222),p=g(p,d,u,c,n[f+3],16,-722521979),c=g(c,p,d,u,n[f+6],23,76029189),u=g(u,c,p,d,n[f+9],4,-640364487),d=g(d,u,c,p,n[f+12],11,-421815835),p=g(p,d,u,c,n[f+15],16,530742520),u=v(u,c=g(c,p,d,u,n[f+2],23,-995338651),p,d,n[f+0],6,-198630844),d=v(d,u,c,p,n[f+7],10,1126891415),p=v(p,d,u,c,n[f+14],15,-1416354905),c=v(c,p,d,u,n[f+5],21,-57434055),u=v(u,c,p,d,n[f+12],6,1700485571),d=v(d,u,c,p,n[f+3],10,-1894986606),p=v(p,d,u,c,n[f+10],15,-1051523),c=v(c,p,d,u,n[f+1],21,-2054922799),u=v(u,c,p,d,n[f+8],6,1873313359),d=v(d,u,c,p,n[f+15],10,-30611744),p=v(p,d,u,c,n[f+6],15,-1560198380),c=v(c,p,d,u,n[f+13],21,1309151649),u=v(u,c,p,d,n[f+4],6,-145523070),d=v(d,u,c,p,n[f+11],10,-1120210379),p=v(p,d,u,c,n[f+2],15,718787259),c=v(c,p,d,u,n[f+9],21,-343485551),u=u+y>>>0,c=c+b>>>0,p=p+A>>>0,d=d+C>>>0}return r.endian([u,c,p,d])})._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},5070:e=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function r(e){var t="function"==typeof Map?new Map:void 0;return r=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return o(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)},r(e)}function o(e,t,n){return o=i()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o},o.apply(null,arguments)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=".",u=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=n(this,s(t).call(this,e))).name="ObjectPrototypeMutationError",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(t,e),t}(r(Error));function c(e,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.split(l),i=o.length,a=function(t){var n=o[t];if(!e)return{v:void 0};if("+"===n){if(Array.isArray(e))return{v:e.map((function(n,i){var a=o.slice(t+1);return a.length>0?c(n,a.join(l),r):r(e,i,o,t)}))};var i=o.slice(0,t).join(l);throw new Error("Object at wildcard (".concat(i,") is not an array"))}e=r(e,n,o,t)},s=0;s<i;s++){var u=a(s);if("object"===t(u))return u.v}return e}function p(e,t){return e.length===t+1}e.exports={set:function(e,n,r){if("object"!=t(e)||null===e)return e;if(void 0===n)return e;if("number"==typeof n)return e[n]=r,e[n];try{return c(e,n,(function(e,t,n,o){if(e===Reflect.getPrototypeOf({}))throw new u("Attempting to mutate Object.prototype");if(!e[t]){var i=Number.isInteger(Number(n[o+1])),a="+"===n[o+1];e[t]=i||a?[]:{}}return p(n,o)&&(e[t]=r),e[t]}))}catch(t){if(t instanceof u)throw t;return e}},get:function(e,n){if("object"!=t(e)||null===e)return e;if(void 0===n)return e;if("number"==typeof n)return e[n];try{return c(e,n,(function(e,t){return e[t]}))}catch(t){return e}},has:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"!=t(e)||null===e)return!1;if(void 0===n)return!1;if("number"==typeof n)return n in e;try{var o=!1;return c(e,n,(function(e,t,n,i){if(!p(n,i))return e&&e[t];o=r.own?e.hasOwnProperty(t):t in e})),o}catch(e){return!1}},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"!=t(e)||null===e)return!1;if(void 0===n)return!1;try{var i=!1,a=!1;return c(e,n,(function(e,n,o,s){return i=i||e===r||!!e&&e[n]===r,a=p(o,s)&&"object"===t(e)&&n in e,e&&e[n]})),o.validPath?i&&a:i}catch(e){return!1}},ObjectPrototypeMutationError:u}},7699:(e,t,n)=>{"use strict";var r=n(5108),o=n(9208),i=n(4587);function a(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&("string"==typeof e.sourceLocale?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&!0===e.debug}e.exports=a,a.prototype.on=function(e,t){this.listeners.push({eventName:e,callback:t})},a.prototype.off=function(e,t){this.listeners=this.listeners.filter((function(n){return!1==(n.eventName===e&&n.callback===t)}))},a.prototype.emit=function(e,t){for(var n=0;n<this.listeners.length;n++){var r=this.listeners[n];r.eventName===e&&r.callback(t)}},a.prototype.warn=function(e){this.debug&&r.warn(e),this.emit("error",new Error(e))},a.prototype.addTranslations=function(e,t,n){this.catalogs[e]||(this.catalogs[e]={}),this.catalogs[e][t]=n},a.prototype.setLocale=function(e){"string"==typeof e?(""===e.trim()&&this.warn("You called setLocale() with an empty value, which makes little sense."),e===this.sourceLocale||this.catalogs[e]||this.warn('You called setLocale() with "'+e+'", but no translations for that locale has been added.'),this.locale=e):this.warn("You called setLocale() with an argument of type "+typeof e+". The locale must be a string.")},a.prototype.setTextDomain=function(e){"string"==typeof e?(""===e.trim()&&this.warn("You called setTextDomain() with an empty `domain` value."),this.domain=e):this.warn("You called setTextDomain() with an argument of type "+typeof e+". The domain must be a string.")},a.prototype.gettext=function(e){return this.dnpgettext(this.domain,"",e)},a.prototype.dgettext=function(e,t){return this.dnpgettext(e,"",t)},a.prototype.ngettext=function(e,t,n){return this.dnpgettext(this.domain,"",e,t,n)},a.prototype.dngettext=function(e,t,n,r){return this.dnpgettext(e,"",t,n,r)},a.prototype.pgettext=function(e,t){return this.dnpgettext(this.domain,e,t)},a.prototype.dpgettext=function(e,t,n){return this.dnpgettext(e,t,n)},a.prototype.npgettext=function(e,t,n,r){return this.dnpgettext(this.domain,e,t,n,r)},a.prototype.dnpgettext=function(e,t,n,r,o){var s,l,u=n;if(t=t||"",isNaN(o)||1===o||(u=r||n),s=this._getTranslation(e,t,n)){if("number"==typeof o)"boolean"==typeof(l=(0,i[a.getLanguageCode(this.locale)].pluralsFunc)(o))&&(l=l?1:0);else l=0;return s.msgstr[l]||u}return this.sourceLocale&&this.locale===this.sourceLocale||this.warn('No translation was found for msgid "'+n+'" in msgctxt "'+t+'" and domain "'+e+'"'),u},a.prototype.getComment=function(e,t,n){var r;return(r=this._getTranslation(e,t,n))&&r.comments||{}},a.prototype._getTranslation=function(e,t,n){return t=t||"",o(this.catalogs,[this.locale,e,"translations",t,n])},a.getLanguageCode=function(e){return e.split(/[\-_]/)[0].toLowerCase()},a.prototype.textdomain=function(e){this.debug&&r.warn("textdomain(domain) was used to set locales in node-gettext v1. Make sure you are using it for domains, and switch to setLocale(locale) if you are not.\n\n To read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x\n\nThis warning will be removed in the final 2.0.0"),this.setTextDomain(e)},a.prototype.setlocale=function(e){this.setLocale(e)},a.prototype.addTextdomain=function(){r.error("addTextdomain() is deprecated.\n\n* To add translations, use addTranslations()\n* To set the default domain, use setTextDomain() (or its alias textdomain())\n\nTo read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x")}},4587:e=>{"use strict";e.exports={ach:{name:"Acholi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:2===e?1:8!==e&&11!==e?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return 1===e?0:2===e?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return 1===e||11===e?0:2===e||12===e?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!=1||e%100==11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return 0!==e}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:2===e?1:3===e?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:0!==e?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return 1===e||e%10==1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return 0===e?0:1===e?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:0===e||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}}},3085:(e,t,n)=>{"use strict";var r=n(5108);const o=n(9742),i=n(645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function l(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=l(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|m(e.length),n=l(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||K(e.length)?l(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return p(e),l(e<0?0:0|m(e))}function f(e){const t=e.length<0?0:0|m(e.length),n=l(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function m(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(e).length;default:if(o)return r?-1:W(e).length;t=(""+t).toLowerCase(),o=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),K(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:A(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):A(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function A(e,t,n,r,o){let i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===l)return r*a}else-1!==r&&(i-=i-r),r=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;r<l;r++)if(u(e,i+r)!==u(t,r)){n=!1;break}if(n)return i}return-1}function C(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(K(r))return a;e[n+a]=r}return a}function w(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function x(e,t,n,r){return Y(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return Y(Z(t),e,n,r)}function _(e,t,n,r){return Y(function(e,t){let n,r,o;const i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=D));return n}(r)}t.kMaxLength=s,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return p(e),e<=0?l(e):void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)}(e,t,n)},u.allocUnsafe=function(e){return d(e)},u.allocUnsafeSlow=function(e){return d(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(X(t,Uint8Array))o+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):v.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n);for(let e=0;e<s;++e)if(l[e]!==c[e]){i=l[e],a=c[e];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return C(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return x(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const D=4096;function T(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function P(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r<n;++r)o+=Q[e[r]];return o}function L(e,t,n){const r=e.slice(t,n);let o="";for(let e=0;e<r.length-1;e+=2)o+=String.fromCharCode(r[e]+256*r[e+1]);return o}function F(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function B(e,t,n,r,o){H(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function I(e,t,n,r,o){H(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=J((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),u.prototype.readBigUInt64BE=J((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=J((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=J((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){j(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=J((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=J((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=J((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=J((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=u.isBuffer(e)?e:u.from(e,r),a=i.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%a]}return this};const z={};function U(e,t,n){z[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function $(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function H(e,t,n,r,o,i){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let o;throw o=i>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new z.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||V(t,e.length-(n+1))}(r,o,i)}function q(e,t){if("number"!=typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function V(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new z.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=$(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=$(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const G=/[^+/0-9A-Za-z-_]/g;function W(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Z(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function K(e){return e!=e}const Q=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function J(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},9797:(e,t,n)=>{"use strict";var r,o=n(5108),i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&y(e,"error",t,n)}(e,o,{once:!0})}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function p(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var i,a,s,l;if(c(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=p(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,l=u,o&&o.warn&&o.warn(l)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function y(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){r.once&&e.removeEventListener(t,o),n(i)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return p(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var u=l.length,c=v(l,u);for(n=0;n<u;++n)a(c[n],this,t)}return!0},l.prototype.addListener=function(e,t){return d(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return d(this,e,t,!0)},l.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},3935:(e,t,n)=>{"use strict";var r=n(4155);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var n,r="",o=0,i=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(i===s-1||1===a);else if(i!==s-1&&2===a){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",o=0):o=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),i=s,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var a={resolve:function(){for(var e,t="",n=!1,a=arguments.length-1;a>=-1&&!n;a--){var s;a>=0?s=arguments[a]:(void 0===e&&(e=r.cwd()),s=e),o(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=i(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=a.resolve(e))===(t=a.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,i=r-n,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var l=t.length-s,u=i<l?i:l,c=-1,p=0;p<=u;++p){if(p===u){if(l>u){if(47===t.charCodeAt(s+p))return t.slice(s+p+1);if(0===p)return t.slice(s+p)}else i>u&&(47===e.charCodeAt(n+p)?c=p:0===p&&(c=0));break}var d=e.charCodeAt(n+p);if(d!==t.charCodeAt(s+p))break;47===d&&(c=p)}var f="";for(p=n+c+1;p<=r;++p)p!==r&&47!==e.charCodeAt(p)||(0===f.length?f+="..":f+="/..");return f.length>0?f+t.slice(s+c):(s+=c,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!a){r=n+1;break}}else-1===l&&(a=!1,l=n+1),s>=0&&(u===t.charCodeAt(s)?-1==--s&&(i=n):(s=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,i=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===r&&(i=!1,r=s+1),46===l?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var a=-1,s=0,l=-1,u=!0,c=e.length-1,p=0;c>=n;--c)if(47!==(r=e.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===r?-1===a?a=c:1!==p&&(p=1):-1!==a&&(p=-1);else if(!u){s=c+1;break}return-1===a||-1===l||0===p||1===p&&a===l-1&&a===s+1?-1!==l&&(t.base=t.name=0===s&&i?e.slice(1,l):e.slice(s,l)):(0===s&&i?(t.name=e.slice(1,a),t.base=e.slice(1,l)):(t.name=e.slice(s,a),t.base=e.slice(s,l)),t.ext=e.slice(a,l)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e.exports=a},6901:(e,t,n)=>{e.exports=o;var r=n(9797).EventEmitter;function o(){r.call(this)}n(5717)(o,r),o.Readable=n(2279),o.Writable=n(3309),o.Duplex=n(7975),o.Transform=n(5790),o.PassThrough=n(9107),o.finished=n(8114),o.pipeline=n(7119),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},6397:e=>{"use strict";var t={};function n(e,n,r){r||(r=Error);var o=function(e){var t,r;function o(t,r,o){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,o))||this}return r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,o}(r);o.prototype.name=r.name,o.prototype.code=e,t[e]=o}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var o,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(o," ").concat(r(t,"type"));else{var l=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(l," ").concat(o," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},7975:(e,t,n)=>{"use strict";var r=n(4155),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n(2279),a=n(3309);n(5717)(c,i);for(var s=o(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",p)))}function p(){this._writableState.ended||r.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},9107:(e,t,n)=>{"use strict";e.exports=o;var r=n(5790);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}n(5717)(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},2279:(e,t,n)=>{"use strict";var r,o=n(4155);e.exports=_,_.ReadableState=E;n(9797).EventEmitter;var i=function(e,t){return e.listeners(t).length},a=n(1518),s=n(3085).Buffer,l=n.g.Uint8Array||function(){};var u,c=n(9932);u=c&&c.debuglog?c.debuglog("stream"):function(){};var p,d,f,h=n(3487),m=n(5033),g=n(8589).getHighWaterMark,v=n(6397).q,y=v.ERR_INVALID_ARG_TYPE,b=v.ERR_STREAM_PUSH_AFTER_EOF,A=v.ERR_METHOD_NOT_IMPLEMENTED,C=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(5717)(_,a);var w=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function E(e,t,o){r=r||n(7975),e=e||{},"boolean"!=typeof o&&(o=t instanceof r),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",o),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(2553).s),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function _(e){if(r=r||n(7975),!(this instanceof _))return new _(e);var t=this instanceof r;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function k(e,t,n,r,o){u("readableAddChunk",t);var i,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}(e,a);else if(o||(i=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new y("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),i)w(e,i);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?w(e,new C):S(e,a,t,!0);else if(a.ended)w(e,new b);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):L(e,a)):S(e,a,t,!1)}else r||(a.reading=!1,L(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),L(e,t)}Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),_.prototype.destroy=m.destroy,_.prototype._undestroy=m.undestroy,_.prototype._destroy=function(e,t){t(e)},_.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),k(this,e,t,!1,n)},_.prototype.unshift=function(e){return k(this,e,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(e){p||(p=n(2553).s);var t=new p(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,o="";null!==r;)o+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var D=1073741824;function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=D?e=D:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(P,e))}function P(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,N(e)}function L(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function j(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function B(e){u("readable nexttick read 0"),e.read(0)}function I(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function R(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick(z,t,e))}function z(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}_.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?R(this):O(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&R(this),null;var r,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",o=!0),t.ended||t.reading?u("reading or ended",o=!1):o&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=e>0?M(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&R(this)),null!==r&&this.emit("data",r),r},_.prototype._read=function(e){w(this,new A("_read()"))},_.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,u("pipe count=%d opts=%j",r.pipesCount,t);var a=(!t||!1!==t.end)&&e!==o.stdout&&e!==o.stderr?l:g;function s(t,o){u("onunpipe"),t===n&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",g),n.removeListener("data",d),p=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}r.endEmitted?o.nextTick(a):n.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",c);var p=!1;function d(t){u("ondata");var o=e.write(t);u("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==U(r.pipes,e))&&!p&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function f(t){u("onerror",t),g(),e.removeListener("error",f),0===i(e,"error")&&w(e,t)}function h(){e.removeListener("finish",m),g()}function m(){u("onfinish"),e.removeListener("close",h),g()}function g(){u("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",m),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},_.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},_.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u("on readable",r.length,r.reading),r.length?O(this):r.reading||o.nextTick(B,this))),n},_.prototype.addListener=_.prototype.on,_.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(j,this),n},_.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||o.nextTick(j,this),t},_.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(I,e,t))}(this,e)),e.paused=!1,this},_.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},_.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<x.length;i++)e.on(x[i],this.emit.bind(this,x[i]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(_.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(764)),d(this)}),Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(_.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(_.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),_._fromList=M,Object.defineProperty(_.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(_.from=function(e,t){return void 0===f&&(f=n(7088)),f(_,e,t)})},5790:(e,t,n)=>{"use strict";e.exports=c;var r=n(6397).q,o=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(7975);function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function p(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(5717)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new o("_transform()"))},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},3309:(e,t,n)=>{"use strict";var r,o=n(4155);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_,_.WritableState=E;var a={deprecate:n(4927)},s=n(1518),l=n(3085).Buffer,u=n.g.Uint8Array||function(){};var c,p=n(5033),d=n(8589).getHighWaterMark,f=n(6397).q,h=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,A=f.ERR_STREAM_WRITE_AFTER_END,C=f.ERR_UNKNOWN_ENCODING,w=p.errorOrDestroy;function x(){}function E(e,t,a){r=r||n(7975),e=e||{},"boolean"!=typeof a&&(a=t instanceof r),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(P,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),P(e,t))}(e,n,r,t,i);else{var a=T(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||D(e,n),r?o.nextTick(S,e,n,a,i):S(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){var t=this instanceof(r=r||n(7975));if(!t&&!c.call(_,this))return new _(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function k(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function S(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),P(e,t)}function D(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,k(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,p=n.callback;if(k(e,t,!1,t.objectMode?1:u.length,u,c,p),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),P(e,t)}))}function P(e,t){var n=T(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(O,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(5717)(_,s),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===_&&(e&&e._writableState instanceof E)}})):c=function(e){return e instanceof this},_.prototype.pipe=function(){w(this,new v)},_.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,l.isBuffer(r)||r instanceof u);return s&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=x),i.ending?function(e,t){var n=new A;w(e,n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i;return null===n?i=new b:"string"==typeof n||t.objectMode||(i=new h("chunk",["string","Buffer"],n)),!i||(w(e,i),o.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else k(e,t,!1,s,r,o,i);return u}(this,i,s,e,t,n)),a},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||D(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,n){n(new m("_write()"))},_.prototype._writev=null,_.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=p.destroy,_.prototype._undestroy=p.undestroy,_.prototype._destroy=function(e,t){t(e)}},764:(e,t,n)=>{"use strict";var r,o=n(4155);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(8114),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[f].read();null!==n&&(e[p]=null,e[s]=null,e[l]=null,t(h(n,!1)))}}function g(e){o.nextTick(m,e)}var v=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,n){o.nextTick((function(){e[u]?n(e[u]):t(h(void 0,!0))}))}));var n,r=this[p];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(h(void 0,!0)):t[d](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(h(i,!1));n=new Promise(this[d])}return this[p]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,n=Object.create(y,(i(t={},f,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[p]=null,n[s]=null,n[l]=null,e(h(r,!1))):(n[s]=e,n[l]=t)},writable:!0}),t));return n[p]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[p]=null,n[s]=null,n[l]=null,t(e)),void(n[u]=e)}var r=n[s];null!==r&&(n[p]=null,n[s]=null,n[l]=null,r(h(void 0,!0))),n[c]=!0})),e.on("readable",g.bind(null,n)),n}},3487:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=n(3085).Buffer,s=n(9996).inspect,l=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,u;return t=e,n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,o=a.allocUnsafe(e>>>0),i=this.head,s=0;i;)t=i.data,n=o,r=s,a.prototype.copy.call(t,n,r),s+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(i));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],n&&i(t.prototype,n),u&&i(t,u),e}()},5033:(e,t,n)=>{"use strict";var r=n(4155);function o(e,t){a(e,t),i(e)}function i(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(a,this,e)):r.nextTick(a,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(i,n):(n._writableState.errorEmitted=!0,r.nextTick(o,n,e)):r.nextTick(o,n,e):t?(r.nextTick(i,n),t(e)):r.nextTick(i,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},8114:(e,t,n)=>{"use strict";var r=n(6397).q.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,n,i){if("function"==typeof n)return e(t,null,n);n||(n={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}(i||o);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!0,a||i.call(t)},p=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,p=!0,s||i.call(t)},f=function(e){i.call(t,e)},h=function(){var e;return a&&!p?(t._readableState&&t._readableState.ended||(e=new r),i.call(t,e)):s&&!u?(t._writableState&&t._writableState.ended||(e=new r),i.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",h),t.req?m():t.on("request",m)),t.on("end",d),t.on("finish",c),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",d),t.removeListener("error",f),t.removeListener("close",h)}}},7088:e=>{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},7119:(e,t,n)=>{"use strict";var r;var o=n(6397).q,i=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e,t,o,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(8114)),r(e,{readable:t,writable:o},(function(e){if(e)return i(e);s=!0,i()}));var l=!1;return function(t){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void i(t||new a("pipe"))}}function u(e){e()}function c(e,t){return e.pipe(t)}function p(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=p(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new i("streams");var a=t.map((function(e,n){var i=n<t.length-1;return l(e,i,n>0,(function(e){r||(r=e),e&&a.forEach(u),i||(a.forEach(u),o(r))}))}));return t.reduce(c)}},8589:(e,t,n)=>{"use strict";var r=n(6397).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,o){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,o,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new r(o?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},1518:(e,t,n)=>{e.exports=n(9797).EventEmitter},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,l=o(e),u=1;u<arguments.length;u++){for(var c in a=Object(arguments[u]))n.call(a,c)&&(l[c]=a[c]);if(t){s=t(a);for(var p=0;p<s.length;p++)r.call(a,s[p])&&(l[s[p]]=a[s[p]])}}return l}},762:(e,t,n)=>{"use strict";var r="win32"===n(4155).platform,o=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,i={};i.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,o.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0]===n[1]?n[0]:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}};var a=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={};s.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,a.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}},e.exports=r?i.parse:s.parse,e.exports.posix=s.parse,e.exports.win32=i.parse},3722:(e,t,n)=>{"use strict";var r=n(4155),o=n(9539),i=function(e){return"string"==typeof e};function a(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r];o&&"."!==o&&(".."===o?n.length&&".."!==n[n.length-1]?n.pop():t&&n.push(".."):n.push(o))}return n}var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,l={};function u(e){return s.exec(e).slice(1)}l.resolve=function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var o=n>=0?arguments[n]:r.cwd();if(!i(o))throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,t="/"===o.charAt(0))}return(t?"/":"")+(e=a(e.split("/"),!t).join("/"))||"."},l.normalize=function(e){var t=l.isAbsolute(e),n="/"===e.substr(-1);return(e=a(e.split("/"),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},l.isAbsolute=function(e){return"/"===e.charAt(0)},l.join=function(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];if(!i(n))throw new TypeError("Arguments to path.join must be strings");n&&(e+=e?"/"+n:n)}return l.normalize(e)},l.relative=function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n+1)}e=l.resolve(e).substr(1),t=l.resolve(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),a=i,s=0;s<i;s++)if(r[s]!==o[s]){a=s;break}var u=[];for(s=a;s<r.length;s++)u.push("..");return(u=u.concat(o.slice(a))).join("/")},l._makeLong=function(e){return e},l.dirname=function(e){var t=u(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},l.basename=function(e,t){var n=u(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},l.extname=function(e){return u(e)[3]},l.format=function(e){if(!o.isObject(e))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof e);var t=e.root||"";if(!i(t))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof e.root);return(e.dir?e.dir+l.sep:"")+(e.base||"")},l.parse=function(e){if(!i(e))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=u(e);if(!t||4!==t.length)throw new TypeError("Invalid path '"+e+"'");return t[1]=t[1]||"",t[2]=t[2]||"",t[3]=t[3]||"",{root:t[0],dir:t[0]+t[1].slice(0,t[1].length-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}},l.sep="/",l.delimiter=":",e.exports=l},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],u=!1,c=-1;function p(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=a(p);u=!0;for(var t=l.length;t;){for(s=l,l=[];++c<t;)s&&s[c].run();c=-1,t=l.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||a(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array: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:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7129:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,i,a=[];for(i in"string"!=typeof t&&(t="?"),e)if(n.call(e,i)){if((r=e[i])||null!=r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;a.push(i+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,o={};t=n.exec(e);){var i=r(t[1]),a=r(t[2]);null===i||null===a||i in o||(o[i]=a)}return o}},4448:(e,t,n)=>{"use strict";var r=n(5108),o=n(7294),i=n(3840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var p=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},m={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function A(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(m,e)||!d.call(h,e)&&(f.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var C=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),D=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var B=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}var N,M=Object.assign;function R(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var z=!1;function U(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?R(e):""}function $(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case x:return"Portal";case k:return"Profiler";case _:return"StrictMode";case O:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case D:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&A(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,n):t.hasOwnProperty("defaultValue")&&te(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function te(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(ne(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ae(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,pe,de=(pe=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return pe(e,t)}))}:pe);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ye=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Ae(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Ee=null,_e=null;function ke(e){if(e=Co(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function Se(e){Ee?_e?_e.push(e):_e=[e]:Ee=e}function De(){if(Ee){var e=Ee,t=_e;if(_e=Ee=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Te(e,t){return e(t)}function Oe(){}var Pe=!1;function Le(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Te(e,t,n)}finally{Pe=!1,(null!==Ee||null!==_e)&&(Oe(),De())}}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var je=!1;if(p)try{var Be={};Object.defineProperty(Be,"passive",{get:function(){je=!0}}),window.addEventListener("test",Be,Be),window.removeEventListener("test",Be,Be)}catch(pe){je=!1}function Ie(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Ne=!1,Me=null,Re=!1,ze=null,Ue={onError:function(e){Ne=!0,Me=e}};function $e(e,t,n,r,o,i,a,s,l){Ne=!1,Me=null,Ie.apply(Ue,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(He(e)!==e)throw Error(a(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ve(o),e;if(i===r)return Ve(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ze=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Xe=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Qe=i.unstable_now,Je=i.unstable_getCurrentPriorityLevel,et=i.unstable_ImmediatePriority,tt=i.unstable_UserBlockingPriority,nt=i.unstable_NormalPriority,rt=i.unstable_LowPriority,ot=i.unstable_IdlePriority,it=null,at=null;var st=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2;var ct=64,pt=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-st(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var At=0;function Ct(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,xt,Et,_t,kt,St=!1,Dt=[],Tt=null,Ot=null,Pt=null,Lt=new Map,Ft=new Map,jt=[],Bt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ft.delete(t.pointerId)}}function Nt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=Co(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=Ao(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void kt(e.priority,(function(){Et(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Co(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ce=r,n.target.dispatchEvent(r),Ce=null,t.shift()}return!0}function zt(e,t,n){Rt(e)&&n.delete(t)}function Ut(){St=!1,null!==Tt&&Rt(Tt)&&(Tt=null),null!==Ot&&Rt(Ot)&&(Ot=null),null!==Pt&&Rt(Pt)&&(Pt=null),Lt.forEach(zt),Ft.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,St||(St=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ut)))}function Ht(e){function t(t){return $t(t,e)}if(0<Dt.length){$t(Dt[0],e);for(var n=1;n<Dt.length;n++){var r=Dt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&$t(Tt,e),null!==Ot&&$t(Ot,e),null!==Pt&&$t(Pt,e),Lt.forEach(t),Ft.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)Mt(n),null===n.blockedOn&&jt.shift()}var qt=C.ReactCurrentBatchConfig,Vt=!0;function Gt(e,t,n,r){var o=At,i=qt.transition;qt.transition=null;try{At=1,Zt(e,t,n,r)}finally{At=o,qt.transition=i}}function Wt(e,t,n,r){var o=At,i=qt.transition;qt.transition=null;try{At=4,Zt(e,t,n,r)}finally{At=o,qt.transition=i}}function Zt(e,t,n,r){if(Vt){var o=Xt(e,t,n,r);if(null===o)Vr(e,t,r,Yt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Nt(Tt,e,t,n,r,o),!0;case"dragenter":return Ot=Nt(Ot,e,t,n,r,o),!0;case"mouseover":return Pt=Nt(Pt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lt.set(i,Nt(Lt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ft.set(i,Nt(Ft.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Bt.indexOf(e)){for(;null!==o;){var i=Co(o);if(null!==i&&wt(i),null===(i=Xt(e,t,n,r))&&Vr(e,t,r,Yt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Yt=null;function Xt(e,t,n,r){if(Yt=null,null!==(e=Ao(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case et:return 1;case tt:return 4;case nt:case rt:return 16;case ot:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,en=null;function tn(){if(en)return en;var e,t,n=Jt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return en=o.slice(e,1<t?1-t:void 0)}function nn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rn(){return!0}function on(){return!1}function an(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rn:on,this.isPropagationStopped=on,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var sn,ln,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=an(cn),dn=M({},cn,{view:0,detail:0}),fn=an(dn),hn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(sn=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(hn),gn=an(M({},hn,{dataTransfer:0})),vn=an(M({},dn,{relatedTarget:0})),yn=an(M({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=M({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),An=an(bn),Cn=an(M({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=En[e])&&!!t[e]}function kn(){return _n}var Sn=M({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?nn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=an(Sn),Tn=an(M({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Pn=an(M({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fn=an(Ln),jn=[9,13,27,32],Bn=p&&"CompositionEvent"in window,In=null;p&&"documentMode"in document&&(In=document.documentMode);var Nn=p&&"TextEvent"in window&&!In,Mn=p&&(!Bn||In&&8<In&&11>=In),Rn=String.fromCharCode(32),zn=!1;function Un(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Gn(e,t,n,r){Se(r),0<(t=Wr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Zn=null;function Yn(e){Rr(e,0)}function Xn(e){if(Z(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Qn=!1;if(p){var Jn;if(p){var er="oninput"in document;if(!er){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),er="function"==typeof tr.oninput}Jn=er}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function nr(){Wn&&(Wn.detachEvent("onpropertychange",rr),Zn=Wn=null)}function rr(e){if("value"===e.propertyName&&Xn(Zn)){var t=[];Gn(t,Zn,e,we(e)),Le(Yn,t)}}function or(e,t,n){"focusin"===e?(nr(),Zn=n,(Wn=t).attachEvent("onpropertychange",rr)):"focusout"===e&&nr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Zn)}function ar(e,t){if("click"===e)return Xn(t)}function sr(e,t){if("input"===e||"change"===e)return Xn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=pr(n,i);var a=pr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=p&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,br=null,Ar=!1;function Cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ar||null==vr||vr!==Y(r)||("selectionStart"in(r=vr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&ur(br,r)||(br=r,0<(r=Wr(yr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Er={},_r={};function kr(e){if(Er[e])return Er[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Er[e]=n[t];return e}p&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Sr=kr("animationend"),Dr=kr("animationiteration"),Tr=kr("animationstart"),Or=kr("transitionend"),Pr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Fr(e,t){Pr.set(e,t),u(t,[e])}for(var jr=0;jr<Lr.length;jr++){var Br=Lr[jr];Fr(Br.toLowerCase(),"on"+(Br[0].toUpperCase()+Br.slice(1)))}Fr(Sr,"onAnimationEnd"),Fr(Dr,"onAnimationIteration"),Fr(Tr,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(Or,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if($e.apply(this,arguments),Ne){if(!Ne)throw Error(a(198));var c=Me;Ne=!1,Me=null,Re||(Re=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Rr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Mr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Mr(o,s,u),i=l}}}if(Re)throw e=ze,Re=!1,ze=null,e}function zr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[$r]){e[$r]=!0,s.forEach((function(t){"selectionchange"!==t&&(Nr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Ur("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Kt(t)){case 1:var o=Gt;break;case 4:o=Wt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=Ao(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Le((function(){var r=i,o=we(n),a=[];e:{var s=Pr.get(e);if(void 0!==s){var l=pn,u=e;switch(e){case"keypress":if(0===nn(n))break e;case"keydown":case"keyup":l=Dn;break;case"focusin":u="focus",l=vn;break;case"focusout":u="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case Sr:case Dr:case Tr:l=yn;break;case Or:l=Pn;break;case"scroll":l=fn;break;case"wheel":l=Fn;break;case"copy":case"cut":case"paste":l=An;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var c=0!=(4&t),p=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==d&&(null!=(m=Fe(h,d))&&c.push(Gr(h,m,f)))),p)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ce||!(u=n.relatedTarget||n.fromElement)||!Ao(u)&&!u[go])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Ao(u):null)&&(u!==(p=He(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=mn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,m="onPointerLeave",d="onPointerEnter",h="pointer"),p=null==l?s:wo(l),f=null==u?s:wo(u),(s=new c(m,h+"leave",l,n,o)).target=p,s.relatedTarget=f,m=null,Ao(o)===r&&((c=new c(d,h+"enter",u,n,o)).target=f,c.relatedTarget=p,m=c),p=m,l&&u)e:{for(d=u,h=0,f=c=l;f;f=Zr(f))h++;for(f=0,m=d;m;m=Zr(m))f++;for(;0<h-f;)c=Zr(c),h--;for(;0<f-h;)d=Zr(d),f--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Zr(c),d=Zr(d)}c=null}else c=null;null!==l&&Yr(a,s,l,c,!1),null!==u&&null!==p&&Yr(a,p,u,c,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Vn(s))if(Qn)g=sr;else{g=ir;var v=or}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?Gn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&te(s,"number",s.value)),v=r?wo(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(vr=v,yr=r,br=null);break;case"focusout":br=yr=vr=null;break;case"mousedown":Ar=!0;break;case"contextmenu":case"mouseup":case"dragend":Ar=!1,Cr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":Cr(a,n,o)}var y;if(Bn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=tn()):(Jt="value"in(Qt=o)?Qt.value:Qt.textContent,Hn=!0)),0<(v=Wr(r,b)).length&&(b=new Cn(b,e,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=$n(n))&&(b.data=y))),(y=Nn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Rn);case"textInput":return(e=t.data)===Rn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Bn&&Un(e,t)?(e=tn(),en=Jt=Qt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new Cn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Rr(a,t)}))}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Fe(e,n))&&r.unshift(Gr(e,i,o)),null!=(i=Fe(e,t))&&r.push(Gr(e,i,o))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Fe(n,i))&&a.unshift(Gr(n,l,s)):o||null!=(l=Fe(n,i))&&a.push(Gr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Kr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(a(425))}function eo(){}var to=null,no=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var oo="function"==typeof setTimeout?setTimeout:void 0,io="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,so="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(lo)}:oo;function lo(e){setTimeout((function(){throw e}))}function uo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ht(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function po(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),ho="__reactFiber$"+fo,mo="__reactProps$"+fo,go="__reactContainer$"+fo,vo="__reactEvents$"+fo,yo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function Ao(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=po(e);null!==e;){if(n=e[ho])return n;e=po(e)}return t}n=(e=n).parentNode}return null}function Co(e){return!(e=e[ho]||e[go])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[mo]||null}var Eo=[],_o=-1;function ko(e){return{current:e}}function So(e){0>_o||(e.current=Eo[_o],Eo[_o]=null,_o--)}function Do(e,t){_o++,Eo[_o]=e.current,e.current=t}var To={},Oo=ko(To),Po=ko(!1),Lo=To;function Fo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jo(e){return null!=(e=e.childContextTypes)}function Bo(){So(Po),So(Oo)}function Io(e,t,n){if(Oo.current!==To)throw Error(a(168));Do(Oo,t),Do(Po,n)}function No(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Lo=Oo.current,Do(Oo,e),Do(Po,Po.current),!0}function Ro(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=No(e,t,Lo),r.__reactInternalMemoizedMergedChildContext=e,So(Po),So(Oo),Do(Oo,e)):So(Po),Do(Po,n)}var zo=null,Uo=!1,$o=!1;function Ho(e){null===zo?zo=[e]:zo.push(e)}function qo(){if(!$o&&null!==zo){$o=!0;var e=0,t=At;try{var n=zo;for(At=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zo=null,Uo=!1}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Ze(et,qo),t}finally{At=t,$o=!1}}return null}var Vo=[],Go=0,Wo=null,Zo=0,Yo=[],Xo=0,Ko=null,Qo=1,Jo="";function ei(e,t){Vo[Go++]=Zo,Vo[Go++]=Wo,Wo=e,Zo=t}function ti(e,t,n){Yo[Xo++]=Qo,Yo[Xo++]=Jo,Yo[Xo++]=Ko,Ko=e;var r=Qo;e=Jo;var o=32-st(r)-1;r&=~(1<<o),n+=1;var i=32-st(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-st(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ni(e){null!==e.return&&(ei(e,1),ti(e,1,0))}function ri(e){for(;e===Wo;)Wo=Vo[--Go],Vo[Go]=null,Zo=Vo[--Go],Vo[Go]=null;for(;e===Ko;)Ko=Yo[--Xo],Yo[Xo]=null,Jo=Yo[--Xo],Yo[Xo]=null,Qo=Yo[--Xo],Yo[Xo]=null}var oi=null,ii=null,ai=!1,si=null;function li(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oi=e,ii=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oi=e,ii=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,oi=e,ii=null,!0);default:return!1}}function ci(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function pi(e){if(ai){var t=ii;if(t){var n=t;if(!ui(e,t)){if(ci(e))throw Error(a(418));t=co(n.nextSibling);var r=oi;t&&ui(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ai=!1,oi=e)}}else{if(ci(e))throw Error(a(418));e.flags=-4097&e.flags|2,ai=!1,oi=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oi=e}function fi(e){if(e!==oi)return!1;if(!ai)return di(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=ii)){if(ci(e))throw hi(),Error(a(418));for(;t;)li(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ii=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ii=null}}else ii=oi?co(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=ii;e;)e=co(e.nextSibling)}function mi(){ii=oi=null,ai=!1}function gi(e){null===si?si=[e]:si.push(e)}var vi=C.ReactCurrentBatchConfig;function yi(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var bi=ko(null),Ai=null,Ci=null,wi=null;function xi(){wi=Ci=Ai=null}function Ei(e){var t=bi.current;So(bi),e._currentValue=t}function _i(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t){Ai=e,wi=Ci=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Cs=!0),e.firstContext=null)}function Si(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===Ci){if(null===Ai)throw Error(a(308));Ci=e,Ai.dependencies={lanes:0,firstContext:e}}else Ci=Ci.next=e;return t}var Di=null;function Ti(e){null===Di?Di=[e]:Di.push(e)}function Oi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ti(t)):(n.next=o.next,o.next=n),t.interleaved=n,Pi(e,r)}function Pi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Li=!1;function Fi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ji(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Tl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Pi(e,n)}return null===(o=r.interleaved)?(t.next=t,Ti(r)):(t.next=o.next,o.next=t),r.interleaved=t,Pi(e,n)}function Ni(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Mi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ri(e,t,n,r){var o=e.updateQueue;Li=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var p=o.baseState;for(a=0,c=u=l=null,s=i;;){var d=s.lane,f=s.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(d=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){p=h.call(f,p,d);break e}p=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(f,p,d):h))break e;p=M({},p,d);break e;case 2:Li=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[s]:d.push(s))}else f={eventTime:f,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=p):c=c.next=f,a|=d;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(d=s).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(l=p),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Nl|=a,e.lanes=a,e.memoizedState=p}}function zi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ui=(new o.Component).refs;function $i(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Hi={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Bi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Ni(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Bi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(ru(t,e,o,r),Ni(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Bi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ii(e,o,r))&&(ru(t,e,r,n),Ni(t,e,r))}};function qi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(o,i))}function Vi(e,t,n){var r=!1,o=To,i=t.contextType;return"object"==typeof i&&null!==i?i=Si(i):(o=jo(t)?Lo:Oo.current,i=(r=null!=(r=t.contextTypes))?Fo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Hi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Gi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Hi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ui,Fi(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Si(i):(i=jo(t)?Lo:Oo.current,o.context=Fo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&($i(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Hi.enqueueReplaceState(o,o.state,null),Ri(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Zi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ui&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Yi(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ju(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===E?p(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===F&&Xi(i)===t.type)?((r=o(t,n.props)).ref=Zi(e,t,n),r.return=e,r):((r=Bu(n.type,n.key,n.props,null,e.mode,r)).ref=Zi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ru(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function p(e,t,n,r,i){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Bu(t.type,t.key,t.props,null,e.mode,n)).ref=Zi(e,null,t),n.return=e,n;case x:return(t=Ru(t,e.mode,n)).return=e,t;case F:return d(e,(0,t._init)(t._payload),n)}if(ne(t)||I(t))return(t=Iu(t,e.mode,n,null)).return=e,t;Yi(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case F:return f(e,t,(o=n._init)(n._payload),r)}if(ne(n)||I(n))return null!==o?null:p(e,t,n,r,null);Yi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case F:return h(e,t,n,(0,r._init)(r._payload),o)}if(ne(r)||I(r))return p(t,e=e.get(n)||null,r,o,null);Yi(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,p=a,m=a=0,g=null;null!==p&&m<s.length;m++){p.index>m?(g=p,p=null):g=p.sibling;var v=f(o,p,s[m],l);if(null===v){null===p&&(p=g);break}e&&p&&null===v.alternate&&t(o,p),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,p=g}if(m===s.length)return n(o,p),ai&&ei(o,m),u;if(null===p){for(;m<s.length;m++)null!==(p=d(o,s[m],l))&&(a=i(p,a,m),null===c?u=p:c.sibling=p,c=p);return ai&&ei(o,m),u}for(p=r(o,p);m<s.length;m++)null!==(g=h(p,o,m,s[m],l))&&(e&&null!==g.alternate&&p.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&p.forEach((function(e){return t(o,e)})),ai&&ei(o,m),u}function g(o,s,l,u){var c=I(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var p=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(o,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,g),null===p?c=b:p.sibling=b,p=b,m=v}if(y.done)return n(o,m),ai&&ei(o,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=d(o,y.value,u))&&(s=i(y,s,g),null===p?c=y:p.sibling=y,p=y);return ai&&ei(o,g),c}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===p?c=y:p.sibling=y,p=y);return e&&m.forEach((function(e){return t(o,e)})),ai&&ei(o,g),c}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===E&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===E){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===F&&Xi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Zi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===E?((i=Iu(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Bu(a.type,a.key,a.props,null,r.mode,l)).ref=Zi(r,i,a),l.return=r,r=l)}return s(r);case x:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Ru(a,r.mode,l)).return=r,r=i}return s(r);case F:return e(r,i,(c=a._init)(a._payload),l)}if(ne(a))return m(r,i,a,l);if(I(a))return g(r,i,a,l);Yi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Mu(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Qi=Ki(!0),Ji=Ki(!1),ea={},ta=ko(ea),na=ko(ea),ra=ko(ea);function oa(e){if(e===ea)throw Error(a(174));return e}function ia(e,t){switch(Do(ra,t),Do(na,e),Do(ta,ea),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}So(ta),Do(ta,t)}function aa(){So(ta),So(na),So(ra)}function sa(e){oa(ra.current);var t=oa(ta.current),n=ue(t,e.type);t!==n&&(Do(na,e),Do(ta,n))}function la(e){na.current===e&&(So(ta),So(na))}var ua=ko(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pa=[];function da(){for(var e=0;e<pa.length;e++)pa[e]._workInProgressVersionPrimary=null;pa.length=0}var fa=C.ReactCurrentDispatcher,ha=C.ReactCurrentBatchConfig,ma=0,ga=null,va=null,ya=null,ba=!1,Aa=!1,Ca=0,wa=0;function xa(){throw Error(a(321))}function Ea(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function _a(e,t,n,r,o,i){if(ma=i,ga=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ls:us,e=n(r,o),Aa){i=0;do{if(Aa=!1,Ca=0,25<=i)throw Error(a(301));i+=1,ya=va=null,t.updateQueue=null,fa.current=cs,e=n(r,o)}while(Aa)}if(fa.current=ss,t=null!==va&&null!==va.next,ma=0,ya=va=ga=null,ba=!1,t)throw Error(a(300));return e}function ka(){var e=0!==Ca;return Ca=0,e}function Sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ya?ga.memoizedState=ya=e:ya=ya.next=e,ya}function Da(){if(null===va){var e=ga.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ya?ga.memoizedState:ya.next;if(null!==t)ya=t,va=e;else{if(null===e)throw Error(a(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ya?ga.memoizedState=ya=e:ya=ya.next=e}return ya}function Ta(e,t){return"function"==typeof t?t(e):t}function Oa(e){var t=Da(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,u=null,c=i;do{var p=c.lane;if((ma&p)===p)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=d,s=r):u=u.next=d,ga.lanes|=p,Nl|=p}c=c.next}while(null!==c&&c!==i);null===u?s=r:u.next=l,lr(r,t.memoizedState)||(Cs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,ga.lanes|=i,Nl|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Pa(e){var t=Da(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);lr(i,t.memoizedState)||(Cs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function La(){}function Fa(e,t){var n=ga,r=Da(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,Cs=!0),r=r.queue,Va(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ya&&1&ya.memoizedState.tag){if(n.flags|=2048,za(9,Ba.bind(null,n,r,o,t),void 0,null),null===Ol)throw Error(a(349));0!=(30&ma)||ja(n,t,o)}return o}function ja(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ba(e,t,n,r){t.value=n,t.getSnapshot=r,Na(t)&&Ma(e)}function Ia(e,t,n){return n((function(){Na(t)&&Ma(e)}))}function Na(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Ma(e){var t=Pi(e,1);null!==t&&ru(t,e,1,-1)}function Ra(e){var t=Sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:e},t.queue=e,e=e.dispatch=rs.bind(null,ga,e),[t.memoizedState,e]}function za(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ga.updateQueue)?(t={lastEffect:null,stores:null},ga.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ua(){return Da().memoizedState}function $a(e,t,n,r){var o=Sa();ga.flags|=e,o.memoizedState=za(1|t,n,void 0,void 0===r?null:r)}function Ha(e,t,n,r){var o=Da();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Ea(r,a.deps))return void(o.memoizedState=za(t,n,i,r))}ga.flags|=e,o.memoizedState=za(1|t,n,i,r)}function qa(e,t){return $a(8390656,8,e,t)}function Va(e,t){return Ha(2048,8,e,t)}function Ga(e,t){return Ha(4,2,e,t)}function Wa(e,t){return Ha(4,4,e,t)}function Za(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ya(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4,4,Za.bind(null,t,e),n)}function Xa(){}function Ka(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ea(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Da();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ea(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ja(e,t,n){return 0==(21&ma)?(e.baseState&&(e.baseState=!1,Cs=!0),e.memoizedState=n):(lr(n,t)||(n=gt(),ga.lanes|=n,Nl|=n,e.baseState=!0),t)}function es(e,t){var n=At;At=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{At=n,ha.transition=r}}function ts(){return Da().memoizedState}function ns(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},os(e))is(t,n);else if(null!==(n=Oi(e,t,n,r))){ru(n,e,r,tu()),as(n,t,r)}}function rs(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(os(e))is(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,lr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Ti(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Oi(e,t,o,r))&&(ru(n,e,r,o=tu()),as(n,t,r))}}function os(e){var t=e.alternate;return e===ga||null!==t&&t===ga}function is(e,t){Aa=ba=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var ss={readContext:Si,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},ls={readContext:Si,useCallback:function(e,t){return Sa().memoizedState=[e,void 0===t?null:t],e},useContext:Si,useEffect:qa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$a(4194308,4,Za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $a(4194308,4,e,t)},useInsertionEffect:function(e,t){return $a(4,2,e,t)},useMemo:function(e,t){var n=Sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ns.bind(null,ga,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Sa().memoizedState=e},useState:Ra,useDebugValue:Xa,useDeferredValue:function(e){return Sa().memoizedState=e},useTransition:function(){var e=Ra(!1),t=e[0];return e=es.bind(null,e[1]),Sa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ga,o=Sa();if(ai){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Ol)throw Error(a(349));0!=(30&ma)||ja(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qa(Ia.bind(null,r,i,e),[e]),r.flags|=2048,za(9,Ba.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Sa(),t=Ol.identifierPrefix;if(ai){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-st(Qo)-1)).toString(32)+n),0<(n=Ca++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},us={readContext:Si,useCallback:Ka,useContext:Si,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:Ga,useLayoutEffect:Wa,useMemo:Qa,useReducer:Oa,useRef:Ua,useState:function(){return Oa(Ta)},useDebugValue:Xa,useDeferredValue:function(e){return Ja(Da(),va.memoizedState,e)},useTransition:function(){return[Oa(Ta)[0],Da().memoizedState]},useMutableSource:La,useSyncExternalStore:Fa,useId:ts,unstable_isNewReconciler:!1},cs={readContext:Si,useCallback:Ka,useContext:Si,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:Ga,useLayoutEffect:Wa,useMemo:Qa,useReducer:Pa,useRef:Ua,useState:function(){return Pa(Ta)},useDebugValue:Xa,useDeferredValue:function(e){var t=Da();return null===va?t.memoizedState=e:Ja(t,va.memoizedState,e)},useTransition:function(){return[Pa(Ta)[0],Da().memoizedState]},useMutableSource:La,useSyncExternalStore:Fa,useId:ts,unstable_isNewReconciler:!1};function ps(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{r.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function ms(e,t,n){(n=Bi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,Gl=r),fs(0,t)},n}function gs(e,t,n){(n=Bi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=ku.bind(null,e,t,n),t.then(e,e))}function ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Bi(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var As=C.ReactCurrentOwner,Cs=!1;function ws(e,t,n,r){t.child=null===e?Ji(t,null,n,r):Qi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return ki(t,o),r=_a(e,t,n,r,i,o),n=ka(),null===e||Cs?(ai&&n&&ni(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vs(e,t,o))}function Es(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Fu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Bu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return Vs(e,t,o)}return t.flags|=1,(e=ju(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ur(i,r)&&e.ref===t.ref){if(Cs=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Vs(e,t,o);0!=(131072&e.flags)&&(Cs=!0)}}return Ds(e,t,n,r,o)}function ks(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Do(jl,Fl),Fl|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Do(jl,Fl),Fl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Do(jl,Fl),Fl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Do(jl,Fl),Fl|=r;return ws(e,t,o,n),t.child}function Ss(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ds(e,t,n,r,o){var i=jo(n)?Lo:Oo.current;return i=Fo(t,i),ki(t,o),n=_a(e,t,n,r,i,o),r=ka(),null===e||Cs?(ai&&r&&ni(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vs(e,t,o))}function Ts(e,t,n,r,o){if(jo(n)){var i=!0;Mo(t)}else i=!1;if(ki(t,o),null===t.stateNode)qs(e,t),Vi(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Si(u):u=Fo(t,u=jo(n)?Lo:Oo.current);var c=n.getDerivedStateFromProps,p="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Gi(t,a,r,u),Li=!1;var d=t.memoizedState;a.state=d,Ri(t,r,a,o),l=t.memoizedState,s!==r||d!==l||Po.current||Li?("function"==typeof c&&($i(t,n,c,r),l=t.memoizedState),(s=Li||qi(t,n,s,r,d,l,u))?(p||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ji(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:yi(t.type,s),a.props=u,p=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Si(l):l=Fo(t,l=jo(n)?Lo:Oo.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==p||d!==l)&&Gi(t,a,r,l),Li=!1,d=t.memoizedState,a.state=d,Ri(t,r,a,o);var h=t.memoizedState;s!==p||d!==h||Po.current||Li?("function"==typeof f&&($i(t,n,f,r),h=t.memoizedState),(u=Li||qi(t,n,u,r,d,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,i,o)}function Os(e,t,n,r,o,i){Ss(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Ro(t,n,!1),Vs(e,t,i);r=t.stateNode,As.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Ro(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),ia(e,t.containerInfo)}function Ls(e,t,n,r,o){return mi(),gi(o),t.flags|=256,ws(e,t,n,r),t.child}var Fs,js,Bs,Is={dehydrated:null,treeContext:null,retryLane:0};function Ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,n){var r,o=t.pendingProps,i=ua.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Do(ua,1&i),null===e)return pi(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Nu(l,o,0,null),e=Iu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ns(n),t.memoizedState=Is,e):Rs(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Nu({mode:"visible",children:r.children},o,0,null),(i=Iu(i,o,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Qi(t,e.child,null,s),t.child.memoizedState=Ns(s),t.memoizedState=Is,i);if(0==(1&t.mode))return zs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),Cs||l){if(null!==(r=Ol)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Pi(e,o),ru(r,e,o,-1))}return gu(),zs(e,t,s,r=ds(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Du.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ii=co(o.nextSibling),oi=t,ai=!0,si=null,null!==e&&(Yo[Xo++]=Qo,Yo[Xo++]=Jo,Yo[Xo++]=Ko,Qo=e.id,Jo=e.overflow,Ko=t),(t=Rs(t,r.children)).flags|=4096,t)}(e,t,l,o,r,i,n);if(s){s=o.fallback,l=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=ju(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=ju(r,s):(s=Iu(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,o}return e=(s=e.child).sibling,o=ju(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Rs(e,t){return(t=Nu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&gi(r),Qi(t,e.child,null,n),(e=Rs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_i(e.return,t,n)}function $s(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),0!=(2&(r=ua.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Do(ua,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$s(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$s(t,!0,n,null,i);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Nl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=ju(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ju(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ai)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zs(e,t,n){var r=t.pendingProps;switch(ri(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return jo(t.type)&&Bo(),Ws(t),null;case 3:return r=t.stateNode,aa(),So(Po),So(Oo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==si&&(su(si),si=null))),Ws(t),null;case 5:la(t);var o=oa(ra.current);if(n=t.type,null!==e&&null!=t.stateNode)js(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Ws(t),null}if(e=oa(ta.current),fi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ho]=t,r[mo]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ie(r,i),zr("invalid",r)}for(var s in be(n,i),o=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":W(r),ee(r,i,!0);break;case"textarea":W(r),se(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=eo)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ho]=t,e[mo]=r,Fs(e,t),t.stateNode=e;e:{switch(s=Ae(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)zr(Ir[o],e);o=r;break;case"source":zr("error",e),o=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),o=r;break;case"details":zr("toggle",e),o=r;break;case"input":K(e,r),o=X(e,r),zr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ie(e,r),o=oe(e,r),zr("invalid",e)}for(i in be(n,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ve(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&A(e,i,c,s))}switch(n){case"input":W(e),ee(e,r,!1);break;case"textarea":W(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?re(e,!!r.multiple,i,!1):null!=r.defaultValue&&re(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=eo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)Bs(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=oa(ra.current),oa(ta.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(i=r.nodeValue!==n)&&null!==(e=oi))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return Ws(t),null;case 13:if(So(ua),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ii&&0!=(1&t.mode)&&0==(128&t.flags))hi(),mi(),t.flags|=98560,i=!1;else if(i=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[ho]=t}else mi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),i=!1}else null!==si&&(su(si),si=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ua.current)?0===Bl&&(Bl=3):gu())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return aa(),null===e&&Hr(t.stateNode.containerInfo),Ws(t),null;case 10:return Ei(t.type._context),Ws(t),null;case 19:if(So(ua),null===(i=t.memoizedState))return Ws(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Gs(i,!1);else{if(0!==Bl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ca(e))){for(t.flags|=128,Gs(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Do(ua,1&ua.current|2),t.child}e=e.sibling}null!==i.tail&&Qe()>Hl&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ai)return Ws(t),null}else 2*Qe()-i.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,n=ua.current,Do(ua,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Fl)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ys(e,t){switch(ri(t),t.tag){case 1:return jo(t.type)&&Bo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return aa(),So(Po),So(Oo),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(So(ua),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));mi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return So(ua),null;case 4:return aa(),null;case 10:return Ei(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Fs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},js=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,oa(ta.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":o=oe(e,o),r=oe(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=eo)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Bs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Ks=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){_u(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){_u(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[mo],delete t[vo],delete t[yo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=eo));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var pl=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Ks||el(n,t);case 6:var r=pl,o=dl;pl=null,fl(e,t,n),dl=o,null!==(pl=r)&&(dl?(e=pl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):pl.removeChild(n.stateNode));break;case 18:null!==pl&&(dl?(e=pl,n=n.stateNode,8===e.nodeType?uo(e.parentNode,n):1===e.nodeType&&uo(e,n),Ht(e)):uo(pl,n.stateNode));break;case 4:r=pl,o=dl,pl=n.stateNode.containerInfo,dl=!0,fl(e,t,n),pl=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Ks&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){_u(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,fl(e,t,n),Ks=r):fl(e,t,n);break;default:fl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qs),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:pl=l.stateNode,dl=!1;break e;case 3:case 4:pl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===pl)throw Error(a(160));hl(i,s,o),pl=null,dl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){_u(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(t){_u(e,e.return,t)}try{rl(5,e,e.return)}catch(t){_u(e,e.return,t)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){_u(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===i.type&&null!=i.name&&Q(o,i),Ae(l,s);var c=Ae(l,i);for(s=0;s<u.length;s+=2){var p=u[s],d=u[s+1];"style"===p?ve(o,d):"dangerouslySetInnerHTML"===p?de(o,d):"children"===p?fe(o,d):A(o,p,d,c)}switch(l){case"input":J(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?re(o,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?re(o,!!i.multiple,i.defaultValue,!0):re(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(t){_u(e,e.return,t)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){_u(e,e.return,t)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){_u(e,e.return,t)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||($l=Qe())),4&r&&ml(e);break;case 22:if(p=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(c=Ks)||p,gl(t,e),Ks=c):gl(t,e),yl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!p&&0!=(1&e.mode))for(Js=e,p=e.child;null!==p;){for(d=Js=p;null!==Js;){switch(h=(f=Js).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:el(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){_u(r,n,e)}}break;case 5:el(f,f.return);break;case 22:if(null!==f.memoizedState){wl(d);continue}}null!==h?(h.return=f,Js=h):wl(d)}p=p.sibling}e:for(p=null,d=e;;){if(5===d.tag){if(null===p){p=d;try{o=d.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=d.stateNode,s=null!=(u=d.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=ge("display",s))}catch(t){_u(e,e.return,t)}}}else if(6===d.tag){if(null===p)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){_u(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gl(t,e),yl(e),4&r&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;ul(e,ll(e),i);break;default:throw Error(a(161))}}catch(t){_u(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Js=e,Al(e,t,n)}function Al(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=Xs;var u=Ks;if(Xs=a,(Ks=l)&&!u)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?xl(o):null!==l?(l.return=a,Js=l):xl(o);for(;null!==i;)Js=i,Al(i,t,n),i=i.sibling;Js=o,Xs=s,Ks=u}Cl(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):Cl(e)}}function Cl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ks||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:yi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&zi(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var p=c.memoizedState;if(null!==p){var d=p.dehydrated;null!==d&&Ht(d)}}}break;default:throw Error(a(163))}Ks||512&t.flags&&il(t)}catch(e){_u(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function wl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(e){_u(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){_u(t,o,e)}}var i=t.return;try{il(t)}catch(e){_u(t,i,e)}break;case 5:var a=t.return;try{il(t)}catch(e){_u(t,a,e)}}}catch(e){_u(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,_l=Math.ceil,kl=C.ReactCurrentDispatcher,Sl=C.ReactCurrentOwner,Dl=C.ReactCurrentBatchConfig,Tl=0,Ol=null,Pl=null,Ll=0,Fl=0,jl=ko(0),Bl=0,Il=null,Nl=0,Ml=0,Rl=0,zl=null,Ul=null,$l=0,Hl=1/0,ql=null,Vl=!1,Gl=null,Wl=null,Zl=!1,Yl=null,Xl=0,Kl=0,Ql=null,Jl=-1,eu=0;function tu(){return 0!=(6&Tl)?Qe():-1!==Jl?Jl:Jl=Qe()}function nu(e){return 0==(1&e.mode)?1:0!=(2&Tl)&&0!==Ll?Ll&-Ll:null!==vi.transition?(0===eu&&(eu=gt()),eu):0!==(e=At)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function ru(e,t,n,r){if(50<Kl)throw Kl=0,Ql=null,Error(a(185));yt(e,n,r),0!=(2&Tl)&&e===Ol||(e===Ol&&(0==(2&Tl)&&(Ml|=n),4===Bl&&lu(e,Ll)),ou(e,r),1===n&&0===Tl&&0==(1&t.mode)&&(Hl=Qe()+500,Uo&&qo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-st(i),s=1<<a,l=o[a];-1===l?0!=(s&n)&&0==(s&r)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Ol?Ll:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Uo=!0,Ho(e)}(uu.bind(null,e)):Ho(uu.bind(null,e)),so((function(){0==(6&Tl)&&qo()})),n=null;else{switch(Ct(r)){case 1:n=et;break;case 4:n=tt;break;case 16:default:n=nt;break;case 536870912:n=ot}n=Ou(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Jl=-1,eu=0,0!=(6&Tl))throw Error(a(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=ft(e,e===Ol?Ll:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var o=Tl;Tl|=2;var i=mu();for(Ol===e&&Ll===t||(ql=null,Hl=Qe()+500,fu(e,t));;)try{bu();break}catch(t){hu(e,t)}xi(),kl.current=i,Tl=o,null!==Pl?t=0:(Ol=null,Ll=0,t=Bl)}if(0!==t){if(2===t&&(0!==(o=mt(e))&&(r=o,t=au(e,o))),1===t)throw n=Il,fu(e,0),lu(e,r),ou(e,Qe()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=vu(e,r))&&(0!==(i=mt(e))&&(r=i,t=au(e,i))),1===t))throw n=Il,fu(e,0),lu(e,r),ou(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:wu(e,Ul,ql);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=$l+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oo(wu.bind(null,e,Ul,ql),t);break}wu(e,Ul,ql);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-st(r);i=1<<s,(s=t[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_l(r/1960))-r)){e.timeoutHandle=oo(wu.bind(null,e,Ul,ql),r);break}wu(e,Ul,ql);break;default:throw Error(a(329))}}}return ou(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=Ul,Ul=n,null!==t&&su(t)),e}function su(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function lu(e,t){for(t&=~Rl,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&Tl))throw Error(a(327));xu();var t=ft(e,0);if(0==(1&t))return ou(e,Qe()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Il,fu(e,0),lu(e,t),ou(e,Qe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,Ul,ql),ou(e,Qe()),null}function cu(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Hl=Qe()+500,Uo&&qo())}}function pu(e){null!==Yl&&0===Yl.tag&&0==(6&Tl)&&xu();var t=Tl;Tl|=1;var n=Dl.transition,r=At;try{if(Dl.transition=null,At=1,e)return e()}finally{At=r,Dl.transition=n,0==(6&(Tl=t))&&qo()}}function du(){Fl=jl.current,So(jl)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,io(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ri(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Bo();break;case 3:aa(),So(Po),So(Oo),da();break;case 5:la(r);break;case 4:aa();break;case 13:case 19:So(ua);break;case 10:Ei(r.type._context);break;case 22:case 23:du()}n=n.return}if(Ol=e,Pl=e=ju(e.current,null),Ll=Fl=t,Bl=0,Il=null,Rl=Ml=Nl=0,Ul=zl=null,null!==Di){for(t=0;t<Di.length;t++)if(null!==(r=(n=Di[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Di=null}return e}function hu(e,t){for(;;){var n=Pl;try{if(xi(),fa.current=ss,ba){for(var r=ga.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ba=!1}if(ma=0,ya=va=ga=null,Aa=!1,Ca=0,Sl.current=null,null===n||null===n.return){Bl=1,Il=t,Pl=null;break}e:{var i=e,s=n.return,l=n,u=t;if(t=Ll,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,p=l,d=p.tag;if(0==(1&p.mode)&&(0===d||11===d||15===d)){var f=p.alternate;f?(p.updateQueue=f.updateQueue,p.memoizedState=f.memoizedState,p.lanes=f.lanes):(p.updateQueue=null,p.memoizedState=null)}var h=ys(s);if(null!==h){h.flags&=-257,bs(h,s,l,0,t),1&h.mode&&vs(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){vs(i,c,t),gu();break e}u=Error(a(426))}else if(ai&&1&l.mode){var v=ys(s);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),bs(v,s,l,0,t),gi(ps(u,l));break e}}i=u=ps(u,l),4!==Bl&&(Bl=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Mi(i,ms(0,u,t));break e;case 1:l=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Wl||!Wl.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Mi(i,gs(i,l,t));break e}}i=i.return}while(null!==i)}Cu(n)}catch(e){t=e,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function mu(){var e=kl.current;return kl.current=ss,null===e?ss:e}function gu(){0!==Bl&&3!==Bl&&2!==Bl||(Bl=4),null===Ol||0==(268435455&Nl)&&0==(268435455&Ml)||lu(Ol,Ll)}function vu(e,t){var n=Tl;Tl|=2;var r=mu();for(Ol===e&&Ll===t||(ql=null,fu(e,t));;)try{yu();break}catch(t){hu(e,t)}if(xi(),Tl=n,kl.current=r,null!==Pl)throw Error(a(261));return Ol=null,Ll=0,Bl}function yu(){for(;null!==Pl;)Au(Pl)}function bu(){for(;null!==Pl&&!Xe();)Au(Pl)}function Au(e){var t=El(e.alternate,e,Fl);e.memoizedProps=e.pendingProps,null===t?Cu(e):Pl=t,Sl.current=null}function Cu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Zs(n,t,Fl)))return void(Pl=n)}else{if(null!==(n=Ys(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Bl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Bl&&(Bl=5)}function wu(e,t,n){var r=At,o=Dl.transition;try{Dl.transition=null,At=1,function(e,t,n,r){do{xu()}while(null!==Yl);if(0!=(6&Tl))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-st(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===Ol&&(Pl=Ol=null,Ll=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Zl||(Zl=!0,Ou(nt,(function(){return xu(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Dl.transition,Dl.transition=null;var s=At;At=1;var l=Tl;Tl|=4,Sl.current=null,function(e,t){if(to=Vt,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,p=0,d=e,f=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(l=s+o),d!==i||0!==r&&3!==d.nodeType||(u=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(h=d.firstChild);)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===o&&(l=s),f===i&&++p===r&&(u=s),null!==(h=d.nextSibling))break;f=(d=f).parentNode}d=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(no={focusedElem:e,selectionRange:n},Vt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:yi(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var A=t.stateNode.containerInfo;1===A.nodeType?A.textContent="":9===A.nodeType&&A.documentElement&&A.removeChild(A.documentElement);break;default:throw Error(a(163))}}catch(e){_u(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),vl(n,e),mr(no),Vt=!!to,no=to=null,e.current=n,bl(n,e,o),Ke(),Tl=l,At=s,Dl.transition=i}else e.current=n;if(Zl&&(Zl=!1,Yl=e,Xl=o),0===(i=e.pendingLanes)&&(Wl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),ou(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Vl)throw Vl=!1,e=Gl,Gl=null,e;0!=(1&Xl)&&0!==e.tag&&xu(),0!=(1&(i=e.pendingLanes))?e===Ql?Kl++:(Kl=0,Ql=e):Kl=0,qo()}(e,t,n,r)}finally{Dl.transition=o,At=r}return null}function xu(){if(null!==Yl){var e=Ct(Xl),t=Dl.transition,n=At;try{if(Dl.transition=null,At=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Xl=0,0!=(6&Tl))throw Error(a(331));var o=Tl;for(Tl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(0!=(16&Js.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var p=Js;switch(p.tag){case 0:case 11:case 15:rl(8,p,i)}var d=p.child;if(null!==d)d.return=p,Js=d;else for(;null!==Js;){var f=(p=Js).sibling,h=p.return;if(al(p),p===c){Js=null;break}if(null!==f){f.return=h,Js=f;break}Js=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Js=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(0!=(2048&(i=Js).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Js=y;break e}Js=i.return}}var b=e.current;for(Js=b;null!==Js;){var A=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==A)A.return=s,Js=A;else e:for(s=b;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(e){_u(l,l.return,e)}if(l===s){Js=null;break e}var C=l.sibling;if(null!==C){C.return=l.return,Js=C;break e}Js=l.return}}if(Tl=o,qo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{At=n,Dl.transition=t}}return!1}function Eu(e,t,n){e=Ii(e,t=ms(0,t=ps(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),ou(e,t))}function _u(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){t=Ii(t,e=gs(t,e=ps(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),ou(t,e));break}}t=t.return}}function ku(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ol===e&&(Ll&n)===n&&(4===Bl||3===Bl&&(130023424&Ll)===Ll&&500>Qe()-$l?fu(e,0):Rl|=n),ou(e,t)}function Su(e,t){0===t&&(0==(1&e.mode)?t=1:(t=pt,0==(130023424&(pt<<=1))&&(pt=4194304)));var n=tu();null!==(e=Pi(e,t))&&(yt(e,t,n),ou(e,n))}function Du(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Su(e,n)}function Tu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Su(e,n)}function Ou(e,t){return Ze(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Pu(e,t,n,r)}function Fu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ju(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bu(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Fu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Iu(n.children,o,i,t);case _:s=8,o|=8;break;case k:return(e=Lu(12,n,t,2|o)).elementType=k,e.lanes=i,e;case O:return(e=Lu(13,n,t,o)).elementType=O,e.lanes=i,e;case P:return(e=Lu(19,n,t,o)).elementType=P,e.lanes=i,e;case j:return Nu(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case D:s=9;break e;case T:s=11;break e;case L:s=14;break e;case F:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Lu(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Iu(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Nu(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function Ru(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,i,a,s,l){return e=new zu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fi(i),e}function $u(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hu(e){if(!e)return To;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(jo(n))return No(e,n,t)}return t}function qu(e,t,n,r,o,i,a,s,l){return(e=Uu(n,r,!0,e,0,i,0,s,l)).context=Hu(null),n=e.current,(i=Bi(r=tu(),o=nu(n))).callback=null!=t?t:null,Ii(n,i,o),e.current.lanes=o,yt(e,o,r),ou(e,r),e}function Vu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Bi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(o,t,a))&&(ru(e,o,a,i),Ni(e,o,a)),a}function Gu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)Cs=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Cs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),mi();break;case 5:sa(t);break;case 1:jo(t.type)&&Mo(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Do(bi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Do(ua,1&ua.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ms(e,t,n):(Do(ua,1&ua.current),null!==(e=Vs(e,t,n))?e.sibling:null);Do(ua,1&ua.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Do(ua,ua.current),r)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,n)}return Vs(e,t,n)}(e,t,n);Cs=0!=(131072&e.flags)}else Cs=!1,ai&&0!=(1048576&t.flags)&&ti(t,Zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var o=Fo(t,Oo.current);ki(t,n),o=_a(null,t,r,e,o,n);var i=ka();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jo(r)?(i=!0,Mo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Fi(t),o.updater=Hi,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=Os(null,t,r,!0,i,n)):(t.tag=0,ai&&i&&ni(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Fu(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===L)return 14}return 2}(r),e=yi(r,e),o){case 0:t=Ds(null,t,r,e,n);break e;case 1:t=Ts(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Es(null,t,r,yi(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ds(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 3:e:{if(Ps(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,ji(e,t),Ri(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ls(e,t,r,n,o=ps(Error(a(423)),t));break e}if(r!==o){t=Ls(e,t,r,n,o=ps(Error(a(424)),t));break e}for(ii=co(t.stateNode.containerInfo.firstChild),oi=t,ai=!0,si=null,n=Ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mi(),r===o){t=Vs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return sa(t),null===e&&pi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,ro(r,o)?s=null:null!==i&&ro(r,i)&&(t.flags|=32),Ss(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&pi(t),null;case 13:return Ms(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:yi(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Do(bi,r._currentValue),r._currentValue=s,null!==i)if(lr(i.value,s)){if(i.children===o.children&&!Po.current){t=Vs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Bi(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var p=(c=c.shared).pending;null===p?u.next=u:(u.next=p.next,p.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),_i(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),_i(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ki(t,n),r=r(o=Si(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=yi(r=t.type,t.pendingProps),Es(e,t,r,o=yi(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yi(r,o),qs(e,t),t.tag=1,jo(r)?(e=!0,Mo(t)):e=!1,ki(t,n),Vi(t,r,o),Wi(t,r,o,n),Os(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return ks(e,t,n)}throw Error(a(156,t.tag))};var Yu="function"==typeof reportError?reportError:function(e){r.error(e)};function Xu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ec(){}function tc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Gu(a);s.call(e)}}Vu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Gu(a);i.call(e)}}var a=qu(t,r,e,0,null,!1,0,"",ec);return e._reactRootContainer=a,e[go]=a.current,Hr(8===e.nodeType?e.parentNode:e),pu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Gu(l);s.call(e)}}var l=Uu(e,0,!1,null,0,!1,0,"",ec);return e._reactRootContainer=l,e[go]=l.current,Hr(8===e.nodeType?e.parentNode:e),pu((function(){Vu(t,l,n,r)})),l}(n,t,e,o,r);return Gu(a)}Ku.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Vu(e,t,null,null)},Ku.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;pu((function(){Vu(null,e,null,null)})),t[go]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jt.length&&0!==t&&t<jt[n].priority;n++);jt.splice(n,0,e),0===n&&Mt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ou(t,Qe()),0==(6&Tl)&&(Hl=Qe()+500,qo()))}break;case 13:pu((function(){var t=Pi(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Zu(e,1)}},xt=function(e){if(13===e.tag){var t=Pi(e,134217728);if(null!==t)ru(t,e,134217728,tu());Zu(e,134217728)}},Et=function(e){if(13===e.tag){var t=nu(e),n=Pi(e,t);if(null!==n)ru(n,e,t,tu());Zu(e,t)}},_t=function(){return At},kt=function(e,t){var n=At;try{return At=e,t()}finally{At=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(a(90));Z(r),J(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&re(e,!!n.multiple,t,!1)}},Te=cu,Oe=pu;var nc={usingClientEntryPoint:!1,Events:[Co,wo,xo,Se,De,cu]},rc={findFiberByHostInstance:Ao,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},oc={bundleType:rc.bundleType,version:rc.version,rendererPackageName:rc.rendererPackageName,rendererConfig:rc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:rc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(oc),at=ic}catch(pe){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(a(200));return $u(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(a(299));var n=!1,r="",o=Yu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uu(e,1,!1,null,0,n,0,r,o),e[go]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Xu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return pu(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(a(200));return tc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Yu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=qu(t,null,e,1,null!=n?n:null,o,0,i,s),e[go]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ku(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(a(200));return tc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(a(40));return!!e._reactRootContainer&&(pu((function(){tc(null,null,e,!1,(function(){e._reactRootContainer=null,e[go]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ju(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return tc(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(2834);t.s=r.createRoot,r.hydrateRoot},2834:(e,t,n)=>{"use strict";var r=n(5108);!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){r.error(e)}}(),e.exports=n(4448)},9921:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case d:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case p:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===d||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},2946:(e,t,n)=>{"use strict";var r=n(5108);function o(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<s(o,t)))break e;e[r]=t,e[n]=o,n=r}}function i(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var a=2*(r+1)-1,l=e[a],u=a+1,c=e[u];if(0>s(l,n))u<o&&0>s(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(u<o&&0>s(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}var p=[],d=[],f=1,h=null,m=3,g=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=i(d);null!==t;){if(null===t.callback)a(d);else{if(!(t.startTime<=e))break;a(d),t.sortIndex=t.expirationTime,o(p,t)}t=i(d)}}function x(e){if(y=!1,w(e),!v)if(null!==i(p))v=!0,B(E);else{var t=i(d);null!==t&&I(x,t.startTime-e)}}function E(e,n){v=!1,y&&(y=!1,A(D),D=-1),g=!0;var r=m;try{for(w(n),h=i(p);null!==h&&(!(h.expirationTime>n)||e&&!P());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var s=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===i(p)&&a(p),w(n)}else a(p);h=i(p)}if(null!==h)var l=!0;else{var u=i(d);null!==u&&I(x,u.startTime-n),l=!1}return l}finally{h=null,m=r,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,S=null,D=-1,T=5,O=-1;function P(){return!(t.unstable_now()-O<T)}function L(){if(null!==S){var e=t.unstable_now();O=e;var n=!0;try{n=S(!0,e)}finally{n?_():(k=!1,S=null)}}else k=!1}if("function"==typeof C)_=function(){C(L)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,j=F.port2;F.port1.onmessage=L,_=function(){j.postMessage(null)}}else _=function(){b(L,0)};function B(e){S=e,k||(k=!0,_())}function I(e,n){D=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||g||(v=!0,B(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?r.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_getFirstCallbackNode=function(){return i(p)},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,n,r){var a=t.unstable_now();switch("object"==typeof r&&null!==r?r="number"==typeof(r=r.delay)&&0<r?a+r:a:r=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:n,priorityLevel:e,startTime:r,expirationTime:s=r+s,sortIndex:-1},r>a?(e.sortIndex=r,o(d,e),null===i(p)&&e===i(d)&&(y?(A(D),D=-1):y=!0,I(x,r-a))):(e.sortIndex=s,o(p,e),v||g||(v=!0,B(E))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},4598:(e,t,n)=>{"use strict";e.exports=n(2946)},6511:(e,t)=>{"use strict";t.ConcurrentRoot=1,t.DefaultEventPriority=16},7287:(e,t,n)=>{var r=n(5108);e.exports=function(e){var t={},o=n(7294),i=n(373),a=Object.assign;function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var C=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var w=Symbol.iterator;function x(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=w&&e[w]||e["@@iterator"])?e:null}function E(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case c:return"Portal";case f:return"Profiler";case d:return"StrictMode";case v:return"Suspense";case y:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case m:return(e.displayName||"Context")+".Consumer";case h:return(e._context.displayName||"Context")+".Provider";case g:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case b:return null!==(t=e.displayName||null)?t:E(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return E(e(t))}catch(e){}}return null}function _(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return E(t);case 8:return t===d?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function k(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function S(e){if(k(e)!==e)throw Error(s(188))}function D(e){var t=e.alternate;if(!t){if(null===(t=k(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return S(o),e;if(i===r)return S(o),t;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}function T(e){return null!==(e=D(e))?O(e):null}function O(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=O(e);if(null!==t)return t;e=e.sibling}return null}function P(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){if(4!==e.tag){var t=P(e);if(null!==t)return t}e=e.sibling}return null}var L,F=Array.isArray,j=e.getPublicInstance,B=e.getRootHostContext,I=e.getChildHostContext,N=e.prepareForCommit,M=e.resetAfterCommit,R=e.createInstance,z=e.appendInitialChild,U=e.finalizeInitialChildren,$=e.prepareUpdate,H=e.shouldSetTextContent,q=e.createTextInstance,V=e.scheduleTimeout,G=e.cancelTimeout,W=e.noTimeout,Z=e.isPrimaryRenderer,Y=e.supportsMutation,X=e.supportsPersistence,K=e.supportsHydration,Q=e.getInstanceFromNode,J=e.preparePortalMount,ee=e.getCurrentEventPriority,te=e.detachDeletedInstance,ne=e.supportsMicrotasks,re=e.scheduleMicrotask,oe=e.supportsTestSelectors,ie=e.findFiberRoot,ae=e.getBoundingRect,se=e.getTextContent,le=e.isHiddenSubtree,ue=e.matchAccessibilityRole,ce=e.setFocusIfFocusable,pe=e.setupIntersectionObserver,de=e.appendChild,fe=e.appendChildToContainer,he=e.commitTextUpdate,me=e.commitMount,ge=e.commitUpdate,ve=e.insertBefore,ye=e.insertInContainerBefore,be=e.removeChild,Ae=e.removeChildFromContainer,Ce=e.resetTextContent,we=e.hideInstance,xe=e.hideTextInstance,Ee=e.unhideInstance,_e=e.unhideTextInstance,ke=e.clearContainer,Se=e.cloneInstance,De=e.createContainerChildSet,Te=e.appendChildToContainerChildSet,Oe=e.finalizeContainerChildren,Pe=e.replaceContainerChildren,Le=e.cloneHiddenInstance,Fe=e.cloneHiddenTextInstance,je=e.canHydrateInstance,Be=e.canHydrateTextInstance,Ie=e.canHydrateSuspenseInstance,Ne=e.isSuspenseInstancePending,Me=e.isSuspenseInstanceFallback,Re=e.registerSuspenseInstanceRetry,ze=e.getNextHydratableSibling,Ue=e.getFirstHydratableChild,$e=e.getFirstHydratableChildWithinContainer,He=e.getFirstHydratableChildWithinSuspenseInstance,qe=e.hydrateInstance,Ve=e.hydrateTextInstance,Ge=e.hydrateSuspenseInstance,We=e.getNextHydratableInstanceAfterSuspenseInstance,Ze=e.commitHydratedContainer,Ye=e.commitHydratedSuspenseInstance,Xe=e.clearSuspenseBoundary,Ke=e.clearSuspenseBoundaryFromContainer,Qe=e.shouldDeleteUnhydratedTailInstances,Je=e.didNotMatchHydratedContainerTextInstance,et=e.didNotMatchHydratedTextInstance;function tt(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var nt=!1;function rt(e,t){if(!e||nt)return"";nt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{nt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tt(e):""}var ot=Object.prototype.hasOwnProperty,it=[],at=-1;function st(e){return{current:e}}function lt(e){0>at||(e.current=it[at],it[at]=null,at--)}function ut(e,t){at++,it[at]=e.current,e.current=t}var ct={},pt=st(ct),dt=st(!1),ft=ct;function ht(e,t){var n=e.type.contextTypes;if(!n)return ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mt(e){return null!=(e=e.childContextTypes)}function gt(){lt(dt),lt(pt)}function vt(e,t,n){if(pt.current!==ct)throw Error(s(168));ut(pt,t),ut(dt,n)}function yt(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(s(108,_(e)||"Unknown",o));return a({},n,r)}function bt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ct,ft=pt.current,ut(pt,e),ut(dt,dt.current),!0}function At(e,t,n){var r=e.stateNode;if(!r)throw Error(s(169));n?(e=yt(e,t,ft),r.__reactInternalMemoizedMergedChildContext=e,lt(dt),lt(pt),ut(pt,e)):lt(dt),ut(dt,n)}var Ct=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(wt(e)/xt|0)|0},wt=Math.log,xt=Math.LN2;var Et=64,_t=4194304;function kt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function St(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=kt(s):0!==(i&=a)&&(r=kt(i))}else 0!==(a=n&~o)?r=kt(a):0!==i&&(r=kt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ct(t)),r|=e[n],t&=~o;return r}function Dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Tt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ot(){var e=Et;return 0==(4194240&(Et<<=1))&&(Et=64),e}function Pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Lt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Ct(t)]=n}function Ft(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ct(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var jt=0;function Bt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var It=i.unstable_scheduleCallback,Nt=i.unstable_cancelCallback,Mt=i.unstable_shouldYield,Rt=i.unstable_requestPaint,zt=i.unstable_now,Ut=i.unstable_ImmediatePriority,$t=i.unstable_UserBlockingPriority,Ht=i.unstable_NormalPriority,qt=i.unstable_IdlePriority,Vt=null,Gt=null;var Wt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Zt=null,Yt=!1,Xt=!1;function Kt(e){null===Zt?Zt=[e]:Zt.push(e)}function Qt(){if(!Xt&&null!==Zt){Xt=!0;var e=0,t=jt;try{var n=Zt;for(jt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Zt=null,Yt=!1}catch(t){throw null!==Zt&&(Zt=Zt.slice(e+1)),It(Ut,Qt),t}finally{jt=t,Xt=!1}}return null}var Jt=l.ReactCurrentBatchConfig;function en(e,t){if(Wt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ot.call(t,o)||!Wt(e[o],t[o]))return!1}return!0}function tn(e){switch(e.tag){case 5:return tt(e.type);case 16:return tt("Lazy");case 13:return tt("Suspense");case 19:return tt("SuspenseList");case 0:case 2:case 15:return e=rt(e.type,!1);case 11:return e=rt(e.type.render,!1);case 1:return e=rt(e.type,!0);default:return""}}function nn(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var rn=st(null),on=null,an=null,sn=null;function ln(){sn=an=on=null}function un(e,t,n){Z?(ut(rn,t._currentValue),t._currentValue=n):(ut(rn,t._currentValue2),t._currentValue2=n)}function cn(e){var t=rn.current;lt(rn),Z?e._currentValue=t:e._currentValue2=t}function pn(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function dn(e,t){on=e,sn=an=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(zo=!0),e.firstContext=null)}function fn(e){var t=Z?e._currentValue:e._currentValue2;if(sn!==e)if(e={context:e,memoizedValue:t,next:null},null===an){if(null===on)throw Error(s(308));an=e,on.dependencies={lanes:0,firstContext:e}}else an=an.next=e;return t}var hn=null,mn=!1;function gn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vn(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bn(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,La(e)?(null===(e=n.interleaved)?(t.next=t,null===hn?hn=[n]:hn.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function An(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ft(e,n)}}function Cn(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wn(e,t,n,r){var o=e.updateQueue;mn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,c=u.next;u.next=null,null===s?i=c:s.next=c,s=u;var p=e.alternate;null!==p&&((l=(p=p.updateQueue).lastBaseUpdate)!==s&&(null===l?p.firstBaseUpdate=c:l.next=c,p.lastBaseUpdate=u))}if(null!==i){var d=o.baseState;for(s=0,p=c=u=null,l=i;;){var f=l.lane,h=l.eventTime;if((r&f)===f){null!==p&&(p=p.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,g=l;switch(f=t,h=n,g.tag){case 1:if("function"==typeof(m=g.payload)){d=m.call(h,d,f);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=g.payload)?m.call(h,d,f):m))break e;d=a({},d,f);break e;case 2:mn=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else h={eventTime:h,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===p?(c=p=h,u=d):p=p.next=h,s|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===p&&(u=d),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=p,null!==(t=o.shared.interleaved)){o=t;do{s|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);la|=s,e.lanes=s,e.memoizedState=d}}function xn(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(s(191,o));o.call(r)}}}var En=(new o.Component).refs;function _n(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var kn={isMounted:function(e){return!!(e=e._reactInternals)&&k(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Da(),o=Ta(e),i=yn(r,o);i.payload=t,null!=n&&(i.callback=n),bn(e,i),null!==(t=Oa(e,o,r))&&An(t,e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Da(),o=Ta(e),i=yn(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),bn(e,i),null!==(t=Oa(e,o,r))&&An(t,e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Da(),r=Ta(e),o=yn(n,r);o.tag=2,null!=t&&(o.callback=t),bn(e,o),null!==(t=Oa(e,r,n))&&An(t,e,r)}};function Sn(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!en(n,r)||!en(o,i))}function Dn(e,t,n){var r=!1,o=ct,i=t.contextType;return"object"==typeof i&&null!==i?i=fn(i):(o=mt(t)?ft:pt.current,i=(r=null!=(r=t.contextTypes))?ht(e,o):ct),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=kn,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Tn(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&kn.enqueueReplaceState(t,t.state,null)}function On(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=En,gn(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=fn(i):(i=mt(t)?ft:pt.current,o.context=ht(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(_n(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&kn.enqueueReplaceState(o,o.state,null),wn(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}var Pn=[],Ln=0,Fn=null,jn=0,Bn=[],In=0,Nn=null,Mn=1,Rn="";function zn(e,t){Pn[Ln++]=jn,Pn[Ln++]=Fn,Fn=e,jn=t}function Un(e,t,n){Bn[In++]=Mn,Bn[In++]=Rn,Bn[In++]=Nn,Nn=e;var r=Mn;e=Rn;var o=32-Ct(r)-1;r&=~(1<<o),n+=1;var i=32-Ct(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Mn=1<<32-Ct(t)+o|n<<o|r,Rn=i+e}else Mn=1<<i|n<<o|r,Rn=e}function $n(e){null!==e.return&&(zn(e,1),Un(e,1,0))}function Hn(e){for(;e===Fn;)Fn=Pn[--Ln],Pn[Ln]=null,jn=Pn[--Ln],Pn[Ln]=null;for(;e===Nn;)Nn=Bn[--In],Bn[In]=null,Rn=Bn[--In],Bn[In]=null,Mn=Bn[--In],Bn[In]=null}var qn=null,Vn=null,Gn=!1,Wn=!1,Zn=null;function Yn(e,t){var n=as(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function Xn(e,t){switch(e.tag){case 5:return null!==(t=je(t,e.type,e.pendingProps))&&(e.stateNode=t,qn=e,Vn=Ue(t),!0);case 6:return null!==(t=Be(t,e.pendingProps))&&(e.stateNode=t,qn=e,Vn=null,!0);case 13:if(null!==(t=Ie(t))){var n=null!==Nn?{id:Mn,overflow:Rn}:null;return e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=as(18,null,null,0)).stateNode=t,n.return=e,e.child=n,qn=e,Vn=null,!0}return!1;default:return!1}}function Kn(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Qn(e){if(Gn){var t=Vn;if(t){var n=t;if(!Xn(e,t)){if(Kn(e))throw Error(s(418));t=ze(n);var r=qn;t&&Xn(e,t)?Yn(r,n):(e.flags=-4097&e.flags|2,Gn=!1,qn=e)}}else{if(Kn(e))throw Error(s(418));e.flags=-4097&e.flags|2,Gn=!1,qn=e}}}function Jn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;qn=e}function er(e){if(!K||e!==qn)return!1;if(!Gn)return Jn(e),Gn=!0,!1;if(3!==e.tag&&(5!==e.tag||Qe(e.type)&&!H(e.type,e.memoizedProps))){var t=Vn;if(t){if(Kn(e)){for(e=Vn;e;)e=ze(e);throw Error(s(418))}for(;t;)Yn(e,t),t=ze(t)}}if(Jn(e),13===e.tag){if(!K)throw Error(s(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));Vn=We(e)}else Vn=qn?ze(e.stateNode):null;return!0}function tr(){K&&(Vn=qn=null,Wn=Gn=!1)}function nr(e){null===Zn?Zn=[e]:Zn.push(e)}function rr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(s(309));var r=n.stateNode}if(!r)throw Error(s(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===En&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function or(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ir(e){return(0,e._init)(e._payload)}function ar(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ls(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=ds(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n,r){var i=n.type;return i===p?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===A&&ir(i)===t.type)?((r=o(t,n.props)).ref=rr(e,t,n),r.return=e,r):((r=us(n.type,n.key,n.props,null,e.mode,r)).ref=rr(e,t,n),r.return=e,r)}function f(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=fs(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function h(e,t,n,r,i){return null===t||7!==t.tag?((t=cs(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=ds(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case u:return(n=us(t.type,t.key,t.props,null,e.mode,n)).ref=rr(e,null,t),n.return=e,n;case c:return(t=fs(t,e.mode,n)).return=e,t;case A:return m(e,(0,t._init)(t._payload),n)}if(F(t)||x(t))return(t=cs(t,e.mode,n,null)).return=e,t;or(e,t)}return null}function g(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case u:return n.key===o?d(e,t,n,r):null;case c:return n.key===o?f(e,t,n,r):null;case A:return g(e,t,(o=n._init)(n._payload),r)}if(F(n)||x(n))return null!==o?null:h(e,t,n,r,null);or(e,n)}return null}function v(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case u:return d(t,e=e.get(null===r.key?n:r.key)||null,r,o);case c:return f(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return v(e,t,n,(0,r._init)(r._payload),o)}if(F(r)||x(r))return h(t,e=e.get(n)||null,r,o,null);or(t,r)}return null}function y(o,a,s,l){for(var u=null,c=null,p=a,d=a=0,f=null;null!==p&&d<s.length;d++){p.index>d?(f=p,p=null):f=p.sibling;var h=g(o,p,s[d],l);if(null===h){null===p&&(p=f);break}e&&p&&null===h.alternate&&t(o,p),a=i(h,a,d),null===c?u=h:c.sibling=h,c=h,p=f}if(d===s.length)return n(o,p),Gn&&zn(o,d),u;if(null===p){for(;d<s.length;d++)null!==(p=m(o,s[d],l))&&(a=i(p,a,d),null===c?u=p:c.sibling=p,c=p);return Gn&&zn(o,d),u}for(p=r(o,p);d<s.length;d++)null!==(f=v(p,o,d,s[d],l))&&(e&&null!==f.alternate&&p.delete(null===f.key?d:f.key),a=i(f,a,d),null===c?u=f:c.sibling=f,c=f);return e&&p.forEach((function(e){return t(o,e)})),Gn&&zn(o,d),u}function b(o,a,l,u){var c=x(l);if("function"!=typeof c)throw Error(s(150));if(null==(l=c.call(l)))throw Error(s(151));for(var p=c=null,d=a,f=a=0,h=null,y=l.next();null!==d&&!y.done;f++,y=l.next()){d.index>f?(h=d,d=null):h=d.sibling;var b=g(o,d,y.value,u);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(o,d),a=i(b,a,f),null===p?c=b:p.sibling=b,p=b,d=h}if(y.done)return n(o,d),Gn&&zn(o,f),c;if(null===d){for(;!y.done;f++,y=l.next())null!==(y=m(o,y.value,u))&&(a=i(y,a,f),null===p?c=y:p.sibling=y,p=y);return Gn&&zn(o,f),c}for(d=r(o,d);!y.done;f++,y=l.next())null!==(y=v(d,o,f,y.value,u))&&(e&&null!==y.alternate&&d.delete(null===y.key?f:y.key),a=i(y,a,f),null===p?c=y:p.sibling=y,p=y);return e&&d.forEach((function(e){return t(o,e)})),Gn&&zn(o,f),c}return function e(r,i,s,l){if("object"==typeof s&&null!==s&&s.type===p&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case u:e:{for(var d=s.key,f=i;null!==f;){if(f.key===d){if((d=s.type)===p){if(7===f.tag){n(r,f.sibling),(i=o(f,s.props.children)).return=r,r=i;break e}}else if(f.elementType===d||"object"==typeof d&&null!==d&&d.$$typeof===A&&ir(d)===f.type){n(r,f.sibling),(i=o(f,s.props)).ref=rr(r,f,s),i.return=r,r=i;break e}n(r,f);break}t(r,f),f=f.sibling}s.type===p?((i=cs(s.props.children,r.mode,l,s.key)).return=r,r=i):((l=us(s.type,s.key,s.props,null,r.mode,l)).ref=rr(r,i,s),l.return=r,r=l)}return a(r);case c:e:{for(f=s.key;null!==i;){if(i.key===f){if(4===i.tag&&i.stateNode.containerInfo===s.containerInfo&&i.stateNode.implementation===s.implementation){n(r,i.sibling),(i=o(i,s.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=fs(s,r.mode,l)).return=r,r=i}return a(r);case A:return e(r,i,(f=s._init)(s._payload),l)}if(F(s))return y(r,i,s,l);if(x(s))return b(r,i,s,l);or(r,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,s)).return=r,r=i):(n(r,i),(i=ds(s,r.mode,l)).return=r,r=i),a(r)):n(r,i)}}var sr=ar(!0),lr=ar(!1),ur={},cr=st(ur),pr=st(ur),dr=st(ur);function fr(e){if(e===ur)throw Error(s(174));return e}function hr(e,t){ut(dr,t),ut(pr,e),ut(cr,ur),e=B(t),lt(cr),ut(cr,e)}function mr(){lt(cr),lt(pr),lt(dr)}function gr(e){var t=fr(dr.current),n=fr(cr.current);n!==(t=I(n,e.type,t))&&(ut(pr,e),ut(cr,t))}function vr(e){pr.current===e&&(lt(cr),lt(pr))}var yr=st(0);function br(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Ne(n)||Me(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ar=[];function Cr(){for(var e=0;e<Ar.length;e++){var t=Ar[e];Z?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}Ar.length=0}var wr=l.ReactCurrentDispatcher,xr=l.ReactCurrentBatchConfig,Er=0,_r=null,kr=null,Sr=null,Dr=!1,Tr=!1,Or=0,Pr=0;function Lr(){throw Error(s(321))}function Fr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wt(e[n],t[n]))return!1;return!0}function jr(e,t,n,r,o,i){if(Er=i,_r=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wr.current=null===e||null===e.memoizedState?yo:bo,e=n(r,o),Tr){i=0;do{if(Tr=!1,Or=0,25<=i)throw Error(s(301));i+=1,Sr=kr=null,t.updateQueue=null,wr.current=Ao,e=n(r,o)}while(Tr)}if(wr.current=vo,t=null!==kr&&null!==kr.next,Er=0,Sr=kr=_r=null,Dr=!1,t)throw Error(s(300));return e}function Br(){var e=0!==Or;return Or=0,e}function Ir(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Sr?_r.memoizedState=Sr=e:Sr=Sr.next=e,Sr}function Nr(){if(null===kr){var e=_r.alternate;e=null!==e?e.memoizedState:null}else e=kr.next;var t=null===Sr?_r.memoizedState:Sr.next;if(null!==t)Sr=t,kr=e;else{if(null===e)throw Error(s(310));e={memoizedState:(kr=e).memoizedState,baseState:kr.baseState,baseQueue:kr.baseQueue,queue:kr.queue,next:null},null===Sr?_r.memoizedState=Sr=e:Sr=Sr.next=e}return Sr}function Mr(e,t){return"function"==typeof t?t(e):t}function Rr(e){var t=Nr(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=kr,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,u=null,c=i;do{var p=c.lane;if((Er&p)===p)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=d,a=r):u=u.next=d,_r.lanes|=p,la|=p}c=c.next}while(null!==c&&c!==i);null===u?a=r:u.next=l,Wt(r,t.memoizedState)||(zo=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,_r.lanes|=i,la|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function zr(e){var t=Nr(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Wt(i,t.memoizedState)||(zo=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ur(){}function $r(e,t){var n=_r,r=Nr(),o=t(),i=!Wt(r.memoizedState,o);if(i&&(r.memoizedState=o,zo=!0),r=r.queue,Jr(Vr.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==Sr&&1&Sr.memoizedState.tag){if(n.flags|=2048,Zr(9,qr.bind(null,n,r,o,t),void 0,null),null===ta)throw Error(s(349));0!=(30&Er)||Hr(n,t,o)}return o}function Hr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=_r.updateQueue)?(t={lastEffect:null,stores:null},_r.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function qr(e,t,n,r){t.value=n,t.getSnapshot=r,Gr(t)&&Oa(e,1,-1)}function Vr(e,t,n){return n((function(){Gr(t)&&Oa(e,1,-1)}))}function Gr(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wt(e,n)}catch(e){return!0}}function Wr(e){var t=Ir();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:e},t.queue=e,e=e.dispatch=po.bind(null,_r,e),[t.memoizedState,e]}function Zr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=_r.updateQueue)?(t={lastEffect:null,stores:null},_r.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Yr(){return Nr().memoizedState}function Xr(e,t,n,r){var o=Ir();_r.flags|=e,o.memoizedState=Zr(1|t,n,void 0,void 0===r?null:r)}function Kr(e,t,n,r){var o=Nr();r=void 0===r?null:r;var i=void 0;if(null!==kr){var a=kr.memoizedState;if(i=a.destroy,null!==r&&Fr(r,a.deps))return void(o.memoizedState=Zr(t,n,i,r))}_r.flags|=e,o.memoizedState=Zr(1|t,n,i,r)}function Qr(e,t){return Xr(8390656,8,e,t)}function Jr(e,t){return Kr(2048,8,e,t)}function eo(e,t){return Kr(4,2,e,t)}function to(e,t){return Kr(4,4,e,t)}function no(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ro(e,t,n){return n=null!=n?n.concat([e]):null,Kr(4,4,no.bind(null,t,e),n)}function oo(){}function io(e,t){var n=Nr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Fr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ao(e,t){var n=Nr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Fr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function so(e,t,n){return 0==(21&Er)?(e.baseState&&(e.baseState=!1,zo=!0),e.memoizedState=n):(Wt(n,t)||(n=Ot(),_r.lanes|=n,la|=n,e.baseState=!0),t)}function lo(e,t){var n=jt;jt=0!==n&&4>n?n:4,e(!0);var r=xr.transition;xr.transition={};try{e(!1),t()}finally{jt=n,xr.transition=r}}function uo(){return Nr().memoizedState}function co(e,t,n){var r=Ta(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fo(e)?ho(t,n):(mo(e,t,n),null!==(e=Oa(e,r,n=Da()))&&go(e,t,r))}function po(e,t,n){var r=Ta(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fo(e))ho(t,o);else{mo(e,t,o);var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Wt(s,a))return}catch(e){}null!==(e=Oa(e,r,n=Da()))&&go(e,t,r)}}function fo(e){var t=e.alternate;return e===_r||null!==t&&t===_r}function ho(e,t){Tr=Dr=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mo(e,t,n){La(e)?(null===(e=t.interleaved)?(n.next=n,null===hn?hn=[t]:hn.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function go(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ft(e,n)}}var vo={readContext:fn,useCallback:Lr,useContext:Lr,useEffect:Lr,useImperativeHandle:Lr,useInsertionEffect:Lr,useLayoutEffect:Lr,useMemo:Lr,useReducer:Lr,useRef:Lr,useState:Lr,useDebugValue:Lr,useDeferredValue:Lr,useTransition:Lr,useMutableSource:Lr,useSyncExternalStore:Lr,useId:Lr,unstable_isNewReconciler:!1},yo={readContext:fn,useCallback:function(e,t){return Ir().memoizedState=[e,void 0===t?null:t],e},useContext:fn,useEffect:Qr,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Xr(4194308,4,no.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xr(4,2,e,t)},useMemo:function(e,t){var n=Ir();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ir();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=co.bind(null,_r,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ir().memoizedState=e},useState:Wr,useDebugValue:oo,useDeferredValue:function(e){return Ir().memoizedState=e},useTransition:function(){var e=Wr(!1),t=e[0];return e=lo.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=_r,o=Ir();if(Gn){if(void 0===n)throw Error(s(407));n=n()}else{if(n=t(),null===ta)throw Error(s(349));0!=(30&Er)||Hr(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Qr(Vr.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,qr.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ir(),t=ta.identifierPrefix;if(Gn){var n=Rn;t=":"+t+"R"+(n=(Mn&~(1<<32-Ct(Mn)-1)).toString(32)+n),0<(n=Or++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Pr++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},bo={readContext:fn,useCallback:io,useContext:fn,useEffect:Jr,useImperativeHandle:ro,useInsertionEffect:eo,useLayoutEffect:to,useMemo:ao,useReducer:Rr,useRef:Yr,useState:function(){return Rr(Mr)},useDebugValue:oo,useDeferredValue:function(e){return so(Nr(),kr.memoizedState,e)},useTransition:function(){return[Rr(Mr)[0],Nr().memoizedState]},useMutableSource:Ur,useSyncExternalStore:$r,useId:uo,unstable_isNewReconciler:!1},Ao={readContext:fn,useCallback:io,useContext:fn,useEffect:Jr,useImperativeHandle:ro,useInsertionEffect:eo,useLayoutEffect:to,useMemo:ao,useReducer:zr,useRef:Yr,useState:function(){return zr(Mr)},useDebugValue:oo,useDeferredValue:function(e){var t=Nr();return null===kr?t.memoizedState=e:so(t,kr.memoizedState,e)},useTransition:function(){return[zr(Mr)[0],Nr().memoizedState]},useMutableSource:Ur,useSyncExternalStore:$r,useId:uo,unstable_isNewReconciler:!1};function Co(e,t){try{var n="",r=t;do{n+=tn(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function wo(e,t){try{r.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var xo,Eo,_o,ko,So="function"==typeof WeakMap?WeakMap:Map;function Do(e,t,n){(n=yn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ya||(ya=!0,ba=r),wo(0,t)},n}function To(e,t,n){(n=yn(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){wo(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){wo(0,t),"function"!=typeof r&&(null===Aa?Aa=new Set([this]):Aa.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Oo(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new So;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=es.bind(null,e,t,n),t.then(e,e))}function Po(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Lo(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=yn(-1,1)).tag=2,bn(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Fo(e){e.flags|=4}function jo(e,t){if(null!==e&&e.child===t.child)return!0;if(0!=(16&t.flags))return!1;for(e=t.child;null!==e;){if(0!=(12854&e.flags)||0!=(12854&e.subtreeFlags))return!1;e=e.sibling}return!0}if(Y)xo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)z(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Eo=function(){},_o=function(e,t,n,r,o){if((e=e.memoizedProps)!==r){var i=t.stateNode,a=fr(cr.current);n=$(i,n,e,r,o,a),(t.updateQueue=n)&&Fo(t)}},ko=function(e,t,n,r){n!==r&&Fo(t)};else if(X){xo=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var i=o.stateNode;n&&r&&(i=Le(i,o.type,o.memoizedProps,o)),z(e,i)}else if(6===o.tag)i=o.stateNode,n&&r&&(i=Fe(i,o.memoizedProps,o)),z(e,i);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(i=o.child)&&(i.return=o),xo(e,o,!0,!0);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};var Bo=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var i=o.stateNode;n&&r&&(i=Le(i,o.type,o.memoizedProps,o)),Te(e,i)}else if(6===o.tag)i=o.stateNode,n&&r&&(i=Fe(i,o.memoizedProps,o)),Te(e,i);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(i=o.child)&&(i.return=o),Bo(e,o,!0,!0);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};Eo=function(e,t){var n=t.stateNode;if(!jo(e,t)){e=n.containerInfo;var r=De(e);Bo(r,t,!1,!1),n.pendingChildren=r,Fo(t),Oe(e,r)}},_o=function(e,t,n,r,o){var i=e.stateNode,a=e.memoizedProps;if((e=jo(e,t))&&a===r)t.stateNode=i;else{var s=t.stateNode,l=fr(cr.current),u=null;a!==r&&(u=$(s,n,a,r,o,l)),e&&null===u?t.stateNode=i:(i=Se(i,u,n,a,r,t,e,s),U(i,n,r,o,l)&&Fo(t),t.stateNode=i,e?Fo(t):xo(i,t,!1,!1))}},ko=function(e,t,n,r){n!==r?(e=fr(dr.current),n=fr(cr.current),t.stateNode=q(r,e,n,t),Fo(t)):t.stateNode=e.stateNode}}else Eo=function(){},_o=function(){},ko=function(){};function Io(e,t){if(!Gn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function No(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Mo(e,t,n){var r=t.pendingProps;switch(Hn(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return No(t),null;case 1:case 17:return mt(t.type)&&gt(),No(t),null;case 3:return r=t.stateNode,mr(),lt(dt),lt(pt),Cr(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(er(t)?Fo(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Zn&&(Ia(Zn),Zn=null))),Eo(e,t),No(t),null;case 5:vr(t),n=fr(dr.current);var o=t.type;if(null!==e&&null!=t.stateNode)_o(e,t,o,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(s(166));return No(t),null}if(e=fr(cr.current),er(t)){if(!K)throw Error(s(175));e=qe(t.stateNode,t.type,t.memoizedProps,n,e,t,!Wn),t.updateQueue=e,null!==e&&Fo(t)}else{var i=R(o,r,n,e,t);xo(i,t,!1,!1),t.stateNode=i,U(i,o,r,n,e)&&Fo(t)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return No(t),null;case 6:if(e&&null!=t.stateNode)ko(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(s(166));if(e=fr(dr.current),n=fr(cr.current),er(t)){if(!K)throw Error(s(176));if(e=t.stateNode,r=t.memoizedProps,(n=Ve(e,r,t,!Wn))&&null!==(o=qn))switch(o.tag){case 3:Je(o.stateNode.containerInfo,e,r,0!=(1&o.mode));break;case 5:et(o.type,o.memoizedProps,o.stateNode,e,r,0!=(1&o.mode))}n&&Fo(t)}else t.stateNode=q(r,e,n,t)}return No(t),null;case 13:if(lt(yr),r=t.memoizedState,Gn&&null!==Vn&&0!=(1&t.mode)&&0==(128&t.flags)){for(e=Vn;e;)e=ze(e);return tr(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=er(t),null===e){if(!r)throw Error(s(318));if(!K)throw Error(s(344));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(s(317));Ge(e,t)}else tr(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return No(t),null}return null!==Zn&&(Ia(Zn),Zn=null),0!=(128&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?er(t):n=null!==e.memoizedState,r!==n&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&yr.current)?0===aa&&(aa=3):qa())),null!==t.updateQueue&&(t.flags|=4),No(t),null);case 4:return mr(),Eo(e,t),null===e&&J(t.stateNode.containerInfo),No(t),null;case 10:return cn(t.type._context),No(t),null;case 19:if(lt(yr),null===(o=t.memoizedState))return No(t),null;if(r=0!=(128&t.flags),null===(i=o.rendering))if(r)Io(o,!1);else{if(0!==aa||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=br(e))){for(t.flags|=128,Io(o,!1),null!==(e=i.updateQueue)&&(t.updateQueue=e,t.flags|=4),t.subtreeFlags=0,e=n,r=t.child;null!==r;)o=e,(n=r).flags&=14680066,null===(i=n.alternate)?(n.childLanes=0,n.lanes=o,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,o=i.dependencies,n.dependencies=null===o?null:{lanes:o.lanes,firstContext:o.firstContext}),r=r.sibling;return ut(yr,1&yr.current|2),t.child}e=e.sibling}null!==o.tail&&zt()>ha&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=br(i))){if(t.flags|=128,r=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),Io(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!Gn)return No(t),null}else 2*zt()-o.renderingStartTime>ha&&1073741824!==n&&(t.flags|=128,r=!0,Io(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=zt(),t.sibling=null,e=yr.current,ut(yr,r?1&e|2:1&e),t):(No(t),null);case 22:case 23:return za(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&oa)&&(No(t),Y&&6&t.subtreeFlags&&(t.flags|=8192)):No(t),null;case 24:case 25:return null}throw Error(s(156,t.tag))}var Ro=l.ReactCurrentOwner,zo=!1;function Uo(e,t,n,r){t.child=null===e?lr(t,null,n,r):sr(t,e.child,n,r)}function $o(e,t,n,r,o){n=n.render;var i=t.ref;return dn(t,o),r=jr(e,t,n,r,i,o),n=Br(),null===e||zo?(Gn&&n&&$n(t),t.flags|=1,Uo(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ui(e,t,o))}function Ho(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||ss(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=us(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,qo(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:en)(a,r)&&e.ref===t.ref)return ui(e,t,o)}return t.flags|=1,(e=ls(i,r)).ref=t.ref,e.return=t,t.child=e}function qo(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(en(i,r)&&e.ref===t.ref){if(zo=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,ui(e,t,o);0!=(131072&e.flags)&&(zo=!0)}}return Wo(e,t,n,r,o)}function Vo(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ut(ia,oa),oa|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ut(ia,oa),oa|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ut(ia,oa),oa|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ut(ia,oa),oa|=r;return Uo(e,t,o,n),t.child}function Go(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wo(e,t,n,r,o){var i=mt(n)?ft:pt.current;return i=ht(t,i),dn(t,o),n=jr(e,t,n,r,i,o),r=Br(),null===e||zo?(Gn&&r&&$n(t),t.flags|=1,Uo(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ui(e,t,o))}function Zo(e,t,n,r,o){if(mt(n)){var i=!0;bt(t)}else i=!1;if(dn(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Dn(t,n,r),On(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=fn(u):u=ht(t,u=mt(n)?ft:pt.current);var c=n.getDerivedStateFromProps,p="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Tn(t,a,r,u),mn=!1;var d=t.memoizedState;a.state=d,wn(t,r,a,o),l=t.memoizedState,s!==r||d!==l||dt.current||mn?("function"==typeof c&&(_n(t,n,c,r),l=t.memoizedState),(s=mn||Sn(t,n,s,r,d,l,u))?(p||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,vn(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:nn(t.type,s),a.props=u,p=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=fn(l):l=ht(t,l=mt(n)?ft:pt.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==p||d!==l)&&Tn(t,a,r,l),mn=!1,d=t.memoizedState,a.state=d,wn(t,r,a,o);var h=t.memoizedState;s!==p||d!==h||dt.current||mn?("function"==typeof f&&(_n(t,n,f,r),h=t.memoizedState),(u=mn||Sn(t,n,u,r,d,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Yo(e,t,n,r,i,o)}function Yo(e,t,n,r,o,i){Go(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&At(t,n,!1),ui(e,t,i);r=t.stateNode,Ro.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=sr(t,e.child,null,i),t.child=sr(t,null,s,i)):Uo(e,t,s,i),t.memoizedState=r.state,o&&At(t,n,!0),t.child}function Xo(e){var t=e.stateNode;t.pendingContext?vt(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vt(0,t.context,!1),hr(e,t.containerInfo)}function Ko(e,t,n,r,o){return tr(),nr(o),t.flags|=256,Uo(e,t,n,r),t.child}var Qo={dehydrated:null,treeContext:null,retryLane:0};function Jo(e){return{baseLanes:e,cachePool:null,transitions:null}}function ei(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function ti(e,t,n){var r,o=t.pendingProps,i=yr.current,a=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),ut(yr,1&i),null===e)return Qn(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:Me(e)?t.lanes=8:t.lanes=1073741824,null):(i=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},0==(1&o)&&null!==a?(a.childLanes=0,a.pendingProps=i):a=ps(i,o,0,null),e=cs(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Jo(n),t.memoizedState=Qo,e):ni(t,i));if(null!==(i=e.memoizedState)){if(null!==(r=i.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,ii(e,t,n,Error(s(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,i=t.mode,o=ps({mode:"visible",children:o.children},i,0,null),(a=cs(a,i,n,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,0!=(1&t.mode)&&sr(t,e.child,null,n),t.child.memoizedState=Jo(n),t.memoizedState=Qo,a);if(0==(1&t.mode))t=ii(e,t,n,null);else if(Me(r))t=ii(e,t,n,Error(s(419)));else if(o=0!=(n&e.childLanes),zo||o){if(null!==(o=ta)){switch(n&-n){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(o=0!=(a&(o.suspendedLanes|n))?0:a)&&o!==i.retryLane&&(i.retryLane=o,Oa(e,o,-1))}qa(),t=ii(e,t,n,Error(s(421)))}else Ne(r)?(t.flags|=128,t.child=e.child,t=ns.bind(null,e),Re(r,t),t=null):(n=i.treeContext,K&&(Vn=He(r),qn=t,Gn=!0,Zn=null,Wn=!1,null!==n&&(Bn[In++]=Mn,Bn[In++]=Rn,Bn[In++]=Nn,Mn=n.id,Rn=n.overflow,Nn=t)),(t=ni(t,t.pendingProps.children)).flags|=4096);return t}return a?(o=oi(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?Jo(n):ei(i,n),a.childLanes=e.childLanes&~n,t.memoizedState=Qo,o):(n=ri(e,t,o.children,n),t.memoizedState=null,n)}return a?(o=oi(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?Jo(n):ei(i,n),a.childLanes=e.childLanes&~n,t.memoizedState=Qo,o):(n=ri(e,t,o.children,n),t.memoizedState=null,n)}function ni(e,t){return(t=ps({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ri(e,t,n,r){var o=e.child;return e=o.sibling,n=ls(o,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function oi(e,t,n,r,o){var i=t.mode,a=(e=e.child).sibling,s={mode:"hidden",children:n};return 0==(1&i)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=s,t.deletions=null):(n=ls(e,s)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=ls(a,r):(r=cs(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ii(e,t,n,r){return null!==r&&nr(r),sr(t,e.child,null,n),(e=ni(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function ai(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),pn(e.return,t,n)}function si(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function li(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Uo(e,t,r.children,n),0!=(2&(r=yr.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ai(e,n,t);else if(19===e.tag)ai(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ut(yr,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===br(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),si(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===br(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}si(t,!0,n,null,i);break;case"together":si(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ui(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),la|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ci(e,t){switch(Hn(t),t.tag){case 1:return mt(t.type)&&gt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return mr(),lt(dt),lt(pt),Cr(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return vr(t),null;case 13:if(lt(yr),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340));tr()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return lt(yr),null;case 4:return mr(),null;case 10:return cn(t.type._context),null;case 22:case 23:return za(),null;default:return null}}var pi=!1,di=!1,fi="function"==typeof WeakSet?WeakSet:Set,hi=null;function mi(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ja(e,t,n)}else n.current=null}function gi(e,t,n){try{n()}catch(n){Ja(e,t,n)}}var vi=!1;function yi(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&gi(t,n,i)}o=o.next}while(o!==r)}}function bi(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ai(e){var t=e.ref;if(null!==t){var n=e.stateNode;if(5===e.tag)e=j(n);else e=n;"function"==typeof t?t(e):t.current=e}}function Ci(e){var t=e.alternate;null!==t&&(e.alternate=null,Ci(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&te(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wi(e){return 5===e.tag||3===e.tag||4===e.tag}function xi(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||wi(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Ei(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?ye(n,e,t):fe(n,e);else if(4!==r&&null!==(e=e.child))for(Ei(e,t,n),e=e.sibling;null!==e;)Ei(e,t,n),e=e.sibling}function _i(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?ve(n,e,t):de(n,e);else if(4!==r&&null!==(e=e.child))for(_i(e,t,n),e=e.sibling;null!==e;)_i(e,t,n),e=e.sibling}var ki=null,Si=!1;function Di(e,t,n){for(n=n.child;null!==n;)Ti(e,t,n),n=n.sibling}function Ti(e,t,n){if(Gt&&"function"==typeof Gt.onCommitFiberUnmount)try{Gt.onCommitFiberUnmount(Vt,n)}catch(e){}switch(n.tag){case 5:di||mi(n,t);case 6:if(Y){var r=ki,o=Si;ki=null,Di(e,t,n),Si=o,null!==(ki=r)&&(Si?Ae(ki,n.stateNode):be(ki,n.stateNode))}else Di(e,t,n);break;case 18:Y&&null!==ki&&(Si?Ke(ki,n.stateNode):Xe(ki,n.stateNode));break;case 4:Y?(r=ki,o=Si,ki=n.stateNode.containerInfo,Si=!0,Di(e,t,n),ki=r,Si=o):(X&&(r=n.stateNode.containerInfo,o=De(r),Pe(r,o)),Di(e,t,n));break;case 0:case 11:case 14:case 15:if(!di&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&gi(n,t,a),o=o.next}while(o!==r)}Di(e,t,n);break;case 1:if(!di&&(mi(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ja(n,t,e)}Di(e,t,n);break;case 21:Di(e,t,n);break;case 22:1&n.mode?(di=(r=di)||null!==n.memoizedState,Di(e,t,n),di=r):Di(e,t,n);break;default:Di(e,t,n)}}function Oi(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new fi),t.forEach((function(t){var r=rs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Pi(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t;if(Y){var l=a;e:for(;null!==l;){switch(l.tag){case 5:ki=l.stateNode,Si=!1;break e;case 3:case 4:ki=l.stateNode.containerInfo,Si=!0;break e}l=l.return}if(null===ki)throw Error(s(160));Ti(i,a,o),ki=null,Si=!1}else Ti(i,a,o);var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Ja(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Li(t,e),t=t.sibling}function Li(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pi(t,e),Fi(e),4&r){try{yi(3,e,e.return),bi(3,e)}catch(t){Ja(e,e.return,t)}try{yi(5,e,e.return)}catch(t){Ja(e,e.return,t)}}break;case 1:Pi(t,e),Fi(e),512&r&&null!==n&&mi(n,n.return);break;case 5:if(Pi(t,e),Fi(e),512&r&&null!==n&&mi(n,n.return),Y){if(32&e.flags){var o=e.stateNode;try{Ce(o)}catch(t){Ja(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps;if(n=null!==n?n.memoizedProps:i,r=e.type,t=e.updateQueue,e.updateQueue=null,null!==t)try{ge(o,t,r,n,i,e)}catch(t){Ja(e,e.return,t)}}}break;case 6:if(Pi(t,e),Fi(e),4&r&&Y){if(null===e.stateNode)throw Error(s(162));o=e.stateNode,i=e.memoizedProps,n=null!==n?n.memoizedProps:i;try{he(o,n,i)}catch(t){Ja(e,e.return,t)}}break;case 3:if(Pi(t,e),Fi(e),4&r){if(Y&&K&&null!==n&&n.memoizedState.isDehydrated)try{Ze(t.containerInfo)}catch(t){Ja(e,e.return,t)}if(X){n=t.containerInfo,o=t.pendingChildren;try{Pe(n,o)}catch(t){Ja(e,e.return,t)}}}break;case 4:if(Pi(t,e),Fi(e),4&r&&X){n=(o=e.stateNode).containerInfo,o=o.pendingChildren;try{Pe(n,o)}catch(t){Ja(e,e.return,t)}}break;case 13:Pi(t,e),Fi(e),8192&(n=e.child).flags&&null!==n.memoizedState&&(null===n.alternate||null===n.alternate.memoizedState)&&(fa=zt()),4&r&&Oi(e);break;case 22:if(n=null!==n&&null!==n.memoizedState,1&e.mode){var a=di;di=a||n,Pi(t,e),di=a}else Pi(t,e);if(Fi(e),8192&r){if(r=null!==e.memoizedState,Y)e:if(t=null,Y)for(a=e;;){if(5===a.tag){if(null===t){t=a;try{o=a.stateNode,r?we(o):Ee(a.stateNode,a.memoizedProps)}catch(t){Ja(e,e.return,t)}}}else if(6===a.tag){if(null===t)try{i=a.stateNode,r?xe(i):_e(i,a.memoizedProps)}catch(t){Ja(e,e.return,t)}}else if((22!==a.tag&&23!==a.tag||null===a.memoizedState||a===e)&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;null===a.sibling;){if(null===a.return||a.return===e)break e;t===a&&(t=null),a=a.return}t===a&&(t=null),a.sibling.return=a.return,a=a.sibling}if(r&&!n&&0!=(1&e.mode))for(hi=e,e=e.child;null!==e;){for(n=hi=e;null!==hi;){switch(i=(o=hi).child,o.tag){case 0:case 11:case 14:case 15:yi(4,o,o.return);break;case 1:mi(o,o.return);var l=o.stateNode;if("function"==typeof l.componentWillUnmount){r=o,t=o.return;try{a=r,l.props=a.memoizedProps,l.state=a.memoizedState,l.componentWillUnmount()}catch(e){Ja(r,t,e)}}break;case 5:mi(o,o.return);break;case 22:if(null!==o.memoizedState){Ni(n);continue}}null!==i?(i.return=o,hi=i):Ni(n)}e=e.sibling}}break;case 19:Pi(t,e),Fi(e),4&r&&Oi(e);break;case 21:break;default:Pi(t,e),Fi(e)}}function Fi(e){var t=e.flags;if(2&t){try{if(Y){e:{for(var n=e.return;null!==n;){if(wi(n)){var r=n;break e}n=n.return}throw Error(s(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Ce(o),r.flags&=-33),_i(e,xi(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;Ei(e,xi(e),i);break;default:throw Error(s(161))}}}catch(t){Ja(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ji(e,t,n){hi=e,Bi(e,t,n)}function Bi(e,t,n){for(var r=0!=(1&e.mode);null!==hi;){var o=hi,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||pi;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||di;s=pi;var u=di;if(pi=a,(di=l)&&!u)for(hi=o;null!==hi;)l=(a=hi).child,22===a.tag&&null!==a.memoizedState?Mi(o):null!==l?(l.return=a,hi=l):Mi(o);for(;null!==i;)hi=i,Bi(i,t,n),i=i.sibling;hi=o,pi=s,di=u}Ii(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,hi=i):Ii(e)}}function Ii(e){for(;null!==hi;){var t=hi;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:di||bi(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!di)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:nn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&xn(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=j(t.child.stateNode);break;case 1:n=t.child.stateNode}xn(t,a,n)}break;case 5:var l=t.stateNode;null===n&&4&t.flags&&me(l,t.type,t.memoizedProps,t);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(K&&null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var p=c.dehydrated;null!==p&&Ye(p)}}}break;default:throw Error(s(163))}di||512&t.flags&&Ai(t)}catch(e){Ja(t,t.return,e)}}if(t===e){hi=null;break}if(null!==(n=t.sibling)){n.return=t.return,hi=n;break}hi=t.return}}function Ni(e){for(;null!==hi;){var t=hi;if(t===e){hi=null;break}var n=t.sibling;if(null!==n){n.return=t.return,hi=n;break}hi=t.return}}function Mi(e){for(;null!==hi;){var t=hi;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{bi(4,t)}catch(e){Ja(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Ja(t,o,e)}}var i=t.return;try{Ai(t)}catch(e){Ja(t,i,e)}break;case 5:var a=t.return;try{Ai(t)}catch(e){Ja(t,a,e)}}}catch(e){Ja(t,t.return,e)}if(t===e){hi=null;break}var s=t.sibling;if(null!==s){s.return=t.return,hi=s;break}hi=t.return}}var Ri=0,zi=1,Ui=2,$i=3,Hi=4;if("function"==typeof Symbol&&Symbol.for){var qi=Symbol.for;Ri=qi("selector.component"),zi=qi("selector.has_pseudo_class"),Ui=qi("selector.role"),$i=qi("selector.test_id"),Hi=qi("selector.text")}function Vi(e){var t=Q(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(s(364));return t}if(null===(e=ie(e)))throw Error(s(362));return e.stateNode.current}function Gi(e,t){switch(t.$$typeof){case Ri:if(e.type===t.value)return!0;break;case zi:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],o=e[n++],i=t[o];if(5!==r.tag||!le(r)){for(;null!=i&&Gi(r,i);)i=t[++o];if(o===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,o),r=r.sibling}}t=!1}return t;case Ui:if(5===e.tag&&ue(e.stateNode,t.value))return!0;break;case Hi:if((5===e.tag||6===e.tag)&&(null!==(e=se(e))&&0<=e.indexOf(t.value)))return!0;break;case $i:if(5===e.tag&&("string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase()))return!0;break;default:throw Error(s(365))}return!1}function Wi(e){switch(e.$$typeof){case Ri:return"<"+(E(e.value)||"Unknown")+">";case zi:return":has("+(Wi(e)||"")+")";case Ui:return'[role="'+e.value+'"]';case Hi:return'"'+e.value+'"';case $i:return'[data-testname="'+e.value+'"]';default:throw Error(s(365))}}function Zi(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var o=e[r++],i=e[r++],a=t[i];if(5!==o.tag||!le(o)){for(;null!=a&&Gi(o,a);)a=t[++i];if(i===t.length)n.push(o);else for(o=o.child;null!==o;)e.push(o,i),o=o.sibling}}return n}function Yi(e,t){if(!oe)throw Error(s(363));e=Zi(e=Vi(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)le(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var Xi=Math.ceil,Ki=l.ReactCurrentDispatcher,Qi=l.ReactCurrentOwner,Ji=l.ReactCurrentBatchConfig,ea=0,ta=null,na=null,ra=0,oa=0,ia=st(0),aa=0,sa=null,la=0,ua=0,ca=0,pa=null,da=null,fa=0,ha=1/0,ma=null;function ga(){ha=zt()+500}var va,ya=!1,ba=null,Aa=null,Ca=!1,wa=null,xa=0,Ea=0,_a=null,ka=-1,Sa=0;function Da(){return 0!=(6&ea)?zt():-1!==ka?ka:ka=zt()}function Ta(e){return 0==(1&e.mode)?1:0!=(2&ea)&&0!==ra?ra&-ra:null!==Jt.transition?(0===Sa&&(Sa=Ot()),Sa):0!==(e=jt)?e:ee()}function Oa(e,t,n){if(50<Ea)throw Ea=0,_a=null,Error(s(185));var r=Pa(e,t);return null===r?null:(Lt(r,t,n),0!=(2&ea)&&r===ta||(r===ta&&(0==(2&ea)&&(ua|=t),4===aa&&Na(r,ra)),Fa(r,n),1===t&&0===ea&&0==(1&e.mode)&&(ga(),Yt&&Qt())),r)}function Pa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function La(e){return(null!==ta||null!==hn)&&0!=(1&e.mode)&&0==(2&ea)}function Fa(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Ct(i),s=1<<a,l=o[a];-1===l?0!=(s&n)&&0==(s&r)||(o[a]=Dt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=St(e,e===ta?ra:0);if(0===r)null!==n&&Nt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Nt(n),1===t)0===e.tag?function(e){Yt=!0,Kt(e)}(Ma.bind(null,e)):Kt(Ma.bind(null,e)),ne?re((function(){0===ea&&Qt()})):It(Ut,Qt),n=null;else{switch(Bt(r)){case 1:n=Ut;break;case 4:n=$t;break;case 16:default:n=Ht;break;case 536870912:n=qt}n=os(n,ja.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ja(e,t){if(ka=-1,Sa=0,0!=(6&ea))throw Error(s(327));var n=e.callbackNode;if(Ka()&&e.callbackNode!==n)return null;var r=St(e,e===ta?ra:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Va(e,r);else{t=r;var o=ea;ea|=2;var i=Ha();for(ta===e&&ra===t||(ma=null,ga(),Ua(e,t));;)try{Wa();break}catch(t){$a(e,t)}ln(),Ki.current=i,ea=o,null!==na?t=0:(ta=null,ra=0,t=aa)}if(0!==t){if(2===t&&(0!==(o=Tt(e))&&(r=o,t=Ba(e,o))),1===t)throw n=sa,Ua(e,0),Na(e,r),Fa(e,zt()),n;if(6===t)Na(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Wt(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=Va(e,r))&&(0!==(i=Tt(e))&&(r=i,t=Ba(e,i))),1===t))throw n=sa,Ua(e,0),Na(e,r),Fa(e,zt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(s(345));case 2:case 5:Xa(e,da,ma);break;case 3:if(Na(e,r),(130023424&r)===r&&10<(t=fa+500-zt())){if(0!==St(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Da(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=V(Xa.bind(null,e,da,ma),t);break}Xa(e,da,ma);break;case 4:if(Na(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Ct(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=zt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xi(r/1960))-r)){e.timeoutHandle=V(Xa.bind(null,e,da,ma),r);break}Xa(e,da,ma);break;default:throw Error(s(329))}}}return Fa(e,zt()),e.callbackNode===n?ja.bind(null,e):null}function Ba(e,t){var n=pa;return e.current.memoizedState.isDehydrated&&(Ua(e,t).flags|=256),2!==(e=Va(e,t))&&(t=da,da=n,null!==t&&Ia(t)),e}function Ia(e){null===da?da=e:da.push.apply(da,e)}function Na(e,t){for(t&=~ca,t&=~ua,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ct(t),r=1<<n;e[n]=-1,t&=~r}}function Ma(e){if(0!=(6&ea))throw Error(s(327));Ka();var t=St(e,0);if(0==(1&t))return Fa(e,zt()),null;var n=Va(e,t);if(0!==e.tag&&2===n){var r=Tt(e);0!==r&&(t=r,n=Ba(e,r))}if(1===n)throw n=sa,Ua(e,0),Na(e,t),Fa(e,zt()),n;if(6===n)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xa(e,da,ma),Fa(e,zt()),null}function Ra(e){null!==wa&&0===wa.tag&&0==(6&ea)&&Ka();var t=ea;ea|=1;var n=Ji.transition,r=jt;try{if(Ji.transition=null,jt=1,e)return e()}finally{jt=r,Ji.transition=n,0==(6&(ea=t))&&Qt()}}function za(){oa=ia.current,lt(ia)}function Ua(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==W&&(e.timeoutHandle=W,G(n)),null!==na)for(n=na.return;null!==n;){var r=n;switch(Hn(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&gt();break;case 3:mr(),lt(dt),lt(pt),Cr();break;case 5:vr(r);break;case 4:mr();break;case 13:case 19:lt(yr);break;case 10:cn(r.type._context);break;case 22:case 23:za()}n=n.return}if(ta=e,na=e=ls(e.current,null),ra=oa=t,aa=0,sa=null,ca=ua=la=0,da=pa=null,null!==hn){for(t=0;t<hn.length;t++)if(null!==(r=(n=hn[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}hn=null}return e}function $a(e,t){for(;;){var n=na;try{if(ln(),wr.current=vo,Dr){for(var r=_r.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Dr=!1}if(Er=0,Sr=kr=_r=null,Tr=!1,Or=0,Qi.current=null,null===n||null===n.return){aa=1,sa=t,na=null;break}e:{var i=e,a=n.return,l=n,u=t;if(t=ra,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,p=l,d=p.tag;if(0==(1&p.mode)&&(0===d||11===d||15===d)){var f=p.alternate;f?(p.updateQueue=f.updateQueue,p.memoizedState=f.memoizedState,p.lanes=f.lanes):(p.updateQueue=null,p.memoizedState=null)}var h=Po(a);if(null!==h){h.flags&=-257,Lo(h,a,l,0,t),1&h.mode&&Oo(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0==(1&t)){Oo(i,c,t),qa();break e}u=Error(s(426))}else if(Gn&&1&l.mode){var v=Po(a);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),Lo(v,a,l,0,t),nr(u);break e}}i=u,4!==aa&&(aa=2),null===pa?pa=[i]:pa.push(i),u=Co(u,l),l=a;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,Cn(l,Do(0,u,t));break e;case 1:i=u;var y=l.type,b=l.stateNode;if(0==(128&l.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Aa||!Aa.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,Cn(l,To(l,i,t));break e}}l=l.return}while(null!==l)}Ya(n)}catch(e){t=e,na===n&&null!==n&&(na=n=n.return);continue}break}}function Ha(){var e=Ki.current;return Ki.current=vo,null===e?vo:e}function qa(){0!==aa&&3!==aa&&2!==aa||(aa=4),null===ta||0==(268435455&la)&&0==(268435455&ua)||Na(ta,ra)}function Va(e,t){var n=ea;ea|=2;var r=Ha();for(ta===e&&ra===t||(ma=null,Ua(e,t));;)try{Ga();break}catch(t){$a(e,t)}if(ln(),ea=n,Ki.current=r,null!==na)throw Error(s(261));return ta=null,ra=0,aa}function Ga(){for(;null!==na;)Za(na)}function Wa(){for(;null!==na&&!Mt();)Za(na)}function Za(e){var t=va(e.alternate,e,oa);e.memoizedProps=e.pendingProps,null===t?Ya(e):na=t,Qi.current=null}function Ya(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Mo(n,t,oa)))return void(na=n)}else{if(null!==(n=ci(n,t)))return n.flags&=32767,void(na=n);if(null===e)return aa=6,void(na=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(na=t);na=t=e}while(null!==t);0===aa&&(aa=5)}function Xa(e,t,n){var r=jt,o=Ji.transition;try{Ji.transition=null,jt=1,function(e,t,n,r){do{Ka()}while(null!==wa);if(0!=(6&ea))throw Error(s(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ct(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===ta&&(na=ta=null,ra=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ca||(Ca=!0,os(Ht,(function(){return Ka(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ji.transition,Ji.transition=null;var a=jt;jt=1;var l=ea;ea|=4,Qi.current=null,function(e,t){for(N(e.containerInfo),hi=t;null!==hi;)if(t=(e=hi).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,hi=t;else for(;null!==hi;){e=hi;try{var n=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode,a=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:nn(e.type,r),o);i.__reactInternalSnapshotBeforeUpdate=a}break;case 3:Y&&ke(e.stateNode.containerInfo);break;default:throw Error(s(163))}}catch(t){Ja(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,hi=t;break}hi=e.return}n=vi,vi=!1}(e,n),Li(n,e),M(e.containerInfo),e.current=n,ji(n,e,o),Rt(),ea=l,jt=a,Ji.transition=i}else e.current=n;if(Ca&&(Ca=!1,wa=e,xa=o),0===(i=e.pendingLanes)&&(Aa=null),function(e){if(Gt&&"function"==typeof Gt.onCommitFiberRoot)try{Gt.onCommitFiberRoot(Vt,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),Fa(e,zt()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(ya)throw ya=!1,e=ba,ba=null,e;0!=(1&xa)&&0!==e.tag&&Ka(),0!=(1&(i=e.pendingLanes))?e===_a?Ea++:(Ea=0,_a=e):Ea=0,Qt()}(e,t,n,r)}finally{Ji.transition=o,jt=r}return null}function Ka(){if(null!==wa){var e=Bt(xa),t=Ji.transition,n=jt;try{if(Ji.transition=null,jt=16>e?16:e,null===wa)var r=!1;else{if(e=wa,wa=null,xa=0,0!=(6&ea))throw Error(s(331));var o=ea;for(ea|=4,hi=e.current;null!==hi;){var i=hi,a=i.child;if(0!=(16&hi.flags)){var l=i.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(hi=c;null!==hi;){var p=hi;switch(p.tag){case 0:case 11:case 15:yi(8,p,i)}var d=p.child;if(null!==d)d.return=p,hi=d;else for(;null!==hi;){var f=(p=hi).sibling,h=p.return;if(Ci(p),p===c){hi=null;break}if(null!==f){f.return=h,hi=f;break}hi=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}hi=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,hi=a;else e:for(;null!==hi;){if(0!=(2048&(i=hi).flags))switch(i.tag){case 0:case 11:case 15:yi(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,hi=y;break e}hi=i.return}}var b=e.current;for(hi=b;null!==hi;){var A=(a=hi).child;if(0!=(2064&a.subtreeFlags)&&null!==A)A.return=a,hi=A;else e:for(a=b;null!==hi;){if(0!=(2048&(l=hi).flags))try{switch(l.tag){case 0:case 11:case 15:bi(9,l)}}catch(e){Ja(l,l.return,e)}if(l===a){hi=null;break e}var C=l.sibling;if(null!==C){C.return=l.return,hi=C;break e}hi=l.return}}if(ea=o,Qt(),Gt&&"function"==typeof Gt.onPostCommitFiberRoot)try{Gt.onPostCommitFiberRoot(Vt,e)}catch(e){}r=!0}return r}finally{jt=n,Ji.transition=t}}return!1}function Qa(e,t,n){bn(e,t=Do(0,t=Co(n,t),1)),t=Da(),null!==(e=Pa(e,1))&&(Lt(e,1,t),Fa(e,t))}function Ja(e,t,n){if(3===e.tag)Qa(e,e,n);else for(;null!==t;){if(3===t.tag){Qa(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Aa||!Aa.has(r))){bn(t,e=To(t,e=Co(n,e),1)),e=Da(),null!==(t=Pa(t,1))&&(Lt(t,1,e),Fa(t,e));break}}t=t.return}}function es(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Da(),e.pingedLanes|=e.suspendedLanes&n,ta===e&&(ra&n)===n&&(4===aa||3===aa&&(130023424&ra)===ra&&500>zt()-fa?Ua(e,0):ca|=n),Fa(e,t)}function ts(e,t){0===t&&(0==(1&e.mode)?t=1:(t=_t,0==(130023424&(_t<<=1))&&(_t=4194304)));var n=Da();null!==(e=Pa(e,t))&&(Lt(e,t,n),Fa(e,n))}function ns(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ts(e,n)}function rs(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(s(314))}null!==r&&r.delete(t),ts(e,n)}function os(e,t){return It(e,t)}function is(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function as(e,t,n,r){return new is(e,t,n,r)}function ss(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ls(e,t){var n=e.alternate;return null===n?((n=as(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function us(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)ss(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case p:return cs(n.children,o,i,t);case d:a=8,o|=8;break;case f:return(e=as(12,n,t,2|o)).elementType=f,e.lanes=i,e;case v:return(e=as(13,n,t,o)).elementType=v,e.lanes=i,e;case y:return(e=as(19,n,t,o)).elementType=y,e.lanes=i,e;case C:return ps(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case h:a=10;break e;case m:a=9;break e;case g:a=11;break e;case b:a=14;break e;case A:a=16,r=null;break e}throw Error(s(130,null==e?e:typeof e,""))}return(t=as(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function cs(e,t,n,r){return(e=as(7,e,r,t)).lanes=n,e}function ps(e,t,n,r){return(e=as(22,e,r,t)).elementType=C,e.lanes=n,e.stateNode={},e}function ds(e,t,n){return(e=as(6,e,null,t)).lanes=n,e}function fs(e,t,n){return(t=as(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hs(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=W,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pt(0),this.expirationTimes=Pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pt(0),this.identifierPrefix=r,this.onRecoverableError=o,K&&(this.mutableSourceEagerHydrationData=null)}function ms(e,t,n,r,o,i,a,s,l){return e=new hs(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=as(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gn(i),e}function gs(e){if(!e)return ct;e:{if(k(e=e._reactInternals)!==e||1!==e.tag)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(mt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(s(171))}if(1===e.tag){var n=e.type;if(mt(n))return yt(e,n,t)}return t}function vs(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw e=Object.keys(e).join(","),Error(s(268,e))}return null===(e=T(t))?null:e.stateNode}function ys(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function bs(e,t){ys(e,t),(e=e.alternate)&&ys(e,t)}function As(e){return null===(e=T(e))?null:e.stateNode}function Cs(){return null}return va=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||dt.current)zo=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return zo=!1,function(e,t,n){switch(t.tag){case 3:Xo(t),tr();break;case 5:gr(t);break;case 1:mt(t.type)&&bt(t);break;case 4:hr(t,t.stateNode.containerInfo);break;case 10:un(0,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ut(yr,1&yr.current),t.flags|=128,null):0!=(n&t.child.childLanes)?ti(e,t,n):(ut(yr,1&yr.current),null!==(e=ui(e,t,n))?e.sibling:null);ut(yr,1&yr.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return li(e,t,n);t.flags|=128}var o=t.memoizedState;if(null!==o&&(o.rendering=null,o.tail=null,o.lastEffect=null),ut(yr,yr.current),r)break;return null;case 22:case 23:return t.lanes=0,Vo(e,t,n)}return ui(e,t,n)}(e,t,n);zo=0!=(131072&e.flags)}else zo=!1,Gn&&0!=(1048576&t.flags)&&Un(t,jn,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=ht(t,pt.current);dn(t,n),o=jr(null,t,r,e,o,n);var i=Br();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,mt(r)?(i=!0,bt(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,gn(t),o.updater=kn,t.stateNode=o,o._reactInternals=t,On(t,r,e,n),t=Yo(null,t,r,!0,i,n)):(t.tag=0,Gn&&i&&$n(t),Uo(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return ss(e)?1:0;if(null!=e){if((e=e.$$typeof)===g)return 11;if(e===b)return 14}return 2}(r),e=nn(r,e),o){case 0:t=Wo(null,t,r,e,n);break e;case 1:t=Zo(null,t,r,e,n);break e;case 11:t=$o(null,t,r,e,n);break e;case 14:t=Ho(null,t,r,nn(r.type,e),n);break e}throw Error(s(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Wo(e,t,r,o=t.elementType===r?o:nn(r,o),n);case 1:return r=t.type,o=t.pendingProps,Zo(e,t,r,o=t.elementType===r?o:nn(r,o),n);case 3:e:{if(Xo(t),null===e)throw Error(s(387));r=t.pendingProps,o=(i=t.memoizedState).element,vn(e,t),wn(t,r,null,n);var a=t.memoizedState;if(r=a.element,K&&i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ko(e,t,r,n,o=Error(s(423)));break e}if(r!==o){t=Ko(e,t,r,n,o=Error(s(424)));break e}for(K&&(Vn=$e(t.stateNode.containerInfo),qn=t,Gn=!0,Zn=null,Wn=!1),n=lr(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(tr(),r===o){t=ui(e,t,n);break e}Uo(e,t,r,n)}t=t.child}return t;case 5:return gr(t),null===e&&Qn(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,H(r,o)?a=null:null!==i&&H(r,i)&&(t.flags|=32),Go(e,t),Uo(e,t,a,n),t.child;case 6:return null===e&&Qn(t),null;case 13:return ti(e,t,n);case 4:return hr(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=sr(t,null,r,n):Uo(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,$o(e,t,r,o=t.elementType===r?o:nn(r,o),n);case 7:return Uo(e,t,t.pendingProps,n),t.child;case 8:case 12:return Uo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,un(0,r,a=o.value),null!==i)if(Wt(i.value,a)){if(i.children===o.children&&!dt.current){t=ui(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=yn(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var p=(c=c.shared).pending;null===p?u.next=u:(u.next=p.next,p.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),pn(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(s(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),pn(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}Uo(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,dn(t,n),r=r(o=fn(o)),t.flags|=1,Uo(e,t,r,n),t.child;case 14:return o=nn(r=t.type,t.pendingProps),Ho(e,t,r,o=nn(r.type,o),n);case 15:return qo(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nn(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,mt(r)?(e=!0,bt(t)):e=!1,dn(t,n),Dn(t,r,o),On(t,r,o,n),Yo(null,t,r,!0,e,n);case 19:return li(e,t,n);case 22:return Vo(e,t,n)}throw Error(s(156,t.tag))},t.attemptContinuousHydration=function(e){13===e.tag&&(Oa(e,134217728,Da()),bs(e,134217728))},t.attemptDiscreteHydration=function(e){13===e.tag&&(Oa(e,1,Da()),bs(e,1))},t.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=Da(),n=Ta(e);Oa(e,n,t),bs(e,n)}},t.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=kt(t.pendingLanes);0!==n&&(Ft(t,1|n),Fa(t,zt()),0==(6&ea)&&(ga(),Qt()))}break;case 13:var r=Da();Ra((function(){return Oa(e,1,r)})),bs(e,1)}},t.batchedUpdates=function(e,t){var n=ea;ea|=1;try{return e(t)}finally{0===(ea=n)&&(ga(),Yt&&Qt())}},t.createComponentSelector=function(e){return{$$typeof:Ri,value:e}},t.createContainer=function(e,t,n,r,o,i,a){return ms(e,t,!1,null,0,r,0,i,a)},t.createHasPseudoClassSelector=function(e){return{$$typeof:zi,value:e}},t.createHydrationContainer=function(e,t,n,r,o,i,a,s,l){return(e=ms(n,r,!0,e,0,i,0,s,l)).context=gs(null),n=e.current,(i=yn(r=Da(),o=Ta(n))).callback=null!=t?t:null,bn(n,i),e.current.lanes=o,Lt(e,o,r),Fa(e,r),e},t.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:c,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},t.createRoleSelector=function(e){return{$$typeof:Ui,value:e}},t.createTestNameSelector=function(e){return{$$typeof:$i,value:e}},t.createTextSelector=function(e){return{$$typeof:Hi,value:e}},t.deferredUpdates=function(e){var t=jt,n=Ji.transition;try{return Ji.transition=null,jt=16,e()}finally{jt=t,Ji.transition=n}},t.discreteUpdates=function(e,t,n,r,o){var i=jt,a=Ji.transition;try{return Ji.transition=null,jt=1,e(t,n,r,o)}finally{jt=i,Ji.transition=a,0===ea&&ga()}},t.findAllNodes=Yi,t.findBoundingRects=function(e,t){if(!oe)throw Error(s(363));t=Yi(e,t),e=[];for(var n=0;n<t.length;n++)e.push(ae(t[n]));for(t=e.length-1;0<t;t--)for(var r=(n=e[t]).x,o=r+n.width,i=n.y,a=i+n.height,l=t-1;0<=l;l--)if(t!==l){var u=e[l],c=u.x,p=c+u.width,d=u.y,f=d+u.height;if(r>=c&&i>=d&&o<=p&&a<=f){e.splice(t,1);break}if(!(r!==c||n.width!==u.width||f<i||d>a)){d>i&&(u.height+=d-i,u.y=i),f<a&&(u.height=a-d),e.splice(t,1);break}if(!(i!==d||n.height!==u.height||p<r||c>o)){c>r&&(u.width+=c-r,u.x=r),p<o&&(u.width=o-c),e.splice(t,1);break}}return e},t.findHostInstance=vs,t.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=D(e))?P(e):null)?null:e.stateNode},t.findHostInstanceWithWarning=function(e){return vs(e)},t.flushControlled=function(e){var t=ea;ea|=1;var n=Ji.transition,r=jt;try{Ji.transition=null,jt=1,e()}finally{jt=r,Ji.transition=n,0===(ea=t)&&(ga(),Qt())}},t.flushPassiveEffects=Ka,t.flushSync=Ra,t.focusWithin=function(e,t){if(!oe)throw Error(s(363));for(t=Zi(e=Vi(e),t),t=Array.from(t),e=0;e<t.length;){var n=t[e++];if(!le(n)){if(5===n.tag&&ce(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},t.getCurrentUpdatePriority=function(){return jt},t.getFindAllNodesFailureDescription=function(e,t){if(!oe)throw Error(s(363));var n=0,r=[];e=[Vi(e),0];for(var o=0;o<e.length;){var i=e[o++],a=e[o++],l=t[a];if((5!==i.tag||!le(i))&&(Gi(i,l)&&(r.push(Wi(l)),++a>n&&(n=a)),a<t.length))for(i=i.child;null!==i;)e.push(i,a),i=i.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(Wi(t[n]));return"findAllNodes was able to match part of the selector:\n  "+r.join(" > ")+"\n\nNo matching component was found for:\n  "+e.join(" > ")}return null},t.getPublicRootInstance=function(e){return(e=e.current).child?5===e.child.tag?j(e.child.stateNode):e.child.stateNode:null},t.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:l.ReactCurrentDispatcher,findHostInstanceByFiber:As,findFiberByHostInstance:e.findFiberByHostInstance||Cs,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{Vt=t.inject(e),Gt=t}catch(e){}e=!!t.checkDCE}}return e},t.isAlreadyRendering=function(){return!1},t.observeVisibleRects=function(e,t,n,r){if(!oe)throw Error(s(363));e=Yi(e,t);var o=pe(e,n,r).disconnect;return{disconnect:function(){o()}}},t.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},t.runWithPriority=function(e,t){var n=jt;try{return jt=e,t()}finally{jt=n}},t.shouldError=function(){return null},t.shouldSuspend=function(){return!1},t.updateContainer=function(e,t,n,r){var o=t.current,i=Da(),a=Ta(o);return n=gs(n),null===t.context?t.context=n:t.pendingContext=n,(t=yn(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),bn(o,t),null!==(e=Oa(o,a,i))&&An(e,o,a),a},t}},2576:(e,t,n)=>{"use strict";e.exports=n(6511)},6525:(e,t,n)=>{"use strict";e.exports=n(7287)},2546:(e,t,n)=>{"use strict";var r=n(5108);function o(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<s(o,t)))break e;e[r]=t,e[n]=o,n=r}}function i(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var a=2*(r+1)-1,l=e[a],u=a+1,c=e[u];if(0>s(l,n))u<o&&0>s(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(u<o&&0>s(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}var p=[],d=[],f=1,h=null,m=3,g=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=i(d);null!==t;){if(null===t.callback)a(d);else{if(!(t.startTime<=e))break;a(d),t.sortIndex=t.expirationTime,o(p,t)}t=i(d)}}function x(e){if(y=!1,w(e),!v)if(null!==i(p))v=!0,B(E);else{var t=i(d);null!==t&&I(x,t.startTime-e)}}function E(e,n){v=!1,y&&(y=!1,A(D),D=-1),g=!0;var r=m;try{for(w(n),h=i(p);null!==h&&(!(h.expirationTime>n)||e&&!P());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var s=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===i(p)&&a(p),w(n)}else a(p);h=i(p)}if(null!==h)var l=!0;else{var u=i(d);null!==u&&I(x,u.startTime-n),l=!1}return l}finally{h=null,m=r,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,S=null,D=-1,T=5,O=-1;function P(){return!(t.unstable_now()-O<T)}function L(){if(null!==S){var e=t.unstable_now();O=e;var n=!0;try{n=S(!0,e)}finally{n?_():(k=!1,S=null)}}else k=!1}if("function"==typeof C)_=function(){C(L)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,j=F.port2;F.port1.onmessage=L,_=function(){j.postMessage(null)}}else _=function(){b(L,0)};function B(e){S=e,k||(k=!0,_())}function I(e,n){D=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||g||(v=!0,B(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?r.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_getFirstCallbackNode=function(){return i(p)},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,n,r){var a=t.unstable_now();switch("object"==typeof r&&null!==r?r="number"==typeof(r=r.delay)&&0<r?a+r:a:r=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:n,priorityLevel:e,startTime:r,expirationTime:s=r+s,sortIndex:-1},r>a?(e.sortIndex=r,o(d,e),null===i(p)&&e===i(d)&&(y?(A(D),D=-1):y=!0,I(x,r-a))):(e.sortIndex=s,o(p,e),v||g||(v=!0,B(E))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},373:(e,t,n)=>{"use strict";e.exports=n(2546)},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var A=b.prototype=new y;A.constructor=b,m(A,v.prototype),A.isPureReactComponent=!0;var C=Array.isArray,w=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:x.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+D(l,0):i,C(a)?(o="",null!=e&&(o=e.replace(S,"$&/")+"/"),T(a,t,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",C(e))for(var u=0;u<e.length;u++){var c=i+D(s=e[u],u);l+=T(s,t,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=T(s=s.value,t,o,c=i+D(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},F={transition:null},j={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:F,ReactCurrentOwner:x};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)w.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=F.transition;F.transition={};try{e()}finally{F.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},7851:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},9509:(e,t,n)=>{var r=n(8764),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},53:(e,t,n)=>{"use strict";var r=n(5108);function o(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<s(o,t)))break e;e[r]=t,e[n]=o,n=r}}function i(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var a=2*(r+1)-1,l=e[a],u=a+1,c=e[u];if(0>s(l,n))u<o&&0>s(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(u<o&&0>s(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}var p=[],d=[],f=1,h=null,m=3,g=!1,v=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=i(d);null!==t;){if(null===t.callback)a(d);else{if(!(t.startTime<=e))break;a(d),t.sortIndex=t.expirationTime,o(p,t)}t=i(d)}}function x(e){if(y=!1,w(e),!v)if(null!==i(p))v=!0,B(E);else{var t=i(d);null!==t&&I(x,t.startTime-e)}}function E(e,n){v=!1,y&&(y=!1,A(D),D=-1),g=!0;var r=m;try{for(w(n),h=i(p);null!==h&&(!(h.expirationTime>n)||e&&!P());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var s=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===i(p)&&a(p),w(n)}else a(p);h=i(p)}if(null!==h)var l=!0;else{var u=i(d);null!==u&&I(x,u.startTime-n),l=!1}return l}finally{h=null,m=r,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,k=!1,S=null,D=-1,T=5,O=-1;function P(){return!(t.unstable_now()-O<T)}function L(){if(null!==S){var e=t.unstable_now();O=e;var n=!0;try{n=S(!0,e)}finally{n?_():(k=!1,S=null)}}else k=!1}if("function"==typeof C)_=function(){C(L)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,j=F.port2;F.port1.onmessage=L,_=function(){j.postMessage(null)}}else _=function(){b(L,0)};function B(e){S=e,k||(k=!0,_())}function I(e,n){D=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||g||(v=!0,B(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?r.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_getFirstCallbackNode=function(){return i(p)},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,n,r){var a=t.unstable_now();switch("object"==typeof r&&null!==r?r="number"==typeof(r=r.delay)&&0<r?a+r:a:r=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:n,priorityLevel:e,startTime:r,expirationTime:s=r+s,sortIndex:-1},r>a?(e.sortIndex=r,o(d,e),null===i(p)&&e===i(d)&&(y?(A(D),D=-1):y=!0,I(x,r-a))):(e.sortIndex=s,o(p,e),v||g||(v=!0,B(E))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],p=t[u];if(!1===(o=n?n.call(r,c,p,u):void 0)||void 0===o&&c!==p)return!1}return!0}},2553:(e,t,n)=>{"use strict";var r=n(9509).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},4153:e=>{const t=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,o={}){if(o=Object.assign({},r,o),!e||"string"!=typeof e)return e;let i=e.trim();if(void 0!==o.skipLike&&o.skipLike.test(i))return e;if(o.hex&&t.test(i))return Number.parseInt(i,16);{const t=n.exec(i);if(t){const n=t[1],r=t[2];let a=function(e){if(e&&-1!==e.indexOf("."))return"."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1)),e;return e}(t[3]);const s=t[4]||t[6];if(!o.leadingZeros&&r.length>0&&n&&"."!==i[2])return e;if(!o.leadingZeros&&r.length>0&&!n&&"."!==i[1])return e;{const t=Number(i),l=""+t;return-1!==l.search(/[eE]/)||s?o.eNotation?t:e:-1!==i.indexOf(".")?"0"===l&&""===a||l===a||n&&l==="-"+a?t:e:r?a===l||n+a===l?t:e:i===l||i===n+l?t:e}}return e}}},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],u=r.base?l[0]+r.base:l[0],c=i[u]||0,p="".concat(u," ").concat(c);i[u]=c+1;var d=n(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(f);else{var h=o(f,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4078:function(e,t,n){var r,o,i;i=function(){function e(e){var t=[];if(0===e.length)return"";if("string"!=typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var o=e[r];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(r>0&&(o=o.replace(/^[\/]+/,"")),o=r<e.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),t.push(o))}var i=t.join("/"),a=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return i=a.shift()+(a.length>0?"?":"")+a.join("&")}return function(){return e("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},4564:(e,t,n)=>{"use strict";var r=n(7851),o=n(7129),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function p(e){return(e||"").toString().replace(i,"")}var d=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],f={hash:1,query:1};function h(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new v(unescape(e.pathname),{});else if("string"===i)for(t in o=new v(e,{}),f)delete o[t];else if("object"===i){for(t in e)t in f||(o[t]=e[t]);void 0===o.slashes&&(o.slashes=s.test(e.href))}return o}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=p(e)).replace(a,""),t=t||{};var n,r=u.exec(e),o=r[1]?r[1].toLowerCase():"",i=!!r[2],s=!!r[3],l=0;return i?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===o?l>=2&&(n=n.slice(2)):m(o)?n=r[4]:o?i&&(n=n.slice(2)):l>=2&&m(t.protocol)&&(n=r[4]),{protocol:o,slashes:i||m(o),slashesCount:l,rest:n}}function v(e,t,n){if(e=(e=p(e)).replace(a,""),!(this instanceof v))return new v(e,t,n);var i,s,l,u,f,y,b=d.slice(),A=typeof t,C=this,w=0;for("object"!==A&&"string"!==A&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),i=!(s=g(e||"",t=h(t))).protocol&&!s.slashes,C.slashes=s.slashes||i&&t.slashes,C.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!m(C.protocol)))&&(b[3]=[/(.*)/,"pathname"]);w<b.length;w++)"function"!=typeof(u=b[w])?(l=u[0],y=u[1],l!=l?C[y]=e:"string"==typeof l?~(f="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof u[2]?(C[y]=e.slice(0,f),e=e.slice(f+u[2])):(C[y]=e.slice(f),e=e.slice(0,f))):(f=l.exec(e))&&(C[y]=f[1],e=e.slice(0,f.index)),C[y]=C[y]||i&&u[3]&&t[y]||"",u[4]&&(C[y]=C[y].toLowerCase())):e=u(e,C);n&&(C.query=n(C.query)),i&&t.slashes&&"/"!==C.pathname.charAt(0)&&(""!==C.pathname||""!==t.pathname)&&(C.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],i=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(i=!0),n.splice(r,1),a--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(C.pathname,t.pathname)),"/"!==C.pathname.charAt(0)&&m(C.protocol)&&(C.pathname="/"+C.pathname),r(C.port,C.protocol)||(C.host=C.hostname,C.port=""),C.username=C.password="",C.auth&&(~(f=C.auth.indexOf(":"))?(C.username=C.auth.slice(0,f),C.username=encodeURIComponent(decodeURIComponent(C.username)),C.password=C.auth.slice(f+1),C.password=encodeURIComponent(decodeURIComponent(C.password))):C.username=encodeURIComponent(decodeURIComponent(C.auth)),C.auth=C.password?C.username+":"+C.password:C.username),C.origin="file:"!==C.protocol&&m(C.protocol)&&C.host?C.protocol+"//"+C.host:"null",C.href=C.toString()}v.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),i[e]=t;break;case"port":i[e]=t,r(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,l.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;case"username":case"password":i[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(i.username=t.slice(0,s),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=t.slice(s+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(t))}for(var u=0;u<d.length;u++){var c=d[u];c[4]&&(i[c[1]]=i[c[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&m(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.host,i=n.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var a=i+(n.protocol&&n.slashes||m(n.protocol)?"//":"");return n.username?(a+=n.username,n.password&&(a+=":"+n.password),a+="@"):n.password?(a+=":"+n.password,a+="@"):"file:"!==n.protocol&&m(n.protocol)&&!r&&"/"!==n.pathname&&(a+="@"),(":"===r[r.length-1]||l.test(n.hostname)&&!n.port)&&(r+=":"),a+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(a+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(a+=n.hash),a}},v.extractProtocol=g,v.location=h,v.trimLeft=p,v.qs=o,e.exports=v},4927:(e,t,n)=>{var r=n(5108);function o(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(o("noDeprecation"))return e;var n=!1;return function(){if(!n){if(o("throwDeprecation"))throw new Error(t);o("traceDeprecation")?r.trace(t):r.warn(t),n=!0}return e.apply(this,arguments)}}},1496:e=>{"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},384:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9539:(e,t,n)=>{var r=n(4155),o=n(5108),i=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])g(s)||!C(s)?a+=" "+s:a+=" "+l(s);return a},t.deprecate=function(e,i){if(b(n.g.process))return function(){return t.deprecate(e,i).apply(this,arguments)};if(!0===r.noDeprecation)return e;var a=!1;return function(){if(!a){if(r.throwDeprecation)throw new Error(i);r.traceDeprecation?o.trace(i):o.error(i),a=!0}return e.apply(this,arguments)}};var a,s={};function l(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),p(r,e,r.depth)}function u(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function c(e,t){return e}function p(e,n,r){if(e.customInspect&&n&&E(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return y(o)||(o=p(e,o,r)),o}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),x(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(E(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return d(n)}var u,c="",C=!1,_=["{","}"];(h(n)&&(C=!0,_=["[","]"]),E(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return A(n)&&(c=" "+RegExp.prototype.toString.call(n)),w(n)&&(c=" "+Date.prototype.toUTCString.call(n)),x(n)&&(c=" "+d(n)),0!==a.length||C&&0!=n.length?r<0?A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=C?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)T(t,String(a))?i.push(f(e,t,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(e,t,n,r,o,!0))})),i}(e,n,r,s,a):a.map((function(t){return f(e,n,r,s,t,C)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,c,_)):_[0]+c+_[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(l.value)<0?(s=g(n)?p(e,l.value,null):p(e,l.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),b(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function A(e){return C(e)&&"[object RegExp]"===_(e)}function C(e){return"object"==typeof e&&null!==e}function w(e){return C(e)&&"[object Date]"===_(e)}function x(e){return C(e)&&("[object Error]"===_(e)||e instanceof Error)}function E(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(a)&&(a=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);o.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=m,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=A,t.isObject=C,t.isDate=w,t.isError=x,t.isFunction=E,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(384);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=n(1496),t._extend=function(e,t){if(!t||!C(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}},9784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon chevron-left-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},1355:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},1894:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},5098:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},1826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"PauseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon pause-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M14,19H18V5H14M6,19H10V5H6V19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},9516:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const o=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon play-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports},1900:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}n.d(t,{Z:()=>r})},8725:(e,t,n)=>{e.exports=n(7760)},7760:(e,t,n)=>{"use strict";var r=n(5108);const o=Object.freeze({}),i=Array.isArray;function a(e){return null==e}function s(e){return null!=e}function l(e){return!0===e}function u(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function p(e){return null!==e&&"object"==typeof e}const d=Object.prototype.toString;function f(e){return"[object Object]"===d.call(e)}function h(e){const t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function v(e){const t=parseFloat(e);return isNaN(t)?e:t}function y(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>n[e.toLowerCase()]:e=>n[e]}const b=y("key,ref,slot,slot-scope,is");function A(e,t){const n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);const r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}const C=Object.prototype.hasOwnProperty;function w(e,t){return C.call(e,t)}function x(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}const E=/-(\w)/g,_=x((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),k=x((e=>e.charAt(0).toUpperCase()+e.slice(1))),S=/\B([A-Z])/g,D=x((e=>e.replace(S,"-$1").toLowerCase())),T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){const r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function O(e,t){t=t||0;let n=e.length-t;const r=new Array(n);for(;n--;)r[n]=e[n+t];return r}function P(e,t){for(const n in t)e[n]=t[n];return e}function L(e){const t={};for(let n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function F(e,t,n){}const j=(e,t,n)=>!1,B=e=>e;function I(e,t){if(e===t)return!0;const n=p(e),r=p(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{const n=Array.isArray(e),r=Array.isArray(t);if(n&&r)return e.length===t.length&&e.every(((e,n)=>I(e,t[n])));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||r)return!1;{const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>I(e[n],t[n])))}}catch(e){return!1}}function N(e,t){for(let n=0;n<e.length;n++)if(I(e[n],t))return n;return-1}function M(e){let t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function R(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}const z=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"];var $={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:F,parsePlatformTagName:B,mustUseProp:j,async:!0,_lifecycleHooks:U};function H(e){const t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}const V=new RegExp(`[^${/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source}.$_\\d]`),G="__proto__"in{},W="undefined"!=typeof window,Z=W&&window.navigator.userAgent.toLowerCase(),Y=Z&&/msie|trident/.test(Z),X=Z&&Z.indexOf("msie 9.0")>0,K=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");const Q=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);const J=Z&&Z.match(/firefox\/(\d+)/),ee={}.watch;let te,ne=!1;if(W)try{const e={};Object.defineProperty(e,"passive",{get(){ne=!0}}),window.addEventListener("test-passive",null,e)}catch(o){}const re=()=>(void 0===te&&(te=!W&&void 0!==n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),te),oe=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}const ae="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);let se;se="undefined"!=typeof Set&&ie(Set)?Set:class{constructor(){this.set=Object.create(null)}has(e){return!0===this.set[e]}add(e){this.set[e]=!0}clear(){this.set=Object.create(null)}};let le=null;function ue(e=null){e||le&&le._scope.off(),le=e,e&&e._scope.on()}class ce{constructor(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}get child(){return this.componentInstance}}const pe=(e="")=>{const t=new ce;return t.text=e,t.isComment=!0,t};function de(e){return new ce(void 0,void 0,void 0,String(e))}function fe(e){const t=new ce(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}let he=0;const me=[];class ge{constructor(){this._pending=!1,this.id=he++,this.subs=[]}addSub(e){this.subs.push(e)}removeSub(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,me.push(this))}depend(e){ge.target&&ge.target.addDep(this)}notify(e){const t=this.subs.filter((e=>e));for(let e=0,n=t.length;e<n;e++)t[e].update()}}ge.target=null;const ve=[];function ye(e){ve.push(e),ge.target=e}function be(){ve.pop(),ge.target=ve[ve.length-1]}const Ae=Array.prototype,Ce=Object.create(Ae);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){const t=Ae[e];q(Ce,e,(function(...n){const r=t.apply(this,n),o=this.__ob__;let i;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&o.observeArray(i),o.dep.notify(),r}))}));const we=Object.getOwnPropertyNames(Ce),xe={};let Ee=!0;function _e(e){Ee=e}const ke={notify:F,depend:F,addSub:F,removeSub:F};class Se{constructor(e,t=!1,n=!1){if(this.value=e,this.shallow=t,this.mock=n,this.dep=n?ke:new ge,this.vmCount=0,q(e,"__ob__",this),i(e)){if(!n)if(G)e.__proto__=Ce;else for(let t=0,n=we.length;t<n;t++){const n=we[t];q(e,n,Ce[n])}t||this.observeArray(e)}else{const r=Object.keys(e);for(let o=0;o<r.length;o++)Te(e,r[o],xe,void 0,t,n)}}observeArray(e){for(let t=0,n=e.length;t<n;t++)De(e[t],!1,this.mock)}}function De(e,t,n){return e&&w(e,"__ob__")&&e.__ob__ instanceof Se?e.__ob__:!Ee||!n&&re()||!i(e)&&!f(e)||!Object.isExtensible(e)||e.__v_skip||Me(e)||e instanceof ce?void 0:new Se(e,t,n)}function Te(e,t,n,r,o,a){const s=new ge,l=Object.getOwnPropertyDescriptor(e,t);if(l&&!1===l.configurable)return;const u=l&&l.get,c=l&&l.set;u&&!c||n!==xe&&2!==arguments.length||(n=e[t]);let p=!o&&De(n,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){const t=u?u.call(e):n;return ge.target&&(s.depend(),p&&(p.dep.depend(),i(t)&&Le(t))),Me(t)&&!o?t.value:t},set:function(t){const r=u?u.call(e):n;if(R(r,t)){if(c)c.call(e,t);else{if(u)return;if(!o&&Me(r)&&!Me(t))return void(r.value=t);n=t}p=!o&&De(t,!1,a),s.notify()}}}),s}function Oe(e,t,n){if(Ne(e))return;const r=e.__ob__;return i(e)&&h(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&De(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Te(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}function Pe(e,t){if(i(e)&&h(t))return void e.splice(t,1);const n=e.__ob__;e._isVue||n&&n.vmCount||Ne(e)||w(e,t)&&(delete e[t],n&&n.dep.notify())}function Le(e){for(let t,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),i(t)&&Le(t)}function Fe(e){return je(e,!0),q(e,"__v_isShallow",!0),e}function je(e,t){Ne(e)||De(e,t,re())}function Be(e){return Ne(e)?Be(e.__v_raw):!(!e||!e.__ob__)}function Ie(e){return!(!e||!e.__v_isShallow)}function Ne(e){return!(!e||!e.__v_isReadonly)}function Me(e){return!(!e||!0!==e.__v_isRef)}function Re(e,t){if(Me(e))return e;const n={};return q(n,"__v_isRef",!0),q(n,"__v_isShallow",t),q(n,"dep",Te(n,"value",e,null,t,re())),n}function ze(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>{const e=t[n];if(Me(e))return e.value;{const t=e&&e.__ob__;return t&&t.dep.depend(),e}},set:e=>{const r=t[n];Me(r)&&!Me(e)?r.value=e:t[n]=e}})}function Ue(e,t,n){const r=e[t];if(Me(r))return r;const o={get value(){const r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return q(o,"__v_isRef",!0),o}function $e(e){return He(e,!1)}function He(e,t){if(!f(e))return e;if(Ne(e))return e;const n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;const o=Object.create(Object.getPrototypeOf(e));q(e,n,o),q(o,"__v_isReadonly",!0),q(o,"__v_raw",e),Me(e)&&q(o,"__v_isRef",!0),(t||Ie(e))&&q(o,"__v_isShallow",!0);const i=Object.keys(e);for(let n=0;n<i.length;n++)qe(o,e,i[n],t);return o}function qe(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){const e=t[n];return r||!f(e)?e:$e(e)},set(){}})}function Ve(e,t){return We(e,null,{flush:"post"})}const Ge={};function We(e,t,{immediate:n,deep:r,flush:a="pre",onTrack:s,onTrigger:l}=o){const u=le,p=(e,t,n=null)=>Nt(e,null,n,u,t);let d,f,h=!1,m=!1;if(Me(e)?(d=()=>e.value,h=Ie(e)):Be(e)?(d=()=>(e.__ob__.dep.depend(),e),r=!0):i(e)?(m=!0,h=e.some((e=>Be(e)||Ie(e))),d=()=>e.map((e=>Me(e)?e.value:Be(e)?ln(e):c(e)?p(e,"watcher getter"):void 0))):d=c(e)?t?()=>p(e,"watcher getter"):()=>{if(!u||!u._isDestroyed)return f&&f(),p(e,"watcher",[g])}:F,t&&r){const e=d;d=()=>ln(e())}let g=e=>{f=v.onStop=()=>{p(e,"watcher cleanup")}};if(re())return g=F,t?n&&p(t,"watcher callback",[d(),m?[]:void 0,g]):d(),F;const v=new dn(le,d,F,{lazy:!0});v.noRecurse=!t;let y=m?[]:Ge;return v.run=()=>{if(v.active)if(t){const e=v.get();(r||h||(m?e.some(((e,t)=>R(e,y[t]))):R(e,y)))&&(f&&f(),p(t,"watcher callback",[e,y===Ge?void 0:y,g]),y=e)}else v.get()},"sync"===a?v.update=v.run:"post"===a?(v.post=!0,v.update=()=>Fn(v)):v.update=()=>{if(u&&u===le&&!u._isMounted){const e=u._preWatchers||(u._preWatchers=[]);e.indexOf(v)<0&&e.push(v)}else Fn(v)},t?n?v.run():y=v.get():"post"===a&&u?u.$once("hook:mounted",(()=>v.get())):v.get(),()=>{v.teardown()}}let Ze;class Ye{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ze,!e&&Ze&&(this.index=(Ze.scopes||(Ze.scopes=[])).push(this)-1)}run(e){if(this.active){const t=Ze;try{return Ze=this,e()}finally{Ze=t}}}on(){Ze=this}off(){Ze=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}function Xe(e){const t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}const Ke=x((e=>{const t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Qe(e,t){function n(){const e=n.fns;if(!i(e))return Nt(e,null,arguments,t,"v-on handler");{const n=e.slice();for(let e=0;e<n.length;e++)Nt(n[e],null,arguments,t,"v-on handler")}}return n.fns=e,n}function Je(e,t,n,r,o,i){let s,u,c,p;for(s in e)u=e[s],c=t[s],p=Ke(s),a(u)||(a(c)?(a(u.fns)&&(u=e[s]=Qe(u,i)),l(p.once)&&(u=e[s]=o(p.name,u,p.capture)),n(p.name,u,p.capture,p.passive,p.params)):u!==c&&(c.fns=u,e[s]=c));for(s in t)a(e[s])&&(p=Ke(s),r(p.name,t[s],p.capture))}function et(e,t,n){let r;e instanceof ce&&(e=e.data.hook||(e.data.hook={}));const o=e[t];function i(){n.apply(this,arguments),A(r.fns,i)}a(o)?r=Qe([i]):s(o.fns)&&l(o.merged)?(r=o,r.fns.push(i)):r=Qe([o,i]),r.merged=!0,e[t]=r}function tt(e,t,n,r,o){if(s(t)){if(w(t,n))return e[n]=t[n],o||delete t[n],!0;if(w(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function nt(e){return u(e)?[de(e)]:i(e)?ot(e):void 0}function rt(e){return s(e)&&s(e.text)&&!1===e.isComment}function ot(e,t){const n=[];let r,o,c,p;for(r=0;r<e.length;r++)o=e[r],a(o)||"boolean"==typeof o||(c=n.length-1,p=n[c],i(o)?o.length>0&&(o=ot(o,`${t||""}_${r}`),rt(o[0])&&rt(p)&&(n[c]=de(p.text+o[0].text),o.shift()),n.push.apply(n,o)):u(o)?rt(p)?n[c]=de(p.text+o):""!==o&&n.push(de(o)):rt(o)&&rt(p)?n[c]=de(p.text+o.text):(l(e._isVList)&&s(o.tag)&&a(o.key)&&s(t)&&(o.key=`__vlist${t}_${r}__`),n.push(o)));return n}function it(e,t){let n,r,o,a,l=null;if(i(e)||"string"==typeof e)for(l=new Array(e.length),n=0,r=e.length;n<r;n++)l[n]=t(e[n],n);else if("number"==typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(p(e))if(ae&&e[Symbol.iterator]){l=[];const n=e[Symbol.iterator]();let r=n.next();for(;!r.done;)l.push(t(r.value,l.length)),r=n.next()}else for(o=Object.keys(e),l=new Array(o.length),n=0,r=o.length;n<r;n++)a=o[n],l[n]=t(e[a],a,n);return s(l)||(l=[]),l._isVList=!0,l}function at(e,t,n,r){const o=this.$scopedSlots[e];let i;o?(n=n||{},r&&(n=P(P({},r),n)),i=o(n)||(c(t)?t():t)):i=this.$slots[e]||(c(t)?t():t);const a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function st(e){return Kn(this.$options,"filters",e)||B}function lt(e,t){return i(e)?-1===e.indexOf(t):e!==t}function ut(e,t,n,r,o){const i=$.keyCodes[t]||n;return o&&r&&!$.keyCodes[t]?lt(o,r):i?lt(i,e):r?D(r)!==t:void 0===e}function ct(e,t,n,r,o){if(n&&p(n)){let a;i(n)&&(n=L(n));for(const i in n){if("class"===i||"style"===i||b(i))a=e;else{const n=e.attrs&&e.attrs.type;a=r||$.mustUseProp(t,n,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}const s=_(i),l=D(i);s in a||l in a||(a[i]=n[i],!o)||((e.on||(e.on={}))[`update:${i}`]=function(e){n[i]=e})}}return e}function pt(e,t){const n=this._staticTrees||(this._staticTrees=[]);let r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),ft(r,`__static__${e}`,!1)),r}function dt(e,t,n){return ft(e,`__once__${t}${n?`_${n}`:""}`,!0),e}function ft(e,t,n){if(i(e))for(let r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ht(e[r],`${t}_${r}`,n);else ht(e,t,n)}function ht(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function mt(e,t){if(t&&f(t)){const n=e.on=e.on?P({},e.on):{};for(const e in t){const r=n[e],o=t[e];n[e]=r?[].concat(r,o):o}}return e}function gt(e,t,n,r){t=t||{$stable:!n};for(let r=0;r<e.length;r++){const o=e[r];i(o)?gt(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function vt(e,t){for(let n=0;n<t.length;n+=2){const r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function yt(e,t){return"string"==typeof e?t+e:e}function bt(e){e._o=dt,e._n=v,e._s=g,e._l=it,e._t=at,e._q=I,e._i=N,e._m=pt,e._f=st,e._k=ut,e._b=ct,e._v=de,e._e=pe,e._u=gt,e._g=mt,e._d=vt,e._p=yt}function At(e,t){if(!e||!e.length)return{};const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r],i=o.data;if(i&&i.attrs&&i.attrs.slot&&delete i.attrs.slot,o.context!==t&&o.fnContext!==t||!i||null==i.slot)(n.default||(n.default=[])).push(o);else{const e=i.slot,t=n[e]||(n[e]=[]);"template"===o.tag?t.push.apply(t,o.children||[]):t.push(o)}}for(const e in n)n[e].every(Ct)&&delete n[e];return n}function Ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function wt(e){return e.isComment&&e.asyncFactory}function xt(e,t,n,r){let i;const a=Object.keys(n).length>0,s=t?!!t.$stable:!a,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==o&&l===r.$key&&!a&&!r.$hasNormal)return r;i={};for(const r in t)t[r]&&"$"!==r[0]&&(i[r]=Et(e,n,r,t[r]))}else i={};for(const e in n)e in i||(i[e]=_t(n,e));return t&&Object.isExtensible(t)&&(t._normalized=i),q(i,"$stable",s),q(i,"$key",l),q(i,"$hasNormal",a),i}function Et(e,t,n,r){const o=function(){const t=le;ue(e);let n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"==typeof n&&!i(n)?[n]:nt(n);const o=n&&n[0];return ue(t),n&&(!o||1===n.length&&o.isComment&&!wt(o))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function _t(e,t){return()=>e[t]}function kt(e){return{get attrs(){if(!e._attrsProxy){const t=e._attrsProxy={};q(t,"_v_attr_proxy",!0),St(t,e.$attrs,o,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||St(e._listenersProxy={},e.$listeners,o,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||Tt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:T(e.$emit,e),expose(t){t&&Object.keys(t).forEach((n=>ze(e,t,n)))}}}function St(e,t,n,r,o){let i=!1;for(const a in t)a in e?t[a]!==n[a]&&(i=!0):(i=!0,Dt(e,a,r,o));for(const n in e)n in t||(i=!0,delete e[n]);return i}function Dt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[r][t]})}function Tt(e,t){for(const n in t)e[n]=t[n];for(const n in e)n in t||delete e[n]}function Ot(){const e=le;return e._setupContext||(e._setupContext=kt(e))}let Pt=null;function Lt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),p(e)?t.extend(e):e}function Ft(e){if(i(e))for(let t=0;t<e.length;t++){const n=e[t];if(s(n)&&(s(n.componentOptions)||wt(n)))return n}}function jt(e,t,n,r,o,a){return(i(n)||u(n))&&(o=r,r=n,n=void 0),l(a)&&(o=2),function(e,t,n,r,o){if(s(n)&&s(n.__ob__))return pe();if(s(n)&&s(n.is)&&(t=n.is),!t)return pe();let a,l;if(i(r)&&c(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),2===o?r=nt(r):1===o&&(r=function(e){for(let t=0;t<e.length;t++)if(i(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t){let o;l=e.$vnode&&e.$vnode.ns||$.getTagNamespace(t),a=$.isReservedTag(t)?new ce($.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!s(o=Kn(e.$options,"components",t))?new ce(t,n,r,void 0,void 0,e):Un(o,n,e,r,t)}else a=Un(t,n,e,r);return i(a)?a:s(a)?(s(l)&&Bt(a,l),s(n)&&function(e){p(e.style)&&ln(e.style),p(e.class)&&ln(e.class)}(n),a):pe()}(e,t,n,r,o)}function Bt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),s(e.children))for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r];s(o.tag)&&(a(o.ns)||l(n)&&"svg"!==o.tag)&&Bt(o,t,n)}}function It(e,t,n){ye();try{if(t){let r=t;for(;r=r.$parent;){const o=r.$options.errorCaptured;if(o)for(let i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Mt(e,r,"errorCaptured hook")}}}Mt(e,t,n)}finally{be()}}function Nt(e,t,n,r,o){let i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&m(i)&&!i._handled&&(i.catch((e=>It(e,r,o+" (Promise/async)"))),i._handled=!0)}catch(e){It(e,r,o)}return i}function Mt(e,t,n){if($.errorHandler)try{return $.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Rt(t)}Rt(e)}function Rt(e,t,n){if(!W||void 0===r)throw e;r.error(e)}let zt=!1;const Ut=[];let $t,Ht=!1;function qt(){Ht=!1;const e=Ut.slice(0);Ut.length=0;for(let t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ie(Promise)){const e=Promise.resolve();$t=()=>{e.then(qt),Q&&setTimeout(F)},zt=!0}else if(Y||"undefined"==typeof MutationObserver||!ie(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())$t="undefined"!=typeof setImmediate&&ie(setImmediate)?()=>{setImmediate(qt)}:()=>{setTimeout(qt,0)};else{let e=1;const t=new MutationObserver(qt),n=document.createTextNode(String(e));t.observe(n,{characterData:!0}),$t=()=>{e=(e+1)%2,n.data=String(e)},zt=!0}function Vt(e,t){let n;if(Ut.push((()=>{if(e)try{e.call(t)}catch(e){It(e,t,"nextTick")}else n&&n(t)})),Ht||(Ht=!0,$t()),!e&&"undefined"!=typeof Promise)return new Promise((e=>{n=e}))}function Gt(e){return(t,n=le)=>{if(n)return function(e,t,n){const r=e.$options;r[t]=Wn(r[t],n)}(n,e,t)}}const Wt=Gt("beforeMount"),Zt=Gt("mounted"),Yt=Gt("beforeUpdate"),Xt=Gt("updated"),Kt=Gt("beforeDestroy"),Qt=Gt("destroyed"),Jt=Gt("activated"),en=Gt("deactivated"),tn=Gt("serverPrefetch"),nn=Gt("renderTracked"),rn=Gt("renderTriggered"),on=Gt("errorCaptured");var an=Object.freeze({__proto__:null,version:"2.7.14",defineComponent:function(e){return e},ref:function(e){return Re(e,!1)},shallowRef:function(e){return Re(e,!0)},isRef:Me,toRef:Ue,toRefs:function(e){const t=i(e)?new Array(e.length):{};for(const n in e)t[n]=Ue(e,n);return t},unref:function(e){return Me(e)?e.value:e},proxyRefs:function(e){if(Be(e))return e;const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)ze(t,e,n[r]);return t},customRef:function(e){const t=new ge,{get:n,set:r}=e((()=>{t.depend()}),(()=>{t.notify()})),o={get value(){return n()},set value(e){r(e)}};return q(o,"__v_isRef",!0),o},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return je(e,!1),e},isReactive:Be,isReadonly:Ne,isShallow:Ie,isProxy:function(e){return Be(e)||Ne(e)},shallowReactive:Fe,markRaw:function(e){return Object.isExtensible(e)&&q(e,"__v_skip",!0),e},toRaw:function e(t){const n=t&&t.__v_raw;return n?e(n):t},readonly:$e,shallowReadonly:function(e){return He(e,!0)},computed:function(e,t){let n,r;const o=c(e);o?(n=e,r=F):(n=e.get,r=e.set);const i=re()?null:new dn(le,n,F,{lazy:!0}),a={effect:i,get value(){return i?(i.dirty&&i.evaluate(),ge.target&&i.depend(),i.value):n()},set value(e){r(e)}};return q(a,"__v_isRef",!0),q(a,"__v_isReadonly",o),a},watch:function(e,t,n){return We(e,t,n)},watchEffect:function(e,t){return We(e,null,t)},watchPostEffect:Ve,watchSyncEffect:function(e,t){return We(e,null,{flush:"sync"})},EffectScope:Ye,effectScope:function(e){return new Ye(e)},onScopeDispose:function(e){Ze&&Ze.cleanups.push(e)},getCurrentScope:function(){return Ze},provide:function(e,t){le&&(Xe(le)[e]=t)},inject:function(e,t,n=!1){const r=le;if(r){const o=r.$parent&&r.$parent._provided;if(o&&e in o)return o[e];if(arguments.length>1)return n&&c(t)?t.call(r):t}},h:function(e,t,n){return jt(le,e,t,n,2,!0)},getCurrentInstance:function(){return le&&{proxy:le}},useSlots:function(){return Ot().slots},useAttrs:function(){return Ot().attrs},useListeners:function(){return Ot().listeners},mergeDefaults:function(e,t){const n=i(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const r=n[e];r?i(r)||c(r)?n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(n[e]={default:t[e]})}return n},nextTick:Vt,set:Oe,del:Pe,useCssModule:function(e="$style"){if(!le)return o;return le[e]||o},useCssVars:function(e){if(!W)return;const t=le;t&&Ve((()=>{const n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){const e=n.style;for(const t in r)e.setProperty(`--${t}`,r[t])}}))},defineAsyncComponent:function(e){c(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!1,onError:s}=e;let l=null,u=0;const p=()=>{let e;return l||(e=l=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,l=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t))))};return()=>({component:p(),delay:o,timeout:i,error:r,loading:n})},onBeforeMount:Wt,onMounted:Zt,onBeforeUpdate:Yt,onUpdated:Xt,onBeforeUnmount:Kt,onUnmounted:Qt,onActivated:Jt,onDeactivated:en,onServerPrefetch:tn,onRenderTracked:nn,onRenderTriggered:rn,onErrorCaptured:function(e,t=le){on(e,t)}});const sn=new se;function ln(e){return un(e,sn),sn.clear(),e}function un(e,t){let n,r;const o=i(e);if(!(!o&&!p(e)||e.__v_skip||Object.isFrozen(e)||e instanceof ce)){if(e.__ob__){const n=e.__ob__.dep.id;if(t.has(n))return;t.add(n)}if(o)for(n=e.length;n--;)un(e[n],t);else if(Me(e))un(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)un(e[r[n]],t)}}let cn,pn=0;class dn{constructor(e,t,n,r,o){!function(e,t=Ze){t&&t.active&&t.effects.push(e)}(this,Ze&&!Ze._vm?Ze:e?e._scope:void 0),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="",c(t)?this.getter=t:(this.getter=function(e){if(V.test(e))return;const t=e.split(".");return function(e){for(let n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}(t),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()}get(){let e;ye(this);const t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;It(e,t,`getter for watcher "${this.expression}"`)}finally{this.deep&&ln(e),be(),this.cleanupDeps()}return e}addDep(e){const t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}cleanupDeps(){let e=this.deps.length;for(;e--;){const t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}let t=this.depIds;this.depIds=this.newDepIds,this.newDepIds=t,this.newDepIds.clear(),t=this.deps,this.deps=this.newDeps,this.newDeps=t,this.newDeps.length=0}update(){this.lazy?this.dirty=!0:this.sync?this.run():Fn(this)}run(){if(this.active){const e=this.get();if(e!==this.value||p(e)||this.deep){const t=this.value;if(this.value=e,this.user){const n=`callback for watcher "${this.expression}"`;Nt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let e=this.deps.length;for(;e--;)this.deps[e].depend()}teardown(){if(this.vm&&!this.vm._isBeingDestroyed&&A(this.vm._scope.effects,this),this.active){let e=this.deps.length;for(;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}function fn(e,t){cn.$on(e,t)}function hn(e,t){cn.$off(e,t)}function mn(e,t){const n=cn;return function r(){const o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function gn(e,t,n){cn=e,Je(t,n||{},fn,hn,mn,e),cn=void 0}let vn=null;function yn(e){const t=vn;return vn=e,()=>{vn=t}}function bn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function An(e,t){if(t){if(e._directInactive=!1,bn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(let t=0;t<e.$children.length;t++)An(e.$children[t]);wn(e,"activated")}}function Cn(e,t){if(!(t&&(e._directInactive=!0,bn(e))||e._inactive)){e._inactive=!0;for(let t=0;t<e.$children.length;t++)Cn(e.$children[t]);wn(e,"deactivated")}}function wn(e,t,n,r=!0){ye();const o=le;r&&ue(e);const i=e.$options[t],a=`${t} hook`;if(i)for(let t=0,r=i.length;t<r;t++)Nt(i[t],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&ue(o),be()}const xn=[],En=[];let _n={},kn=!1,Sn=!1,Dn=0,Tn=0,On=Date.now;if(W&&!Y){const e=window.performance;e&&"function"==typeof e.now&&On()>document.createEvent("Event").timeStamp&&(On=()=>e.now())}const Pn=(e,t)=>{if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Ln(){let e,t;for(Tn=On(),Sn=!0,xn.sort(Pn),Dn=0;Dn<xn.length;Dn++)e=xn[Dn],e.before&&e.before(),t=e.id,_n[t]=null,e.run();const n=En.slice(),r=xn.slice();Dn=xn.length=En.length=0,_n={},kn=Sn=!1,function(e){for(let t=0;t<e.length;t++)e[t]._inactive=!0,An(e[t],!0)}(n),function(e){let t=e.length;for(;t--;){const n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&wn(r,"updated")}}(r),(()=>{for(let e=0;e<me.length;e++){const t=me[e];t.subs=t.subs.filter((e=>e)),t._pending=!1}me.length=0})(),oe&&$.devtools&&oe.emit("flush")}function Fn(e){const t=e.id;if(null==_n[t]&&(e!==ge.target||!e.noRecurse)){if(_n[t]=!0,Sn){let t=xn.length-1;for(;t>Dn&&xn[t].id>e.id;)t--;xn.splice(t+1,0,e)}else xn.push(e);kn||(kn=!0,Vt(Ln))}}function jn(e,t){if(e){const n=Object.create(null),r=ae?Reflect.ownKeys(e):Object.keys(e);for(let o=0;o<r.length;o++){const i=r[o];if("__ob__"===i)continue;const a=e[i].from;if(a in t._provided)n[i]=t._provided[a];else if("default"in e[i]){const r=e[i].default;n[i]=c(r)?r.call(t):r}}return n}}function Bn(e,t,n,r,a){const s=a.options;let u;w(r,"_uid")?(u=Object.create(r),u._original=r):(u=r,r=r._original);const c=l(s._compiled),p=!c;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||o,this.injections=jn(s.inject,r),this.slots=()=>(this.$slots||xt(r,e.scopedSlots,this.$slots=At(n,r)),this.$slots),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return xt(r,e.scopedSlots,this.slots())}}),c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=xt(r,e.scopedSlots,this.$slots)),s._scopeId?this._c=(e,t,n,o)=>{const a=jt(u,e,t,n,o,p);return a&&!i(a)&&(a.fnScopeId=s._scopeId,a.fnContext=r),a}:this._c=(e,t,n,r)=>jt(u,e,t,n,r,p)}function In(e,t,n,r,o){const i=fe(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Nn(e,t){for(const n in t)e[_(n)]=t[n]}function Mn(e){return e.name||e.__name||e._componentTag}bt(Bn.prototype);const Rn={init(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){const t=e;Rn.prepatch(t,t)}else(e.componentInstance=function(e,t){const n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,vn)).$mount(t?e.elm:void 0,t)},prepatch(e,t){const n=t.componentOptions;!function(e,t,n,r,i){const a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==o&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key);let u=!!(i||e.$options._renderChildren||l);const c=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;const p=r.data.attrs||o;e._attrsProxy&&St(e._attrsProxy,p,c.data&&c.data.attrs||o,e,"$attrs")&&(u=!0),e.$attrs=p,n=n||o;const d=e.$options._parentListeners;if(e._listenersProxy&&St(e._listenersProxy,n,d||o,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,gn(e,n,d),t&&e.$options.props){_e(!1);const n=e._props,r=e.$options._propKeys||[];for(let o=0;o<r.length;o++){const i=r[o],a=e.$options.props;n[i]=Qn(i,a,t,e)}_e(!0),e.$options.propsData=t}u&&(e.$slots=At(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert(e){const{context:t,componentInstance:n}=e;var r;n._isMounted||(n._isMounted=!0,wn(n,"mounted")),e.data.keepAlive&&(t._isMounted?((r=n)._inactive=!1,En.push(r)):An(n,!0))},destroy(e){const{componentInstance:t}=e;t._isDestroyed||(e.data.keepAlive?Cn(t,!0):t.$destroy())}},zn=Object.keys(Rn);function Un(e,t,n,r,u){if(a(e))return;const c=n.$options._base;if(p(e)&&(e=c.extend(e)),"function"!=typeof e)return;let d;if(a(e.cid)&&(d=e,e=function(e,t){if(l(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;const n=Pt;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),l(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){const r=e.owners=[n];let o=!0,i=null,l=null;n.$on("hook:destroyed",(()=>A(r,n)));const u=e=>{for(let e=0,t=r.length;e<t;e++)r[e].$forceUpdate();e&&(r.length=0,null!==i&&(clearTimeout(i),i=null),null!==l&&(clearTimeout(l),l=null))},c=M((n=>{e.resolved=Lt(n,t),o?r.length=0:u(!0)})),d=M((t=>{s(e.errorComp)&&(e.error=!0,u(!0))})),f=e(c,d);return p(f)&&(m(f)?a(e.resolved)&&f.then(c,d):m(f.component)&&(f.component.then(c,d),s(f.error)&&(e.errorComp=Lt(f.error,t)),s(f.loading)&&(e.loadingComp=Lt(f.loading,t),0===f.delay?e.loading=!0:i=setTimeout((()=>{i=null,a(e.resolved)&&a(e.error)&&(e.loading=!0,u(!1))}),f.delay||200)),s(f.timeout)&&(l=setTimeout((()=>{l=null,a(e.resolved)&&d(null)}),f.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(d,c),void 0===e))return function(e,t,n,r,o){const i=pe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(d,t,n,r,u);t=t||{},dr(e),s(t.model)&&function(e,t){const n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;const o=t.on||(t.on={}),a=o[r],l=t.model.callback;s(a)?(i(a)?-1===a.indexOf(l):a!==l)&&(o[r]=[l].concat(a)):o[r]=l}(e.options,t);const f=function(e,t,n){const r=t.options.props;if(a(r))return;const o={},{attrs:i,props:l}=e;if(s(i)||s(l))for(const e in r){const t=D(e);tt(o,l,e,t,!0)||tt(o,i,e,t,!1)}return o}(t,e);if(l(e.options.functional))return function(e,t,n,r,a){const l=e.options,u={},c=l.props;if(s(c))for(const e in c)u[e]=Qn(e,c,t||o);else s(n.attrs)&&Nn(u,n.attrs),s(n.props)&&Nn(u,n.props);const p=new Bn(n,u,a,r,e),d=l.render.call(null,p._c,p);if(d instanceof ce)return In(d,n,p.parent,l);if(i(d)){const e=nt(d)||[],t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=In(e[r],n,p.parent,l);return t}}(e,f,t,n,r);const h=t.on;if(t.on=t.nativeOn,l(e.options.abstract)){const e=t.slot;t={},e&&(t.slot=e)}!function(e){const t=e.hook||(e.hook={});for(let e=0;e<zn.length;e++){const n=zn[e],r=t[n],o=Rn[n];r===o||r&&r._merged||(t[n]=r?$n(o,r):o)}}(t);const g=Mn(e.options)||u;return new ce(`vue-component-${e.cid}${g?`-${g}`:""}`,t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:h,tag:u,children:r},d)}function $n(e,t){const n=(n,r)=>{e(n,r),t(n,r)};return n._merged=!0,n}let Hn=F;const qn=$.optionMergeStrategies;function Vn(e,t,n=!0){if(!t)return e;let r,o,i;const a=ae?Reflect.ownKeys(t):Object.keys(t);for(let s=0;s<a.length;s++)r=a[s],"__ob__"!==r&&(o=e[r],i=t[r],n&&w(e,r)?o!==i&&f(o)&&f(i)&&Vn(o,i):Oe(e,r,i));return e}function Gn(e,t,n){return n?function(){const r=c(t)?t.call(n,n):t,o=c(e)?e.call(n,n):e;return r?Vn(r,o):o}:t?e?function(){return Vn(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function Wn(e,t){const n=t?e?e.concat(t):i(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Zn(e,t,n,r){const o=Object.create(e||null);return t?P(o,t):o}qn.data=function(e,t,n){return n?Gn(e,t,n):t&&"function"!=typeof t?e:Gn(e,t)},U.forEach((e=>{qn[e]=Wn})),z.forEach((function(e){qn[e+"s"]=Zn})),qn.watch=function(e,t,n,r){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;const o={};P(o,e);for(const e in t){let n=o[e];const r=t[e];n&&!i(n)&&(n=[n]),o[e]=n?n.concat(r):i(r)?r:[r]}return o},qn.props=qn.methods=qn.inject=qn.computed=function(e,t,n,r){if(!e)return t;const o=Object.create(null);return P(o,e),t&&P(o,t),o},qn.provide=function(e,t){return e?function(){const n=Object.create(null);return Vn(n,c(e)?e.call(this):e),t&&Vn(n,c(t)?t.call(this):t,!1),n}:t};const Yn=function(e,t){return void 0===t?e:t};function Xn(e,t,n){if(c(t)&&(t=t.options),function(e,t){const n=e.props;if(!n)return;const r={};let o,a,s;if(i(n))for(o=n.length;o--;)a=n[o],"string"==typeof a&&(s=_(a),r[s]={type:null});else if(f(n))for(const e in n)a=n[e],s=_(e),r[s]=f(a)?a:{type:a};e.props=r}(t),function(e,t){const n=e.inject;if(!n)return;const r=e.inject={};if(i(n))for(let e=0;e<n.length;e++)r[n[e]]={from:n[e]};else if(f(n))for(const e in n){const t=n[e];r[e]=f(t)?P({from:e},t):{from:t}}}(t),function(e){const t=e.directives;if(t)for(const e in t){const n=t[e];c(n)&&(t[e]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=Xn(e,t.extends,n)),t.mixins))for(let r=0,o=t.mixins.length;r<o;r++)e=Xn(e,t.mixins[r],n);const r={};let o;for(o in e)a(o);for(o in t)w(e,o)||a(o);function a(o){const i=qn[o]||Yn;r[o]=i(e[o],t[o],n,o)}return r}function Kn(e,t,n,r){if("string"!=typeof n)return;const o=e[t];if(w(o,n))return o[n];const i=_(n);if(w(o,i))return o[i];const a=k(i);return w(o,a)?o[a]:o[n]||o[i]||o[a]}function Qn(e,t,n,r){const o=t[e],i=!w(n,e);let a=n[e];const s=nr(Boolean,o.type);if(s>-1)if(i&&!w(o,"default"))a=!1;else if(""===a||a===D(e)){const e=nr(String,o.type);(e<0||s<e)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!w(t,"default"))return;const r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(r)&&"Function"!==er(t.type)?r.call(e):r}(r,o,e);const t=Ee;_e(!0),De(a),_e(t)}return a}const Jn=/^\s*function (\w+)/;function er(e){const t=e&&e.toString().match(Jn);return t?t[1]:""}function tr(e,t){return er(e)===er(t)}function nr(e,t){if(!i(t))return tr(t,e)?0:-1;for(let n=0,r=t.length;n<r;n++)if(tr(t[n],e))return n;return-1}const rr={enumerable:!0,configurable:!0,get:F,set:F};function or(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function ir(e){const t=e.$options;if(t.props&&function(e,t){const n=e.$options.propsData||{},r=e._props=Fe({}),o=e.$options._propKeys=[];e.$parent&&_e(!1);for(const i in t)o.push(i),Te(r,i,Qn(i,t,n,e)),i in e||or(e,"_props",i);_e(!0)}(e,t.props),function(e){const t=e.$options,n=t.setup;if(n){const r=e._setupContext=kt(e);ue(e),ye();const o=Nt(n,null,[e._props||Fe({}),r],e,"setup");if(be(),ue(),c(o))t.render=o;else if(p(o))if(e._setupState=o,o.__sfc){const t=e._setupProxy={};for(const e in o)"__sfc"!==e&&ze(t,o,e)}else for(const t in o)H(t)||ze(e,o,t)}}(e),t.methods&&function(e,t){e.$options.props;for(const n in t)e[n]="function"!=typeof t[n]?F:T(t[n],e)}(e,t.methods),t.data)!function(e){let t=e.$options.data;t=e._data=c(t)?function(e,t){ye();try{return e.call(t,t)}catch(e){return It(e,t,"data()"),{}}finally{be()}}(t,e):t||{},f(t)||(t={});const n=Object.keys(t),r=e.$options.props;e.$options.methods;let o=n.length;for(;o--;){const t=n[o];r&&w(r,t)||H(t)||or(e,"_data",t)}const i=De(t);i&&i.vmCount++}(e);else{const t=De(e._data={});t&&t.vmCount++}t.computed&&function(e,t){const n=e._computedWatchers=Object.create(null),r=re();for(const o in t){const i=t[o],a=c(i)?i:i.get;r||(n[o]=new dn(e,a||F,F,ar)),o in e||sr(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(const n in t){const r=t[n];if(i(r))for(let t=0;t<r.length;t++)cr(e,n,r[t]);else cr(e,n,r)}}(e,t.watch)}const ar={lazy:!0};function sr(e,t,n){const r=!re();c(n)?(rr.get=r?lr(t):ur(n),rr.set=F):(rr.get=n.get?r&&!1!==n.cache?lr(t):ur(n.get):F,rr.set=n.set||F),Object.defineProperty(e,t,rr)}function lr(e){return function(){const t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ge.target&&t.depend(),t.value}}function ur(e){return function(){return e.call(this,this)}}function cr(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}let pr=0;function dr(e){let t=e.options;if(e.super){const n=dr(e.super);if(n!==e.superOptions){e.superOptions=n;const r=function(e){let t;const n=e.options,r=e.sealedOptions;for(const e in n)n[e]!==r[e]&&(t||(t={}),t[e]=n[e]);return t}(e);r&&P(e.extendOptions,r),t=e.options=Xn(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function fr(e){this._init(e)}function hr(e){return e&&(Mn(e.Ctor.options)||e.tag)}function mr(e,t){return i(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===d.call(n)&&e.test(t));var n}function gr(e,t){const{cache:n,keys:r,_vnode:o}=e;for(const e in n){const i=n[e];if(i){const a=i.name;a&&!t(a)&&vr(n,e,r,o)}}}function vr(e,t,n,r){const o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,A(n,t)}!function(e){e.prototype._init=function(e){const t=this;t._uid=pr++,t._isVue=!0,t.__v_skip=!0,t._scope=new Ye(!0),t._scope._vm=!0,e&&e._isComponent?function(e,t){const n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;const o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Xn(dr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){const t=e.$options;let n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;const t=e.$options._parentListeners;t&&gn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;const t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=At(t._renderChildren,r),e.$scopedSlots=n?xt(e.$parent,n.data.scopedSlots,e.$slots):o,e._c=(t,n,r,o)=>jt(e,t,n,r,o,!1),e.$createElement=(t,n,r,o)=>jt(e,t,n,r,o,!0);const i=n&&n.data;Te(e,"$attrs",i&&i.attrs||o,null,!0),Te(e,"$listeners",t._parentListeners||o,null,!0)}(t),wn(t,"beforeCreate",void 0,!1),function(e){const t=jn(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((n=>{Te(e,n,t[n])})),_e(!0))}(t),ir(t),function(e){const t=e.$options.provide;if(t){const n=c(t)?t.call(e):t;if(!p(n))return;const r=Xe(e),o=ae?Reflect.ownKeys(n):Object.keys(n);for(let e=0;e<o.length;e++){const t=o[e];Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}}}(t),wn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(fr),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Oe,e.prototype.$delete=Pe,e.prototype.$watch=function(e,t,n){const r=this;if(f(t))return cr(r,e,t,n);(n=n||{}).user=!0;const o=new dn(r,e,t,n);if(n.immediate){const e=`callback for immediate watcher "${o.expression}"`;ye(),Nt(t,r,[o.value],r,e),be()}return function(){o.teardown()}}}(fr),function(e){const t=/^hook:/;e.prototype.$on=function(e,n){const r=this;if(i(e))for(let t=0,o=e.length;t<o;t++)r.$on(e[t],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){const n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){const n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(e)){for(let r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}const r=n._events[e];if(!r)return n;if(!t)return n._events[e]=null,n;let o,a=r.length;for(;a--;)if(o=r[a],o===t||o.fn===t){r.splice(a,1);break}return n},e.prototype.$emit=function(e){const t=this;let n=t._events[e];if(n){n=n.length>1?O(n):n;const r=O(arguments,1),o=`event handler for "${e}"`;for(let e=0,i=n.length;e<i;e++)Nt(n[e],t,r,t,o)}return t}}(fr),function(e){e.prototype._update=function(e,t){const n=this,r=n.$el,o=n._vnode,i=yn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);let a=n;for(;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){const e=this;if(e._isBeingDestroyed)return;wn(e,"beforeDestroy"),e._isBeingDestroyed=!0;const t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||A(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),wn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}(fr),function(e){bt(e.prototype),e.prototype.$nextTick=function(e){return Vt(e,this)},e.prototype._render=function(){const e=this,{render:t,_parentVnode:n}=e.$options;let r;n&&e._isMounted&&(e.$scopedSlots=xt(e.$parent,n.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Tt(e._slotsProxy,e.$scopedSlots)),e.$vnode=n;try{ue(e),Pt=e,r=t.call(e._renderProxy,e.$createElement)}catch(t){It(t,e,"render"),r=e._vnode}finally{Pt=null,ue()}return i(r)&&1===r.length&&(r=r[0]),r instanceof ce||(r=pe()),r.parent=n,r}}(fr);const yr=[String,RegExp,Array];var br={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:yr,exclude:yr,max:[String,Number]},methods:{cacheVNode(){const{cache:e,keys:t,vnodeToCache:n,keyToCache:r}=this;if(n){const{tag:o,componentInstance:i,componentOptions:a}=n;e[r]={name:hr(a),tag:o,componentInstance:i},t.push(r),this.max&&t.length>parseInt(this.max)&&vr(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created(){this.cache=Object.create(null),this.keys=[]},destroyed(){for(const e in this.cache)vr(this.cache,e,this.keys)},mounted(){this.cacheVNode(),this.$watch("include",(e=>{gr(this,(t=>mr(e,t)))})),this.$watch("exclude",(e=>{gr(this,(t=>!mr(e,t)))}))},updated(){this.cacheVNode()},render(){const e=this.$slots.default,t=Ft(e),n=t&&t.componentOptions;if(n){const e=hr(n),{include:r,exclude:o}=this;if(r&&(!e||!mr(r,e))||o&&e&&mr(o,e))return t;const{cache:i,keys:a}=this,s=null==t.key?n.Ctor.cid+(n.tag?`::${n.tag}`:""):t.key;i[s]?(t.componentInstance=i[s].componentInstance,A(a,s),a.push(s)):(this.vnodeToCache=t,this.keyToCache=s),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){const t={get:()=>$};Object.defineProperty(e,"config",t),e.util={warn:Hn,extend:P,mergeOptions:Xn,defineReactive:Te},e.set=Oe,e.delete=Pe,e.nextTick=Vt,e.observable=e=>(De(e),e),e.options=Object.create(null),z.forEach((t=>{e.options[t+"s"]=Object.create(null)})),e.options._base=e,P(e.options.components,br),function(e){e.use=function(e){const t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;const n=O(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Xn(this.options,e),this}}(e),function(e){e.cid=0;let t=1;e.extend=function(e){e=e||{};const n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];const i=Mn(e)||Mn(n.options),a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Xn(n.options,e),a.super=n,a.options.props&&function(e){const t=e.options.props;for(const n in t)or(e.prototype,"_props",n)}(a),a.options.computed&&function(e){const t=e.options.computed;for(const n in t)sr(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),o[r]=a,a}}(e),function(e){z.forEach((t=>{e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(fr),Object.defineProperty(fr.prototype,"$isServer",{get:re}),Object.defineProperty(fr.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(fr,"FunctionalRenderContext",{value:Bn}),fr.version="2.7.14";const Ar=y("style,class"),Cr=y("input,textarea,option,select,progress"),wr=y("contenteditable,draggable,spellcheck"),xr=y("events,caret,typing,plaintext-only"),Er=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),_r="http://www.w3.org/1999/xlink",kr=e=>":"===e.charAt(5)&&"xlink"===e.slice(0,5),Sr=e=>kr(e)?e.slice(6,e.length):"",Dr=e=>null==e||!1===e;function Tr(e,t){return{staticClass:Or(e.staticClass,t.staticClass),class:s(e.class)?[e.class,t.class]:t.class}}function Or(e,t){return e?t?e+" "+t:e:t||""}function Pr(e){return Array.isArray(e)?function(e){let t,n="";for(let r=0,o=e.length;r<o;r++)s(t=Pr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):p(e)?function(e){let t="";for(const n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}const Lr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Fr=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),jr=y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Br=e=>Fr(e)||jr(e),Ir=Object.create(null),Nr=y("text,number,password,search,email,tel,url");var Mr=Object.freeze({__proto__:null,createElement:function(e,t){const n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Lr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Rr={create(e,t){zr(t)},update(e,t){e.data.ref!==t.data.ref&&(zr(e,!0),zr(t))},destroy(e){zr(e,!0)}};function zr(e,t){const n=e.data.ref;if(!s(n))return;const r=e.context,o=e.componentInstance||e.elm,a=t?null:o,l=t?void 0:o;if(c(n))return void Nt(n,r,[a],r,"template ref function");const u=e.data.refInFor,p="string"==typeof n||"number"==typeof n,d=Me(n),f=r.$refs;if(p||d)if(u){const e=p?f[n]:n.value;t?i(e)&&A(e,o):i(e)?e.includes(o)||e.push(o):p?(f[n]=[o],Ur(r,n,f[n])):n.value=[o]}else if(p){if(t&&f[n]!==o)return;f[n]=l,Ur(r,n,a)}else if(d){if(t&&n.value!==o)return;n.value=a}}function Ur({_setupState:e},t,n){e&&w(e,t)&&(Me(e[t])?e[t].value=n:e[t]=n)}const $r=new ce("",{},[]),Hr=["create","activate","update","remove","destroy"];function qr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;let n;const r=s(n=e.data)&&s(n=n.attrs)&&n.type,o=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===o||Nr(r)&&Nr(o)}(e,t)||l(e.isAsyncPlaceholder)&&a(t.asyncFactory.error))}function Vr(e,t,n){let r,o;const i={};for(r=t;r<=n;++r)o=e[r].key,s(o)&&(i[o]=r);return i}var Gr={create:Wr,update:Wr,destroy:function(e){Wr(e,$r)}};function Wr(e,t){(e.data.directives||t.data.directives)&&function(e,t){const n=e===$r,r=t===$r,o=Yr(e.data.directives,e.context),i=Yr(t.data.directives,t.context),a=[],s=[];let l,u,c;for(l in i)u=o[l],c=i[l],u?(c.oldValue=u.value,c.oldArg=u.arg,Kr(c,"update",t,e),c.def&&c.def.componentUpdated&&s.push(c)):(Kr(c,"bind",t,e),c.def&&c.def.inserted&&a.push(c));if(a.length){const r=()=>{for(let n=0;n<a.length;n++)Kr(a[n],"inserted",t,e)};n?et(t,"insert",r):r()}if(s.length&&et(t,"postpatch",(()=>{for(let n=0;n<s.length;n++)Kr(s[n],"componentUpdated",t,e)})),!n)for(l in o)i[l]||Kr(o[l],"unbind",e,e,r)}(e,t)}const Zr=Object.create(null);function Yr(e,t){const n=Object.create(null);if(!e)return n;let r,o;for(r=0;r<e.length;r++){if(o=e[r],o.modifiers||(o.modifiers=Zr),n[Xr(o)]=o,t._setupState&&t._setupState.__sfc){const e=o.def||Kn(t,"_setupState","v-"+o.name);o.def="function"==typeof e?{bind:e,update:e}:e}o.def=o.def||Kn(t.$options,"directives",o.name)}return n}function Xr(e){return e.rawName||`${e.name}.${Object.keys(e.modifiers||{}).join(".")}`}function Kr(e,t,n,r,o){const i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){It(r,n.context,`directive ${e.name} ${t} hook`)}}var Qr=[Rr,Gr];function Jr(e,t){const n=t.componentOptions;if(s(n)&&!1===n.Ctor.options.inheritAttrs)return;if(a(e.data.attrs)&&a(t.data.attrs))return;let r,o,i;const u=t.elm,c=e.data.attrs||{};let p=t.data.attrs||{};for(r in(s(p.__ob__)||l(p._v_attr_proxy))&&(p=t.data.attrs=P({},p)),p)o=p[r],i=c[r],i!==o&&eo(u,r,o,t.data.pre);for(r in(Y||K)&&p.value!==c.value&&eo(u,"value",p.value),c)a(p[r])&&(kr(r)?u.removeAttributeNS(_r,Sr(r)):wr(r)||u.removeAttribute(r))}function eo(e,t,n,r){r||e.tagName.indexOf("-")>-1?to(e,t,n):Er(t)?Dr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):wr(t)?e.setAttribute(t,((e,t)=>Dr(t)||"false"===t?"false":"contenteditable"===e&&xr(t)?t:"true")(t,n)):kr(t)?Dr(n)?e.removeAttributeNS(_r,Sr(t)):e.setAttributeNS(_r,t,n):to(e,t,n)}function to(e,t,n){if(Dr(n))e.removeAttribute(t);else{if(Y&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){const t=n=>{n.stopImmediatePropagation(),e.removeEventListener("input",t)};e.addEventListener("input",t),e.__ieph=!0}e.setAttribute(t,n)}}var no={create:Jr,update:Jr};function ro(e,t){const n=t.elm,r=t.data,o=e.data;if(a(r.staticClass)&&a(r.class)&&(a(o)||a(o.staticClass)&&a(o.class)))return;let i=function(e){let t=e.data,n=e,r=e;for(;s(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Tr(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=Tr(t,n.data));return function(e,t){return s(e)||s(t)?Or(e,Pr(t)):""}(t.staticClass,t.class)}(t);const l=n._transitionClasses;s(l)&&(i=Or(i,Pr(l))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}var oo={create:ro,update:ro};let io;function ao(e,t,n){const r=io;return function o(){const i=t.apply(null,arguments);null!==i&&uo(e,o,n,r)}}const so=zt&&!(J&&Number(J[1])<=53);function lo(e,t,n,r){if(so){const e=Tn,n=t;t=n._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=e||t.timeStamp<=0||t.target.ownerDocument!==document)return n.apply(this,arguments)}}io.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function uo(e,t,n,r){(r||io).removeEventListener(e,t._wrapper||t,n)}function co(e,t){if(a(e.data.on)&&a(t.data.on))return;const n=t.data.on||{},r=e.data.on||{};io=t.elm||e.elm,function(e){if(s(e.__r)){const t=Y?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}s(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Je(n,r,lo,uo,ao,t.context),io=void 0}var po={create:co,update:co,destroy:e=>co(e,$r)};let fo;function ho(e,t){if(a(e.data.domProps)&&a(t.data.domProps))return;let n,r;const o=t.elm,i=e.data.domProps||{};let u=t.data.domProps||{};for(n in(s(u.__ob__)||l(u._v_attr_proxy))&&(u=t.data.domProps=P({},u)),i)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;const e=a(r)?"":String(r);mo(o,e)&&(o.value=e)}else if("innerHTML"===n&&jr(o.tagName)&&a(o.innerHTML)){fo=fo||document.createElement("div"),fo.innerHTML=`<svg>${r}</svg>`;const e=fo.firstChild;for(;o.firstChild;)o.removeChild(o.firstChild);for(;e.firstChild;)o.appendChild(e.firstChild)}else if(r!==i[n])try{o[n]=r}catch(e){}}}function mo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){let n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){const n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var go={create:ho,update:ho};const vo=x((function(e){const t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){const r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function yo(e){const t=bo(e.style);return e.staticStyle?P(e.staticStyle,t):t}function bo(e){return Array.isArray(e)?L(e):"string"==typeof e?vo(e):e}const Ao=/^--/,Co=/\s*!important$/,wo=(e,t,n)=>{if(Ao.test(t))e.style.setProperty(t,n);else if(Co.test(n))e.style.setProperty(D(t),n.replace(Co,""),"important");else{const r=_o(t);if(Array.isArray(n))for(let t=0,o=n.length;t<o;t++)e.style[r]=n[t];else e.style[r]=n}},xo=["Webkit","Moz","ms"];let Eo;const _o=x((function(e){if(Eo=Eo||document.createElement("div").style,"filter"!==(e=_(e))&&e in Eo)return e;const t=e.charAt(0).toUpperCase()+e.slice(1);for(let e=0;e<xo.length;e++){const n=xo[e]+t;if(n in Eo)return n}}));function ko(e,t){const n=t.data,r=e.data;if(a(n.staticStyle)&&a(n.style)&&a(r.staticStyle)&&a(r.style))return;let o,i;const l=t.elm,u=r.staticStyle,c=r.normalizedStyle||r.style||{},p=u||c,d=bo(t.data.style)||{};t.data.normalizedStyle=s(d.__ob__)?P({},d):d;const f=function(e,t){const n={};let r;{let t=e;for(;t.componentInstance;)t=t.componentInstance._vnode,t&&t.data&&(r=yo(t.data))&&P(n,r)}(r=yo(e.data))&&P(n,r);let o=e;for(;o=o.parent;)o.data&&(r=yo(o.data))&&P(n,r);return n}(t);for(i in p)a(f[i])&&wo(l,i,"");for(i in f)o=f[i],o!==p[i]&&wo(l,i,null==o?"":o)}var So={create:ko,update:ko};const Do=/\s+/;function To(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Do).forEach((t=>e.classList.add(t))):e.classList.add(t);else{const n=` ${e.getAttribute("class")||""} `;n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Oo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Do).forEach((t=>e.classList.remove(t))):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{let n=` ${e.getAttribute("class")||""} `;const r=" "+t+" ";for(;n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Po(e){if(e){if("object"==typeof e){const t={};return!1!==e.css&&P(t,Lo(e.name||"v")),P(t,e),t}return"string"==typeof e?Lo(e):void 0}}const Lo=x((e=>({enterClass:`${e}-enter`,enterToClass:`${e}-enter-to`,enterActiveClass:`${e}-enter-active`,leaveClass:`${e}-leave`,leaveToClass:`${e}-leave-to`,leaveActiveClass:`${e}-leave-active`}))),Fo=W&&!X;let jo="transition",Bo="transitionend",Io="animation",No="animationend";Fo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(jo="WebkitTransition",Bo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Io="WebkitAnimation",No="webkitAnimationEnd"));const Mo=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:e=>e();function Ro(e){Mo((()=>{Mo(e)}))}function zo(e,t){const n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),To(e,t))}function Uo(e,t){e._transitionClasses&&A(e._transitionClasses,t),Oo(e,t)}function $o(e,t,n){const{type:r,timeout:o,propCount:i}=qo(e,t);if(!r)return n();const a="transition"===r?Bo:No;let s=0;const l=()=>{e.removeEventListener(a,u),n()},u=t=>{t.target===e&&++s>=i&&l()};setTimeout((()=>{s<i&&l()}),o+1),e.addEventListener(a,u)}const Ho=/\b(transform|all)(,|$)/;function qo(e,t){const n=window.getComputedStyle(e),r=(n[jo+"Delay"]||"").split(", "),o=(n[jo+"Duration"]||"").split(", "),i=Vo(r,o),a=(n[Io+"Delay"]||"").split(", "),s=(n[Io+"Duration"]||"").split(", "),l=Vo(a,s);let u,c=0,p=0;return"transition"===t?i>0&&(u="transition",c=i,p=o.length):"animation"===t?l>0&&(u="animation",c=l,p=s.length):(c=Math.max(i,l),u=c>0?i>l?"transition":"animation":null,p=u?"transition"===u?o.length:s.length:0),{type:u,timeout:c,propCount:p,hasTransform:"transition"===u&&Ho.test(n[jo+"Property"])}}function Vo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(((t,n)=>Go(t)+Go(e[n]))))}function Go(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Wo(e,t){const n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());const r=Po(e.data.transition);if(a(r))return;if(s(n._enterCb)||1!==n.nodeType)return;const{css:o,type:i,enterClass:l,enterToClass:u,enterActiveClass:d,appearClass:f,appearToClass:h,appearActiveClass:m,beforeEnter:g,enter:y,afterEnter:b,enterCancelled:A,beforeAppear:C,appear:w,afterAppear:x,appearCancelled:E,duration:_}=r;let k=vn,S=vn.$vnode;for(;S&&S.parent;)k=S.context,S=S.parent;const D=!k._isMounted||!e.isRootInsert;if(D&&!w&&""!==w)return;const T=D&&f?f:l,O=D&&m?m:d,P=D&&h?h:u,L=D&&C||g,F=D&&c(w)?w:y,j=D&&x||b,B=D&&E||A,I=v(p(_)?_.enter:_),N=!1!==o&&!X,R=Xo(F),z=n._enterCb=M((()=>{N&&(Uo(n,P),Uo(n,O)),z.cancelled?(N&&Uo(n,T),B&&B(n)):j&&j(n),n._enterCb=null}));e.data.show||et(e,"insert",(()=>{const t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),F&&F(n,z)})),L&&L(n),N&&(zo(n,T),zo(n,O),Ro((()=>{Uo(n,T),z.cancelled||(zo(n,P),R||(Yo(I)?setTimeout(z,I):$o(n,i,z)))}))),e.data.show&&(t&&t(),F&&F(n,z)),N||R||z()}function Zo(e,t){const n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());const r=Po(e.data.transition);if(a(r)||1!==n.nodeType)return t();if(s(n._leaveCb))return;const{css:o,type:i,leaveClass:l,leaveToClass:u,leaveActiveClass:c,beforeLeave:d,leave:f,afterLeave:h,leaveCancelled:m,delayLeave:g,duration:y}=r,b=!1!==o&&!X,A=Xo(f),C=v(p(y)?y.leave:y),w=n._leaveCb=M((()=>{n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Uo(n,u),Uo(n,c)),w.cancelled?(b&&Uo(n,l),m&&m(n)):(t(),h&&h(n)),n._leaveCb=null}));function x(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(zo(n,l),zo(n,c),Ro((()=>{Uo(n,l),w.cancelled||(zo(n,u),A||(Yo(C)?setTimeout(w,C):$o(n,i,w)))}))),f&&f(n,w),b||A||w())}g?g(x):x()}function Yo(e){return"number"==typeof e&&!isNaN(e)}function Xo(e){if(a(e))return!1;const t=e.fns;return s(t)?Xo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ko(e,t){!0!==t.data.show&&Wo(t)}const Qo=function(e){let t,n;const r={},{modules:o,nodeOps:c}=e;for(t=0;t<Hr.length;++t)for(r[Hr[t]]=[],n=0;n<o.length;++n)s(o[n][Hr[t]])&&r[Hr[t]].push(o[n][Hr[t]]);function p(e){const t=c.parentNode(e);s(t)&&c.removeChild(t,e)}function d(e,t,n,o,i,a,u){if(s(e.elm)&&s(a)&&(e=a[u]=fe(e)),e.isRootInsert=!i,function(e,t,n,o){let i=e.data;if(s(i)){const a=s(e.componentInstance)&&i.keepAlive;if(s(i=i.hook)&&s(i=i.init)&&i(e,!1),s(e.componentInstance))return f(e,t),h(n,e.elm,o),l(a)&&function(e,t,n,o){let i,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,s(i=a.data)&&s(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i]($r,a);t.push(a);break}h(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o))return;const p=e.data,d=e.children,g=e.tag;s(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),b(e),m(e,d,t),s(p)&&v(e,t),h(n,e.elm,o)):l(e.isComment)?(e.elm=c.createComment(e.text),h(n,e.elm,o)):(e.elm=c.createTextNode(e.text),h(n,e.elm,o))}function f(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),b(e)):(zr(e),t.push(e))}function h(e,t,n){s(e)&&(s(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(i(t))for(let r=0;r<t.length;++r)d(t[r],n,e.elm,null,!0,t,r);else u(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function v(e,n){for(let t=0;t<r.create.length;++t)r.create[t]($r,e);t=e.data.hook,s(t)&&(s(t.create)&&t.create($r,e),s(t.insert)&&n.push(e))}function b(e){let t;if(s(t=e.fnScopeId))c.setStyleScope(e.elm,t);else{let n=e;for(;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent}s(t=vn)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function A(e,t,n,r,o,i){for(;r<=o;++r)d(n[r],i,e,t,!1,n,r)}function C(e){let t,n;const o=e.data;if(s(o))for(s(t=o.hook)&&s(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)C(e.children[n])}function w(e,t,n){for(;t<=n;++t){const n=e[t];s(n)&&(s(n.tag)?(x(n),C(n)):p(n.elm))}}function x(e,t){if(s(t)||s(e.data)){let n;const o=r.remove.length+1;for(s(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&p(e)}return n.listeners=t,n}(e.elm,o),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&x(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else p(e.elm)}function E(e,t,n,r){for(let o=n;o<r;o++){const n=t[o];if(s(n)&&qr(e,n))return o}}function _(e,t,n,o,i,u){if(e===t)return;s(t.elm)&&s(o)&&(t=o[i]=fe(t));const p=t.elm=e.elm;if(l(e.isAsyncPlaceholder))return void(s(t.asyncFactory.resolved)?D(e.elm,t,n):t.isAsyncPlaceholder=!0);if(l(t.isStatic)&&l(e.isStatic)&&t.key===e.key&&(l(t.isCloned)||l(t.isOnce)))return void(t.componentInstance=e.componentInstance);let f;const h=t.data;s(h)&&s(f=h.hook)&&s(f=f.prepatch)&&f(e,t);const m=e.children,v=t.children;if(s(h)&&g(t)){for(f=0;f<r.update.length;++f)r.update[f](e,t);s(f=h.hook)&&s(f=f.update)&&f(e,t)}a(t.text)?s(m)&&s(v)?m!==v&&function(e,t,n,r,o){let i,l,u,p,f=0,h=0,m=t.length-1,g=t[0],v=t[m],y=n.length-1,b=n[0],C=n[y];const x=!o;for(;f<=m&&h<=y;)a(g)?g=t[++f]:a(v)?v=t[--m]:qr(g,b)?(_(g,b,r,n,h),g=t[++f],b=n[++h]):qr(v,C)?(_(v,C,r,n,y),v=t[--m],C=n[--y]):qr(g,C)?(_(g,C,r,n,y),x&&c.insertBefore(e,g.elm,c.nextSibling(v.elm)),g=t[++f],C=n[--y]):qr(v,b)?(_(v,b,r,n,h),x&&c.insertBefore(e,v.elm,g.elm),v=t[--m],b=n[++h]):(a(i)&&(i=Vr(t,f,m)),l=s(b.key)?i[b.key]:E(b,t,f,m),a(l)?d(b,r,e,g.elm,!1,n,h):(u=t[l],qr(u,b)?(_(u,b,r,n,h),t[l]=void 0,x&&c.insertBefore(e,u.elm,g.elm)):d(b,r,e,g.elm,!1,n,h)),b=n[++h]);f>m?(p=a(n[y+1])?null:n[y+1].elm,A(e,p,n,h,y,r)):h>y&&w(t,f,m)}(p,m,v,n,u):s(v)?(s(e.text)&&c.setTextContent(p,""),A(p,null,v,0,v.length-1,n)):s(m)?w(m,0,m.length-1):s(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),s(h)&&s(f=h.hook)&&s(f=f.postpatch)&&f(e,t)}function k(e,t,n){if(l(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(let e=0;e<t.length;++e)t[e].data.hook.insert(t[e])}const S=y("attrs,class,staticClass,staticStyle,key");function D(e,t,n,r){let o;const{tag:i,data:a,children:u}=t;if(r=r||a&&a.pre,t.elm=e,l(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(a)&&(s(o=a.hook)&&s(o=o.init)&&o(t,!0),s(o=t.componentInstance)))return f(t,n),!0;if(s(i)){if(s(u))if(e.hasChildNodes())if(s(o=a)&&s(o=o.domProps)&&s(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{let t=!0,o=e.firstChild;for(let e=0;e<u.length;e++){if(!o||!D(o,u[e],n,r)){t=!1;break}o=o.nextSibling}if(!t||o)return!1}else m(t,u,n);if(s(a)){let e=!1;for(const r in a)if(!S(r)){e=!0,v(t,n);break}!e&&a.class&&ln(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(a(t))return void(s(e)&&C(e));let i=!1;const u=[];if(a(e))i=!0,d(t,u);else{const i=s(e.nodeType);if(!i&&qr(e,t))_(e,t,u,null,null,o);else{if(i){if(1===e.nodeType&&e.hasAttribute("data-server-rendered")&&(e.removeAttribute("data-server-rendered"),n=!0),l(n)&&D(e,t,u))return k(t,u,!0),e;p=e,e=new ce(c.tagName(p).toLowerCase(),{},[],void 0,p)}const o=e.elm,a=c.parentNode(o);if(d(t,u,o._leaveCb?null:a,c.nextSibling(o)),s(t.parent)){let e=t.parent;const n=g(t);for(;e;){for(let t=0;t<r.destroy.length;++t)r.destroy[t](e);if(e.elm=t.elm,n){for(let t=0;t<r.create.length;++t)r.create[t]($r,e);const t=e.data.hook.insert;if(t.merged)for(let e=1;e<t.fns.length;e++)t.fns[e]()}else zr(e);e=e.parent}}s(a)?w([e],0,0):s(e.tag)&&C(e)}}var p;return k(t,u,i),t.elm}}({nodeOps:Mr,modules:[no,oo,po,go,So,W?{create:Ko,activate:Ko,remove(e,t){!0!==e.data.show?Zo(e,t):t()}}:{}].concat(Qr)});X&&document.addEventListener("selectionchange",(()=>{const e=document.activeElement;e&&e.vmodel&&ai(e,"input")}));const Jo={inserted(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?et(n,"postpatch",(()=>{Jo.componentUpdated(e,t,n)})):ei(e,t,n.context),e._vOptions=[].map.call(e.options,ri)):("textarea"===n.tag||Nr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",oi),e.addEventListener("compositionend",ii),e.addEventListener("change",ii),X&&(e.vmodel=!0)))},componentUpdated(e,t,n){if("select"===n.tag){ei(e,t,n.context);const r=e._vOptions,o=e._vOptions=[].map.call(e.options,ri);o.some(((e,t)=>!I(e,r[t])))&&(e.multiple?t.value.some((e=>ni(e,o))):t.value!==t.oldValue&&ni(t.value,o))&&ai(e,"change")}}};function ei(e,t,n){ti(e,t),(Y||K)&&setTimeout((()=>{ti(e,t)}),0)}function ti(e,t,n){const r=t.value,o=e.multiple;if(o&&!Array.isArray(r))return;let i,a;for(let t=0,n=e.options.length;t<n;t++)if(a=e.options[t],o)i=N(r,ri(a))>-1,a.selected!==i&&(a.selected=i);else if(I(ri(a),r))return void(e.selectedIndex!==t&&(e.selectedIndex=t));o||(e.selectedIndex=-1)}function ni(e,t){return t.every((t=>!I(t,e)))}function ri(e){return"_value"in e?e._value:e.value}function oi(e){e.target.composing=!0}function ii(e){e.target.composing&&(e.target.composing=!1,ai(e.target,"input"))}function ai(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function si(e){return!e.componentInstance||e.data&&e.data.transition?e:si(e.componentInstance._vnode)}var li={bind(e,{value:t},n){const r=(n=si(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;t&&r?(n.data.show=!0,Wo(n,(()=>{e.style.display=o}))):e.style.display=t?o:"none"},update(e,{value:t,oldValue:n},r){!t!=!n&&((r=si(r)).data&&r.data.transition?(r.data.show=!0,t?Wo(r,(()=>{e.style.display=e.__vOriginalDisplay})):Zo(r,(()=>{e.style.display="none"}))):e.style.display=t?e.__vOriginalDisplay:"none")},unbind(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},ui={model:Jo,show:li};const ci={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function pi(e){const t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?pi(Ft(t.children)):e}function di(e){const t={},n=e.$options;for(const r in n.propsData)t[r]=e[r];const r=n._parentListeners;for(const e in r)t[_(e)]=r[e];return t}function fi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}const hi=e=>e.tag||wt(e),mi=e=>"show"===e.name;var gi={name:"transition",props:ci,abstract:!0,render(e){let t=this.$slots.default;if(!t)return;if(t=t.filter(hi),!t.length)return;const n=this.mode,r=t[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;const o=pi(r);if(!o)return r;if(this._leaving)return fi(e,r);const i=`__transition-${this._uid}-`;o.key=null==o.key?o.isComment?i+"comment":i+o.tag:u(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;const a=(o.data||(o.data={})).transition=di(this),s=this._vnode,l=pi(s);if(o.data.directives&&o.data.directives.some(mi)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!wt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){const t=l.data.transition=P({},a);if("out-in"===n)return this._leaving=!0,et(t,"afterLeave",(()=>{this._leaving=!1,this.$forceUpdate()})),fi(e,r);if("in-out"===n){if(wt(o))return s;let e;const n=()=>{e()};et(a,"afterEnter",n),et(a,"enterCancelled",n),et(t,"delayLeave",(t=>{e=t}))}}return r}};const vi=P({tag:String,moveClass:String},ci);delete vi.mode;var yi={props:vi,beforeMount(){const e=this._update;this._update=(t,n)=>{const r=yn(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,r(),e.call(this,t,n)}},render(e){const t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=di(this);for(let e=0;e<o.length;e++){const t=o[e];t.tag&&null!=t.key&&0!==String(t.key).indexOf("__vlist")&&(i.push(t),n[t.key]=t,(t.data||(t.data={})).transition=a)}if(r){const o=[],i=[];for(let e=0;e<r.length;e++){const t=r[e];t.data.transition=a,t.data.pos=t.elm.getBoundingClientRect(),n[t.key]?o.push(t):i.push(t)}this.kept=e(t,null,o),this.removed=i}return e(t,null,i)},updated(){const e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(bi),e.forEach(Ai),e.forEach(Ci),this._reflow=document.body.offsetHeight,e.forEach((e=>{if(e.data.moved){const n=e.elm,r=n.style;zo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Bo,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Bo,e),n._moveCb=null,Uo(n,t))})}})))},methods:{hasMove(e,t){if(!Fo)return!1;if(this._hasMove)return this._hasMove;const n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((e=>{Oo(n,e)})),To(n,t),n.style.display="none",this.$el.appendChild(n);const r=qo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function bi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ai(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ci(e){const t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;const t=e.elm.style;t.transform=t.WebkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s"}}var wi={Transition:gi,TransitionGroup:yi};fr.config.mustUseProp=(e,t,n)=>"value"===n&&Cr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e,fr.config.isReservedTag=Br,fr.config.isReservedAttr=Ar,fr.config.getTagNamespace=function(e){return jr(e)?"svg":"math"===e?"math":void 0},fr.config.isUnknownElement=function(e){if(!W)return!0;if(Br(e))return!1;if(e=e.toLowerCase(),null!=Ir[e])return Ir[e];const t=document.createElement(e);return e.indexOf("-")>-1?Ir[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ir[e]=/HTMLUnknownElement/.test(t.toString())},P(fr.options.directives,ui),P(fr.options.components,wi),fr.prototype.__patch__=W?Qo:F,fr.prototype.$mount=function(e,t){return function(e,t,n){let r;e.$el=t,e.$options.render||(e.$options.render=pe),wn(e,"beforeMount"),r=()=>{e._update(e._render(),n)},new dn(e,r,F,{before(){e._isMounted&&!e._isDestroyed&&wn(e,"beforeUpdate")}},!0),n=!1;const o=e._preWatchers;if(o)for(let e=0;e<o.length;e++)o[e].run();return null==e.$vnode&&(e._isMounted=!0,wn(e,"mounted")),e}(this,e=e&&W?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},W&&setTimeout((()=>{$.devtools&&oe&&oe.emit("init",fr)}),0),P(fr,an),e.exports=fr},144:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Jn});var r=n(5108),o=Object.freeze({}),i=Array.isArray;function a(e){return null==e}function s(e){return null!=e}function l(e){return!0===e}function u(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function p(e){return null!==e&&"object"==typeof e}var d=Object.prototype.toString;function f(e){return"[object Object]"===d.call(e)}function h(e){return"[object RegExp]"===d.call(e)}function m(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function g(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}b("slot,component",!0);var A=b("key,ref,slot,slot-scope,is");function C(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function x(e,t){return w.call(e,t)}function E(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,k=E((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),S=E((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,T=E((function(e){return e.replace(D,"-$1").toLowerCase()}));var O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function P(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function L(e,t){for(var n in t)e[n]=t[n];return e}function F(e){for(var t={},n=0;n<e.length;n++)e[n]&&L(t,e[n]);return t}function j(e,t,n){}var B=function(e,t,n){return!1},I=function(e){return e};function N(e,t){if(e===t)return!0;var n=p(e),r=p(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return N(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return N(e[n],t[n])}))}catch(e){return!1}}function M(e,t){for(var n=0;n<e.length;n++)if(N(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function z(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var U="data-server-rendered",$=["component","directive","filter"],H=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],q={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:B,isReservedAttr:B,isUnknownElement:B,getTagNamespace:j,parsePlatformTagName:I,mustUseProp:B,async:!0,_lifecycleHooks:H},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function G(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Z=new RegExp("[^".concat(V.source,".$_\\d]"));var Y="__proto__"in{},X="undefined"!=typeof window,K=X&&window.navigator.userAgent.toLowerCase(),Q=K&&/msie|trident/.test(K),J=K&&K.indexOf("msie 9.0")>0,ee=K&&K.indexOf("edge/")>0;K&&K.indexOf("android");var te=K&&/iphone|ipad|ipod|ios/.test(K);K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K);var ne,re=K&&K.match(/firefox\/(\d+)/),oe={}.watch,ie=!1;if(X)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){ie=!0}}),window.addEventListener("test-passive",null,ae)}catch(e){}var se=function(){return void 0===ne&&(ne=!X&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),ne},le=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,pe="undefined"!=typeof Symbol&&ue(Symbol)&&"undefined"!=typeof Reflect&&ue(Reflect.ownKeys);ce="undefined"!=typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=null;function fe(e){void 0===e&&(e=null),e||de&&de._scope.off(),de=e,e&&e._scope.on()}var he=function(){function e(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),me=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ge(e){return new he(void 0,void 0,void 0,String(e))}function ve(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var ye=0,be=[],Ae=function(){function e(){this._pending=!1,this.id=ye++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,be.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter((function(e){return e}));for(var n=0,r=t.length;n<r;n++){0,t[n].update()}},e}();Ae.target=null;var Ce=[];function we(e){Ce.push(e),Ae.target=e}function xe(){Ce.pop(),Ae.target=Ce[Ce.length-1]}var Ee=Array.prototype,_e=Object.create(Ee);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ee[e];W(_e,e,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var ke=Object.getOwnPropertyNames(_e),Se={},De=!0;function Te(e){De=e}var Oe={notify:j,depend:j,addSub:j,removeSub:j},Pe=function(){function e(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.value=e,this.shallow=t,this.mock=n,this.dep=n?Oe:new Ae,this.vmCount=0,W(e,"__ob__",this),i(e)){if(!n)if(Y)e.__proto__=_e;else for(var r=0,o=ke.length;r<o;r++){W(e,s=ke[r],_e[s])}t||this.observeArray(e)}else{var a=Object.keys(e);for(r=0;r<a.length;r++){var s;Fe(e,s=a[r],Se,void 0,t,n)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Le(e[t],!1,this.mock)},e}();function Le(e,t,n){return e&&x(e,"__ob__")&&e.__ob__ instanceof Pe?e.__ob__:!De||!n&&se()||!i(e)&&!f(e)||!Object.isExtensible(e)||e.__v_skip||ze(e)||e instanceof he?void 0:new Pe(e,t,n)}function Fe(e,t,n,r,o,a){var s=new Ae,l=Object.getOwnPropertyDescriptor(e,t);if(!l||!1!==l.configurable){var u=l&&l.get,c=l&&l.set;u&&!c||n!==Se&&2!==arguments.length||(n=e[t]);var p=!o&&Le(n,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=u?u.call(e):n;return Ae.target&&(s.depend(),p&&(p.dep.depend(),i(t)&&Ie(t))),ze(t)&&!o?t.value:t},set:function(t){var r=u?u.call(e):n;if(z(r,t)){if(c)c.call(e,t);else{if(u)return;if(!o&&ze(r)&&!ze(t))return void(r.value=t);n=t}p=!o&&Le(t,!1,a),s.notify()}}}),s}}function je(e,t,n){if(!Re(e)){var r=e.__ob__;return i(e)&&m(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Le(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Fe(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Be(e,t){if(i(e)&&m(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||Re(e)||x(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ie(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),i(t)&&Ie(t)}function Ne(e){return Me(e,!0),W(e,"__v_isShallow",!0),e}function Me(e,t){if(!Re(e)){Le(e,t,se());0}}function Re(e){return!(!e||!e.__v_isReadonly)}function ze(e){return!(!e||!0!==e.__v_isRef)}function Ue(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(ze(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];ze(r)&&!ze(e)?r.value=e:t[n]=e}})}var $e="watcher";"".concat($e," callback"),"".concat($e," getter"),"".concat($e," cleanup");var He;var qe=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=He,!e&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=He;try{return He=this,e()}finally{He=t}}else 0},e.prototype.on=function(){He=this},e.prototype.off=function(){He=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Ve(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var Ge=E((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function We(e,t){function n(){var e=n.fns;if(!i(e))return Pt(e,null,arguments,t,"v-on handler");for(var r=e.slice(),o=0;o<r.length;o++)Pt(r[o],null,arguments,t,"v-on handler")}return n.fns=e,n}function Ze(e,t,n,r,o,i){var s,u,c,p;for(s in e)u=e[s],c=t[s],p=Ge(s),a(u)||(a(c)?(a(u.fns)&&(u=e[s]=We(u,i)),l(p.once)&&(u=e[s]=o(p.name,u,p.capture)),n(p.name,u,p.capture,p.passive,p.params)):u!==c&&(c.fns=u,e[s]=c));for(s in t)a(e[s])&&r((p=Ge(s)).name,t[s],p.capture)}function Ye(e,t,n){var r;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var o=e[t];function i(){n.apply(this,arguments),C(r.fns,i)}a(o)?r=We([i]):s(o.fns)&&l(o.merged)?(r=o).fns.push(i):r=We([o,i]),r.merged=!0,e[t]=r}function Xe(e,t,n,r,o){if(s(t)){if(x(t,n))return e[n]=t[n],o||delete t[n],!0;if(x(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function Ke(e){return u(e)?[ge(e)]:i(e)?Je(e):void 0}function Qe(e){return s(e)&&s(e.text)&&!1===e.isComment}function Je(e,t){var n,r,o,c,p=[];for(n=0;n<e.length;n++)a(r=e[n])||"boolean"==typeof r||(c=p[o=p.length-1],i(r)?r.length>0&&(Qe((r=Je(r,"".concat(t||"","_").concat(n)))[0])&&Qe(c)&&(p[o]=ge(c.text+r[0].text),r.shift()),p.push.apply(p,r)):u(r)?Qe(c)?p[o]=ge(c.text+r):""!==r&&p.push(ge(r)):Qe(r)&&Qe(c)?p[o]=ge(c.text+r.text):(l(e._isVList)&&s(r.tag)&&a(r.key)&&s(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),p.push(r)));return p}function et(e,t){var n,r,o,a,l=null;if(i(e)||"string"==typeof e)for(l=new Array(e.length),n=0,r=e.length;n<r;n++)l[n]=t(e[n],n);else if("number"==typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(p(e))if(pe&&e[Symbol.iterator]){l=[];for(var u=e[Symbol.iterator](),c=u.next();!c.done;)l.push(t(c.value,l.length)),c=u.next()}else for(o=Object.keys(e),l=new Array(o.length),n=0,r=o.length;n<r;n++)a=o[n],l[n]=t(e[a],a,n);return s(l)||(l=[]),l._isVList=!0,l}function tt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(n=L(L({},r),n)),o=i(n)||(c(t)?t():t)):o=this.$slots[e]||(c(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function nt(e){return Nn(this.$options,"filters",e,!0)||I}function rt(e,t){return i(e)?-1===e.indexOf(t):e!==t}function ot(e,t,n,r,o){var i=q.keyCodes[t]||n;return o&&r&&!q.keyCodes[t]?rt(o,r):i?rt(i,e):r?T(r)!==t:void 0===e}function it(e,t,n,r,o){if(n)if(p(n)){i(n)&&(n=F(n));var a=void 0,s=function(i){if("class"===i||"style"===i||A(i))a=e;else{var s=e.attrs&&e.attrs.type;a=r||q.mustUseProp(t,s,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=k(i),u=T(i);l in a||u in a||(a[i]=n[i],o&&((e.on||(e.on={}))["update:".concat(i)]=function(e){n[i]=e}))};for(var l in n)s(l)}else;return e}function at(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||lt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function st(e,t,n){return lt(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function lt(e,t,n){if(i(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ut(e[r],"".concat(t,"_").concat(r),n);else ut(e,t,n)}function ut(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function ct(e,t){if(t)if(f(t)){var n=e.on=e.on?L({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function pt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var a=e[o];i(a)?pt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function dt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function ft(e,t){return"string"==typeof e?t+e:e}function ht(e){e._o=st,e._n=y,e._s=v,e._l=et,e._t=tt,e._q=N,e._i=M,e._m=at,e._f=nt,e._k=ot,e._b=it,e._v=ge,e._e=me,e._u=pt,e._g=ct,e._d=dt,e._p=ft}function mt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===i.tag?l.push.apply(l,i.children||[]):l.push(i)}}for(var u in n)n[u].every(gt)&&delete n[u];return n}function gt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function vt(e){return e.isComment&&e.asyncFactory}function yt(e,t,n,r){var i,a=Object.keys(n).length>0,s=t?!!t.$stable:!a,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==o&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in i={},t)t[u]&&"$"!==u[0]&&(i[u]=bt(e,n,u,t[u]))}else i={};for(var c in n)c in i||(i[c]=At(n,c));return t&&Object.isExtensible(t)&&(t._normalized=i),W(i,"$stable",s),W(i,"$key",l),W(i,"$hasNormal",a),i}function bt(e,t,n,r){var o=function(){var t=de;fe(e);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:Ke(n))&&n[0];return fe(t),n&&(!o||1===n.length&&o.isComment&&!vt(o))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function At(e,t){return function(){return e[t]}}function Ct(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};W(t,"_v_attr_proxy",!0),wt(t,e.$attrs,o,e,"$attrs")}return e._attrsProxy},get listeners(){e._listenersProxy||wt(e._listenersProxy={},e.$listeners,o,e,"$listeners");return e._listenersProxy},get slots(){return function(e){e._slotsProxy||Et(e._slotsProxy={},e.$scopedSlots);return e._slotsProxy}(e)},emit:O(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return Ue(e,t,n)}))}}}function wt(e,t,n,r,o){var i=!1;for(var a in t)a in e?t[a]!==n[a]&&(i=!0):(i=!0,xt(e,a,r,o));for(var a in e)a in t||(i=!0,delete e[a]);return i}function xt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Et(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}var _t=null;function kt(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),p(e)?t.extend(e):e}function St(e){if(i(e))for(var t=0;t<e.length;t++){var n=e[t];if(s(n)&&(s(n.componentOptions)||vt(n)))return n}}function Dt(e,t,n,r,o,a){return(i(n)||u(n))&&(o=r,r=n,n=void 0),l(a)&&(o=2),function(e,t,n,r,o){if(s(n)&&s(n.__ob__))return me();s(n)&&s(n.is)&&(t=n.is);if(!t)return me();0;i(r)&&c(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===o?r=Ke(r):1===o&&(r=function(e){for(var t=0;t<e.length;t++)if(i(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var a,l;if("string"==typeof t){var u=void 0;l=e.$vnode&&e.$vnode.ns||q.getTagNamespace(t),a=q.isReservedTag(t)?new he(q.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!s(u=Nn(e.$options,"components",t))?new he(t,n,r,void 0,void 0,e):Sn(u,n,e,r,t)}else a=Sn(t,n,e,r);return i(a)?a:s(a)?(s(l)&&Tt(a,l),s(n)&&function(e){p(e.style)&&Gt(e.style);p(e.class)&&Gt(e.class)}(n),a):me()}(e,t,n,r,o)}function Tt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),s(e.children))for(var r=0,o=e.children.length;r<o;r++){var i=e.children[r];s(i.tag)&&(a(i.ns)||l(n)&&"svg"!==i.tag)&&Tt(i,t,n)}}function Ot(e,t,n){we();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Lt(e,r,"errorCaptured hook")}}Lt(e,t,n)}finally{xe()}}function Pt(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&g(i)&&!i._handled&&(i.catch((function(e){return Ot(e,r,o+" (Promise/async)")})),i._handled=!0)}catch(e){Ot(e,r,o)}return i}function Lt(e,t,n){if(q.errorHandler)try{return q.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ft(t,null,"config.errorHandler")}Ft(e,t,n)}function Ft(e,t,n){if(!X||void 0===r)throw e;r.error(e)}var jt,Bt=!1,It=[],Nt=!1;function Mt(){Nt=!1;var e=It.slice(0);It.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ue(Promise)){var Rt=Promise.resolve();jt=function(){Rt.then(Mt),te&&setTimeout(j)},Bt=!0}else if(Q||"undefined"==typeof MutationObserver||!ue(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())jt="undefined"!=typeof setImmediate&&ue(setImmediate)?function(){setImmediate(Mt)}:function(){setTimeout(Mt,0)};else{var zt=1,Ut=new MutationObserver(Mt),$t=document.createTextNode(String(zt));Ut.observe($t,{characterData:!0}),jt=function(){zt=(zt+1)%2,$t.data=String(zt)},Bt=!0}function Ht(e,t){var n;if(It.push((function(){if(e)try{e.call(t)}catch(e){Ot(e,t,"nextTick")}else n&&n(t)})),Nt||(Nt=!0,jt()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}function qt(e){return function(t,n){if(void 0===n&&(n=de),n)return function(e,t,n){var r=e.$options;r[t]=Fn(r[t],n)}(n,e,t)}}qt("beforeMount"),qt("mounted"),qt("beforeUpdate"),qt("updated"),qt("beforeDestroy"),qt("destroyed"),qt("activated"),qt("deactivated"),qt("serverPrefetch"),qt("renderTracked"),qt("renderTriggered"),qt("errorCaptured");var Vt=new ce;function Gt(e){return Wt(e,Vt),Vt.clear(),e}function Wt(e,t){var n,r,o=i(e);if(!(!o&&!p(e)||e.__v_skip||Object.isFrozen(e)||e instanceof he)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)Wt(e[n],t);else if(ze(e))Wt(e.value,t);else for(n=(r=Object.keys(e)).length;n--;)Wt(e[r[n]],t)}}var Zt,Yt=0,Xt=function(){function e(e,t,n,r,o){var i,a;i=this,void 0===(a=He&&!He._vm?He:e?e._scope:void 0)&&(a=He),a&&a.active&&a.effects.push(i),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Yt,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ce,this.newDepIds=new ce,this.expression="",c(t)?this.getter=t:(this.getter=function(e){if(!Z.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=j)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;we(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ot(e,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Gt(e),xe(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():bn(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||p(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Pt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&C(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function Kt(e,t){Zt.$on(e,t)}function Qt(e,t){Zt.$off(e,t)}function Jt(e,t){var n=Zt;return function r(){var o=t.apply(null,arguments);null!==o&&n.$off(e,r)}}function en(e,t,n){Zt=e,Ze(t,n||{},Kt,Qt,Jt,e),Zt=void 0}var tn=null;function nn(e){var t=tn;return tn=e,function(){tn=t}}function rn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function on(e,t){if(t){if(e._directInactive=!1,rn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)on(e.$children[n]);sn(e,"activated")}}function an(e,t){if(!(t&&(e._directInactive=!0,rn(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)an(e.$children[n]);sn(e,"deactivated")}}function sn(e,t,n,r){void 0===r&&(r=!0),we();var o=de;r&&fe(e);var i=e.$options[t],a="".concat(t," hook");if(i)for(var s=0,l=i.length;s<l;s++)Pt(i[s],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&fe(o),xe()}var ln=[],un=[],cn={},pn=!1,dn=!1,fn=0;var hn=0,mn=Date.now;if(X&&!Q){var gn=window.performance;gn&&"function"==typeof gn.now&&mn()>document.createEvent("Event").timeStamp&&(mn=function(){return gn.now()})}var vn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function yn(){var e,t;for(hn=mn(),dn=!0,ln.sort(vn),fn=0;fn<ln.length;fn++)(e=ln[fn]).before&&e.before(),t=e.id,cn[t]=null,e.run();var n=un.slice(),r=ln.slice();fn=ln.length=un.length=0,cn={},pn=dn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,on(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&sn(r,"updated")}}(r),function(){for(var e=0;e<be.length;e++){var t=be[e];t.subs=t.subs.filter((function(e){return e})),t._pending=!1}be.length=0}(),le&&q.devtools&&le.emit("flush")}function bn(e){var t=e.id;if(null==cn[t]&&(e!==Ae.target||!e.noRecurse)){if(cn[t]=!0,dn){for(var n=ln.length-1;n>fn&&ln[n].id>e.id;)n--;ln.splice(n+1,0,e)}else ln.push(e);pn||(pn=!0,Ht(yn))}}function An(e,t){if(e){for(var n=Object.create(null),r=pe?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=e[i].from;if(a in t._provided)n[i]=t._provided[a];else if("default"in e[i]){var s=e[i].default;n[i]=c(s)?s.call(t):s}else 0}}return n}}function Cn(e,t,n,r,a){var s,u=this,c=a.options;x(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var p=l(c._compiled),d=!p;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||o,this.injections=An(c.inject,r),this.slots=function(){return u.$slots||yt(r,e.scopedSlots,u.$slots=mt(n,r)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return yt(r,e.scopedSlots,this.slots())}}),p&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=yt(r,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,o){var a=Dt(s,e,t,n,o,d);return a&&!i(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,r){return Dt(s,e,t,n,r,d)}}function wn(e,t,n,r,o){var i=ve(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function xn(e,t){for(var n in t)e[k(n)]=t[n]}function En(e){return e.name||e.__name||e._componentTag}ht(Cn.prototype);var _n={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;_n.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,tn)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==o&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(i||e.$options._renderChildren||l),c=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var p=r.data.attrs||o;e._attrsProxy&&wt(e._attrsProxy,p,c.data&&c.data.attrs||o,e,"$attrs")&&(u=!0),e.$attrs=p,n=n||o;var d=e.$options._parentListeners;if(e._listenersProxy&&wt(e._listenersProxy,n,d||o,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,en(e,n,d),t&&e.$options.props){Te(!1);for(var f=e._props,h=e.$options._propKeys||[],m=0;m<h.length;m++){var g=h[m],v=e.$options.props;f[g]=Mn(g,v,t,e)}Te(!0),e.$options.propsData=t}u&&(e.$slots=mt(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,sn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,un.push(t)):on(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?an(t,!0):t.$destroy())}},kn=Object.keys(_n);function Sn(e,t,n,r,u){if(!a(e)){var c=n.$options._base;if(p(e)&&(e=c.extend(e)),"function"==typeof e){var d;if(a(e.cid)&&(e=function(e,t){if(l(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;var n=_t;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),l(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){var r=e.owners=[n],o=!0,i=null,u=null;n.$on("hook:destroyed",(function(){return C(r,n)}));var c=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==i&&(clearTimeout(i),i=null),null!==u&&(clearTimeout(u),u=null))},d=R((function(n){e.resolved=kt(n,t),o?r.length=0:c(!0)})),f=R((function(t){s(e.errorComp)&&(e.error=!0,c(!0))})),h=e(d,f);return p(h)&&(g(h)?a(e.resolved)&&h.then(d,f):g(h.component)&&(h.component.then(d,f),s(h.error)&&(e.errorComp=kt(h.error,t)),s(h.loading)&&(e.loadingComp=kt(h.loading,t),0===h.delay?e.loading=!0:i=setTimeout((function(){i=null,a(e.resolved)&&a(e.error)&&(e.loading=!0,c(!1))}),h.delay||200)),s(h.timeout)&&(u=setTimeout((function(){u=null,a(e.resolved)&&f(null)}),h.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(d=e,c),void 0===e))return function(e,t,n,r,o){var i=me();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(d,t,n,r,u);t=t||{},Qn(e),s(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],l=t.model.callback;s(a)?(i(a)?-1===a.indexOf(l):a!==l)&&(o[r]=[l].concat(a)):o[r]=l}(e.options,t);var f=function(e,t,n){var r=t.options.props;if(!a(r)){var o={},i=e.attrs,l=e.props;if(s(i)||s(l))for(var u in r){var c=T(u);Xe(o,l,u,c,!0)||Xe(o,i,u,c,!1)}return o}}(t,e);if(l(e.options.functional))return function(e,t,n,r,a){var l=e.options,u={},c=l.props;if(s(c))for(var p in c)u[p]=Mn(p,c,t||o);else s(n.attrs)&&xn(u,n.attrs),s(n.props)&&xn(u,n.props);var d=new Cn(n,u,a,r,e),f=l.render.call(null,d._c,d);if(f instanceof he)return wn(f,n,d.parent,l);if(i(f)){for(var h=Ke(f)||[],m=new Array(h.length),g=0;g<h.length;g++)m[g]=wn(h[g],n,d.parent,l);return m}}(e,f,t,n,r);var h=t.on;if(t.on=t.nativeOn,l(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<kn.length;n++){var r=kn[n],o=t[r],i=_n[r];o===i||o&&o._merged||(t[r]=o?Dn(i,o):i)}}(t);var v=En(e.options)||u;return new he("vue-component-".concat(e.cid).concat(v?"-".concat(v):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:h,tag:u,children:r},d)}}}function Dn(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var Tn=j,On=q.optionMergeStrategies;function Pn(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var r,o,i,a=pe?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(o=e[r],i=t[r],n&&x(e,r)?o!==i&&f(o)&&f(i)&&Pn(o,i):je(e,r,i));return e}function Ln(e,t,n){return n?function(){var r=c(t)?t.call(n,n):t,o=c(e)?e.call(n,n):e;return r?Pn(r,o):o}:t?e?function(){return Pn(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function Fn(e,t){var n=t?e?e.concat(t):i(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function jn(e,t,n,r){var o=Object.create(e||null);return t?L(o,t):o}On.data=function(e,t,n){return n?Ln(e,t,n):t&&"function"!=typeof t?e:Ln(e,t)},H.forEach((function(e){On[e]=Fn})),$.forEach((function(e){On[e+"s"]=jn})),On.watch=function(e,t,n,r){if(e===oe&&(e=void 0),t===oe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var a in L(o,e),t){var s=o[a],l=t[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(l):i(l)?l:[l]}return o},On.props=On.methods=On.inject=On.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return L(o,e),t&&L(o,t),o},On.provide=function(e,t){return e?function(){var n=Object.create(null);return Pn(n,c(e)?e.call(this):e),t&&Pn(n,c(t)?t.call(this):t,!1),n}:t};var Bn=function(e,t){return void 0===t?e:t};function In(e,t,n){if(c(t)&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,a={};if(i(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(a[k(o)]={type:null});else if(f(n))for(var s in n)o=n[s],a[k(s)]=f(o)?o:{type:o};e.props=a}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(f(n))for(var a in n){var s=n[a];r[a]=f(s)?L({from:a},s):{from:s}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];c(r)&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=In(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=In(e,t.mixins[r],n);var a,s={};for(a in e)l(a);for(a in t)x(e,a)||l(a);function l(r){var o=On[r]||Bn;s[r]=o(e[r],t[r],n,r)}return s}function Nn(e,t,n,r){if("string"==typeof n){var o=e[t];if(x(o,n))return o[n];var i=k(n);if(x(o,i))return o[i];var a=S(i);return x(o,a)?o[a]:o[n]||o[i]||o[a]}}function Mn(e,t,n,r){var o=t[e],i=!x(n,e),a=n[e],s=$n(Boolean,o.type);if(s>-1)if(i&&!x(o,"default"))a=!1;else if(""===a||a===T(e)){var l=$n(String,o.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!x(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return c(r)&&"Function"!==zn(t.type)?r.call(e):r}(r,o,e);var u=De;Te(!0),Le(a),Te(u)}return a}var Rn=/^\s*function (\w+)/;function zn(e){var t=e&&e.toString().match(Rn);return t?t[1]:""}function Un(e,t){return zn(e)===zn(t)}function $n(e,t){if(!i(t))return Un(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Un(t[n],e))return n;return-1}var Hn={enumerable:!0,configurable:!0,get:j,set:j};function qn(e,t,n){Hn.get=function(){return this[t][n]},Hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Hn)}function Vn(e){var t=e.$options;if(t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=Ne({}),o=e.$options._propKeys=[];e.$parent&&Te(!1);var i=function(i){o.push(i);var a=Mn(i,t,n,e);Fe(r,i,a),i in e||qn(e,"_props",i)};for(var a in t)i(a);Te(!0)}(e,t.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Ct(e);fe(e),we();var o=Pt(n,null,[e._props||Ne({}),r],e,"setup");if(xe(),fe(),c(o))t.render=o;else if(p(o))if(e._setupState=o,o.__sfc){var i=e._setupProxy={};for(var a in o)"__sfc"!==a&&Ue(i,o,a)}else for(var a in o)G(a)||Ue(e,o,a)}}(e),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?j:O(t[n],e)}(e,t.methods),t.data)!function(e){var t=e.$options.data;f(t=e._data=c(t)?function(e,t){we();try{return e.call(t,t)}catch(e){return Ot(e,t,"data()"),{}}finally{xe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&x(r,i)||G(i)||qn(e,"_data",i)}var a=Le(t);a&&a.vmCount++}(e);else{var n=Le(e._data={});n&&n.vmCount++}t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=se();for(var o in t){var i=t[o],a=c(i)?i:i.get;0,r||(n[o]=new Xt(e,a||j,j,Gn)),o in e||Wn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==oe&&function(e,t){for(var n in t){var r=t[n];if(i(r))for(var o=0;o<r.length;o++)Xn(e,n,r[o]);else Xn(e,n,r)}}(e,t.watch)}var Gn={lazy:!0};function Wn(e,t,n){var r=!se();c(n)?(Hn.get=r?Zn(t):Yn(n),Hn.set=j):(Hn.get=n.get?r&&!1!==n.cache?Zn(t):Yn(n.get):j,Hn.set=n.set||j),Object.defineProperty(e,t,Hn)}function Zn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Ae.target&&t.depend(),t.value}}function Yn(e){return function(){return e.call(this,this)}}function Xn(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Kn=0;function Qn(e){var t=e.options;if(e.super){var n=Qn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&L(e.extendOptions,r),(t=e.options=In(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Jn(e){this._init(e)}function er(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=En(e)||En(n.options);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=In(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)qn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Wn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,$.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=L({},a.options),o[r]=a,a}}function tr(e){return e&&(En(e.Ctor.options)||e.tag)}function nr(e,t){return i(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function rr(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!t(s)&&or(n,i,r,o)}}}function or(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,C(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Kn++,t._isVue=!0,t.__v_skip=!0,t._scope=new qe(!0),t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=In(Qn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&en(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=mt(t._renderChildren,r),e.$scopedSlots=n?yt(e.$parent,n.data.scopedSlots,e.$slots):o,e._c=function(t,n,r,o){return Dt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Dt(e,t,n,r,o,!0)};var i=n&&n.data;Fe(e,"$attrs",i&&i.attrs||o,null,!0),Fe(e,"$listeners",t._parentListeners||o,null,!0)}(t),sn(t,"beforeCreate",void 0,!1),function(e){var t=An(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Fe(e,n,t[n])})),Te(!0))}(t),Vn(t),function(e){var t=e.$options.provide;if(t){var n=c(t)?t.call(e):t;if(!p(n))return;for(var r=Ve(e),o=pe?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(t),sn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Jn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=je,e.prototype.$delete=Be,e.prototype.$watch=function(e,t,n){var r=this;if(f(t))return Xn(r,e,t,n);(n=n||{}).user=!0;var o=new Xt(r,e,t,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');we(),Pt(t,r,[o.value],r,i),xe()}return function(){o.teardown()}}}(Jn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(i(e))for(var o=0,a=e.length;o<a;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var a,s=n._events[e];if(!s)return n;if(!t)return n._events[e]=null,n;for(var l=s.length;l--;)if((a=s[l])===t||a.fn===t){s.splice(l,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?P(n):n;for(var r=P(arguments,1),o='event handler for "'.concat(e,'"'),i=0,a=n.length;i<a;i++)Pt(n[i],t,r,t,o)}return t}}(Jn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=nn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){sn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||C(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),sn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Jn),function(e){ht(e.prototype),e.prototype.$nextTick=function(e){return Ht(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&t._isMounted&&(t.$scopedSlots=yt(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Et(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;try{fe(t),_t=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){Ot(n,t,"render"),e=t._vnode}finally{_t=null,fe()}return i(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=me()),e.parent=o,e}}(Jn);var ir=[String,RegExp,Array],ar={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ir,exclude:ir,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,o=e.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;t[o]={name:tr(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&or(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)or(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){rr(e,(function(e){return nr(t,e)}))})),this.$watch("exclude",(function(t){rr(e,(function(e){return!nr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=St(e),n=t&&t.componentOptions;if(n){var r=tr(n),o=this.include,i=this.exclude;if(o&&(!r||!nr(o,r))||i&&r&&nr(i,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,C(s,l),s.push(l)):(this.vnodeToCache=t,this.keyToCache=l),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:Tn,extend:L,mergeOptions:In,defineReactive:Fe},e.set=je,e.delete=Be,e.nextTick=Ht,e.observable=function(e){return Le(e),e},e.options=Object.create(null),$.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,L(e.options.components,ar),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=P(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=In(this.options,e),this}}(e),er(e),function(e){$.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Jn),Object.defineProperty(Jn.prototype,"$isServer",{get:se}),Object.defineProperty(Jn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Jn,"FunctionalRenderContext",{value:Cn}),Jn.version="2.7.14";var sr=b("style,class"),lr=b("input,textarea,option,select,progress"),ur=b("contenteditable,draggable,spellcheck"),cr=b("events,caret,typing,plaintext-only"),pr=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),dr="http://www.w3.org/1999/xlink",fr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},hr=function(e){return fr(e)?e.slice(6,e.length):""},mr=function(e){return null==e||!1===e};function gr(e){for(var t=e.data,n=e,r=e;s(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=vr(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=vr(t,n.data));return function(e,t){if(s(e)||s(t))return yr(e,br(t));return""}(t.staticClass,t.class)}function vr(e,t){return{staticClass:yr(e.staticClass,t.staticClass),class:s(e.class)?[e.class,t.class]:t.class}}function yr(e,t){return e?t?e+" "+t:e:t||""}function br(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)s(t=br(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):p(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Ar={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Cr=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),wr=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),xr=function(e){return Cr(e)||wr(e)};var Er=Object.create(null);var _r=b("text,number,password,search,email,tel,url");var kr=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Ar[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Sr={create:function(e,t){Dr(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Dr(e,!0),Dr(t))},destroy:function(e){Dr(e,!0)}};function Dr(e,t){var n=e.data.ref;if(s(n)){var r=e.context,o=e.componentInstance||e.elm,a=t?null:o,l=t?void 0:o;if(c(n))Pt(n,r,[a],r,"template ref function");else{var u=e.data.refInFor,p="string"==typeof n||"number"==typeof n,d=ze(n),f=r.$refs;if(p||d)if(u){var h=p?f[n]:n.value;t?i(h)&&C(h,o):i(h)?h.includes(o)||h.push(o):p?(f[n]=[o],Tr(r,n,f[n])):n.value=[o]}else if(p){if(t&&f[n]!==o)return;f[n]=l,Tr(r,n,a)}else if(d){if(t&&n.value!==o)return;n.value=a}else 0}}}function Tr(e,t,n){var r=e._setupState;r&&x(r,t)&&(ze(r[t])?r[t].value=n:r[t]=n)}var Or=new he("",{},[]),Pr=["create","activate","update","remove","destroy"];function Lr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=s(n=e.data)&&s(n=n.attrs)&&n.type,o=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===o||_r(r)&&_r(o)}(e,t)||l(e.isAsyncPlaceholder)&&a(t.asyncFactory.error))}function Fr(e,t,n){var r,o,i={};for(r=t;r<=n;++r)s(o=e[r].key)&&(i[o]=r);return i}var jr={create:Br,update:Br,destroy:function(e){Br(e,Or)}};function Br(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===Or,a=t===Or,s=Nr(e.data.directives,e.context),l=Nr(t.data.directives,t.context),u=[],c=[];for(n in l)r=s[n],o=l[n],r?(o.oldValue=r.value,o.oldArg=r.arg,Rr(o,"update",t,e),o.def&&o.def.componentUpdated&&c.push(o)):(Rr(o,"bind",t,e),o.def&&o.def.inserted&&u.push(o));if(u.length){var p=function(){for(var n=0;n<u.length;n++)Rr(u[n],"inserted",t,e)};i?Ye(t,"insert",p):p()}c.length&&Ye(t,"postpatch",(function(){for(var n=0;n<c.length;n++)Rr(c[n],"componentUpdated",t,e)}));if(!i)for(n in s)l[n]||Rr(s[n],"unbind",e,e,a)}(e,t)}var Ir=Object.create(null);function Nr(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=Ir),o[Mr(r)]=r,t._setupState&&t._setupState.__sfc){var i=r.def||Nn(t,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||Nn(t.$options,"directives",r.name)}return o}function Mr(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function Rr(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){Ot(r,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var zr=[Sr,jr];function Ur(e,t){var n=t.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||a(e.data.attrs)&&a(t.data.attrs))){var r,o,i=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(r in(s(c.__ob__)||l(c._v_attr_proxy))&&(c=t.data.attrs=L({},c)),c)o=c[r],u[r]!==o&&$r(i,r,o,t.data.pre);for(r in(Q||ee)&&c.value!==u.value&&$r(i,"value",c.value),u)a(c[r])&&(fr(r)?i.removeAttributeNS(dr,hr(r)):ur(r)||i.removeAttribute(r))}}function $r(e,t,n,r){r||e.tagName.indexOf("-")>-1?Hr(e,t,n):pr(t)?mr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):ur(t)?e.setAttribute(t,function(e,t){return mr(t)||"false"===t?"false":"contenteditable"===e&&cr(t)?t:"true"}(t,n)):fr(t)?mr(n)?e.removeAttributeNS(dr,hr(t)):e.setAttributeNS(dr,t,n):Hr(e,t,n)}function Hr(e,t,n){if(mr(n))e.removeAttribute(t);else{if(Q&&!J&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var qr={create:Ur,update:Ur};function Vr(e,t){var n=t.elm,r=t.data,o=e.data;if(!(a(r.staticClass)&&a(r.class)&&(a(o)||a(o.staticClass)&&a(o.class)))){var i=gr(t),l=n._transitionClasses;s(l)&&(i=yr(i,br(l))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var Gr,Wr={create:Vr,update:Vr};function Zr(e,t,n){var r=Gr;return function o(){var i=t.apply(null,arguments);null!==i&&Kr(e,o,n,r)}}var Yr=Bt&&!(re&&Number(re[1])<=53);function Xr(e,t,n,r){if(Yr){var o=hn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Gr.addEventListener(e,t,ie?{capture:n,passive:r}:n)}function Kr(e,t,n,r){(r||Gr).removeEventListener(e,t._wrapper||t,n)}function Qr(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Gr=t.elm||e.elm,function(e){if(s(e.__r)){var t=Q?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}s(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),Ze(n,r,Xr,Kr,Zr,t.context),Gr=void 0}}var Jr,eo={create:Qr,update:Qr,destroy:function(e){return Qr(e,Or)}};function to(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,o=t.elm,i=e.data.domProps||{},u=t.data.domProps||{};for(n in(s(u.__ob__)||l(u._v_attr_proxy))&&(u=t.data.domProps=L({},u)),i)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var c=a(r)?"":String(r);no(o,c)&&(o.value=c)}else if("innerHTML"===n&&wr(o.tagName)&&a(o.innerHTML)){(Jr=Jr||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var p=Jr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;p.firstChild;)o.appendChild(p.firstChild)}else if(r!==i[n])try{o[n]=r}catch(e){}}}}function no(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return y(n)!==y(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ro={create:to,update:to},oo=E((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function io(e){var t=ao(e.style);return e.staticStyle?L(e.staticStyle,t):t}function ao(e){return Array.isArray(e)?F(e):"string"==typeof e?oo(e):e}var so,lo=/^--/,uo=/\s*!important$/,co=function(e,t,n){if(lo.test(t))e.style.setProperty(t,n);else if(uo.test(n))e.style.setProperty(T(t),n.replace(uo,""),"important");else{var r=fo(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},po=["Webkit","Moz","ms"],fo=E((function(e){if(so=so||document.createElement("div").style,"filter"!==(e=k(e))&&e in so)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<po.length;n++){var r=po[n]+t;if(r in so)return r}}));function ho(e,t){var n=t.data,r=e.data;if(!(a(n.staticStyle)&&a(n.style)&&a(r.staticStyle)&&a(r.style))){var o,i,l=t.elm,u=r.staticStyle,c=r.normalizedStyle||r.style||{},p=u||c,d=ao(t.data.style)||{};t.data.normalizedStyle=s(d.__ob__)?L({},d):d;var f=function(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=io(o.data))&&L(r,n);(n=io(e.data))&&L(r,n);for(var i=e;i=i.parent;)i.data&&(n=io(i.data))&&L(r,n);return r}(t,!0);for(i in p)a(f[i])&&co(l,i,"");for(i in f)(o=f[i])!==p[i]&&co(l,i,null==o?"":o)}}var mo={create:ho,update:ho},go=/\s+/;function vo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(go).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(go).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&L(t,Ao(e.name||"v")),L(t,e),t}return"string"==typeof e?Ao(e):void 0}}var Ao=E((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),Co=X&&!J,wo="transition",xo="animation",Eo="transition",_o="transitionend",ko="animation",So="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Eo="WebkitTransition",_o="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ko="WebkitAnimation",So="webkitAnimationEnd"));var Do=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function To(e){Do((function(){Do(e)}))}function Oo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),vo(e,t))}function Po(e,t){e._transitionClasses&&C(e._transitionClasses,t),yo(e,t)}function Lo(e,t,n){var r=jo(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===wo?_o:So,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),i+1),e.addEventListener(s,c)}var Fo=/\b(transform|all)(,|$)/;function jo(e,t){var n,r=window.getComputedStyle(e),o=(r[Eo+"Delay"]||"").split(", "),i=(r[Eo+"Duration"]||"").split(", "),a=Bo(o,i),s=(r[ko+"Delay"]||"").split(", "),l=(r[ko+"Duration"]||"").split(", "),u=Bo(s,l),c=0,p=0;return t===wo?a>0&&(n=wo,c=a,p=i.length):t===xo?u>0&&(n=xo,c=u,p=l.length):p=(n=(c=Math.max(a,u))>0?a>u?wo:xo:null)?n===wo?i.length:l.length:0,{type:n,timeout:c,propCount:p,hasTransform:n===wo&&Fo.test(r[Eo+"Property"])}}function Bo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return Io(t)+Io(e[n])})))}function Io(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function No(e,t){var n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=bo(e.data.transition);if(!a(r)&&!s(n._enterCb)&&1===n.nodeType){for(var o=r.css,i=r.type,l=r.enterClass,u=r.enterToClass,d=r.enterActiveClass,f=r.appearClass,h=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,v=r.enter,b=r.afterEnter,A=r.enterCancelled,C=r.beforeAppear,w=r.appear,x=r.afterAppear,E=r.appearCancelled,_=r.duration,k=tn,S=tn.$vnode;S&&S.parent;)k=S.context,S=S.parent;var D=!k._isMounted||!e.isRootInsert;if(!D||w||""===w){var T=D&&f?f:l,O=D&&m?m:d,P=D&&h?h:u,L=D&&C||g,F=D&&c(w)?w:v,j=D&&x||b,B=D&&E||A,I=y(p(_)?_.enter:_);0;var N=!1!==o&&!J,M=zo(F),z=n._enterCb=R((function(){N&&(Po(n,P),Po(n,O)),z.cancelled?(N&&Po(n,T),B&&B(n)):j&&j(n),n._enterCb=null}));e.data.show||Ye(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),F&&F(n,z)})),L&&L(n),N&&(Oo(n,T),Oo(n,O),To((function(){Po(n,T),z.cancelled||(Oo(n,P),M||(Ro(I)?setTimeout(z,I):Lo(n,i,z)))}))),e.data.show&&(t&&t(),F&&F(n,z)),N||M||z()}}}function Mo(e,t){var n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=bo(e.data.transition);if(a(r)||1!==n.nodeType)return t();if(!s(n._leaveCb)){var o=r.css,i=r.type,l=r.leaveClass,u=r.leaveToClass,c=r.leaveActiveClass,d=r.beforeLeave,f=r.leave,h=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,v=r.duration,b=!1!==o&&!J,A=zo(f),C=y(p(v)?v.leave:v);0;var w=n._leaveCb=R((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Po(n,u),Po(n,c)),w.cancelled?(b&&Po(n,l),m&&m(n)):(t(),h&&h(n)),n._leaveCb=null}));g?g(x):x()}function x(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(Oo(n,l),Oo(n,c),To((function(){Po(n,l),w.cancelled||(Oo(n,u),A||(Ro(C)?setTimeout(w,C):Lo(n,i,w)))}))),f&&f(n,w),b||A||w())}}function Ro(e){return"number"==typeof e&&!isNaN(e)}function zo(e){if(a(e))return!1;var t=e.fns;return s(t)?zo(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Uo(e,t){!0!==t.data.show&&No(t)}var $o=function(e){var t,n,r={},o=e.modules,c=e.nodeOps;for(t=0;t<Pr.length;++t)for(r[Pr[t]]=[],n=0;n<o.length;++n)s(o[n][Pr[t]])&&r[Pr[t]].push(o[n][Pr[t]]);function p(e){var t=c.parentNode(e);s(t)&&c.removeChild(t,e)}function d(e,t,n,o,i,a,u){if(s(e.elm)&&s(a)&&(e=a[u]=ve(e)),e.isRootInsert=!i,!function(e,t,n,o){var i=e.data;if(s(i)){var a=s(e.componentInstance)&&i.keepAlive;if(s(i=i.hook)&&s(i=i.init)&&i(e,!1),s(e.componentInstance))return f(e,t),h(n,e.elm,o),l(a)&&function(e,t,n,o){var i,a=e;for(;a.componentInstance;)if(s(i=(a=a.componentInstance._vnode).data)&&s(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](Or,a);t.push(a);break}h(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var p=e.data,d=e.children,g=e.tag;s(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),y(e),m(e,d,t),s(p)&&v(e,t),h(n,e.elm,o)):l(e.isComment)?(e.elm=c.createComment(e.text),h(n,e.elm,o)):(e.elm=c.createTextNode(e.text),h(n,e.elm,o))}}function f(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),y(e)):(Dr(e),t.push(e))}function h(e,t,n){s(e)&&(s(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(i(t)){0;for(var r=0;r<t.length;++r)d(t[r],n,e.elm,null,!0,t,r)}else u(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function v(e,n){for(var o=0;o<r.create.length;++o)r.create[o](Or,e);s(t=e.data.hook)&&(s(t.create)&&t.create(Or,e),s(t.insert)&&n.push(e))}function y(e){var t;if(s(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;s(t=tn)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function A(e,t,n,r,o,i){for(;r<=o;++r)d(n[r],i,e,t,!1,n,r)}function C(e){var t,n,o=e.data;if(s(o))for(s(t=o.hook)&&s(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)C(e.children[n])}function w(e,t,n){for(;t<=n;++t){var r=e[t];s(r)&&(s(r.tag)?(x(r),C(r)):p(r.elm))}}function x(e,t){if(s(t)||s(e.data)){var n,o=r.remove.length+1;for(s(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&p(e)}return n.listeners=t,n}(e.elm,o),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&x(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else p(e.elm)}function E(e,t,n,r){for(var o=n;o<r;o++){var i=t[o];if(s(i)&&Lr(e,i))return o}}function _(e,t,n,o,i,u){if(e!==t){s(t.elm)&&s(o)&&(t=o[i]=ve(t));var p=t.elm=e.elm;if(l(e.isAsyncPlaceholder))s(t.asyncFactory.resolved)?D(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(l(t.isStatic)&&l(e.isStatic)&&t.key===e.key&&(l(t.isCloned)||l(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,h=t.data;s(h)&&s(f=h.hook)&&s(f=f.prepatch)&&f(e,t);var m=e.children,v=t.children;if(s(h)&&g(t)){for(f=0;f<r.update.length;++f)r.update[f](e,t);s(f=h.hook)&&s(f=f.update)&&f(e,t)}a(t.text)?s(m)&&s(v)?m!==v&&function(e,t,n,r,o){var i,l,u,p=0,f=0,h=t.length-1,m=t[0],g=t[h],v=n.length-1,y=n[0],b=n[v],C=!o;for(;p<=h&&f<=v;)a(m)?m=t[++p]:a(g)?g=t[--h]:Lr(m,y)?(_(m,y,r,n,f),m=t[++p],y=n[++f]):Lr(g,b)?(_(g,b,r,n,v),g=t[--h],b=n[--v]):Lr(m,b)?(_(m,b,r,n,v),C&&c.insertBefore(e,m.elm,c.nextSibling(g.elm)),m=t[++p],b=n[--v]):Lr(g,y)?(_(g,y,r,n,f),C&&c.insertBefore(e,g.elm,m.elm),g=t[--h],y=n[++f]):(a(i)&&(i=Fr(t,p,h)),a(l=s(y.key)?i[y.key]:E(y,t,p,h))?d(y,r,e,m.elm,!1,n,f):Lr(u=t[l],y)?(_(u,y,r,n,f),t[l]=void 0,C&&c.insertBefore(e,u.elm,m.elm)):d(y,r,e,m.elm,!1,n,f),y=n[++f]);p>h?A(e,a(n[v+1])?null:n[v+1].elm,n,f,v,r):f>v&&w(t,p,h)}(p,m,v,n,u):s(v)?(s(e.text)&&c.setTextContent(p,""),A(p,null,v,0,v.length-1,n)):s(m)?w(m,0,m.length-1):s(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),s(h)&&s(f=h.hook)&&s(f=f.postpatch)&&f(e,t)}}}function k(e,t,n){if(l(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var S=b("attrs,class,staticClass,staticStyle,key");function D(e,t,n,r){var o,i=t.tag,a=t.data,u=t.children;if(r=r||a&&a.pre,t.elm=e,l(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(a)&&(s(o=a.hook)&&s(o=o.init)&&o(t,!0),s(o=t.componentInstance)))return f(t,n),!0;if(s(i)){if(s(u))if(e.hasChildNodes())if(s(o=a)&&s(o=o.domProps)&&s(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var c=!0,p=e.firstChild,d=0;d<u.length;d++){if(!p||!D(p,u[d],n,r)){c=!1;break}p=p.nextSibling}if(!c||p)return!1}else m(t,u,n);if(s(a)){var h=!1;for(var g in a)if(!S(g)){h=!0,v(t,n);break}!h&&a.class&&Gt(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(!a(t)){var i,u=!1,p=[];if(a(e))u=!0,d(t,p);else{var f=s(e.nodeType);if(!f&&Lr(e,t))_(e,t,p,null,null,o);else{if(f){if(1===e.nodeType&&e.hasAttribute(U)&&(e.removeAttribute(U),n=!0),l(n)&&D(e,t,p))return k(t,p,!0),e;i=e,e=new he(c.tagName(i).toLowerCase(),{},[],void 0,i)}var h=e.elm,m=c.parentNode(h);if(d(t,p,h._leaveCb?null:m,c.nextSibling(h)),s(t.parent))for(var v=t.parent,y=g(t);v;){for(var b=0;b<r.destroy.length;++b)r.destroy[b](v);if(v.elm=t.elm,y){for(var A=0;A<r.create.length;++A)r.create[A](Or,v);var x=v.data.hook.insert;if(x.merged)for(var E=1;E<x.fns.length;E++)x.fns[E]()}else Dr(v);v=v.parent}s(m)?w([e],0,0):s(e.tag)&&C(e)}}return k(t,p,u),t.elm}s(e)&&C(e)}}({nodeOps:kr,modules:[qr,Wr,eo,ro,mo,X?{create:Uo,activate:Uo,remove:function(e,t){!0!==e.data.show?Mo(e,t):t()}}:{}].concat(zr)});J&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Xo(e,"input")}));var Ho={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ye(n,"postpatch",(function(){Ho.componentUpdated(e,t,n)})):qo(e,t,n.context),e._vOptions=[].map.call(e.options,Wo)):("textarea"===n.tag||_r(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Zo),e.addEventListener("compositionend",Yo),e.addEventListener("change",Yo),J&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){qo(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,Wo);if(o.some((function(e,t){return!N(e,r[t])})))(e.multiple?t.value.some((function(e){return Go(e,o)})):t.value!==t.oldValue&&Go(t.value,o))&&Xo(e,"change")}}};function qo(e,t,n){Vo(e,t,n),(Q||ee)&&setTimeout((function(){Vo(e,t,n)}),0)}function Vo(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)i=M(r,Wo(a))>-1,a.selected!==i&&(a.selected=i);else if(N(Wo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Go(e,t){return t.every((function(t){return!N(t,e)}))}function Wo(e){return"_value"in e?e._value:e.value}function Zo(e){e.target.composing=!0}function Yo(e){e.target.composing&&(e.target.composing=!1,Xo(e.target,"input"))}function Xo(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ko(e){return!e.componentInstance||e.data&&e.data.transition?e:Ko(e.componentInstance._vnode)}var Qo={bind:function(e,t,n){var r=t.value,o=(n=Ko(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,No(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Ko(n)).data&&n.data.transition?(n.data.show=!0,r?No(n,(function(){e.style.display=e.__vOriginalDisplay})):Mo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},Jo={model:Ho,show:Qo},ei={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ti(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ti(St(t.children)):e}function ni(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var r in o)t[k(r)]=o[r];return t}function ri(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var oi=function(e){return e.tag||vt(e)},ii=function(e){return"show"===e.name},ai={name:"transition",props:ei,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(oi)).length){0;var r=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=ti(o);if(!i)return o;if(this._leaving)return ri(e,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=ni(this),l=this._vnode,c=ti(l);if(i.data.directives&&i.data.directives.some(ii)&&(i.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,c)&&!vt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var p=c.data.transition=L({},s);if("out-in"===r)return this._leaving=!0,Ye(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ri(e,o);if("in-out"===r){if(vt(i))return l;var d,f=function(){d()};Ye(s,"afterEnter",f),Ye(s,"enterCancelled",f),Ye(p,"delayLeave",(function(e){d=e}))}}return o}}},si=L({tag:String,moveClass:String},ei);delete si.mode;var li={props:si,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ni(this),s=0;s<o.length;s++){if((c=o[s]).tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){var l=[],u=[];for(s=0;s<r.length;s++){var c;(c=r[s]).data.transition=a,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?l.push(c):u.push(c)}this.kept=e(t,null,l),this.removed=u}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(ui),e.forEach(ci),e.forEach(pi),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Oo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(_o,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(_o,e),n._moveCb=null,Po(n,t))})}})))},methods:{hasMove:function(e,t){if(!Co)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){yo(n,e)})),vo(n,t),n.style.display="none",this.$el.appendChild(n);var r=jo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function ui(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ci(e){e.data.newPos=e.elm.getBoundingClientRect()}function pi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var di={Transition:ai,TransitionGroup:li};Jn.config.mustUseProp=function(e,t,n){return"value"===n&&lr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Jn.config.isReservedTag=xr,Jn.config.isReservedAttr=sr,Jn.config.getTagNamespace=function(e){return wr(e)?"svg":"math"===e?"math":void 0},Jn.config.isUnknownElement=function(e){if(!X)return!0;if(xr(e))return!1;if(e=e.toLowerCase(),null!=Er[e])return Er[e];var t=document.createElement(e);return e.indexOf("-")>-1?Er[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Er[e]=/HTMLUnknownElement/.test(t.toString())},L(Jn.options.directives,Jo),L(Jn.options.components,di),Jn.prototype.__patch__=X?$o:j,Jn.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=me),sn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Xt(e,r,j,{before:function(){e._isMounted&&!e._isDestroyed&&sn(e,"beforeUpdate")}},!0),n=!1;var o=e._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==e.$vnode&&(e._isMounted=!0,sn(e,"mounted")),e}(this,e=e&&X?function(e){if("string"==typeof e){return document.querySelector(e)||document.createElement("div")}return e}(e):void 0,t)},X&&setTimeout((function(){q.devtools&&le&&le.emit("init",Jn)}),0)},2276:(e,t,n)=>{e.exports=n(2341)},822:(e,t,n)=>{"use strict";var r=n(8609),o=n(9468),i=n(5420),a=n(4606),s=n(9844),l=n(3885),u=n(79),c=n(612),p=n(9199),d=n(4596),f=n(5529);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,g=e.headers,v=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var A=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(A+":"+C)}var w=s(e.baseURL,e.url);function x(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),y()}),(function(e){n(e),y()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(x)},b.onabort=function(){b&&(n(new p("Request aborted",p.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new p("Network Error",p.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new p(t,r.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||u(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"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),v&&"json"!==v&&(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)&&(h=function(e){b&&(n(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var _=f(w);_&&-1===["http","https","file"].indexOf(_)?n(new p("Unsupported protocol "+_+":",p.ERR_BAD_REQUEST,e)):b.send(m)}))}},2341:(e,t,n)=>{"use strict";var r=n(8609),o=n(8302),i=n(5028),a=n(2504);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(3850));s.Axios=i,s.CanceledError=n(4596),s.CancelToken=n(56),s.isCancel=n(1834),s.VERSION=n(5894).version,s.toFormData=n(7695),s.AxiosError=n(9199),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(8053),s.isAxiosError=n(2696),e.exports=s,e.exports.default=s},56:(e,t,n)=>{"use strict";var r=n(4596);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},4596:(e,t,n)=>{"use strict";var r=n(9199);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(8609).inherits(o,r,{__CANCEL__:!0}),e.exports=o},1834:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5028:(e,t,n)=>{"use strict";var r=n(8609),o=n(4606),i=n(4221),a=n(9366),s=n(2504),l=n(9844),u=n(326),c=u.validators;function p(e){this.defaults=e,this.interceptors={request:new i,response:new i}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(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&&u.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 i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var p=[a,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(l),i=Promise.resolve(t);p.length;)i=i.then(p.shift(),p.shift());return i}for(var d=t;r.length;){var f=r.shift(),h=r.shift();try{d=f(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},p.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)})),e.exports=p},9199:(e,t,n)=>{"use strict";var r=n(8609);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{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}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,s,l){var u=Object.create(i);return r.toFlatObject(e,u,(function(e){return e!==Error.prototype})),o.call(u,e.message,t,n,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=o},4221:(e,t,n)=>{"use strict";var r=n(8609);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},9844:(e,t,n)=>{"use strict";var r=n(8349),o=n(2950);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},9366:(e,t,n)=>{"use strict";var r=n(8609),o=n(9144),i=n(1834),a=n(3850),s=n(4596);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}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 i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},2504:(e,t,n)=>{"use strict";var r=n(8609);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 i(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 s(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 u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},9468:(e,t,n)=>{"use strict";var r=n(9199);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},9144:(e,t,n)=>{"use strict";var r=n(8609),o=n(3850);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},3850:(e,t,n)=>{"use strict";var r=n(4155),o=n(8609),i=n(9321),a=n(9199),s=n(612),l=n(7695),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var p,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(p=n(822)),p),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,r=o.isObject(e),a=t&&t["Content-Type"];if((n=o.isFileList(e))||r&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,s&&new s)}return r||"application/json"===a?(c(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(9916)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(u)})),e.exports=d},612:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},5894:e=>{e.exports={version:"0.27.2"}},8302: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)}}},4606:(e,t,n)=>{"use strict";var r=n(8609);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 i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=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))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2950:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},5420:(e,t,n)=>{"use strict";var r=n(8609);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.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(){}}},8349:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},2696:(e,t,n)=>{"use strict";var r=n(8609);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},79:(e,t,n)=>{"use strict";var r=n(8609);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}},9321:(e,t,n)=>{"use strict";var r=n(8609);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},9916:e=>{e.exports=null},3885:(e,t,n)=>{"use strict";var r=n(8609),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,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+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}},5529:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8053:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7695:(e,t,n)=>{"use strict";var r=n(3085).Buffer,o=n(8609);e.exports=function(e,t){t=t||new FormData;var n=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):r.from(e):e}return function e(r,a){if(o.isPlainObject(r)||o.isArray(r)){if(-1!==n.indexOf(r))throw Error("Circular reference detected in "+a);n.push(r),o.forEach(r,(function(n,r){if(!o.isUndefined(n)){var s,l=a?a+"."+r:r;if(n&&!a&&"object"==typeof n)if(o.endsWith(r,"{}"))n=JSON.stringify(n);else if(o.endsWith(r,"[]")&&(s=o.toArray(n)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(l,i(e))}));e(n,l)}})),n.pop()}else t.append(a,i(r))}(e),t}},326:(e,t,n)=>{"use strict";var r=n(5108),o=n(5894).version,i=n(9199),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+o+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,l){if(!1===e)throw new i(a(o," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!s[o]&&(s[o]=!0,r.warn(a(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,l)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new i("option "+a+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:a}},8609:(e,t,n)=>{"use strict";var r,o=n(8302),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function u(e){return void 0===e}var c=s("ArrayBuffer");function p(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),g=s("FileList");function v(e){return"[object Function]"===i.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(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)}var A,C=(A="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return A&&e instanceof A});e.exports={isArray:l,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:p,isPlainObject:d,isUndefined:u,isDate:f,isFile:h,isBlob:m,isFunction:v,isStream:function(e){return p(e)&&v(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},extend:function(e,t,n){return b(t,(function(t,r){e[r]=n&&"function"==typeof t?o(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},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:C,isFileList:g}},4298:(e,t,n)=>{var r=n(5623);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return g(function(e){return e.split("\\\\").join(o).split("\\{").join(i).split("\\}").join(a).split("\\,").join(s).split("\\.").join(l)}(e),!0).map(c)};var o="\0SLASH"+Math.random()+"\0",i="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",s="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function u(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function c(e){return e.split(o).join("\\").split(i).join("{").split(a).join("}").split(s).join(",").split(l).join(".")}function p(e){if(!e)return[""];var t=[],n=r("{","}",e);if(!n)return e.split(",");var o=n.pre,i=n.body,a=n.post,s=o.split(",");s[s.length-1]+="{"+i+"}";var l=p(a);return a.length&&(s[s.length-1]+=l.shift(),s.push.apply(s,l)),t.push.apply(t,s),t}function d(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function h(e,t){return e<=t}function m(e,t){return e>=t}function g(e,t){var n=[],o=r("{","}",e);if(!o)return[e];var i=o.pre,s=o.post.length?g(o.post,!1):[""];if(/\$$/.test(o.pre))for(var l=0;l<s.length;l++){var c=i+"{"+o.body+"}"+s[l];n.push(c)}else{var v,y,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),A=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),C=b||A,w=o.body.indexOf(",")>=0;if(!C&&!w)return o.post.match(/,.*\}/)?g(e=o.pre+"{"+o.body+a+o.post):[e];if(C)v=o.body.split(/\.\./);else if(1===(v=p(o.body)).length&&1===(v=g(v[0],!1).map(d)).length)return s.map((function(e){return o.pre+v[0]+e}));if(C){var x=u(v[0]),E=u(v[1]),_=Math.max(v[0].length,v[1].length),k=3==v.length?Math.abs(u(v[2])):1,S=h;E<x&&(k*=-1,S=m);var D=v.some(f);y=[];for(var T=x;S(T,E);T+=k){var O;if(A)"\\"===(O=String.fromCharCode(T))&&(O="");else if(O=String(T),D){var P=_-O.length;if(P>0){var L=new Array(P+1).join("0");O=T<0?"-"+L+O.slice(1):L+O}}y.push(O)}}else{y=[];for(var F=0;F<v.length;F++)y.push.apply(y,g(v[F],!1))}for(F=0;F<y.length;F++)for(l=0;l<s.length;l++){c=i+y[F]+s[l];(!t||C||c)&&n.push(c)}}return n}},3468:(e,t,n)=>{var r=n(4155);const o="object"==typeof r&&r&&"win32"===r.platform;e.exports=o?{sep:"\\"}:{sep:"/"}},7420:(e,t,n)=>{var r=n(5108);const o=e.exports=(e,t,n={})=>(v(t),!(!n.nocomment&&"#"===t.charAt(0))&&new b(t,n).match(e));e.exports=o;const i=n(3468);o.sep=i.sep;const a=Symbol("globstar **");o.GLOBSTAR=a;const s=n(4298),l={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},u="[^/]",c="[^/]*?",p=e=>e.split("").reduce(((e,t)=>(e[t]=!0,e)),{}),d=p("().*{}+?[]^$\\!"),f=p("[.("),h=/\/+/;o.filter=(e,t={})=>(n,r,i)=>o(n,e,t);const m=(e,t={})=>{const n={};return Object.keys(e).forEach((t=>n[t]=e[t])),Object.keys(t).forEach((e=>n[e]=t[e])),n};o.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return o;const t=o,n=(n,r,o)=>t(n,r,m(e,o));return(n.Minimatch=class extends t.Minimatch{constructor(t,n){super(t,m(e,n))}}).defaults=n=>t.defaults(m(e,n)).Minimatch,n.filter=(n,r)=>t.filter(n,m(e,r)),n.defaults=n=>t.defaults(m(e,n)),n.makeRe=(n,r)=>t.makeRe(n,m(e,r)),n.braceExpand=(n,r)=>t.braceExpand(n,m(e,r)),n.match=(n,r,o)=>t.match(n,r,m(e,o)),n},o.braceExpand=(e,t)=>g(e,t);const g=(e,t={})=>(v(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:s(e)),v=e=>{if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},y=Symbol("subparse");o.makeRe=(e,t)=>new b(e,t||{}).makeRe(),o.match=(e,t,n={})=>{const r=new b(t,n);return e=e.filter((e=>r.match(e))),r.options.nonull&&!e.length&&e.push(t),e};class b{constructor(e,t){v(e),t||(t={}),this.options=t,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){const e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();let n=this.globSet=this.braceExpand();t.debug&&(this.debug=(...e)=>r.error(...e)),this.debug(this.pattern,n),n=this.globParts=n.map((e=>e.split(h))),this.debug(this.pattern,n),n=n.map(((e,t,n)=>e.map(this.parse,this))),this.debug(this.pattern,n),n=n.filter((e=>-1===e.indexOf(!1))),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;const e=this.pattern;let t=!1,n=0;for(let r=0;r<e.length&&"!"===e.charAt(r);r++)t=!t,n++;n&&(this.pattern=e.substr(n)),this.negate=t}matchOne(e,t,n){var r=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,i=0,s=e.length,l=t.length;o<s&&i<l;o++,i++){this.debug("matchOne loop");var u,c=t[i],p=e[o];if(this.debug(t,c,p),!1===c)return!1;if(c===a){this.debug("GLOBSTAR",[t,c,p]);var d=o,f=i+1;if(f===l){for(this.debug("** at the end");o<s;o++)if("."===e[o]||".."===e[o]||!r.dot&&"."===e[o].charAt(0))return!1;return!0}for(;d<s;){var h=e[d];if(this.debug("\nglobstar while",e,d,t,f,h),this.matchOne(e.slice(d),t.slice(f),n))return this.debug("globstar found match!",d,s,h),!0;if("."===h||".."===h||!r.dot&&"."===h.charAt(0)){this.debug("dot detected!",e,d,t,f);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!n||(this.debug("\n>>> no match, partial?",e,d,t,f),d!==s))}if("string"==typeof c?(u=p===c,this.debug("string match",c,p,u)):(u=p.match(c),this.debug("pattern match",c,p,u)),!u)return!1}if(o===s&&i===l)return!0;if(o===s)return n;if(i===l)return o===s-1&&""===e[o];throw new Error("wtf?")}braceExpand(){return g(this.pattern,this.options)}parse(e,t){v(e);const n=this.options;if("**"===e){if(!n.noglobstar)return a;e="*"}if(""===e)return"";let r="",o=!!n.nocase,i=!1;const s=[],p=[];let h,m,g,b,A=!1,C=-1,w=-1;const x="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=()=>{if(h){switch(h){case"*":r+=c,o=!0;break;case"?":r+=u,o=!0;break;default:r+="\\"+h}this.debug("clearStateChar %j %j",h,r),h=!1}};for(let t,a=0;a<e.length&&(t=e.charAt(a));a++)if(this.debug("%s\t%s %s %j",e,a,r,t),i){if("/"===t)return!1;d[t]&&(r+="\\"),r+=t,i=!1}else switch(t){case"/":return!1;case"\\":E(),i=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,a,r,t),A){this.debug("  in class"),"!"===t&&a===w+1&&(t="^"),r+=t;continue}this.debug("call clearStateChar %j",h),E(),h=t,n.noext&&E();continue;case"(":if(A){r+="(";continue}if(!h){r+="\\(";continue}s.push({type:h,start:a-1,reStart:r.length,open:l[h].open,close:l[h].close}),r+="!"===h?"(?:(?!(?:":"(?:",this.debug("plType %j %j",h,r),h=!1;continue;case")":if(A||!s.length){r+="\\)";continue}E(),o=!0,g=s.pop(),r+=g.close,"!"===g.type&&p.push(g),g.reEnd=r.length;continue;case"|":if(A||!s.length){r+="\\|";continue}E(),r+="|";continue;case"[":if(E(),A){r+="\\"+t;continue}A=!0,w=a,C=r.length,r+=t;continue;case"]":if(a===w+1||!A){r+="\\"+t;continue}m=e.substring(w+1,a);try{RegExp("["+m+"]")}catch(e){b=this.parse(m,y),r=r.substr(0,C)+"\\["+b[0]+"\\]",o=o||b[1],A=!1;continue}o=!0,A=!1,r+=t;continue;default:E(),!d[t]||"^"===t&&A||(r+="\\"),r+=t}for(A&&(m=e.substr(w+1),b=this.parse(m,y),r=r.substr(0,C)+"\\["+b[0],o=o||b[1]),g=s.pop();g;g=s.pop()){let e;e=r.slice(g.reStart+g.open.length),this.debug("setting tail",r,g),e=e.replace(/((?:\\{2}){0,64})(\\?)\|/g,((e,t,n)=>(n||(n="\\"),t+t+n+"|"))),this.debug("tail=%j\n   %s",e,e,g,r);const t="*"===g.type?c:"?"===g.type?u:"\\"+g.type;o=!0,r=r.slice(0,g.reStart)+t+"\\("+e}E(),i&&(r+="\\\\");const _=f[r.charAt(0)];for(let e=p.length-1;e>-1;e--){const n=p[e],o=r.slice(0,n.reStart),i=r.slice(n.reStart,n.reEnd-8);let a=r.slice(n.reEnd);const s=r.slice(n.reEnd-8,n.reEnd)+a,l=o.split("(").length-1;let u=a;for(let e=0;e<l;e++)u=u.replace(/\)[+*?]?/,"");a=u;r=o+i+a+(""===a&&t!==y?"$":"")+s}if(""!==r&&o&&(r="(?=.)"+r),_&&(r=x+r),t===y)return[r,o];if(!o)return(e=>e.replace(/\\(.)/g,"$1"))(e);const k=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+r+"$",k),{_glob:e,_src:r})}catch(e){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const t=this.options,n=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=t.nocase?"i":"";let o=e.map((e=>(e=e.map((e=>"string"==typeof e?(e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(e):e===a?a:e._src)).reduce(((e,t)=>(e[e.length-1]===a&&t===a||e.push(t),e)),[]),e.forEach(((t,r)=>{t===a&&e[r-1]!==a&&(0===r?e.length>1?e[r+1]="(?:\\/|"+n+"\\/)?"+e[r+1]:e[r]=n:r===e.length-1?e[r-1]+="(?:\\/|"+n+")?":(e[r-1]+="(?:\\/|\\/"+n+"\\/)"+e[r+1],e[r+1]=a))})),e.filter((e=>e!==a)).join("/")))).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,r)}catch(e){this.regexp=!1}return this.regexp}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;const n=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(h),this.debug(this.pattern,"split",e);const r=this.set;let o;this.debug(this.pattern,"set",r);for(let t=e.length-1;t>=0&&(o=e[t],!o);t--);for(let i=0;i<r.length;i++){const a=r[i];let s=e;n.matchBase&&1===a.length&&(s=[o]);if(this.matchOne(s,a,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(e){return o.defaults(e).Minimatch}}o.Minimatch=b},362:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo="},7990:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo="},8227:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiIgdmVyc2lvbj0iMS4xIiB2aWV3Ym94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0yIDJjLTAuNTU0IDAtMSAwLjQ0Ni0xIDFzMC40NDYgMSAxIDFoMTJjMC41NTQgMCAxLTAuNDQ2IDEtMXMtMC40NDYtMS0xLTFoLTEyem05LjcxNyA0LjAwNTljLTEuMjQ3IDAtMi4xNDI4IDEuMDE5OS0yLjE0MjggMS45OTggMCAwLjk5OTUgMC4wNzI2IDEuNzEyNyAwLjU3MTggMi40OTgxIDAuMTYgMC4yMDcgMC4zNDcgMC4yNTEgMC41IDAuNDMgMC4wOTcgMC4zNTcgMC4xNzEgMC43MTMgMC4wNzEgMS4wNy0wLjMxMSAwLjEwOS0wLjYwNyAwLjIzNy0wLjkwNjUgMC4zNTctMC4zNjQtMC4xOTUtMC43ODYzLTAuMzU3LTEuMTUwMy0wLjUtMC4wNS0wLjItMC4wMTI5LTAuMzQ3IDAuMDM3MS0wLjUzNSAwLjA4NTYtMC4wODkgMC4xNjMtMC4xMjkgMC4yNTU4LTAuMjE1IDAuMjY0Mi0wLjMyMSAwLjI3OTMtMC44NjQgMC4yNzkzLTEuMjQ5NiAwLTAuNTcxMi0wLjUxMzUtMC45OTgxLTEuMDcwMy0wLjk5ODEtMC42MjExIDAtMS4wNzIzIDAuNTEyNi0xLjA3MjMgMC45OTgxaC0wLjAxMzZjMCAwLjQ5OTYgMC4wMzUzIDAuODU3NiAwLjI4NTEgMS4yNDk2IDAuMDcxNCAwLjEwNyAwLjE3MjkgMC4xMjYgMC4yNSAwLjIxNSAwLjA0ODEgMC4xNzkgMC4wODU5IDAuMzU3IDAuMDM1MiAwLjUzNS0wLjQ1NjkgMC4xNi0wLjg4NjMgMC4zNTctMS4yODMyIDAuNTcxLTAuMjk5OSAwLjIxNC0wLjE2NjggMC4xMzEtMC4zNTc0IDAuODIyLTAuMDg4NiAwLjM1NyAwLjkyOCAwLjUyMSAxLjY1NjIgMC41NzgtMC4wMzU3IDAuMTk2LTAuMDg1NyAwLjQ1Ny0wLjIyODUgMC45NTctMC4yMjg1IDAuODkzIDMuMTA3NCAxLjIxMyA0LjI4MzQgMS4yMTMgMS43MzUgMCA0LjUwNy0wLjMyNSA0LjI2OS0xLjIxMy0wLjM3MS0xLjM4NS0wLjE1LTEuMjIxLTAuNzAxLTEuNjQyLTAuNzc4LTAuNDY3LTEuNzQ5LTAuODM0LTIuNTY4LTEuMTQzLTAuMTA3LTAuMzk4LTAuMDMtMC42OTIgMC4wNy0xLjA3IDAuMTY4LTAuMTc5IDAuMzU3LTAuMjU5IDAuNTE0LTAuNDMgMC40OTItMC42MzEyIDAuNTU2LTEuNzI5OSAwLjU1Ni0yLjQ5ODEgMC0xLjEzMjMtMS4wMTktMS45OTgtMi4xNC0xLjk5OHptLTkuNzE3IDAuOTk0MWMtMC41NTQgMC0xIDAuNDQ2LTEgMXMwLjQ0NiAxIDEgMWg0LjI4NTJjMC4wODkxLTAuMTg1NSAwLjItMC4zNjQ4IDAuMzUxNS0wLjUxOTUgMC4zNzIxLTAuMzgwMSAwLjkxNzEtMC41OTg4IDEuNDg4My0wLjYxOTJoMC4wMDk4IDAuMDA5N2MwLjE3MjkgMC4wMTcgMC4zMDQyIDAuMDU5NyAwLjQyOTcgMC4xNDI2IDAtMC4zNDg4IDAuMDc0Ny0wLjY4NTMgMC4xOTUzLTEuMDAzOWgtNi43Njk1em0wIDVjLTAuNTU0IDAtMSAwLjQ0Ni0xIDFzMC40NDYgMSAxIDFoMy4yNWMtMC4wMzc1LTAuMDQ5LTAuMDc3Ny0wLjA5LTAuMTExMy0wLjE1Mi0wLjEyMjEtMC4yMjgtMC4xNzA2LTAuNTY4LTAuMTAzNS0wLjgzOGwwLjAwMTktMC4wMTIgMC4wMDM5LTAuMDEyYzAuMDgyMi0wLjI5OCAwLjA1NTYtMC4zMjIgMC4xNDQ1LTAuNjE1IDAuMDMxMy0wLjEwMyAwLjExMTQtMC4yNDUgMC4xOTkzLTAuMzcxaC0zLjM4NDh6IiBmaWxsPSIjZmZmIi8+PC9zdmc+Cg=="},9996:()=>{},9932:()=>{}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/apps/viewer/js/",r.b=document.baseURI||self.location.href,(()=>{"use strict";var e={};r.r(e),r.d(e,{appendChild:()=>Ox,appendChildToContainer:()=>Px,appendInitialChild:()=>cx,cancelTimeout:()=>Ex,clearContainer:()=>Hx,commitMount:()=>Nx,commitTextUpdate:()=>Ix,commitUpdate:()=>Mx,createInstance:()=>px,createTextInstance:()=>dx,detachDeletedInstance:()=>qx,finalizeInitialChildren:()=>fx,getChildHostContext:()=>wx,getCurrentEventPriority:()=>Vx,getPublicInstance:()=>hx,getRootHostContext:()=>Cx,hideInstance:()=>Rx,hideTextInstance:()=>zx,idlePriority:()=>ax.unstable_IdlePriority,insertBefore:()=>Lx,insertInContainerBefore:()=>Fx,isPrimaryRenderer:()=>Sx,noTimeout:()=>_x,now:()=>ax.unstable_now,prepareForCommit:()=>mx,preparePortalMount:()=>gx,prepareUpdate:()=>vx,removeChild:()=>jx,removeChildFromContainer:()=>Bx,resetAfterCommit:()=>yx,resetTextContent:()=>bx,run:()=>ax.unstable_runWithPriority,scheduleTimeout:()=>xx,shouldDeprioritizeSubtree:()=>Ax,shouldSetTextContent:()=>kx,supportsMutation:()=>Tx,unhideInstance:()=>Ux,unhideTextInstance:()=>$x,warnsIfNotActing:()=>Dx});var n={};r.r(n),r.d(n,{Aden:()=>JE,Amaro:()=>n_,Ashby:()=>W_,BlackAndWhite:()=>ME,Brannan:()=>k_,Brooklyn:()=>H_,Charmes:()=>Y_,Clarendon:()=>zE,Crema:()=>XE,Dogpatch:()=>U_,Earlybird:()=>E_,Gingham:()=>UE,Ginza:()=>R_,Hefe:()=>v_,Helena:()=>V_,Hudson:()=>l_,Juno:()=>WE,Kelvin:()=>I_,Lark:()=>qE,LoFi:()=>g_,Ludwig:()=>KE,Maven:()=>M_,Mayfair:()=>o_,Moon:()=>$E,Nashville:()=>b_,NinteenSeventySeven:()=>F_,Perpetua:()=>t_,Reyes:()=>VE,Rise:()=>a_,Sierra:()=>f_,Skyline:()=>z_,Slumber:()=>ZE,Stinson:()=>A_,Sutro:()=>S_,Toaster:()=>T_,Valencia:()=>c_,Vesper:()=>w_,Walden:()=>P_,Willow:()=>m_,XPro2:()=>d_});var o={};r.r(o),r.d(o,{CustomThreshold:()=>Q_,Warmth:()=>K_});var i=r(144),a=r(9296),s=r.n(a),l=r(7562),u=r.n(l),c=r(4140),p=r.n(c),d=r(5108);function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(){function e(t){f(this,e),g(this,"bus",void 0),"function"==typeof t.getVersion&&u()(t.getVersion())?p()(t.getVersion())!==p()(this.getVersion())&&d.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):d.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return m(e,[{key:"getVersion",value:function(){return"3.0.2"}},{key:"subscribe",value:function(e,t){this.bus.subscribe(e,t)}},{key:"unsubscribe",value:function(e,t){this.bus.unsubscribe(e,t)}},{key:"emit",value:function(e,t){this.bus.emit(e,t)}}]),e}(),y=function(){function e(){f(this,e),g(this,"handlers",new Map)}return m(e,[{key:"getVersion",value:function(){return"3.0.2"}},{key:"subscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}},{key:"unsubscribe",value:function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))}},{key:"emit",value:function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){d.error("could not invoke event listener",e)}}))}}]),e}();var b=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(d.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new v(window._nc_event_bus):window._nc_event_bus=new y);function A(e,t){b.subscribe(e,t)}function C(e,t){b.unsubscribe(e,t)}function w(e,t){b.emit(e,t)}var x=r(5108);const E=document.getElementsByTagName("head")[0];let _=E?E.getAttribute("data-requesttoken"):null;const k=[];A("csrf-token-update",(e=>{_=e.token,k.forEach((t=>{try{t(e.token)}catch(e){x.error("error updating CSRF token observer",e)}}))}));const S=(e,t)=>e?e.getAttribute(t):null,D=document.getElementsByTagName("head")[0],T=S(D,"data-user"),O=S(D,"data-user-displayname"),P="undefined"!=typeof OC&&OC.isUserAdmin();function L(){return null===T?null:{uid:T,displayName:O,isAdmin:P}}const F=s().create({headers:{requesttoken:_??""}}),j=Object.assign(F,{CancelToken:s().CancelToken,isCancel:s().isCancel});var B;B=e=>F.defaults.headers.requesttoken=e,k.push(B);var I=r(3379),N=r.n(I),M=r(7795),R=r.n(M),z=r(569),U=r.n(z),$=r(3565),H=r.n($),q=r(9216),V=r.n(q),G=r(4589),W=r.n(G),Z=r(2966),Y={};Y.styleTagTransform=W(),Y.setAttributes=H(),Y.insert=U().bind(null,"head"),Y.domAPI=R(),Y.insertStyleElement=V();N()(Z.Z,Y);Z.Z&&Z.Z.locals&&Z.Z.locals;var X=r(4155),K=r(5108);function Q(e){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(e)}!function(){var e={TRANSLATIONS:[{locale:"ar",json:{charset:"utf-8",headers:{"Last-Translator":"S1 SYSTEMS | BP <info@s1.sa>, 2020","Language-Team":"Arabic (https://www.transifex.com/nextcloud/teams/64236/ar/)","Content-Type":"text/plain; charset=UTF-8",Language:"ar","Plural-Forms":"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nS1 SYSTEMS | BP <info@s1.sa>, 2020\n"},msgstr:["Last-Translator: S1 SYSTEMS | BP <info@s1.sa>, 2020\nLanguage-Team: Arabic (https://www.transifex.com/nextcloud/teams/64236/ar/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ar\nPlural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["تراجع"]}}}}},{locale:"ast",json:{charset:"utf-8",headers:{"Last-Translator":"enolp <enolp@softastur.org>, 2020","Language-Team":"Asturian (https://www.transifex.com/nextcloud/teams/64236/ast/)","Content-Type":"text/plain; charset=UTF-8",Language:"ast","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nenolp <enolp@softastur.org>, 2020\n"},msgstr:["Last-Translator: enolp <enolp@softastur.org>, 2020\nLanguage-Team: Asturian (https://www.transifex.com/nextcloud/teams/64236/ast/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ast\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfacer"]}}}}},{locale:"br",json:{charset:"utf-8",headers:{"Last-Translator":"Kervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020","Language-Team":"Breton (https://www.transifex.com/nextcloud/teams/64236/br/)","Content-Type":"text/plain; charset=UTF-8",Language:"br","Plural-Forms":"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nKervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020\n"},msgstr:["Last-Translator: Kervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020\nLanguage-Team: Breton (https://www.transifex.com/nextcloud/teams/64236/br/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: br\nPlural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Disober"]}}}}},{locale:"ca",json:{charset:"utf-8",headers:{"Last-Translator":"Marc Riera <marcriera@softcatala.org>, 2020","Language-Team":"Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)","Content-Type":"text/plain; charset=UTF-8",Language:"ca","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMarc Riera <marcriera@softcatala.org>, 2020\n"},msgstr:["Last-Translator: Marc Riera <marcriera@softcatala.org>, 2020\nLanguage-Team: Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ca\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfés"]}}}}},{locale:"cs",json:{charset:"utf-8",headers:{"Last-Translator":"Pavel Borecki <pavel.borecki@gmail.com>, 2020","Language-Team":"Czech (https://www.transifex.com/nextcloud/teams/64236/cs/)","Content-Type":"text/plain; charset=UTF-8",Language:"cs","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n"},msgstr:["Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (https://www.transifex.com/nextcloud/teams/64236/cs/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Zpět"]}}}}},{locale:"cs_CZ",json:{charset:"utf-8",headers:{"Last-Translator":"Pavel Borecki <pavel.borecki@gmail.com>, 2020","Language-Team":"Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)","Content-Type":"text/plain; charset=UTF-8",Language:"cs_CZ","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n"},msgstr:["Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Zpět"]}}}}},{locale:"da",json:{charset:"utf-8",headers:{"Last-Translator":"Martin Bonde <Martin@maboni.dk>, 2020","Language-Team":"Danish (https://www.transifex.com/nextcloud/teams/64236/da/)","Content-Type":"text/plain; charset=UTF-8",Language:"da","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMartin Bonde <Martin@maboni.dk>, 2020\n"},msgstr:["Last-Translator: Martin Bonde <Martin@maboni.dk>, 2020\nLanguage-Team: Danish (https://www.transifex.com/nextcloud/teams/64236/da/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: da\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Fortryd"]}}}}},{locale:"de",json:{charset:"utf-8",headers:{"Last-Translator":"Mark Ziegler <mark.ziegler@rakekniven.de>, 2020","Language-Team":"German (https://www.transifex.com/nextcloud/teams/64236/de/)","Content-Type":"text/plain; charset=UTF-8",Language:"de","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\n"},msgstr:["Last-Translator: Mark Ziegler <mark.ziegler@rakekniven.de>, 2020\nLanguage-Team: German (https://www.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Rückgängig"]}}}}},{locale:"de_DE",json:{charset:"utf-8",headers:{"Last-Translator":"Gustav Gyges, 2021","Language-Team":"German (Germany) (https://www.transifex.com/nextcloud/teams/64236/de_DE/)","Content-Type":"text/plain; charset=UTF-8",Language:"de_DE","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nGustav Gyges, 2021\n"},msgstr:["Last-Translator: Gustav Gyges, 2021\nLanguage-Team: German (Germany) (https://www.transifex.com/nextcloud/teams/64236/de_DE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de_DE\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Rückgängig machen"]}}}}},{locale:"el",json:{charset:"utf-8",headers:{"Last-Translator":"ByteGet, 2020","Language-Team":"Greek (https://www.transifex.com/nextcloud/teams/64236/el/)","Content-Type":"text/plain; charset=UTF-8",Language:"el","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nByteGet, 2020\n"},msgstr:["Last-Translator: ByteGet, 2020\nLanguage-Team: Greek (https://www.transifex.com/nextcloud/teams/64236/el/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: el\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Αναίρεση"]}}}}},{locale:"en_GB",json:{charset:"utf-8",headers:{"Last-Translator":"Jeff Gunn <planemastr1@gmail.com>, 2021","Language-Team":"English (United Kingdom) (https://www.transifex.com/nextcloud/teams/64236/en_GB/)","Content-Type":"text/plain; charset=UTF-8",Language:"en_GB","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJeff Gunn <planemastr1@gmail.com>, 2021\n"},msgstr:["Last-Translator: Jeff Gunn <planemastr1@gmail.com>, 2021\nLanguage-Team: English (United Kingdom) (https://www.transifex.com/nextcloud/teams/64236/en_GB/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: en_GB\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Undo"]}}}}},{locale:"eo",json:{charset:"utf-8",headers:{"Last-Translator":"Va Milushnikov <va.milushnikov@gmail.com>, 2020","Language-Team":"Esperanto (https://www.transifex.com/nextcloud/teams/64236/eo/)","Content-Type":"text/plain; charset=UTF-8",Language:"eo","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nVa Milushnikov <va.milushnikov@gmail.com>, 2020\n"},msgstr:["Last-Translator: Va Milushnikov <va.milushnikov@gmail.com>, 2020\nLanguage-Team: Esperanto (https://www.transifex.com/nextcloud/teams/64236/eo/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: eo\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Malfari"]}}}}},{locale:"es",json:{charset:"utf-8",headers:{"Last-Translator":"Gabriel Anca <gabrielancacorral@gmail.com>, 2020","Language-Team":"Spanish (https://www.transifex.com/nextcloud/teams/64236/es/)","Content-Type":"text/plain; charset=UTF-8",Language:"es","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nGabriel Anca <gabrielancacorral@gmail.com>, 2020\n"},msgstr:["Last-Translator: Gabriel Anca <gabrielancacorral@gmail.com>, 2020\nLanguage-Team: Spanish (https://www.transifex.com/nextcloud/teams/64236/es/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Deshacer"]}}}}},{locale:"es_AR",json:{charset:"utf-8",headers:{"Last-Translator":"Matias Iglesias, 2022","Language-Team":"Spanish (Argentina) (https://www.transifex.com/nextcloud/teams/64236/es_AR/)","Content-Type":"text/plain; charset=UTF-8",Language:"es_AR","Plural-Forms":"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMatias Iglesias, 2022\n"},msgstr:["Last-Translator: Matias Iglesias, 2022\nLanguage-Team: Spanish (Argentina) (https://www.transifex.com/nextcloud/teams/64236/es_AR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: es_AR\nPlural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:["Deshacer"]}}}}},{locale:"eu",json:{charset:"utf-8",headers:{"Last-Translator":"Unai Tolosa Pontesta <utolosa002@gmail.com>, 2021","Language-Team":"Basque (https://www.transifex.com/nextcloud/teams/64236/eu/)","Content-Type":"text/plain; charset=UTF-8",Language:"eu","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nUnai Tolosa Pontesta <utolosa002@gmail.com>, 2021\n"},msgstr:["Last-Translator: Unai Tolosa Pontesta <utolosa002@gmail.com>, 2021\nLanguage-Team: Basque (https://www.transifex.com/nextcloud/teams/64236/eu/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: eu\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Desegin"]}}}}},{locale:"fa",json:{charset:"utf-8",headers:{"Last-Translator":"Mostafa Ahangarha <ahangarha@riseup.net>, 2020","Language-Team":"Persian (https://www.transifex.com/nextcloud/teams/64236/fa/)","Content-Type":"text/plain; charset=UTF-8",Language:"fa","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMostafa Ahangarha <ahangarha@riseup.net>, 2020\n"},msgstr:["Last-Translator: Mostafa Ahangarha <ahangarha@riseup.net>, 2020\nLanguage-Team: Persian (https://www.transifex.com/nextcloud/teams/64236/fa/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fa\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["بازگردانی"]}}}}},{locale:"fi_FI",json:{charset:"utf-8",headers:{"Last-Translator":"teemue, 2020","Language-Team":"Finnish (Finland) (https://www.transifex.com/nextcloud/teams/64236/fi_FI/)","Content-Type":"text/plain; charset=UTF-8",Language:"fi_FI","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nteemue, 2020\n"},msgstr:["Last-Translator: teemue, 2020\nLanguage-Team: Finnish (Finland) (https://www.transifex.com/nextcloud/teams/64236/fi_FI/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fi_FI\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Kumoa"]}}}}},{locale:"fr",json:{charset:"utf-8",headers:{"Last-Translator":"John Molakvoæ <skjnldsv@protonmail.com>, 2020","Language-Team":"French (https://www.transifex.com/nextcloud/teams/64236/fr/)","Content-Type":"text/plain; charset=UTF-8",Language:"fr","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJohn Molakvoæ <skjnldsv@protonmail.com>, 2020\n"},msgstr:["Last-Translator: John Molakvoæ <skjnldsv@protonmail.com>, 2020\nLanguage-Team: French (https://www.transifex.com/nextcloud/teams/64236/fr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fr\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Annuler"]}}}}},{locale:"gl",json:{charset:"utf-8",headers:{"Last-Translator":"Miguel Anxo Bouzada <mbouzada@gmail.com>, 2020","Language-Team":"Galician (https://www.transifex.com/nextcloud/teams/64236/gl/)","Content-Type":"text/plain; charset=UTF-8",Language:"gl","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMiguel Anxo Bouzada <mbouzada@gmail.com>, 2020\n"},msgstr:["Last-Translator: Miguel Anxo Bouzada <mbouzada@gmail.com>, 2020\nLanguage-Team: Galician (https://www.transifex.com/nextcloud/teams/64236/gl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: gl\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfacer"]}}}}},{locale:"he",json:{charset:"utf-8",headers:{"Last-Translator":"Yaron Shahrabani <sh.yaron@gmail.com>, 2020","Language-Team":"Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)","Content-Type":"text/plain; charset=UTF-8",Language:"he","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nYaron Shahrabani <sh.yaron@gmail.com>, 2020\n"},msgstr:["Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>, 2020\nLanguage-Team: Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: he\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["ביטול"]}}}}},{locale:"hu_HU",json:{charset:"utf-8",headers:{"Last-Translator":"Balázs Meskó <meskobalazs@mailbox.org>, 2021","Language-Team":"Hungarian (Hungary) (https://www.transifex.com/nextcloud/teams/64236/hu_HU/)","Content-Type":"text/plain; charset=UTF-8",Language:"hu_HU","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nBalázs Meskó <meskobalazs@mailbox.org>, 2021\n"},msgstr:["Last-Translator: Balázs Meskó <meskobalazs@mailbox.org>, 2021\nLanguage-Team: Hungarian (Hungary) (https://www.transifex.com/nextcloud/teams/64236/hu_HU/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: hu_HU\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Visszavonás"]}}}}},{locale:"id",json:{charset:"utf-8",headers:{"Last-Translator":"agus sutrisno <agussutrisno@smamsa.sch.id>, 2020","Language-Team":"Indonesian (https://www.transifex.com/nextcloud/teams/64236/id/)","Content-Type":"text/plain; charset=UTF-8",Language:"id","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nagus sutrisno <agussutrisno@smamsa.sch.id>, 2020\n"},msgstr:["Last-Translator: agus sutrisno <agussutrisno@smamsa.sch.id>, 2020\nLanguage-Team: Indonesian (https://www.transifex.com/nextcloud/teams/64236/id/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: id\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Tidak jadi"]}}}}},{locale:"is",json:{charset:"utf-8",headers:{"Last-Translator":"Sveinn í Felli <sv1@fellsnet.is>, 2020","Language-Team":"Icelandic (https://www.transifex.com/nextcloud/teams/64236/is/)","Content-Type":"text/plain; charset=UTF-8",Language:"is","Plural-Forms":"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nSveinn í Felli <sv1@fellsnet.is>, 2020\n"},msgstr:["Last-Translator: Sveinn í Felli <sv1@fellsnet.is>, 2020\nLanguage-Team: Icelandic (https://www.transifex.com/nextcloud/teams/64236/is/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: is\nPlural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Afturkalla"]}}}}},{locale:"it",json:{charset:"utf-8",headers:{"Last-Translator":"Vincenzo Reale <vinx.reale@gmail.com>, 2020","Language-Team":"Italian (https://www.transifex.com/nextcloud/teams/64236/it/)","Content-Type":"text/plain; charset=UTF-8",Language:"it","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nVincenzo Reale <vinx.reale@gmail.com>, 2020\n"},msgstr:["Last-Translator: Vincenzo Reale <vinx.reale@gmail.com>, 2020\nLanguage-Team: Italian (https://www.transifex.com/nextcloud/teams/64236/it/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: it\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Annulla"]}}}}},{locale:"ja_JP",json:{charset:"utf-8",headers:{"Last-Translator":"323484, 2020","Language-Team":"Japanese (Japan) (https://www.transifex.com/nextcloud/teams/64236/ja_JP/)","Content-Type":"text/plain; charset=UTF-8",Language:"ja_JP","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\n323484, 2020\n"},msgstr:["Last-Translator: 323484, 2020\nLanguage-Team: Japanese (Japan) (https://www.transifex.com/nextcloud/teams/64236/ja_JP/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ja_JP\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["元に戻す"]}}}}},{locale:"kab",json:{charset:"utf-8",headers:{"Last-Translator":"ZiriSut, 2021","Language-Team":"Kabyle (https://www.transifex.com/nextcloud/teams/64236/kab/)","Content-Type":"text/plain; charset=UTF-8",Language:"kab","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nZiriSut, 2021\n"},msgstr:["Last-Translator: ZiriSut, 2021\nLanguage-Team: Kabyle (https://www.transifex.com/nextcloud/teams/64236/kab/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: kab\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Sefsex"]}}}}},{locale:"ko",json:{charset:"utf-8",headers:{"Last-Translator":"Brandon Han, 2021","Language-Team":"Korean (https://www.transifex.com/nextcloud/teams/64236/ko/)","Content-Type":"text/plain; charset=UTF-8",Language:"ko","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nBrandon Han, 2021\n"},msgstr:["Last-Translator: Brandon Han, 2021\nLanguage-Team: Korean (https://www.transifex.com/nextcloud/teams/64236/ko/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ko\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["되돌리기"]}}}}},{locale:"lt_LT",json:{charset:"utf-8",headers:{"Last-Translator":"Moo, 2020","Language-Team":"Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)","Content-Type":"text/plain; charset=UTF-8",Language:"lt_LT","Plural-Forms":"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMoo, 2020\n"},msgstr:["Last-Translator: Moo, 2020\nLanguage-Team: Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lt_LT\nPlural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Atšaukti"]}}}}},{locale:"mk",json:{charset:"utf-8",headers:{"Last-Translator":"Сашко Тодоров, 2020","Language-Team":"Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)","Content-Type":"text/plain; charset=UTF-8",Language:"mk","Plural-Forms":"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nСашко Тодоров, 2020\n"},msgstr:["Last-Translator: Сашко Тодоров, 2020\nLanguage-Team: Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mk\nPlural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Врати"]}}}}},{locale:"mn",json:{charset:"utf-8",headers:{"Last-Translator":"BATKHUYAG Ganbold <gbatkhuyag@gmail.com>, 2022","Language-Team":"Mongolian (https://www.transifex.com/nextcloud/teams/64236/mn/)","Content-Type":"text/plain; charset=UTF-8",Language:"mn","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nBATKHUYAG Ganbold <gbatkhuyag@gmail.com>, 2022\n"},msgstr:["Last-Translator: BATKHUYAG Ganbold <gbatkhuyag@gmail.com>, 2022\nLanguage-Team: Mongolian (https://www.transifex.com/nextcloud/teams/64236/mn/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mn\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Буцаах"]}}}}},{locale:"mr",json:{charset:"utf-8",headers:{"Last-Translator":"Vinit Dhabre <VINIT@ymail.com>, 2021","Language-Team":"Marathi (https://www.transifex.com/nextcloud/teams/64236/mr/)","Content-Type":"text/plain; charset=UTF-8",Language:"mr","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nVinit Dhabre <VINIT@ymail.com>, 2021\n"},msgstr:["Last-Translator: Vinit Dhabre <VINIT@ymail.com>, 2021\nLanguage-Team: Marathi (https://www.transifex.com/nextcloud/teams/64236/mr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mr\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["पूर्ववत करा"]}}}}},{locale:"my",json:{charset:"utf-8",headers:{"Last-Translator":"Htike Aung Kyaw <htikeagkyaw@gmail.com>, 2021","Language-Team":"Burmese (https://www.transifex.com/nextcloud/teams/64236/my/)","Content-Type":"text/plain; charset=UTF-8",Language:"my","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nHtike Aung Kyaw <htikeagkyaw@gmail.com>, 2021\n"},msgstr:["Last-Translator: Htike Aung Kyaw <htikeagkyaw@gmail.com>, 2021\nLanguage-Team: Burmese (https://www.transifex.com/nextcloud/teams/64236/my/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: my\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["နဂိုအတိုင်းပြန်ထားရန်"]}}}}},{locale:"nb_NO",json:{charset:"utf-8",headers:{"Last-Translator":"sverre.vikan <sverre.vikan@gmail.com>, 2020","Language-Team":"Norwegian Bokmål (Norway) (https://www.transifex.com/nextcloud/teams/64236/nb_NO/)","Content-Type":"text/plain; charset=UTF-8",Language:"nb_NO","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nsverre.vikan <sverre.vikan@gmail.com>, 2020\n"},msgstr:["Last-Translator: sverre.vikan <sverre.vikan@gmail.com>, 2020\nLanguage-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/nextcloud/teams/64236/nb_NO/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: nb_NO\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Angre"]}}}}},{locale:"nl",json:{charset:"utf-8",headers:{"Last-Translator":"Robin Slot, 2020","Language-Team":"Dutch (https://www.transifex.com/nextcloud/teams/64236/nl/)","Content-Type":"text/plain; charset=UTF-8",Language:"nl","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nRobin Slot, 2020\n"},msgstr:["Last-Translator: Robin Slot, 2020\nLanguage-Team: Dutch (https://www.transifex.com/nextcloud/teams/64236/nl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: nl\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Ongedaan maken"]}}}}},{locale:"oc",json:{charset:"utf-8",headers:{"Last-Translator":"Quentin PAGÈS, 2020","Language-Team":"Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)","Content-Type":"text/plain; charset=UTF-8",Language:"oc","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nQuentin PAGÈS, 2020\n"},msgstr:["Last-Translator: Quentin PAGÈS, 2020\nLanguage-Team: Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: oc\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Anullar"]}}}}},{locale:"pl",json:{charset:"utf-8",headers:{"Last-Translator":"Robert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020","Language-Team":"Polish (https://www.transifex.com/nextcloud/teams/64236/pl/)","Content-Type":"text/plain; charset=UTF-8",Language:"pl","Plural-Forms":"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nRobert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020\n"},msgstr:["Last-Translator: Robert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020\nLanguage-Team: Polish (https://www.transifex.com/nextcloud/teams/64236/pl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pl\nPlural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Cofnij"]}}}}},{locale:"pt_BR",json:{charset:"utf-8",headers:{"Last-Translator":"Paulo Schopf, 2020","Language-Team":"Portuguese (Brazil) (https://www.transifex.com/nextcloud/teams/64236/pt_BR/)","Content-Type":"text/plain; charset=UTF-8",Language:"pt_BR","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPaulo Schopf, 2020\n"},msgstr:["Last-Translator: Paulo Schopf, 2020\nLanguage-Team: Portuguese (Brazil) (https://www.transifex.com/nextcloud/teams/64236/pt_BR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pt_BR\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfazer"]}}}}},{locale:"ro",json:{charset:"utf-8",headers:{"Last-Translator":"Mădălin Vasiliu <contact@madalinvasiliu.com>, 2022","Language-Team":"Romanian (https://www.transifex.com/nextcloud/teams/64236/ro/)","Content-Type":"text/plain; charset=UTF-8",Language:"ro","Plural-Forms":"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMădălin Vasiliu <contact@madalinvasiliu.com>, 2022\n"},msgstr:["Last-Translator: Mădălin Vasiliu <contact@madalinvasiliu.com>, 2022\nLanguage-Team: Romanian (https://www.transifex.com/nextcloud/teams/64236/ro/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ro\nPlural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:193"},msgstr:["Anulează"]}}}}},{locale:"ru",json:{charset:"utf-8",headers:{"Last-Translator":"Andrey Atapin <atab@kirovedu.ru>, 2020","Language-Team":"Russian (https://www.transifex.com/nextcloud/teams/64236/ru/)","Content-Type":"text/plain; charset=UTF-8",Language:"ru","Plural-Forms":"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nAndrey Atapin <atab@kirovedu.ru>, 2020\n"},msgstr:["Last-Translator: Andrey Atapin <atab@kirovedu.ru>, 2020\nLanguage-Team: Russian (https://www.transifex.com/nextcloud/teams/64236/ru/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ru\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Отменить"]}}}}},{locale:"si",json:{charset:"utf-8",headers:{"Last-Translator":"Hela Basa, 2021","Language-Team":"Sinhala (https://www.transifex.com/nextcloud/teams/64236/si/)","Content-Type":"text/plain; charset=UTF-8",Language:"si","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nHela Basa, 2021\n"},msgstr:["Last-Translator: Hela Basa, 2021\nLanguage-Team: Sinhala (https://www.transifex.com/nextcloud/teams/64236/si/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: si\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["පෙරසේ"]}}}}},{locale:"sk_SK",json:{charset:"utf-8",headers:{"Last-Translator":"vladimirjendrol <vlado@jendrol.sk>, 2020","Language-Team":"Slovak (Slovakia) (https://www.transifex.com/nextcloud/teams/64236/sk_SK/)","Content-Type":"text/plain; charset=UTF-8",Language:"sk_SK","Plural-Forms":"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nvladimirjendrol <vlado@jendrol.sk>, 2020\n"},msgstr:["Last-Translator: vladimirjendrol <vlado@jendrol.sk>, 2020\nLanguage-Team: Slovak (Slovakia) (https://www.transifex.com/nextcloud/teams/64236/sk_SK/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sk_SK\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Späť"]}}}}},{locale:"sl",json:{charset:"utf-8",headers:{"Last-Translator":"Matej Urbančič <>, 2020","Language-Team":"Slovenian (https://www.transifex.com/nextcloud/teams/64236/sl/)","Content-Type":"text/plain; charset=UTF-8",Language:"sl","Plural-Forms":"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMatej Urbančič <>, 2020\n"},msgstr:["Last-Translator: Matej Urbančič <>, 2020\nLanguage-Team: Slovenian (https://www.transifex.com/nextcloud/teams/64236/sl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sl\nPlural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Razveljavi"]}}}}},{locale:"sr",json:{charset:"utf-8",headers:{"Last-Translator":"aleksandar jevtic, 2022","Language-Team":"Serbian (https://www.transifex.com/nextcloud/teams/64236/sr/)","Content-Type":"text/plain; charset=UTF-8",Language:"sr","Plural-Forms":"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\naleksandar jevtic, 2022\n"},msgstr:["Last-Translator: aleksandar jevtic, 2022\nLanguage-Team: Serbian (https://www.transifex.com/nextcloud/teams/64236/sr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sr\nPlural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:["Poništi"]}}}}},{locale:"sv",json:{charset:"utf-8",headers:{"Last-Translator":"Victor Nyberg <v70123@gmail.com>, 2021","Language-Team":"Swedish (https://www.transifex.com/nextcloud/teams/64236/sv/)","Content-Type":"text/plain; charset=UTF-8",Language:"sv","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nVictor Nyberg <v70123@gmail.com>, 2021\n"},msgstr:["Last-Translator: Victor Nyberg <v70123@gmail.com>, 2021\nLanguage-Team: Swedish (https://www.transifex.com/nextcloud/teams/64236/sv/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: sv\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Ångra"]}}}}},{locale:"ta",json:{charset:"utf-8",headers:{"Last-Translator":"ஒளியன் Oliyan, 2022","Language-Team":"Tamil (https://www.transifex.com/nextcloud/teams/64236/ta/)","Content-Type":"text/plain; charset=UTF-8",Language:"ta","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nஒளியன் Oliyan, 2022\n"},msgstr:["Last-Translator: ஒளியன் Oliyan, 2022\nLanguage-Team: Tamil (https://www.transifex.com/nextcloud/teams/64236/ta/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ta\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["செயல்தவிர்"]}}}}},{locale:"th_TH",json:{charset:"utf-8",headers:{"Last-Translator":"Phongpanot Phairat <ppnplus@protonmail.com>, 2021","Language-Team":"Thai (Thailand) (https://www.transifex.com/nextcloud/teams/64236/th_TH/)","Content-Type":"text/plain; charset=UTF-8",Language:"th_TH","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPhongpanot Phairat <ppnplus@protonmail.com>, 2021\n"},msgstr:["Last-Translator: Phongpanot Phairat <ppnplus@protonmail.com>, 2021\nLanguage-Team: Thai (Thailand) (https://www.transifex.com/nextcloud/teams/64236/th_TH/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: th_TH\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["เลิกทำ"]}}}}},{locale:"tr",json:{charset:"utf-8",headers:{"Last-Translator":"Kaya Zeren <kayazeren@gmail.com>, 2020","Language-Team":"Turkish (https://www.transifex.com/nextcloud/teams/64236/tr/)","Content-Type":"text/plain; charset=UTF-8",Language:"tr","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nKaya Zeren <kayazeren@gmail.com>, 2020\n"},msgstr:["Last-Translator: Kaya Zeren <kayazeren@gmail.com>, 2020\nLanguage-Team: Turkish (https://www.transifex.com/nextcloud/teams/64236/tr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: tr\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["Geri al"]}}}}},{locale:"uk",json:{charset:"utf-8",headers:{"Last-Translator":"Oleksandr Panasyuk, 2021","Language-Team":"Ukrainian (https://www.transifex.com/nextcloud/teams/64236/uk/)","Content-Type":"text/plain; charset=UTF-8",Language:"uk","Plural-Forms":"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nOleksandr Panasyuk, 2021\n"},msgstr:["Last-Translator: Oleksandr Panasyuk, 2021\nLanguage-Team: Ukrainian (https://www.transifex.com/nextcloud/teams/64236/uk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: uk\nPlural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Скасувати дію"]}}}}},{locale:"vi",json:{charset:"utf-8",headers:{"Last-Translator":"Luu Thang <luuthang@vif.vn>, 2021","Language-Team":"Vietnamese (https://www.transifex.com/nextcloud/teams/64236/vi/)","Content-Type":"text/plain; charset=UTF-8",Language:"vi","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nLuu Thang <luuthang@vif.vn>, 2021\n"},msgstr:["Last-Translator: Luu Thang <luuthang@vif.vn>, 2021\nLanguage-Team: Vietnamese (https://www.transifex.com/nextcloud/teams/64236/vi/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: vi\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["Hoàn tác"]}}}}},{locale:"zh_CN",json:{charset:"utf-8",headers:{"Last-Translator":"Henry Ji, 2022","Language-Team":"Chinese (China) (https://www.transifex.com/nextcloud/teams/64236/zh_CN/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_CN","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nHenry Ji, 2022\n"},msgstr:["Last-Translator: Henry Ji, 2022\nLanguage-Team: Chinese (China) (https://www.transifex.com/nextcloud/teams/64236/zh_CN/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_CN\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:[" 撤消"]}}}}},{locale:"zh_HK",json:{charset:"utf-8",headers:{"Last-Translator":"Cha Wong <cafetango@gmail.com>, 2021","Language-Team":"Chinese (Hong Kong) (https://www.transifex.com/nextcloud/teams/64236/zh_HK/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_HK","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nCha Wong <cafetango@gmail.com>, 2021\n"},msgstr:["Last-Translator: Cha Wong <cafetango@gmail.com>, 2021\nLanguage-Team: Chinese (Hong Kong) (https://www.transifex.com/nextcloud/teams/64236/zh_HK/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_HK\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:191"},msgstr:["還原"]}}}}},{locale:"zh_TW",json:{charset:"utf-8",headers:{"Last-Translator":"Natashia Maxins <railroad1987@gmail.com>, 2020","Language-Team":"Chinese (Taiwan) (https://www.transifex.com/nextcloud/teams/64236/zh_TW/)","Content-Type":"text/plain; charset=UTF-8",Language:"zh_TW","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nNatashia Maxins <railroad1987@gmail.com>, 2020\n"},msgstr:["Last-Translator: Natashia Maxins <railroad1987@gmail.com>, 2020\nLanguage-Team: Chinese (Taiwan) (https://www.transifex.com/nextcloud/teams/64236/zh_TW/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: zh_TW\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:192"},msgstr:["復原"]}}}}}]};try{if(X)return X.env=Object.assign({},X.env),void Object.assign(X.env,e)}catch(e){}globalThis.process={env:e}}();var J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},ee=function(e){return e&&e.Math==Math&&e},te=ee("object"==("undefined"==typeof globalThis?"undefined":Q(globalThis))&&globalThis)||ee("object"==("undefined"==typeof window?"undefined":Q(window))&&window)||ee("object"==("undefined"==typeof self?"undefined":Q(self))&&self)||ee("object"==Q(J)&&J)||function(){return this}()||Function("return this")(),ne={exports:{}},re=te,oe=Object.defineProperty,ie=function(e,t){try{oe(re,e,{value:t,configurable:!0,writable:!0})}catch(n){re[e]=t}return t},ae=ie,se="__core-js_shared__",le=te[se]||ae(se,{}),ue=le;(ne.exports=function(e,t){return ue[e]||(ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"});var ce,pe,de=function(e){try{return!!e()}catch(e){return!0}},fe=!de((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),he=fe,me=Function.prototype,ge=me.bind,ve=me.call,ye=he&&ge.bind(ve,ve),be=he?function(e){return e&&ye(e)}:function(e){return e&&function(){return ve.apply(e,arguments)}},Ae=TypeError,Ce=function(e){if(null==e)throw Ae("Can't call method on "+e);return e},we=Ce,xe=Object,Ee=function(e){return xe(we(e))},_e=Ee,ke=be({}.hasOwnProperty),Se=Object.hasOwn||function(e,t){return ke(_e(e),t)},De=be,Te=0,Oe=Math.random(),Pe=De(1..toString),Le=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Pe(++Te+Oe,36)},Fe=function(e){return"function"==typeof e},je=te,Be=Fe,Ie=function(e){return Be(e)?e:void 0},Ne=function(e,t){return arguments.length<2?Ie(je[e]):je[e]&&je[e][t]},Me=Ne("navigator","userAgent")||"",Re=te,ze=Me,Ue=Re.process,$e=Re.Deno,He=Ue&&Ue.versions||$e&&$e.version,qe=He&&He.v8;qe&&(pe=(ce=qe.split("."))[0]>0&&ce[0]<4?1:+(ce[0]+ce[1])),!pe&&ze&&(!(ce=ze.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=ze.match(/Chrome\/(\d+)/))&&(pe=+ce[1]);var Ve=pe,Ge=Ve,We=de,Ze=!!Object.getOwnPropertySymbols&&!We((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ge&&Ge<41})),Ye=Ze&&!Symbol.sham&&"symbol"==Q(Symbol.iterator),Xe=te,Ke=ne.exports,Qe=Se,Je=Le,et=Ze,tt=Ye,nt=Ke("wks"),rt=Xe.Symbol,ot=rt&&rt.for,it=tt?rt:rt&&rt.withoutSetter||Je,at=function(e){if(!Qe(nt,e)||!et&&"string"!=typeof nt[e]){var t="Symbol."+e;et&&Qe(rt,e)?nt[e]=rt[e]:nt[e]=tt&&ot?ot(t):it(t)}return nt[e]},st={};st[at("toStringTag")]="z";var lt="[object z]"===String(st),ut={},ct=!de((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pt=Fe,dt=function(e){return"object"==Q(e)?null!==e:pt(e)},ft=dt,ht=te.document,mt=ft(ht)&&ft(ht.createElement),gt=function(e){return mt?ht.createElement(e):{}},vt=gt,yt=!ct&&!de((function(){return 7!=Object.defineProperty(vt("div"),"a",{get:function(){return 7}}).a})),bt=ct&&de((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),At=dt,Ct=String,wt=TypeError,xt=function(e){if(At(e))return e;throw wt(Ct(e)+" is not an object")},Et=fe,_t=Function.prototype.call,kt=Et?_t.bind(_t):function(){return _t.apply(_t,arguments)},St=be({}.isPrototypeOf),Dt=Ne,Tt=Fe,Ot=St,Pt=Object,Lt=Ye?function(e){return"symbol"==Q(e)}:function(e){var t=Dt("Symbol");return Tt(t)&&Ot(t.prototype,Pt(e))},Ft=String,jt=function(e){try{return Ft(e)}catch(e){return"Object"}},Bt=Fe,It=jt,Nt=TypeError,Mt=function(e){if(Bt(e))return e;throw Nt(It(e)+" is not a function")},Rt=Mt,zt=function(e,t){var n=e[t];return null==n?void 0:Rt(n)},Ut=kt,$t=Fe,Ht=dt,qt=TypeError,Vt=kt,Gt=dt,Wt=Lt,Zt=zt,Yt=function(e,t){var n,r;if("string"===t&&$t(n=e.toString)&&!Ht(r=Ut(n,e)))return r;if($t(n=e.valueOf)&&!Ht(r=Ut(n,e)))return r;if("string"!==t&&$t(n=e.toString)&&!Ht(r=Ut(n,e)))return r;throw qt("Can't convert object to primitive value")},Xt=TypeError,Kt=at("toPrimitive"),Qt=function(e,t){if(!Gt(e)||Wt(e))return e;var n,r=Zt(e,Kt);if(r){if(void 0===t&&(t="default"),n=Vt(r,e,t),!Gt(n)||Wt(n))return n;throw Xt("Can't convert object to primitive value")}return void 0===t&&(t="number"),Yt(e,t)},Jt=Lt,en=function(e){var t=Qt(e,"string");return Jt(t)?t:t+""},tn=ct,nn=yt,rn=bt,on=xt,an=en,sn=TypeError,ln=Object.defineProperty,un=Object.getOwnPropertyDescriptor,cn="enumerable",pn="configurable",dn="writable";ut.f=tn?rn?function(e,t,n){if(on(e),t=an(t),on(n),"function"==typeof e&&"prototype"===t&&"value"in n&&dn in n&&!n.writable){var r=un(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:pn in n?n.configurable:r.configurable,enumerable:cn in n?n.enumerable:r.enumerable,writable:!1})}return ln(e,t,n)}:ln:function(e,t,n){if(on(e),t=an(t),on(n),nn)try{return ln(e,t,n)}catch(e){}if("get"in n||"set"in n)throw sn("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var fn={exports:{}},hn=ct,mn=Se,gn=Function.prototype,vn=hn&&Object.getOwnPropertyDescriptor,yn=mn(gn,"name"),bn={EXISTS:yn,PROPER:yn&&"something"===function(){}.name,CONFIGURABLE:yn&&(!hn||hn&&vn(gn,"name").configurable)},An=Fe,Cn=le,wn=be(Function.toString);An(Cn.inspectSource)||(Cn.inspectSource=function(e){return wn(e)});var xn,En,_n,kn=Cn.inspectSource,Sn=Fe,Dn=kn,Tn=te.WeakMap,On=Sn(Tn)&&/native code/.test(Dn(Tn)),Pn=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ln=ut,Fn=Pn,jn=ct?function(e,t,n){return Ln.f(e,t,Fn(1,n))}:function(e,t,n){return e[t]=n,e},Bn=ne.exports,In=Le,Nn=Bn("keys"),Mn=function(e){return Nn[e]||(Nn[e]=In(e))},Rn={},zn=On,Un=te,$n=be,Hn=dt,qn=jn,Vn=Se,Gn=le,Wn=Mn,Zn=Rn,Yn="Object already initialized",Xn=Un.TypeError,Kn=Un.WeakMap;if(zn||Gn.state){var Qn=Gn.state||(Gn.state=new Kn),Jn=$n(Qn.get),er=$n(Qn.has),tr=$n(Qn.set);xn=function(e,t){if(er(Qn,e))throw new Xn(Yn);return t.facade=e,tr(Qn,e,t),t},En=function(e){return Jn(Qn,e)||{}},_n=function(e){return er(Qn,e)}}else{var nr=Wn("state");Zn[nr]=!0,xn=function(e,t){if(Vn(e,nr))throw new Xn(Yn);return t.facade=e,qn(e,nr,t),t},En=function(e){return Vn(e,nr)?e[nr]:{}},_n=function(e){return Vn(e,nr)}}var rr={set:xn,get:En,has:_n,enforce:function(e){return _n(e)?En(e):xn(e,{})},getterFor:function(e){return function(t){var n;if(!Hn(t)||(n=En(t)).type!==e)throw Xn("Incompatible receiver, "+e+" required");return n}}},or=de,ir=Fe,ar=Se,sr=ct,lr=bn.CONFIGURABLE,ur=kn,cr=rr.enforce,pr=rr.get,dr=Object.defineProperty,fr=sr&&!or((function(){return 8!==dr((function(){}),"length",{value:8}).length})),hr=String(String).split("String"),mr=fn.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!ar(e,"name")||lr&&e.name!==t)&&(sr?dr(e,"name",{value:t,configurable:!0}):e.name=t),fr&&n&&ar(n,"arity")&&e.length!==n.arity&&dr(e,"length",{value:n.arity});try{n&&ar(n,"constructor")&&n.constructor?sr&&dr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=cr(e);return ar(r,"source")||(r.source=hr.join("string"==typeof t?t:"")),e};Function.prototype.toString=mr((function(){return ir(this)&&pr(this).source||ur(this)}),"toString");var gr=Fe,vr=ut,yr=fn.exports,br=ie,Ar=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(gr(n)&&yr(n,i,r),r.global)o?e[t]=n:br(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:vr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Cr=be,wr=Cr({}.toString),xr=Cr("".slice),Er=function(e){return xr(wr(e),8,-1)},_r=lt,kr=Fe,Sr=Er,Dr=at("toStringTag"),Tr=Object,Or="Arguments"==Sr(function(){return arguments}()),Pr=_r?Sr:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Tr(e),Dr))?n:Or?Sr(t):"Object"==(r=Sr(t))&&kr(t.callee)?"Arguments":r},Lr=Pr,Fr=lt?{}.toString:function(){return"[object "+Lr(this)+"]"};lt||Ar(Object.prototype,"toString",Fr,{unsafe:!0});var jr={},Br={},Ir={}.propertyIsEnumerable,Nr=Object.getOwnPropertyDescriptor,Mr=Nr&&!Ir.call({1:2},1);Br.f=Mr?function(e){var t=Nr(this,e);return!!t&&t.enumerable}:Ir;var Rr=de,zr=Er,Ur=Object,$r=be("".split),Hr=Rr((function(){return!Ur("z").propertyIsEnumerable(0)}))?function(e){return"String"==zr(e)?$r(e,""):Ur(e)}:Ur,qr=Hr,Vr=Ce,Gr=function(e){return qr(Vr(e))},Wr=ct,Zr=kt,Yr=Br,Xr=Pn,Kr=Gr,Qr=en,Jr=Se,eo=yt,to=Object.getOwnPropertyDescriptor;jr.f=Wr?to:function(e,t){if(e=Kr(e),t=Qr(t),eo)try{return to(e,t)}catch(e){}if(Jr(e,t))return Xr(!Zr(Yr.f,e,t),e[t])};var no={},ro=Math.ceil,oo=Math.floor,io=Math.trunc||function(e){var t=+e;return(t>0?oo:ro)(t)},ao=io,so=function(e){var t=+e;return t!=t||0===t?0:ao(t)},lo=so,uo=Math.max,co=Math.min,po=function(e,t){var n=lo(e);return n<0?uo(n+t,0):co(n,t)},fo=so,ho=Math.min,mo=function(e){return e>0?ho(fo(e),9007199254740991):0},go=mo,vo=function(e){return go(e.length)},yo=Gr,bo=po,Ao=vo,Co=function(e){return function(t,n,r){var o,i=yo(t),a=Ao(i),s=bo(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},wo={includes:Co(!0),indexOf:Co(!1)},xo=Se,Eo=Gr,_o=wo.indexOf,ko=Rn,So=be([].push),Do=function(e,t){var n,r=Eo(e),o=0,i=[];for(n in r)!xo(ko,n)&&xo(r,n)&&So(i,n);for(;t.length>o;)xo(r,n=t[o++])&&(~_o(i,n)||So(i,n));return i},To=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oo=Do,Po=To.concat("length","prototype");no.f=Object.getOwnPropertyNames||function(e){return Oo(e,Po)};var Lo={};Lo.f=Object.getOwnPropertySymbols;var Fo=Ne,jo=no,Bo=Lo,Io=xt,No=be([].concat),Mo=Fo("Reflect","ownKeys")||function(e){var t=jo.f(Io(e)),n=Bo.f;return n?No(t,n(e)):t},Ro=Se,zo=Mo,Uo=jr,$o=ut,Ho=de,qo=Fe,Vo=/#|\.prototype\./,Go=function(e,t){var n=Zo[Wo(e)];return n==Xo||n!=Yo&&(qo(t)?Ho(t):!!t)},Wo=Go.normalize=function(e){return String(e).replace(Vo,".").toLowerCase()},Zo=Go.data={},Yo=Go.NATIVE="N",Xo=Go.POLYFILL="P",Ko=Go,Qo=te,Jo=jr.f,ei=jn,ti=Ar,ni=ie,ri=function(e,t,n){for(var r=zo(t),o=$o.f,i=Uo.f,a=0;a<r.length;a++){var s=r[a];Ro(e,s)||n&&Ro(n,s)||o(e,s,i(t,s))}},oi=Ko,ii=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,u=e.stat;if(n=l?Qo:u?Qo[s]||ni(s,{}):(Qo[s]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Jo(n,r))&&a.value:n[r],!oi(l?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(Q(i)==Q(o))continue;ri(i,o)}(e.sham||o&&o.sham)&&ei(i,"sham",!0),ti(n,r,i,e)}},ai="process"==Er(te.process),si=Fe,li=String,ui=TypeError,ci=be,pi=xt,di=function(e){if("object"==Q(e)||si(e))return e;throw ui("Can't set "+li(e)+" as a prototype")},fi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ci(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return pi(n),di(r),t?e(n,r):n.__proto__=r,n}}():void 0),hi=ut.f,mi=Se,gi=at("toStringTag"),vi=Ne,yi=ut,bi=ct,Ai=at("species"),Ci=St,wi=TypeError,xi=be,Ei=de,_i=Fe,ki=Pr,Si=kn,Di=function(){},Ti=[],Oi=Ne("Reflect","construct"),Pi=/^\s*(?:class|function)\b/,Li=xi(Pi.exec),Fi=!Pi.exec(Di),ji=function(e){if(!_i(e))return!1;try{return Oi(Di,Ti,e),!0}catch(e){return!1}},Bi=function(e){if(!_i(e))return!1;switch(ki(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fi||!!Li(Pi,Si(e))}catch(e){return!0}};Bi.sham=!0;var Ii,Ni,Mi,Ri,zi=!Oi||Ei((function(){var e;return ji(ji.call)||!ji(Object)||!ji((function(){e=!0}))||e}))?Bi:ji,Ui=zi,$i=jt,Hi=TypeError,qi=xt,Vi=function(e){if(Ui(e))return e;throw Hi($i(e)+" is not a constructor")},Gi=at("species"),Wi=function(e,t){var n,r=qi(e).constructor;return void 0===r||null==(n=qi(r)[Gi])?t:Vi(n)},Zi=fe,Yi=Function.prototype,Xi=Yi.apply,Ki=Yi.call,Qi="object"==("undefined"==typeof Reflect?"undefined":Q(Reflect))&&Reflect.apply||(Zi?Ki.bind(Xi):function(){return Ki.apply(Xi,arguments)}),Ji=Mt,ea=fe,ta=be(be.bind),na=function(e,t){return Ji(e),void 0===t?e:ea?ta(e,t):function(){return e.apply(t,arguments)}},ra=Ne("document","documentElement"),oa=be([].slice),ia=TypeError,aa=/(?:ipad|iphone|ipod).*applewebkit/i.test(Me),sa=te,la=Qi,ua=na,ca=Fe,pa=Se,da=de,fa=ra,ha=oa,ma=gt,ga=function(e,t){if(e<t)throw ia("Not enough arguments");return e},va=aa,ya=ai,ba=sa.setImmediate,Aa=sa.clearImmediate,Ca=sa.process,wa=sa.Dispatch,xa=sa.Function,Ea=sa.MessageChannel,_a=sa.String,ka=0,Sa={},Da="onreadystatechange";try{Ii=sa.location}catch(e){}var Ta=function(e){if(pa(Sa,e)){var t=Sa[e];delete Sa[e],t()}},Oa=function(e){return function(){Ta(e)}},Pa=function(e){Ta(e.data)},La=function(e){sa.postMessage(_a(e),Ii.protocol+"//"+Ii.host)};ba&&Aa||(ba=function(e){ga(arguments.length,1);var t=ca(e)?e:xa(e),n=ha(arguments,1);return Sa[++ka]=function(){la(t,void 0,n)},Ni(ka),ka},Aa=function(e){delete Sa[e]},ya?Ni=function(e){Ca.nextTick(Oa(e))}:wa&&wa.now?Ni=function(e){wa.now(Oa(e))}:Ea&&!va?(Ri=(Mi=new Ea).port2,Mi.port1.onmessage=Pa,Ni=ua(Ri.postMessage,Ri)):sa.addEventListener&&ca(sa.postMessage)&&!sa.importScripts&&Ii&&"file:"!==Ii.protocol&&!da(La)?(Ni=La,sa.addEventListener("message",Pa,!1)):Ni=Da in ma("script")?function(e){fa.appendChild(ma("script")).onreadystatechange=function(){fa.removeChild(this),Ta(e)}}:function(e){setTimeout(Oa(e),0)});var Fa,ja,Ba,Ia,Na,Ma,Ra,za,Ua={set:ba,clear:Aa},$a=te,Ha=/ipad|iphone|ipod/i.test(Me)&&void 0!==$a.Pebble,qa=/web0s(?!.*chrome)/i.test(Me),Va=te,Ga=na,Wa=jr.f,Za=Ua.set,Ya=aa,Xa=Ha,Ka=qa,Qa=ai,Ja=Va.MutationObserver||Va.WebKitMutationObserver,es=Va.document,ts=Va.process,ns=Va.Promise,rs=Wa(Va,"queueMicrotask"),os=rs&&rs.value;os||(Fa=function(){var e,t;for(Qa&&(e=ts.domain)&&e.exit();ja;){t=ja.fn,ja=ja.next;try{t()}catch(e){throw ja?Ia():Ba=void 0,e}}Ba=void 0,e&&e.enter()},Ya||Qa||Ka||!Ja||!es?!Xa&&ns&&ns.resolve?((Ra=ns.resolve(void 0)).constructor=ns,za=Ga(Ra.then,Ra),Ia=function(){za(Fa)}):Qa?Ia=function(){ts.nextTick(Fa)}:(Za=Ga(Za,Va),Ia=function(){Za(Fa)}):(Na=!0,Ma=es.createTextNode(""),new Ja(Fa).observe(Ma,{characterData:!0}),Ia=function(){Ma.data=Na=!Na}));var is=os||function(e){var t={fn:e,next:void 0};Ba&&(Ba.next=t),ja||(ja=t,Ia()),Ba=t},as=te,ss=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ls=function(){this.head=null,this.tail=null};ls.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var us=ls,cs=te.Promise,ps="object"==("undefined"==typeof Deno?"undefined":Q(Deno))&&Deno&&"object"==Q(Deno.version),ds=!ps&&!ai&&"object"==("undefined"==typeof window?"undefined":Q(window))&&"object"==("undefined"==typeof document?"undefined":Q(document)),fs=te,hs=cs,ms=Fe,gs=Ko,vs=kn,ys=at,bs=ds,As=ps,Cs=Ve;hs&&hs.prototype;var ws=ys("species"),xs=!1,Es=ms(fs.PromiseRejectionEvent),_s=gs("Promise",(function(){var e=vs(hs),t=e!==String(hs);if(!t&&66===Cs)return!0;if(!Cs||Cs<51||!/native code/.test(e)){var n=new hs((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[ws]=r,!(xs=n.then((function(){}))instanceof r))return!0}return!t&&(bs||As)&&!Es})),ks={CONSTRUCTOR:_s,REJECTION_EVENT:Es,SUBCLASSING:xs},Ss={},Ds=Mt,Ts=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Ds(t),this.reject=Ds(n)};Ss.f=function(e){return new Ts(e)};var Os,Ps,Ls,Fs=ii,js=ai,Bs=te,Is=kt,Ns=Ar,Ms=fi,Rs=function(e,t,n){e&&!n&&(e=e.prototype),e&&!mi(e,gi)&&hi(e,gi,{configurable:!0,value:t})},zs=function(e){var t=vi(e),n=yi.f;bi&&t&&!t[Ai]&&n(t,Ai,{configurable:!0,get:function(){return this}})},Us=Mt,$s=Fe,Hs=dt,qs=function(e,t){if(Ci(t,e))return e;throw wi("Incorrect invocation")},Vs=Wi,Gs=Ua.set,Ws=is,Zs=function(e,t){var n=as.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},Ys=ss,Xs=us,Ks=rr,Qs=cs,Js=Ss,el="Promise",tl=ks.CONSTRUCTOR,nl=ks.REJECTION_EVENT,rl=ks.SUBCLASSING,ol=Ks.getterFor(el),il=Ks.set,al=Qs&&Qs.prototype,sl=Qs,ll=al,ul=Bs.TypeError,cl=Bs.document,pl=Bs.process,dl=Js.f,fl=dl,hl=!!(cl&&cl.createEvent&&Bs.dispatchEvent),ml="unhandledrejection",gl=function(e){var t;return!(!Hs(e)||!$s(t=e.then))&&t},vl=function(e,t){var n,r,o,i=t.value,a=1==t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&wl(t),t.rejection=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),o=!0)),n===e.promise?u(ul("Promise-chain cycle")):(r=gl(n))?Is(r,n,l,u):l(n)):u(i)}catch(e){c&&!o&&c.exit(),u(e)}},yl=function(e,t){e.notified||(e.notified=!0,Ws((function(){for(var n,r=e.reactions;n=r.get();)vl(n,e);e.notified=!1,t&&!e.rejection&&Al(e)})))},bl=function(e,t,n){var r,o;hl?((r=cl.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Bs.dispatchEvent(r)):r={promise:t,reason:n},!nl&&(o=Bs["on"+e])?o(r):e===ml&&Zs("Unhandled promise rejection",n)},Al=function(e){Is(Gs,Bs,(function(){var t,n=e.facade,r=e.value;if(Cl(e)&&(t=Ys((function(){js?pl.emit("unhandledRejection",r,n):bl(ml,n,r)})),e.rejection=js||Cl(e)?2:1,t.error))throw t.value}))},Cl=function(e){return 1!==e.rejection&&!e.parent},wl=function(e){Is(Gs,Bs,(function(){var t=e.facade;js?pl.emit("rejectionHandled",t):bl("rejectionhandled",t,e.value)}))},xl=function(e,t,n){return function(r){e(t,r,n)}},El=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,yl(e,!0))},_l=function e(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw ul("Promise can't be resolved itself");var o=gl(n);o?Ws((function(){var r={done:!1};try{Is(o,n,xl(e,r,t),xl(El,r,t))}catch(e){El(r,e,t)}})):(t.value=n,t.state=1,yl(t,!1))}catch(e){El({done:!1},e,t)}}};if(tl&&(ll=(sl=function(e){qs(this,ll),Us(e),Is(Os,this);var t=ol(this);try{e(xl(_l,t),xl(El,t))}catch(e){El(t,e)}}).prototype,(Os=function(e){il(this,{type:el,done:!1,notified:!1,parent:!1,reactions:new Xs,rejection:!1,state:0,value:void 0})}).prototype=Ns(ll,"then",(function(e,t){var n=ol(this),r=dl(Vs(this,sl));return n.parent=!0,r.ok=!$s(e)||e,r.fail=$s(t)&&t,r.domain=js?pl.domain:void 0,0==n.state?n.reactions.add(r):Ws((function(){vl(r,n)})),r.promise})),Ps=function(){var e=new Os,t=ol(e);this.promise=e,this.resolve=xl(_l,t),this.reject=xl(El,t)},Js.f=dl=function(e){return e===sl||undefined===e?new Ps(e):fl(e)},$s(Qs)&&al!==Object.prototype)){Ls=al.then,rl||Ns(al,"then",(function(e,t){var n=this;return new sl((function(e,t){Is(Ls,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete al.constructor}catch(e){}Ms&&Ms(al,ll)}Fs({global:!0,constructor:!0,wrap:!0,forced:tl},{Promise:sl}),Rs(sl,el,!1),zs(el);var kl={},Sl=kl,Dl=at("iterator"),Tl=Array.prototype,Ol=Pr,Pl=zt,Ll=kl,Fl=at("iterator"),jl=function(e){if(null!=e)return Pl(e,Fl)||Pl(e,"@@iterator")||Ll[Ol(e)]},Bl=kt,Il=Mt,Nl=xt,Ml=jt,Rl=jl,zl=TypeError,Ul=kt,$l=xt,Hl=zt,ql=na,Vl=kt,Gl=xt,Wl=jt,Zl=function(e){return void 0!==e&&(Sl.Array===e||Tl[Dl]===e)},Yl=vo,Xl=St,Kl=function(e,t){var n=arguments.length<2?Rl(e):t;if(Il(n))return Nl(Bl(n,e));throw zl(Ml(e)+" is not iterable")},Ql=jl,Jl=function(e,t,n){var r,o;$l(e);try{if(!(r=Hl(e,"return"))){if("throw"===t)throw n;return n}r=Ul(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return $l(r),n},eu=TypeError,tu=function(e,t){this.stopped=e,this.result=t},nu=tu.prototype,ru=function(e,t,n){var r,o,i,a,s,l,u,c=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),f=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=ql(t,c),g=function(e){return r&&Jl(r,"normal",e),new tu(!0,e)},v=function(e){return p?(Gl(e),h?m(e[0],e[1],g):m(e[0],e[1])):h?m(e,g):m(e)};if(d)r=e.iterator;else if(f)r=e;else{if(!(o=Ql(e)))throw eu(Wl(e)+" is not iterable");if(Zl(o)){for(i=0,a=Yl(e);a>i;i++)if((s=v(e[i]))&&Xl(nu,s))return s;return new tu(!1)}r=Kl(e,o)}for(l=d?e.next:r.next;!(u=Vl(l,r)).done;){try{s=v(u.value)}catch(e){Jl(r,"throw",e)}if("object"==Q(s)&&s&&Xl(nu,s))return s}return new tu(!1)},ou=at("iterator"),iu=!1;try{var au=0,su={next:function(){return{done:!!au++}},return:function(){iu=!0}};su[ou]=function(){return this},Array.from(su,(function(){throw 2}))}catch(e){}var lu=cs,uu=function(e,t){if(!t&&!iu)return!1;var n=!1;try{var r={};r[ou]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},cu=ks.CONSTRUCTOR||!uu((function(e){lu.all(e).then(void 0,(function(){}))})),pu=kt,du=Mt,fu=Ss,hu=ss,mu=ru;ii({target:"Promise",stat:!0,forced:cu},{all:function(e){var t=this,n=fu.f(t),r=n.resolve,o=n.reject,i=hu((function(){var n=du(t.resolve),i=[],a=0,s=1;mu(e,(function(e){var l=a++,u=!1;s++,pu(n,t,e).then((function(e){u||(u=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise}});var gu=ii,vu=ks.CONSTRUCTOR,yu=cs,bu=Ne,Au=Fe,Cu=Ar,wu=yu&&yu.prototype;if(gu({target:"Promise",proto:!0,forced:vu,real:!0},{catch:function(e){return this.then(void 0,e)}}),Au(yu)){var xu=bu("Promise").prototype.catch;wu.catch!==xu&&Cu(wu,"catch",xu,{unsafe:!0})}var Eu=kt,_u=Mt,ku=Ss,Su=ss,Du=ru;ii({target:"Promise",stat:!0,forced:cu},{race:function(e){var t=this,n=ku.f(t),r=n.reject,o=Su((function(){var o=_u(t.resolve);Du(e,(function(e){Eu(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Tu=kt,Ou=Ss;ii({target:"Promise",stat:!0,forced:ks.CONSTRUCTOR},{reject:function(e){var t=Ou.f(this);return Tu(t.reject,void 0,e),t.promise}});var Pu,Lu=xt,Fu=dt,ju=Ss,Bu=ii,Iu=ks.CONSTRUCTOR,Nu=function(e,t){if(Lu(e),Fu(t)&&t.constructor===e)return t;var n=ju.f(e);return(0,n.resolve)(t),n.promise};Ne("Promise"),Bu({target:"Promise",stat:!0,forced:Iu},{resolve:function(e){return Nu(this,e)}}),function(e){e[e.Choose=1]="Choose",e[e.Move=2]="Move",e[e.Copy=3]="Copy",e[e.CopyMove=4]="CopyMove"}(Pu||(Pu={}));var Mu=function(){function e(e,t,n,r,o,i,a){this.title=e,this.multiSelect=t,this.mimeTypeFiler=n,this.modal=r,this.type=o,this.directoriesAllowed=i,this.path=a}return e.prototype.pick=function(){var e=this;return new Promise((function(t,n){OC.dialogs.filepicker(e.title,t,e.multiSelect,e.mimeTypeFiler,e.modal,e.type,e.path,{allowDirectoryChooser:e.directoriesAllowed})}))},e}();!function(){function e(e){this.multiSelect=!1,this.mimeTypeFiler=[],this.modal=!0,this.type=Pu.Choose,this.directoriesAllowed=!1,this.title=e}e.prototype.setMultiSelect=function(e){return this.multiSelect=e,this},e.prototype.addMimeTypeFilter=function(e){return this.mimeTypeFiler.push(e),this},e.prototype.setMimeTypeFilter=function(e){return this.mimeTypeFiler=e,this},e.prototype.setModal=function(e){return this.modal=e,this},e.prototype.setType=function(e){return this.type=e,this},e.prototype.allowDirectories=function(e){return void 0===e&&(e=!0),this.directoriesAllowed=e,this},e.prototype.startAt=function(e){return this.path=e,this},e.prototype.build=function(){return new Mu(this.title,this.multiSelect,this.mimeTypeFiler,this.modal,this.type,this.directoriesAllowed,this.path)}}();var Ru=Do,zu=To,Uu=Object.keys||function(e){return Ru(e,zu)},$u=ct,Hu=be,qu=kt,Vu=de,Gu=Uu,Wu=Lo,Zu=Br,Yu=Ee,Xu=Hr,Ku=Object.assign,Qu=Object.defineProperty,Ju=Hu([].concat),ec=!Ku||Vu((function(){if($u&&1!==Ku({b:1},Ku(Qu({},"a",{enumerable:!0,get:function(){Qu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Ku({},e)[n]||Gu(Ku({},t)).join("")!=r}))?function(e,t){for(var n=Yu(e),r=arguments.length,o=1,i=Wu.f,a=Zu.f;r>o;)for(var s,l=Xu(arguments[o++]),u=i?Ju(Gu(l),i(l)):Gu(l),c=u.length,p=0;c>p;)s=u[p++],$u&&!qu(a,l,s)||(n[s]=l[s]);return n}:Ku,tc=ec;ii({target:"Object",stat:!0,arity:2,forced:Object.assign!==tc},{assign:tc});var nc=Pr,rc=String,oc=function(e){if("Symbol"===nc(e))throw TypeError("Cannot convert a Symbol value to a string");return rc(e)},ic=xt,ac=function(){var e=ic(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},sc=kt,lc=Se,uc=St,cc=ac,pc=RegExp.prototype,dc=bn.PROPER,fc=Ar,hc=xt,mc=oc,gc=de,vc=function(e){var t=e.flags;return void 0!==t||"flags"in pc||lc(e,"flags")||!uc(pc,e)?t:sc(cc,e)},yc="toString",bc=RegExp.prototype.toString,Ac=gc((function(){return"/a/b"!=bc.call({source:"a",flags:"b"})})),Cc=dc&&bc.name!=yc;(Ac||Cc)&&fc(RegExp.prototype,yc,(function(){var e=hc(this);return"/"+mc(e.source)+"/"+mc(vc(e))}),{unsafe:!0});var wc=function(){return wc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wc.apply(this,arguments)};function xc(e){return xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xc(e)}var Ec=de,_c=te.RegExp,kc=Ec((function(){var e=_c("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Sc=kc||Ec((function(){return!_c("a","y").sticky})),Dc=kc||Ec((function(){var e=_c("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),Tc={BROKEN_CARET:Dc,MISSED_STICKY:Sc,UNSUPPORTED_Y:kc},Oc={},Pc=ct,Lc=bt,Fc=ut,jc=xt,Bc=Gr,Ic=Uu;Oc.f=Pc&&!Lc?Object.defineProperties:function(e,t){jc(e);for(var n,r=Bc(t),o=Ic(t),i=o.length,a=0;i>a;)Fc.f(e,n=o[a++],r[n]);return e};var Nc,Mc=xt,Rc=Oc,zc=To,Uc=Rn,$c=ra,Hc=gt,qc=Mn("IE_PROTO"),Vc=function(){},Gc=function(e){return"<script>"+e+"</"+"script>"},Wc=function(e){e.write(Gc("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zc=function(){try{Nc=new ActiveXObject("htmlfile")}catch(e){}var e,t;Zc="undefined"!=typeof document?document.domain&&Nc?Wc(Nc):((t=Hc("iframe")).style.display="none",$c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Gc("document.F=Object")),e.close(),e.F):Wc(Nc);for(var n=zc.length;n--;)delete Zc.prototype[zc[n]];return Zc()};Uc[qc]=!0;var Yc,Xc,Kc=Object.create||function(e,t){var n;return null!==e?(Vc.prototype=Mc(e),n=new Vc,Vc.prototype=null,n[qc]=e):n=Zc(),void 0===t?n:Rc.f(n,t)},Qc=de,Jc=te.RegExp,ep=Qc((function(){var e=Jc(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),tp=de,np=te.RegExp,rp=tp((function(){var e=np("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),op=kt,ip=be,ap=oc,sp=ac,lp=Tc,up=ne.exports,cp=Kc,pp=rr.get,dp=ep,fp=rp,hp=up("native-string-replace",String.prototype.replace),mp=RegExp.prototype.exec,gp=mp,vp=ip("".charAt),yp=ip("".indexOf),bp=ip("".replace),Ap=ip("".slice),Cp=(Xc=/b*/g,op(mp,Yc=/a/,"a"),op(mp,Xc,"a"),0!==Yc.lastIndex||0!==Xc.lastIndex),wp=lp.BROKEN_CARET,xp=void 0!==/()??/.exec("")[1];(Cp||xp||wp||dp||fp)&&(gp=function(e){var t,n,r,o,i,a,s,l=this,u=pp(l),c=ap(e),p=u.raw;if(p)return p.lastIndex=l.lastIndex,t=op(gp,p,c),l.lastIndex=p.lastIndex,t;var d=u.groups,f=wp&&l.sticky,h=op(sp,l),m=l.source,g=0,v=c;if(f&&(h=bp(h,"y",""),-1===yp(h,"g")&&(h+="g"),v=Ap(c,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==vp(c,l.lastIndex-1))&&(m="(?: "+m+")",v=" "+v,g++),n=new RegExp("^(?:"+m+")",h)),xp&&(n=new RegExp("^"+m+"$(?!\\s)",h)),Cp&&(r=l.lastIndex),o=op(mp,f?n:l,v),f?o?(o.input=Ap(o.input,g),o[0]=Ap(o[0],g),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:Cp&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),xp&&o&&o.length>1&&op(hp,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=cp(null),i=0;i<d.length;i++)a[(s=d[i])[0]]=o[s[1]];return o});var Ep=gp;ii({target:"RegExp",proto:!0,forced:/./.exec!==Ep},{exec:Ep});var _p=be,kp=Ar,Sp=Ep,Dp=de,Tp=at,Op=jn,Pp=Tp("species"),Lp=RegExp.prototype,Fp=function(e,t,n,r){var o=Tp(e),i=!Dp((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Dp((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Pp]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var s=_p(/./[o]),l=t(o,""[e],(function(e,t,n,r,o){var a=_p(e),l=t.exec;return l===Sp||l===Lp.exec?i&&!o?{done:!0,value:s(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));kp(String.prototype,e,l[0]),kp(Lp,o,l[1])}r&&Op(Lp[o],"sham",!0)},jp=be,Bp=so,Ip=oc,Np=Ce,Mp=jp("".charAt),Rp=jp("".charCodeAt),zp=jp("".slice),Up=function(e){return function(t,n){var r,o,i=Ip(Np(t)),a=Bp(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=Rp(i,a))<55296||r>56319||a+1===s||(o=Rp(i,a+1))<56320||o>57343?e?Mp(i,a):r:e?zp(i,a,a+2):o-56320+(r-55296<<10)+65536}},$p={codeAt:Up(!1),charAt:Up(!0)}.charAt,Hp=function(e,t,n){return t+(n?$p(e,t).length:1)},qp=be,Vp=Ee,Gp=Math.floor,Wp=qp("".charAt),Zp=qp("".replace),Yp=qp("".slice),Xp=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Kp=/\$([$&'`]|\d{1,2})/g,Qp=kt,Jp=xt,ed=Fe,td=Er,nd=Ep,rd=TypeError,od=function(e,t){var n=e.exec;if(ed(n)){var r=Qp(n,e,t);return null!==r&&Jp(r),r}if("RegExp"===td(e))return Qp(nd,e,t);throw rd("RegExp#exec called on incompatible receiver")},id=Qi,ad=kt,sd=be,ld=Fp,ud=de,cd=xt,pd=Fe,dd=so,fd=mo,hd=oc,md=Ce,gd=Hp,vd=zt,yd=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=Kp;return void 0!==o&&(o=Vp(o),l=Xp),Zp(i,l,(function(i,l){var u;switch(Wp(l,0)){case"$":return"$";case"&":return e;case"`":return Yp(t,0,n);case"'":return Yp(t,a);case"<":u=o[Yp(l,1,-1)];break;default:var c=+l;if(0===c)return i;if(c>s){var p=Gp(c/10);return 0===p?i:p<=s?void 0===r[p-1]?Wp(l,1):r[p-1]+Wp(l,1):i}u=r[c-1]}return void 0===u?"":u}))},bd=od,Ad=at("replace"),Cd=Math.max,wd=Math.min,xd=sd([].concat),Ed=sd([].push),_d=sd("".indexOf),kd=sd("".slice),Sd="$0"==="a".replace(/./,"$0"),Dd=!!/./[Ad]&&""===/./[Ad]("a","$0"),Td=!ud((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));ld("replace",(function(e,t,n){var r=Dd?"$":"$0";return[function(e,n){var r=md(this),o=null==e?void 0:vd(e,Ad);return o?ad(o,e,r,n):ad(t,hd(r),e,n)},function(e,o){var i=cd(this),a=hd(e);if("string"==typeof o&&-1===_d(o,r)&&-1===_d(o,"$<")){var s=n(t,i,a,o);if(s.done)return s.value}var l=pd(o);l||(o=hd(o));var u=i.global;if(u){var c=i.unicode;i.lastIndex=0}for(var p=[];;){var d=bd(i,a);if(null===d)break;if(Ed(p,d),!u)break;""===hd(d[0])&&(i.lastIndex=gd(a,fd(i.lastIndex),c))}for(var f,h="",m=0,g=0;g<p.length;g++){for(var v=hd((d=p[g])[0]),y=Cd(wd(dd(d.index),a.length),0),b=[],A=1;A<d.length;A++)Ed(b,void 0===(f=d[A])?f:String(f));var C=d.groups;if(l){var w=xd([v],b,y,a);void 0!==C&&Ed(w,C);var x=hd(id(o,void 0,w))}else x=yd(v,a,y,b,C,o);y>=m&&(h+=kd(a,m,y)+x,m=y+v.length)}return h+kd(a,m)}]}),!Td||!Sd||Dd);var Od=de,Pd=ii,Ld=wo.indexOf,Fd=function(e,t){var n=[][e];return!!n&&Od((function(){n.call(null,t||function(){return 1},1)}))},jd=be([].indexOf),Bd=!!jd&&1/jd([1],1,-0)<0,Id=Fd("indexOf");Pd({target:"Array",proto:!0,forced:Bd||!Id},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Bd?jd(this,e,t)||0:Ld(this,e,t)}});var Nd=dt,Md=Er,Rd=at("match"),zd=en,Ud=ut,$d=Pn,Hd=po,qd=vo,Vd=function(e,t,n){var r=zd(t);r in e?Ud.f(e,r,$d(0,n)):e[r]=n},Gd=Array,Wd=Math.max,Zd=Qi,Yd=kt,Xd=be,Kd=Fp,Qd=function(e){var t;return Nd(e)&&(void 0!==(t=e[Rd])?!!t:"RegExp"==Md(e))},Jd=xt,ef=Ce,tf=Wi,nf=Hp,rf=mo,of=oc,af=zt,sf=function(e,t,n){for(var r=qd(e),o=Hd(t,r),i=Hd(void 0===n?r:n,r),a=Gd(Wd(i-o,0)),s=0;o<i;o++,s++)Vd(a,s,e[o]);return a.length=s,a},lf=od,uf=Ep,cf=de,pf=Tc.UNSUPPORTED_Y,df=4294967295,ff=Math.min,hf=[].push,mf=Xd(/./.exec),gf=Xd(hf),vf=Xd("".slice),yf=!cf((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));Kd("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=of(ef(this)),o=void 0===n?df:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Qd(e))return Yd(t,r,e,o);for(var i,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,p=new RegExp(e.source,u+"g");(i=Yd(uf,p,r))&&!((a=p.lastIndex)>c&&(gf(l,vf(r,c,i.index)),i.length>1&&i.index<r.length&&Zd(hf,l,sf(i,1)),s=i[0].length,c=a,l.length>=o));)p.lastIndex===i.index&&p.lastIndex++;return c===r.length?!s&&mf(p,"")||gf(l,""):gf(l,vf(r,c)),l.length>o?sf(l,0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Yd(t,this,e,n)}:t,[function(t,n){var o=ef(this),i=null==t?void 0:af(t,e);return i?Yd(i,t,o,n):Yd(r,of(o),t,n)},function(e,o){var i=Jd(this),a=of(e),s=n(r,i,a,o,r!==t);if(s.done)return s.value;var l=tf(i,RegExp),u=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(pf?"g":"y"),p=new l(pf?"^(?:"+i.source+")":i,c),d=void 0===o?df:o>>>0;if(0===d)return[];if(0===a.length)return null===lf(p,a)?[a]:[];for(var f=0,h=0,m=[];h<a.length;){p.lastIndex=pf?0:h;var g,v=lf(p,pf?vf(a,h):a);if(null===v||(g=ff(rf(p.lastIndex+(pf?h:0)),a.length))===f)h=nf(a,h,u);else{if(gf(m,vf(a,f,h)),m.length===d)return m;for(var y=1;y<=v.length-1;y++)if(gf(m,v[y]),m.length===d)return m;h=f=g}}return gf(m,vf(a,f)),m}]}),!yf,pf);var bf="\t\n\v\f\r                 \u2028\u2029\ufeff",Af=Ce,Cf=oc,wf=be("".replace),xf="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Ef=RegExp("^"+xf+xf+"*"),_f=RegExp(xf+xf+"*$"),kf=function(e){return function(t){var n=Cf(Af(t));return 1&e&&(n=wf(n,Ef,"")),2&e&&(n=wf(n,_f,"")),n}},Sf={start:kf(1),end:kf(2),trim:kf(3)},Df=bn.PROPER,Tf=de,Of=bf,Pf=Sf.trim;ii({target:"String",proto:!0,forced:function(e){return Tf((function(){return!!Of[e]()||"​…᠎"!=="​…᠎"[e]()||Df&&Of[e].name!==e}))}("trim")},{trim:function(){return Pf(this)}});var Lf,Ff={exports:{}};Lf=Ff,function(e,t){Lf.exports?Lf.exports=t():e.Toastify=t()}(J,(function(e){var t=function e(t){return new e.lib.init(t)};function n(e,t){return t.offset[e]?isNaN(t.offset[e])?t.offset[e]:t.offset[e]+"px":"0px"}function r(e,t){return!(!e||"string"!=typeof t||!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1))}return t.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},t.lib=t.prototype={toastify:"1.12.0",constructor:t,init:function(e){return e||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||t.defaults.text,this.options.node=e.node||t.defaults.node,this.options.duration=0===e.duration?0:e.duration||t.defaults.duration,this.options.selector=e.selector||t.defaults.selector,this.options.callback=e.callback||t.defaults.callback,this.options.destination=e.destination||t.defaults.destination,this.options.newWindow=e.newWindow||t.defaults.newWindow,this.options.close=e.close||t.defaults.close,this.options.gravity="bottom"===e.gravity?"toastify-bottom":t.defaults.gravity,this.options.positionLeft=e.positionLeft||t.defaults.positionLeft,this.options.position=e.position||t.defaults.position,this.options.backgroundColor=e.backgroundColor||t.defaults.backgroundColor,this.options.avatar=e.avatar||t.defaults.avatar,this.options.className=e.className||t.defaults.className,this.options.stopOnFocus=void 0===e.stopOnFocus?t.defaults.stopOnFocus:e.stopOnFocus,this.options.onClick=e.onClick||t.defaults.onClick,this.options.offset=e.offset||t.defaults.offset,this.options.escapeMarkup=void 0!==e.escapeMarkup?e.escapeMarkup:t.defaults.escapeMarkup,this.options.ariaLive=e.ariaLive||t.defaults.ariaLive,this.options.style=e.style||t.defaults.style,e.backgroundColor&&(this.options.style.background=e.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var e=document.createElement("div");for(var t in e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",K.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&K.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'),this.options.style)e.style[t]=this.options.style[t];if(this.options.ariaLive&&e.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)e.appendChild(this.options.node);else if(this.options.escapeMarkup?e.innerText=this.options.text:e.innerHTML=this.options.text,""!==this.options.avatar){var r=document.createElement("img");r.src=this.options.avatar,r.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(r):e.insertAdjacentElement("afterbegin",r)}if(!0===this.options.close){var o=document.createElement("button");o.type="button",o.setAttribute("aria-label","Close"),o.className="toast-close",o.innerHTML="&#10006;",o.addEventListener("click",function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var i=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&i>360?e.insertAdjacentElement("afterbegin",o):e.appendChild(o)}if(this.options.stopOnFocus&&this.options.duration>0){var a=this;e.addEventListener("mouseover",(function(t){window.clearTimeout(e.timeOutValue)})),e.addEventListener("mouseleave",(function(){e.timeOutValue=window.setTimeout((function(){a.removeElement(e)}),a.options.duration)}))}if(void 0!==this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),this.options.onClick()}.bind(this)),"object"===xc(this.options.offset)){var s=n("x",this.options),l=n("y",this.options),u="left"==this.options.position?s:"-"+s,c="toastify-top"==this.options.gravity?l:"-"+l;e.style.transform="translate("+u+","+c+")"}return e},showToast:function(){var e;if(this.toastElement=this.buildToast(),!(e="string"==typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||"undefined"!=typeof ShadowRoot&&this.options.selector instanceof ShadowRoot?this.options.selector:document.body))throw"Root element is not defined";var n=t.defaults.oldestFirst?e.firstChild:e.lastChild;return e.insertBefore(this.toastElement,n),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(e){e.className=e.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}.bind(this),400)}},t.reposition=function(){for(var e,t={top:15,bottom:15},n={top:15,bottom:15},o={top:15,bottom:15},i=document.getElementsByClassName("toastify"),a=0;a<i.length;a++){e=!0===r(i[a],"toastify-top")?"toastify-top":"toastify-bottom";var s=i[a].offsetHeight;e=e.substr(9,e.length-1),(window.innerWidth>0?window.innerWidth:screen.width)<=360?(i[a].style[e]=o[e]+"px",o[e]+=s+15):!0===r(i[a],"toastify-left")?(i[a].style[e]=t[e]+"px",t[e]+=s+15):(i[a].style[e]=n[e]+"px",n[e]+=s+15)}return this},t.lib.init.prototype=t.lib,t}));var jf=Ff.exports,Bf=Er,If=Array.isArray||function(e){return"Array"==Bf(e)},Nf=zi,Mf=dt,Rf=at("species"),zf=Array,Uf=function(e){var t;return If(e)&&(t=e.constructor,(Nf(t)&&(t===zf||If(t.prototype))||Mf(t)&&null===(t=t[Rf]))&&(t=void 0)),void 0===t?zf:t},$f=na,Hf=Hr,qf=Ee,Vf=vo,Gf=function(e,t){return new(Uf(e))(0===t?0:t)},Wf=be([].push),Zf=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,s=5==e||i;return function(l,u,c,p){for(var d,f,h=qf(l),m=Hf(h),g=$f(u,c),v=Vf(m),y=0,b=p||Gf,A=t?b(l,v):n||a?b(l,0):void 0;v>y;y++)if((s||y in m)&&(f=g(d=m[y],y,h),e))if(t)A[y]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:Wf(A,d)}else switch(e){case 4:return!1;case 7:Wf(A,d)}return i?-1:r||o?o:A}},Yf={forEach:Zf(0),map:Zf(1),filter:Zf(2),some:Zf(3),every:Zf(4),find:Zf(5),findIndex:Zf(6),filterReject:Zf(7)},Xf=de,Kf=Ve,Qf=at("species"),Jf=Yf.map;ii({target:"Array",proto:!0,forced:!function(e){return Kf>=51||!Xf((function(){var t=[];return(t.constructor={})[Qf]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("map")},{map:function(e){return Jf(this,e,arguments.length>1?arguments[1]:void 0)}});var eh={},th=ii,nh=ct,rh=ut.f;th({target:"Object",stat:!0,forced:Object.defineProperty!==rh,sham:!nh},{defineProperty:rh});var oh="__lodash_hash_undefined__",ih="[object Function]",ah="[object GeneratorFunction]",sh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lh=/^\w*$/,uh=/^\./,ch=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ph=/\\(\\)?/g,dh=/^\[object .+?Constructor\]$/,fh="object"==Q(J)&&J&&J.Object===Object&&J,hh="object"==("undefined"==typeof self?"undefined":Q(self))&&self&&self.Object===Object&&self,mh=fh||hh||Function("return this")();var gh=Array.prototype,vh=Function.prototype,yh=Object.prototype,bh=mh["__core-js_shared__"],Ah=function(){var e=/[^.]+$/.exec(bh&&bh.keys&&bh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ch=vh.toString,wh=yh.hasOwnProperty,xh=yh.toString,Eh=RegExp("^"+Ch.call(wh).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_h=mh.Symbol,kh=gh.splice,Sh=Mh(mh,"Map"),Dh=Mh(Object,"create"),Th=_h?_h.prototype:void 0,Oh=Th?Th.toString:void 0;function Ph(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Lh(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fh(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function jh(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function Bh(e,t){var n;t=function(e,t){if($h(e))return!1;var n=Q(e);if("number"==n||"symbol"==n||"boolean"==n||null==e||qh(e))return!0;return lh.test(e)||!sh.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:$h(n=t)?n:Rh(n);for(var r=0,o=t.length;null!=e&&r<o;)e=e[zh(t[r++])];return r&&r==o?e:void 0}function Ih(e){if(!Hh(e)||(t=e,Ah&&Ah in t))return!1;var t,n=function(e){var t=Hh(e)?xh.call(e):"";return t==ih||t==ah}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Eh:dh;return n.test(function(e){if(null!=e){try{return Ch.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function Nh(e,t){var n,r,o=e.__data__;return("string"==(r=Q(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Mh(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ih(n)?n:void 0}Ph.prototype.clear=function(){this.__data__=Dh?Dh(null):{}},Ph.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ph.prototype.get=function(e){var t=this.__data__;if(Dh){var n=t[e];return n===oh?void 0:n}return wh.call(t,e)?t[e]:void 0},Ph.prototype.has=function(e){var t=this.__data__;return Dh?void 0!==t[e]:wh.call(t,e)},Ph.prototype.set=function(e,t){return this.__data__[e]=Dh&&void 0===t?oh:t,this},Lh.prototype.clear=function(){this.__data__=[]},Lh.prototype.delete=function(e){var t=this.__data__,n=jh(t,e);return!(n<0)&&(n==t.length-1?t.pop():kh.call(t,n,1),!0)},Lh.prototype.get=function(e){var t=this.__data__,n=jh(t,e);return n<0?void 0:t[n][1]},Lh.prototype.has=function(e){return jh(this.__data__,e)>-1},Lh.prototype.set=function(e,t){var n=this.__data__,r=jh(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Fh.prototype.clear=function(){this.__data__={hash:new Ph,map:new(Sh||Lh),string:new Ph}},Fh.prototype.delete=function(e){return Nh(this,e).delete(e)},Fh.prototype.get=function(e){return Nh(this,e).get(e)},Fh.prototype.has=function(e){return Nh(this,e).has(e)},Fh.prototype.set=function(e,t){return Nh(this,e).set(e,t),this};var Rh=Uh((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(qh(e))return Oh?Oh.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return uh.test(e)&&n.push(""),e.replace(ch,(function(e,t,r,o){n.push(r?o.replace(ph,"$1"):t||e)})),n}));function zh(e){if("string"==typeof e||qh(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Uh(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(Uh.Cache||Fh),n}Uh.Cache=Fh;var $h=Array.isArray;function Hh(e){var t=Q(e);return!!e&&("object"==t||"function"==t)}function qh(e){return"symbol"==Q(e)||function(e){return!!e&&"object"==Q(e)}(e)&&"[object Symbol]"==xh.call(e)}var Vh=function(e,t,n){var r=null==e?void 0:Bh(e,t);return void 0===r?n:r},Gh=Vh,Wh={ach:{name:"Acholi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:2===e?1:8!==e&&11!==e?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return 1===e?0:2===e?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return 1===e||11===e?0:2===e||12===e?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!=1||e%100==11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return 0!==e}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:2===e?1:3===e?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:0!==e?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return 1===e||e%10==1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return 0===e?0:1===e?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return 1===e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:0===e||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return 1===e?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return 1!==e}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},Zh=Yh;function Yh(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&("string"==typeof e.sourceLocale?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&!0===e.debug}Yh.prototype.on=function(e,t){this.listeners.push({eventName:e,callback:t})},Yh.prototype.off=function(e,t){this.listeners=this.listeners.filter((function(n){return!1==(n.eventName===e&&n.callback===t)}))},Yh.prototype.emit=function(e,t){for(var n=0;n<this.listeners.length;n++){var r=this.listeners[n];r.eventName===e&&r.callback(t)}},Yh.prototype.warn=function(e){this.debug&&K.warn(e),this.emit("error",new Error(e))},Yh.prototype.addTranslations=function(e,t,n){this.catalogs[e]||(this.catalogs[e]={}),this.catalogs[e][t]=n},Yh.prototype.setLocale=function(e){"string"==typeof e?(""===e.trim()&&this.warn("You called setLocale() with an empty value, which makes little sense."),e===this.sourceLocale||this.catalogs[e]||this.warn('You called setLocale() with "'+e+'", but no translations for that locale has been added.'),this.locale=e):this.warn("You called setLocale() with an argument of type "+Q(e)+". The locale must be a string.")},Yh.prototype.setTextDomain=function(e){"string"==typeof e?(""===e.trim()&&this.warn("You called setTextDomain() with an empty `domain` value."),this.domain=e):this.warn("You called setTextDomain() with an argument of type "+Q(e)+". The domain must be a string.")},Yh.prototype.gettext=function(e){return this.dnpgettext(this.domain,"",e)},Yh.prototype.dgettext=function(e,t){return this.dnpgettext(e,"",t)},Yh.prototype.ngettext=function(e,t,n){return this.dnpgettext(this.domain,"",e,t,n)},Yh.prototype.dngettext=function(e,t,n,r){return this.dnpgettext(e,"",t,n,r)},Yh.prototype.pgettext=function(e,t){return this.dnpgettext(this.domain,e,t)},Yh.prototype.dpgettext=function(e,t,n){return this.dnpgettext(e,t,n)},Yh.prototype.npgettext=function(e,t,n,r){return this.dnpgettext(this.domain,e,t,n,r)},Yh.prototype.dnpgettext=function(e,t,n,r,o){var i,a,s=n;if(t=t||"",isNaN(o)||1===o||(s=r||n),i=this._getTranslation(e,t,n)){if("number"==typeof o)"boolean"==typeof(a=(0,Wh[Yh.getLanguageCode(this.locale)].pluralsFunc)(o))&&(a=a?1:0);else a=0;return i.msgstr[a]||s}return this.sourceLocale&&this.locale===this.sourceLocale||this.warn('No translation was found for msgid "'+n+'" in msgctxt "'+t+'" and domain "'+e+'"'),s},Yh.prototype.getComment=function(e,t,n){var r;return(r=this._getTranslation(e,t,n))&&r.comments||{}},Yh.prototype._getTranslation=function(e,t,n){return t=t||"",Gh(this.catalogs,[this.locale,e,"translations",t,n])},Yh.getLanguageCode=function(e){return e.split(/[\-_]/)[0].toLowerCase()},Yh.prototype.textdomain=function(e){this.debug&&K.warn("textdomain(domain) was used to set locales in node-gettext v1. Make sure you are using it for domains, and switch to setLocale(locale) if you are not.\n\n To read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x\n\nThis warning will be removed in the final 2.0.0"),this.setTextDomain(e)},Yh.prototype.setlocale=function(e){this.setLocale(e)},Yh.prototype.addTextdomain=function(){K.error("addTextdomain() is deprecated.\n\n* To add translations, use addTranslations()\n* To set the default domain, use setTextDomain() (or its alias textdomain())\n\nTo read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x")};var Xh={};function Kh(){return document.documentElement.dataset.locale||"en"}Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.getCanonicalLocale=function(){return Kh().replace(/_/g,"-")},Xh.getDayNames=function(){if(void 0===window.dayNames)return K.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return window.dayNames},Xh.getDayNamesMin=function(){if(void 0===window.dayNamesMin)return K.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"];return window.dayNamesMin},Xh.getDayNamesShort=function(){if(void 0===window.dayNamesShort)return K.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."];return window.dayNamesShort},Xh.getFirstDay=function(){if(void 0===window.firstDay)return K.warn("No firstDay found"),1;return window.firstDay},Xh.getLanguage=function(){return document.documentElement.lang||"en"},Xh.getLocale=Kh,Xh.getMonthNames=function(){if(void 0===window.monthNames)return K.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"];return window.monthNames},Xh.getMonthNamesShort=function(){if(void 0===window.monthNamesShort)return K.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."];return window.monthNamesShort},Xh.translate=function(e,t,n,r,o){if("undefined"==typeof OC)return K.warn("No OC found"),t;return OC.L10N.translate(e,t,n,r,o)},Xh.translatePlural=function(e,t,n,r,o,i){if("undefined"==typeof OC)return K.warn("No OC found"),t;return OC.L10N.translatePlural(e,t,n,r,o,i)},Object.defineProperty(eh,"__esModule",{value:!0});var Qh,Jh=eh.getGettextBuilder=function(){return new im},em=(Qh=Zh)&&Qh.__esModule?Qh:{default:Qh},tm=Xh;function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function om(e,t,n){return t&&rm(e.prototype,t),n&&rm(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var im=function(){function e(){nm(this,e),this.translations={},this.debug=!1}return om(e,[{key:"setLanguage",value:function(e){return this.locale=e,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,tm.getLanguage)().replace("-","_"))}},{key:"addTranslation",value:function(e,t){return this.translations[e]=t,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new am(this.locale||"en",this.translations,this.debug)}}]),e}(),am=function(){function e(t,n,r){for(var o in nm(this,e),this.gt=new em.default({debug:r,sourceLocale:"en"}),n)this.gt.addTranslations(o,"messages",n[o]);this.gt.setLocale(t)}return om(e,[{key:"subtitudePlaceholders",value:function(e,t){return e.replace(/{([^{}]*)}/g,(function(e,n){var r=t[n];return"string"==typeof r||"number"==typeof r?r.toString():e}))}},{key:"gettext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(e),t)}},{key:"ngettext",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(e,t,n).replace(/%n/g,n.toString()),r)}}]),e}();var sm=Jh().detectLocale();X.env.TRANSLATIONS.map((function(e){return sm.addTranslation(e.locale,e.json)}));var lm=sm.build();lm.ngettext.bind(lm);lm.gettext.bind(lm);var um=function(){function e(){}return e.ERROR="toast-error",e.WARNING="toast-warning",e.INFO="toast-info",e.SUCCESS="toast-success",e.PERMANENT="toast-error",e.UNDO="toast-undo",e}(),cm=function(){function e(){}return e.OFF="off",e.POLITE="polite",e.ASSERTIVE="assertive",e}();function pm(e,t){var n,r;if(t=Object.assign({timeout:7e3,isHTML:!1,type:void 0,selector:void 0,onRemove:function(){},onClick:void 0,close:!0},t),"string"==typeof e&&!t.isHTML){var o=document.createElement("div");o.innerHTML=e,e=o.innerText}var i=null!==(r=t.type)&&void 0!==r?r:"";"function"==typeof t.onClick&&(i+=" toast-with-click ");var a=e instanceof Node,s=cm.POLITE;t.ariaLive?s=t.ariaLive.toString():t.type!==um.ERROR&&t.type!==um.UNDO||(s=cm.ASSERTIVE);var l=jf(((n={})[a?"node":"text"]=e,n.duration=t.timeout,n.callback=t.onRemove,n.onClick=t.onClick,n.close=t.close,n.gravity="top",n.selector=t.selector,n.position="right",n.backgroundColor="",n.className="dialogs "+i,n.escapeMarkup=!t.isHTML,n.ariaLive=s,n));return l.showToast(),l}function dm(e,t){return pm(e,wc(wc({},t),{type:um.ERROR}))}function fm(e,t){return pm(e,wc(wc({},t),{type:um.SUCCESS}))}var hm=r(5400),mm=r.n(hm),gm=r(6212),vm=r.n(gm),ym=r(110),bm=r.n(ym),Am=r(358),Cm=r.n(Am),wm=r(3344),xm=r.n(wm),Em=r(5358),_m=r(9753);function km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dm=/(?:[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21])/,Tm=/(?:[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5F\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]|\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43])/,Om=/^(?:[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21])(?!(?:[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2F\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]))/g,Pm=/((?:[0-9A-Z_a-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0345\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05B0-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0657\u0659-\u0669\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06ED-\u06FC\u06FF\u0710-\u073F\u074D-\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0817\u081A-\u082C\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u08D4-\u08DF\u08E3-\u08E9\u08F0-\u093B\u093D-\u094C\u094E-\u0950\u0955-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C4\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A42\u0A47\u0A48\u0A4B\u0A4C\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC5\u0AC7-\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFC\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D-\u0B44\u0B47\u0B48\u0B4B\u0B4C\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4C\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCC\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D54-\u0D63\u0D66-\u0D78\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E46\u0E4D\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F71-\u0F81\u0F88-\u0F97\u0F99-\u0FBC\u1000-\u1036\u1038\u103B-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1713\u171F-\u1733\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17B3\u17B6-\u17C8\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A61-\u1A74\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1ABF\u1AC0\u1ACC-\u1ACE\u1B00-\u1B33\u1B35-\u1B43\u1B45-\u1B4C\u1B50-\u1B59\u1B80-\u1BA9\u1BAC-\u1BE5\u1BE7-\u1BF1\u1C00-\u1C36\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1DE7-\u1DF4\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2189\u2150-\u2182\u2460-\u249B\u24B6-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA674-\uA67B\uA67F-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA805\uA807-\uA827\uA830-\uA835\uA840-\uA873\uA880-\uA8C3\uA8C5\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD-\uA92A\uA930-\uA952\uA960-\uA97C\uA980-\uA9B2\uA9B4-\uA9BF\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAABE\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD27\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC45\uDC52-\uDC6F\uDC71-\uDC75\uDC82-\uDCB8\uDCC2\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD32\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD72\uDD76\uDD80-\uDDBF\uDDC1-\uDDC4\uDDCE-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE34\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEE8\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D-\uDF44\uDF47\uDF48\uDF4B\uDF4C\uDF50\uDF57\uDF5D-\uDF63]|\uD805[\uDC00-\uDC41\uDC43-\uDC45\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCC1\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDBE\uDDD8-\uDDDD\uDE00-\uDE3E\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB5\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC38\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B\uDD3C\uDD3F-\uDD42\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDDF\uDDE1\uDDE3\uDDE4\uDE00-\uDE32\uDE35-\uDE3E\uDE50-\uDE97\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC3E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD41\uDD43\uDD46\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD96\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9E]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD47\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])|$)/,Lm=/[_.\- ]+/,Fm=new RegExp("^"+Lm.source),jm=new RegExp(Lm.source+Pm.source,"gu"),Bm=new RegExp("\\d+"+Pm.source,"gu");function Im(e,t){if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?km(Object(n),!0).forEach((function(t){Sm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):km(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({pascalCase:!1,preserveConsecutiveUppercase:!1},t),e=Array.isArray(e)?e.map((function(e){return e.trim()})).filter((function(e){return e.length})).join("-"):e.trim(),0===e.length)return"";var n=!1===t.locale?function(e){return e.toLowerCase()}:function(e){return e.toLocaleLowerCase(t.locale)},r=!1===t.locale?function(e){return e.toUpperCase()}:function(e){return e.toLocaleUpperCase(t.locale)};return 1===e.length?Lm.test(e)?"":t.pascalCase?r(e):n(e):(e!==n(e)&&(e=function(e,t,n,r){for(var o=!1,i=!1,a=!1,s=!1,l=0;l<e.length;l++){var u=e[l];s=!(l>2)||"-"===e[l-3],o&&Dm.test(u)?(e=e.slice(0,l)+"-"+e.slice(l),o=!1,a=i,i=!0,l++):i&&a&&Tm.test(u)&&(!s||r)?(e=e.slice(0,l-1)+"-"+e.slice(l-1),a=i,i=!1,o=!0):(o=t(u)===u&&n(u)!==u,a=i,i=n(u)===u&&t(u)!==u)}return e}(e,n,r,t.preserveConsecutiveUppercase)),e=e.replace(Fm,""),e=t.preserveConsecutiveUppercase?function(e,t){return Om.lastIndex=0,e.replace(Om,(function(e){return t(e)}))}(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),function(e,t){return jm.lastIndex=0,Bm.lastIndex=0,e.replace(jm,(function(e,n){return t(n)})).replace(Bm,(function(e){return t(e)}))}(e,r))}var Nm=function(){return Rm()?(0,_m.c)("webdav").replace("/remote.php","/public.php"):(0,_m.c)("dav".concat(Mm()))},Mm=function(){var e;if(Rm())throw new Error("No user logged in");return"/files/".concat(null===(e=L())||void 0===e?void 0:e.uid)},Rm=function(){return!L()},zm=function(){return document.getElementById("sharingToken")&&document.getElementById("sharingToken").value},Um=function(e){return!!e&&Number(e).toString()===e.toString()};function $m(e){return $m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$m(e)}var Hm=function(e){var t=e.split("/"),n=t[t.length-1];return[t.slice(0,t.length-1).join("/"),n]},qm=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return e.isFavorite&&!t.isFavorite?-1:!e.isFavorite&&t.isFavorite?1:Um(e[n])&&Um(t[n])?Number(e[n])-Number(t[n]):"directory"===e.type&&"directory"!==t.type?-1:"directory"!==e.type&&"directory"===t.type?1:r?e[n].localeCompare(t[n],OC.getLanguage()):-e[n].localeCompare(t[n],OC.getLanguage())},Vm=function e(t){var n={};return Object.keys(t).forEach((function(r){var o=t[r];o&&"object"===$m(o)&&!Array.isArray(o)?Object.assign(n,e(o)):n[Im(r)]="false"!==o&&("true"===o||(Um(o)?Number(o):o))})),n},Gm=function(e){var t=e.filename,n=e.basename,r=e.source,o=void 0===r?"":r;if(Rm())return(0,_m.nu)("/s/".concat(zm(),"/download?path={dirname}&files={basename}"),{dirname:(0,Em.XX)(t),basename:n});var i=Mm();return o&&!o.includes(i)?null:(t.startsWith(i)&&(t=t.slice(i.length)),Nm()+(0,Em.Ec)(t))},Wm=document.getElementById("hideDownload");const Zm=function(){return!Wm||Wm&&"true"!==Wm.value};function Ym(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ym(Object(n),!0).forEach((function(t){Km(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ym(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qm(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}const Jm=function(e){var t=new AbortController,n=function(){var n,r=(n=regeneratorRuntime.mark((function n(r,o){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",e(r,Xm(Xm({},o),{},{signal:t.signal})));case 1:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){Qm(i,r,o,a,s,"next",e)}function s(e){Qm(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}();return{request:n,cancel:function(){return t.abort()}}};const eg={name:"Error",props:{name:{type:String,default:""}}};var tg=r(4371),ng={};ng.styleTagTransform=W(),ng.setAttributes=H(),ng.insert=U().bind(null,"head"),ng.domAPI=R(),ng.insertStyleElement=V();N()(tg.Z,ng);tg.Z&&tg.Z.locals&&tg.Z.locals;var rg=r(1900);const og=(0,rg.Z)(eg,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"emptycontent"}},[n("div",{staticClass:"icon-error"}),e._v(" "),n("h2",[e._t("default",(function(){return[e._v(e._s(e.t("viewer","Error loading {name}",{name:e.name})))]}))],2)])}),[],!1,null,"51b0dd4c",null).exports;function ig(e,t,n){var r,o={mime:t,modal:n,failed:!1,loaded:!1,davPath:Gm(e),source:null!==(r=e.source)&&void 0!==r?r:Gm(e)};return Object.assign({},e,o)}function ag(e,t){var n="".concat(t.dir,"/").concat(e).replace(/^\/\//,"/"),r=location.search.replace(/^\?/,"");!t.fileInfoModel&&t.fileList&&(t.fileInfoModel=t.fileList.getModelForFile(e)),t.fileInfoModel&&sg({fileid:t.fileInfoModel.get("id")}),OCA.Viewer.open({path:n,onPrev:sg,onNext:sg,onClose:function(){return OC.Util.History.pushState(r)}})}function sg(e){var t=e.fileid,n=OC.Util.History.parseUrlQuery(),r=n.dir;delete n.dir,delete n.fileid,n.openfile=t;var o="dir="+(0,Em.Ec)(r)+"&"+OC.buildQueryString(n);OC.Util.History.pushState(o)}var lg=r(8796);j.defaults.headers["X-Requested-With"]="XMLHttpRequest",(0,lg.getPatcher)().patch("request",j);const ug=(0,lg.createClient)(Nm(),Rm()?{username:zm(),password:""}:{});function cg(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function pg(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){cg(i,r,o,a,s,"next",e)}function s(e){cg(i,r,o,a,s,"throw",e)}a(void 0)}))}}function dg(e,t){return fg.apply(this,arguments)}function fg(){return fg=pg(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ug.stat(t,Object.assign({data:'<?xml version="1.0"?>\n\t\t\t<d:propfind  xmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t\t<d:prop>\n\t\t\t\t\t<d:getlastmodified />\n\t\t\t\t\t<d:getcontenttype />\n\t\t\t\t\t<d:resourcetype />\n\t\t\t\t\t<oc:fileid />\n\t\t\t\t\t<oc:permissions />\n\t\t\t\t\t<oc:size />\n\t\t\t\t\t<d:getcontentlength />\n\t\t\t\t\t<nc:has-preview />\n\t\t\t\t\t<nc:mount-type />\n\t\t\t\t\t<nc:is-encrypted />\n\t\t\t\t\t<ocs:share-permissions />\n\t\t\t\t\t<oc:tags />\n\t\t\t\t\t<oc:favorite />\n\t\t\t\t\t<oc:comments-unread />\n\t\t\t\t\t<oc:owner-id />\n\t\t\t\t\t<oc:owner-display-name />\n\t\t\t\t\t<oc:share-types />\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>',details:!0},n));case 2:return r=e.sent,e.abrupt("return",Vm(r.data));case 4:case"end":return e.stop()}}),e)}))),fg.apply(this,arguments)}function hg(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function mg(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){hg(i,r,o,a,s,"next",e)}function s(e){hg(i,r,o,a,s,"throw",e)}a(void 0)}))}}function gg(e,t){return vg.apply(this,arguments)}function vg(){return vg=mg(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="/"===t?"":t,e.next=3,ug.getDirectoryContents(r,Object.assign({data:'<?xml version="1.0"?>\n\t\t\t<d:propfind  xmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t\t<d:prop>\n\t\t\t\t\t<d:getlastmodified />\n\t\t\t\t\t<d:getcontenttype />\n\t\t\t\t\t<d:resourcetype />\n\t\t\t\t\t<oc:fileid />\n\t\t\t\t\t<oc:permissions />\n\t\t\t\t\t<oc:size />\n\t\t\t\t\t<d:getcontentlength />\n\t\t\t\t\t<nc:has-preview />\n\t\t\t\t\t<nc:mount-type />\n\t\t\t\t\t<nc:is-encrypted />\n\t\t\t\t\t<ocs:share-permissions />\n\t\t\t\t\t<oc:tags />\n\t\t\t\t\t<oc:favorite />\n\t\t\t\t\t<oc:comments-unread />\n\t\t\t\t\t<oc:owner-id />\n\t\t\t\t\t<oc:owner-display-name />\n\t\t\t\t\t<oc:share-types />\n\t\t\t\t</d:prop>\n\t\t\t</d:propfind>',details:!0},n));case 3:return o=e.sent,e.abrupt("return",o.data.map(Vm));case 5:case"end":return e.stop()}}),e)}))),vg.apply(this,arguments)}var yg=r(296),bg=r.n(yg);const Ag={computed:{previewPath:function(){return this.getPreviewIfAny({fileid:this.fileid,filename:this.filename,previewUrl:this.previewUrl,hasPreview:this.hasPreview,davPath:this.davPath})},davPath:function(){return Gm({filename:this.filename,basename:this.basename})}},methods:{getPreviewIfAny:function(e){var t=e.fileid,n=e.filename,r=e.previewUrl,o=e.hasPreview,i=e.davPath;if(r)return r;var a="fileId=".concat(t)+"&x=".concat(Math.floor(screen.width*devicePixelRatio))+"&y=".concat(Math.floor(screen.height*devicePixelRatio))+"&a=true";return o?Rm()?(0,_m.nu)("/apps/files_sharing/publicpreview/".concat(zm(),"?file=").concat((0,Em.Ec)(n),"&").concat(a)):(0,_m.nu)("/core/preview?".concat(a)):i}}};var Cg=r(762),wg=r.n(Cg),xg=r(5108);const Eg={inheritAttrs:!1,mixins:[Ag],props:{active:{type:Boolean,default:!1},basename:{type:String,required:!0},filename:{type:String,required:!0},source:{type:String,default:void 0},previewUrl:{type:String,default:void 0},hasPreview:{type:Boolean,default:!1},fileid:{type:[Number,String],required:!1},fileList:{type:Array,default:function(){return[]}},mime:{type:String,required:!0},canSwipe:{type:Boolean,default:!0},loaded:{type:Boolean,default:!1},isSidebarShown:{type:Boolean,default:!1},isFullScreen:{type:Boolean,default:!1}},data:function(){return{height:null,width:null,naturalHeight:null,naturalWidth:null,isLoaded:!1}},computed:{name:function(){return wg()(this.basename).name},ext:function(){return wg()(this.basename).ext},src:function(){var e;return null!==(e=this.source)&&void 0!==e?e:this.davPath}},watch:{active:function(e,t){!0===e&&!1===t&&this.isLoaded&&this.doneLoading()},isSidebarShown:function(){setTimeout(this.updateHeightWidth,200)}},mounted:function(){var e=this;this.$el.addEventListener("error",(function(t){xg.error("Error loading",e.filename,t),e.$emit("error",t)})),window.addEventListener("resize",bg()((function(){e.updateHeightWidth()}),100))},methods:{doneLoading:function(){this.$emit("update:loaded",!0),this.isLoaded=!0},updateHeightWidth:function(){var e=this.$parent.$el.querySelector(".modal-wrapper");if(e&&this.naturalHeight>0&&this.naturalWidth>0){var t=e.querySelector(".modal-container"),n=t.clientHeight-50,r=t.clientWidth,o=n/this.naturalHeight,i=r/this.naturalWidth;o<i&&o<1?(this.height=n,this.width=Math.round(this.naturalWidth/this.naturalHeight*n)):o>i&&i<1?(this.width=r,this.height=Math.round(this.naturalHeight/this.naturalWidth*r)):(this.height=this.naturalHeight,this.width=this.naturalWidth)}},enableSwipe:function(){this.$emit("update:canSwipe",!0)},disableSwipe:function(){this.$emit("update:canSwipe",!1)},toggleFullScreen:function(){this.isFullScreen?document.exitFullscreen():this.$el.requestFullscreen()}}};const _g=(0,r(7499).IY)().setApp("viewer").detectUser().build();const kg={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const Sg=(0,rg.Z)(kg,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon download-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports;const Dg={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};const Tg=(0,rg.Z)(Dg,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"material-design-icon pencil-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])}),[],!1,null,null,null).exports;var Og=r(5108);function Pg(e){return Pg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pg(e)}function Lg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||jg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fg(e){return function(e){if(Array.isArray(e))return Bg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jg(e,t){if(e){if("string"==typeof e)return Bg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bg(e,t):void 0}}function Bg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ig(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ng(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ig(i,r,o,a,s,"next",e)}function s(e){Ig(i,r,o,a,s,"throw",e)}a(void 0)}))}}const Mg={name:"Viewer",components:{Download:Sg,Error:og,NcActionButton:mm(),NcActionLink:vm(),NcModal:bm(),Pencil:Tg},mixins:[Cm(),xm()],data:function(){return{Viewer:OCA.Viewer,Sidebar:null,handlers:OCA.Viewer.availableHandlers,components:{},mimeGroups:{},registeredHandlers:{},currentIndex:0,previousFile:{},currentFile:{},nextFile:{},fileList:[],isLoaded:!1,initiated:!1,editing:!1,cancelRequestFile:function(){},cancelRequestFolder:function(){},sidebarWidth:0,isSidebarShown:!1,canSwipe:!0,isStandalone:!(OCA&&OCA.Files&&"fileActions"in OCA.Files),theme:null,root:Nm(),handlerId:"",trapElements:[]}},computed:{downloadPath:function(){var e;return null!==(e=this.currentFile.source)&&void 0!==e?e:this.currentFile.davPath},hasPrevious:function(){return this.fileList.length>1&&(this.canLoop||!this.isStartOfList)},hasNext:function(){return this.fileList.length>1&&(this.canLoop||!this.isEndOfList)},file:function(){return this.Viewer.file},fileInfo:function(){return this.Viewer.fileInfo},files:function(){return this.Viewer.files},el:function(){return this.Viewer.el},loadMore:function(){return this.Viewer.loadMore},canLoop:function(){return this.Viewer.canLoop},canZoom:function(){return!this.Viewer.el},isStartOfList:function(){return 0===this.currentIndex},isEndOfList:function(){return this.currentIndex===this.fileList.length-1},sidebarFile:function(){return this.Sidebar&&this.Sidebar.file},sidebarOpenFilePath:function(){try{var e,t,n,r,o=null===(e=this.currentFile)||void 0===e||null===(t=e.davPath)||void 0===t?void 0:t.split(Mm())[1];return null==o||null===(n=o.split("/"))||void 0===n||null===(r=n.map(decodeURIComponent))||void 0===r?void 0:r.join("/")}catch(e){return!1}},canDelete:function(){var e,t;return null===(e=this.currentFile)||void 0===e||null===(t=e.permissions)||void 0===t?void 0:t.includes("D")},canDownload:function(){return Zm()},canEdit:function(){var e,t,n;return!this.isMobile&&Zm()&&(null===(e=this.currentFile)||void 0===e||null===(t=e.permissions)||void 0===t?void 0:t.includes("W"))&&["image/jpeg","image/png","image/webp"].includes(null===(n=this.currentFile)||void 0===n?void 0:n.mime)},modalClass:function(){return{"icon-loading":!this.currentFile.loaded&&!this.currentFile.failed,"theme--undefined":null===this.theme,"theme--dark":"dark"===this.theme,"theme--light":"light"===this.theme,"theme--default":"default"===this.theme}}},watch:{el:function(e){_g.info(e),this.$nextTick((function(){var t=document.getElementById("viewer");if(e){var n=document.querySelector(e);n?n.appendChild(t):_g.warn("Could not find element ",{element:e})}else document.body.appendChild(t)}))},file:function(e){e&&""!==e.trim()?(_g.info("Opening viewer for file ",{path:e}),this.openFile(e,OCA.Viewer.overrideHandlerId)):this.cleanup()},fileInfo:function(e){e?(_g.info("Opening viewer for fileInfo ",{fileInfo:e}),this.openFileInfo(e,OCA.Viewer.overrideHandlerId)):this.cleanup()},files:function(e){var t=this,n=e.findIndex((function(e){return e.basename===t.currentFile.basename}));n>-1&&(this.currentIndex=n,_g.debug("The files list changed, new current file index is "+n)),this.fileList=e},isEndOfList:function(e){var t=this;return Ng(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return");case 2:if(!t.loadMore||"function"!=typeof t.loadMore){n.next=8;break}return _g.debug("Fetching additional files..."),n.next=6,t.loadMore();case 6:r=n.sent,Array.isArray(r)&&r.length>0&&(o=t.fileList).push.apply(o,Fg(r));case 8:case"end":return n.stop()}}),n)})))()}},beforeMount:function(){var e=this;document.addEventListener("DOMContentLoaded",(function(t){var n,r;e.handlers.forEach((function(t){e.registerHandler(t)})),e.handlers.forEach((function(t){e.registerHandlerAlias(t)})),e.isLoaded=!0,null!==(n=OCA)&&void 0!==n&&null!==(r=n.Files)&&void 0!==r&&r.Sidebar&&(e.Sidebar=OCA.Files.Sidebar.state),_g.info("".concat(e.handlers.length," viewer handlers registered"),{handlers:e.handlers})})),window.addEventListener("resize",this.onResize),this.isStandalone&&_g.info("No OCA.Files app found, viewer is now in standalone mode")},mounted:function(){A("files:sidebar:opened",this.handleAppSidebarOpen),A("files:sidebar:closed",this.handleAppSidebarClose),A("viewer:trapElements:changed",this.handleTrapElementsChange),window.addEventListener("keydown",this.keyboardDeleteFile),window.addEventListener("keydown",this.keyboardDownloadFile),window.addEventListener("keydown",this.keyboardEditFile)},beforeDestroy:function(){window.removeEventListener("resize",this.onResize)},destroyed:function(){C("files:sidebar:opened",this.handleAppSidebarOpen),C("files:sidebar:closed",this.handleAppSidebarClose),C("viewer:trapElements:changed",this.handleTrapElementsChange),window.removeEventListener("keydown",this.keyboardDeleteFile),window.removeEventListener("keydown",this.keyboardDownloadFile),window.removeEventListener("keydown",this.keyboardEditFile)},methods:{beforeOpen:function(){var e,t,n;this.initiated=!0,null!==(e=OCA)&&void 0!==e&&null!==(t=e.Files)&&void 0!==t&&null!==(n=t.Sidebar)&&void 0!==n&&n.setFullScreenMode&&OCA.Files.Sidebar.setFullScreenMode(!0)},openFile:function(e){var t=arguments,n=this;return Ng(regeneratorRuntime.mark((function r(){var o,i,a,s,l,u,c,p,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=t.length>1&&void 0!==t[1]?t[1]:null,n.beforeOpen(),n.cancelRequestFile(),e!==n.currentFile.path){r.next=5;break}return r.abrupt("return");case 5:return i=Jm(dg),a=i.request,s=i.cancel,n.cancelRequestFile=s,l=Hm(e),u=Lg(l,2),c=u[1],n.el||(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"),(p=document.getElementsByTagName("head")[0].getElementsByTagName("title")[0])&&!p.dataset.old&&(p.dataset.old=document.title,n.updateTitle(c)),r.prev=11,r.next=14,a(e);case 14:return d=r.sent,Og.debug("File info for "+e+" fetched",d),r.next=18,n.openFileInfo(d,o);case 18:r.next=23;break;case 20:r.prev=20,r.t0=r.catch(11),Og.error("Could not open file "+e,r.t0);case 23:case"end":return r.stop()}}),r,null,[[11,20]])})))()},openFileInfo:function(e){var n=arguments,r=this;return Ng(regeneratorRuntime.mark((function o(){var i,a,s,l,u,c,p,d,f,h,m,g,v,y,b,A,C;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(a=n.length>1&&void 0!==n[1]?n[1]:null,r.beforeOpen(),r.cancelRequestFolder(),e.basename!==r.currentFile.basename){o.next=5;break}return o.abrupt("return");case 5:if(s=e.mime,l=s.split("/")[0],null!==a&&(c=Object.values(r.registeredHandlers).find((function(e){return e.id===a})),u=null!=c?c:u),u||(u=null!==(p=r.registeredHandlers[s])&&void 0!==p?p:r.registeredHandlers[l]),r.theme=null!==(i=u.theme)&&void 0!==i?i:"dark",u){o.next=15;break}return _g.error("The following file could not be displayed",{fileInfo:e}),dm(t("viewer","There is no plugin available to display this file type")),r.close(),o.abrupt("return");case 15:if(r.handlerId=u.id,d=r.mimeGroups[s],!(r.files&&r.files.length>0)){o.next=23;break}_g.debug("A files list have been provided. No folder content will be fetched."),r.fileList=r.files,r.currentIndex=r.fileList.findIndex((function(t){return t.basename===e.basename})),o.next=38;break;case 23:if(!d||null!==r.el){o.next=36;break}return f=r.mimeGroups[d]?r.mimeGroups[d]:[s],h=Jm(gg),m=h.request,g=h.cancel,r.cancelRequestFolder=g,v=Hm(e.filename),y=Lg(v,1),b=y[0],o.next=30,m(b);case 30:A=o.sent,C=A.filter((function(e){return e.mime&&-1!==f.indexOf(e.mime)})),r.fileList=C.sort((function(e,t){return qm(e,t,"basename")})),r.currentIndex=r.fileList.findIndex((function(t){return t.basename===e.basename})),o.next=38;break;case 36:r.currentIndex=0,r.fileList=[e];case 38:e=r.fileList[r.currentIndex],r.currentFile=new ig(e,s,u.component),r.updatePreviousNext(),r.changeSidebar();case 42:case"end":return o.stop()}}),o)})))()},openFileFromList:function(e){var t=e.mime;this.currentFile=new ig(e,t,this.components[t]),this.changeSidebar(),this.updatePreviousNext()},changeSidebar:function(){this.sidebarFile&&this.showSidebar()},updatePreviousNext:function(){var e=this.fileList[this.currentIndex-1],t=this.fileList[this.currentIndex+1];if(e){var n=e.mime;this.components[n]&&(this.previousFile=new ig(e,n,this.components[n]))}else this.previousFile=null;if(t){var r=t.mime;this.components[r]&&(this.nextFile=new ig(t,r,this.components[r]))}else this.nextFile=null},updateTitle:function(e){var t,n;document.title="".concat(e," - ").concat(null!==(t=null===(n=OCA.Theming)||void 0===n?void 0:n.name)&&void 0!==t?t:oc_defaults.name)},registerHandler:function(e){var t,n,r=this;e.id&&Object.values(this.registeredHandlers).findIndex((function(t){return t.id===e.id}))>-1?_g.error("The following handler is already registered",{handler:e}):e.id&&""!==e.id.trim()&&"string"==typeof e.id?(e.mimes&&Array.isArray(e.mimes)||!e.mimesAliases)&&(e.mimes&&Array.isArray(e.mimes)||e.mimesAliases?e.component&&"object"===Pg(e.component)?(e.component.mixins=[].concat(Fg(null!==(t=null==e||null===(n=e.component)||void 0===n?void 0:n.mixins)&&void 0!==t?t:[]),[Eg]),e.mimes&&e.mimes.forEach((function(t){r.components[t]?_g.error("The following mime is already registered",{mime:t,handler:e}):(r.registerAction({mime:t,group:e.group}),r.components[t]=e.component,i.ZP.component(e.component.name,e.component),r.registeredHandlers[t]=e)}))):_g.error("The following handler doesn't have a valid component",{handler:e}):_g.error("The following handler doesn't have a valid mime array",{handler:e})):_g.error("The following handler doesn't have a valid id",{handler:e})},registerHandlerAlias:function(e){var t=this;e.mimesAliases&&Object.keys(e.mimesAliases).forEach((function(n){if(e.mimesAliases&&"object"!==Pg(e.mimesAliases))_g.error("The following handler doesn't have a valid mimesAliases object",{handler:e});else{var r=e.mimesAliases[n];t.components[n]?_g.error("The following mime is already registered",{mime:n,handler:e}):t.components[r]?(t.registerAction({mime:n,group:t.mimeGroups[r]}),t.components[n]=t.components[r],t.registeredHandlers[n]=e):_g.error("The requested alias does not exists",{alias:r,mime:n,handler:e})}}))},registerAction:function(e){var n=e.mime,r=e.group;this.isStandalone||(OCA.Files.fileActions.registerAction({name:"view",displayName:t("viewer","View"),mime:n,permissions:OC.PERMISSION_READ,actionHandler:ag}),OCA.Files.fileActions.setDefault(n,"view")),r&&(this.mimeGroups[n]=r,this.mimeGroups[r]||(this.mimeGroups[r]=[]),this.mimeGroups[r].push(n))},close:function(){var e,t;OCA.Viewer.close(),null!==(e=OCA)&&void 0!==e&&null!==(t=e.Files)&&void 0!==t&&t.Sidebar&&OCA.Files.Sidebar.setFullScreenMode(!1)},keyboardDeleteFile:function(e){this.canDelete&&"Delete"===e.key&&!0===e.ctrlKey&&this.onDelete()},keyboardDownloadFile:function(e){if("s"===e.key&&!0===e.ctrlKey&&(e.preventDefault(),this.canDownload)){var t=document.createElement("a");t.href=this.currentFile.davPath,t.download=this.currentFile.basename,document.body.appendChild(t),t.click(),document.body.removeChild(t)}},keyboardEditFile:function(e){"e"===e.key&&!0===e.ctrlKey&&(e.preventDefault(),this.canEdit&&this.onEdit())},cleanup:function(){this.currentFile={},this.currentModal=null,this.fileList=[],this.initiated=!1,this.theme=null,this.cancelRequestFile(),this.cancelRequestFolder(),document.body.style.overflow=null,document.documentElement.style.overflow=null,this.Viewer.onClose();var e=document.getElementsByTagName("head")[0].getElementsByTagName("title")[0];e&&e.dataset.old&&(document.title=e.dataset.old,delete e.dataset.old)},previous:function(){var e=this.fileList[this.currentIndex];this.currentIndex--,this.currentIndex<0&&(this.currentIndex=this.fileList.length-1);var t=this.fileList[this.currentIndex];this.openFileFromList(t),this.Viewer.onPrev(t,e),this.updateTitle(this.currentFile.basename)},next:function(){var e=this.fileList[this.currentIndex];this.currentIndex++,this.currentIndex>this.fileList.length-1&&(this.currentIndex=0);var t=this.fileList[this.currentIndex];this.openFileFromList(t),this.Viewer.onNext(t,e),this.updateTitle(this.currentFile.basename)},previousFailed:function(){this.previousFile.failed=!0},currentFailed:function(){this.currentFile.failed=!0},nextFailed:function(){this.nextFile.failed=!0},showSidebar:function(){var e=this;return Ng(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(n=OCA)||void 0===n||null===(r=n.Files)||void 0===r||!r.Sidebar){t.next=3;break}return t.next=3,OCA.Files.Sidebar.open(e.sidebarOpenFilePath);case 3:case"end":return t.stop()}}),t)})))()},handleAppSidebarOpen:function(){this.isSidebarShown=!0;var e=document.querySelector("aside.app-sidebar");e&&(this.sidebarWidth=e.offsetWidth,this.trapElements=[e])},handleAppSidebarClose:function(){this.isSidebarShown=!1,this.trapElements=[]},onResize:function(e){var t=document.querySelector("aside.app-sidebar");t&&(this.sidebarWidth=t.offsetWidth)},onDelete:function(){var e=this;return Ng(regeneratorRuntime.mark((function t(){var n,r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=e.currentFile.fileid,o=null!==(n=e.source)&&void 0!==n?n:e.root+e.currentFile.filename,t.next=5,j.delete(o);case 5:w("files:file:deleted",{fileid:r}),i=e.fileList.findIndex((function(t){return t.basename===e.currentFile.basename})),e.hasPrevious||e.hasNext?(e.hasPrevious?e.previous():e.next(),e.fileList.splice(i,1)):e.close(),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),Og.error(t.t0),dm(t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))()},onEdit:function(){this.editing=!0},handleTrapElementsChange:function(e){this.trapElements.push(e)}}},Rg=Mg;var zg=r(4499),Ug={};Ug.styleTagTransform=W(),Ug.setAttributes=H(),Ug.insert=U().bind(null,"head"),Ug.domAPI=R(),Ug.insertStyleElement=V();N()(zg.Z,Ug);zg.Z&&zg.Z.locals&&zg.Z.locals;var $g=r(8486),Hg={};Hg.styleTagTransform=W(),Hg.setAttributes=H(),Hg.insert=U().bind(null,"head"),Hg.domAPI=R(),Hg.insertStyleElement=V();N()($g.Z,Hg);$g.Z&&$g.Z.locals&&$g.Z.locals;const qg=(0,rg.Z)(Rg,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.el?n("div",{attrs:{id:"viewer","data-handler":e.handlerId}},[e.currentFile.failed?n("Error",{attrs:{name:e.currentFile.basename}}):n(e.currentFile.modal,e._b({key:e.currentFile.fileid,ref:"content",tag:"component",staticClass:"viewer__file viewer__file--active",attrs:{active:!0,"can-swipe":!1,"file-list":[e.currentFile],"is-full-screen":!1,loaded:e.currentFile.loaded,"is-sidebar-shown":!1},on:{"update:loaded":function(t){return e.$set(e.currentFile,"loaded",t)},error:e.currentFailed}},"component",e.currentFile,!1))],1):e.initiated||e.currentFile.modal?n("NcModal",{staticClass:"viewer",class:e.modalClass,style:{width:e.isSidebarShown?"calc(100% - "+e.sidebarWidth+"px)":null},attrs:{id:"viewer","additional-trap-elements":e.trapElements,"clear-view-delay":-1,"close-button-contained":!1,dark:!0,"data-handler":e.handlerId,"enable-slideshow":e.hasPrevious||e.hasNext,"enable-swipe":e.canSwipe&&!e.editing,"has-next":e.hasNext,"has-previous":e.hasPrevious,"inline-actions":e.canEdit?1:0,"spread-navigation":!0,title:e.currentFile.basename,view:e.currentFile.modal,size:"full"},on:{close:e.close,previous:e.previous,next:e.next},scopedSlots:e._u([{key:"actions",fn:function(){return[e.canEdit?n("NcActionButton",{attrs:{"close-after-click":!0},on:{click:e.onEdit},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Pencil",{attrs:{size:20}})]},proxy:!0}],null,!1,580569589)},[e._v("\n\t\t\t"+e._s(e.t("viewer","Edit"))+"\n\t\t")]):e._e(),e._v(" "),e.Sidebar&&e.sidebarOpenFilePath&&!e.isSidebarShown?n("NcActionButton",{attrs:{"close-after-click":!0,icon:"icon-menu-sidebar"},on:{click:e.showSidebar}},[e._v("\n\t\t\t"+e._s(e.t("viewer","Open sidebar"))+"\n\t\t")]):e._e(),e._v(" "),e.canDownload?n("NcActionLink",{attrs:{download:e.currentFile.basename,"close-after-click":!0,href:e.downloadPath},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Download",{attrs:{size:24}})]},proxy:!0}],null,!1,3874636280)},[e._v("\n\t\t\t"+e._s(e.t("viewer","Download"))+"\n\t\t")]):e._e(),e._v(" "),e.canDelete?n("NcActionButton",{attrs:{"close-after-click":!0,icon:"icon-delete"},on:{click:e.onDelete}},[e._v("\n\t\t\t"+e._s(e.t("viewer","Delete"))+"\n\t\t")]):e._e()]},proxy:!0}])},[e._v(" "),n("div",{staticClass:"viewer__content",on:{click:function(t){return t.target!==t.currentTarget||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.close.apply(null,arguments)}}},[e.previousFile&&!e.previousFile.failed?n(e.previousFile.modal,e._b({key:e.previousFile.fileid,ref:"previous-content",tag:"component",staticClass:"viewer__file--hidden viewer__file",attrs:{"file-list":e.fileList},on:{error:e.previousFailed}},"component",e.previousFile,!1)):e.previousFile?n("Error",{staticClass:"hidden-visually",attrs:{name:e.previousFile.basename}}):e._e(),e._v(" "),e.currentFile.failed?n("Error",{attrs:{name:e.currentFile.basename}}):n(e.currentFile.modal,e._b({key:e.currentFile.fileid,ref:"content",tag:"component",staticClass:"viewer__file viewer__file--active",attrs:{active:!0,"can-swipe":e.canSwipe,"can-zoom":e.canZoom,editing:e.editing,"file-list":e.fileList,"is-full-screen":e.isFullscreen,"is-sidebar-shown":e.isSidebarShown,loaded:e.currentFile.loaded},on:{"update:canSwipe":function(t){e.canSwipe=t},"update:can-swipe":function(t){e.canSwipe=t},"update:editing":function(t){e.editing=t},"update:loaded":function(t){return e.$set(e.currentFile,"loaded",t)},error:e.currentFailed}},"component",e.currentFile,!1)),e._v(" "),e.nextFile&&!e.nextFile.failed?n(e.nextFile.modal,e._b({key:e.nextFile.fileid,ref:"next-content",tag:"component",staticClass:"viewer__file--hidden viewer__file",attrs:{"file-list":e.fileList},on:{error:e.nextFailed}},"component",e.nextFile,!1)):e.nextFile?n("Error",{staticClass:"hidden-visually",attrs:{name:e.nextFile.basename}}):e._e()],1)]):e._e()}),[],!1,null,"21a764e7",null).exports;var Vg=r(5108);function Gg(e,t,n){e.$set(e.$data._asyncComputed[t],"state",n),e.$set(e.$data._asyncComputed[t],"updating","updating"===n),e.$set(e.$data._asyncComputed[t],"error","error"===n),e.$set(e.$data._asyncComputed[t],"success","success"===n)}function Wg(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Zg(e){return Wg(e,"lazy")&&e.lazy}var Yg="async_computed$lazy_active$",Xg="async_computed$lazy_data$";function Kg(e,t,n){e[Yg+t]=!1,e[Xg+t]=n}function Qg(e){return{get:function(){return this[Yg+e]=!0,this[Xg+e]},set:function(t){this[Xg+e]=t}}}function Jg(e,t,n){e[Xg+t]=n}function ev(e){if("function"==typeof e.watch)return function(e){return function(){return e.watch.call(this),e.get.call(this)}}(e);if(Array.isArray(e.watch))return e.watch.forEach((function(e){if("string"!=typeof e)throw new Error("AsyncComputed: watch elemnts must be strings")})),function(e){return function(){var t=this;return e.watch.forEach((function(e){var n=e.split(".");if(1===n.length)t[e];else try{var r=t;n.forEach((function(e){r=r[e]}))}catch(t){throw Vg.error("AsyncComputed: bad path: ",e),t}})),e.get.call(this)}}(e);throw Error("AsyncComputed: watch should be function or an array")}var tv="function"==typeof Symbol?Symbol("did-not-update"):{},nv="_async_computed$",rv={install:function(e,t){t=t||{},e.config.optionMergeStrategies.asyncComputed=e.config.optionMergeStrategies.computed,e.mixin({data:function(){return{_asyncComputed:{}}},computed:{$asyncComputed:function(){return this.$data._asyncComputed}},beforeCreate:function(){var e=this.$options.asyncComputed||{};if(Object.keys(e).length){for(var n in e){var r=iv(n,e[n]);this.$options.computed[nv+n]=r}this.$options.data=function(e,t){var n=e.data,r=e.asyncComputed||{};return function(e){var o=("function"==typeof n?n.call(this,e):n)||{};for(var i in r){var a=this.$options.asyncComputed[i],s=av.call(this,a,t);Zg(a)?(Kg(o,i,s),this.$options.computed[i]=Qg(i)):o[i]=s}return o}}(this.$options,t)}},created:function(){for(var n in this.$options.asyncComputed||{}){var r=this.$options.asyncComputed[n],o=av.call(this,r,t);Zg(r)?Jg(this,n,o):this[n]=o}for(var i in this.$options.asyncComputed||{})ov(this,i,t,e)}})}};function ov(e,t,n,r){var o=0,i=function(i){var a=++o;tv!==i&&(i&&i.then||(i=Promise.resolve(i)),Gg(e,t,"updating"),i.then((function(n){a===o&&(Gg(e,t,"success"),e[t]=n)})).catch((function(i){if(a===o&&(Gg(e,t,"error"),r.set(e.$data._asyncComputed[t],"exception",i),!1!==n.errorHandler)){var s=void 0===n.errorHandler?Vg.error.bind(Vg,"Error evaluating async computed property:"):n.errorHandler;n.useRawError?s(i,e,i.stack):s(i.stack)}})))};r.set(e.$data._asyncComputed,t,{exception:null,update:function(){var n;e._isDestroyed||i((n=e.$options.asyncComputed[t],"function"==typeof n?n:n.get).apply(e))}}),Gg(e,t,"updating"),e.$watch(nv+t,i,{immediate:!0})}function iv(e,t){if("function"==typeof t)return t;var n,r,o=t.get;if(Wg(t,"watch")&&(o=ev(t)),Wg(t,"shouldUpdate")&&(n=t,r=o,o=function(){return n.shouldUpdate.call(this)?r.call(this):tv}),Zg(t)){var i=o;o=function(){return function(e,t){return e[Yg+t]}(this,e)?i.call(this):function(e,t){return e[Xg+t]}(this,e)}}return o}function av(e,t){var n=null;return"default"in e?n=e.default:"default"in t&&(n=t.default),"function"==typeof n?n.call(this):n}"undefined"!=typeof window&&window.Vue&&window.Vue.use(rv);const sv=rv;var lv=r(3935);function uv(e){return uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uv(e)}function cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fv(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function hv(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,fv(e,t,"get"))}function mv(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,fv(e,t,"set"),n),n}var gv=r(7294),vv=r(745);function yv(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var bv=r(5697),Av=r.n(bv),Cv=r(9864),wv=r(6774),xv=r.n(wv);const Ev=function(e){function t(e,r,l,u,d){for(var f,h,m,g,A,w=0,x=0,E=0,_=0,k=0,L=0,j=m=f=0,I=0,N=0,M=0,R=0,z=l.length,U=z-1,$="",H="",q="",V="";I<z;){if(h=l.charCodeAt(I),I===U&&0!==x+_+E+w&&(0!==x&&(h=47===x?10:47),_=E=w=0,z++,U++),0===x+_+E+w){if(I===U&&(0<N&&($=$.replace(p,"")),0<$.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:$+=l.charAt(I)}h=59}switch(h){case 123:for(f=($=$.trim()).charCodeAt(0),m=1,R=++I;I<z;){switch(h=l.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(I+1)){case 42:case 47:e:{for(j=I+1;j<U;++j)switch(l.charCodeAt(j)){case 47:if(42===h&&42===l.charCodeAt(j-1)&&I+2!==j){I=j+1;break e}break;case 10:if(47===h){I=j+1;break e}}I=j}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&l.charCodeAt(I)!==h;);}if(0===m)break;I++}if(m=l.substring(R,I),0===f&&(f=($=$.replace(c,"").trim()).charCodeAt(0)),64===f){switch(0<N&&($=$.replace(p,"")),h=$.charCodeAt(1)){case 100:case 109:case 115:case 45:N=r;break;default:N=P}if(R=(m=t(r,N,m,h,d+1)).length,0<F&&(A=s(3,m,N=n(P,$,M),r,D,S,R,h,d,u),$=N.join(""),void 0!==A&&0===(R=(m=A.trim()).length)&&(h=0,m="")),0<R)switch(h){case 115:$=$.replace(C,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(v,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===u&&(H+=m,m="")}else m=""}else m=t(r,n(r,$,M),m,u,d+1);q+=m,m=M=N=j=f=0,$="",h=l.charCodeAt(++I);break;case 125:case 59:if(1<(R=($=(0<N?$.replace(p,""):$).trim()).length))switch(0===j&&(f=$.charCodeAt(0),45===f||96<f&&123>f)&&(R=($=$.replace(" ",":")).length),0<F&&void 0!==(A=s(1,$,r,e,D,S,H.length,u,d,u))&&0===(R=($=A.trim()).length)&&($="\0\0"),f=$.charCodeAt(0),h=$.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){V+=$+l.charAt(I);break}default:58!==$.charCodeAt(R-1)&&(H+=o($,f,h,$.charCodeAt(2)))}M=N=j=f=0,$="",h=l.charCodeAt(++I)}}switch(h){case 13:case 10:47===x?x=0:0===1+f&&107!==u&&0<$.length&&(N=1,$+="\0"),0<F*B&&s(0,$,r,e,D,S,H.length,u,d,u),S=1,D++;break;case 59:case 125:if(0===x+_+E+w){S++;break}default:switch(S++,g=l.charAt(I),h){case 9:case 32:if(0===_+w+x)switch(k){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===_+x+w&&(N=M=1,g="\f"+g);break;case 108:if(0===_+x+w+T&&0<j)switch(I-j){case 2:112===k&&58===l.charCodeAt(I-3)&&(T=k);case 8:111===L&&(T=L)}break;case 58:0===_+x+w&&(j=I);break;case 44:0===x+E+_+w&&(N=1,g+="\r");break;case 34:case 39:0===x&&(_=_===h?0:0===_?h:_);break;case 91:0===_+x+E&&w++;break;case 93:0===_+x+E&&w--;break;case 41:0===_+x+w&&E--;break;case 40:if(0===_+x+w){if(0===f)if(2*k+3*L==533);else f=1;E++}break;case 64:0===x+E+_+w+j+m&&(m=1);break;case 42:case 47:if(!(0<_+w+E))switch(x){case 0:switch(2*h+3*l.charCodeAt(I+1)){case 235:x=47;break;case 220:R=I,x=42}break;case 42:47===h&&42===k&&R+2!==I&&(33===l.charCodeAt(R+2)&&(H+=l.substring(R,I+1)),g="",x=0)}}0===x&&($+=g)}L=k,k=h,I++}if(0<(R=H.length)){if(N=r,0<F&&(void 0!==(A=s(2,H,N,e,D,S,R,u,d,u))&&0===(H=A).length))return V+H+q;if(H=N.join(",")+"{"+H+"}",0!=O*T){switch(2!==O||i(H,2)||(T=0),T){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}T=0}}return V+H+q}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===O||2===O&&i(l,1)?"-webkit-"+l+l:l}if(0===O||2===O&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(k,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(A,"tb");break;case 232:l=a.replace(A,"tb-rl");break;case 220:l=a.replace(A,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),j(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,c){for(var p,d=0,f=t;d<F;++d)switch(p=L[d].call(u,e,f,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function l(e){return void 0!==(e=e.prefix)&&(j=null,e?"function"!=typeof e?O=1:(O=2,j=e):O=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<F){var o=s(-1,n,r,r,D,S,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(P,r,n,0,0);return 0<F&&(void 0!==(o=s(-2,i,r,r,D,S,i.length,0,0,0))&&(i=o)),"",T=0,S=D=1,i}var c=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,A=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,x=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,S=1,D=1,T=0,O=1,P=[],L=[],F=0,j=null,B=0;return u.use=function e(t){switch(t){case void 0:case null:F=L.length=0;break;default:if("function"==typeof t)L[F++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else B=0|!!t}return e},u.set=l,void 0!==e&&l(e),u};const _v={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var kv=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const Sv=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return kv.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Dv=r(8679),Tv=r.n(Dv),Ov=r(4155);function Pv(){return(Pv=Object.assign||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}).apply(this,arguments)}var Lv=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},Fv=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Cv.typeOf)(e)},jv=Object.freeze([]),Bv=Object.freeze({});function Iv(e){return"function"==typeof e}function Nv(e){return e.displayName||e.name||"Component"}function Mv(e){return e&&"string"==typeof e.styledComponentId}var Rv=void 0!==Ov&&(Ov.env.REACT_APP_SC_ATTR||Ov.env.SC_ATTR)||"data-styled",zv="undefined"!=typeof window&&"HTMLElement"in window,Uv=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==Ov&&void 0!==Ov.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==Ov.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==Ov.env.REACT_APP_SC_DISABLE_SPEEDY&&Ov.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==Ov&&void 0!==Ov.env.SC_DISABLE_SPEEDY&&""!==Ov.env.SC_DISABLE_SPEEDY&&("false"!==Ov.env.SC_DISABLE_SPEEDY&&Ov.env.SC_DISABLE_SPEEDY)),$v={};function Hv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var qv=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&Hv(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),Vv=new Map,Gv=new Map,Wv=1,Zv=function(e){if(Vv.has(e))return Vv.get(e);for(;Gv.has(Wv);)Wv++;var t=Wv++;return Vv.set(e,t),Gv.set(t,e),t},Yv=function(e){return Gv.get(e)},Xv=function(e,t){t>=Wv&&(Wv=t+1),Vv.set(e,t),Gv.set(t,e)},Kv="style["+Rv+'][data-styled-version="5.3.5"]',Qv=new RegExp("^"+Rv+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Jv=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},ey=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(Qv);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(Xv(u,l),Jv(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},ty=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},ny=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Rv))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Rv,"active"),r.setAttribute("data-styled-version","5.3.5");var a=ty();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},ry=function(){function e(e){var t=this.element=ny(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}Hv(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),oy=function(){function e(e){var t=this.element=ny(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),iy=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ay=zv,sy={isServer:!zv,useCSSOMInjection:!Uv},ly=function(){function e(e,t,n){void 0===e&&(e=Bv),void 0===t&&(t={}),this.options=Pv({},sy,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&zv&&ay&&(ay=!1,function(e){for(var t=document.querySelectorAll(Kv),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(Rv)&&(ey(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Zv(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Pv({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new iy(o):r?new ry(o):new oy(o),new qv(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Zv(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Zv(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Zv(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=Yv(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var l=Rv+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),uy=/(a)(d)/gi,cy=function(e){return String.fromCharCode(e+(e>25?39:97))};function py(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=cy(t%52)+n;return(cy(t%52)+n).replace(uy,"$1-$2")}var dy=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},fy=function(e){return dy(5381,e)};function hy(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Iv(n)&&!Mv(n))return!1}return!0}var my=fy("5.3.5"),gy=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&hy(e),this.componentId=t,this.baseHash=dy(my,t),this.baseStyle=n,ly.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=jy(this.rules,e,t,n).join(""),a=py(dy(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=dy(this.baseHash,n.hash),c="",p=0;p<l;p++){var d=this.rules[p];if("string"==typeof d)c+=d;else if(d){var f=jy(d,e,t,n),h=Array.isArray(f)?f.join(""):f;u=dy(u,h+p),c+=h}}if(c){var m=py(u>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}o.push(m)}}return o.join(" ")},e}(),vy=/^\s*\/\/.*$/gm,yy=[":","[",".","#"];function by(e){var t,n,r,o,i=void 0===e?Bv:e,a=i.options,s=void 0===a?Bv:a,l=i.plugins,u=void 0===l?jv:l,c=new Ev(s),p=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,l,u,c,p){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===p?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){p.push(e)})),f=function(e,r,i){return 0===r&&-1!==yy.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,s){void 0===s&&(s="&");var l=e.replace(vy,""),u=i&&a?a+" "+i+" { "+l+" }":l;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(a||!i?"":i,u)}return c.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f))},d,function(e){if(-2===e){var t=p;return p=[],t}}])),h.hash=u.length?u.reduce((function(e,t){return t.name||Hv(15),dy(e,t.name)}),5381).toString():"",h}var Ay=gv.createContext(),Cy=(Ay.Consumer,gv.createContext()),wy=(Cy.Consumer,new ly),xy=by();function Ey(){return(0,gv.useContext)(Ay)||wy}function _y(){return(0,gv.useContext)(Cy)||xy}function ky(e){var t=(0,gv.useState)(e.stylisPlugins),n=t[0],r=t[1],o=Ey(),i=(0,gv.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,gv.useMemo)((function(){return by({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,gv.useEffect)((function(){xv()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),gv.createElement(Ay.Provider,{value:i},gv.createElement(Cy.Provider,{value:a},e.children))}var Sy=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=xy);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Hv(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=xy),this.name+e.hash},e}(),Dy=/([A-Z])/,Ty=/([A-Z])/g,Oy=/^ms-/,Py=function(e){return"-"+e.toLowerCase()};function Ly(e){return Dy.test(e)?e.replace(Ty,Py).replace(Oy,"-ms-"):e}var Fy=function(e){return null==e||!1===e||""===e};function jy(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=jy(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Fy(e)?"":Mv(e)?"."+e.styledComponentId:Iv(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:jy(e(t),t,n,r):e instanceof Sy?n?(e.inject(n,r),e.getName(r)):e:Fv(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Fy(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Iv(t[a])?i.push(Ly(a)+":",t[a],";"):Fv(t[a])?i.push.apply(i,e(t[a],a)):i.push(Ly(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in _v?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var By=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Iy(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Iv(e)||Fv(e)?By(jy(Lv(jv,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:By(jy(Lv(e,n)))}new Set;var Ny=function(e,t,n){return void 0===n&&(n=Bv),e.theme!==n.theme&&e.theme||t||n.theme},My=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ry=/(^-|-$)/g;function zy(e){return e.replace(My,"-").replace(Ry,"")}var Uy=function(e){return py(fy(e)>>>0)};function $y(e){return"string"==typeof e&&!0}var Hy=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},qy=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Vy(e,t,n){var r=e[n];Hy(t)&&Hy(r)?Gy(r,t):e[n]=t}function Gy(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Hy(a))for(var s in a)qy(s)&&Vy(e,a[s],s)}return e}var Wy=gv.createContext();Wy.Consumer;function Zy(e){var t=(0,gv.useContext)(Wy),n=(0,gv.useMemo)((function(){return function(e,t){return e?Iv(e)?e(t):Array.isArray(e)||"object"!=typeof e?Hv(8):t?Pv({},t,{},e):e:Hv(14)}(e.theme,t)}),[e.theme,t]);return e.children?gv.createElement(Wy.Provider,{value:n},e.children):null}var Yy={};function Xy(e,t,n){var r=Mv(e),o=!$y(e),i=t.attrs,a=void 0===i?jv:i,s=t.componentId,l=void 0===s?function(e,t){var n="string"!=typeof e?"sc":zy(e);Yy[n]=(Yy[n]||0)+1;var r=n+"-"+Uy("5.3.5"+n+Yy[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,u=t.displayName,c=void 0===u?function(e){return $y(e)?"styled."+e:"Styled("+Nv(e)+")"}(e):u,p=t.displayName&&t.componentId?zy(t.displayName)+"-"+t.componentId:t.componentId||l,d=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,f=t.shouldForwardProp;r&&e.shouldForwardProp&&(f=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var h,m=new gy(n,p,r?e.componentStyle:void 0),g=m.isStatic&&0===a.length,v=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,l=e.shouldForwardProp,u=e.styledComponentId,c=e.target,p=function(e,t,n){void 0===e&&(e=Bv);var r=Pv({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in Iv(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(Ny(t,(0,gv.useContext)(Wy),a)||Bv,t,o),d=p[0],f=p[1],h=function(e,t,n,r){var o=Ey(),i=_y();return t?e.generateAndInjectStyles(Bv,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,d),m=n,g=f.$as||t.$as||f.as||t.as||c,v=$y(g),y=f!==t?Pv({},t,{},f):t,b={};for(var A in y)"$"!==A[0]&&"as"!==A&&("forwardedAs"===A?b.as=y[A]:(l?l(A,Sv,g):!v||Sv(A))&&(b[A]=y[A]));return t.style&&f.style!==t.style&&(b.style=Pv({},t.style,{},f.style)),b.className=Array.prototype.concat(s,u,h!==u?h:null,t.className,f.className).filter(Boolean).join(" "),b.ref=m,(0,gv.createElement)(g,b)}(h,e,t,g)};return v.displayName=c,(h=gv.forwardRef(v)).attrs=d,h.componentStyle=m,h.displayName=c,h.shouldForwardProp=f,h.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):jv,h.styledComponentId=p,h.target=r?e.target:e,h.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+($y(e)?e:zy(Nv(e)));return Xy(e,Pv({},o,{attrs:d,componentId:i}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Gy({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&Tv()(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var Ky=function(e){return function e(t,n,r){if(void 0===r&&(r=Bv),!(0,Cv.isValidElementType)(n))return Hv(1,String(n));var o=function(){return t(n,r,Iy.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Pv({},r,{},o))},o.attrs=function(o){return e(t,n,Pv({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Xy,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ky[e]=Ky(e)}));var Qy=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=hy(e),ly.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(jy(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ly.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Jy(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Iy.apply(void 0,[e].concat(n)),i="sc-global-"+Uy(JSON.stringify(o)),a=new Qy(o,i);function s(e){var t=Ey(),n=_y(),r=(0,gv.useContext)(Wy),o=(0,gv.useRef)(t.allocateGSInstance(i)).current;return t.server&&l(o,e,t,r,n),(0,gv.useLayoutEffect)((function(){if(!t.server)return l(o,e,t,r,n),function(){return a.removeStyles(o,t)}}),[o,e,t,r,n]),null}function l(e,t,n,r,o){if(a.isStatic)a.renderStyles(e,$v,n,o);else{var i=Pv({},t,{theme:Ny(t,r,s.defaultProps)});a.renderStyles(e,i,n,o)}}return gv.memo(s)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ty();return"<style "+[n&&'nonce="'+n+'"',Rv+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Hv(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Hv(2);var n=((t={})[Rv]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=ty();return r&&(n.nonce=r),[gv.createElement("style",Pv({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ly({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?Hv(2):gv.createElement(ky,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Hv(3)}}();const eb=Ky;var tb=r(2378),nb=r.n(tb),rb=function(e,t){return e.reduce((function(e,n){return Object.assign(e,dv({},n,t))}),{})};function ob(e){return Object.values(e)}var ib,ab,sb,lb,ub={Xs:"xs",Sm:"sm",Md:"md",Lg:"lg",Xl:"xl"},cb={TextPrimary:"txt-primary",TextPrimaryInvert:"txt-primary-invert",TextSecondary:"txt-secondary",TextSecondaryInvert:"txt-secondary-invert",TextPlaceholder:"txt-placeholder",AccentPrimary:"accent-primary",AccentPrimaryHover:"accent-primary-hover",AccentPrimaryActive:"accent-primary-active",AccentPrimaryDisabled:"accent-primary-disabled",BackgroundPrimary:"bg-primary",BackgroundPrimaryHover:"bg-primary-hover",BackgroundPrimaryActive:"bg-primary-active",BackgroundPrimary_0_5_Opacity:"bg-primary-0-5-opacity",BackgroundSecondary:"bg-secondary",IconsPrimary:"icons-primary",IconsPrimaryOpacity_0_6:"icons-primary-opacity-0-6",IconsSecondary:"icons-secondary",ButtonPrimaryText:"btn-primary-text",ButtonDisabledText:"btn-disabled-text",LinkPrimary:"link-primary",LinkHover:"link-hover",LinkActive:"link-active",BordersPrimary:"borders-primary",BordersSecondary:"borders-secondary",BordersStrong:"borders-strong",BordersInvert:"borders-invert",BorderActiveBottom:"border-active-bottom",ActiveSecondary:"active-secondary",ActiveSecondaryHover:"active-secondary-hover",ActiveSecondaryActive:"active-secondary-active",Tag:"tag",Error:"error",Success:"success",Warning:"warning",Info:"info",LightShadow:"light-shadow"},pb={TextExtraSmall:"text-extra-small",TextSmall:"text-small",TextNormal:"text-normal",TextEmphasis:"text-emphasis",TextExtraLarge:"text-extra-large",LabelExtraSmall:"label-extra-small",LabelSmall:"label-small",LabelNormal:"label-normal",LabelEmphasis:"label-emphasis",LabelExtraLarge:"label-extra-large",ButtonXs:"btn-xs",ButtonSm:"btn-sm",ButtonMd:"btn-md",ButtonLg:"btn-lg",ButtonXl:"btn-xl",InputSm:"input-sm",InputMd:"input-md"},db={Sm:"sm",Md:"md",Lg:"lg"};function fb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fb(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mb='"Roboto"',gb={fontFamily:mb,fontStyle:"normal",fontWeight:"normal"},vb=(dv(ib={},pb.LabelExtraSmall,hb(hb({},gb),{},{fontSize:"10px",lineHeight:"12px"})),dv(ib,pb.LabelSmall,hb(hb({},gb),{},{fontSize:"12px",lineHeight:"14px"})),dv(ib,pb.LabelNormal,hb(hb({},gb),{},{fontSize:"14px",lineHeight:"16px"})),dv(ib,pb.LabelEmphasis,hb(hb({},gb),{},{fontWeight:"500",fontSize:"14px",lineHeight:"16px"})),dv(ib,pb.LabelExtraLarge,hb(hb({},gb),{},{fontWeight:"500",fontSize:"24px",lineHeight:"28px"})),ib),yb={breakpoints:(ab={},dv(ab,ub.Xs,0),dv(ab,ub.Sm,576),dv(ab,ub.Md,768),dv(ab,ub.Lg,992),dv(ab,ub.Xl,1200),ab),typography:{fontFamily:mb,baseLineHeight:1.375,font:hb(hb({},vb),{},(sb={},dv(sb,pb.TextExtraSmall,hb(hb({},vb[pb.LabelExtraSmall]),{},{lineHeight:"1.3"})),dv(sb,pb.TextSmall,hb(hb({},vb[pb.LabelSmall]),{},{lineHeight:"1.3"})),dv(sb,pb.TextNormal,hb(hb({},vb[pb.LabelNormal]),{},{lineHeight:"1.3"})),dv(sb,pb.TextEmphasis,hb(hb({},vb[pb.LabelEmphasis]),{},{lineHeight:"1.3"})),dv(sb,pb.TextExtraLarge,hb(hb({},vb[pb.LabelExtraLarge]),{},{lineHeight:"1.3"})),dv(sb,pb.ButtonXs,hb(hb({},gb),{},{fontWeight:"500",fontSize:"12px",lineHeight:"14px"})),dv(sb,pb.ButtonSm,hb(hb({},gb),{},{fontWeight:"500",fontSize:"13px",lineHeight:"16px"})),dv(sb,pb.ButtonMd,hb(hb({},gb),{},{fontWeight:"500",fontSize:"15px",lineHeight:"16px"})),dv(sb,pb.ButtonLg,hb(hb({},gb),{},{fontWeight:"500",fontSize:"15px",lineHeight:"16px"})),dv(sb,pb.ButtonXl,hb(hb({},gb),{},{fontWeight:"500",fontSize:"16px",lineHeight:"16px"})),dv(sb,pb.InputSm,hb(hb({},gb),{},{fontSize:"13px",lineHeight:"16px"})),dv(sb,pb.InputMd,hb(hb({},gb),{},{fontSize:"14px",lineHeight:"16px"})),sb))},shape:{borderRadius:(lb={},dv(lb,db.Sm,"2px"),dv(lb,db.Md,"4px"),dv(lb,db.Lg,"8px"),lb)}};const bb=Jy(["@keyframes spinner{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}.Menu-open{overflow:hidden;}.Modal-open{overflow:hidden;}"]);var Ab=Jy(["",";"],(function(e){return Iy(["h1,h2,h3,h4,h5,h6,p,small{line-height:",";}"],e.theme.typography.baseLineHeight)}));const Cb=Ab;var wb,xb=(dv(wb={},cb.TextPrimary,"rgba(55,65,75,1)"),dv(wb,cb.TextPrimaryInvert,"rgba(255,255,255,1)"),dv(wb,cb.TextSecondary,"rgba(118,129,132,1)"),dv(wb,cb.TextSecondaryInvert,"rgba(213,216,220,1)"),dv(wb,cb.TextPlaceholder,"rgba(181,188,190,1)"),dv(wb,cb.AccentPrimary,"rgba(104,121,235,1)"),dv(wb,cb.AccentPrimaryHover,"rgba(96,111,209,1)"),dv(wb,cb.AccentPrimaryActive,"rgba(73,88,188,1)"),dv(wb,cb.AccentPrimaryDisabled,"#E9EEF2"),dv(wb,cb.BackgroundPrimary,"rgba(248,250,251,1)"),dv(wb,cb.BackgroundPrimaryHover,"rgba(239,243,246,1)"),dv(wb,cb.BackgroundPrimaryActive,"rgba(93,109,126,1)"),dv(wb,cb.BackgroundPrimary_0_5_Opacity,"rgba(255,255,255,0.500)"),dv(wb,cb.BackgroundSecondary,"rgba(255,255,255,1)"),dv(wb,cb.IconsPrimary,"rgba(93,109,126,1)"),dv(wb,cb.IconsPrimaryOpacity_0_6,"rgba(93,109,126,0.600)"),dv(wb,cb.IconsSecondary,"#959DA8"),dv(wb,cb.ButtonPrimaryText,"rgba(255,255,255,1)"),dv(wb,cb.ButtonDisabledText,"#A9B6C2"),dv(wb,cb.LinkPrimary,"#5D6D7E"),dv(wb,cb.LinkHover,"#768A9F"),dv(wb,cb.LinkActive,"#92A6BC"),dv(wb,cb.BordersPrimary,"rgba(223,231,237,1)"),dv(wb,cb.BordersSecondary,"rgba(223,231,237,1)"),dv(wb,cb.BordersStrong,"rgba(223,231,237,1)"),dv(wb,cb.BordersInvert,"rgba(85,99,115,1)"),dv(wb,cb.BorderActiveBottom,"#6879EB"),dv(wb,cb.ActiveSecondary,"#E9EEF2"),dv(wb,cb.ActiveSecondaryHover,"#DFE4E9"),dv(wb,cb.ActiveSecondaryActive,"#CBD3DA"),dv(wb,cb.Tag,"#889AAC"),dv(wb,cb.Error,"rgba(232,91,70,1)"),dv(wb,cb.Success,"rgba(62,207,139,1)"),dv(wb,cb.Warning,"rgba(255,172,74,1)"),dv(wb,cb.Info,"rgba(110,123,178,1)"),dv(wb,cb.LightShadow,"rgba(77, 78, 78, 0.25)"),wb);function Eb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eb(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kb,Sb=function(e){var t=e.children,n=e.theme,r=void 0===n?{}:n,o=r.palette,i=void 0===o?{}:o,a=r.breakpoints,s=void 0===a?{}:a,l=r.typography,u=void 0===l?{}:l,c=r.shape,p=void 0===c?{}:c,d=(0,gv.useMemo)((function(){return{palette:_b(_b({},xb),i),breakpoints:_b(_b({},yb.breakpoints),s),typography:_b({},nb()(_b({},yb.typography),_b({},u))),shape:_b({},nb()(_b({},yb.shape),_b({},p)))}}),[JSON.stringify(r)]);return gv.createElement(Zy,{theme:d},function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e}(t,d),gv.createElement(bb,null),gv.createElement(Cb,null))},Db=yb.typography,Tb=(Db.baseLineHeight,Db.font,yv(Db,["baseLineHeight","font"]));Sb.propTypes={children:Av().oneOfType([Av().node,Av().func]),theme:Av().exact({breakpoints:Av().exact(rb(ob(ub),Av().number)),palette:Av().exact(rb(ob(cb),Av().string)),shape:Av().exact({borderRadius:Av().exact(rb(ob(db),Av().string))}),typography:Av().exact(_b({baseLineHeight:Av().oneOfType([Av().string,Av().number]),font:Av().exact(rb(ob(pb),Av().object))},rb((kb=Tb,Object.keys(kb)),Av().string)))})};const Ob=Sb;function Pb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lb(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Fb(e,t){if(e){if("string"==typeof e)return Pb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pb(e,t):void 0}}function jb(e){return function(e){if(Array.isArray(e))return Pb(e)}(e)||Lb(e)||Fb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bb(e){if(Array.isArray(e))return e}function Ib(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Nb(e,t){return Bb(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Fb(e,t)||Ib()}function Mb(){return Mb=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},Mb.apply(this,arguments)}var Rb=Math.PI/180;const zb="undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{},Ub={_global:zb,version:"8.3.2",isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle:e=>Ub.angleDeg?e*Rb:e,enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:()=>Ub.DD.isDragging,isDragReady:()=>!!Ub.DD.node,document:zb.document,_injectGlobal(e){zb.Konva=e}},$b=e=>{Ub[e.prototype.getClassName()]=e};Ub._injectGlobal(Ub);var Hb=r(5108);class qb{constructor(e=[1,0,0,1,0,0]){this.dirty=!1,this.m=e&&e.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new qb(this.m)}copyInto(e){e.m[0]=this.m[0],e.m[1]=this.m[1],e.m[2]=this.m[2],e.m[3]=this.m[3],e.m[4]=this.m[4],e.m[5]=this.m[5]}point(e){var t=this.m;return{x:t[0]*e.x+t[2]*e.y+t[4],y:t[1]*e.x+t[3]*e.y+t[5]}}translate(e,t){return this.m[4]+=this.m[0]*e+this.m[2]*t,this.m[5]+=this.m[1]*e+this.m[3]*t,this}scale(e,t){return this.m[0]*=e,this.m[1]*=e,this.m[2]*=t,this.m[3]*=t,this}rotate(e){var t=Math.cos(e),n=Math.sin(e),r=this.m[0]*t+this.m[2]*n,o=this.m[1]*t+this.m[3]*n,i=this.m[0]*-n+this.m[2]*t,a=this.m[1]*-n+this.m[3]*t;return this.m[0]=r,this.m[1]=o,this.m[2]=i,this.m[3]=a,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(e,t){var n=this.m[0]+this.m[2]*t,r=this.m[1]+this.m[3]*t,o=this.m[2]+this.m[0]*e,i=this.m[3]+this.m[1]*e;return this.m[0]=n,this.m[1]=r,this.m[2]=o,this.m[3]=i,this}multiply(e){var t=this.m[0]*e.m[0]+this.m[2]*e.m[1],n=this.m[1]*e.m[0]+this.m[3]*e.m[1],r=this.m[0]*e.m[2]+this.m[2]*e.m[3],o=this.m[1]*e.m[2]+this.m[3]*e.m[3],i=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4],a=this.m[1]*e.m[4]+this.m[3]*e.m[5]+this.m[5];return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=o,this.m[4]=i,this.m[5]=a,this}invert(){var e=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),t=this.m[3]*e,n=-this.m[1]*e,r=-this.m[2]*e,o=this.m[0]*e,i=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),a=e*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=o,this.m[4]=i,this.m[5]=a,this}getMatrix(){return this.m}setAbsolutePosition(e,t){var n=this.m[0],r=this.m[1],o=this.m[2],i=this.m[3],a=this.m[4],s=(n*(t-this.m[5])-r*(e-a))/(n*i-r*o),l=(e-a-o*s)/n;return this.translate(l,s)}decompose(){var e=this.m[0],t=this.m[1],n=this.m[2],r=this.m[3],o=e*r-t*n;let i={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=e||0!=t){var a=Math.sqrt(e*e+t*t);i.rotation=t>0?Math.acos(e/a):-Math.acos(e/a),i.scaleX=a,i.scaleY=o/a,i.skewX=(e*n+t*r)/o,i.skewY=0}else if(0!=n||0!=r){var s=Math.sqrt(n*n+r*r);i.rotation=Math.PI/2-(r>0?Math.acos(-n/s):-Math.acos(n/s)),i.scaleX=o/s,i.scaleY=s,i.skewX=0,i.skewY=(e*n+t*r)/o}return i.rotation=Qb._getRotation(i.rotation),i}}var Vb=Math.PI/180,Gb=180/Math.PI,Wb="Konva error: ",Zb={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},Yb=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,Xb=[];const Kb="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||function(e){setTimeout(e,60)},Qb={_isElement:e=>!(!e||1!=e.nodeType),_isFunction:e=>!!(e&&e.constructor&&e.call&&e.apply),_isPlainObject:e=>!!e&&e.constructor===Object,_isArray:e=>"[object Array]"===Object.prototype.toString.call(e),_isNumber:e=>"[object Number]"===Object.prototype.toString.call(e)&&!isNaN(e)&&isFinite(e),_isString:e=>"[object String]"===Object.prototype.toString.call(e),_isBoolean:e=>"[object Boolean]"===Object.prototype.toString.call(e),isObject:e=>e instanceof Object,isValidSelector(e){if("string"!=typeof e)return!1;var t=e[0];return"#"===t||"."===t||t===t.toUpperCase()},_sign:e=>0===e||e>0?1:-1,requestAnimFrame(e){Xb.push(e),1===Xb.length&&Kb((function(){const e=Xb;Xb=[],e.forEach((function(e){e()}))}))},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch(e){}return e},createImageElement:()=>document.createElement("img"),_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=Qb.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex:(e,t,n)=>((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1),_hexToRgb(e){e=e.replace("#","");var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:255&t}},getRandomColor(){for(var e=(16777215*Math.random()<<0).toString(16);e.length<6;)e="0"+e;return"#"+e},getRGB(e){var t;return e in Zb?{r:(t=Zb[e])[0],g:t[1],b:t[2]}:"#"===e[0]?this._hexToRgb(e.substring(1)):"rgb("===e.substr(0,4)?(t=Yb.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA:e=>(e=e||"black",Qb._namedColorToRBA(e)||Qb._hex3ColorToRGBA(e)||Qb._hex6ColorToRGBA(e)||Qb._rgbColorToRGBA(e)||Qb._rgbaColorToRGBA(e)||Qb._hslColorToRGBA(e)),_namedColorToRBA(e){var t=Zb[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(0===e.indexOf("rgb(")){var t=(e=e.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(((e,t)=>"%"===e.slice(-1)?3===t?parseInt(e)/100:parseInt(e)/100*255:Number(e)));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex6ColorToRGBA(e){if("#"===e[0]&&7===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if("#"===e[0]&&4===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,o=Number(n[1])/100,i=Number(n[2])/100;let a,s,l;if(0===o)return l=255*i,{r:Math.round(l),g:Math.round(l),b:Math.round(l),a:1};a=i<.5?i*(1+o):i+o-i*o;const u=2*i-a,c=[0,0,0];for(let e=0;e<3;e++)s=r+1/3*-(e-1),s<0&&s++,s>1&&s--,l=6*s<1?u+6*(a-u)*s:2*s<1?a:3*s<2?u+(a-u)*(2/3-s)*6:u,c[e]=255*l;return{r:Math.round(c[0]),g:Math.round(c[1]),b:Math.round(c[2]),a:1}}},haveIntersection:(e,t)=>!(t.x>e.x+e.width||t.x+t.width<e.x||t.y>e.y+e.height||t.y+t.height<e.y),cloneObject(e){var t={};for(var n in e)this._isPlainObject(e[n])?t[n]=this.cloneObject(e[n]):this._isArray(e[n])?t[n]=this.cloneArray(e[n]):t[n]=e[n];return t},cloneArray:e=>e.slice(0),degToRad:e=>e*Vb,radToDeg:e=>e*Gb,_degToRad:e=>(Qb.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),Qb.degToRad(e)),_radToDeg:e=>(Qb.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),Qb.radToDeg(e)),_getRotation:e=>Ub.angleDeg?Qb.radToDeg(e):e,_capitalize:e=>e.charAt(0).toUpperCase()+e.slice(1),throw(e){throw new Error(Wb+e)},error(e){Hb.error(Wb+e)},warn(e){Ub.showWarnings&&Hb.warn("Konva warning: "+e)},each(e,t){for(var n in e)t(n,e[n])},_inRange:(e,t,n)=>t<=e&&e<n,_getProjectionToSegment(e,t,n,r,o,i){var a,s,l,u=(e-n)*(e-n)+(t-r)*(t-r);if(0==u)a=e,s=t,l=(o-n)*(o-n)+(i-r)*(i-r);else{var c=((o-e)*(n-e)+(i-t)*(r-t))/u;c<0?(a=e,s=t,l=(e-o)*(e-o)+(t-i)*(t-i)):c>1?(a=n,s=r,l=(n-o)*(n-o)+(r-i)*(r-i)):l=((a=e+c*(n-e))-o)*(a-o)+((s=t+c*(r-t))-i)*(s-i)}return[a,s,l]},_getProjectionToLine(e,t,n){var r=Qb.cloneObject(e),o=Number.MAX_VALUE;return t.forEach((function(i,a){if(n||a!==t.length-1){var s=t[(a+1)%t.length],l=Qb._getProjectionToSegment(i.x,i.y,s.x,s.y,e.x,e.y),u=l[0],c=l[1],p=l[2];p<o&&(r.x=u,r.y=c,o=p)}})),r},_prepareArrayForTween(e,t,n){var r,o=[],i=[];if(e.length>t.length){var a=t;t=e,e=a}for(r=0;r<e.length;r+=2)o.push({x:e[r],y:e[r+1]});for(r=0;r<t.length;r+=2)i.push({x:t[r],y:t[r+1]});var s=[];return i.forEach((function(e){var t=Qb._getProjectionToLine(e,o,n);s.push(t.x),s.push(t.y)})),s},_prepareToStringify(e){var t;for(var n in e.visitedByCircularReferenceRemoval=!0,e)if(e.hasOwnProperty(n)&&e[n]&&"object"==typeof e[n])if(t=Object.getOwnPropertyDescriptor(e,n),e[n].visitedByCircularReferenceRemoval||Qb._isElement(e[n])){if(!t.configurable)return null;delete e[n]}else if(null===Qb._prepareToStringify(e[n])){if(!t.configurable)return null;delete e[n]}return delete e.visitedByCircularReferenceRemoval,e},_assign(e,t){for(var n in t)e[n]=t[n];return e},_getFirstPointerId:e=>e.touches?e.changedTouches[0].identifier:e.pointerId||999};function Jb(e){return Qb._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||Qb._isBoolean(e)?e:Object.prototype.toString.call(e)}function eA(e){return e>255?255:e<0?0:Math.round(e)}function tA(){if(Ub.isUnminified)return function(e,t){return Qb._isNumber(e)||Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function nA(e){if(Ub.isUnminified)return function(t,n){let r=Qb._isNumber(t),o=Qb._isArray(t)&&t.length==e;return r||o||Qb.warn(Jb(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+e+")"),t}}function rA(){if(Ub.isUnminified)return function(e,t){return Qb._isNumber(e)||"auto"===e||Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function oA(){if(Ub.isUnminified)return function(e,t){return Qb._isString(e)||Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function iA(){if(Ub.isUnminified)return function(e,t){const n=Qb._isString(e),r="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return n||r||Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function aA(){if(Ub.isUnminified)return function(e,t){return!0===e||!1===e||Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}var sA="get",lA="set";const uA={addGetterSetter(e,t,n,r,o){uA.addGetter(e,t,n),uA.addSetter(e,t,r,o),uA.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=sA+Qb._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var e=this.attrs[t];return void 0===e?n:e}},addSetter(e,t,n,r){var o=lA+Qb._capitalize(t);e.prototype[o]||uA.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var o=lA+Qb._capitalize(t);e.prototype[o]=function(e){return n&&null!=e&&(e=n.call(this,e,t)),this._setAttr(t,e),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,o){var i,a,s=n.length,l=Qb._capitalize,u=sA+l(t),c=lA+l(t);e.prototype[u]=function(){var e={};for(i=0;i<s;i++)e[a=n[i]]=this.getAttr(t+l(a));return e};var p=function(e){if(Ub.isUnminified)return function(t,n){return Qb.isObject(t)||Qb.warn(Jb(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}(n);e.prototype[c]=function(e){var n,i=this.attrs[t];for(n in r&&(e=r.call(this,e)),p&&p.call(this,e,t),e)e.hasOwnProperty(n)&&this._setAttr(t+l(n),e[n]);return this._fireChangeEvent(t,i,e),o&&o.call(this),this},uA.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=Qb._capitalize(t),r=lA+n,o=sA+n;e.prototype[t]=function(){return arguments.length?(this[r](arguments[0]),this):this[o]()}},addDeprecatedGetterSetter(e,t,n,r){Qb.error("Adding deprecated "+t);var o=sA+Qb._capitalize(t),i=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[o]=function(){Qb.error(i);var e=this.attrs[t];return void 0===e?n:e},uA.addSetter(e,t,r,(function(){Qb.error(i)})),uA.addOverloadedGetterSetter(e,t)},backCompat(e,t){Qb.each(t,(function(t,n){var r=e.prototype[n],o=sA+Qb._capitalize(t),i=lA+Qb._capitalize(t);function a(){r.apply(this,arguments),Qb.error('"'+t+'" method is deprecated and will be removed soon. Use ""'+n+'" instead.')}e.prototype[t]=a,e.prototype[o]=a,e.prototype[i]=a}))},afterSetFilter(){this._filterUpToDate=!1}};function cA(e){var t,n,r=[],o=e.length,i=Qb;for(t=0;t<o;t++)n=e[t],i._isNumber(n)?n=Math.round(1e3*n)/1e3:i._isString(n)||(n+=""),r.push(n);return r}var pA=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"];class dA{constructor(e){this.canvas=e,this._context=e._canvas.getContext("2d"),Ub.enableTrace&&(this.traceArr=[],this._enableTrace())}fillShape(e){e.fillEnabled()&&this._fill(e)}_fill(e){}strokeShape(e){e.hasStroke()&&this._stroke(e)}_stroke(e){}fillStrokeShape(e){e.attrs.fillAfterStrokeEnabled?(this.strokeShape(e),this.fillShape(e)):(this.fillShape(e),this.strokeShape(e))}getTrace(e,t){var n,r,o,i,a=this.traceArr,s=a.length,l="";for(n=0;n<s;n++)(o=(r=a[n]).method)?(i=r.args,l+=o,e?l+="()":Qb._isArray(i[0])?l+="(["+i.join(",")+"])":(t&&(i=i.map((e=>"number"==typeof e?Math.floor(e):e))),l+="("+i.join(",")+")")):(l+=r.property,e||(l+="="+r.val)),l+=";";return l}clearTrace(){this.traceArr=[]}_trace(e){var t=this.traceArr;t.push(e),t.length>=100&&t.shift()}reset(){var e=this.getCanvas().getPixelRatio();this.setTransform(1*e,0,0,1*e,0,0)}getCanvas(){return this.canvas}clear(e){var t=this.getCanvas();e?this.clearRect(e.x||0,e.y||0,e.width||0,e.height||0):this.clearRect(0,0,t.getWidth()/t.pixelRatio,t.getHeight()/t.pixelRatio)}_applyLineCap(e){var t=e.getLineCap();t&&this.setAttr("lineCap",t)}_applyOpacity(e){var t=e.getAbsoluteOpacity();1!==t&&this.setAttr("globalAlpha",t)}_applyLineJoin(e){var t=e.attrs.lineJoin;t&&this.setAttr("lineJoin",t)}setAttr(e,t){this._context[e]=t}arc(e,t,n,r,o,i){this._context.arc(e,t,n,r,o,i)}arcTo(e,t,n,r,o){this._context.arcTo(e,t,n,r,o)}beginPath(){this._context.beginPath()}bezierCurveTo(e,t,n,r,o,i){this._context.bezierCurveTo(e,t,n,r,o,i)}clearRect(e,t,n,r){this._context.clearRect(e,t,n,r)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(e,t){var n=arguments;return 2===n.length?this._context.createImageData(e,t):1===n.length?this._context.createImageData(e):void 0}createLinearGradient(e,t,n,r){return this._context.createLinearGradient(e,t,n,r)}createPattern(e,t){return this._context.createPattern(e,t)}createRadialGradient(e,t,n,r,o,i){return this._context.createRadialGradient(e,t,n,r,o,i)}drawImage(e,t,n,r,o,i,a,s,l){var u=arguments,c=this._context;3===u.length?c.drawImage(e,t,n):5===u.length?c.drawImage(e,t,n,r,o):9===u.length&&c.drawImage(e,t,n,r,o,i,a,s,l)}ellipse(e,t,n,r,o,i,a,s){this._context.ellipse(e,t,n,r,o,i,a,s)}isPointInPath(e,t){return this._context.isPointInPath(e,t)}fill(e){e?this._context.fill(e):this._context.fill()}fillRect(e,t,n,r){this._context.fillRect(e,t,n,r)}strokeRect(e,t,n,r){this._context.strokeRect(e,t,n,r)}fillText(e,t,n,r){r?this._context.fillText(e,t,n,r):this._context.fillText(e,t,n)}measureText(e){return this._context.measureText(e)}getImageData(e,t,n,r){return this._context.getImageData(e,t,n,r)}lineTo(e,t){this._context.lineTo(e,t)}moveTo(e,t){this._context.moveTo(e,t)}rect(e,t,n,r){this._context.rect(e,t,n,r)}putImageData(e,t,n){this._context.putImageData(e,t,n)}quadraticCurveTo(e,t,n,r){this._context.quadraticCurveTo(e,t,n,r)}restore(){this._context.restore()}rotate(e){this._context.rotate(e)}save(){this._context.save()}scale(e,t){this._context.scale(e,t)}setLineDash(e){this._context.setLineDash?this._context.setLineDash(e):"mozDash"in this._context?this._context.mozDash=e:"webkitLineDash"in this._context&&(this._context.webkitLineDash=e)}getLineDash(){return this._context.getLineDash()}setTransform(e,t,n,r,o,i){this._context.setTransform(e,t,n,r,o,i)}stroke(e){e?this._context.stroke(e):this._context.stroke()}strokeText(e,t,n,r){this._context.strokeText(e,t,n,r)}transform(e,t,n,r,o,i){this._context.transform(e,t,n,r,o,i)}translate(e,t){this._context.translate(e,t)}_enableTrace(){var e,t,n=this,r=pA.length,o=this.setAttr,i=function(e){var r,o=n[e];n[e]=function(){return t=cA(Array.prototype.slice.call(arguments,0)),r=o.apply(n,arguments),n._trace({method:e,args:t}),r}};for(e=0;e<r;e++)i(pA[e]);n.setAttr=function(){o.apply(n,arguments);var e=arguments[0],t=arguments[1];"shadowOffsetX"!==e&&"shadowOffsetY"!==e&&"shadowBlur"!==e||(t/=this.canvas.getPixelRatio()),n._trace({property:e,val:t})}}_applyGlobalCompositeOperation(e){const t=e.attrs.globalCompositeOperation;!t||"source-over"===t||this.setAttr("globalCompositeOperation",t)}}["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"].forEach((function(e){Object.defineProperty(dA.prototype,e,{get(){return this._context[e]},set(t){this._context[e]=t}})}));class fA extends dA{_fillColor(e){var t=e.fill();this.setAttr("fillStyle",t),e._fillFunc(this)}_fillPattern(e){this.setAttr("fillStyle",e._getFillPattern()),e._fillFunc(this)}_fillLinearGradient(e){var t=e._getLinearGradient();t&&(this.setAttr("fillStyle",t),e._fillFunc(this))}_fillRadialGradient(e){var t=e._getRadialGradient();t&&(this.setAttr("fillStyle",t),e._fillFunc(this))}_fill(e){var t=e.fill(),n=e.getFillPriority();if(t&&"color"===n)this._fillColor(e);else{var r=e.getFillPatternImage();if(r&&"pattern"===n)this._fillPattern(e);else{var o=e.getFillLinearGradientColorStops();if(o&&"linear-gradient"===n)this._fillLinearGradient(e);else{var i=e.getFillRadialGradientColorStops();i&&"radial-gradient"===n?this._fillRadialGradient(e):t?this._fillColor(e):r?this._fillPattern(e):o?this._fillLinearGradient(e):i&&this._fillRadialGradient(e)}}}}_strokeLinearGradient(e){var t=e.getStrokeLinearGradientStartPoint(),n=e.getStrokeLinearGradientEndPoint(),r=e.getStrokeLinearGradientColorStops(),o=this.createLinearGradient(t.x,t.y,n.x,n.y);if(r){for(var i=0;i<r.length;i+=2)o.addColorStop(r[i],r[i+1]);this.setAttr("strokeStyle",o)}}_stroke(e){var t=e.dash(),n=e.getStrokeScaleEnabled();if(e.hasStroke()){if(!n){this.save();var r=this.getCanvas().getPixelRatio();this.setTransform(r,0,0,r,0,0)}this._applyLineCap(e),t&&e.dashEnabled()&&(this.setLineDash(t),this.setAttr("lineDashOffset",e.dashOffset())),this.setAttr("lineWidth",e.strokeWidth()),e.getShadowForStrokeEnabled()||this.setAttr("shadowColor","rgba(0,0,0,0)"),e.getStrokeLinearGradientColorStops()?this._strokeLinearGradient(e):this.setAttr("strokeStyle",e.stroke()),e._strokeFunc(this),n||this.restore()}}_applyShadow(e){var t,n,r,o=null!==(t=e.getShadowRGBA())&&void 0!==t?t:"black",i=null!==(n=e.getShadowBlur())&&void 0!==n?n:5,a=null!==(r=e.getShadowOffset())&&void 0!==r?r:{x:0,y:0},s=e.getAbsoluteScale(),l=this.canvas.getPixelRatio(),u=s.x*l,c=s.y*l;this.setAttr("shadowColor",o),this.setAttr("shadowBlur",i*Math.min(Math.abs(u),Math.abs(c))),this.setAttr("shadowOffsetX",a.x*u),this.setAttr("shadowOffsetY",a.y*c)}}class hA extends dA{_fill(e){this.save(),this.setAttr("fillStyle",e.colorKey),e._fillFuncHit(this),this.restore()}strokeShape(e){e.hasHitStroke()&&this._stroke(e)}_stroke(e){if(e.hasHitStroke()){var t=e.getStrokeScaleEnabled();if(!t){this.save();var n=this.getCanvas().getPixelRatio();this.setTransform(n,0,0,n,0,0)}this._applyLineCap(e);var r=e.hitStrokeWidth(),o="auto"===r?e.strokeWidth():r;this.setAttr("lineWidth",o),this.setAttr("strokeStyle",e.colorKey),e._strokeFuncHit(this),t||this.restore()}}}var mA;class gA{constructor(e){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var t=(e||{}).pixelRatio||Ub.pixelRatio||function(){if(mA)return mA;var e=Qb.createCanvasElement().getContext("2d");return mA=(Ub._global.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}();this.pixelRatio=t,this._canvas=Qb.createCanvasElement(),this._canvas.style.padding="0",this._canvas.style.margin="0",this._canvas.style.border="0",this._canvas.style.background="transparent",this._canvas.style.position="absolute",this._canvas.style.top="0",this._canvas.style.left="0"}getContext(){return this.context}getPixelRatio(){return this.pixelRatio}setPixelRatio(e){var t=this.pixelRatio;this.pixelRatio=e,this.setSize(this.getWidth()/t,this.getHeight()/t)}setWidth(e){this.width=this._canvas.width=e*this.pixelRatio,this._canvas.style.width=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}setHeight(e){this.height=this._canvas.height=e*this.pixelRatio,this._canvas.style.height=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}getWidth(){return this.width}getHeight(){return this.height}setSize(e,t){this.setWidth(e||0),this.setHeight(t||0)}toDataURL(e,t){try{return this._canvas.toDataURL(e,t)}catch(e){try{return this._canvas.toDataURL()}catch(e){return Qb.error("Unable to get data URL. "+e.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}}}uA.addGetterSetter(gA,"pixelRatio",void 0,tA());class vA extends gA{constructor(e={width:0,height:0}){super(e),this.context=new fA(this),this.setSize(e.width,e.height)}}class yA extends gA{constructor(e={width:0,height:0}){super(e),this.hitCanvas=!0,this.context=new hA(this),this.setSize(e.width,e.height)}}const bA={get isDragging(){var e=!1;return bA._dragElements.forEach((t=>{"dragging"===t.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return bA._dragElements.forEach((t=>{e=t.node})),e},_dragElements:new Map,_drag(e){const t=[];bA._dragElements.forEach(((n,r)=>{const{node:o}=n,i=o.getStage();i.setPointersPositions(e),void 0===n.pointerId&&(n.pointerId=Qb._getFirstPointerId(e));const a=i._changedPointerPositions.find((e=>e.id===n.pointerId));if(a){if("dragging"!==n.dragStatus){var s=o.dragDistance();if(Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y))<s)return;if(o.startDrag({evt:e}),!o.isDragging())return}o._setDragPosition(e,n),t.push(o)}})),t.forEach((t=>{t.fire("dragmove",{type:"dragmove",target:t,evt:e},!0)}))},_endDragBefore(e){bA._dragElements.forEach((t=>{const{node:n}=t,r=n.getStage();e&&r.setPointersPositions(e);if(!r._changedPointerPositions.find((e=>e.id===t.pointerId)))return;"dragging"!==t.dragStatus&&"stopped"!==t.dragStatus||(bA.justDragged=!0,Ub._mouseListenClick=!1,Ub._touchListenClick=!1,Ub._pointerListenClick=!1,t.dragStatus="stopped");const o=t.node.getLayer()||t.node instanceof Ub.Stage&&t.node;o&&o.batchDraw()}))},_endDragAfter(e){bA._dragElements.forEach(((t,n)=>{"stopped"===t.dragStatus&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),"dragging"!==t.dragStatus&&bA._dragElements.delete(n)}))}};Ub.isBrowser&&(window.addEventListener("mouseup",bA._endDragBefore,!0),window.addEventListener("touchend",bA._endDragBefore,!0),window.addEventListener("mousemove",bA._drag),window.addEventListener("touchmove",bA._drag),window.addEventListener("mouseup",bA._endDragAfter,!1),window.addEventListener("touchend",bA._endDragAfter,!1));var AA="absoluteOpacity",CA="allEventListeners",wA="absoluteTransform",xA="absoluteScale",EA="canvas",_A="listening",kA="mouseenter",SA="mouseleave",DA="Shape",TA=" ",OA="stage",PA="transform",LA="visible",FA=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(TA);let jA=1;class BA{constructor(e){this._id=jA++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(e),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(e){e!==PA&&e!==wA||!this._cache.get(e)?e?this._cache.delete(e):this._cache.clear():this._cache.get(e).dirty=!0}_getCache(e,t){var n=this._cache.get(e);return(void 0===n||(e===PA||e===wA)&&!0===n.dirty)&&(n=t.call(this),this._cache.set(e,n)),n}_calculate(e,t,n){if(!this._attachedDepsListeners.get(e)){const n=t.map((e=>e+"Change.konva")).join(TA);this.on(n,(()=>{this._clearCache(e)})),this._attachedDepsListeners.set(e,!0)}return this._getCache(e,n)}_getCanvasCache(){return this._cache.get(EA)}_clearSelfAndDescendantCache(e){this._clearCache(e),e===wA&&this.fire("absoluteTransformChange")}clearCache(){return this._cache.delete(EA),this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(e){var t=e||{},n={};void 0!==t.x&&void 0!==t.y&&void 0!==t.width&&void 0!==t.height||(n=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var r=Math.ceil(t.width||n.width),o=Math.ceil(t.height||n.height),i=t.pixelRatio,a=void 0===t.x?n.x:t.x,s=void 0===t.y?n.y:t.y,l=t.offset||0,u=t.drawBorder||!1,c=t.hitCanvasPixelRatio||1;if(r&&o){a-=l,s-=l;var p=new vA({pixelRatio:i,width:r+=2*l,height:o+=2*l}),d=new vA({pixelRatio:i,width:0,height:0}),f=new yA({pixelRatio:c,width:r,height:o}),h=p.getContext(),m=f.getContext();return f.isCache=!0,p.isCache=!0,this._cache.delete(EA),this._filterUpToDate=!1,!1===t.imageSmoothingEnabled&&(p.getContext()._context.imageSmoothingEnabled=!1,d.getContext()._context.imageSmoothingEnabled=!1),h.save(),m.save(),h.translate(-a,-s),m.translate(-a,-s),this._isUnderCache=!0,this._clearSelfAndDescendantCache(AA),this._clearSelfAndDescendantCache(xA),this.drawScene(p,this),this.drawHit(f,this),this._isUnderCache=!1,h.restore(),m.restore(),u&&(h.save(),h.beginPath(),h.rect(0,0,r,o),h.closePath(),h.setAttr("strokeStyle","red"),h.setAttr("lineWidth",5),h.stroke(),h.restore()),this._cache.set(EA,{scene:p,filter:d,hit:f,x:a,y:s}),this._requestDraw(),this}Qb.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")}isCached(){return this._cache.has(EA)}getClientRect(e){throw new Error('abstract "getClientRect" method call')}_transformedRect(e,t){var n,r,o,i,a=[{x:e.x,y:e.y},{x:e.x+e.width,y:e.y},{x:e.x+e.width,y:e.y+e.height},{x:e.x,y:e.y+e.height}],s=this.getAbsoluteTransform(t);return a.forEach((function(e){var t=s.point(e);void 0===n&&(n=o=t.x,r=i=t.y),n=Math.min(n,t.x),r=Math.min(r,t.y),o=Math.max(o,t.x),i=Math.max(i,t.y)})),{x:n,y:r,width:o-n,height:i-r}}_drawCachedSceneCanvas(e){e.save(),e._applyOpacity(this),e._applyGlobalCompositeOperation(this);const t=this._getCanvasCache();e.translate(t.x,t.y);var n=this._getCachedSceneCanvas(),r=n.pixelRatio;e.drawImage(n._canvas,0,0,n.width/r,n.height/r),e.restore()}_drawCachedHitCanvas(e){var t=this._getCanvasCache(),n=t.hit;e.save(),e.translate(t.x,t.y),e.drawImage(n._canvas,0,0,n.width/n.pixelRatio,n.height/n.pixelRatio),e.restore()}_getCachedSceneCanvas(){var e,t,n,r,o=this.filters(),i=this._getCanvasCache(),a=i.scene,s=i.filter,l=s.getContext();if(o){if(!this._filterUpToDate){var u=a.pixelRatio;s.setSize(a.width/a.pixelRatio,a.height/a.pixelRatio);try{for(e=o.length,l.clear(),l.drawImage(a._canvas,0,0,a.getWidth()/u,a.getHeight()/u),t=l.getImageData(0,0,s.getWidth(),s.getHeight()),n=0;n<e;n++)"function"==typeof(r=o[n])?(r.call(this,t),l.putImageData(t,0,0)):Qb.error("Filter should be type of function, but got "+typeof r+" instead. Please check correct filters")}catch(e){Qb.error("Unable to apply filter. "+e.message+" This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.")}this._filterUpToDate=!0}return s}return a}on(e,t){if(this._cache&&this._cache.delete(CA),3===arguments.length)return this._delegate.apply(this,arguments);var n,r,o,i,a=e.split(TA),s=a.length;for(n=0;n<s;n++)o=(r=a[n].split("."))[0],i=r[1]||"",this.eventListeners[o]||(this.eventListeners[o]=[]),this.eventListeners[o].push({name:i,handler:t});return this}off(e,t){var n,r,o,i,a,s=(e||"").split(TA),l=s.length;if(this._cache&&this._cache.delete(CA),!e)for(r in this.eventListeners)this._off(r);for(n=0;n<l;n++)if(i=(o=s[n].split("."))[0],a=o[1],i)this.eventListeners[i]&&this._off(i,a,t);else for(r in this.eventListeners)this._off(r,a,t);return this}dispatchEvent(e){var t={target:this,type:e.type,evt:e};return this.fire(e.type,t),this}addEventListener(e,t){return this.on(e,(function(e){t.call(this,e.evt)})),this}removeEventListener(e){return this.off(e),this}_delegate(e,t,n){var r=this;this.on(e,(function(e){for(var o=e.target.findAncestors(t,!0,r),i=0;i<o.length;i++)(e=Qb.cloneObject(e)).currentTarget=o[i],n.call(o[i],e)}))}remove(){return this.isDragging()&&this.stopDrag(),bA._dragElements.delete(this._id),this._remove(),this}_clearCaches(){this._clearSelfAndDescendantCache(wA),this._clearSelfAndDescendantCache(AA),this._clearSelfAndDescendantCache(xA),this._clearSelfAndDescendantCache(OA),this._clearSelfAndDescendantCache(LA),this._clearSelfAndDescendantCache(_A)}_remove(){this._clearCaches();var e=this.getParent();e&&e.children&&(e.children.splice(this.index,1),e._setChildrenIndices(),this.parent=null)}destroy(){return this.remove(),this}getAttr(e){var t="get"+Qb._capitalize(e);return Qb._isFunction(this[t])?this[t]():this.attrs[e]}getAncestors(){for(var e=this.getParent(),t=[];e;)t.push(e),e=e.getParent();return t}getAttrs(){return this.attrs||{}}setAttrs(e){return this._batchTransformChanges((()=>{var t,n;if(!e)return this;for(t in e)"children"!==t&&(n="set"+Qb._capitalize(t),Qb._isFunction(this[n])?this[n](e[t]):this._setAttr(t,e[t]))})),this}isListening(){return this._getCache(_A,this._isListening)}_isListening(e){if(!this.listening())return!1;const t=this.getParent();return!t||t===e||this===e||t._isListening(e)}isVisible(){return this._getCache(LA,this._isVisible)}_isVisible(e){if(!this.visible())return!1;const t=this.getParent();return!t||t===e||this===e||t._isVisible(e)}shouldDrawHit(e,t=!1){if(e)return this._isVisible(e)&&this._isListening(e);var n=this.getLayer(),r=!1;bA._dragElements.forEach((e=>{"dragging"===e.dragStatus&&("Stage"===e.node.nodeType||e.node.getLayer()===n)&&(r=!0)}));var o=!t&&!Ub.hitOnDragEnabled&&r;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var e,t,n,r,o=this.getDepth(),i=this,a=0;return"Stage"!==i.nodeType&&function s(l){for(e=[],t=l.length,n=0;n<t;n++)r=l[n],a++,r.nodeType!==DA&&(e=e.concat(r.getChildren().slice())),r._id===i._id&&(n=t);e.length>0&&e[0].getDepth()<=o&&s(e)}(i.getStage().getChildren()),a}getDepth(){for(var e=0,t=this.parent;t;)e++,t=t.parent;return e}_batchTransformChanges(e){this._batchingTransformChange=!0,e(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(PA),this._clearSelfAndDescendantCache(wA)),this._needClearTransformCache=!1}setPosition(e){return this._batchTransformChanges((()=>{this.x(e.x),this.y(e.y)})),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var e=this.getStage().getPointerPosition();if(!e)return null;var t=this.getAbsoluteTransform().copy();return t.invert(),t.point(e)}getAbsolutePosition(e){let t=!1,n=this.parent;for(;n;){if(n.isCached()){t=!0;break}n=n.parent}t&&!e&&(e=!0);var r=this.getAbsoluteTransform(e).getMatrix(),o=new qb,i=this.offset();return o.m=r.slice(),o.translate(i.x,i.y),o.getTranslation()}setAbsolutePosition(e){var t=this._clearTransform();this.attrs.x=t.x,this.attrs.y=t.y,delete t.x,delete t.y,this._clearCache(PA);var n=this._getAbsoluteTransform().copy();return n.invert(),n.translate(e.x,e.y),e={x:this.attrs.x+n.getTranslation().x,y:this.attrs.y+n.getTranslation().y},this._setTransform(t),this.setPosition({x:e.x,y:e.y}),this._clearCache(PA),this._clearSelfAndDescendantCache(wA),this}_setTransform(e){var t;for(t in e)this.attrs[t]=e[t]}_clearTransform(){var e={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,e}move(e){var t=e.x,n=e.y,r=this.x(),o=this.y();return void 0!==t&&(r+=t),void 0!==n&&(o+=n),this.setPosition({x:r,y:o}),this}_eachAncestorReverse(e,t){var n,r,o=[],i=this.getParent();if(!t||t._id!==this._id){for(o.unshift(this);i&&(!t||i._id!==t._id);)o.unshift(i),i=i.parent;for(n=o.length,r=0;r<n;r++)e(o[r])}}rotate(e){return this.rotation(this.rotation()+e),this}moveToTop(){if(!this.parent)return Qb.warn("Node has no parent. moveToTop function is ignored."),!1;var e=this.index;return e<this.parent.getChildren().length-1&&(this.parent.children.splice(e,1),this.parent.children.push(this),this.parent._setChildrenIndices(),!0)}moveUp(){if(!this.parent)return Qb.warn("Node has no parent. moveUp function is ignored."),!1;var e=this.index;return e<this.parent.getChildren().length-1&&(this.parent.children.splice(e,1),this.parent.children.splice(e+1,0,this),this.parent._setChildrenIndices(),!0)}moveDown(){if(!this.parent)return Qb.warn("Node has no parent. moveDown function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.splice(e-1,0,this),this.parent._setChildrenIndices(),!0)}moveToBottom(){if(!this.parent)return Qb.warn("Node has no parent. moveToBottom function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)}setZIndex(e){if(!this.parent)return Qb.warn("Node has no parent. zIndex parameter is ignored."),this;(e<0||e>=this.parent.children.length)&&Qb.warn("Unexpected value "+e+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var t=this.index;return this.parent.children.splice(t,1),this.parent.children.splice(e,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(AA,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var e=this.opacity(),t=this.getParent();return t&&!t._isUnderCache&&(e*=t.getAbsoluteOpacity()),e}moveTo(e){return this.getParent()!==e&&(this._remove(),e.add(this)),this}toObject(){var e,t,n,r,o={},i=this.getAttrs();for(e in o.attrs={},i)t=i[e],Qb.isObject(t)&&!Qb._isPlainObject(t)&&!Qb._isArray(t)||(n="function"==typeof this[e]&&this[e],delete i[e],r=n?n.call(this):null,i[e]=t,r!==t&&(o.attrs[e]=t));return o.className=this.getClassName(),Qb._prepareToStringify(o)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(e,t,n){var r=[];t&&this._isMatch(e)&&r.push(this);for(var o=this.parent;o;){if(o===n)return r;o._isMatch(e)&&r.push(o),o=o.parent}return r}isAncestorOf(e){return!1}findAncestor(e,t,n){return this.findAncestors(e,t,n)[0]}_isMatch(e){if(!e)return!1;if("function"==typeof e)return e(this);var t,n,r=e.replace(/ /g,"").split(","),o=r.length;for(t=0;t<o;t++)if(n=r[t],Qb.isValidSelector(n)||(Qb.warn('Selector "'+n+'" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'),Qb.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'),Qb.warn("Konva is awesome, right?")),"#"===n.charAt(0)){if(this.id()===n.slice(1))return!0}else if("."===n.charAt(0)){if(this.hasName(n.slice(1)))return!0}else if(this.className===n||this.nodeType===n)return!0;return!1}getLayer(){var e=this.getParent();return e?e.getLayer():null}getStage(){return this._getCache(OA,this._getStage)}_getStage(){var e=this.getParent();return e?e.getStage():void 0}fire(e,t={},n){return t.target=t.target||this,n?this._fireAndBubble(e,t):this._fire(e,t),this}getAbsoluteTransform(e){return e?this._getAbsoluteTransform(e):this._getCache(wA,this._getAbsoluteTransform)}_getAbsoluteTransform(e){var t;if(e)return t=new qb,this._eachAncestorReverse((function(e){var n=e.transformsEnabled();"all"===n?t.multiply(e.getTransform()):"position"===n&&t.translate(e.x()-e.offsetX(),e.y()-e.offsetY())}),e),t;t=this._cache.get(wA)||new qb,this.parent?this.parent.getAbsoluteTransform().copyInto(t):t.reset();var n=this.transformsEnabled();if("all"===n)t.multiply(this.getTransform());else if("position"===n){const e=this.attrs.x||0,n=this.attrs.y||0,r=this.attrs.offsetX||0,o=this.attrs.offsetY||0;t.translate(e-r,n-o)}return t.dirty=!1,t}getAbsoluteScale(e){for(var t=this;t;)t._isUnderCache&&(e=t),t=t.getParent();const n=this.getAbsoluteTransform(e).decompose();return{x:n.scaleX,y:n.scaleY}}getAbsoluteRotation(){return this.getAbsoluteTransform().decompose().rotation}getTransform(){return this._getCache(PA,this._getTransform)}_getTransform(){var e,t,n=this._cache.get(PA)||new qb;n.reset();var r=this.x(),o=this.y(),i=Ub.getAngle(this.rotation()),a=null!==(e=this.attrs.scaleX)&&void 0!==e?e:1,s=null!==(t=this.attrs.scaleY)&&void 0!==t?t:1,l=this.attrs.skewX||0,u=this.attrs.skewY||0,c=this.attrs.offsetX||0,p=this.attrs.offsetY||0;return 0===r&&0===o||n.translate(r,o),0!==i&&n.rotate(i),0===l&&0===u||n.skew(l,u),1===a&&1===s||n.scale(a,s),0===c&&0===p||n.translate(-1*c,-1*p),n.dirty=!1,n}clone(e){var t,n,r,o,i,a=Qb.cloneObject(this.attrs);for(t in e)a[t]=e[t];var s=new this.constructor(a);for(t in this.eventListeners)for(r=(n=this.eventListeners[t]).length,o=0;o<r;o++)(i=n[o]).name.indexOf("konva")<0&&(s.eventListeners[t]||(s.eventListeners[t]=[]),s.eventListeners[t].push(i));return s}_toKonvaCanvas(e){e=e||{};var t=this.getClientRect(),n=this.getStage(),r=void 0!==e.x?e.x:t.x,o=void 0!==e.y?e.y:t.y,i=e.pixelRatio||1,a=new vA({width:e.width||t.width||(n?n.width():0),height:e.height||t.height||(n?n.height():0),pixelRatio:i}),s=a.getContext();return s.save(),(r||o)&&s.translate(-1*r,-1*o),this.drawScene(a),s.restore(),a}toCanvas(e){return this._toKonvaCanvas(e)._canvas}toDataURL(e){var t=(e=e||{}).mimeType||null,n=e.quality||null,r=this._toKonvaCanvas(e).toDataURL(t,n);return e.callback&&e.callback(r),r}toImage(e){if(!e||!e.callback)throw"callback required for toImage method config argument";var t=e.callback;delete e.callback,Qb._urlToImage(this.toDataURL(e),(function(e){t(e)}))}setSize(e){return this.width(e.width),this.height(e.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return void 0!==this.attrs.dragDistance?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():Ub.dragDistance}_off(e,t,n){var r,o,i,a=this.eventListeners[e];for(r=0;r<a.length;r++)if(o=a[r].name,i=a[r].handler,!("konva"===o&&"konva"!==t||t&&o!==t||n&&n!==i)){if(a.splice(r,1),0===a.length){delete this.eventListeners[e];break}r--}}_fireChangeEvent(e,t,n){this._fire(e+"Change",{oldVal:t,newVal:n})}addName(e){if(!this.hasName(e)){var t=this.name(),n=t?t+" "+e:e;this.name(n)}return this}hasName(e){if(!e)return!1;const t=this.name();return!!t&&-1!==(t||"").split(/\s/g).indexOf(e)}removeName(e){var t=(this.name()||"").split(/\s/g),n=t.indexOf(e);return-1!==n&&(t.splice(n,1),this.name(t.join(" "))),this}setAttr(e,t){var n=this["set"+Qb._capitalize(e)];return Qb._isFunction(n)?n.call(this,t):this._setAttr(e,t),this}_requestDraw(){if(Ub.autoDrawEnabled){const e=this.getLayer()||this.getStage();null==e||e.batchDraw()}}_setAttr(e,t){var n=this.attrs[e];(n!==t||Qb.isObject(t))&&(null==t?delete this.attrs[e]:this.attrs[e]=t,this._shouldFireChangeEvents&&this._fireChangeEvent(e,n,t),this._requestDraw())}_setComponentAttr(e,t,n){var r;void 0!==n&&((r=this.attrs[e])||(this.attrs[e]=this.getAttr(e)),this.attrs[e][t]=n,this._fireChangeEvent(e,r,n))}_fireAndBubble(e,t,n){if(t&&this.nodeType===DA&&(t.target=this),!((e===kA||e===SA)&&(n&&(this===n||this.isAncestorOf&&this.isAncestorOf(n))||"Stage"===this.nodeType&&!n))){this._fire(e,t);var r=(e===kA||e===SA)&&n&&n.isAncestorOf&&n.isAncestorOf(this)&&!n.isAncestorOf(this.parent);(t&&!t.cancelBubble||!t)&&this.parent&&this.parent.isListening()&&!r&&(n&&n.parent?this._fireAndBubble.call(this.parent,e,t,n):this._fireAndBubble.call(this.parent,e,t))}}_getProtoListeners(e){let t=this._cache.get(CA);if(!t){t={};let e=Object.getPrototypeOf(this);for(;e;)if(e.eventListeners){for(var n in e.eventListeners){const r=e.eventListeners[n],o=t[n]||[];t[n]=r.concat(o)}e=Object.getPrototypeOf(e)}else e=Object.getPrototypeOf(e);this._cache.set(CA,t)}return t[e]}_fire(e,t){(t=t||{}).currentTarget=this,t.type=e;const n=this._getProtoListeners(e);if(n)for(var r=0;r<n.length;r++)n[r].handler.call(this,t);const o=this.eventListeners[e];if(o)for(r=0;r<o.length;r++)o[r].handler.call(this,t)}draw(){return this.drawScene(),this.drawHit(),this}_createDragElement(e){var t=e?e.pointerId:void 0,n=this.getStage(),r=this.getAbsolutePosition(),o=n._getPointerById(t)||n._changedPointerPositions[0]||r;bA._dragElements.set(this._id,{node:this,startPointerPos:o,offset:{x:o.x-r.x,y:o.y-r.y},dragStatus:"ready",pointerId:t})}startDrag(e,t=!0){bA._dragElements.has(this._id)||this._createDragElement(e);bA._dragElements.get(this._id).dragStatus="dragging",this.fire("dragstart",{type:"dragstart",target:this,evt:e&&e.evt},t)}_setDragPosition(e,t){const n=this.getStage()._getPointerById(t.pointerId);if(n){var r={x:n.x-t.offset.x,y:n.y-t.offset.y},o=this.dragBoundFunc();if(void 0!==o){const t=o.call(this,r,e);t?r=t:Qb.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.")}this._lastPos&&this._lastPos.x===r.x&&this._lastPos.y===r.y||(this.setAbsolutePosition(r),this._requestDraw()),this._lastPos=r}}stopDrag(e){const t=bA._dragElements.get(this._id);t&&(t.dragStatus="stopped"),bA._endDragBefore(e),bA._endDragAfter(e)}setDraggable(e){this._setAttr("draggable",e),this._dragChange()}isDragging(){const e=bA._dragElements.get(this._id);return!!e&&"dragging"===e.dragStatus}_listenDrag(){this._dragCleanup(),this.on("mousedown.konva touchstart.konva",(function(e){if((!(void 0!==e.evt.button)||Ub.dragButtons.indexOf(e.evt.button)>=0)&&!this.isDragging()){var t=!1;bA._dragElements.forEach((e=>{this.isAncestorOf(e.node)&&(t=!0)})),t||this._createDragElement(e)}}))}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{if(this._dragCleanup(),!this.getStage())return;const e=bA._dragElements.get(this._id),t=e&&"dragging"===e.dragStatus,n=e&&"ready"===e.dragStatus;t?this.stopDrag():n&&bA._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(e={x:0,y:0}){const t=this.getStage();if(!t)return!1;const n={x:-e.x,y:-e.y,width:t.width()+e.x,height:t.height()+e.y};return Qb.haveIntersection(n,this.getClientRect())}static create(e,t){return Qb._isString(e)&&(e=JSON.parse(e)),this._createNode(e,t)}static _createNode(e,t){var n,r,o,i=BA.prototype.getClassName.call(e),a=e.children;t&&(e.attrs.container=t),Ub[i]||(Qb.warn('Can not find a node with class name "'+i+'". Fallback to "Shape".'),i="Shape");if(n=new(0,Ub[i])(e.attrs),a)for(r=a.length,o=0;o<r;o++)n.add(BA._createNode(a[o]));return n}}BA.prototype.nodeType="Node",BA.prototype._attrsAffectingSize=[],BA.prototype.eventListeners={},BA.prototype.on.call(BA.prototype,FA,(function(){this._batchingTransformChange?this._needClearTransformCache=!0:(this._clearCache(PA),this._clearSelfAndDescendantCache(wA))})),BA.prototype.on.call(BA.prototype,"visibleChange.konva",(function(){this._clearSelfAndDescendantCache(LA)})),BA.prototype.on.call(BA.prototype,"listeningChange.konva",(function(){this._clearSelfAndDescendantCache(_A)})),BA.prototype.on.call(BA.prototype,"opacityChange.konva",(function(){this._clearSelfAndDescendantCache(AA)}));const IA=uA.addGetterSetter;IA(BA,"zIndex"),IA(BA,"absolutePosition"),IA(BA,"position"),IA(BA,"x",0,tA()),IA(BA,"y",0,tA()),IA(BA,"globalCompositeOperation","source-over",oA()),IA(BA,"opacity",1,tA()),IA(BA,"name","",oA()),IA(BA,"id","",oA()),IA(BA,"rotation",0,tA()),uA.addComponentsGetterSetter(BA,"scale",["x","y"]),IA(BA,"scaleX",1,tA()),IA(BA,"scaleY",1,tA()),uA.addComponentsGetterSetter(BA,"skew",["x","y"]),IA(BA,"skewX",0,tA()),IA(BA,"skewY",0,tA()),uA.addComponentsGetterSetter(BA,"offset",["x","y"]),IA(BA,"offsetX",0,tA()),IA(BA,"offsetY",0,tA()),IA(BA,"dragDistance",null,tA()),IA(BA,"width",0,tA()),IA(BA,"height",0,tA()),IA(BA,"listening",!0,aA()),IA(BA,"preventDefault",!0,aA()),IA(BA,"filters",null,(function(e){return this._filterUpToDate=!1,e})),IA(BA,"visible",!0,aA()),IA(BA,"transformsEnabled","all",oA()),IA(BA,"size"),IA(BA,"dragBoundFunc"),IA(BA,"draggable",!1,aA()),uA.backCompat(BA,{rotateDeg:"rotate",setRotationDeg:"setRotation",getRotationDeg:"getRotation"});class NA extends BA{constructor(){super(...arguments),this.children=[]}getChildren(e){if(!e)return this.children||[];const t=this.children||[];var n=[];return t.forEach((function(t){e(t)&&n.push(t)})),n}hasChildren(){return this.getChildren().length>0}removeChildren(){return this.getChildren().forEach((e=>{e.parent=null,e.index=0,e.remove()})),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach((e=>{e.parent=null,e.index=0,e.destroy()})),this.children=[],this._requestDraw(),this}add(...e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.add(arguments[t]);return this}var n=e[0];return n.getParent()?(n.moveTo(this),this):(this._validateAdd(n),n.index=this.getChildren().length,n.parent=this,n._clearCaches(),this.getChildren().push(n),this._fire("add",{child:n}),this._requestDraw(),this)}destroy(){return this.hasChildren()&&this.destroyChildren(),super.destroy(),this}find(e){return this._generalFind(e,!1)}findOne(e){var t=this._generalFind(e,!0);return t.length>0?t[0]:void 0}_generalFind(e,t){var n=[];return this._descendants((r=>{const o=r._isMatch(e);return o&&n.push(r),!(!o||!t)})),n}_descendants(e){let t=!1;const n=this.getChildren();for(const r of n){if(t=e(r),t)return!0;if(r.hasChildren()&&(t=r._descendants(e),t))return!0}return!1}toObject(){var e=BA.prototype.toObject.call(this);return e.children=[],this.getChildren().forEach((t=>{e.children.push(t.toObject())})),e}isAncestorOf(e){for(var t=e.getParent();t;){if(t._id===this._id)return!0;t=t.getParent()}return!1}clone(e){var t=BA.prototype.clone.call(this,e);return this.getChildren().forEach((function(e){t.add(e.clone())})),t}getAllIntersections(e){var t=[];return this.find("Shape").forEach((function(n){n.isVisible()&&n.intersects(e)&&t.push(n)})),t}_clearSelfAndDescendantCache(e){var t;super._clearSelfAndDescendantCache(e),this.isCached()||null===(t=this.children)||void 0===t||t.forEach((function(t){t._clearSelfAndDescendantCache(e)}))}_setChildrenIndices(){var e;null===(e=this.children)||void 0===e||e.forEach((function(e,t){e.index=t})),this._requestDraw()}drawScene(e,t){var n=this.getLayer(),r=e||n&&n.getCanvas(),o=r&&r.getContext(),i=this._getCanvasCache(),a=i&&i.scene,s=r&&r.isCache;if(!this.isVisible()&&!s)return this;if(a){o.save();var l=this.getAbsoluteTransform(t).getMatrix();o.transform(l[0],l[1],l[2],l[3],l[4],l[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",r,t);return this}drawHit(e,t){if(!this.shouldDrawHit(t))return this;var n=this.getLayer(),r=e||n&&n.hitCanvas,o=r&&r.getContext(),i=this._getCanvasCache();if(i&&i.hit){o.save();var a=this.getAbsoluteTransform(t).getMatrix();o.transform(a[0],a[1],a[2],a[3],a[4],a[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",r,t);return this}_drawChildren(e,t,n){var r,o=t&&t.getContext(),i=this.clipWidth(),a=this.clipHeight(),s=this.clipFunc(),l=i&&a||s;const u=n===this;if(l){o.save();var c=this.getAbsoluteTransform(n),p=c.getMatrix();if(o.transform(p[0],p[1],p[2],p[3],p[4],p[5]),o.beginPath(),s)s.call(this,o,this);else{var d=this.clipX(),f=this.clipY();o.rect(d,f,i,a)}o.clip(),p=c.copy().invert().getMatrix(),o.transform(p[0],p[1],p[2],p[3],p[4],p[5])}var h=!u&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===e;h&&(o.save(),o._applyGlobalCompositeOperation(this)),null===(r=this.children)||void 0===r||r.forEach((function(r){r[e](t,n)})),h&&o.restore(),l&&o.restore()}getClientRect(e){var t,n,r,o,i,a=(e=e||{}).skipTransform,s=e.relativeTo,l={x:1/0,y:1/0,width:0,height:0},u=this;null===(t=this.children)||void 0===t||t.forEach((function(t){if(t.visible()){var a=t.getClientRect({relativeTo:u,skipShadow:e.skipShadow,skipStroke:e.skipStroke});0===a.width&&0===a.height||(void 0===n?(n=a.x,r=a.y,o=a.x+a.width,i=a.y+a.height):(n=Math.min(n,a.x),r=Math.min(r,a.y),o=Math.max(o,a.x+a.width),i=Math.max(i,a.y+a.height)))}}));for(var c=this.find("Shape"),p=!1,d=0;d<c.length;d++){if(c[d]._isVisible(this)){p=!0;break}}return l=p&&void 0!==n?{x:n,y:r,width:o-n,height:i-r}:{x:0,y:0,width:0,height:0},a?l:this._transformedRect(l,s)}}uA.addComponentsGetterSetter(NA,"clip",["x","y","width","height"]),uA.addGetterSetter(NA,"clipX",void 0,tA()),uA.addGetterSetter(NA,"clipY",void 0,tA()),uA.addGetterSetter(NA,"clipWidth",void 0,tA()),uA.addGetterSetter(NA,"clipHeight",void 0,tA()),uA.addGetterSetter(NA,"clipFunc");const MA=new Map,RA=void 0!==Ub._global.PointerEvent;function zA(e){return MA.get(e)}function UA(e){return{evt:e,pointerId:e.pointerId}}function $A(e,t){return MA.get(e)===t}function HA(e,t){qA(e);t.getStage()&&(MA.set(e,t),RA&&t._fire("gotpointercapture",UA(new PointerEvent("gotpointercapture"))))}function qA(e,t){const n=MA.get(e);if(!n)return;const r=n.getStage();r&&r.content,MA.delete(e),RA&&n._fire("lostpointercapture",UA(new PointerEvent("lostpointercapture")))}var VA="mouseleave",GA="mouseover",WA="mouseenter",ZA="mousemove",YA="mousedown",XA="mouseup",KA="pointermove",QA="pointerdown",JA="pointerup",eC="pointercancel",tC="pointerout",nC="pointerleave",rC="pointerover",oC="pointerenter",iC="contextmenu",aC="touchstart",sC="touchend",lC="touchmove",uC="touchcancel",cC="wheel",pC=[[WA,"_pointerenter"],[YA,"_pointerdown"],[ZA,"_pointermove"],[XA,"_pointerup"],[VA,"_pointerleave"],[aC,"_pointerdown"],[lC,"_pointermove"],[sC,"_pointerup"],[uC,"_pointercancel"],[GA,"_pointerover"],[cC,"_wheel"],[iC,"_contextmenu"],[QA,"_pointerdown"],[KA,"_pointermove"],[JA,"_pointerup"],[eC,"_pointercancel"],["lostpointercapture","_lostpointercapture"]];const dC={mouse:{[tC]:"mouseout",[nC]:VA,[rC]:GA,[oC]:WA,[KA]:ZA,[QA]:YA,[JA]:XA,[eC]:"mousecancel",pointerclick:"click",pointerdblclick:"dblclick"},touch:{[tC]:"touchout",[nC]:"touchleave",[rC]:"touchover",[oC]:"touchenter",[KA]:lC,[QA]:aC,[JA]:sC,[eC]:uC,pointerclick:"tap",pointerdblclick:"dbltap"},pointer:{[tC]:tC,[nC]:nC,[rC]:rC,[oC]:oC,[KA]:KA,[QA]:QA,[JA]:JA,[eC]:eC,pointerclick:"pointerclick",pointerdblclick:"pointerdblclick"}},fC=e=>e.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",hC=e=>{const t=fC(e);return"pointer"===t?Ub.pointerEventsEnabled&&dC.pointer:"touch"===t?dC.touch:"mouse"===t?dC.mouse:void 0};function mC(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&Qb.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const gC=[];class vC extends NA{constructor(e){super(mC(e)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),gC.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{mC(this.attrs)})),this._checkVisibility()}_validateAdd(e){const t="Layer"===e.getType(),n="FastLayer"===e.getType();t||n||Qb.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const e=this.visible()?"":"none";this.content.style.display=e}setContainer(e){if("string"==typeof e){if("."===e.charAt(0)){var t=e.slice(1);e=document.getElementsByClassName(t)[0]}else{var n;n="#"!==e.charAt(0)?e:e.slice(1),e=document.getElementById(n)}if(!e)throw"Can not find container in document with id "+n}return this._setAttr("container",e),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),e.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){var e,t=this.children,n=t.length;for(e=0;e<n;e++)t[e].clear();return this}clone(e){return e||(e={}),e.container="undefined"!=typeof document&&document.createElement("div"),NA.prototype.clone.call(this,e)}destroy(){super.destroy();var e=this.content;e&&Qb._isInDocument(e)&&this.container().removeChild(e);var t=gC.indexOf(this);return t>-1&&gC.splice(t,1),this}getPointerPosition(){const e=this._pointerPositions[0]||this._changedPointerPositions[0];return e?{x:e.x,y:e.y}:(Qb.warn("Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);"),null)}_getPointerById(e){return this._pointerPositions.find((t=>t.id===e))}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(e){(e=e||{}).x=e.x||0,e.y=e.y||0,e.width=e.width||this.width(),e.height=e.height||this.height();var t=new vA({width:e.width,height:e.height,pixelRatio:e.pixelRatio||1}),n=t.getContext()._context,r=this.children;return(e.x||e.y)&&n.translate(-1*e.x,-1*e.y),r.forEach((function(t){if(t.isVisible()){var r=t._toKonvaCanvas(e);n.drawImage(r._canvas,e.x,e.y,r.getWidth()/r.getPixelRatio(),r.getHeight()/r.getPixelRatio())}})),t}getIntersection(e){if(!e)return null;var t,n=this.children;for(t=n.length-1;t>=0;t--){const r=n[t].getIntersection(e);if(r)return r}return null}_resizeDOM(){var e=this.width(),t=this.height();this.content&&(this.content.style.width=e+"px",this.content.style.height=t+"px"),this.bufferCanvas.setSize(e,t),this.bufferHitCanvas.setSize(e,t),this.children.forEach((n=>{n.setSize({width:e,height:t}),n.draw()}))}add(e,...t){if(arguments.length>1){for(var n=0;n<arguments.length;n++)this.add(arguments[n]);return this}super.add(e);var r=this.children.length;return r>5&&Qb.warn("The stage has "+r+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),Ub.isBrowser&&this.content.appendChild(e.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(e){return $A(e,this)}setPointerCapture(e){HA(e,this)}releaseCapture(e){qA(e)}getLayers(){return this.children}_bindContentEvents(){Ub.isBrowser&&pC.forEach((([e,t])=>{this.content.addEventListener(e,(e=>{this[t](e)}))}))}_pointerenter(e){this.setPointersPositions(e);const t=hC(e.type);this._fire(t.pointerenter,{evt:e,target:this,currentTarget:this})}_pointerover(e){this.setPointersPositions(e);const t=hC(e.type);this._fire(t.pointerover,{evt:e,target:this,currentTarget:this})}_getTargetShape(e){let t=this[e+"targetShape"];return t&&!t.getStage()&&(t=null),t}_pointerleave(e){const t=hC(e.type),n=fC(e.type);if(t){this.setPointersPositions(e);var r=this._getTargetShape(n),o=!bA.isDragging||Ub.hitOnDragEnabled;r&&o?(r._fireAndBubble(t.pointerout,{evt:e}),r._fireAndBubble(t.pointerleave,{evt:e}),this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this[n+"targetShape"]=null):o&&(this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this._fire(t.pointerout,{evt:e,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(e){const t=hC(e.type),n=fC(e.type);if(t){this.setPointersPositions(e);var r=!1;this._changedPointerPositions.forEach((o=>{var i=this.getIntersection(o);bA.justDragged=!1,Ub["_"+n+"ListenClick"]=!0;if(!(i&&i.isListening()))return;Ub.capturePointerEventsEnabled&&i.setPointerCapture(o.id),this[n+"ClickStartShape"]=i,i._fireAndBubble(t.pointerdown,{evt:e,pointerId:o.id}),r=!0;const a=e.type.indexOf("touch")>=0;i.preventDefault()&&e.cancelable&&a&&e.preventDefault()})),r||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(e){const t=hC(e.type),n=fC(e.type);if(!t)return;if(bA.isDragging&&bA.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),!(!bA.isDragging||Ub.hitOnDragEnabled))return;var r={};let o=!1;var i=this._getTargetShape(n);this._changedPointerPositions.forEach((a=>{const s=zA(a.id)||this.getIntersection(a),l=a.id,u={evt:e,pointerId:l};var c=i!==s;if(c&&i&&(i._fireAndBubble(t.pointerout,Object.assign({},u),s),i._fireAndBubble(t.pointerleave,Object.assign({},u),s)),s){if(r[s._id])return;r[s._id]=!0}s&&s.isListening()?(o=!0,c&&(s._fireAndBubble(t.pointerover,Object.assign({},u),i),s._fireAndBubble(t.pointerenter,Object.assign({},u),i),this[n+"targetShape"]=s),s._fireAndBubble(t.pointermove,Object.assign({},u))):i&&(this._fire(t.pointerover,{evt:e,target:this,currentTarget:this,pointerId:l}),this[n+"targetShape"]=null)})),o||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(e){const t=hC(e.type),n=fC(e.type);if(!t)return;this.setPointersPositions(e);const r=this[n+"ClickStartShape"],o=this[n+"ClickEndShape"];var i={};let a=!1;this._changedPointerPositions.forEach((s=>{const l=zA(s.id)||this.getIntersection(s);if(l){if(l.releaseCapture(s.id),i[l._id])return;i[l._id]=!0}const u=s.id,c={evt:e,pointerId:u};let p=!1;Ub["_"+n+"InDblClickWindow"]?(p=!0,clearTimeout(this[n+"DblTimeout"])):bA.justDragged||(Ub["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){Ub["_"+n+"InDblClickWindow"]=!1}),Ub.dblClickWindow),l&&l.isListening()?(a=!0,this[n+"ClickEndShape"]=l,l._fireAndBubble(t.pointerup,Object.assign({},c)),Ub["_"+n+"ListenClick"]&&r&&r===l&&(l._fireAndBubble(t.pointerclick,Object.assign({},c)),p&&o&&o===l&&l._fireAndBubble(t.pointerdblclick,Object.assign({},c)))):(this[n+"ClickEndShape"]=null,Ub["_"+n+"ListenClick"]&&this._fire(t.pointerclick,{evt:e,target:this,currentTarget:this,pointerId:u}),p&&this._fire(t.pointerdblclick,{evt:e,target:this,currentTarget:this,pointerId:u}))})),a||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),Ub["_"+n+"ListenClick"]=!1,e.cancelable&&e.preventDefault()}_contextmenu(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(iC,{evt:e}):this._fire(iC,{evt:e,target:this,currentTarget:this})}_wheel(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(cC,{evt:e}):this._fire(cC,{evt:e,target:this,currentTarget:this})}_pointercancel(e){this.setPointersPositions(e);const t=zA(e.pointerId)||this.getIntersection(this.getPointerPosition());t&&t._fireAndBubble(JA,UA(e)),qA(e.pointerId)}_lostpointercapture(e){qA(e.pointerId)}setPointersPositions(e){var t=this._getContentPosition(),n=null,r=null;void 0!==(e=e||window.event).touches?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(e.touches,(e=>{this._pointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})})),Array.prototype.forEach.call(e.changedTouches||e.touches,(e=>{this._changedPointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})}))):(n=(e.clientX-t.left)/t.scaleX,r=(e.clientY-t.top)/t.scaleY,this.pointerPos={x:n,y:r},this._pointerPositions=[{x:n,y:r,id:Qb._getFirstPointerId(e)}],this._changedPointerPositions=[{x:n,y:r,id:Qb._getFirstPointerId(e)}])}_setPointerPosition(e){Qb.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(e)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var e=this.content.getBoundingClientRect();return{top:e.top,left:e.left,scaleX:e.width/this.content.clientWidth||1,scaleY:e.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new vA({width:this.width(),height:this.height()}),this.bufferHitCanvas=new yA({pixelRatio:1,width:this.width(),height:this.height()}),Ub.isBrowser){var e=this.container();if(!e)throw"Stage has no container. A container is required.";e.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),e.appendChild(this.content),this._resizeDOM()}}cache(){return Qb.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach((function(e){e.batchDraw()})),this}}vC.prototype.nodeType="Stage",$b(vC),uA.addGetterSetter(vC,"container");var yC="hasShadow",bC="shadowRGBA",AC="patternImage",CC="linearGradient",wC="radialGradient";let xC;function EC(){return xC||(xC=Qb.createCanvasElement().getContext("2d"),xC)}const _C={};class kC extends BA{constructor(e){let t;for(super(e);t=Qb.getRandomColor(),!t||t in _C;);this.colorKey=t,_C[t]=this}getContext(){return Qb.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return Qb.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(yC,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(AC,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){const e=EC().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){const t=new qb;t.translate(this.fillPatternX(),this.fillPatternY()),t.rotate(Ub.getAngle(this.fillPatternRotation())),t.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),t.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const n=t.getMatrix();e.setTransform({a:n[0],b:n[1],c:n[2],d:n[3],e:n[4],f:n[5]})}return e}}_getLinearGradient(){return this._getCache(CC,this.__getLinearGradient)}__getLinearGradient(){var e=this.fillLinearGradientColorStops();if(e){for(var t=EC(),n=this.fillLinearGradientStartPoint(),r=this.fillLinearGradientEndPoint(),o=t.createLinearGradient(n.x,n.y,r.x,r.y),i=0;i<e.length;i+=2)o.addColorStop(e[i],e[i+1]);return o}}_getRadialGradient(){return this._getCache(wC,this.__getRadialGradient)}__getRadialGradient(){var e=this.fillRadialGradientColorStops();if(e){for(var t=EC(),n=this.fillRadialGradientStartPoint(),r=this.fillRadialGradientEndPoint(),o=t.createRadialGradient(n.x,n.y,this.fillRadialGradientStartRadius(),r.x,r.y,this.fillRadialGradientEndRadius()),i=0;i<e.length;i+=2)o.addColorStop(e[i],e[i+1]);return o}}getShadowRGBA(){return this._getCache(bC,this._getShadowRGBA)}_getShadowRGBA(){if(this.hasShadow()){var e=Qb.colorToRGBA(this.shadowColor());return"rgba("+e.r+","+e.g+","+e.b+","+e.a*(this.shadowOpacity()||1)+")"}}hasFill(){return this._calculate("hasFill",["fillEnabled","fill","fillPatternImage","fillLinearGradientColorStops","fillRadialGradientColorStops"],(()=>this.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops())))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],(()=>this.strokeEnabled()&&this.strokeWidth()&&!(!this.stroke()&&!this.strokeLinearGradientColorStops())))}hasHitStroke(){const e=this.hitStrokeWidth();return"auto"===e?this.hasStroke():this.strokeEnabled()&&!!e}intersects(e){var t=this.getStage().bufferHitCanvas;return t.getContext().clear(),this.drawHit(t,null,!0),t.context.getImageData(Math.round(e.x),Math.round(e.y),1,1).data[3]>0}destroy(){return BA.prototype.destroy.call(this),delete _C[this.colorKey],delete this.colorKey,this}_useBufferCanvas(e){var t;if(!this.getStage())return!1;if(!(null===(t=this.attrs.perfectDrawEnabled)||void 0===t||t))return!1;const n=e||this.hasFill(),r=this.hasStroke(),o=1!==this.getAbsoluteOpacity();if(n&&r&&o)return!0;const i=this.hasShadow(),a=this.shadowForStrokeEnabled();return!!(n&&r&&i&&a)}setStrokeHitEnabled(e){Qb.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),e?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return 0!==this.hitStrokeWidth()}getSelfRect(){var e=this.size();return{x:this._centroid?-e.width/2:0,y:this._centroid?-e.height/2:0,width:e.width,height:e.height}}getClientRect(e={}){const t=e.skipTransform,n=e.relativeTo,r=this.getSelfRect(),o=!e.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,i=r.width+o,a=r.height+o,s=!e.skipShadow&&this.hasShadow(),l=s?this.shadowOffsetX():0,u=s?this.shadowOffsetY():0,c=i+Math.abs(l),p=a+Math.abs(u),d=s&&this.shadowBlur()||0,f=c+2*d,h=p+2*d;let m=0;Math.round(o/2)!==o/2&&(m=1);const g={width:f+m,height:h+m,x:-Math.round(o/2+d)+Math.min(l,0)+r.x,y:-Math.round(o/2+d)+Math.min(u,0)+r.y};return t?g:this._transformedRect(g,n)}drawScene(e,t){var n,r,o=this.getLayer(),i=e||o.getCanvas(),a=i.getContext(),s=this._getCanvasCache(),l=this.getSceneFunc(),u=this.hasShadow(),c=i.isCache,p=t===this;if(!this.isVisible()&&!p)return this;if(s){a.save();var d=this.getAbsoluteTransform(t).getMatrix();return a.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedSceneCanvas(a),a.restore(),this}if(!l)return this;if(a.save(),this._useBufferCanvas()&&!c){(r=(n=this.getStage().bufferCanvas).getContext()).clear(),r.save(),r._applyLineJoin(this);var f=this.getAbsoluteTransform(t).getMatrix();r.transform(f[0],f[1],f[2],f[3],f[4],f[5]),l.call(this,r,this),r.restore();var h=n.pixelRatio;u&&a._applyShadow(this),a._applyOpacity(this),a._applyGlobalCompositeOperation(this),a.drawImage(n._canvas,0,0,n.width/h,n.height/h)}else{if(a._applyLineJoin(this),!p){f=this.getAbsoluteTransform(t).getMatrix();a.transform(f[0],f[1],f[2],f[3],f[4],f[5]),a._applyOpacity(this),a._applyGlobalCompositeOperation(this)}u&&a._applyShadow(this),l.call(this,a,this)}return a.restore(),this}drawHit(e,t,n=!1){if(!this.shouldDrawHit(t,n))return this;var r=this.getLayer(),o=e||r.hitCanvas,i=o&&o.getContext(),a=this.hitFunc()||this.sceneFunc(),s=this._getCanvasCache(),l=s&&s.hit;if(this.colorKey||Qb.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),l){i.save();var u=this.getAbsoluteTransform(t).getMatrix();return i.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedHitCanvas(i),i.restore(),this}if(!a)return this;i.save(),i._applyLineJoin(this);if(!(this===t)){var c=this.getAbsoluteTransform(t).getMatrix();i.transform(c[0],c[1],c[2],c[3],c[4],c[5])}return a.call(this,i,this),i.restore(),this}drawHitFromCache(e=0){var t,n,r,o,i,a=this._getCanvasCache(),s=this._getCachedSceneCanvas(),l=a.hit,u=l.getContext(),c=l.getWidth(),p=l.getHeight();u.clear(),u.drawImage(s._canvas,0,0,c,p);try{for(r=(n=(t=u.getImageData(0,0,c,p)).data).length,o=Qb._hexToRgb(this.colorKey),i=0;i<r;i+=4)n[i+3]>e?(n[i]=o.r,n[i+1]=o.g,n[i+2]=o.b,n[i+3]=255):n[i+3]=0;u.putImageData(t,0,0)}catch(e){Qb.error("Unable to draw hit graph from cached scene canvas. "+e.message)}return this}hasPointerCapture(e){return $A(e,this)}setPointerCapture(e){HA(e,this)}releaseCapture(e){qA(e)}}kC.prototype._fillFunc=function(e){e.fill()},kC.prototype._strokeFunc=function(e){e.stroke()},kC.prototype._fillFuncHit=function(e){e.fill()},kC.prototype._strokeFuncHit=function(e){e.stroke()},kC.prototype._centroid=!1,kC.prototype.nodeType="Shape",$b(kC),kC.prototype.eventListeners={},kC.prototype.on.call(kC.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(yC)})),kC.prototype.on.call(kC.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(bC)})),kC.prototype.on.call(kC.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",(function(){this._clearCache(AC)})),kC.prototype.on.call(kC.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",(function(){this._clearCache(CC)})),kC.prototype.on.call(kC.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",(function(){this._clearCache(wC)})),uA.addGetterSetter(kC,"stroke",void 0,iA()),uA.addGetterSetter(kC,"strokeWidth",2,tA()),uA.addGetterSetter(kC,"fillAfterStrokeEnabled",!1),uA.addGetterSetter(kC,"hitStrokeWidth","auto",rA()),uA.addGetterSetter(kC,"strokeHitEnabled",!0,aA()),uA.addGetterSetter(kC,"perfectDrawEnabled",!0,aA()),uA.addGetterSetter(kC,"shadowForStrokeEnabled",!0,aA()),uA.addGetterSetter(kC,"lineJoin"),uA.addGetterSetter(kC,"lineCap"),uA.addGetterSetter(kC,"sceneFunc"),uA.addGetterSetter(kC,"hitFunc"),uA.addGetterSetter(kC,"dash"),uA.addGetterSetter(kC,"dashOffset",0,tA()),uA.addGetterSetter(kC,"shadowColor",void 0,oA()),uA.addGetterSetter(kC,"shadowBlur",0,tA()),uA.addGetterSetter(kC,"shadowOpacity",1,tA()),uA.addComponentsGetterSetter(kC,"shadowOffset",["x","y"]),uA.addGetterSetter(kC,"shadowOffsetX",0,tA()),uA.addGetterSetter(kC,"shadowOffsetY",0,tA()),uA.addGetterSetter(kC,"fillPatternImage"),uA.addGetterSetter(kC,"fill",void 0,iA()),uA.addGetterSetter(kC,"fillPatternX",0,tA()),uA.addGetterSetter(kC,"fillPatternY",0,tA()),uA.addGetterSetter(kC,"fillLinearGradientColorStops"),uA.addGetterSetter(kC,"strokeLinearGradientColorStops"),uA.addGetterSetter(kC,"fillRadialGradientStartRadius",0),uA.addGetterSetter(kC,"fillRadialGradientEndRadius",0),uA.addGetterSetter(kC,"fillRadialGradientColorStops"),uA.addGetterSetter(kC,"fillPatternRepeat","repeat"),uA.addGetterSetter(kC,"fillEnabled",!0),uA.addGetterSetter(kC,"strokeEnabled",!0),uA.addGetterSetter(kC,"shadowEnabled",!0),uA.addGetterSetter(kC,"dashEnabled",!0),uA.addGetterSetter(kC,"strokeScaleEnabled",!0),uA.addGetterSetter(kC,"fillPriority","color"),uA.addComponentsGetterSetter(kC,"fillPatternOffset",["x","y"]),uA.addGetterSetter(kC,"fillPatternOffsetX",0,tA()),uA.addGetterSetter(kC,"fillPatternOffsetY",0,tA()),uA.addComponentsGetterSetter(kC,"fillPatternScale",["x","y"]),uA.addGetterSetter(kC,"fillPatternScaleX",1,tA()),uA.addGetterSetter(kC,"fillPatternScaleY",1,tA()),uA.addComponentsGetterSetter(kC,"fillLinearGradientStartPoint",["x","y"]),uA.addComponentsGetterSetter(kC,"strokeLinearGradientStartPoint",["x","y"]),uA.addGetterSetter(kC,"fillLinearGradientStartPointX",0),uA.addGetterSetter(kC,"strokeLinearGradientStartPointX",0),uA.addGetterSetter(kC,"fillLinearGradientStartPointY",0),uA.addGetterSetter(kC,"strokeLinearGradientStartPointY",0),uA.addComponentsGetterSetter(kC,"fillLinearGradientEndPoint",["x","y"]),uA.addComponentsGetterSetter(kC,"strokeLinearGradientEndPoint",["x","y"]),uA.addGetterSetter(kC,"fillLinearGradientEndPointX",0),uA.addGetterSetter(kC,"strokeLinearGradientEndPointX",0),uA.addGetterSetter(kC,"fillLinearGradientEndPointY",0),uA.addGetterSetter(kC,"strokeLinearGradientEndPointY",0),uA.addComponentsGetterSetter(kC,"fillRadialGradientStartPoint",["x","y"]),uA.addGetterSetter(kC,"fillRadialGradientStartPointX",0),uA.addGetterSetter(kC,"fillRadialGradientStartPointY",0),uA.addComponentsGetterSetter(kC,"fillRadialGradientEndPoint",["x","y"]),uA.addGetterSetter(kC,"fillRadialGradientEndPointX",0),uA.addGetterSetter(kC,"fillRadialGradientEndPointY",0),uA.addGetterSetter(kC,"fillPatternRotation",0),uA.backCompat(kC,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"});var SC=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],DC=SC.length;class TC extends NA{constructor(e){super(e),this.canvas=new vA,this.hitCanvas=new yA({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(e){return this.getContext().clear(e),this.getHitCanvas().getContext().clear(e),this}setZIndex(e){super.setZIndex(e);var t=this.getStage();return t&&t.content&&(t.content.removeChild(this.getNativeCanvasElement()),e<t.children.length-1?t.content.insertBefore(this.getNativeCanvasElement(),t.children[e+1].getCanvas()._canvas):t.content.appendChild(this.getNativeCanvasElement())),this}moveToTop(){BA.prototype.moveToTop.call(this);var e=this.getStage();return e&&e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.appendChild(this.getNativeCanvasElement())),!0}moveUp(){if(!BA.prototype.moveUp.call(this))return!1;var e=this.getStage();return!(!e||!e.content)&&(e.content.removeChild(this.getNativeCanvasElement()),this.index<e.children.length-1?e.content.insertBefore(this.getNativeCanvasElement(),e.children[this.index+1].getCanvas()._canvas):e.content.appendChild(this.getNativeCanvasElement()),!0)}moveDown(){if(BA.prototype.moveDown.call(this)){var e=this.getStage();if(e){var t=e.children;e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.insertBefore(this.getNativeCanvasElement(),t[this.index+1].getCanvas()._canvas))}return!0}return!1}moveToBottom(){if(BA.prototype.moveToBottom.call(this)){var e=this.getStage();if(e){var t=e.children;e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.insertBefore(this.getNativeCanvasElement(),t[1].getCanvas()._canvas))}return!0}return!1}getLayer(){return this}remove(){var e=this.getNativeCanvasElement();return BA.prototype.remove.call(this),e&&e.parentNode&&Qb._isInDocument(e)&&e.parentNode.removeChild(e),this}getStage(){return this.parent}setSize({width:e,height:t}){return this.canvas.setSize(e,t),this.hitCanvas.setSize(e,t),this._setSmoothEnabled(),this}_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&Qb.throw("You may only add groups and shapes to a layer.")}_toKonvaCanvas(e){return(e=e||{}).width=e.width||this.getWidth(),e.height=e.height||this.getHeight(),e.x=void 0!==e.x?e.x:this.x(),e.y=void 0!==e.y?e.y:this.y(),BA.prototype._toKonvaCanvas.call(this,e)}_checkVisibility(){const e=this.visible();this.canvas._canvas.style.display=e?"block":"none"}_setSmoothEnabled(){this.getContext()._context.imageSmoothingEnabled=this.imageSmoothingEnabled()}getWidth(){if(this.parent)return this.parent.width()}setWidth(){Qb.warn('Can not change width of layer. Use "stage.width(value)" function instead.')}getHeight(){if(this.parent)return this.parent.height()}setHeight(){Qb.warn('Can not change height of layer. Use "stage.height(value)" function instead.')}batchDraw(){return this._waitingForDraw||(this._waitingForDraw=!0,Qb.requestAnimFrame((()=>{this.draw(),this._waitingForDraw=!1}))),this}getIntersection(e){if(!this.isListening()||!this.isVisible())return null;for(var t=1,n=!1;;){for(let r=0;r<DC;r++){const o=SC[r],i=this._getIntersection({x:e.x+o.x*t,y:e.y+o.y*t}),a=i.shape;if(a)return a;if(n=!!i.antialiased,!i.antialiased)break}if(!n)return null;t+=1}}_getIntersection(e){const t=this.hitCanvas.pixelRatio,n=this.hitCanvas.context.getImageData(Math.round(e.x*t),Math.round(e.y*t),1,1).data,r=n[3];if(255===r){const e=Qb._rgbToHex(n[0],n[1],n[2]),t=_C["#"+e];return t?{shape:t}:{antialiased:!0}}return r>0?{antialiased:!0}:{}}drawScene(e,t){var n=this.getLayer(),r=e||n&&n.getCanvas();return this._fire("beforeDraw",{node:this}),this.clearBeforeDraw()&&r.getContext().clear(),NA.prototype.drawScene.call(this,r,t),this._fire("draw",{node:this}),this}drawHit(e,t){var n=this.getLayer(),r=e||n&&n.hitCanvas;return n&&n.clearBeforeDraw()&&n.getHitCanvas().getContext().clear(),NA.prototype.drawHit.call(this,r,t),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(e){Qb.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(e)}getHitGraphEnabled(e){return Qb.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(this.parent&&this.parent.content){var e=this.parent;!!this.hitCanvas._canvas.parentNode?e.content.removeChild(this.hitCanvas._canvas):e.content.appendChild(this.hitCanvas._canvas)}}}TC.prototype.nodeType="Layer",$b(TC),uA.addGetterSetter(TC,"imageSmoothingEnabled",!0),uA.addGetterSetter(TC,"clearBeforeDraw",!0),uA.addGetterSetter(TC,"hitGraphEnabled",!0,aA());class PC extends TC{constructor(e){super(e),this.listening(!1),Qb.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}PC.prototype.nodeType="FastLayer",$b(PC);class LC extends NA{_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&Qb.throw("You may only add groups and shapes to groups.")}}LC.prototype.nodeType="Group",$b(LC);var FC=zb.performance&&zb.performance.now?function(){return zb.performance.now()}:function(){return(new Date).getTime()};class jC{constructor(e,t){this.id=jC.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:FC(),frameRate:0},this.func=e,this.setLayers(t)}setLayers(e){var t=[];return t=e?e.length>0?e:[e]:[],this.layers=t,this}getLayers(){return this.layers}addLayer(e){var t,n=this.layers,r=n.length;for(t=0;t<r;t++)if(n[t]._id===e._id)return!1;return this.layers.push(e),!0}isRunning(){var e,t=jC.animations,n=t.length;for(e=0;e<n;e++)if(t[e].id===this.id)return!0;return!1}start(){return this.stop(),this.frame.timeDiff=0,this.frame.lastTime=FC(),jC._addAnimation(this),this}stop(){return jC._removeAnimation(this),this}_updateFrameObject(e){this.frame.timeDiff=e-this.frame.lastTime,this.frame.lastTime=e,this.frame.time+=this.frame.timeDiff,this.frame.frameRate=1e3/this.frame.timeDiff}static _addAnimation(e){this.animations.push(e),this._handleAnimation()}static _removeAnimation(e){var t,n=e.id,r=this.animations,o=r.length;for(t=0;t<o;t++)if(r[t].id===n){this.animations.splice(t,1);break}}static _runFrames(){var e,t,n,r,o,i,a,s,l={},u=this.animations;for(r=0;r<u.length;r++)if(t=(e=u[r]).layers,n=e.func,e._updateFrameObject(FC()),i=t.length,!n||!1!==n.call(e,e.frame))for(o=0;o<i;o++)void 0!==(a=t[o])._id&&(l[a._id]=a);for(s in l)l.hasOwnProperty(s)&&l[s].batchDraw()}static _animationLoop(){var e=jC;e.animations.length?(e._runFrames(),Qb.requestAnimFrame(e._animationLoop)):e.animRunning=!1}static _handleAnimation(){this.animRunning||(this.animRunning=!0,Qb.requestAnimFrame(this._animationLoop))}}jC.animations=[],jC.animIdCounter=0,jC.animRunning=!1;var BC={node:1,duration:1,easing:1,onFinish:1,yoyo:1},IC=0,NC=["fill","stroke","shadowColor"];class MC{constructor(e,t,n,r,o,i,a){this.prop=e,this.propFunc=t,this.begin=r,this._pos=r,this.duration=i,this._change=0,this.prevPos=0,this.yoyo=a,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=n,this._change=o-this.begin,this.pause()}fire(e){var t=this[e];t&&t()}setTime(e){e>this.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():e<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=e,this.update())}getTime(){return this._time}setPosition(e){this.prevPos=this._pos,this.propFunc(e),this._pos=e}getPosition(e){return void 0===e&&(e=this._time),this.func(e,this.begin,this._change,this.duration)}play(){this.state=2,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=3,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(e){this.pause(),this._time=e,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var e=this.getTimer()-this._startTime;2===this.state?this.setTime(e):3===this.state&&this.setTime(this.duration-e)}pause(){this.state=1,this.fire("onPause")}getTimer(){return(new Date).getTime()}}class RC{constructor(e){var t,n,r=this,o=e.node,i=o._id,a=e.easing||zC.Linear,s=!!e.yoyo;t=void 0===e.duration?.3:0===e.duration?.001:e.duration,this.node=o,this._id=IC++;var l=o.getLayer()||(o instanceof Ub.Stage?o.getLayers():null);for(n in l||Qb.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new jC((function(){r.tween.onEnterFrame()}),l),this.tween=new MC(n,(function(e){r._tweenFunc(e)}),a,0,1,1e3*t,s),this._addListeners(),RC.attrs[i]||(RC.attrs[i]={}),RC.attrs[i][this._id]||(RC.attrs[i][this._id]={}),RC.tweens[i]||(RC.tweens[i]={}),e)void 0===BC[n]&&this._addAttr(n,e[n]);this.reset(),this.onFinish=e.onFinish,this.onReset=e.onReset,this.onUpdate=e.onUpdate}_addAttr(e,t){var n,r,o,i,a,s,l,u,c=this.node,p=c._id;if((o=RC.tweens[p][e])&&delete RC.attrs[p][o][e],n=c.getAttr(e),Qb._isArray(t))if(r=[],a=Math.max(t.length,n.length),"points"===e&&t.length!==n.length&&(t.length>n.length?(l=n,n=Qb._prepareArrayForTween(n,t,c.closed())):(s=t,t=Qb._prepareArrayForTween(t,n,c.closed()))),0===e.indexOf("fill"))for(i=0;i<a;i++)if(i%2==0)r.push(t[i]-n[i]);else{var d=Qb.colorToRGBA(n[i]);u=Qb.colorToRGBA(t[i]),n[i]=d,r.push({r:u.r-d.r,g:u.g-d.g,b:u.b-d.b,a:u.a-d.a})}else for(i=0;i<a;i++)r.push(t[i]-n[i]);else-1!==NC.indexOf(e)?(n=Qb.colorToRGBA(n),r={r:(u=Qb.colorToRGBA(t)).r-n.r,g:u.g-n.g,b:u.b-n.b,a:u.a-n.a}):r=t-n;RC.attrs[p][this._id][e]={start:n,diff:r,end:t,trueEnd:s,trueStart:l},RC.tweens[p][e]=this._id}_tweenFunc(e){var t,n,r,o,i,a,s,l,u=this.node,c=RC.attrs[u._id][this._id];for(t in c){if(r=(n=c[t]).start,o=n.diff,l=n.end,Qb._isArray(r))if(i=[],s=Math.max(r.length,l.length),0===t.indexOf("fill"))for(a=0;a<s;a++)a%2==0?i.push((r[a]||0)+o[a]*e):i.push("rgba("+Math.round(r[a].r+o[a].r*e)+","+Math.round(r[a].g+o[a].g*e)+","+Math.round(r[a].b+o[a].b*e)+","+(r[a].a+o[a].a*e)+")");else for(a=0;a<s;a++)i.push((r[a]||0)+o[a]*e);else i=-1!==NC.indexOf(t)?"rgba("+Math.round(r.r+o.r*e)+","+Math.round(r.g+o.g*e)+","+Math.round(r.b+o.b*e)+","+(r.a+o.a*e)+")":r+o*e;u.setAttr(t,i)}}_addListeners(){this.tween.onPlay=()=>{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var e=this.node,t=RC.attrs[e._id][this._id];t.points&&t.points.trueEnd&&e.setAttr("points",t.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var e=this.node,t=RC.attrs[e._id][this._id];t.points&&t.points.trueStart&&e.points(t.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(e){return this.tween.seek(1e3*e),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var e,t=this.node._id,n=this._id,r=RC.tweens[t];for(e in this.pause(),r)delete RC.tweens[t][e];delete RC.attrs[t][n]}}RC.attrs={},RC.tweens={},BA.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()},new RC(e).play()};const zC={BackEaseIn(e,t,n,r){var o=1.70158;return n*(e/=r)*e*((o+1)*e-o)+t},BackEaseOut(e,t,n,r){var o=1.70158;return n*((e=e/r-1)*e*((o+1)*e+o)+1)+t},BackEaseInOut(e,t,n,r){var o=1.70158;return(e/=r/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+t:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+t},ElasticEaseIn(e,t,n,r,o,i){var a=0;return 0===e?t:1==(e/=r)?t+n:(i||(i=.3*r),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),-o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)+t)},ElasticEaseOut(e,t,n,r,o,i){var a=0;return 0===e?t:1==(e/=r)?t+n:(i||(i=.3*r),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),o*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/i)+n+t)},ElasticEaseInOut(e,t,n,r,o,i){var a=0;return 0===e?t:2==(e/=r/2)?t+n:(i||(i=r*(.3*1.5)),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),e<1?o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*-.5+t:o*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*.5+n+t)},BounceEaseOut:(e,t,n,r)=>(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t,BounceEaseIn:(e,t,n,r)=>n-zC.BounceEaseOut(r-e,0,n,r)+t,BounceEaseInOut:(e,t,n,r)=>e<r/2?.5*zC.BounceEaseIn(2*e,0,n,r)+t:.5*zC.BounceEaseOut(2*e-r,0,n,r)+.5*n+t,EaseIn:(e,t,n,r)=>n*(e/=r)*e+t,EaseOut:(e,t,n,r)=>-n*(e/=r)*(e-2)+t,EaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t,StrongEaseIn:(e,t,n,r)=>n*(e/=r)*e*e*e*e+t,StrongEaseOut:(e,t,n,r)=>n*((e=e/r-1)*e*e*e*e+1)+t,StrongEaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t,Linear:(e,t,n,r)=>n*e/r+t},UC=Qb._assign(Ub,{Util:Qb,Transform:qb,Node:BA,Container:NA,Stage:vC,stages:gC,Layer:TC,FastLayer:PC,Group:LC,DD:bA,Shape:kC,shapes:_C,Animation:jC,Tween:RC,Easings:zC,Context:dA,Canvas:gA});class $C extends kC{_sceneFunc(e){var t=Ub.getAngle(this.angle()),n=this.clockwise();e.beginPath(),e.arc(0,0,this.outerRadius(),0,t,n),e.arc(0,0,this.innerRadius(),t,0,!n),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}getSelfRect(){const e=this.innerRadius(),t=this.outerRadius(),n=this.clockwise(),r=Ub.getAngle(n?360-this.angle():this.angle()),o=Math.cos(Math.min(r,Math.PI)),i=Math.sin(Math.min(Math.max(Math.PI,r),3*Math.PI/2)),a=Math.sin(Math.min(r,Math.PI/2)),s=o*(o>0?e:t),l=1*t,u=i*(i>0?e:t),c=a*(a>0?t:e);return{x:Math.round(s),y:Math.round(n?-1*c:u),width:Math.round(l-s),height:Math.round(c-u)}}}function HC(e,t,n,r,o,i,a){var s=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),l=Math.sqrt(Math.pow(o-n,2)+Math.pow(i-r,2)),u=a*s/(s+l),c=a*l/(s+l);return[n-u*(o-e),r-u*(i-t),n+c*(o-e),r+c*(i-t)]}function qC(e,t){var n,r,o=e.length,i=[];for(n=2;n<o-2;n+=2)r=HC(e[n-2],e[n-1],e[n],e[n+1],e[n+2],e[n+3],t),isNaN(r[0])||(i.push(r[0]),i.push(r[1]),i.push(e[n]),i.push(e[n+1]),i.push(r[2]),i.push(r[3]));return i}$C.prototype._centroid=!0,$C.prototype.className="Arc",$C.prototype._attrsAffectingSize=["innerRadius","outerRadius"],$b($C),uA.addGetterSetter($C,"innerRadius",0,tA()),uA.addGetterSetter($C,"outerRadius",0,tA()),uA.addGetterSetter($C,"angle",0,tA()),uA.addGetterSetter($C,"clockwise",!1,aA());class VC extends kC{constructor(e){super(e),this.on("pointsChange.konva tensionChange.konva closedChange.konva bezierChange.konva",(function(){this._clearCache("tensionPoints")}))}_sceneFunc(e){var t,n,r,o=this.points(),i=o.length,a=this.tension(),s=this.closed(),l=this.bezier();if(i){if(e.beginPath(),e.moveTo(o[0],o[1]),0!==a&&i>4){for(n=(t=this.getTensionPoints()).length,r=s?0:4,s||e.quadraticCurveTo(t[0],t[1],t[2],t[3]);r<n-2;)e.bezierCurveTo(t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);s||e.quadraticCurveTo(t[n-2],t[n-1],o[i-2],o[i-1])}else if(l)for(r=2;r<i;)e.bezierCurveTo(o[r++],o[r++],o[r++],o[r++],o[r++],o[r++]);else for(r=2;r<i;r+=2)e.lineTo(o[r],o[r+1]);s?(e.closePath(),e.fillStrokeShape(this)):e.strokeShape(this)}}getTensionPoints(){return this._getCache("tensionPoints",this._getTensionPoints)}_getTensionPoints(){return this.closed()?this._getTensionPointsClosed():qC(this.points(),this.tension())}_getTensionPointsClosed(){var e=this.points(),t=e.length,n=this.tension(),r=HC(e[t-2],e[t-1],e[0],e[1],e[2],e[3],n),o=HC(e[t-4],e[t-3],e[t-2],e[t-1],e[0],e[1],n),i=qC(e,n);return[r[2],r[3]].concat(i).concat([o[0],o[1],e[t-2],e[t-1],o[2],o[3],r[0],r[1],e[0],e[1]])}getWidth(){return this.getSelfRect().width}getHeight(){return this.getSelfRect().height}getSelfRect(){var e=this.points();if(e.length<4)return{x:e[0]||0,y:e[1]||0,width:0,height:0};for(var t,n,r=(e=0!==this.tension()?[e[0],e[1],...this._getTensionPoints(),e[e.length-2],e[e.length-1]]:this.points())[0],o=e[0],i=e[1],a=e[1],s=0;s<e.length/2;s++)t=e[2*s],n=e[2*s+1],r=Math.min(r,t),o=Math.max(o,t),i=Math.min(i,n),a=Math.max(a,n);return{x:r,y:i,width:o-r,height:a-i}}}VC.prototype.className="Line",VC.prototype._attrsAffectingSize=["points","bezier","tension"],$b(VC),uA.addGetterSetter(VC,"closed",!1),uA.addGetterSetter(VC,"bezier",!1),uA.addGetterSetter(VC,"tension",0,tA()),uA.addGetterSetter(VC,"points",[],function(){if(Ub.isUnminified)return function(e,t){return Qb._isArray(e)?e.forEach((function(e){Qb._isNumber(e)||Qb.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):Qb.warn(Jb(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.'),e}}());class GC extends kC{constructor(e){super(e),this.dataArray=[],this.pathLength=0,this.dataArray=GC.parsePathData(this.data()),this.pathLength=0;for(var t=0;t<this.dataArray.length;++t)this.pathLength+=this.dataArray[t].pathLength;this.on("dataChange.konva",(function(){this.dataArray=GC.parsePathData(this.data()),this.pathLength=0;for(var e=0;e<this.dataArray.length;++e)this.pathLength+=this.dataArray[e].pathLength}))}_sceneFunc(e){var t=this.dataArray;e.beginPath();for(var n=!1,r=0;r<t.length;r++){var o=t[r].command,i=t[r].points;switch(o){case"L":e.lineTo(i[0],i[1]);break;case"M":e.moveTo(i[0],i[1]);break;case"C":e.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case"Q":e.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case"A":var a=i[0],s=i[1],l=i[2],u=i[3],c=i[4],p=i[5],d=i[6],f=i[7],h=l>u?l:u,m=l>u?1:l/u,g=l>u?u/l:1;e.translate(a,s),e.rotate(d),e.scale(m,g),e.arc(0,0,h,c,c+p,1-f),e.scale(1/m,1/g),e.rotate(-d),e.translate(-a,-s);break;case"z":n=!0,e.closePath()}}n||this.hasFill()?e.fillStrokeShape(this):e.strokeShape(this)}getSelfRect(){var e=[];this.dataArray.forEach((function(t){if("A"===t.command){var n=t.points[4],r=t.points[5],o=t.points[4]+r,i=Math.PI/180;if(Math.abs(n-o)<i&&(i=Math.abs(n-o)),r<0)for(let r=n-i;r>o;r-=i){const n=GC.getPointOnEllipticalArc(t.points[0],t.points[1],t.points[2],t.points[3],r,0);e.push(n.x,n.y)}else for(let r=n+i;r<o;r+=i){const n=GC.getPointOnEllipticalArc(t.points[0],t.points[1],t.points[2],t.points[3],r,0);e.push(n.x,n.y)}}else if("C"===t.command)for(let n=0;n<=1;n+=.01){const r=GC.getPointOnCubicBezier(n,t.start.x,t.start.y,t.points[0],t.points[1],t.points[2],t.points[3],t.points[4],t.points[5]);e.push(r.x,r.y)}else e=e.concat(t.points)}));for(var t,n,r=e[0],o=e[0],i=e[1],a=e[1],s=0;s<e.length/2;s++)t=e[2*s],n=e[2*s+1],isNaN(t)||(r=Math.min(r,t),o=Math.max(o,t)),isNaN(n)||(i=Math.min(i,n),a=Math.max(a,n));return{x:Math.round(r),y:Math.round(i),width:Math.round(o-r),height:Math.round(a-i)}}getLength(){return this.pathLength}getPointAtLength(e){var t,n=0,r=this.dataArray.length;if(!r)return null;for(;n<r&&e>this.dataArray[n].pathLength;)e-=this.dataArray[n].pathLength,++n;if(n===r)return{x:(t=this.dataArray[n-1].points.slice(-2))[0],y:t[1]};if(e<.01)return{x:(t=this.dataArray[n].points.slice(0,2))[0],y:t[1]};var o=this.dataArray[n],i=o.points;switch(o.command){case"L":return GC.getPointOnLine(e,o.start.x,o.start.y,i[0],i[1]);case"C":return GC.getPointOnCubicBezier(e/o.pathLength,o.start.x,o.start.y,i[0],i[1],i[2],i[3],i[4],i[5]);case"Q":return GC.getPointOnQuadraticBezier(e/o.pathLength,o.start.x,o.start.y,i[0],i[1],i[2],i[3]);case"A":var a=i[0],s=i[1],l=i[2],u=i[3],c=i[4],p=i[5],d=i[6];return c+=p*e/o.pathLength,GC.getPointOnEllipticalArc(a,s,l,u,c,d)}return null}static getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}static getPointOnLine(e,t,n,r,o,i,a){void 0===i&&(i=t),void 0===a&&(a=n);var s=(o-n)/(r-t+1e-8),l=Math.sqrt(e*e/(1+s*s));r<t&&(l*=-1);var u,c=s*l;if(r===t)u={x:i,y:a+c};else if((a-n)/(i-t+1e-8)===s)u={x:i+l,y:a+c};else{var p,d,f=this.getLineLength(t,n,r,o),h=(i-t)*(r-t)+(a-n)*(o-n);p=t+(h/=f*f)*(r-t),d=n+h*(o-n);var m=this.getLineLength(i,a,p,d),g=Math.sqrt(e*e-m*m);l=Math.sqrt(g*g/(1+s*s)),r<t&&(l*=-1),u={x:p+l,y:d+(c=s*l)}}return u}static getPointOnCubicBezier(e,t,n,r,o,i,a,s,l){function u(e){return e*e*e}function c(e){return 3*e*e*(1-e)}function p(e){return 3*e*(1-e)*(1-e)}function d(e){return(1-e)*(1-e)*(1-e)}return{x:s*u(e)+i*c(e)+r*p(e)+t*d(e),y:l*u(e)+a*c(e)+o*p(e)+n*d(e)}}static getPointOnQuadraticBezier(e,t,n,r,o,i,a){function s(e){return e*e}function l(e){return 2*e*(1-e)}function u(e){return(1-e)*(1-e)}return{x:i*s(e)+r*l(e)+t*u(e),y:a*s(e)+o*l(e)+n*u(e)}}static getPointOnEllipticalArc(e,t,n,r,o,i){var a=Math.cos(i),s=Math.sin(i),l=n*Math.cos(o),u=r*Math.sin(o);return{x:e+(l*a-u*s),y:t+(l*s+u*a)}}static parsePathData(e){if(!e)return[];var t=e,n=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];t=t.replace(new RegExp(" ","g"),",");for(var r=0;r<n.length;r++)t=t.replace(new RegExp(n[r],"g"),"|"+n[r]);var o,i=t.split("|"),a=[],s=[],l=0,u=0,c=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(r=1;r<i.length;r++){var p=i[r],d=p.charAt(0);for(p=p.slice(1),s.length=0;o=c.exec(p);)s.push(o[0]);for(var f=[],h=0,m=s.length;h<m;h++)if("00"!==s[h]){var g=parseFloat(s[h]);isNaN(g)?f.push(0):f.push(g)}else f.push(0,0);for(;f.length>0&&!isNaN(f[0]);){var v,y,b,A,C,w,x,E,_,k,S=null,D=[],T=l,O=u;switch(d){case"l":l+=f.shift(),u+=f.shift(),S="L",D.push(l,u);break;case"L":l=f.shift(),u=f.shift(),D.push(l,u);break;case"m":var P=f.shift(),L=f.shift();if(l+=P,u+=L,S="M",a.length>2&&"z"===a[a.length-1].command)for(var F=a.length-2;F>=0;F--)if("M"===a[F].command){l=a[F].points[0]+P,u=a[F].points[1]+L;break}D.push(l,u),d="l";break;case"M":l=f.shift(),u=f.shift(),S="M",D.push(l,u),d="L";break;case"h":l+=f.shift(),S="L",D.push(l,u);break;case"H":l=f.shift(),S="L",D.push(l,u);break;case"v":u+=f.shift(),S="L",D.push(l,u);break;case"V":u=f.shift(),S="L",D.push(l,u);break;case"C":D.push(f.shift(),f.shift(),f.shift(),f.shift()),l=f.shift(),u=f.shift(),D.push(l,u);break;case"c":D.push(l+f.shift(),u+f.shift(),l+f.shift(),u+f.shift()),l+=f.shift(),u+=f.shift(),S="C",D.push(l,u);break;case"S":y=l,b=u,"C"===(v=a[a.length-1]).command&&(y=l+(l-v.points[2]),b=u+(u-v.points[3])),D.push(y,b,f.shift(),f.shift()),l=f.shift(),u=f.shift(),S="C",D.push(l,u);break;case"s":y=l,b=u,"C"===(v=a[a.length-1]).command&&(y=l+(l-v.points[2]),b=u+(u-v.points[3])),D.push(y,b,l+f.shift(),u+f.shift()),l+=f.shift(),u+=f.shift(),S="C",D.push(l,u);break;case"Q":D.push(f.shift(),f.shift()),l=f.shift(),u=f.shift(),D.push(l,u);break;case"q":D.push(l+f.shift(),u+f.shift()),l+=f.shift(),u+=f.shift(),S="Q",D.push(l,u);break;case"T":y=l,b=u,"Q"===(v=a[a.length-1]).command&&(y=l+(l-v.points[0]),b=u+(u-v.points[1])),l=f.shift(),u=f.shift(),S="Q",D.push(y,b,l,u);break;case"t":y=l,b=u,"Q"===(v=a[a.length-1]).command&&(y=l+(l-v.points[0]),b=u+(u-v.points[1])),l+=f.shift(),u+=f.shift(),S="Q",D.push(y,b,l,u);break;case"A":A=f.shift(),C=f.shift(),w=f.shift(),x=f.shift(),E=f.shift(),_=l,k=u,l=f.shift(),u=f.shift(),S="A",D=this.convertEndpointToCenterParameterization(_,k,l,u,x,E,A,C,w);break;case"a":A=f.shift(),C=f.shift(),w=f.shift(),x=f.shift(),E=f.shift(),_=l,k=u,l+=f.shift(),u+=f.shift(),S="A",D=this.convertEndpointToCenterParameterization(_,k,l,u,x,E,A,C,w)}a.push({command:S||d,points:D,start:{x:T,y:O},pathLength:this.calcLength(T,O,S||d,D)})}"z"!==d&&"Z"!==d||a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(e,t,n,r){var o,i,a,s,l=GC;switch(n){case"L":return l.getLineLength(e,t,r[0],r[1]);case"C":for(o=0,i=l.getPointOnCubicBezier(0,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),s=.01;s<=1;s+=.01)a=l.getPointOnCubicBezier(s,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),o+=l.getLineLength(i.x,i.y,a.x,a.y),i=a;return o;case"Q":for(o=0,i=l.getPointOnQuadraticBezier(0,e,t,r[0],r[1],r[2],r[3]),s=.01;s<=1;s+=.01)a=l.getPointOnQuadraticBezier(s,e,t,r[0],r[1],r[2],r[3]),o+=l.getLineLength(i.x,i.y,a.x,a.y),i=a;return o;case"A":o=0;var u=r[4],c=r[5],p=r[4]+c,d=Math.PI/180;if(Math.abs(u-p)<d&&(d=Math.abs(u-p)),i=l.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],u,0),c<0)for(s=u-d;s>p;s-=d)a=l.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),o+=l.getLineLength(i.x,i.y,a.x,a.y),i=a;else for(s=u+d;s<p;s+=d)a=l.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),o+=l.getLineLength(i.x,i.y,a.x,a.y),i=a;return a=l.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],p,0),o+=l.getLineLength(i.x,i.y,a.x,a.y)}return 0}static convertEndpointToCenterParameterization(e,t,n,r,o,i,a,s,l){var u=l*(Math.PI/180),c=Math.cos(u)*(e-n)/2+Math.sin(u)*(t-r)/2,p=-1*Math.sin(u)*(e-n)/2+Math.cos(u)*(t-r)/2,d=c*c/(a*a)+p*p/(s*s);d>1&&(a*=Math.sqrt(d),s*=Math.sqrt(d));var f=Math.sqrt((a*a*(s*s)-a*a*(p*p)-s*s*(c*c))/(a*a*(p*p)+s*s*(c*c)));o===i&&(f*=-1),isNaN(f)&&(f=0);var h=f*a*p/s,m=f*-s*c/a,g=(e+n)/2+Math.cos(u)*h-Math.sin(u)*m,v=(t+r)/2+Math.sin(u)*h+Math.cos(u)*m,y=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},b=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(y(e)*y(t))},A=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(b(e,t))},C=A([1,0],[(c-h)/a,(p-m)/s]),w=[(c-h)/a,(p-m)/s],x=[(-1*c-h)/a,(-1*p-m)/s],E=A(w,x);return b(w,x)<=-1&&(E=Math.PI),b(w,x)>=1&&(E=0),0===i&&E>0&&(E-=2*Math.PI),1===i&&E<0&&(E+=2*Math.PI),[g,v,a,s,C,E,u,i]}}GC.prototype.className="Path",GC.prototype._attrsAffectingSize=["data"],$b(GC),uA.addGetterSetter(GC,"data");class WC extends VC{_sceneFunc(e){super._sceneFunc(e);var t=2*Math.PI,n=this.points(),r=n,o=0!==this.tension()&&n.length>4;o&&(r=this.getTensionPoints());var i,a,s=this.pointerLength(),l=n.length;if(o){const e=[r[r.length-4],r[r.length-3],r[r.length-2],r[r.length-1],n[l-2],n[l-1]],t=GC.calcLength(r[r.length-4],r[r.length-3],"C",e),o=GC.getPointOnQuadraticBezier(Math.min(1,1-s/t),e[0],e[1],e[2],e[3],e[4],e[5]);i=n[l-2]-o.x,a=n[l-1]-o.y}else i=n[l-2]-n[l-4],a=n[l-1]-n[l-3];var u=(Math.atan2(a,i)+t)%t,c=this.pointerWidth();this.pointerAtEnding()&&(e.save(),e.beginPath(),e.translate(n[l-2],n[l-1]),e.rotate(u),e.moveTo(0,0),e.lineTo(-s,c/2),e.lineTo(-s,-c/2),e.closePath(),e.restore(),this.__fillStroke(e)),this.pointerAtBeginning()&&(e.save(),e.beginPath(),e.translate(n[0],n[1]),o?(i=(r[0]+r[2])/2-n[0],a=(r[1]+r[3])/2-n[1]):(i=n[2]-n[0],a=n[3]-n[1]),e.rotate((Math.atan2(-a,-i)+t)%t),e.moveTo(0,0),e.lineTo(-s,c/2),e.lineTo(-s,-c/2),e.closePath(),e.restore(),this.__fillStroke(e))}__fillStroke(e){var t=this.dashEnabled();t&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),t&&(this.attrs.dashEnabled=!0)}getSelfRect(){const e=super.getSelfRect(),t=this.pointerWidth()/2;return{x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t}}}WC.prototype.className="Arrow",$b(WC),uA.addGetterSetter(WC,"pointerLength",10,tA()),uA.addGetterSetter(WC,"pointerWidth",10,tA()),uA.addGetterSetter(WC,"pointerAtBeginning",!1),uA.addGetterSetter(WC,"pointerAtEnding",!0);class ZC extends kC{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius()!==e/2&&this.radius(e/2)}setHeight(e){this.radius()!==e/2&&this.radius(e/2)}}ZC.prototype._centroid=!0,ZC.prototype.className="Circle",ZC.prototype._attrsAffectingSize=["radius"],$b(ZC),uA.addGetterSetter(ZC,"radius",0,tA());class YC extends kC{_sceneFunc(e){var t=this.radiusX(),n=this.radiusY();e.beginPath(),e.save(),t!==n&&e.scale(1,n/t),e.arc(0,0,t,0,2*Math.PI,!1),e.restore(),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radiusX()}getHeight(){return 2*this.radiusY()}setWidth(e){this.radiusX(e/2)}setHeight(e){this.radiusY(e/2)}}YC.prototype.className="Ellipse",YC.prototype._centroid=!0,YC.prototype._attrsAffectingSize=["radiusX","radiusY"],$b(YC),uA.addComponentsGetterSetter(YC,"radius",["x","y"]),uA.addGetterSetter(YC,"radiusX",0,tA()),uA.addGetterSetter(YC,"radiusY",0,tA());class XC extends kC{constructor(e){super(e),this.on("imageChange.konva",(()=>{this._setImageLoad()})),this._setImageLoad()}_setImageLoad(){const e=this.image();e&&e.complete||e&&4===e.readyState||e&&e.addEventListener&&e.addEventListener("load",(()=>{this._requestDraw()}))}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(e){const t=this.getWidth(),n=this.getHeight(),r=this.attrs.image;let o;if(r){const e=this.attrs.cropWidth,i=this.attrs.cropHeight;o=e&&i?[r,this.cropX(),this.cropY(),e,i,0,0,t,n]:[r,0,0,t,n]}(this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)),r&&e.drawImage.apply(e,o)}_hitFunc(e){var t=this.width(),n=this.height();e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}getWidth(){var e,t;return null!==(e=this.attrs.width)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.width}getHeight(){var e,t;return null!==(e=this.attrs.height)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.height}static fromURL(e,t,n=null){var r=Qb.createImageElement();r.onload=function(){var e=new XC({image:r});t(e)},r.onerror=n,r.crossOrigin="Anonymous",r.src=e}}XC.prototype.className="Image",$b(XC),uA.addGetterSetter(XC,"image"),uA.addComponentsGetterSetter(XC,"crop",["x","y","width","height"]),uA.addGetterSetter(XC,"cropX",0,tA()),uA.addGetterSetter(XC,"cropY",0,tA()),uA.addGetterSetter(XC,"cropWidth",0,tA()),uA.addGetterSetter(XC,"cropHeight",0,tA());var KC=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height"],QC="up",JC="right",ew="down",tw="left",nw=KC.length;class rw extends LC{constructor(e){super(e),this.on("add.konva",(function(e){this._addListeners(e.child),this._sync()}))}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(e){var t,n=this,r=function(){n._sync()};for(t=0;t<nw;t++)e.on(KC[t]+"Change.konva",r)}getWidth(){return this.getText().width()}getHeight(){return this.getText().height()}_sync(){var e,t,n,r,o,i,a,s=this.getText(),l=this.getTag();if(s&&l){switch(e=s.width(),t=s.height(),n=l.pointerDirection(),r=l.pointerWidth(),a=l.pointerHeight(),o=0,i=0,n){case QC:o=e/2,i=-1*a;break;case JC:o=e+r,i=t/2;break;case ew:o=e/2,i=t+a;break;case tw:o=-1*r,i=t/2}l.setAttrs({x:-1*o,y:-1*i,width:e,height:t}),s.setAttrs({x:-1*o,y:-1*i})}}}rw.prototype.className="Label",$b(rw);class ow extends kC{_sceneFunc(e){var t=this.width(),n=this.height(),r=this.pointerDirection(),o=this.pointerWidth(),i=this.pointerHeight(),a=this.cornerRadius();let s=0,l=0,u=0,c=0;"number"==typeof a?s=l=u=c=Math.min(a,t/2,n/2):(s=Math.min(a[0]||0,t/2,n/2),l=Math.min(a[1]||0,t/2,n/2),c=Math.min(a[2]||0,t/2,n/2),u=Math.min(a[3]||0,t/2,n/2)),e.beginPath(),e.moveTo(s,0),r===QC&&(e.lineTo((t-o)/2,0),e.lineTo(t/2,-1*i),e.lineTo((t+o)/2,0)),e.lineTo(t-l,0),e.arc(t-l,l,l,3*Math.PI/2,0,!1),r===JC&&(e.lineTo(t,(n-i)/2),e.lineTo(t+o,n/2),e.lineTo(t,(n+i)/2)),e.lineTo(t,n-c),e.arc(t-c,n-c,c,0,Math.PI/2,!1),r===ew&&(e.lineTo((t+o)/2,n),e.lineTo(t/2,n+i),e.lineTo((t-o)/2,n)),e.lineTo(u,n),e.arc(u,n-u,u,Math.PI/2,Math.PI,!1),r===tw&&(e.lineTo(0,(n+i)/2),e.lineTo(-1*o,n/2),e.lineTo(0,(n-i)/2)),e.lineTo(0,s),e.arc(s,s,s,Math.PI,3*Math.PI/2,!1),e.closePath(),e.fillStrokeShape(this)}getSelfRect(){var e=0,t=0,n=this.pointerWidth(),r=this.pointerHeight(),o=this.pointerDirection(),i=this.width(),a=this.height();return o===QC?(t-=r,a+=r):o===ew?a+=r:o===tw?(e-=1.5*n,i+=n):o===JC&&(i+=1.5*n),{x:e,y:t,width:i,height:a}}}ow.prototype.className="Tag",$b(ow),uA.addGetterSetter(ow,"pointerDirection","none"),uA.addGetterSetter(ow,"pointerWidth",0,tA()),uA.addGetterSetter(ow,"pointerHeight",0,tA()),uA.addGetterSetter(ow,"cornerRadius",0,nA(4));class iw extends kC{_sceneFunc(e){var t=this.cornerRadius(),n=this.width(),r=this.height();if(e.beginPath(),t){let o=0,i=0,a=0,s=0;"number"==typeof t?o=i=a=s=Math.min(t,n/2,r/2):(o=Math.min(t[0]||0,n/2,r/2),i=Math.min(t[1]||0,n/2,r/2),s=Math.min(t[2]||0,n/2,r/2),a=Math.min(t[3]||0,n/2,r/2)),e.moveTo(o,0),e.lineTo(n-i,0),e.arc(n-i,i,i,3*Math.PI/2,0,!1),e.lineTo(n,r-s),e.arc(n-s,r-s,s,0,Math.PI/2,!1),e.lineTo(a,r),e.arc(a,r-a,a,Math.PI/2,Math.PI,!1),e.lineTo(0,o),e.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}else e.rect(0,0,n,r);e.closePath(),e.fillStrokeShape(this)}}iw.prototype.className="Rect",$b(iw),uA.addGetterSetter(iw,"cornerRadius",0,nA(4));class aw extends kC{_sceneFunc(e){const t=this._getPoints();e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.closePath(),e.fillStrokeShape(this)}_getPoints(){const e=this.attrs.sides,t=this.attrs.radius||0,n=[];for(var r=0;r<e;r++)n.push({x:t*Math.sin(2*r*Math.PI/e),y:-1*t*Math.cos(2*r*Math.PI/e)});return n}getSelfRect(){const e=this._getPoints();var t=e[0].x,n=e[0].y,r=e[0].x,o=e[0].y;return e.forEach((e=>{t=Math.min(t,e.x),n=Math.max(n,e.x),r=Math.min(r,e.y),o=Math.max(o,e.y)})),{x:t,y:r,width:n-t,height:o-r}}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}aw.prototype.className="RegularPolygon",aw.prototype._centroid=!0,aw.prototype._attrsAffectingSize=["radius"],$b(aw),uA.addGetterSetter(aw,"radius",0,tA()),uA.addGetterSetter(aw,"sides",0,tA());var sw=2*Math.PI;class lw extends kC{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,sw,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),sw,0,!0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}lw.prototype.className="Ring",lw.prototype._centroid=!0,lw.prototype._attrsAffectingSize=["innerRadius","outerRadius"],$b(lw),uA.addGetterSetter(lw,"innerRadius",0,tA()),uA.addGetterSetter(lw,"outerRadius",0,tA());class uw extends kC{constructor(e){super(e),this._updated=!0,this.anim=new jC((()=>{var e=this._updated;return this._updated=!1,e})),this.on("animationChange.konva",(function(){this.frameIndex(0)})),this.on("frameIndexChange.konva",(function(){this._updated=!0})),this.on("frameRateChange.konva",(function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())}))}_sceneFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],i=this.frameOffsets(),a=o[r+0],s=o[r+1],l=o[r+2],u=o[r+3],c=this.image();if((this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,l,u),e.closePath(),e.fillStrokeShape(this)),c)if(i){var p=i[t],d=2*n;e.drawImage(c,a,s,l,u,p[d+0],p[d+1],l,u)}else e.drawImage(c,a,s,l,u,0,0,l,u)}_hitFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],i=this.frameOffsets(),a=o[r+2],s=o[r+3];if(e.beginPath(),i){var l=i[t],u=2*n;e.rect(l[u+0],l[u+1],a,s)}else e.rect(0,0,a,s);e.closePath(),e.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var e=this;this.interval=setInterval((function(){e._updateIndex()}),1e3/this.frameRate())}start(){if(!this.isRunning()){var e=this.getLayer();this.anim.setLayers(e),this._setInterval(),this.anim.start()}}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var e=this.frameIndex(),t=this.animation();e<this.animations()[t].length/4-1?this.frameIndex(e+1):this.frameIndex(0)}}uw.prototype.className="Sprite",$b(uw),uA.addGetterSetter(uw,"animation"),uA.addGetterSetter(uw,"animations"),uA.addGetterSetter(uw,"frameOffsets"),uA.addGetterSetter(uw,"image"),uA.addGetterSetter(uw,"frameIndex",0,tA()),uA.addGetterSetter(uw,"frameRate",17,tA()),uA.backCompat(uw,{index:"frameIndex",getIndex:"getFrameIndex",setIndex:"setFrameIndex"});class cw extends kC{_sceneFunc(e){var t=this.innerRadius(),n=this.outerRadius(),r=this.numPoints();e.beginPath(),e.moveTo(0,0-n);for(var o=1;o<2*r;o++){var i=o%2==0?n:t,a=i*Math.sin(o*Math.PI/r),s=-1*i*Math.cos(o*Math.PI/r);e.lineTo(a,s)}e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}function pw(e){return Array.from(e)}cw.prototype.className="Star",cw.prototype._centroid=!0,cw.prototype._attrsAffectingSize=["innerRadius","outerRadius"],$b(cw),uA.addGetterSetter(cw,"numPoints",5,tA()),uA.addGetterSetter(cw,"innerRadius",0,tA()),uA.addGetterSetter(cw,"outerRadius",0,tA());var dw,fw="auto",hw="justify",mw="left",gw="middle",vw="normal",yw=" ",bw=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],Aw=bw.length;function Cw(){return dw||(dw=Qb.createCanvasElement().getContext("2d"))}class ww extends kC{constructor(e){super(function(e){return(e=e||{}).fillLinearGradientColorStops||e.fillRadialGradientColorStops||e.fillPatternImage||(e.fill=e.fill||"black"),e}(e)),this._partialTextX=0,this._partialTextY=0;for(var t=0;t<Aw;t++)this.on(bw[t]+"Change.konva",this._setTextData);this._setTextData()}_sceneFunc(e){var t=this.textArr,n=t.length;if(this.text()){var r,o=this.padding(),i=this.fontSize(),a=this.lineHeight()*i,s=this.verticalAlign(),l=0,u=this.align(),c=this.getWidth(),p=this.letterSpacing(),d=this.fill(),f=this.textDecoration(),h=-1!==f.indexOf("underline"),m=-1!==f.indexOf("line-through"),g=0,v=(g=a/2,0),y=0;for(e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",gw),e.setAttr("textAlign",mw),s===gw?l=(this.getHeight()-n*a-2*o)/2:"bottom"===s&&(l=this.getHeight()-n*a-2*o),e.translate(o,l+o),r=0;r<n;r++){v=0,y=0;var b,A,C,w=t[r],x=w.text,E=w.width,_=r!==n-1;if(e.save(),"right"===u?v+=c-E-2*o:"center"===u&&(v+=(c-E-2*o)/2),h&&(e.save(),e.beginPath(),e.moveTo(v,g+y+Math.round(i/2)),A=0===(b=x.split(" ").length-1),C=u===hw&&_&&!A?c-2*o:E,e.lineTo(v+Math.round(C),g+y+Math.round(i/2)),e.lineWidth=i/15,e.strokeStyle=d,e.stroke(),e.restore()),m&&(e.save(),e.beginPath(),e.moveTo(v,g+y),A=0===(b=x.split(" ").length-1),C=u===hw&&_&&!A?c-2*o:E,e.lineTo(v+Math.round(C),g+y),e.lineWidth=i/15,e.strokeStyle=d,e.stroke(),e.restore()),0!==p||u===hw){b=x.split(" ").length-1;for(var k=pw(x),S=0;S<k.length;S++){var D=k[S];" "===D&&r!==n-1&&u===hw&&(v+=(c-2*o-E)/b),this._partialTextX=v,this._partialTextY=g+y,this._partialText=D,e.fillStrokeShape(this),v+=this.measureSize(D).width+p}}else this._partialTextX=v,this._partialTextY=g+y,this._partialText=x,e.fillStrokeShape(this);e.restore(),n>1&&(g+=a)}}}_hitFunc(e){var t=this.getWidth(),n=this.getHeight();e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}setText(e){var t=Qb._isString(e)?e:null==e?"":e+"";return this._setAttr("text",t),this}getWidth(){return this.attrs.width===fw||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width}getHeight(){return this.attrs.height===fw||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return Qb.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(e){var t,n=Cw(),r=this.fontSize();return n.save(),n.font=this._getContextFont(),t=n.measureText(e),n.restore(),{width:t.width,height:r}}_getContextFont(){return this.fontStyle()+yw+this.fontVariant()+yw+(this.fontSize()+"px ")+function(e){return e.split(",").map((e=>{const t=(e=e.trim()).indexOf(" ")>=0,n=e.indexOf('"')>=0||e.indexOf("'")>=0;return t&&!n&&(e=`"${e}"`),e})).join(", ")}(this.fontFamily())}_addTextLine(e){this.align()===hw&&(e=e.trim());var t=this._getTextWidth(e);return this.textArr.push({text:e,width:t})}_getTextWidth(e){var t=this.letterSpacing(),n=e.length;return Cw().measureText(e).width+(n?t*(n-1):0)}_setTextData(){var e=this.text().split("\n"),t=+this.fontSize(),n=0,r=this.lineHeight()*t,o=this.attrs.width,i=this.attrs.height,a=o!==fw&&void 0!==o,s=i!==fw&&void 0!==i,l=this.padding(),u=o-2*l,c=i-2*l,p=0,d=this.wrap(),f="none"!==d,h="char"!==d&&f,m=this.ellipsis();this.textArr=[],Cw().font=this._getContextFont();for(var g=m?this._getTextWidth("…"):0,v=0,y=e.length;v<y;++v){var b=e[v],A=this._getTextWidth(b);if(a&&A>u)for(;b.length>0;){for(var C=0,w=b.length,x="",E=0;C<w;){var _=C+w>>>1,k=b.slice(0,_+1),S=this._getTextWidth(k)+g;S<=u?(C=_+1,x=k,E=S):w=_}if(!x)break;if(h){var D,T=b[x.length];(D=(T===yw||"-"===T)&&E<=u?x.length:Math.max(x.lastIndexOf(yw),x.lastIndexOf("-"))+1)>0&&(C=D,x=x.slice(0,C),E=this._getTextWidth(x))}if(x=x.trimRight(),this._addTextLine(x),n=Math.max(n,E),p+=r,!f||s&&p+r>c){var O=this.textArr[this.textArr.length-1];if(O)if(m)this._getTextWidth(O.text+"…")<u||(O.text=O.text.slice(0,O.text.length-3)),this.textArr.splice(this.textArr.length-1,1),this._addTextLine(O.text+"…");break}if((b=(b=b.slice(C)).trimLeft()).length>0&&(A=this._getTextWidth(b))<=u){this._addTextLine(b),p+=r,n=Math.max(n,A);break}}else this._addTextLine(b),p+=r,n=Math.max(n,A);if(s&&p+r>c)break}this.textHeight=t,this.textWidth=n}getStrokeScaleEnabled(){return!0}}ww.prototype._fillFunc=function(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)},ww.prototype._strokeFunc=function(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)},ww.prototype.className="Text",ww.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],$b(ww),uA.overWriteSetter(ww,"width",rA()),uA.overWriteSetter(ww,"height",rA()),uA.addGetterSetter(ww,"fontFamily","Arial"),uA.addGetterSetter(ww,"fontSize",12,tA()),uA.addGetterSetter(ww,"fontStyle",vw),uA.addGetterSetter(ww,"fontVariant",vw),uA.addGetterSetter(ww,"padding",0,tA()),uA.addGetterSetter(ww,"align",mw),uA.addGetterSetter(ww,"verticalAlign","top"),uA.addGetterSetter(ww,"lineHeight",1,tA()),uA.addGetterSetter(ww,"wrap","word"),uA.addGetterSetter(ww,"ellipsis",!1,aA()),uA.addGetterSetter(ww,"letterSpacing",0,tA()),uA.addGetterSetter(ww,"text","",oA()),uA.addGetterSetter(ww,"textDecoration","");var xw="normal";function Ew(e){e.fillText(this.partialText,0,0)}function _w(e){e.strokeText(this.partialText,0,0)}class kw extends kC{constructor(e){super(e),this.dummyCanvas=Qb.createCanvasElement(),this.dataArray=[],this.dataArray=GC.parsePathData(this.attrs.data),this.on("dataChange.konva",(function(){this.dataArray=GC.parsePathData(this.attrs.data),this._setTextData()})),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva",this._setTextData),this._setTextData()}_sceneFunc(e){e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",this.textBaseline()),e.setAttr("textAlign","left"),e.save();var t=this.textDecoration(),n=this.fill(),r=this.fontSize(),o=this.glyphInfo;"underline"===t&&e.beginPath();for(var i=0;i<o.length;i++){e.save();var a=o[i].p0;e.translate(a.x,a.y),e.rotate(o[i].rotation),this.partialText=o[i].text,e.fillStrokeShape(this),"underline"===t&&(0===i&&e.moveTo(0,r/2+1),e.lineTo(r,r/2+1)),e.restore()}"underline"===t&&(e.strokeStyle=n,e.lineWidth=r/20,e.stroke()),e.restore()}_hitFunc(e){e.beginPath();var t=this.glyphInfo;if(t.length>=1){var n=t[0].p0;e.moveTo(n.x,n.y)}for(var r=0;r<t.length;r++){var o=t[r].p1;e.lineTo(o.x,o.y)}e.setAttr("lineWidth",this.fontSize()),e.setAttr("strokeStyle",this.colorKey),e.stroke()}getTextWidth(){return this.textWidth}getTextHeight(){return Qb.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}setText(e){return ww.prototype.setText.call(this,e)}_getContextFont(){return ww.prototype._getContextFont.call(this)}_getTextSize(e){var t=this.dummyCanvas.getContext("2d");t.save(),t.font=this._getContextFont();var n=t.measureText(e);return t.restore(),{width:n.width,height:parseInt(this.attrs.fontSize,10)}}_setTextData(){var e=this,t=this._getTextSize(this.attrs.text),n=this.letterSpacing(),r=this.align(),o=this.kerningFunc();this.textWidth=t.width,this.textHeight=t.height;var i=Math.max(this.textWidth+((this.attrs.text||"").length-1)*n,0);this.glyphInfo=[];for(var a=0,s=0;s<e.dataArray.length;s++)e.dataArray[s].pathLength>0&&(a+=e.dataArray[s].pathLength);var l=0;"center"===r&&(l=Math.max(0,a/2-i/2)),"right"===r&&(l=Math.max(0,a-i));for(var u,c,p,d=pw(this.text()),f=this.text().split(" ").length-1,h=-1,m=0,g=function(){m=0;for(var t=e.dataArray,n=h+1;n<t.length;n++){if(t[n].pathLength>0)return h=n,t[n];"M"===t[n].command&&(u={x:t[n].points[0],y:t[n].points[1]})}return{}},v=function(t){var o=e._getTextSize(t).width+n;" "===t&&"justify"===r&&(o+=(a-i)/f);var s=0,l=0;for(c=void 0;Math.abs(o-s)/o>.01&&l<20;){l++;for(var d=s;void 0===p;)(p=g())&&d+p.pathLength<o&&(d+=p.pathLength,p=void 0);if(p==={}||void 0===u)return;var h=!1;switch(p.command){case"L":GC.getLineLength(u.x,u.y,p.points[0],p.points[1])>o?c=GC.getPointOnLine(o,u.x,u.y,p.points[0],p.points[1],u.x,u.y):p=void 0;break;case"A":var v=p.points[4],y=p.points[5],b=p.points[4]+y;0===m?m=v+1e-8:o>s?m+=Math.PI/180*y/Math.abs(y):m-=Math.PI/360*y/Math.abs(y),(y<0&&m<b||y>=0&&m>b)&&(m=b,h=!0),c=GC.getPointOnEllipticalArc(p.points[0],p.points[1],p.points[2],p.points[3],m,p.points[6]);break;case"C":0===m?m=o>p.pathLength?1e-8:o/p.pathLength:o>s?m+=(o-s)/p.pathLength/2:m=Math.max(m-(s-o)/p.pathLength/2,0),m>1&&(m=1,h=!0),c=GC.getPointOnCubicBezier(m,p.start.x,p.start.y,p.points[0],p.points[1],p.points[2],p.points[3],p.points[4],p.points[5]);break;case"Q":0===m?m=o/p.pathLength:o>s?m+=(o-s)/p.pathLength:m-=(s-o)/p.pathLength,m>1&&(m=1,h=!0),c=GC.getPointOnQuadraticBezier(m,p.start.x,p.start.y,p.points[0],p.points[1],p.points[2],p.points[3])}void 0!==c&&(s=GC.getLineLength(u.x,u.y,c.x,c.y)),h&&(h=!1,p=void 0)}},y=l/(e._getTextSize("C").width+n)-1,b=0;b<y&&(v("C"),void 0!==u&&void 0!==c);b++)u=c;for(var A=0;A<d.length&&(v(d[A]),void 0!==u&&void 0!==c);A++){var C=GC.getLineLength(u.x,u.y,c.x,c.y),w=0;if(o)try{w=o(d[A-1],d[A])*this.fontSize()}catch(e){w=0}u.x+=w,c.x+=w,this.textWidth+=w;var x=GC.getPointOnLine(w+C/2,u.x,u.y,c.x,c.y),E=Math.atan2(c.y-u.y,c.x-u.x);this.glyphInfo.push({transposeX:x.x,transposeY:x.y,text:d[A],rotation:E,p0:u,p1:c}),u=c}}getSelfRect(){if(!this.glyphInfo.length)return{x:0,y:0,width:0,height:0};var e=[];this.glyphInfo.forEach((function(t){e.push(t.p0.x),e.push(t.p0.y),e.push(t.p1.x),e.push(t.p1.y)}));for(var t,n,r=e[0]||0,o=e[0]||0,i=e[1]||0,a=e[1]||0,s=0;s<e.length/2;s++)t=e[2*s],n=e[2*s+1],r=Math.min(r,t),o=Math.max(o,t),i=Math.min(i,n),a=Math.max(a,n);var l=this.fontSize();return{x:r-l/2,y:i-l/2,width:o-r+l,height:a-i+l}}}kw.prototype._fillFunc=Ew,kw.prototype._strokeFunc=_w,kw.prototype._fillFuncHit=Ew,kw.prototype._strokeFuncHit=_w,kw.prototype.className="TextPath",kw.prototype._attrsAffectingSize=["text","fontSize","data"],$b(kw),uA.addGetterSetter(kw,"data"),uA.addGetterSetter(kw,"fontFamily","Arial"),uA.addGetterSetter(kw,"fontSize",12,tA()),uA.addGetterSetter(kw,"fontStyle",xw),uA.addGetterSetter(kw,"align","left"),uA.addGetterSetter(kw,"letterSpacing",0,tA()),uA.addGetterSetter(kw,"textBaseline","middle"),uA.addGetterSetter(kw,"fontVariant",xw),uA.addGetterSetter(kw,"text",""),uA.addGetterSetter(kw,"textDecoration",null),uA.addGetterSetter(kw,"kerningFunc",null);var Sw=r(5108),Dw="tr-konva",Tw=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange"].map((e=>e+".tr-konva")).join(" "),Ow="nodesRect",Pw=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],Lw={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const Fw="ontouchstart"in Ub._global;var jw=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function Bw(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),o=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:o})}function Iw(e,t){const n=function(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}(e);return Bw(e,t,n)}class Nw extends LC{constructor(e){super(e),this._transforming=!1,this._createElements(),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this.update=this.update.bind(this),this.on(Tw,this.update),this.getNode()&&this.update()}attachTo(e){return this.setNode(e),this}setNode(e){return Qb.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."),this.setNodes([e])}getNode(){return this._nodes&&this._nodes[0]}_getEventNamespace(){return Dw+this._id}setNodes(e=[]){return this._nodes&&this._nodes.length&&this.detach(),this._nodes=e,1===e.length&&this.useSingleNodeRotation()?this.rotation(e[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((e=>{const t=()=>{1===this.nodes().length&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),this._transforming||this.isDragging()||this.update()},n=e._attrsAffectingSize.map((e=>e+"Change."+this._getEventNamespace())).join(" ");e.on(n,t),e.on(Pw.map((e=>e+`.${this._getEventNamespace()}`)).join(" "),t),e.on(`absoluteTransformChange.${this._getEventNamespace()}`,t),this._proxyDrag(e)})),this._resetTransformCache(),!!this.findOne(".top-left")&&this.update(),this}_proxyDrag(e){let t;e.on(`dragstart.${this._getEventNamespace()}`,(n=>{t=e.getAbsolutePosition(),this.isDragging()||e===this.findOne(".back")||this.startDrag(n,!1)})),e.on(`dragmove.${this._getEventNamespace()}`,(n=>{if(!t)return;const r=e.getAbsolutePosition(),o=r.x-t.x,i=r.y-t.y;this.nodes().forEach((t=>{if(t===e)return;if(t.isDragging())return;const r=t.getAbsolutePosition();t.setAbsolutePosition({x:r.x+o,y:r.y+i}),t.startDrag(n)})),t=null}))}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach((e=>{e.off("."+this._getEventNamespace())})),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(Ow),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(Ow,this.__getNodeRect)}__getNodeShape(e,t=this.rotation(),n){var r=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=e.getAbsoluteScale(n),i=e.getAbsolutePosition(n),a=r.x*o.x-e.offsetX()*o.x,s=r.y*o.y-e.offsetY()*o.y;const l=(Ub.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return Bw({x:i.x+a*Math.cos(l)+s*Math.sin(-l),y:i.y+s*Math.cos(l)+a*Math.sin(l),width:r.width*o.x,height:r.height*o.y,rotation:l},-Ub.getAngle(t),{x:0,y:0})}__getNodeRect(){if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};const e=[];this.nodes().map((t=>{const n=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var r=[{x:n.x,y:n.y},{x:n.x+n.width,y:n.y},{x:n.x+n.width,y:n.y+n.height},{x:n.x,y:n.y+n.height}],o=t.getAbsoluteTransform();r.forEach((function(t){var n=o.point(t);e.push(n)}))}));const t=new qb;var n,r,o,i;t.rotate(-Ub.getAngle(this.rotation())),e.forEach((function(e){var a=t.point(e);void 0===n&&(n=o=a.x,r=i=a.y),n=Math.min(n,a.x),r=Math.min(r,a.y),o=Math.max(o,a.x),i=Math.max(i,a.y)})),t.invert();const a=t.point({x:n,y:r});return{x:a.x,y:a.y,width:o-n,height:i-r,rotation:Ub.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),jw.forEach(function(e){this._createAnchor(e)}.bind(this)),this._createAnchor("rotater")}_createAnchor(e){var t=new iw({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:Fw?10:"auto"}),n=this;t.on("mousedown touchstart",(function(e){n._handleMouseDown(e)})),t.on("dragstart",(e=>{t.stopDrag(),e.cancelBubble=!0})),t.on("dragend",(e=>{e.cancelBubble=!0})),t.on("mouseenter",(()=>{var n=Ub.getAngle(this.rotation()),r=function(e,t){if("rotater"===e)return"crosshair";t+=Qb.degToRad(Lw[e]||0);var n=(Qb.radToDeg(t)%360+360)%360;return Qb._inRange(n,337.5,360)||Qb._inRange(n,0,22.5)?"ns-resize":Qb._inRange(n,22.5,67.5)?"nesw-resize":Qb._inRange(n,67.5,112.5)?"ew-resize":Qb._inRange(n,112.5,157.5)?"nwse-resize":Qb._inRange(n,157.5,202.5)?"ns-resize":Qb._inRange(n,202.5,247.5)?"nesw-resize":Qb._inRange(n,247.5,292.5)?"ew-resize":Qb._inRange(n,292.5,337.5)?"nwse-resize":(Qb.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}(e,n);t.getStage().content&&(t.getStage().content.style.cursor=r),this._cursorChange=!0})),t.on("mouseout",(()=>{t.getStage().content&&(t.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(t)}_createBack(){var e=new kC({name:"back",width:0,height:0,draggable:!0,sceneFunc(e){var t=this.getParent(),n=t.padding();e.beginPath(),e.rect(-n,-n,this.width()+2*n,this.height()+2*n),e.moveTo(this.width()/2,-n),t.rotateEnabled()&&e.lineTo(this.width()/2,-t.rotateAnchorOffset()*Qb._sign(this.height())-n),e.fillStrokeShape(this)},hitFunc:(e,t)=>{if(this.shouldOverdrawWholeArea()){var n=this.padding();e.beginPath(),e.rect(-n,-n,t.width()+2*n,t.height()+2*n),e.fillStrokeShape(t)}}});this.add(e),this._proxyDrag(e),e.on("dragstart",(e=>{e.cancelBubble=!0})),e.on("dragmove",(e=>{e.cancelBubble=!0})),e.on("dragend",(e=>{e.cancelBubble=!0})),this.on("dragmove",(e=>{this.update()}))}_handleMouseDown(e){this._movingAnchorName=e.target.name().split(" ")[0];var t=this._getNodeRect(),n=t.width,r=t.height,o=Math.sqrt(Math.pow(n,2)+Math.pow(r,2));this.sin=Math.abs(r/o),this.cos=Math.abs(n/o),"undefined"!=typeof window&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0;var i=e.target.getAbsolutePosition(),a=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:a.x-i.x,y:a.y-i.y},this._fire("transformstart",{evt:e,target:this.getNode()}),this._nodes.forEach((t=>{t._fire("transformstart",{evt:e,target:t})}))}_handleMouseMove(e){var t,n,r,o=this.findOne("."+this._movingAnchorName),i=o.getStage();i.setPointersPositions(e);const a=i.getPointerPosition();let s={x:a.x-this._anchorDragOffset.x,y:a.y-this._anchorDragOffset.y};const l=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(s=this.anchorDragBoundFunc()(l,s,e)),o.setAbsolutePosition(s);const u=o.getAbsolutePosition();if(l.x!==u.x||l.y!==u.y)if("rotater"!==this._movingAnchorName){var c=this.keepRatio()||e.shiftKey,p=this.centeredScaling()||e.altKey;if("top-left"===this._movingAnchorName){if(c){var d=p?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};r=Math.sqrt(Math.pow(d.x-o.x(),2)+Math.pow(d.y-o.y(),2));var f=this.findOne(".top-left").x()>d.x?-1:1,h=this.findOne(".top-left").y()>d.y?-1:1;t=r*this.cos*f,n=r*this.sin*h,this.findOne(".top-left").x(d.x-t),this.findOne(".top-left").y(d.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(o.y());else if("top-right"===this._movingAnchorName){if(c){d=p?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};r=Math.sqrt(Math.pow(o.x()-d.x,2)+Math.pow(d.y-o.y(),2));f=this.findOne(".top-right").x()<d.x?-1:1,h=this.findOne(".top-right").y()>d.y?-1:1;t=r*this.cos*f,n=r*this.sin*h,this.findOne(".top-right").x(d.x+t),this.findOne(".top-right").y(d.y-n)}var m=o.position();this.findOne(".top-left").y(m.y),this.findOne(".bottom-right").x(m.x)}else if("middle-left"===this._movingAnchorName)this.findOne(".top-left").x(o.x());else if("middle-right"===this._movingAnchorName)this.findOne(".bottom-right").x(o.x());else if("bottom-left"===this._movingAnchorName){if(c){d=p?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};r=Math.sqrt(Math.pow(d.x-o.x(),2)+Math.pow(o.y()-d.y,2));f=d.x<o.x()?-1:1,h=o.y()<d.y?-1:1;t=r*this.cos*f,n=r*this.sin*h,o.x(d.x-t),o.y(d.y+n)}m=o.position(),this.findOne(".top-left").x(m.x),this.findOne(".bottom-right").y(m.y)}else if("bottom-center"===this._movingAnchorName)this.findOne(".bottom-right").y(o.y());else if("bottom-right"===this._movingAnchorName){if(c){d=p?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-left").x(),y:this.findOne(".top-left").y()};r=Math.sqrt(Math.pow(o.x()-d.x,2)+Math.pow(o.y()-d.y,2));f=this.findOne(".bottom-right").x()<d.x?-1:1,h=this.findOne(".bottom-right").y()<d.y?-1:1;t=r*this.cos*f,n=r*this.sin*h,this.findOne(".bottom-right").x(d.x+t),this.findOne(".bottom-right").y(d.y+n)}}else Sw.error(new Error("Wrong position argument of selection resizer: "+this._movingAnchorName));if(p=this.centeredScaling()||e.altKey){var g=this.findOne(".top-left"),v=this.findOne(".bottom-right"),y=g.x(),b=g.y(),A=this.getWidth()-v.x(),C=this.getHeight()-v.y();v.move({x:-y,y:-b}),g.move({x:A,y:C})}var w=this.findOne(".top-left").getAbsolutePosition();t=w.x,n=w.y;var x=this.findOne(".bottom-right").x()-this.findOne(".top-left").x(),E=this.findOne(".bottom-right").y()-this.findOne(".top-left").y();this._fitNodesInto({x:t,y:n,width:x,height:E,rotation:Ub.getAngle(this.rotation())},e)}else{var _=this._getNodeRect();t=o.x()-_.width/2,n=-o.y()+_.height/2;let r=Math.atan2(-n,t)+Math.PI/2;_.height<0&&(r-=Math.PI);const i=Ub.getAngle(this.rotation())+r,a=Ub.getAngle(this.rotationSnapTolerance()),s=function(e,t,n){let r=t;for(let o=0;o<e.length;o++){const i=Ub.getAngle(e[o]),a=Math.abs(i-t)%(2*Math.PI);Math.min(a,2*Math.PI-a)<n&&(r=i)}return r}(this.rotationSnaps(),i,a),l=Iw(_,s-_.rotation);this._fitNodesInto(l,e)}}_handleMouseUp(e){this._removeEvents(e)}getAbsoluteTransform(){return this.getTransform()}_removeEvents(e){if(this._transforming){this._transforming=!1,"undefined"!=typeof window&&(window.removeEventListener("mousemove",this._handleMouseMove),window.removeEventListener("touchmove",this._handleMouseMove),window.removeEventListener("mouseup",this._handleMouseUp,!0),window.removeEventListener("touchend",this._handleMouseUp,!0));var t=this.getNode();this._fire("transformend",{evt:e,target:t}),t&&this._nodes.forEach((t=>{t._fire("transformend",{evt:e,target:t})})),this._movingAnchorName=null}}_fitNodesInto(e,t){var n=this._getNodeRect();if(Qb._inRange(e.width,2*-this.padding()-1,1))return void this.update();if(Qb._inRange(e.height,2*-this.padding()-1,1))return void this.update();const r=this.flipEnabled();var o=new qb;if(o.rotate(Ub.getAngle(this.rotation())),this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("left")>=0){const t=o.point({x:2*-this.padding(),y:0});if(e.x+=t.x,e.y+=t.y,e.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,!r)return void this.update()}else if(this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("right")>=0){const t=o.point({x:2*this.padding(),y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.width+=2*this.padding(),!r)return void this.update()}if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("top")>=0){const t=o.point({x:0,y:2*-this.padding()});if(e.x+=t.x,e.y+=t.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding(),!r)return void this.update()}else if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const t=o.point({x:0,y:2*this.padding()});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding(),!r)return void this.update()}if(this.boundBoxFunc()){const t=this.boundBoxFunc()(n,e);t?e=t:Qb.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const i=1e7,a=new qb;a.translate(n.x,n.y),a.rotate(n.rotation),a.scale(n.width/i,n.height/i);const s=new qb;s.translate(e.x,e.y),s.rotate(e.rotation),s.scale(e.width/i,e.height/i);const l=s.multiply(a.invert());this._nodes.forEach((e=>{var n;const r=e.getParent().getAbsoluteTransform(),o=e.getTransform().copy();o.translate(e.offsetX(),e.offsetY());const i=new qb;i.multiply(r.copy().invert()).multiply(l).multiply(r).multiply(o);const a=i.decompose();e.setAttrs(a),this._fire("transform",{evt:t,target:e}),e._fire("transform",{evt:t,target:e}),null===(n=e.getLayer())||void 0===n||n.batchDraw()})),this.rotation(Qb._getRotation(e.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(e,t){this.findOne(e).setAttrs(t)}update(){var e,t=this._getNodeRect();this.rotation(Qb._getRotation(t.rotation));var n=t.width,r=t.height,o=this.enabledAnchors(),i=this.resizeEnabled(),a=this.padding(),s=this.anchorSize();this.find("._anchor").forEach((e=>{e.setAttrs({width:s,height:s,offsetX:s/2,offsetY:s/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:s/2+a,offsetY:s/2+a,visible:i&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:s/2+a,visible:i&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:s/2-a,offsetY:s/2+a,visible:i&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:r/2,offsetX:s/2+a,visible:i&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:r/2,offsetX:s/2-a,visible:i&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:r,offsetX:s/2+a,offsetY:s/2-a,visible:i&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:r,offsetY:s/2-a,visible:i&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:r,offsetX:s/2-a,offsetY:s/2-a,visible:i&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*Qb._sign(r)-a,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:r,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),null===(e=this.getLayer())||void 0===e||e.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var e=this.findOne("."+this._movingAnchorName);e&&e.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),LC.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return BA.prototype.toObject.call(this)}}Nw.prototype.className="Transformer",$b(Nw),uA.addGetterSetter(Nw,"enabledAnchors",jw,(function(e){return e instanceof Array||Qb.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===jw.indexOf(e)&&Qb.warn("Unknown anchor name: "+e+". Available names are: "+jw.join(", "))})),e||[]})),uA.addGetterSetter(Nw,"flipEnabled",!0,aA()),uA.addGetterSetter(Nw,"resizeEnabled",!0),uA.addGetterSetter(Nw,"anchorSize",10,tA()),uA.addGetterSetter(Nw,"rotateEnabled",!0),uA.addGetterSetter(Nw,"rotationSnaps",[]),uA.addGetterSetter(Nw,"rotateAnchorOffset",50,tA()),uA.addGetterSetter(Nw,"rotationSnapTolerance",5,tA()),uA.addGetterSetter(Nw,"borderEnabled",!0),uA.addGetterSetter(Nw,"anchorStroke","rgb(0, 161, 255)"),uA.addGetterSetter(Nw,"anchorStrokeWidth",1,tA()),uA.addGetterSetter(Nw,"anchorFill","white"),uA.addGetterSetter(Nw,"anchorCornerRadius",0,tA()),uA.addGetterSetter(Nw,"borderStroke","rgb(0, 161, 255)"),uA.addGetterSetter(Nw,"borderStrokeWidth",1,tA()),uA.addGetterSetter(Nw,"borderDash"),uA.addGetterSetter(Nw,"keepRatio",!0),uA.addGetterSetter(Nw,"centeredScaling",!1),uA.addGetterSetter(Nw,"ignoreStroke",!1),uA.addGetterSetter(Nw,"padding",0,tA()),uA.addGetterSetter(Nw,"node"),uA.addGetterSetter(Nw,"nodes"),uA.addGetterSetter(Nw,"boundBoxFunc"),uA.addGetterSetter(Nw,"anchorDragBoundFunc"),uA.addGetterSetter(Nw,"shouldOverdrawWholeArea",!1),uA.addGetterSetter(Nw,"useSingleNodeRotation",!0),uA.backCompat(Nw,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class Mw extends kC{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.radius(),0,Ub.getAngle(this.angle()),this.clockwise()),e.lineTo(0,0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}function Rw(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}Mw.prototype.className="Wedge",Mw.prototype._centroid=!0,Mw.prototype._attrsAffectingSize=["radius"],$b(Mw),uA.addGetterSetter(Mw,"radius",0,tA()),uA.addGetterSetter(Mw,"angle",0,tA()),uA.addGetterSetter(Mw,"clockwise",!1),uA.backCompat(Mw,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});var zw=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Uw=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];uA.addGetterSetter(BA,"blurRadius",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"brightness",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"contrast",0,tA(),uA.afterSetFilter);function $w(e,t,n,r,o){var i=n-t,a=o-r;return 0===i?r+a/2:0===a?r:a*((e-t)/i)+r}uA.addGetterSetter(BA,"embossStrength",.5,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"embossWhiteLevel",.5,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"embossDirection","top-left",null,uA.afterSetFilter),uA.addGetterSetter(BA,"embossBlend",!1,null,uA.afterSetFilter);uA.addGetterSetter(BA,"enhance",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"hue",0,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"saturation",0,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"luminance",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"hue",0,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"saturation",0,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"value",0,tA(),uA.afterSetFilter);function Hw(e,t,n){var r=4*(n*e.width+t),o=[];return o.push(e.data[r++],e.data[r++],e.data[r++],e.data[r++]),o}function qw(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2))}uA.addGetterSetter(BA,"kaleidoscopePower",2,tA(),uA.afterSetFilter),uA.addGetterSetter(BA,"kaleidoscopeAngle",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"threshold",0,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"noise",.2,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"pixelSize",8,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"levels",.5,tA(),uA.afterSetFilter);uA.addGetterSetter(BA,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),uA.addGetterSetter(BA,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),uA.addGetterSetter(BA,"blue",0,eA,uA.afterSetFilter);uA.addGetterSetter(BA,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),uA.addGetterSetter(BA,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),uA.addGetterSetter(BA,"blue",0,eA,uA.afterSetFilter),uA.addGetterSetter(BA,"alpha",1,(function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e}));uA.addGetterSetter(BA,"threshold",.5,tA(),uA.afterSetFilter);const Vw=UC.Util._assign(UC,{Arc:$C,Arrow:WC,Circle:ZC,Ellipse:YC,Image:XC,Label:rw,Tag:ow,Line:VC,Path:GC,Rect:iw,RegularPolygon:aw,Ring:lw,Sprite:uw,Star:cw,Text:ww,TextPath:kw,Transformer:Nw,Wedge:Mw,Filters:{Blur:function(e){var t=Math.round(this.blurRadius());t>0&&function(e,t){var n,r,o,i,a,s,l,u,c,p,d,f,h,m,g,v,y,b,A,C,w,x,E,_,k=e.data,S=e.width,D=e.height,T=t+t+1,O=S-1,P=D-1,L=t+1,F=L*(L+1)/2,j=new Rw,B=null,I=j,N=null,M=null,R=zw[t],z=Uw[t];for(o=1;o<T;o++)I=I.next=new Rw,o===L&&(B=I);for(I.next=j,l=s=0,r=0;r<D;r++){for(v=y=b=A=u=c=p=d=0,f=L*(C=k[s]),h=L*(w=k[s+1]),m=L*(x=k[s+2]),g=L*(E=k[s+3]),u+=F*C,c+=F*w,p+=F*x,d+=F*E,I=j,o=0;o<L;o++)I.r=C,I.g=w,I.b=x,I.a=E,I=I.next;for(o=1;o<L;o++)i=s+((O<o?O:o)<<2),u+=(I.r=C=k[i])*(_=L-o),c+=(I.g=w=k[i+1])*_,p+=(I.b=x=k[i+2])*_,d+=(I.a=E=k[i+3])*_,v+=C,y+=w,b+=x,A+=E,I=I.next;for(N=j,M=B,n=0;n<S;n++)k[s+3]=E=d*R>>z,0!==E?(E=255/E,k[s]=(u*R>>z)*E,k[s+1]=(c*R>>z)*E,k[s+2]=(p*R>>z)*E):k[s]=k[s+1]=k[s+2]=0,u-=f,c-=h,p-=m,d-=g,f-=N.r,h-=N.g,m-=N.b,g-=N.a,i=l+((i=n+t+1)<O?i:O)<<2,u+=v+=N.r=k[i],c+=y+=N.g=k[i+1],p+=b+=N.b=k[i+2],d+=A+=N.a=k[i+3],N=N.next,f+=C=M.r,h+=w=M.g,m+=x=M.b,g+=E=M.a,v-=C,y-=w,b-=x,A-=E,M=M.next,s+=4;l+=S}for(n=0;n<S;n++){for(y=b=A=v=c=p=d=u=0,f=L*(C=k[s=n<<2]),h=L*(w=k[s+1]),m=L*(x=k[s+2]),g=L*(E=k[s+3]),u+=F*C,c+=F*w,p+=F*x,d+=F*E,I=j,o=0;o<L;o++)I.r=C,I.g=w,I.b=x,I.a=E,I=I.next;for(a=S,o=1;o<=t;o++)s=a+n<<2,u+=(I.r=C=k[s])*(_=L-o),c+=(I.g=w=k[s+1])*_,p+=(I.b=x=k[s+2])*_,d+=(I.a=E=k[s+3])*_,v+=C,y+=w,b+=x,A+=E,I=I.next,o<P&&(a+=S);for(s=n,N=j,M=B,r=0;r<D;r++)k[3+(i=s<<2)]=E=d*R>>z,E>0?(E=255/E,k[i]=(u*R>>z)*E,k[i+1]=(c*R>>z)*E,k[i+2]=(p*R>>z)*E):k[i]=k[i+1]=k[i+2]=0,u-=f,c-=h,p-=m,d-=g,f-=N.r,h-=N.g,m-=N.b,g-=N.a,i=n+((i=r+L)<P?i:P)*S<<2,u+=v+=N.r=k[i],c+=y+=N.g=k[i+1],p+=b+=N.b=k[i+2],d+=A+=N.a=k[i+3],N=N.next,f+=C=M.r,h+=w=M.g,m+=x=M.b,g+=E=M.a,v-=C,y-=w,b-=x,A-=E,M=M.next,s+=S}}(e,t)},Brighten:function(e){var t,n=255*this.brightness(),r=e.data,o=r.length;for(t=0;t<o;t+=4)r[t]+=n,r[t+1]+=n,r[t+2]+=n},Contrast:function(e){var t,n=Math.pow((this.contrast()+100)/100,2),r=e.data,o=r.length,i=150,a=150,s=150;for(t=0;t<o;t+=4)i=r[t],a=r[t+1],s=r[t+2],i/=255,i-=.5,i*=n,i+=.5,a/=255,a-=.5,a*=n,a+=.5,s/=255,s-=.5,s*=n,s+=.5,i=(i*=255)<0?0:i>255?255:i,a=(a*=255)<0?0:a>255?255:a,s=(s*=255)<0?0:s>255?255:s,r[t]=i,r[t+1]=a,r[t+2]=s},Emboss:function(e){var t=10*this.embossStrength(),n=255*this.embossWhiteLevel(),r=this.embossDirection(),o=this.embossBlend(),i=0,a=0,s=e.data,l=e.width,u=e.height,c=4*l,p=u;switch(r){case"top-left":i=-1,a=-1;break;case"top":i=-1,a=0;break;case"top-right":i=-1,a=1;break;case"right":i=0,a=1;break;case"bottom-right":i=1,a=1;break;case"bottom":i=1,a=0;break;case"bottom-left":i=1,a=-1;break;case"left":i=0,a=-1;break;default:Qb.error("Unknown emboss direction: "+r)}do{var d=(p-1)*c,f=i;p+f<1&&(f=0),p+f>u&&(f=0);var h=(p-1+f)*l*4,m=l;do{var g=d+4*(m-1),v=a;m+v<1&&(v=0),m+v>l&&(v=0);var y=h+4*(m-1+v),b=s[g]-s[y],A=s[g+1]-s[y+1],C=s[g+2]-s[y+2],w=b,x=w>0?w:-w;if((A>0?A:-A)>x&&(w=A),(C>0?C:-C)>x&&(w=C),w*=t,o){var E=s[g]+w,_=s[g+1]+w,k=s[g+2]+w;s[g]=E>255?255:E<0?0:E,s[g+1]=_>255?255:_<0?0:_,s[g+2]=k>255?255:k<0?0:k}else{var S=n-w;S<0?S=0:S>255&&(S=255),s[g]=s[g+1]=s[g+2]=S}}while(--m)}while(--p)},Enhance:function(e){var t,n,r,o,i=e.data,a=i.length,s=i[0],l=s,u=i[1],c=u,p=i[2],d=p,f=this.enhance();if(0!==f){for(o=0;o<a;o+=4)(t=i[o+0])<s?s=t:t>l&&(l=t),(n=i[o+1])<u?u=n:n>c&&(c=n),(r=i[o+2])<p?p=r:r>d&&(d=r);var h,m,g,v,y,b,A,C,w;for(l===s&&(l=255,s=0),c===u&&(c=255,u=0),d===p&&(d=255,p=0),f>0?(m=l+f*(255-l),g=s-f*(s-0),y=c+f*(255-c),b=u-f*(u-0),C=d+f*(255-d),w=p-f*(p-0)):(m=l+f*(l-(h=.5*(l+s))),g=s+f*(s-h),y=c+f*(c-(v=.5*(c+u))),b=u+f*(u-v),C=d+f*(d-(A=.5*(d+p))),w=p+f*(p-A)),o=0;o<a;o+=4)i[o+0]=$w(i[o+0],s,l,g,m),i[o+1]=$w(i[o+1],u,c,b,y),i[o+2]=$w(i[o+2],p,d,w,C)}},Grayscale:function(e){var t,n,r=e.data,o=r.length;for(t=0;t<o;t+=4)n=.34*r[t]+.5*r[t+1]+.16*r[t+2],r[t]=n,r[t+1]=n,r[t+2]=n},HSL:function(e){var t,n,r,o,i,a=e.data,s=a.length,l=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,c=127*this.luminance(),p=1*l*Math.cos(u*Math.PI/180),d=1*l*Math.sin(u*Math.PI/180),f=.299+.701*p+.167*d,h=.587-.587*p+.33*d,m=.114-.114*p-.497*d,g=.299-.299*p-.328*d,v=.587+.413*p+.035*d,y=.114-.114*p+.293*d,b=.299-.3*p+1.25*d,A=.587-.586*p-1.05*d,C=.114+.886*p-.2*d;for(t=0;t<s;t+=4)n=a[t+0],r=a[t+1],o=a[t+2],i=a[t+3],a[t+0]=f*n+h*r+m*o+c,a[t+1]=g*n+v*r+y*o+c,a[t+2]=b*n+A*r+C*o+c,a[t+3]=i},HSV:function(e){var t,n,r,o,i,a=e.data,s=a.length,l=Math.pow(2,this.value()),u=Math.pow(2,this.saturation()),c=Math.abs(this.hue()+360)%360,p=l*u*Math.cos(c*Math.PI/180),d=l*u*Math.sin(c*Math.PI/180),f=.299*l+.701*p+.167*d,h=.587*l-.587*p+.33*d,m=.114*l-.114*p-.497*d,g=.299*l-.299*p-.328*d,v=.587*l+.413*p+.035*d,y=.114*l-.114*p+.293*d,b=.299*l-.3*p+1.25*d,A=.587*l-.586*p-1.05*d,C=.114*l+.886*p-.2*d;for(t=0;t<s;t+=4)n=a[t+0],r=a[t+1],o=a[t+2],i=a[t+3],a[t+0]=f*n+h*r+m*o,a[t+1]=g*n+v*r+y*o,a[t+2]=b*n+A*r+C*o,a[t+3]=i},Invert:function(e){var t,n=e.data,r=n.length;for(t=0;t<r;t+=4)n[t]=255-n[t],n[t+1]=255-n[t+1],n[t+2]=255-n[t+2]},Kaleidoscope:function(e){var t,n,r,o,i,a,s,l,u,c=e.width,p=e.height,d=Math.round(this.kaleidoscopePower()),f=Math.round(this.kaleidoscopeAngle()),h=Math.floor(c*(f%360)/360);if(!(d<1)){var m=Qb.createCanvasElement();m.width=c,m.height=p;var g=m.getContext("2d").getImageData(0,0,c,p);!function(e,t,n){var r,o,i,a,s=e.data,l=t.data,u=e.width,c=e.height,p=n.polarCenterX||u/2,d=n.polarCenterY||c/2,f=0,h=0,m=0,g=0,v=Math.sqrt(p*p+d*d);o=u-p,i=c-d,v=(a=Math.sqrt(o*o+i*i))>v?a:v;var y,b,A,C,w=c,x=u,E=360/x*Math.PI/180;for(b=0;b<x;b+=1)for(A=Math.sin(b*E),C=Math.cos(b*E),y=0;y<w;y+=1)o=Math.floor(p+v*y/w*C),f=s[0+(r=4*((i=Math.floor(d+v*y/w*A))*u+o))],h=s[r+1],m=s[r+2],g=s[r+3],l[0+(r=4*(b+y*u))]=f,l[r+1]=h,l[r+2]=m,l[r+3]=g}(e,g,{polarCenterX:c/2,polarCenterY:p/2});for(var v=c/Math.pow(2,d);v<=8;)v*=2,d-=1;var y=v=Math.ceil(v),b=0,A=y,C=1;for(h+v>c&&(b=y,A=0,C=-1),n=0;n<p;n+=1)for(t=b;t!==A;t+=C)l=4*(c*n+Math.round(t+h)%c),o=g.data[l+0],i=g.data[l+1],a=g.data[l+2],s=g.data[l+3],u=4*(c*n+t),g.data[u+0]=o,g.data[u+1]=i,g.data[u+2]=a,g.data[u+3]=s;for(n=0;n<p;n+=1)for(y=Math.floor(v),r=0;r<d;r+=1){for(t=0;t<y+1;t+=1)l=4*(c*n+t),o=g.data[l+0],i=g.data[l+1],a=g.data[l+2],s=g.data[l+3],u=4*(c*n+2*y-t-1),g.data[u+0]=o,g.data[u+1]=i,g.data[u+2]=a,g.data[u+3]=s;y*=2}!function(e,t,n){var r,o,i,a,s,l,u=e.data,c=t.data,p=e.width,d=e.height,f=n.polarCenterX||p/2,h=n.polarCenterY||d/2,m=0,g=0,v=0,y=0,b=Math.sqrt(f*f+h*h);o=p-f,i=d-h,b=(l=Math.sqrt(o*o+i*i))>b?l:b;var A,C,w,x=d,E=p,_=n.polarRotation||0;for(o=0;o<p;o+=1)for(i=0;i<d;i+=1)a=o-f,s=i-h,A=Math.sqrt(a*a+s*s)*x/b,C=(C=(180*Math.atan2(s,a)/Math.PI+360+_)%360)*E/360,w=Math.floor(C),m=u[0+(r=4*(Math.floor(A)*p+w))],g=u[r+1],v=u[r+2],y=u[r+3],c[0+(r=4*(i*p+o))]=m,c[r+1]=g,c[r+2]=v,c[r+3]=y}(g,e,{polarRotation:0})}},Mask:function(e){var t=function(e,t){var n=Hw(e,0,0),r=Hw(e,e.width-1,0),o=Hw(e,0,e.height-1),i=Hw(e,e.width-1,e.height-1),a=t||10;if(qw(n,r)<a&&qw(r,i)<a&&qw(i,o)<a&&qw(o,n)<a){for(var s=function(e){for(var t=[0,0,0],n=0;n<e.length;n++)t[0]+=e[n][0],t[1]+=e[n][1],t[2]+=e[n][2];return t[0]/=e.length,t[1]/=e.length,t[2]/=e.length,t}([r,n,i,o]),l=[],u=0;u<e.width*e.height;u++){var c=qw(s,[e.data[4*u],e.data[4*u+1],e.data[4*u+2]]);l[u]=c<a?0:255}return l}}(e,this.threshold());return t&&(t=function(e,t,n){for(var r=[1,1,1,1,0,1,1,1,1],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],s=0;s<n;s++)for(var l=0;l<t;l++){for(var u=s*t+l,c=0,p=0;p<o;p++)for(var d=0;d<o;d++){var f=s+p-i,h=l+d-i;if(f>=0&&f<n&&h>=0&&h<t){var m=r[p*o+d];c+=e[f*t+h]*m}}a[u]=2040===c?255:0}return a}(t,e.width,e.height),t=function(e,t,n){for(var r=[1,1,1,1,1,1,1,1,1],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],s=0;s<n;s++)for(var l=0;l<t;l++){for(var u=s*t+l,c=0,p=0;p<o;p++)for(var d=0;d<o;d++){var f=s+p-i,h=l+d-i;if(f>=0&&f<n&&h>=0&&h<t){var m=r[p*o+d];c+=e[f*t+h]*m}}a[u]=c>=1020?255:0}return a}(t,e.width,e.height),t=function(e,t,n){for(var r=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],s=0;s<n;s++)for(var l=0;l<t;l++){for(var u=s*t+l,c=0,p=0;p<o;p++)for(var d=0;d<o;d++){var f=s+p-i,h=l+d-i;if(f>=0&&f<n&&h>=0&&h<t){var m=r[p*o+d];c+=e[f*t+h]*m}}a[u]=c}return a}(t,e.width,e.height),function(e,t){for(var n=0;n<e.width*e.height;n++)e.data[4*n+3]=t[n]}(e,t)),e},Noise:function(e){var t,n=255*this.noise(),r=e.data,o=r.length,i=n/2;for(t=0;t<o;t+=4)r[t+0]+=i-2*i*Math.random(),r[t+1]+=i-2*i*Math.random(),r[t+2]+=i-2*i*Math.random()},Pixelate:function(e){var t,n,r,o,i,a,s,l,u,c,p,d,f,h,m=Math.ceil(this.pixelSize()),g=e.width,v=e.height,y=Math.ceil(g/m),b=Math.ceil(v/m),A=e.data;if(m<=0)Qb.error("pixelSize value can not be <= 0");else for(d=0;d<y;d+=1)for(f=0;f<b;f+=1){for(o=0,i=0,a=0,s=0,u=(l=d*m)+m,p=(c=f*m)+m,h=0,t=l;t<u;t+=1)if(!(t>=g))for(n=c;n<p;n+=1)n>=v||(o+=A[(r=4*(g*n+t))+0],i+=A[r+1],a+=A[r+2],s+=A[r+3],h+=1);for(o/=h,i/=h,a/=h,s/=h,t=l;t<u;t+=1)if(!(t>=g))for(n=c;n<p;n+=1)n>=v||(A[(r=4*(g*n+t))+0]=o,A[r+1]=i,A[r+2]=a,A[r+3]=s)}},Posterize:function(e){var t,n=Math.round(254*this.levels())+1,r=e.data,o=r.length,i=255/n;for(t=0;t<o;t+=1)r[t]=Math.floor(r[t]/i)*i},RGB:function(e){var t,n,r=e.data,o=r.length,i=this.red(),a=this.green(),s=this.blue();for(t=0;t<o;t+=4)n=(.34*r[t]+.5*r[t+1]+.16*r[t+2])/255,r[t]=n*i,r[t+1]=n*a,r[t+2]=n*s,r[t+3]=r[t+3]},RGBA:function(e){var t,n,r=e.data,o=r.length,i=this.red(),a=this.green(),s=this.blue(),l=this.alpha();for(t=0;t<o;t+=4)n=1-l,r[t]=i*l+r[t]*n,r[t+1]=a*l+r[t+1]*n,r[t+2]=s*l+r[t+2]*n},Sepia:function(e){var t,n,r,o,i=e.data,a=i.length;for(t=0;t<a;t+=4)n=i[t+0],r=i[t+1],o=i[t+2],i[t+0]=Math.min(255,.393*n+.769*r+.189*o),i[t+1]=Math.min(255,.349*n+.686*r+.168*o),i[t+2]=Math.min(255,.272*n+.534*r+.131*o)},Solarize:function(e){var t=e.data,n=e.width,r=4*n,o=e.height;do{var i=(o-1)*r,a=n;do{var s=i+4*(a-1),l=t[s],u=t[s+1],c=t[s+2];l>127&&(l=255-l),u>127&&(u=255-u),c>127&&(c=255-c),t[s]=l,t[s+1]=u,t[s+2]=c}while(--a)}while(--o)},Threshold:function(e){var t,n=255*this.threshold(),r=e.data,o=r.length;for(t=0;t<o;t+=1)r[t]=r[t]<n?0:255}}}),Gw=Vw,Ww=UC;var Zw=r(6525),Yw=r.n(Zw),Xw=r(2576),Kw=r(5108);const Qw={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let Jw=!1,ex=!1;const tx=".react-konva-event";let nx=!1;const rx={};function ox(e,t,n=rx){if(t===n&&Kw.error("same props"),!Jw&&"zIndex"in t&&(Kw.warn('ReactKonva: You are using "zIndex" attribute for a Konva node.\nreact-konva may get confused with ordering. Just define correct order of elements in your render function of a component.\nFor more info see: https://github.com/konvajs/react-konva/issues/194\n'),Jw=!0),!ex&&t.draggable){var r=void 0!==t.x||void 0!==t.y,o=t.onDragEnd||t.onDragMove;r&&!o&&(Kw.warn("ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled.\nPosition of a node will be changed during drag&drop, so you should update state of the react app as well.\nConsider to add onDragMove or onDragEnd events.\nFor more info see: https://github.com/konvajs/react-konva/issues/256\n"),ex=!0)}for(var i in n)if(!Qw[i]){var a="on"===i.slice(0,2),s=n[i]!==t[i];if(a&&s)"content"===(f=i.substr(2).toLowerCase()).substr(0,7)&&(f="content"+f.substr(7,1).toUpperCase()+f.substr(8)),e.off(f,n[i]);!t.hasOwnProperty(i)&&e.setAttr(i,void 0)}var l=nx||t._useStrictMode,u={},c=!1;const p={};for(var i in t)if(!Qw[i]){a="on"===i.slice(0,2);var d=n[i]!==t[i];if(a&&d)"content"===(f=i.substr(2).toLowerCase()).substr(0,7)&&(f="content"+f.substr(7,1).toUpperCase()+f.substr(8)),t[i]&&(p[f]=t[i]);!a&&(t[i]!==n[i]||l&&t[i]!==e.getAttr(i))&&(c=!0,u[i]=t[i])}for(var f in c&&(e.setAttrs(u),ix(e)),p)e.on(f+tx,p[f])}function ix(e){if(!Ub.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}var ax=r(4598),sx=r(5108);const lx={},ux={};function cx(e,t){"string"!=typeof t?(e.add(t),ix(e)):sx.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`)}function px(e,t,n){let r=Ww[e];r||(sx.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}"  If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=Ww.Group);const o={},i={};for(var a in t){"on"===a.slice(0,2)?i[a]=t[a]:o[a]=t[a]}const s=new r(o);return ox(s,i),s}function dx(e,t,n){sx.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function fx(e,t,n){return!1}function hx(e){return e}function mx(){return null}function gx(){return null}function vx(e,t,n,r){return ux}function yx(){}function bx(e){}function Ax(e,t){return!1}function Cx(){return lx}function wx(){return lx}Ww.Node.prototype._applyProps=ox;const xx=setTimeout,Ex=clearTimeout,_x=-1;function kx(e,t){return!1}const Sx=!1,Dx=!0,Tx=!0;function Ox(e,t){t.parent===e?t.moveToTop():e.add(t),ix(e)}function Px(e,t){t.parent===e?t.moveToTop():e.add(t),ix(e)}function Lx(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),ix(e)}function Fx(e,t,n){Lx(e,t,n)}function jx(e,t){t.destroy(),t.off(tx),ix(e)}function Bx(e,t){t.destroy(),t.off(tx),ix(e)}function Ix(e,t,n){sx.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function Nx(e,t,n){}function Mx(e,t,n,r,o){ox(e,o,r)}function Rx(e){e.hide(),ix(e)}function zx(e){}function Ux(e,t){(null==t.visible||t.visible)&&e.show()}function $x(e,t){}function Hx(e){}function qx(){}const Vx=()=>Xw.DefaultEventPriority;const Gx=e=>{const t=gv.useRef(),n=gv.useRef(),r=gv.useRef(),o=function(e){const t=gv.useRef();return gv.useLayoutEffect((()=>{t.current=e})),t.current}(e),i=t=>{const{forwardedRef:n}=e;n&&("function"==typeof n?n(t):n.current=t)};return gv.useLayoutEffect((()=>(n.current=new Ww.Stage({width:e.width,height:e.height,container:t.current}),i(n.current),r.current=Qx.createContainer(n.current,Xw.ConcurrentRoot,!1,null),Qx.updateContainer(e.children,r.current),()=>{Ww.isBrowser&&(i(null),Qx.updateContainer(null,r.current,null),n.current.destroy())})),[]),gv.useLayoutEffect((()=>{i(n.current),ox(n.current,e,o),Qx.updateContainer(e.children,r.current,null)})),gv.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},Wx="Layer",Zx="Rect",Yx="Ellipse",Xx="Image",Kx="Transformer",Qx=Yw()(e);Qx.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:gv.version,rendererPackageName:"react-konva"});const Jx=gv.forwardRef(((e,t)=>gv.createElement(Gx,{...e,forwardedRef:t}))),eE=function(e){nx=e};const tE=function(e,t,n,r){return Math.min(e/n,t/r)||1};var nE="FIE_root",rE="FIE_transformers-layer",oE="FIE_original-image",iE="FIE_nodes-transformer",aE="watermark",sE="353297d2-40b4-4684-a875-45a2178a8157",lE={FINETUNE:"Finetune",FILTERS:"Filters",ADJUST:"Adjust",WATERMARK:"Watermark",ANNOTATE:"Annotate",RESIZE:"Resize"},uE={CROP:"Crop",ROTATE:"Rotate",FLIP_X:"Flip_X",FLIP_Y:"Flip_Y",BRIGHTNESS:"Brightness",CONTRAST:"Contrast",HSV:"HueSaturationValue",WARMTH:"Warmth",BLUR:"Blur",THRESHOLD:"Threshold",POSTERIZE:"Posterize",PIXELATE:"Pixelate",NOISE:"Noise",FILTERS:"Filters",RECT:"Rect",ELLIPSE:"Ellipse",POLYGON:"Polygon",TEXT:"Text",LINE:"Line",IMAGE:"Image",ARROW:"Arrow",WATERMARK:"Watermark",PEN:"Pen",RESIZE:"Resize"},cE="X",pE="Y",dE=["png","jpeg","jpg","webp"],fE=[].concat(dE,["svg","gif","avif","apng"]),hE=dE[0],mE={DEFAULT:"default",DRAW:"crosshair",SELECT:"pointer",MOVE:"move",DRAG:"GRAB"},gE="original",vE="custom",yE="ellipse",bE={TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right",MIDDLE_LEFT:"middle-left",MIDDLE_CENTER:"middle-center",MIDDLE_RIGHT:"middle-right",BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right"},AE=14,CE=14,wE="after-saving",xE="close-button-clicked",EE="warning",_E="error";const kE=function(e,t){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2];t.ratio!==yE||n?e.rect(t.x,t.y,t.width,t.height):e.ellipse(t.x+t.width/2,t.y+t.height/2,t.width/2,t.height/2,0,0,2*Math.PI)};function SE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DE(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?SE(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):SE(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var TE="ADD_FILTER";const OE=function(e,t){return DE(DE({},e),{},{isDesignState:!t.dismissHistory,filter:t.filter||null})};function PE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LE(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?PE(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):PE(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var FE="HIDE_LOADER";const jE=function(e){return LE(LE({},e),{},{isLoadingGlobally:!1})};function BE(e){return Bb(e)||Lb(e)||Fb(e)||Ib()}var IE;const NE=(dv(IE={theme:{palette:{"bg-primary-active":"#ECF3FF"},typography:{fontFamily:"Roboto, Arial"}},annotationsCommon:{fill:"#000000",stroke:"#000000",strokeWidth:0,shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:"#000000",shadowOpacity:1,opacity:1}},uE.TEXT,{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",fontFamily:"Arial",fonts:[{label:"Arial",value:"Arial"},"Tahoma","Sans-serif",{label:"Comic Sans",value:"Comic-sans"}],fontSize:14,letterSpacing:0,lineHeight:1,align:"left",fontStyle:"normal",onFontChange:void 0}),dv(IE,uE.IMAGE,{fill:void 0}),dv(IE,uE.RECT,{cornerRadius:0}),dv(IE,uE.ELLIPSE,{}),dv(IE,uE.POLYGON,{sides:3}),dv(IE,uE.PEN,{strokeWidth:1,tension:.5,lineCap:"round"}),dv(IE,uE.LINE,{lineCap:"butt",strokeWidth:1}),dv(IE,uE.ARROW,{strokeWidth:6,lineCap:"butt",pointerLength:void 0,pointerWidth:void 0}),dv(IE,uE.WATERMARK,{gallery:[],textScalingRatio:.5,imageScalingRatio:.5}),dv(IE,uE.CROP,{minWidth:AE,minHeight:CE,width:null,height:null,maxWidth:null,maxHeight:null,ratio:"original",ratioTitleKey:void 0,noPresets:!1,autoResize:!1,presetsItems:[],presetsFolders:[]}),dv(IE,uE.ROTATE,{angle:60,componentType:"slider"}),dv(IE,"tabsIds",[]),dv(IE,"defaultTabId",lE.ADJUST),dv(IE,"defaultToolId",uE.CROP),dv(IE,"onClose",void 0),dv(IE,"onSave",void 0),dv(IE,"onBeforeSave",void 0),dv(IE,"closeAfterSave",!1),dv(IE,"defaultSavedImageName",void 0),dv(IE,"defaultSavedImageType",null),dv(IE,"forceToPngInEllipticalCrop",!1),dv(IE,"useBackendTranslations",!0),dv(IE,"translations",null),dv(IE,"language","en"),dv(IE,"avoidChangesNotSavedAlertOnLeave",!1),dv(IE,"loadableDesignState",null),dv(IE,"moreSaveOptions",[]),dv(IE,"savingPixelRatio",4),dv(IE,"previewPixelRatio",window&&window.devicePixelRatio||1),dv(IE,"showBackButton",!1),dv(IE,"useCloudimage",!1),dv(IE,"cloudimage",{token:"",dontPrefixUrl:!1,domain:"cloudimg.io",version:"",loadableQuery:"",secureProtocol:!0,imageSealing:{enable:!1,salt:"",charCount:10,includeParams:[]}}),dv(IE,"observePluginContainerSize",!1),dv(IE,"showCanvasOnly",!1),dv(IE,"getCurrentImgDataFnRef",void 0),dv(IE,"onModify",void 0),dv(IE,"useZoomPresetsMenu",!0),dv(IE,"disableZooming",!1),IE);const ME=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=(t[r]+t[r+1]+t[r+2])/3>100?255:0;t[r]=o,t[r+1]=o,t[r+2]=o}};const RE={brightness:function(e,t){var n=t;return n=~~(255*(n=-1>(n=1<n?1:n)?-1:n)),[e[0]+n,e[1]+n,e[2]+n]},contrast:function(e,t){var n=t,r=259*((n*=255)+255)/(255*(259-n));return[r*(e[0]-128)+128,r*(e[1]-128)+128,r*(e[2]-128)+128]},saturation:function(e,t){var n=t;n=-1>n?-1:n;var r=e[0],o=e[1],i=e[2],a=.2989*r+.587*o+.114*i;return[-a*n+r*(1+n),-a*n+o*(1+n),-a*n+i*(1+n)]},grayscale:function(e){var t=e[0],n=e[1],r=e[2];return[,,,].fill(.2126*t+.7152*n+.0722*r)},sepia:function(e,t){var n=e[0],r=e[1],o=e[2];return[n*(1-.607*t)+.769*r*t+.189*o*t,.349*n*t+r*(1-.314*t)+.168*o*t,.272*n*t+.534*r*t+o*(1-.869*t)]},adjustRGB:function(e,t){return[e[0]*t[0],e[1]*t[1],e[2]*t[2]]},colorFilter:function(e,t){var n=e[0],r=e[1],o=e[2],i=t[3];return[n-(n-t[0])*i,r-(r-t[1])*i,o-(o-t[2])*i]}};const zE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.15),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};const UE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.04),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],-.15),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const $E=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.grayscale([t[r],t[r+1],t[r+2]]),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var HE=[1,1.03,1.05];const qE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.08),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],HE),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.12),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};const VE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.4),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.13),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.contrast([t[r],t[r+1],t[r+2]],-.05),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var GE=[1.01,1.04,1];const WE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],GE),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.3),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const ZE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],-.5),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var YE=[1.04,1,1.02];const XE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],YE),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],-.05),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const KE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.05),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],-.03),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var QE=[228,130,225,.13];const JE=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],QE),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],-.2),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var e_=[1.05,1.1,1];const t_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],e_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2]}};const n_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.3),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.15),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var r_=[230,115,108,.05];const o_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],r_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.15),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var i_=[255,170,0,.1];const a_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],i_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.09),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.1),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var s_=[1,1,1.25];const l_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],s_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.15),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var u_=[255,225,80,.08];const c_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],u_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.05),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var p_=[255,255,0,.07];const d_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],p_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.2),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.15),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};const f_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.contrast([t[r],t[r+1],t[r+2]],-.15),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var h_=[100,28,210,.03];const m_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.grayscale([t[r],t[r+1],t[r+2]]),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],h_),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};const g_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.15),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.2),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const v_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.15),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var y_=[220,115,188,.12];const b_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],y_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],-.05),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const A_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.3),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var C_=[255,225,0,.05];const w_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],C_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.06),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.06),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var x_=[255,165,40,.2];const E_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],x_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2]}};var __=[140,10,185,.1];const k_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.2),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],__),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const S_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],-.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],-.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var D_=[255,145,0,.2];const T_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],D_),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var O_=[255,255,0,.2];const P_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],O_),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var L_=[255,25,0,.15];const F_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],L_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var j_=[255,140,0,.1],B_=[1.15,1.05,1];const I_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],j_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.adjustRGB([t[r],t[r+1],t[r+2]],B_),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.35),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};var N_=[225,240,0,.1];const M_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],N_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.25),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2];var a=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.05),3);t[r]=a[0],t[r+1]=a[1],t[r+2]=a[2]}};const R_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.06),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const z_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.saturation([t[r],t[r+1],t[r+2]],.35),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const U_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.15),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var $_=[25,240,252,.05];const H_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],$_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.sepia([t[r],t[r+1],t[r+2]],.3),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var q_=[208,208,86,.2];const V_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],q_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.15),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var G_=[255,160,25,.1];const W_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],G_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.brightness([t[r],t[r+1],t[r+2]],.1),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};var Z_=[255,50,80,.12];const Y_=function(e){for(var t=e.data,n=t.length,r=0;r<n;r+=4){var o=Nb(RE.colorFilter([t[r],t[r+1],t[r+2]],Z_),3);t[r]=o[0],t[r+1]=o[1],t[r+2]=o[2];var i=Nb(RE.contrast([t[r],t[r+1],t[r+2]],.05),3);t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2]}};const X_=function(e){return e?n[e]||Gw.Filters[e]:null};const K_=function(e){for(var t=this.warmth(),n=e.data,r=n.length,o=0;o<r;o+=4)n[o]+=t,n[o+2]-=t};uA.addGetterSetter(Gw.Image,"warmth",0,tA(),uA.afterSetFilter);const Q_=function(e){for(var t=this.threshold(),n=e.data,r=n.length,o=0;o<r;o+=4)0===t||(n[o]=n[o]>=t?255:0,n[o+1]=n[o+1]>=t?255:0,n[o+2]=n[o+2]>=t?255:0)};uA.addGetterSetter(Gw.Image,"threshold",0,tA,uA.afterSetFilter);const J_=function(e){return Array.isArray(e)&&0<e.length?e.map((function(e){return Gw.Filters[e]||o[e]})):[]};function ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tk(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?ek(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ek(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const nk=function(){var e,t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=tk({},n.loadableDesignState);return Array.isArray(r.finetunes)&&(r.finetunes=J_(r.finetunes)),r.filter&&(r.filter=X_(r.filter)),tk(tk({imgSrc:"string"==typeof n.source?n.source:(null===(e=n.source)||void 0===e?void 0:e.src)||"",finetunes:[],finetunesProps:{},filter:null,adjustments:{crop:{ratio:n[uE.CROP].ratio,ratioTitleKey:null!==(t=n[uE.CROP].ratioTitleKey)&&void 0!==t?t:n[uE.CROP].ratio,width:null,height:null,x:0,y:0},isFlippedX:!1,isFlippedY:!1,rotation:0},annotations:{},resize:{},shownImageDimensions:{}},r),{},{pointerCssIcon:mE.DEFAULT,canvasScale:1,zoom:{factor:1,x:null,y:null},isLoadingGlobally:!0,selectionsIds:[],tabId:n.defaultTabId||null,toolId:n.defaultToolId||null,feedback:{},pastDesignStates:[],futureDesignStates:[],isResetted:!0,haveNotSavedChanges:!1,latestColor:void 0})};const rk=function(e,t){var n=nk(t?e:NE);return{imgSrc:e.imgSrc||n.imgSrc,finetunes:e.finetunes||n.finetunes,finetunesProps:e.finetunesProps||n.finetunesProps,filter:e.filter||n.filter,adjustments:e.adjustments||n.adjustments,annotations:e.annotations||n.annotations,resize:e.resize||n.resize}};function ok(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ik(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?ok(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ok(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var ak="REDO";const sk=function(e){if(e.futureDesignStates&&0<e.futureDesignStates.length){var t=rk(e),n=BE(e.futureDesignStates),r=n[0],o=n.slice(1),i=[t].concat(jb(e.pastDesignStates||[]));return ik(ik(ik({},e),r),{},{selectionsIds:[],pastDesignStates:i,futureDesignStates:o,hasUndo:!0,hasRedo:0<o.length,haveNotSavedChanges:!0})}return e};function lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uk(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?lk(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lk(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var ck="RESET";const pk=function(e,t){var n=rk(uk(uk({},t.config),{},{imgSrc:e.imgSrc}),!0);return uk(uk(uk({},e),n),{},{selectionsIds:[],isResetted:!0,pastDesignStates:[],futureDesignStates:[],hasUndo:!1,hasRedo:!1,haveNotSavedChanges:!1})};function dk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fk(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?dk(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dk(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var hk="SET_FEEDBACK";const mk=function(e,t){return fk(fk({},e),{},{isLoadingGlobally:!1,feedback:t.feedback||{}})};function gk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vk(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?gk(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gk(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var yk="SHOW_LOADER";const bk=function(e){return vk(vk({},e),{},{isLoadingGlobally:!0})};function Ak(e,t){var n=(0,gv.forwardRef)(e);return n.displayName=t||e.name,n}var Ck=["color","stroke","size"],wk=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.stroke,i=void 0===o?"currentColor":o,a=e.size,s=void 0===a?14:a,l=yv(e,Ck);return gv.createElement("svg",Mb({ref:t,width:s,height:s,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),gv.createElement("path",{d:"M23.54 1.53186C23.54 0.96198 24.002 0.5 24.5719 0.5C25.1417 0.5 25.6037 0.961981 25.6037 1.53186V5.82108C25.6037 6.39096 25.1417 6.85294 24.5719 6.85294C24.002 6.85294 23.54 6.39096 23.54 5.82108V1.53186ZM23.54 43.1985C23.54 42.6287 24.002 42.1667 24.5719 42.1667C25.1417 42.1667 25.6037 42.6287 25.6037 43.1985V47.4877C25.6037 48.0576 25.1417 48.5196 24.5719 48.5196C24.002 48.5196 23.54 48.0576 23.54 47.4877V43.1985ZM47.4876 23.5397C48.0574 23.5397 48.5194 24.0017 48.5194 24.5716C48.5194 25.1415 48.0574 25.6034 47.4876 25.6034H43.1983C42.6285 25.6034 42.1665 25.1415 42.1665 24.5716C42.1665 24.0017 42.6285 23.5397 43.1984 23.5397H47.4876ZM5.8209 23.5397C6.39078 23.5397 6.85276 24.0017 6.85276 24.5716C6.85276 25.1415 6.39078 25.6034 5.82089 25.6034H1.53168C0.961798 25.6034 0.499817 25.1415 0.499817 24.5716C0.499817 24.0017 0.961797 23.5397 1.53168 23.5397H5.8209ZM41.6177 39.8976C42.0207 40.3006 42.0207 40.9539 41.6177 41.3569C41.2147 41.7599 40.5614 41.7599 40.1584 41.3569L37.1255 38.324C36.7225 37.921 36.7225 37.2677 37.1255 36.8647C37.5285 36.4617 38.1818 36.4617 38.5848 36.8647L41.6177 39.8976ZM12.1551 10.4347C12.558 10.8377 12.558 11.491 12.1551 11.894C11.7521 12.297 11.0988 12.297 10.6958 11.894L7.66285 8.86105C7.25989 8.45808 7.25989 7.80474 7.66286 7.40178C8.06582 6.99881 8.71916 6.99881 9.12213 7.40178L12.1551 10.4347ZM9.12179 41.617C8.71882 42.0199 8.06548 42.0199 7.66251 41.617C7.25955 41.214 7.25955 40.5607 7.66251 40.1577L10.6954 37.1248C11.0984 36.7218 11.7518 36.7218 12.1547 37.1248C12.5577 37.5277 12.5577 38.1811 12.1547 38.584L9.12179 41.617ZM38.5862 12.1549C38.1832 12.5579 37.5299 12.5579 37.1269 12.1549C36.724 11.752 36.724 11.0986 37.1269 10.6957L40.1599 7.66274C40.5628 7.25977 41.2162 7.25977 41.6191 7.66274C42.0221 8.06571 42.0221 8.71905 41.6191 9.12201L38.5862 12.1549ZM38.7161 24.5098C38.7161 32.3555 32.3559 38.7157 24.5102 38.7157C16.6645 38.7157 10.3043 32.3555 10.3043 24.5098C10.3043 16.6641 16.6645 10.3039 24.5102 10.3039C32.3559 10.3039 38.7161 16.6641 38.7161 24.5098ZM24.5102 36.652C31.2161 36.652 36.6524 31.2157 36.6524 24.5098C36.6524 17.8039 31.2161 12.3676 24.5102 12.3676C17.8043 12.3676 12.3681 17.8039 12.3681 24.5098C12.3681 31.2157 17.8043 36.652 24.5102 36.652Z",fill:r,stroke:i}))}));function xk(e,t){var n=(0,gv.forwardRef)(e);return n.displayName=t||e.name,n}var Ek={Default:"default",Localization:"localization"};function _k(e,t){var n=function(t){return"Sfx".concat(e).concat(t?"-".concat(t):"")},r=[];return t&&(Array.isArray(t)?r.push.apply(r,jb(t.filter((function(e){return"string"==typeof e})).map((function(e){return n(e)})))):"string"==typeof t&&r.push(n(t))),0===r.length&&r.push(n()),r.join(" ")}function kk(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.displayName="".concat(n),Object.assign(t,dv({},n,r))}),{})}var Sk=function(e){return Iy(["color:"," !important;"],e.theme.palette[cb.Error])},Dk="Label",Tk=eb.label.attrs({className:_k(Dk,"root")}).withConfig({componentId:"sc-16k2ql4-0"})((function(e){var t=e.error,n=void 0!==t&&t,r=e.htmlFor;return Iy(["display:flex;align-items:center;color:",";font-style:normal;font-weight:normal;font-size:12px;line-height:14px;cursor:",";",";"],e.theme.palette[cb.TextSecondary],r&&"pointer",n&&Sk)}));const Ok=kk({Label:Tk,Icon:eb.span.attrs({className:_k(Dk,"Icon")}).withConfig({componentId:"sc-16k2ql4-1"})((function(e){var t=e.error,n=void 0!==t&&t,r=e.theme.palette,o=e.$end;return Iy(["display:flex;",";color:",";",""],void 0!==o&&o?"margin-left: 4px":"margin-right: 4px",r[cb.IconsPrimary],n?"color: ".concat(r[cb.Error],";"):"")}))});var Pk=["children","iconStart","iconEnd","error","type"],Lk=xk((function(e,t){var n=e.children,r=e.iconStart,o=e.iconEnd,i=e.error,a=e.type,s=yv(e,Pk),l=function(e,t){return gv.createElement(Ok.Icon,{error:Boolean(i),$end:t},"function"==typeof e?e():e)};return gv.createElement(Ok.Label,Mb({ref:t,error:i,type:a},s),r&&l(r,!1),n,o&&l(o,!0))}));Lk.defaultProps={type:Ek.Default,error:!1};var Fk={type:Av().oneOf(ob(Ek)),iconStart:Av().oneOfType([Av().node,Av().func]),iconEnd:Av().oneOfType([Av().node,Av().func]),error:Av().bool,htmlFor:Av().string};Lk.propTypes=Fk;const jk=Lk;var Bk=eb.div.withConfig({componentId:"sc-dwg14p-0"})(["padding:8px 1px 0;width:fit-content;margin:0 auto;max-width:99.5%;max-height:92px;[data-phone='true'] &{padding:0;margin-top:8px;max-height:initial;}"]),Ik=eb.div.withConfig({componentId:"sc-dwg14p-1"})(["display:flex;align-items:center;overflow-x:auto;[data-phone='true'] &{background:",";}"],(function(e){return e.theme.palette["bg-primary"]})),Nk=eb.div.withConfig({componentId:"sc-dwg14p-2"})((function(e){var t=e.theme;return"\n    display: flex;\n    border-radius: 2px;\n    align-items: center;\n    justify-content: center;\n    padding: 8px;\n\n    &:not(:last-child) {\n      margin-right: 8px;\n    }\n\n    &,\n    * {\n      cursor: pointer;\n    }\n\n    &:hover {\n      background: ".concat(t.palette["bg-primary-active"],";\n    }\n\n    &[aria-selected='true'] {\n      background: ").concat(t.palette["bg-primary-active"],";\n\n      * {\n        color: ").concat(t.palette["accent-primary-active"],";\n      }\n    }\n  ")})),Mk=eb(jk).withConfig({componentId:"sc-dwg14p-3"})(["margin-left:6px;"]),Rk=eb.div.withConfig({componentId:"sc-dwg14p-4"})(["position:relative;width:100%;transition:max-height 100ms ease-in-out;display:flex;justify-content:center;align-items:center;",";"],(function(e){return"\n      max-height: ".concat(e.hasChildren?"40px":0,";\n      margin: ").concat(e.hasChildren?"0 auto 8px":0,";\n    ")})),zk=function(e){var t=e.id,n=e.label,r=e.onClick,o=e.Icon,i=e.isSelected,a=e.children,s=e.className;return gv.createElement(Nk,{className:s,onClick:function(e){r(t,e)},"aria-selected":i},gv.createElement(o,{size:16}),n&&gv.createElement(Mk,null,n),a)};zk.defaultProps={isSelected:!1,id:void 0,children:null,label:""};const Uk=(0,gv.memo)(zk);var $k=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_brightness-tool-button",id:uE.BRIGHTNESS,label:r("brightnessTool"),Icon:wk,onClick:t,isSelected:n})};$k.defaultProps={isSelected:!1};const Hk=$k;const qk=(0,gv.createContext)({});function Vk(){return(0,gv.useContext)(Wy)}const Gk={name:"Name",save:"Save",saveAs:"Save as",back:"Back",loading:"Loading...",resetOperations:"Reset/delete all operations",changesLoseConfirmation:"All changes will be lost",changesLoseConfirmationHint:"Are you sure you want to continue?",cancel:"Cancel",continue:"Continue",undoTitle:"Undo last operation",redoTitle:"Redo last operation",showImageTitle:"Show original image",zoomInTitle:"Zoom in",zoomOutTitle:"Zoom out",toggleZoomMenuTitle:"Toggle zoom menu",adjustTab:"Adjust",finetuneTab:"Finetune",filtersTab:"Filters",watermarkTab:"Watermark",annotateTab:"Draw",resize:"Resize",resizeTab:"Resize",invalidImageError:"Invalid image provided.",uploadImageError:"Error while uploading the image.",areNotImages:"are not images",isNotImage:"is not image",toBeUploaded:"to be uploaded",cropTool:"Crop",original:"Original",custom:"Custom",square:"Square",landscape:"Landscape",portrait:"Portrait",ellipse:"Ellipse",classicTv:"Classic TV",cinemascope:"Cinemascope",arrowTool:"Arrow",blurTool:"Blur",brightnessTool:"Brightness",contrastTool:"Contrast",ellipseTool:"Ellipse",unFlipX:"Un-Flip X",flipX:"Flip X",unFlipY:"Un-Flip Y",flipY:"Flip Y",hsvTool:"HSV",hue:"Hue",saturation:"Saturation",value:"Value",imageTool:"Image",importing:"Importing...",addImage:"+ Add image",lineTool:"Line",penTool:"Pen",polygonTool:"Polygon",sides:"Sides",rectangleTool:"Rectangle",cornerRadius:"Corner Radius",resizeWidthTitle:"Width in pixels",resizeHeightTitle:"Height in pixels",toggleRatioLockTitle:"Toggle ratio lock",reset:"Reset",resetSize:"Reset to original image size",rotateTool:"Rotate",textTool:"Text",textSpacings:"Text spacings",textAlignment:"Text alignment",fontFamily:"Font family",size:"Size",letterSpacing:"Letter Spacing",lineHeight:"Line height",warmthTool:"Warmth",addWatermark:"+ Add watermark",addWatermarkTitle:"Choose the watermark type",uploadWatermark:"Upload watermark",addWatermarkAsText:"Add as text",padding:"Padding",shadow:"Shadow",horizontal:"Horizontal",vertical:"Vertical",blur:"Blur",opacity:"Opacity",position:"Position",stroke:"Stroke",saveAsModalLabel:"Save the image as",extension:"Extension",nameIsRequired:"Name is required.",quality:"Quality",imageDimensionsHoverTitle:"Saved image size (width x height)",cropSizeLowerThanResizedWarning:"Note, the selected crop area is lower than the applied resize which might cause quality decrease",actualSize:"Actual size (100%)",fitSize:"Fit size"};var Wk=r(5108);function Zk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yk(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Zk(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Zk(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Xk={},Kk=Yk({},Gk),Qk="Error while loading translations from backend.",Jk=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en";return Object.assign(Kk,Xk[null==t?void 0:t.toLowerCase()]||{},e)},eS=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t,n){var r=new XMLHttpRequest;r.responseType="json",r.onload=function(){var e;200<=r.status&&300>r.status?t(r.response):(Wk.warn("Error in sending translation key to backend ".concat(null===(e=r.response)||void 0===e?void 0:e.hint,", ").concat(r.status)),n())},r.onerror=function(){var e;Wk.warn("Error in sending translation key to backend ".concat(null===(e=r.response)||void 0===e?void 0:e.hint,", ").concat(r.status)),n()},r.open("POST","https://neo.wordplex.io/api/import/request-translations?grid_uuid=".concat(sE)),r.send(JSON.stringify({grid_uuid:sE,translations_requests:e}))}))},tS=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"en",t=1<arguments.length?arguments[1]:void 0;return new Promise((function(n,r){var o=e.toLowerCase(),i=new XMLHttpRequest;i.responseType="json",i.onload=function(){if(200<=i.status&&300>i.status){(i.response||[]).forEach((function(e){Xk[o]=Yk(Yk({},Xk[o]),{},dv({},e.translation_key,e.translations[o]))}));var e=[];Object.keys(Gk).forEach((function(t){var n;t&&(null===(n=Xk[o])||void 0===n||!n[t])&&e.push({key:t,lang:o,default:Gk[t]})})),0<e.length&&eS(e),Jk(t,o),n(Kk)}else{var a,s,l;Wk.error("Status code: ".concat(i.status)),Wk.error((null===(a=i.response)||void 0===a?void 0:a.msg)||(null===(s=i.response)||void 0===s?void 0:s.msg)||(null===(l=i.response)||void 0===l?void 0:l.details)||Qk),r()}},i.onerror=function(){Wk.error("Status code ".concat(i.status,", error: ").concat(Qk)),r()},i.open("GET","https://i18n.ultrafast.io/api/export?grid=".concat(sE)),i.send()}))},nS=function(e){return Kk[e]||e||""};const rS=function(e,t){return dU[t.type]&&dU[t.type](e,t.payload)||e};function oS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function iS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?oS(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oS(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var aS=!0,sS=function(e){var t=e.children,n=e.config,r=void 0===n?{}:n,o=Nb(QS(rS,nk(r),r),2),i=o[0],a=o[1];(0,gv.useEffect)((function(){return aS=!0,function(){aS=!1}}),[]);var s=(0,gv.useCallback)((function(){aS&&a.apply(void 0,arguments)}),[a]);(0,gv.useEffect)((function(){Jk(r.translations,r.language)}),[r.useBackendTranslations,r.language,r.translations]);var l=Vk(),u=(0,gv.useMemo)((function(){return iS(iS({},i),{},{config:r,theme:l,dispatch:s,t:nS})}),[r,i]);return gv.createElement(qk.Provider,{value:u},t)};sS.defaultProps={config:{}};const lS=sS;const uS=function(e){var t=e.children,n=e.overridingValue;return gv.createElement(qk.Provider,{value:n},t)},cS=qk;const pS=function(){return(0,gv.useContext)(cS)};function dS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?dS(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dS(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const hS=function(e,t){var n=pS(),r=n.dispatch,o=n.finetunes,i=n.finetunesProps,a=(0,gv.useCallback)((function(t){r({type:OR,payload:{finetune:e,finetuneProps:t}})}),[]);return(0,gv.useEffect)((function(){o.includes(e)||a(fS(fS({},t),i))}),[]),(0,gv.useMemo)((function(){return[i,a]}),[i])};const mS=function(){var e=pS(),t=e.dispatch,n=e.filter,r=(0,gv.useCallback)((function(e){t({type:TE,payload:{filter:e}})}),[]);return(0,gv.useMemo)((function(){return[n,r]}),[n])};const gS=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return"".concat(e).concat(e?"-":"").concat(parseInt(Date.now()*Math.random(),10))};const vS=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;return function(){var r,o;clearTimeout(t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];var l=a[0],u=a.slice(1);t=setTimeout(e.bind.apply(e,[null,null!==(r=null==l||null===(o=l.target)||void 0===o?void 0:o.value)&&void 0!==r?r:l].concat(jb(u))),n)}};const yS=function(){var e,t,n=document.body,r=document.documentElement;return{topOffset:(null===(e=window)||void 0===e?void 0:e.pageYOffset)||r.scrollTop||n.scrollTop,leftOffset:(null===(t=window)||void 0===t?void 0:t.pageXOffset)||r.scrollLeft||n.scrollLeft}};const bS=function(e){if(!e)return null;var t=e.getBoundingClientRect(),n=document.body,r=yS(),o=r.topOffset,i=r.leftOffset,a=document.documentElement,s=a.clientTop||n.clientTop||0,l=a.clientLeft||n.clientLeft||0,u=t.top+o-s,c=t.left+i-l;return{top:Math.round(u),left:Math.round(c),width:t.width,height:t.height}};const AS=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length?arguments[2]:void 0;return Math.min(Math.max(t,+e),n||1e6)};const CS=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=e.parent,r=n.getStage(),o=r.attrs.zoomFactor,i=n.getRelativePointerPosition();return{offsetX:AS(i.x,0,t.width/(r.scaleX()/o))+n.attrs.xPadding,offsetY:AS(i.y,0,t.height/(r.scaleY()/o))+n.attrs.yPadding}};const wS=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length?arguments[2]:void 0,r={},o=n.parent.attrs;return r.x=Math.min(e.offsetX,t.startedX)-o.xPadding||0,r.y=Math.min(e.offsetY,t.startedY)-o.yPadding||0,r.width=e.offsetX-t.startedX,r.height=e.offsetY-t.startedY,r.startedX=t.startedX-o.xPadding||0,r.startedY=t.startedY-o.yPadding||0,r};var xS,ES=["width","height","startedX","startedY"];function _S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?_S(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_S(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var SS=(dv(xS={},uE.RECT,Gw.Rect),dv(xS,uE.ELLIPSE,Gw.Ellipse),dv(xS,uE.POLYGON,Gw.RegularPolygon),dv(xS,uE.LINE,Gw.Line),dv(xS,uE.IMAGE,Gw.Image),dv(xS,uE.TEXT,Gw.Text),dv(xS,uE.ARROW,Gw.Arrow),xS),DS=[uE.LINE,uE.ARROW],TS=[].concat(DS,[uE.ELLIPSE,uE.POLYGON]);const OS=function(e){var t,n,r;return new SS[e.name](kS(kS({},e),{},{opacity:null!==(t=e.opacity)&&void 0!==t?t:.7,x:null!==(n=e.x)&&void 0!==n?n:0,y:null!==(r=e.y)&&void 0!==r?r:0,width:Math.abs(e.width)||0,height:Math.abs(e.height)||0},DS.includes(e.name)?{stroke:e.stroke||"#000000"}:{}))};var PS=["id","x","y","points"],LS=["startedX","startedY","offsetX","offsetY","width","height"];function FS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?FS(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FS(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var BS={startedX:void 0,startedY:void 0,isOutOfCanvas:!1},IS={passive:!0},NS=null,MS=null,RS=null;const zS=function(e,t,n,r){var o=function(){return bS(e.content)},i=function(e){NS=OS(e),n.add(NS),e.name===uE.TEXT&&function(e){MS=OS(jS(jS({},e),{},{name:uE.RECT,fill:"",stroke:"#000000",strokeWidth:2,shadowColor:"#ffffff",shadowBlur:1,shadowOpacity:.7})),n.add(MS)}(e),RS=e},a=function(e,t){var n=function(e,t,n){var r=e.width,o=e.height,i=e.startedX,a=e.startedY,s=yv(e,ES),l=Math.abs(r),u=Math.abs(o),c=0>r,p=0>o;switch(t){case uE.RECT:n?(s.width=Math.sqrt(l*l+u*u),s.height=s.width,s.x-=c?s.width-l:0,s.y-=p?s.height-u:0):(s.width=l,s.height=u);break;case uE.ELLIPSE:n?(s.radiusX=Math.sqrt(l*l+u*u)/2,s.radiusY=s.radiusX,s.x-=c?2*s.radiusX-l:0,s.y-=p?2*s.radiusY-u:0):(s.radiusX=l/2,s.radiusY=u/2),s.offsetX=-s.radiusX,s.offsetY=-s.radiusY;break;case uE.POLYGON:s.radius=(l+u)/2,s.x-=c?2*s.radius-l:0,s.y-=p?2*s.radius-u:0,s.offsetX=-s.radius,s.offsetY=-s.radius;break;case uE.LINE:case uE.ARROW:s.x=i,s.y=a,s.points=[0,0],n?s.points.push(l>=u?r:0,u>l?o:0):s.points=[0,0,r,o];break;default:s.width=l,s.height=u}return s}(e,RS.name,t);MS&&MS.setAttrs(n),NS.setAttrs(n),RS=jS(jS({},RS),n)},s=function(e){var t=CS(n,o());a(wS(t,BS,n),e.shiftKey)},l=function(){n&&NS&&n.destroyChildren()},u=function(e){var r;if(!(1<(null===(r=e.evt.touches)||void 0===r?void 0:r.length))){var l=CS(n,o());BS.isOutOfCanvas&&(document.removeEventListener("mousemove",s,IS),document.removeEventListener("touchmove",s,IS),BS.isOutOfCanvas=!1);var u=wS(l,BS,n);if(NS)a(u,e.evt.shiftKey);else{t.id,t.x,t.y,t.points;var c=yv(t,PS);i(jS(jS({},c),u))}}},c=function(){BS.isOutOfCanvas||(document.addEventListener("mousemove",s,IS),document.addEventListener("touchmove",s,IS),BS.isOutOfCanvas=!0)},p=function(){var n,o;if(l(),RS&&(RS.width>=1&&RS.height>=1||RS.radiusX>=1&&RS.radiusY>=1||null!==(n=RS.points)&&void 0!==n&&n[2]||null!==(o=RS.points)&&void 0!==o&&o[3]||RS.radius>=1)){var i=RS,a=(i.startedX,i.startedY,i.offsetX,i.offsetY,i.width),d=i.height,f=yv(i,LS);TS.includes(t.name)||(f.width=a,f.height=d),r(f,!0)}NS=null,MS=null,RS=null,e.off("mousemove touchmove",u),e.off("mouseleave touchcancel",c),document.removeEventListener("mouseup",p,IS),document.removeEventListener("touchend",p,IS),document.removeEventListener("mouseleave",p,IS),document.removeEventListener("touchcancel",p,IS),document.removeEventListener("mousemove",s,IS),document.removeEventListener("touchmove",s,IS),BS.isOutOfCanvas=!1},d=function(t){var r;if(t.evt.preventDefault(),!(t.target.attrs.draggable||1<(null===(r=t.evt.touches)||void 0===r?void 0:r.length))){l();var i=CS(n,o());BS.startedX=i.offsetX,BS.startedY=i.offsetY,BS.isOutOfCanvas=!1,e.on("mousemove touchmove",u),e.on("mouseleave touchcancel",c),document.addEventListener("mouseup",p,IS),document.addEventListener("touchend",p,IS),document.addEventListener("mouseleave",p,IS),document.addEventListener("touchcancel",p,IS)}};return e.on("mousedown touchstart",d),function(){l(),e.off("mousedown touchstart",d)}};const US=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];return(0,gv.useCallback)(vS(e,t),n)};var $S=["fonts","onFontChange"],HS=["x","y","width","height","radius","radiusX","radiusY","points","image","text","scaleX","scaleY","rotation"],qS=["shouldSave","neverSave"];function VS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?VS(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):VS(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const WS=function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],r=pS(),o=r.dispatch,i=r.previewGroup,a=r.annotations,s=r.selectionsIds,l=void 0===s?[]:s,u=r.config,c=GS(GS({},u.annotationsCommon),u[(null===(e=a[l[0]])||void 0===e?void 0:e.name)||t.name]),p=(0,gv.useState)((function(){return GS(GS(GS({},c),t),a[l[0]])})),d=Nb(p,2),f=d[0],h=d[1],m=(0,gv.useRef)(),g=null==i?void 0:i.getStage(),v=(0,gv.useCallback)((function(e){e.fonts,e.onFontChange;var n=yv(e,$S);o({type:BR,payload:n}),n.id&&t.name!==uE.PEN&&vS((function(){o({type:HR,payload:{annotationId:n.id}})}),30)()}),[]),y=US((function(e){h((function(t){return GS(GS({},t),{},{shouldSave:!1,neverSave:!1},"function"==typeof e?e(t):e)}))}),15),b=(0,gv.useCallback)((function(e,n){if(e.name===n){e.x,e.y,e.width,e.height,e.radius,e.radiusX,e.radiusY,e.points,e.image,e.text,e.scaleX,e.scaleY,e.rotation;var r=yv(e,HS);return GS(GS(GS({},c),t),r)}return GS(GS({},c),t)}),[]),A=(0,gv.useCallback)((function(e){h((function(n){return GS(GS(GS({},b(n,e.name||t.name)),e),{},{id:e.id||gS(e.name||n.name),shouldSave:!0,neverSave:!1})}))}),[]);return(0,gv.useEffect)((function(){var e=f.shouldSave,t=f.neverSave,n=yv(f,qS),r=1===l.length&&a[l[0]];!t&&(e||r)&&v(GS(GS({},n),{},{id:e?n.id:r.id}))}),[f]),(0,gv.useEffect)((function(){setTimeout((function(){1===l.length?(m.current=f,h(GS(GS({},a[l[0]]),{},{neverSave:!0}))):m.current&&(h(GS(GS({},m.current),{},{neverSave:!0})),m.current=null)}))}),[l,a]),(0,gv.useEffect)((function(){var e=null;if(g&&n){var r=b(f,t.name);e=zS(g,GS(GS({},r),{},{name:t.name}),i,A)}return function(){e&&e()}}),[g,f,i]),(0,gv.useMemo)((function(){return[f,y,A]}),[f,y,A])};var ZS=["isDesignState"];function YS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XS(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?YS(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YS(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var KS;const QS=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=XS(XS({},t),{},{pastDesignStates:[],futureDesignStates:[],hasRedo:!1,hasUndo:!1});return(0,gv.useReducer)((function(t,o){var i=e(t,o)||r;if([kR,ak,ck].includes(o.type))return i;if(i.isDesignState){var a=rk(t),s=(i.isDesignState,XS(XS({},yv(i,ZS)),{},{pastDesignStates:[a].concat(jb(t.pastDesignStates)),hasUndo:!0,hasRedo:!1,futureDesignStates:[],isResetted:!1,haveNotSavedChanges:!0}));return KS=setTimeout((function(){clearTimeout(KS),"function"==typeof n.onModify&&n.onModify(s)})),s}return i}),r)};const JS=function(){var e=pS(),t=e.tabId,n=e.dispatch,r=(0,gv.useMemo)((function(){return t!==lE.ANNOTATE&&t!==lE.WATERMARK}),[t]),o=(0,gv.useCallback)((function(e){n({type:BR,payload:e})}),[]),i=(0,gv.useCallback)((function(e){o({id:e.target.id(),x:e.target.x(),y:e.target.y()})}),[]),a=(0,gv.useCallback)((function(e){var t={id:e.target.id(),rotation:e.target.rotation(),x:e.target.x(),y:e.target.y()};return e.target.name()===uE.TEXT?(t.width=e.target.width()*e.target.scaleX(),t.height=e.target.height()*e.target.scaleY(),t.scaleX=1,t.scaleY=1):(t.scaleX=e.target.scaleX(),t.scaleY=e.target.scaleY()),t}),[]),s=(0,gv.useCallback)((function(e){o(a(e))}),[]),l=(0,gv.useCallback)((function(e){e.target.name()===uE.TEXT&&e.target.setAttrs(a(e))})),u=(0,gv.useCallback)((function(e){if(e.target.id()!==aE){var t=e.evt.ctrlKey||e.evt.shiftKey||e.evt.metaKey;n({type:HR,payload:{annotationId:e.target.id(),multiple:t}}),n({type:tz,payload:{toolId:e.target.name(),keepSelections:t}})}}),[]);return(0,gv.useMemo)((function(){return r?{}:{onTransform:l,onTransformEnd:s,onDragEnd:i,onClick:u,onTap:u}}),[r])};const eD=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:function(){},t=(0,gv.useRef)(e),n=(0,gv.useRef)(),r=(0,gv.useCallback)((function(e){e.forEach((function(e){if(e.contentRect){var n=e.contentRect,r=n.width,o=n.height;t.current({entry:e,width:r,height:o})}}))}),[]),o=(0,gv.useCallback)((function(e){t.current=e}),[]),i=(0,gv.useCallback)((function(){n.current||(n.current=new ResizeObserver(r))}),[]),a=(0,gv.useCallback)((function(e,r){e&&(!n.current&&i(),n.current.observe(e),r&&(t.current=r))}),[]),s=(0,gv.useCallback)((function(e,r){n.current&&e&&(n.current.unobserve(e),r&&(t.current=r))}),[]),l=(0,gv.useCallback)((function(){n.current&&n.current.disconnect()}),[]);return(0,gv.useEffect)((function(){return i(),l}),[]),(0,gv.useMemo)((function(){return[a,s,o]}),[])};const tD=function(){return window.matchMedia("(max-width: 438px)").matches};const nD=function(e,t,n,r,o){return(e-t)*(o-r)/(n-t)+r};function rD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oD(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?rD(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rD(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const iD=function(e,t,n){var r,o;return oD(oD(oD({},e.x||0===e.x?{x:Math.round(nD(e.x,0,t.width,0,n.width))}:{}),e.y||0===e.y?{y:Math.round(nD(e.y,0,t.height,0,n.height))}:{}),{},{width:Math.round(nD(null!==(r=e.width)&&void 0!==r?r:t.width,0,t.width,0,n.width)),height:Math.round(nD(null!==(o=e.height)&&void 0!==o?o:t.height,0,t.height,0,n.height))})};const aD=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=Math.abs(n),o=Math.round(n),i=90<r,a=i?r-90:r,s=i?t:e,l=i?e:t,u=a*Math.PI/180,c=Math.abs(Math.sin(u)),p=Math.abs(Math.cos(u));return{width:Math.round(s*p)+Math.round(l*c),height:Math.round(s*c)+Math.round(l*p),offsetTop:0<=o&&90>=o?0:0>o&&-90<o||90<o?s*c:l*p+s*c,offsetLeft:0>=o&&-90<=o?0:90<o?s*p+l*c:l*c}};const sD=function(e){if(e instanceof HTMLImageElement){var t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),t.toDataURL()}return""};const lD=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0,n=t,r=e;if(!n&&fE.some((function(t){return e.lastIndexOf(".".concat(t))===e.length-".".concat(t).length}))){var o,i=null===(o=e.slice(e.lastIndexOf(".")+1))||void 0===o?void 0:o.toLowerCase();n=i&&dE.includes(i)?i:hE,r=e.slice(0,e.lastIndexOf("."))}return n=n||hE,{fullName:"".concat(r,".").concat(n),name:r,extension:n}};var uD=function(e,t){return e<<t|e>>>32-t},cD=function(e){var t,n="";for(t=7;0<=t;t--)n+=(15&e>>>4*t).toString(16);return n};const pD=function(e){var t,n,r,o,i,a,s,l,u,c=e,p=Array(80),d=1732584193,f=4023233417,h=2562383102,m=271733878,g=3285377520;c=function(e){for(var t,n=e.replace(/\r\n/g,"\n"),r="",o=0;o<n.length;o++)128>(t=n.charCodeAt(o))?r+=String.fromCharCode(t):127<t&&2048>t?(r+=String.fromCharCode(192|t>>6),r+=String.fromCharCode(128|63&t)):(r+=String.fromCharCode(224|t>>12),r+=String.fromCharCode(128|63&t>>6),r+=String.fromCharCode(128|63&t));return r}(c);var v=c.length,y=[];for(n=0;n<v-3;n+=4)r=c.charCodeAt(n)<<24|c.charCodeAt(n+1)<<16|c.charCodeAt(n+2)<<8|c.charCodeAt(n+3),y.push(r);switch(v%4){case 0:n=2147483648;break;case 1:n=8388608|c.charCodeAt(v-1)<<24;break;case 2:n=c.charCodeAt(v-2)<<24|c.charCodeAt(v-1)<<16|32768;break;case 3:n=c.charCodeAt(v-3)<<24|c.charCodeAt(v-2)<<16|c.charCodeAt(v-1)<<8|128}for(y.push(n);14!=y.length%16;)y.push(0);for(y.push(v>>>29),y.push(4294967295&v<<3),t=0;t<y.length;t+=16){for(n=0;16>n;n++)p[n]=y[t+n];for(n=16;79>=n;n++)p[n]=uD(p[n-3]^p[n-8]^p[n-14]^p[n-16],1);for(o=d,i=f,a=h,s=m,l=g,n=0;19>=n;n++)u=4294967295&uD(o,5)+(i&a|~i&s)+l+p[n]+1518500249,l=s,s=a,a=uD(i,30),i=o,o=u;for(n=20;39>=n;n++)u=4294967295&uD(o,5)+(i^a^s)+l+p[n]+1859775393,l=s,s=a,a=uD(i,30),i=o,o=u;for(n=40;59>=n;n++)u=4294967295&uD(o,5)+(i&a|i&s|a&s)+l+p[n]+2400959708,l=s,s=a,a=uD(i,30),i=o,o=u;for(n=60;79>=n;n++)u=4294967295&uD(o,5)+(i^a^s)+l+p[n]+3395469782,l=s,s=a,a=uD(i,30),i=o,o=u;d=4294967295&d+o,f=4294967295&f+i,h=4294967295&h+a,m=4294967295&m+s,g=4294967295&g+l}return(u=cD(d)+cD(f)+cD(h)+cD(m)+cD(g)).toLowerCase()};var dD=function(e,t,n,r){var o=function(e){return btoa(e).replace(/=*$/g,"")}(e),i=function(e,t){return pD(e).slice(0,t)}(t+o+n,r);return[i?"ci_seal=".concat(i):"",o?"ci_eqs=".concat(o):""].filter((function(e){return e})).join("&")};const fD=function(e,t,n){var r=t||{},o=r.salt,i=r.charCount,a=r.includeParams,s=void 0===a?[]:a,l=!s||0===(null==s?void 0:s.length),u="",c=[],p=[];return e.split("&").forEach((function(e){var t=Nb(e.split("="),1)[0];-1<(null==s?void 0:s.indexOf(t))||l?c.push(e):p.push(e)})),0<p.length&&(u=p.join("&")),[dD(c.join("&"),n,o,i),u].filter((function(e){return e})).join("&")};const hD=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5;return e&&+parseFloat(e).toFixed(t)};var mD=["width","height","x","y","opacity","scaleX","scaleY"];function gD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vD(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?gD(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gD(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var yD={Brighten:{cloudimage:{name:"bright",min:-100,max:100},internal:{propName:"brightness",min:-1,max:1}},Contrast:{cloudimage:{name:"contrast",min:-100,max:100},internal:{propName:"contrast",min:-100,max:100}},Blur:{cloudimage:{name:"blur",min:0,max:100},internal:{propName:"blurRadius",min:0,max:100}}};const bD=function(e,t,n,r){var o=e.token,i=e.domain,a=e.dontPrefixUrl,s=e.version,l=e.imageSealing,u=e.secureProtocol,c=t.imgSrc,p=t.adjustments,d=p.crop,f=p.rotation,h=p.isFlippedX,m=p.isFlippedY,g=t.resize,v=void 0===g?{}:g,y=t.finetunes,b=void 0===y?{}:y,A=t.finetunesProps,C=t.annotations,w=void 0===C?{}:C,x=a?"":"http".concat(u?"s":"","://").concat(o,".").concat(i.replace(/^(https?:\/\/)?(www\.)?|^\.|\/$/g,""),"/").concat(s?"".concat(s,"/"):""),E=[];d.width&&d.height&&(d.x||0===d.x)&&(d.y||0===d.y)&&E.push(function(e,t,n){var r=iD(e,t,n),o=r.x,i=r.y,a=r.width,s=r.height;return"tl_px=".concat(o,",").concat(i,"&br_px=").concat(o+a,",").concat(i+s).concat(e.ratio===yE?"&radius=".concat(Math.max(a,s),"&force_format=png"):"")}(d,n,r)),(v.width||v.height)&&E.push(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height;return"w=".concat(t,"&h=").concat(n)}(vD(vD({},r),v))),f&&E.push(function(e){return"r=".concat(-e)}(f)),(h||m)&&E.push(function(e,t){return"flip=".concat(e?"x":"").concat(t?"y":"")}(h,m)),0<b.length&&A&&E.push(function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=[];return e.forEach((function(e){var r=e.name&&yD[e.name];if(r){var o=hD(nD(t[r.internal.propName],r.internal.min,r.internal.max,r.cloudimage.min,r.cloudimage.max),2);n.push("".concat(r.cloudimage.name,"=").concat(o))}})),n.join("&")}(b,A)),w.watermark&&E.push(function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=1<arguments.length?arguments[1]:void 0,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=t.width,i=t.height,a=t.x,s=t.y,l=t.opacity,u=t.scaleX,c=void 0===u?1:u,p=t.scaleY,d=void 0===p?1:p,f=yv(t,mD),h=n.width*n.scaledBy,m=n.height*n.scaledBy,g="wat=1&wat_gravity=absolute&wat_opacity=".concat(l,"&wat_pos=").concat(Math.floor((a-(r.x||0))/h*100,2),"p,").concat(Math.floor((s-(r.y||0))/m*100,2),"p");if(t.name===uE.TEXT)return"".concat(g,"&wat_text=").concat(f.text.replaceAll("\n",""),"&wat_font=").concat(f.fontFamily,"&wat_color=").concat(f.fill.replace("#",""),"&wat_fontsize=").concat(f.fontSize,"max");var v=(null===(e=f.image)||void 0===e?void 0:e.src)||f.image,y=!v.startsWith("blob:")&&v;return"".concat(g,"&wat_scale=").concat(hD(o*c/h*100,2),"p,").concat(hD(i*d/m*100,2),"p").concat(y?"&wat_url=".concat(encodeURIComponent(y)):"")}(w.watermark,n,d)),E.push("ci_url_encoded=1");var _=E.join("&");l.enable&&(_=fD(_,l,c)),_=_.replaceAll(" ","+");var k=a&&-1!==c.indexOf("?")?"&":"?";return"".concat(x).concat(a?c:encodeURIComponent(c)).concat(_?"".concat(k).concat(_.replace(/&$/,"")):"")};var AD=["filter"];function CD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wD(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?CD(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):CD(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const xD=function(){var e=pS(),t=e.dispatch,n=e.designLayer,r=e.shownImageDimensions,o=e.originalImage,i=e.adjustments,a=i.crop,s=i.rotation,l=void 0===s?0:s,u=i.isFlippedX,c=i.isFlippedY,p=e.config,d=p.savingPixelRatio,f=p.previewPixelRatio,h=p.forceToPngInEllipticalCrop,m=p.defaultSavedImageType,g=p.useCloudimage,v=p.cloudimage;return g?function(){var t,n,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},s=rk(e),l=(s.filter,yv(s,AD)),u=bD(v,l,r,o),c=iD({x:a.x,y:a.y,width:a.width,height:a.height},r,o),p={cloudimageUrl:u,width:(null==i||null===(t=i.size)||void 0===t?void 0:t.width)||c.width,height:(null==i||null===(n=i.size)||void 0===n?void 0:n.height)||c.height};return{imageData:p,designState:l}}:function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},s=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],p=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2];Gw.pixelRatio=s||d;var g=n.attrs,v=g.clipWidth,y=g.clipHeight,b=g.clipX,A=g.clipY;n.setAttr("isSaving",!0);var C=n.getStage().clone({width:o.width,height:o.height,scaleX:u?-1:1,scaleY:c?-1:1}),w=Nb(C.children,1),x=w[0];C.children[1].destroy();var E=C.findOne("#".concat(oE));E.cache();var _={x:C.width()/r.width,y:C.height()/r.height};x.setAttrs({rotation:0,offsetX:0,offsetY:0,x:0,y:0,scaleX:_.x,scaleY:_.y});var k=wD(wD({},(!i.name||!i.extension)&&lD(o.name,h&&a.ratio===yE?"png":dE.includes(null==m?void 0:m.toLowerCase())&&m)),i),S=k.name,D=k.extension,T=k.quality,O=void 0===T?92:T,P=k.size,L=void 0===P?{}:P,F=["jpeg","jpg","webp"].includes(D),j=iD({x:a.x||b,y:a.y||A,width:a.width||v,height:a.height||y},r,C.attrs),B=aD(j.width,j.height,l);if(C.setAttrs({offsetX:j.width/2+j.x,offsetY:j.height/2+j.y,width:B.width,height:B.height,x:B.width/2,y:B.height/2,rotation:l}),L.width){var I=(u?-1:1)*(L.width/C.width());C.setAttrs({scaleX:I,width:L.width,x:C.x()*Math.abs(I)})}if(L.height){var N=(c?-1:1)*(L.height/C.height());C.setAttrs({scaleY:N,height:L.height,y:C.y()*Math.abs(N)})}var M=wD({mimeType:"image/".concat("jpg"===D?"jpeg":D)},F?{quality:O}:{}),R=C.toCanvas(M),z=C.toDataURL(M),U=wD(wD({},rk(e)),{},{shownImageDimensions:{width:e.shownImageDimensions.width,height:e.shownImageDimensions.height,scaledBy:e.shownImageDimensions.scaledBy}});U.filter&&(U.filter=U.filter.name),U.finetunes=U.finetunes.map((function(e){return e.name})),Object.keys(U.annotations).forEach((function(e){var t,n=U.annotations[e],r=n.name===uE.IMAGE&&(null===(t=n.image)||void 0===t?void 0:t.src);r&&r.startsWith("blob:")?U.annotations[e].image=sD(n.image):n.image instanceof HTMLImageElement&&(U.annotations[e].image=r)}));var $=wD({fullName:"".concat(S,".").concat(D),name:S,extension:D,mimeType:"image/".concat(D),imageCanvas:R,imageBase64:z,width:L.width||j.width,height:L.height||j.height},F?{quality:O}:{});n.setAttr("isSaving",!1),t({type:Jz}),E.clearCache(),Gw.pixelRatio=f;var H=function(){t({type:FE})};return p||H(),{imageData:$,designState:U,hideLoadingSpinner:H}}};function ED(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function _D(e,t){return gv.useMemo((function(){return null==e&&null==t?null:function(n){ED(e,n),ED(t,n)}}),[e,t])}function kD(e,t){return e-t}function SD(e,t,n){return 100*(e-t)/(n-t)}function DD(e,t,n){var r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+Number.parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function TD(e){var t=e.values,n=e.newValue,r=e.index,o=t.slice();return o[r]=n,o.sort(kD)}function OD(e){return e&&e.ownerDocument||document}function PD(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function LD(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}var FD={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}};function jD(e){var t,n=e.sliderRef,r=e.activeIndex,o=e.setActive,i=OD(n.current);n.current.contains(i.activeElement)&&Number(i.activeElement.getAttribute("data-index"))===r||(null===(t=n.current.querySelector('[type="range"][data-index="'.concat(r,'"]')))||void 0===t||t.focus());o&&o(r)}const BD="undefined"!=typeof window?gv.useLayoutEffect:gv.useEffect;function ID(e){var t=gv.useRef(e);return BD((function(){t.current=e})),gv.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}var ND={Auto:"auto",On:"on",Off:"off"},MD="Slider",RD=eb.span.attrs({className:_k(MD,"root")}).withConfig({componentId:"sc-jjink6-0"})((function(e){var t=e.theme,n=e.disabled;return Iy(["display:inline-block;border-radius:2px;position:relative;cursor:pointer;touch-action:none;color:",";height:4px;width:100%;padding:12px 0;"],void 0!==n&&n?t.palette[cb.AccentPrimaryDisabled]:t.palette[cb.BorderActiveBottom])})),zD=eb.span.attrs({className:_k(MD,"rail")}).withConfig({componentId:"sc-jjink6-1"})(["display:block;position:absolute;border-radius:inherit;background-color:currentColor;opacity:0.38;width:100%;height:inherit;top:50%;transform:translateY(-50%);"]),UD=eb.span.attrs({className:_k(MD,"Track")}).withConfig({componentId:"sc-jjink6-2"})(["display:block;position:absolute;border-radius:inherit;border:1px solid currentColor;background-color:currentColor;height:inherit;top:50%;transform:translateY(-50%);"]),$D=eb.span.attrs({className:_k(MD,"thumb")}).withConfig({componentId:"sc-jjink6-3"})(["position:absolute;width:15px;height:15px;box-sizing:border-box;border-radius:50%;outline:0;background-color:currentColor;display:flex;align-items:center;justify-content:center;top:50%;transform:translate(-50%,-50%);& > input{border:0px;clip:rect(0px,0px,0px,0px);height:100%;margin:-1px;overflow:hidden;padding:0px;position:absolute;white-space:nowrap;width:100%;direction:ltr;}&::before{position:absolute;content:'';border-radius:inherit;width:100%;height:100%;box-shadow:0px 3px 1px -2px rgb(0 0 0 / 20%),0px 2px 2px 0px rgb(0 0 0 / 14%),0px 1px 5px 0px rgb(0 0 0 / 12%);}&::after{position:absolute;content:'';border-radius:50%;width:42px;height:42px;top:50%;left:50%;transform:translate(-50%,-50%);}"]),HD=eb.span.attrs({className:_k(MD,"label")}).withConfig({componentId:"sc-jjink6-4"})((function(e){var t=e.theme,n=e.open,r=void 0!==n&&n,o=e.disabled;return Iy(["display:flex;align-items:center;justify-content:center;padding:6px 6px;border-radius:2px;position:absolute;top:-10px;font-size:10px;z-index:1;white-space:nowrap;transition:transform 150ms cubic-bezier(0.4,0,0.2,1) 0ms;transform-origin:bottom center;transform:",";background-color:",";color:#fff;cursor:pointer;&::before{position:absolute;content:'';background-color:inherit;width:8px;height:8px;bottom:0px;left:50%;transform:translate(-50%,50%) rotate(45deg);}"],r?"translateY(-100%) scale(1)":"translateY(-100%) scale(0)",void 0!==o&&o?t.palette[cb.AccentPrimaryDisabled]:t.palette[cb.LinkHover])}));const qD=kk({Slider:RD,Rail:zD,Track:UD,Thumb:$D,SliderAnnotation:eb.div.attrs({className:_k(MD,"annotation")}).withConfig({componentId:"sc-jjink6-5"})((function(e){return Iy(["display:flex;justify-content:space-between;margin-top:12px;color:",";"],e.theme.palette[cb.TextSecondary])})),LabelTooltip:HD});var VD=["defaultValue","disabled","disableSwap","hideTrack","hideAnnotation","value","min","max","onChange","onMouseDown","onMouseUp","step","labelTooltip","annotation","components","componentsProps"];function GD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GD(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZD="data-index",YD=xk((function(e,t){var n=e.defaultValue,r=e.disabled,o=void 0!==r&&r,i=e.disableSwap,a=void 0!==i&&i,s=e.hideTrack,l=void 0!==s&&s,u=e.hideAnnotation,c=void 0!==u&&u,p=e.value,d=e.min,f=void 0===d?0:d,h=e.max,m=void 0===h?100:h,g=e.onChange,v=e.onMouseDown,y=e.onMouseUp,b=e.step,A=void 0===b?1:b,C=e.labelTooltip,w=void 0===C?ND.Off:C,x=e.annotation,E=void 0===x?"":x,_=e.components,k=void 0===_?{}:_,S=e.componentsProps,D=void 0===S?{}:S,T=yv(e,VD);return function(){var e=Nb((0,gv.useState)(-1),2),r=e[0],i=e[1],s=Nb((0,gv.useState)(-1),2),u=s[0],d=s[1],h=Nb((0,gv.useState)(!1),2),b=h[0],C=h[1],x=(0,gv.useRef)(0),_=(0,gv.useRef)(0),S=(0,gv.useRef)(),O=(0,gv.useRef)(null),P=_D(t,O),L=function(e){var t=e.controlled,n=e.default,r=gv.useRef(void 0!==t).current,o=Nb(gv.useState(n),2),i=o[0],a=o[1];return[r?t:i,gv.useCallback((function(e){r||a(e)}),[])]}({controlled:p,default:null!=n?n:f}),F=Nb(L,2),j=F[0],B=F[1],I="horizontal",N=Array.isArray(j),M=N?j.slice().sort(kD):[j],R=function(e){var t=e.finger,n=e.move,r=void 0!==n&&n,o=e.values,i=O.current;if(i){var s,l,u=i.getBoundingClientRect(),c=u.width,p=u.height,d=u.bottom,h=u.left;s=0===I.indexOf("vertical")?(d-t.y)/p:(t.x-h)/c,I.includes("-reverse")&&(s=1-s),l=function(e,t,n){return(n-t)*e+t}(s,f,m),A&&(l=DD(l,A,f)),l=PD(l,f,m);var g=0;if(N){g=r?_.current:function(e,t){return e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null).index}(o,l),a&&(l=PD(l,o[g-1]||-1/0,o[g+1]||1/0));var v=l;l=TD({values:o,newValue:l,index:g}),a&&r||!Array.isArray(l)||(g=l.indexOf(v),_.current=g)}return{newValue:l,activeIndex:g}}return null},z=function(e,t,n){g&&g(e,t,n)},U=function(e){var t=Number(e.currentTarget.getAttribute(ZD)),n=e.target.valueAsNumber;if(N){a&&(n=PD(n,M[t-1]||-1/0,M[t+1]||1/0));var r=n;n=TD({values:M,newValue:n,index:t});var o=t;a||(o=n.indexOf(r)),jD({sliderRef:O,activeIndex:o})}B(n),z(e,n,t),y&&y(e)},$=ID((function(e){var t=LD(e,S);if(t)if(x.current+=1,"mousemove"!==e.type||0!==e.buttons){var n=R({finger:t,move:!0,values:M}),r=n.newValue,o=n.activeIndex;jD({sliderRef:O,activeIndex:o,setActive:i}),B(r),!b&&x.current>2&&C(!0),z(e,r,o)}else H(e)})),H=ID((function(e){var t=LD(e,S);C(!1),t&&(i(-1),"touchend"===e.type&&d(-1),y&&y(e),S.current=void 0,Z())})),q=ID((function(e){var t=e.changedTouches[0];null!=t&&(S.current=t.identifier);var n=LD(e,S),r=R({finger:n,values:M}),o=r.newValue,a=r.activeIndex;jD({sliderRef:O,activeIndex:a,setActive:i}),B(o),z(e,o,a),x.current=0;var s=OD(O.current);s.addEventListener("touchmove",$),s.addEventListener("touchend",H)})),V=ID((function(e){var t=Number(e.currentTarget.getAttribute(ZD));d(t)})),G=ID((function(){d(-1)})),W=ID((function(e){if(o)e.preventDefault();else{if(v&&v(e),0!==e.button)return;e.preventDefault();var t=LD(e,S),n=R({finger:t,values:M}),r=n.newValue,a=n.activeIndex;jD({sliderRef:O,activeIndex:a,setActive:i}),B(r),z(e,r,a),x.current=0;var s=OD(O.current);s.addEventListener("mousemove",$),s.addEventListener("mouseup",H)}})),Z=(0,gv.useCallback)((function(){var e=OD(O.current);e.removeEventListener("mousemove",$),e.removeEventListener("mouseup",H),e.removeEventListener("touchmove",$),e.removeEventListener("touchend",H)}),[H,$]);(0,gv.useEffect)((function(){if(O.current)return function(){Z()}}),[Z,q]),(0,gv.useEffect)((function(){o&&Z()}),[o,Z]),o&&-1!==r&&i(-1);var Y=SD(N?M[0]:f,f,m),X=SD(M[M.length-1],f,m)-Y,K=WD(WD({},FD[I].offset(Y)),FD[I].leap(X)),Q=D.rail,J="function"==typeof k.Rail?gv.createElement(k.Rail,Mb({},Q,{style:WD({},null==Q?void 0:Q.style)})):gv.createElement(qD.Rail,Mb({},Q,{style:WD({},null==Q?void 0:Q.style)})),ee=D.track,te=!l&&("function"==typeof k.Track?gv.createElement(k.Track,Mb({},ee,{style:WD(WD({},K),null==ee?void 0:ee.style)})):gv.createElement(qD.Track,Mb({},ee,{style:WD(WD({},K),null==ee?void 0:ee.style)}))),ne=D.thumb,re=k.Thumb||qD.Thumb,oe=k.LabelTooltip||qD.LabelTooltip,ie=D.labelTooltip,ae=E?" ".concat(E):"";return gv.createElement(qD.Slider,Mb({ref:P,disabled:o,onTouchStart:q,onMouseDown:W},T),J,te,M.map((function(e,t){var n=SD(e,f,m),i=FD[I].offset(n);return gv.createElement(gv.Fragment,{key:t},gv.createElement(re,Mb({"data-index":t,onMouseOver:V,onMouseLeave:G},ne,{style:WD(WD({},i),{},{pointerEvents:a&&r!==t?"none":void 0},null==ne?void 0:ne.style)}),gv.createElement("input",{"data-index":t,type:"range",min:f,max:m,value:M[t],step:A,disabled:o,onChange:U}),gv.createElement(oe,{open:u===t||r===t||"on"===w,disabled:o,style:WD({},null==ie?void 0:ie.style)},M[t],ae)))})),!c&&gv.createElement(qD.SliderAnnotation,null,gv.createElement("span",null,f,ae),gv.createElement("span",null,m,ae)))}()}));YD.defaultProps={annotation:"MB",min:0,max:100,step:1,labelTooltip:ND.Off},YD.propTypes={defaultValue:Av().oneOfType([Av().array,Av().number]),value:Av().oneOfType([Av().array,Av().number]),min:Av().number,max:Av().number,onChange:Av().func,onMouseDown:Av().func,onMouseUp:Av().func,step:Av().number,annotation:Av().string,disabled:Av().bool,disableSwap:Av().bool,hideTrack:Av().bool,hideAnnotation:Av().bool,labelTooltip:Av().oneOf(ob(ND)),components:Av().shape({Rail:Av().elementType,Track:Av().elementType,Thumb:Av().elementType,LabelTooltip:Av().elementType}),componentsProps:Av().object};const XD=YD;var KD=eb(XD).withConfig({componentId:"sc-1wort0h-0"})(["width:",";max-width:",";user-select:none;margin-bottom:24px;.SfxSlider-annotation{font-size:13px;line-height:16px;}"],(function(e){return e.width||"100px"}),(function(e){return e.width||"100px"})),QD=["onChange"];const JD=function(e){var t=e.onChange,n=yv(e,QD);return gv.createElement(KD,Mb({annotation:"",onChange:function(e,n){return t?t(n):void 0}},n))};var eT={brightness:0},tT={width:150,padding:0};const nT=function(){var e,t=Nb(hS(Gw.Filters.Brighten,eT),2),n=t[0],r=t[1];return gv.createElement(JD,{className:"FIE_brightness-option",min:-1,step:.05,max:1,value:null!==(e=n.brightness)&&void 0!==e?e:eT.brightness,onChange:function(e){r({brightness:AS(e,-1,1)})},style:tT})};var rT=["color","size"],oT=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,rT);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M13.5968 11.0258H12.2124V2.22491H2.91714V0.444957C2.91714 0.197742 2.71937 -3.05176e-05 2.47215 -3.05176e-05C2.22494 -3.05176e-05 2.02716 0.197742 2.02716 0.444957V2.22491H0.444987C0.197772 2.22491 0 2.47212 0 2.71934C0 2.96655 0.197772 3.16432 0.444987 3.16432H2.02716V11.9157H11.273V13.4979C11.273 13.7451 11.4708 13.9429 11.718 13.9429C11.9652 13.9429 12.163 13.7451 12.163 13.4979V11.9157H13.5474C13.7946 11.9157 13.9924 11.718 13.9924 11.4707C14.0418 11.2235 13.844 11.0258 13.5968 11.0258ZM2.91714 11.0258V3.16432H11.273V11.0258H2.91714Z",fill:r}))}));var iT=r(2834);function aT(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function sT(e){return e instanceof aT(e).Element||e instanceof Element}function lT(e){return e instanceof aT(e).HTMLElement||e instanceof HTMLElement}function uT(e){return"undefined"!=typeof ShadowRoot&&(e instanceof aT(e).ShadowRoot||e instanceof ShadowRoot)}var cT=Math.max,pT=Math.min,dT=Math.round;function fT(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function hT(){return!/^((?!chrome|android).)*safari/i.test(fT())}function mT(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&lT(e)&&(o=e.offsetWidth>0&&dT(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&dT(r.height)/e.offsetHeight||1);var a=(sT(e)?aT(e):window).visualViewport,s=!hT()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,p=r.height/i;return{width:c,height:p,top:u,right:l+c,bottom:u+p,left:l,x:l,y:u}}function gT(e){var t=aT(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vT(e){return e?(e.nodeName||"").toLowerCase():null}function yT(e){return((sT(e)?e.ownerDocument:e.document)||window.document).documentElement}function bT(e){return mT(yT(e)).left+gT(e).scrollLeft}function AT(e){return aT(e).getComputedStyle(e)}function CT(e){var t=AT(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function wT(e,t,n){void 0===n&&(n=!1);var r=lT(t),o=lT(t)&&function(e){var t=e.getBoundingClientRect(),n=dT(t.width)/e.offsetWidth||1,r=dT(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=yT(t),a=mT(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==vT(t)||CT(i))&&(s=function(e){return e!==aT(e)&&lT(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:gT(e);var t}(t)),lT(t)?((l=mT(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=bT(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function xT(e){var t=mT(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ET(e){return"html"===vT(e)?e:e.assignedSlot||e.parentNode||(uT(e)?e.host:null)||yT(e)}function _T(e){return["html","body","#document"].indexOf(vT(e))>=0?e.ownerDocument.body:lT(e)&&CT(e)?e:_T(ET(e))}function kT(e,t){var n;void 0===t&&(t=[]);var r=_T(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=aT(r),a=o?[i].concat(i.visualViewport||[],CT(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(kT(ET(a)))}function ST(e){return["table","td","th"].indexOf(vT(e))>=0}function DT(e){return lT(e)&&"fixed"!==AT(e).position?e.offsetParent:null}function TT(e){for(var t=aT(e),n=DT(e);n&&ST(n)&&"static"===AT(n).position;)n=DT(n);return n&&("html"===vT(n)||"body"===vT(n)&&"static"===AT(n).position)?t:n||function(e){var t=/firefox/i.test(fT());if(/Trident/i.test(fT())&&lT(e)&&"fixed"===AT(e).position)return null;var n=ET(e);for(uT(n)&&(n=n.host);lT(n)&&["html","body"].indexOf(vT(n))<0;){var r=AT(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var OT="top",PT="bottom",LT="right",FT="left",jT="auto",BT=[OT,PT,LT,FT],IT="start",NT="end",MT="viewport",RT="popper",zT=BT.reduce((function(e,t){return e.concat([t+"-"+IT,t+"-"+NT])}),[]),UT=[].concat(BT,[jT]).reduce((function(e,t){return e.concat([t,t+"-"+IT,t+"-"+NT])}),[]),$T=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function HT(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var qT={placement:"bottom",modifiers:[],strategy:"absolute"};function VT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function GT(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?qT:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},qT,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:sT(e)?kT(e):e.contextElement?kT(e.contextElement):[],popper:kT(t)};var a=function(e){var t=HT(e);return $T.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:r}),a=function(){};l.push(i||a)}})),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(VT(t,n)){s.rects={reference:wT(t,TT(n),"fixed"===s.options.strategy),popper:xT(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,p=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:p,instance:c})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),u=!0}};if(!VT(e,t))return c;function p(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var WT={passive:!0};const ZT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=aT(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,WT)})),s&&l.addEventListener("resize",n.update,WT),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,WT)})),s&&l.removeEventListener("resize",n.update,WT)}},data:{}};function YT(e){return e.split("-")[0]}function XT(e){return e.split("-")[1]}function KT(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function QT(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?YT(o):null,a=o?XT(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case OT:t={x:s,y:n.y-r.height};break;case PT:t={x:s,y:n.y+n.height};break;case LT:t={x:n.x+n.width,y:l};break;case FT:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?KT(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case IT:t[u]=t[u]-(n[c]/2-r[c]/2);break;case NT:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}const JT={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=QT({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var eO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tO(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,p=e.isFixed,d=a.x,f=void 0===d?0:d,h=a.y,m=void 0===h?0:h,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=FT,A=OT,C=window;if(u){var w=TT(n),x="clientHeight",E="clientWidth";if(w===aT(n)&&"static"!==AT(w=yT(n)).position&&"absolute"===s&&(x="scrollHeight",E="scrollWidth"),o===OT||(o===FT||o===LT)&&i===NT)A=PT,m-=(p&&w===C&&C.visualViewport?C.visualViewport.height:w[x])-r.height,m*=l?1:-1;if(o===FT||(o===OT||o===PT)&&i===NT)b=LT,f-=(p&&w===C&&C.visualViewport?C.visualViewport.width:w[E])-r.width,f*=l?1:-1}var _,k=Object.assign({position:s},u&&eO),S=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:dT(t*r)/r||0,y:dT(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=S.x,m=S.y,l?Object.assign({},k,((_={})[A]=y?"0":"",_[b]=v?"0":"",_.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",_)):Object.assign({},k,((t={})[A]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}const nO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:YT(t.placement),variation:XT(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,tO(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,tO(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const rO={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];lT(o)&&vT(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});lT(r)&&vT(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const oO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=UT.reduce((function(e,n){return e[n]=function(e,t,n){var r=YT(e),o=[FT,OT].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[FT,LT].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var iO={left:"right",right:"left",bottom:"top",top:"bottom"};function aO(e){return e.replace(/left|right|bottom|top/g,(function(e){return iO[e]}))}var sO={start:"end",end:"start"};function lO(e){return e.replace(/start|end/g,(function(e){return sO[e]}))}function uO(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uT(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cO(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pO(e,t,n){return t===MT?cO(function(e,t){var n=aT(e),r=yT(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=hT();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+bT(e),y:l}}(e,n)):sT(t)?function(e,t){var n=mT(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):cO(function(e){var t,n=yT(e),r=gT(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=cT(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cT(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+bT(e),l=-r.scrollTop;return"rtl"===AT(o||n).direction&&(s+=cT(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(yT(e)))}function dO(e,t,n,r){var o="clippingParents"===t?function(e){var t=kT(ET(e)),n=["absolute","fixed"].indexOf(AT(e).position)>=0&&lT(e)?TT(e):e;return sT(n)?t.filter((function(e){return sT(e)&&uO(e,n)&&"body"!==vT(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=pO(e,n,r);return t.top=cT(o.top,t.top),t.right=pT(o.right,t.right),t.bottom=pT(o.bottom,t.bottom),t.left=cT(o.left,t.left),t}),pO(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function fO(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function hO(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function mO(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,c=void 0===u?MT:u,p=n.elementContext,d=void 0===p?RT:p,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=fO("number"!=typeof g?g:hO(g,BT)),y=d===RT?"reference":RT,b=e.rects.popper,A=e.elements[h?y:d],C=dO(sT(A)?A:A.contextElement||yT(e.elements.popper),l,c,a),w=mT(e.elements.reference),x=QT({reference:w,element:b,strategy:"absolute",placement:o}),E=cO(Object.assign({},b,x)),_=d===RT?E:w,k={top:C.top-_.top+v.top,bottom:_.bottom-C.bottom+v.bottom,left:C.left-_.left+v.left,right:_.right-C.right+v.right},S=e.modifiersData.offset;if(d===RT&&S){var D=S[o];Object.keys(k).forEach((function(e){var t=[LT,PT].indexOf(e)>=0?1:-1,n=[OT,PT].indexOf(e)>=0?"y":"x";k[e]+=D[n]*t}))}return k}const gO={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=YT(g),y=l||(v===g||!h?[aO(g)]:function(e){if(YT(e)===jT)return[];var t=aO(e);return[lO(e),t,lO(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(YT(n)===jT?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?UT:l,c=XT(r),p=c?s?zT:zT.filter((function(e){return XT(e)===c})):BT,d=p.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,n){return t[n]=mO(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[YT(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:c,rootBoundary:p,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),A=t.rects.reference,C=t.rects.popper,w=new Map,x=!0,E=b[0],_=0;_<b.length;_++){var k=b[_],S=YT(k),D=XT(k)===IT,T=[OT,PT].indexOf(S)>=0,O=T?"width":"height",P=mO(t,{placement:k,boundary:c,rootBoundary:p,altBoundary:d,padding:u}),L=T?D?LT:FT:D?PT:OT;A[O]>C[O]&&(L=aO(L));var F=aO(L),j=[];if(i&&j.push(P[S]<=0),s&&j.push(P[L]<=0,P[F]<=0),j.every((function(e){return e}))){E=k,x=!1;break}w.set(k,j)}if(x)for(var B=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},I=h?3:1;I>0;I--){if("break"===B(I))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vO(e,t,n){return cT(e,pT(t,n))}const yO={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,p=n.padding,d=n.tether,f=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=mO(t,{boundary:l,rootBoundary:u,padding:p,altBoundary:c}),v=YT(t.placement),y=XT(t.placement),b=!y,A=KT(v),C="x"===A?"y":"x",w=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,_="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(w){if(i){var T,O="y"===A?OT:FT,P="y"===A?PT:LT,L="y"===A?"height":"width",F=w[A],j=F+g[O],B=F-g[P],I=f?-E[L]/2:0,N=y===IT?x[L]:E[L],M=y===IT?-E[L]:-x[L],R=t.elements.arrow,z=f&&R?xT(R):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=U[O],H=U[P],q=vO(0,x[L],z[L]),V=b?x[L]/2-I-q-$-k.mainAxis:N-q-$-k.mainAxis,G=b?-x[L]/2+I+q+H+k.mainAxis:M+q+H+k.mainAxis,W=t.elements.arrow&&TT(t.elements.arrow),Z=W?"y"===A?W.clientTop||0:W.clientLeft||0:0,Y=null!=(T=null==S?void 0:S[A])?T:0,X=F+G-Y,K=vO(f?pT(j,F+V-Y-Z):j,F,f?cT(B,X):B);w[A]=K,D[A]=K-F}if(s){var Q,J="x"===A?OT:FT,ee="x"===A?PT:LT,te=w[C],ne="y"===C?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[OT,FT].indexOf(v),ae=null!=(Q=null==S?void 0:S[C])?Q:0,se=ie?re:te-x[ne]-E[ne]-ae+k.altAxis,le=ie?te+x[ne]+E[ne]-ae-k.altAxis:oe,ue=f&&ie?function(e,t,n){var r=vO(e,t,n);return r>n?n:r}(se,te,le):vO(f?se:re,te,f?le:oe);w[C]=ue,D[C]=ue-te}t.modifiersData[r]=D}},requiresIfExists:["offset"]};const bO={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=YT(n.placement),l=KT(s),u=[FT,LT].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return fO("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:hO(e,BT))}(o.padding,n),p=xT(i),d="y"===l?OT:FT,f="y"===l?PT:LT,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],g=TT(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[d],A=v-p[u]-c[f],C=v/2-p[u]/2+y,w=vO(b,C,A),x=l;n.modifiersData[r]=((t={})[x]=w,t.centerOffset=w-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&uO(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function AO(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function CO(e){return[OT,LT,PT,FT].some((function(t){return e[t]>=0}))}const wO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=mO(t,{elementContext:"reference"}),s=mO(t,{altBoundary:!0}),l=AO(a,r),u=AO(s,o,i),c=CO(l),p=CO(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}};var xO=GT({defaultModifiers:[ZT,JT,nO,rO,oO,gO,yO,bO,wO]});const EO=function(e){var t=(0,gv.useRef)(null);return(0,gv.useEffect)((function(){var n,r=document.querySelector("#".concat(e)),o=r||function(e){var t=document.createElement("div");return t.setAttribute("id",e),t}(e);return r||(n=o,document.body.append(n)),t.current&&o.append(t.current),function(){t.current&&t.current.remove(),-1===o.childNodes.length&&o.remove()}}),[]),t.current||(t.current=document.createElement("div")),t.current};var _O,kO={AutoStart:"auto-start",Auto:"auto",AutoEnd:"auto-end",TopStart:"top-start",Top:"top",TopEnd:"top-end",BottomStart:"bottom-start",Bottom:"bottom",BottomEnd:"bottom-end",LeftStart:"left-start",Left:"left",LeftEnd:"left-end",RightStart:"right-start",Right:"right",RightEnd:"right-end"},SO=(dv(_O={},kO.Auto,Iy(["top:0px;bottom:0px;left:0px;right:0px;"])),dv(_O,kO.AutoEnd,Iy(["top:0px;bottom:0px;left:0px;right:0px;"])),dv(_O,kO.AutoStart,Iy(["top:0px;bottom:0px;left:0px;right:0px;"])),dv(_O,kO.Right,Iy(["left:-4px;"])),dv(_O,kO.RightEnd,Iy(["left:-4px;"])),dv(_O,kO.RightStart,Iy(["left:-4px;"])),dv(_O,kO.Left,Iy(["right:-4px;"])),dv(_O,kO.LeftEnd,Iy(["right:-4px;"])),dv(_O,kO.LeftStart,Iy(["right:-4px;"])),dv(_O,kO.Top,Iy(["bottom:-4px;"])),dv(_O,kO.TopEnd,Iy(["bottom:-4px;"])),dv(_O,kO.TopStart,Iy(["bottom:-4px;"])),dv(_O,kO.Bottom,Iy(["top:-4px;"])),dv(_O,kO.BottomEnd,Iy(["top:-4px;"])),dv(_O,kO.BottomStart,Iy(["top:-4px;"])),_O),DO="Popper",TO=eb.div.attrs({className:_k(DO,"root")}).withConfig({componentId:"sc-1373tsp-0"})((function(){return Iy([""])})),OO=eb.div.attrs({className:_k(DO,"wrapper")}).withConfig({componentId:"sc-1373tsp-1"})((function(e){return Iy(["position:relative;z-index:",";"],e.zIndex)})),PO=eb.div.attrs({className:_k(DO,"arrow")}).withConfig({componentId:"sc-1373tsp-2"})((function(e){var t=e.position,n=void 0===t?kO.Right:t;return Iy(["width:8px;height:8px;position:absolute;&::before{content:'';background:",";width:8px;height:8px;transform:rotate(45deg);position:absolute;top:0;left:0;z-index:-1;}",""],e.theme.palette[cb.IconsPrimary],SO[n])}));const LO=kk({Popper:TO,Overlay:eb.div.attrs({className:_k(DO,"Overlay")}).withConfig({componentId:"sc-1373tsp-3"})((function(){return Iy(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;background-color:transparent;"])})),Arrow:PO,PopperWrapper:OO});function FO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FO(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var BO=xk((function(e,t){var n=e.anchorEl,r=e.children,o=e.open,i=e.position,a=void 0===i?"bottom":i,s=e.arrow,l=void 0!==s&&s,u=e.popperOptions,c=e.onClick,p=e.overlay,d=void 0!==p&&p,f=e.zIndex,h=void 0===f?1300:f,m=e.enableUnderlayingEvent,g=e.wrapperStyles,v=void 0===g?{}:g,y=EO(_k("Popper")),b=(0,gv.useRef)(null),A=_D(b,t);(0,gv.useEffect)((function(){if(n&&o&&null!==b.current){var e=l?[{name:"arrow",options:{element:"[data-popper-arrow]"}},{name:"offset",options:{offset:[0,10]}}]:[];u&&null!=u.modifiers&&(e=e.concat(u.modifiers));var t=xO(n,b.current,jO(jO({placement:a},u),{},{modifiers:e}));return A.current=t,function(){t.destroy(),A.current=null}}}),[n,o,u,a,l]);var C=function(e){e.persist(),e.preventDefault(),e.stopPropagation(),c&&c(e),m&&function(e){setTimeout((function(){if(e.clientX&&e.clientY){var t=document.elementFromPoint(e.clientX,e.clientY);t&&t.dispatchEvent(e.nativeEvent)}}),0)}(e)};if(!o)return gv.createElement("div",{ref:A});var w;return(0,iT.createPortal)(gv.createElement(LO.PopperWrapper,{zIndex:h,style:jO({},v)},d&&gv.createElement(LO.Overlay,{onClick:C,onContextMenu:C}),gv.createElement(LO.Popper,{ref:A},r,l&&gv.createElement(LO.Arrow,{"data-popper-arrow":!0,position:(null==A||null===(w=A.state)||void 0===w?void 0:w.placement)||a}))),y)}));BO.defaultProps={};var IO={anchorEl:Av().oneOfType([Av().instanceOf(Element),Av().object]),popperOptions:Av().shape({modifiers:Av().arrayOf(Av().shape({data:Av().object,effect:Av().func,enabled:Av().bool,fn:Av().func,name:Av().any.isRequired,options:Av().object,phase:Av().oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Av().arrayOf(Av().string),requiresIfExists:Av().arrayOf(Av().string)})),onFirstUpdate:Av().func,placement:Av().oneOf(ob(kO)),strategy:Av().oneOf(ob({Absloute:"absolute",Fixed:"fixed"}))}),overlay:Av().bool,arrow:Av().bool,zIndex:Av().number,enableUnderlayingEvent:Av().bool,wrapperStyles:Av().object};BO.propTypes=IO;const NO=BO;var MO="Menu",RO=eb.div.attrs({className:_k(MO,"Overlay")}).withConfig({componentId:"sc-10okxhw-0"})((function(){return Iy(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;background-color:transparent;z-index:-1;"])})),zO=eb.div.attrs({className:_k(MO,"root")}).withConfig({componentId:"sc-10okxhw-1"})((function(e){var t=e.rect,n=e.theme,r=e.maxHeight,o=void 0===r?"":r;return Iy(["min-width:","px;min-height:16px;overflow-x:hidden;overflow-y:auto;transition:opacity 251ms cubic-bezier(0.4,0,0.2,1) 0ms,transform 167ms cubic-bezier(0.4,0,0.2,1) 0ms;outline:0;box-shadow:0 2px 4px ",";border-radius:",";","::-webkit-scrollbar{width:6px;}::-webkit-scrollbar-track{background:#f1f1f1;}::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.35);border-radius:2px;}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.5);}"],t.width,n.palette[cb.LightShadow],n.shape.borderRadius[db.Md],o&&Iy(["max-height:",";"],Number.isNaN(+o)?o:"".concat(o,"px")))}));const UO=kk({Menu:zO,Overlay:RO});var $O=["id","children","open","fullWidth","anchorElPosition","anchorEl","onClose","containerProps","alignCenter","maxHeight","position","popperOptions","enableOverlay","zIndex","hideScroll","enableUnderlayingEvent","popperWrapperStyles"];function HO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var qO=xk((function(e,t){e.id;var n=e.children,r=e.open,o=(e.fullWidth,e.anchorElPosition),i=e.anchorEl,a=e.onClose,s=e.containerProps,l=e.alignCenter,u=e.maxHeight,c=e.position,p=e.popperOptions,d=e.enableOverlay,f=void 0===d||d,h=e.zIndex,m=e.hideScroll,g=void 0===m||m,v=e.enableUnderlayingEvent,y=void 0!==v&&v,b=e.popperWrapperStyles,A=void 0===b?{}:b,C=yv(e,$O),w=Nb((0,gv.useState)(null),2),x=w[0],E=w[1],_=Nb((0,gv.useState)(new DOMRect),2),k=_[0],S=_[1],D=(0,gv.useRef)(null),T=(0,gv.useCallback)((function(){var e,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HO(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({top:0,left:0,height:0,width:0},o||{}),n=new DOMRect(t.left,t.top,t.width,t.height);S(null!==(e=null==i?void 0:i.getBoundingClientRect())&&void 0!==e?e:n)}),[r,x,i]),O=(0,gv.useCallback)((function(){r&&(x&&clearTimeout(x),E(setTimeout(T,300)))}),[r,x]);(0,gv.useEffect)((function(){return window.addEventListener("resize",O),function(){window.removeEventListener("resize",O)}}),[O]),(0,gv.useEffect)((function(){T()}),[o,T]),(0,gv.useEffect)((function(){if(g)return r?(document.body.classList.add("Menu-open"),T()):document.body.classList.remove("Menu-open"),function(){document.body.classList.remove("Menu-open")}}),[r,T]);return gv.createElement(gv.Fragment,null,gv.createElement(NO,{ref:D,position:c||"bottom",open:Boolean(i),anchorEl:i,overlay:Boolean(f),onClick:function(){"function"==typeof a&&a()},popperOptions:p,zIndex:h,enableUnderlayingEvent:y,wrapperStyles:A},gv.createElement(UO.Menu,Mb({},s,{alignCenter:Boolean(l),rect:k},C,{ref:t,maxHeight:u}),n)))}));qO.defaultProps={open:!1,containerProps:{},maxHeight:0,position:"bottom",enableOverlay:!0,hideScroll:!0};var VO={anchorElPosition:Av().shape({left:Av().number,right:Av().number,top:Av().number,bottom:Av().number}),anchorEl:Av().instanceOf(Element),open:Av().bool,fullWidth:Av().bool,onClose:Av().func,id:Av().string,containerProps:Av().object,alignCenter:Av().bool,maxHeight:Av().oneOfType([Av().string,Av().number]),popperOptions:IO.popperOptions,position:Av().oneOf(ob(kO)),enableOverlay:Av().bool,zIndex:Av().number,hideScroll:Av().bool,enableUnderlayingEvent:Av().bool,popperWrapperStyles:Av().object};qO.propTypes=VO;const GO=qO;const WO=function(e,t){return Math.min(e.width/t.width,e.height/t.height)||1};var ZO=["color","size"],YO=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?28:o,a=yv(e,ZO);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M41.3465 44.355C33.5656 50.7844 22.9687 51.6268 14.3708 47.3665L17.8949 44.4545C24.754 47.117 32.7424 46.1093 38.709 41.1792C44.6755 36.249 47.1546 28.6071 45.8085 21.3893L49.3325 18.4773C51.9291 27.6967 49.1274 37.9256 41.3465 44.355Z",fill:r}),gv.createElement("path",{d:"M36.1749 2.63356L32.6509 5.54555C25.821 2.91828 17.838 3.86187 11.8366 8.82088C5.87009 13.7511 3.42028 21.4282 4.7372 28.6107L1.21311 31.5227C-1.38344 22.3034 1.45314 12.0456 9.19916 5.64502C16.9801 -0.784402 27.5768 -1.62682 36.1749 2.63356Z",fill:r}))}));const XO=YO;var KO,QO={Primary:"primary",Secondary:"secondary",White:"white"},JO=(dv(KO={},QO.Primary,(function(e){var t=e.theme.palette;return Iy(["background-color:",";color:",";"],t[cb.AccentPrimary],t[cb.ButtonPrimaryText])})),dv(KO,QO.White,(function(e){var t=e.theme.palette;return Iy(["background-color:",";color:",";"],t[cb.ButtonPrimaryText],t[cb.AccentPrimary])})),dv(KO,QO.Secondary,(function(e){return Iy(["background-color:",";color:#e9eef2;"],e.theme.palette[cb.IconsPrimary])})),KO),eP="Badge",tP=eb.span.attrs({className:_k(eP,"root")}).withConfig({componentId:"sc-1rfm40m-0"})(["position:relative;display:inline-flex;flex-shrink:0;vertical-align:middle;"]),nP=eb.span.attrs({className:_k(eP)}).withConfig({componentId:"sc-1rfm40m-1"})((function(e){var t=e.size,n=e.color,r=void 0===n?"secondary":n,o=e.fontSize,i=void 0===o?"0.75rem":o,a=e.padding,s=void 0===a?"0 6px":a;return Iy([""," display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center;align-items:center;align-content:center;height:","px;min-width:","px;line-height:1;padding:",";font-size:",";box-sizing:border-box;transition:transform 225ms cubic-bezier(0.4,0,0.2,1) 0ms;border-radius:","px;z-index:1;",""],e.inline?"":"position: absolute;",t||20,t||20,"number"==typeof s?"".concat(s,"px"):s,"number"==typeof i?"".concat(i,"px"):i,(t||20)/2,JO[r])}));const rP=kk({BadgeRoot:tP,Badge:nP});var oP=["badgeContent"],iP=xk((function(e,t){var n=e.badgeContent,r=yv(e,oP);return gv.createElement(rP.BadgeRoot,{ref:t},gv.createElement(rP.Badge,r,n))}));iP.defaultProps={color:QO.Secondary,inline:!1},iP.propTypes={color:Av().oneOf(ob(QO)),badgeContent:Av().node,size:Av().oneOfType([Av().number]),fontSize:Av().oneOfType([Av().number,Av().string]),padding:Av().oneOfType([Av().number,Av().string]),inline:Av().bool};const aP=iP;var sP,lP,uP,cP={Primary:"primary",Secondary:"secondary",Link:"link",Error:"error"},pP={Xs:"xs",Sm:"sm",Md:"md",Lg:"lg",Xl:"xl"},dP=function(e){switch(e){case pP.Xl:return 16;case pP.Lg:case pP.Md:return 14;case pP.Sm:return 12;default:return 11}},fP=(dv(sP={},cP.Primary,(function(e){var t=e.theme.palette;return Iy(["background-color:",";color:",";","{background-color:",";}&:hover{background-color:",";}&:active{background-color:",";}&:disabled{color:",";background:",";","{background-color:",";color:",";}}"],t[cb.AccentPrimary],t[cb.ButtonPrimaryText],rP.Badge,t[cb.ButtonPrimaryText],t[cb.AccentPrimaryHover],t[cb.AccentPrimaryActive],t[cb.ButtonDisabledText],t[cb.AccentPrimaryDisabled],rP.Badge,t[cb.ButtonDisabledText],t[cb.AccentPrimaryDisabled])})),dv(sP,cP.Secondary,(function(e){var t=e.theme.palette;return Iy(["background-color:",";color:",";&:hover{background-color:",";}&:active{background-color:",";}&:disabled{color:",";background:",";","{background-color:",";}}","{background-color:",";}"],t[cb.ActiveSecondary],t[cb.IconsPrimary],t[cb.ActiveSecondaryHover],t[cb.ActiveSecondaryActive],t[cb.ButtonDisabledText],t[cb.AccentPrimaryDisabled],rP.Badge,t[cb.ButtonDisabledText],rP.Badge,t[cb.IconsPrimary])})),dv(sP,cP.Link,(function(e){var t=e.theme.palette;return Iy(["background-color:transparent;color:",";&:hover{color:",";","{background-color:",";}}&:active{color:",";","{background-color:",";}}&:disabled{color:",";","{background-color:",";}}"],t[cb.LinkPrimary],t[cb.LinkHover],rP.Badge,t[cb.LinkHover],t[cb.LinkActive],rP.Badge,t[cb.LinkActive],t[cb.ButtonDisabledText],rP.Badge,t[cb.ButtonDisabledText])})),dv(sP,cP.Error,(function(e){var t=e.theme.palette;return Iy(["background-color:",";color:",";","{background-color:",";}&:hover{background-color:rgba(224,81,44,1);}&:active{background-color:rgba(201,58,23,1);}&:disabled{color:",";background:",";","{background-color:",";color:",";}}"],t[cb.Error],t[cb.ButtonPrimaryText],rP.Badge,t[cb.ButtonPrimaryText],t[cb.ButtonDisabledText],t[cb.AccentPrimaryDisabled],rP.Badge,t[cb.ButtonDisabledText],t[cb.AccentPrimaryDisabled])})),sP),hP=(dv(lP={},pP.Xs,Iy(["padding:4px 8px;"])),dv(lP,pP.Sm,Iy(["padding:6px 10px;"])),dv(lP,pP.Md,Iy(["padding:8px 12px;"])),dv(lP,pP.Lg,Iy(["padding:10px 14px;"])),dv(lP,pP.Xl,Iy(["padding:12px 16px;"])),lP),mP=(dv(uP={},pP.Xs,(function(e){return Iy(e.theme.typography.font[pb.ButtonXs])})),dv(uP,pP.Sm,(function(e){return Iy(e.theme.typography.font[pb.ButtonSm])})),dv(uP,pP.Md,(function(e){return Iy(e.theme.typography.font[pb.ButtonMd])})),dv(uP,pP.Lg,(function(e){return Iy(e.theme.typography.font[pb.ButtonLg])})),dv(uP,pP.Xl,(function(e){return Iy(e.theme.typography.font[pb.ButtonXl])})),uP),gP="Button",vP=eb.span.attrs({className:_k(gP,"Label")}).withConfig({componentId:"sc-lxwit0-0"})(["display:flex;"]),yP=eb.span.attrs({className:_k(gP,"Badge")}).withConfig({componentId:"sc-lxwit0-1"})(["display:flex;margin-left:5px;"]),bP=eb.button.attrs({className:_k(gP,"root")}).withConfig({componentId:"sc-lxwit0-2"})((function(e){var t=e.color,n=void 0===t?cP.Secondary:t,r=e.size,o=void 0===r?pP.Md:r;return Iy(["display:inline-flex;flex-shrink:0;flex-direction:row;align-items:center;border-radius:",";border:0;cursor:pointer;outline:none;"," "," ","{","}"],e.theme.shape.borderRadius[db.Sm],fP[n],hP[o],vP,mP[o])}));const AP=kk({Button:bP,Label:vP,Icon:eb.span.attrs({className:_k(gP,"Icon")}).withConfig({componentId:"sc-lxwit0-3"})((function(e){return Iy(["display:flex;margin-right:4px;margin-left:1px;svg{animation:",";}"],e.$loading?"spinner 1.2s linear infinite":"1.2s")})),Badge:yP});var CP=["children","icon","badge","color","size","loading","disabled"],wP=xk((function(e,t){var n=e.children,r=e.icon,o=e.badge,i=e.color,a=e.size,s=e.loading,l=e.disabled,u=yv(e,CP);return gv.createElement(AP.Button,Mb({},u,{disabled:s||l,color:i,size:a,ref:t}),r&&gv.createElement(AP.Icon,{$loading:s},"function"==typeof r?s?gv.createElement(XO,{size:dP(a)}):r({size:dP(a)}):s?gv.createElement(XO,{size:dP(a)}):r),s&&!r&&gv.createElement(AP.Icon,{$loading:s},gv.createElement(XO,{size:dP(a)})),gv.createElement(AP.Label,null,n),o&&gv.createElement(AP.Badge,null,gv.createElement(aP,{inline:!0,size:14,fontSize:10,padding:"0 1px",badgeContent:o,color:i===cP.Primary?"white":"secondary"})))}));wP.defaultProps={size:pP.Md,color:cP.Secondary},wP.propTypes={size:Av().oneOf(ob(pP)),color:Av().oneOf(ob(cP)),icon:Av().oneOfType([Av().node,Av().func]),badge:Av().node,loading:Av().bool,disabled:Av().bool};const xP=wP;var EP=eb(xP).withConfig({componentId:"sc-ldar2z-0"})(["margin:0 0 0 6px;padding:0;"]),_P=eb.div.withConfig({componentId:"sc-ldar2z-1"})(["margin-right:6px;svg,span{vertical-align:middle;}"]),kP=eb(jk).withConfig({componentId:"sc-ldar2z-2"})(["margin-left:4px;cursor:pointer;"]),SP=["color","size"],DP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,SP);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.562515 0.562512H3.68752V2.90626H2.90627V3.68751H0.562515V0.562512ZM0.562515 44.3125V47.4375H3.68752V45.0938H2.90627V44.3125H0.562515ZM44.3125 47.4375H47.4375V44.3125H45.0938V45.0938H44.3125V47.4375ZM47.4375 3.68751V0.562512H44.3125V2.90626H45.0938V3.68751H47.4375ZM7.59376 0.562512V3.68751H12.2813V0.562512H7.59376ZM16.9688 0.562512V3.68751H21.6563V0.562512H16.9688ZM26.3438 0.562512V3.68751H31.0313V0.562512H26.3438ZM35.7188 0.562512V3.68751H40.4063V0.562512H35.7188ZM47.4375 7.59376H44.3125V12.2813H47.4375V7.59376ZM47.4375 16.9688H44.3125V21.6563H47.4375V16.9688ZM47.4375 26.3438H44.3125V31.0313H47.4375V26.3438ZM47.4375 35.7188H44.3125V40.4063H47.4375V35.7188ZM40.4063 47.4375V44.3125H35.7188V47.4375H40.4063ZM31.0313 47.4375V44.3125H26.3438V47.4375H31.0313ZM21.6563 47.4375V44.3125H16.9688V47.4375H21.6563ZM12.2813 47.4375V44.3125H7.59377V47.4375H12.2813ZM0.562515 40.4063H3.68752V35.7188H0.562515V40.4063ZM0.562515 31.0313H3.68752V26.3438H0.562515V31.0313ZM0.562515 21.6563H3.68752V16.9688H0.562515V21.6563ZM0.562515 12.2813H3.68752V7.59376H0.562515V12.2813Z",fill:r}))}));const TP=DP;var OP=["color","size"],PP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,OP);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.2047 46.875C37.2859 46.875 47.0797 37.0812 47.0797 25C47.0797 12.9188 37.2859 3.125 25.2047 3.125C13.1235 3.125 3.32968 12.9188 3.32968 25C3.32968 37.0812 13.1235 46.875 25.2047 46.875ZM25.2047 50C39.0118 50 50.2047 38.8071 50.2047 25C50.2047 11.1929 39.0118 0 25.2047 0C11.3976 0 0.204681 11.1929 0.204681 25C0.204681 38.8071 11.3976 50 25.2047 50Z",fill:r}))}));const LP=PP;var FP=["color","size"],jP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,FP);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 51 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11841 3.93805V32.063H47.8684V3.93805H4.11841ZM3.49341 0.813049C2.1127 0.813049 0.993408 1.91235 0.993408 3.26841V32.7327C0.993408 34.0887 2.1127 35.188 3.49341 35.188H48.4934C49.8741 35.188 50.9934 34.0887 50.9934 32.7327V3.26841C50.9934 1.91235 49.8741 0.813049 48.4934 0.813049H3.49341Z",fill:r}))}));const BP=jP;var IP=["color","size"],NP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,IP);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 36 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.0559 46.8755L32.0559 3.12555L3.93091 3.12555L3.93091 46.8755H32.0559ZM35.1809 3.12555C35.1809 1.39966 33.7818 0.000549316 32.0559 0.000549316H3.93091C2.20502 0.000549316 0.805908 1.39966 0.805908 3.12555V46.8755C0.805908 48.6014 2.20502 50.0005 3.93091 50.0005H32.0559C33.7818 50.0005 35.1809 48.6014 35.1809 46.8755L35.1809 3.12555Z",fill:r}))}));const MP=NP;var RP=["color","size"],zP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,RP);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.3032 17.8662C34.0646 17.8662 36.3032 15.6276 36.3032 12.8662C36.3032 10.1048 34.0646 7.86618 31.3032 7.86618C28.5418 7.86618 26.3032 10.1048 26.3032 12.8662C26.3032 15.6276 28.5418 17.8662 31.3032 17.8662ZM31.3032 15.3662C32.6839 15.3662 33.8032 14.2469 33.8032 12.8662C33.8032 11.4855 32.6839 10.3662 31.3032 10.3662C29.9225 10.3662 28.8032 11.4855 28.8032 12.8662C28.8032 14.2469 29.9225 15.3662 31.3032 15.3662Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9372 15.1063C16.3967 15.0794 16.8338 15.3071 17.075 15.6991L25.0831 28.7141L29.8357 24.4289C30.0935 24.1966 30.4362 24.0818 30.7819 24.1121C31.1276 24.1424 31.4452 24.3151 31.6586 24.5887L40.2822 35.6497C40.5759 36.0264 40.6292 36.5376 40.4196 36.9668C40.21 37.396 39.7741 37.6683 39.2964 37.6683H6.70331C6.2766 37.6683 5.87937 37.4506 5.64974 37.091C5.42011 36.7313 5.38981 36.2794 5.56937 35.8923L14.8765 15.8282C15.0702 15.4106 15.4777 15.1333 15.9372 15.1063ZM16.1652 18.991L8.66108 35.1683H36.7368L30.5126 27.1848L25.6422 31.5761C25.3666 31.8246 24.9947 31.9378 24.6274 31.885C24.26 31.8322 23.9351 31.6189 23.7406 31.3027L16.1652 18.991Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 3C0.5 1.61929 1.61929 0.5 3 0.5H43C44.3807 0.5 45.5 1.61929 45.5 3V43C45.5 44.3807 44.3807 45.5 43 45.5H3C1.61929 45.5 0.5 44.3807 0.5 43V3ZM3 3H43V43H3V3Z",fill:r}))}));var UP=[{titleKey:"original",ratio:gE,icon:zP},{titleKey:"custom",ratio:vE,icon:TP},{titleKey:"landscape",descriptionKey:"16:9",ratio:hD(16/9),icon:BP},{titleKey:"portrait",descriptionKey:"9:16",ratio:hD(9/16),icon:MP},{titleKey:"ellipse",ratio:yE,icon:LP}],$P=["color","size"],HP=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?8:o,a=yv(e,$P);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M37.2754 25L12.2754 -1.03614e-06L12.2754 50L37.2754 25Z",fill:r}))}));const qP=HP;var VP,GP={Sm:"sm",Md:"md"},WP=(dv(VP={},GP.Sm,(function(e){return Iy(["padding:4px 8px;min-height:22px;",""],e.theme.typography.font[pb.LabelSmall])})),dv(VP,GP.Md,(function(e){return Iy(["padding:8px 12px;min-height:32px;",""],e.theme.typography.font[pb.LabelNormal])})),VP),ZP="MenuItem",YP=eb.div.attrs({className:_k(ZP,"Icon")}).withConfig({componentId:"sc-rrzye0-0"})((function(e){return Iy(["display:flex;flex-shrink:0;color:",";&:first-child{margin-right:8px;}&:last-child{margin-left:8px;}"],e.theme.palette[cb.IconsPrimary])})),XP=eb(YP).attrs({className:_k(ZP,"Actions")}).withConfig({componentId:"sc-rrzye0-1"})((function(){return Iy([""])})),KP=eb.div.attrs({className:_k(ZP,"Label")}).withConfig({componentId:"sc-rrzye0-2"})(["flex-grow:1;"]);const QP=kk({MenuItemWrapper:eb.div.attrs({className:_k(ZP,"wrapper")}).withConfig({componentId:"sc-rrzye0-3"})((function(e){var t=e.disabled,n=e.theme;return Iy(["",""],t&&Iy(["width:100%;height:1px;background:",";box-sizing:border-box;"],n.palette[cb.BordersSecondary]))})),MenuItem:eb.div.attrs({className:_k(ZP,"root")}).withConfig({componentId:"sc-rrzye0-4"})((function(e){var t=e.size,n=void 0===t?GP.Md:t,r=e.active,o=e.theme,i=e.disableHover,a=void 0!==i&&i;return Iy(["display:flex;flex-direction:row;align-items:center;width:100%;background:",";cursor:pointer;box-sizing:border-box;"," &:focus-within,&:focus,&:hover{",";}"],o.palette[r?cb.BackgroundPrimaryHover:cb.BackgroundSecondary],WP[n],!a&&"background-color: ".concat(o.palette[cb.BackgroundPrimaryHover]))})),MenuPrefix:eb.div.attrs({className:_k(ZP,"prefix")}).withConfig({componentId:"sc-rrzye0-5"})((function(){return Iy(["display:flex;margin-right:8px;"])})),MenuContent:eb.div.attrs({className:_k(ZP,"content")}).withConfig({componentId:"sc-rrzye0-6"})((function(){return Iy(["flex-grow:1;line-height:16px;"])})),MenuSuffix:eb.div.attrs({className:_k(ZP,"suffix")}).withConfig({componentId:"sc-rrzye0-7"})((function(){return Iy(["display:flex;margin-left:8px;"])})),Label:KP,Icon:YP,Actions:XP});var JP=["list","depth","children","disableHover"];function eL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eL(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nL=xk((function(e,t){var n=e.list,r=e.depth,o=void 0===r?0:r,i=e.children,a=e.disableHover,s=yv(e,JP),l=Nb(gv.useState(null),2),u=l[0],c=l[1],p=Nb(gv.useState([]),2),d=p[0],f=p[1],h=function(e,t,n){var r=d.slice(0);r[n]=t,f(r),c(e.currentTarget)};return n?gv.createElement(gv.Fragment,null,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.map((function(e){var r,o=e.subList&&e.subList.length>0;if(d[n]===e.key&&o){var i=n+1;r=gv.createElement(GO,Mb({key:e.key,position:"right",open:Boolean(u),anchorEl:u,enableOverlay:!1},e.subMenuProps),gv.createElement(nL,Mb({list:e.subList,depth:i},s)))}return e.disabled?gv.createElement(QP.MenuItemWrapper,{disabled:!0,key:e.key}):gv.createElement(QP.MenuItemWrapper,{disabled:!1,key:e.key},gv.createElement(QP.MenuItem,Mb({},s,{className:e.className,ref:t,active:Boolean(e.active),onClick:e.onClick?function(t){return e.onClick(tL({event:t},s))}:void 0,onMouseEnter:function(t){return h(t,e.key,n)},disableHover:a||e.disableHover}),e.prefix&&gv.createElement(QP.MenuPrefix,null,"function"==typeof e.prefix?e.prefix(s):e.prefix),e.content&&gv.createElement(QP.MenuContent,null,"function"==typeof e.content?e.content(s):e.content),(e.suffix||e.subList)&&gv.createElement(QP.MenuSuffix,null,"function"==typeof e.suffix?e.suffix(s):e.suffix,e.subList&&gv.createElement(qP,{size:8,color:"#768184"}))),r)}))}(n,o)):gv.createElement(QP.MenuItemWrapper,{disabled:!1},gv.createElement(QP.MenuItem,Mb({},s,{ref:t,disableHover:a}),i))}));nL.displayName="MenuItem";var rL={size:GP.Md,active:!1};nL.defaultProps=rL,nL.propTypes={size:Av().oneOf(ob(GP)),children:Av().oneOfType([Av().node,Av().func]),active:Av().bool,value:Av().oneOfType([Av().string,Av().number,Av().oneOf([null])]),depth:Av().number,disableHover:Av().bool};const oL=nL;var iL,aL={size:Av().number,width:Av().oneOfType([Av().string,Av().number]),height:Av().oneOfType([Av().string,Av().number]),color:Av().string,color2:Av().string,stroke:Av().string,stroke2:Av().string,viewBox:Av().string},sL={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},lL=(dv(iL={},sL.Right,Iy(["svg{transform:rotate(0);transition:transform 150ms;}"])),dv(iL,sL.Left,Iy(["svg{transform:rotate(180deg);transition:transform 150ms;}"])),dv(iL,sL.Top,Iy(["svg{transform:rotate(-90deg);transition:transform 150ms;}"])),dv(iL,sL.Bottom,Iy(["svg{transform:rotate(90deg);transition:transform 150ms;}"])),iL),uL=eb.span.attrs({className:_k("ArrowTick","root")}).withConfig({componentId:"sc-tlypde-0"})((function(e){var t=e.type;return Iy(["display:inline-flex;",""],lL[void 0===t?sL.Right:t])}));const cL=kk({ArrowTick:uL});var pL=["IconProps"],dL=xk((function(e,t){var n=e.IconProps,r=yv(e,pL);return gv.createElement(cL.ArrowTick,Mb({},r,{ref:t}),gv.createElement(qP,n))}));dL.defaultProps={type:sL.Right},dL.propTypes={type:Av().oneOf(ob(sL)),IconProps:Av().exact(aL)};const fL=dL;var hL="AccordionHeader",mL=eb.span.attrs({className:_k(hL,"Icon")}).withConfig({componentId:"sc-1dtjsgt-0"})((function(){return Iy(["display:inline-flex;padding-right:8px;"])})),gL=eb.span.attrs({className:_k(hL,"Label")}).withConfig({componentId:"sc-1dtjsgt-1"})([""]),vL=eb.div.attrs({className:_k(hL,"root")}).withConfig({componentId:"sc-1dtjsgt-2"})((function(e){var t=e.theme;return Iy([""," display:flex;align-items:center;cursor:pointer;color:",";"],Iy(t.typography.font[pb.ButtonXs]),t.palette[cb.LinkPrimary])}));const yL=kk({AccordionHeader:vL,Icon:mL,Label:gL});var bL=["expanded","label","onChange","onClick","onContextMenu","iconProps"];function AL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AL(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wL=xk((function(e,t){var n=e.expanded,r=e.label,o=e.onChange,i=e.onClick,a=e.onContextMenu,s=e.iconProps,l=yv(e,bL);return gv.createElement(yL.AccordionHeader,Mb({ref:t,onClick:function(e){"function"==typeof o&&o(!n),"function"==typeof i&&i(e)}},l),gv.createElement(yL.Icon,{onContextMenu:a},gv.createElement(fL,{type:n?sL.Bottom:sL.Right,IconProps:CL({size:8},s)})),gv.createElement(yL.Label,{onContextMenu:a},r))}));wL.defaultProps={expanded:!1},wL.propTypes={label:Av().node.isRequired,expanded:Av().bool,onChange:Av().func,iconProps:Av().exact(aL)};const xL=wL;const EL=kk({AccordionDetails:eb.div.attrs({className:_k("AccordionDetails","root")}).withConfig({componentId:"sc-1wr6wpr-0"})(["margin:16px 0;"])});var _L=["expanded","children"],kL=xk((function(e,t){var n=e.expanded,r=e.children,o=yv(e,_L);return gv.createElement(gv.Fragment,null,n&&gv.createElement(EL.AccordionDetails,Mb({ref:t},o),r))}));kL.defaultProps={expanded:!1},kL.propTypes={expanded:Av().bool};const SL=kL;const DL=kk({Accordion:eb.div.attrs({className:_k("Accordion","root")}).withConfig({componentId:"sc-1g4tz7s-0"})([""])});var TL=["label","expanded","children","detailStyle","headerStyle","iconProps","onClick","onChange","onContextMenu"];function OL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?OL(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var LL=xk((function(e,t){var n=e.label,r=e.expanded,o=e.children,i=e.detailStyle,a=e.headerStyle,s=e.iconProps,l=e.onClick,u=e.onChange,c=e.onContextMenu,p=yv(e,TL);return gv.createElement(DL.Accordion,Mb({ref:t},p),gv.createElement(xL,{label:n,expanded:r,style:PL({},a),onClick:function(e){"function"==typeof u&&u(!r,e),"function"==typeof l&&l(e)},onContextMenu:c,iconProps:s}),gv.createElement(SL,{expanded:r,style:PL({},i)},o))}));LL.defaultProps={expanded:!1},LL.propTypes={label:Av().node.isRequired,expanded:Av().bool,detailStyle:Av().object,headerStyle:Av().object,onChange:Av().func,onContextMenu:Av().func,iconProps:Av().exact(aL)};const FL=LL;var jL={height:16,width:16},BL=function(e){var t=e.titleKey,n=e.description,r=e.ratio,o=e.onClick,i=e.Icon,a=e.isActive,s=e.width,l=e.height,u=e.t,c=e.disableManualResize;return gv.createElement(oL,{active:a,onClick:function(e){return o(e,r,{ratioTitleKey:t,width:s,height:l,disableManualResize:c})},size:"sm"},i&&gv.createElement(_P,null,"string"==typeof i?gv.createElement("span",{dangerouslySetInnerHTML:{__html:i}}):gv.createElement(i,jL)),u(t),n&&gv.createElement(kP,null,n))};BL.defaultProps={Icon:void 0,width:void 0,height:void 0,disableManualResize:!1};const IL=BL;function NL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ML(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?NL(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NL(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const RL=function(e){var t=e.groupTitleKey,n=e.items,r=e.onItemSelect,o=e.t,i=e.isExpanded,a=e.setExpandedGroup,s=pS().adjustments.crop,l=s.ratio,u=s.ratioGroupKey,c=s.ratioTitleKey,p=function(e,n,o){r(e,n,ML(ML({},o),{},{ratioGroupKey:t}))};return gv.createElement(FL,{label:o(t),onChange:function(){a(i?null:t)},expanded:i},n.map((function(e){var n=e.titleKey,r=e.ratio,i=e.width,a=e.height,s=e.descriptionKey,d=e.icon,f=e.disableManualResize,h=null!=r?r:hD(i/a);return gv.createElement(IL,{key:n,titleKey:n,t:o,description:o(s),size:"sm",onClick:p,width:i,height:a,ratio:h,Icon:d,disableManualResize:f,isActive:l===h&&c===n&&u===t})})))};function zL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UL(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?zL(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zL(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var $L=function(e){var t=e.titleKey,n=e.Icon,r=e.groups,o=e.onItemSelect,i=e.prefixIconDimensions,a=e.t,s=pS().adjustments.crop,l=s.ratioFolderKey,u=s.ratioGroupKey,c=Nb((0,gv.useState)(""),2),p=c[0],d=c[1],f=function(e,n,r){o(e,n,UL(UL({},r),{},{ratioFolderKey:t}))};return gv.createElement(oL,{size:"sm",list:[{content:a(t),key:t,active:t===l,prefix:n&&("string"==typeof n?gv.createElement("span",{dangerouslySetInnerHTML:{__html:n}}):gv.createElement(n,i)),subList:r.map((function(e){var t=e.titleKey,n=e.items;return{content:gv.createElement(RL,{groupTitleKey:t,setExpandedGroup:d,isExpanded:""===p?u===t:p===t,t:a,items:n,onItemSelect:f}),key:t,disableHover:!0}}))}]})};$L.defaultProps={Icon:void 0};const HL=$L;var qL={height:16,width:16},VL=function(e){var t=e.anchorEl,n=e.onClose,r=pS(),o=r.dispatch,i=r.t,a=r.adjustments,s=(a=void 0===a?{}:a).crop,l=(s=void 0===s?{}:s).ratio,u=s.ratioTitleKey,c=s.ratioFolderKey,p=r.shownImageDimensions,d=r.config[uE.CROP],f=(0,gv.useMemo)((function(){var e=d.presetsItems,t=void 0===e?[]:e,n=d.presetsFolders;return[].concat(jb(void 0===n?[]:n),jb(UP),jb(t))}),[d]),h=function(e,t,r){e.stopPropagation();var i={ratio:t,ratioTitleKey:r.ratioTitleKey,ratioGroupKey:r.ratioGroupKey,ratioFolderKey:r.ratioFolderKey};o({type:uz,payload:i}),d.autoResize&&(o({type:Yz,payload:{width:r.width,height:r.height,manualChangeDisabled:r.disableManualResize}}),o({type:Cz,payload:{factor:r.width>p.width||r.height>p.height?WO(p,r):1}})),n()};return gv.createElement(gv.Fragment,null,gv.createElement(Mk,{className:"FIE_crop-tool-label FIE_selected-crop-preset-label"},i(u||"cropTool")),gv.createElement(EP,{className:"FIE_crop-presets-opener-button",color:"link",size:"lg"},t?gv.createElement(gv.Fragment,null,"▴"):gv.createElement(gv.Fragment,null,"▾")),gv.createElement(GO,{className:"FIE_crop-presets-menu",anchorEl:t,enableOverlay:!0,onClose:n,open:!!t,position:"top"},f.map((function(e){var t=e.titleKey,n=e.descriptionKey,r=e.ratio,o=e.width,a=e.height,s=e.groups,u=e.icon,p=e.disableManualResize;return s?gv.createElement(HL,{key:t,titleKey:t,groups:s,Icon:u,onItemSelect:h,prefixIconDimensions:qL,t:i,disableManualResize:p}):gv.createElement(IL,{key:r,ratio:null!=r?r:hD(o/a),titleKey:t,t:i,description:i(n),Icon:u,isActive:l===(null!=r?r:hD(o/a))&&!c,width:o,height:a,onClick:h,disableManualResize:p})}))))};VL.defaultProps={anchorEl:null};const GL=VL;var WL=function(e){var t=e.selectTool,n=e.isSelected,r=pS(),o=r.config,i=r.t,a=Nb((0,gv.useState)(),2),s=a[0],l=a[1];return gv.createElement(Uk,{className:"FIE_crop-tool",id:uE.CROP,Icon:oT,onClick:function(e,n){t(e),l(n.currentTarget)},isSelected:n},o[uE.CROP].noPresets?gv.createElement(Mk,{className:"FIE_crop-tool-label"},i("cropTool")):gv.createElement(GL,{anchorEl:s,onClose:function(){l(null)}}))};WL.defaultProps={isSelected:!1};const ZL=WL;var YL=["color","size"],XL=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,YL);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.0625 1.93758C24.0625 1.22909 23.5858 0.609274 22.901 0.427427C22.2163 0.245581 21.4949 0.547225 21.1434 1.16237L1.14337 39.2874C0.867028 39.771 0.869012 40.3651 1.14858 40.8468C1.42814 41.3286 1.94302 41.6251 2.5 41.6251H22.5C23.3629 41.6251 24.0625 40.9255 24.0625 40.0626V1.93758ZM20.9375 38.5001H5.19247L20.9375 7.82128V38.5001Z",fill:r}),gv.createElement("path",{d:"M28.8566 1.16237C28.5051 0.547225 27.7837 0.245581 27.099 0.427428C26.4142 0.609274 25.9375 1.22909 25.9375 1.93758V4.12508H26.9504L27.3934 4.9003L28.75 4.12508H29.0625V3.94651L30.1066 3.34986L28.8566 1.16237Z",fill:r}),gv.createElement("path",{d:"M35.1066 12.0999L32.6066 7.72486L29.8934 9.2753L32.3934 13.6503L35.1066 12.0999Z",fill:r}),gv.createElement("path",{d:"M25.9375 8.50008V12.8751H29.0625V8.50008H25.9375Z",fill:r}),gv.createElement("path",{d:"M40.1066 23.9749L37.6066 19.5999L34.8934 21.1503L37.3934 25.5253L40.1066 23.9749Z",fill:r}),gv.createElement("path",{d:"M25.9375 20.3751V24.7501H29.0625V20.3751H25.9375Z",fill:r}),gv.createElement("path",{d:"M45.1066 32.7249L42.6066 28.3499L39.8934 29.9003L42.3934 34.2753L45.1066 32.7249Z",fill:r}),gv.createElement("path",{d:"M25.9375 29.1251V33.5001H29.0625V29.1251H25.9375Z",fill:r}),gv.createElement("path",{d:"M48.8566 39.2874L47.6066 37.0999L45.1562 38.5001H45V38.5894L44.8934 38.6503L45 38.8369V41.6251H47.5C48.057 41.6251 48.5719 41.3286 48.8514 40.8468C49.131 40.3651 49.133 39.771 48.8566 39.2874Z",fill:r}),gv.createElement("path",{d:"M25.9375 37.8751V40.0626C25.9375 40.9255 26.6371 41.6251 27.5 41.6251H30V38.5001H29.0625V37.8751H25.9375Z",fill:r}),gv.createElement("path",{d:"M35 41.6251H40V38.5001H35V41.6251Z",fill:r}))}));var KL={transform:"scaleX(-1)"},QL=function(e){var t=e.selectTool,n=e.isSelected,r=e.t,o=pS(),i=o.dispatch,a=o.adjustments.isFlippedX,s=(0,gv.useMemo)((function(){return{reverseLabelOfCurrXFlipDir:r(a?"unFlipX":"flipX"),reverseIconOfCurrXFlipDir:function(){return gv.createElement(XL,{style:a?KL:void 0})}}}),[a]),l=s.reverseLabelOfCurrXFlipDir,u=s.reverseIconOfCurrXFlipDir,c=(0,gv.useCallback)((function(){i({type:iz,payload:{direction:cE}})}),[]),p=(0,gv.useCallback)((function(e){t(e),c()}),[]);return gv.createElement(Uk,{className:"FIE_flip-x-tool-button",id:uE.FLIP_X,label:l,Icon:u,onClick:p,isSelected:n})};QL.defaultProps={isSelected:!1};const JL=QL;var eF=["color","size"],tF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,eF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.5001 24.0625C38.2086 24.0625 38.8284 23.5858 39.0102 22.901C39.1921 22.2162 38.8904 21.4948 38.2753 21.1433L3.27531 1.14333C2.79171 0.866989 2.19757 0.868973 1.71583 1.14854C1.23409 1.4281 0.937592 1.94298 0.937592 2.49996V22.5C0.937592 23.3629 1.63715 24.0625 2.50009 24.0625L37.5001 24.0625ZM4.06259 20.9375L4.06259 5.19243L31.6164 20.9375L4.06259 20.9375Z",fill:r}),gv.createElement("path",{d:"M38.2753 28.8566C38.8904 28.5051 39.1921 27.7837 39.0102 27.0989C38.8284 26.4142 38.2086 25.9375 37.5001 25.9375H35.3126V26.9504L34.5374 27.3933L35.3126 28.75V29.0625H35.4912L36.0878 30.1066L38.2753 28.8566Z",fill:r}),gv.createElement("path",{d:"M27.3378 35.1066L31.7128 32.6066L30.1624 29.8933L25.7874 32.3933L27.3378 35.1066Z",fill:r}),gv.createElement("path",{d:"M30.9376 25.9375H26.5626L26.5626 29.0625H30.9376L30.9376 25.9375Z",fill:r}),gv.createElement("path",{d:"M18.5878 40.1066L22.9628 37.6066L21.4124 34.8933L17.0374 37.3933L18.5878 40.1066Z",fill:r}),gv.createElement("path",{d:"M22.1876 25.9375H17.8126V29.0625H22.1876V25.9375Z",fill:r}),gv.createElement("path",{d:"M9.83781 45.1066L14.2128 42.6066L12.6624 39.8933L8.28738 42.3933L9.83781 45.1066Z",fill:r}),gv.createElement("path",{d:"M13.4376 25.9375H9.0626V29.0625H13.4376V25.9375Z",fill:r}),gv.createElement("path",{d:"M3.27531 48.8566L5.46281 47.6066L4.06259 45.1562V45H3.97331L3.91238 44.8933L3.72578 45H0.937592V47.5C0.937592 48.0569 1.23409 48.5718 1.71583 48.8514C2.19758 49.1309 2.79171 49.1329 3.27531 48.8566Z",fill:r}),gv.createElement("path",{d:"M4.6876 25.9375L2.50009 25.9375C1.63715 25.9375 0.937592 26.637 0.937592 27.5V30H4.06259V29.0625H4.6876V25.9375Z",fill:r}),gv.createElement("path",{d:"M0.937592 35V40L4.06259 40V35H0.937592Z",fill:r}))}));var nF={transform:"scaleY(-1)"},rF=function(e){var t=e.selectTool,n=e.isSelected,r=e.t,o=pS(),i=o.dispatch,a=o.adjustments.isFlippedY,s=(0,gv.useMemo)((function(){return{reverseLabelOfCurrXFlipDir:r(a?"unFlipY":"flipY"),reverseIconOfCurrXFlipDir:function(){return gv.createElement(tF,{style:a?nF:void 0})}}}),[a]),l=s.reverseLabelOfCurrXFlipDir,u=s.reverseIconOfCurrXFlipDir,c=(0,gv.useCallback)((function(){i({type:iz,payload:{direction:pE}})}),[]),p=(0,gv.useCallback)((function(e){t(e),c()}),[]);return gv.createElement(Uk,{className:"FIE_flip-y-tool-button",id:uE.FLIP_Y,label:l,Icon:u,onClick:p,isSelected:n})};rF.defaultProps={isSelected:!1};const oF=rF;var iF=["color","size"],aF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,iF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M2.66029 14.6992L3.59754 14.4432L3.09234 3.93169C3.05919 3.24213 2.47333 2.71 1.78377 2.74314C1.09421 2.77628 0.562076 3.36215 0.595218 4.05171L1.16043 15.8118C1.19357 16.5014 1.77943 17.0335 2.46899 17.0004L14.2291 16.4351C14.9186 16.402 15.4508 15.8161 15.4176 15.1266C15.3845 14.437 14.7986 13.9049 14.1091 13.938L5.48449 14.3525C8.23226 7.41028 15.0052 2.5 22.925 2.5C33.2802 2.5 41.6748 10.8946 41.6748 21.2498C41.6748 22.403 41.5707 23.5319 41.3713 24.6276L43.7968 25.2605C44.0449 23.9617 44.1748 22.6209 44.1748 21.2498C44.1748 9.51386 34.6609 0 22.925 0C15.0467 0 8.16976 4.2873 4.50003 10.6561L2.66029 14.6992Z",fill:r}),gv.createElement("path",{d:"M9.88493 34.7076L8.27775 36.6304C8.82615 37.1534 9.40249 37.6474 10.0043 38.1098L11.5276 36.1275C10.9528 35.6859 10.4044 35.2116 9.88493 34.7076Z",fill:r}),gv.createElement("path",{d:"M12.3142 39.6562C13.9038 40.5759 15.6235 41.2956 17.439 41.7809L18.0846 39.3657C16.4846 38.938 14.9685 38.3036 13.5663 37.4923L12.3142 39.6562Z",fill:r}),gv.createElement("path",{d:"M20.1654 42.3204C21.0738 42.4389 22.0002 42.5001 22.9408 42.5001C23.8815 42.5001 24.8079 42.4389 25.7163 42.3204L25.3929 39.8414C24.5915 39.946 23.7731 40.0001 22.9408 40.0001C22.1086 40.0001 21.2902 39.946 20.4888 39.8414L20.1654 42.3204Z",fill:r}),gv.createElement("path",{d:"M28.4427 41.7809C30.2582 41.2956 31.9779 40.5759 33.5674 39.6562L32.3154 37.4923C30.9132 38.3036 29.3971 38.938 27.7971 39.3657L28.4427 41.7809Z",fill:r}),gv.createElement("path",{d:"M35.8774 38.1098C37.3495 36.9786 38.6692 35.6589 39.8004 34.1868L37.8181 32.6635C36.8193 33.9633 35.6539 35.1287 34.3541 36.1275L35.8774 38.1098Z",fill:r}),gv.createElement("path",{d:"M41.3468 31.8769C42.2665 30.2873 42.9862 28.5676 43.4715 26.7521L41.0563 26.1065C40.6286 27.7065 39.9942 29.2226 39.1829 30.6248L41.3468 31.8769Z",fill:r}))}));var sF=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_rotate-tool-button",id:uE.ROTATE,label:r("rotateTool"),Icon:aF,onClick:t,isSelected:n})};sF.defaultProps={isSelected:!1};const lF=sF;var uF="RotationSlider",cF=eb.ul.attrs({className:_k(uF,"list")}).withConfig({componentId:"sc-1xuruq0-0"})(["display:flex;align-items:center;position:relative;padding:0;width:100%;list-style:none;"]),pF=eb.li.attrs({className:_k(uF,"big-dot")}).withConfig({componentId:"sc-1xuruq0-1"})((function(e){return Iy(["width:8px;height:8px;border-radius:50%;background-color:",";cursor:pointer;"],e.theme.palette[cb.LinkPrimary])}));const dF=kk({RotationSliderList:cF,RotationSliderBigDot:pF,RotationSliderSmallDotWrapper:eb.div.attrs({className:_k(uF,"small-dot-wrapper")}).withConfig({componentId:"sc-1xuruq0-2"})(["padding:2px;"]),RotationSliderSmallDot:eb.li.attrs({className:_k(uF,"small-dot")}).withConfig({componentId:"sc-1xuruq0-3"})((function(e){return Iy(["width:2px;height:2px;border-radius:50%;background-color:",";cursor:pointer;"],e.theme.palette[cb.LinkPrimary])})),RotationSliderControl:eb.span.attrs({className:_k(uF,"control")}).withConfig({componentId:"sc-1xuruq0-4"})((function(e){return Iy(["display:flex;justify-content:center;align-items:center;position:absolute;height:18px;width:2px;transform:translate(-50%,-50%);top:50%;background-color:",";& > input{border:0px;clip:rect(0px,0px,0px,0px);height:100%;margin:-1px;overflow:hidden;padding:0px;position:absolute;white-space:nowrap;width:100%;direction:ltr;}&::before{position:absolute;content:'';border-radius:inherit;width:100%;height:100%;box-shadow:0px 3px 1px -2px rgb(0 0 0 / 20%),0px 2px 2px 0px rgb(0 0 0 / 14%),0px 1px 5px 0px rgb(0 0 0 / 12%);}&::after{position:absolute;content:'';border-radius:50%;width:42px;height:42px;top:50%;left:50%;transform:translate(-50%,-50%);}"],e.theme.palette[cb.LinkActive])})),RotationSliderMark:eb.div.attrs({className:_k(uF,"mark")}).withConfig({componentId:"sc-1xuruq0-5"})(["padding:4px;"]),RotationSliderMarkText:eb.span.attrs({className:_k(uF,"mark-text")}).withConfig({componentId:"sc-1xuruq0-6"})((function(e){return Iy(["position:absolute;top:20px;font-size:14px;transform:translateX(-10%);color:",";"],e.theme.palette[cb.TextPrimary])}))});var fF=["min","max","angle","onChange","onMouseDown","onMouseUp","step","labelTooltipOptions","annotation","hideMarkText","value","railProps","trackProps","thumbProps","labelTooltipProps","markStyles","markTextStyles"];function hF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hF(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gF=xk((function(e,t){var n=e.min,r=void 0===n?0:n,o=e.max,i=void 0===o?100:o,a=e.angle,s=void 0===a?10:a,l=e.onChange,u=(e.onMouseDown,e.onMouseUp,e.step),c=void 0===u?1:u,p=e.labelTooltipOptions,d=void 0===p?ND.Off:p,f=e.annotation,h=void 0===f?"°":f,m=e.hideMarkText,g=void 0!==m&&m,v=e.value,y=e.railProps,b=void 0===y?{}:y,A=e.trackProps,C=void 0===A?{}:A,w=e.thumbProps,x=void 0===w?{}:w,E=e.labelTooltipProps,_=void 0===E?{}:E,k=e.markStyles,S=void 0===k?{}:k,D=e.markTextStyles,T=void 0===D?{}:D,O=yv(e,fF);return gv.createElement(XD,Mb({min:r,max:i,step:c,value:v||0===v?v>i?i:v<r?r:v:r,hideTrack:!0,hideAnnotation:!0,annotation:h,onChange:function(e,t){l&&l(e,t)},labelTooltip:d,ref:t,components:{Rail:function(e,t){return gv.createElement(dF.RotationSliderList,Mb({},e,{styles:mF({},t)}),function(){for(var e,t=[],n=r;n<=i;n+=c)e=[],n%s==0||n===i?e=gv.createElement(dF.RotationSliderMark,{key:n,style:mF({},S)},!g&&gv.createElement(dF.RotationSliderMarkText,{style:mF({},T)},n===r+1?i:n,gv.createElement("sup",null,h)),gv.createElement(dF.RotationSliderBigDot,null)):n%10==0&&(e=gv.createElement(dF.RotationSliderSmallDotWrapper,{key:n},gv.createElement(dF.RotationSliderSmallDot,null))),Array.isArray(e)||t.push(e);return t}())},Thumb:dF.RotationSliderControl},componentsProps:{rail:mF(mF({},b),{},{style:mF({},b.style)}),track:mF(mF({},C),{},{style:mF({},C.style)}),thumb:mF(mF({},x),{},{style:mF({top:"15%"},x.style)}),labelTooltip:mF(mF({},_),{},{style:mF({},_.style)})}},O,{defaultValue:Number(O.defaultValue),style:mF({width:"auto",height:"auto"},O.style)}))}));gF.defaultProps={annotation:"°",min:0,max:100,step:1,labelTooltipOptions:ND.Off},gF.propTypes={value:Av().oneOfType([Av().array,Av().number]),min:Av().number,max:Av().number,angle:Av().number,onChange:Av().func,onMouseDown:Av().func,onMouseUp:Av().func,step:Av().number,annotation:Av().string,hideMarkText:Av().bool,railProps:Av().object,trackProps:Av().object,thumbProps:Av().object,labelTooltipProps:Av().object,markStyles:Av().object,markTextStyles:Av().object,labelTooltipOptions:Av().oneOf(ob(ND))};const vF=gF;var yF=["color","size"],bF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,yF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("g",{clipPath:"url(#clip0)"},gv.createElement("path",{d:"M24.5667 25.0889H0.275391V1L11.2065 11.9311C15.6599 7.68012 20.5182 5.85827 26.591 5.85827C38.1294 5.85827 46.4289 12.336 49.6677 23.8744L47.441 24.4816C44.607 13.9554 37.3196 8.2874 26.7934 8.2874C21.3278 8.2874 17.2793 9.90684 13.0283 13.753L24.5667 25.0889Z",fill:r}),gv.createElement("path",{d:"M15.6602 45.3317L17.0772 43.3075C16.4699 42.9026 15.8626 42.2953 15.2553 41.8905L13.6359 43.5099C14.2432 44.1172 15.0529 44.7244 15.6602 45.3317Z",fill:r}),gv.createElement("path",{d:"M20.1135 47.5585L20.9232 45.3318C22.3402 45.9391 23.7572 46.1415 25.1742 46.3439L24.9718 48.7731C24.3645 48.7731 23.7572 48.5707 23.1499 48.3682C21.9354 48.1658 21.1257 47.9633 20.1135 47.5585ZM29.6276 46.5463C31.0446 46.3439 32.4616 46.1415 33.8786 45.7367L34.6883 47.9634C33.0689 48.5707 31.4495 48.7731 29.83 48.9755L29.6276 46.5463ZM38.1296 43.9148C39.3441 43.1051 40.5587 42.2954 41.7733 41.2833L43.3927 43.1051C42.1782 44.3197 40.7612 45.1294 39.3441 46.1415L38.1296 43.9148ZM44.4048 37.842C45.2145 36.6274 46.0243 35.2104 46.4291 33.9959L48.6558 34.8056C48.0485 36.425 47.2388 37.842 46.4291 39.2589L44.4048 37.842Z",fill:r}),gv.createElement("path",{d:"M47.6438 29.5423L50.073 29.7448C50.2754 28.7326 50.2754 27.9229 50.2754 26.9107H47.8462C47.8462 27.9229 47.8463 28.7327 47.6438 29.5423Z",fill:r})),gv.createElement("defs",null,gv.createElement("clipPath",{id:"clip0"},gv.createElement("rect",{width:"50",height:"50",fill:"white",transform:"translate(0.275391)"}))))}));const AF=bF;var CF=["color","size"],wF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,CF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("g",{clipPath:"url(#clip0)"},gv.createElement("path",{d:"M50.2753 26.8064H24.4689L36.5656 14.7096C32.735 11.0806 28.7027 9.66933 23.6624 9.66933C13.3802 9.66933 6.32372 15.3145 3.50118 25.5967L0.275391 24.7903C3.50118 13.0968 11.9689 6.44355 23.6625 6.44355C29.7109 6.44355 34.348 8.25806 38.9851 12.2903L50.2754 1L50.2753 26.8064Z",fill:r}),gv.createElement("path",{d:"M34.5495 46.3628L33.1382 44.3467C33.743 43.9435 34.3479 43.3386 34.9527 42.9355L36.5656 44.75C35.9608 45.1532 35.3559 45.758 34.5495 46.3628Z",fill:r}),gv.createElement("path",{d:"M27.2913 49.387C26.6865 49.5886 26.0817 49.5886 25.4768 49.7903L25.0736 47.3709C26.4848 47.1693 27.8962 46.7661 29.3074 46.3628L30.1139 48.5806C29.1058 48.9838 28.2994 49.1854 27.2913 49.387ZM20.4365 49.9919C18.8235 49.7903 17.2107 49.5886 15.5978 48.9838L16.4042 46.766C17.8155 47.1693 19.2268 47.5724 20.6381 47.5724L20.4365 49.9919ZM11.1623 46.9677C9.75104 46.1612 8.33971 45.1532 7.13003 43.9435L8.74296 42.129C9.75104 43.137 10.9607 43.9435 12.372 44.7499L11.1623 46.9677ZM3.90425 40.3144C2.89617 38.9032 2.08974 37.2903 1.6865 35.879L3.90425 35.0726C4.50909 36.4838 5.11393 37.6935 5.92036 38.9032L3.90425 40.3144Z",fill:r}),gv.createElement("path",{d:"M3.2996 30.0322L0.880241 30.2338C0.678647 29.2257 0.678647 28.4193 0.678647 27.4112H3.09801C3.09801 28.4193 3.2996 29.2258 3.2996 30.0322Z",fill:r})),gv.createElement("defs",null,gv.createElement("clipPath",{id:"clip0"},gv.createElement("rect",{width:"50",height:"50",fill:"white",transform:"translate(0.275391)"}))))}));const xF=wF;const EF=function(){var e=pS(),t=e.dispatch,n=e.adjustments.rotation,r=void 0===n?0:n,o=e.resize,i=void 0===o?{}:o,a=e.config[uE.ROTATE],s=US((function(e,n){var r=AS(n,-180,180);if(t({type:fz,payload:{rotation:r}}),i.width&&i.height){var o=aD(i.width,i.height,r);t({type:Yz,payload:{width:o.width,height:o.height}})}}),20);return"buttons"===a.componentType?gv.createElement(gv.Fragment,null,gv.createElement(Uk,{className:"FIE_rotate_button_left",id:uE.IMAGE,label:"-".concat(a.angle,"°"),Icon:AF,onClick:function(e){var t=r-a.angle;s(e,t)}}),gv.createElement(Uk,{className:"FIE_rotate_button_right",id:uE.IMAGE,label:"+".concat(a.angle,"°"),Icon:xF,onClick:function(e){var t=r+a.angle;s(e,t)}})):gv.createElement(vF,{className:"FIE_rotate-slider",min:-180,max:180,value:r,angle:a.angle||90,onChange:s,style:{marginBottom:20}})};var _F=["color","size"],kF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,_F);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4376 40.6858V38.5625V4.18746V3.31418C10.8133 4.10816 3.25006 12.1708 3.25006 22C3.25006 31.8292 10.8133 39.8918 20.4376 40.6858ZM40.7501 22C40.7501 31.8292 33.1868 39.8918 23.5626 40.6858V38.5625V4.18746V3.31418C33.1868 4.10816 40.7501 12.1708 40.7501 22ZM43.8751 22C43.8751 34.0812 34.0813 43.875 22.0001 43.875C9.91883 43.875 0.125061 34.0812 0.125061 22C0.125061 9.91877 9.91883 0.125 22.0001 0.125C34.0813 0.125 43.8751 9.91877 43.8751 22Z",fill:r}))}));var SF=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_contrast-tool-button",id:uE.CONTRAST,label:r("contrastTool"),Icon:kF,onClick:t,isSelected:n})};SF.defaultProps={isSelected:!1};const DF=SF;var TF={contrast:0},OF={width:150,padding:0};const PF=function(){var e,t=Nb(hS(Gw.Filters.Contrast,TF),2),n=t[0],r=t[1];return gv.createElement(JD,{className:"FIE_contrast-option",min:-100,max:100,value:null!==(e=n.contrast)&&void 0!==e?e:TF.contrast,onChange:function(e){r({contrast:AS(e,-100,100)})},style:OF})};var LF=["color","size"],FF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,LF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.2341 37.6984H37.5121V37.4237C41.4447 33.4687 43.875 28.0182 43.875 22C43.875 15.9819 41.4447 10.5314 37.5121 6.57632V6.30045H37.2328C33.2942 2.47819 27.9219 0.125031 22 0.125031C9.91877 0.125031 0.125 9.9188 0.125 22C0.125 34.0813 9.91877 43.875 22 43.875C24.718 43.875 27.3203 43.3793 29.7213 42.4733H30.5303V42.1494C33.0389 41.0861 35.308 39.5679 37.2341 37.6984ZM20.4257 3.31519C10.807 4.1148 3.25 12.1749 3.25 22C3.25 31.8252 10.807 39.8853 20.4257 40.6849V3.31519ZM34.3871 36.0759C33.221 37.1029 31.9263 37.9873 30.5303 38.7017V5.29836C31.9263 6.01281 33.221 6.89715 34.3871 7.92411V36.0759ZM37.5121 11.4641C39.5556 14.4669 40.75 18.094 40.75 22C40.75 25.9061 39.5556 29.5332 37.5121 32.536V11.4641ZM23.5507 40.6868C24.8796 40.578 26.1693 40.3307 27.4053 39.9592V4.04089C26.1693 3.66941 24.8796 3.42203 23.5507 3.31324V40.6868Z",fill:r}))}));var jF=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_hsv-tool-button",id:uE.HSV,label:r("hsvTool"),Icon:FF,onClick:t,isSelected:n})};jF.defaultProps={isSelected:!1};const BF=jF;var IF=eb.div.withConfig({componentId:"sc-tm5uj2-0"})(["margin:6px;"]),NF={hue:0,saturation:0,value:0},MF={padding:0};const RF=function(e){var t,n,r,o=e.t,i=Nb(hS(Gw.Filters.HSV,NF),2),a=i[0],s=i[1],l=function(e,t){s(dv({},e,+t))};return gv.createElement(gv.Fragment,null,gv.createElement(IF,{className:"FIE_hue-option-wrapper"},gv.createElement(jk,{className:"FIE_hue-option-label"},o("hue")),gv.createElement(JD,{className:"FIE_hue-option",min:0,step:1,max:259,value:null!==(t=a.hue)&&void 0!==t?t:NF.hue,onChange:function(e){return l("hue",e)},style:MF})),gv.createElement(IF,{className:"FIE_saturation-option-wrapper"},gv.createElement(jk,{className:"FIE_saturation-option-label"},o("saturation")),gv.createElement(JD,{className:"FIE_saturation-option",min:-2,step:.5,max:10,value:null!==(n=a.saturation)&&void 0!==n?n:NF.saturation,onChange:function(e){return l("saturation",e)},style:MF})),gv.createElement(IF,{className:"FIE_value-option-wrapper"},gv.createElement(jk,{className:"FIE_value-option-label"},o("value")),gv.createElement(JD,{className:"FIE_value-option",min:-2,step:.1,max:2,value:null!==(r=a.value)&&void 0!==r?r:NF.value,onChange:function(e){return l("value",e)},style:MF})))};var zF=["color","size"],UF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,zF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M18.3626 41.293C17.5103 41.4285 16.7096 40.8474 16.5742 39.9952C16.4387 39.143 17.0198 38.3423 17.872 38.2068C18.2902 38.1403 18.6988 38.0456 19.0958 37.9246C21.9368 37.059 24.1957 34.8468 25.1254 32.0335C25.2671 31.6049 25.378 31.1621 25.4555 30.7076C25.6005 29.857 26.4076 29.2849 27.2583 29.4299C28.109 29.5749 28.681 30.3821 28.536 31.2327C28.432 31.8429 28.283 32.4379 28.0926 33.0142C26.8449 36.7893 23.8206 39.7519 20.0065 40.914C19.4728 41.0766 18.9239 41.2038 18.3626 41.293Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.9356 31.0645C33.9356 23.9644 24.1764 8.59028 19.4747 1.59549C18.2785 -0.184172 15.7216 -0.184172 14.5254 1.59548C9.82374 8.59028 0.0645752 23.9644 0.0645752 31.0645C0.0645752 40.4177 7.64685 48 17.0001 48C26.3533 48 33.9356 40.4177 33.9356 31.0645ZM30.8106 31.0645C30.8106 29.8836 30.375 28.0316 29.4236 25.578C28.5 23.1959 27.1988 20.5159 25.7187 17.7756C22.8106 12.3913 19.3287 6.98743 17.0001 3.51586C14.6715 6.98743 11.1895 12.3913 8.28145 17.7756C6.80135 20.5159 5.50017 23.1959 4.57655 25.578C3.62517 28.0316 3.18958 29.8836 3.18958 31.0645C3.18958 38.6918 9.37274 44.875 17.0001 44.875C24.6274 44.875 30.8106 38.6918 30.8106 31.0645Z",fill:r}))}));var $F=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_blur-tool-button",id:uE.BLUR,label:r("blurTool"),Icon:UF,onClick:t,isSelected:n})};$F.defaultProps={isSelected:!1};const HF=$F;var qF={blurRadius:0},VF={width:150,padding:0};const GF=function(){var e,t=Nb(hS(Gw.Filters.Blur,qF),2),n=t[0],r=t[1];return gv.createElement(JD,{className:"FIE_blur-option",min:0,max:100,value:null!==(e=n.blurRadius)&&void 0!==e?e:qF.blurRadius,onChange:function(e){r({blurRadius:AS(e,0,100)})},style:VF})};var WF=["color","size"],ZF=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,WF);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.48799 3.125H17.0311L17.0311 24.4063C17.0311 26.6148 18.1889 28.4084 19.5429 29.5401C21.7011 31.3438 23.0656 34.0456 23.0656 37.069C23.0656 42.4847 18.6753 46.875 13.2595 46.875C7.84382 46.875 3.45351 42.4847 3.45351 37.069C3.45351 34.0456 4.81799 31.3438 6.97617 29.5401C8.33021 28.4084 9.48799 26.6148 9.48799 24.4063V3.125ZM20.1561 3.125C20.1561 1.39911 18.757 0 17.0311 0H9.48799C7.7621 0 6.36299 1.39911 6.36299 3.125V24.4063C6.36299 25.4785 5.79482 26.4547 4.97216 27.1423C2.13398 29.5143 0.328506 33.0808 0.328506 37.069C0.328506 44.2106 6.11793 50 13.2595 50C20.4012 50 26.1906 44.2106 26.1906 37.069C26.1906 33.0808 24.3851 29.5143 21.5469 27.1423C20.7243 26.4547 20.1561 25.4785 20.1561 24.4063V3.125ZM35.6715 1.25C35.6715 0.559645 35.1119 0 34.4215 0H28.1715C27.4812 0 26.9215 0.559644 26.9215 1.25C26.9215 1.94036 27.4812 2.5 28.1715 2.5L34.4215 2.5C35.1119 2.5 35.6715 1.94036 35.6715 1.25ZM35.6715 8.24951C35.6715 7.55916 35.1119 6.99951 34.4215 6.99951H28.1715C27.4812 6.99951 26.9215 7.55916 26.9215 8.24951C26.9215 8.93987 27.4812 9.49951 28.1715 9.49951H34.4215C35.1119 9.49951 35.6715 8.93987 35.6715 8.24951ZM34.4215 13.999C35.1119 13.999 35.6715 14.5587 35.6715 15.249C35.6715 15.9394 35.1119 16.499 34.4215 16.499H28.1715C27.4812 16.499 26.9215 15.9394 26.9215 15.249C26.9215 14.5587 27.4812 13.999 28.1715 13.999H34.4215ZM13.2594 43.7501C16.366 43.7501 18.8844 41.2317 18.8844 38.1251C18.8844 35.4037 16.9519 33.1337 14.3844 32.6126V10.3662C14.3844 9.67582 13.8247 9.11617 13.1344 9.11617C12.444 9.11617 11.8844 9.67582 11.8844 10.3662V32.6694C9.44245 33.2829 7.63441 35.4928 7.63441 38.1251C7.63441 41.2317 10.1528 43.7501 13.2594 43.7501Z",fill:r}))}));var YF=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_warmth-tool-button",id:uE.WARMTH,label:r("warmthTool"),Icon:ZF,onClick:t,isSelected:n})};YF.defaultProps={isSelected:!1};const XF=YF;var KF={warmth:0},QF={width:150,padding:0};const JF=function(){var e,t=Nb(hS(K_,KF),2),n=t[0],r=t[1];return gv.createElement(JD,{className:"FIE_warmth-option",min:0,max:200,value:null!==(e=n.warmth)&&void 0!==e?e:KF.warmth,onChange:function(e){r({warmth:AS(e,0,200)})},style:QF})};var ej=["stroke","size"],tj=Ak((function(e,t){var n=e.stroke,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?10:o,a=yv(e,ej);return gv.createElement("svg",Mb({ref:t,width:i*(51/56),height:i,viewBox:"0 0 51 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M12.2754 3L37.2754 27.0741L12.2754 53",stroke:r,strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}))}));const nj=tj;var rj=eb.div.withConfig({componentId:"sc-1nr0bka-0"})(["max-width:680px;min-width:150px;position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;"]),oj=eb.ul.withConfig({componentId:"sc-1nr0bka-1"})(["padding:0;margin:0;white-space:nowrap;overflow:hidden;"]),ij=eb.li.withConfig({componentId:"sc-1nr0bka-2"})(["padding:4px;display:inline-block;list-style-type:none;user-select:none;"]),aj="\n  position: absolute;\n  top: 0;\n  height: 100%;\n  width: 30px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  z-index: 1;\n",sj=eb.div.withConfig({componentId:"sc-1nr0bka-3"})([""," left:0;background:linear-gradient( 90deg,#ffffff 1.56%,rgba(255,255,255,0.93) 70%,rgba(255,255,255,0) 100% );svg{transform:scaleX(-1);}"],aj),lj=eb.div.withConfig({componentId:"sc-1nr0bka-4"})([""," background:linear-gradient( 270deg,#ffffff 1.56%,rgba(255,255,255,0.93) 70%,rgba(255,255,255,0) 100% );right:0;"],aj),uj=function(e){var t=e.children,n=e.style,r=e.className,o=(0,gv.useRef)(!1),i=(0,gv.useRef)(),a=Nb(eD(),1)[0],s=Nb((0,gv.useState)(!1),2),l=s[0],u=s[1],c=Nb((0,gv.useState)(!1),2),p=c[0],d=c[1],f=gv.Children.toArray(t),h=function(){if(i.current){var e=i.current,t=e.scrollWidth,n=e.offsetWidth,r=e.scrollLeft,o=Math.round(t-n),a=Math.round(o-r);u(0<r),d(0<a)}},m=function(e,t){var n=e.findIndex((function(e){return e.classList.contains("FIE_carousel-item")}));-1!==n&&(e[n].scrollIntoView({inline:t,behavior:"smooth",block:"nearest"}),setTimeout((function(){h()}),500))},g=function(e){if(o.current){var t,n=((null===(t=e.touches)||void 0===t?void 0:t[0])||e).pageX;i.current.scrollBy(o.current-n,0),o.current=n,vS(h,30)()}},v=function(){o.current=null,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",v),document.removeEventListener("touchmove",g),document.removeEventListener("touchcancel",v),document.removeEventListener("touchend",v)},y=function(e){var t;o.current=((null===(t=e.touches)||void 0===t?void 0:t[0])||e).pageX,document.addEventListener("mousemove",g),document.addEventListener("mouseup",v),document.addEventListener("touchmove",g),document.addEventListener("touchcancel",v),document.addEventListener("touchend",v)};return(0,gv.useEffect)((function(){i.current&&a(i.current,h)}),[]),gv.createElement(rj,{className:"".concat(r,"-wrapper"),style:n,onMouseDown:y,onTouchStart:y},l&&gv.createElement(sj,{className:"FIE_carousel-prev-button",onClick:function(e){var t=yS(),n=t.topOffset,r=t.leftOffset,o=document.elementsFromPoint(e.pageX+e.currentTarget.offsetWidth-r,e.pageY-n);m(o,"end")}},gv.createElement(nj,null)),gv.createElement(oj,{className:"".concat(r,"-items"),ref:i},f.map((function(e){return gv.createElement(ij,{className:"".concat(r,"-item-wrapper FIE_carousel-item"),key:e.key},e)}))),p&&gv.createElement(lj,{className:"FIE_carousel-next-button",onClick:function(e){var t=yS(),n=t.topOffset,r=t.leftOffset,o=document.elementsFromPoint(e.pageX-e.currentTarget.offsetWidth-r,e.pageY-n);m(o,"start")}},gv.createElement(nj,null)))};uj.defaultProps={style:null};const cj=uj;var pj=eb.div.withConfig({componentId:"sc-oxugzy-0"})(["display:inline-flex;flex-direction:column;align-items:center;justify-content:center;margin:0 4px;padding:2px;cursor:pointer;border-radius:2px;canvas{border-radius:2px;}"]),dj=eb(Jx).withConfig({componentId:"sc-oxugzy-1"})(["[aria-selected='true'] &{padding:1px;border:2px solid ",";border-radius:2px;}"],(function(e){return e.theme.palette["accent-primary-active"]})),fj=eb(jk).withConfig({componentId:"sc-oxugzy-2"})(["margin-top:6px;font-size:11px;line-height:12px;[aria-selected='true'] &{color:",";}"],(function(e){return e.theme.palette["accent-primary-active"]})),hj=function(e){var t=e.filterLabel,n=e.filterFn,r=e.applyFilter,o=e.isActive,i=e.image,a=(0,gv.useRef)(),s=(0,gv.useCallback)((function(){r(n)}),[n]),l=(0,gv.useCallback)((function(){a.current?a.current.cache():setTimeout(l,0)}),[]);return(0,gv.useEffect)((function(){return i&&l(),function(){var e;null===(e=a.current)||void 0===e||e.clearCache()}}),[i]),gv.createElement(pj,{className:"FIE_filters-item",onClick:s,"aria-selected":o},gv.createElement(dj,{className:"FIE_filters-item-preview",width:60,height:45},gv.createElement(Wx,{onTap:s},gv.createElement(Xx,{image:i,filters:n?[n]:[],width:60,height:45,x:0,y:0,ref:a}))),gv.createElement(fj,{className:"FIE_filters-item-label"},t))};hj.defaultProps={filterFn:void 0};const mj=(0,gv.memo)(hj);var gj=Gw.Filters,vj=[{label:"Original",filterFn:null},{label:"Invert",filterFn:gj.Invert},{label:"Black & White",filterFn:ME},{label:"Sepia",filterFn:gj.Sepia},{label:"Solarize",filterFn:gj.Solarize},{label:"Clarendon",filterFn:zE},{label:"Gingham",filterFn:UE},{label:"Moon",filterFn:$E},{label:"Lark",filterFn:qE},{label:"Reyes",filterFn:VE},{label:"Juno",filterFn:WE},{label:"Slumber",filterFn:ZE},{label:"Crema",filterFn:XE},{label:"Ludwig",filterFn:KE},{label:"Aden",filterFn:JE},{label:"Perpetua",filterFn:t_},{label:"Amaro",filterFn:n_},{label:"Mayfair",filterFn:o_},{label:"Rise",filterFn:a_},{label:"Hudson",filterFn:l_},{label:"Valencia",filterFn:c_},{label:"X-Pro II",filterFn:d_},{label:"Sierra",filterFn:f_},{label:"Willow",filterFn:m_},{label:"Lo-Fi",filterFn:g_},{label:"Inkwell",filterFn:gj.Grayscale},{label:"Hefe",filterFn:v_},{label:"Nashville",filterFn:b_},{label:"Stinson",filterFn:A_},{label:"Vesper",filterFn:w_},{label:"Earlybird",filterFn:E_},{label:"Brannan",filterFn:k_},{label:"Sutro",filterFn:S_},{label:"Toaster",filterFn:T_},{label:"Walden",filterFn:P_},{label:"1977",filterFn:F_},{label:"Kelvin",filterFn:I_},{label:"Maven",filterFn:M_},{label:"Ginza",filterFn:R_},{label:"Skyline",filterFn:z_},{label:"Dogpatch",filterFn:U_},{label:"Brooklyn",filterFn:H_},{label:"Helena",filterFn:V_},{label:"Ashby",filterFn:W_},{label:"Charmes",filterFn:Y_}],yj={maxWidth:"100%",width:"100%"};const bj=function(){var e=pS().originalImage,t=Nb(mS(),2),n=t[0],r=t[1];return gv.createElement(cj,{className:"FIE_filters",style:yj},vj.map((function(t){return gv.createElement(mj,{key:t.label,filterLabel:t.label,filterFn:t.filterFn,applyFilter:r,isActive:n===t.filterFn,image:e})})))};var Aj=["color","size"],Cj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Aj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M39.4229 8.89453L39.7891 16.6582H38.8613C38.6823 15.291 38.4382 14.3145 38.1289 13.7285C37.6243 12.7845 36.9489 12.0928 36.1025 11.6533C35.2725 11.1976 34.1738 10.9697 32.8066 10.9697H28.1436V36.2627C28.1436 38.2972 28.3633 39.5667 28.8027 40.0713C29.4212 40.7549 30.3734 41.0967 31.6592 41.0967H32.8066V42H18.7686V41.0967H19.9404C21.3402 41.0967 22.333 40.6735 22.9189 39.8271C23.277 39.3063 23.4561 38.1182 23.4561 36.2627V10.9697H19.4766C17.9303 10.9697 16.8317 11.0837 16.1807 11.3115C15.3343 11.6208 14.61 12.2148 14.0078 13.0938C13.4056 13.9727 13.0475 15.1608 12.9336 16.6582H12.0059L12.3965 8.89453H39.4229Z",fill:r}))}));const wj=Cj;var xj=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_text-tool-button",id:uE.TEXT,label:r("textTool"),Icon:Cj,onClick:t,isSelected:n})};xj.defaultProps={isSelected:!1};const Ej=xj;var _j=["color","size"],kj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,_j);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M0.214966 17.4813V0.518677H6.61123C8.82693 0.518677 10.5075 0.914783 11.653 1.70699C12.7985 2.49144 13.3712 3.64481 13.3712 5.16709C13.3712 5.99814 13.1413 6.7321 12.6814 7.36898C12.2216 7.99809 11.5819 8.46021 10.7625 8.75535C11.699 8.97282 12.4348 9.41164 12.9699 10.0718C13.5133 10.732 13.7851 11.5397 13.7851 12.4951C13.7851 14.1261 13.2249 15.361 12.1045 16.1998C10.9841 17.0386 9.38713 17.4658 7.31357 17.4813H0.214966ZM3.97748 10.0951V14.6736H7.20069C8.08697 14.6736 8.77677 14.4795 9.27007 14.0911C9.77174 13.695 10.0226 13.1513 10.0226 12.4601C10.0226 10.9067 9.1572 10.1184 7.42644 10.0951H3.97748ZM3.97748 7.62528H6.76173C8.65971 7.59421 9.6087 6.89132 9.6087 5.5166C9.6087 4.74769 9.36623 4.19625 8.88128 3.86228C8.4047 3.52054 7.64801 3.34967 6.61123 3.34967H3.97748V7.62528Z",fill:r}))}));const Sj=kj;var Dj=["color","size"],Tj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Dj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M2.57409 19.3964H0.160461L3.42596 0.603638H5.83958L2.57409 19.3964Z",fill:r}))}));const Oj=Tj;var Pj=["color","size"],Lj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Pj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M0.166672 0.166664H8.50001V8.5H0.166672V0.166664Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8333 8.5H8.50001V16.8333H0.166672V25.1667H8.50001V33.5H0.166672V41.8333H8.50001V33.5H16.8333V41.8333H25.1667V33.5H33.5V41.8333H41.8333V33.5H33.5V25.1667H41.8333V16.8333H33.5V8.5H41.8333V0.166664H33.5V8.5H25.1667V0.166664H16.8333V8.5ZM16.8333 16.8333V8.5H25.1667V16.8333H16.8333ZM16.8333 25.1667V33.5H25.1667V25.1667H33.5V16.8333H25.1667V25.1667H16.8333ZM16.8333 25.1667H8.50001V16.8333H16.8333V25.1667Z",fill:r}))}));const Fj=Lj;var jj=["color","size"],Bj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,jj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.95831 0.458374C1.5776 0.458374 0.458313 1.57766 0.458313 2.95837V35.4584C0.458313 36.8391 1.5776 37.9584 2.95831 37.9584H7.54167V43.7917C7.54167 45.8627 9.2206 47.5417 11.2917 47.5417H43.7917C45.8627 47.5417 47.5417 45.8627 47.5417 43.7917V11.2917C47.5417 9.22059 45.8627 7.54166 43.7917 7.54166H37.9583V2.95837C37.9583 1.57766 36.839 0.458374 35.4583 0.458374H2.95831ZM35.4583 2.95837H2.95831L2.95831 35.4584H35.4583V2.95837ZM15.7267 37.9584L10.0417 43.746V37.9584H15.7267ZM11.5135 45.0417L18.4712 37.9584H28.5529L21.4696 45.0417H11.5135ZM24.4159 45.0417H34.2932L45.0417 34.1339V24.0207L37.9583 31.3242V35.4584C37.9583 36.8391 36.839 37.9584 35.4583 37.9584H31.4912C31.4689 37.9859 31.445 38.0126 31.4194 38.0382L24.4159 45.0417ZM45.0417 21.3515L37.9583 28.655V18.9107L45.0417 11.8338V21.3515ZM37.0311 45.0417H43.7917C44.482 45.0417 45.0417 44.482 45.0417 43.7917V36.9124L37.0311 45.0417ZM43.8844 10.045C43.8538 10.0428 43.8229 10.0417 43.7917 10.0417H37.9583V15.9657L43.8844 10.045Z",fill:r}))}));const Ij=Bj;var Nj=["color","size"],Mj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Nj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.50015 7.9997C5.50015 6.61898 6.61944 5.49969 8.00015 5.49969H38.0002C39.3809 5.49969 40.5002 6.61898 40.5002 7.99969V37.9997C40.5002 39.3804 39.3809 40.4997 38.0002 40.4997H8.00015C6.61944 40.4997 5.50015 39.3804 5.50015 37.9997V7.9997ZM8.00015 7.99969H38.0002V37.9997H8.00015V7.99969Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 3C0.5 1.61929 1.61929 0.5 3 0.5H43C44.3807 0.5 45.5 1.61929 45.5 3V43C45.5 44.3807 44.3807 45.5 43 45.5H3C1.61929 45.5 0.5 44.3807 0.5 43V3ZM3 3H43V43H3V3Z",fill:r}))}));const Rj=Mj;var zj=["color","size"],Uj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,zj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M9.25008 9.24878H11.7501V10.9675H10.9688V11.7488H9.25008V9.24878Z",fill:r}),gv.createElement("path",{d:"M9.25008 34.2488V36.7488H11.7501V35.03H10.9688V34.2488H9.25008Z",fill:r}),gv.createElement("path",{d:"M34.2501 36.7488H36.7501V34.2488H35.0313V35.03H34.2501V36.7488Z",fill:r}),gv.createElement("path",{d:"M36.7501 11.7488V9.24878H34.2501V10.9675H35.0313V11.7488H36.7501Z",fill:r}),gv.createElement("path",{d:"M14.4063 9.24878V11.7488H17.8438V9.24878H14.4063Z",fill:r}),gv.createElement("path",{d:"M21.2813 9.24878V11.7488H24.7188V9.24878H21.2813Z",fill:r}),gv.createElement("path",{d:"M28.1563 9.24878V11.7488H31.5938V9.24878H28.1563Z",fill:r}),gv.createElement("path",{d:"M36.7501 14.405H34.2501V17.8425H36.7501V14.405Z",fill:r}),gv.createElement("path",{d:"M36.7501 21.28H34.2501V24.7175H36.7501V21.28Z",fill:r}),gv.createElement("path",{d:"M36.7501 28.155H34.2501V31.5925H36.7501V28.155Z",fill:r}),gv.createElement("path",{d:"M31.5938 36.7488V34.2488H28.1563V36.7488H31.5938Z",fill:r}),gv.createElement("path",{d:"M24.7188 36.7488V34.2488H21.2813V36.7488H24.7188Z",fill:r}),gv.createElement("path",{d:"M17.8438 36.7488V34.2488H14.4063V36.7488H17.8438Z",fill:r}),gv.createElement("path",{d:"M9.25008 31.5925H11.7501V28.155H9.25008V31.5925Z",fill:r}),gv.createElement("path",{d:"M9.25008 24.7175H11.7501V21.28H9.25008V24.7175Z",fill:r}),gv.createElement("path",{d:"M9.25008 17.8425H11.7501V14.405H9.25008V17.8425Z",fill:r}),gv.createElement("path",{d:"M23.0002 26.7497C25.0712 26.7497 26.7502 25.0708 26.7502 22.9997C26.7502 20.9286 25.0712 19.2497 23.0002 19.2497C20.9291 19.2497 19.2502 20.9286 19.2502 22.9997C19.2502 25.0708 20.9291 26.7497 23.0002 26.7497Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 0.5C1.61929 0.5 0.5 1.61929 0.5 3V43C0.5 44.3807 1.61929 45.5 3 45.5H43C44.3807 45.5 45.5 44.3807 45.5 43V3C45.5 1.61929 44.3807 0.5 43 0.5H3ZM43 3H3V43H43V3Z",fill:r}))}));const $j=Uj;var Hj=eb.div.withConfig({componentId:"sc-qvjmv1-0"})(["display:flex;align-items:center;justify-content:center;margin-top:8px;flex-wrap:wrap;"]),qj=eb.div.withConfig({componentId:"sc-qvjmv1-1"})(["background:",";box-shadow:0px 1px 2px ",";border-radius:2px;overflow:visible;*{font-family:'Roboto',sans-serif;}"],(function(e){return e.theme.palette["bg-secondary"]}),(function(e){return e.theme.palette["light-shadow"]})),Vj=eb.div.withConfig({componentId:"sc-qvjmv1-2"})(["padding:8px 12px;"]),Gj=eb(jk).withConfig({componentId:"sc-qvjmv1-3"})(["font-weight:500;margin-bottom:12px;"]),Wj=eb.div.withConfig({componentId:"sc-qvjmv1-4"})(["display:flex;align-items:center;justify-content:space-between;"]),Zj=eb.div.withConfig({componentId:"sc-qvjmv1-5"})(["&:not(:first-child){margin-left:12px;}"]),Yj=eb.div.withConfig({componentId:"sc-qvjmv1-6"})((function(e){var t=e.theme,n=e.addThinBorder,r=e.noMargin,o=e.secondaryIconColor;return"\n    cursor: pointer;\n    padding: 3px 6px;\n    margin: ".concat(r?0:"0 4px",";\n    display: inline-block;\n\n    svg {\n      vertical-align: middle;\n      margin: 0 auto;\n    }\n\n    ").concat(n?"border: 0.5px solid ".concat(t.palette["borders-secondary"]):"",";\n    color: ").concat(o?"#959DA8":"",";\n\n    &[aria-selected='true'] {\n      background: ").concat(t.palette["bg-primary-active"],";\n\n      * {\n        color: ").concat(t.palette["accent-primary-active"],";\n      }\n    }\n\n    :hover {\n      background: ").concat(t.palette["bg-primary-active"],";\n    }\n  ")}));const Xj=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.opacity;return gv.createElement(Vj,null,gv.createElement(jk,null,r("opacity")),gv.createElement(JD,{annotation:"%",onChange:function(e){n({opacity:AS(e/100,0,1)})},value:Math.round(100*o)}))};var Kj=["color","size"],Qj=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Kj);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M15.75 17.3125C15.75 16.4496 16.4496 15.75 17.3125 15.75C18.1754 15.75 18.875 16.4496 18.875 17.3125L18.875 32.9375C18.875 33.8005 18.1754 34.5 17.3125 34.5C16.4496 34.5 15.75 33.8005 15.75 32.9375L15.75 17.3125Z",fill:r}),gv.createElement("path",{d:"M26.6875 15.75C25.8246 15.75 25.125 16.4496 25.125 17.3125L25.125 32.9375C25.125 33.8005 25.8246 34.5 26.6875 34.5C27.5504 34.5 28.25 33.8005 28.25 32.9375V17.3125C28.25 16.4496 27.5504 15.75 26.6875 15.75Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.625 6.37503V3.25003C12.625 1.52414 14.0241 0.125031 15.75 0.125031H28.25C29.9759 0.125031 31.375 1.52414 31.375 3.25003V6.37503H42.3125C43.1754 6.37503 43.875 7.07459 43.875 7.93753C43.875 8.80048 43.1754 9.50003 42.3125 9.50003H39.1875V40.75C39.1875 42.4759 37.7884 43.875 36.0625 43.875H7.9375C6.21161 43.875 4.8125 42.4759 4.8125 40.75V9.50003L1.6875 9.50003C0.824554 9.50003 0.125 8.80048 0.125 7.93753C0.125 7.07459 0.824555 6.37503 1.6875 6.37503H12.625ZM15.75 3.25003H28.25V6.37503H15.75V3.25003ZM7.9375 9.50003L7.9375 40.75H36.0625V9.50003H7.9375Z",fill:r}))}));const Jj=Qj;var eB=["color","size"],tB=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,eB);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.0081 15.2287L36.7869 17.6214L28.935 29.9601C30.5809 33.9266 30.3662 38.0903 27.1408 41.3158L26.5656 41.8909C25.9554 42.5011 24.9661 42.5011 24.3559 41.8909L14.4122 31.9472L2.99211 43.3673C2.38192 43.9775 1.3926 43.9775 0.782403 43.3673C0.17221 42.7571 0.172211 41.7678 0.782403 41.1576L12.2025 29.7375L2.25883 19.7938C1.64864 19.1836 1.64864 18.1943 2.25883 17.5841L2.50512 17.3378C5.73058 14.1123 10.2231 13.5688 14.1897 15.2147L26.5283 7.36283L28.9211 1.14165C29.327 0.0863053 30.6847 -0.201832 31.4843 0.597706L43.552 12.6655C44.3516 13.465 44.0634 14.8228 43.0081 15.2287ZM29.0752 9.44618L30.9747 4.50752L39.6422 13.1751L34.7035 15.0745L25.4251 29.655L26.0486 31.1577C27.234 34.0146 27.0773 36.5309 25.4342 38.5498L5.64209 18.7576C7.75439 17.2384 10.4304 17.0382 12.992 18.1011L14.4948 18.7246L29.0752 9.44618Z",fill:r}))}));var nB=["color","size"],rB=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?12:o,a=yv(e,nB);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 55 55",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M3.40256 25.4517C2.58445 24.1661 3.05194 21.8287 4.45442 20.8937C5.85689 19.9587 8.31122 20.5431 9.24621 21.5949L19.6479 36.0872L40.685 4.41461C41.62 3.01213 43.9575 2.42777 45.5937 3.71337C46.7624 4.64835 47.4636 6.28457 46.6455 7.68705L21.6347 45.437C20.5829 46.6057 18.8298 46.6057 17.7779 45.437L3.40256 25.4517Z",fill:r}))}));const oB=rB;var iB=["children"],aB=xk((function(e,t){var n=e.children,r=yv(e,iB);return gv.createElement(QP.Actions,Mb({},r,{ref:t}),n&&"function"==typeof n?n({size:r.size}):n)}));aB.displayName="MenuItemActions",aB.defaultProps={size:GP.Md},aB.propTypes={size:Av().oneOf(ob(GP)),children:Av().oneOfType([Av().node,Av().func]).isRequired};const sB=aB;var lB=["children"],uB=xk((function(e,t){var n=e.children,r=yv(e,lB);return gv.createElement(QP.Label,Mb({},r,{ref:t}),n)}));uB.displayName="MenuItemLabel";const cB=uB;var pB={Sm:"sm",Md:"md"};function dB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var fB,hB=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pB.Md;if(t&&e){var r=gv.createElement(sB,null,gv.createElement(oB,{size:n===pB.Md?11:9}));if(1===gv.Children.count(e)){var o,i=e;return gv.isValidElement(e)&&"MenuItemLabel"!==(null==e||null===(o=e.type)||void 0===o?void 0:o.displayName)&&(i=gv.createElement(cB,null,e)),gv.createElement(gv.Fragment,null,i,r)}if(gv.Children.count(e)>1&&!gv.Children.toArray(e).some((function(e){var t;return"MenuItemActions"===(null==e||null===(t=e.type)||void 0===t?void 0:t.displayName)})))return gv.createElement(gv.Fragment,null,e,r)}return e},mB=function(e){var t,n;if(e&&e.children)return Array.isArray(e.children)?null===(t=e.children)||void 0===t||null===(n=t.filter((function(e){return"string"==typeof e})))||void 0===n?void 0:n.join(" "):e.children},gB=function(e){var t=e.value,n=e.multiple,r=void 0!==n&&n,o=e.children,i=[];gv.Children.forEach(o,(function(e){gv.isValidElement(e)&&("MenuItem"===(null==e?void 0:e.type).displayName&&Boolean(e.props)&&i.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dB(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.props)))}));var a=r?i.filter((function(e){return Array.isArray(t)&&t.includes(e.value)})):[i.find((function(e){return e.value===t}))];return a.length>0?a.map(mB).join(", "):Array.isArray(t)?t.join(", "):t},vB={Primary:"primary",Secondary:"secondary"},yB={Sm:"sm",Md:"md"},bB=(dv(fB={},yB.Sm,(function(e){return Iy(["padding:4px 8px;height:24px;",""],e.theme.typography.font[pb.InputSm])})),dv(fB,yB.Md,(function(e){return Iy(["padding:8px 12px;height:30px;",""],e.theme.typography.font[pb.InputMd])})),fB),AB=function(e){var t=e.theme.palette;return Iy(["background:"," !important;border:1px solid "," !important;"],t[cb.BackgroundSecondary],t[cb.Error])},CB={Primary:"primary",Secondary:"secondary"},wB="Input",xB=eb.span.attrs({className:_k(wB,"Icon")}).withConfig({componentId:"sc-150k0cz-0"})((function(e){var t=e.iconClickStart,n=e.iconClickEnd;return Iy(["display:flex;color:",";cursor:",";&:first-child{margin-right:7px;}&:last-child{margin-left:7px;}"],e.theme.palette[cb.IconsPrimary],t||n?"pointer":"default")}));const EB=kk({Input:eb.div.attrs({className:_k(wB,"root")}).withConfig({componentId:"sc-150k0cz-1"})((function(e){var t=e.size,n=void 0===t?yB.Md:t,r=e.error,o=void 0!==r&&r,i=e.fullWidth,a=void 0!==i&&i,s=e.theme,l=e.background;return Iy(["position:relative;display:inline-flex;align-items:center;cursor:text;width:",";background:",";border:1px solid ",";border-radius:",";box-sizing:border-box;color:",";"," &:focus-within{background-color:","!important;border:1px solid ",";}&:hover{background-color:",";}",""],a?"100%":"300px","primary"===(void 0===l?CB.Primary:l)?s.palette[cb.BackgroundPrimary]:s.palette[cb.BackgroundSecondary],s.palette[cb.BordersSecondary],s.shape.borderRadius[db.Sm],s.palette[cb.TextPrimary],bB[n],s.palette[cb.BackgroundSecondary],s.palette[cb.AccentPrimary],s.palette[cb.BackgroundPrimaryHover],o&&AB)})),Base:eb.input.attrs({className:_k(wB,"Base")}).withConfig({componentId:"sc-150k0cz-2"})((function(e){return Iy(["display:block;color:inherit;width:100%;min-width:0;margin:0;padding:0;border:0;background-color:transparent;outline:none;&::placeholder{color:",";}"],e.theme.palette[cb.TextPlaceholder])})),Icon:xB});var _B="Select",kB=eb.span.attrs({className:_k(_B,"Icon")}).withConfig({componentId:"sc-mfrapg-0"})((function(e){return Iy(["display:flex;flex-shrink:0;color:",";"],e.theme.palette[cb.IconsPrimary])}));const SB=kk({Container:eb.div.attrs({className:_k(_B,"Container")}).withConfig({componentId:"sc-mfrapg-1"})((function(e){var t=e.fullWidth;return Iy(["position:relative;display:inline-flex;",""],void 0!==t&&t?"width: 100%":"")})),Select:eb(EB.Input).attrs({className:_k(_B,"root")}).withConfig({componentId:"sc-mfrapg-2"})((function(e){var t=e.theme.palette,n=e.background;return Iy(["cursor:pointer;user-select:none;background:",";"],"primary"===(void 0===n?vB.Primary:n)?t[cb.BackgroundPrimary]:t[cb.BackgroundSecondary])})),Label:eb.label.attrs({className:_k(_B,"Label")}).withConfig({componentId:"sc-mfrapg-3"})(["flex-grow:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"]),Icon:kB,Input:eb.input.attrs({className:_k(_B,"Input"),"aria-hidden":"true",tabindex:"-1"}).withConfig({componentId:"sc-mfrapg-4"})(["left:0;width:100%;bottom:0;opacity:0;position:absolute;pointer-events:none;box-sizing:border-box;"])});var DB=["children","size","error","multiple","onChange","value","fullWidth","selectProps","MenuProps","readOnly","disabled","background","renderLabel"],TB=xk((function(e,t){var n=e.children,r=e.size,o=e.error,i=e.multiple,a=e.onChange,s=e.value,l=e.fullWidth,u=e.selectProps,c=e.MenuProps,p=e.readOnly,d=e.disabled,f=e.background,h=e.renderLabel,m=yv(e,DB),g=Nb((0,gv.useState)(void 0),2),v=g[0],y=g[1],b=Boolean(v),A=function(){return y(void 0)};return gv.createElement(SB.Container,{ref:t,fullWidth:Boolean(l)},gv.createElement(SB.Select,Mb({},m,{size:r,background:f,error:o,fullWidth:Boolean(l),readOnly:p,onClick:p||d?void 0:function(e){return y(e.currentTarget)}}),gv.createElement(SB.Label,null,"function"==typeof h?h(s):gB({value:s,multiple:i,children:n})),gv.createElement(SB.Icon,null,gv.createElement(fL,{type:b?"top":"bottom",IconProps:{size:8}})),gv.createElement(SB.Input,u)),gv.createElement(GO,Mb({onClose:A,open:b,anchorEl:v},c),gv.Children.map(n,(function(e){return function(e,t){var n,r,o,i=t.value,a=t.multiple,s=void 0!==a&&a,l=t.size,u=void 0===l?pB.Md:l,c=t.onClose,p=t.onChange;if(!gv.isValidElement(e))return e;if("MenuItem"!==(null===(n=e.type)||void 0===n?void 0:n.displayName))return gv.cloneElement(e);var d=null==e||null===(r=e.props)||void 0===r?void 0:r.value,f=s?Array.isArray(i)?i:[]:[i],h=f.length>0&&f.includes(d);return gv.cloneElement(e,{active:h,size:u,children:hB(null==e||null===(o=e.props)||void 0===o?void 0:o.children,h,u),onClick:function(){if(s||"function"!=typeof c||c(),"function"==typeof p){var e=d;if(s){var t=(e=jb(Array.isArray(i)?i:[])).indexOf(d);t>-1?e.splice(t,1):e.push(d)}p(e)}}})}(e,{value:s,multiple:i,size:r,onClose:A,onChange:p||d?void 0:a})}))))})),OB={size:pB.Md,error:!1,multiple:!1,fullWidth:!1,readOnly:!1,disabled:!1,background:vB.Primary};TB.defaultProps=OB;var PB=Av().oneOfType([Av().string,Av().number,Av().oneOf([null])]),LB={size:Av().oneOf(ob(pB)),error:Av().bool,multiple:Av().bool,fullWidth:Av().bool,children:Av().oneOfType([Av().element,Av().arrayOf(Av().element)]),value:Av().oneOfType([Av().string,Av().number,Av().oneOf([null]),Av().arrayOf(PB)]),onChange:Av().func,MenuProps:Av().exact(VO),selectProps:Av().object,readOnly:Av().bool,disabled:Av().bool,background:Av().oneOf(ob(vB)),renderLabel:Av().func};TB.propTypes=LB;const FB=TB;var jB=["children","iconStart","iconEnd","iconClickStart","iconClickEnd","size","className","style","fullWidth","readOnly","background","focusOnMount","focusOnClick"],BB=xk((function(e,t){var n=e.children,r=e.iconStart,o=e.iconEnd,i=e.iconClickStart,a=e.iconClickEnd,s=e.size,l=e.className,u=e.style,c=e.fullWidth,p=e.readOnly,d=e.background,f=void 0===d?"primary":d,h=e.focusOnMount,m=void 0!==h&&h,g=e.focusOnClick,v=void 0===g||g,y=yv(e,jB),b=(0,gv.useRef)(null),A=function(){var e;null===(e=b.current)||void 0===e||e.focus()};(0,gv.useEffect)((function(){m&&A()}),[]);var C=function(e,t){return e?gv.createElement(EB.Icon,{onClick:function(){return function(e){v&&A(),"start"===e?i&&i():a&&a()}(t)},iconClickStart:i,iconClickEnd:a},"function"==typeof e?e({size:(n=s,n===yB.Md?16:14)}):e):void 0;var n};return gv.createElement(EB.Input,{onClick:v?A:void 0,ref:t,size:s,className:l,style:u,fullWidth:Boolean(c),background:f},C(r,"start"),gv.createElement(EB.Base,Mb({},y,{ref:b,readOnly:Boolean(p)})),C(o,"end"),n&&gv.createElement(gv.Fragment,null,n))})),IB={size:yB.Md,background:CB.Primary,error:!1,fullWidth:!1,readOnly:!1};BB.defaultProps=IB;var NB={size:Av().oneOf(ob(yB)),iconStart:Av().oneOfType([Av().node,Av().func]),iconEnd:Av().oneOfType([Av().node,Av().func]),error:Av().bool,fullWidth:Av().bool,value:Av().any,readOnly:Av().bool,iconClickStart:Av().func,iconClickEnd:Av().func,background:Av().oneOf(ob(CB)),focusOnMount:Av().bool,focusOnClick:Av().bool};BB.propTypes=NB;const MB=BB;const RB=function(e,t,n){var r=function(t){var n;"function"==typeof e&&e((null===(n=t.touches)||void 0===n?void 0:n[0])||t)},o=function e(t){var o;(document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",e),document.removeEventListener("mouseleave",e),document.removeEventListener("touchmove",r),document.removeEventListener("touchend",e),document.removeEventListener("touchcancel",e),"function"==typeof n)&&n((null===(o=t.touches)||void 0===o?void 0:o[0])||t)},i=function(e){var n;(document.addEventListener("mousemove",r),document.addEventListener("mouseup",o),document.addEventListener("mouseleave",o),document.addEventListener("touchmove",r),document.addEventListener("touchend",o),document.addEventListener("touchcancel",o),"function"==typeof t)&&t((null===(n=e.touches)||void 0===n?void 0:n[0])||e)};return{onMouseDown:i,onTouchStart:i}};var zB=function(e){return e.replaceAll(/[^\d,]/gi,"").split(",").map((function(e){return+e}))},UB=function(e){return e?[Number.parseInt(e.slice(1,3),16),Number.parseInt(e.slice(3,5),16),Number.parseInt(e.slice(5,7),16)]:[0,0,0]},$B=function(e){return e.toString(16).padStart(2,"0")},HB=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"#".concat(t.map($B).join(""))},qB=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2];r/=255,o/=255,i/=255;var a,s,l=Math.min(r,o,i),u=Math.max(r,o,i),c=(u+l)/2;if(u===l)a=0,s=0;else{var p=u-l;switch(s=c>.5?p/(2-u-l):p/(u+l),u){case r:a=(o-i)/p+(o<i?6:0);break;case o:a=(i-r)/p+2;break;case i:a=(r-o)/p+4;break;default:a=0}a/=6}return[Math.round(360*a),Math.round(100*s),Math.round(100*c)]},VB=function(e){if(e.startsWith("#")){var t=e;return 4===e.length&&(t="#".concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]).concat(e[3]).concat(e[3])),qB.apply(void 0,jb(UB(t)))}if(e.startsWith("rgb")){var n=zB(e);return qB.apply(void 0,jb(n))}return"string"==typeof e?[0,0,0]:e},GB=function(e){return e.startsWith("#")?7===e.length?e:"#".concat(e[0]).concat(e[0]).concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]):e.startsWith("rgb")?HB.apply(void 0,jb(zB(e))):"string"==typeof e?"#000000":e},WB=function(e,t){return 0===t&&(0===e||1===e)},ZB=function(e,t){return 0===e&&1===t},YB=function(e){return/^#[\da-f]{6}$/i.test(e)};function XB(e){if(!e)return null;var t=e.getBoundingClientRect(),n=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,s=r.clientLeft||n.clientLeft||0,l=t.top+o-a,u=t.left+i-s;return{top:Math.round(l),left:Math.round(u),width:t.width,height:t.height}}function KB(e,t,n,r,o){return(e-t)*(o-r)/(n-t)+r}function QB(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=n||1e6,o=+e;return Math.min(Math.max(t,o),r)}function JB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JB(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tI="ColorPicker",nI=eb.div.attrs({className:_k(tI,"root")}).withConfig({componentId:"sc-qj4xo5-0"})(["background-color:",";box-shadow:0px 1px 2px rgba(78,77,77,0.15);border-radius:2px;padding:12px;max-width:200px;"],(function(e){return e.theme.palette[cb.BackgroundSecondary]})),rI=eb.div.attrs({className:_k(tI,"icon")}).withConfig({componentId:"sc-qj4xo5-1"})(["display:flex;justify-content:space-between;align-items:center;cursor:pointer;"]),oI=eb.div.attrs({className:_k(tI,"range-picker")}).withConfig({componentId:"sc-qj4xo5-2"})((function(e){return Iy(["position:relative;border-radius:2px;width:186px;height:180px;user-select:none;cursor:crosshair;background-color:",";"],e.color)})),iI=eb.div.attrs({className:_k(tI,"white-gradient")}).withConfig({componentId:"sc-qj4xo5-3"})(["background:linear-gradient(to right,white 0%,rgba(255,255,255,0) 100%);z-index:0;position:absolute;width:100%;height:100%;border-radius:2px;user-select:none;pointer-events:none;top:-1px;"]),aI=eb.div.attrs({className:_k(tI,"black-gradient")}).withConfig({componentId:"sc-qj4xo5-4"})(["background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 100%);z-index:1;position:absolute;width:100%;height:100%;border-radius:2px;user-select:none;pointer-events:none;"]),sI=eb.span.attrs((function(e){var t=e.left,n=void 0===t?0:t,r=e.top,o=void 0===r?0:r,i=e.considerTopWidth,a=void 0!==i&&i,s=e.style;return{className:_k(tI,"pointer"),style:eI({left:n-7,top:o-(a?7:0)},s)}})).withConfig({componentId:"sc-qj4xo5-5"})((function(e){var t=e.theme;return Iy(["display:inline-block;box-sizing:border-box;width:15px;height:15px;border-radius:20px;box-shadow:0px 1px 2px rgba(78,77,77,0.15);border:2px solid ",";background-color:",";position:absolute;cursor:pointer;z-index:11;user-select:none;outline:none;"],t.palette[cb.BackgroundSecondary],t.palette[cb.AccentPrimary])})),lI=eb.div.attrs({className:_k(tI,"bar-wrapper")}).withConfig({componentId:"sc-qj4xo5-6"})(["margin-top:8px;position:relative;width:186px;height:12px;"]),uI=eb.table.attrs({className:_k(tI,"bar")}).withConfig({componentId:"sc-qj4xo5-7"})(["border-radius:4px;width:100%;height:8px;border-collapse:collapse;"]),cI=eb.td.attrs((function(e){var t=e.$color;return{className:_k(tI,"stop"),style:{backgroundColor:t}}})).withConfig({componentId:"sc-qj4xo5-8"})(["padding:0;user-select:none;pointer-events:none;&:first-child{width:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;}&:last-child{width:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;}"]),pI=eb.div.attrs({className:_k(tI,"action")}).withConfig({componentId:"sc-qj4xo5-9"})(["display:flex;justify-content:space-between;align-items:center;"]),dI=eb.label.attrs({className:_k("ColorItem","label")}).withConfig({componentId:"sc-qj4xo5-10"})((function(e){var t=e.theme,n=e.size,r=e.color,o=e.stroke,i=e.value;return Iy(["border-radius:2px;border:",";box-sizing:border-box;width:","px;height:","px;background-color:",";user-select:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 300ms;margin-bottom:8px;background:",";input{display:none;}"],"1px solid ".concat(o),n,n,r,"rgba(0,0,0,0)"===i&&"repeating-conic-gradient(".concat(t.palette[cb.LinkPrimary]," 0% 25%, transparent 0% 50%) 50% / 8px 8px"))}));const fI=kk({ColorPickerWrapper:nI,RangePickerWrapper:oI,WhiteGradient:iI,BlackGradient:aI,ColorPointer:sI,BarWrapper:lI,Bar:uI,BarColorStop:cI,ColorPickerAction:pI,ColorPickerIcon:rI,ColorItemsContainer:eb.div.withConfig({componentId:"sc-qj4xo5-11"})(["display:flex;flex-wrap:wrap;align-content:space-between;margin-top:14px;margin-bottom:12px;margin-left:12px;& > .item{margin-right:8px;display:flex;justify-content:center;}"]),ColorItemWrapper:dI,Select:eb.div.attrs({className:_k(tI,"select")}).withConfig({componentId:"sc-qj4xo5-12"})((function(e){return Iy(["width:",";"],"rgb"===e.value?"25%":"35%")}))});var hI=xk((function(e,t){var n=e.value,r=e.onChange,o=e.checked,i=e.size,a=void 0===i?24:i,s=(0,gv.useMemo)((function(){return"#ffffff"===n||"rgba(0,0,0,0)"===n?"black":"white"}),[n]);return gv.createElement(fI.ColorItemWrapper,{ref:t,color:n,size:a,stroke:"rgba(0,0,0,0)"===n?"#a8a8a8":"#E9EEF2",value:n},gv.createElement("input",{type:"radio",value:n,checked:o,onChange:r}),o&&gv.createElement(oB,{color:s}))}));hI.defaultProps={},hI.propTypes={value:Av().string.isRequired,checked:Av().bool,onChange:Av().func.isRequired,size:Av().number};const mI=hI;var gI=["defaultColor","onChange","pinnedColors","showTransparentColor"];function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vI(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bI=["rgba(0,0,0,0)"],AI="#00000000",CI=xk((function(e,t){var n=e.defaultColor,r=void 0===n?"#000000":n,o=e.onChange,i=e.pinnedColors,a=void 0===i?[]:i,s=e.showTransparentColor,l=void 0!==s&&s,u=yv(e,gI),c=l?bI.concat(a):a,p=function(e){return e===AI||e===bI[0]},d=Nb((0,gv.useState)({color:"#ff0000",pointerLeft:0}),2),f=d[0],h=d[1],m=Nb((0,gv.useState)({color:p(r)?"#00000000":GB(r)||"#000000",pointer:{left:0,top:0}}),2),g=m[0],v=m[1],y=Nb((0,gv.useState)(c),2),b=y[0],A=y[1],C=Nb((0,gv.useState)("hex"),2),w=C[0],x=C[1],E=Nb((0,gv.useState)([]),2),_=E[0],k=E[1],S=Nb((0,gv.useState)(GB(g.color)),2),D=S[0],T=S[1],O=Nb((0,gv.useState)(null),2),P=O[0],L=O[1],F=Nb((0,gv.useState)(null),2),j=F[0],B=F[1],I=function(e){return e===bI[0]&&g.color===AI||e===g.color},N=function(e){return e.filter((function(e){return"rgba(0,0,0,0)"!==e}))},M=function(e){return p(e)?bI[0]:"rgb(".concat(UB(e).join(", "),")")},R=function(e,t){if("add"===t){var n=[].concat(jb(b),[e]);A(n),"function"==typeof o&&o(g.color,M(e),N(n))}else{var r=b.filter((function(e){return e!==g.color}));A(r),"function"==typeof o&&o(g.color,M(e),N(r))}},z=function(e){if(null!==P){var t=XB(P).left,n=Nb(VB(e||g.color),1)[0],r=P.querySelector("[data-hue='".concat(n,"']"));if(null!==r){var o=r.style.backgroundColor||f.color;h({color:o,pointerLeft:XB(r).left-t||f.pointerLeft})}}},U=function(e){e.includes("rgb")?k(zB(e)):k(UB(e))},$=function(e){return p(e)?AI:e},H=function(e){if(null!==j){var t=XB(j),n=t.width,r=t.height,i=VB(e),a=function(e,t,n){var r=t,o=2*n,i=(o+(r*=o<=1?o:2-o))/2,a=WB(r=2*r/(o+r),n);return[a||ZB(r,n)?0:e,a?0:Math.round(100*r),Math.round(100*i)]}(i[0],i[1]/100,i[2]/100),s=KB(a[1],0,100,0,n),l=r-KB(a[2],0,100,0,r);v({color:$(e),pointer:{left:s,top:l}}),z(e),U(e),"function"==typeof o&&o($(e),M(e),N(b))}},q=function(e,t,n){if(null!==j){var r=XB(j),i=r.width,a=r.height,s=Nb(VB(n),1)[0],l=QB(e,0,i)||0,u=QB(t,0,a)||0,c=function(e,t,n){var r=t,o=(2-t)*n/2;0!==o&&(r=1===o?0:o<.5?r*n/(2*o):r*n/(2-2*o));var i=WB(r,o);return[i||ZB(r,o)?0:e,i?0:Math.round(100*r),Math.round(100*o)]}(s,l/i,(a-u)/a),p=function(e,t,n){var r=n/100,o=t*Math.min(r,1-r)/100,i=function(t){var n=(t+e/30)%12,i=r-o*Math.max(Math.min(n-3,9-n,1),-1);return $B(Math.round(255*i))};return"#".concat(i(0)).concat(i(8)).concat(i(4))}(c[0],c[1],c[2]);v({color:p,pointer:{left:l,top:u}}),"function"==typeof o&&o(p,"rgb(".concat(UB(p).join(", "),")"),N(b))}},V=function(e){var t=P;if(null!==t){var n=XB(t).width,r=QB(Math.round(KB(e,0,n,0,360)),0,360),o=t.querySelector("[data-hue='".concat(r,"']")).style.backgroundColor;return h({color:o,pointerLeft:QB(e,0,n)}),o}return f.color},G=function(e){if(null!==P){var t,n=XB(P).left,r=(null===(t=e.touches)||void 0===t?void 0:t[0])||e,o=V(r.pageX-n);q(g.pointer.left,g.pointer.top,o)}},W=function(e){if(null!==j){var t=XB(j),n=t.left,r=t.top,o=t.height,i=t.width,a=e?QB(e.pageX-n,0,i):g.pointer.left||0,s=e?QB(e.pageY-r,0,o):g.pointer.left||0;q(a,s,f.color)}};(0,gv.useEffect)((function(){z(g.color),H(g.color)}),[P]),(0,gv.useEffect)((function(){T(g.color),U(g.color)}),[g.color]);var Z=(0,gv.useMemo)((function(){return jb(new Array(361)).map((function(e,t){return gv.createElement(fI.BarColorStop,{key:t,$color:"hsl(".concat(t,", 100%, 50%)"),"data-hue":t})}))}),[]),Y=RB(G,G,null),X=RB(W,W,null);return gv.createElement(fI.ColorPickerWrapper,Mb({ref:t},u),gv.createElement(fI.RangePickerWrapper,Mb({ref:B,color:f.color},X),gv.createElement(fI.WhiteGradient,null),gv.createElement(fI.BlackGradient,null),gv.createElement(fI.ColorPointer,{tabIndex:-1,left:g.pointer.left||0,top:g.pointer.top||0,onKeyDown:function(e){var t=0;"ArrowLeft"===e.key||"ArrowUp"===e.key?t=-1:"ArrowRight"!==e.key&&"ArrowDown"!==e.key||(t=1),t&&q((g.pointer.left||0)+(["ArrowLeft","ArrowRight"].includes(e.key)?t:0),(g.pointer.top||0)+(["ArrowUp","ArrowDown"].includes(e.key)?t:0),f.color)},considerTopWidth:!0})),gv.createElement(fI.BarWrapper,Y,gv.createElement(fI.Bar,{ref:L},gv.createElement("tbody",null,gv.createElement("tr",null,Z))),gv.createElement(fI.ColorPointer,{tabIndex:-1,left:f.pointerLeft,onKeyDown:function(e){"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||V(f.pointerLeft+("ArrowLeft"===e.key?-1:1))},considerTopWidth:!1,style:{top:-3}})),gv.createElement(fI.ColorItemsContainer,null,b.map((function(e){return gv.createElement("div",{className:"item",key:e},gv.createElement(mI,{value:e,checked:I(e),onChange:function(e){return H(e.target.value)}}))}))),gv.createElement(fI.ColorPickerAction,null,gv.createElement(fI.Select,{value:w},gv.createElement(FB,{size:"sm",value:w,MenuProps:{zIndex:11112},onChange:function(e){return x(e)},fullWidth:!0},gv.createElement(oL,{value:"hex"},"Hex"),gv.createElement(oL,{value:"rgb"},"RGB"))),"hex"===w?gv.createElement(MB,{size:"sm",error:!/^#([\da-f]{3}){1,2}$/i.test(g.color),value:D,onChange:function(e){return t=e.target.value,YB(t)&&H(t),void T(t);var t},style:{width:"45%"}}):_.map((function(e,t){return gv.createElement(MB,{key:t,size:"sm",value:e,onChange:function(e){var n;return function(e,t){if(!(e>255||Number.isNaN(e))){var n=_;n[t]=e;var r=HB.apply(void 0,jb(n));k(jb(n)),YB(r)&&(v(yI(yI({},g),{},{color:r})),z(r))}}(Number(null===(n=e.target)||void 0===n?void 0:n.value),t)},style:{width:"20%"}})})),g.color!==AI&&gv.createElement(fI.ColorPickerIcon,{onClick:function(){return b.some((function(e){return I(e)}))?R(g.color,"delete"):R(g.color,"add")}},b.some((function(e){return I(e)}))?gv.createElement(Qj,null):gv.createElement(tB,null))))}));CI.defaultProps={defaultColor:"#000000",pinnedColors:[],showTransparentColor:!1},CI.propTypes={defaultColor:Av().string,onChange:Av().func,pinnedColors:Av().array,showTransparentColor:Av().bool};const wI=CI;var xI=eb.div.attrs((function(e){var t=e.$color;return{style:{background:"rgba(0,0,0,0)"===t?"repeating-conic-gradient(#5d6d7e 0% 25%, transparent 0% 50%) 50% / 8px 8px":t}}})).withConfig({componentId:"sc-zmv0gj-0"})(["background:",";border-radius:2px;width:24px;height:24px;border:2px solid ",";cursor:pointer;box-sizing:border-box;"],(function(e){return e.theme.palette["icons-primary"]}),(function(e){return e.theme.palette["borders-strong"]})),EI=eb(wI).withConfig({componentId:"sc-zmv0gj-1"})(["max-width:212px;"]),_I="FIE_pinnedColors",kI=function(e){var t,n=e.position,r=void 0===n?"top":n,o=e.onChange,i=e.color,a=pS(),s=a.selectionsIds,l=void 0===s?[]:s,u=a.config.annotationsCommon,c=void 0===u?{}:u,p=a.dispatch,d=a.latestColor,f=Nb((0,gv.useState)(),2),h=f[0],m=f[1],g=Nb((0,gv.useState)((function(){return d||i||c.fill})),2),v=g[0],y=g[1],b=Nb((0,gv.useState)(null!==(t=window)&&void 0!==t&&t.localStorage?JSON.parse(localStorage.getItem(_I)||"[]"):[]),2),A=b[0],C=b[1],w=function(e){m(h?null:e.currentTarget)};return(0,gv.useEffect)((function(){var e=0===l.length&&d||i;y(e),o(e)}),[i,l]),gv.createElement(gv.Fragment,null,gv.createElement(xI,{className:"FIE_color-picker-triggerer",onClick:w,$color:v,onChange:o}),gv.createElement(NO,{className:"FIE_color-picker",anchorEl:h,open:!!h,position:r,onClick:w,overlay:!0,zIndex:11111},gv.createElement(EI,{onChange:function(e,t,n){y(t),o(t),function(e){var t;if(null!==(t=window)&&void 0!==t&&t.localStorage){var n=window.localStorage.getItem(_I);if(JSON.stringify(e)!==n){var r=e.slice(-9);window.localStorage.setItem(_I,JSON.stringify(r)),C(r)}}}(n),d!==t&&p({type:uU,payload:{latestColor:t}})},defaultColor:v,pinnedColors:A,showTransparentColor:!0})))};kI.defaultProps={position:"top",color:void 0};const SI=kI;const DI=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.stroke,i=t.strokeWidth;return gv.createElement(Vj,null,gv.createElement(jk,null,r("stroke")),gv.createElement(JD,{annotation:"px",onChange:function(e){n({strokeWidth:AS(e,0,100)})},value:i}),gv.createElement(SI,{color:o,onChange:function(e){n({stroke:e})}}))};const TI=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.shadowOffsetX,i=t.shadowOffsetY,a=t.shadowBlur,s=t.shadowColor,l=t.shadowOpacity,u=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:100;n(dv({},e,AS(t,r,o)))};return gv.createElement(Vj,null,gv.createElement(Gj,null,r("shadow")),gv.createElement(Wj,null,gv.createElement(Zj,null,gv.createElement(jk,null,r("horizontal")),gv.createElement(JD,{annotation:"px",min:-100,max:100,onChange:function(e){return u("shadowOffsetX",e,-100,100)},value:o||0,hideTrack:!0})),gv.createElement(Zj,null,gv.createElement(jk,null,r("vertical")),gv.createElement(JD,{annotation:"px",min:-100,max:100,onChange:function(e){return u("shadowOffsetY",e,-100,100)},value:i||0,hideTrack:!0}))),gv.createElement(Wj,null,gv.createElement(Zj,null,gv.createElement(jk,null,r("blur")),gv.createElement(JD,{annotation:"%",onChange:function(e){return u("shadowBlur",e)},value:a})),gv.createElement(Zj,null,gv.createElement(jk,null,r("opacity")),gv.createElement(JD,{annotation:"%",onChange:function(e){return u("shadowOpacity",e/100,0,1)},value:Math.round(100*l)}))),gv.createElement(SI,{color:s,onChange:function(e){n({shadowColor:e})}}))};var OI=["color","size"],PI=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,OI);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M49.7025 23.7268L49.7008 23.725L39.4953 13.5687C38.7308 12.8079 37.4941 12.8107 36.7331 13.5754C35.9722 14.3399 35.9751 15.5766 36.7397 16.3375L43.5916 23.1562H2.22852C1.1498 23.1562 0.275391 24.0307 0.275391 25.1094C0.275391 26.1881 1.1498 27.0625 2.22852 27.0625H43.5915L36.7397 33.8812C35.9752 34.6422 35.9723 35.8788 36.7332 36.6433C37.4942 37.4081 38.731 37.4107 39.4954 36.65L49.7009 26.4937L49.7026 26.4919C50.4676 25.7284 50.4651 24.4878 49.7025 23.7268Z",fill:r}))}));const LI=PI;var FI=["color","size"],jI=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,FI);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("circle",{cx:"25",cy:"25",r:"8.33333",fill:r}))}));const BI=jI;const II=function(e,t,n){var r,o=e.width,i=e.height,a=e.scaleX,s=void 0===a?1:a,l=e.scaleY,u=void 0===l?1:l,c=e.rotation,p=void 0===c?0:c,d=e.padding,f=void 0===d?0:d,h=e.radius,m=e.radiusX,g=e.radiusY,v=aD((o||2*(h||m))*s,(i||2*(h||g))*u,p),y=t.attrs,b=y.clipWidth,A=y.clipHeight,C=y.clipX,w=void 0===C?0:C,x=y.clipY,E=void 0===x?0:x,_={left:w+v.offsetLeft+f,center:w+b/2-(v.width/2-v.offsetLeft)+f,right:w+b-v.width-f+v.offsetLeft},k={top:E+v.offsetTop+f,middle:E+A/2-(v.height/2-v.offsetTop)+f,bottom:E+A-v.height-f+v.offsetTop};return(dv(r={},bE.TOP_LEFT,(function(){return{x:_.left,y:k.top}})),dv(r,bE.TOP_CENTER,(function(){return{x:_.center,y:k.top}})),dv(r,bE.TOP_RIGHT,(function(){return{x:_.right,y:k.top}})),dv(r,bE.MIDDLE_LEFT,(function(){return{x:_.left,y:k.middle}})),dv(r,bE.MIDDLE_CENTER,(function(){return{x:_.center,y:k.middle}})),dv(r,bE.MIDDLE_RIGHT,(function(){return{x:_.right,y:k.middle}})),dv(r,bE.BOTTOM_LEFT,(function(){return{x:_.left,y:k.bottom}})),dv(r,bE.BOTTOM_CENTER,(function(){return{x:_.center,y:k.bottom}})),dv(r,bE.BOTTOM_RIGHT,(function(){return{x:_.right,y:k.bottom}})),r)[n]()};var NI,MI=Object.values(bE),RI=(dv(NI={},bE.TOP_LEFT,-145),dv(NI,bE.TOP_CENTER,-90),dv(NI,bE.TOP_RIGHT,-45),dv(NI,bE.MIDDLE_LEFT,180),dv(NI,bE.MIDDLE_CENTER,0),dv(NI,bE.MIDDLE_RIGHT,0),dv(NI,bE.BOTTOM_LEFT,135),dv(NI,bE.BOTTOM_CENTER,90),dv(NI,bE.BOTTOM_RIGHT,45),NI),zI="opacity",UI="stroke",$I="shadow",HI="position";const qI=function(e){var t=e.annotation,n=e.updateAnnotation,r=pS().designLayer,o=function(e){n(II(t,r,e))},i=MI.length;return MI.map((function(e,t){return gv.createElement(gv.Fragment,{key:e},gv.createElement(Yj,{onClick:function(){return o(e)},secondaryIconColor:!0,addThinBorder:!0,noMargin:!0},e===bE.MIDDLE_CENTER?gv.createElement(BI,null):gv.createElement(LI,{style:{transform:"rotate(".concat(RI[e],"deg)")}})),0==(t+1)%3&&t+1!==i&&gv.createElement("div",null))}))};var VI=["children","morePoppableOptionsPrepended","moreOptionsPopupComponentsObj","morePoppableOptionsAppended","annotation","updateAnnotation","hideFillOption","hidePositionField","className"];function GI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WI(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?GI(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):GI(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var ZI=function(e){var t=e.children,n=e.morePoppableOptionsPrepended,r=e.moreOptionsPopupComponentsObj,o=e.morePoppableOptionsAppended,i=e.annotation,a=e.updateAnnotation,s=e.hideFillOption,l=e.hidePositionField,u=e.className,c=yv(e,VI),p=Nb((0,gv.useState)(null),2),d=p[0],f=p[1],h=Nb((0,gv.useState)(null),2),m=h[0],g=h[1],v=pS(),y=v.config.useCloudimage,b=v.t,A=(0,gv.useMemo)((function(){return[].concat(jb(n),[{titleKey:"opacity",name:zI,Icon:Fj}],jb(y?[]:[{titleKey:"stroke",name:UI,Icon:Rj},{titleKey:"shadow",name:$I,Icon:Ij}]),[l?void 0:{titleKey:"position",name:HI,Icon:$j}])}),[n]),C=(0,gv.useMemo)((function(){var e;return WI(WI({},r),{},(dv(e={},zI,Xj),dv(e,UI,DI),dv(e,$I,TI),dv(e,HI,qI),e),o)}),[r]),w=(0,gv.useCallback)((function(e,t){var n=null==e?void 0:e.currentTarget;f(n),g(t)}),[]),x=(0,gv.useCallback)((function(e){a({fill:e})}),[a]),E=d&&m&&C[m];return gv.createElement(Hj,{className:"FIE_annotations-options".concat(u?" ".concat(u):"")},!s&&gv.createElement(SI,{color:i.fill,onChange:x}),t,A.map((function(e){return e&&gv.createElement(Yj,{className:"FIE_annotation-option-triggerer",key:e.name,title:b(e.titleKey),onClick:function(t){return w(t,e.name)}},gv.createElement(e.Icon,{size:18}))})),E&&gv.createElement(GO,{className:"FIE_annotation-option-popup",anchorEl:d,open:!!d,onClose:w,position:"top"},gv.createElement(qj,null,gv.createElement(E,Mb({annotation:i,updateAnnotation:a},c)))))};ZI.defaultProps={children:void 0,morePoppableOptionsPrepended:[],moreOptionsPopupComponentsObj:{},morePoppableOptionsAppended:[],hideFillOption:!1,hidePositionField:!1,className:void 0};const YI=ZI;var XI=eb(FB).withConfig({componentId:"sc-1cwdnjz-0"})(["width:88px;margin:0 4px;"]),KI=eb(MB).withConfig({componentId:"sc-1cwdnjz-1"})(["width:70px;margin:0 4px;"]),QI=["color","size"],JI=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,QI);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M38 1.5C38 0.809644 37.4404 0.25 36.75 0.25H9.25C8.55964 0.25 8 0.809644 8 1.5C8 2.19036 8.55964 2.75 9.25 2.75H36.75C37.4404 2.75 38 2.19036 38 1.5Z",fill:r}),gv.createElement("path",{d:"M45.5 14C45.5 13.3096 44.9404 12.75 44.25 12.75H1.75C1.05964 12.75 0.5 13.3096 0.5 14C0.5 14.6904 1.05964 15.25 1.75 15.25H44.25C44.9404 15.25 45.5 14.6904 45.5 14Z",fill:r}),gv.createElement("path",{d:"M36.75 25.25C37.4404 25.25 38 25.8096 38 26.5C38 27.1904 37.4404 27.75 36.75 27.75H9.25C8.55964 27.75 8 27.1904 8 26.5C8 25.8096 8.55964 25.25 9.25 25.25H36.75Z",fill:r}))}));const eN=JI;var tN=["color","size"],nN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,tN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29986 0.991788C4.78802 0.503633 5.57947 0.503633 6.06763 0.991788L9.367 4.29116C9.85516 4.77932 9.85516 5.57077 9.367 6.05893C8.87885 6.54708 8.08739 6.54708 7.59924 6.05893L6.43374 4.89344V34.0829L7.59924 32.9174C8.08739 32.4293 8.87885 32.4293 9.367 32.9174C9.85516 33.4056 9.85516 34.197 9.367 34.6852L6.06763 37.9846C5.8332 38.219 5.51524 38.3507 5.18371 38.3507C4.85217 38.3507 4.53422 38.219 4.29981 37.9845L1.00084 34.6851C0.512712 34.1969 0.512761 33.4055 1.00095 32.9174C1.48913 32.4292 2.28059 32.4293 2.76871 32.9175L3.93374 34.0827V4.89344L2.76825 6.05893C2.2801 6.54708 1.48864 6.54708 1.00049 6.05893C0.51233 5.57077 0.51233 4.77932 1.00049 4.29116L4.29986 0.991788ZM13.1588 8.34109V1.49725H46.3156V8.34102H43.398V7.19776C43.398 5.54595 42.0562 4.20442 40.4047 4.20442H31.8516V26.0992C31.8516 28.1387 33.5088 29.7957 35.5481 29.7957H36.5137V32.4599H23.01V29.7957H23.9756C26.0151 29.7957 27.6721 28.1387 27.6721 26.0992V4.20448H19.0697C17.418 4.20448 16.0763 5.54604 16.0763 7.19783V8.34109H13.1588ZM46.9995 39.7088C47.4877 39.2207 47.4877 38.4292 46.9995 37.9411L43.7001 34.6417C43.212 34.1535 42.4205 34.1535 41.9324 34.6417C41.4442 35.1298 41.4442 35.9213 41.9324 36.4095L43.0979 37.5749L15.0832 37.5749L16.2484 36.4099C16.7366 35.9218 16.7366 35.1303 16.2485 34.6421C15.7604 34.154 14.9689 34.1539 14.4807 34.642L11.1814 37.941C10.9469 38.1754 10.8152 38.4934 10.8152 38.8249C10.8152 39.1564 10.9469 39.4744 11.1813 39.7088L14.4807 43.0082C14.9688 43.4964 15.7603 43.4964 16.2485 43.0082C16.7366 42.5201 16.7366 41.7286 16.2485 41.2404L15.083 40.0749L43.0979 40.0749L41.9324 41.2404C41.4442 41.7286 41.4442 42.5201 41.9324 43.0082C42.4205 43.4964 43.212 43.4964 43.7001 43.0082L46.9995 39.7088Z",fill:r}))}));const rN=nN;const oN=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.letterSpacing,i=t.lineHeight,a=function(e,t){n(dv({},e,AS(t,0,100)))};return gv.createElement(Vj,null,gv.createElement(jk,null,r("letterSpacing")),gv.createElement(JD,{annotation:"px",isActive:!!o,onChange:function(e){return a("letterSpacing",e)},value:o,step:1}),gv.createElement(jk,null,r("lineHeight")),gv.createElement(JD,{annotation:"px",isActive:!!i,onChange:function(e){return a("lineHeight",e)},value:i,step:1}))};var iN=["color","size"],aN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,iN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M0 1.89453C0 1.20418 0.559644 0.644531 1.25 0.644531H28.75C29.4404 0.644531 30 1.20418 30 1.89453C30 2.58489 29.4404 3.14453 28.75 3.14453H1.25C0.559645 3.14453 0 2.58489 0 1.89453Z",fill:r}),gv.createElement("path",{d:"M0 14.3945C0 13.7042 0.559644 13.1445 1.25 13.1445H43.75C44.4404 13.1445 45 13.7042 45 14.3945C45 15.0849 44.4404 15.6445 43.75 15.6445H1.25C0.559645 15.6445 0 15.0849 0 14.3945Z",fill:r}),gv.createElement("path",{d:"M1.25 25.6445C0.559644 25.6445 0 26.2042 0 26.8945C0 27.5849 0.559645 28.1445 1.25 28.1445H28.75C29.4404 28.1445 30 27.5849 30 26.8945C30 26.2042 29.4404 25.6445 28.75 25.6445H1.25Z",fill:r}))}));const sN=aN;var lN={transform:"scaleX(-1)"};const uN=function(e){var t=e.annotation,n=e.updateAnnotation,r=t.align,o=function(e){n({align:e})};return gv.createElement(Vj,null,gv.createElement(Yj,{onClick:function(){return o("left")},"aria-selected":"left"===r},gv.createElement(sN,null)),gv.createElement(Yj,{onClick:function(){return o("center")},"aria-selected":"center"===r},gv.createElement(eN,null)),gv.createElement(Yj,{onClick:function(){return o("right")},"aria-selected":"right"===r},gv.createElement(sN,{style:lN})))};var cN,pN,dN,fN,hN,mN,gN=[{titleKey:"textAlignment",name:"text-alignment",Icon:eN},{titleKey:"textSpacings",name:"text-spacings",Icon:rN}],vN=(dv(cN={},"text-alignment",uN),dv(cN,"text-spacings",oN),cN),yN=function(e){if(e.target!==pN){var t=pN.value;bN(),hN(t)}},bN=function(){pN&&pN.remove(pN),window&&window.removeEventListener("click",yN),dN&&dN.show(),fN&&(fN.show(),fN.forceUpdate()),"function"==typeof mN&&mN(),dN=null,pN=null,fN=null},AN=function(e,t,n,r,o){hN=r,mN=o,fN=n,(dN=t.findOne("#".concat(e))).hide(),fN.hide();var i=dN.absolutePosition();pN=document.createElement("textarea"),t.container().parentNode.appendChild(pN),pN.value=dN.text(),pN.style.position="absolute",pN.style.top="".concat(i.y,"px"),pN.style.left="".concat(i.x,"px"),pN.style.width="".concat(dN.width()-2*dN.padding(),"px"),pN.style.height="".concat(dN.height()-2*dN.padding()+5,"px"),pN.style.maxWidth="".concat(dN.width()-2*dN.padding(),"px"),pN.style.maxHeight="".concat(dN.height()-2*dN.padding()+5,"px"),pN.style.fontSize="".concat(dN.fontSize(),"px"),pN.style.border="1px solid rgba(0, 0, 0, 0.5)",pN.style.padding="0px",pN.style.margin="0px",pN.style.overflow="hidden",pN.style.background="none",pN.style.outline="none",pN.style.resize="none",pN.style.lineHeight=dN.lineHeight(),pN.style.fontFamily=dN.fontFamily(),pN.style.transformOrigin="left top",pN.style.textAlign=dN.align(),pN.style.fontStyle=dN.fontStyle(),pN.style.letterSpacing=dN.letterSpacing(),pN.style.lineHeight=dN.lineHeight(),pN.style.color=dN.fill();var a=dN.rotation(),s="";a&&(s+="rotateZ(".concat(a,"deg)"));var l=0,u=-1<navigator.userAgent.toLowerCase().indexOf("firefox");u&&(l+=2+Math.round(dN.fontSize()/20)),s+="translateY(-".concat(l,"px)"),pN.style.transform=s,pN.style.height="auto",pN.style.height="".concat(pN.scrollHeight+3,"px"),pN.focus(),pN.addEventListener("keydown",(function(e){if("Enter"===e.key&&!e.shiftKey){var t=pN.value;bN(),hN(t)}"Escape"===e.key&&bN()})),pN.addEventListener("keydown",(function(e){if("Enter"!==e.key&&"Escape"!==e.key){var t=dN.getAbsoluteScale().x;(function(e){var t=e;t||(t=dN.placeholder.length*dN.fontSize()),(/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||u)&&(t=Math.ceil(t)),(document.documentMode||/Edge/.test(navigator.userAgent))&&(t+=1),pN.style.width="".concat(t,"px")})(dN.width()*t),pN.style.height="auto",pN.style.height="".concat(pN.scrollHeight+dN.fontSize(),"px")}})),window&&setTimeout((function(){window.addEventListener("click",yN)}))},CN=function(e){var t=e.text,n=e.saveText,r=e.children,o=pS(),i=o.dispatch,a=o.textIdOfEditableContent,s=o.designLayer,l=o.t,u=o.config,c=u.useCloudimage,p=u[uE.TEXT],d=p.fonts,f=void 0===d?[]:d,h=p.onFontChange,m=(0,gv.useCallback)((function(e){var t=e.target,r=t.name,o=t.value,i=t.type;n((function(e){return dv({id:e.id},r,"number"===i?AS(o,1,500):o)}))}),[n]),g=(0,gv.useCallback)((function(e){if(m({target:{name:"fontFamily",value:e}}),t.fontFamily!==e&&"function"==typeof h){var n=s.draw.bind(s);h(e,n)}}),[m,t,s]),v=(0,gv.useCallback)((function(e){var n,r=(null===(n=t.fontStyle)||void 0===n?void 0:n.replace("normal","").split(" "))||[];0<Object.keys(r).length&&r.includes(e)?r=r.filter((function(t){return t!==e})):r.push(e),m({target:{name:"fontStyle",value:r.join(" ").trim()||"normal"}})}),[t]),y=(0,gv.useCallback)((function(){i({type:Vz,payload:{textIdOfEditableContent:null}})}),[]),b=(0,gv.useCallback)((function(e){m({target:{name:"text",value:e}}),y()}),[]);return(0,gv.useEffect)((function(){var e;if(a&&t.id===a){var n=s.getStage(),r=Nb(n.findOne("#".concat(rE)).children,1);e=r[0],AN(a,n,e,b,y)}return function(){e&&a&&bN()}}),[a]),gv.createElement(YI,{className:"FIE_text-tool-options",annotation:t,updateAnnotation:n,morePoppableOptionsPrepended:c?[]:gN,moreOptionsPopupComponentsObj:c?{}:vN,t:l},Array.isArray(f)&&1<f.length&&gv.createElement(XI,{className:"FIE_text-font-family-option",onChange:g,value:t.fontFamily,placeholder:l("fontFamily"),size:"sm"},f.map((function(){var e,t,n,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return gv.createElement(oL,{className:"FIE_text-font-family-item",key:null!==(e=r.value)&&void 0!==e?e:r,value:null!==(t=r.value)&&void 0!==t?t:r},null!==(n=r.label)&&void 0!==n?n:r)}))),gv.createElement(KI,{className:"FIE_text-size-option",value:t.fontSize||"",name:"fontSize",onChange:m,inputMode:"numeric",type:"number",size:"sm",placeholder:l("size")}),!c&&gv.createElement(gv.Fragment,null,gv.createElement(Yj,{className:"FIE_text-bold-option","aria-selected":(t.fontStyle||"").includes("bold"),onClick:function(){return v("bold")}},gv.createElement(Sj,null)),gv.createElement(Yj,{className:"FIE_text-italic-option","aria-selected":(t.fontStyle||"").includes("italic"),onClick:function(){return v("italic")}},gv.createElement(Oj,null))),r)};CN.defaultProps={children:null};const wN=CN;const xN=function(e){var t=e.t,n=Nb(WS({name:uE.TEXT}),2),r=n[0],o=n[1];return gv.createElement(wN,{text:r,saveText:o,t})};var EN=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_image-tool-button",id:uE.IMAGE,label:r("imageTool"),Icon:zP,onClick:t,isSelected:n})};EN.defaultProps={isSelected:!1};const _N=EN;var kN=eb.input.withConfig({componentId:"sc-h20emh-0"})(["display:none;width:1px;height:1px;position:absolute;z-index:-1;"]);const SN=(0,gv.forwardRef)((function(e,t){return gv.createElement(kN,Mb({type:"file",ref:t},e))}));var DN=function(e){var t=e.image,n=e.saveImage,r=e.children,o=e.t;return gv.createElement(YI,{className:"FIE_image-tool-options",annotation:t,updateAnnotation:n,t:o,hideFillOption:!0},r)};DN.defaultProps={children:null};const TN=DN;const ON=function(){var e=Nb((0,gv.useState)(),2),t=e[0],n=e[1],r=(0,gv.useRef)(),o=pS(),i=o.shownImageDimensions,a=o.dispatch,s=o.adjustments.crop,l=void 0===s?{}:s,u=o.t,c=Nb(WS({name:uE.IMAGE,opacity:1},!1),3),p=c[0],d=c[1],f=c[2],h=(0,gv.useRef)(0),m=function(e){h.current+=1,h.current===e&&(h.current=0,n(!1))},g=function(e){a({type:hk,payload:{feedback:{message:e,status:EE}}})};return gv.createElement(TN,{image:p,saveImage:d,t:u},gv.createElement(xP,{className:"FIE_image-tool-add-option",color:"secondary",onClick:t?void 0:function(){r.current&&r.current.click()},disabled:t,size:"sm",style:{maxHeight:24}},u(t?"importing":"addImage")),gv.createElement(SN,{ref:r,onChange:t?void 0:function(e){if(e.target.files){n(!0);var t=[],r=Array.from(e.target.files),o=r.length;if(r.forEach((function(e){if(e.type.startsWith("image/")){var n=new Image;n.onload=function(){(function(e){var t=l.width||i.width,n=l.height||i.height,r=l.x||0,o=l.y||0,a=Math.min(1,t/(e.width+.15*e.width),n/(e.height+.15*e.height));f({image:e,x:r+t/2-e.width*a/2,y:o+n/2-e.height*a/2,width:e.width*a,height:e.height*a})})(n),URL.revokeObjectURL(e),m(o)},n.onerror=function(){g(u("uploadImageError")),m(o)},n.src=URL.createObjectURL(e)}else t.push(e.name),m(o)})),0<t.length){var a=1<t.length?u("areNotImages"):u("isNotImage");g("".concat(t.join(", ")," ").concat(a," ").concat(u("toBeUploaded"),"."))}}e.target.value=""},disabled:t,multiple:!0}))};var PN=["color","size"],LN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,PN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M42.4624 0H8.0874C3.77959 0 0.274902 3.50469 0.274902 7.8125V42.1875C0.274902 46.4953 3.77959 50 8.0874 50H42.4624C46.7702 50 50.2749 46.4953 50.2749 42.1875V7.8125C50.2749 3.50469 46.7702 0 42.4624 0ZM46.3687 42.1875C46.3687 44.3414 44.6163 46.0938 42.4624 46.0938H8.0874C5.9335 46.0938 4.18115 44.3414 4.18115 42.1875V7.8125C4.18115 5.65859 5.9335 3.90625 8.0874 3.90625H42.4624C44.6163 3.90625 46.3687 5.65859 46.3687 7.8125V42.1875Z",fill:r}))}));var FN=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_rect-tool-button",id:uE.RECT,label:r("rectangleTool"),Icon:LN,onClick:t,isSelected:n})};FN.defaultProps={isSelected:!1};const jN=FN;var BN=["color","size"],IN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,BN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M3 3H23V0.5H3C1.61929 0.5 0.5 1.61929 0.5 3V43C0.5 44.3807 1.61929 45.5 3 45.5H43C44.3807 45.5 45.5 44.3807 45.5 43V23H43V43H3V3Z",fill:r}),gv.createElement("path",{d:"M45.5 7.25076H43V5.50076C43 5.15718 42.9321 4.83576 42.8113 4.54446L45.1206 3.58682C45.3651 4.17636 45.5 4.82281 45.5 5.50076V7.25076Z",fill:r}),gv.createElement("path",{d:"M24.75 0.500763V3.00076H28.25V0.500763H24.75Z",fill:r}),gv.createElement("path",{d:"M31.75 0.500763V3.00076H35.25V0.500763H31.75Z",fill:r}),gv.createElement("path",{d:"M38.75 0.500763V3.00076H40.5C40.8436 3.00076 41.165 3.06868 41.4563 3.18948L42.414 0.880166C41.8244 0.635694 41.178 0.500763 40.5 0.500763H38.75Z",fill:r}),gv.createElement("path",{d:"M45.5 10.7508H43V14.2508H45.5V10.7508Z",fill:r}),gv.createElement("path",{d:"M45.5 17.7508H43V21.2508H45.5V17.7508Z",fill:r}))}));const NN=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.cornerRadius;return gv.createElement(Vj,null,gv.createElement(jk,null,r("cornerRadius")),gv.createElement(JD,{annotation:"px",onChange:function(e){n({cornerRadius:AS(e,0,150)})},value:o,min:0,max:150}))};var MN=[{titleKey:"cornerRadius",name:"corner-radius",Icon:IN}],RN=dv({},"corner-radius",NN);const zN=function(e){var t=e.t,n=Nb(WS({name:uE.RECT}),2),r=n[0],o=n[1];return gv.createElement(YI,{className:"FIE_rect-tool-options",moreOptionsPopupComponentsObj:RN,morePoppableOptionsPrepended:MN,annotation:r,updateAnnotation:o,t})};var UN=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_ellipse-tool-button",id:uE.ELLIPSE,label:r("ellipseTool"),Icon:PP,onClick:t,isSelected:n})};UN.defaultProps={isSelected:!1};const $N=UN;const HN=function(e){var t=e.t,n=Nb(WS({name:uE.ELLIPSE}),2),r=n[0],o=n[1];return gv.createElement(YI,{className:"FIE_ellipse-tool-options",annotation:r,updateAnnotation:o,t})};var qN=["color","size"],VN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,qN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M48.8326 38.9412H35.1306C32.0818 38.9412 29.6019 41.4211 29.6019 44.4698C29.6019 45.9278 28.4155 47.1142 26.9576 47.1142H5.80392C4.34557 47.1142 3.15958 45.9278 3.15958 44.4698V42.5446C3.15958 41.0873 4.34518 39.9014 5.8024 39.9006L9.61443 39.8987C9.61557 39.8987 9.6171 39.8983 9.61824 39.8983C9.66173 39.8983 9.70522 39.8956 9.74908 39.8918C9.76701 39.8903 9.78456 39.8872 9.80249 39.885C9.82118 39.8823 9.84026 39.8808 9.85895 39.8777L20.0385 38.1218C20.0438 38.1207 20.0488 38.1195 20.0537 38.1184C20.0697 38.1153 20.0854 38.1119 20.101 38.1084C20.1266 38.1027 20.1518 38.097 20.1766 38.0898C20.1941 38.0852 20.2117 38.0798 20.2292 38.0745C20.2525 38.0669 20.2757 38.0589 20.299 38.0501C20.3158 38.0436 20.333 38.0379 20.3497 38.031C20.3856 38.0158 20.4207 37.9997 20.4554 37.9818C20.4691 37.9746 20.4829 37.9662 20.4966 37.9585C20.521 37.9448 20.5451 37.9311 20.5687 37.9158C20.5832 37.9067 20.5977 37.8967 20.6122 37.8868C20.6351 37.8708 20.658 37.854 20.6801 37.8365C20.6919 37.8273 20.7041 37.8181 20.716 37.8082C20.7495 37.7804 20.7823 37.7514 20.8132 37.7201L46.5228 12.011C48.5846 9.94911 48.5846 6.59409 46.5228 4.53186L43.5381 1.54762C41.4763 -0.514601 38.1209 -0.514219 36.0591 1.54762L10.3499 27.2568C10.3186 27.2877 10.2896 27.3209 10.2614 27.3544C10.2519 27.3659 10.2427 27.3777 10.2336 27.3895C10.216 27.412 10.1992 27.4349 10.1832 27.4582C10.1733 27.4723 10.1634 27.4868 10.1542 27.5013C10.1393 27.5246 10.1256 27.5482 10.1122 27.5723C10.1035 27.5879 10.0943 27.6035 10.0859 27.6192C10.0691 27.6524 10.0539 27.6856 10.0394 27.7199C10.0321 27.737 10.026 27.755 10.0192 27.7725C10.0112 27.7947 10.0031 27.8172 9.9959 27.8397C9.99017 27.858 9.98483 27.8763 9.97987 27.8946C9.97339 27.9182 9.96767 27.9423 9.96233 27.9667C9.95851 27.9835 9.9547 28.0003 9.95164 28.017C9.9505 28.022 9.94936 28.0266 9.94859 28.0312L8.39868 37.0148L5.80087 37.0159C2.75369 37.0174 0.274902 39.4978 0.274902 42.5446V44.4698C0.274902 47.5185 2.75522 49.9989 5.80392 49.9989H26.9576C30.0063 49.9989 32.4866 47.5185 32.4866 44.4698C32.4866 43.0119 33.6726 41.8255 35.1306 41.8255H48.8326C49.6291 41.8255 50.2749 41.18 50.2749 40.3835C50.2749 39.5866 49.6291 38.9412 48.8326 38.9412ZM12.3179 31.2645L16.8055 35.7521L11.3825 36.6875L12.3179 31.2645ZM33.8316 7.85408L36.0037 10.0262L15.5814 30.4485L13.4093 28.2764L33.8316 7.85408ZM19.7932 34.6603L17.6211 32.4883L38.0438 12.0659L40.2159 14.238L19.7932 34.6603ZM38.0988 3.58696C39.036 2.65007 40.5608 2.65007 41.4984 3.58696L44.4827 6.57158C45.4199 7.50885 45.4199 9.03397 44.4827 9.97124L42.2553 12.1986L35.8714 5.81436L38.0988 3.58696Z",fill:r}))}));var GN=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_pen-tool-button",id:uE.PEN,label:r("penTool"),Icon:VN,onClick:t,isSelected:n})};GN.defaultProps={isSelected:!1};const WN=GN;function ZN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YN(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?ZN(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ZN(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var XN={passive:!0};const KN=function(e){var t=e.t,n=pS(),r=n.dispatch,o=n.designLayer,i=n.previewGroup,a=n.config,s=Nb(WS(YN(YN(YN({},a.annotationsCommon),a[uE.PEN]),{},{name:uE.PEN}),!1),3),l=s[0],u=s[1],c=s[2],p=(0,gv.useRef)(null),d=(0,gv.useRef)({points:[],moved:!1,id:""}),f=(0,gv.useCallback)((function(){var e=bS(p.current.content),t=CS(i,e);return[t.offsetX-(o.attrs.xPadding||0),t.offsetY-(o.attrs.yPadding||0)]}),[]),h=(0,gv.useCallback)((function(){d.current.moved?(d.current.points=d.current.points.concat(f()),r({type:BR,payload:{id:d.current.id,points:d.current.points,dismissHistory:!0}})):(d.current={moved:!0,id:gS(uE.PEN),points:[].concat(jb(d.current.points),jb(f()))},c({id:d.current.id,name:uE.PEN,points:d.current.points}))}),[]),m=(0,gv.useCallback)((function(){d.current.id&&r({type:HR,payload:{annotationId:d.current.id}}),d.current=null,p.current.off("mousemove touchmove",h),p.current.off("mouseleave touchcancel",m),document.removeEventListener("mouseup",m,XN),document.removeEventListener("touchend",m,XN),document.removeEventListener("mouseleave",m,XN),document.removeEventListener("touchcancel",m,XN)}),[]),g=(0,gv.useCallback)((function(e){e.target.attrs.draggable||(e.evt.preventDefault(),d.current={points:f()},p.current.on("mousemove touchmove",h),p.current.on("mouseleave touchcancel",m),document.addEventListener("mouseup",m,XN),document.addEventListener("touchend",m,XN),document.addEventListener("mouseleave",m,XN),document.addEventListener("touchcancel",m,XN))}),[]);return(0,gv.useEffect)((function(){return p.current=null==o?void 0:o.getStage(),p.current&&p.current.on("mousedown touchstart",g),function(){p.current&&p.current.off("mousedown touchstart",g)}}),[]),gv.createElement(YI,{className:"FIE_pen-tool-options",annotation:l,updateAnnotation:u,t,hidePositionField:!0,hideFillOption:!0})};var QN=["color","size"],JN=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,QN);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M40.1901 7.27549L7.59689 39.8687C6.83412 40.6315 6.83412 41.8681 7.59689 42.6308C8.35965 43.3936 9.59626 43.3936 10.359 42.6308L42.9522 10.0376C43.715 9.27486 43.715 8.03825 42.9522 7.27549C42.1895 6.51272 40.9529 6.51272 40.1901 7.27549Z",fill:r}))}));const eM=JN;var tM=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_line-tool-button",id:uE.LINE,label:r("lineTool"),Icon:eM,onClick:t,isSelected:n})};tM.defaultProps={isSelected:!1};const nM=tM;const rM=function(e){var t=e.t,n=Nb(WS({name:uE.LINE}),2),r=n[0],o=n[1];return gv.createElement(YI,{className:"FIE_line-tool-options",annotation:r,updateAnnotation:o,t,hidePositionField:!0,hideFillOption:!0})};var oM=["color","size"],iM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,oM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.04757 38.9503C0.437373 38.3401 0.437373 37.3508 1.04757 36.7406L33.9229 3.86697L23.8354 3.33584C22.9736 3.29047 22.3118 2.5551 22.3572 1.69335C22.4026 0.831601 23.138 0.169794 23.9997 0.215167L37.5909 0.930759C38.3892 0.972794 39.027 1.61063 39.0691 2.40894L39.7846 16.0001C39.83 16.8619 39.1682 17.5972 38.3065 17.6426C37.4447 17.688 36.7093 17.0262 36.664 16.1644L36.1328 6.07651L3.25728 38.9503C2.64708 39.5605 1.65776 39.5605 1.04757 38.9503Z",fill:r}))}));var aM=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_arrow-tool-button",id:uE.ARROW,label:r("arrowTool"),Icon:iM,onClick:t,isSelected:n})};aM.defaultProps={isSelected:!1};const sM=aM;const lM=function(e){var t=e.t,n=Nb(WS({name:uE.ARROW}),2),r=n[0],o=n[1];return gv.createElement(YI,{className:"FIE_arrow-tool-options",annotation:r,updateAnnotation:o,t,hidePositionField:!0,hideFillOption:!0})};var uM=["color","size"],cM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,uM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.103 18.4866L24.0002 3.8811L3.89749 18.4866L11.5761 42.1188H36.4244L44.103 18.4866ZM25.8371 1.35293C24.7418 0.557164 23.2587 0.557162 22.1634 1.35292L2.06066 15.9584C0.96539 16.7542 0.507082 18.1647 0.925439 19.4523L8.604 43.0845C9.02236 44.372 10.2222 45.2438 11.5761 45.2438H36.4244C37.7782 45.2438 38.9781 44.372 39.3965 43.0845L47.075 19.4523C47.4934 18.1647 47.0351 16.7542 45.9398 15.9584L25.8371 1.35293Z",fill:r}))}));var pM=function(e){var t=e.selectTool,n=e.isSelected,r=e.t;return gv.createElement(Uk,{className:"FIE_polygon-tool-button",id:uE.POLYGON,label:r("polygonTool"),Icon:cM,onClick:t,isSelected:n})};pM.defaultProps={isSelected:!1};const dM=pM;var fM=["color","size"],hM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,fM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.0078 29.9668H25.835L24.7803 35.9727H27.4609L28.5156 29.9668H32.2363V27.4473H28.9551L29.6875 23.2871H33.3496V20.7383H30.1416L31.2109 14.6445H28.5303L27.4609 20.7383H24.6191L25.6885 14.6445H23.0225L21.9531 20.7383H18.1006V23.2871H21.499L20.7666 27.4473H17.002V29.9668H20.3271L19.2725 35.9727H21.9531L23.0078 29.9668ZM26.2744 27.4473H23.4473L24.165 23.2871H27.0068L26.2744 27.4473Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5448 0.821147C24.421 0.184537 25.6075 0.184536 26.4837 0.821146L48.4803 16.8026C49.3565 17.4392 49.7231 18.5676 49.3885 19.5977L40.9865 45.4561C40.6518 46.4862 39.692 47.1836 38.6089 47.1836H11.4197C10.3366 47.1836 9.37672 46.4862 9.04204 45.4561L0.640107 19.5977C0.305422 18.5676 0.672067 17.4392 1.54829 16.8026L23.5448 0.821147ZM25.0143 2.84369L47.0108 18.8251L38.6089 44.6836H11.4197L3.01775 18.8251L25.0143 2.84369Z",fill:r}))}));const mM=function(e){var t=e.annotation,n=e.updateAnnotation,r=e.t,o=t.sides;return gv.createElement(Vj,null,gv.createElement(jk,null,r("sides")),gv.createElement(JD,{annotation:"",onChange:function(e){n({sides:AS(e,3,25)})},value:o,min:3,max:25}))};var gM=[{titleKey:"sides",name:"sides-number",Icon:hM}],vM=dv({},"sides-number",mM);const yM=function(e){var t=e.t,n=Nb(WS({name:uE.POLYGON}),2),r=n[0],o=n[1];return gv.createElement(YI,{className:"FIE_polygon-tool-options",morePoppableOptionsPrepended:gM,moreOptionsPopupComponentsObj:vM,annotation:r,updateAnnotation:o,t,hidePositionField:!0})};var bM=["color","size"],AM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,bM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M40.5 20H38V12.5C38 5.6 32.4 0 25.5 0C18.6 0 13 5.6 13 12.5V20H10.5C9.1 20 8 21.1 8 22.5V47.5C8 48.9 9.1 50 10.5 50H40.5C41.9 50 43 48.9 43 47.5V22.5C43 21.1 41.9 20 40.5 20ZM15.5 12.5C15.5 7 20 2.5 25.5 2.5C31 2.5 35.5 7 35.5 12.5V20H15.5V12.5ZM40.5 47.5H10.5V22.5H40.5V47.5Z",fill:r}),gv.createElement("path",{d:"M24.3 37.3V41.3H26.8V37.3C28.3 36.8 29.3 35.4 29.3 33.8C29.3 31.7 27.6 30 25.5 30C23.4 30 21.7 31.7 21.7 33.8C21.8 35.4 22.8 36.8 24.3 37.3ZM25.5 32.5C26.2 32.5 26.8 33.1 26.8 33.8C26.8 34.5 26.2 35.1 25.5 35.1C24.8 35.1 24.2 34.5 24.2 33.8C24.3 33.1 24.8 32.5 25.5 32.5Z",fill:r}))}));const CM=AM;var wM=["color","size"],xM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,wM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M36.2754 7.5C34.2754 3.1 29.8754 0 24.7754 0C17.8754 0 12.2754 5.6 12.2754 12.5V20H9.77539C8.37539 20 7.27539 21.1 7.27539 22.5V47.5C7.27539 48.9 8.37539 50 9.77539 50H39.7754C41.1754 50 42.2754 48.9 42.2754 47.5V22.5C42.2754 21.1 41.1754 20 39.7754 20H14.7754V12.5C14.7754 7 19.2754 2.5 24.7754 2.5C28.4754 2.5 31.7754 4.5 33.4754 7.6L36.2754 7.5ZM39.7754 47.5H9.77539V22.5H39.7754V47.5Z",fill:r}),gv.createElement("path",{d:"M24.7754 30C22.6754 30 20.9754 31.7 20.9754 33.7C20.9754 35.3 21.9754 36.7 23.4754 37.2V41.2H25.9754V37.2C27.4754 36.7 28.4754 35.3 28.4754 33.7C28.5754 31.7 26.8754 30 24.7754 30ZM24.7754 35C24.0754 35 23.4754 34.4 23.4754 33.7C23.4754 33 24.0754 32.4 24.7754 32.4C25.4754 32.4 25.9754 33 25.9754 33.7C25.9754 34.4 25.4754 35 24.7754 35Z",fill:r}))}));const EM=xM;function _M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kM(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?_M(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const SM=function(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0;if(e.width&&e.height)return e;var i=iD(t,n,r),a=aD(i.width,i.height,o);return e.width||e.height?{width:e.width||a.width,height:e.height||a.height}:a.width&&a.height&&a||kM(kM({},r),aD(r.width,r.height,o))};var DM,TM=(dv(DM={},pP.Xs,Iy(["padding:6px;"])),dv(DM,pP.Sm,Iy(["padding:8px;"])),dv(DM,pP.Md,Iy(["padding:8px;"])),dv(DM,pP.Lg,Iy(["padding:10px;"])),dv(DM,pP.Xl,Iy(["padding:11px;"])),DM),OM=eb(AP.Button).attrs({className:_k("IconButton","root")}).withConfig({componentId:"sc-10edh45-0"})((function(e){var t=e.square,n=void 0!==t&&t,r=e.size;return Iy(["",""],n&&TM[void 0===r?pP.Md:r])}));const PM=kk({IconButton:OM});var LM=["children"],FM=function(e,t){switch(e){case pP.Xl:return t?18:16;case pP.Lg:case pP.Md:return t?16:14;default:return dP(e)}},jM=xk((function(e,t){var n=e.children,r=yv(e,LM);return gv.createElement(PM.IconButton,Mb({},r,{ref:t}),n&&("function"==typeof n?n({size:FM(r.size,r.square)}):n))}));jM.defaultProps={size:pP.Md,color:cP.Secondary,square:!1},jM.propTypes={children:Av().oneOfType([Av().node,Av().func]).isRequired,size:Av().oneOf(ob(pP)),color:Av().oneOf(ob(cP)),square:Av().bool};const BM=jM;var IM=eb.div.withConfig({componentId:"sc-17otqpz-0"})(["display:flex;justify-content:",";align-items:center;flex-wrap:wrap;"],(function(e){return e.alignLeft?"left":"center"})),NM=eb(MB).withConfig({componentId:"sc-17otqpz-1"})(["width:70px;height:24px;margin:",";"],(function(e){return e.noLeftMargin?"8px 8px 8px 0":"8px"})),MM=eb(BM).withConfig({componentId:"sc-17otqpz-2"})(["margin-right:16px;"]),RM=eb(jk).withConfig({componentId:"sc-17otqpz-3"})(["font-size:13px;line-height:15px;"]),zM=function(e){var t=e.onChange,n=e.currentSize,r=e.hideResetButton,o=e.alignLeft,i=pS(),a=i.dispatch,s=i.originalImage,l=i.resize,u=i.shownImageDimensions,c=i.adjustments,p=c.crop,d=c.rotation,f=void 0===d?0:d,h=i.theme,m=i.t,g=function(e){var r,o=e.target,i=o.name,c=o.value,d=aD(s.width,s.height,f),h=dv({},i,AS(c,1)),m="height"===i,g=m?"width":"height";if(!(null!==(r=n.ratioUnlocked)&&void 0!==r?r:l.ratioUnlocked)){var v=d.width/d.height;h[g]=m?Math.round(h[i]*v):Math.round(h[i]/v)}if(h[i]!==l[i]||h[g]!==l[g]){if("function"==typeof t)return void t(h);if(a({type:Yz,payload:h}),!l.width||!l.height){var y=p.width&&p.height&&p||u;a({type:Cz,payload:{factor:WO(y,h)}})}}},v=!l.width&&!l.height||s.width===l.width&&s.height===l.height,y=SM((n.width||n.height)&&n||l,p,u,s,f),b=l.manualChangeDisabled;return gv.createElement(IM,{className:"FIE_resize-tool-options",alignLeft:o},gv.createElement(NM,{className:"FIE_resize-width-option",value:y.width,name:"width",onChange:b?void 0:g,inputMode:"numeric",title:m("resizeWidthTitle"),type:"number",size:"sm",placeholder:"Width",noLeftMargin:o,disabled:b}),gv.createElement(RM,{className:"FIE_resize-x-label"},"x"),gv.createElement(NM,{className:"FIE_resize-height-option",value:y.height,name:"height",onChange:b?void 0:g,inputMode:"numeric",title:m("resizeHeightTitle"),type:"number",size:"sm",placeholder:"Height",disabled:b}),gv.createElement(MM,{className:"FIE_resize-ratio-locker",title:m("toggleRatioLockTitle"),onClick:b?void 0:function(){return"function"==typeof t?void t({ratioUnlocked:!n.ratioUnlocked}):void a({type:Yz,payload:{ratioUnlocked:!l.ratioUnlocked}})},color:"link",size:"sm",disabled:b},n.ratioUnlocked||l.ratioUnlocked?gv.createElement(EM,{color:h.palette["icons-secondary"]}):gv.createElement(CM,{color:h.palette["icons-secondary"]})),!r&&gv.createElement(xP,{className:"FIE_resize-reset-button",size:"sm",onClick:v||b?void 0:function(){a({type:Yz,payload:{width:null,height:null,ratioUnlocked:!1}});var e=p.width&&p.height&&p||u;a({type:Cz,payload:{factor:WO(e,e)}})},disabled:v||b,title:m("resetSize")},m("reset")))};zM.defaultProps={onChange:void 0,currentSize:{},hideResetButton:!1,alignLeft:!1};const UM=zM;var $M=["color","size"],HM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,$M);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M17.5911 1.54582C16.7075 0.680052 15.2937 0.680014 14.4101 1.54573L4.05296 11.6925C3.15635 12.5709 3.14159 14.0098 4.01999 14.9064C4.89839 15.8031 6.33733 15.8178 7.23394 14.9394L13.7278 8.57741V30.4419C13.7278 31.6971 14.7454 32.7147 16.0006 32.7147C17.2558 32.7147 18.2733 31.6971 18.2733 30.4419V8.57782L24.766 14.9393C25.6625 15.8178 27.1015 15.8031 27.9799 14.9065C28.8584 14.01 28.8437 12.571 27.9471 11.6926L17.5911 1.54582Z",fill:r}),gv.createElement("path",{d:"M2.78827 36.5543C1.53308 36.5543 0.515541 37.5719 0.515541 38.827C0.515541 40.0822 1.53308 41.0998 2.78827 41.0998H29.1519C30.4071 41.0998 31.4246 40.0822 31.4246 38.827C31.4246 37.5719 30.4071 36.5543 29.1519 36.5543H2.78827Z",fill:r}))}));const qM=HM;var VM=["color","size"],GM=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,VM);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.907 0.710361C25.7493 -0.293042 23.9445 -0.225257 22.8758 0.861763L0.931376 23.1832C-0.0773525 24.2092 -0.0773525 25.7908 0.931376 26.8168L22.8758 49.1383C23.9445 50.2253 25.7493 50.2931 26.907 49.2897C28.0647 48.2863 28.1369 46.5916 27.0683 45.5046L6.90997 25L27.0683 4.49541C28.1369 3.40839 28.0647 1.71376 26.907 0.710361Z",fill:r}))}));const WM=GM;var ZM=["children","size"],YM=xk((function(e,t){var n,r=e.children,o=e.size,i=void 0===o?GP.Md:o,a=yv(e,ZM);return gv.createElement(QP.Icon,Mb({},a,{ref:t}),r&&"function"==typeof r?r({size:(n=i,n===GP.Md?16:12)}):r)}));YM.defaultProps={size:GP.Md},YM.propTypes={size:Av().oneOf(ob(GP)),children:Av().oneOfType([Av().node,Av().func]).isRequired};const XM=YM;var KM=eb.div.withConfig({componentId:"sc-m9ezm7-0"})(["height:22px;display:flex;align-items:center;margin-right:4px;"]),QM=eb(xP).withConfig({componentId:"sc-m9ezm7-1"})(["height:100%;padding:4px 8px;flex-grow:1;justify-content:center;align-items:center;",";span{font-size:12px !important;line-height:14px !important;}"],(function(e){return e.keepBorderRadius?"":"border-top-right-radius: 0; border-bottom-right-radius: 0"})),JM=eb(BM).withConfig({componentId:"sc-m9ezm7-2"})(["border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;height:100%;padding:4px 8px;svg{transform:rotate(-90deg);width:10px;margin-top:-4px;}"]),eR=!0,tR=function(e){var t=e.label,n=e.onClick,r=e.title,o=e.color,i=e.menuFromBtn,a=e.menuItems,s=e.menuPosition,l=void 0===s?"bottom":s,u=e.arrowColor,c=e.disabled,p=void 0!==c&&c,d=e.className,f=e.menuStyle,h=e.wrapperStyle,m=Nb((0,gv.useState)(null),2),g=m[0],v=m[1],y="md",b=function(e){eR&&(e.stopPropagation(),v(e.currentTarget))},A=function(){eR&&v(null)};(0,gv.useEffect)((function(){return eR=!0,function(){eR=!1}}),[]);var C=0<a.length;return gv.createElement(gv.Fragment,null,gv.createElement(KM,{className:"".concat(d,"-wrapper"),onClick:p?void 0:function(e){i&&b(e),"function"==typeof n&&n()},style:h},gv.createElement(QM,{className:"".concat(d,"-button"),color:o,size:y,title:r,keepBorderRadius:!C,disabled:p},t),C&&gv.createElement(JM,{className:"".concat(d,"-menu-opener"),color:o,size:y,onClick:i||p?void 0:b,disabled:p},gv.createElement(WM,{color:u}))),C&&gv.createElement(GO,{className:"".concat(d,"-menu"),anchorEl:g,onClose:A,open:!0,style:f,position:l},a.map((function(e){return e&&gv.createElement(oL,{className:"".concat(d,"-menu-item"),key:e.key,active:e.isActive,onClick:function(){return function(e){"function"==typeof e&&e(),A()}(e.onClick)},size:y},e.icon&&gv.createElement(XM,{size:y},"string"==typeof e.icon?gv.createElement("span",{dangerouslySetInnerHTML:{__html:e.icon}}):gv.createElement(e.icon,null)),gv.createElement(cB,null,e.label))}))))};tR.defaultProps={title:"",color:"primary",menuFromBtn:!1,menuPosition:"bottom",onClick:void 0,disabled:!1,arrowColor:void 0,menuStyle:void 0,wrapperStyle:void 0};const nR=tR;var rR=eb.div.withConfig({componentId:"sc-fvaj5j-0"})(["display:flex;align-items:center;justify-content:center;flex-wrap:wrap;overflow:hidden;",";"],(function(e){return e.noWrap?"margin-left: 4px; flex-wrap: nowrap;":""})),oR=eb.div.withConfig({componentId:"sc-fvaj5j-1"})(["margin-bottom:8px;"]),iR=eb.div.withConfig({componentId:"sc-fvaj5j-2"})((function(e){var t=e.theme;return"\n    padding: 4px;\n    border: 1px solid ".concat(t.palette["borders-primary"],";\n    width: fit-content;\n    height: 32px;\n    border-radius: 2px;\n    overflow: hidden;\n    cursor: pointer;\n\n    :hover {\n      background: ").concat(t.palette["bg-primary-active"],";\n    }\n\n    &[aria-selected='true'] {\n      background: ").concat(t.palette["bg-primary-active"],";\n      border-color: ").concat(t.palette["accent-primary-active"],";\n    }\n\n    img {\n      max-width: 100%;\n      max-height: 100%;\n    }\n  ")})),aR=function(e){var t=e.selectWatermark,n=e.style,r=pS(),o=r.config,i=r.annotations,a=(0,gv.useMemo)((function(){var e;return null===(e=(i.watermark||{}).image)||void 0===e?void 0:e.src}),[i.watermark]),s=function(e){t(e.currentTarget.children[0])},l=(o[uE.WATERMARK]||{}).gallery,u=void 0===l?[]:l;return 0===u.length?null:gv.createElement(cj,{className:"FIE_watermark-gallery",style:n},u.map((function(e){return gv.createElement(iR,{className:"FIE_watermark-selected-item",onClick:s,key:e,"aria-selected":e===a},gv.createElement("img",{src:e,alt:e,crossOrigin:"Anonymous",draggable:!1}))})))};aR.defaultProps={style:void 0};const sR=aR;var lR=["color","size"],uR=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,lR);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M13.8334 9.19949C13.8334 8.50914 14.3931 7.94949 15.0834 7.94949H31.3334C32.0238 7.94949 32.5834 8.50914 32.5834 9.19949C32.5834 9.88985 32.0238 10.4495 31.3334 10.4495H15.0834C14.3931 10.4495 13.8334 9.88985 13.8334 9.19949Z",fill:r}),gv.createElement("path",{d:"M15.0834 35.5496C14.3931 35.5496 13.8334 36.1092 13.8334 36.7996C13.8334 37.4899 14.3931 38.0496 15.0834 38.0496H31.3334C32.0238 38.0496 32.5834 37.4899 32.5834 36.7996C32.5834 36.1092 32.0238 35.5496 31.3334 35.5496H15.0834Z",fill:r}),gv.createElement("path",{d:"M36.8001 13.4163C37.4905 13.4163 38.0501 13.9759 38.0501 14.6663V30.9163C38.0501 31.6066 37.4905 32.1663 36.8001 32.1663C36.1098 32.1663 35.5501 31.6066 35.5501 30.9163V14.6663C35.5501 13.9759 36.1098 13.4163 36.8001 13.4163Z",fill:r}),gv.createElement("path",{d:"M10.45 14.6663C10.45 13.9759 9.89038 13.4163 9.20003 13.4163C8.50967 13.4163 7.95003 13.9759 7.95003 14.6663L7.95003 30.9163C7.95003 31.6066 8.50967 32.1663 9.20003 32.1663C9.89038 32.1663 10.45 31.6066 10.45 30.9163L10.45 14.6663Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 0.5C1.61929 0.5 0.5 1.61929 0.5 3V43C0.5 44.3807 1.61929 45.5 3 45.5H43C44.3807 45.5 45.5 44.3807 45.5 43V3C45.5 1.61929 44.3807 0.5 43 0.5H3ZM43 3H3V43H43V3Z",fill:r}))}));const cR=uR;const pR=function(e){var t=e.watermark,n=e.saveWatermark,r=e.t,o=Nb((0,gv.useState)(null),2),i=o[0],a=o[1],s=t.padding;return gv.createElement(gv.Fragment,null,gv.createElement(Yj,{className:"FIE_watermark-padding-triggerer",title:r("padding"),onClick:function(e){a(e.currentTarget)}},gv.createElement(cR,{size:18})),gv.createElement(GO,{className:"FIE_watermark-padding-popup",anchorEl:i,open:!!i,onClose:function(){a(null)},position:"top"},gv.createElement(qj,null,gv.createElement(Vj,null,gv.createElement(jk,null,r("padding")),gv.createElement(JD,{annotation:"px",onChange:function(e){n({padding:AS(e,0,100)})},value:s})))))};function dR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?dR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var hR="watermark";const mR=function(){var e=pS(),t=e.annotations,n=e.shownImageDimensions,r=e.selectionsIds,o=e.config,i=e.dispatch,a=e.t,s=e.adjustments.crop,l=void 0===s?{}:s,u=tD(),c=Nb((0,gv.useState)(!1),2),p=c[0],d=c[1],f=(0,gv.useRef)(),h=o[uE.WATERMARK],m=(0,gv.useMemo)((function(){return t.watermark}),[t.watermark]),g=l.width||n.width,v=l.height||n.height,y=l.x||0,b=l.y||0,A=h.textScalingRatio||.33,C=h.imageScalingRatio||.33,w=function(e){var t=e.width/e.height,n={};if(v>g){var r=v*C/e.height;n.height=e.height*r,n.width=n.height*t}else{var a=g*C/e.width;n.width=e.width*a,n.height=n.width/t}var s=fR(fR(fR(fR({},o.annotationsCommon),o[uE.IMAGE]),n),{},{padding:1,image:e,x:y+g/2-n.width/2,y:b+v/2-n.height/2,id:hR,name:uE.IMAGE,replaceCurrent:!0});i({type:BR,payload:s})},x=function(e){i({type:BR,payload:fR(fR({},"function"==typeof e?e(m):e),{},{id:hR})})},E=[!o.useCloudimage&&{key:"upload-watermark",label:a("uploadWatermark"),icon:qM,onClick:function(){f.current&&f.current.click()}},{key:"add-text-watermark",label:a("addWatermarkAsText"),icon:wj,onClick:function(){var e={height:v*A,width:g*A},t=fR(fR(fR(fR({},o.annotationsCommon),o[uE.TEXT]),e),{},{padding:1,x:y+g/2-e.width/2,y:b+v/2-e.height/2,fill:"#000000",id:hR,name:uE.TEXT,replaceCurrent:!0});i({type:BR,payload:t})}}];(0,gv.useEffect)((function(){m&&(i({type:WR}),i({type:HR,payload:{annotationId:"watermark"}}))}),[m]),(0,gv.useEffect)((function(){m&&(0===r.length||r[0].id!==hR)&&i({type:HR,payload:{annotationId:"watermark"}})}),[r]);var _=function(){return gv.createElement(pR,{watermark:m,saveWatermark:x,t:a})};return gv.createElement("div",{className:"FIE_watermark-tool-wrapper"},(null==m?void 0:m.name)===uE.TEXT&&gv.createElement(oR,{className:"FIE_watermark-options-wrapper"},gv.createElement(wN,{text:m,saveText:x,t:a},_())),(null==m?void 0:m.name)===uE.IMAGE&&gv.createElement(oR,{className:"FIE_watermark-options-wrapper"},gv.createElement(TN,{image:m,saveImage:x,t:a},_())),gv.createElement(rR,{className:"FIE_watermark-add-wrapper",noWrap:!(null==m||!m.name)},gv.createElement(nR,{className:"FIE_watermark-add",color:"secondary",label:a("addWatermark"),title:a("addWatermarkTitle"),menuPosition:"top",menuItems:E,menuFromBtn:!0}),gv.createElement(sR,{selectWatermark:w,style:u&&null!=m&&m.name?{width:"55%"}:void 0}),gv.createElement(SN,{onChange:p?void 0:function(e){if(e.target.files){d(!0);var t=e.target.files[0];if(t.type.startsWith("image/")){var n=new Image;n.onload=function(){w(n),URL.revokeObjectURL(t),d(!1)},n.onerror=function(){(function(e){i({type:hk,payload:{feedback:{message:e,status:EE}}})})(a("uploadImageError")),d(!1)},n.src=URL.createObjectURL(t)}}e.target.value=""},disabled:p,ref:f})))};var gR,vR,yR=(dv(gR={},uE.CROP,{id:uE.CROP,Item:ZL}),dv(gR,uE.ROTATE,{id:uE.ROTATE,Item:lF,ItemOptions:EF}),dv(gR,uE.FLIP_X,{id:uE.FLIP_X,Item:JL}),dv(gR,uE.FLIP_Y,{id:uE.FLIP_Y,Item:oF}),dv(gR,uE.BRIGHTNESS,{id:uE.BRIGHTNESS,Item:Hk,ItemOptions:nT}),dv(gR,uE.CONTRAST,{id:uE.CONTRAST,Item:DF,ItemOptions:PF}),dv(gR,uE.HSV,{id:uE.HSV,Item:BF,ItemOptions:RF,hideFn:function(e){return e.useCloudimage}}),dv(gR,uE.BLUR,{id:uE.BLUR,Item:HF,ItemOptions:GF}),dv(gR,uE.WARMTH,{id:uE.WARMTH,Item:XF,ItemOptions:JF,hideFn:function(e){return e.useCloudimage}}),dv(gR,uE.FILTERS,{id:uE.FILTERS,Item:bj}),dv(gR,uE.WATERMARK,{id:uE.WATERMARK,Item:mR}),dv(gR,uE.TEXT,{id:uE.TEXT,Item:Ej,ItemOptions:xN}),dv(gR,uE.IMAGE,{id:uE.IMAGE,Item:_N,ItemOptions:ON}),dv(gR,uE.RECT,{id:uE.RECT,Item:jN,ItemOptions:zN}),dv(gR,uE.POLYGON,{id:uE.POLYGON,Item:dM,ItemOptions:yM}),dv(gR,uE.ELLIPSE,{id:uE.ELLIPSE,Item:$N,ItemOptions:HN}),dv(gR,uE.PEN,{id:uE.PEN,Item:WN,ItemOptions:KN}),dv(gR,uE.LINE,{id:uE.LINE,Item:nM,ItemOptions:rM}),dv(gR,uE.ARROW,{id:uE.ARROW,Item:sM,ItemOptions:lM}),dv(gR,uE.RESIZE,{id:uE.RESIZE,Item:UM}),gR),bR=(dv(vR={},lE.ADJUST,[uE.CROP,uE.ROTATE,uE.FLIP_X,uE.FLIP_Y]),dv(vR,lE.FINETUNE,[uE.BRIGHTNESS,uE.CONTRAST,uE.HSV,uE.BLUR,uE.WARMTH]),dv(vR,lE.FILTERS,[uE.FILTERS]),dv(vR,lE.WATERMARK,[uE.WATERMARK]),dv(vR,lE.ANNOTATE,[uE.TEXT,uE.IMAGE,uE.RECT,uE.ELLIPSE,uE.POLYGON,uE.PEN,uE.LINE,uE.ARROW]),dv(vR,lE.RESIZE,[uE.RESIZE]),vR);function AR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?AR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var wR="SELECT_TAB";const xR=function(e,t){return t.tabId===e.tabId?e:CR(CR({},e),{},{tabId:t.tabId,toolId:bR[t.tabId][0],selectionsIds:[],pointerCssIcon:t.tabId===lE.ANNOTATE?mE.DRAW:mE.DEFAULT})};function ER(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _R(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?ER(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ER(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var kR="UNDO";const SR=function(e){if(e.pastDesignStates&&0<e.pastDesignStates.length){var t=rk(e),n=BE(e.pastDesignStates),r=n[0],o=n.slice(1),i=[t].concat(jb(e.futureDesignStates||[]));return _R(_R(_R({},e),r),{},{selectionsIds:[],pastDesignStates:o,futureDesignStates:i,hasUndo:0<o.length,hasRedo:!0,haveNotSavedChanges:0<o.length})}return e};function DR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function TR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?DR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):DR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var OR="SET_FINETUNE";const PR=function(e,t){return TR(TR({},e),{},{isDesignState:!t.dismissHistory,finetunes:!t.finetune||e.finetunes.includes(t.finetune)?e.finetunes:[].concat(jb(e.finetunes),[t.finetune]),finetunesProps:TR(TR({},e.finetunesProps),t.finetuneProps)})};var LR=["dismissHistory","replaceCurrent"];function FR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?FR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var BR="SET_ANNOTATION";const IR=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=n.dismissHistory,o=n.replaceCurrent,i=yv(n,LR),a=null!==(t=i.id)&&void 0!==t?t:gS(i.name),s=e.annotations[a];return s&&!Object.keys(i).some((function(e){return(i[e]||0===i[e])&&i[e]!==s[e]}))?e:jR(jR({},e),{},{isDesignState:!(void 0!==r&&r),annotations:jR(jR({},e.annotations),{},dv({},a,jR(jR({},void 0!==o&&o?{}:s),i)))})};function NR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function MR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?NR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var RR="CHANGE_POINTER_ICON";const zR=function(e,t){return e.pointerCssIcon===t.pointerCssIcon?e:MR(MR({},e),{},{pointerCssIcon:t.pointerCssIcon})};function UR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $R(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?UR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):UR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var HR="SELECT_ANNOTATION";const qR=function(e,t){if(1===e.selectionsIds.length&&e.selectionsIds[0]===t.annotationId)return e;var n;t.multiple?(n=e.selectionsIds.filter((function(e){return e!==t.annotationId}))).length!==e.selectionsIds.length||n.push(t.annotationId):n=[t.annotationId];return $R($R({},e),{},{selectionsIds:n})};function VR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?VR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):VR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var WR="CLEAR_ANNOTATIONS_SELECTIONS";const ZR=function(e){return 0===e.selectionsIds.length?e:GR(GR({},e),{},{selectionsIds:[]})};function YR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XR(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?YR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var KR="TOGGLE_ORIGINAL_IMAGE_DISPLAY";const QR=function(e,t){return XR(XR({},e),{},{isShowOriginalImage:t.isShow})};function JR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ez(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?JR(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):JR(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var tz="SELECT_TOOL";const nz=function(e,t){return e.toolId===t.toolId?e:ez(ez({},e),{},{toolId:t.toolId,selectionsIds:t.keepSelections?e.selectionsIds:[]})};function rz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?rz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var iz="TOGGLE_FLIP";const az=function(e,t){var n="isFlipped".concat(t.direction===cE?"X":"Y");return oz(oz({},e),{},{isDesignState:!t.dismissHistory,adjustments:oz(oz({},e.adjustments),{},dv({},n,!e.adjustments[n]))})};function sz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?sz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var uz="SET_CROP";const cz=function(e,t){var n,r,o,i,a,s,l,u=null!==(n=e.adjustments.crop)&&void 0!==n?n:{},c={x:null!==(r=hD(t.x))&&void 0!==r?r:u.x,y:null!==(o=hD(t.y))&&void 0!==o?o:u.y,ratio:"string"==typeof t.ratio?t.ratio:null!==(i=hD(t.ratio))&&void 0!==i?i:u.ratio,width:null!==(a=hD(t.width))&&void 0!==a?a:u.width,height:null!==(s=hD(t.height))&&void 0!==s?s:u.height,ratioTitleKey:null!==(l=t.ratioTitleKey)&&void 0!==l?l:u.ratioTitleKey,ratioGroupKey:t.ratioGroupKey,ratioFolderKey:t.ratioFolderKey};return u.x===c.x&&u.y===c.y&&(u.width===c.width||c.width===hD(e.shownImageDimensions.width)&&null!==!u.width)&&(u.height===c.height||c.height===hD(e.shownImageDimensions.height)&&null!==u.height)&&u.ratio===c.ratio&&u.ratioTitleKey===c.ratioTitleKey&&u.ratioGroupKey===c.ratioGroupKey&&u.ratioFolderKey===c.ratioFolderKey?e:lz(lz({},e),{},{isDesignState:!t.dismissHistory,adjustments:lz(lz({},e.adjustments),{},{crop:lz(lz({},u),c)})})};function pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?pz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var fz="CHANGE_ROTATION";const hz=function(e,t){return e.adjustments.rotation===t.rotation?e:dz(dz({},e),{},{isDesignState:!t.dismissHistory,adjustments:dz(dz({},e.adjustments),{},{rotation:t.rotation})})};function mz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?mz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const vz=function(e,t,n,r){if(1===e.factor)return{x:0,y:0,factor:1};var o=e.factor>t.factor,i=(e.x-t.x||0)/t.factor,a=(e.y-t.y||0)/t.factor,s={x:e.x-i*e.factor,y:e.y-a*e.factor};if(o&&1===t.factor||(s.x=Math.min(0,Math.max(s.x,n*(1-t.factor))),s.y=Math.min(0,Math.max(s.y,r*(1-t.factor)))),1>e.factor){var l=n-n*e.factor,u=r-r*e.factor;s.x+=l/2,s.y+=u/2}return gz(gz({},s),{},{factor:e.factor})};var yz=["preparedDimensions"];function bz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Az(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?bz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Cz="ZOOM_CANVAS";const wz=function(e,t){var n,r=AS(parseFloat(t.factor).toFixed(2),.05,55);if(t.preparedDimensions){t.preparedDimensions;n=yv(t,yz)}else{var o,i,a={x:t.x||0===t.x?null!==(o=t.x)&&void 0!==o?o:e.zoom.x:e.canvasWidth/2,y:t.y||0===t.y?null!==(i=t.y)&&void 0!==i?i:e.zoom.y:e.canvasHeight/2};n=vz(Az(Az({},a),{},{factor:r}),e.zoom,e.canvasWidth,e.canvasHeight)}return n.factor===e.zoom.factor&&n.x===e.zoom.x&&n.y===e.zoom.y?e:Az(Az({},e),{},{zoom:Az(Az({},e.zoom),n)})};function xz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ez(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?xz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var _z="SET_CANVAS_SIZE";const kz=function(e,t){if(e.canvasWidth===t.canvasWidth&&e.canvasHeight===t.canvasHeight)return e;var n=e.initialCanvasWidth,r=void 0===n?t.canvasWidth:n,o=e.initialCanvasHeight,i=void 0===o?t.canvasHeight:o,a=tE(e.initialCanvasWidth,e.initialCanvasHeight,e.originalImage.width,e.originalImage.height),s=a*e.originalImage.width,l=a*e.originalImage.height,u=1;if(r!==t.canvasWidth||i!==t.canvasHeight){var c=t.canvasWidth/s,p=t.canvasHeight/l;u=Math.min(c,p)}return Ez(Ez({},e),{},{initialCanvasWidth:r,initialCanvasHeight:i,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,canvasScale:u})};function Sz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Sz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Tz="SET_ORIGINAL_IMAGE";const Oz=function(e,t){return Dz(Dz({},e),{},{feedback:{},originalImage:t.originalImage,imgSrc:t.originalImage.src})};function Pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Pz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Fz="SET_SHOWN_IMAGE_DIMENSIONS";const jz=function(e,t){return Lz(Lz({},e),{},{shownImageDimensions:Lz(Lz({},e.shownImageDimensions),t.shownImageDimensions),designLayer:t.designLayer||e.designLayer,previewGroup:t.previewGroup||e.previewGroup})};function Bz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Iz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Bz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Nz="REMOVE_ANNOTATIONS";const Mz=function(e,t){var n=e.annotations,r=e.selectionsIds;return t.annotationsIds.forEach((function(t){if(r=r.filter((function(e){return e!==t})),e.designLayer&&n[t]){var o=e.designLayer.findOne("#".concat(t));o&&o.destroy(),delete n[t]}})),Iz(Iz({},e),{},{isDesignState:t.isDesignState||!0,annotations:n,selectionsIds:[]})};function Rz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Rz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Uz="DUPLICATE_ANNOTATIONS";const $z=function(e,t){var n=e.annotations,r={};return t.annotationsIds.forEach((function(e){var t=n[e];if(t){var o=gS(t.name);r[o]=zz(zz({},t),{},{id:o,x:t.x+20,y:t.y+20})}})),zz(zz({},e),{},{isDesignState:!t.dismissHistory,annotations:zz(zz({},n),r)})};function Hz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Hz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Vz="ENABLE_TEXT_CONTENT_EDIT";const Gz=function(e,t){return qz(qz({},e),{},{textIdOfEditableContent:t.textIdOfEditableContent||null})};function Wz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Wz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Yz="SET_RESIZE";const Xz=function(e,t){var n;return Zz(Zz({},e),{},{isDesignState:!t.dismissHistory,resize:Zz(Zz(Zz({},e.resize),t),{},{manualChangeDisabled:!(null===(n=t.manualChangeDisabled)||void 0===n)&&n})})};function Kz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qz(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?Kz(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kz(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var Jz="SET_SAVED";const eU=function(e){return e.haveNotSavedChanges?Qz(Qz({},e),{},{haveNotSavedChanges:!1}):e};function tU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?tU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var rU=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=nU({},e),o=Object.keys(t);return o.forEach((function(o){var i=t[o];if(void 0!==i){if("object"!==uv(i)||null===i||Array.isArray(i)||!e[o]||"object"!==uv(e[o]))return void(r[o]=n&&Array.isArray(r[o])&&Array.isArray(i)?[].concat(jb(r[o]),jb(i)):i);r[o]=rU(e[o],i)}})),r};const oU=rU;var iU="UPDATE_STATE";const aU=function(e,t){var n=t&&"function"==typeof t?t(e):t;return n?oU(e,n):e};function sU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?sU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var uU="SET_LATEST_COLOR";const cU=function(e,t){return e.latestColor===t.latestColor?e:lU(lU({},e),{},{latestColor:t.latestColor})};var pU;const dU=(dv(pU={},Tz,Oz),dv(pU,hk,mk),dv(pU,yk,bk),dv(pU,FE,jE),dv(pU,RR,zR),dv(pU,HR,qR),dv(pU,WR,ZR),dv(pU,KR,QR),dv(pU,wR,xR),dv(pU,tz,nz),dv(pU,Cz,wz),dv(pU,_z,kz),dv(pU,Fz,jz),dv(pU,Vz,Gz),dv(pU,uU,cU),dv(pU,TE,OE),dv(pU,OR,PR),dv(pU,BR,IR),dv(pU,uz,cz),dv(pU,fz,hz),dv(pU,iz,az),dv(pU,Yz,Xz),dv(pU,Nz,Mz),dv(pU,Uz,$z),dv(pU,kR,SR),dv(pU,ak,sk),dv(pU,ck,pk),dv(pU,Jz,eU),dv(pU,iU,aU),pU);const fU=function(){return 2*(window?.05*Math.min(window.innerHeight,window.innerWidth):12)};var hU=function(e,t){var n=e.x,r=e.y,o=t*Math.PI/180,i=Math.cos(o),a=Math.sin(o);return{x:n*i-r*a,y:r*i+n*a}};const mU=function(e,t,n){if(!e||!t||!n&&0!==n)return{x:0,y:0,rotation:n};var r={x:-e/2,y:-t/2},o=hU(r,0),i=hU(r,n);return{x:i.x-o.x,y:i.y-o.y,rotation:n}};const gU={definitions:{id:Av().string.isRequired,name:Av().string.isRequired,rotation:Av().number,scaleX:Av().number,scaleY:Av().number,stroke:Av().string,strokeWidth:Av().number,shadowOffsetX:Av().number,shadowOffsetY:Av().number,shadowBlur:Av().number,shadowColor:Av().string,shadowOpacity:Av().number,opacity:Av().number},defaults:{rotation:0,scaleX:1,scaleY:1,stroke:void 0,strokeWidth:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,shadowBlur:void 0,shadowColor:void 0,shadowOpacity:void 0,opacity:1}};var vU=["id","name","fill","x","y","width","height","scaleX","scaleY","rotation","annotationEvents","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity","cornerRadius"];function yU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?yU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var AU=function(e){var t=e.id,n=e.name,r=e.fill,o=e.x,i=e.y,a=e.width,s=e.height,l=e.scaleX,u=e.scaleY,c=e.rotation,p=e.annotationEvents,d=e.stroke,f=e.strokeWidth,h=e.shadowOffsetX,m=e.shadowOffsetY,g=e.shadowBlur,v=e.shadowColor,y=e.shadowOpacity,b=e.opacity,A=e.cornerRadius,C=yv(e,vU);return gv.createElement(Zx,Mb({id:t,name:n,rotation:c,scaleX:l,scaleY:u,stroke:d,strokeWidth:f,shadowOffsetX:h,shadowOffsetY:m,shadowBlur:g,shadowColor:v,shadowOpacity:y,fill:r,x:o,y:i,width:a,height:s,opacity:b,cornerRadius:A},p,C))};AU.defaultProps=bU(bU({},gU.defaults),{},{fill:"#000",cornerRadius:0,width:0,height:0});const CU=AU;var wU=["id","name","fill","x","y","radiusX","radiusY","scaleX","scaleY","rotation","annotationEvents","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity"];function xU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function EU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?xU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var _U=function(e){var t=e.id,n=e.name,r=e.fill,o=e.x,i=e.y,a=e.radiusX,s=e.radiusY,l=e.scaleX,u=e.scaleY,c=e.rotation,p=e.annotationEvents,d=e.stroke,f=e.strokeWidth,h=e.shadowOffsetX,m=e.shadowOffsetY,g=e.shadowBlur,v=e.shadowColor,y=e.shadowOpacity,b=e.opacity,A=yv(e,wU);return gv.createElement(Yx,Mb({id:t,name:n,rotation:c,scaleX:l,scaleY:u,stroke:d,strokeWidth:f,shadowOffsetX:h,shadowOffsetY:m,shadowBlur:g,shadowColor:v,shadowOpacity:y,fill:r,x:o,y:i,radiusX:a,radiusY:s,offsetX:-a,offsetY:-s,opacity:b},p,A))};_U.defaultProps=EU(EU({},gU.defaults),{},{fill:"#000",radiusX:0,radiusY:0});const kU=_U;var SU=["id","name","fill","x","y","radius","scaleX","scaleY","rotation","sides","annotationEvents","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity"];function DU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function TU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?DU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):DU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var OU=function(e){var t=e.id,n=e.name,r=e.fill,o=e.x,i=e.y,a=e.radius,s=e.scaleX,l=e.scaleY,u=e.rotation,c=e.sides,p=e.annotationEvents,d=e.stroke,f=e.strokeWidth,h=e.shadowOffsetX,m=e.shadowOffsetY,g=e.shadowBlur,v=e.shadowColor,y=e.shadowOpacity,b=e.opacity,A=yv(e,SU);return gv.createElement("RegularPolygon",Mb({id:t,name:n,rotation:u,scaleX:s,scaleY:l,stroke:d,strokeWidth:f,shadowOffsetX:h,shadowOffsetY:m,shadowBlur:g,shadowColor:v,shadowOpacity:y,fill:r,x:o,y:i,radius:a,offsetX:-a,offsetY:-a,sides:c,opacity:b},p,A))};OU.defaultProps=TU(TU({},gU.defaults),{},{fill:"#000",sides:3});const PU=OU;var LU=["id","name","text","fontFamily","fontSize","fontStyle","fill","x","y","width","height","scaleX","scaleY","rotation","annotationEvents","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity","letterSpacing","lineHeight","align"];function FU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?FU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var BU=function(e){var t=e.id,n=e.name,r=e.text,o=e.fontFamily,i=e.fontSize,a=e.fontStyle,s=e.fill,l=e.x,u=e.y,c=e.width,p=e.height,d=e.scaleX,f=e.scaleY,h=e.rotation,m=e.annotationEvents,g=e.stroke,v=e.strokeWidth,y=e.shadowOffsetX,b=e.shadowOffsetY,A=e.shadowBlur,C=e.shadowColor,w=e.shadowOpacity,x=e.opacity,E=e.letterSpacing,_=e.lineHeight,k=e.align,S=yv(e,LU);return gv.createElement("Text",Mb({id:t,name:n,rotation:h,scaleX:d,scaleY:f,stroke:g,strokeWidth:v,shadowOffsetX:y,shadowOffsetY:b,shadowBlur:A,shadowColor:C,shadowOpacity:w,opacity:x,fill:s,text:r,fontFamily:o,fontStyle:a,fontSize:i,letterSpacing:E,lineHeight:_,align:k,x:l,y:u,width:c,height:p},m,S))};BU.defaultProps=jU(jU({},gU.defaults),{},{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur imperdiet tortor quis odio facilisis, id aliquet nulla facilisis. Etiam tincidunt tempor odio nec placerat.",fontFamily:"Arial",fontSize:14,fill:"#000",width:0,height:0,letterSpacing:void 0,lineHeight:void 0,align:"left"});const IU=BU;const NU=function(e){var t=e.split("/");return t[t.length-1].split("?")[0]};const MU=function(e,t){return new Promise((function(n,r){var o=new Image;o.src=e,o.crossOrigin="Anonymous",o.name=null!=t?t:NU(e),o.onload=function(){n(o)},o.onerror=function(){r(new Error("Error in loading the image with the provided url: ".concat(e)))}}))};var RU=["id","name","image","x","y","width","height","scaleX","scaleY","rotation","annotationEvents","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity"];function zU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?zU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var $U=function(e){var t=e.id,n=e.name,r=e.image,o=e.x,i=e.y,a=e.width,s=e.height,l=e.scaleX,u=e.scaleY,c=e.rotation,p=e.annotationEvents,d=e.stroke,f=e.strokeWidth,h=e.shadowOffsetX,m=e.shadowOffsetY,g=e.shadowBlur,v=e.shadowColor,y=e.shadowOpacity,b=e.opacity,A=yv(e,RU),C=Nb((0,gv.useState)(null),2),w=C[0],x=C[1];(0,gv.useEffect)((function(){"string"==typeof r&&MU(r).then(x)}),[r]);var E=r instanceof HTMLImageElement;if(!E&&!w)return null;var _=E?r:w;return gv.createElement(Xx,Mb({id:t,name:n,rotation:c,scaleX:l,scaleY:u,stroke:d,strokeWidth:f,shadowOffsetX:h,shadowOffsetY:m,shadowBlur:g,shadowColor:v,shadowOpacity:y,image:_,x:o,y:i,width:a,height:s,opacity:b},A,p,A))};$U.defaultProps=UU(UU({},gU.defaults),{},{width:0,height:0});const HU=$U;var qU=["id","name","scaleX","scaleY","rotation","annotationEvents","points","lineCap","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","tension","opacity"];function VU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?VU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):VU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var WU=function(e){var t=e.id,n=e.name,r=e.scaleX,o=e.scaleY,i=e.rotation,a=e.annotationEvents,s=e.points,l=e.lineCap,u=e.stroke,c=e.strokeWidth,p=e.shadowOffsetX,d=e.shadowOffsetY,f=e.shadowBlur,h=e.shadowColor,m=e.shadowOpacity,g=e.tension,v=e.opacity,y=yv(e,qU);return gv.createElement("Line",Mb({id:t,name:n,rotation:i,scaleX:r,scaleY:o,stroke:u,strokeWidth:c,shadowOffsetX:p,shadowOffsetY:d,shadowBlur:f,shadowColor:h,shadowOpacity:m,points:s,lineCap:l,tension:g,hitStrokeWidth:20,x:0,y:0,opacity:v},a,y))};WU.defaultProps=GU(GU({},gU.defaults),{},{stroke:"#000000",strokeWidth:1,lineCap:"butt",annotationEvents:{},tension:void 0});const ZU=WU;var YU=["id","name","fill","pointerLength","pointerWidth","scaleX","scaleY","rotation","annotationEvents","points","lineCap","stroke","strokeWidth","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","shadowOpacity","opacity"];function XU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KU(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?XU(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):XU(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var QU=function(e){var t=e.id,n=e.name,r=e.fill,o=e.pointerLength,i=e.pointerWidth,a=e.scaleX,s=e.scaleY,l=e.rotation,u=e.annotationEvents,c=e.points,p=e.lineCap,d=e.stroke,f=e.strokeWidth,h=e.shadowOffsetX,m=e.shadowOffsetY,g=e.shadowBlur,v=e.shadowColor,y=e.shadowOpacity,b=e.opacity,A=yv(e,YU);return gv.createElement("Arrow",Mb({id:t,name:n,rotation:l,scaleX:a,scaleY:s,stroke:d,strokeWidth:f,shadowOffsetX:h,shadowOffsetY:m,shadowBlur:g,shadowColor:v,shadowOpacity:y,fill:r,x:0,y:0,points:c,pointerLength:o,pointerWidth:i,lineCap:p,opacity:b},u,A))};QU.defaultProps=KU(KU({},gU.defaults),{},{stroke:"#000000",strokeWidth:6,fill:void 0,lineCap:"butt",pointerLength:void 0,pointerWidth:void 0});const JU=QU;var e$,t$=(dv(e$={},uE.RECT,CU),dv(e$,uE.ELLIPSE,kU),dv(e$,uE.POLYGON,PU),dv(e$,uE.TEXT,IU),dv(e$,uE.IMAGE,HU),dv(e$,uE.LINE,ZU),dv(e$,uE.ARROW,JU),dv(e$,uE.PEN,ZU),e$);const n$=(0,gv.memo)((function(e){var t=e.annotation,n=e.annotationEvents,r=e.selectionsIds,o=t$[t.name];return gv.createElement(o,Mb({key:t.id,annotationEvents:n,draggable:r.includes(t.id)},t))}));const r$=function(){var e=pS(),t=e.annotations,n=void 0===t?{}:t,r=e.selectionsIds,o=void 0===r?[]:r,i=JS();return(0,gv.useMemo)((function(){return Object.values(n).map((function(e){return gv.createElement(n$,{key:e.id,annotation:e,annotationEvents:i,selectionsIds:o})}))}),[n,i,o])};const o$=(0,gv.forwardRef)((function(e,t){return gv.createElement("Group",Mb({ref:t},e))}));function i$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a$(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?i$(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var s$=fU();const l$=function(){var e,t,n,r,o=(0,gv.useRef)(),i=pS(),a=i.initialCanvasWidth,s=i.initialCanvasHeight,l=i.canvasWidth,u=i.canvasHeight,c=i.dispatch,p=i.toolId,d=i.canvasScale,f=i.originalImage,h=void 0===f?{}:f,m=i.finetunes,g=void 0===m?[]:m,v=i.finetunesProps,y=void 0===v?{}:v,b=i.filter,A=void 0===b?null:b,C=i.adjustments,w=(C=void 0===C?{}:C).rotation,x=void 0===w?0:w,E=C.crop,_=void 0===E?{}:E,k=C.isFlippedX,S=C.isFlippedY,D=i.resize,T=(0,gv.useRef)(),O=(0,gv.useRef)(),P=p===uE.CROP,L=(0,gv.useMemo)((function(){return A?[].concat(jb(g),[A]):g}),[g,A]),F=(0,gv.useMemo)((function(){var e=h.width-s$;return{width:e,height:e/(h.width/h.height)}}),[h]),j=(0,gv.useMemo)((function(){return aD(h.width,h.height,x)}),[h,x]),B=(0,gv.useMemo)((function(){return tE(a,s,h.width,h.height)}),[h,a,s]),I=(0,gv.useMemo)((function(){return{width:F.width*B,height:F.height*B}}),[F,B]),N=D.width&&!P?D.width/(null!==(e=null!==(t=_.width)&&void 0!==t?t:I.width)&&void 0!==e?e:j.width):1,M=D.height&&!P?D.height/(null!==(n=null!==(r=_.height)&&void 0!==r?r:I.height)&&void 0!==n?n:j.height):1,R=l/(2*d)-I.width*N/2,z=u/(2*d)-I.height*M/2,U=l/(2*d)-I.width/2,$=u/(2*d)-I.height/2,H=(0,gv.useMemo)((function(){return{x:Math.round(R),y:Math.round(z),abstractX:Math.round(U),abstractY:Math.round($),width:I.width,height:I.height,scaledBy:d}}),[d,R,z,U,$,I]),q=(0,gv.useCallback)((function(){T.current?T.current.cache():setTimeout(q,0)}),[]),V=aD(H.width,H.height,x),G=P?1:tE(H.width,H.height,V.width,V.height);if((0,gv.useEffect)((function(){return h&&q(),function(){var e;null===(e=T.current)||void 0===e||e.clearCache()}}),[h]),(0,gv.useEffect)((function(){H&&c({type:Fz,payload:{shownImageDimensions:H,designLayer:o.current,previewGroup:O.current}})}),[H]),!R||!z||!H)return null;var W=mU(_.x,_.y,x),Z=R+(!P&&_.width?(k?-1:1)*(H.width/2-_.x-_.width/2+W.x)*N:0),Y=z+(!P&&_.height?(S?-1:1)*(H.height/2-_.y-_.height/2+W.y)*M:0),X=P?U:Z,K=P?$:Y,Q=(k?-1:1)*(P?1:N)*G,J=(S?-1:1)*(P?1:M)*G;return gv.createElement(Wx,{id:"FIE_design-layer",ref:o,xPadding:X,yPadding:K,offsetX:I.width/2,offsetY:I.height/2,x:I.width*N/2+X,y:I.height*M/2+K,scaleX:Q,scaleY:J,rotation:P?0:x,clipFunc:function(e){var t,n,r=P&&!(null!==(t=o.current)&&void 0!==t&&null!==(n=t.attrs)&&void 0!==n&&n.isSaving),i=r?a$(a$({},H),{},{x:0,y:0}):{width:_.width||H.width,height:_.height||H.height,x:_.x||0,y:_.y||0};kE(e,a$({ratio:_.ratio},i),r),o.current&&o.current.setAttrs({clipX:i.x,clipY:i.y,clipWidth:i.width,clipHeight:i.height})}},gv.createElement(Xx,Mb({id:oE,image:h,width:I.width,height:I.height,offsetX:I.width/2,offsetY:I.height/2,x:I.width/2,y:I.height/2,listening:!1,filters:L,ref:T},y)),gv.createElement(r$,null),gv.createElement(o$,{ref:O}))};const u$=function(e,t){return hD(e)===hD(t)};function c$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p$(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?c$(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var d$=function(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},i={x:hD(n.abstractX*n.scaledBy),y:hD(n.abstractY*n.scaledBy),width:hD(n.width*n.scaledBy),height:hD(n.height*n.scaledBy)},a=p$({},t);if(t.x<i.x&&(a.x=i.x,a.width=e.x-i.x+e.width),t.y<i.y&&(a.y=i.y,a.height=e.y-i.y+e.height),a.x+a.width>i.x+i.width&&(a.width=i.x+i.width-a.x),a.y+a.height>i.y+i.height&&(a.height=i.y+i.height-a.y),r&&!u$(a.width/a.height,r)){var s=a.height*r,l=a.width/r;hD(a.y+l)<=i.y+i.height?a.height=l:a.width=s}return(o.minWidth&&a.width<=o.minWidth||o.maxWidth&&a.width>=o.maxWidth)&&(a.width=AS(a.width,o.minWidth,o.maxWidth),a.x=e.x,a.y=e.y,r&&(a.height=a.width/r)),(o.minHeight&&t.height<=o.minHeight||o.maxHeight&&t.height>=o.maxHeight)&&(a.height=AS(a.height,o.minHeight,o.maxHeight),a.x=e.x,a.y=e.y,r&&(a.width=a.height*r)),a};function f$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h$(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?f$(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const m$=function(){var e=pS(),t=e.dispatch,n=e.theme,r=e.designLayer,o=e.originalImage,i=e.shownImageDimensions,a=e.adjustments,s=(a=void 0===a?{}:a).crop,l=void 0===s?{}:s,u=a.isFlippedX,c=a.isFlippedY,p=e.resize,d=void 0===p?{}:p,f=e.config,h=e.t,m=(0,gv.useRef)(),g=(0,gv.useRef)(),v=(0,gv.useRef)(),y=(0,gv.useRef)(),b=f[uE.CROP],A=l.ratio||b.ratio,C=A===vE,w=A===yE,x=function(){return A===gE?o.width/o.height:A},E=function(e,n){var r=e.width,o=e.height,a=e.x,s=e.y,p={x:u?i.width-a-r:a,y:c?i.height-s-o:s,width:r,height:o},f=l.width>=d.width&&l.height>=d.height;d.width&&d.height&&(r<d.width||o<d.height)&&f&&t({type:hk,payload:{feedback:{message:h("cropSizeLowerThanResizedWarning"),status:EE}}}),t({type:uz,payload:h$(h$(h$({},l),p),{},{dismissHistory:n})})},_=function(e,t){var n,r;g.current&&m.current&&g.current.nodes([m.current]);var o=y.current,i={width:e,height:t,x:null!==(n=l.x)&&void 0!==n?n:0,y:null!==(r=l.y)&&void 0!==r?r:0};E(d$(i,i,h$(h$({},o),{},{abstractX:0,abstractY:0}),!(C||w)&&x(),b),!0)};if((0,gv.useEffect)((function(){return r&&g.current&&m.current&&(v.current&&v.current.cache(),g.current.nodes([m.current])),function(){v.current&&v.current.clearCache()}}),[r,o,i]),(0,gv.useEffect)((function(){if(y.current){var e,t,n=y.current;_(null!==(e=l.width)&&void 0!==e?e:n.width,null!==(t=l.height)&&void 0!==t?t:n.height)}}),[A]),(0,gv.useEffect)((function(){g.current&&m.current&&y.current&&l.width&&l.height&&_(l.width,l.height)}),[b,i.width,i.height]),(0,gv.useEffect)((function(){i&&(y.current=i)}),[i]),!r)return null;var k,S=C||w?void 0:["top-left","bottom-left","top-right","bottom-right"],D=function(e){var t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];e.target&&E({width:e.target.width()*e.target.scaleX(),height:e.target.height()*e.target.scaleY(),x:e.target.x(),y:e.target.y()},t)};if(l.width||l.height)k=l;else{var T=1>i.scaledBy?i.scaledBy:1,O=h$(h$({},i),{},{width:i.width/T,height:i.height/T});k=d$(O,h$(h$({},O),{},{x:0,y:0}),h$(h$({},O),{},{abstractX:0,abstractY:0}),!(C||w)&&x(),b)}var P=k,L=P.x,F=void 0===L?0:L,j=P.y,B=void 0===j?0:j,I=P.width,N=P.height,M={x:u?i.width-F-I:F,y:c?i.height-B-N:B,ref:m,fill:"#FFFFFF",scaleX:1,scaleY:1,globalCompositeOperation:"destination-out",onDragEnd:D,onDragMove:function(e){var t=e.target;t.setAttrs(function(e,t){var n=t.width-(2*e.radiusX||e.width),r=t.height-(2*e.radiusY||e.height);return{x:hD(Math.min(Math.max(e.x,0),n)),y:hD(Math.min(Math.max(e.y,0),r))}}(t.attrs,y.current))},onTransformEnd:D,draggable:!0};return gv.createElement(gv.Fragment,null,gv.createElement(Xx,{image:o,x:u?i.width:0,y:c?i.height:0,width:i.width,height:i.height,filters:[Gw.Filters.Blur,Gw.Filters.Brighten],blurRadius:10,brightness:-.3,scaleX:u?-1:1,scaleY:c?-1:1,ref:v}),w?gv.createElement(Yx,Mb({},M,{radiusX:I/2,radiusY:N/2,offset:{x:-I/2,y:-N/2}})):gv.createElement(Zx,Mb({},M,{width:I,height:N})),gv.createElement(Kx,{centeredScaling:!1,flipEnabled:!1,rotateEnabled:!1,nodes:m.current?[m.current]:[],anchorSize:14,anchorCornerRadius:7,enabledAnchors:S,ignoreStroke:!1,anchorStroke:n.palette["accent-primary"],anchorFill:n.palette["access-primary"],anchorStrokeWidth:2,borderStroke:n.palette["accent-primary"],borderStrokeWidth:2,borderDash:[4],keepRatio:!C||!w,ref:g,boundBoxFunc:function(e,t){return d$(e,t,y.current,!(C||w)&&x(),b)}}))};const g$=function(){var e,t=pS(),n=t.selectionsIds,r=void 0===n?[]:n,o=t.theme,i=t.designLayer,a=t.dispatch,s=t.config.useCloudimage,l=(0,gv.useMemo)((function(){return null!=i&&i.findOne?r.map((function(e){return i.findOne("#".concat(e))})).filter(Boolean):[]}),[r]),u=function(){1===l.length&&l[0].name()===uE.TEXT&&a({type:Vz,payload:{textIdOfEditableContent:l[0].id()}})};return gv.createElement(Kx,{id:iE,centeredScaling:!1,rotationSnaps:[0,45,90,135,180,225,270,315],nodes:l,rotateAnchorOffset:30,anchorSize:14,anchorCornerRadius:7,padding:1===l.length&&null!==(e=l[0].attrs.padding)&&void 0!==e?e:1,ignoreStroke:!1,anchorStroke:o.palette["accent-primary"],anchorFill:o.palette["access-primary"],anchorStrokeWidth:2,borderStroke:o.palette["accent-primary"],borderStrokeWidth:2,borderDash:[4],rotateEnabled:!s,onMouseOver:function(){a({type:RR,payload:{pointerCssIcon:mE.MOVE}})},onMouseLeave:function(){a({type:RR,payload:{pointerCssIcon:mE.DRAW}})},onDblClick:u,onDblTap:u,flipEnabled:!0,shouldOverdrawWholeArea:!0})};const v$=function(){var e=pS(),t=e.toolId,n=e.shownImageDimensions;return gv.createElement(Wx,{id:rE,x:n.abstractX||0,y:n.abstractY||0},gv.createElement(g$,null),t===uE.CROP&&gv.createElement(m$,null))};var y$=["color","size"],b$=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,y$);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.312012 34.847V3.39883C0.312012 1.67294 1.71112 0.273834 3.43701 0.273834H26.807C28.5329 0.273834 29.932 1.67294 29.932 3.39883V34.847C29.932 36.5729 28.5329 37.972 26.807 37.972H3.43701C1.71112 37.972 0.312012 36.5729 0.312012 34.847ZM3.43701 34.847V3.39883L26.807 3.39883L26.807 34.847L3.43701 34.847Z",fill:r}),gv.createElement("path",{d:"M35.6874 12.5434C35.6874 11.6805 34.9878 10.9809 34.1249 10.9809C33.2619 10.9809 32.5624 11.6805 32.5624 12.5434V40.6009H9.89033C9.02739 40.6009 8.32783 41.3005 8.32783 42.1634C8.32783 43.0263 9.02739 43.7259 9.89033 43.7259H34.1249C34.9878 43.7259 35.6874 43.0263 35.6874 42.1634V12.5434Z",fill:r}))}));const A$=b$;var C$=eb.div.withConfig({componentId:"sc-1tst9ex-0"})((function(e){var t=e.theme,n=e.top,r=e.left;return"\n  position: absolute;\n  z-index: 1;\n  background: ".concat(t.palette["bg-secondary"],";\n  border-radius: 2px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  box-shadow: 0px 1px 2px ").concat(t.palette["light-shadow"],";\n  top: ").concat((n||0)+8,"px;\n  left: ").concat((r||0)+4,"px;\n  transform: translateX(-50%);\n  height: 32px;\n")}));const w$=function(){var e=pS(),t=e.selectionsIds,n=void 0===t?[]:t,r=e.designLayer,o=e.annotations,i=e.dispatch,a=Nb((0,gv.useState)({left:0,top:0}),2),s=a[0],l=a[1],u=(0,gv.useMemo)((function(){var e;return null==r||null===(e=r.getStage())||void 0===e?void 0:e.findOne("#".concat(iE))}),[r]),c=n.length,p=vS((function(){u&&l({left:(u.x()+u.width()/2)*u.scaleX(),top:(u.y()+u.height())*u.scaleY()})}),0);return(0,gv.useEffect)((function(){p()}),[n,u,o]),0!==c&&u?gv.createElement(C$,{className:"FIE_annotation-controls-overlay",left:s.left,top:s.top},n[0]!==aE&&gv.createElement(BM,{color:"link",size:"sm",onClick:function(){i({type:Uz,payload:{annotationsIds:n}})}},gv.createElement(A$,null)),gv.createElement(BM,{color:"link",size:"sm",onClick:function(){i({type:Nz,payload:{annotationsIds:n}})}},gv.createElement(Jj,null))):null};function x$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E$(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?x$(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}function _$(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}var k$=null,S$=0,D$=function(e,t){e.evt.preventDefault();var n=e.evt.touches[0],r=e.evt.touches[1];if(n&&r){var o=e.currentTarget;o.isDragging()&&o.stopDrag();var i={x:n.clientX,y:n.clientY},a={x:r.clientX,y:r.clientY};if(!k$)return void(k$=_$(i,a));var s=_$(i,a),l=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}(i,a);S$||(S$=l);var u={x:(s.x-o.x())/o.scaleX(),y:(s.y-o.y())/o.scaleX()},c=o.scaleX()*(l/S$),p=s.x-k$.x,d=s.y-k$.y,f={x:s.x-u.x*c+p,y:s.y-u.y*c+d};S$=l,k$=s,t(E$(E$({},f),{},{factor:c,preparedDimensions:!0}))}},T$=eb.div.withConfig({componentId:"sc-3ln9py-0"})(["width:100%;position:relative;height:calc(100% - 94px - 12px);background:",";overflow:hidden;min-height:250px;flex-grow:1;"],(function(e){return e.theme.palette["bg-primary"]})),O$=eb.img.withConfig({componentId:"sc-3ln9py-1"})(["max-width:98%;max-height:98%;box-shadow:0 0 0 5px rgba(0,0,0,0.1);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;"]),P$=eb(Jx).withConfig({componentId:"sc-3ln9py-2"})(["outline:none;background:",";"],(function(e){return e.theme.palette["bg-secondary"]}));function L$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F$(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?L$(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const j$=(0,gv.memo)((function(e){var t=e.children;eE(!0);var n=(0,gv.useRef)(),r=pS(),o=r.dispatch,i=r.pointerCssIcon,a=r.tabId,s=r.toolId,l=r.canvasWidth,u=r.canvasHeight,c=r.canvasScale,p=r.selectionsIds,d=void 0===p?[]:p,f=r.zoom,h=void 0===f?{}:f,m=r.config,g=m.previewPixelRatio,v=m.disableZooming;Gw.pixelRatio=g;var y=!v&&s!==uE.CROP,b=Nb((0,gv.useState)(a!==lE.ANNOTATE&&a!==lE.WATERMARK&&h.factor>1),2),A=b[0],C=b[1],w=(0,gv.useMemo)((function(){return{cursor:i===mE.DEFAULT&&a===lE.ANNOTATE?mE.DRAW:i}}),[a,i]),x=function(e){o({type:Cz,payload:e})},E=(0,gv.useCallback)((function(e){var t,n;e.evt.preventDefault(),null===(t=(n=e.currentTarget).container)||void 0===t||t.call(n).focus(),e.target instanceof Gw.Stage&&0<d.length&&o({type:WR})}),[d]),_=function(){return C(a!==lE.ANNOTATE||a===lE.WATERMARK)},k=function(e){("Space"===e.code||"Control"===e.key)&&!e.repeat&&h.factor>1&&y&&(e.preventDefault(),C(!0),o({type:RR,payload:{pointerCssIcon:mE.DRAG}}))},S=function(e){"Space"===e.code&&(e.preventDefault(),_())},D=function(){n.current&&n.current.container().focus()};(0,gv.useEffect)((function(){o({type:RR,payload:{pointerCssIcon:mE[A?"DRAG":"DEFAULT"]}})}),[A]),(0,gv.useEffect)((function(){var e;return C(a!==lE.ANNOTATE&&a!==lE.WATERMARK&&h.factor>1),n.current&&((e=n.current.container()).addEventListener("mouseenter",D),e.addEventListener("keydown",k),e.addEventListener("keyup",S)),function(){e&&(e.removeEventListener("mouseenter",D),e.removeEventListener("keydown",k),e.removeEventListener("keyup",S))}}),[a,h.factor,1]);var T=c*(y&&h.factor||1);return gv.createElement(P$,{className:"FIE_canvas-node",tabIndex:-1,ref:n,width:l,height:u,scaleX:T,scaleY:T,x:y&&h.x||null,y:y&&h.y||null,zoomFactor:y&&h.factor||1,onWheel:y?function(e){e.evt.preventDefault();var t=(h.factor||1)+-.006*e.evt.deltaY,n=e.currentTarget.getPointerPosition();x(F$(F$({},n),{},{factor:t}))}:void 0,onTap:E,onClick:E,onTouchMove:y?function(e){return D$(e,x)}:void 0,onDragStart:function(e){var t;1<(null===(t=e.evt.touches)||void 0===t?void 0:t.length)&&C(!1)},onTouchEnd:y?function(){!function(e){S$=0,k$=null,"function"==typeof e&&e()}(_)}:void 0,dragBoundFunc:function(e){return{x:Math.min(0,Math.max(e.x,l*(1-h.factor))),y:Math.min(0,Math.max(e.y,u*(1-h.factor)))}},draggable:y&&A,onDragEnd:function(e){e.currentTarget.draggable()&&"stage"===e.target.nodeType.toLowerCase()&&y&&A&&x({factor:h.factor,x:e.target.x(),y:e.target.y(),preparedDimensions:!0})},style:w},t)}));const B$=function(){var e=Nb(eD(),1)[0],t=pS(),n=(0,gv.useCallback)((function(e){var n=e.width,r=e.height;t.dispatch({type:_z,payload:{canvasWidth:n,canvasHeight:r}})}),[]),r=(0,gv.useCallback)((function(t){e(t,n)}),[]);return gv.createElement(T$,{className:"FIE_canvas-container",ref:r},!t.textIdOfEditableContent&&gv.createElement(w$,null),t.isShowOriginalImage&&gv.createElement(O$,{className:"FIE_original-image-compare",src:t.originalImage.src}),gv.createElement(j$,null,gv.createElement(uS,{overridingValue:t},gv.createElement(l$,null),gv.createElement(v$,null))))};var I$=eb.div.withConfig({componentId:"sc-etsyb6-0"})(["display:inline-block;height:",";width:",";border-radius:1px;background:#dfe7ed;"],(function(e){return e.height}),(function(e){return e.width})),N$=function(e){var t=e.height,n=e.width;return gv.createElement(I$,{height:t,width:n})};N$.defaultProps={height:"11px",width:"1px"};const M$=N$;var R$=["color","size"],z$=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,R$);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M29.5089 27.2774C30.1253 27.8938 30.1253 28.8932 29.5089 29.5096C28.8925 30.126 27.8932 30.126 27.2768 29.5096L15.0002 17.2327L2.72342 29.5097C2.10703 30.1261 1.10767 30.1261 0.491282 29.5097C-0.125105 28.8934 -0.125105 27.894 0.491283 27.2776L12.7681 15.0006L0.491159 2.72344C-0.125226 2.10704 -0.125228 1.10766 0.49116 0.49126C1.10755 -0.125138 2.10691 -0.125139 2.72329 0.49126L15.0002 12.7684L27.2769 0.491449C27.8933 -0.124948 28.8927 -0.12495 29.5091 0.491449C30.1254 1.10785 30.1254 2.10723 29.5091 2.72363L17.2323 15.0006L29.5089 27.2774Z",fill:r}))}));const U$=z$;var $$=eb.div.withConfig({componentId:"sc-21g986-0"})(["padding:12px 12px 8px 12px;box-sizing:border-box;position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;",";[data-phone='true'] &{padding:6px 6px 4px 6px;}overflow:auto;"],(function(e){return e.reverseDirection?"flex-direction: row-reverse":""})),H$=eb.div.withConfig({componentId:"sc-21g986-1"})(["display:flex;margin:0 4px;column-gap:4px;align-items:center;"]),q$=eb(BM).withConfig({componentId:"sc-21g986-2"})(["margin:",";display:flex;justify-content:center;align-items:center;width:16px;height:16px;padding:2px;"],(function(e){var t=e.margin;return null!=t?t:"0 4px"})),V$=eb(jk).withConfig({componentId:"sc-21g986-3"})(["flex-shrink:0;"]),G$=eb(BM).withConfig({componentId:"sc-21g986-4"})(["width:20px;height:20px;margin:0 ",";padding:4px;"],(function(e){var t;return null!==(t=e.horizontalMargin)&&void 0!==t?t:"4px"})),W$=eb.div.withConfig({componentId:"sc-21g986-5"})(["display:flex;align-items:center;",";"],(function(e){return e.reverseDirection?"flex-direction: row-reverse":""})),Z$=eb(jk).withConfig({componentId:"sc-21g986-6"})(["cursor:pointer;"]),Y$=eb.span.withConfig({componentId:"sc-21g986-7"})(["font-size:11px;line-height:12px;"]),X$=eb(BM).withConfig({componentId:"sc-21g986-8"})(["padding:0;z-index:111;"]),K$=(eb(xP).withConfig({componentId:"sc-21g986-9"})(["padding:4px 12px;"]),eb(MB).withConfig({componentId:"sc-21g986-10"})(["width:200px;"])),Q$=eb(FB).withConfig({componentId:"sc-21g986-11"})(["width:60px;margin-left:4px;"]),J$=eb.div.withConfig({componentId:"sc-21g986-12"})(["width:100%;margin-top:8px;"]),eH=eb.div.withConfig({componentId:"sc-21g986-13"})(["margin-top:8px;width:100%;"]);const tH=function(){var e=pS(),t=e.haveNotSavedChanges,n=e.config.onClose;return"function"!=typeof n?gv.createElement("span",null):gv.createElement(X$,{className:"FIE_topbar-close-button",color:"link",size:"sm",onClick:function(){n(xE,t)}},n&&gv.createElement(U$,null))};var nH=["color","size"],rH=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,nH);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M17.3945 21.1062H8.60547C8.20098 21.1062 7.87305 21.4342 7.87305 21.8387C7.87305 22.2431 8.20098 22.5711 8.60547 22.5711H17.3945C17.799 22.5711 18.127 22.2431 18.127 21.8387C18.127 21.4342 17.799 21.1062 17.3945 21.1062Z",fill:r}),gv.createElement("path",{d:"M17.3945 15.2469H8.60547C8.20098 15.2469 7.87305 15.5748 7.87305 15.9793C7.87305 16.3838 8.20098 16.7117 8.60547 16.7117H17.3945C17.799 16.7117 18.127 16.3838 18.127 15.9793C18.127 15.5748 17.799 15.2469 17.3945 15.2469Z",fill:r}),gv.createElement("path",{d:"M17.3945 18.1765H8.60547C8.20098 18.1765 7.87305 18.5045 7.87305 18.909C7.87305 19.3135 8.20098 19.6414 8.60547 19.6414H17.3945C17.799 19.6414 18.127 19.3135 18.127 18.909C18.127 18.5045 17.799 18.1765 17.3945 18.1765Z",fill:r}),gv.createElement("path",{d:"M16.6621 0.5H6.4082V6.84766H16.6621V0.5Z",fill:r}),gv.createElement("path",{d:"M25.2854 4.6208L21.3792 0.714551C21.2418 0.577197 21.0556 0.5 20.8613 0.5H18.127V7.58008C18.127 7.98457 17.799 8.3125 17.3945 8.3125H5.67578C5.27129 8.3125 4.94336 7.98457 4.94336 7.58008V0.5H1.23242C0.82793 0.5 0.5 0.82793 0.5 1.23242V24.7676C0.5 25.1721 0.82793 25.5 1.23242 25.5C1.45923 25.5 24.463 25.5 24.7676 25.5C25.1721 25.5 25.5 25.1721 25.5 24.7676V5.13867C25.5 4.94443 25.4228 4.75815 25.2854 4.6208ZM19.5918 24.0352H6.4082V13.7812H19.5918V24.0352Z",fill:r}))}));const oH=rH;var iH={Xs:"xs",Sm:"sm",Md:"md",Lg:"lg",Xl:"xl"};const aH=gv.createContext({modalOpened:!1});var sH,lH=(dv(sH={},iH.Xs,Iy(["max-width:300px;"])),dv(sH,iH.Sm,Iy(["max-width:600px;"])),dv(sH,iH.Md,Iy(["max-width:960px;"])),dv(sH,iH.Lg,Iy(["max-width:1280px;"])),dv(sH,iH.Xl,Iy(["max-width:1920px;"])),sH),uH="Modal",cH=eb.div.attrs({className:_k(uH,"Wrapper")}).withConfig({componentId:"sc-80m07l-0"})((function(e){return Iy(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;z-index:1200;visibility:",";"],e.open?"visible":"hidden")})),pH=eb.div.attrs({className:_k(uH,"Overlay")}).withConfig({componentId:"sc-80m07l-1"})((function(e){return Iy(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;background-color:rgba(0,0,0,0.5);z-index:-1;transition:opacity 251ms cubic-bezier(0.4,0,0.2,1) 0ms;opacity:",";"],e.open?"1":"0")})),dH=eb.div.attrs({className:_k(uH,"Container")}).withConfig({componentId:"sc-80m07l-2"})((function(e){var t=e.theme,n=e.open,r=void 0!==n&&n,o=e.fullWidth,i=void 0!==o&&o,a=e.maxWidth,s=void 0===a?iH.Sm:a;return Iy(["position:absolute;overflow-x:hidden;overflow-y:auto;transition:opacity 251ms cubic-bezier(0.4,0,0.2,1) 0ms,transform 167ms cubic-bezier(0.4,0,0.2,1) 0ms;outline:0;border-radius:",";background-color:",";box-shadow:0px 2px 4px ",";visibility:",";opacity:",";display:flex;max-height:calc(100% - 64px);flex-direction:column;"," "," top:50%;left:50%;transform:translate(-50%,-50%);"],t.shape.borderRadius[db.Md],t.palette[cb.BackgroundSecondary],t.palette[cb.LightShadow],r?"visible":"hidden",r?"1":"0",i&&Iy(["width:calc(100% - 64px);"]),lH[s])}));const fH=kk({Modal:eb.div.attrs({className:_k(uH,"root")}).withConfig({componentId:"sc-80m07l-3"})((function(){return Iy(["position:relative;padding-top:8px;padding-bottom:8px;margin:0;padding:0;outline:0;display:flex;flex-direction:column;"])})),Wrapper:cH,Overlay:pH,Container:dH});var hH=["children","open","onClose","maxWidth","fullWidth"];function mH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var gH=xk((function(e,t){var n=e.children,r=e.open,o=e.onClose,i=e.maxWidth,a=e.fullWidth,s=yv(e,hH),l=function(e){return e&&(0,gv.isValidElement)(e)&&1===gv.Children.count(e)&&e.type===gv.Fragment}(n)?n.props.children:n,u=document.querySelector("body");(0,gv.useEffect)((function(){return r?document.body.classList.add("Modal-open"):document.body.classList.remove("Modal-open"),function(){document.body.classList.remove("Modal-open")}}),[r]);var c=function(){"function"==typeof o&&o()};(0,gv.useEffect)((function(){var e=function(e){"Escape"===e.key&&c()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}));return(0,iT.createPortal)(gv.createElement(aH.Provider,{value:{modalOpened:Boolean(r)}},gv.createElement(fH.Wrapper,{open:Boolean(r),ref:t},gv.createElement(fH.Overlay,{onClick:c,open:Boolean(r)}),gv.createElement(fH.Container,Mb({},s,{maxWidth:i,fullWidth:a,open:Boolean(r)}),gv.createElement(fH.Modal,null,gv.Children.map(l,(function(e){return(0,gv.isValidElement)(e)&&"ModalTitle"===e.type.displayName?gv.cloneElement(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mH(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onClose:c},e.props||{})):e})))))),u)})),vH={open:!1,fullWidth:!1,maxWidth:iH.Xs};gH.defaultProps=vH;var yH={onClose:Av().func.isRequired,children:Av().node.isRequired,maxWidth:Av().oneOf(ob(iH)),open:Av().bool,fullWidth:Av().bool};gH.propTypes=yH;const bH=gH;const AH=kk({ModalContent:eb.div.attrs({className:_k("ModalContent","root")}).withConfig({componentId:"sc-1ng1w0v-0"})((function(){return Iy(["position:relative;padding:15px 16px;"])}))});var CH=["children"],wH=xk((function(e,t){var n=e.children,r=yv(e,CH);return gv.createElement(AH.ModalContent,Mb({},r,{ref:t}),n)}));wH.defaultProps={},wH.propTypes={children:Av().node.isRequired},wH.displayName="ModalContent";const xH=wH;var EH={Left:"left",Center:"center",Right:"right"},_H=eb.div.attrs({className:_k("ModalActions","root")}).withConfig({componentId:"sc-1wg6u00-0"})((function(e){var t=e.align,n=void 0===t?EH.Center:t;return Iy(["position:relative;display:flex;align-items:center;padding:12px 16px;justify-content:",";> *:not(:first-child){margin-left:8px;}"],n===EH.Right?"flex-end":n)}));const kH=kk({ModalActions:_H});var SH=["children"],DH=xk((function(e,t){var n=e.children,r=yv(e,SH);return gv.createElement(kH.ModalActions,Mb({},r,{ref:t}),n)}));DH.defaultProps={align:EH.Center},DH.propTypes={children:Av().node.isRequired,align:Av().oneOf(ob(EH))},DH.displayName="ModalActions";const TH=DH;var OH=["color","size"],PH=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,OH);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M29.9081 25.0577L45.8451 9.12074C46.5381 8.42782 46.8845 7.61942 46.8845 6.58005C46.8845 5.54068 46.5381 4.73228 45.8451 4.03937C44.4593 2.65354 42.1496 2.65354 40.8793 4.03937L24.9423 20.0919L9.00525 4.15486C7.61942 2.76903 5.4252 2.76903 4.03937 4.15486C3.34646 4.84777 3 5.65617 3 6.58005C3 7.50394 3.34646 8.42782 4.03937 9.12074L19.9764 25.0577L4.03937 40.9948C3.34646 41.6877 3 42.4961 3 43.42C3 44.3438 3.34646 45.2677 4.03937 45.9606C5.4252 47.3465 7.73491 47.3465 9.00525 45.9606L24.9423 30.0236L40.8793 45.9606C41.5722 46.6535 42.3806 47 43.42 47C44.4593 47 45.2677 46.6535 45.9606 45.9606C46.6535 45.2677 47 44.4593 47 43.42C47 42.3806 46.6535 41.5722 45.9606 40.8793L29.9081 25.0577Z",fill:r}))}));const LH=PH;var FH={Default:"default",WithIcon:"with-icon"},jH="ModalTitle",BH=eb.div.attrs({className:_k(jH,"Icon")}).withConfig({componentId:"sc-l3tf49-0"})((function(e){var t=e.theme.palette;return Iy(["display:flex;margin-bottom:8px;padding:12.5px;border-radius:50%;background:",";color:",";"],t[cb.BackgroundPrimary],t[cb.AccentPrimary])})),IH=eb.div.attrs({className:_k(jH,"LabelPrimary")}).withConfig({componentId:"sc-l3tf49-1"})((function(){return Iy(["font-size:16px;line-height:18px;"])})),NH=eb.div.attrs({className:_k(jH,"LabelSecondary")}).withConfig({componentId:"sc-l3tf49-2"})(["font-size:12px;line-height:14px;margin-top:4px;"]),MH=eb.div.attrs({className:_k(jH,"Close")}).withConfig({componentId:"sc-l3tf49-3"})((function(e){var t=e.variant,n=void 0===t?FH.Default:t,r=e.theme.palette;return Iy(["position:absolute;display:flex;top:","px;right:","px;color:",";&:hover{color:",";}cursor:pointer;"],n===FH.WithIcon?12:16,n===FH.WithIcon?12:16,r[cb.IconsSecondary],r[cb.IconsPrimary])}));const RH=kk({ModalTitle:eb.div.attrs({className:_k(jH,"root")}).withConfig({componentId:"sc-l3tf49-4"})((function(e){var t=e.variant,n=void 0===t?FH.Default:t,r=e.theme,o=r.palette,i=r.shape.borderRadius;return Iy(["position:relative;color:",";border-radius:","px ","px 0px 0px;"," "," ",""],o[cb.TextPrimary],i[db.Md],i[db.Md],(function(){var e=n===FH.WithIcon?12:11;return Iy(["padding:","px ","px ","px ","px;"],e,n===FH.WithIcon?18:40,e,18)}),n===FH.Default&&Iy(["background:",";border-bottom:1px solid ",";"],o[cb.BackgroundPrimary],o[cb.BordersSecondary]),n===FH.WithIcon&&Iy(["display:flex;align-items:center;flex-direction:column;"]))})),LabelPrimary:IH,LabelSecondary:NH,Close:MH,Icon:BH});var zH=["secondary","onClose"],UH=xk((function(e,t){var n=e.secondary,r=e.onClose,o=yv(e,zH);return gv.createElement(RH.ModalTitle,Mb({},o,{ref:t}),o.icon&&gv.createElement(RH.Icon,{iconShadow:Boolean(o.iconShadow)},o.icon),gv.createElement(RH.LabelPrimary,null,o.primary),o.variant===FH.WithIcon&&n&&gv.createElement(RH.LabelSecondary,null,n),gv.createElement(RH.Close,{variant:o.variant,onClick:r},gv.createElement(LH,{size:11})))}));UH.defaultProps={iconShadow:!0,variant:FH.Default},UH.propTypes={primary:Av().node.isRequired,secondary:Av().node,icon:Av().node,iconShadow:Av().bool,onClose:Av().func,variant:Av().oneOf(ob(FH))},UH.displayName="ModalTitle";var $H=eb(UH).withConfig({componentId:"sc-kpjpf5-0"})([".SfxModalTitle-LabelPrimary{font-size:14px;line-height:16px;font-weight:500;}"]);function HH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qH(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?HH(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HH(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var VH={width:300},GH=function(e){var t=e.title,n=e.hint,r=e.Icon,o=e.onDone,i=e.onCancel,a=e.doneLabel,s=e.cancelLabel,l=e.isOpened,u=e.doneButtonStyle,c=e.doneButtonColor,p=void 0===c?"link":c,d=e.cancelButtonColor,f=void 0===d?"link":d,h=e.children,m=e.areButtonsDisabled,g=e.zIndex,v=e.className;return gv.createElement(bH,{className:v,open:l,onClose:i,style:qH(qH({},VH),{},{zIndex:g}),onKeyUp:function(e){"Enter"===e.key&&o(e)}},gv.createElement($H,{icon:gv.createElement(r,{size:25}),iconShadow:!0,onClose:i,primary:t,secondary:n,variant:"with-icon"}),h&&gv.createElement(xH,null,h),gv.createElement(TH,{align:"center"},gv.createElement(xP,{color:f,onClick:i,size:"md",disabled:m},s),gv.createElement(xP,{color:p,onClick:o,size:"md",style:u,disabled:m},a)))};GH.defaultProps={hint:"",isOpened:!1,doneLabel:"Yes",cancelLabel:"No",doneButtonStyle:void 0,doneButtonColor:"link",cancelButtonColor:"link",children:void 0,areButtonsDisabled:!1,zIndex:void 0,className:void 0};const WH=GH;function ZH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YH(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?ZH(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ZH(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}var XH={marginBottom:16},KH={width:67},QH={marginLeft:12},JH=!0;const eq=function(){var e=pS(),t=(0,gv.useRef)(),n=e.theme,r=e.dispatch,o=e.originalImage,i=e.resize,a=e.isLoadingGlobally,s=e.haveNotSavedChanges,l=e.feedback,u=e.t,c=e.adjustments,p=(c=void 0===c?{}:c).crop,d=e.config,f=d.onClose,h=d.closeAfterSave,m=d.onBeforeSave,g=d.onSave,v=d.forceToPngInEllipticalCrop,y=d.defaultSavedImageType,b=d.useCloudimage,A=d.moreSaveOptions,C=Nb((0,gv.useState)(!1),2),w=C[0],x=C[1],E=Nb((0,gv.useState)({quality:.92}),2),_=E[0],k=E[1],S=xD(),D=["jpeg","jpg","webp"].includes(_.extension),T=0===l.duration,O=function(){var e=S(_,!1,!0),n=(t.current||g)(e.imageData,e.designState),o=function(){r({type:FE})};n instanceof Promise?n.finally(o):o(),t.current=null,h&&f&&f(wE,s)},P=function(){r({type:yk}),x(!1),setTimeout(O,3)},L=function(){if("function"!=typeof(t.current||g))throw new Error("Please provide onSave function handler.");return _.name&&_.extension?void P():void r({type:hk,payload:{feedback:{message:u("nameIsRequired")}}})},F=function(){if(!b)return t.current||"function"!=typeof m||!1!==m(_)?void x(!0):void L();var e=S(_);(t.current||g)(e.imageData,e.designState)},j=function(e,n){if("function"!=typeof e)throw new Error("onSave function callback is required as an argument to the passed function.");t.current=e,n()};(0,gv.useEffect)((function(){if(o&&(!_.name||!_.extension)){var e=lD(o.name,v&&p.ratio===yE?"png":dE.includes(null==y?void 0:y.toLowerCase())&&y),t=e.name,n=e.extension;k(YH(YH({},_),{},{name:t,extension:n}))}}),[o,w]),(0,gv.useEffect)((function(){k(YH(YH({},_),{},{size:{width:i.width,height:i.height}}))}),[i]),(0,gv.useEffect)((function(){return JH=!0,function(){JH=!1}}),[]);var B=Array.isArray(A)&&0<A.length?A.map((function(e,t){return YH(YH({},e),{},{key:"".concat(e.label||t,"-option-key"),onClick:"function"==typeof e.onClick?function(){return e.onClick((function(e){return j(e,F)}),(function(e){return j(e,P)}))}:void 0})})):[];return gv.createElement(gv.Fragment,null,gv.createElement(nR,{className:"FIE_topbar-save",color:"primary",label:u("save"),onClick:F,menuPosition:"bottom",menuItems:B,menuStyle:QH,wrapperStyle:KH,disabled:a||T}),w&&gv.createElement(WH,{className:"FIE_save-modal",title:u("saveAsModalLabel"),Icon:function(e){return gv.createElement(oH,Mb({color:n.palette["accent-primary"]},e))},isOpened:w,onCancel:function(){JH&&w&&(t.current=null,x(!1))},onDone:L,doneLabel:u("save"),cancelLabel:u("cancel"),doneButtonColor:"primary",areButtonsDisabled:a,zIndex:11110},gv.createElement(K$,{className:"FIE_save-file-name-input",value:_.name,onChange:function(e){var t=e.target.value;k(YH(YH({},_),{},{name:t}))},size:"sm",placeholder:u("name"),error:!!_.name,focusOnMount:!0}),gv.createElement(Q$,{className:"FIE_save-extension-selector",onChange:function(e){return k(YH(YH({},_),{},{extension:e}))},value:_.extension,placeholder:u("extension"),size:"sm"},dE.map((function(e){return gv.createElement(oL,{key:e,value:e},e)}))),D&&gv.createElement(J$,{className:"FIE_save-quality-wrapper"},gv.createElement(jk,null,u("quality")),gv.createElement(JD,{annotation:"%",min:1,max:100,onChange:function(e){k(YH(YH({},_),{},{quality:AS(e/100,.01,1)}))},value:parseInt(100*_.quality,10),width:"100%",style:XH})),gv.createElement(eH,{className:"FIE_save-resize-wrapper"},gv.createElement(jk,null,u("resize")),gv.createElement(UM,{onChange:function(e){k(YH(YH({},_),{},{size:YH(YH({},_.size),e)}))},currentSize:(null==_?void 0:_.size)||{},hideResetButton:!0,alignLeft:!0}))))};var tq=["color","size"],nq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,tq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M8.98975 13.4455C11.7193 7.13719 18.2352 2.96448 25.4662 3.53775C32.897 4.12687 38.7924 9.54635 40.3073 16.4736C40.4916 17.3166 41.3245 17.8505 42.1675 17.6662C43.0105 17.4818 43.5445 16.649 43.3601 15.8059C41.5594 7.57149 34.5543 1.12345 25.7131 0.422526C17.1213 -0.258635 9.38658 4.69317 6.13434 12.1755L3.89818 6.84608C3.56429 6.05034 2.64855 5.67594 1.85282 6.00982C1.05708 6.3437 0.682677 7.25944 1.01656 8.05518L4.73787 16.9241C4.89821 17.3062 5.20378 17.609 5.58736 17.7658C5.97094 17.9226 6.40111 17.9206 6.78323 17.7603L15.6521 14.039C16.4478 13.7051 16.8222 12.7894 16.4884 11.9936C16.1545 11.1979 15.2387 10.8235 14.443 11.1574L8.98975 13.4455Z",fill:r}),gv.createElement("path",{d:"M7.97987 23.3944C7.80368 22.5497 6.97603 22.0077 6.13126 22.1839C5.2865 22.3601 4.74451 23.1877 4.92071 24.0325C6.65659 32.3552 13.7002 38.8943 22.6071 39.6004C31.0811 40.2722 38.7213 35.4646 42.0496 28.154L44.2049 33.1157C44.5487 33.9072 45.4691 34.2701 46.2606 33.9263C47.0521 33.5825 47.415 32.6621 47.0712 31.8706L43.2414 23.0543C42.8976 22.2628 41.9772 21.8999 41.1857 22.2437L32.3694 26.0734C31.5779 26.4173 31.215 27.3376 31.5588 28.1291C31.9026 28.9206 32.823 29.2835 33.6145 28.9397L39.3938 26.4292C36.7027 32.8203 30.1416 37.063 22.8541 36.4852C15.3678 35.8917 9.4401 30.3955 7.97987 23.3944Z",fill:r}))}));const rq=nq;var oq=["color","size"],iq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,oq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M48.9856 38.314L31.3034 3.80423C29.9688 1.42247 27.6118 0 24.9985 0C22.3852 0 20.0282 1.42247 18.6936 3.80423C18.6836 3.82245 18.6751 3.84067 18.665 3.8589L1.04158 38.2594C-0.321602 40.6914 -0.347383 43.612 0.971367 46.0713C2.29314 48.5321 4.67439 50 7.345 50H42.5544C45.225 50 47.7041 48.5321 49.0258 46.0713C50.3445 43.6121 50.3188 40.6913 48.9856 38.314ZM22.0659 15.8013C22.0659 14.0842 23.3789 12.6924 24.9985 12.6924C26.6182 12.6924 27.9311 14.0843 27.9311 15.8013V28.2372C27.9311 29.9541 26.6181 31.3462 24.9985 31.3462C23.3789 31.3462 22.0659 29.954 22.0659 28.2372V15.8013ZM24.9985 43.7821C22.5728 43.7821 20.5995 41.6902 20.5995 39.1186C20.5995 36.5471 22.5727 34.4552 24.9985 34.4552C27.4242 34.4552 29.3974 36.5471 29.3974 39.1186C29.3975 41.6901 27.4243 43.7821 24.9985 43.7821Z",fill:r}))}));const aq=iq;var sq=function(e){var t=e.margin,n=pS(),r=n.dispatch,o=n.isResetted,i=!(void 0!==o)||o,a=n.theme,s=n.feedback,l=n.t,u=n.config,c=0===s.duration,p=Nb((0,gv.useState)(!1),2),d=p[0],f=p[1],h=function(){f(!1)},m=(0,gv.useCallback)((function(){r({type:ck,payload:{config:u}}),h()}),[u]);return gv.createElement(gv.Fragment,null,gv.createElement(q$,{className:"FIE_topbar-reset-button",color:"link",onClick:i?void 0:function(){f(!0)},disabled:i||c,title:l("resetOperations"),margin:t},gv.createElement(rq,{size:12})),d&&gv.createElement(WH,{title:l("changesLoseConfirmation"),hint:l("changesLoseConfirmationHint"),isOpened:d,onCancel:h,onDone:m,Icon:function(){return gv.createElement(aq,{color:a.palette.warning,size:25})},doneLabel:l("continue"),cancelLabel:l("cancel"),doneButtonColor:"error",doneButtonStyle:{background:a.palette.warning}}))};sq.defaultProps={margin:void 0};const lq=sq;var uq=["color","size"],cq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,uq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 40 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M39.5112 31.2036C39.5112 41.568 31.0785 50 20.7148 50H14.0613C12.9587 50 12.0652 49.1066 12.0652 48.004V47.3386C12.0652 46.2359 12.9586 45.3425 14.0613 45.3425H20.7148C28.5107 45.3425 34.8537 38.9995 34.8537 31.2036C34.8537 23.4078 28.5107 17.0648 20.7148 17.0648H8.4394L16.8935 25.5189C17.8015 26.4266 17.8015 27.9042 16.8935 28.8119C16.0124 29.6923 14.479 29.691 13.5999 28.8119L1.17111 16.3828C0.731285 15.943 0.488892 15.3581 0.488892 14.7359C0.488892 14.1142 0.731285 13.529 1.17111 13.0894L13.6006 0.65976C14.4797 -0.220001 16.0144 -0.220001 16.8936 0.65976C17.8016 1.56722 17.8016 3.04511 16.8936 3.95246L8.43951 12.4072H20.7148C31.0785 12.4072 39.5112 20.8395 39.5112 31.2036Z",fill:r}))}));const pq=cq;var dq=function(e){var t=e.margin,n=pS(),r=n.dispatch,o=n.hasUndo,i=void 0!==o&&o,a=n.t,s=0===n.feedback.duration,l=(0,gv.useCallback)((function(){r({type:kR})}),[]);return gv.createElement(q$,{className:"FIE_topbar-undo-button",color:"link",onClick:i?l:void 0,disabled:!i||s,title:a("undoTitle"),margin:t},gv.createElement(pq,{size:12}))};dq.defaultProps={margin:void 0};const fq=dq;var hq=["color","size"],mq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,hq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 40 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M0.98 31.2037C0.98 41.568 9.41216 50 19.7752 50H26.4284C27.5309 50 28.4244 49.1066 28.4244 48.004V47.3386C28.4244 46.2359 27.531 45.3425 26.4284 45.3425H19.7752C11.9798 45.3425 5.6372 38.9995 5.6372 31.2037C5.6372 23.4079 11.9798 17.0648 19.7752 17.0648H32.05L23.5964 25.5189C22.6884 26.4266 22.6884 27.9043 23.5964 28.812C24.4774 29.6924 26.0107 29.6911 26.8897 28.812L39.3178 16.3828C39.7576 15.943 40 15.3582 40 14.736C40 14.1142 39.7576 13.5291 39.3178 13.0895L26.8891 0.659821C26.01 -0.21994 24.4754 -0.21994 23.5962 0.659821C22.6883 1.56728 22.6883 3.04517 23.5962 3.95252L32.0498 12.4073H19.7752C9.41216 12.4073 0.98 20.8396 0.98 31.2037Z",fill:r}))}));const gq=mq;var vq=function(e){var t=e.margin,n=pS(),r=n.dispatch,o=n.hasRedo,i=void 0!==o&&o,a=n.t,s=(0,gv.useCallback)((function(){r({type:ak})}),[]);return gv.createElement(q$,{className:"FIE_topbar-redo-button",color:"link",onClick:i?s:void 0,disabled:!i,title:a("redoTitle"),margin:t},gv.createElement(gq,{size:12}))};vq.defaultProps={margin:void 0};const yq=vq;var bq=["color","size"],Aq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,bq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.1607 4.16667V2.08333C27.1607 0.93274 26.2279 0 25.0773 0C23.9267 0 22.994 0.932741 22.994 2.08333V4.16667H4.244C1.94281 4.16667 0.0773315 6.03215 0.0773315 8.33333V41.6667C0.0773315 43.9679 1.94281 45.8333 4.244 45.8333H22.994V47.9167C22.994 49.0673 23.9267 50 25.0773 50C26.2279 50 27.1607 49.0673 27.1607 47.9167V45.8333H45.9107C48.2118 45.8333 50.0773 43.9678 50.0773 41.6667V8.33333C50.0773 6.03215 48.2119 4.16667 45.9107 4.16667H27.1607ZM22.994 8.33333H4.244L4.244 41.6667H22.994V8.33333ZM27.1607 41.6667V8.33333H45.9107V41.6667H27.1607Z",fill:r}))}));const Cq=Aq;const wq=function(){var e=pS(),t=e.dispatch,n=e.isResetted,r=!(void 0!==n)||n,o=e.originalImage,i=e.resize,a=void 0===i?{}:i,s=e.adjustments,l=s.crop,u=s.rotation,c=void 0===u?0:u,p=e.shownImageDimensions,d=e.t,f=function(){t({type:KR,payload:{isShow:!1}}),document.removeEventListener("mouseup",f),document.removeEventListener("mouseleave",f),document.removeEventListener("touchcancel",f),document.removeEventListener("touchend",f)},h=function(){t({type:KR,payload:{isShow:!0}}),document.addEventListener("mouseup",f),document.addEventListener("mouseleave",f),document.addEventListener("touchcancel",f),document.addEventListener("touchend",f)};if(!o)return null;var m=SM(a,l,p,o,c);return gv.createElement(gv.Fragment,null,gv.createElement(V$,{title:d("imageDimensionsHoverTitle")},"".concat(m.width," x ").concat(m.height," px")),gv.createElement(G$,{color:"link",horizontalMargin:"8px",onMouseDown:r?void 0:h,onTouchStart:r?void 0:h,disabled:r,title:d("showImageTitle")},gv.createElement(Cq,null)))};var xq=["color","size"],Eq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,xq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M3.27478 28.001H47.2746C48.9318 28.001 50.2749 26.6579 50.2749 25.0003C50.2749 23.3431 48.9322 22 47.2746 22H3.27478C1.61803 22.0004 0.274902 23.3435 0.274902 25.0007C0.274902 26.6579 1.61803 28.001 3.27478 28.001Z",fill:r}))}));const _q=Eq;var kq=["color","size"],Sq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,kq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M47.7746 22.4999H27.775V2.49984C27.775 1.12014 26.6548 0 25.2747 0C23.895 0 22.7748 1.12014 22.7748 2.49984V22.4999H2.77474C1.39505 22.4999 0.274902 23.6201 0.274902 24.9998C0.274902 26.3799 1.39505 27.5001 2.77474 27.5001H22.7748V47.4997C22.7748 48.8799 23.895 50 25.2747 50C26.6548 50 27.775 48.8799 27.775 47.4997V27.5001H47.7746C49.1548 27.5001 50.2749 26.3799 50.2749 24.9998C50.2749 23.6201 49.1548 22.4999 47.7746 22.4999Z",fill:r}))}));const Dq=Sq;var Tq=[{labelKey:"fitSize",factor:"fit"},{labelKey:"actualSize",factor:1},{label:"25%",factor:.25},{label:"50%",factor:.5},{label:"75%",factor:.75},{label:"125%",factor:1.25},{label:"170%",factor:1.7},{label:"300%",factor:3},{label:"500%",factor:5},{label:"1000%",factor:10}];const Oq=function(){var e=pS(),t=e.dispatch,n=e.zoom,r=void 0===n?{}:n,o=e.toolId,i=e.feedback,a=e.t,s=e.shownImageDimensions,l=e.resize,u=e.originalImage,c=e.adjustments.crop,p=e.config.useZoomPresetsMenu,d=0===i.duration,f=Nb((0,gv.useState)(null),2),h=f[0],m=f[1],g=function(e){t({type:Cz,payload:{factor:e}})},v=function(){var e=l.width&&l.height&&l||c.width&&c.height&&c||s,t=WO(c.width&&c.height&&c||s,e);g(t||1)},y=function(e){m(h?null:e.target)},b=o===uE.CROP||d,A=!u||l.width||l.height?r.factor:Math.min(s.width*r.factor/u.width,s.height*r.factor/u.height);return gv.createElement(gv.Fragment,null,gv.createElement(G$,{onClick:function(){g(r.factor/1.1)},color:"link",title:a("zoomOutTitle"),disabled:b,className:"FIE_topbar-zoom-out-btn"},gv.createElement(_q,null)),gv.createElement(Z$,{title:a("toggleZoomMenuTitle"),onClick:b?void 0:p&&y||v,"aria-disabled":b,className:"FIE_topbar-zoom-label"},"".concat(hD(100*A,0),"%")),gv.createElement(G$,{onClick:function(){g(1.1*r.factor)},color:"link",title:a("zoomInTitle"),disabled:b,className:"FIE_topbar-zoom-in-btn"},gv.createElement(Dq,null)),gv.createElement(GO,{anchorEl:h,onClose:y,open:!!h,position:"bottom",className:"FIE_topbar-zoom-menu"},Tq.map((function(e){var t=e.factor,n=e.labelKey,r=e.label;return gv.createElement(oL,{key:r||n,onClick:function(){return function(e){if("fit"===e)return v(),void y();var t=Math.min(e*u.width/s.width,e*u.height/s.height);g(t),y()}(t)}},gv.createElement(cB,null,null!=r?r:a(n)))}))))};const Pq=function(){var e=pS(),t=e.t,n=e.haveNotSavedChanges,r=e.config.onClose;return"function"!=typeof r?gv.createElement("span",null):gv.createElement(X$,{className:"FIE_topbar-back-button",color:"link",size:"sm",onClick:function(){r(xE,n)}},r&&gv.createElement(gv.Fragment,null,gv.createElement(WM,{size:9}),gv.createElement(Y$,null,t("back"))))};const Lq=function(){var e=pS().config,t=e.showBackButton,n=e.disableZooming;return gv.createElement($$,{reverseDirection:t,className:"FIE_topbar"},gv.createElement(W$,{reverseDirection:t,className:"FIE_topbar-buttons-wrapper"},gv.createElement(eq,null),gv.createElement(H$,{className:"FIE_topbar-history-buttons"},gv.createElement(lq,{margin:"0"}),gv.createElement(fq,{margin:"0"}),gv.createElement(yq,{margin:"0"}))),gv.createElement(W$,{className:"FIE_topbar-center-options"},gv.createElement(wq,null),!n&&gv.createElement(gv.Fragment,null,gv.createElement(M$,null),gv.createElement(Oq,null))),t?gv.createElement(Pq,null):gv.createElement(tH,null))};var Fq=eb.div.withConfig({componentId:"sc-qhd6ow-0"})(["padding:0 12px 12px 0;overflow-y:auto;max-height:100%;[data-phone='true'] &{display:flex;padding:0;}"]),jq=eb.div.withConfig({componentId:"sc-qhd6ow-1"})((function(e){var t=e.theme;return"\n    width: 67px;\n    height: 62px;\n    border-radius: 4px;\n    display: flex;\n    flex-direction: column;\n    background: ".concat(t.palette["bg-primary"],";\n    align-items: center;\n    justify-content: center;\n    margin-bottom: 8px;\n\n    [data-phone='true'] & {\n      margin-bottom: 0;\n      height: 50px;\n      border-radius: 0;\n    }\n\n    &,\n    * {\n      cursor: pointer;\n    }\n\n    &:hover {\n      background: ").concat(t.palette["bg-primary-active"],";\n    }\n\n    &[aria-selected='true'] {\n      background: ").concat(t.palette["bg-primary-active"],";\n\n      * {\n        color: ").concat(t.palette["accent-primary-active"],";\n      }\n    }\n  ")})),Bq=eb(jk).withConfig({componentId:"sc-qhd6ow-2"})(["margin-top:6px;font-size:11px;line-height:12px;text-align:center;[data-phone='true'] &{font-size:10px;}"]),Iq=function(e){var t=e.id,n=e.label,r=e.Icon,o=e.isSelected,i=e.onClick,a=(0,gv.useCallback)((function(){"function"==typeof i&&i(t)}),[t]);return gv.createElement(jq,{className:"FIE_tab","aria-selected":o,onClick:a},gv.createElement(r,null),n&&gv.createElement(Bq,{className:"FIE_tab-label"},n))};Iq.defaultProps={isSelected:!1,onClick:void 0,label:void 0};const Nq=(0,gv.memo)(Iq);var Mq=["color","size"],Rq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Mq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M43 3H31.75V0.5H43C44.3807 0.5 45.5 1.61929 45.5 3V14.25H43V3Z",fill:r}),gv.createElement("path",{d:"M3 14.25V3H14.25V0.5H3C1.61929 0.5 0.5 1.61929 0.5 3V14.25H3Z",fill:r}),gv.createElement("path",{d:"M0.5 31.75V43C0.5 44.3807 1.61929 45.5 3 45.5H14.25V43H3V31.75H0.5Z",fill:r}),gv.createElement("path",{d:"M43 31.75H45.5V43C45.5 44.3807 44.3807 45.5 43 45.5H31.75V43H43V31.75Z",fill:r}))}));var zq=["color","size"],Uq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,zq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3679 7.50003C15.7995 10.005 13.5592 11.875 10.8823 11.875C8.20528 11.875 5.96506 10.005 5.39665 7.50003H1.5448C0.854444 7.50003 0.2948 6.94039 0.2948 6.25003C0.2948 5.55967 0.854444 5.00003 1.5448 5.00003H5.39665C5.96506 2.49504 8.20528 0.625031 10.8823 0.625031C13.5592 0.625031 15.7995 2.49504 16.3679 5.00003H48.4557C49.1461 5.00003 49.7057 5.55967 49.7057 6.25003C49.7057 6.94039 49.1461 7.50003 48.4557 7.50003H16.3679ZM14.0073 6.25003C14.0073 7.97592 12.6082 9.37503 10.8823 9.37503C9.15637 9.37503 7.75726 7.97592 7.75726 6.25003C7.75726 4.52414 9.15637 3.12503 10.8823 3.12503C12.6082 3.12503 14.0073 4.52414 14.0073 6.25003Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.5715 27.625C37.2485 27.625 39.4887 25.755 40.0571 23.25H48.4554C49.1458 23.25 49.7054 22.6904 49.7054 22C49.7054 21.3096 49.1458 20.75 48.4554 20.75H40.0571C39.4887 18.245 37.2485 16.375 34.5715 16.375C31.8946 16.375 29.6543 18.245 29.0859 20.75H1.5448C0.854444 20.75 0.2948 21.3096 0.2948 22C0.2948 22.6904 0.854444 23.25 1.5448 23.25H29.0859C29.6543 25.755 31.8946 27.625 34.5715 27.625ZM34.5715 25.125C36.2974 25.125 37.6965 23.7259 37.6965 22C37.6965 20.2741 36.2974 18.875 34.5715 18.875C32.8456 18.875 31.4465 20.2741 31.4465 22C31.4465 23.7259 32.8456 25.125 34.5715 25.125Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7702 39C22.2018 41.505 19.9615 43.375 17.2845 43.375C14.6076 43.375 12.3673 41.505 11.7989 39H1.5448C0.854444 39 0.2948 38.4403 0.2948 37.75C0.2948 37.0596 0.854444 36.5 1.5448 36.5H11.7989C12.3673 33.995 14.6076 32.125 17.2845 32.125C19.9615 32.125 22.2018 33.995 22.7702 36.5H48.4554C49.1458 36.5 49.7054 37.0596 49.7054 37.75C49.7054 38.4403 49.1458 39 48.4554 39H22.7702ZM20.4095 37.75C20.4095 39.4759 19.0104 40.875 17.2845 40.875C15.5587 40.875 14.1595 39.4759 14.1595 37.75C14.1595 36.0241 15.5587 34.625 17.2845 34.625C19.0104 34.625 20.4095 36.0241 20.4095 37.75Z",fill:r}))}));var $q=["color","size"],Hq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,$q);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M41.2229 16.7653C41.3215 12.426 39.7436 8.284 36.6864 5.02956C33.6292 1.77513 29.4872 -2.09808e-05 25.0493 -2.09808e-05C20.6114 -2.09808e-05 16.3708 1.77513 13.3136 5.02956C10.2564 8.18538 8.6785 12.3274 8.77712 16.7653C3.45168 19.5266 0 25.1479 0 31.1637C0 37.2781 3.25444 42.6035 8.57988 45.4635C11.0454 46.7455 13.7081 47.4359 16.2722 47.4359C19.3294 47.4359 22.288 46.5483 24.9507 44.8718C29.9803 48.1262 36.0947 48.3234 41.4201 45.4635C46.7456 42.6035 50 37.2781 50 31.1637C50 25.0493 46.6469 19.5266 41.2229 16.7653ZM22.7811 43.0966C18.6391 45.3649 13.7081 45.3649 9.56607 42.998C5.22682 40.5325 2.66272 36.1933 2.66272 31.1637C2.66272 26.43 5.12821 22.0907 9.1716 19.6252C10.1578 24.359 13.3136 28.501 17.6529 30.6706C17.4556 35.4043 19.3294 39.8422 22.7811 43.0966ZM32.1499 27.8106C31.4596 24.5562 29.783 21.499 27.3176 19.2307C30.6706 17.357 34.8126 17.0611 38.4615 18.3432C37.7712 22.2879 35.503 25.7396 32.1499 27.8106ZM20.6114 28.1065C21.3018 25.2465 22.8797 22.6824 25.0493 20.8087C27.5148 22.8797 29.1913 25.8382 29.6844 28.9941C26.7258 30.0789 23.4714 30.0789 20.4142 28.9941C20.4142 28.6982 20.5128 28.4023 20.6114 28.1065ZM25.0493 17.4556C23.57 16.4694 21.8935 15.7791 20.1183 15.3846C19.428 15.1874 18.6391 15.6805 18.5404 16.3708C18.4418 16.7653 18.5404 17.0611 18.7377 17.357C18.9349 17.6528 19.2308 17.8501 19.5266 17.9487C20.7101 18.2446 21.7949 18.639 22.7811 19.2307C20.3156 21.499 18.6391 24.4576 17.9487 27.8106C14.5957 25.7396 12.2288 22.2879 11.6371 18.3432C11.9329 18.2446 12.1302 18.1459 12.426 18.0473C12.7219 17.9487 13.0178 17.7515 13.215 17.357C13.4122 17.0611 13.4122 16.6666 13.3136 16.3708C13.1164 15.6805 12.3274 15.286 11.6371 15.4832C11.5385 15.4832 11.5385 15.4832 11.4398 15.5818C11.8343 8.48124 17.7515 2.6627 25.0493 2.6627C32.3471 2.6627 38.2643 8.38262 38.6588 15.5818C34.0237 14.2012 28.9941 14.8915 25.0493 17.4556ZM29.783 31.7554C29.5858 35.5029 27.9093 39.0532 25.0493 41.5187C22.1893 39.0532 20.4142 35.6016 20.3156 31.7554C23.3728 32.7416 26.7258 32.7416 29.783 31.7554ZM32.4458 30.6706C36.785 28.4023 39.8422 24.359 40.927 19.6252C44.9704 22.0907 47.4359 26.43 47.4359 31.1637C47.4359 36.0947 44.8718 40.5325 40.5325 42.998C36.3905 45.3649 31.4596 45.3649 27.3176 43.0966C30.7692 39.8422 32.643 35.4043 32.4458 30.6706Z",fill:r}),gv.createElement("path",{d:"M15.5819 14.8915C14.9901 14.9901 14.497 15.5818 14.497 16.1735C14.497 16.8639 15.0888 17.5542 15.8777 17.5542C16.6667 17.5542 17.2584 16.9625 17.2584 16.1735C17.2584 15.7791 17.0611 15.3846 16.7653 15.1874C16.3708 14.9901 15.9763 14.8915 15.5819 14.8915Z",fill:r}))}));var qq=["color","size"],Vq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,qq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M42.1323 0.500031H2.73399C1.42693 0.500031 0.399963 1.527 0.399963 2.83406V43.166C0.399963 44.4731 1.42693 45.5 2.73399 45.5H42.1323C43.4394 45.5 44.4664 44.4731 44.4664 43.166V2.83406C44.4664 1.527 43.4394 0.500031 42.1323 0.500031ZM41.6655 3.30086V25.8942L36.624 21.693C36.1572 21.2262 35.4103 21.2262 34.8502 21.5996L28.595 26.2677L15.5244 11.2365C15.3377 10.9565 14.9643 10.7697 14.5908 10.7697C14.2174 10.7697 13.8439 10.9565 13.5639 11.1432L3.20079 21.693V3.30086H41.6655ZM3.20079 42.6992V39.8984C4.22776 40.3652 5.72154 40.832 7.58876 40.832C9.36262 40.832 10.483 40.2718 11.3232 39.805C12.0701 39.4316 12.5369 39.1515 13.3771 39.2448C14.3108 39.3382 14.8709 39.5249 15.4311 39.805C16.2713 40.0851 17.2049 40.4585 18.9788 40.4585V38.3112C17.6717 38.3112 17.0182 38.0312 16.178 37.7511C15.5244 37.471 14.6842 37.1909 13.5639 37.0975C12.0701 36.9108 11.1365 37.471 10.2962 37.8444C9.54934 38.2179 8.80245 38.5913 7.4954 38.5913C5.06801 38.5913 3.6676 37.7511 3.10743 37.2843V35.0436C4.1344 35.5104 5.62818 35.9772 7.4954 35.9772C9.26926 35.9772 10.3896 35.417 11.2298 34.9502C11.9767 34.5768 12.4435 34.2967 13.2838 34.3901C14.2174 34.4834 14.7776 34.6702 15.3377 34.9502C16.178 35.2303 17.1116 35.6038 18.8854 35.6038V33.4565C17.5784 33.4565 16.9249 33.1764 16.0846 32.8963C15.4311 32.6162 14.5908 32.3361 13.4705 32.2428C11.9767 32.056 11.0431 32.6162 10.2029 32.9897C9.45598 33.3631 8.70909 33.7365 7.40204 33.7365C4.97465 33.7365 3.57424 32.8963 3.01407 32.4295V30.1888C4.04104 30.6556 5.53482 31.1224 7.40204 31.1224C9.1759 31.1224 10.2962 30.5623 11.1365 30.0955C11.8834 29.722 12.3502 29.4419 13.1904 29.5353C14.124 29.6287 14.6842 29.8154 15.2444 30.0955C16.0846 30.3755 17.0182 30.749 18.7921 30.749V28.6017C17.485 28.6017 16.8315 28.3216 15.9912 28.0415C15.3377 27.7614 14.4975 27.4814 13.3771 27.388C11.8834 27.2013 10.9498 27.7614 10.1095 28.1349C9.36262 28.5083 8.61573 28.8818 7.30868 28.8818C4.88129 28.8818 3.48088 28.0415 2.92071 27.5747V25.7075L14.124 14.2241L27.1012 29.0685C27.568 29.6287 28.4083 29.722 28.9684 29.2552L35.4103 24.4004L41.3854 29.4419V42.6058H3.20079V42.6992Z",fill:r}),gv.createElement("path",{d:"M32.7029 15.7179C35.4103 15.7179 37.651 13.4772 37.651 10.7697C37.651 8.06227 35.4103 5.82161 32.7029 5.82161C29.9954 5.82161 27.7547 8.06227 27.7547 10.7697C27.7547 13.4772 29.9954 15.7179 32.7029 15.7179ZM32.7029 8.15563C34.1966 8.15563 35.317 9.36933 35.317 10.7697C35.317 12.1702 34.1033 13.3838 32.7029 13.3838C31.3025 13.3838 30.0888 12.1702 30.0888 10.7697C30.0888 9.36933 31.2091 8.15563 32.7029 8.15563Z",fill:r}))}));var Gq=["color","size"],Wq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Gq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M46.1442 31.3785C45.4585 31.3785 44.8974 31.9424 44.8974 32.6316V43.7344C44.8974 45.802 43.2267 47.4812 41.157 47.4938H6.22156C4.16433 47.4938 2.49361 45.8146 2.48114 43.7344V11.1278C2.48114 9.06018 4.15186 7.38098 6.22156 7.36845H17.2807C17.9665 7.36845 18.5275 6.80454 18.5275 6.11532C18.5275 5.42609 17.9665 4.86218 17.2807 4.86218H6.22156C2.79284 4.87471 0 7.6692 0 11.1278V43.7344C0 47.193 2.79284 50 6.22156 50H41.157C44.5982 50 47.3786 47.193 47.3786 43.7469V32.6316C47.391 31.9424 46.83 31.3785 46.1442 31.3785Z",fill:r}),gv.createElement("path",{d:"M46.8923 1.65414C44.698 -0.551378 41.157 -0.551378 38.9627 1.65414L16.7571 23.9724C16.6075 24.1228 16.4953 24.3108 16.4329 24.5238L13.5154 35.1253C13.3907 35.5639 13.5154 36.0276 13.8396 36.3409C14.1513 36.6541 14.6251 36.7794 15.049 36.6667L25.5969 33.7343C25.8089 33.6717 25.9959 33.5714 26.1455 33.4085L48.3636 11.0777C50.5455 8.87218 50.5455 5.31328 48.3636 3.10777L46.8923 1.65414ZM19.4751 24.787L37.6535 6.51629L43.5135 12.406L25.3351 30.6892L19.4751 24.787ZM18.3031 27.1554L22.9911 31.8672L16.5077 33.6717L18.3031 27.1554ZM46.5931 9.31078L45.2715 10.6391L39.4115 4.74937L40.7331 3.42105C41.9425 2.20551 43.9249 2.20551 45.1343 3.42105L46.5931 4.88722C47.815 6.11529 47.815 8.09524 46.5931 9.31078Z",fill:r}))}));var Zq=["color","size"],Yq=Ak((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,i=void 0===o?14:o,a=yv(e,Zq);return gv.createElement("svg",Mb({ref:t,width:i,height:i,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),gv.createElement("path",{d:"M0.5 0.5H3V2.375H2.375V3H0.5V0.5Z",fill:r}),gv.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 21.125H3V21.2693H24.7308V43H24.875V45.5L0.5 45.5001V21.125ZM22.2308 43L3 43.0001V23.7693H22.2308V43Z",fill:r}),gv.createElement("path",{d:"M43 45.5H45.5V43H43.625V43.625H43V45.5Z",fill:r}),gv.createElement("path",{d:"M45.5 3V0.5H43V2.375H43.625V3H45.5Z",fill:r}),gv.createElement("path",{d:"M6.125 0.5V3H9.875V0.5H6.125Z",fill:r}),gv.createElement("path",{d:"M13.625 0.5V3H17.375V0.5H13.625Z",fill:r}),gv.createElement("path",{d:"M21.125 0.5V3H24.875V0.5H21.125Z",fill:r}),gv.createElement("path",{d:"M28.625 0.5V3H32.375V0.5H28.625Z",fill:r}),gv.createElement("path",{d:"M36.125 0.5V3H39.875V0.5H36.125Z",fill:r}),gv.createElement("path",{d:"M45.5 6.125H43V9.875H45.5V6.125Z",fill:r}),gv.createElement("path",{d:"M45.5 13.625H43V17.375H45.5V13.625Z",fill:r}),gv.createElement("path",{d:"M45.5 21.125H43V24.875H45.5V21.125Z",fill:r}),gv.createElement("path",{d:"M45.5 28.625H43V32.375H45.5V28.625Z",fill:r}),gv.createElement("path",{d:"M45.5 36.125H43V39.875H45.5V36.125Z",fill:r}),gv.createElement("path",{d:"M39.875 45.5V43H36.125V45.5H39.875Z",fill:r}),gv.createElement("path",{d:"M32.375 45.5V43H28.625V45.5H32.375Z",fill:r}),gv.createElement("path",{d:"M0.5 17.375H3V13.625H0.5V17.375Z",fill:r}),gv.createElement("path",{d:"M0.5 9.875H3V6.125H0.5V9.875Z",fill:r}),gv.createElement("path",{d:"M35.1391 9.23718L26.3209 17.8619C25.8274 18.3446 25.8186 19.136 26.3013 19.6295C26.784 20.1231 27.5754 20.1319 28.069 19.6492L37.1012 10.815V16.9907C37.1012 17.681 37.6609 18.2407 38.3512 18.2407C39.0416 18.2407 39.6012 17.681 39.6012 16.9907V7.98718C39.6012 7.29683 39.0416 6.73718 38.3512 6.73718L29.3477 6.73718C28.6574 6.73718 28.0977 7.29683 28.0977 7.98718C28.0977 8.67754 28.6574 9.23718 29.3477 9.23718L35.1391 9.23718Z",fill:r}))}));var Xq=[{id:lE.ADJUST,labelKey:"adjustTab",icon:Rq},{id:lE.FINETUNE,labelKey:"finetuneTab",icon:Uq},{id:lE.FILTERS,labelKey:"filtersTab",icon:Hq,hideFn:function(e){return e.useCloudimage}},{id:lE.WATERMARK,labelKey:"watermarkTab",icon:Vq},{id:lE.ANNOTATE,labelKey:"annotateTab",icon:Wq,hideFn:function(e){return e.useCloudimage}},{id:lE.RESIZE,labelKey:"resizeTab",icon:Yq}];const Kq=function(){var e=pS(),t=e.t,n=e.dispatch,r=e.tabId,o=void 0===r?null:r,i=e.config,a=i.tabsIds,s=i.defaultTabId,l=i.useCloudimage,u=(0,gv.useMemo)((function(){var e=[];return 0<Object.keys(a).length?Xq.forEach((function(t){var n=a.indexOf(t.id);-1!==n&&(e[n]=t)})):e=Xq,(0<e.length?e:Xq).filter((function(e){var t=e.hideFn;return!t||!t({useCloudimage:l})}))}),[a]),c=(0,gv.useCallback)((function(e){n({type:wR,payload:{tabId:e}})}),[]);return 1===u.length?null:gv.createElement(Fq,{className:"FIE_tabs"},u.map((function(e){var n=e.id,r=e.labelKey,i=e.icon;return gv.createElement(Nq,{key:n,id:n,label:t(r),Icon:i,isSelected:(o||s)===n,onClick:c})})))};var Qq=function(e){var t=e.children;return gv.createElement(Rk,{className:"FIE_tool-options-wrapper",hasChildren:!!t},t)};Qq.defaultProps={children:void 0};const Jq=Qq;const eV=function(){var e,t=pS(),n=t.t,r=t.dispatch,o=t.tabId,i=t.toolId,a=t.annotations,s=t.selectionsIds,l=void 0===s?[]:s,u=t.config,c=u.defaultTabId,p=u.defaultToolId,d=u.useCloudimage,f=o||c,h=i||p||(null===(e=bR[f])||void 0===e?void 0:e[0]),m=(0,gv.useMemo)((function(){return bR[f]||[]}),[f]),g=(0,gv.useCallback)((function(e){r({type:tz,payload:{toolId:e}})}),[]),v=(0,gv.useMemo)((function(){return m.map((function(e){var t=yR[e],r=t.Item,o=t.hideFn;return r&&(!o||!o({useCloudimage:d}))&&gv.createElement(r,{key:e,selectTool:g,t:n,isSelected:h===e})}))}),[m,h]),y=(0,gv.useMemo)((function(){var e,t,n;if(!h)return!1;if(f===lE.ANNOTATE){var r=l.length;if(1===r){var o,s=a[l[0]];return null===(o=yR[s.name])||void 0===o?void 0:o.ItemOptions}if(1<r)return null}return f&&h&&bR[f].includes(h)&&(!(null!==(e=yR[i])&&void 0!==e&&e.hideFn)||!(null!==(t=yR[i])&&void 0!==t&&t.hideFn({useCloudimage:d})))&&(null===(n=yR[i])||void 0===n?void 0:n.ItemOptions)}),[f,h,a,l]);return(0,gv.useEffect)((function(){!i&&h&&r({type:tz,payload:{toolId:h}})}),[]),gv.createElement(Bk,{className:"FIE_tools-bar-wrapper"},gv.createElement(Jq,null,y&&gv.createElement(y,{t:n})),v&&gv.createElement(Ik,{className:"FIE_tools-bar"},v))};var tV=["size"],nV=Ak((function(e,t){var n=e.size,r=void 0===n?59:n,o=yv(e,tV);return gv.createElement("svg",Mb({ref:t,width:r,height:r,viewBox:"0 0 59 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),gv.createElement("path",{d:"M50.8184 49.7317C50.725 49.8308 50.6271 49.9241 50.5326 50.0209C50.3828 50.1776 50.2341 50.3298 50.0786 50.4819C50.0714 50.4897 50.0637 50.497 50.0555 50.5038C49.9403 50.619 49.817 50.7342 49.6995 50.8495C48.0349 52.4195 46.1929 53.79 44.2108 54.9334C44.204 54.9383 44.1967 54.9426 44.189 54.946L44.068 55.0129C43.766 55.1811 43.4641 55.3494 43.1553 55.5084L43.0481 55.566C42.714 55.7377 42.3775 55.9025 42.0341 56.065C41.3427 56.3892 40.6359 56.6869 39.9138 56.958C39.2915 57.1954 38.6554 57.4086 38.0135 57.6034C37.8799 57.6471 37.7462 57.6852 37.6125 57.7186C31.4735 59.4572 24.9357 59.1527 18.9849 56.8509L18.9561 56.8416C17.5942 56.3104 16.2738 55.6783 15.0059 54.9507C14.9989 54.9507 14.9955 54.9437 14.9897 54.9437L14.9482 54.9207C14.6498 54.749 14.3571 54.575 14.0644 54.3872C12.0384 53.1175 10.174 51.6065 8.5124 49.8873C8.50318 49.8769 8.48935 49.8642 8.48013 49.855C8.47091 49.8458 8.43865 49.8101 8.41675 49.7882C3.18695 44.3407 0.270688 37.0792 0.280052 29.5276C0.280052 13.3441 13.4006 0.220093 29.5876 0.220093C45.7746 0.220093 58.894 13.3441 58.894 29.5276C58.9056 37.0512 56.0127 44.2889 50.8184 49.7317Z",fill:"#FFAC4A"}),gv.createElement("path",{d:"M50.5293 50.021C50.3794 50.1777 50.2308 50.3298 50.0752 50.4819C50.0681 50.4897 50.0604 50.4971 50.0522 50.5038C49.9369 50.619 49.8136 50.7343 49.6961 50.8495C48.0315 52.4195 46.1896 53.7901 44.2075 54.9334C44.2007 54.9384 44.1933 54.9426 44.1856 54.9461L44.0646 55.0129C43.7627 55.1846 43.4608 55.3494 43.1519 55.5119L43.0448 55.5695C42.7106 55.7412 42.3741 55.906 42.0307 56.0685C41.3393 56.3927 40.6325 56.6903 39.9104 56.9615C39.2881 57.1989 38.652 57.4121 38.0102 57.6068C37.8765 57.6506 37.7428 57.6887 37.6092 57.7221C31.4702 59.4607 24.9323 59.1562 18.9815 56.8544L18.9527 56.8451C17.5908 56.3139 16.2704 55.6818 15.0025 54.9541L14.9864 54.9449C14.9737 54.9357 14.9576 54.9299 14.9449 54.9196C14.6464 54.7479 14.3537 54.5739 14.061 54.386C12.035 53.1164 10.1707 51.6054 8.50903 49.8861C9.43091 46.6538 13.1184 46.1099 13.5206 46.0627L13.4929 45.891L12.7105 41.0373C12.3851 38.9292 12.5084 36.7762 13.0723 34.719C13.0884 34.6648 13.1046 34.6038 13.1207 34.553C13.1368 34.5023 13.1518 34.4482 13.1714 34.394C13.5717 33.0527 14.2065 31.7929 15.0463 30.6731C15.6603 29.8608 16.3808 29.1348 17.1885 28.5148L14.4044 15.9024L16.1018 15.4829L19.3088 27.1884C21.2574 26.2066 23.7557 25.5037 26.9523 25.2721C27.0065 25.2663 27.0572 25.2629 27.1113 25.2594L27.2703 25.2502C27.9617 25.2018 28.6716 25.1799 29.4218 25.1799C30.2284 25.1799 30.989 25.2052 31.7195 25.2559L31.8786 25.2663C31.9327 25.2663 31.9834 25.2721 32.0376 25.279C35.3909 25.529 37.9745 26.2769 39.9646 27.3129L43.137 15.718L44.8332 16.1328L42.0676 28.6646C42.7754 29.2263 43.4134 29.8708 43.9678 30.5844C44.49 31.2564 44.9334 31.9859 45.2895 32.7588C45.3276 32.8384 45.3667 32.9179 45.3979 32.9974C45.4843 33.1875 45.5638 33.3788 45.6283 33.5736C45.6606 33.6588 45.6917 33.7418 45.7205 33.8248C45.7908 34.0184 45.8542 34.2085 45.9118 34.4009C45.9279 34.4551 45.9429 34.5162 45.9591 34.5657L46.0063 34.734C46.042 34.8619 46.0731 34.9852 46.1019 35.1096C46.125 35.1984 46.1434 35.2871 46.163 35.3758C46.1826 35.4646 46.201 35.551 46.2172 35.6374C46.2448 35.7768 46.2702 35.9163 46.2932 36.0569C46.3948 36.6548 46.4564 37.2588 46.4776 37.8649C46.4776 37.9352 46.4776 38.002 46.4776 38.0688C46.5071 38.8585 46.4604 39.6493 46.3382 40.43L45.5684 45.6328L45.4866 46.1894C45.4915 46.1883 45.4966 46.1883 45.5016 46.1894C45.9176 46.2459 49.6039 46.7852 50.5293 50.021Z",fill:"white"}),gv.createElement("path",{d:"M14.8608 16.7227C16.1775 16.7227 17.245 15.6553 17.245 14.3385C17.245 13.0218 16.1775 11.9543 14.8608 11.9543C13.544 11.9543 12.4766 13.0218 12.4766 14.3385C12.4766 15.6553 13.544 16.7227 14.8608 16.7227Z",fill:"#7386F3"}),gv.createElement("path",{d:"M44.3791 16.7227C45.6958 16.7227 46.7633 15.6553 46.7633 14.3385C46.7633 13.0218 45.6958 11.9543 44.3791 11.9543C43.0623 11.9543 41.9949 13.0218 41.9949 14.3385C41.9949 15.6553 43.0623 16.7227 44.3791 16.7227Z",fill:"#7386F3"}),gv.createElement("path",{d:"M46.3532 40.4357L45.5834 45.6386L45.5016 46.1952L44.8943 50.3171L44.8528 50.5844L44.2075 54.9288C44.2007 54.9337 44.1933 54.938 44.1856 54.9414L44.0646 55.0083C43.7627 55.1765 43.4608 55.3448 43.1519 55.5038L43.0448 55.5614C42.7106 55.7331 42.3741 55.8979 42.0307 56.0604C41.3393 56.3846 40.6325 56.6822 39.9104 56.9534C40.1201 54.4183 40.3241 51.8958 40.5085 49.5669L40.5177 49.4805V49.4644L40.5269 49.3215V49.2996C40.5269 49.2546 40.5269 49.2074 40.5396 49.1624C40.5592 48.9216 40.5741 48.6831 40.5972 48.4514L40.6479 47.8499C40.664 47.6529 40.679 47.4627 40.6986 47.2737C41.1215 42.8245 42.0434 40.6028 42.2301 38.4157V38.3811C42.2589 38.0354 42.2773 37.7104 42.2877 37.3959C42.2877 37.3325 42.2877 37.2691 42.2934 37.2023C42.3822 34.6176 42.0872 33.0665 43.9655 30.5844C44.4876 31.2563 44.9311 31.9859 45.2872 32.7588C45.3253 32.8383 45.3644 32.9178 45.3956 32.9974C45.482 33.1875 45.5615 33.3788 45.626 33.5735C45.6583 33.6588 45.6894 33.7418 45.7182 33.8247C45.7885 34.0183 45.8519 34.2085 45.9095 34.4009C45.9256 34.4551 45.9406 34.5161 45.9567 34.5657L46.004 34.7339C46.0397 34.8619 46.0708 34.9852 46.0996 35.1096C46.1227 35.1983 46.1411 35.2871 46.1607 35.3758C46.1803 35.4645 46.1987 35.551 46.2149 35.6374C46.2425 35.7768 46.2679 35.9162 46.2909 36.0568C46.3925 36.6547 46.4541 37.2588 46.4753 37.8649C46.4753 37.9352 46.4753 38.002 46.4753 38.0688C46.5109 38.8599 46.47 39.6525 46.3532 40.4357Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M18.9526 56.8451C17.5907 56.3139 16.2703 55.6818 15.0023 54.9541C14.9827 54.9449 14.9643 54.9322 14.9447 54.9219L13.4928 45.8933L12.7103 41.0396C12.3768 38.8739 12.5167 36.6617 13.1206 34.5554C13.5212 33.1557 14.1738 31.8409 15.0461 30.6754C16.7182 33.0458 16.5015 34.6003 16.5684 37.0663C16.5684 37.1746 16.5753 37.2887 16.5787 37.4005C16.5914 37.7404 16.6099 38.0919 16.6421 38.471V38.5067C16.8265 40.6904 17.7126 42.9087 18.1609 47.2438C18.1667 47.3256 18.177 47.4086 18.1828 47.4916C18.2058 47.722 18.2277 47.9686 18.2496 48.2129L18.3003 48.8237C18.313 48.9689 18.3257 49.1129 18.3361 49.2558C18.3361 49.2777 18.3361 49.303 18.3361 49.3249C18.3453 49.4459 18.3557 49.5692 18.3649 49.6902L18.3868 49.9703C18.5677 52.1482 18.759 54.4874 18.9526 56.8451Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M26.565 37.1251L25.4081 34.8389L24.1774 37.1228L26.565 37.1251Z",fill:"#7386F3"}),gv.createElement("path",{d:"M26.8231 37.284H23.9111L25.4092 34.4977L26.8231 37.284ZM24.4435 36.9637H26.3057L25.4034 35.1799L24.4435 36.9637Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.3779 37.1251L33.2221 34.8389L31.9902 37.1228L34.3779 37.1251Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.6361 37.284H31.7241L33.2222 34.4977L34.6361 37.284ZM32.2565 36.9637H34.1198L33.2176 35.1799L32.2565 36.9637Z",fill:"#7386F3"}),gv.createElement("path",{d:"M37.2277 41.7252C38.1346 41.7252 38.8698 40.99 38.8698 40.0831C38.8698 39.1762 38.1346 38.441 37.2277 38.441C36.3208 38.441 35.5856 39.1762 35.5856 40.0831C35.5856 40.99 36.3208 41.7252 37.2277 41.7252Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M21.6537 42.1493C22.5606 42.1493 23.2958 41.4141 23.2958 40.5072C23.2958 39.6003 22.5606 38.8651 21.6537 38.8651C20.7468 38.8651 20.0116 39.6003 20.0116 40.5072C20.0116 41.4141 20.7468 42.1493 21.6537 42.1493Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M46.5431 34.1774C46.3172 34.1899 46.1004 34.2702 45.9208 34.4078C45.9162 34.4102 45.9119 34.4134 45.9082 34.4171C45.3193 34.8492 44.7639 35.9151 44.2615 37.5987C43.4548 40.2652 42.9835 43.7672 42.7634 45.6178C42.6712 46.4337 42.6044 47.1366 42.5595 47.7059C42.532 48.1031 42.3546 48.475 42.0632 48.7463C41.7717 49.0176 41.3881 49.168 40.99 49.1671H18.0503C17.6432 49.1659 17.2524 49.0074 16.9595 48.7248C16.6666 48.4422 16.4942 48.0573 16.4785 47.6506C16.4473 46.9707 16.4093 46.3058 16.3632 45.6732C16.1247 42.2979 15.6799 39.5807 15.0438 37.5941C14.3524 35.4426 13.5884 34.6798 13.2196 34.4378C13.2056 34.4208 13.1884 34.4067 13.1689 34.3963C13.1689 34.3963 13.1597 34.3963 13.1563 34.3906C13.0594 34.3202 12.9492 34.2704 12.8324 34.2442C12.812 34.2407 12.7911 34.2412 12.7709 34.2457C12.7506 34.2502 12.7315 34.2587 12.7145 34.2706C12.6803 34.2947 12.657 34.3314 12.6498 34.3727C12.6426 34.414 12.6521 34.4564 12.6762 34.4906C12.7003 34.5249 12.737 34.5482 12.7783 34.5553C12.8545 34.5802 12.9264 34.6168 12.9915 34.6637L13.0099 34.6729L13.0191 34.6833C13.0372 34.6942 13.0542 34.707 13.0698 34.7213C13.442 34.9875 14.1069 35.725 14.7384 37.6897C15.3699 39.6545 15.8101 42.3463 16.0452 45.6985C16.0901 46.3254 16.1282 46.9857 16.1604 47.6633C16.1794 48.1518 16.3866 48.6141 16.7386 48.9534C17.0906 49.2927 17.5602 49.4828 18.0491 49.484H40.9946C41.473 49.4857 41.9342 49.3055 42.2847 48.9798C42.6352 48.6541 42.8488 48.2074 42.8821 47.7301C42.9236 47.1608 42.9973 46.4625 43.0849 45.6559C43.2981 43.8121 43.7763 40.332 44.5668 37.6874C45.0278 36.1652 45.5106 35.173 46.0153 34.7409C46.0408 34.7153 46.0685 34.6921 46.0983 34.6717C46.2299 34.5667 46.3911 34.5054 46.5592 34.4966C46.6015 34.4948 46.6414 34.4763 46.6701 34.4452C46.6988 34.4141 46.7141 34.3729 46.7125 34.3306C46.7123 34.3092 46.7076 34.288 46.6988 34.2684C46.69 34.2489 46.6772 34.2314 46.6613 34.217C46.6454 34.2026 46.6267 34.1916 46.6063 34.1848C46.586 34.178 46.5645 34.1755 46.5431 34.1774Z",fill:"#7386F3"}),gv.createElement("path",{d:"M31.8784 25.2628L31.7194 25.2525V30.0589H27.2702V25.2467L27.1112 25.2559C27.057 25.2559 27.0063 25.2628 26.9521 25.2686V30.2168C26.9521 30.2589 26.9689 30.2994 26.9987 30.3292C27.0285 30.359 27.069 30.3758 27.1112 30.3758H31.8784C31.9204 30.3752 31.9605 30.3582 31.9902 30.3286C32.0199 30.2989 32.0368 30.2588 32.0374 30.2168V25.2755C31.9833 25.2686 31.9326 25.2651 31.8784 25.2628Z",fill:"#7386F3"}),gv.createElement("path",{d:"M29.5681 44.0449C30.3363 44.0449 30.959 42.9615 30.959 41.625C30.959 40.2885 30.3363 39.2051 29.5681 39.2051C28.8 39.2051 28.1772 40.2885 28.1772 41.625C28.1772 42.9615 28.8 44.0449 29.5681 44.0449Z",fill:"#C9D1E5"}),gv.createElement("path",{d:"M22.9202 33.3396C22.9202 33.3396 24.8791 30.3965 27.0087 33.1218",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M35.4922 33.3396C35.4922 33.3396 33.5332 30.3965 31.4037 33.1218",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M13.1714 34.3963L13.0723 34.7212L12.7934 34.659L12.4362 34.5023L12.5399 34.1715L12.8187 34.1681L13.1714 34.3963Z",fill:"#FFAC4A"}),gv.createElement("path",{d:"M45.9209 34.4067L46.0154 34.7397L46.7679 34.4401L46.6745 34.1405L46.2747 34.0645L45.9209 34.4067Z",fill:"#FFAC4A"}))}));const rV=nV;var oV=["size"],iV=Ak((function(e,t){var n=e.size,r=void 0===n?59:n,o=yv(e,oV);return gv.createElement("svg",Mb({ref:t,width:r,height:r,viewBox:"0 0 59 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),gv.createElement("path",{d:"M50.8184 49.6567C50.725 49.7547 50.6271 49.8492 50.5326 49.9448C50.3828 50.1004 50.2341 50.2525 50.0786 50.4058C50.0721 50.4142 50.0643 50.4216 50.0555 50.4277C49.9403 50.5429 49.817 50.6581 49.6995 50.7734C48.0335 52.3415 46.1903 53.7102 44.2074 54.8515C44.2016 54.8515 44.1947 54.8607 44.1855 54.8642L44.0645 54.9299C43.7626 55.0981 43.4607 55.2675 43.1518 55.4254L43.0447 55.483C42.7105 55.6547 42.374 55.8195 42.0306 55.9819C41.3392 56.3058 40.6317 56.6054 39.9103 56.875C39.288 57.1136 38.6519 57.3267 38.0101 57.5203C37.8764 57.5653 37.7427 57.6033 37.6091 57.6413C31.4699 59.3784 24.9326 59.0738 18.9814 56.7736L18.9526 56.7644C17.5909 56.2326 16.2706 55.6006 15.0024 54.8734C14.9955 54.8734 14.992 54.8665 14.9863 54.8665L14.9448 54.8446C14.6463 54.6729 14.3536 54.4989 14.0609 54.3111C12.0349 53.041 10.1706 51.5296 8.50894 49.81L8.47667 49.7789C8.45676 49.7555 8.4356 49.7332 8.41329 49.712C3.18524 44.2642 0.270299 37.0033 0.280054 29.4527C0.280054 13.268 13.4006 0.145142 29.5876 0.145142C45.7746 0.145142 58.894 13.268 58.894 29.4527C58.9053 36.9762 56.0125 44.2138 50.8184 49.6567Z",fill:"#E85B46"}),gv.createElement("path",{d:"M50.5291 49.9459C50.3793 50.1015 50.2307 50.2536 50.0751 50.4069C50.0686 50.4153 50.0608 50.4227 50.0521 50.4288C49.9368 50.544 49.8135 50.6592 49.696 50.7745C48.031 52.342 46.189 53.7102 44.2074 54.8515C44.2016 54.8515 44.1947 54.8607 44.1855 54.8641L44.0645 54.9298C43.7626 55.1015 43.4607 55.2675 43.1518 55.4288L43.0447 55.4864C42.7105 55.6581 42.374 55.8229 42.0306 55.9854C41.3392 56.3092 40.6316 56.6088 39.9103 56.8784C39.288 57.117 38.6519 57.3301 38.0101 57.5237C37.8764 57.5687 37.7427 57.6067 37.609 57.6447C31.4699 59.3818 24.9325 59.0772 18.9814 56.777L18.9526 56.7678C17.5909 56.236 16.2705 55.604 15.0024 54.8768L14.9862 54.8664C14.9736 54.8572 14.9574 54.8503 14.9448 54.8411C14.6463 54.6694 14.3536 54.4954 14.0609 54.3075C12.0348 53.0375 10.1705 51.5261 8.50891 49.8065C9.43079 46.5799 13.1183 46.0303 13.5205 45.983L13.4928 45.8113L12.7104 40.9576C12.385 38.8495 12.5083 36.6965 13.0722 34.6393L13.1206 34.4746C13.1367 34.4204 13.1517 34.3697 13.1713 34.3155C13.5716 32.9739 14.2063 31.7137 15.0462 30.5935C15.6604 29.7814 16.3809 29.0555 17.1884 28.4351L14.4043 15.8239L16.1017 15.4044L19.3087 27.1099C21.2573 26.1281 23.7556 25.4252 26.9522 25.1936C27.0063 25.1867 27.057 25.1832 27.1112 25.1809L27.2702 25.1705C27.9616 25.1233 28.6715 25.1014 29.4216 25.1014C30.2283 25.1014 30.9888 25.1267 31.7194 25.1774L31.8784 25.1867C31.9326 25.1867 31.9833 25.1936 32.0375 25.1993C35.3908 25.4506 37.9743 26.1973 39.9644 27.2332L43.1368 15.6418L44.8331 16.0624L42.0675 28.5941C42.7756 29.1555 43.4136 29.8001 43.9677 30.514C44.4898 31.1855 44.9333 31.9147 45.2894 32.6873C45.3274 32.7668 45.3666 32.8463 45.3977 32.9258C45.4842 33.1171 45.5637 33.3072 45.6282 33.502C45.6605 33.5884 45.6916 33.6714 45.7204 33.7532C45.7907 33.9479 45.8541 34.1381 45.9117 34.3294C45.9278 34.3835 45.9428 34.4446 45.9589 34.4953L46.0062 34.6635C46.0419 34.7903 46.073 34.9148 46.1018 35.0381C46.1249 35.1279 46.1433 35.2167 46.1629 35.3054C46.1825 35.3941 46.2009 35.4806 46.2171 35.5658C46.2447 35.7064 46.2701 35.8458 46.2931 35.9853C46.3947 36.5836 46.4563 37.188 46.4775 37.7945C46.4775 37.8636 46.4775 37.9304 46.4775 37.9973C46.507 38.787 46.4603 39.5777 46.3381 40.3584L45.5683 45.5613L45.4865 46.1178C45.4913 46.1163 45.4966 46.1163 45.5014 46.1178C45.9174 46.1697 49.6038 46.7101 50.5291 49.9459Z",fill:"white"}),gv.createElement("path",{d:"M14.8606 16.6467C16.1774 16.6467 17.2448 15.5793 17.2448 14.2625C17.2448 12.9457 16.1774 11.8783 14.8606 11.8783C13.5439 11.8783 12.4764 12.9457 12.4764 14.2625C12.4764 15.5793 13.5439 16.6467 14.8606 16.6467Z",fill:"#7386F3"}),gv.createElement("path",{d:"M44.3791 16.6467C45.6958 16.6467 46.7633 15.5793 46.7633 14.2625C46.7633 12.9457 45.6958 11.8783 44.3791 11.8783C43.0623 11.8783 41.9949 12.9457 41.9949 14.2625C41.9949 15.5793 43.0623 16.6467 44.3791 16.6467Z",fill:"#7386F3"}),gv.createElement("path",{d:"M46.3532 40.3596L45.5834 45.5625L45.5016 46.119L44.8943 50.2421L44.8528 50.5095L44.2075 54.8515C44.2017 54.8515 44.1948 54.8607 44.1856 54.8642L44.0646 54.9299C43.7627 55.0981 43.4608 55.2675 43.1519 55.4254L43.0448 55.483C42.7106 55.6547 42.3741 55.8195 42.0307 55.9819C41.3393 56.3058 40.6318 56.6054 39.9104 56.875C40.1201 54.3399 40.3241 51.8185 40.5085 49.4885L40.5177 49.4032V49.3871L40.5269 49.2442V49.2223C40.5269 49.1774 40.5269 49.1301 40.5396 49.0852C40.5592 48.8432 40.5741 48.6058 40.5972 48.373L40.6479 47.7726C40.664 47.5756 40.679 47.3843 40.6986 47.1965C41.1215 42.7461 42.0434 40.5244 42.2301 38.3384V38.3027C42.2589 37.957 42.2773 37.632 42.2877 37.3174C42.2877 37.2541 42.2877 37.1907 42.2934 37.1238C42.3822 34.5403 42.0872 32.9892 43.9655 30.5071C44.4876 31.1787 44.9311 31.9079 45.2872 32.6804C45.3253 32.7599 45.3644 32.8394 45.3956 32.9189C45.482 33.1102 45.5615 33.3004 45.626 33.4951C45.6583 33.5815 45.6894 33.6645 45.7182 33.7463C45.7885 33.9411 45.8519 34.1312 45.9095 34.3225C45.9256 34.3767 45.9406 34.4377 45.9567 34.4884L46.004 34.6567C46.0397 34.7834 46.0708 34.9079 46.0996 35.0312C46.1227 35.1211 46.1411 35.2098 46.1607 35.2985C46.1803 35.3873 46.1987 35.4737 46.2149 35.559C46.2425 35.6995 46.2679 35.839 46.2909 35.9784C46.3925 36.5767 46.4541 37.1811 46.4753 37.7876C46.4753 37.8567 46.4753 37.9236 46.4753 37.9904C46.511 38.7822 46.4701 39.5757 46.3532 40.3596Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M18.9526 56.7701C17.5909 56.2384 16.2705 55.6063 15.0023 54.8791C14.9828 54.8687 14.9643 54.8561 14.9447 54.8469L13.4928 45.8171L12.7103 40.9634C12.3768 38.7981 12.5167 36.5863 13.1206 34.4803C13.5215 33.0805 14.174 31.7653 15.0461 30.5992C16.7182 32.9708 16.5015 34.5253 16.5684 36.9913C16.5684 37.0996 16.5753 37.2137 16.5788 37.3243C16.5914 37.67 16.6099 38.0157 16.6421 38.396V38.4306C16.8265 40.6143 17.7127 42.8325 18.1609 47.1676C18.1667 47.2506 18.1771 47.3336 18.1828 47.4154C18.2059 47.6459 18.2278 47.8925 18.2497 48.1379L18.3004 48.7475C18.313 48.8938 18.3257 49.0367 18.3361 49.1796C18.3361 49.2027 18.3361 49.228 18.3361 49.2499C18.3453 49.3652 18.3557 49.4942 18.3649 49.6152L18.3868 49.8952C18.5677 52.072 18.759 54.4113 18.9526 56.7701Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M26.565 37.0489L25.4081 34.7627L24.1774 37.0478L26.565 37.0489Z",fill:"#7386F3"}),gv.createElement("path",{d:"M26.8231 37.2079H23.9111L25.4092 34.4204L26.8231 37.2079ZM24.4435 36.8887H26.3057L25.4034 35.1049L24.4435 36.8887Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.3779 37.0489L33.2221 34.7627L31.9902 37.0478L34.3779 37.0489Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.6361 37.2079H31.7241L33.2222 34.4204L34.6361 37.2079ZM32.2565 36.8887H34.1198L33.2176 35.1049L32.2565 36.8887Z",fill:"#7386F3"}),gv.createElement("path",{d:"M37.2277 41.649C38.1346 41.649 38.8698 40.9139 38.8698 40.007C38.8698 39.1001 38.1346 38.3649 37.2277 38.3649C36.3208 38.3649 35.5856 39.1001 35.5856 40.007C35.5856 40.9139 36.3208 41.649 37.2277 41.649Z",fill:"#F7DDE4"}),gv.createElement("path",{d:"M21.6538 42.0731C22.5607 42.0731 23.2959 41.3379 23.2959 40.431C23.2959 39.5241 22.5607 38.7889 21.6538 38.7889C20.7469 38.7889 20.0117 39.5241 20.0117 40.431C20.0117 41.3379 20.7469 42.0731 21.6538 42.0731Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M25.3354 42.6643C25.3354 41.5823 27.1619 40.7053 29.4147 40.7053C31.6676 40.7053 33.4929 41.5823 33.4929 42.6643C33.4929 43.7464 31.6007 42.7968 29.3445 42.7968C27.0882 42.7968 25.3354 43.7475 25.3354 42.6643Z",fill:"#C9D1E5"}),gv.createElement("path",{d:"M46.5432 34.1024C46.3172 34.1143 46.1002 34.1947 45.9209 34.3329C45.9209 34.3329 45.9106 34.3398 45.9083 34.3433C45.3194 34.7754 44.764 35.8413 44.2616 37.5237C43.4549 40.1914 42.9836 43.6934 42.7635 45.5429C42.6713 46.3599 42.6045 47.0628 42.5596 47.6309C42.5316 48.0269 42.3546 48.3976 42.0642 48.6683C41.7738 48.939 41.3917 49.0896 40.9947 49.0898H18.0504C17.6435 49.0886 17.2529 48.9303 16.96 48.648C16.6671 48.3656 16.4946 47.981 16.4786 47.5745C16.4474 46.8946 16.4094 46.2308 16.3633 45.5982C16.1248 42.223 15.68 39.5058 15.0439 37.5191C14.3525 35.3666 13.5885 34.6037 13.2197 34.3629C13.2063 34.3453 13.1889 34.3311 13.169 34.3214C13.169 34.3214 13.1598 34.3214 13.1564 34.3145C13.0596 34.2442 12.9494 34.1947 12.8325 34.1693C12.7917 34.1628 12.7499 34.1724 12.716 34.196C12.6821 34.2197 12.6586 34.2555 12.6505 34.296C12.6446 34.3372 12.6545 34.3791 12.6782 34.4133C12.7019 34.4476 12.7377 34.4715 12.7784 34.4804C12.8549 34.5046 12.9269 34.5412 12.9916 34.5887L13.01 34.5979L13.0192 34.6072C13.0368 34.6189 13.0537 34.6316 13.0699 34.6452C13.4421 34.9125 14.107 35.65 14.7385 37.6136C15.37 39.5772 15.8102 42.2702 16.0453 45.6236C16.0902 46.2493 16.1282 46.9107 16.1605 47.5825C16.1793 48.0713 16.3863 48.5339 16.7383 48.8734C17.0904 49.213 17.5601 49.4033 18.0492 49.4044H40.9947C41.4732 49.4059 41.9344 49.2254 42.2849 48.8995C42.6354 48.5737 42.8489 48.1268 42.8822 47.6494C42.9237 47.0813 42.9975 46.3818 43.085 45.5752C43.2982 43.7314 43.7764 40.2513 44.5669 37.6079C45.0279 36.0856 45.5107 35.0934 46.0154 34.6613C46.0411 34.6357 46.0689 34.6122 46.0984 34.591C46.2304 34.4868 46.3914 34.4261 46.5593 34.417C46.6016 34.4152 46.6415 34.3968 46.6702 34.3657C46.6989 34.3346 46.7142 34.2934 46.7126 34.2511C46.7118 34.23 46.7066 34.2094 46.6976 34.1903C46.6885 34.1713 46.6756 34.1543 46.6598 34.1404C46.6439 34.1265 46.6254 34.116 46.6054 34.1095C46.5854 34.1029 46.5642 34.1005 46.5432 34.1024Z",fill:"#7386F3"}),gv.createElement("path",{d:"M31.8785 25.1867L31.7195 25.1774V29.9827H27.2703V25.1705L27.1113 25.1809C27.0571 25.1809 27.0064 25.1809 26.9523 25.1936V30.1417C26.9523 30.1839 26.969 30.2244 26.9988 30.2542C27.0287 30.284 27.0691 30.3008 27.1113 30.3008H31.8785C31.9205 30.3002 31.9606 30.2832 31.9903 30.2535C32.02 30.2238 32.037 30.1837 32.0376 30.1417V25.1993C31.9834 25.1936 31.9327 25.1901 31.8785 25.1867Z",fill:"#7386F3"}),gv.createElement("path",{d:"M25.7239 32.0098C25.7239 32.0098 24.946 34.3456 22.359 34.4297",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M32.7059 32.0098C32.7059 32.0098 33.4838 34.3456 36.0708 34.4297",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M13.2519 34.0667C13.2519 34.0667 13.0399 34.7316 12.9523 35.1233L12.5559 34.2084L13.2519 34.0667Z",fill:"#E85B46"}),gv.createElement("path",{d:"M45.9209 34.3306L46.0154 34.6647L46.0557 34.7177L46.701 34.5195L46.7932 34.1266L46.4971 33.8961L45.9209 34.3306Z",fill:"#E85B46"}))}));const aV=iV;var sV=["size"],lV=Ak((function(e,t){var n=e.size,r=void 0===n?59:n,o=yv(e,sV);return gv.createElement("svg",Mb({ref:t,width:r,height:r,viewBox:"0 0 59 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),gv.createElement("path",{d:"M50.8183 49.6509C50.7249 49.7488 50.627 49.8422 50.5325 49.939C50.3827 50.0945 50.234 50.2466 50.0785 50.3999C50.0716 50.4057 50.0658 50.416 50.0554 50.4218C49.9402 50.537 49.8169 50.6523 49.6994 50.7675C48.0341 52.3385 46.1909 53.7095 44.2073 54.8526C44.2007 54.8579 44.1933 54.8622 44.1854 54.8652L44.0644 54.9321C43.7625 55.1003 43.4606 55.2685 43.1517 55.4276L43.0446 55.4852C42.7104 55.6569 42.3739 55.8217 42.0305 55.9842C41.3391 56.308 40.6316 56.6076 39.9102 56.8772C39.2879 57.1158 38.6518 57.3289 38.01 57.5225C37.8763 57.5663 37.7426 57.6055 37.609 57.6435C31.4698 59.3806 24.9324 59.076 18.9813 56.7758L18.9525 56.7654C17.5906 56.2342 16.2702 55.6021 15.0023 54.8744C14.9954 54.8744 14.9919 54.8687 14.9862 54.8687L14.9447 54.8468C14.6462 54.6751 14.3535 54.5011 14.0608 54.3121C12.0345 53.0428 10.1702 51.5317 8.50883 49.8122L8.47657 49.7799C8.45813 49.758 8.43508 49.7361 8.41319 49.7131C3.18279 44.2635 0.267624 36.9991 0.279946 29.4457C0.279946 13.2622 13.4005 0.139282 29.5875 0.139282C45.7745 0.139282 58.8939 13.2622 58.8939 29.4457C58.9054 36.9696 56.0125 44.2076 50.8183 49.6509Z",fill:"#6E7BB2"}),gv.createElement("path",{d:"M50.529 49.9391C50.3792 50.0947 50.2305 50.2468 50.075 50.4001C50.0681 50.4058 50.0623 50.4162 50.0519 50.422C49.9367 50.5372 49.8134 50.6524 49.6959 50.7677C48.0316 52.338 46.1895 53.7086 44.2072 54.8516C44.2007 54.857 44.1933 54.8612 44.1853 54.8643L44.0644 54.9311C43.7624 55.1028 43.4605 55.2687 43.1517 55.4301L43.0445 55.4877C42.7104 55.6594 42.3739 55.8242 42.0305 55.9866C41.3391 56.3104 40.6315 56.6101 39.9102 56.8797C39.2879 57.1182 38.6518 57.3314 38.0099 57.525C37.8763 57.5688 37.7426 57.608 37.6089 57.646C31.4697 59.383 24.9324 59.0785 18.9813 56.7783L18.9525 56.7679C17.5906 56.2367 16.2702 55.6046 15.0022 54.8769C14.9965 54.8745 14.9911 54.8715 14.9861 54.8677C14.9734 54.8585 14.9573 54.8516 14.9446 54.8424C14.6462 54.6707 14.3535 54.4967 14.0608 54.3077C12.0345 53.0384 10.1701 51.5273 8.50879 49.8078C9.43066 46.5812 13.1182 46.0315 13.5203 45.9843L13.4927 45.8126L12.7102 40.9589C12.3849 38.8508 12.5082 36.6978 13.0721 34.6406L13.1205 34.4758C13.1366 34.4217 13.1516 34.371 13.1712 34.3168C13.5714 32.9751 14.2062 31.715 15.046 30.5947C15.6603 29.7827 16.3808 29.0568 17.1882 28.4364L14.4042 15.8159L16.1016 15.3965L19.3086 27.1031C21.2572 26.1202 23.7554 25.4184 26.952 25.1856C27.0062 25.1799 27.0569 25.1764 27.1111 25.173L27.2701 25.1637C27.9615 25.1165 28.6713 25.0935 29.4215 25.0935C30.2282 25.0935 30.9887 25.12 31.7193 25.1707L31.8783 25.1799C31.9325 25.1799 31.9832 25.1856 32.0373 25.1926C35.3907 25.4438 37.9742 26.1905 39.9643 27.2264L43.1367 15.635L44.833 16.0545L42.0673 28.5874C42.7755 29.1488 43.4135 29.7933 43.9676 30.5072C44.4897 31.1788 44.9332 31.9079 45.2893 32.6805C45.3273 32.76 45.3665 32.8395 45.3976 32.919C45.484 33.1092 45.5636 33.3005 45.6281 33.4952C45.6603 33.5816 45.6915 33.6634 45.7203 33.7464C45.7906 33.94 45.8539 34.1313 45.9116 34.3226C45.9277 34.3767 45.9427 34.4378 45.9588 34.4874L46.0061 34.6568C46.0418 34.7835 46.0729 34.908 46.1017 35.0313C46.1247 35.12 46.1432 35.2099 46.1628 35.2986C46.1824 35.3873 46.2008 35.4726 46.2169 35.559C46.2446 35.6985 46.2699 35.8391 46.293 35.9785C46.3945 36.5764 46.4561 37.1804 46.4774 37.7865C46.4774 37.8568 46.4774 37.9237 46.4774 37.9905C46.5068 38.7802 46.4601 39.5709 46.3379 40.3516L45.5682 45.5545L45.4863 46.1111C45.4912 46.1095 45.4965 46.1095 45.5013 46.1111C45.9173 46.1629 49.6037 46.7034 50.529 49.9391Z",fill:"white"}),gv.createElement("path",{d:"M14.8605 16.6399C16.1773 16.6399 17.2447 15.5724 17.2447 14.2557C17.2447 12.9389 16.1773 11.8715 14.8605 11.8715C13.5438 11.8715 12.4763 12.9389 12.4763 14.2557C12.4763 15.5724 13.5438 16.6399 14.8605 16.6399Z",fill:"#7386F3"}),gv.createElement("path",{d:"M44.3791 16.6399C45.6958 16.6399 46.7633 15.5724 46.7633 14.2557C46.7633 12.9389 45.6958 11.8715 44.3791 11.8715C43.0623 11.8715 41.9949 12.9389 41.9949 14.2557C41.9949 15.5724 43.0623 16.6399 44.3791 16.6399Z",fill:"#7386F3"}),gv.createElement("path",{d:"M46.3529 40.3529L45.5831 45.5557L45.5013 46.1123L44.894 50.2342L44.8526 50.5016L44.2072 54.8459C44.2007 54.8513 44.1933 54.8556 44.1854 54.8586L44.0644 54.9254C43.7624 55.0937 43.4605 55.2619 43.1517 55.4209L43.0445 55.4785C42.7104 55.6502 42.3739 55.815 42.0305 55.9775C41.3391 56.3013 40.6315 56.6009 39.9102 56.8706C40.1199 54.3354 40.3238 51.8141 40.5082 49.4841L40.5174 49.3988V49.3826L40.5267 49.2397V49.2167C40.5267 49.1729 40.5267 49.1245 40.5393 49.0807C40.5589 48.8387 40.5739 48.6002 40.597 48.3686L40.6477 47.7682C40.6638 47.5712 40.6788 47.3799 40.6984 47.192C41.1213 42.7428 42.0431 40.5211 42.2298 38.3351V38.2994C42.2586 37.9537 42.2771 37.6287 42.2874 37.3141C42.2874 37.2508 42.2874 37.1874 42.2932 37.1205C42.3819 34.537 42.0869 32.9859 43.9653 30.5038C44.4874 31.1754 44.9309 31.9046 45.287 32.6771C45.325 32.7566 45.3642 32.8361 45.3953 32.9156C45.4817 33.1058 45.5613 33.2971 45.6258 33.4918C45.658 33.5782 45.6892 33.6601 45.718 33.743C45.7883 33.9366 45.8516 34.1279 45.9093 34.3192C45.9254 34.3734 45.9404 34.4344 45.9565 34.484L46.0038 34.6534C46.0395 34.7801 46.0706 34.9046 46.0994 35.0279C46.1224 35.1166 46.1409 35.2065 46.1605 35.2952C46.1801 35.384 46.1985 35.4692 46.2146 35.5557C46.2423 35.6951 46.2676 35.8357 46.2907 35.9751C46.3922 36.573 46.4538 37.177 46.4751 37.7831C46.4751 37.8534 46.4751 37.9203 46.4751 37.9871C46.5105 38.7778 46.4696 39.57 46.3529 40.3529Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M18.9526 56.7623C17.5907 56.231 16.2703 55.5989 15.0023 54.8713C14.9828 54.862 14.9643 54.8494 14.9447 54.8401L13.4928 45.8104L12.7103 40.9567C12.3768 38.7914 12.5167 36.5796 13.1206 34.4736C13.5215 33.0738 14.174 31.7586 15.0461 30.5925C16.7182 32.9641 16.5015 34.5174 16.5684 36.9846C16.5684 37.0917 16.5753 37.207 16.5788 37.3176C16.5914 37.6633 16.6099 38.009 16.6421 38.3893V38.4239C16.8265 40.6075 17.7127 42.8258 18.1609 47.1609C18.1667 47.2439 18.1771 47.3269 18.1828 47.4087C18.2059 47.6392 18.2278 47.8858 18.2497 48.1301L18.3004 48.7408C18.313 48.8871 18.3257 49.03 18.3361 49.1729C18.3361 49.1948 18.3361 49.2202 18.3361 49.2432C18.3453 49.3584 18.3557 49.4887 18.3649 49.6097L18.3868 49.8885C18.5677 52.0653 18.759 54.4046 18.9526 56.7623Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M26.5649 37.0421L25.4079 34.7559L24.1772 37.041L26.5649 37.0421Z",fill:"#7386F3"}),gv.createElement("path",{d:"M26.8231 37.2012H23.9111L25.4092 34.4148L26.8231 37.2012ZM24.4435 36.882H26.3057L25.4034 35.0981L24.4435 36.882Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.3778 37.0421L33.222 34.7559L31.9901 37.041L34.3778 37.0421Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.6359 37.2012H31.7239L33.2219 34.4148L34.6359 37.2012ZM32.2563 36.882H34.1196L33.2173 35.0981L32.2563 36.882Z",fill:"#7386F3"}),gv.createElement("path",{d:"M37.2275 41.6423C38.1344 41.6423 38.8696 40.9071 38.8696 40.0002C38.8696 39.0933 38.1344 38.3582 37.2275 38.3582C36.3206 38.3582 35.5854 39.0933 35.5854 40.0002C35.5854 40.9071 36.3206 41.6423 37.2275 41.6423Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M21.6537 42.0664C22.5606 42.0664 23.2958 41.3312 23.2958 40.4243C23.2958 39.5174 22.5606 38.7822 21.6537 38.7822C20.7468 38.7822 20.0116 39.5174 20.0116 40.4243C20.0116 41.3312 20.7468 42.0664 21.6537 42.0664Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M33.4927 41.4844C33.4927 42.5664 31.6674 42.6863 29.4146 42.6863C27.1617 42.6863 25.3341 42.571 25.3341 41.4844C25.3341 40.3977 27.2274 40.5948 29.4825 40.5948C31.7377 40.5948 33.4927 40.4046 33.4927 41.4844Z",fill:"#C9D1E5"}),gv.createElement("path",{d:"M46.5431 34.0945C46.3172 34.107 46.1003 34.1873 45.9208 34.325L45.9081 34.3342C45.3193 34.7663 44.7639 35.838 44.2614 37.5158C43.4548 40.1823 42.9835 43.6855 42.7634 45.535C42.6712 46.352 42.6044 47.0538 42.5594 47.623C42.5334 48.0204 42.3573 48.3931 42.0667 48.6655C41.7761 48.9379 41.3928 49.0896 40.9946 49.0899H18.0502C17.6422 49.0887 17.2506 48.9295 16.9575 48.6456C16.6645 48.3618 16.4927 47.9754 16.4784 47.5677C16.4473 46.8878 16.4093 46.2229 16.3632 45.5914C16.1247 42.2151 15.6799 39.4978 15.0438 37.5112C14.3524 35.3598 13.5884 34.5969 13.2196 34.3561C13.2062 34.3385 13.1888 34.3243 13.1689 34.3146C13.1689 34.3146 13.1597 34.3146 13.1562 34.3077C13.0594 34.2373 12.9492 34.1875 12.8324 34.1613C12.7915 34.1552 12.7497 34.1651 12.7158 34.1889C12.6819 34.2127 12.6585 34.2486 12.6504 34.2892C12.6444 34.3304 12.6543 34.3724 12.6781 34.4066C12.7018 34.4408 12.7376 34.4647 12.7783 34.4736C12.8546 34.4977 12.9266 34.5338 12.9914 34.5808L13.0099 34.5912L13.0191 34.6004C13.0372 34.6114 13.0542 34.6241 13.0698 34.6384C13.442 34.9057 14.1069 35.6432 14.7384 37.6068C15.3699 39.5704 15.8101 42.2635 16.0452 45.6168C16.0901 46.2425 16.1281 46.9039 16.1604 47.5758C16.1791 48.0645 16.3862 48.5271 16.7382 48.8667C17.0902 49.2062 17.56 49.3965 18.0491 49.3976H40.9946C41.4731 49.3991 41.9343 49.2186 42.2848 48.8927C42.6353 48.5669 42.8488 48.12 42.8821 47.6426C42.9236 47.0733 42.9973 46.375 43.0849 45.5684C43.2981 43.7246 43.7763 40.2446 44.5668 37.5999C45.0278 36.0777 45.5106 35.0867 46.0153 34.6545C46.041 34.6289 46.0688 34.6054 46.0983 34.5842C46.2302 34.4798 46.3912 34.4186 46.5592 34.4091C46.5801 34.4083 46.6006 34.4035 46.6197 34.3948C46.6387 34.3861 46.6558 34.3738 46.67 34.3585C46.6842 34.3432 46.6953 34.3252 46.7026 34.3056C46.7099 34.286 46.7132 34.2652 46.7125 34.2443C46.7118 34.2231 46.7068 34.2024 46.6978 34.1832C46.6887 34.164 46.6759 34.1469 46.6601 34.1329C46.6442 34.1189 46.6256 34.1082 46.6055 34.1016C46.5854 34.095 46.5642 34.0926 46.5431 34.0945Z",fill:"#7386F3"}),gv.createElement("path",{d:"M31.8784 25.18L31.7194 25.1707V29.976H27.2702V25.1638L27.1112 25.173C27.057 25.173 27.0063 25.18 26.9521 25.1857V30.135C26.9525 30.1771 26.9693 30.2174 26.9991 30.2471C27.0288 30.2769 27.0691 30.2938 27.1112 30.2941H31.8784C31.9204 30.2935 31.9605 30.2765 31.9902 30.2468C32.0199 30.2171 32.0368 30.177 32.0374 30.135V25.1926C31.9833 25.1857 31.9326 25.1834 31.8784 25.18Z",fill:"#7386F3"}),gv.createElement("path",{d:"M13.1712 34.3146L13.0721 34.6384L12.587 34.5059L12.4729 34.0103L12.8635 33.9954L13.1712 34.3146Z",fill:"#6E7BB2"}),gv.createElement("path",{d:"M45.9209 34.3237L46.0154 34.6579L46.8359 34.356L46.6861 34.0264L46.3 33.978L45.9209 34.3237Z",fill:"#6E7BB2"}))}));const uV=lV;var cV=["size"],pV=Ak((function(e,t){var n=e.size,r=void 0===n?59:n,o=yv(e,cV);return gv.createElement("svg",Mb({ref:t,width:r,height:r,viewBox:"0 0 59 59",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),gv.createElement("path",{d:"M50.8184 49.7351C50.7251 49.8331 50.6271 49.9264 50.5326 50.0232C50.3828 50.1788 50.2342 50.3309 50.0786 50.4841C50.0717 50.4899 50.0659 50.5003 50.0556 50.506L49.6995 50.8517C48.0352 52.4221 46.1932 53.7927 44.2109 54.9356C44.2043 54.941 44.1969 54.9453 44.189 54.9483L44.068 55.0152C43.7661 55.1834 43.4641 55.3516 43.1553 55.5107L43.0482 55.5683C42.714 55.74 42.3775 55.9048 42.0341 56.0672C41.3427 56.3911 40.6351 56.6907 39.9138 56.9603C39.2915 57.1988 38.6554 57.412 38.0136 57.6056C37.8799 57.6494 37.7462 57.6886 37.6125 57.7266C31.4734 59.4637 24.936 59.1591 18.9849 56.8589L18.9561 56.8485C17.5942 56.3173 16.2738 55.6852 15.0059 54.9575C14.999 54.9575 14.9955 54.9518 14.9897 54.9518L14.9483 54.9299C14.6498 54.7582 14.3571 54.5842 14.0644 54.3952C12.0372 53.1261 10.1717 51.6155 8.50895 49.8964L8.47669 49.8642C8.45825 49.8423 8.4352 49.8204 8.41331 49.7973C3.18291 44.3478 0.267746 37.0834 0.280068 29.5299C0.280068 13.3464 13.4007 0.223511 29.5876 0.223511C45.7746 0.223511 58.894 13.3464 58.894 29.5299C58.9055 37.0538 56.0126 44.2919 50.8184 49.7351Z",fill:"#3ECF8B"}),gv.createElement("path",{d:"M50.5292 50.0244C50.3794 50.18 50.2308 50.3321 50.0752 50.4854C50.0683 50.4911 50.0625 50.5015 50.0522 50.5073L49.6961 50.853C48.0318 52.4233 46.1898 53.7939 44.2075 54.9369C44.2009 54.9422 44.1935 54.9465 44.1856 54.9495L44.0646 55.0164C43.7627 55.1881 43.4608 55.354 43.1519 55.5153L43.0448 55.573C42.7106 55.7447 42.3741 55.9094 42.0307 56.0719C41.3393 56.3957 40.6318 56.6953 39.9104 56.965C39.2881 57.2035 38.652 57.4167 38.0102 57.6103C37.8765 57.6541 37.7428 57.6933 37.6092 57.7313C31.47 59.4683 24.9326 59.1638 18.9815 56.8636L18.9527 56.8532C17.5908 56.3219 16.2704 55.6898 15.0025 54.9622C14.9967 54.9598 14.9913 54.9567 14.9864 54.953C14.9737 54.9438 14.9575 54.9369 14.9449 54.9276C14.6464 54.7559 14.3537 54.5819 14.061 54.393C12.0352 53.1244 10.1709 51.6145 8.50903 49.8965C9.43091 46.6642 13.1184 46.1203 13.5206 46.073L13.4929 45.9013L12.7105 41.0477C12.3851 38.9396 12.5084 36.7865 13.0723 34.7294L13.1207 34.5646C13.1368 34.5104 13.1518 34.4597 13.1714 34.4056C13.5717 33.0639 14.2064 31.8037 15.0463 30.6835C15.6608 29.8717 16.3813 29.1458 17.1885 28.5251L14.4044 15.9024L16.1018 15.4829L19.3088 27.1896C21.2574 26.2066 23.7557 25.5048 26.9523 25.2721C27.0065 25.2663 27.0572 25.2629 27.1113 25.2594L27.2703 25.2502C27.9617 25.2029 28.6716 25.1799 29.4218 25.1799C30.2284 25.1799 30.989 25.2052 31.7195 25.2571L31.8786 25.2663C31.9327 25.2663 31.9834 25.2721 32.0376 25.279C35.3909 25.5302 37.9745 26.2769 39.9646 27.3129L43.137 15.7214L44.8332 16.1409L42.0676 28.6738C42.7757 29.2352 43.4137 29.8798 43.9678 30.5936C44.4899 31.2652 44.9334 31.9944 45.2895 32.7669C45.3276 32.8464 45.3667 32.9259 45.3979 33.0055C45.4843 33.1956 45.5638 33.3869 45.6283 33.5816C45.6606 33.6681 45.6917 33.7499 45.7205 33.8328C45.7908 34.0264 45.8542 34.2177 45.9118 34.409C45.9279 34.4632 45.9429 34.5242 45.959 34.5738L46.0063 34.7432C46.042 34.8699 46.0731 34.9944 46.1019 35.1177C46.125 35.2064 46.1434 35.2963 46.163 35.385C46.1826 35.4738 46.201 35.559 46.2172 35.6455C46.2448 35.7849 46.2702 35.9255 46.2932 36.0649C46.3947 36.6628 46.4563 37.2669 46.4776 37.873C46.4776 37.9432 46.4776 38.0101 46.4776 38.0769C46.5071 38.8666 46.4604 39.6573 46.3382 40.4381L45.5684 45.6409L45.4866 46.1975C45.4915 46.1959 45.4967 46.1959 45.5016 46.1975C45.9176 46.2482 49.6039 46.7852 50.5292 50.0244Z",fill:"white"}),gv.createElement("path",{d:"M14.8608 16.7251C16.1775 16.7251 17.245 15.6576 17.245 14.3409C17.245 13.0241 16.1775 11.9567 14.8608 11.9567C13.544 11.9567 12.4766 13.0241 12.4766 14.3409C12.4766 15.6576 13.544 16.7251 14.8608 16.7251Z",fill:"#7386F3"}),gv.createElement("path",{d:"M44.3791 16.7251C45.6958 16.7251 46.7633 15.6576 46.7633 14.3409C46.7633 13.0241 45.6958 11.9567 44.3791 11.9567C43.0623 11.9567 41.9949 13.0241 41.9949 14.3409C41.9949 15.6576 43.0623 16.7251 44.3791 16.7251Z",fill:"#7386F3"}),gv.createElement("path",{d:"M46.353 40.438L45.5833 45.6408L45.5014 46.1974L44.8942 50.3193L44.8527 50.5866L44.2074 54.931C44.2008 54.9364 44.1934 54.9406 44.1855 54.9437L44.0645 55.0105C43.7626 55.1787 43.4606 55.347 43.1518 55.506L43.0447 55.5636C42.7105 55.7353 42.374 55.9001 42.0306 56.0626C41.3392 56.3864 40.6316 56.686 39.9103 56.9556C40.12 54.4205 40.324 51.8992 40.5083 49.5691L40.5176 49.4839V49.4677L40.5268 49.3248V49.3018C40.5268 49.258 40.5268 49.2096 40.5395 49.1658C40.559 48.9238 40.574 48.6853 40.5971 48.4537L40.6478 47.8533C40.6639 47.6562 40.6789 47.4649 40.6985 47.2771C41.1214 42.8279 42.0433 40.6062 42.2299 38.4202V38.3845C42.2588 38.0388 42.2772 37.7138 42.2876 37.3992C42.2876 37.3358 42.2876 37.2725 42.2933 37.2056C42.3821 34.6221 42.0871 33.071 43.9654 30.5889C44.4875 31.2605 44.931 31.9896 45.2871 32.7622C45.3251 32.8417 45.3643 32.9212 45.3954 33.0007C45.4819 33.1909 45.5614 33.3821 45.6259 33.5769C45.6582 33.6633 45.6893 33.7451 45.7181 33.8281C45.7884 34.0217 45.8518 34.213 45.9094 34.4043C45.9255 34.4584 45.9405 34.5195 45.9566 34.5691L46.0039 34.7385C46.0396 34.8652 46.0707 34.9897 46.0995 35.113C46.1226 35.2017 46.141 35.2916 46.1606 35.3803C46.1802 35.469 46.1986 35.5543 46.2147 35.6407C46.2424 35.7802 46.2678 35.9208 46.2908 36.0602C46.3923 36.6581 46.4539 37.2621 46.4752 37.8682C46.4752 37.9385 46.4752 38.0054 46.4752 38.0722C46.5107 38.8629 46.4698 39.6551 46.353 40.438Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M18.9527 56.8474C17.5908 56.3161 16.2704 55.684 15.0025 54.9564C14.9829 54.9471 14.9644 54.9345 14.9449 54.9252L13.4929 45.8955L12.7105 41.0418C12.3769 38.8765 12.5169 36.6647 13.1207 34.5587C13.5216 33.1588 14.1741 31.8437 15.0463 30.6776C16.7183 33.0491 16.5017 34.6025 16.5685 37.0697C16.5685 37.1768 16.5754 37.2921 16.5789 37.4027C16.5916 37.7426 16.61 38.0941 16.6423 38.4744V38.5089C16.8266 40.6926 17.7128 42.9109 18.161 47.246C18.168 47.329 18.1772 47.412 18.1829 47.4938C18.206 47.7242 18.2279 47.9708 18.2498 48.2151L18.3005 48.8259C18.3132 48.9722 18.3258 49.1151 18.3362 49.258C18.3362 49.2799 18.3362 49.3053 18.3362 49.3283C18.3454 49.4493 18.3558 49.5738 18.365 49.6947L18.3869 49.9736C18.5678 52.1504 18.7591 54.4897 18.9527 56.8474Z",fill:"#D8DDEE"}),gv.createElement("path",{d:"M26.565 37.1273L25.4092 34.8411L24.1774 37.1262L26.565 37.1273Z",fill:"#7386F3"}),gv.createElement("path",{d:"M26.8231 37.2864H23.9111L25.4092 34.5L26.8231 37.2864ZM24.4435 36.9672H26.3057L25.4034 35.1833L24.4435 36.9672Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.378 37.1273L33.2222 34.8411L31.9904 37.1262L34.378 37.1273Z",fill:"#7386F3"}),gv.createElement("path",{d:"M34.636 37.2864H31.724L33.222 34.5L34.636 37.2864ZM32.2564 36.9672H34.1197L33.2174 35.1833L32.2564 36.9672Z",fill:"#7386F3"}),gv.createElement("path",{d:"M37.2277 41.7274C38.1346 41.7274 38.8698 40.9922 38.8698 40.0853C38.8698 39.1784 38.1346 38.4432 37.2277 38.4432C36.3208 38.4432 35.5856 39.1784 35.5856 40.0853C35.5856 40.9922 36.3208 41.7274 37.2277 41.7274Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M21.6537 42.1515C22.5606 42.1515 23.2958 41.4163 23.2958 40.5094C23.2958 39.6025 22.5606 38.8673 21.6537 38.8673C20.7468 38.8673 20.0116 39.6025 20.0116 40.5094C20.0116 41.4163 20.7468 42.1515 21.6537 42.1515Z",fill:"#F7EBE4"}),gv.createElement("path",{d:"M33.493 42.0801C33.493 43.1622 31.6677 44.0391 29.4149 44.0391C27.162 44.0391 25.3356 43.1622 25.3356 42.0801C25.3356 40.9981 27.2277 41.9476 29.484 41.9476C31.7403 41.9476 33.493 40.9969 33.493 42.0801Z",fill:"#C9D1E5"}),gv.createElement("path",{d:"M46.5432 34.1796C46.3173 34.1921 46.1005 34.2724 45.9209 34.41L45.9083 34.4193C45.3194 34.8514 44.764 35.9231 44.2616 37.6009C43.4549 40.2674 42.9836 43.7705 42.7635 45.6201C42.6713 46.4371 42.6045 47.1388 42.5596 47.7081C42.5324 48.1055 42.3551 48.4777 42.0636 48.7492C41.7722 49.0208 41.3884 49.1714 40.9901 49.1704H18.0504C17.6431 49.1692 17.2522 49.0106 16.9592 48.7278C16.6662 48.4449 16.494 48.0597 16.4786 47.6528C16.4474 46.9729 16.4094 46.308 16.3633 45.6765C16.1248 42.3001 15.68 39.5829 15.0439 37.5963C14.3525 35.4449 13.5885 34.682 13.2197 34.4412C13.2063 34.4236 13.1889 34.4094 13.169 34.3997C13.169 34.3997 13.1598 34.3997 13.1564 34.3928C13.0595 34.3224 12.9493 34.2726 12.8325 34.2464C12.7916 34.2403 12.7498 34.2501 12.7159 34.274C12.682 34.2978 12.6586 34.3337 12.6505 34.3743C12.6446 34.4155 12.6545 34.4574 12.6782 34.4917C12.7019 34.5259 12.7377 34.5498 12.7784 34.5587C12.8547 34.5827 12.9267 34.6189 12.9916 34.6659L13.01 34.6762L13.0192 34.6855C13.0373 34.6964 13.0543 34.7092 13.0699 34.7235C13.4421 34.9908 14.107 35.7283 14.7385 37.6919C15.37 39.6555 15.8102 42.3485 16.0453 45.7019C16.0902 46.3276 16.1282 46.989 16.1605 47.6609C16.1793 48.1496 16.3863 48.6122 16.7383 48.9517C17.0904 49.2913 17.5601 49.4816 18.0492 49.4827H40.9947C41.4732 49.4842 41.9344 49.3037 42.2849 48.9778C42.6354 48.652 42.8489 48.2051 42.8822 47.7277C42.9237 47.1584 42.9974 46.4601 43.085 45.6535C43.2982 43.8097 43.7764 40.3296 44.5669 37.685C45.0279 36.1628 45.5107 35.1717 46.0154 34.7396C46.0411 34.714 46.0689 34.6905 46.0984 34.6693C46.2303 34.5649 46.3913 34.5037 46.5593 34.4942C46.5802 34.4934 46.6008 34.4886 46.6198 34.4799C46.6388 34.4712 46.6559 34.4589 46.6701 34.4435C46.6844 34.4282 46.6954 34.4103 46.7027 34.3907C46.71 34.3711 46.7134 34.3503 46.7126 34.3294C46.7119 34.3082 46.7069 34.2874 46.6979 34.2683C46.6889 34.2491 46.676 34.232 46.6602 34.218C46.6443 34.204 46.6258 34.1933 46.6057 34.1867C46.5855 34.1801 46.5643 34.1777 46.5432 34.1796Z",fill:"#7386F3"}),gv.createElement("path",{d:"M31.8784 25.2652L31.7194 25.2559V30.0612H27.2702V25.249L27.1112 25.2582C27.057 25.2582 27.0063 25.2652 26.9521 25.2709V30.2202C26.9525 30.2623 26.9693 30.3026 26.9991 30.3323C27.0288 30.3621 27.0691 30.379 27.1112 30.3793H31.8784C31.9204 30.3787 31.9605 30.3617 31.9902 30.332C32.0199 30.3023 32.0368 30.2622 32.0374 30.2202V25.2778C31.9833 25.2709 31.9326 25.2686 31.8784 25.2652Z",fill:"#7386F3"}),gv.createElement("path",{d:"M22.5457 33.9514C22.5457 33.9514 23.3246 31.6156 25.9117 31.5315",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M36.2574 33.9514C36.2574 33.9514 35.4784 31.6156 32.8926 31.5315",stroke:"#7386F3",strokeMiterlimit:"10",strokeLinecap:"round"}),gv.createElement("path",{d:"M12.9363 35.1959L13.2497 34.1323L12.3382 33.4017L11.9625 34.3824L12.9363 35.1959Z",fill:"#3ECF8B"}),gv.createElement("path",{d:"M46.1445 35.1649L45.8311 34.1013L46.7426 33.3707L47.1171 34.3514L46.1445 35.1649Z",fill:"#3ECF8B"}))}));const dV=pV;var fV={Happy:"happy",Neutral:"neutral",Sad:"sad",Worried:"worried"};const hV=kk({Robot:eb.span.attrs({className:_k("Robot","root")}).withConfig({componentId:"sc-q3dl9f-0"})((function(){return Iy(["display:flex;"])}))});var mV=["status"],gV=xk((function(e,t){var n=e.status,r=yv(e,mV);return gv.createElement(hV.Robot,Mb({},r,{ref:t}),function(e){switch(e){case fV.Worried:return gv.createElement(rV,null);case fV.Sad:return gv.createElement(aV,null);case fV.Neutral:return gv.createElement(uV,null);default:return gv.createElement(dV,null)}}(n))})),vV={status:fV.Happy};gV.defaultProps=vV;var yV={status:Av().oneOf(ob(fV))};gV.propTypes=yV;const bV=gV;var AV="PopupContent",CV=eb.span.attrs({className:_k(AV,"Label")}).withConfig({componentId:"sc-njbmnt-0"})((function(e){var t=e.theme,n=t.palette,r=t.shape;return Iy(["display:flex;flex-grow:1;margin-left:31px;padding:8px 8px 8px 39px;background:",";border-radius:",";min-height:41px;"],n[cb.ButtonPrimaryText],r.borderRadius[db.Sm])})),wV=eb.span.attrs({className:_k(AV,"Label")}).withConfig({componentId:"sc-njbmnt-1"})((function(e){var t=e.theme,n=t.palette,r=t.typography.font;return Iy(["display:flex;align-items:center;color:",";",""],n[cb.TextSecondary],r[pb.LabelSmall])}));const xV=kk({PopupContent:eb.div.attrs({className:_k(AV,"PopupContent")}).withConfig({componentId:"sc-njbmnt-2"})(["position:relative;display:flex;align-items:center;width:256px;filter:drop-shadow(0px 4px 4px rgba(0,0,0,0.25));"]),Robot:eb.div.attrs({className:_k(AV,"Robot")}).withConfig({componentId:"sc-njbmnt-3"})((function(e){var t=e.theme.palette;return Iy(["position:absolute;left:0;display:flex;z-index:1;border-radius:50%;background:",";border:1px solid ",";box-sizing:border-box;"],t[cb.ButtonPrimaryText],t[cb.BackgroundSecondary])})),LabelWrapper:CV,Label:wV});var EV=["message","status"];function _V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_V(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var SV=xk((function(e,t){var n=e.message,r=e.status,o=yv(e,EV);return gv.createElement(xV.PopupContent,Mb({},o,{ref:t}),gv.createElement(xV.Robot,null,gv.createElement(bV,{status:r})),gv.createElement(xV.LabelWrapper,null,gv.createElement(xV.Label,null,n)))})),DV=kV({},vV);SV.defaultProps=DV;var TV=kV(kV({},yV),{},{message:Av().node.isRequired});SV.propTypes=TV;const OV=SV;var PV,LV,FV={Top:"top",Bottom:"bottom"},jV={Center:"center",Left:"left",Right:"right"},BV=(dv(PV={},jV.Left,Iy(["left:25px;right:auto;"])),dv(PV,jV.Center,Iy(["left:50%;right:auto;transform:translateX(-50%);"])),dv(PV,jV.Right,Iy(["left:auto;right:25px;"])),PV),IV=(dv(LV={},FV.Top,Iy(["top:25px;bottom:auto;"])),dv(LV,FV.Bottom,Iy(["top:auto;bottom:25px;"])),LV),NV=eb.div.attrs({className:_k("Popup","root")}).withConfig({componentId:"sc-jmtjri-0"})((function(e){var t=e.anchorOrigin;return Iy(["position:fixed;display:flex;align-items:center;justify-content:center;z-index:1400;"," ",""],BV[(null==t?void 0:t.horizontal)||jV.Left],IV[(null==t?void 0:t.vertical)||FV.Bottom])}));const MV=kk({Popup:NV});var RV=["autoHideDuration","anchorOrigin","open","onClose"];function zV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zV(Object(n),!0).forEach((function(t){dv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zV(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $V=xk((function(e,t){var n=e.autoHideDuration,r=(e.anchorOrigin,e.open),o=e.onClose,i=yv(e,RV),a=EO(_k("Popup"));(0,gv.useEffect)((function(){var e=null;return r&&n&&"function"==typeof o&&(e=setTimeout(o,n)),function(){e&&clearTimeout(e)}}),[n,r,o]);return(0,iT.createPortal)(r?gv.createElement(MV.Popup,e,gv.createElement(OV,Mb({},i,{ref:t}))):null,a)}));$V.defaultProps=UV(UV({},DV),{},{open:!1,anchorOrigin:{vertical:FV.Bottom,horizontal:jV.Left}}),$V.propTypes=UV(UV({},TV),{},{anchorOrigin:Av().exact({vertical:Av().oneOf(ob(FV)),horizontal:Av().oneOf(ob(jV))}),open:Av().bool,autoHideDuration:Av().number,onClose:Av().func});const HV=$V;var qV,VV=(dv(qV={},_E,"sad"),dv(qV,EE,"worried"),qV),GV=function(e){var t,n=e.anchorOrigin,r=pS(),o=r.feedback,i=void 0===o?{}:o,a=r.dispatch;return i.message?gv.createElement(HV,{className:"FIE_feedback-robot",anchorOrigin:n,autoHideDuration:null!==(t=i.duration)&&void 0!==t?t:5e3,message:i.message,open:!!i.message,status:VV[i.status||_E],onClose:function(){a({type:hk,payload:{feedback:{}}})}}):null};GV.defaultProps={anchorOrigin:{horizontal:"center",vertical:"bottom"}};const WV=GV;var ZV=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Iy.apply(void 0,[e].concat(n)).join(""),i=Uy(o);return new Sy(i,o)}(["0%{transform:rotate(0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19);}50%{transform:rotate(900deg);animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);}100%{transform:rotate(1800deg);}"]),YV=eb.div.withConfig({componentId:"sc-m42fbk-0"})(["background:rgba(0,0,0,0.25);display:flex;align-items:center;justify-content:center;position:absolute;z-index:11111;top:0;bottom:0;right:0;left:0;flex-direction:column;user-select:none;label{color:#ffffff;}"]),XV=eb.div.withConfig({componentId:"sc-m42fbk-1"})(["display:inline-block;position:relative;width:80px;height:80px;:after{content:' ';display:block;border-radius:50%;width:0;height:0;margin:8px;box-sizing:border-box;border:32px solid #fff;border-color:#fff transparent #fff transparent;animation:"," 1.2s infinite;}"],ZV),KV=function(e){var t=e.label;return gv.createElement(YV,{className:"FIE_spinner-wrapper"},gv.createElement(XV,{className:"FIE_spinner"}),t&&gv.createElement(jk,{className:"FIE_spinner-label"},t))};KV.defaultProps={label:""};const QV=KV;var JV=["cropX2","cropY2","crop","watermark"];function eG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tG(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?eG(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eG(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const nG=function(e,t,n){if(!e)return null;var r=e.split("&"),o={};r.forEach((function(e){var r=Nb(e.split("="),2),i=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};switch(e){case"wat_text":return{watermark:{text:t.replaceAll("+"," ")}};case"wat_font":return{watermark:{fontFamily:t}};case"wat_color":return{watermark:{fill:"#".concat(t)}};case"wat_fontsize":return{watermark:{fontSize:parseFloat(t)}};case"wat_opacity":return{watermark:{opacity:parseFloat(t)}};case"wat_pos":var o=Nb(t.split(","),2),i=o[0],a=o[1];return{watermark:{x:parseFloat(i)/100*n.width,y:parseFloat(a)/100*n.height}};case"wat_url":return{watermark:{image:decodeURIComponent(t)}};case"wat_scale":var s=Nb(t.split(","),2),l=s[0],u=s[1];return{watermark:{width:parseFloat(l)/100*(n.width||0),height:parseFloat(u)/100*(n.height||0)}};case"tl_px":var c=Nb(t.split(","),2),p=c[0],d=c[1];return{crop:{x:nD(parseFloat(p),0,r.width,0,n.width),y:nD(parseFloat(d),0,r.height,0,n.height)}};case"br_px":var f=Nb(t.split(","),2),h=f[0],m=f[1];return{cropX2:nD(parseFloat(h),0,r.width,0,n.width),cropY2:nD(parseFloat(m),0,r.height,0,n.height)};case"round":return{crop:{ratio:yE}};case"w":return{resize:{width:parseFloat(t)}};case"h":return{resize:{height:parseFloat(t)}};case"r":return{adjustments:{rotation:-parseInt(t,10)}};case"flip":case"mirror":return{adjustments:{isFlippedX:t.includes("x")||t.includes("h"),isFlippedY:t.includes("y")||t.includes("v")}};default:var g;if(Object.keys(yD).forEach((function(t){yD[t].cloudimage.name===e.toLowerCase()&&(g=t)})),!g)return null;var v=yD[g],y=v.cloudimage,b=v.internal;return{finetunes:[Gw.Filters[g]],finetunesProps:dv({},b.propName,nD(parseFloat(t),y.min,y.max,b.min,b.max))}}}(r[0],r[1],t,n);i&&(o=oU(o,i,!0))}));var i=o,a=i.cropX2,s=i.cropY2,l=i.crop,u=i.watermark,c=yv(i,JV);return tG(tG(tG({},c),a&&s&&l?{adjustments:tG(tG({},c.adjustments),{},{crop:tG(tG({},l),{},{width:(a||0)-l.x,height:(s||0)-l.y})})}:{}),{},{annotations:tG({},u?dv({},aE,tG(tG({},u),{},{x:((null==l?void 0:l.x)||0)+(u.x||0),y:((null==l?void 0:l.y)||0)+(u.y||0),id:aE,name:u.text?uE.TEXT:uE.IMAGE},u.text?{width:u.text.length*u.fontSize,height:u.fontSize}:{})):{})})};const rG=function(e,t){return e&&t&&(e instanceof HTMLImageElement&&e.src===t.src&&e.width===t.width&&e.height===t.height||((null==e?void 0:e.src)||e)===t.src)};var oG=eb.div.attrs((function(e){var t,n,r=e.$size,o=void 0===r?{}:r;return{style:{width:null!==(t=o.width)&&void 0!==t?t:"100%",height:null!==(n=o.height)&&void 0!==n?n:"100%"}}})).withConfig({componentId:"sc-ugtqr7-0"})(["display:flex;flex-direction:column;align-items:center;height:100%;max-height:100%;width:100%;max-width:100%;overflow:auto;position:relative;min-height:250px;background:",";"],(function(e){return e.theme.palette["bg-secondary"]})),iG=eb.div.withConfig({componentId:"sc-ugtqr7-1"})(["display:flex;align-items:flex-start;width:100%;padding:12px;box-sizing:border-box;height:calc(100% - 95px);flex-grow:1;[data-phone='true'] &{padding:0;}"]),aG=eb.div.withConfig({componentId:"sc-ugtqr7-2"})(["height:100%;width:calc(100% - 80px);flex-grow:1;overflow-y:auto;display:flex;flex-direction:column;"]),sG=eb.div.withConfig({componentId:"sc-ugtqr7-3"})(["width:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:flex-end;"]);function lG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uG(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?lG(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lG(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}const cG=(0,gv.memo)((function(){var e=pS(),t=e.config,n=e.isLoadingGlobally,r=e.haveNotSavedChanges,o=e.dispatch,i=e.originalImage,a=e.shownImageDimensions,s=e.t,l=e.feedback,u=void 0===l?{}:l,c=t.loadableDesignState,p=t.useCloudimage,d=t.cloudimage,f=t.source,h=t.avoidChangesNotSavedAlertOnLeave,m=t.useBackendTranslations,g=t.translations,v=t.language,y=t.defaultSavedImageName,b=t.observePluginContainerSize,A=t.showCanvasOnly,C=t.getCurrentImgDataFnRef,w=t.updateStateFnRef,x=Nb(eD(),2),E=x[0],_=x[1],k=Nb((0,gv.useState)({width:void 0,height:void 0}),2),S=k[0],D=k[1],T=tD(),O=(0,gv.useRef)(null),P=(0,gv.useRef)(!0),L=(0,gv.useRef)(!1),F=(0,gv.useRef)(null),j=(0,gv.useRef)(r),B=xD(),I=(0,gv.useCallback)((function(e){o({type:Tz,payload:{originalImage:e}})}),[]),N=(0,gv.useCallback)((function(e){o({type:hk,payload:{feedback:{message:e.message||e,duration:0}}})}),[]),M=function(e){return new Promise((function(t){var n=(null==e?void 0:e.src)||e;if(F.current===n||!n&&i||rG(n,i))F.current||t();else{var r=function(){F.current=null,t()};F.current=n,"string"==typeof e?MU(e,y).then(I).catch(N).finally(r):e instanceof HTMLImageElement?(I(e),r()):(N(s("invalidImageError")),r())}}))},R=function(e){j.current&&(e.preventDefault(),e.returnValue="")},z=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:function(){return[]};return o({type:yk}),Promise.all(e()).finally((function(){o({type:FE})}))},U=function(){c&&0<Object.keys(c).length&&o({type:iU,payload:uG(uG({},c),{},{finetunes:J_(null==c?void 0:c.finetunes),filter:X_(null==c?void 0:c.filter)})})};return(0,gv.useEffect)((function(){P.current||!f||rG(f,i)||(L.current=!1,z((function(){return[M(f)]})))}),[f]),(0,gv.useEffect)((function(){if(!P.current){var e=null==c?void 0:c.imgSrc;e&&!rG(e,i)?z((function(){return[M(e).then(U)]})):U()}}),[c]),(0,gv.useEffect)((function(){0<Object.keys(a||{}).length&&!Object.keys(a).some((function(e){return!a[e]}))&&i&&p&&null!=d&&d.loadableQuery&&!L.current&&(o({type:iU,payload:nG(d.loadableQuery,a,i)}),L.current=!0)}),[a,i,p,d]),(0,gv.useEffect)((function(){var e=!1;return b&&O.current?E(O.current.parentNode,(function(e){var t=e.width,n=e.height;return D({width:t,height:n})})):S.width&&S.height&&!e&&D({width:void 0,height:void 0}),function(){b&&O.current&&_(O.current),e=!0}}),[b]),(0,gv.useEffect)((function(){return z((function(){return[M((null==c?void 0:c.imgSrc)||f)].concat(jb(m?[tS(v,g)]:[]))})),P.current=!1,window&&!h&&window.addEventListener("beforeunload",R),function(){window&&!h&&window.removeEventListener("beforeunload",R)}}),[]),(0,gv.useEffect)((function(){w&&"object"===uv(w)&&(w.current=function(e){o({type:iU,payload:e})})}),[w,o]),(0,gv.useEffect)((function(){C&&"object"===uv(C)&&(C.current=B)}),[B]),(0,gv.useEffect)((function(){j.current=r}),[r]),gv.createElement(oG,{className:nE,"data-phone":T,ref:O,$size:S},n&&gv.createElement(QV,{label:s("loading")}),!A&&gv.createElement(Lq,null),i&&0!==u.duration&&gv.createElement(iG,{className:"FIE_main-container"},!T&&!A&&gv.createElement(Kq,null),gv.createElement(aG,{className:"FIE_editor-content"},gv.createElement(B$,null),!A&&(T?gv.createElement(sG,{className:"FIE_phone-tools-tabs-wrapper"},gv.createElement(eV,null),gv.createElement(Kq,null)):gv.createElement(eV,null)))),gv.createElement(WV,null))}));var pG=Jy([".","{font-family:",";}.SfxModal-Wrapper *{font-family:",";}"],nE,(function(e){var t,n=e.theme;return(null===(t=(void 0===n?{}:n).typography)||void 0===t?void 0:t.fontFamily)||"Arial"}),(function(e){var t,n=e.theme;return(null===(t=(void 0===n?{}:n).typography)||void 0===t?void 0:t.fontFamily)||"Arial"})),dG=Jy([".Menu-open{overflow:visible !important;}.",",#SfxPopper{box-sizing:border-box;.SfxPopper-root .SfxMenu-root{overflow:visible;width:max-content;.SfxMenuItem-prefix{margin-right:6px;}}}."," *,#SfxPopper *{box-sizing:border-box;scrollbar-color:rgba(203,211,218,1) rgba(203,211,218,0.35);:not(button) > svg:not([color]){color:",'}:disabled,[aria-disabled="true"]{cursor:not-allowed;}&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background:rgba(203,211,218,0.35);}&::-webkit-scrollbar-thumb{background:rgba(203,211,218,1);border-radius:10px;}}'],nE,nE,(function(e){return e.theme.palette["icons-primary"]})),fG=function(e){var t,n,r=e.img,o=e.source,i=e.useCloudimage,a=e.cloudimage;if(r)throw new Error("`img` is renamed to `source` please consider renaming it from your configurations.");if(!o||"string"!=typeof o&&!(o instanceof HTMLImageElement))throw new Error("`source` property is required either a string of image url or a HTMLImageElement for the image that will be edited.");if(i&&(null!=a&&null!==(t=a.imageSealing)&&void 0!==t&&t.enable&&(null==a||null===(n=a.imageSealing)||void 0===n||!n.salt)))throw new Error("`salt` property of imageSealing object is required in cloudimage mode as long as `imageSealing` is enabled.");var s=oU(NE,e);return gv.createElement(gv.StrictMode,null,gv.createElement(Ob,{theme:s.theme},gv.createElement(pG,null),gv.createElement(dG,null),gv.createElement(lS,{config:s},gv.createElement(cG,null))))};fG.defaultProps={useCloudimage:!1,cloudimage:{},img:void 0};const hG=(0,gv.memo)(fG);function mG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gG(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?mG(Object(t),!0).forEach((function(n){dv(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mG(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}));return e}function vG(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}var yG=new WeakMap,bG=new WeakMap,AG=new WeakMap,CG=function(){function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(cv(this,e),vG(this,yG,{writable:!0,value:void 0}),vG(this,bG,{writable:!0,value:void 0}),vG(this,AG,{writable:!0,value:void 0}),this.container=t,this.config=n,!(t&&t instanceof HTMLElement))throw new Error("`container` (argument 0) is required to initialize the image editor plugin.");mv(this,yG,(0,vv.s)(this.container)),mv(this,bG,{}),mv(this,AG,{})}return t=e,n=[{key:"render",value:function(e){"object"===uv(e)&&(this.config=this.config=oU(this.config||{},e)),this.config=gG(gG({},this.config),{},{getCurrentImgDataFnRef:hv(this,bG),updateStateFnRef:hv(this,AG)}),hv(this,yG).render((0,gv.createElement)(hG,this.config))}},{key:"terminate",value:function(){hv(this,yG).unmount()}},{key:"getCurrentImgData",value:function(e,t,n){var r,o;return(null===(r=hv(this,bG))||void 0===r||null===(o=r.current)||void 0===o?void 0:o.call(r,e,t,n))||{}}},{key:"updateState",value:function(e){var t,n;null===(t=hv(this,AG))||void 0===t||null===(n=t.current)||void 0===n||n.call(t,e)}}],n&&pv(t.prototype,n),r&&pv(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e;var t,n,r}();dv(CG,"TABS",lE),dv(CG,"TOOLS",uE),CG.TABS=lE,CG.TOOLS=uE;const wG=CG;var xG=r(9944);const EG={name:(0,xG.translate)("viewer","Name"),save:(0,xG.translate)("viewer","Save"),saveAs:(0,xG.translate)("viewer","Save as"),back:(0,xG.translate)("viewer","Back"),loading:(0,xG.translate)("viewer","Loading …"),resetOperations:(0,xG.translate)("viewer","Reset"),changesLoseConfirmation:(0,xG.translate)("viewer","All changes will be lost."),changesLoseConfirmationHint:(0,xG.translate)("viewer","Are you sure you want to continue?"),cancel:(0,xG.translate)("viewer","Cancel"),continue:(0,xG.translate)("viewer","Continue"),undoTitle:(0,xG.translate)("viewer","Undo"),redoTitle:(0,xG.translate)("viewer","Redo"),showImageTitle:(0,xG.translate)("viewer","Show original image"),zoomInTitle:(0,xG.translate)("viewer","Zoom in"),zoomOutTitle:(0,xG.translate)("viewer","Zoom out"),toggleZoomMenuTitle:(0,xG.translate)("viewer","Toggle zoom menu"),adjustTab:(0,xG.translate)("viewer","Adjust"),finetuneTab:(0,xG.translate)("viewer","Fine-tune"),filtersTab:(0,xG.translate)("viewer","Filters"),watermarkTab:(0,xG.translate)("viewer","Watermark"),annotateTab:(0,xG.translate)("viewer","Draw"),resize:(0,xG.translate)("viewer","Resize"),resizeTab:(0,xG.translate)("viewer","Resize"),invalidImageError:(0,xG.translate)("viewer","Invalid image."),uploadImageError:(0,xG.translate)("viewer","Error while uploading the image."),areNotImages:(0,xG.translate)("viewer","are not images"),isNotImage:(0,xG.translate)("viewer","is not an image"),toBeUploaded:(0,xG.translate)("viewer","to be uploaded"),cropTool:(0,xG.translate)("viewer","Crop"),original:(0,xG.translate)("viewer","Original"),custom:(0,xG.translate)("viewer","Custom"),square:(0,xG.translate)("viewer","Square"),landscape:(0,xG.translate)("viewer","Landscape"),portrait:(0,xG.translate)("viewer","Portrait"),ellipse:(0,xG.translate)("viewer","Ellipse"),classicTv:(0,xG.translate)("viewer","Classic TV"),cinemascope:(0,xG.translate)("viewer","CinemaScope"),arrowTool:(0,xG.translate)("viewer","Arrow"),blurTool:(0,xG.translate)("viewer","Blur"),brightnessTool:(0,xG.translate)("viewer","Brightness"),contrastTool:(0,xG.translate)("viewer","Contrast"),ellipseTool:(0,xG.translate)("viewer","Ellipse"),unFlipX:(0,xG.translate)("viewer","Un-flip X"),flipX:(0,xG.translate)("viewer","Flip X"),unFlipY:(0,xG.translate)("viewer","Un-flip Y"),flipY:(0,xG.translate)("viewer","Flip Y"),hsvTool:(0,xG.translate)("viewer","HSV"),hue:(0,xG.translate)("viewer","Hue"),saturation:(0,xG.translate)("viewer","Saturation"),value:(0,xG.translate)("viewer","Value"),imageTool:(0,xG.translate)("viewer","Image"),importing:(0,xG.translate)("viewer","Importing …"),addImage:(0,xG.translate)("viewer","+ Add image"),lineTool:(0,xG.translate)("viewer","Line"),penTool:(0,xG.translate)("viewer","Pen"),polygonTool:(0,xG.translate)("viewer","Polygon"),sides:(0,xG.translate)("viewer","Sides"),rectangleTool:(0,xG.translate)("viewer","Rectangle"),cornerRadius:(0,xG.translate)("viewer","Corner Radius"),resizeWidthTitle:(0,xG.translate)("viewer","Width in pixels"),resizeHeightTitle:(0,xG.translate)("viewer","Height in pixels"),toggleRatioLockTitle:(0,xG.translate)("viewer","Toggle ratio lock"),reset:(0,xG.translate)("viewer","Reset"),resetSize:(0,xG.translate)("viewer","Reset to original image size"),rotateTool:(0,xG.translate)("viewer","Rotate"),textTool:(0,xG.translate)("viewer","Text"),textSpacings:(0,xG.translate)("viewer","Text spacing"),textAlignment:(0,xG.translate)("viewer","Text alignment"),fontFamily:(0,xG.translate)("viewer","Font family"),size:(0,xG.translate)("viewer","Size"),letterSpacing:(0,xG.translate)("viewer","Letter spacing"),lineHeight:(0,xG.translate)("viewer","Line height"),warmthTool:(0,xG.translate)("viewer","Warmth"),addWatermark:(0,xG.translate)("viewer","+ Add watermark"),addWatermarkTitle:(0,xG.translate)("viewer","Choose watermark type"),uploadWatermark:(0,xG.translate)("viewer","Upload watermark"),addWatermarkAsText:(0,xG.translate)("viewer","Add as text"),padding:(0,xG.translate)("viewer","Padding"),shadow:(0,xG.translate)("viewer","Shadow"),horizontal:(0,xG.translate)("viewer","Horizontal"),vertical:(0,xG.translate)("viewer","Vertical"),blur:(0,xG.translate)("viewer","Blur"),opacity:(0,xG.translate)("viewer","Opacity"),position:(0,xG.translate)("viewer","Position"),stroke:(0,xG.translate)("viewer","Stroke"),saveAsModalLabel:(0,xG.translate)("viewer","Save image as"),extension:(0,xG.translate)("viewer","Extension"),nameIsRequired:(0,xG.translate)("viewer","Name is required."),quality:(0,xG.translate)("viewer","Quality"),imageDimensionsHoverTitle:(0,xG.translate)("viewer","Saved image size (width x height)"),cropSizeLowerThanResizedWarning:(0,xG.translate)("viewer","Note that the selected crop area is lower than the applied resize which might cause quality decrease"),actualSize:(0,xG.translate)("viewer","Actual size (100%)"),fitSize:(0,xG.translate)("viewer","Fit size")};function _G(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var kG=wG.TABS,SG=wG.TOOLS;const DG={name:"ImageEditor",props:{fileid:{type:[String,Number],required:!0},mime:{type:String,required:!0},src:{type:String,required:!0}},data:function(){return{imageEditor:null}},computed:{config:function(){return{source:this.src,defaultSavedImageName:this.defaultSavedImageName,defaultSavedImageType:this.defaultSavedImageType,useBackendTranslations:!1,observePluginContainerSize:!0,defaultTabId:kG.ADJUST,defaultToolId:SG.CROP,tabsIds:Object.values(kG).filter((function(e){return e!==kG.WATERMARK})).sort((function(e,t){return e.localeCompare(t)})),onClose:this.onClose,onSave:this.onSave,translations:EG,theme:{palette:{"bg-secondary":"var(--color-main-background)","bg-primary":"var(--color-background-dark)","accent-primary":"var(--color-primary)","border-active-bottom":"var(--color-primary)","icons-primary":"var(--color-main-text)","bg-primary-active":"var(--color-background-dark)","bg-primary-hover":"var(--color-background-hover)","accent-primary-active":"var(--color-main-text)","accent-primary-hover":"var(--color-primary)",warning:"var(--color-error)"},typography:{fontFamily:"var(--font-face)"}}}},defaultSavedImageName:function(){return(0,lv.basename)(this.src,(0,lv.extname)(this.src))},defaultSavedImageType:function(){return(0,lv.extname)(this.src).slice(1)||"jpeg"},hasHighContrastEnabled:function(){var e,t;return((null===(e=OCA)||void 0===e||null===(t=e.Theming)||void 0===t?void 0:t.enabledThemes)||[]).find((function(e){return-1!==e.indexOf("highcontrast")}))},themeDataAttr:function(){return this.hasHighContrastEnabled?{"data-theme-dark-highcontrast":!0}:{"data-theme-dark":!0}}},mounted:function(){this.imageEditor=new wG(this.$refs.editor,this.config),this.imageEditor.render(),window.addEventListener("keydown",this.handleKeydown,!0),window.addEventListener("DOMNodeInserted",this.handleSfxModal)},beforeDestroy:function(){this.imageEditor&&this.imageEditor.terminate(),window.removeEventListener("keydown",this.handleKeydown,!0)},methods:{onClose:function(e,t){t?this.onExitWithoutSaving():(window.removeEventListener("keydown",this.handleKeydown,!0),this.$emit("close"))},onSave:function(e){var n,r=this;return(n=regeneratorRuntime.mark((function n(){var o,i,a,s,l,u,c,p,d,f,h,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.fullName,i=e.imageCanvas,a=e.mimeType,s=e.quality,l=new URL(r.src),u=l.origin,c=l.pathname,p=u+(0,lv.join)((0,lv.dirname)(c),o),_g.debug("Saving image...",{putUrl:p,src:r.src,fullName:o}),a=a.replace("jpg","jpeg"),s=Math.max(Math.min(s,1),0)||1,n.prev=6,n.next=9,new Promise((function(e){return i.toBlob(e,a,s)}));case 9:return d=n.sent,n.next=12,j.put(p,new File([d],o));case 12:f=n.sent,_g.info("Edited image saved!",{response:f}),fm(t("viewer","Image saved")),p!==r.src?w("files:file:created",{fileid:parseInt(null==f||null===(h=f.headers)||void 0===h||null===(m=h["oc-fileid"])||void 0===m?void 0:m.split("oc")[0])||null}):w("files:file:updated",{fileid:r.fileid}),n.next=22;break;case 18:n.prev=18,n.t0=n.catch(6),_g.error("Error saving image",{error:n.t0}),dm(t("viewer","Error saving image"));case 22:case"end":return n.stop()}}),n,null,[[6,18]])})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){_G(i,r,o,a,s,"next",e)}function s(e){_G(i,r,o,a,s,"throw",e)}a(void 0)}))})()},onExitWithoutSaving:function(){var e=this;OC.dialogs.confirmDestructive(EG.changesLoseConfirmation+"\n\n"+EG.changesLoseConfirmationHint,t("viewer","Unsaved changes"),{type:OC.dialogs.YES_NO_BUTTONS,confirm:t("viewer","Drop changes"),confirmClasses:"error",cancel:EG.cancel},(function(t){t&&e.onClose("warning-ignored",!1)}))},handleKeydown:function(e){e.stopImmediatePropagation(),"Escape"===e.key&&(e.preventDefault(),document.querySelector(".FIE_topbar-close-button").click()),e.ctrlKey&&"s"===e.key&&(e.preventDefault(),document.querySelector(".FIE_topbar-save-button").click()),e.ctrlKey&&"z"===e.key&&(e.preventDefault(),document.querySelector(".FIE_topbar-undo-button").click())},handleSfxModal:function(e){var t;null!==(t=e.target)&&void 0!==t&&t.classList&&e.target.classList.contains("SfxModal-Wrapper")&&w("viewer:trapElements:changed",e.target)}}},TG=DG;var OG=r(6723),PG={};PG.styleTagTransform=W(),PG.setAttributes=H(),PG.insert=U().bind(null,"head"),PG.domAPI=R(),PG.insertStyleElement=V();N()(OG.Z,PG);OG.Z&&OG.Z.locals&&OG.Z.locals;var LG=r(4450),FG={};FG.styleTagTransform=W(),FG.setAttributes=H(),FG.insert=U().bind(null,"head"),FG.domAPI=R(),FG.insertStyleElement=V();N()(LG.Z,FG);LG.Z&&LG.Z.locals&&LG.Z.locals;const jG=(0,rg.Z)(TG,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",e._b({ref:"editor",staticClass:"viewer__image-editor"},"div",e.themeDataAttr,!1))}),[],!1,null,"4a9df83c",null).exports;var BG=r(5108);function IG(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}i.ZP.use(sv);const NG={name:"Images",components:{ImageEditor:jG},props:{canZoom:{type:Boolean,default:!1},editing:{type:Boolean,default:!1}},data:function(){return{dragging:!1,shiftX:0,shiftY:0,zoomRatio:1,fallback:!1}},computed:{src:function(){var e;return null!==(e=this.source)&&void 0!==e?e:this.davPath},zoomHeight:function(){return Math.round(this.height*this.zoomRatio)},zoomWidth:function(){return Math.round(this.width*this.zoomRatio)},alt:function(){var e=(0,Em.EZ)(this.src);return t("viewer",'Content of "{fileName}"',{fileName:e})}},asyncComputed:{data:function(){return"image/svg+xml"===this.mime?this.getBase64FromImage():"image/gif"===this.mime?this.src:!this.source||this.hasPreview||this.previewUrl?this.fallback?this.src:this.previewPath:this.source}},watch:{active:function(e,t){!0===e&&!1===t?(this.resetZoom(),window.addEventListener("mouseout",this.dragEnd)):!1===e&&window.removeEventListener("mouseout",this.dragEnd)}},methods:{updateImgSize:function(){this.naturalHeight=this.$el.naturalHeight,this.naturalWidth=this.$el.naturalWidth,this.updateHeightWidth(),this.doneLoading()},getBase64FromImage:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j.get(t.src);case 2:return n=e.sent,e.abrupt("return","data:".concat(t.mime,";base64,").concat(btoa(n.data)));case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){IG(i,r,o,a,s,"next",e)}function s(e){IG(i,r,o,a,s,"throw",e)}a(void 0)}))})()},updateZoom:function(e){if(this.canZoom){e.stopPropagation(),e.preventDefault();var t=e.clientX-this.$el.x-this.width*this.zoomRatio/2,n=e.clientY-this.$el.y-this.height*this.zoomRatio/2,r=Math.round(t/(this.width*this.zoomRatio)*100)/100,o=Math.round(n/(this.height*this.zoomRatio)*100)/100,i=e.deltaY<0?Math.min(this.zoomRatio+.1,5):Math.max(this.zoomRatio-.1,1);if(1===i)return this.resetZoom();var a=this.width*i-this.width*this.zoomRatio,s=this.height*i-this.height*this.zoomRatio;this.disableSwipe(),this.shiftX=this.shiftX+Math.round(-r*a),this.shiftY=this.shiftY+Math.round(-o*s),this.zoomRatio=i}},resetZoom:function(){this.enableSwipe(),this.zoomRatio=1,this.shiftX=0,this.shiftY=0},dragStart:function(e){var t=e.pageX,n=e.pageY;this.dragX=t,this.dragY=n,this.dragging=!0,this.$el.onmouseup=this.dragEnd,this.$el.onmousemove=this.dragHandler},dragEnd:function(e){e.preventDefault(),this.dragging=!1,this.$el.onmouseup=null,this.$el.onmousemove=null},dragHandler:function(e){e.preventDefault();var t=e.pageX,n=e.pageY;if(this.dragging&&this.zoomRatio>1&&t>0&&n>0){var r=this.shiftX+(t-this.dragX),o=this.shiftY+(n-this.dragY),i=this.zoomWidth-this.width,a=this.zoomHeight-this.height;this.shiftX=Math.min(Math.max(r,-i/2),i/2),this.shiftY=Math.min(Math.max(o,-a/2),i/2),this.dragX=t,this.dragY=n}},onDblclick:function(){this.zoomRatio>1?this.resetZoom():this.zoomRatio=1.3},onClose:function(){this.$emit("update:editing",!1)},onFail:function(e){this.fallback||(BG.error("Loading of file preview ".concat((0,Em.EZ)(this.src)," failed, falling back to original file")),this.fallback=!0)}}},MG=NG;var RG=r(876),zG={};zG.styleTagTransform=W(),zG.setAttributes=H(),zG.insert=U().bind(null,"head"),zG.domAPI=R(),zG.insertStyleElement=V();N()(RG.Z,zG);RG.Z&&RG.Z.locals&&RG.Z.locals;const UG=(0,rg.Z)(MG,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.editing?n("ImageEditor",{attrs:{mime:e.mime,src:e.src,fileid:e.fileid},on:{close:e.onClose}}):n("img",{class:{dragging:e.dragging,loaded:e.loaded,zoomed:1!==e.zoomRatio},style:{marginTop:e.shiftY+"px",marginLeft:e.shiftX+"px",maxHeight:100*e.zoomRatio+"%",maxWidth:100*e.zoomRatio+"%"},attrs:{alt:e.alt,src:e.data},on:{"~!error":function(t){return t.preventDefault(),t.stopPropagation(),e.onFail.apply(null,arguments)},load:e.updateImgSize,wheel:e.updateZoom,dblclick:function(t){return t.preventDefault(),e.onDblclick.apply(null,arguments)},mousedown:function(t){return t.preventDefault(),e.dragStart.apply(null,arguments)}}})}),[],!1,null,"62341d0d",null).exports;function $G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var HG=function(e,t,n){const r=document.querySelector(`#initial-state-${e}-${t}`);if(null===r){if(void 0!==n)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{return JSON.parse(atob(r.value))}catch(n){throw new Error(`Could not parse initial state ${t} of ${e}`)}}("viewer","enabled_preview_providers",[]),qG=["image/heic","image/heif","image/tiff","image/x-xbitmap"],VG=qG.filter((function(e){return HG.findIndex((function(t){var n=new RegExp(t.replace(/^\/|\/$/g,""),"i");return e.match(n)}))>-1})),GG=qG.filter((function(e){return!VG.includes(e)}));GG.length>0&&_g.warn("Some mimes were ignored because they are not enabled in the server previews config",{ignoredMimes:GG});const WG={id:"images",group:"media",mimes:[].concat(["image/apng","image/bmp","image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/x-icon"],(ZG=VG,function(e){if(Array.isArray(e))return $G(e)}(ZG)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(ZG)||function(e,t){if(e){if("string"==typeof e)return $G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$G(e,t):void 0}}(ZG)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),component:UG};var ZG,YG=r(5108);function XG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JG(Object(n),!0).forEach((function(t){QG(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JG(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tW={addCSS:!0,thumbWidth:15,watch:!0};function nW(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var rW=function(e){return null!=e?e.constructor:null},oW=function(e,t){return!!(e&&t&&e instanceof t)},iW=function(e){return null==e},aW=function(e){return rW(e)===Object},sW=function(e){return rW(e)===String},lW=function(e){return Array.isArray(e)},uW=function(e){return oW(e,NodeList)},cW=sW,pW=lW,dW=uW,fW=function(e){return oW(e,Element)},hW=function(e){return oW(e,Event)},mW=function(e){return iW(e)||(sW(e)||lW(e)||uW(e))&&!e.length||aW(e)&&!Object.keys(e).length};function gW(e,t){if(1>t){var n=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var vW=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),fW(t)?this.element=t:cW(t)&&(this.element=document.querySelector(t)),fW(this.element)&&mW(this.element.rangeTouch)&&(this.config=eW({},tW,{},n),this.init())}return function(e,t,n){t&&KG(e.prototype,t),n&&KG(e,n)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[n](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!hW(t))return null;var n,r=t.target,o=t.changedTouches[0],i=parseFloat(r.getAttribute("min"))||0,a=parseFloat(r.getAttribute("max"))||100,s=parseFloat(r.getAttribute("step"))||1,l=r.getBoundingClientRect(),u=100/l.width*(this.config.thumbWidth/2)/100;return 0>(n=100/l.width*(o.clientX-l.left))?n=0:100<n&&(n=100),50>n?n-=(100-2*n)*u:50<n&&(n+=2*(n-50)*u),i+gW(n/100*(a-i),s)}},{key:"set",value:function(t){e.enabled&&hW(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=null;if(mW(t)||cW(t)?r=Array.from(document.querySelectorAll(cW(t)?t:'input[type="range"]')):fW(t)?r=[t]:dW(t)?r=Array.from(t):pW(t)&&(r=t.filter(fW)),mW(r))return null;var o=eW({},tW,{},n);if(cW(t)&&o.watch){var i=new MutationObserver((function(n){Array.from(n).forEach((function(n){Array.from(n.addedNodes).forEach((function(n){fW(n)&&nW(n,t)&&new e(n,o)}))}))}));i.observe(document.body,{childList:!0,subtree:!0})}return r.map((function(t){return new e(t,n)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}();const yW=e=>null!=e?e.constructor:null,bW=(e,t)=>Boolean(e&&t&&e instanceof t),AW=e=>null==e,CW=e=>yW(e)===Object,wW=e=>yW(e)===String,xW=e=>yW(e)===Function,EW=e=>Array.isArray(e),_W=e=>bW(e,NodeList),kW=e=>AW(e)||(wW(e)||EW(e)||_W(e))&&!e.length||CW(e)&&!Object.keys(e).length;var SW=AW,DW=CW,TW=e=>yW(e)===Number&&!Number.isNaN(e),OW=wW,PW=e=>yW(e)===Boolean,LW=xW,FW=EW,jW=_W,BW=e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,IW=e=>bW(e,Event),NW=e=>bW(e,KeyboardEvent),MW=e=>bW(e,TextTrack)||!AW(e)&&wW(e.kind),RW=e=>bW(e,Promise)&&xW(e.then),zW=e=>{if(bW(e,window.URL))return!0;if(!wW(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!kW(new URL(t).hostname)}catch(e){return!1}},UW=kW;const $W=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n=Object.keys(t).find((t=>void 0!==e.style[t]));return!!OW(n)&&t[n]})();function HW(e,t){setTimeout((()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}const qW={isIE:Boolean(window.document.documentMode),isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function VW(e,t){return t.split(".").reduce(((e,t)=>e&&e[t]),e)}function GW(e={},...t){if(!t.length)return e;const n=t.shift();return DW(n)?(Object.keys(n).forEach((t=>{DW(n[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),GW(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),GW(e,...t)):e}function WW(e,t){const n=e.length?e:[e];Array.from(n).reverse().forEach(((e,n)=>{const r=n>0?t.cloneNode(!0):t,o=e.parentNode,i=e.nextSibling;r.appendChild(e),i?o.insertBefore(r,i):o.appendChild(r)}))}function ZW(e,t){BW(e)&&!UW(t)&&Object.entries(t).filter((([,e])=>!SW(e))).forEach((([t,n])=>e.setAttribute(t,n)))}function YW(e,t,n){const r=document.createElement(e);return DW(t)&&ZW(r,t),OW(n)&&(r.innerText=n),r}function XW(e,t,n,r){BW(t)&&t.appendChild(YW(e,n,r))}function KW(e){jW(e)||FW(e)?Array.from(e).forEach(KW):BW(e)&&BW(e.parentNode)&&e.parentNode.removeChild(e)}function QW(e){if(!BW(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function JW(e,t){return BW(t)&&BW(t.parentNode)&&BW(e)?(t.parentNode.replaceChild(e,t),e):null}function eZ(e,t){if(!OW(e)||UW(e))return{};const n={},r=GW({},t);return e.split(",").forEach((e=>{const t=e.trim(),o=t.replace(".",""),i=t.replace(/[[\]]/g,"").split("="),[a]=i,s=i.length>1?i[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":OW(r.class)?n.class=`${r.class} ${o}`:n.class=o;break;case"#":n.id=t.replace("#","");break;case"[":n[a]=s}})),GW(r,n)}function tZ(e,t){if(!BW(e))return;let n=t;PW(n)||(n=!e.hidden),e.hidden=n}function nZ(e,t,n){if(jW(e))return Array.from(e).map((e=>nZ(e,t,n)));if(BW(e)){let r="toggle";return void 0!==n&&(r=n?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function rZ(e,t){return BW(e)&&e.classList.contains(t)}function oZ(e,t){const{prototype:n}=Element;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function iZ(e){return this.elements.container.querySelectorAll(e)}function aZ(e){return this.elements.container.querySelector(e)}function sZ(e=null,t=!1){BW(e)&&(e.focus({preventScroll:!0}),t&&nZ(e,this.config.classNames.tabFocus))}const lZ={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},uZ={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t,n){const r=qW.isIPhone&&n&&uZ.playsinline,o=uZ[e]||"html5"!==t;return{api:o,ui:o&&uZ.rangeInput&&("video"!==e||!qW.isIPhone||r)}},pip:!(qW.isIPhone||!LW(YW("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||YW("video").disablePictureInPicture)),airplay:LW(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(UW(e))return!1;const[t]=e.split("/");let n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(lZ).includes(n)&&(n+=`; codecs="${lZ[e]}"`);try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==$W,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},cZ=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function pZ(e,t,n,r=!1,o=!0,i=!1){if(!e||!("addEventListener"in e)||UW(t)||!LW(n))return;const a=t.split(" ");let s=i;cZ&&(s={passive:o,capture:i}),a.forEach((t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:n,options:s}),e[r?"addEventListener":"removeEventListener"](t,n,s)}))}function dZ(e,t="",n,r=!0,o=!1){pZ.call(this,e,t,n,!0,r,o)}function fZ(e,t="",n,r=!0,o=!1){pZ.call(this,e,t,n,!1,r,o)}function hZ(e,t="",n,r=!0,o=!1){const i=(...a)=>{fZ(e,t,i,r,o),n.apply(this,a)};pZ.call(this,e,t,i,!0,r,o)}function mZ(e,t="",n=!1,r={}){if(!BW(e)||UW(t))return;const o=new CustomEvent(t,{bubbles:n,detail:{...r,plyr:this}});e.dispatchEvent(o)}function gZ(){this&&this.eventListeners&&(this.eventListeners.forEach((e=>{const{element:t,type:n,callback:r,options:o}=e;t.removeEventListener(n,r,o)})),this.eventListeners=[])}function vZ(){return new Promise((e=>this.ready?setTimeout(e,0):dZ.call(this,this.elements.container,"ready",e))).then((()=>{}))}function yZ(e){RW(e)&&e.then(null,(()=>{}))}function bZ(e){return FW(e)?e.filter(((t,n)=>e.indexOf(t)===n)):e}function AZ(e,t){return FW(e)&&e.length?e.reduce(((e,n)=>Math.abs(n-t)<Math.abs(e-t)?n:e)):null}function CZ(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}const wZ=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce(((e,[t,n])=>({...e,[t/n]:[t,n]})),{});function xZ(e){return!!(FW(e)||OW(e)&&e.includes(":"))&&(FW(e)?e:e.split(":")).map(Number).every(TW)}function EZ(e){if(!FW(e)||!e.every(TW))return null;const[t,n]=e,r=(e,t)=>0===t?e:r(t,e%t),o=r(t,n);return[t/o,n/o]}function _Z(e){const t=e=>xZ(e)?e.split(":").map(Number):null;let n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!UW(this.embed)&&FW(this.embed.ratio)&&({ratio:n}=this.embed),null===n&&this.isHTML5){const{videoWidth:e,videoHeight:t}=this.media;n=[e,t]}return EZ(n)}function kZ(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,n=_Z.call(this,e);if(!FW(n))return{};const[r,o]=EZ(n),i=100/r*o;if(CZ(`aspect-ratio: ${r}/${o}`)?t.style.aspectRatio=`${r}/${o}`:t.style.paddingBottom=`${i}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),n=(e-i)/(e/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${n}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:i,ratio:n}}function SZ(e,t,n=.05){const r=e/t,o=AZ(Object.keys(wZ),r);return Math.abs(o-r)<=n?wZ[o]:[e,t]}const DZ={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((e=>{const t=e.getAttribute("type");return!!UW(t)||uZ.mime.call(this,t)})):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:DZ.getSources.call(this).map((e=>Number(e.getAttribute("size")))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,UW(this.config.ratio)||kZ.call(e),Object.defineProperty(e.media,"quality",{get(){const t=DZ.getSources.call(e).find((t=>t.getAttribute("src")===e.source));return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&LW(e.config.quality.onChange))e.config.quality.onChange(t);else{const n=DZ.getSources.call(e).find((e=>Number(e.getAttribute("size"))===t));if(!n)return;const{currentTime:r,paused:o,preload:i,readyState:a,playbackRate:s}=e.media;e.media.src=n.getAttribute("src"),("none"!==i||a)&&(e.once("loadedmetadata",(()=>{e.speed=s,e.currentTime=r,o||yZ(e.play())})),e.media.load())}mZ.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(KW(DZ.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function TZ(e){return`${e}-${Math.floor(1e4*Math.random())}`}function OZ(e,...t){return UW(e)?e:e.toString().replace(/{(\d+)}/g,((e,n)=>t[n].toString()))}const PZ=(e="",t="",n="")=>e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString()),LZ=(e="")=>e.toString().replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));function FZ(e=""){let t=e.toString();return t=function(e=""){let t=e.toString();return t=PZ(t,"-"," "),t=PZ(t,"_"," "),t=LZ(t),PZ(t," ","")}(t),t.charAt(0).toLowerCase()+t.slice(1)}function jZ(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const BZ={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},IZ={get(e="",t={}){if(UW(e)||UW(t))return"";let n=VW(t.i18n,e);if(UW(n))return Object.keys(BZ).includes(e)?BZ[e]:"";const r={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(r).forEach((([e,t])=>{n=PZ(n,e,t)})),n}};class NZ{constructor(e){XG(this,"get",(e=>{if(!NZ.supported||!this.enabled)return null;const t=window.localStorage.getItem(this.key);if(UW(t))return null;const n=JSON.parse(t);return OW(e)&&e.length?n[e]:n})),XG(this,"set",(e=>{if(!NZ.supported||!this.enabled)return;if(!DW(e))return;let t=this.get();UW(t)&&(t={}),GW(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}})),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function MZ(e,t="text"){return new Promise(((n,r)=>{try{const r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(()=>{if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)})),r.addEventListener("error",(()=>{throw new Error(r.status)})),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){r(e)}}))}function RZ(e,t){if(!OW(e))return;const n=OW(t);let r=!1;const o=()=>null!==document.getElementById(t),i=(e,t)=>{e.innerHTML=t,n&&o()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!o()){const o=NZ.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",t),o){const e=window.localStorage.getItem(`cache-${t}`);if(r=null!==e,r){const t=JSON.parse(e);i(a,t.content)}}MZ(e).then((e=>{if(!UW(e)){if(o)try{window.localStorage.setItem(`cache-${t}`,JSON.stringify({content:e}))}catch(e){}i(a,e)}})).catch((()=>{}))}}const zZ=e=>Math.trunc(e/60/60%60,10);function UZ(e=0,t=!1,n=!1){if(!TW(e))return UZ(void 0,t,n);const r=e=>`0${e}`.slice(-2);let o=zZ(e);const i=(a=e,Math.trunc(a/60%60,10));var a;const s=(e=>Math.trunc(e%60,10))(e);return o=t||o>0?`${o}:`:"",`${n&&e>0?"-":""}${o}${r(i)}:${r(s)}`}const $Z={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,n=e.host!==t||qW.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:n}},findElements(){try{return this.elements.controls=aZ.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:iZ.call(this,this.config.selectors.buttons.play),pause:aZ.call(this,this.config.selectors.buttons.pause),restart:aZ.call(this,this.config.selectors.buttons.restart),rewind:aZ.call(this,this.config.selectors.buttons.rewind),fastForward:aZ.call(this,this.config.selectors.buttons.fastForward),mute:aZ.call(this,this.config.selectors.buttons.mute),pip:aZ.call(this,this.config.selectors.buttons.pip),airplay:aZ.call(this,this.config.selectors.buttons.airplay),settings:aZ.call(this,this.config.selectors.buttons.settings),captions:aZ.call(this,this.config.selectors.buttons.captions),fullscreen:aZ.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=aZ.call(this,this.config.selectors.progress),this.elements.inputs={seek:aZ.call(this,this.config.selectors.inputs.seek),volume:aZ.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:aZ.call(this,this.config.selectors.display.buffer),currentTime:aZ.call(this,this.config.selectors.display.currentTime),duration:aZ.call(this,this.config.selectors.display.duration)},BW(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const n="http://www.w3.org/2000/svg",r=$Z.getIconUrl.call(this),o=`${r.cors?"":r.url}#${this.config.iconPrefix}`,i=document.createElementNS(n,"svg");ZW(i,GW(t,{"aria-hidden":"true",focusable:"false"}));const a=document.createElementNS(n,"use"),s=`${o}-${e}`;return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",s),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),i.appendChild(a),i},createLabel(e,t={}){const n=IZ.get(e,this.config);return YW("span",{...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")},n)},createBadge(e){if(UW(e))return null;const t=YW("span",{class:this.config.classNames.menu.value});return t.appendChild(YW("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const n=GW({},t);let r=FZ(e);const o={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((e=>{Object.keys(n).includes(e)&&(o[e]=n[e],delete n[e])})),"button"!==o.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((e=>e===this.config.classNames.control))||GW(n,{class:`${n.class} ${this.config.classNames.control}`}):n.class=this.config.classNames.control,e){case"play":o.toggle=!0,o.label="play",o.labelPressed="pause",o.icon="play",o.iconPressed="pause";break;case"mute":o.toggle=!0,o.label="mute",o.labelPressed="unmute",o.icon="volume",o.iconPressed="muted";break;case"captions":o.toggle=!0,o.label="enableCaptions",o.labelPressed="disableCaptions",o.icon="captions-off",o.iconPressed="captions-on";break;case"fullscreen":o.toggle=!0,o.label="enterFullscreen",o.labelPressed="exitFullscreen",o.icon="enter-fullscreen",o.iconPressed="exit-fullscreen";break;case"play-large":n.class+=` ${this.config.classNames.control}--overlaid`,r="play",o.label="play",o.icon="play";break;default:UW(o.label)&&(o.label=r),UW(o.icon)&&(o.icon=e)}const i=YW(o.element);return o.toggle?(i.appendChild($Z.createIcon.call(this,o.iconPressed,{class:"icon--pressed"})),i.appendChild($Z.createIcon.call(this,o.icon,{class:"icon--not-pressed"})),i.appendChild($Z.createLabel.call(this,o.labelPressed,{class:"label--pressed"})),i.appendChild($Z.createLabel.call(this,o.label,{class:"label--not-pressed"}))):(i.appendChild($Z.createIcon.call(this,o.icon)),i.appendChild($Z.createLabel.call(this,o.label))),GW(n,eZ(this.config.selectors.buttons[r],n)),ZW(i,n),"play"===r?(FW(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(i)):this.elements.buttons[r]=i,i},createRange(e,t){const n=YW("input",GW(eZ(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":IZ.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,$Z.updateRangeFill.call(this,n),vW.setup(n),n},createProgress(e,t){const n=YW("progress",GW(eZ(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(YW("span",null,"0"));const t={played:"played",buffer:"buffered"}[e],r=t?IZ.get(t,this.config):"";n.innerText=`% ${r.toLowerCase()}`}return this.elements.display[e]=n,n},createTime(e,t){const n=eZ(this.config.selectors.display[e],t),r=YW("div",GW(n,{class:`${n.class?n.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":IZ.get(e,this.config)}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts(e,t){dZ.call(this,e,"keydown keyup",(n=>{if(!["Space","ArrowUp","ArrowDown","ArrowRight"].includes(n.key))return;if(n.preventDefault(),n.stopPropagation(),"keydown"===n.type)return;const r=oZ(e,'[role="menuitemradio"]');if(!r&&["Space","ArrowRight"].includes(n.key))$Z.showMenuPanel.call(this,t,!0);else{let t;"Space"!==n.key&&("ArrowDown"===n.key||r&&"ArrowRight"===n.key?(t=e.nextElementSibling,BW(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,BW(t)||(t=e.parentNode.lastElementChild)),sZ.call(this,t,!0))}}),!1),dZ.call(this,e,"keyup",(e=>{"Return"===e.key&&$Z.focusFirstMenuItem.call(this,null,!0)}))},createMenuItem({value:e,list:t,type:n,title:r,badge:o=null,checked:i=!1}){const a=eZ(this.config.selectors.inputs[n]),s=YW("button",GW(a,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${a.class?a.class:""}`.trim(),"aria-checked":i,value:e})),l=YW("span");l.innerHTML=r,BW(o)&&l.appendChild(o),s.appendChild(l),Object.defineProperty(s,"checked",{enumerable:!0,get:()=>"true"===s.getAttribute("aria-checked"),set(e){e&&Array.from(s.parentNode.children).filter((e=>oZ(e,'[role="menuitemradio"]'))).forEach((e=>e.setAttribute("aria-checked","false"))),s.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(s,"click keyup",(t=>{if(!NW(t)||"Space"===t.key){switch(t.preventDefault(),t.stopPropagation(),s.checked=!0,n){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}$Z.showMenuPanel.call(this,"home",NW(t))}}),n,!1),$Z.bindMenuItemShortcuts.call(this,s,n),t.appendChild(s)},formatTime(e=0,t=!1){return TW(e)?UZ(e,zZ(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,n=!1){BW(e)&&TW(t)&&(e.innerText=$Z.formatTime(t,n))},updateVolume(){this.supported.ui&&(BW(this.elements.inputs.volume)&&$Z.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),BW(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){BW(e)&&(e.value=t,$Z.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!IW(e))return;let t=0;const n=(e,t)=>{const n=TW(t)?t:0,r=BW(e)?e:this.elements.display.buffer;if(BW(r)){r.value=n;const e=r.getElementsByTagName("span")[0];BW(e)&&(e.childNodes[0].nodeValue=n)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=function(e,t){return 0===e||0===t||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}(this.currentTime,this.duration),"timeupdate"===e.type&&$Z.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":n(this.elements.display.buffer,100*this.buffered)}},updateRangeFill(e){const t=IW(e)?e.target:e;if(BW(t)&&"range"===t.getAttribute("type")){if(oZ(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const e=$Z.formatTime(this.currentTime),n=$Z.formatTime(this.duration),r=IZ.get("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",e).replace("{duration}",n))}else if(oZ(t,this.config.selectors.inputs.volume)){const e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);qW.isWebkit&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){var t,n;if(!this.config.tooltips.seek||!BW(this.elements.inputs.seek)||!BW(this.elements.display.seekTooltip)||0===this.duration)return;const r=this.elements.display.seekTooltip,o=`${this.config.classNames.tooltip}--visible`,i=e=>nZ(r,o,e);if(this.touch)return void i(!1);let a=0;const s=this.elements.progress.getBoundingClientRect();if(IW(e))a=100/s.width*(e.pageX-s.left);else{if(!rZ(r,o))return;a=parseFloat(r.style.left,10)}a<0?a=0:a>100&&(a=100);const l=this.duration/100*a;r.innerText=$Z.formatTime(l);const u=null===(t=this.config.markers)||void 0===t||null===(n=t.points)||void 0===n?void 0:n.find((({time:e})=>e===Math.round(l)));u&&r.insertAdjacentHTML("afterbegin",`${u.label}<br>`),r.style.left=`${a}%`,IW(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)},timeUpdate(e){const t=!BW(this.elements.display.duration)&&this.config.invertTime;$Z.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||$Z.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return tZ(this.elements.display.currentTime,!0),void tZ(this.elements.progress,!0);BW(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=BW(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&$Z.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&$Z.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&$Z.setMarkers.call(this),$Z.updateSeekTooltip.call(this)},toggleMenuButton(e,t){tZ(this.elements.settings.buttons[e],!t)},updateSetting(e,t,n){const r=this.elements.settings.panels[e];let o=null,i=t;if("captions"===e)o=this.currentTrack;else{if(o=UW(n)?this[e]:n,UW(o)&&(o=this.config[e].default),!UW(this.options[e])&&!this.options[e].includes(o))return void this.debug.warn(`Unsupported value of '${o}' for ${e}`);if(!this.config[e].options.includes(o))return void this.debug.warn(`Disabled value of '${o}' for ${e}`)}if(BW(i)||(i=r&&r.querySelector('[role="menu"]')),!BW(i))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=$Z.getLabel.call(this,e,o);const a=i&&i.querySelector(`[value="${o}"]`);BW(a)&&(a.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?IZ.get("normal",this.config):`${t}&times;`;case"quality":if(TW(t)){const e=IZ.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return LZ(t);case"captions":return VZ.getLabel.call(this);default:return null}},setQualityMenu(e){if(!BW(this.elements.settings.panels.quality))return;const t="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');FW(e)&&(this.options.quality=bZ(e).filter((e=>this.config.quality.options.includes(e))));const r=!UW(this.options.quality)&&this.options.quality.length>1;if($Z.toggleMenuButton.call(this,t,r),QW(n),$Z.checkMenu.call(this),!r)return;const o=e=>{const t=IZ.get(`qualityBadge.${e}`,this.config);return t.length?$Z.createBadge.call(this,t):null};this.options.quality.sort(((e,t)=>{const n=this.config.quality.options;return n.indexOf(e)>n.indexOf(t)?1:-1})).forEach((e=>{$Z.createMenuItem.call(this,{value:e,list:n,type:t,title:$Z.getLabel.call(this,"quality",e),badge:o(e)})})),$Z.updateSetting.call(this,t,n)},setCaptionsMenu(){if(!BW(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=VZ.getTracks.call(this),r=Boolean(n.length);if($Z.toggleMenuButton.call(this,e,r),QW(t),$Z.checkMenu.call(this),!r)return;const o=n.map(((e,n)=>({value:n,checked:this.captions.toggled&&this.currentTrack===n,title:VZ.getLabel.call(this,e),badge:e.language&&$Z.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"})));o.unshift({value:-1,checked:!this.captions.toggled,title:IZ.get("disabled",this.config),list:t,type:"language"}),o.forEach($Z.createMenuItem.bind(this)),$Z.updateSetting.call(this,e,t)},setSpeedMenu(){if(!BW(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((e=>e>=this.minimumSpeed&&e<=this.maximumSpeed));const n=!UW(this.options.speed)&&this.options.speed.length>1;$Z.toggleMenuButton.call(this,e,n),QW(t),$Z.checkMenu.call(this),n&&(this.options.speed.forEach((n=>{$Z.createMenuItem.call(this,{value:n,list:t,type:e,title:$Z.getLabel.call(this,"speed",n)})})),$Z.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!UW(e)&&Object.values(e).some((e=>!e.hidden));tZ(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let n=e;BW(n)||(n=Object.values(this.elements.settings.panels).find((e=>!e.hidden)));const r=n.querySelector('[role^="menuitem"]');sZ.call(this,r,t)},toggleMenu(e){const{popup:t}=this.elements.settings,n=this.elements.buttons.settings;if(!BW(t)||!BW(n))return;const{hidden:r}=t;let o=r;if(PW(e))o=e;else if(NW(e)&&"Escape"===e.key)o=!1;else if(IW(e)){const r=LW(e.composedPath)?e.composedPath()[0]:e.target,i=t.contains(r);if(i||!i&&e.target!==n&&o)return}n.setAttribute("aria-expanded",o),tZ(t,!o),nZ(this.elements.container,this.config.classNames.menu.open,o),o&&NW(e)?$Z.focusFirstMenuItem.call(this,null,!0):o||r||sZ.call(this,n,NW(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const n=t.scrollWidth,r=t.scrollHeight;return KW(t),{width:n,height:r}},showMenuPanel(e="",t=!1){const n=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!BW(n))return;const r=n.parentNode,o=Array.from(r.children).find((e=>!e.hidden));if(uZ.transitions&&!uZ.reducedMotion){r.style.width=`${o.scrollWidth}px`,r.style.height=`${o.scrollHeight}px`;const e=$Z.getMenuSize.call(this,n),t=e=>{e.target===r&&["width","height"].includes(e.propertyName)&&(r.style.width="",r.style.height="",fZ.call(this,r,$W,t))};dZ.call(this,r,$W,t),r.style.width=`${e.width}px`,r.style.height=`${e.height}px`}tZ(o,!0),tZ(n,!1),$Z.focusFirstMenuItem.call(this,n,t)},setDownloadUrl(){const e=this.elements.buttons.download;BW(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:n,createProgress:r,createRange:o,createTime:i,setQualityMenu:a,setSpeedMenu:s,showMenuPanel:l}=$Z;this.elements.controls=null,FW(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));const u=YW("div",eZ(this.config.selectors.controls.wrapper));this.elements.controls=u;const c={class:"plyr__controls__item"};return bZ(FW(this.config.controls)?this.config.controls:[]).forEach((a=>{if("restart"===a&&u.appendChild(n.call(this,"restart",c)),"rewind"===a&&u.appendChild(n.call(this,"rewind",c)),"play"===a&&u.appendChild(n.call(this,"play",c)),"fast-forward"===a&&u.appendChild(n.call(this,"fast-forward",c)),"progress"===a){const t=YW("div",{class:`${c.class} plyr__progress__container`}),n=YW("div",eZ(this.config.selectors.progress));if(n.appendChild(o.call(this,"seek",{id:`plyr-seek-${e.id}`})),n.appendChild(r.call(this,"buffer")),this.config.tooltips.seek){const e=YW("span",{class:this.config.classNames.tooltip},"00:00");n.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=n,t.appendChild(this.elements.progress),u.appendChild(t)}if("current-time"===a&&u.appendChild(i.call(this,"currentTime",c)),"duration"===a&&u.appendChild(i.call(this,"duration",c)),"mute"===a||"volume"===a){let{volume:t}=this.elements;if(BW(t)&&u.contains(t)||(t=YW("div",GW({},c,{class:`${c.class} plyr__volume`.trim()})),this.elements.volume=t,u.appendChild(t)),"mute"===a&&t.appendChild(n.call(this,"mute")),"volume"===a&&!qW.isIos){const n={max:1,step:.05,value:this.config.volume};t.appendChild(o.call(this,"volume",GW(n,{id:`plyr-volume-${e.id}`})))}}if("captions"===a&&u.appendChild(n.call(this,"captions",c)),"settings"===a&&!UW(this.config.settings)){const r=YW("div",GW({},c,{class:`${c.class} plyr__menu`.trim(),hidden:""}));r.appendChild(n.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const o=YW("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),i=YW("div"),a=YW("div",{id:`plyr-settings-${e.id}-home`}),s=YW("div",{role:"menu"});a.appendChild(s),i.appendChild(a),this.elements.settings.panels.home=a,this.config.settings.forEach((n=>{const r=YW("button",GW(eZ(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,r,n),dZ.call(this,r,"click",(()=>{l.call(this,n,!1)}));const o=YW("span",null,IZ.get(n,this.config)),a=YW("span",{class:this.config.classNames.menu.value});a.innerHTML=e[n],o.appendChild(a),r.appendChild(o),s.appendChild(r);const u=YW("div",{id:`plyr-settings-${e.id}-${n}`,hidden:""}),c=YW("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});c.appendChild(YW("span",{"aria-hidden":!0},IZ.get(n,this.config))),c.appendChild(YW("span",{class:this.config.classNames.hidden},IZ.get("menuBack",this.config))),dZ.call(this,u,"keydown",(e=>{"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))}),!1),dZ.call(this,c,"click",(()=>{l.call(this,"home",!1)})),u.appendChild(c),u.appendChild(YW("div",{role:"menu"})),i.appendChild(u),this.elements.settings.buttons[n]=r,this.elements.settings.panels[n]=u})),o.appendChild(i),r.appendChild(o),u.appendChild(r),this.elements.settings.popup=o,this.elements.settings.menu=r}if("pip"===a&&uZ.pip&&u.appendChild(n.call(this,"pip",c)),"airplay"===a&&uZ.airplay&&u.appendChild(n.call(this,"airplay",c)),"download"===a){const e=GW({},c,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");const{download:t}=this.config.urls;!zW(t)&&this.isEmbed&&GW(e,{icon:`logo-${this.provider}`,label:this.provider}),u.appendChild(n.call(this,"download",e))}"fullscreen"===a&&u.appendChild(n.call(this,"fullscreen",c))})),this.isHTML5&&a.call(this,DZ.getQualityOptions.call(this)),s.call(this),u},inject(){if(this.config.loadSprite){const e=$Z.getIconUrl.call(this);e.cors&&RZ(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let n,r=!0;if(LW(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),BW(this.config.controls)||OW(this.config.controls)?e=this.config.controls:(e=$Z.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:VZ.getLabel.call(this)}),r=!1),r&&OW(this.config.controls)&&(e=(e=>{let n=e;return Object.entries(t).forEach((([e,t])=>{n=PZ(n,`{${e}}`,t)})),n})(e)),OW(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),BW(n)||(n=this.elements.container),n[BW(e)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",e),BW(this.elements.controls)||$Z.findElements.call(this),!UW(this.elements.buttons)){const e=e=>{const t=this.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:()=>rZ(e,t),set(n=!1){nZ(e,t,n)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((t=>{FW(t)||jW(t)?Array.from(t).filter(Boolean).forEach(e):e(t)}))}if(qW.isEdge&&HW(n),this.config.tooltips.controls){const{classNames:e,selectors:t}=this.config,n=`${t.controls.wrapper} ${t.labels} .${e.hidden}`,r=iZ.call(this,n);Array.from(r).forEach((e=>{nZ(e,this.config.classNames.hidden,!1),nZ(e,this.config.classNames.tooltip,!0)}))}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch(e){}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;const n=null===(e=this.config.markers)||void 0===e||null===(t=e.points)||void 0===t?void 0:t.filter((({time:e})=>e>0&&e<this.duration));if(null==n||!n.length)return;const r=document.createDocumentFragment(),o=document.createDocumentFragment();let i=null;const a=`${this.config.classNames.tooltip}--visible`,s=e=>nZ(i,a,e);n.forEach((e=>{const t=YW("span",{class:this.config.classNames.marker},""),n=e.time/this.duration*100+"%";i&&(t.addEventListener("mouseenter",(()=>{e.label||(i.style.left=n,i.innerHTML=e.label,s(!0))})),t.addEventListener("mouseleave",(()=>{s(!1)}))),t.addEventListener("click",(()=>{this.currentTime=e.time})),t.style.left=n,o.appendChild(t)})),r.appendChild(o),this.config.tooltips.seek||(i=YW("span",{class:this.config.classNames.tooltip},""),r.appendChild(i)),this.elements.markers={points:o,tip:i},this.elements.progress.appendChild(r)}};function HZ(e,t=!0){let n=e;if(t){const e=document.createElement("a");e.href=n,n=e.href}try{return new URL(n)}catch(e){return null}}function qZ(e){const t=new URLSearchParams;return DW(e)&&Object.entries(e).forEach((([e,n])=>{t.set(e,n)})),t}const VZ={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!uZ.textTracks)return void(FW(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$Z.setCaptionsMenu.call(this));if(BW(this.elements.captions)||(this.elements.captions=YW("div",eZ(this.config.selectors.captions)),function(e,t){BW(e)&&BW(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),qW.isIE&&window.URL){const e=this.media.querySelectorAll("track");Array.from(e).forEach((e=>{const t=e.getAttribute("src"),n=HZ(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&MZ(t,"blob").then((t=>{e.setAttribute("src",window.URL.createObjectURL(t))})).catch((()=>{KW(e)}))}))}const e=bZ((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((e=>e.split("-")[0])));let t=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===t&&([t]=e);let n=this.storage.get("captions");if(PW(n)||({active:n}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:n,language:t,languages:e}),this.isHTML5){const e=this.config.captions.update?"addtrack removetrack":"removetrack";dZ.call(this,this.media.textTracks,e,VZ.update.bind(this))}setTimeout(VZ.update.bind(this),0)},update(){const e=VZ.getTracks.call(this,!0),{active:t,language:n,meta:r,currentTrackNode:o}=this.captions,i=Boolean(e.find((e=>e.language===n)));this.isHTML5&&this.isVideo&&e.filter((e=>!r.get(e))).forEach((e=>{this.debug.log("Track added",e),r.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),dZ.call(this,e,"cuechange",(()=>VZ.updateCues.call(this)))})),(i&&this.language!==n||!e.includes(o))&&(VZ.setLanguage.call(this,n),VZ.toggle.call(this,t&&i)),this.elements&&nZ(this.elements.container,this.config.classNames.captions.enabled,!UW(e)),FW(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$Z.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:n}=this.captions,r=this.config.classNames.captions.active,o=SW(e)?!n:e;if(o!==n){if(t||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!t){const e=VZ.getTracks.call(this),t=VZ.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void VZ.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),nZ(this.elements.container,r,o),this.captions.toggled=o,$Z.updateSetting.call(this,"captions"),mZ.call(this,this.media,o?"captionsenabled":"captionsdisabled")}setTimeout((()=>{o&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")}))},set(e,t=!0){const n=VZ.getTracks.call(this);if(-1!==e)if(TW(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const r=n[e],{language:o}=r||{};this.captions.currentTrackNode=r,$Z.updateSetting.call(this,"captions"),t||(this.captions.language=o,this.storage.set({language:o})),this.isVimeo&&this.embed.enableTextTrack(o),mZ.call(this,this.media,"languagechange")}VZ.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&VZ.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else VZ.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!OW(e))return void this.debug.warn("Invalid language argument",e);const n=e.toLowerCase();this.captions.language=n;const r=VZ.getTracks.call(this),o=VZ.findTrack.call(this,[n]);VZ.set.call(this,r.indexOf(o),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter((t=>!this.isHTML5||e||this.captions.meta.has(t))).filter((e=>["captions","subtitles"].includes(e.kind)))},findTrack(e,t=!1){const n=VZ.getTracks.call(this),r=e=>Number((this.captions.meta.get(e)||{}).default),o=Array.from(n).sort(((e,t)=>r(t)-r(e)));let i;return e.every((e=>(i=o.find((t=>t.language===e)),!i))),i||(t?o[0]:void 0)},getCurrentTrack(){return VZ.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!MW(t)&&uZ.textTracks&&this.captions.toggled&&(t=VZ.getCurrentTrack.call(this)),MW(t)?UW(t.label)?UW(t.language)?IZ.get("enabled",this.config):e.language.toUpperCase():t.label:IZ.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!BW(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!SW(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;if(!t){const e=VZ.getCurrentTrack.call(this);t=Array.from((e||{}).activeCues||[]).map((e=>e.getCueAsHTML())).map(jZ)}const n=t.map((e=>e.trim())).join("\n");if(n!==this.elements.captions.innerHTML){QW(this.elements.captions);const e=YW("span",eZ(this.config.selectors.caption));e.innerHTML=n,this.elements.captions.appendChild(e),mZ.call(this,this.media,"cuechange")}}},GZ={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.7.2/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},WZ="picture-in-picture",ZZ="inline",YZ={html5:"html5",youtube:"youtube",vimeo:"vimeo"},XZ="audio",KZ="video";const QZ=()=>{};class JZ{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(YG.log,YG):QZ}get warn(){return this.enabled?Function.prototype.bind.call(YG.warn,YG):QZ}get error(){return this.enabled?Function.prototype.bind.call(YG.error,YG):QZ}}class eY{constructor(e){XG(this,"onChange",(()=>{if(!this.enabled)return;const e=this.player.elements.buttons.fullscreen;BW(e)&&(e.pressed=this.active);const t=this.target===this.player.media?this.target:this.player.elements.container;mZ.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)})),XG(this,"toggleFallback",((e=!1)=>{if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",nZ(this.target,this.player.config.classNames.fullscreen.fallback,e),qW.isIos){let t=document.head.querySelector('meta[name="viewport"]');const n="viewport-fit=cover";t||(t=document.createElement("meta"),t.setAttribute("name","viewport"));const r=OW(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!r,r||(t.content+=`,${n}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter((e=>e.trim()!==n)).join(","))}this.onChange()})),XG(this,"trapFocus",(e=>{if(qW.isIos||!this.active||"Tab"!==e.key)return;const t=document.activeElement,n=iZ.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=n,o=n[n.length-1];t!==o||e.shiftKey?t===r&&e.shiftKey&&(o.focus(),e.preventDefault()):(r.focus(),e.preventDefault())})),XG(this,"update",(()=>{if(this.enabled){let e;e=this.forceFallback?"Fallback (forced)":eY.native?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");nZ(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)})),XG(this,"enter",(()=>{this.enabled&&(qW.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!eY.native||this.forceFallback?this.toggleFallback(!0):this.prefix?UW(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))})),XG(this,"exit",(()=>{if(this.enabled)if(qW.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),yZ(this.player.play());else if(!eY.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!UW(this.prefix)){const e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),XG(this,"toggle",(()=>{this.active?this.exit():this.enter()})),this.player=e,this.prefix=eY.prefix,this.property=eY.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===e.config.fullscreen.fallback,this.player.elements.fullscreen=e.config.fullscreen.container&&function(e,t){const{prototype:n}=Element;return(n.closest||function(){let e=this;do{if(oZ.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,e.config.fullscreen.container),dZ.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,(()=>{this.onChange()})),dZ.call(this.player,this.player.elements.container,"dblclick",(e=>{BW(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")})),dZ.call(this,this.player.elements.container,"keydown",(e=>this.trapFocus(e))),this.update()}static get native(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get usingNative(){return eY.native&&!this.forceFallback}static get prefix(){if(LW(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some((t=>!(!LW(document[`${t}ExitFullscreen`])&&!LW(document[`${t}CancelFullScreen`])||(e=t,0)))),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get enabled(){return(eY.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}get active(){if(!this.enabled)return!1;if(!eY.native||this.forceFallback)return rZ(this.target,this.player.config.classNames.fullscreen.fallback);const e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){return qW.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}function tY(e,t=1){return new Promise(((n,r)=>{const o=new Image,i=()=>{delete o.onload,delete o.onerror,(o.naturalWidth>=t?n:r)(o)};Object.assign(o,{onload:i,onerror:i,src:e})}))}const nY={addStyleHook(){nZ(this.elements.container,this.config.selectors.container.replace(".",""),!0),nZ(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void nY.toggleNativeControls.call(this,!0);BW(this.elements.controls)||($Z.inject.call(this),this.listeners.controls()),nY.toggleNativeControls.call(this),this.isHTML5&&VZ.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,$Z.updateVolume.call(this),$Z.timeUpdate.call(this),$Z.durationUpdate.call(this),nY.checkPlaying.call(this),nZ(this.elements.container,this.config.classNames.pip.supported,uZ.pip&&this.isHTML5&&this.isVideo),nZ(this.elements.container,this.config.classNames.airplay.supported,uZ.airplay&&this.isHTML5),nZ(this.elements.container,this.config.classNames.isIos,qW.isIos),nZ(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((()=>{mZ.call(this,this.media,"ready")}),0),nY.setTitle.call(this),this.poster&&nY.setPoster.call(this,this.poster,!1).catch((()=>{})),this.config.duration&&$Z.durationUpdate.call(this),this.config.mediaMetadata&&$Z.setMediaMetadata.call(this)},setTitle(){let e=IZ.get("play",this.config);if(OW(this.config.title)&&!UW(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach((t=>{t.setAttribute("aria-label",e)})),this.isEmbed){const e=aZ.call(this,"iframe");if(!BW(e))return;const t=UW(this.config.title)?"video":this.config.title,n=IZ.get("frameTitle",this.config);e.setAttribute("title",n.replace("{title}",t))}},togglePoster(e){nZ(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),vZ.call(this).then((()=>tY(e))).catch((t=>{throw e===this.poster&&nY.togglePoster.call(this,!1),t})).then((()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),nY.togglePoster.call(this,!0),e))))},checkPlaying(e){nZ(this.elements.container,this.config.classNames.playing,this.playing),nZ(this.elements.container,this.config.classNames.paused,this.paused),nZ(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",IZ.get(this.playing?"pause":"play",this.config))})),IW(e)&&"timeupdate"===e.type||nY.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((()=>{nZ(this.elements.container,this.config.classNames.loading,this.loading),nY.toggleControls.call(this)}),this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles(){Object.values({...this.media.style}).filter((e=>!UW(e)&&OW(e)&&e.startsWith("--plyr"))).forEach((e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)})),UW(this.media.style)&&this.media.removeAttribute("style")}};class rY{constructor(e){XG(this,"firstTouch",(()=>{const{player:e}=this,{elements:t}=e;e.touch=!0,nZ(t.container,e.config.classNames.isTouch,!0)})),XG(this,"setTabFocus",(e=>{const{player:t}=this,{elements:n}=t,{key:r,type:o,timeStamp:i}=e;if(clearTimeout(this.focusTimer),"keydown"===o&&"Tab"!==r)return;"keydown"===o&&(this.lastKeyDown=i);const a=i-this.lastKeyDown<=20;("focus"!==o||a)&&((()=>{const e=t.config.classNames.tabFocus;nZ(iZ.call(t,`.${e}`),e,!1)})(),"focusout"!==o&&(this.focusTimer=setTimeout((()=>{const e=document.activeElement;n.container.contains(e)&&nZ(document.activeElement,t.config.classNames.tabFocus,!0)}),10)))})),XG(this,"global",((e=!0)=>{const{player:t}=this;t.config.keyboard.global&&pZ.call(t,window,"keydown keyup",this.handleKey,e,!1),pZ.call(t,document.body,"click",this.toggleMenu,e),hZ.call(t,document.body,"touchstart",this.firstTouch),pZ.call(t,document.body,"keydown focus blur focusout",this.setTabFocus,e,!1,!0)})),XG(this,"container",(()=>{const{player:e}=this,{config:t,elements:n,timers:r}=e;!t.keyboard.global&&t.keyboard.focused&&dZ.call(e,n.container,"keydown keyup",this.handleKey,!1),dZ.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(t=>{const{controls:o}=n;o&&"enterfullscreen"===t.type&&(o.pressed=!1,o.hover=!1);let i=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(nY.toggleControls.call(e,!0),i=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout((()=>nY.toggleControls.call(e,!1)),i)}));const o=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=n.wrapper,{active:r}=e.fullscreen,[o,i]=_Z.call(e),a=CZ(`aspect-ratio: ${o} / ${i}`);if(!r)return void(a?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[s,l]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],u=s/l>o/i;a?(t.style.width=u?"auto":"100%",t.style.height=u?"100%":"auto"):(t.style.maxWidth=u?l/i*o+"px":null,t.style.margin=u?"0 auto":null)},i=()=>{clearTimeout(r.resized),r.resized=setTimeout(o,50)};dZ.call(e,n.container,"enterfullscreen exitfullscreen",(t=>{const{target:r}=e.fullscreen;r===n.container&&(!e.isEmbed&&UW(e.config.ratio)||(o(),("enterfullscreen"===t.type?dZ:fZ).call(e,window,"resize",i)))}))})),XG(this,"media",(()=>{const{player:e}=this,{elements:t}=e;if(dZ.call(e,e.media,"timeupdate seeking seeked",(t=>$Z.timeUpdate.call(e,t))),dZ.call(e,e.media,"durationchange loadeddata loadedmetadata",(t=>$Z.durationUpdate.call(e,t))),dZ.call(e,e.media,"ended",(()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),dZ.call(e,e.media,"progress playing seeking seeked",(t=>$Z.updateProgress.call(e,t))),dZ.call(e,e.media,"volumechange",(t=>$Z.updateVolume.call(e,t))),dZ.call(e,e.media,"playing play pause ended emptied timeupdate",(t=>nY.checkPlaying.call(e,t))),dZ.call(e,e.media,"waiting canplay seeked playing",(t=>nY.checkLoading.call(e,t))),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){const n=aZ.call(e,`.${e.config.classNames.video}`);if(!BW(n))return;dZ.call(e,t.container,"click",(r=>{([t.container,n].includes(r.target)||n.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(r,e.restart,"restart"),this.proxy(r,(()=>{yZ(e.play())}),"play")):this.proxy(r,(()=>{yZ(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&dZ.call(e,t.wrapper,"contextmenu",(e=>{e.preventDefault()}),!1),dZ.call(e,e.media,"volumechange",(()=>{e.storage.set({volume:e.volume,muted:e.muted})})),dZ.call(e,e.media,"ratechange",(()=>{$Z.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),dZ.call(e,e.media,"qualitychange",(t=>{$Z.updateSetting.call(e,"quality",null,t.detail.quality)})),dZ.call(e,e.media,"ready qualitychange",(()=>{$Z.setDownloadUrl.call(e)}));const n=e.config.events.concat(["keyup","keydown"]).join(" ");dZ.call(e,e.media,n,(n=>{let{detail:r={}}=n;"error"===n.type&&(r=e.media.error),mZ.call(e,t.container,n.type,!0,r)}))})),XG(this,"proxy",((e,t,n)=>{const{player:r}=this,o=r.config.listeners[n];let i=!0;LW(o)&&(i=o.call(r,e)),!1!==i&&LW(t)&&t.call(r,e)})),XG(this,"bind",((e,t,n,r,o=!0)=>{const{player:i}=this,a=i.config.listeners[r],s=LW(a);dZ.call(i,e,t,(e=>this.proxy(e,n,r)),o&&!s)})),XG(this,"controls",(()=>{const{player:e}=this,{elements:t}=e,n=qW.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((t=>{this.bind(t,"click",(()=>{yZ(e.togglePlay())}),"play")})),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",(()=>{e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),this.bind(t.buttons.fastForward,"click",(()=>{e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),this.bind(t.buttons.mute,"click",(()=>{e.muted=!e.muted}),"mute"),this.bind(t.buttons.captions,"click",(()=>e.toggleCaptions())),this.bind(t.buttons.download,"click",(()=>{mZ.call(e,e.media,"download")}),"download"),this.bind(t.buttons.fullscreen,"click",(()=>{e.fullscreen.toggle()}),"fullscreen"),this.bind(t.buttons.pip,"click",(()=>{e.pip="toggle"}),"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",(t=>{t.stopPropagation(),t.preventDefault(),$Z.toggleMenu.call(e,t)}),null,!1),this.bind(t.buttons.settings,"keyup",(t=>{["Space","Enter"].includes(t.key)&&("Enter"!==t.key?(t.preventDefault(),t.stopPropagation(),$Z.toggleMenu.call(e,t)):$Z.focusFirstMenuItem.call(e,null,!0))}),null,!1),this.bind(t.settings.menu,"keydown",(t=>{"Escape"===t.key&&$Z.toggleMenu.call(e,t)})),this.bind(t.inputs.seek,"mousedown mousemove",(e=>{const n=t.progress.getBoundingClientRect(),r=100/n.width*(e.pageX-n.left);e.currentTarget.setAttribute("seek-value",r)})),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(t=>{const n=t.currentTarget,r="play-on-seeked";if(NW(t)&&!["ArrowLeft","ArrowRight"].includes(t.key))return;e.lastSeekTime=Date.now();const o=n.hasAttribute(r),i=["mouseup","touchend","keyup"].includes(t.type);o&&i?(n.removeAttribute(r),yZ(e.play())):!i&&e.playing&&(n.setAttribute(r,""),e.pause())})),qW.isIos){const t=iZ.call(e,'input[type="range"]');Array.from(t).forEach((e=>this.bind(e,n,(e=>HW(e.target)))))}this.bind(t.inputs.seek,n,(t=>{const n=t.currentTarget;let r=n.getAttribute("seek-value");UW(r)&&(r=n.value),n.removeAttribute("seek-value"),e.currentTime=r/n.max*e.duration}),"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",(t=>$Z.updateSeekTooltip.call(e,t))),this.bind(t.progress,"mousemove touchmove",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startMove(t)})),this.bind(t.progress,"mouseleave touchend click",(()=>{const{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)})),this.bind(t.progress,"mousedown touchstart",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startScrubbing(t)})),this.bind(t.progress,"mouseup touchend",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.endScrubbing(t)})),qW.isWebkit&&Array.from(iZ.call(e,'input[type="range"]')).forEach((t=>{this.bind(t,"input",(t=>$Z.updateRangeFill.call(e,t.target)))})),e.config.toggleInvert&&!BW(t.display.duration)&&this.bind(t.display.currentTime,"click",(()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,$Z.timeUpdate.call(e))})),this.bind(t.inputs.volume,n,(t=>{e.volume=t.target.value}),"volume"),this.bind(t.controls,"mouseenter mouseleave",(n=>{t.controls.hover=!e.touch&&"mouseenter"===n.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((e=>!e.contains(t.container))).forEach((n=>{this.bind(n,"mouseenter mouseleave",(n=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===n.type)}))})),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(t.controls,"focusin",(()=>{const{config:n,timers:r}=e;nZ(t.controls,n.classNames.noTransition,!0),nY.toggleControls.call(e,!0),setTimeout((()=>{nZ(t.controls,n.classNames.noTransition,!1)}),0);const o=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout((()=>nY.toggleControls.call(e,!1)),o)})),this.bind(t.inputs.volume,"wheel",(t=>{const n=t.webkitDirectionInvertedFromDevice,[r,o]=[t.deltaX,-t.deltaY].map((e=>n?-e:e)),i=Math.sign(Math.abs(r)>Math.abs(o)?r:o);e.increaseVolume(i/50);const{volume:a}=e.media;(1===i&&a<1||-1===i&&a>0)&&t.preventDefault()}),"volume",!1)})),this.player=e,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){const{player:t}=this,{elements:n}=t,{key:r,type:o,altKey:i,ctrlKey:a,metaKey:s,shiftKey:l}=e,u="keydown"===o,c=u&&r===this.lastKey;var p;if(!(i||a||s||l)&&r)if(u){const o=document.activeElement;if(BW(o)){const{editable:r}=t.config.selectors,{seek:i}=n.inputs;if(o!==i&&oZ(o,r))return;if("Space"===e.key&&oZ(o,'button, [role^="menuitem"]'))return}switch(["Space","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(r)&&(e.preventDefault(),e.stopPropagation()),r){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c||(p=parseInt(r,10),t.currentTime=t.duration/10*p);break;case"Space":case"k":c||yZ(t.togglePlay());break;case"ArrowUp":t.increaseVolume(.1);break;case"ArrowDown":t.decreaseVolume(.1);break;case"m":c||(t.muted=!t.muted);break;case"ArrowRight":t.forward();break;case"ArrowLeft":t.rewind();break;case"f":t.fullscreen.toggle();break;case"c":c||t.toggleCaptions();break;case"l":t.loop=!t.loop}"Escape"===r&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=r}else this.lastKey=null}toggleMenu(e){$Z.toggleMenu.call(this.player,e)}}var oY=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},n={},r={};function o(e,t){if(e){var o=r[e];if(n[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function i(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function a(t,n,r,o){var i,s,l=document,u=r.async,c=(r.numRetries||0)+1,p=r.before||e,d=t.replace(/[\?|#].*$/,""),f=t.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(d)?((s=l.createElement("link")).rel="stylesheet",s.href=f,(i="hideFocus"in s)&&s.relList&&(i=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(d)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=t,s.async=void 0===u||u),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(i)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((o+=1)<c)return a(t,n,r,o)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==p(t,s)&&l.head.appendChild(s)}function s(e,t,n){var r,o,i=(e=e.push?e:[e]).length,s=i,l=[];for(r=function(e,n,r){if("e"==n&&l.push(e),"b"==n){if(!r)return;l.push(e)}--i||t(l)},o=0;o<s;o++)a(e[o],r,n)}function l(e,n,r){var a,l;if(n&&n.trim&&(a=n),l=(a?r:n)||{},a){if(a in t)throw"LoadJS";t[a]=!0}function u(t,n){s(e,(function(e){i(l,e),t&&i({success:t,error:n},e),o(a,e)}),l)}if(l.returnPromise)return new Promise(u);u()}return l.ready=function(e,t){return function(e,t){e=e.push?e:[e];var o,i,a,s=[],l=e.length,u=l;for(o=function(e,n){n.length&&s.push(e),--u||t(s)};l--;)i=e[l],(a=n[i])?o(i,a):(r[i]=r[i]||[]).push(o)}(e,(function(e){i(t,e)})),l},l.done=function(e){o(e,[])},l.reset=function(){t={},n={},r={}},l.isDefined=function(e){return e in t},l}()}));function iY(e){return new Promise(((t,n)=>{oY(e,{success:t,error:n})}))}function aY(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,mZ.call(this,this.media,e?"play":"pause"))}const sY={setup(){const e=this;nZ(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,kZ.call(e),DW(window.Vimeo)?sY.ready.call(e):iY(e.config.urls.vimeo.sdk).then((()=>{sY.ready.call(e)})).catch((t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready(){const e=this,t=e.config.vimeo,{premium:n,referrerPolicy:r,...o}=t;let i=e.media.getAttribute("src"),a="";UW(i)?(i=e.media.getAttribute(e.config.attributes.embed.id),a=e.media.getAttribute(e.config.attributes.embed.hash)):a=function(e){const t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}(i);const s=a?{h:a}:{};n&&Object.assign(o,{controls:!1,sidedock:!1});const l=qZ({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative,...s,...o}),u=function(e){return UW(e)?null:TW(Number(e))?e:e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e}(i),c=YW("iframe"),p=OZ(e.config.urls.vimeo.iframe,u,l);if(c.setAttribute("src",p),c.setAttribute("allowfullscreen",""),c.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),UW(r)||c.setAttribute("referrerPolicy",r),n||!t.customControls)c.setAttribute("data-poster",e.poster),e.media=JW(c,e.media);else{const t=YW("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});t.appendChild(c),e.media=JW(t,e.media)}t.customControls||MZ(OZ(e.config.urls.vimeo.api,p)).then((t=>{!UW(t)&&t.thumbnail_url&&nY.setPoster.call(e,t.thumbnail_url).catch((()=>{}))})),e.embed=new window.Vimeo.Player(c,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(aY.call(e,!0),e.embed.play()),e.media.pause=()=>(aY.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:d}=e.media;Object.defineProperty(e.media,"currentTime",{get:()=>d,set(t){const{embed:n,media:r,paused:o,volume:i}=e,a=o&&!n.hasPlayed;r.seeking=!0,mZ.call(e,r,"seeking"),Promise.resolve(a&&n.setVolume(0)).then((()=>n.setCurrentTime(t))).then((()=>a&&n.pause())).then((()=>a&&n.setVolume(i))).catch((()=>{}))}});let f=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:()=>f,set(t){e.embed.setPlaybackRate(t).then((()=>{f=t,mZ.call(e,e.media,"ratechange")})).catch((()=>{e.options.speed=[1]}))}});let{volume:h}=e.config;Object.defineProperty(e.media,"volume",{get:()=>h,set(t){e.embed.setVolume(t).then((()=>{h=t,mZ.call(e,e.media,"volumechange")}))}});let{muted:m}=e.config;Object.defineProperty(e.media,"muted",{get:()=>m,set(t){const n=!!PW(t)&&t;e.embed.setVolume(n?0:e.config.volume).then((()=>{m=n,mZ.call(e,e.media,"volumechange")}))}});let g,{loop:v}=e.config;Object.defineProperty(e.media,"loop",{get:()=>v,set(t){const n=PW(t)?t:e.config.loop.active;e.embed.setLoop(n).then((()=>{v=n}))}}),e.embed.getVideoUrl().then((t=>{g=t,$Z.setDownloadUrl.call(e)})).catch((e=>{this.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:()=>g}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((t=>{const[n,r]=t;e.embed.ratio=SZ(n,r),kZ.call(this)})),e.embed.setAutopause(e.config.autopause).then((t=>{e.config.autopause=t})),e.embed.getVideoTitle().then((t=>{e.config.title=t,nY.setTitle.call(this)})),e.embed.getCurrentTime().then((t=>{d=t,mZ.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((t=>{e.media.duration=t,mZ.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((t=>{e.media.textTracks=t,VZ.setup.call(e)})),e.embed.on("cuechange",(({cues:t=[]})=>{const n=t.map((e=>function(e){const t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)));VZ.updateCues.call(e,n)})),e.embed.on("loaded",(()=>{e.embed.getPaused().then((t=>{aY.call(e,!t),t||mZ.call(e,e.media,"playing")})),BW(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("bufferstart",(()=>{mZ.call(e,e.media,"waiting")})),e.embed.on("bufferend",(()=>{mZ.call(e,e.media,"playing")})),e.embed.on("play",(()=>{aY.call(e,!0),mZ.call(e,e.media,"playing")})),e.embed.on("pause",(()=>{aY.call(e,!1)})),e.embed.on("timeupdate",(t=>{e.media.seeking=!1,d=t.seconds,mZ.call(e,e.media,"timeupdate")})),e.embed.on("progress",(t=>{e.media.buffered=t.percent,mZ.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&mZ.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((t=>{t!==e.media.duration&&(e.media.duration=t,mZ.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(()=>{e.media.seeking=!1,mZ.call(e,e.media,"seeked")})),e.embed.on("ended",(()=>{e.media.paused=!0,mZ.call(e,e.media,"ended")})),e.embed.on("error",(t=>{e.media.error=t,mZ.call(e,e.media,"error")})),t.customControls&&setTimeout((()=>nY.build.call(e)),0)}};function lY(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,mZ.call(this,this.media,e?"play":"pause"))}function uY(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}const cY={setup(){if(nZ(this.elements.wrapper,this.config.classNames.embed,!0),DW(window.YT)&&LW(window.YT.Player))cY.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{LW(e)&&e(),cY.ready.call(this)},iY(this.config.urls.youtube.sdk).catch((e=>{this.debug.warn("YouTube API failed to load",e)}))}},getTitle(e){MZ(OZ(this.config.urls.youtube.api,e)).then((e=>{if(DW(e)){const{title:t,height:n,width:r}=e;this.config.title=t,nY.setTitle.call(this),this.embed.ratio=SZ(r,n)}kZ.call(this)})).catch((()=>{kZ.call(this)}))},ready(){const e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(!UW(n)&&n.startsWith("youtube-"))return;let r=e.media.getAttribute("src");UW(r)&&(r=e.media.getAttribute(this.config.attributes.embed.id));const o=function(e){return UW(e)?null:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:e}(r),i=YW("div",{id:TZ(e.provider),"data-poster":t.customControls?e.poster:void 0});if(e.media=JW(i,e.media),t.customControls){const t=e=>`https://i.ytimg.com/vi/${o}/${e}default.jpg`;tY(t("maxres"),121).catch((()=>tY(t("sd"),121))).catch((()=>tY(t("hq")))).then((t=>nY.setPoster.call(e,t.src))).then((t=>{t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((()=>{}))}e.embed=new window.YT.Player(e.media,{videoId:o,host:uY(t),playerVars:GW({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(t){if(!e.media.error){const n=t.data,r={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:r},mZ.call(e,e.media,"error")}},onPlaybackRateChange(t){const n=t.target;e.media.playbackRate=n.getPlaybackRate(),mZ.call(e,e.media,"ratechange")},onReady(n){if(LW(e.media.play))return;const r=n.target;cY.getTitle.call(e,o),e.media.play=()=>{lY.call(e,!0),r.playVideo()},e.media.pause=()=>{lY.call(e,!1),r.pauseVideo()},e.media.stop=()=>{r.stopVideo()},e.media.duration=r.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:()=>Number(r.getCurrentTime()),set(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,mZ.call(e,e.media,"seeking"),r.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:()=>r.getPlaybackRate(),set(e){r.setPlaybackRate(e)}});let{volume:i}=e.config;Object.defineProperty(e.media,"volume",{get:()=>i,set(t){i=t,r.setVolume(100*i),mZ.call(e,e.media,"volumechange")}});let{muted:a}=e.config;Object.defineProperty(e.media,"muted",{get:()=>a,set(t){const n=PW(t)?t:a;a=n,r[n?"mute":"unMute"](),r.setVolume(100*i),mZ.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:()=>r.getVideoUrl()}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration});const s=r.getAvailablePlaybackRates();e.options.speed=s.filter((t=>e.config.speed.options.includes(t))),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),mZ.call(e,e.media,"timeupdate"),mZ.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((()=>{e.media.buffered=r.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&mZ.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),mZ.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((()=>nY.build.call(e)),50)},onStateChange(n){const r=n.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(n.data)&&(e.media.seeking=!1,mZ.call(e,e.media,"seeked")),n.data){case-1:mZ.call(e,e.media,"timeupdate"),e.media.buffered=r.getVideoLoadedFraction(),mZ.call(e,e.media,"progress");break;case 0:lY.call(e,!1),e.media.loop?(r.stopVideo(),r.playVideo()):mZ.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(lY.call(e,!0),mZ.call(e,e.media,"playing"),e.timers.playing=setInterval((()=>{mZ.call(e,e.media,"timeupdate")}),50),e.media.duration!==r.getDuration()&&(e.media.duration=r.getDuration(),mZ.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),lY.call(e,!1);break;case 3:mZ.call(e,e.media,"waiting")}mZ.call(e,e.elements.container,"statechange",!1,{code:n.data})}}})}},pY={setup(){this.media?(nZ(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),nZ(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&nZ(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=YW("div",{class:this.config.classNames.video}),WW(this.media,this.elements.wrapper),this.elements.poster=YW("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?DZ.setup.call(this):this.isYouTube?cY.setup.call(this):this.isVimeo&&sY.setup.call(this)):this.debug.warn("No media element found!")}};class dY{constructor(e){XG(this,"load",(()=>{this.enabled&&(DW(window.google)&&DW(window.google.ima)?this.ready():iY(this.player.config.urls.googleIMA.sdk).then((()=>{this.ready()})).catch((()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))})))})),XG(this,"ready",(()=>{var e;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((()=>{this.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()})),XG(this,"setupIMA",(()=>{this.elements.container=YW("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(e=>this.onAdsManagerLoaded(e)),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e)),!1),this.requestAds()})),XG(this,"requestAds",(()=>{const{container:e}=this.player.elements;try{const t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}})),XG(this,"pollCountdown",((e=!1)=>{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((()=>{const e=UZ(Math.max(this.manager.getRemainingTime(),0)),t=`${IZ.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)}),100)})),XG(this,"onAdsManagerLoaded",(e=>{if(!this.enabled)return;const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e))),Object.keys(google.ima.AdEvent.Type).forEach((e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],(e=>this.onAdEvent(e)))})),this.trigger("loaded")})),XG(this,"addCuePoints",(()=>{UW(this.cuePoints)||this.cuePoints.forEach((e=>{if(0!==e&&-1!==e&&e<this.player.duration){const t=this.player.elements.progress;if(BW(t)){const n=100/this.player.duration*e,r=YW("span",{class:this.player.config.classNames.cues});r.style.left=`${n.toString()}%`,t.appendChild(r)}}}))})),XG(this,"onAdEvent",(e=>{const{container:t}=this.player.elements,n=e.getAd(),r=e.getAdData();switch((e=>{mZ.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),n.isLinear()||(n.width=t.offsetWidth,n.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`)}})),XG(this,"onAdError",(e=>{this.cancel(),this.player.debug.warn("Ads error",e)})),XG(this,"listeners",(()=>{const{container:e}=this.player.elements;let t;this.player.on("canplay",(()=>{this.addCuePoints()})),this.player.on("ended",(()=>{this.loader.contentComplete()})),this.player.on("timeupdate",(()=>{t=this.player.currentTime})),this.player.on("seeked",(()=>{const e=this.player.currentTime;UW(this.cuePoints)||this.cuePoints.forEach(((n,r)=>{t<n&&n<e&&(this.manager.discardAdBreak(),this.cuePoints.splice(r,1))}))})),window.addEventListener("resize",(()=>{this.manager&&this.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)}))})),XG(this,"play",(()=>{const{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then((()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}})).catch((()=>{}))})),XG(this,"resumeContent",(()=>{this.elements.container.style.zIndex="",this.playing=!1,yZ(this.player.media.play())})),XG(this,"pauseContent",(()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()})),XG(this,"cancel",(()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()})),XG(this,"loadAds",(()=>{this.managerPromise.then((()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise((e=>{this.on("loaded",e),this.player.debug.log(this.manager)})),this.initialized=!1,this.requestAds()})).catch((()=>{}))})),XG(this,"trigger",((e,...t)=>{const n=this.events[e];FW(n)&&n.forEach((e=>{LW(e)&&e.apply(this,t)}))})),XG(this,"on",((e,t)=>(FW(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this))),XG(this,"startSafetyTimer",((e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout((()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")}),e)})),XG(this,"clearSafetyTimer",(e=>{SW(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)})),this.player=e,this.config=e.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(((e,t)=>{this.on("loaded",e),this.on("error",t)})),this.load()}get enabled(){const{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!UW(e.publisherId)||zW(e.tagUrl))}get tagUrl(){const{config:e}=this;return zW(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${qZ({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}function fY(e=0,t=0,n=255){return Math.min(Math.max(e,t),n)}const hY=e=>{const t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((e=>{const n={};e.split(/\r\n|\n|\r/).forEach((e=>{if(TW(n.startTime)){if(!UW(e.trim())&&UW(n.text)){const t=e.trim().split("#xywh=");[n.text]=t,t[1]&&([n.x,n.y,n.w,n.h]=t[1].split(","))}}else{const t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(n.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),n.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}})),n.text&&t.push(n)})),t},mY=(e,t)=>{const n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n};class gY{constructor(e){XG(this,"load",(()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.loaded=!0)}))})),XG(this,"getThumbnails",(()=>new Promise((e=>{const{src:t}=this.player.config.previewThumbnails;if(UW(t))throw new Error("Missing previewThumbnails.src config attribute");const n=()=>{this.thumbnails.sort(((e,t)=>e.height-t.height)),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};if(LW(t))t((e=>{this.thumbnails=e,n()}));else{const e=(OW(t)?[t]:t).map((e=>this.getThumbnail(e)));Promise.all(e).then(n)}})))),XG(this,"getThumbnail",(e=>new Promise((t=>{MZ(e).then((n=>{const r={frames:hY(n),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));const o=new Image;o.onload=()=>{r.height=o.naturalHeight,r.width=o.naturalWidth,this.thumbnails.push(r),t()},o.src=r.urlPrefix+r.frames[0].text}))})))),XG(this,"startMove",(e=>{if(this.loaded&&IW(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t,n;const r=this.player.elements.progress.getBoundingClientRect(),o=100/r.width*(e.pageX-r.left);this.seekTime=this.player.media.duration*(o/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=UZ(this.seekTime);const i=null===(t=this.player.config.markers)||void 0===t||null===(n=t.points)||void 0===n?void 0:n.find((({time:e})=>e===Math.round(this.seekTime)));i&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${i.label}<br>`)}this.showImageAtCurrentTime()}})),XG(this,"endMove",(()=>{this.toggleThumbContainer(!1,!0)})),XG(this,"startScrubbing",(e=>{(SW(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))})),XG(this,"endScrubbing",(()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):hZ.call(this.player,this.player.media,"timeupdate",(()=>{this.mouseDown||this.toggleScrubbingContainer(!1)}))})),XG(this,"listeners",(()=>{this.player.on("play",(()=>{this.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(()=>{this.toggleThumbContainer(!1)})),this.player.on("timeupdate",(()=>{this.lastTime=this.player.media.currentTime}))})),XG(this,"render",(()=>{this.elements.thumb.container=YW("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=YW("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const e=YW("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=YW("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(e),BW(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=YW("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)})),XG(this,"destroy",(()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()})),XG(this,"showImageAtCurrentTime",(()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const e=this.thumbnails[0].frames.findIndex((e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime)),t=e>=0;let n=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach(((t,r)=>{this.loadedImages.includes(t.frames[e].text)&&(n=r)})),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(n)))})),XG(this,"loadImage",((e=0)=>{const t=this.showingThumb,n=this.thumbnails[e],{urlPrefix:r}=n,o=n.frames[t],i=n.frames[t].text,a=r+i;if(this.currentImageElement&&this.currentImageElement.dataset.filename===i)this.showImage(this.currentImageElement,o,e,t,i,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const n=new Image;n.src=a,n.dataset.index=t,n.dataset.filename=i,this.showingThumbFilename=i,this.player.debug.log(`Loading image: ${a}`),n.onload=()=>this.showImage(n,o,e,t,i,!0),this.loadingImage=n,this.removeOldImages(n)}})),XG(this,"showImage",((e,t,n,r,o,i=!0)=>{this.player.debug.log(`Showing thumb: ${o}. num: ${r}. qual: ${n}. newimg: ${i}`),this.setImageSizeAndOffset(e,t),i&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(o)||this.loadedImages.push(o)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(n,e,t,o))})),XG(this,"removeOldImages",(e=>{Array.from(this.currentImageContainer.children).forEach((t=>{if("img"!==t.tagName.toLowerCase())return;const n=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;const{currentImageContainer:e}=this;setTimeout((()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)}),n)}}))})),XG(this,"preloadNearby",((e,t=!0)=>new Promise((n=>{setTimeout((()=>{const r=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===r){let o;o=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let i=!1;o.forEach((e=>{const t=e.text;if(t!==r&&!this.loadedImages.includes(t)){i=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);const{urlPrefix:e}=this.thumbnails[0],r=e+t,o=new Image;o.src=r,o.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),n()}}})),i||n()}}),300)})))),XG(this,"getHigherQuality",((e,t,n,r)=>{if(e<this.thumbnails.length-1){let o=t.naturalHeight;this.usingSprites&&(o=n.h),o<this.thumbContainerHeight&&setTimeout((()=>{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(e+1))}),300)}})),XG(this,"toggleThumbContainer",((e=!1,t=!1)=>{const n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)})),XG(this,"toggleScrubbingContainer",((e=!1)=>{const t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)})),XG(this,"determineContainerAutoSizing",(()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)})),XG(this,"setThumbContainerSizeAndPos",(()=>{const{imageContainer:e}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(e.clientHeight>20&&e.clientWidth<20){const t=Math.floor(e.clientHeight*this.thumbAspectRatio);e.style.width=`${t}px`}else if(e.clientHeight<20&&e.clientWidth>20){const t=Math.floor(e.clientWidth/this.thumbAspectRatio);e.style.height=`${t}px`}}else{const t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);e.style.height=`${this.thumbContainerHeight}px`,e.style.width=`${t}px`}this.setThumbContainerPos()})),XG(this,"setThumbContainerPos",(()=>{const e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:n}=this.elements.thumb,r=t.left-e.left+10,o=t.right-e.left-n.clientWidth-10,i=this.mousePosX-e.left-n.clientWidth/2,a=fY(i,r,o);n.style.left=`${a}px`,n.style.setProperty("--preview-arrow-offset",i-a+"px")})),XG(this,"setScrubbingContainerSize",(()=>{const{width:e,height:t}=mY(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`})),XG(this,"setImageSizeAndOffset",((e,t)=>{if(!this.usingSprites)return;const n=this.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*n+"px",e.style.width=e.naturalWidth*n+"px",e.style.left=`-${t.x*n}px`,e.style.top=`-${t.y*n}px`})),this.player=e,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:e}=mY(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}const vY={insertElements(e,t){OW(t)?XW(e,this.media,{src:t}):FW(t)&&t.forEach((t=>{XW(e,this.media,t)}))},change(e){VW(e,"sources.length")?(DZ.cancelRequests.call(this),this.destroy.call(this,(()=>{this.options.quality=[],KW(this.media),this.media=null,BW(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:n}=e,[{provider:r=YZ.html5,src:o}]=t,i="html5"===r?n:"div",a="html5"===r?{}:{src:o};Object.assign(this,{provider:r,type:n,supported:uZ.check(n,r,this.config.playsinline),media:YW(i,a)}),this.elements.container.appendChild(this.media),PW(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),UW(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),nY.addStyleHook.call(this),this.isHTML5&&vY.insertElements.call(this,"source",t),this.config.title=e.title,pY.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&vY.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&nY.build.call(this),this.isHTML5&&this.media.load(),UW(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new gY(this))),this.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};class yY{constructor(e,t){if(XG(this,"play",(()=>LW(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((()=>this.ads.play())).catch((()=>yZ(this.media.play()))),this.media.play()):null)),XG(this,"pause",(()=>this.playing&&LW(this.media.pause)?this.media.pause():null)),XG(this,"togglePlay",(e=>(PW(e)?e:!this.playing)?this.play():this.pause())),XG(this,"stop",(()=>{this.isHTML5?(this.pause(),this.restart()):LW(this.media.stop)&&this.media.stop()})),XG(this,"restart",(()=>{this.currentTime=0})),XG(this,"rewind",(e=>{this.currentTime-=TW(e)?e:this.config.seekTime})),XG(this,"forward",(e=>{this.currentTime+=TW(e)?e:this.config.seekTime})),XG(this,"increaseVolume",(e=>{const t=this.media.muted?0:this.volume;this.volume=t+(TW(e)?e:0)})),XG(this,"decreaseVolume",(e=>{this.increaseVolume(-e)})),XG(this,"airplay",(()=>{uZ.airplay&&this.media.webkitShowPlaybackTargetPicker()})),XG(this,"toggleControls",(e=>{if(this.supported.ui&&!this.isAudio){const t=rZ(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,r=nZ(this.elements.container,this.config.classNames.hideControls,n);if(r&&FW(this.config.controls)&&this.config.controls.includes("settings")&&!UW(this.config.settings)&&$Z.toggleMenu.call(this,!1),r!==t){const e=r?"controlshidden":"controlsshown";mZ.call(this,this.media,e)}return!r}return!1})),XG(this,"on",((e,t)=>{dZ.call(this,this.elements.container,e,t)})),XG(this,"once",((e,t)=>{hZ.call(this,this.elements.container,e,t)})),XG(this,"off",((e,t)=>{fZ(this.elements.container,e,t)})),XG(this,"destroy",((e,t=!1)=>{if(!this.ready)return;const n=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(KW(this.elements.buttons.play),KW(this.elements.captions),KW(this.elements.controls),KW(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),LW(e)&&e()):(gZ.call(this),DZ.cancelRequests.call(this),JW(this.elements.original,this.elements.container),mZ.call(this,this.elements.original,"destroyed",!0),LW(e)&&e.call(this.elements.original),this.ready=!1,setTimeout((()=>{this.elements=null,this.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(nY.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&LW(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))})),XG(this,"supports",(e=>uZ.mime.call(this,e))),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=uZ.touch,this.media=e,OW(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||jW(this.media)||FW(this.media))&&(this.media=this.media[0]),this.config=GW({},GZ,yY.defaults,t||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new JZ(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",uZ),SW(this.media)||!BW(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!uZ.check().api)return void this.debug.error("Setup failed: no support");const n=this.media.cloneNode(!0);n.autoplay=!1,this.elements.original=n;const r=this.media.tagName.toLowerCase();let o=null,i=null;switch(r){case"div":if(o=this.media.querySelector("iframe"),BW(o)){if(i=HZ(o.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?YZ.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?YZ.vimeo:null}(i.toString()),this.elements.container=this.media,this.media=o,this.elements.container.className="",i.search.length){const e=["1","true"];e.includes(i.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(i.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(i.searchParams.get("playsinline")),this.config.youtube.hl=i.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(UW(this.provider)||!Object.values(YZ).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=KZ;break;case"video":case"audio":this.type=r,this.provider=YZ.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=uZ.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new rY(this),this.storage=new NZ(this),this.media.plyr=this,BW(this.elements.container)||(this.elements.container=YW("div",{tabindex:0}),WW(this.media,this.elements.container)),nY.migrateStyles.call(this),nY.addStyleHook.call(this),pY.setup.call(this),this.config.debug&&dZ.call(this,this.elements.container,this.config.events.join(" "),(e=>{this.debug.log(`event: ${e.type}`)})),this.fullscreen=new eY(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&nY.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new dY(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(()=>yZ(this.play()))),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new gY(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===YZ.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===YZ.youtube}get isVimeo(){return this.provider===YZ.vimeo}get isVideo(){return this.type===KZ}get isAudio(){return this.type===XZ}get playing(){return Boolean(this.ready&&!this.paused&&!this.ended)}get paused(){return Boolean(this.media.paused)}get stopped(){return Boolean(this.paused&&0===this.currentTime)}get ended(){return Boolean(this.media.ended)}set currentTime(e){if(!this.duration)return;const t=TW(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:e}=this.media;return TW(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return Boolean(this.media.seeking)}get duration(){const e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=TW(t)&&t!==1/0?t:0;return e||n}set volume(e){let t=e;OW(t)&&(t=Number(t)),TW(t)||(t=this.storage.get("volume")),TW(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!UW(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;PW(t)||(t=this.storage.get("muted")),PW(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return Boolean(this.media.muted)}get hasAudio(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;TW(e)&&(t=e),TW(t)||(t=this.storage.get("speed")),TW(t)||(t=this.config.speed.selected);const{minimumSpeed:n,maximumSpeed:r}=this;t=fY(t,n,r),this.config.speed.selected=t,setTimeout((()=>{this.media&&(this.media.playbackRate=t)}),0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){const t=this.config.quality,n=this.options.quality;if(!n.length)return;let r=[!UW(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(TW),o=!0;if(!n.includes(r)){const e=AZ(n,r);this.debug.warn(`Unsupported quality option: ${r}, using ${e} instead`),r=e,o=!1}t.selected=r,this.media.quality=r,o&&this.storage.set({quality:r})}get quality(){return this.media.quality}set loop(e){const t=PW(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return Boolean(this.media.loop)}set source(e){vY.change.call(this,e)}get source(){return this.media.currentSrc}get download(){const{download:e}=this.config.urls;return zW(e)?e:this.source}set download(e){zW(e)&&(this.config.urls.download=e,$Z.setDownloadUrl.call(this))}set poster(e){this.isVideo?nY.setPoster.call(this,e,!1).catch((()=>{})):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const e=EZ(_Z.call(this));return FW(e)?e.join(":"):e}set ratio(e){this.isVideo?OW(e)&&xZ(e)?(this.config.ratio=EZ(e),kZ.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){this.config.autoplay=PW(e)?e:this.config.autoplay}get autoplay(){return Boolean(this.config.autoplay)}toggleCaptions(e){VZ.toggle.call(this,e,!1)}set currentTrack(e){VZ.set.call(this,e,!1),VZ.setup.call(this)}get currentTrack(){const{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){VZ.setLanguage.call(this,e,!1)}get language(){return(VZ.getCurrentTrack.call(this)||{}).language}set pip(e){if(!uZ.pip)return;const t=PW(e)?e:!this.pip;LW(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?WZ:ZZ),LW(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return uZ.pip?UW(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===WZ:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new gY(this))}static supported(e,t,n){return uZ.check(e,t,n)}static loadSprite(e,t){return RZ(e,t)}static setup(e,t={}){let n=null;return OW(e)?n=Array.from(document.querySelectorAll(e)):jW(e)?n=Array.from(e):FW(e)&&(n=e.filter(BW)),UW(n)?null:n.map((e=>new yY(e,t)))}}var bY;yY.defaults=(bY=GZ,JSON.parse(JSON.stringify(bY)));var AY={name:"VuePlyr",props:{options:{type:Object,required:!1,default:()=>({})}},data:()=>({player:{}}),computed:{opts(){const e=this.options;return Object.prototype.hasOwnProperty.call(this.options,"hideYouTubeDOMError")||(e.hideYouTubeDOMError=!0),e}},mounted(){this.player=new yY(this.$el,this.opts)},beforeUnmount(){try{this.player.destroy()}catch(e){this.opts.hideYouTubeDOMError&&"The YouTube player is not attached to the DOM."===e.message||YG.error(e)}},render(){const e=this.$slots.default;return"function"==typeof e?e()[0]:e},__file:"lib/VuePlyr.vue",install:(e,t={})=>{t.plyr&&(AY.props.options.default=()=>({...t.plyr})),e.component(AY.name,AY)}},CY=r(9819),wY={};wY.styleTagTransform=W(),wY.setAttributes=H(),wY.insert=U().bind(null,"head"),wY.domAPI=R(),wY.insertStyleElement=V();N()(CY.Z,wY);CY.Z&&CY.Z.locals&&CY.Z.locals;function xY(e){return function(e){if(Array.isArray(e))return EY(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return EY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return EY(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _Y=new RegExp("\\.(".concat(["jpg","jpeg","png"].join("|"),")$"),"i");i.ZP.use(AY);const kY={name:"Videos",computed:{livePhoto:function(){var e=this;return this.fileList.find((function(t){return t.filename!==e.filename&&t.basename.startsWith(e.name)&&_Y.test(t.basename)}))},livePhotoPath:function(){return this.livePhoto&&this.getPreviewIfAny(this.livePhoto)},player:function(){return this.$refs.plyr.player},options:function(){return{autoplay:!0===this.active,blankVideo:"blank.mp4",controls:["play-large","play","progress","current-time","mute","volume","captions","settings","fullscreen"],loadSprite:!1}}},watch:{active:function(e,t){!0===e&&!1===t?this.player.play():!1===e&&!0===t&&this.player.pause()}},mounted:function(){var e=this;xY(this.$el.querySelectorAll(".plyr__controls__item")).forEach((function(t){null!=t&&t.addEventListener&&(t.addEventListener("mouseenter",e.disableSwipe),t.addEventListener("mouseleave",e.enableSwipe))}))},beforeDestroy:function(){_g.debug("Closing video stream",{filename:this.filename}),this.$refs.video.pause(),this.player.stop(),this.player.destroy()},methods:{updateVideoSize:function(){var e,t;this.naturalHeight=null===(e=this.$refs.video)||void 0===e?void 0:e.videoHeight,this.naturalWidth=null===(t=this.$refs.video)||void 0===t?void 0:t.videoWidth,this.updateHeightWidth()},donePlaying:function(){this.$refs.video.autoplay=!1,this.$refs.video.load()},onLoadedMetadata:function(){this.updateVideoSize(),this.active||this.player.stop()}}},SY=kY;var DY=r(4045),TY={};TY.styleTagTransform=W(),TY.setAttributes=H(),TY.insert=U().bind(null,"head"),TY.domAPI=R(),TY.insertStyleElement=V();N()(DY.Z,TY);DY.Z&&DY.Z.locals&&DY.Z.locals;const OY={id:"videos",group:"media",mimes:["video/mpeg","video/ogg","video/webm","video/mp4","video/x-m4v","video/x-flv","video/quicktime"],mimesAliases:{"video/x-matroska":"video/webm"},component:(0,rg.Z)(SY,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.src?n("div",[n("VuePlyr",{ref:"plyr",style:{height:e.height+"px",width:e.width+"px"},attrs:{options:e.options}},[n("video",{ref:"video",attrs:{autoplay:!!e.active||null,playsinline:!0,poster:e.livePhotoPath,src:e.src,preload:"metadata"},on:{ended:e.donePlaying,canplay:e.doneLoading,loadedmetadata:e.onLoadedMetadata}},[e._v("\n\n\t\t\t"+e._s(e.t("viewer","Your browser does not support videos."))+"\n\t\t")])])],1):e._e()}),[],!1,null,"f128e896",null).exports};function PY(e){return function(e){if(Array.isArray(e))return LY(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return LY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LY(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}i.ZP.use(AY);const FY={name:"Audios",computed:{player:function(){return this.$refs.plyr.player},options:function(){return{autoplay:!0===this.active,blankVideo:"/blank.aac",controls:["play-large","play","progress","current-time","mute","volume","settings"],loadSprite:!1}}},watch:{active:function(e,t){!0===e&&!1===t?this.player.play():!1===e&&!0===t&&this.player.pause()}},mounted:function(){var e=this;PY(this.$el.querySelectorAll(".plyr__controls__item")).forEach((function(t){null!=t&&t.addEventListener&&(t.addEventListener("mouseenter",e.disableSwipe),t.addEventListener("mouseleave",e.enableSwipe))}))},beforeDestroy:function(){_g.debug("Closing audio stream",{filename:this.filename}),this.$refs.audio.pause(),this.player.stop(),this.player.destroy()},methods:{donePlaying:function(){this.$refs.audio.autoplay=!1,this.$refs.audio.load()}}};var jY=r(8702),BY={};BY.styleTagTransform=W(),BY.setAttributes=H(),BY.insert=U().bind(null,"head"),BY.domAPI=R(),BY.insertStyleElement=V();N()(jY.Z,BY);jY.Z&&jY.Z.locals&&jY.Z.locals;const IY={id:"audios",group:"media",mimes:["audio/aac","audio/aacp","audio/flac","audio/mp4","audio/mpeg","audio/ogg","audio/vorbis","audio/wav","audio/webm"],component:(0,rg.Z)(FY,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.src?n("div",[n("VuePlyr",{ref:"plyr",attrs:{options:e.options}},[n("audio",{ref:"audio",attrs:{autoplay:e.active,src:e.src,preload:"metadata"},on:{ended:e.donePlaying,canplay:e.doneLoading}},[e._v("\n\n\t\t\t"+e._s(e.t("viewer","Your browser does not support audio."))+"\n\t\t")])])],1):e._e()}),[],!1,null,"3a434b6c",null).exports};var NY=r(5108);function MY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zY=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),RY(this,"_state",void 0),RY(this,"_mimetypes",void 0),this._mimetypes=[],this._state={},this._state.file="",this._state.fileInfo=null,this._state.files=[],this._state.el=null,this._state.loadMore=function(){return[]},this._state.onPrev=function(){},this._state.onNext=function(){},this._state.onClose=function(){},this._state.canLoop=!0,this._state.handlers=[],this._state.overrideHandlerId=null,this.registerHandler(WG),this.registerHandler(OY),this.registerHandler(IY),NY.debug("OCA.Viewer initialized")}var t,n,r;return t=e,n=[{key:"availableHandlers",get:function(){return this._state.handlers}},{key:"registerHandler",value:function(e){this._state.handlers.push(e),this._mimetypes.push.apply(this._mimetypes,e.mimes)}},{key:"file",get:function(){return this._state.file}},{key:"fileInfo",get:function(){return this._state.fileInfo}},{key:"files",get:function(){return this._state.files}},{key:"el",get:function(){return this._state.el}},{key:"mimetypes",get:function(){return this._mimetypes}},{key:"loadMore",get:function(){return this._state.loadMore}},{key:"onPrev",get:function(){return this._state.onPrev}},{key:"onNext",get:function(){return this._state.onNext}},{key:"onClose",get:function(){return this._state.onClose}},{key:"canLoop",get:function(){return this._state.canLoop}},{key:"overrideHandlerId",get:function(){return this._state.overrideHandlerId}},{key:"setRootElement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this._state.file)throw new Error("Please set root element before calling Viewer.open().");this._state.el=e}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.path,n=e.fileInfo,r=e.list,o=void 0===r?[]:r,i=e.loadMore,a=void 0===i?function(){return[]}:i,s=e.canLoop,l=void 0===s||s,u=e.onPrev,c=void 0===u?function(){}:u,p=e.onNext,d=void 0===p?function(){}:p,f=e.onClose,h=void 0===f?function(){}:f;if("string"==typeof arguments[0])throw new Error("Opening the viewer with a single string parameter is deprecated. Please use a destructuring object instead","OCA.Viewer.open({ path: '".concat(t,"' })"));if(!t&&!n)throw new Error("Viewer needs either an URL or path to open. None given");if(t&&!t.startsWith("/"))throw new Error("Please use an absolute path");if(!Array.isArray(o))throw new Error("The files list must be an array");if("function"!=typeof a)throw new Error("The loadMore method must be a function");t?this._state.file=t:this._state.fileInfo=n,this._state.el||(this._state.files=o,this._state.loadMore=a,this._state.onPrev=c,this._state.onNext=d,this._state.onClose=h,this._state.canLoop=l)}},{key:"openWith",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._state.overrideHandlerId=e,this.open(t)}},{key:"close",value:function(){this._state.file="",this._state.fileInfo=null,this._state.files=[],this._state.canLoop=!0,this._state.loadMore=function(){return[]},this._state.overrideHandlerId=null}}],n&&MY(t.prototype,n),r&&MY(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();i.ZP.mixin({methods:{t:xG.translate}}),i.ZP.prototype.OC=OC,i.ZP.prototype.OCA=OCA,r.nc=btoa(OC.requestToken),r.p=(0,_m.FW)("viewer","","js/"),window.OCA&&(Object.assign(window.OCA,{Viewer:new zY}),OCA.Viewer.version="2.0.0");var UY=document.createElement("div");UY.id="viewer",document.body.appendChild(UY);var $Y=document.createElement("div");$Y.innerHTML='<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol id="plyr-airplay" viewBox="0 0 18 18"><path d="M16 1H2a1 1 0 00-1 1v10a1 1 0 001 1h3v-2H3V3h12v8h-2v2h3a1 1 0 001-1V2a1 1 0 00-1-1z"/><path d="M4 17h10l-5-6z"/></symbol><symbol id="plyr-captions-off" viewBox="0 0 18 18"><path d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1H1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69zm7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69z" fill-rule="evenodd" fill-opacity=".5"/></symbol><symbol id="plyr-captions-on" viewBox="0 0 18 18"><path d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1H1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69zm7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7 0 2.26 1.65 3.69 3.63 3.69z" fill-rule="evenodd"/></symbol><symbol id="plyr-download" viewBox="0 0 18 18"><path d="M9 13c.3 0 .5-.1.7-.3L15.4 7 14 5.6l-4 4V1H8v8.6l-4-4L2.6 7l5.7 5.7c.2.2.4.3.7.3zm-7 2h14v2H2z"/></symbol><symbol id="plyr-enter-fullscreen" viewBox="0 0 18 18"><path d="M10 3h3.6l-4 4L11 8.4l4-4V8h2V1h-7zM7 9.6l-4 4V10H1v7h7v-2H4.4l4-4z"/></symbol><symbol id="plyr-exit-fullscreen" viewBox="0 0 18 18"><path d="M1 12h3.6l-4 4L2 17.4l4-4V17h2v-7H1zM16 .6l-4 4V1h-2v7h7V6h-3.6l4-4z"/></symbol><symbol id="plyr-fast-forward" viewBox="0 0 18 18"><path d="M7.875 7.171L0 1v16l7.875-6.171V17L18 9 7.875 1z"/></symbol><symbol id="plyr-logo-vimeo" viewBox="0 0 18 18"><path d="M17 5.3c-.1 1.6-1.2 3.7-3.3 6.4-2.2 2.8-4 4.2-5.5 4.2-.9 0-1.7-.9-2.4-2.6C5 10.9 4.4 6 3 6c-.1 0-.5.3-1.2.8l-.8-1c.8-.7 3.5-3.4 4.7-3.5 1.2-.1 2 .7 2.3 2.5.3 2 .8 6.1 1.8 6.1.9 0 2.5-3.4 2.6-4 .1-.9-.3-1.9-2.3-1.1.8-2.6 2.3-3.8 4.5-3.8 1.7.1 2.5 1.2 2.4 3.3z"/></symbol><symbol id="plyr-logo-youtube" viewBox="0 0 18 18"><path d="M16.8 5.8c-.2-1.3-.8-2.2-2.2-2.4C12.4 3 9 3 9 3s-3.4 0-5.6.4C2 3.6 1.3 4.5 1.2 5.8 1 7.1 1 9 1 9s0 1.9.2 3.2c.2 1.3.8 2.2 2.2 2.4C5.6 15 9 15 9 15s3.4 0 5.6-.4c1.4-.3 2-1.1 2.2-2.4.2-1.3.2-3.2.2-3.2s0-1.9-.2-3.2zM7 12V6l5 3-5 3z"/></symbol><symbol id="plyr-muted" viewBox="0 0 18 18"><path d="M12.4 12.5l2.1-2.1 2.1 2.1 1.4-1.4L15.9 9 18 6.9l-1.4-1.4-2.1 2.1-2.1-2.1L11 6.9 13.1 9 11 11.1zM3.786 6.008H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601L3.786 6.008z"/></symbol><symbol id="plyr-pause" viewBox="0 0 18 18"><path d="M6 1H3c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zm6 0c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1h-3z"/></symbol><symbol id="plyr-pip" viewBox="0 0 18 18"><path d="M13.293 3.293L7.022 9.564l1.414 1.414 6.271-6.271L17 7V1h-6z"/><path d="M13 15H3V5h5V3H2a1 1 0 00-1 1v12a1 1 0 001 1h12a1 1 0 001-1v-6h-2v5z"/></symbol><symbol id="plyr-play" viewBox="0 0 18 18"><path d="M15.562 8.1L3.87.225c-.818-.562-1.87 0-1.87.9v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8z"/></symbol><symbol id="plyr-restart" viewBox="0 0 18 18"><path d="M9.7 1.2l.7 6.4 2.1-2.1c1.9 1.9 1.9 5.1 0 7-.9 1-2.2 1.5-3.5 1.5-1.3 0-2.6-.5-3.5-1.5-1.9-1.9-1.9-5.1 0-7 .6-.6 1.4-1.1 2.3-1.3l-.6-1.9C6 2.6 4.9 3.2 4 4.1 1.3 6.8 1.3 11.2 4 14c1.3 1.3 3.1 2 4.9 2 1.9 0 3.6-.7 4.9-2 2.7-2.7 2.7-7.1 0-9.9L16 1.9l-6.3-.7z"/></symbol><symbol id="plyr-rewind" viewBox="0 0 18 18"><path d="M10.125 1L0 9l10.125 8v-6.171L18 17V1l-7.875 6.171z"/></symbol><symbol id="plyr-settings" viewBox="0 0 18 18"><path d="M16.135 7.784a2 2 0 01-1.23-2.969c.322-.536.225-.998-.094-1.316l-.31-.31c-.318-.318-.78-.415-1.316-.094a2 2 0 01-2.969-1.23C10.065 1.258 9.669 1 9.219 1h-.438c-.45 0-.845.258-.997.865a2 2 0 01-2.969 1.23c-.536-.322-.999-.225-1.317.093l-.31.31c-.318.318-.415.781-.093 1.317a2 2 0 01-1.23 2.969C1.26 7.935 1 8.33 1 8.781v.438c0 .45.258.845.865.997a2 2 0 011.23 2.969c-.322.536-.225.998.094 1.316l.31.31c.319.319.782.415 1.316.094a2 2 0 012.969 1.23c.151.607.547.865.997.865h.438c.45 0 .845-.258.997-.865a2 2 0 012.969-1.23c.535.321.997.225 1.316-.094l.31-.31c.318-.318.415-.781.094-1.316a2 2 0 011.23-2.969c.607-.151.865-.547.865-.997v-.438c0-.451-.26-.846-.865-.997zM9 12a3 3 0 110-6 3 3 0 010 6z"/></symbol><symbol id="plyr-volume" viewBox="0 0 18 18"><path d="M15.6 3.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4C15.4 5.9 16 7.4 16 9c0 1.6-.6 3.1-1.8 4.3-.4.4-.4 1 0 1.4.2.2.5.3.7.3.3 0 .5-.1.7-.3C17.1 13.2 18 11.2 18 9s-.9-4.2-2.4-5.7z"/><path d="M11.282 5.282a.909.909 0 000 1.316c.735.735.995 1.458.995 2.402 0 .936-.425 1.917-.995 2.487a.909.909 0 000 1.316c.145.145.636.262 1.018.156a.725.725 0 00.298-.156C13.773 11.733 14.13 10.16 14.13 9c0-.17-.002-.34-.011-.51-.053-.992-.319-2.005-1.522-3.208a.909.909 0 00-1.316 0zm-7.496.726H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601L3.786 6.008z"/></symbol></svg>',$Y.style.display="none",document.body.appendChild($Y);new i.ZP({el:"#viewer",name:"ViewerRoot",render:function(e){return e(qg)}})})()})();
//# sourceMappingURL=viewer-main.js.map?v=e418281edf1a1f401d73

Youez - 2016 - github.com/yon3zu
LinuXploit