Your IP : 3.17.181.181


Current Path : /home/ncdcgo/eshop.ncdc.go.ug/static/js/
Upload File :
Current File : /home/ncdcgo/eshop.ncdc.go.ug/static/js/main.b7ac11a4.js

/*! For license information please see main.b7ac11a4.js.LICENSE.txt */
!function(){var e={4569:function(e,t,n){e.exports=n(8036)},3381:function(e,t,n){"use strict";var r=n(3589),o=n(7297),i=n(9301),a=n(9774),s=n(1804),c=n(9145),l=n(5411),u=n(6789),A=n(4531),d=n(6569),f=n(6261);e.exports=function(e){return new Promise((function(t,n){var h,p=e.data,m=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(p)&&r.isStandardBrowserEnv()&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+w)}var _=s(e.baseURL,e.url);function x(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),i),y=null}}if(y.open(e.method.toUpperCase(),a(_,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(x)},y.onabort=function(){y&&(n(new A("Request aborted",A.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new A("Network Error",A.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new A(t,r.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,y)),y=null},r.isStandardBrowserEnv()){var B=(e.withCredentials||l(_))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;B&&(m[e.xsrfHeaderName]=B)}"setRequestHeader"in y&&r.forEach(m,(function(e,t){"undefined"===typeof p&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),g&&"json"!==g&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){y&&(n(!e||e&&e.type?new d:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null);var C=f(_);C&&-1===["http","https","file"].indexOf(C)?n(new A("Unsupported protocol "+C+":",A.ERR_BAD_REQUEST,e)):y.send(p)}))}},8036:function(e,t,n){"use strict";var r=n(3589),o=n(4049),i=n(3773),a=n(777);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(1709));s.Axios=i,s.CanceledError=n(6569),s.CancelToken=n(6857),s.isCancel=n(5517),s.VERSION=n(7600).version,s.toFormData=n(1397),s.AxiosError=n(4531),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(8089),s.isAxiosError=n(9580),e.exports=s,e.exports.default=s},6857:function(e,t,n){"use strict";var r=n(6569);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},6569:function(e,t,n){"use strict";var r=n(4531);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(3589).inherits(o,r,{__CANCEL__:!0}),e.exports=o},5517:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},3773:function(e,t,n){"use strict";var r=n(3589),o=n(9774),i=n(7470),a=n(2733),s=n(777),c=n(1804),l=n(7835),u=l.validators;function A(e){this.defaults=e,this.interceptors={request:new i,response:new i}}A.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&&l.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.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,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var A=[a,void 0];for(Array.prototype.unshift.apply(A,r),A=A.concat(c),i=Promise.resolve(t);A.length;)i=i.then(A.shift(),A.shift());return i}for(var d=t;r.length;){var f=r.shift(),h=r.shift();try{d=f(d)}catch(p){h(p);break}}try{i=a(d)}catch(p){return Promise.reject(p)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},A.prototype.getUri=function(e){e=s(this.defaults,e);var t=c(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){A.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}))}}A.prototype[e]=t(),A.prototype[e+"Form"]=t(!0)})),e.exports=A},4531:function(e,t,n){"use strict";var r=n(3589);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,c){var l=Object.create(i);return r.toFlatObject(e,l,(function(e){return e!==Error.prototype})),o.call(l,e.message,t,n,a,s),l.name=e.name,c&&Object.assign(l,c),l},e.exports=o},7470:function(e,t,n){"use strict";var r=n(3589);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},1804:function(e,t,n){"use strict";var r=n(4044),o=n(9549);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},2733:function(e,t,n){"use strict";var r=n(3589),o=n(2693),i=n(5517),a=n(1709),s=n(6569);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(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 c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},777:function(e,t,n){"use strict";var r=n(3589);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 c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var l={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:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||i,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},7297:function(e,t,n){"use strict";var r=n(4531);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)}},2693:function(e,t,n){"use strict";var r=n(3589),o=n(1709);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},1709:function(e,t,n){"use strict";var r=n(3589),o=n(4341),i=n(4531),a=n(6789),s=n(1397),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={transitional:a,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(3381)),e}(),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||i&&"multipart/form-data"===a){var c=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,c&&new c)}return i||"application/json"===a?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw i.from(s,i.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(3035)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(c)})),e.exports=u},6789:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7600:function(e){e.exports={version:"0.27.2"}},4049:function(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)}}},9774:function(e,t,n){"use strict";var r=n(3589);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&&"undefined"!==typeof 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}},9549:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9301:function(e,t,n){"use strict";var r=n(3589);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(){}}},4044:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},9580:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},5411:function(e,t,n){"use strict";var r=n(3589);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}},4341:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3035:function(e){e.exports=null},9145:function(e,t,n){"use strict";var r=n(3589),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}},6261:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8089:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1397:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(r.isPlainObject(i)||r.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),r.forEach(i,(function(n,i){if(!r.isUndefined(n)){var s,c=a?a+"."+i:i;if(n&&!a&&"object"===typeof n)if(r.endsWith(i,"{}"))n=JSON.stringify(n);else if(r.endsWith(i,"[]")&&(s=r.toArray(n)))return void s.forEach((function(e){!r.isUndefined(e)&&t.append(c,o(e))}));e(n,c)}})),n.pop()}else t.append(a,o(i))}(e),t}},7835:function(e,t,n){"use strict";var r=n(7600).version,o=n(4531),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new o(i(r," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var c=e[a],l=void 0===c||s(c,a,e);if(!0!==l)throw new o("option "+a+" must be "+l,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},3589:function(e,t,n){"use strict";var r,o=n(4049),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 c(e){return Array.isArray(e)}function l(e){return"undefined"===typeof e}var u=s("ArrayBuffer");function A(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"),p=s("Blob"),m=s("FileList");function g(e){return"[object Function]"===i.call(e)}var v=s("URLSearchParams");function y(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),c(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 b,w=(b="undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return b&&e instanceof b});e.exports={isArray:c,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(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||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:A,isPlainObject:d,isUndefined:l,isDate:f,isFile:h,isBlob:p,isFunction:g,isStream:function(e){return A(e)&&g(e.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:y,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):c(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)y(arguments[r],n);return t},extend:function(e,t,n){return y(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(l(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:w,isFileList:m}},1694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7892:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",c="week",l="month",u="quarter",A="year",d="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:A,w:c,d:s,D:d,h:a,m:i,s:o,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",b={};b[y]=m;var w=function(e){return e instanceof C},_=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),n&&(b[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,o=s}return!r&&o&&(y=o),o||!r&&y},x=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},B=v;B.l=_,B.i=w,B.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(B.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return B},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return x(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<x(e)},g.$g=function(e,t,n){return B.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!B.u(t)||t,u=B.p(e),f=function(e,t){var o=B.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},h=function(e,t){return B.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},p=this.$W,m=this.$M,g=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case A:return r?f(1,0):f(31,11);case l:return r?f(1,m):f(0,m+1);case c:var y=this.$locale().weekStart||0,b=(p<y?p+7:p)-y;return f(r?g-b:g+(6-b),m);case s:case d:return h(v+"Hours",0);case a:return h(v+"Minutes",1);case i:return h(v+"Seconds",2);case o:return h(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,c=B.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[s]=u+"Date",n[d]=u+"Date",n[l]=u+"Month",n[A]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],h=c===s?this.$D+(t-this.$W):t;if(c===l||c===A){var p=this.clone().set(d,1);p.$d[f](h),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[B.p(e)]()},g.add=function(r,u){var d,f=this;r=Number(r);var h=B.p(u),p=function(e){var t=x(f);return B.w(t.date(t.date()+Math.round(e*r)),f)};if(h===l)return this.set(l,this.$M+r);if(h===A)return this.set(A,this.$y+r);if(h===s)return p(1);if(h===c)return p(7);var m=(d={},d[i]=t,d[a]=n,d[o]=e,d)[h]||1,g=this.$d.getTime()+r*m;return B.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=B.z(this),i=this.$H,a=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},A=function(e){return B.s(i%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:B.s(s+1,2,"0"),MMM:u(n.monthsShort,s,l,3),MMMM:u(l,s),D:this.$D,DD:B.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,c,2),ddd:u(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(i),HH:B.s(i,2,"0"),h:A(1),hh:A(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:B.s(a,2,"0"),s:String(this.$s),ss:B.s(this.$s,2,"0"),SSS:B.s(this.$ms,3,"0"),Z:o};return r.replace(p,(function(e,t){return t||h[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,d,f){var h,p=B.p(d),m=x(r),g=(m.utcOffset()-this.utcOffset())*t,v=this-m,y=B.m(this,m);return y=(h={},h[A]=y/12,h[l]=y,h[u]=y/3,h[c]=(v-g)/6048e5,h[s]=(v-g)/864e5,h[a]=v/n,h[i]=v/t,h[o]=v/e,h)[p]||v,f?y:B.a(y)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return B.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),E=C.prototype;return x.prototype=E,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",l],["$y",A],["$D",d]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||(e(t,C,x),e.$i=!0),x},x.locale=_,x.isDayjs=w,x.unix=function(e){return x(1e3*e)},x.en=b[y],x.Ls=b,x.p={},x}()},8703:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||s(e)||l()}function i(e){if(Array.isArray(e))return c(e)}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"===typeof e)return c(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)?c(e,t):void 0}}function c(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 l(){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 u=Object.hasOwnProperty,A=Object.setPrototypeOf,d=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,p=Object.freeze,m=Object.seal,g=Object.create,v="undefined"!==typeof Reflect&&Reflect,y=v.apply,b=v.construct;y||(y=function(e,t,n){return e.apply(t,n)}),p||(p=function(e){return e}),m||(m=function(e){return e}),b||(b=function(e,t){return r(e,o(t))});var w=F(Array.prototype.forEach),_=F(Array.prototype.pop),x=F(Array.prototype.push),B=F(String.prototype.toLowerCase),C=F(String.prototype.toString),E=F(String.prototype.match),j=F(String.prototype.replace),k=F(String.prototype.indexOf),S=F(String.prototype.trim),O=F(RegExp.prototype.test),N=I(TypeError);function F(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return y(e,t,r)}}function I(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(e,n)}}function P(e,t,n){n=n||B,A&&A(e,null);for(var r=t.length;r--;){var o=t[r];if("string"===typeof o){var i=n(o);i!==o&&(d(t)||(t[r]=i),o=i)}e[o]=!0}return e}function L(e){var t,n=g(null);for(t in e)y(u,e,[t])&&(n[t]=e[t]);return n}function T(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return F(n.get);if("function"===typeof n.value)return F(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var D=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Q=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),U=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=p(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),R=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),$=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=p(["#text"]),q=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),K=p(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=p(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=m(/<%[\w\W]*|[\w\W]*%>/gm),W=m(/\${[\w\W]*}/gm),Y=m(/^data-[\-\w.\u00B7-\uFFFF]/),X=m(/^aria-[\-\w]+$/),J=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=m(/^(?:\w+script|data):/i),te=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=m(/^html$/i),re=function(){return"undefined"===typeof window?null:window},oe=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re(),n=function(e){return ie(e)};if(n.version="2.4.1",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,c=t.Node,l=t.Element,u=t.NodeFilter,A=t.NamedNodeMap,d=void 0===A?t.NamedNodeMap||t.MozNamedAttrMap:A,f=t.HTMLFormElement,h=t.DOMParser,m=t.trustedTypes,g=l.prototype,v=T(g,"cloneNode"),y=T(g,"nextSibling"),b=T(g,"childNodes"),F=T(g,"parentNode");if("function"===typeof s){var I=i.createElement("template");I.content&&I.content.ownerDocument&&(i=I.content.ownerDocument)}var ae=oe(m,r),se=ae?ae.createHTML(""):"",ce=i,le=ce.implementation,ue=ce.createNodeIterator,Ae=ce.createDocumentFragment,de=ce.getElementsByTagName,fe=r.importNode,he={};try{he=L(i).documentMode?i.documentMode:{}}catch(Ft){}var pe={};n.isSupported="function"===typeof F&&le&&"undefined"!==typeof le.createHTMLDocument&&9!==he;var me,ge,ve=Z,ye=G,be=W,we=Y,_e=X,xe=ee,Be=te,Ce=J,Ee=null,je=P({},[].concat(o(D),o(Q),o(U),o(R),o(H))),ke=null,Se=P({},[].concat(o(q),o(K),o(V),o(z))),Oe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ne=null,Fe=null,Ie=!0,Pe=!0,Le=!1,Te=!1,De=!1,Qe=!1,Ue=!1,Me=!1,Re=!1,$e=!1,He=!0,qe=!1,Ke="user-content-",Ve=!0,ze=!1,Ze={},Ge=null,We=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=P({},["audio","video","img","source","image","track"]),Je=null,et=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",rt="http://www.w3.org/1999/xhtml",ot=rt,it=!1,at=null,st=P({},[tt,nt,rt],C),ct=["application/xhtml+xml","text/html"],lt="text/html",ut=null,At=i.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(t){ut&&ut===t||(t&&"object"===e(t)||(t={}),t=L(t),me=me=-1===ct.indexOf(t.PARSER_MEDIA_TYPE)?lt:t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===me?C:B,Ee="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,ge):je,ke="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,ge):Se,at="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,C):st,Je="ADD_URI_SAFE_ATTR"in t?P(L(et),t.ADD_URI_SAFE_ATTR,ge):et,Ye="ADD_DATA_URI_TAGS"in t?P(L(Xe),t.ADD_DATA_URI_TAGS,ge):Xe,Ge="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,ge):We,Ne="FORBID_TAGS"in t?P({},t.FORBID_TAGS,ge):{},Fe="FORBID_ATTR"in t?P({},t.FORBID_ATTR,ge):{},Ze="USE_PROFILES"in t&&t.USE_PROFILES,Ie=!1!==t.ALLOW_ARIA_ATTR,Pe=!1!==t.ALLOW_DATA_ATTR,Le=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=t.SAFE_FOR_TEMPLATES||!1,De=t.WHOLE_DOCUMENT||!1,Me=t.RETURN_DOM||!1,Re=t.RETURN_DOM_FRAGMENT||!1,$e=t.RETURN_TRUSTED_TYPE||!1,Ue=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,qe=t.SANITIZE_NAMED_PROPS||!1,Ve=!1!==t.KEEP_CONTENT,ze=t.IN_PLACE||!1,Ce=t.ALLOWED_URI_REGEXP||Ce,ot=t.NAMESPACE||rt,t.CUSTOM_ELEMENT_HANDLING&&dt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&dt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Te&&(Pe=!1),Re&&(Me=!0),Ze&&(Ee=P({},o(H)),ke=[],!0===Ze.html&&(P(Ee,D),P(ke,q)),!0===Ze.svg&&(P(Ee,Q),P(ke,K),P(ke,z)),!0===Ze.svgFilters&&(P(Ee,U),P(ke,K),P(ke,z)),!0===Ze.mathMl&&(P(Ee,R),P(ke,V),P(ke,z))),t.ADD_TAGS&&(Ee===je&&(Ee=L(Ee)),P(Ee,t.ADD_TAGS,ge)),t.ADD_ATTR&&(ke===Se&&(ke=L(ke)),P(ke,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&P(Je,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ge===We&&(Ge=L(Ge)),P(Ge,t.FORBID_CONTENTS,ge)),Ve&&(Ee["#text"]=!0),De&&P(Ee,["html","head","body"]),Ee.table&&(P(Ee,["tbody"]),delete Ne.tbody),p&&p(t),ut=t)},ht=P({},["mi","mo","mn","ms","mtext"]),pt=P({},["foreignobject","desc","title","annotation-xml"]),mt=P({},["title","style","font","a","script"]),gt=P({},Q);P(gt,U),P(gt,M);var vt=P({},R);P(vt,$);var yt=function(e){var t=F(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});var n=B(e.tagName),r=B(t.tagName);return!!at[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===rt?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===r||ht[r]):Boolean(gt[n]):e.namespaceURI===tt?t.namespaceURI===rt?"math"===n:t.namespaceURI===nt?"math"===n&&pt[r]:Boolean(vt[n]):e.namespaceURI===rt?!(t.namespaceURI===nt&&!pt[r])&&!(t.namespaceURI===tt&&!ht[r])&&!vt[n]&&(mt[n]||!gt[n]):!("application/xhtml+xml"!==me||!at[e.namespaceURI]))},bt=function(e){x(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ft){try{e.outerHTML=se}catch(Ft){e.remove()}}},wt=function(e,t){try{x(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ft){x(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(Me||Re)try{bt(t)}catch(Ft){}else try{t.setAttribute(e,"")}catch(Ft){}},_t=function(e){var t,n;if(Ue)e="<remove></remove>"+e;else{var r=E(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===me&&ot===rt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=ae?ae.createHTML(e):e;if(ot===rt)try{t=(new h).parseFromString(o,me)}catch(Ft){}if(!t||!t.documentElement){t=le.createDocument(ot,"template",null);try{t.documentElement.innerHTML=it?"":o}catch(Ft){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),ot===rt?de.call(t,De?"html":"body")[0]:De?t.documentElement:a},xt=function(e){return ue.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Bt=function(e){return e instanceof f&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof d)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},Ct=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},Et=function(e,t,r){pe[e]&&w(pe[e],(function(e){e.call(n,t,r,ut)}))},jt=function(e){var t;if(Et("beforeSanitizeElements",e,null),Bt(e))return bt(e),!0;if(O(/[\u0080-\uFFFF]/,e.nodeName))return bt(e),!0;var r=ge(e.nodeName);if(Et("uponSanitizeElement",e,{tagName:r,allowedTags:Ee}),e.hasChildNodes()&&!Ct(e.firstElementChild)&&(!Ct(e.content)||!Ct(e.content.firstElementChild))&&O(/<[/\w]/g,e.innerHTML)&&O(/<[/\w]/g,e.textContent))return bt(e),!0;if("select"===r&&O(/<template/i,e.innerHTML))return bt(e),!0;if(!Ee[r]||Ne[r]){if(!Ne[r]&&St(r)){if(Oe.tagNameCheck instanceof RegExp&&O(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(Ve&&!Ge[r]){var o=F(e)||e.parentNode,i=b(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(v(i[a],!0),y(e))}return bt(e),!0}return e instanceof l&&!yt(e)?(bt(e),!0):"noscript"!==r&&"noembed"!==r||!O(/<\/no(script|embed)/i,e.innerHTML)?(Te&&3===e.nodeType&&(t=e.textContent,t=j(t,ve," "),t=j(t,ye," "),t=j(t,be," "),e.textContent!==t&&(x(n.removed,{element:e.cloneNode()}),e.textContent=t)),Et("afterSanitizeElements",e,null),!1):(bt(e),!0)},kt=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in i||n in At))return!1;if(Pe&&!Fe[t]&&O(we,t));else if(Ie&&O(_e,t));else if(!ke[t]||Fe[t]){if(!(St(e)&&(Oe.tagNameCheck instanceof RegExp&&O(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&O(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&O(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if(Je[t]);else if(O(Ce,j(n,Be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ye[e])if(Le&&!O(xe,j(n,Be,"")));else if(n)return!1;return!0},St=function(e){return e.indexOf("-")>0},Ot=function(t){var r,o,i,a;Et("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(a=s.length;a--;){var l=r=s[a],u=l.name,A=l.namespaceURI;if(o="value"===u?r.value:S(r.value),i=ge(u),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Et("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(wt(u,t),c.keepAttr))if(O(/\/>/i,o))wt(u,t);else{Te&&(o=j(o,ve," "),o=j(o,ye," "),o=j(o,be," "));var d=ge(t.nodeName);if(kt(d,i,o)){if(!qe||"id"!==i&&"name"!==i||(wt(u,t),o=Ke+o),ae&&"object"===e(m)&&"function"===typeof m.getAttributeType)if(A);else switch(m.getAttributeType(d,i)){case"TrustedHTML":o=ae.createHTML(o);break;case"TrustedScriptURL":o=ae.createScriptURL(o)}try{A?t.setAttributeNS(A,u,o):t.setAttribute(u,o),_(n.removed)}catch(Ft){}}}}Et("afterSanitizeAttributes",t,null)}},Nt=function e(t){var n,r=xt(t);for(Et("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Et("uponSanitizeShadowNode",n,null),jt(n)||(n.content instanceof a&&e(n.content),Ot(n));Et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o){var i,s,l,u,A,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((it=!o)&&(o="\x3c!--\x3e"),"string"!==typeof o&&!Ct(o)){if("function"!==typeof o.toString)throw N("toString is not a function");if("string"!==typeof(o=o.toString()))throw N("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof o)return t.toStaticHTML(o);if(Ct(o))return t.toStaticHTML(o.outerHTML)}return o}if(Qe||ft(d),n.removed=[],"string"===typeof o&&(ze=!1),ze){if(o.nodeName){var f=ge(o.nodeName);if(!Ee[f]||Ne[f])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(s=(i=_t("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!Me&&!Te&&!De&&-1===o.indexOf("<"))return ae&&$e?ae.createHTML(o):o;if(!(i=_t(o)))return Me?null:$e?se:""}i&&Ue&&bt(i.firstChild);for(var h=xt(ze?o:i);l=h.nextNode();)3===l.nodeType&&l===u||jt(l)||(l.content instanceof a&&Nt(l.content),Ot(l),u=l);if(u=null,ze)return o;if(Me){if(Re)for(A=Ae.call(i.ownerDocument);i.firstChild;)A.appendChild(i.firstChild);else A=i;return ke.shadowroot&&(A=fe.call(r,A,!0)),A}var p=De?i.outerHTML:i.innerHTML;return De&&Ee["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&O(ne,i.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+p),Te&&(p=j(p,ve," "),p=j(p,ye," "),p=j(p,be," ")),ae&&$e?ae.createHTML(p):p},n.setConfig=function(e){ft(e),Qe=!0},n.clearConfig=function(){ut=null,Qe=!1},n.isValidAttribute=function(e,t,n){ut||ft({});var r=ge(e),o=ge(t);return kt(r,o,n)},n.addHook=function(e,t){"function"===typeof t&&(pe[e]=pe[e]||[],x(pe[e],t))},n.removeHook=function(e){if(pe[e])return _(pe[e])},n.removeHooks=function(e){pe[e]&&(pe[e]=[])},n.removeAllHooks=function(){pe={}},n}return ie()}()},5498:function(e){e.exports=function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=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},n.apply(this,arguments)};function r(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{c(r.next(e))}catch(Dt){i(Dt)}}function s(e){try{c(r.throw(e))}catch(Dt){i(Dt)}}function c(e){e.done?n(e.value):o(e.value).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function o(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(e){return function(t){return c([e,t])}}function c(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=(o=a.trys).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(Dt){i=[6,Dt],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function i(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||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,o){return new e(this.left+t,this.top+n,this.width+r,this.height+o)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find((function(e){return 0!==e.width}));return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},c=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),o=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,o)},l=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320===(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<A.length;f++)d[A.charCodeAt(f)]=f;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),m=0;m<h.length;m++)p[h.charCodeAt(m)]=m;for(var g=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<s;t+=4)n=p[e.charCodeAt(t)],r=p[e.charCodeAt(t+1)],o=p[e.charCodeAt(t+2)],i=p[e.charCodeAt(t+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|o>>2,u[c++]=(3&o)<<6|63&i;return l},v=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},y=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},b=5,w=11,_=2,x=65536>>b,B=(1<<b)-1,C=x+(1024>>b)+32,E=65536>>w,j=(1<<w-b)-1,k=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},S=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},O=function(e,t){var n=g(e),r=Array.isArray(n)?y(n):new Uint32Array(n),o=Array.isArray(n)?v(n):new Uint16Array(n),i=24,a=k(o,i/2,r[4]/2),s=2===r[5]?k(o,(i+r[4])/2):S(r,Math.ceil((i+r[4])/4));return new N(r[0],r[1],r[2],r[3],a,s)},N=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>b])<<_)+(e&B),this.data[t];if(e<=65535)return t=((t=this.index[x+(e-55296>>b)])<<_)+(e&B),this.data[t];if(e<this.highStart)return t=C-E+(e>>w),t=this.index[t],t+=e>>b&j,t=((t=this.index[t])<<_)+(e&B),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I="undefined"===typeof Uint8Array?[]:new Uint8Array(256),P=0;P<F.length;P++)I[F.charCodeAt(P)]=P;var L=50,T=1,D=2,Q=3,U=4,M=5,R=7,$=8,H=9,q=10,K=11,V=12,z=13,Z=14,G=15,W=16,Y=17,X=18,J=19,ee=20,te=21,ne=22,re=23,oe=24,ie=25,ae=26,se=27,ce=28,le=29,ue=30,Ae=31,de=32,fe=33,he=34,pe=35,me=36,ge=37,ve=38,ye=39,be=40,we=41,_e=42,xe=43,Be=[9001,65288],Ce="!",Ee="\xd7",je="\xf7",ke=O("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Se=[ue,me],Oe=[T,D,Q,M],Ne=[q,$],Fe=[se,ae],Ie=Oe.concat(Ne),Pe=[ve,ye,be,he,pe],Le=[G,z],Te=function(e,t){void 0===t&&(t="strict");var n=[],r=[],o=[];return e.forEach((function(e,i){var a=ke.get(e);if(a>L?(o.push(!0),a-=L):o.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),n.push(W);if(a===U||a===K){if(0===i)return r.push(i),n.push(ue);var s=n[i-1];return-1===Ie.indexOf(s)?(r.push(r[i-1]),n.push(s)):(r.push(i),n.push(ue))}return r.push(i),a===Ae?n.push("strict"===t?te:ge):a===_e||a===le?n.push(ue):a===xe?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(ge):n.push(ue):void n.push(a)})),[r,n,o]},De=function(e,t,n,r){var o=r[n];if(Array.isArray(e)?-1!==e.indexOf(o):e===o)for(var i=n;i<=r.length;){if((c=r[++i])===t)return!0;if(c!==q)break}if(o===q)for(i=n;i>0;){var a=r[--i];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var c;if((c=r[++s])===t)return!0;if(c!==q)break}if(a!==q)break}return!1},Qe=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==q)return r;n--}return 0},Ue=function(e,t,n,r,o){if(0===n[r])return Ee;var i=r-1;if(Array.isArray(o)&&!0===o[i])return Ee;var a=i-1,s=i+1,c=t[i],l=a>=0?t[a]:0,u=t[s];if(c===D&&u===Q)return Ee;if(-1!==Oe.indexOf(c))return Ce;if(-1!==Oe.indexOf(u))return Ee;if(-1!==Ne.indexOf(u))return Ee;if(Qe(i,t)===$)return je;if(ke.get(e[i])===K)return Ee;if((c===de||c===fe)&&ke.get(e[s])===K)return Ee;if(c===R||u===R)return Ee;if(c===H)return Ee;if(-1===[q,z,G].indexOf(c)&&u===H)return Ee;if(-1!==[Y,X,J,oe,ce].indexOf(u))return Ee;if(Qe(i,t)===ne)return Ee;if(De(re,ne,i,t))return Ee;if(De([Y,X],te,i,t))return Ee;if(De(V,V,i,t))return Ee;if(c===q)return je;if(c===re||u===re)return Ee;if(u===W||c===W)return je;if(-1!==[z,G,te].indexOf(u)||c===Z)return Ee;if(l===me&&-1!==Le.indexOf(c))return Ee;if(c===ce&&u===me)return Ee;if(u===ee)return Ee;if(-1!==Se.indexOf(u)&&c===ie||-1!==Se.indexOf(c)&&u===ie)return Ee;if(c===se&&-1!==[ge,de,fe].indexOf(u)||-1!==[ge,de,fe].indexOf(c)&&u===ae)return Ee;if(-1!==Se.indexOf(c)&&-1!==Fe.indexOf(u)||-1!==Fe.indexOf(c)&&-1!==Se.indexOf(u))return Ee;if(-1!==[se,ae].indexOf(c)&&(u===ie||-1!==[ne,G].indexOf(u)&&t[s+1]===ie)||-1!==[ne,G].indexOf(c)&&u===ie||c===ie&&-1!==[ie,ce,oe].indexOf(u))return Ee;if(-1!==[ie,ce,oe,Y,X].indexOf(u))for(var A=i;A>=0;){if((d=t[A])===ie)return Ee;if(-1===[ce,oe].indexOf(d))break;A--}if(-1!==[se,ae].indexOf(u))for(A=-1!==[Y,X].indexOf(c)?a:i;A>=0;){var d;if((d=t[A])===ie)return Ee;if(-1===[ce,oe].indexOf(d))break;A--}if(ve===c&&-1!==[ve,ye,he,pe].indexOf(u)||-1!==[ye,he].indexOf(c)&&-1!==[ye,be].indexOf(u)||-1!==[be,pe].indexOf(c)&&u===be)return Ee;if(-1!==Pe.indexOf(c)&&-1!==[ee,ae].indexOf(u)||-1!==Pe.indexOf(u)&&c===se)return Ee;if(-1!==Se.indexOf(c)&&-1!==Se.indexOf(u))return Ee;if(c===oe&&-1!==Se.indexOf(u))return Ee;if(-1!==Se.concat(ie).indexOf(c)&&u===ne&&-1===Be.indexOf(e[s])||-1!==Se.concat(ie).indexOf(u)&&c===X)return Ee;if(c===we&&u===we){for(var f=n[i],h=1;f>0&&t[--f]===we;)h++;if(h%2!==0)return Ee}return c===de&&u===fe?Ee:je},Me=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Te(e,t.lineBreak),r=n[0],o=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map((function(e){return-1!==[ie,ue,_e].indexOf(e)?ge:e})));var a="keep-all"===t.wordBreak?i.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,o,a]},Re=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===Ce,this.start=n,this.end=r}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),$e=function(e,t){var n=l(e),r=Me(n,t),o=r[0],i=r[1],a=r[2],s=n.length,c=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var e=Ee;u<s&&(e=Ue(n,i,o,++u,a))===Ee;);if(e!==Ee||u===s){var t=new Re(n,e,c,u);return c=u,{value:t,done:!1}}return{done:!0,value:null}}}},He=1,qe=2,Ke=4,Ve=8,ze=10,Ze=47,Ge=92,We=9,Ye=32,Xe=34,Je=61,et=35,tt=36,nt=37,rt=39,ot=40,it=41,at=95,st=45,ct=33,lt=60,ut=62,At=64,dt=91,ft=93,ht=61,pt=123,mt=63,gt=125,vt=124,yt=126,bt=128,wt=65533,_t=42,xt=43,Bt=44,Ct=58,Et=59,jt=46,kt=0,St=8,Ot=11,Nt=14,Ft=31,It=127,Pt=-1,Lt=48,Tt=97,Dt=101,Qt=102,Ut=117,Mt=122,Rt=65,$t=69,Ht=70,qt=85,Kt=90,Vt=function(e){return e>=Lt&&e<=57},zt=function(e){return e>=55296&&e<=57343},Zt=function(e){return Vt(e)||e>=Rt&&e<=Ht||e>=Tt&&e<=Qt},Gt=function(e){return e>=Tt&&e<=Mt},Wt=function(e){return e>=Rt&&e<=Kt},Yt=function(e){return Gt(e)||Wt(e)},Xt=function(e){return e>=bt},Jt=function(e){return e===ze||e===We||e===Ye},en=function(e){return Yt(e)||Xt(e)||e===at},tn=function(e){return en(e)||Vt(e)||e===st},nn=function(e){return e>=kt&&e<=St||e===Ot||e>=Nt&&e<=Ft||e===It},rn=function(e,t){return e===Ge&&t!==ze},on=function(e,t,n){return e===st?en(t)||rn(t,n):!!en(e)||!(e!==Ge||!rn(e,t))},an=function(e,t,n){return e===xt||e===st?!!Vt(t)||t===jt&&Vt(n):Vt(e===jt?t:e)},sn=function(e){var t=0,n=1;e[t]!==xt&&e[t]!==st||(e[t]===st&&(n=-1),t++);for(var r=[];Vt(e[t]);)r.push(e[t++]);var o=r.length?parseInt(u.apply(void 0,r),10):0;e[t]===jt&&t++;for(var i=[];Vt(e[t]);)i.push(e[t++]);var a=i.length,s=a?parseInt(u.apply(void 0,i),10):0;e[t]!==$t&&e[t]!==Dt||t++;var c=1;e[t]!==xt&&e[t]!==st||(e[t]===st&&(c=-1),t++);for(var l=[];Vt(e[t]);)l.push(e[t++]);var A=l.length?parseInt(u.apply(void 0,l),10):0;return n*(o+s*Math.pow(10,-a))*Math.pow(10,c*A)},cn={type:2},ln={type:3},un={type:4},An={type:13},dn={type:8},fn={type:21},hn={type:9},pn={type:10},mn={type:11},gn={type:12},vn={type:14},yn={type:23},bn={type:1},wn={type:25},_n={type:24},xn={type:26},Bn={type:27},Cn={type:28},En={type:29},jn={type:31},kn={type:32},Sn=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==kn;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Xe:return this.consumeStringToken(Xe);case et:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(tn(t)||rn(n,r)){var o=on(t,n,r)?qe:He;return{type:5,value:this.consumeName(),flags:o}}break;case tt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),An;break;case rt:return this.consumeStringToken(rt);case ot:return cn;case it:return ln;case _t:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),vn;break;case xt:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Bt:return un;case st:var i=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(an(i,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(on(i,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===st&&s===ut)return this.consumeCodePoint(),this.consumeCodePoint(),_n;break;case jt:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ze:if(this.peekCodePoint(0)===_t)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===_t&&(c=this.consumeCodePoint())===Ze)return this.consumeToken();if(c===Pt)return this.consumeToken()}break;case Ct:return xn;case Et:return Bn;case lt:if(this.peekCodePoint(0)===ct&&this.peekCodePoint(1)===st&&this.peekCodePoint(2)===st)return this.consumeCodePoint(),this.consumeCodePoint(),wn;break;case At:var l=this.peekCodePoint(0),A=this.peekCodePoint(1),d=this.peekCodePoint(2);if(on(l,A,d))return{type:7,value:this.consumeName()};break;case dt:return Cn;case Ge:if(rn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case ft:return En;case ht:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),dn;break;case pt:return mn;case gt:return gn;case Ut:case qt:var f=this.peekCodePoint(0),h=this.peekCodePoint(1);return f!==xt||!Zt(h)&&h!==mt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case vt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),hn;if(this.peekCodePoint(0)===vt)return this.consumeCodePoint(),fn;break;case yt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),pn;break;case Pt:return kn}return Jt(e)?(this.consumeWhiteSpace(),jn):Vt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):en(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:u(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Zt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===mt&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(u.apply(void 0,e.map((function(e){return e===mt?Lt:e}))),16),end:parseInt(u.apply(void 0,e.map((function(e){return e===mt?Ht:e}))),16)};var r=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===st&&Zt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];Zt(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(u.apply(void 0,o),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===ot?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ot?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===rt||t===Xe){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt||this.peekCodePoint(0)===it)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),yn)}for(;;){var r=this.consumeCodePoint();if(r===Pt||r===it)return{type:22,value:u.apply(void 0,e)};if(Jt(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt||this.peekCodePoint(0)===it?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),yn);if(r===Xe||r===rt||r===ot||nn(r))return this.consumeBadUrlRemnants(),yn;if(r===Ge){if(!rn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),yn;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;Jt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===it||e===Pt)return;rn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=5e4,n="";e>0;){var r=Math.min(t,e);n+=u.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===Pt||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(r===ze)return this._value.splice(0,n),bn;if(r===Ge){var o=this._value[n+1];o!==Pt&&void 0!==o&&(o===ze?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):rn(r,o)&&(t+=this.consumeStringSlice(n),t+=u(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=Ke,n=this.peekCodePoint(0);for(n!==xt&&n!==st||e.push(this.consumeCodePoint());Vt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===jt&&Vt(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ve;Vt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((n===$t||n===Dt)&&((r===xt||r===st)&&Vt(o)||Vt(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Ve;Vt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[sn(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),o=this.peekCodePoint(1),i=this.peekCodePoint(2);return on(r,o,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:r===nt?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Zt(e)){for(var t=u(e);Zt(this.peekCodePoint(0))&&t.length<6;)t+=u(this.consumeCodePoint());Jt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||zt(n)||n>1114111?wt:n}return e===Pt?wt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(tn(t))e+=u(t);else{if(!rn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),On=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Sn;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Un(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?kn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Nn=function(e){return 15===e.type},Fn=function(e){return 17===e.type},In=function(e){return 20===e.type},Pn=function(e){return 0===e.type},Ln=function(e,t){return In(e)&&e.value===t},Tn=function(e){return 31!==e.type},Dn=function(e){return 31!==e.type&&4!==e.type},Qn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Un=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Mn=function(e){return 17===e.type||15===e.type},Rn=function(e){return 16===e.type||Mn(e)},$n=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Hn={type:17,number:0,flags:Ke},qn={type:16,number:50,flags:Ke},Kn={type:16,number:100,flags:Ke},Vn=function(e,t,n){var r=e[0],o=e[1];return[zn(r,t),zn("undefined"!==typeof o?o:r,n)]},zn=function(e,t){if(16===e.type)return e.number/100*t;if(Nn(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Zn="deg",Gn="grad",Wn="rad",Yn="turn",Xn={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case Zn:return Math.PI*t.number/180;case Gn:return Math.PI/200*t.number;case Wn:return t.number;case Yn:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Jn=function(e){return 15===e.type&&(e.unit===Zn||e.unit===Gn||e.unit===Wn||e.unit===Yn)},er=function(e){switch(e.filter(In).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Hn,Hn];case"to top":case"bottom":return tr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Hn,Kn];case"to right":case"left":return tr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Kn,Kn];case"to bottom":case"top":return tr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Kn,Hn];case"to left":case"right":return tr(270)}return 0},tr=function(e){return Math.PI*e/180},nr={name:"color",parse:function(e,t){if(18===t.type){var n=ur[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);return ir(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return ir(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),ir(parseInt(r,16),parseInt(o,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8),ir(parseInt(r,16),parseInt(o,16),parseInt(i,16),parseInt(a,16)/255)}if(20===t.type){var s=dr[t.value.toUpperCase()];if("undefined"!==typeof s)return s}return dr.TRANSPARENT}},rr=function(e){return 0===(255&e)},or=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,o=255&e>>24;return t<255?"rgba("+o+","+r+","+n+","+t/255+")":"rgb("+o+","+r+","+n+")"},ir=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},ar=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},sr=function(e,t){var n=t.filter(Dn);if(3===n.length){var r=n.map(ar),o=r[0],i=r[1],a=r[2];return ir(o,i,a,1)}if(4===n.length){var s=n.map(ar),c=(o=s[0],i=s[1],a=s[2],s[3]);return ir(o,i,a,c)}return 0};function cr(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var lr=function(e,t){var n=t.filter(Dn),r=n[0],o=n[1],i=n[2],a=n[3],s=(17===r.type?tr(r.number):Xn.parse(e,r))/(2*Math.PI),c=Rn(o)?o.number/100:0,l=Rn(i)?i.number/100:0,u="undefined"!==typeof a&&Rn(a)?zn(a,1):1;if(0===c)return ir(255*l,255*l,255*l,1);var A=l<=.5?l*(c+1):l+c-l*c,d=2*l-A,f=cr(d,A,s+1/3),h=cr(d,A,s),p=cr(d,A,s-1/3);return ir(255*f,255*h,255*p,u)},ur={hsl:lr,hsla:lr,rgb:sr,rgba:sr},Ar=function(e,t){return nr.parse(e,On.create(t).parseComponentValue())},dr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},fr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(In(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},hr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pr=function(e,t){var n=nr.parse(e,t[0]),r=t[1];return r&&Rn(r)?{color:n,stop:r}:{color:n,stop:null}},mr=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=Hn),null===r.stop&&(r.stop=Kn);for(var o=[],i=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var c=zn(s,t);c>i?o.push(c):o.push(i),i=c}else o.push(null)}var l=null;for(a=0;a<o.length;a++){var u=o[a];if(null===u)null===l&&(l=a);else if(null!==l){for(var A=a-l,d=(u-o[l-1])/(A+1),f=1;f<=A;f++)o[l+f-1]=d*f;l=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,o[n]/t),0)}}))},gr=function(e,t,n){var r=t/2,o=n/2,i=zn(e[0],t)-r,a=o-zn(e[1],n);return(Math.atan2(a,i)+2*Math.PI)%(2*Math.PI)},vr=function(e,t,n){var r="number"===typeof e?e:gr(e,t,n),o=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),i=t/2,a=n/2,s=o/2,c=Math.sin(r-Math.PI/2)*s,l=Math.cos(r-Math.PI/2)*s;return[o,i-l,i+l,a-c,a+c]},yr=function(e,t){return Math.sqrt(e*e+t*t)},br=function(e,t,n,r,o){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var i=t[0],a=t[1],s=yr(n-i,r-a);return(o?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},wr=function(e,t,n,r,o){var i=0,a=0;switch(e.size){case 0:0===e.shape?i=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-o)));break;case 2:if(0===e.shape)i=a=Math.min(yr(t,n),yr(t,n-o),yr(t-r,n),yr(t-r,n-o));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-o))/Math.min(Math.abs(t),Math.abs(t-r)),c=br(r,o,t,n,!0),l=c[0],u=c[1];a=s*(i=yr(l-t,(u-n)/s))}break;case 1:0===e.shape?i=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-o)));break;case 3:if(0===e.shape)i=a=Math.max(yr(t,n),yr(t,n-o),yr(t-r,n),yr(t-r,n-o));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-o))/Math.max(Math.abs(t),Math.abs(t-r));var A=br(r,o,t,n,!1);l=A[0],u=A[1],a=s*(i=yr(l-t,(u-n)/s))}}return Array.isArray(e.size)&&(i=zn(e.size[0],r),a=2===e.size.length?zn(e.size[1],o):i),[i,a]},_r=function(e,t){var n=tr(180),r=[];return Qn(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=er(t));if(Jn(i))return void(n=Xn.parse(e,i))}var a=pr(e,t);r.push(a)})),{angle:n,stops:r,type:1}},xr=function(e,t){var n=tr(180),r=[];return Qn(t).forEach((function(t,o){if(0===o){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=er(t));if(Jn(i))return void(n=(Xn.parse(e,i)+tr(270))%tr(360))}var a=pr(e,t);r.push(a)})),{angle:n,stops:r,type:1}},Br=function(e,t){var n=tr(180),r=[],o=1,i=0,a=3,s=[];return Qn(t).forEach((function(t,n){var i=t[0];if(0===n){if(In(i)&&"linear"===i.value)return void(o=1);if(In(i)&&"radial"===i.value)return void(o=2)}if(18===i.type)if("from"===i.name){var a=nr.parse(e,i.values[0]);r.push({stop:Hn,color:a})}else if("to"===i.name)a=nr.parse(e,i.values[0]),r.push({stop:Kn,color:a});else if("color-stop"===i.name){var s=i.values.filter(Dn);if(2===s.length){a=nr.parse(e,s[1]);var c=s[0];Fn(c)&&r.push({stop:{type:16,number:100*c.number,flags:c.flags},color:a})}}})),1===o?{angle:(n+tr(180))%tr(360),stops:r,type:o}:{size:a,shape:i,stops:r,position:s,type:o}},Cr="closest-side",Er="farthest-side",jr="closest-corner",kr="farthest-corner",Sr="circle",Or="ellipse",Nr="cover",Fr="contain",Ir=function(e,t){var n=0,r=3,o=[],i=[];return Qn(t).forEach((function(t,a){var s=!0;if(0===a){var c=!1;s=t.reduce((function(e,t){if(c)if(In(t))switch(t.value){case"center":return i.push(qn),e;case"top":case"left":return i.push(Hn),e;case"right":case"bottom":return i.push(Kn),e}else(Rn(t)||Mn(t))&&i.push(t);else if(In(t))switch(t.value){case Sr:return n=0,!1;case Or:return n=1,!1;case"at":return c=!0,!1;case Cr:return r=0,!1;case Nr:case Er:return r=1,!1;case Fr:case jr:return r=2,!1;case kr:return r=3,!1}else if(Mn(t)||Rn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)}if(s){var l=pr(e,t);o.push(l)}})),{size:r,shape:n,stops:o,position:i,type:2}},Pr=function(e,t){var n=0,r=3,o=[],i=[];return Qn(t).forEach((function(t,a){var s=!0;if(0===a?s=t.reduce((function(e,t){if(In(t))switch(t.value){case"center":return i.push(qn),!1;case"top":case"left":return i.push(Hn),!1;case"right":case"bottom":return i.push(Kn),!1}else if(Rn(t)||Mn(t))return i.push(t),!1;return e}),s):1===a&&(s=t.reduce((function(e,t){if(In(t))switch(t.value){case Sr:return n=0,!1;case Or:return n=1,!1;case Fr:case Cr:return r=0,!1;case Er:return r=1,!1;case jr:return r=2,!1;case Nr:case kr:return r=3,!1}else if(Mn(t)||Rn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),s)),s){var c=pr(e,t);o.push(c)}})),{size:r,shape:n,stops:o,position:i,type:2}},Lr=function(e){return 1===e.type},Tr=function(e){return 2===e.type},Dr={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Mr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Qr(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!Mr[e.name])}var Ur,Mr={"linear-gradient":_r,"-moz-linear-gradient":xr,"-ms-linear-gradient":xr,"-o-linear-gradient":xr,"-webkit-linear-gradient":xr,"radial-gradient":Ir,"-moz-radial-gradient":Pr,"-ms-radial-gradient":Pr,"-o-radial-gradient":Pr,"-webkit-radial-gradient":Pr,"-webkit-gradient":Br},Rr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Dn(e)&&Qr(e)})).map((function(t){return Dr.parse(e,t)}))}},$r={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(In(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Hr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Qn(t).map((function(e){return e.filter(Rn)})).map($n)}},qr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Qn(t).map((function(e){return e.filter(In).map((function(e){return e.value})).join(" ")})).map(Kr)}},Kr=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Ur||(Ur={}));var Vr,zr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Qn(t).map((function(e){return e.filter(Zr)}))}},Zr=function(e){return In(e)||Rn(e)},Gr=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Wr=Gr("top"),Yr=Gr("right"),Xr=Gr("bottom"),Jr=Gr("left"),eo=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return $n(t.filter(Rn))}}},to=eo("top-left"),no=eo("top-right"),ro=eo("bottom-right"),oo=eo("bottom-left"),io=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ao=io("top"),so=io("right"),co=io("bottom"),lo=io("left"),uo=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:0}}},Ao=uo("top"),fo=uo("right"),ho=uo("bottom"),po=uo("left"),mo={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},go={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},vo={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(In).reduce((function(e,t){return e|yo(t.value)}),0)}},yo=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},bo={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wo={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Vr||(Vr={}));var _o,xo={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Vr.STRICT:Vr.NORMAL}},Bo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Co=function(e,t){return In(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Rn(e)?zn(e,t):t},Eo={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Dr.parse(e,t)}},jo={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},ko={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},So=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Oo=So("top"),No=So("right"),Fo=So("bottom"),Io=So("left"),Po={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(In).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Lo={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},To=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Do=To("top"),Qo=To("right"),Uo=To("bottom"),Mo=To("left"),Ro={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},$o={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ho={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Ln(t[0],"none")?[]:Qn(t).map((function(t){for(var n={color:dr.TRANSPARENT,offsetX:Hn,offsetY:Hn,blur:Hn},r=0,o=0;o<t.length;o++){var i=t[o];Mn(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:n.blur=i,r++):n.color=nr.parse(e,i)}return n}))}},qo={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ko={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=Vo[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},Vo={matrix:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],r=t[1];t[2],t[3];var o=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,o,i,a,s]:null}},zo={type:16,number:50,flags:Ke},Zo=[zo,zo],Go={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Rn);return 2!==n.length?Zo:[n[0],n[1]]}},Wo={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(_o||(_o={}));for(var Yo={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return _o.BREAK_ALL;case"keep-all":return _o.KEEP_ALL;default:return _o.NORMAL}}},Xo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Fn(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Jo={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},ei={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Fn(t)?t.number:1}},ti={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ni={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(In).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},ri={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}})),n.length&&r.push(n.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},oi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ii={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return Fn(t)?t.number:In(t)&&"bold"===t.value?700:400}},ai={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(In).map((function(e){return e.value}))}},si={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ci=function(e,t){return 0!==(e&t)},li={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},ui={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],o=t.filter(Tn),i=0;i<o.length;i++){var a=o[i],s=o[i+1];if(20===a.type){var c=s&&Fn(s)?s.number:1;r.push({counter:a.value,increment:c})}}return r}},Ai={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(Tn),o=0;o<r.length;o++){var i=r[o],a=r[o+1];if(In(i)&&"none"!==i.value){var s=a&&Fn(a)?a.number:0;n.push({counter:i.value,reset:s})}}return n}},di={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Nn).map((function(t){return Jo.parse(e,t)}))}},fi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],o=t.filter(Pn);if(o.length%2!==0)return null;for(var i=0;i<o.length;i+=2){var a=o[i].value,s=o[i+1].value;r.push({open:a,close:s})}return r}},hi=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},pi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Ln(t[0],"none")?[]:Qn(t).map((function(t){for(var n={color:255,offsetX:Hn,offsetY:Hn,blur:Hn,spread:Hn,inset:!1},r=0,o=0;o<t.length;o++){var i=t[o];Ln(i,"inset")?n.inset=!0:Mn(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:2===r?n.blur=i:n.spread=i,r++):n.color=nr.parse(e,i)}return n}))}},mi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter(In).forEach((function(e){switch(e.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2)}})),n.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}},gi={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},vi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:0}},yi=function(){function e(e,t){var n,r;this.animationDuration=_i(e,di,t.animationDuration),this.backgroundClip=_i(e,fr,t.backgroundClip),this.backgroundColor=_i(e,hr,t.backgroundColor),this.backgroundImage=_i(e,Rr,t.backgroundImage),this.backgroundOrigin=_i(e,$r,t.backgroundOrigin),this.backgroundPosition=_i(e,Hr,t.backgroundPosition),this.backgroundRepeat=_i(e,qr,t.backgroundRepeat),this.backgroundSize=_i(e,zr,t.backgroundSize),this.borderTopColor=_i(e,Wr,t.borderTopColor),this.borderRightColor=_i(e,Yr,t.borderRightColor),this.borderBottomColor=_i(e,Xr,t.borderBottomColor),this.borderLeftColor=_i(e,Jr,t.borderLeftColor),this.borderTopLeftRadius=_i(e,to,t.borderTopLeftRadius),this.borderTopRightRadius=_i(e,no,t.borderTopRightRadius),this.borderBottomRightRadius=_i(e,ro,t.borderBottomRightRadius),this.borderBottomLeftRadius=_i(e,oo,t.borderBottomLeftRadius),this.borderTopStyle=_i(e,ao,t.borderTopStyle),this.borderRightStyle=_i(e,so,t.borderRightStyle),this.borderBottomStyle=_i(e,co,t.borderBottomStyle),this.borderLeftStyle=_i(e,lo,t.borderLeftStyle),this.borderTopWidth=_i(e,Ao,t.borderTopWidth),this.borderRightWidth=_i(e,fo,t.borderRightWidth),this.borderBottomWidth=_i(e,ho,t.borderBottomWidth),this.borderLeftWidth=_i(e,po,t.borderLeftWidth),this.boxShadow=_i(e,pi,t.boxShadow),this.color=_i(e,mo,t.color),this.direction=_i(e,go,t.direction),this.display=_i(e,vo,t.display),this.float=_i(e,bo,t.cssFloat),this.fontFamily=_i(e,ri,t.fontFamily),this.fontSize=_i(e,oi,t.fontSize),this.fontStyle=_i(e,si,t.fontStyle),this.fontVariant=_i(e,ai,t.fontVariant),this.fontWeight=_i(e,ii,t.fontWeight),this.letterSpacing=_i(e,wo,t.letterSpacing),this.lineBreak=_i(e,xo,t.lineBreak),this.lineHeight=_i(e,Bo,t.lineHeight),this.listStyleImage=_i(e,Eo,t.listStyleImage),this.listStylePosition=_i(e,jo,t.listStylePosition),this.listStyleType=_i(e,ko,t.listStyleType),this.marginTop=_i(e,Oo,t.marginTop),this.marginRight=_i(e,No,t.marginRight),this.marginBottom=_i(e,Fo,t.marginBottom),this.marginLeft=_i(e,Io,t.marginLeft),this.opacity=_i(e,ei,t.opacity);var o=_i(e,Po,t.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=_i(e,Lo,t.overflowWrap),this.paddingTop=_i(e,Do,t.paddingTop),this.paddingRight=_i(e,Qo,t.paddingRight),this.paddingBottom=_i(e,Uo,t.paddingBottom),this.paddingLeft=_i(e,Mo,t.paddingLeft),this.paintOrder=_i(e,mi,t.paintOrder),this.position=_i(e,$o,t.position),this.textAlign=_i(e,Ro,t.textAlign),this.textDecorationColor=_i(e,ti,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=_i(e,ni,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=_i(e,Ho,t.textShadow),this.textTransform=_i(e,qo,t.textTransform),this.transform=_i(e,Ko,t.transform),this.transformOrigin=_i(e,Go,t.transformOrigin),this.visibility=_i(e,Wo,t.visibility),this.webkitTextStrokeColor=_i(e,gi,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=_i(e,vi,t.webkitTextStrokeWidth),this.wordBreak=_i(e,Yo,t.wordBreak),this.zIndex=_i(e,Xo,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return rr(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ci(this.display,4)||ci(this.display,33554432)||ci(this.display,268435456)||ci(this.display,536870912)||ci(this.display,67108864)||ci(this.display,134217728)},e}(),bi=function(){function e(e,t){this.content=_i(e,li,t.content),this.quotes=_i(e,fi,t.quotes)}return e}(),wi=function(){function e(e,t){this.counterIncrement=_i(e,ui,t.counterIncrement),this.counterReset=_i(e,Ai,t.counterReset)}return e}(),_i=function(e,t,n){var r=new Sn,o=null!==n&&"undefined"!==typeof n?n.toString():t.initialValue;r.write(o);var i=new On(r.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,In(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return Xn.parse(e,i.parseComponentValue());case"color":return nr.parse(e,i.parseComponentValue());case"image":return Dr.parse(e,i.parseComponentValue());case"length":var s=i.parseComponentValue();return Mn(s)?s:Hn;case"length-percentage":var c=i.parseComponentValue();return Rn(c)?c:Hn;case"time":return Jo.parse(e,i.parseComponentValue())}}},xi="data-html2canvas-debug",Bi=function(e){switch(e.getAttribute(xi)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ci=function(e,t){var n=Bi(e);return 1===n||t===n},Ei=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Ci(t,3),this.styles=new yi(e,window.getComputedStyle(t,null)),fs(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Ci(t,4)&&(this.flags|=16)}return e}(),ji="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ki="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Si="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Oi=0;Oi<ki.length;Oi++)Si[ki.charCodeAt(Oi)]=Oi;for(var Ni=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<s;t+=4)n=Si[e.charCodeAt(t)],r=Si[e.charCodeAt(t+1)],o=Si[e.charCodeAt(t+2)],i=Si[e.charCodeAt(t+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|o>>2,u[c++]=(3&o)<<6|63&i;return l},Fi=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},Ii=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},Pi=5,Li=11,Ti=2,Di=65536>>Pi,Qi=(1<<Pi)-1,Ui=Di+(1024>>Pi)+32,Mi=65536>>Li,Ri=(1<<Li-Pi)-1,$i=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Hi=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},qi=function(e,t){var n=Ni(e),r=Array.isArray(n)?Ii(n):new Uint32Array(n),o=Array.isArray(n)?Fi(n):new Uint16Array(n),i=24,a=$i(o,i/2,r[4]/2),s=2===r[5]?$i(o,(i+r[4])/2):Hi(r,Math.ceil((i+r[4])/4));return new Ki(r[0],r[1],r[2],r[3],a,s)},Ki=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>Pi])<<Ti)+(e&Qi),this.data[t];if(e<=65535)return t=((t=this.index[Di+(e-55296>>Pi)])<<Ti)+(e&Qi),this.data[t];if(e<this.highStart)return t=Ui-Mi+(e>>Li),t=this.index[t],t+=e>>Pi&Ri,t=((t=this.index[t])<<Ti)+(e&Qi),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Zi=0;Zi<Vi.length;Zi++)zi[Vi.charCodeAt(Zi)]=Zi;var Gi,Wi=1,Yi=2,Xi=3,Ji=4,ea=5,ta=7,na=8,ra=9,oa=10,ia=11,aa=12,sa=13,ca=14,la=15,ua=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320===(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},Aa=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},da=qi(ji),fa="\xd7",ha="\xf7",pa=function(e){return da.get(e)},ma=function(e,t,n){var r=n-2,o=t[r],i=t[n-1],a=t[n];if(i===Yi&&a===Xi)return fa;if(i===Yi||i===Xi||i===Ji)return ha;if(a===Yi||a===Xi||a===Ji)return ha;if(i===na&&-1!==[na,ra,ia,aa].indexOf(a))return fa;if((i===ia||i===ra)&&(a===ra||a===oa))return fa;if((i===aa||i===oa)&&a===oa)return fa;if(a===sa||a===ea)return fa;if(a===ta)return fa;if(i===Wi)return fa;if(i===sa&&a===ca){for(;o===ea;)o=t[--r];if(o===ca)return fa}if(i===la&&a===la){for(var s=0;o===la;)s++,o=t[--r];if(s%2===0)return fa}return ha},ga=function(e){var t=ua(e),n=t.length,r=0,o=0,i=t.map(pa);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=fa;r<n&&(e=ma(t,i,++r))===fa;);if(e!==fa||r===n){var a=Aa.apply(null,t.slice(o,r));return o=r,{value:a,done:!1}}return{done:!0,value:null}}}},va=function(e){for(var t,n=ga(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r},ya=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var o=n.getBoundingClientRect(),i=Math.round(o.height);if(e.body.removeChild(r),i===t)return!0}}return!1},ba=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"===typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,o=l(r.data).map((function(e){return u(e)})),i=0,a={},s=o.every((function(e,t){n.setStart(r,i),n.setEnd(r,i+e.length);var o=n.getBoundingClientRect();i+=e.length;var s=o.x>a.x||o.y>a.y;return a=o,0===t||s}));return e.body.removeChild(t),s},wa=function(){return"undefined"!==typeof(new Image).crossOrigin},_a=function(){return"string"===typeof(new XMLHttpRequest).responseType},xa=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(Dt){return!1}return!0},Ba=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Ca=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var o=new Image,i=t.toDataURL();o.src=i;var a=Ea(n,n,0,0,o);return r.fillStyle="red",r.fillRect(0,0,n,n),ja(a).then((function(t){r.drawImage(t,0,0);var o=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+i+")",a.style.height=n+"px",Ba(o)?ja(Ea(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),Ba(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Ea=function(e,t,n,r,o){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(o),a},ja=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},ka={get SUPPORT_RANGE_BOUNDS(){var e=ya(document);return Object.defineProperty(ka,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=ka.SUPPORT_RANGE_BOUNDS&&ba(document);return Object.defineProperty(ka,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=xa(document);return Object.defineProperty(ka,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Ca(document):Promise.resolve(!1);return Object.defineProperty(ka,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=wa();return Object.defineProperty(ka,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=_a();return Object.defineProperty(ka,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ka,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(ka,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Sa=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Oa=function(e,t,n,r){var o=La(t,n),i=[],s=0;return o.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(ka.SUPPORT_RANGE_BOUNDS){var o=Fa(r,s,t.length).getClientRects();if(o.length>1){var c=Ia(t),l=0;c.forEach((function(t){i.push(new Sa(t,a.fromDOMRectList(e,Fa(r,l+s,t.length).getClientRects()))),l+=t.length}))}else i.push(new Sa(t,a.fromDOMRectList(e,o)))}else{var u=r.splitText(t.length);i.push(new Sa(t,Na(e,r))),r=u}else ka.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length})),i},Na=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var o=t.parentNode;if(o){o.replaceChild(r,t);var i=s(e,r);return r.firstChild&&o.replaceChild(r.firstChild,r),i}}return a.EMPTY},Fa=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var o=r.createRange();return o.setStart(e,t),o.setEnd(e,t+n),o},Ia=function(e){if(ka.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return va(e)},Pa=function(e,t){if(ka.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return Da(e,t)},La=function(e,t){return 0!==t.letterSpacing?Ia(e):Pa(e,t)},Ta=[32,160,4961,65792,65793,4153,4241],Da=function(e,t){for(var n,r=$e(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),o=[],i=function(){if(n.value){var e=n.value.slice(),t=l(e),r="";t.forEach((function(e){-1===Ta.indexOf(e)?r+=u(e):(r.length&&o.push(r),o.push(u(e)),r="")})),r.length&&o.push(r)}};!(n=r.next()).done;)i();return o},Qa=function(){function e(e,t,n){this.text=Ua(t.data,n.textTransform),this.textBounds=Oa(e,this.text,n,t)}return e}(),Ua=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Ma,Ra);case 2:return e.toUpperCase();default:return e}},Ma=/(^|\s|:|-|\(|\))([a-z])/g,Ra=function(e,t,n){return e.length>0?t+n.toUpperCase():e},$a=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(Ei),Ha=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(Ei),qa=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=new XMLSerializer,i=s(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(Ei),Ka=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(Ei),Va=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"===typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(Ei),za=[{type:15,flags:0,unit:"px",number:3}],Za=[{type:16,flags:0,number:50}],Ga=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Wa=function(e){var t=e.type===Ja?new Array(e.value.length+1).join("\u2022"):e.value;return 0===t.length?e.placeholder||"":t},Ya="checkbox",Xa="radio",Ja="password",es=707406591,ts=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=Wa(n),r.type!==Ya&&r.type!==Xa||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=Ga(r.bounds)),r.type){case Ya:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=za;break;case Xa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Za}return r}return t(n,e),n}(Ei),ns=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=n.options[n.selectedIndex||0];return r.value=o&&o.text||"",r}return t(n,e),n}(Ei),rs=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(Ei),os=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=cs(t,n.contentWindow.document.documentElement);var o=n.contentWindow.document.documentElement?Ar(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):dr.TRANSPARENT,i=n.contentWindow.document.body?Ar(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):dr.TRANSPARENT;r.backgroundColor=rr(o)?rr(i)?r.styles.backgroundColor:i:o}}catch(Dt){}return r}return t(n,e),n}(Ei),is=["OL","UL","MENU"],as=function e(t,n,r,o){for(var i=n.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,As(i)&&i.data.trim().length>0)r.textNodes.push(new Qa(t,i,r.styles));else if(ds(i))if(Ss(i)&&i.assignedNodes)i.assignedNodes().forEach((function(n){return e(t,n,r,o)}));else{var s=ss(t,i);s.styles.isVisible()&&(ls(i,s,o)?s.flags|=4:us(s.styles)&&(s.flags|=2),-1!==is.indexOf(i.tagName)&&(s.flags|=8),r.elements.push(s),i.slot,i.shadowRoot?e(t,i.shadowRoot,s,o):js(i)||ys(i)||ks(i)||e(t,i,s,o))}},ss=function(e,t){return xs(t)?new $a(e,t):ws(t)?new Ha(e,t):ys(t)?new qa(e,t):ps(t)?new Ka(e,t):ms(t)?new Va(e,t):gs(t)?new ts(e,t):ks(t)?new ns(e,t):js(t)?new rs(e,t):Bs(t)?new os(e,t):new Ei(e,t)},cs=function(e,t){var n=ss(e,t);return n.flags|=4,as(e,t,n,n),n},ls=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||bs(e)&&n.styles.isTransparent()},us=function(e){return e.isPositioned()||e.isFloating()},As=function(e){return e.nodeType===Node.TEXT_NODE},ds=function(e){return e.nodeType===Node.ELEMENT_NODE},fs=function(e){return ds(e)&&"undefined"!==typeof e.style&&!hs(e)},hs=function(e){return"object"===typeof e.className},ps=function(e){return"LI"===e.tagName},ms=function(e){return"OL"===e.tagName},gs=function(e){return"INPUT"===e.tagName},vs=function(e){return"HTML"===e.tagName},ys=function(e){return"svg"===e.tagName},bs=function(e){return"BODY"===e.tagName},ws=function(e){return"CANVAS"===e.tagName},_s=function(e){return"VIDEO"===e.tagName},xs=function(e){return"IMG"===e.tagName},Bs=function(e){return"IFRAME"===e.tagName},Cs=function(e){return"STYLE"===e.tagName},Es=function(e){return"SCRIPT"===e.tagName},js=function(e){return"TEXTAREA"===e.tagName},ks=function(e){return"SELECT"===e.tagName},Ss=function(e){return"SLOT"===e.tagName},Os=function(e){return e.tagName.indexOf("-")>0},Ns=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,o=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(o=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var i=[];return o&&r.forEach((function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),i},e}(),Fs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Is={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Ps={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Ls={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Ts=function(e,t,n,r,o,i){return e<t||e>n?Gs(e,o,i.length>0):r.integers.reduce((function(t,n,o){for(;e>=n;)e-=n,t+=r.values[o];return t}),"")+i},Ds=function(e,t,n,r){var o="";do{n||e--,o=r(e)+o,e/=t}while(e*t>=t);return o},Qs=function(e,t,n,r,o){var i=n-t+1;return(e<0?"-":"")+(Ds(Math.abs(e),i,r,(function(e){return u(Math.floor(e%i)+t)}))+o)},Us=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Ds(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},Ms=1,Rs=2,$s=4,Hs=8,qs=function(e,t,n,r,o,i){if(e<-9999||e>9999)return Gs(e,4,o.length>0);var a=Math.abs(e),s=o;if(0===a)return t[0]+s;for(var c=0;a>0&&c<=4;c++){var l=a%10;0===l&&ci(i,Ms)&&""!==s?s=t[l]+s:l>1||1===l&&0===c||1===l&&1===c&&ci(i,Rs)||1===l&&1===c&&ci(i,$s)&&e>100||1===l&&c>1&&ci(i,Hs)?s=t[l]+(c>0?n[c-1]:"")+s:1===l&&c>0&&(s=n[c-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},Ks="\u5341\u767e\u5343\u842c",Vs="\u62fe\u4f70\u4edf\u842c",zs="\u30de\u30a4\u30ca\u30b9",Zs="\ub9c8\uc774\ub108\uc2a4",Gs=function(e,t,n){var r=n?". ":"",o=n?"\u3001":"",i=n?", ":"",a=n?" ":"";switch(t){case 0:return"\u2022"+a;case 1:return"\u25e6"+a;case 2:return"\u25fe"+a;case 5:var s=Qs(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Us(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",o);case 6:return Ts(e,1,3999,Fs,3,r).toLowerCase();case 7:return Ts(e,1,3999,Fs,3,r);case 8:return Qs(e,945,969,!1,r);case 9:return Qs(e,97,122,!1,r);case 10:return Qs(e,65,90,!1,r);case 11:return Qs(e,1632,1641,!0,r);case 12:case 49:return Ts(e,1,9999,Is,3,r);case 35:return Ts(e,1,9999,Is,3,r).toLowerCase();case 13:return Qs(e,2534,2543,!0,r);case 14:case 30:return Qs(e,6112,6121,!0,r);case 15:return Us(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",o);case 16:return Us(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",o);case 17:case 48:return qs(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Ks,"\u8ca0",o,Rs|$s|Hs);case 47:return qs(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",Vs,"\u8ca0",o,Ms|Rs|$s|Hs);case 42:return qs(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Ks,"\u8d1f",o,Rs|$s|Hs);case 41:return qs(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",Vs,"\u8d1f",o,Ms|Rs|$s|Hs);case 26:return qs(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",zs,o,0);case 25:return qs(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",zs,o,Ms|Rs|$s);case 31:return qs(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",Zs,i,Ms|Rs|$s);case 33:return qs(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",Zs,i,0);case 32:return qs(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",Zs,i,Ms|Rs|$s);case 18:return Qs(e,2406,2415,!0,r);case 20:return Ts(e,1,19999,Ls,3,r);case 21:return Qs(e,2790,2799,!0,r);case 22:return Qs(e,2662,2671,!0,r);case 22:return Ts(e,1,10999,Ps,3,r);case 23:return Us(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return Us(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Qs(e,3302,3311,!0,r);case 28:return Us(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",o);case 29:return Us(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",o);case 34:return Qs(e,3792,3801,!0,r);case 37:return Qs(e,6160,6169,!0,r);case 38:return Qs(e,4160,4169,!0,r);case 39:return Qs(e,2918,2927,!0,r);case 40:return Qs(e,1776,1785,!0,r);case 43:return Qs(e,3046,3055,!0,r);case 44:return Qs(e,3174,3183,!0,r);case 45:return Qs(e,3664,3673,!0,r);case 46:return Qs(e,3872,3881,!0,r);default:return Qs(e,48,57,!0,r)}},Ws="data-html2canvas-ignore",Ys=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ns,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=Js(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,c=i.contentWindow,l=c.document,u=nc(i).then((function(){return r(n,void 0,void 0,(function(){var e,n;return o(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(sc),c&&(c.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||c.scrollY===t.top&&c.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(c.scrollX-t.left,c.scrollY-t.top,0,0))),e=this.options.onclone,"undefined"===typeof(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,tc(l)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(l,n)})).then((function(){return i}))]:[2,i]}}))}))}));return l.open(),l.write(ic(document.doctype)+"<html></html>"),ac(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},e.prototype.createElementClone=function(e){if(Ci(e,2),ws(e))return this.createCanvasClone(e);if(_s(e))return this.createVideoClone(e);if(Cs(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return xs(t)&&(xs(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Os(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return oc(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(Dt){if(this.context.logger.error("Unable to access cssRules property",Dt),"SecurityError"!==Dt.name)throw Dt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(Dt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var o=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&o)i.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(Dt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(Dt){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){ds(t)&&(Es(t)||t.hasAttribute(Ws)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&ds(t)&&Cs(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(ds(o)&&Ss(o)&&"function"===typeof o.assignedNodes){var i=o.assignedNodes();i.length&&i.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,o,n)},e.prototype.cloneNode=function(e,t){if(As(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&ds(e)&&(fs(e)||hs(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var o=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&fs(r)&&(this.clonedReferenceElement=r),bs(r)&&fc(r);var s=this.counters.parse(new wi(this.context,o)),c=this.resolvePseudoContent(e,r,i,Gi.BEFORE);Os(e)&&(t=!0),_s(e)||this.cloneChildNodes(e,r,t),c&&r.insertBefore(c,r.firstChild);var l=this.resolvePseudoContent(e,r,a,Gi.AFTER);return l&&r.appendChild(l),this.counters.pop(s),(o&&(this.options.copyStyles||hs(e))&&!Bs(e)||t)&&oc(o,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(js(e)||ks(e))&&(js(r)||ks(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var o=this;if(n){var i=n.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new wi(this.context,n));var s=new bi(this.context,n),c=a.createElement("html2canvaspseudoelement");oc(n,c),s.content.forEach((function(t){if(0===t.type)c.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",c.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(In);r.length&&c.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Dn),l=i[0],u=i[1];if(l&&In(l)){var A=o.counters.getCounterValue(l.value),d=u&&In(u)?ko.parse(o.context,u.value):3;c.appendChild(a.createTextNode(Gs(A,d,!1)))}}else if("counters"===t.name){var f=t.values.filter(Dn),h=(l=f[0],f[1]);if(u=f[2],l&&In(l)){var p=o.counters.getCounterValues(l.value),m=u&&In(u)?ko.parse(o.context,u.value):3,g=h&&0===h.type?h.value:"",v=p.map((function(e){return Gs(e,m,!1)})).join(g);c.appendChild(a.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":c.appendChild(a.createTextNode(hi(s.quotes,o.quoteDepth++,!0)));break;case"close-quote":c.appendChild(a.createTextNode(hi(s.quotes,--o.quoteDepth,!1)));break;default:c.appendChild(a.createTextNode(t.value))}})),c.className=uc+" "+Ac;var l=r===Gi.BEFORE?" "+uc:" "+Ac;return hs(t)?t.className.baseValue+=l:t.className+=l,c}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Gi||(Gi={}));var Xs,Js=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Ws,"true"),e.body.appendChild(n),n},ec=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},tc=function(e){return Promise.all([].slice.call(e.images,0).map(ec))},nc=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var o=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){o.body.childNodes.length>0&&"complete"===o.readyState&&(clearInterval(n),t(e))}),50)}}))},rc=["all","d","content"],oc=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===rc.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},ic=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},ac=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},sc=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},cc=":before",lc=":after",uc="___html2canvas___pseudoelement_before",Ac="___html2canvas___pseudoelement_after",dc='{\n    content: "" !important;\n    display: none !important;\n}',fc=function(e){hc(e,"."+uc+cc+dc+"\n         ."+Ac+lc+dc)},hc=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},pc=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),mc=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:xc(e)||bc(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a=this;return o(this,(function(o){switch(o.label){case 0:return t=pc.isSameOrigin(e),n=!wc(e)&&!0===this._options.useCORS&&ka.SUPPORT_CORS_IMAGES&&!t,r=!wc(e)&&!t&&!xc(e)&&"string"===typeof this._options.proxy&&ka.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||wc(e)||xc(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(_c(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return e(r)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,o.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(o,i){var a=ka.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)o(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return o(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i;var c=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+c+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var l=t._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return i("Timed out ("+l+"ms) proxying "+r)}}s.send()}))},e}(),gc=/^data:image\/svg\+xml/i,vc=/^data:image\/.*;base64,/i,yc=/^data:image\/.*/i,bc=function(e){return ka.SUPPORT_SVG_DRAWING||!Bc(e)},wc=function(e){return yc.test(e)},_c=function(e){return vc.test(e)},xc=function(e){return"blob"===e.substr(0,4)},Bc=function(e){return"svg"===e.substr(-3).toLowerCase()||gc.test(e)},Cc=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Ec=function(e,t,n){return new Cc(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},jc=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Ec(this.start,this.startControl,t),o=Ec(this.startControl,this.endControl,t),i=Ec(this.endControl,this.end,t),a=Ec(r,o,t),s=Ec(o,i,t),c=Ec(a,s,t);return n?new e(this.start,r,a,c):new e(c,s,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),kc=function(e){return 1===e.type},Sc=function(){function e(e){var t=e.styles,n=e.bounds,r=Vn(t.borderTopLeftRadius,n.width,n.height),o=r[0],i=r[1],a=Vn(t.borderTopRightRadius,n.width,n.height),s=a[0],c=a[1],l=Vn(t.borderBottomRightRadius,n.width,n.height),u=l[0],A=l[1],d=Vn(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((o+s)/n.width),p.push((f+u)/n.width),p.push((i+h)/n.height),p.push((c+A)/n.height);var m=Math.max.apply(Math,p);m>1&&(o/=m,i/=m,s/=m,c/=m,u/=m,A/=m,f/=m,h/=m);var g=n.width-s,v=n.height-A,y=n.width-u,b=n.height-h,w=t.borderTopWidth,_=t.borderRightWidth,x=t.borderBottomWidth,B=t.borderLeftWidth,C=zn(t.paddingTop,e.bounds.width),E=zn(t.paddingRight,e.bounds.width),j=zn(t.paddingBottom,e.bounds.width),k=zn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||i>0?Oc(n.left+B/3,n.top+w/3,o-B/3,i-w/3,Xs.TOP_LEFT):new Cc(n.left+B/3,n.top+w/3),this.topRightBorderDoubleOuterBox=o>0||i>0?Oc(n.left+g,n.top+w/3,s-_/3,c-w/3,Xs.TOP_RIGHT):new Cc(n.left+n.width-_/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=u>0||A>0?Oc(n.left+y,n.top+v,u-_/3,A-x/3,Xs.BOTTOM_RIGHT):new Cc(n.left+n.width-_/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?Oc(n.left+B/3,n.top+b,f-B/3,h-x/3,Xs.BOTTOM_LEFT):new Cc(n.left+B/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=o>0||i>0?Oc(n.left+2*B/3,n.top+2*w/3,o-2*B/3,i-2*w/3,Xs.TOP_LEFT):new Cc(n.left+2*B/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=o>0||i>0?Oc(n.left+g,n.top+2*w/3,s-2*_/3,c-2*w/3,Xs.TOP_RIGHT):new Cc(n.left+n.width-2*_/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=u>0||A>0?Oc(n.left+y,n.top+v,u-2*_/3,A-2*x/3,Xs.BOTTOM_RIGHT):new Cc(n.left+n.width-2*_/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?Oc(n.left+2*B/3,n.top+b,f-2*B/3,h-2*x/3,Xs.BOTTOM_LEFT):new Cc(n.left+2*B/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=o>0||i>0?Oc(n.left+B/2,n.top+w/2,o-B/2,i-w/2,Xs.TOP_LEFT):new Cc(n.left+B/2,n.top+w/2),this.topRightBorderStroke=o>0||i>0?Oc(n.left+g,n.top+w/2,s-_/2,c-w/2,Xs.TOP_RIGHT):new Cc(n.left+n.width-_/2,n.top+w/2),this.bottomRightBorderStroke=u>0||A>0?Oc(n.left+y,n.top+v,u-_/2,A-x/2,Xs.BOTTOM_RIGHT):new Cc(n.left+n.width-_/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||h>0?Oc(n.left+B/2,n.top+b,f-B/2,h-x/2,Xs.BOTTOM_LEFT):new Cc(n.left+B/2,n.top+n.height-x/2),this.topLeftBorderBox=o>0||i>0?Oc(n.left,n.top,o,i,Xs.TOP_LEFT):new Cc(n.left,n.top),this.topRightBorderBox=s>0||c>0?Oc(n.left+g,n.top,s,c,Xs.TOP_RIGHT):new Cc(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||A>0?Oc(n.left+y,n.top+v,u,A,Xs.BOTTOM_RIGHT):new Cc(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?Oc(n.left,n.top+b,f,h,Xs.BOTTOM_LEFT):new Cc(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||i>0?Oc(n.left+B,n.top+w,Math.max(0,o-B),Math.max(0,i-w),Xs.TOP_LEFT):new Cc(n.left+B,n.top+w),this.topRightPaddingBox=s>0||c>0?Oc(n.left+Math.min(g,n.width-_),n.top+w,g>n.width+_?0:Math.max(0,s-_),Math.max(0,c-w),Xs.TOP_RIGHT):new Cc(n.left+n.width-_,n.top+w),this.bottomRightPaddingBox=u>0||A>0?Oc(n.left+Math.min(y,n.width-B),n.top+Math.min(v,n.height-x),Math.max(0,u-_),Math.max(0,A-x),Xs.BOTTOM_RIGHT):new Cc(n.left+n.width-_,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||h>0?Oc(n.left+B,n.top+Math.min(b,n.height-x),Math.max(0,f-B),Math.max(0,h-x),Xs.BOTTOM_LEFT):new Cc(n.left+B,n.top+n.height-x),this.topLeftContentBox=o>0||i>0?Oc(n.left+B+k,n.top+w+C,Math.max(0,o-(B+k)),Math.max(0,i-(w+C)),Xs.TOP_LEFT):new Cc(n.left+B+k,n.top+w+C),this.topRightContentBox=s>0||c>0?Oc(n.left+Math.min(g,n.width+B+k),n.top+w+C,g>n.width+B+k?0:s-B+k,c-(w+C),Xs.TOP_RIGHT):new Cc(n.left+n.width-(_+E),n.top+w+C),this.bottomRightContentBox=u>0||A>0?Oc(n.left+Math.min(y,n.width-(B+k)),n.top+Math.min(v,n.height+w+C),Math.max(0,u-(_+E)),A-(x+j),Xs.BOTTOM_RIGHT):new Cc(n.left+n.width-(_+E),n.top+n.height-(x+j)),this.bottomLeftContentBox=f>0||h>0?Oc(n.left+B+k,n.top+b,Math.max(0,f-(B+k)),h-(x+j),Xs.BOTTOM_LEFT):new Cc(n.left+B+k,n.top+n.height-(x+j))}return e}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Xs||(Xs={}));var Oc=function(e,t,n,r,o){var i=(Math.sqrt(2)-1)/3*4,a=n*i,s=r*i,c=e+n,l=t+r;switch(o){case Xs.TOP_LEFT:return new jc(new Cc(e,l),new Cc(e,l-s),new Cc(c-a,t),new Cc(c,t));case Xs.TOP_RIGHT:return new jc(new Cc(e,t),new Cc(e+a,t),new Cc(c,l-s),new Cc(c,l));case Xs.BOTTOM_RIGHT:return new jc(new Cc(c,t),new Cc(c,t+s),new Cc(e+a,l),new Cc(e,l));case Xs.BOTTOM_LEFT:default:return new jc(new Cc(c,l),new Cc(c-a,l),new Cc(e,t+s),new Cc(e,t))}},Nc=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Fc=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Ic=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Pc=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Lc=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),Tc=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),Dc=function(e){return 0===e.type},Qc=function(e){return 1===e.type},Uc=function(e){return 2===e.type},Mc=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},Rc=function(e,t,n,r,o){return e.map((function(e,i){switch(i){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+o);case 3:return e.add(t,n+o)}return e}))},$c=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),Hc=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Sc(this.container),this.container.styles.opacity<1&&this.effects.push(new Tc(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new Pc(n,r,o))}if(0!==this.container.styles.overflowX){var i=Nc(this.curves),a=Ic(this.curves);Mc(i,a)?this.effects.push(new Lc(i,6)):(this.effects.push(new Lc(i,2)),this.effects.push(new Lc(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var o=n.effects.filter((function(e){return!Qc(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,o),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Nc(n.curves),a=Ic(n.curves);Mc(i,a)||r.unshift(new Lc(a,6))}}else r.unshift.apply(r,o);n=n.parent}return r.filter((function(t){return ci(t.target,e)}))},e}(),qc=function e(t,n,r,o){t.container.elements.forEach((function(i){var a=ci(i.flags,4),s=ci(i.flags,2),c=new Hc(i,t);ci(i.styles.display,2048)&&o.push(c);var l=ci(i.flags,8)?[]:o;if(a||s){var u=a||i.styles.isPositioned()?r:n,A=new $c(c);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var d=i.styles.zIndex.order;if(d<0){var f=0;u.negativeZIndex.some((function(e,t){return d>e.element.container.styles.zIndex.order?(f=t,!1):f>0})),u.negativeZIndex.splice(f,0,A)}else if(d>0){var h=0;u.positiveZIndex.some((function(e,t){return d>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),u.positiveZIndex.splice(h,0,A)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(A)}else i.styles.isFloating()?u.nonPositionedFloats.push(A):u.nonPositionedInlineLevel.push(A);e(c,A,a?A:r,l)}else i.styles.isInlineLevel()?n.inlineLevel.push(c):n.nonInlineLevel.push(c),e(c,n,r,l);ci(i.flags,8)&&Kc(i,l)}))},Kc=function(e,t){for(var n=e instanceof Va?e.start:1,r=e instanceof Va&&e.reversed,o=0;o<t.length;o++){var i=t[o];i.container instanceof Ka&&"number"===typeof i.container.value&&0!==i.container.value&&(n=i.container.value),i.listValue=Gs(n,i.container.styles.listStyleType,!0),n+=r?-1:1}},Vc=function(e){var t=new Hc(e,null),n=new $c(t),r=[];return qc(t,n,n,r),Kc(t.container,r),n},zc=function(e,t){switch(t){case 0:return Xc(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Xc(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Xc(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return Xc(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Zc=function(e,t){switch(t){case 0:return Xc(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Xc(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Xc(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return Xc(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Gc=function(e,t){switch(t){case 0:return Xc(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Xc(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Xc(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return Xc(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Wc=function(e,t){switch(t){case 0:return Yc(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Yc(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Yc(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Yc(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Yc=function(e,t){var n=[];return kc(e)?n.push(e.subdivide(.5,!1)):n.push(e),kc(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Xc=function(e,t,n,r){var o=[];return kc(e)?o.push(e.subdivide(.5,!1)):o.push(e),kc(n)?o.push(n.subdivide(.5,!0)):o.push(n),kc(r)?o.push(r.subdivide(.5,!0).reverse()):o.push(r),kc(t)?o.push(t.subdivide(.5,!1).reverse()):o.push(t),o},Jc=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},el=function(e){var t=e.styles,n=e.bounds,r=zn(t.paddingLeft,n.width),o=zn(t.paddingRight,n.width),i=zn(t.paddingTop,n.width),a=zn(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+o),-(t.borderTopWidth+t.borderBottomWidth+i+a))},tl=function(e,t){return 0===e?t.bounds:2===e?el(t):Jc(t)},nl=function(e,t){return 0===e?t.bounds:2===e?el(t):Jc(t)},rl=function(e,t,n){var r=tl(sl(e.styles.backgroundOrigin,t),e),o=nl(sl(e.styles.backgroundClip,t),e),i=al(sl(e.styles.backgroundSize,t),n,r),a=i[0],s=i[1],c=Vn(sl(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[cl(sl(e.styles.backgroundRepeat,t),c,i,r,o),Math.round(r.left+c[0]),Math.round(r.top+c[1]),a,s]},ol=function(e){return In(e)&&e.value===Ur.AUTO},il=function(e){return"number"===typeof e},al=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Rn(a)&&s&&Rn(s))return[zn(a,n.width),zn(s,n.height)];var c=il(i);if(In(a)&&(a.value===Ur.CONTAIN||a.value===Ur.COVER))return il(i)?n.width/n.height<i!==(a.value===Ur.COVER)?[n.width,n.width/i]:[n.height*i,n.height]:[n.width,n.height];var l=il(r),u=il(o),A=l||u;if(ol(a)&&(!s||ol(s)))return l&&u?[r,o]:c||A?A&&c?[l?r:o*i,u?o:r/i]:[l?r:n.width,u?o:n.height]:[n.width,n.height];if(c){var d=0,f=0;return Rn(a)?d=zn(a,n.width):Rn(s)&&(f=zn(s,n.height)),ol(a)?d=f*i:s&&!ol(s)||(f=d/i),[d,f]}var h=null,p=null;if(Rn(a)?h=zn(a,n.width):s&&Rn(s)&&(p=zn(s,n.height)),null===h||s&&!ol(s)||(p=l&&u?h/r*o:n.height),null!==p&&ol(a)&&(h=l&&u?p/o*r:n.width),null!==h&&null!==p)return[h,p];throw new Error("Unable to calculate background-size for element")},sl=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n},cl=function(e,t,n,r,o){var i=t[0],a=t[1],s=n[0],c=n[1];switch(e){case 2:return[new Cc(Math.round(r.left),Math.round(r.top+a)),new Cc(Math.round(r.left+r.width),Math.round(r.top+a)),new Cc(Math.round(r.left+r.width),Math.round(c+r.top+a)),new Cc(Math.round(r.left),Math.round(c+r.top+a))];case 3:return[new Cc(Math.round(r.left+i),Math.round(r.top)),new Cc(Math.round(r.left+i+s),Math.round(r.top)),new Cc(Math.round(r.left+i+s),Math.round(r.height+r.top)),new Cc(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new Cc(Math.round(r.left+i),Math.round(r.top+a)),new Cc(Math.round(r.left+i+s),Math.round(r.top+a)),new Cc(Math.round(r.left+i+s),Math.round(r.top+a+c)),new Cc(Math.round(r.left+i),Math.round(r.top+a+c))];default:return[new Cc(Math.round(o.left),Math.round(o.top)),new Cc(Math.round(o.left+o.width),Math.round(o.top)),new Cc(Math.round(o.left+o.width),Math.round(o.height+o.top)),new Cc(Math.round(o.left),Math.round(o.height+o.top))]}},ll="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ul="Hidden Text",Al=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),o=this._document.createElement("span"),i=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",i.appendChild(n),r.src=ll,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=t,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(ul)),n.appendChild(o),n.appendChild(r);var a=r.offsetTop-o.offsetTop+2;n.removeChild(o),n.appendChild(this._document.createTextNode(ul)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return i.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),dl=function(){function e(e,t){this.context=e,this.options=t}return e}(),fl=1e4,hl=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Al(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),Uc(e)&&(this.ctx.globalAlpha=e.opacity),Dc(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Qc(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return ci(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Ia(e.text).reduce((function(t,o){return r.ctx.fillText(o,t,e.bounds.top+n),t+r.ctx.measureText(o).width}),e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=yl(e.fontFamily).join(", "),r=Nn(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,i,a,s,c,l,u,A=this;return o(this,(function(o){return n=this.createFontStyle(t),r=n[0],i=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(i,a),c=s.baseline,l=s.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(n){switch(n){case 0:A.ctx.fillStyle=or(t.color),A.renderTextWithLetterSpacing(e,t.letterSpacing,c);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach((function(n){A.ctx.shadowColor=or(n.color),A.ctx.shadowOffsetX=n.offsetX.number*A.options.scale,A.ctx.shadowOffsetY=n.offsetY.number*A.options.scale,A.ctx.shadowBlur=n.blur.number,A.renderTextWithLetterSpacing(e,t.letterSpacing,c)})),A.ctx.shadowColor="",A.ctx.shadowOffsetX=0,A.ctx.shadowOffsetY=0,A.ctx.shadowBlur=0),t.textDecorationLine.length&&(A.ctx.fillStyle=or(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:A.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+c),e.bounds.width,1);break;case 2:A.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:A.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+l),e.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(A.ctx.strokeStyle=or(t.webkitTextStrokeColor),A.ctx.lineWidth=t.webkitTextStrokeWidth,A.ctx.lineJoin=window.chrome?"miter":"round",A.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+c)),A.ctx.strokeStyle="",A.ctx.lineWidth=0,A.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=el(e),o=Ic(t);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,s,c,l,u,A,d,f,h,p,m,g,v,y,b,w;return o(this,(function(o){switch(o.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,s=0,c=t.textNodes,o.label=1;case 1:return s<c.length?(l=c[s],[4,this.renderTextNode(l,i)]):[3,4];case 2:o.sent(),o.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof $a))return[3,8];o.label=5;case 5:return o.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return v=o.sent(),this.renderReplacedElement(t,r,v),[3,8];case 7:return o.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Ha&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof qa))return[3,12];o.label=9;case 9:return o.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return v=o.sent(),this.renderReplacedElement(t,r,v),[3,12];case 11:return o.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof os&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=o.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),o.label=14;case 14:if(t instanceof ts&&(A=Math.min(t.bounds.width,t.bounds.height),t.type===Ya?t.checked&&(this.ctx.save(),this.path([new Cc(t.bounds.left+.39363*A,t.bounds.top+.79*A),new Cc(t.bounds.left+.16*A,t.bounds.top+.5549*A),new Cc(t.bounds.left+.27347*A,t.bounds.top+.44071*A),new Cc(t.bounds.left+.39694*A,t.bounds.top+.5649*A),new Cc(t.bounds.left+.72983*A,t.bounds.top+.23*A),new Cc(t.bounds.left+.84*A,t.bounds.top+.34085*A),new Cc(t.bounds.left+.39363*A,t.bounds.top+.79*A)]),this.ctx.fillStyle=or(es),this.ctx.fill(),this.ctx.restore()):t.type===Xa&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+A/2,t.bounds.top+A/2,A/4,0,2*Math.PI,!0),this.ctx.fillStyle=or(es),this.ctx.fill(),this.ctx.restore())),pl(t)&&t.value.length){switch(d=this.createFontStyle(i),b=d[0],f=d[1],h=this.fontMetrics.getMetrics(b,f).baseline,this.ctx.font=b,this.ctx.fillStyle=or(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=gl(t.styles.textAlign),w=el(t),p=0,t.styles.textAlign){case 1:p+=w.width/2;break;case 2:p+=w.width}m=w.add(p,0,0,-w.height/2+1),this.ctx.save(),this.path([new Cc(w.left,w.top),new Cc(w.left+w.width,w.top),new Cc(w.left+w.width,w.top+w.height),new Cc(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Sa(t.value,m),i.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ci(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(g=t.styles.listStyleImage).type)return[3,18];v=void 0,y=g.url,o.label=15;case 15:return o.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return v=o.sent(),this.ctx.drawImage(v,t.bounds.left-(v.width+10),t.bounds.top),[3,18];case 17:return o.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(b=this.createFontStyle(i)[0],this.ctx.font=b,this.ctx.fillStyle=or(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new a(t.bounds.left,t.bounds.top+zn(t.styles.paddingTop,t.bounds.width),t.bounds.width,Co(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Sa(e.listValue,w),i.letterSpacing,Co(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),o.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,c,l,u,A,d,f,h,p,m;return o(this,(function(o){switch(o.label){case 0:return ci(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:o.sent(),t=0,n=e.negativeZIndex,o.label=2;case 2:return t<n.length?(m=n[t],[4,this.renderStack(m)]):[3,5];case 3:o.sent(),o.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:o.sent(),r=0,i=e.nonInlineLevel,o.label=7;case 7:return r<i.length?(m=i[r],[4,this.renderNode(m)]):[3,10];case 8:o.sent(),o.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,o.label=11;case 11:return a<s.length?(m=s[a],[4,this.renderStack(m)]):[3,14];case 12:o.sent(),o.label=13;case 13:return a++,[3,11];case 14:c=0,l=e.nonPositionedInlineLevel,o.label=15;case 15:return c<l.length?(m=l[c],[4,this.renderStack(m)]):[3,18];case 16:o.sent(),o.label=17;case 17:return c++,[3,15];case 18:u=0,A=e.inlineLevel,o.label=19;case 19:return u<A.length?(m=A[u],[4,this.renderNode(m)]):[3,22];case 20:o.sent(),o.label=21;case 21:return u++,[3,19];case 22:d=0,f=e.zeroOrAutoZIndexOrTransformedOrOpacity,o.label=23;case 23:return d<f.length?(m=f[d],[4,this.renderStack(m)]):[3,26];case 24:o.sent(),o.label=25;case 25:return d++,[3,23];case 26:h=0,p=e.positiveZIndex,o.label=27;case 27:return h<p.length?(m=p[h],[4,this.renderStack(m)]):[3,30];case 28:o.sent(),o.label=29;case 29:return h++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=kc(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),kc(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var o=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return o.width=Math.max(1,t),o.height=Math.max(1,n),o.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s;return o(this,(function(c){switch(c.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,a,s,c,l,u,A,d,f,h,p,m,g,v,y,b,w,_,x,B,C,E,j,k,S,O,N,F,I,P,L;return o(this,(function(o){switch(o.label){case 0:if(0!==n.type)return[3,5];i=void 0,a=n.url,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return i=o.sent(),[3,4];case 3:return o.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return i&&(s=rl(e,t,[i.width,i.height,i.width/i.height]),b=s[0],E=s[1],j=s[2],x=s[3],B=s[4],v=r.ctx.createPattern(r.resizeImage(i,x,B),"repeat"),r.renderRepeat(b,v,E,j)),[3,6];case 5:Lr(n)?(c=rl(e,t,[null,null,null]),b=c[0],E=c[1],j=c[2],x=c[3],B=c[4],l=vr(n.angle,x,B),u=l[0],A=l[1],d=l[2],f=l[3],h=l[4],(p=document.createElement("canvas")).width=x,p.height=B,m=p.getContext("2d"),g=m.createLinearGradient(A,f,d,h),mr(n.stops,u).forEach((function(e){return g.addColorStop(e.stop,or(e.color))})),m.fillStyle=g,m.fillRect(0,0,x,B),x>0&&B>0&&(v=r.ctx.createPattern(p,"repeat"),r.renderRepeat(b,v,E,j))):Tr(n)&&(y=rl(e,t,[null,null,null]),b=y[0],w=y[1],_=y[2],x=y[3],B=y[4],C=0===n.position.length?[qn]:n.position,E=zn(C[0],x),j=zn(C[C.length-1],B),k=wr(n,E,j,x,B),S=k[0],O=k[1],S>0&&O>0&&(N=r.ctx.createRadialGradient(w+E,_+j,0,w+E,_+j,S),mr(n.stops,2*S).forEach((function(e){return N.addColorStop(e.stop,or(e.color))})),r.path(b),r.ctx.fillStyle=N,S!==O?(F=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,L=1/(P=O/S),r.ctx.save(),r.ctx.translate(F,I),r.ctx.transform(1,0,0,P,0,0),r.ctx.translate(-F,-I),r.ctx.fillRect(w,L*(_-I)+I,x,B*L),r.ctx.restore()):r.ctx.fill())),o.label=6;case 6:return t--,[2]}}))},r=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return i<a.length?(s=a[i],[5,n(s)]):[3,4];case 2:c.sent(),c.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return o(this,(function(r){return this.path(zc(n,t)),this.ctx.fillStyle=or(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,i){return r(this,void 0,void 0,(function(){var r,a;return o(this,(function(o){switch(o.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return o.sent(),[2];case 2:return r=Zc(i,n),this.path(r),this.ctx.fillStyle=or(e),this.ctx.fill(),a=Gc(i,n),this.path(a),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,i,a,s,c,l,u=this;return o(this,(function(o){switch(o.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!rr(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=ml(sl(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),rr(t.backgroundColor)||(this.ctx.fillStyle=or(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:o.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var n=Nc(e.curves),r=t.inset?0:fl,o=Rc(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(n),u.ctx.clip(),u.mask(o)):(u.mask(n),u.ctx.clip(),u.path(o)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=or(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?or(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),o.label=2;case 2:a=0,s=0,c=r,o.label=3;case 3:return s<c.length?0!==(l=c[s]).style&&!rr(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return o.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,3)];case 6:return o.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,a,e.curves)];case 8:return o.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,a,e.curves)];case 10:o.sent(),o.label=11;case 11:a++,o.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,i,a){return r(this,void 0,void 0,(function(){var r,s,c,l,u,A,d,f,h,p,m,g,v,y,b,w;return o(this,(function(o){return this.ctx.save(),r=Wc(i,n),s=zc(i,n),2===a&&(this.path(s),this.ctx.clip()),kc(s[0])?(c=s[0].start.x,l=s[0].start.y):(c=s[0].x,l=s[0].y),kc(s[1])?(u=s[1].end.x,A=s[1].end.y):(u=s[1].x,A=s[1].y),d=0===n||2===n?Math.abs(c-u):Math.abs(l-A),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),f=t<3?3*t:2*t,h=t<3?2*t:t,3===a&&(f=t,h=t),p=!0,d<=2*f?p=!1:d<=2*f+h?(f*=m=d/(2*f+h),h*=m):(g=Math.floor((d+h)/(f+h)),v=(d-g*f)/(g-1),h=(y=(d-(g+1)*f)/g)<=0||Math.abs(h-v)<Math.abs(h-y)?v:y),p&&(3===a?this.ctx.setLineDash([0,f+h]):this.ctx.setLineDash([f,h])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=or(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(kc(s[0])&&(b=s[3],w=s[0],this.ctx.beginPath(),this.formatPath([new Cc(b.end.x,b.end.y),new Cc(w.start.x,w.start.y)]),this.ctx.stroke()),kc(s[1])&&(b=s[1],w=s[2],this.ctx.beginPath(),this.formatPath([new Cc(b.end.x,b.end.y),new Cc(w.start.x,w.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=or(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Vc(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(dl),pl=function(e){return e instanceof rs||e instanceof ns||e instanceof ts&&e.type!==Xa&&e.type!==Ya},ml=function(e,t){switch(e){case 0:return Nc(t);case 2:return Fc(t);default:return Ic(t)}},gl=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},vl=["-apple-system","system-ui"],yl=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===vl.indexOf(e)})):e},bl=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return o(this,(function(r){switch(r.label){case 0:return t=Ea(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,wl(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=or(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(dl),wl=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},_l=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),xl=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new _l({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new mc(this,t)}return e.instanceCount=1,e}(),Bl=function(e,t){return void 0===t&&(t={}),Cl(e,t)};"undefined"!==typeof window&&pc.setContext(window);var Cl=function(e,t){return r(void 0,void 0,void 0,(function(){var r,i,l,u,A,d,f,h,p,m,g,v,y,b,w,_,x,B,C,E,j,k,S,O,N,F,I,P,L,T,D,Q,U,M,R,$,H,q;return o(this,(function(o){switch(o.label){case 0:if(!e||"object"!==typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=r.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(k=t.allowTaint)&&void 0!==k&&k,imageTimeout:null!==(S=t.imageTimeout)&&void 0!==S?S:15e3,proxy:t.proxy,useCORS:null!==(O=t.useCORS)&&void 0!==O&&O},u=n({logging:null===(N=t.logging)||void 0===N||N,cache:t.cache},l),A={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:i.innerWidth,windowHeight:null!==(I=t.windowHeight)&&void 0!==I?I:i.innerHeight,scrollX:null!==(P=t.scrollX)&&void 0!==P?P:i.pageXOffset,scrollY:null!==(L=t.scrollY)&&void 0!==L?L:i.pageYOffset},d=new a(A.scrollX,A.scrollY,A.windowWidth,A.windowHeight),f=new xl(u,d),h=null!==(T=t.foreignObjectRendering)&&void 0!==T&&T,p={allowTaint:null!==(D=t.allowTaint)&&void 0!==D&&D,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:h,copyStyles:h},f.logger.debug("Starting document clone with size "+d.width+"x"+d.height+" scrolled to "+-d.left+","+-d.top),m=new Ys(f,e,p),(g=m.clonedReferenceElement)?[4,m.toIFrame(r,d)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return v=o.sent(),y=bs(g)||vs(g)?c(g.ownerDocument):s(f,g),b=y.width,w=y.height,_=y.left,x=y.top,B=El(f,g,t.backgroundColor),C={canvas:t.canvas,backgroundColor:B,scale:null!==(U=null!==(Q=t.scale)&&void 0!==Q?Q:i.devicePixelRatio)&&void 0!==U?U:1,x:(null!==(M=t.x)&&void 0!==M?M:0)+_,y:(null!==(R=t.y)&&void 0!==R?R:0)+x,width:null!==($=t.width)&&void 0!==$?$:Math.ceil(b),height:null!==(H=t.height)&&void 0!==H?H:Math.ceil(w)},h?(f.logger.debug("Document cloned, using foreign object rendering"),[4,new bl(f,C).render(g)]):[3,3];case 2:return E=o.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+_+","+x+" with size "+b+"x"+w+" using computed rendering"),f.logger.debug("Starting DOM parsing"),j=cs(f,g),B===j.styles.backgroundColor&&(j.styles.backgroundColor=dr.TRANSPARENT),f.logger.debug("Starting renderer for element at "+C.x+","+C.y+" with size "+C.width+"x"+C.height),[4,new hl(f,C).render(j)];case 4:E=o.sent(),o.label=5;case 5:return(null===(q=t.removeContainer)||void 0===q||q)&&(Ys.destroy(v)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,E]}}))}))},El=function(e,t,n){var r=t.ownerDocument,o=r.documentElement?Ar(e,getComputedStyle(r.documentElement).backgroundColor):dr.TRANSPARENT,i=r.body?Ar(e,getComputedStyle(r.body).backgroundColor):dr.TRANSPARENT,a="string"===typeof n?Ar(e,n):null===n?dr.TRANSPARENT:4294967295;return t===r.documentElement?rr(o)?rr(i)?a:i:o:a};return Bl}()},132:function(){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()}));var l=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=l){var u=o(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=o(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,a=u(o),s=this._rootContainsTarget(o),c=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(o,a,t),A=null;this._rootContainsTarget(o)?n&&!this.root||(A=t):A={top:0,bottom:0,left:0,right:0,width:0,height:0};var d=r.entry=new i({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:A,intersectionRect:l});c?e&&s?this._hasCrossedThreshold(c,d)&&this._queuedEntries.push(d):c&&c.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,o,i){if("none"!=window.getComputedStyle(t).display){for(var a=o,s=h(t),c=!1;!c&&s;){var A=null,f=1==s.nodeType?window.getComputedStyle(s):{};if("none"==f.display)return null;if(s==this.root||9==s.nodeType)if(c=!0,s==this.root||s==e)n&&!this.root?!r||0==r.width&&0==r.height?(s=null,A=null,a=null):A=r:A=i;else{var p=h(s),m=p&&u(p),g=p&&this._computeTargetAndRootIntersection(p,m,i);m&&g?(s=p,A=d(m,g)):(s=null,a=null)}else{var v=s.ownerDocument;s!=v.body&&s!=v.documentElement&&"visible"!=f.overflow&&(A=u(s))}if(A&&(a=l(A,a)),!a)break;s=s&&h(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=u(this.root);else{var n=p(this.root)?this.root:e,r=n.documentElement,o=n.body;t={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!==i<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return f(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}function o(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=A(e.rootBounds),this.boundingClientRect=A(e.boundingClientRect),this.intersectionRect=A(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function l(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function A(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function f(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?o(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function p(e){return e&&9===e.nodeType}}()},2176:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},330:function(e,t,n){"use strict";var r=d(n(3810)),o=d(n(7558)),i=d(n(7397)),a=d(n(5114)),s=d(n(6992)),c=d(n(2357)),l=d(n(2694)),u=n(5128),A=d(n(9831));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){},h=function(e,t,n){var r=new f;if("undefined"===typeof e)throw Error("No element to render on was provided.");return r._renderProperties=(0,s.default)(e),r._encodings=[],r._options=A.default,r._errorHandler=new l.default(r),"undefined"!==typeof t&&((n=n||{}).format||(n.format=v()),r.options(n)[n.format](t,n).render()),r};for(var p in h.getModule=function(e){return r.default[e]},r.default)r.default.hasOwnProperty(p)&&m(r.default,p);function m(e,t){f.prototype[t]=f.prototype[t.toUpperCase()]=f.prototype[t.toLowerCase()]=function(n,r){var i=this;return i._errorHandler.wrapBarcodeCall((function(){r.text="undefined"===typeof r.text?void 0:""+r.text;var a=(0,o.default)(i._options,r);a=(0,c.default)(a);var s=e[t],l=g(n,s,a);return i._encodings.push(l),i}))}}function g(e,t,n){var r=new t(e=""+e,n);if(!r.valid())throw new u.InvalidInputException(r.constructor.name,e);var a=r.encode();a=(0,i.default)(a);for(var s=0;s<a.length;s++)a[s].options=(0,o.default)(n,a[s].options);return a}function v(){return r.default.CODE128?"CODE128":Object.keys(r.default)[0]}function y(e,t,n){t=(0,i.default)(t);for(var r=0;r<t.length;r++)t[r].options=(0,o.default)(n,t[r].options),(0,a.default)(t[r].options);(0,a.default)(n),new(0,e.renderer)(e.element,t,n).render(),e.afterRender&&e.afterRender()}f.prototype.options=function(e){return this._options=(0,o.default)(this._options,e),this},f.prototype.blank=function(e){var t=new Array(e+1).join("0");return this._encodings.push({data:t}),this},f.prototype.init=function(){var e;if(this._renderProperties)for(var t in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){e=this._renderProperties[t];var n=(0,o.default)(this._options,e.options);"auto"==n.format&&(n.format=v()),this._errorHandler.wrapBarcodeCall((function(){var t=g(n.value,r.default[n.format.toUpperCase()],n);y(e,t,n)}))}},f.prototype.render=function(){if(!this._renderProperties)throw new u.NoElementException;if(Array.isArray(this._renderProperties))for(var e=0;e<this._renderProperties.length;e++)y(this._renderProperties[e],this._encodings,this._options);else y(this._renderProperties,this._encodings,this._options);return this},f.prototype._defaults=A.default,"undefined"!==typeof window&&(window.JsBarcode=h),"undefined"!==typeof jQuery&&(jQuery.fn.JsBarcode=function(e,t){var n=[];return jQuery(this).each((function(){n.push(this)})),h(n,e,t)}),e.exports=h},2771:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.text=n.text||t,this.options=n}},2881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771),a=(r=i)&&r.__esModule?r:{default:r},s=n(7312);var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.substring(1),n));return r.bytes=e.split("").map((function(e){return e.charCodeAt(0)})),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.bytes,n=e.shift()-105,r=s.SET_BY_CODE[n];if(void 0===r)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&e.unshift(s.FNC1);var o=t.next(e,1,r);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(n)+o.result+t.getBar((o.checksum+n)%s.MODULO)+t.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var e=this.options.ean128||!1;return"string"===typeof e&&(e="true"===e.toLowerCase()),e}}],[{key:"getBar",value:function(e){return s.BARS[e]?s.BARS[e].toString():""}},{key:"correctIndex",value:function(e,t){if(t===s.SET_A){var n=e.shift();return n<32?n+64:n-32}return t===s.SET_B?e.shift()-32:10*(e.shift()-48)+e.shift()-48}},{key:"next",value:function(e,n,r){if(!e.length)return{result:"",checksum:0};var o=void 0,i=void 0;if(e[0]>=200){i=e.shift()-105;var a=s.SWAP[i];void 0!==a?o=t.next(e,n+1,a):(r!==s.SET_A&&r!==s.SET_B||i!==s.SHIFT||(e[0]=r===s.SET_A?e[0]>95?e[0]-96:e[0]:e[0]<32?e[0]+96:e[0]),o=t.next(e,n+1,r))}else i=t.correctIndex(e,r),o=t.next(e,n+1,r);var c=i*n;return{result:t.getBar(i)+o.result,checksum:c+o.checksum}}}]),t}(a.default);t.default=c},2481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2881),a=(r=i)&&r.__esModule?r:{default:r},s=n(7312);var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.A_START_CHAR+e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return new RegExp("^"+s.A_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c},8445:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2881),a=(r=i)&&r.__esModule?r:{default:r},s=n(7312);var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.B_START_CHAR+e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return new RegExp("^"+s.B_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c},2104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2881),a=(r=i)&&r.__esModule?r:{default:r},s=n(7312);var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.C_START_CHAR+e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return new RegExp("^"+s.C_CHARS+"+$").test(this.data)}}]),t}(a.default);t.default=c},4237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(2881)),o=i(n(4477));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(e,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(e))var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,o.default)(e),n));else r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return a(r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=s},4477:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7312),o=function(e){return e.match(new RegExp("^"+r.A_CHARS+"*"))[0].length},i=function(e){return e.match(new RegExp("^"+r.B_CHARS+"*"))[0].length},a=function(e){return e.match(new RegExp("^"+r.C_CHARS+"*"))[0]};function s(e,t){var n=t?r.A_CHARS:r.B_CHARS,o=e.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+c(e.substring(o[1].length));var i=e.match(new RegExp("^"+n+"+"))[0];return i.length===e.length?e:i+String.fromCharCode(t?205:206)+s(e.substring(i.length),!t)}function c(e){var t=a(e),n=t.length;if(n===e.length)return e;e=e.substring(n);var r=o(e)>=i(e);return t+String.fromCharCode(r?206:205)+s(e,r)}t.default=function(e){var t=void 0;if(a(e).length>=2)t=r.C_START_CHAR+c(e);else{var n=o(e)>i(e);t=(n?r.A_START_CHAR:r.B_START_CHAR)+s(e,n)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(e,t){return String.fromCharCode(203)+t}))}},7312:function(e,t){"use strict";var n;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=t.SET_A=0,i=t.SET_B=1,a=t.SET_C=2,s=(t.SHIFT=98,t.START_A=103),c=t.START_B=104,l=t.START_C=105;t.MODULO=103,t.STOP=106,t.FNC1=207,t.SET_BY_CODE=(r(n={},s,o),r(n,c,i),r(n,l,a),n),t.SWAP={101:o,100:i,99:a},t.A_START_CHAR=String.fromCharCode(208),t.B_START_CHAR=String.fromCharCode(209),t.C_START_CHAR=String.fromCharCode(210),t.A_CHARS="[\0-_\xc8-\xcf]",t.B_CHARS="[ -\x7f\xc8-\xcf]",t.C_CHARS="(\xcf*[0-9]{2}\xcf*)",t.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},7103:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE128C=t.CODE128B=t.CODE128A=t.CODE128=void 0;var r=s(n(4237)),o=s(n(2481)),i=s(n(8445)),a=s(n(2104));function s(e){return e&&e.__esModule?e:{default:e}}t.CODE128=r.default,t.CODE128A=o.default,t.CODE128B=i.default,t.CODE128C=a.default},3252:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771);var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=e.toUpperCase(),n.mod43&&(e+=function(e){return s[e]}(function(e){for(var t=0,n=0;n<e.length;n++)t+=u(e[n]);return t%=43}(e))),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"encode",value:function(){for(var e=l("*"),t=0;t<this.data.length;t++)e+=l(this.data[t])+"0";return{data:e+=l("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default),s=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function l(e){return function(e){return c[e].toString(2)}(u(e))}function u(e){return s.indexOf(e)}t.CODE39=a},2276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(6442),i=a(n(6628));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(e,t){return this.text.substr(e,t)}},{key:"leftEncode",value:function(e,t){return(0,i.default)(e,t)}},{key:"rightText",value:function(e,t){return this.text.substr(e,t)}},{key:"rightEncode",value:function(e,t){return(0,i.default)(e,t)}},{key:"encodeGuarded",value:function(){var e={fontSize:this.fontSize},t={height:this.guardHeight};return[{data:o.SIDE_BIN,options:t},{data:this.leftEncode(),text:this.leftText(),options:e},{data:o.MIDDLE_BIN,options:t},{data:this.rightEncode(),text:this.rightText(),options:e},{data:o.SIDE_BIN,options:t}]}},{key:"encodeFlat",value:function(){return{data:[o.SIDE_BIN,this.leftEncode(),o.MIDDLE_BIN,this.rightEncode(),o.SIDE_BIN].join(""),text:this.text}}}]),t}(a(n(2771)).default);t.default=s},3711:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6442),s=n(2276),c=(r=s)&&r.__esModule?r:{default:r};var l=function(e){return(10-e.substr(0,12).split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+3*t:e+t}),0)%10)%10},u=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{12}$/)&&(e+=l(e));var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.lastChar=n.lastChar,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===l(this.data)}},{key:"leftText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var e=this.data.substr(1,6),n=a.EAN13_STRUCTURE[this.data[0]];return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,n)}},{key:"rightText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var e=this.data.substr(7,6);return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRRRR")}},{key:"encodeGuarded",value:function(){var e=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(e.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(e.push({data:"00"}),e.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),e}}]),t}(c.default);t.default=u},1001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(6442),i=a(n(6628));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var e=o.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,e,"01"),text:this.text}}}]),t}(a(n(2771)).default);t.default=s},6812:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(6442),i=s(n(6628)),a=s(n(2771));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var e,t=o.EAN5_STRUCTURE[(e=this.data,e.split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+9*t:e+3*t}),0)%10)];return{data:"1011"+(0,i.default)(this.data,t,"01"),text:this.text}}}]),t}(a.default);t.default=c},586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(2276),s=(r=a)&&r.__esModule?r:{default:r};var c=function(e){return(10-e.substr(0,7).split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+t:e+3*t}),0)%10)%10},l=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{7}$/)&&(e+=c(e)),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var e=this.data.substr(0,4);return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,"LLLL")}},{key:"rightText",value:function(){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var e=this.data.substr(4,4);return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRR")}}]),t}(s.default);t.default=l},4159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.checksum=s;var o=i(n(6628));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{11}$/)&&(e+=s(e));var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==s(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),e+="01010",e+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),{data:e+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),e.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),e.push({data:"01010",options:{height:this.guardHeight}}),e.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),e.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),e}}]),t}(i(n(2771)).default);function s(e){var t,n=0;for(t=1;t<11;t+=2)n+=parseInt(e[t]);for(t=0;t<11;t+=2)n+=3*parseInt(e[t]);return(10-n%10)%10}t.default=a},2947:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(6628)),i=s(n(2771)),a=n(4159);function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],u=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],A=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(r.isValid=!1,-1!==e.search(/^[0-9]{6}$/))r.middleDigits=e,r.upcA=d(e,"0"),r.text=n.text||""+r.upcA[0]+e+r.upcA[r.upcA.length-1],r.isValid=!0;else{if(-1===e.search(/^[01][0-9]{7}$/))return c(r);if(r.middleDigits=e.substring(1,e.length-1),r.upcA=d(r.middleDigits,e[0]),r.upcA[r.upcA.length-1]!==e[e.length-1])return c(r);r.isValid=!0}return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=this.encodeMiddleDigits(),{data:e+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101",options:{height:this.guardHeight}}),e.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),e.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),e}},{key:"encodeMiddleDigits",value:function(){var e=this.upcA[0],t=this.upcA[this.upcA.length-1],n=u[parseInt(t)][parseInt(e)];return(0,o.default)(this.middleDigits,n)}}]),t}(i.default);function d(e,t){for(var n=parseInt(e[e.length-1]),r=l[n],o="",i=0,s=0;s<r.length;s++){var c=r[s];o+="X"===c?e[i++]:c}return""+(o=""+t+o)+(0,a.checksum)(o)}t.default=A},6442:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SIDE_BIN="101",t.MIDDLE_BIN="01010",t.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},t.EAN2_STRUCTURE=["LL","LG","GL","GG"],t.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],t.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},6628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6442);t.default=function(e,t,n){var o=e.split("").map((function(e,n){return r.BINARIES[t[n]]})).map((function(t,n){return t?t[e[n]]:""}));if(n){var i=e.length-1;o=o.map((function(e,t){return t<i?e+n:e}))}return o.join("")}},2277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPCE=t.UPC=t.EAN2=t.EAN5=t.EAN8=t.EAN13=void 0;var r=l(n(3711)),o=l(n(586)),i=l(n(6812)),a=l(n(1001)),s=l(n(4159)),c=l(n(2947));function l(e){return e&&e.__esModule?e:{default:e}}t.EAN13=r.default,t.EAN8=o.default,t.EAN5=i.default,t.EAN2=a.default,t.UPC=s.default,t.UPCE=c.default},3451:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771);var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.GenericBarcode=a},1321:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4787),a=n(2771);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var e=this,t=this.data.match(/.{2}/g).map((function(t){return e.encodePair(t)})).join("");return{data:i.START_BIN+t+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var t=i.BINARIES[e[1]];return i.BINARIES[e[0]].split("").map((function(e,n){return("1"===e?"111":"1")+("1"===t[n]?"000":"0")})).join("")}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=l},3535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1321),a=(r=i)&&r.__esModule?r:{default:r};var s=function(e){var t=e.substr(0,13).split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t,n){return e+t*(3-n%2*2)}),0);return 10*Math.ceil(t/10)-t},c=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{13}$/)&&(e+=s(e)),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===s(this.data)}}]),t}(a.default);t.default=c},4787:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.START_BIN="1010",t.END_BIN="11101",t.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var r=i(n(1321)),o=i(n(3535));function i(e){return e&&e.__esModule?e:{default:e}}t.ITF=r.default,t.ITF14=o.default},918:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771);var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"encode",value:function(){for(var e="110",t=0;t<this.data.length;t++){var n=parseInt(this.data[t]).toString(2);n=s(n,4-n.length);for(var r=0;r<n.length;r++)e+="0"==n[r]?"100":"110"}return{data:e+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);function s(e,t){for(var n=0;n<t;n++)e="0"+e;return e}t.default=a},4458:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(918),i=(r=o)&&r.__esModule?r:{default:r},a=n(7828);var s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,a.mod10)(e),n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.default);t.default=s},7871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(918),i=(r=o)&&r.__esModule?r:{default:r},a=n(7828);var s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,a.mod10)(e),e+=(0,a.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.default);t.default=s},1243:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(918),i=(r=o)&&r.__esModule?r:{default:r},a=n(7828);var s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,a.mod11)(e),n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.default);t.default=s},9636:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(918),i=(r=o)&&r.__esModule?r:{default:r},a=n(7828);var s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,a.mod11)(e),e+=(0,a.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.default);t.default=s},7828:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mod10=function(e){for(var t=0,n=0;n<e.length;n++){var r=parseInt(e[n]);(n+e.length)%2===0?t+=r:t+=2*r%10+Math.floor(2*r/10)}return(10-t%10)%10},t.mod11=function(e){for(var t=0,n=[2,3,4,5,6,7],r=0;r<e.length;r++){var o=parseInt(e[e.length-1-r]);t+=n[r%n.length]*o}return(11-t%11)%11}},7408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MSI1110=t.MSI1010=t.MSI11=t.MSI10=t.MSI=void 0;var r=c(n(918)),o=c(n(4458)),i=c(n(1243)),a=c(n(7871)),s=c(n(9636));function c(e){return e&&e.__esModule?e:{default:e}}t.MSI=r.default,t.MSI10=o.default,t.MSI11=i.default,t.MSI1010=a.default,t.MSI1110=s.default},4955:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771);var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),0===e.search(/^[0-9\-\$\:\.\+\/]+$/)&&(e="A"+e+"A");var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.toUpperCase(),n));return r.text=r.options.text||r.text.replace(/[A-D]/g,""),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var e=[],t=this.getEncodings(),n=0;n<this.data.length;n++)e.push(t[this.data.charAt(n)]),n!==this.data.length-1&&e.push("0");return{text:this.text,data:e.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.codabar=a},3810:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3252),o=n(7103),i=n(2277),a=n(471),s=n(7408),c=n(9383),l=n(4955),u=n(3451);t.default={CODE39:r.CODE39,CODE128:o.CODE128,CODE128A:o.CODE128A,CODE128B:o.CODE128B,CODE128C:o.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:s.MSI,MSI10:s.MSI10,MSI11:s.MSI11,MSI1010:s.MSI1010,MSI1110:s.MSI1110,pharmacode:c.pharmacode,codabar:l.codabar,GenericBarcode:u.GenericBarcode}},9383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2771);var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.number=parseInt(e,10),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"encode",value:function(){for(var e=this.number,t="";!isNaN(e)&&0!=e;)e%2===0?(t="11100"+t,e=(e-2)/2):(t="100"+t,e=(e-1)/2);return{data:t=t.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.pharmacode=a},2694:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=t}return n(e,[{key:"handleCatch",value:function(e){if("InvalidInputException"!==e.name)throw e;if(this.api._options.valid===this.api._defaults.valid)throw e.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(e){try{var t=e.apply(void 0,arguments);return this.api._options.valid(!0),t}catch(n){return this.handleCatch(n),this.api}}}]),e}();t.default=r},5128:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(e,o){n(this,t);var i=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.name="InvalidInputException",i.symbology=e,i.input=o,i.message='"'+i.input+'" is not a valid input for '+i.symbology,i}return o(t,Error),t}(),a=function(e){function t(){n(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="InvalidElementException",e.message="Not supported type to render on",e}return o(t,Error),t}(),s=function(e){function t(){n(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="NoElementException",e.message="No element to render on.",e}return o(t,Error),t}();t.InvalidInputException=i,t.InvalidElementException=a,t.NoElementException=s},5114:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.marginTop=e.marginTop||e.margin,e.marginBottom=e.marginBottom||e.margin,e.marginRight=e.marginRight||e.margin,e.marginLeft=e.marginLeft||e.margin,e}},4373:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(2357)),o=i(n(9831));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t={};for(var n in o.default)o.default.hasOwnProperty(n)&&(e.hasAttribute("jsbarcode-"+n.toLowerCase())&&(t[n]=e.getAttribute("jsbarcode-"+n.toLowerCase())),e.hasAttribute("data-"+n.toLowerCase())&&(t[n]=e.getAttribute("data-"+n.toLowerCase())));return t.value=e.getAttribute("jsbarcode-value")||e.getAttribute("data-value"),t=(0,r.default)(t)}},6992:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=s(n(4373)),i=s(n(8626)),a=n(5128);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("string"===typeof e)return function(e){var t=document.querySelectorAll(e);if(0===t.length)return;for(var n=[],r=0;r<t.length;r++)n.push(c(t[r]));return n}(e);if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(c(e[n]));return t}if("undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLImageElement)return function(e){var t=document.createElement("canvas");return{element:t,options:(0,o.default)(e),renderer:i.default.CanvasRenderer,afterRender:function(){e.setAttribute("src",t.toDataURL())}}}(e);if(e&&e.nodeName&&"svg"===e.nodeName.toLowerCase()||"undefined"!==typeof SVGElement&&e instanceof SVGElement)return{element:e,options:(0,o.default)(e),renderer:i.default.SVGRenderer};if("undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement)return{element:e,options:(0,o.default)(e),renderer:i.default.CanvasRenderer};if(e&&e.getContext)return{element:e,renderer:i.default.CanvasRenderer};if(e&&"object"===("undefined"===typeof e?"undefined":r(e))&&!e.nodeName)return{element:e,renderer:i.default.ObjectRenderer};throw new a.InvalidElementException}t.default=c},7397:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return function e(n){if(Array.isArray(n))for(var r=0;r<n.length;r++)e(n[r]);else n.text=n.text||"",n.data=n.data||"",t.push(n)}(e),t}},7558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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};t.default=function(e,t){return n({},e,t)}},2357:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in t)t.hasOwnProperty(n)&&(n=t[n],"string"===typeof e[n]&&(e[n]=parseInt(e[n],10)));"string"===typeof e.displayValue&&(e.displayValue="false"!=e.displayValue);return e}},9831:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};t.default=n},1439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(7558),a=(r=i)&&r.__esModule?r:{default:r},s=n(7879);var c=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.canvas=t,this.encodings=n,this.options=r}return o(e,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var e=0;e<this.encodings.length;e++){var t=(0,a.default)(this.options,this.encodings[e].options);this.drawCanvasBarcode(t,this.encodings[e]),this.drawCanvasText(t,this.encodings[e]),this.moveCanvasDrawing(this.encodings[e])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var e=this.canvas.getContext("2d");e.save(),(0,s.calculateEncodingAttributes)(this.encodings,this.options,e);var t=(0,s.getTotalWidthOfEncodings)(this.encodings),n=(0,s.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=t+this.options.marginLeft+this.options.marginRight,this.canvas.height=n,e.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(e.fillStyle=this.options.background,e.fillRect(0,0,this.canvas.width,this.canvas.height)),e.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(e,t){var n,r=this.canvas.getContext("2d"),o=t.data;n="top"==e.textPosition?e.marginTop+e.fontSize+e.textMargin:e.marginTop,r.fillStyle=e.lineColor;for(var i=0;i<o.length;i++){var a=i*e.width+t.barcodePadding;"1"===o[i]?r.fillRect(a,n,e.width,e.height):o[i]&&r.fillRect(a,n,e.width,e.height*o[i])}}},{key:"drawCanvasText",value:function(e,t){var n,r,o=this.canvas.getContext("2d"),i=e.fontOptions+" "+e.fontSize+"px "+e.font;e.displayValue&&(r="top"==e.textPosition?e.marginTop+e.fontSize-e.textMargin:e.height+e.textMargin+e.marginTop+e.fontSize,o.font=i,"left"==e.textAlign||t.barcodePadding>0?(n=0,o.textAlign="left"):"right"==e.textAlign?(n=t.width-1,o.textAlign="right"):(n=t.width/2,o.textAlign="center"),o.fillText(t.text,n,r))}},{key:"moveCanvasDrawing",value:function(e){this.canvas.getContext("2d").translate(e.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),e}();t.default=c},8626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(1439)),o=a(n(2654)),i=a(n(6047));function a(e){return e&&e.__esModule?e:{default:e}}t.default={CanvasRenderer:r.default,SVGRenderer:o.default,ObjectRenderer:i.default}},6047:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.object=t,this.encodings=n,this.options=r}return n(e,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),e}();t.default=r},7879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalWidthOfEncodings=t.calculateEncodingAttributes=t.getBarcodePadding=t.getEncodingHeight=t.getMaximumHeightOfEncodings=void 0;var r,o=n(7558),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return t.height+(t.displayValue&&e.text.length>0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function s(e,t,n){if(n.displayValue&&t<e){if("center"==n.textAlign)return Math.floor((e-t)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)return Math.floor(e-t)}return 0}function c(e,t,n){var r;if(n)r=n;else{if("undefined"===typeof document)return 0;r=document.createElement("canvas").getContext("2d")}r.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var o=r.measureText(e);return o?o.width:0}t.getMaximumHeightOfEncodings=function(e){for(var t=0,n=0;n<e.length;n++)e[n].height>t&&(t=e[n].height);return t},t.getEncodingHeight=a,t.getBarcodePadding=s,t.calculateEncodingAttributes=function(e,t,n){for(var r=0;r<e.length;r++){var o,l=e[r],u=(0,i.default)(t,l.options);o=u.displayValue?c(l.text,u,n):0;var A=l.data.length*u.width;l.width=Math.ceil(Math.max(o,A)),l.height=a(l,u),l.barcodePadding=s(o,A,u)}},t.getTotalWidthOfEncodings=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].width;return t}},2654:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(7558),a=(r=i)&&r.__esModule?r:{default:r},s=n(7879);var c="http://www.w3.org/2000/svg",l=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.svg=t,this.encodings=n,this.options=r,this.document=r.xmlDocument||document}return o(e,[{key:"render",value:function(){var e=this.options.marginLeft;this.prepareSVG();for(var t=0;t<this.encodings.length;t++){var n=this.encodings[t],r=(0,a.default)(this.options,n.options),o=this.createGroup(e,r.marginTop,this.svg);this.setGroupOptions(o,r),this.drawSvgBarcode(o,r,n),this.drawSVGText(o,r,n),e+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,s.calculateEncodingAttributes)(this.encodings,this.options);var e=(0,s.getTotalWidthOfEncodings)(this.encodings),t=(0,s.getMaximumHeightOfEncodings)(this.encodings),n=e+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,t),this.options.background&&this.drawRect(0,0,n,t,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(e,t,n){var r,o=n.data;r="top"==t.textPosition?t.fontSize+t.textMargin:0;for(var i=0,a=0,s=0;s<o.length;s++)a=s*t.width+n.barcodePadding,"1"===o[s]?i++:i>0&&(this.drawRect(a-t.width*i,r,t.width*i,t.height,e),i=0);i>0&&this.drawRect(a-t.width*(i-1),r,t.width*i,t.height,e)}},{key:"drawSVGText",value:function(e,t,n){var r,o,i=this.document.createElementNS(c,"text");t.displayValue&&(i.setAttribute("style","font:"+t.fontOptions+" "+t.fontSize+"px "+t.font),o="top"==t.textPosition?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,"left"==t.textAlign||n.barcodePadding>0?(r=0,i.setAttribute("text-anchor","start")):"right"==t.textAlign?(r=n.width-1,i.setAttribute("text-anchor","end")):(r=n.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",r),i.setAttribute("y",o),i.appendChild(this.document.createTextNode(n.text)),e.appendChild(i))}},{key:"setSvgAttributes",value:function(e,t){var n=this.svg;n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+e+" "+t),n.setAttribute("xmlns",c),n.setAttribute("version","1.1"),n.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(e,t,n){var r=this.document.createElementNS(c,"g");return r.setAttribute("transform","translate("+e+", "+t+")"),n.appendChild(r),r}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("style","fill:"+t.lineColor+";")}},{key:"drawRect",value:function(e,t,n,r,o){var i=this.document.createElementNS(c,"rect");return i.setAttribute("x",e),i.setAttribute("y",t),i.setAttribute("width",n),i.setAttribute("height",r),o.appendChild(i),i}}]),e}();t.default=l},908:function(e,t,n){var r=n(8136)(n(7009),"DataView");e.exports=r},9676:function(e,t,n){var r=n(5403),o=n(2747),i=n(6037),a=n(4154),s=n(7728);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},8384:function(e,t,n){var r=n(3894),o=n(8699),i=n(4957),a=n(7184),s=n(7109);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},5797:function(e,t,n){var r=n(8136)(n(7009),"Map");e.exports=r},8059:function(e,t,n){var r=n(4086),o=n(9255),i=n(9186),a=n(3423),s=n(3739);function c(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])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},8319:function(e,t,n){var r=n(8136)(n(7009),"Promise");e.exports=r},3924:function(e,t,n){var r=n(8136)(n(7009),"Set");e.exports=r},692:function(e,t,n){var r=n(8059),o=n(5774),i=n(1596);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},2854:function(e,t,n){var r=n(8384),o=n(511),i=n(835),a=n(707),s=n(8832),c=n(5077);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},7197:function(e,t,n){var r=n(7009).Symbol;e.exports=r},6219:function(e,t,n){var r=n(7009).Uint8Array;e.exports=r},7091:function(e,t,n){var r=n(8136)(n(7009),"WeakMap");e.exports=r},4903:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},7538:function(e,t,n){var r=n(6478),o=n(4963),i=n(3629),a=n(5174),s=n(6800),c=n(9102),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),A=!n&&!u&&a(e),d=!n&&!u&&!A&&c(e),f=n||u||A||d,h=f?r(e.length,String):[],p=h.length;for(var m in e)!t&&!l.call(e,m)||f&&("length"==m||A&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,p))||h.push(m);return h}},1705:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},7897:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},7112:function(e,t,n){var r=n(9231);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1986:function(e,t,n){var r=n(1705),o=n(3629);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},9066:function(e,t,n){var r=n(7197),o=n(1587),i=n(3581),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},4906:function(e,t,n){var r=n(9066),o=n(3141);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},1848:function(e,t,n){var r=n(3355),o=n(3141);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},3355:function(e,t,n){var r=n(2854),o=n(5305),i=n(2206),a=n(8078),s=n(8383),c=n(3629),l=n(5174),u=n(9102),A="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,m,g){var v=c(e),y=c(t),b=v?d:s(e),w=y?d:s(t),_=(b=b==A?f:b)==f,x=(w=w==A?f:w)==f,B=b==w;if(B&&l(e)){if(!l(t))return!1;v=!0,_=!1}if(B&&!_)return g||(g=new r),v||u(e)?o(e,t,n,p,m,g):i(e,t,b,n,p,m,g);if(!(1&n)){var C=_&&h.call(e,"__wrapped__"),E=x&&h.call(t,"__wrapped__");if(C||E){var j=C?e.value():e,k=E?t.value():t;return g||(g=new r),m(j,k,n,p,g)}}return!!B&&(g||(g=new r),a(e,t,n,p,m,g))}},6703:function(e,t,n){var r=n(4786),o=n(257),i=n(8092),a=n(7907),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,A=l.hasOwnProperty,d=RegExp("^"+u.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},8150:function(e,t,n){var r=n(9066),o=n(4635),i=n(3141),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},3654:function(e,t,n){var r=n(2936),o=n(8836),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6478:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},6194:function(e){e.exports=function(e){return function(t){return e(t)}}},75:function(e){e.exports=function(e,t){return e.has(t)}},5525:function(e,t,n){var r=n(7009)["__core-js_shared__"];e.exports=r},5305:function(e,t,n){var r=n(692),o=n(7897),i=n(75);e.exports=function(e,t,n,a,s,c){var l=1&n,u=e.length,A=t.length;if(u!=A&&!(l&&A>u))return!1;var d=c.get(e),f=c.get(t);if(d&&f)return d==t&&f==e;var h=-1,p=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var g=e[h],v=t[h];if(a)var y=l?a(v,g,h,t,e,c):a(g,v,h,e,t,c);if(void 0!==y){if(y)continue;p=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(g===e||s(g,e,n,a,c)))return m.push(t)}))){p=!1;break}}else if(g!==v&&!s(g,v,n,a,c)){p=!1;break}}return c.delete(e),c.delete(t),p}},2206:function(e,t,n){var r=n(7197),o=n(6219),i=n(9231),a=n(5305),s=n(234),c=n(2230),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,A,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!A(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var p=d.get(e);if(p)return p==t;r|=2,d.set(e,t);var m=a(f(e),f(t),r,l,A,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8078:function(e,t,n){var r=n(8248),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var c=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!c)return!1;for(var A=u;A--;){var d=l[A];if(!(c?d in t:o.call(t,d)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var p=!0;s.set(e,t),s.set(t,e);for(var m=c;++A<u;){var g=e[d=l[A]],v=t[d];if(i)var y=c?i(v,g,d,t,e,s):i(g,v,d,e,t,s);if(!(void 0===y?g===v||a(g,v,n,i,s):y)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(p=!1)}return s.delete(e),s.delete(t),p}},1032:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8248:function(e,t,n){var r=n(1986),o=n(5918),i=n(2742);e.exports=function(e){return r(e,i,o)}},2799:function(e,t,n){var r=n(5964);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8136:function(e,t,n){var r=n(6703),o=n(40);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},1587:function(e,t,n){var r=n(7197),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},5918:function(e,t,n){var r=n(4903),o=n(8174),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},8383:function(e,t,n){var r=n(908),o=n(5797),i=n(8319),a=n(3924),s=n(7091),c=n(9066),l=n(7907),u="[object Map]",A="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",p=l(r),m=l(o),g=l(i),v=l(a),y=l(s),b=c;(r&&b(new r(new ArrayBuffer(1)))!=h||o&&b(new o)!=u||i&&b(i.resolve())!=A||a&&b(new a)!=d||s&&b(new s)!=f)&&(b=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case p:return h;case m:return u;case g:return A;case v:return d;case y:return f}return t}),e.exports=b},40:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},5403:function(e,t,n){var r=n(9620);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},2747:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6037:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4154:function(e,t,n){var r=n(9620),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7728:function(e,t,n){var r=n(9620);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},6800:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},5964:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},257:function(e,t,n){var r=n(5525),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},2936:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3894:function(e){e.exports=function(){this.__data__=[],this.size=0}},8699:function(e,t,n){var r=n(7112),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},4957:function(e,t,n){var r=n(7112);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7184:function(e,t,n){var r=n(7112);e.exports=function(e){return r(this.__data__,e)>-1}},7109:function(e,t,n){var r=n(7112);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4086:function(e,t,n){var r=n(9676),o=n(8384),i=n(5797);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},9255:function(e,t,n){var r=n(2799);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},9186:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).get(e)}},3423:function(e,t,n){var r=n(2799);e.exports=function(e){return r(this,e).has(e)}},3739:function(e,t,n){var r=n(2799);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9620:function(e,t,n){var r=n(8136)(Object,"create");e.exports=r},8836:function(e,t,n){var r=n(2709)(Object.keys,Object);e.exports=r},9494:function(e,t,n){e=n.nmd(e);var r=n(1032),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},7009:function(e,t,n){var r=n(1032),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},5774:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1596:function(e){e.exports=function(e){return this.__data__.has(e)}},2230:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),i=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},7907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},9231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},4963:function(e,t,n){var r=n(4906),o=n(3141),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},3629:function(e){var t=Array.isArray;e.exports=t},1473:function(e,t,n){var r=n(4786),o=n(4635);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},5174:function(e,t,n){e=n.nmd(e);var r=n(7009),o=n(9488),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},8111:function(e,t,n){var r=n(1848);e.exports=function(e,t){return r(e,t)}},4786:function(e,t,n){var r=n(9066),o=n(8092);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},9102:function(e,t,n){var r=n(8150),o=n(6194),i=n(9494),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},2742:function(e,t,n){var r=n(7538),o=n(3654),i=n(1473);e.exports=function(e){return i(e)?r(e):o(e)}},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},888:function(e,t,n){"use strict";var r=n(9047);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,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1152:function(e,t,n){!function(t,r){var o;e.exports=(o=n(6921),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t){e.exports=o},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.js")}({"./src/bitap/bitap_matched_indices.js":function(e,t){e.exports=function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,o=-1,i=0,a=e.length;i<a;i+=1){var s=e[i];s&&-1===r?r=i:s||-1===r||(t<=(o=i-1)-r+1&&n.push([r,o]),r=-1)}return e[i-1]&&t<=i-r&&n.push([r,i-1]),n}},"./src/bitap/bitap_pattern_alphabet.js":function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r<n;r+=1)t[e.charAt(r)]=0;for(var o=0;o<n;o+=1)t[e.charAt(o)]|=1<<n-o-1;return t}},"./src/bitap/bitap_regex_search.js":function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:/ +/g,o=new RegExp(t.replace(n,"\\$&").replace(r,"|")),i=e.match(o),a=!!i,s=[];if(a)for(var c=0,l=i.length;c<l;c+=1){var u=i[c];s.push([e.indexOf(u),u.length-1])}return{score:a?.5:1,isMatch:a,matchedIndices:s}}},"./src/bitap/bitap_score.js":function(e,t){e.exports=function(e,t){var n=t.errors,r=void 0===n?0:n,o=t.currentLocation,i=void 0===o?0:o,a=t.expectedLocation,s=void 0===a?0:a,c=t.distance,l=void 0===c?100:c,u=r/e.length,A=Math.abs(s-i);return l?u+A/l:A?1:u}},"./src/bitap/bitap_search.js":function(e,t,n){var r=n("./src/bitap/bitap_score.js"),o=n("./src/bitap/bitap_matched_indices.js");e.exports=function(e,t,n,i){for(var a=i.location,s=void 0===a?0:a,c=i.distance,l=void 0===c?100:c,u=i.threshold,A=void 0===u?.6:u,d=i.findAllMatches,f=void 0!==d&&d,h=i.minMatchCharLength,p=void 0===h?1:h,m=s,g=e.length,v=A,y=e.indexOf(t,m),b=t.length,w=[],_=0;_<g;_+=1)w[_]=0;if(-1!==y){var x=r(t,{errors:0,currentLocation:y,expectedLocation:m,distance:l});if(v=Math.min(x,v),-1!==(y=e.lastIndexOf(t,m+b))){var B=r(t,{errors:0,currentLocation:y,expectedLocation:m,distance:l});v=Math.min(B,v)}}y=-1;for(var C=[],E=1,j=b+g,k=1<<b-1,S=0;S<b;S+=1){for(var O=0,N=j;O<N;)r(t,{errors:S,currentLocation:m+N,expectedLocation:m,distance:l})<=v?O=N:j=N,N=Math.floor((j-O)/2+O);j=N;var F=Math.max(1,m-N+1),I=f?g:Math.min(m+N,g)+b,P=Array(I+2);P[I+1]=(1<<S)-1;for(var L=I;F<=L;L-=1){var T=L-1,D=n[e.charAt(T)];if(D&&(w[T]=1),P[L]=(P[L+1]<<1|1)&D,0!==S&&(P[L]|=(C[L+1]|C[L])<<1|1|C[L+1]),P[L]&k&&(E=r(t,{errors:S,currentLocation:T,expectedLocation:m,distance:l}))<=v){if(v=E,(y=T)<=m)break;F=Math.max(1,2*m-y)}}if(v<r(t,{errors:S+1,currentLocation:m,expectedLocation:m,distance:l}))break;C=P}return{isMatch:0<=y,score:0===E?.001:E,matchedIndices:o(w,p)}}},"./src/bitap/index.js":function(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("./src/bitap/bitap_regex_search.js"),i=n("./src/bitap/bitap_search.js"),a=n("./src/bitap/bitap_pattern_alphabet.js"),s=function(){function e(t,n){var r=n.location,o=void 0===r?0:r,i=n.distance,s=void 0===i?100:i,c=n.threshold,l=void 0===c?.6:c,u=n.maxPatternLength,A=void 0===u?32:u,d=n.isCaseSensitive,f=void 0!==d&&d,h=n.tokenSeparator,p=void 0===h?/ +/g:h,m=n.findAllMatches,g=void 0!==m&&m,v=n.minMatchCharLength,y=void 0===v?1:v;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:s,threshold:l,maxPatternLength:A,isCaseSensitive:f,tokenSeparator:p,findAllMatches:g,minMatchCharLength:y},this.pattern=this.options.isCaseSensitive?t:t.toLowerCase(),this.pattern.length<=A&&(this.patternAlphabet=a(this.pattern))}var t,n,s;return t=e,(n=[{key:"search",value:function(e){if(this.options.isCaseSensitive||(e=e.toLowerCase()),this.pattern===e)return{isMatch:!0,score:0,matchedIndices:[[0,e.length-1]]};var t=this.options,n=t.maxPatternLength,r=t.tokenSeparator;if(this.pattern.length>n)return o(e,this.pattern,r);var a=this.options,s=a.location,c=a.distance,l=a.threshold,u=a.findAllMatches,A=a.minMatchCharLength;return i(e,this.pattern,this.patternAlphabet,{location:s,distance:c,threshold:l,findAllMatches:u,minMatchCharLength:A})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},"./src/helpers/deep_value.js":function(e,t,n){var r=n("./src/helpers/is_array.js");e.exports=function(e,t){return function e(t,n,o){if(n){var i=n.indexOf("."),a=n,s=null;-1!==i&&(a=n.slice(0,i),s=n.slice(i+1));var c=t[a];if(null!=c)if(s||"string"!=typeof c&&"number"!=typeof c)if(r(c))for(var l=0,u=c.length;l<u;l+=1)e(c[l],s,o);else s&&e(c,s,o);else o.push(c.toString())}else o.push(t);return o}(e,t,[])}},"./src/helpers/is_array.js":function(e,t){e.exports=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}},"./src/index.js":function(e,t,n){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})(e)}function o(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 i=n("./src/bitap/index.js"),a=n("./src/helpers/deep_value.js"),s=n("./src/helpers/is_array.js"),c=function(){function e(t,n){var r=n.location,o=void 0===r?0:r,i=n.distance,s=void 0===i?100:i,c=n.threshold,l=void 0===c?.6:c,u=n.maxPatternLength,A=void 0===u?32:u,d=n.caseSensitive,f=void 0!==d&&d,h=n.tokenSeparator,p=void 0===h?/ +/g:h,m=n.findAllMatches,g=void 0!==m&&m,v=n.minMatchCharLength,y=void 0===v?1:v,b=n.id,w=void 0===b?null:b,_=n.keys,x=void 0===_?[]:_,B=n.shouldSort,C=void 0===B||B,E=n.getFn,j=void 0===E?a:E,k=n.sortFn,S=void 0===k?function(e,t){return e.score-t.score}:k,O=n.tokenize,N=void 0!==O&&O,F=n.matchAllTokens,I=void 0!==F&&F,P=n.includeMatches,L=void 0!==P&&P,T=n.includeScore,D=void 0!==T&&T,Q=n.verbose,U=void 0!==Q&&Q;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:s,threshold:l,maxPatternLength:A,isCaseSensitive:f,tokenSeparator:p,findAllMatches:g,minMatchCharLength:y,id:w,keys:x,includeMatches:L,includeScore:D,shouldSort:C,getFn:j,sortFn:S,verbose:U,tokenize:N,matchAllTokens:I},this.setCollection(t)}var t,n,c;return t=e,(n=[{key:"setCollection",value:function(e){return this.list=e}},{key:"search",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,o=n.fullSearcher,i=this._search(r,o),a=i.weights,s=i.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,o=n.length;r<o;r+=1)t.push(new i(n[r],this.options));return{tokenSearchers:t,fullSearcher:new i(e,this.options)}}},{key:"_search",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=1<arguments.length?arguments[1]:void 0,n=this.list,r={},o=[];if("string"==typeof n[0]){for(var i=0,a=n.length;i<a;i+=1)this._analyze({key:"",value:n[i],record:i,index:i},{resultMap:r,results:o,tokenSearchers:e,fullSearcher:t});return{weights:null,results:o}}for(var s={},c=0,l=n.length;c<l;c+=1)for(var u=n[c],A=0,d=this.options.keys.length;A<d;A+=1){var f=this.options.keys[A];if("string"!=typeof f){if(s[f.name]={weight:1-f.weight||1},f.weight<=0||1<f.weight)throw new Error("Key weight has to be > 0 and <= 1");f=f.name}else s[f]={weight:1};this._analyze({key:f,value:this.options.getFn(u,f),record:u,index:c},{resultMap:r,results:o,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:o}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,o=void 0===r?-1:r,i=e.value,a=e.record,c=e.index,l=t.tokenSearchers,u=void 0===l?[]:l,A=t.fullSearcher,d=void 0===A?[]:A,f=t.resultMap,h=void 0===f?{}:f,p=t.results,m=void 0===p?[]:p;if(null!=i){var g=!1,v=-1,y=0;if("string"==typeof i){this._log("\nKey: ".concat(""===n?"-":n));var b=d.search(i);if(this._log('Full text: "'.concat(i,'", score: ').concat(b.score)),this.options.tokenize){for(var w=i.split(this.options.tokenSeparator),_=[],x=0;x<u.length;x+=1){var B=u[x];this._log('\nPattern: "'.concat(B.pattern,'"'));for(var C=!1,E=0;E<w.length;E+=1){var j=w[E],k=B.search(j),S={};k.isMatch?(S[j]=k.score,C=g=!0,_.push(k.score)):(S[j]=1,this.options.matchAllTokens||_.push(1)),this._log('Token: "'.concat(j,'", score: ').concat(S[j]))}C&&(y+=1)}v=_[0];for(var O=_.length,N=1;N<O;N+=1)v+=_[N];v/=O,this._log("Token score average:",v)}var F=b.score;-1<v&&(F=(F+v)/2),this._log("Score average:",F);var I=!this.options.tokenize||!this.options.matchAllTokens||y>=u.length;if(this._log("\nCheck Matches: ".concat(I)),(g||b.isMatch)&&I){var P=h[c];P?P.output.push({key:n,arrayIndex:o,value:i,score:F,matchedIndices:b.matchedIndices}):(h[c]={item:a,output:[{key:n,arrayIndex:o,value:i,score:F,matchedIndices:b.matchedIndices}]},m.push(h[c]))}}else if(s(i))for(var L=0,T=i.length;L<T;L+=1)this._analyze({key:n,arrayIndex:L,value:i[L],record:a,index:c},{resultMap:h,results:m,tokenSearchers:u,fullSearcher:d})}}},{key:"_computeScore",value:function(e,t){this._log("\n\nComputing score:\n");for(var n=0,r=t.length;n<r;n+=1){for(var o=t[n].output,i=o.length,a=1,s=1,c=0;c<i;c+=1){var l=e?e[o[c].key].weight:1,u=(1===l?o[c].score:o[c].score||.001)*l;1!==l?s=Math.min(s,u):a*=o[c].nScore=u}t[n].score=1===s?a:s,this._log(t[n])}}},{key:"_sort",value:function(e){this._log("\n\nSorting...."),e.sort(this.options.sortFn)}},{key:"_format",value:function(e){var t=[];if(this.options.verbose){var n=[];this._log("\n\nOutput:\n\n",JSON.stringify(e,(function(e,t){if("object"===r(t)&&null!==t){if(-1!==n.indexOf(t))return;n.push(t)}return t}))),n=null}var o=[];this.options.includeMatches&&o.push((function(e,t){var n=e.output;t.matches=[];for(var r=0,o=n.length;r<o;r+=1){var i=n[r];if(0!==i.matchedIndices.length){var a={indices:i.matchedIndices,value:i.value};i.key&&(a.key=i.key),i.hasOwnProperty("arrayIndex")&&-1<i.arrayIndex&&(a.arrayIndex=i.arrayIndex),t.matches.push(a)}}})),this.options.includeScore&&o.push((function(e,t){t.score=e.score}));for(var i=0,a=e.length;i<a;i+=1){var s=e[i];if(this.options.id&&(s.item=this.options.getFn(s.item,this.options.id)[0]),o.length){for(var c={item:s.item},l=0,u=o.length;l<u;l+=1)o[l](s,c);t.push(c)}else t.push(s.item)}return t}},{key:"_log",value:function(){var e;this.options.verbose&&(e=console).log.apply(e,arguments)}}])&&o(t.prototype,n),c&&o(t,c),e}();e.exports=c}})},e.exports=r()},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=[{name:"100",unicode:"1f4af",shortname:":100:",code_decimal:"&#128175;",category:"s",emoji_order:"2119"},{name:"1234",unicode:"1f522",shortname:":1234:",code_decimal:"&#128290;",category:"s",emoji_order:"2122"},{name:"grinning",unicode:"1f600",shortname:":grinning:",code_decimal:"&#128512;",category:"p",emoji_order:"1"},{name:"grin",unicode:"1f601",shortname:":grin:",code_decimal:"&#128513;",category:"p",emoji_order:"2"},{name:"joy",unicode:"1f602",shortname:":joy:",code_decimal:"&#128514;",category:"p",emoji_order:"3"},{name:"smiley",unicode:"1f603",shortname:":smiley:",code_decimal:"&#128515;",category:"p",emoji_order:"5"},{name:"smile",unicode:"1f604",shortname:":smile:",code_decimal:"&#128516;",category:"p",emoji_order:"6"},{name:"sweat_smile",unicode:"1f605",shortname:":sweat_smile:",code_decimal:"&#128517;",category:"p",emoji_order:"7"},{name:"laughing",unicode:"1f606",shortname:":laughing:",code_decimal:"&#128518;",category:"p",emoji_order:"8"},{name:"wink",unicode:"1f609",shortname:":wink:",code_decimal:"&#128521;",category:"p",emoji_order:"9"},{name:"blush",unicode:"1f60a",shortname:":blush:",code_decimal:"&#128522;",category:"p",emoji_order:"10"},{name:"yum",unicode:"1f60b",shortname:":yum:",code_decimal:"&#128523;",category:"p",emoji_order:"11"},{name:"sunglasses",unicode:"1f60e",shortname:":sunglasses:",code_decimal:"&#128526;",category:"p",emoji_order:"12"},{name:"heart_eyes",unicode:"1f60d",shortname:":heart_eyes:",code_decimal:"&#128525;",category:"p",emoji_order:"13"},{name:"kissing_heart",unicode:"1f618",shortname:":kissing_heart:",code_decimal:"&#128536;",category:"p",emoji_order:"14"},{name:"kissing",unicode:"1f617",shortname:":kissing:",code_decimal:"&#128535;",category:"p",emoji_order:"15"},{name:"kissing_smiling_eyes",unicode:"1f619",shortname:":kissing_smiling_eyes:",code_decimal:"&#128537;",category:"p",emoji_order:"16"},{name:"kissing_closed_eyes",unicode:"1f61a",shortname:":kissing_closed_eyes:",code_decimal:"&#128538;",category:"p",emoji_order:"17"},{name:"slightly_smiling_face",unicode:"1f642",shortname:":slight_smile:",code_decimal:"&#128578;",category:"p",emoji_order:"19"},{name:"hugging_face",unicode:"1f917",shortname:":hugging:",code_decimal:"&#129303;",category:"p",emoji_order:"20"},{name:"thinking_face",unicode:"1f914",shortname:":thinking:",code_decimal:"&#129300;",category:"p",emoji_order:"21"},{name:"neutral_face",unicode:"1f610",shortname:":neutral_face:",code_decimal:"&#128528;",category:"p",emoji_order:"22"},{name:"expressionless",unicode:"1f611",shortname:":expressionless:",code_decimal:"&#128529;",category:"p",emoji_order:"23"},{name:"no_mouth",unicode:"1f636",shortname:":no_mouth:",code_decimal:"&#128566;",category:"p",emoji_order:"24"},{name:"face_with_rolling_eyes",unicode:"1f644",shortname:":rolling_eyes:",code_decimal:"&#128580;",category:"p",emoji_order:"25"},{name:"smirk",unicode:"1f60f",shortname:":smirk:",code_decimal:"&#128527;",category:"p",emoji_order:"26"},{name:"persevere",unicode:"1f623",shortname:":persevere:",code_decimal:"&#128547;",category:"p",emoji_order:"27"},{name:"disappointed_relieved",unicode:"1f625",shortname:":disappointed_relieved:",code_decimal:"&#128549;",category:"p",emoji_order:"28"},{name:"open_mouth",unicode:"1f62e",shortname:":open_mouth:",code_decimal:"&#128558;",category:"p",emoji_order:"29"},{name:"zipper_mouth_face",unicode:"1f910",shortname:":zipper_mouth:",code_decimal:"&#129296;",category:"p",emoji_order:"30"},{name:"hushed",unicode:"1f62f",shortname:":hushed:",code_decimal:"&#128559;",category:"p",emoji_order:"31"},{name:"sleepy",unicode:"1f62a",shortname:":sleepy:",code_decimal:"&#128554;",category:"p",emoji_order:"32"},{name:"tired_face",unicode:"1f62b",shortname:":tired_face:",code_decimal:"&#128555;",category:"p",emoji_order:"33"},{name:"sleeping",unicode:"1f634",shortname:":sleeping:",code_decimal:"&#128564;",category:"p",emoji_order:"34"},{name:"relieved",unicode:"1f60c",shortname:":relieved:",code_decimal:"&#128524;",category:"p",emoji_order:"35"},{name:"nerd_face",unicode:"1f913",shortname:":nerd:",code_decimal:"&#129299;",category:"p",emoji_order:"36"},{name:"stuck_out_tongue",unicode:"1f61b",shortname:":stuck_out_tongue:",code_decimal:"&#128539;",category:"p",emoji_order:"37"},{name:"stuck_out_tongue_winking_eye",unicode:"1f61c",shortname:":stuck_out_tongue_winking_eye:",code_decimal:"&#128540;",category:"p",emoji_order:"38"},{name:"stuck_out_tongue_closed_eyes",unicode:"1f61d",shortname:":stuck_out_tongue_closed_eyes:",code_decimal:"&#128541;",category:"p",emoji_order:"39"},{name:"unamused",unicode:"1f612",shortname:":unamused:",code_decimal:"&#128530;",category:"p",emoji_order:"41"},{name:"sweat",unicode:"1f613",shortname:":sweat:",code_decimal:"&#128531;",category:"p",emoji_order:"42"},{name:"pensive",unicode:"1f614",shortname:":pensive:",code_decimal:"&#128532;",category:"p",emoji_order:"43"},{name:"confused",unicode:"1f615",shortname:":confused:",code_decimal:"&#128533;",category:"p",emoji_order:"44"},{name:"upside_down_face",unicode:"1f643",shortname:":upside_down:",code_decimal:"&#128579;",category:"p",emoji_order:"45"},{name:"money_mouth_face",unicode:"1f911",shortname:":money_mouth:",code_decimal:"&#129297;",category:"p",emoji_order:"46"},{name:"astonished",unicode:"1f632",shortname:":astonished:",code_decimal:"&#128562;",category:"p",emoji_order:"47"},{name:"slightly_frowning_face",unicode:"1f641",shortname:":slight_frown:",code_decimal:"&#128577;",category:"p",emoji_order:"49"},{name:"confounded",unicode:"1f616",shortname:":confounded:",code_decimal:"&#128534;",category:"p",emoji_order:"50"},{name:"disappointed",unicode:"1f61e",shortname:":disappointed:",code_decimal:"&#128542;",category:"p",emoji_order:"51"},{name:"worried",unicode:"1f61f",shortname:":worried:",code_decimal:"&#128543;",category:"p",emoji_order:"52"},{name:"triumph",unicode:"1f624",shortname:":triumph:",code_decimal:"&#128548;",category:"p",emoji_order:"53"},{name:"cry",unicode:"1f622",shortname:":cry:",code_decimal:"&#128546;",category:"p",emoji_order:"54"},{name:"sob",unicode:"1f62d",shortname:":sob:",code_decimal:"&#128557;",category:"p",emoji_order:"55"},{name:"frowning",unicode:"1f626",shortname:":frowning:",code_decimal:"&#128550;",category:"p",emoji_order:"56"},{name:"anguished",unicode:"1f627",shortname:":anguished:",code_decimal:"&#128551;",category:"p",emoji_order:"57"},{name:"fearful",unicode:"1f628",shortname:":fearful:",code_decimal:"&#128552;",category:"p",emoji_order:"58"},{name:"weary",unicode:"1f629",shortname:":weary:",code_decimal:"&#128553;",category:"p",emoji_order:"59"},{name:"grimacing",unicode:"1f62c",shortname:":grimacing:",code_decimal:"&#128556;",category:"p",emoji_order:"60"},{name:"cold_sweat",unicode:"1f630",shortname:":cold_sweat:",code_decimal:"&#128560;",category:"p",emoji_order:"61"},{name:"scream",unicode:"1f631",shortname:":scream:",code_decimal:"&#128561;",category:"p",emoji_order:"62"},{name:"flushed",unicode:"1f633",shortname:":flushed:",code_decimal:"&#128563;",category:"p",emoji_order:"63"},{name:"dizzy_face",unicode:"1f635",shortname:":dizzy_face:",code_decimal:"&#128565;",category:"p",emoji_order:"64"},{name:"rage",unicode:"1f621",shortname:":rage:",code_decimal:"&#128545;",category:"p",emoji_order:"65"},{name:"angry",unicode:"1f620",shortname:":angry:",code_decimal:"&#128544;",category:"p",emoji_order:"66"},{name:"innocent",unicode:"1f607",shortname:":innocent:",code_decimal:"&#128519;",category:"p",emoji_order:"67"},{name:"mask",unicode:"1f637",shortname:":mask:",code_decimal:"&#128567;",category:"p",emoji_order:"71"},{name:"face_with_thermometer",unicode:"1f912",shortname:":thermometer_face:",code_decimal:"&#129298;",category:"p",emoji_order:"72"},{name:"face_with_head_bandage",unicode:"1f915",shortname:":head_bandage:",code_decimal:"&#129301;",category:"p",emoji_order:"73"},{name:"smiling_imp",unicode:"1f608",shortname:":smiling_imp:",code_decimal:"&#128520;",category:"p",emoji_order:"76"},{name:"imp",unicode:"1f47f",shortname:":imp:",code_decimal:"&#128127;",category:"p",emoji_order:"77"},{name:"japanese_ogre",unicode:"1f479",shortname:":japanese_ogre:",code_decimal:"&#128121;",category:"p",emoji_order:"78"},{name:"japanese_goblin",unicode:"1f47a",shortname:":japanese_goblin:",code_decimal:"&#128122;",category:"p",emoji_order:"79"},{name:"skull",unicode:"1f480",shortname:":skull:",code_decimal:"&#128128;",category:"p",emoji_order:"80"},{name:"skull_and_crossbones",unicode:"2620",shortname:":skull_crossbones:",code_decimal:"&#9760;",category:"o",emoji_order:"81"},{name:"ghost",unicode:"1f47b",shortname:":ghost:",code_decimal:"&#128123;",category:"p",emoji_order:"82"},{name:"alien",unicode:"1f47d",shortname:":alien:",code_decimal:"&#128125;",category:"p",emoji_order:"83"},{name:"space_invader",unicode:"1f47e",shortname:":space_invader:",code_decimal:"&#128126;",category:"a",emoji_order:"84"},{name:"robot_face",unicode:"1f916",shortname:":robot:",code_decimal:"&#129302;",category:"p",emoji_order:"85"},{name:"hankey",unicode:"1f4a9",shortname:":poop:",code_decimal:"&#128169;",category:"p",emoji_order:"86"},{name:"smiley_cat",unicode:"1f63a",shortname:":smiley_cat:",code_decimal:"&#128570;",category:"p",emoji_order:"87"},{name:"smile_cat",unicode:"1f638",shortname:":smile_cat:",code_decimal:"&#128568;",category:"p",emoji_order:"88"},{name:"joy_cat",unicode:"1f639",shortname:":joy_cat:",code_decimal:"&#128569;",category:"p",emoji_order:"89"},{name:"heart_eyes_cat",unicode:"1f63b",shortname:":heart_eyes_cat:",code_decimal:"&#128571;",category:"p",emoji_order:"90"},{name:"smirk_cat",unicode:"1f63c",shortname:":smirk_cat:",code_decimal:"&#128572;",category:"p",emoji_order:"91"},{name:"kissing_cat",unicode:"1f63d",shortname:":kissing_cat:",code_decimal:"&#128573;",category:"p",emoji_order:"92"},{name:"scream_cat",unicode:"1f640",shortname:":scream_cat:",code_decimal:"&#128576;",category:"p",emoji_order:"93"},{name:"crying_cat_face",unicode:"1f63f",shortname:":crying_cat_face:",code_decimal:"&#128575;",category:"p",emoji_order:"94"},{name:"pouting_cat",unicode:"1f63e",shortname:":pouting_cat:",code_decimal:"&#128574;",category:"p",emoji_order:"95"},{name:"see_no_evil",unicode:"1f648",shortname:":see_no_evil:",code_decimal:"&#128584;",category:"n",emoji_order:"96"},{name:"hear_no_evil",unicode:"1f649",shortname:":hear_no_evil:",code_decimal:"&#128585;",category:"n",emoji_order:"97"},{name:"speak_no_evil",unicode:"1f64a",shortname:":speak_no_evil:",code_decimal:"&#128586;",category:"n",emoji_order:"98"},{name:"boy",unicode:"1f466",shortname:":boy:",code_decimal:"&#128102;",category:"p",emoji_order:"99"},{name:"girl",unicode:"1f467",shortname:":girl:",code_decimal:"&#128103;",category:"p",emoji_order:"105"},{name:"man",unicode:"1f468",shortname:":man:",code_decimal:"&#128104;",category:"p",emoji_order:"111"},{name:"woman",unicode:"1f469",shortname:":woman:",code_decimal:"&#128105;",category:"p",emoji_order:"117"},{name:"older_man",unicode:"1f474",shortname:":older_man:",code_decimal:"&#128116;",category:"p",emoji_order:"123"},{name:"older_woman",unicode:"1f475",shortname:":older_woman:",code_decimal:"&#128117;",category:"p",emoji_order:"129"},{name:"baby",unicode:"1f476",shortname:":baby:",code_decimal:"&#128118;",category:"p",emoji_order:"135"},{name:"angel",unicode:"1f47c",shortname:":angel:",code_decimal:"&#128124;",category:"p",emoji_order:"141"},{name:"cop",unicode:"1f46e",shortname:":cop:",code_decimal:"&#128110;",category:"p",emoji_order:"339"},{name:"sleuth_or_spy",unicode:"1f575",shortname:":spy:",code_decimal:"&#128373;",category:"p",emoji_order:"357"},{name:"guardsman",unicode:"1f482",shortname:":guardsman:",code_decimal:"&#128130;",category:"p",emoji_order:"375"},{name:"construction_worker",unicode:"1f477",shortname:":construction_worker:",code_decimal:"&#128119;",category:"p",emoji_order:"393"},{name:"man_with_turban",unicode:"1f473",shortname:":man_with_turban:",code_decimal:"&#128115;",category:"p",emoji_order:"411"},{name:"person_with_blond_hair",unicode:"1f471",shortname:":person_with_blond_hair:",code_decimal:"&#128113;",category:"p",emoji_order:"429"},{name:"santa",unicode:"1f385",shortname:":santa:",code_decimal:"&#127877;",category:"p",emoji_order:"447"},{name:"princess",unicode:"1f478",shortname:":princess:",code_decimal:"&#128120;",category:"p",emoji_order:"459"},{name:"bride_with_veil",unicode:"1f470",shortname:":bride_with_veil:",code_decimal:"&#128112;",category:"p",emoji_order:"471"},{name:"man_with_gua_pi_mao",unicode:"1f472",shortname:":man_with_gua_pi_mao:",code_decimal:"&#128114;",category:"p",emoji_order:"489"},{name:"person_frowning",unicode:"1f64d",shortname:":person_frowning:",code_decimal:"&#128589;",category:"p",emoji_order:"495"},{name:"person_with_pouting_face",unicode:"1f64e",shortname:":person_with_pouting_face:",code_decimal:"&#128590;",category:"p",emoji_order:"513"},{name:"no_good",unicode:"1f645",shortname:":no_good:",code_decimal:"&#128581;",category:"p",emoji_order:"531"},{name:"ok_woman",unicode:"1f646",shortname:":ok_woman:",code_decimal:"&#128582;",category:"p",emoji_order:"549"},{name:"information_desk_person",unicode:"1f481",shortname:":information_desk_person:",code_decimal:"&#128129;",category:"p",emoji_order:"567"},{name:"raising_hand",unicode:"1f64b",shortname:":raising_hand:",code_decimal:"&#128587;",category:"p",emoji_order:"585"},{name:"bow",unicode:"1f647",shortname:":bow:",code_decimal:"&#128583;",category:"p",emoji_order:"603"},{name:"massage",unicode:"1f486",shortname:":massage:",code_decimal:"&#128134;",category:"p",emoji_order:"657"},{name:"haircut",unicode:"1f487",shortname:":haircut:",code_decimal:"&#128135;",category:"p",emoji_order:"675"},{name:"walking",unicode:"1f6b6",shortname:":walking:",code_decimal:"&#128694;",category:"p",emoji_order:"693"},{name:"runner",unicode:"1f3c3",shortname:":runner:",code_decimal:"&#127939;",category:"p",emoji_order:"711"},{name:"dancer",unicode:"1f483",shortname:":dancer:",code_decimal:"&#128131;",category:"p",emoji_order:"729"},{name:"dancers",unicode:"1f46f",shortname:":dancers:",code_decimal:"&#128111;",category:"p",emoji_order:"741"},{name:"man_in_business_suit_levitating",unicode:"1f574",shortname:":levitate:",code_decimal:"&#128372;",category:"a",emoji_order:"759"},{name:"speaking_head_in_silhouette",unicode:"1f5e3",shortname:":speaking_head:",code_decimal:"&#128483;",category:"p",emoji_order:"765"},{name:"bust_in_silhouette",unicode:"1f464",shortname:":bust_in_silhouette:",code_decimal:"&#128100;",category:"p",emoji_order:"766"},{name:"busts_in_silhouette",unicode:"1f465",shortname:":busts_in_silhouette:",code_decimal:"&#128101;",category:"p",emoji_order:"767"},{name:"horse_racing",unicode:"1f3c7",shortname:":horse_racing:",code_decimal:"&#127943;",category:"a",emoji_order:"769"},{name:"skier",unicode:"26f7",shortname:":skier:",code_decimal:"&#9975;",category:"a",emoji_order:"775"},{name:"snowboarder",unicode:"1f3c2",shortname:":snowboarder:",code_decimal:"&#127938;",category:"a",emoji_order:"776"},{name:"golfer",unicode:"1f3cc",shortname:":golfer:",code_decimal:"&#127948;",category:"a",emoji_order:"782"},{name:"surfer",unicode:"1f3c4",shortname:":surfer:",code_decimal:"&#127940;",category:"a",emoji_order:"800"},{name:"rowboat",unicode:"1f6a3",shortname:":rowboat:",code_decimal:"&#128675;",category:"a",emoji_order:"818"},{name:"swimmer",unicode:"1f3ca",shortname:":swimmer:",code_decimal:"&#127946;",category:"a",emoji_order:"836"},{name:"person_with_ball",unicode:"26f9",shortname:":basketball_player:",code_decimal:"&#9977;",category:"a",emoji_order:"854"},{name:"weight_lifter",unicode:"1f3cb",shortname:":lifter:",code_decimal:"&#127947;",category:"a",emoji_order:"872"},{name:"bicyclist",unicode:"1f6b4",shortname:":bicyclist:",code_decimal:"&#128692;",category:"a",emoji_order:"890"},{name:"mountain_bicyclist",unicode:"1f6b5",shortname:":mountain_bicyclist:",code_decimal:"&#128693;",category:"a",emoji_order:"908"},{name:"racing_car",unicode:"1f3ce",shortname:":race_car:",code_decimal:"&#127950;",category:"t",emoji_order:"926"},{name:"racing_motorcycle",unicode:"1f3cd",shortname:":motorcycle:",code_decimal:"&#127949;",category:"t",emoji_order:"927"},{name:"couple",unicode:"1f46b",shortname:":couple:",code_decimal:"&#128107;",category:"p",emoji_order:"1018"},{name:"two_men_holding_hands",unicode:"1f46c",shortname:":two_men_holding_hands:",code_decimal:"&#128108;",category:"p",emoji_order:"1024"},{name:"two_women_holding_hands",unicode:"1f46d",shortname:":two_women_holding_hands:",code_decimal:"&#128109;",category:"p",emoji_order:"1030"},{name:"couplekiss",unicode:"1f48f",shortname:":couplekiss:",code_decimal:"&#128143;",category:"p",emoji_order:"1036"},{name:"couple_with_heart",unicode:"1f491",shortname:":couple_with_heart:",code_decimal:"&#128145;",category:"p",emoji_order:"1040"},{name:"family",unicode:"1f46a",shortname:":family:",code_decimal:"&#128106;",category:"p",emoji_order:"1044"},{name:"muscle",unicode:"1f4aa",shortname:":muscle:",code_decimal:"&#128170;",category:"p",emoji_order:"1080"},{name:"point_left",unicode:"1f448",shortname:":point_left:",code_decimal:"&#128072;",category:"p",emoji_order:"1092"},{name:"point_right",unicode:"1f449",shortname:":point_right:",code_decimal:"&#128073;",category:"p",emoji_order:"1098"},{name:"point_up",unicode:"261d",shortname:":point_up:",code_decimal:"&#9757;",category:"p",emoji_order:"1104"},{name:"point_up_2",unicode:"1f446",shortname:":point_up_2:",code_decimal:"&#128070;",category:"p",emoji_order:"1110"},{name:"middle_finger",unicode:"1f595",shortname:":middle_finger:",code_decimal:"&#128405;",category:"p",emoji_order:"1116"},{name:"point_down",unicode:"1f447",shortname:":point_down:",code_decimal:"&#128071;",category:"p",emoji_order:"1122"},{name:"v",unicode:"270c",shortname:":v:",code_decimal:"&#9996;",category:"p",emoji_order:"1128"},{name:"the_horns",unicode:"1f918",shortname:":metal_tone2:",code_decimal:"&#129304;",category:"p",emoji_order:"1146"},{name:"raised_hand_with_fingers_splayed",unicode:"1f590",shortname:":hand_splayed:",code_decimal:"&#128400;",category:"p",emoji_order:"1158"},{name:"ok_hand",unicode:"1f44c",shortname:":ok_hand:",code_decimal:"&#128076;",category:"p",emoji_order:"1170"},{name:"thumbsup",unicode:"1f44d",shortname:":thumbsup:",code_decimal:"&#128077;",category:"p",emoji_order:"1176"},{name:"thumbsdown",unicode:"1f44e",shortname:":thumbsdown:",code_decimal:"&#128078;",category:"p",emoji_order:"1182"},{name:"fist",unicode:"270a",shortname:":fist:",code_decimal:"&#9994;",category:"p",emoji_order:"1188"},{name:"facepunch",unicode:"1f44a",shortname:":punch:",code_decimal:"&#128074;",category:"p",emoji_order:"1194"},{name:"wave",unicode:"1f44b",shortname:":wave:",code_decimal:"&#128075;",category:"p",emoji_order:"1218"},{name:"clap",unicode:"1f44f",shortname:":clap:",code_decimal:"&#128079;",category:"p",emoji_order:"1224"},{name:"writing_hand",unicode:"270d",shortname:":writing_hand:",code_decimal:"&#9997;",category:"p",emoji_order:"1230"},{name:"open_hands",unicode:"1f450",shortname:":open_hands:",code_decimal:"&#128080;",category:"p",emoji_order:"1236"},{name:"raised_hands",unicode:"1f64c",shortname:":raised_hands:",code_decimal:"&#128588;",category:"p",emoji_order:"1242"},{name:"pray",unicode:"1f64f",shortname:":pray:",code_decimal:"&#128591;",category:"p",emoji_order:"1248"},{name:"nail_care",unicode:"1f485",shortname:":nail_care:",code_decimal:"&#128133;",category:"p",emoji_order:"1260"},{name:"ear",unicode:"1f442",shortname:":ear:",code_decimal:"&#128066;",category:"p",emoji_order:"1266"},{name:"nose",unicode:"1f443",shortname:":nose:",code_decimal:"&#128067;",category:"p",emoji_order:"1272"},{name:"footprints",unicode:"1f463",shortname:":footprints:",code_decimal:"&#128099;",category:"p",emoji_order:"1278"},{name:"eyes",unicode:"1f440",shortname:":eyes:",code_decimal:"&#128064;",category:"p",emoji_order:"1279"},{name:"eye",unicode:"1f441",shortname:":eye:",code_decimal:"&#128065;",category:"p",emoji_order:"1280"},{name:"tongue",unicode:"1f445",shortname:":tongue:",code_decimal:"&#128069;",category:"p",emoji_order:"1282"},{name:"lips",unicode:"1f444",shortname:":lips:",code_decimal:"&#128068;",category:"p",emoji_order:"1283"},{name:"kiss",unicode:"1f48b",shortname:":kiss:",code_decimal:"&#128139;",category:"p",emoji_order:"1284"},{name:"cupid",unicode:"1f498",shortname:":cupid:",code_decimal:"&#128152;",category:"s",emoji_order:"1285"},{name:"heart",unicode:"2764",shortname:":heart:",code_decimal:"&#10084;",category:"s",emoji_order:"1286"},{name:"heartbeat",unicode:"1f493",shortname:":heartbeat:",code_decimal:"&#128147;",category:"s",emoji_order:"1287"},{name:"broken_heart",unicode:"1f494",shortname:":broken_heart:",code_decimal:"&#128148;",category:"s",emoji_order:"1288"},{name:"two_hearts",unicode:"1f495",shortname:":two_hearts:",code_decimal:"&#128149;",category:"s",emoji_order:"1289"},{name:"sparkling_heart",unicode:"1f496",shortname:":sparkling_heart:",code_decimal:"&#128150;",category:"s",emoji_order:"1290"},{name:"heartpulse",unicode:"1f497",shortname:":heartpulse:",code_decimal:"&#128151;",category:"s",emoji_order:"1291"},{name:"blue_heart",unicode:"1f499",shortname:":blue_heart:",code_decimal:"&#128153;",category:"s",emoji_order:"1292"},{name:"green_heart",unicode:"1f49a",shortname:":green_heart:",code_decimal:"&#128154;",category:"s",emoji_order:"1293"},{name:"yellow_heart",unicode:"1f49b",shortname:":yellow_heart:",code_decimal:"&#128155;",category:"s",emoji_order:"1294"},{name:"purple_heart",unicode:"1f49c",shortname:":purple_heart:",code_decimal:"&#128156;",category:"s",emoji_order:"1295"},{name:"gift_heart",unicode:"1f49d",shortname:":gift_heart:",code_decimal:"&#128157;",category:"s",emoji_order:"1297"},{name:"revolving_hearts",unicode:"1f49e",shortname:":revolving_hearts:",code_decimal:"&#128158;",category:"s",emoji_order:"1298"},{name:"heart_decoration",unicode:"1f49f",shortname:":heart_decoration:",code_decimal:"&#128159;",category:"s",emoji_order:"1299"},{name:"heart_exclamation",unicode:"2763",shortname:":heart_exclamation:",code_decimal:"&#10083;",category:"s",emoji_order:"1300"},{name:"love_letter",unicode:"1f48c",shortname:":love_letter:",code_decimal:"&#128140;",category:"o",emoji_order:"1301"},{name:"zzz",unicode:"1f4a4",shortname:":zzz:",code_decimal:"&#128164;",category:"p",emoji_order:"1302"},{name:"anger",unicode:"1f4a2",shortname:":anger:",code_decimal:"&#128162;",category:"s",emoji_order:"1303"},{name:"bomb",unicode:"1f4a3",shortname:":bomb:",code_decimal:"&#128163;",category:"o",emoji_order:"1304"},{name:"boom",unicode:"1f4a5",shortname:":boom:",code_decimal:"&#128165;",category:"s",emoji_order:"1305"},{name:"sweat_drops",unicode:"1f4a6",shortname:":sweat_drops:",code_decimal:"&#128166;",category:"n",emoji_order:"1306"},{name:"dash",unicode:"1f4a8",shortname:":dash:",code_decimal:"&#128168;",category:"n",emoji_order:"1307"},{name:"dizzy",unicode:"1f4ab",shortname:":dizzy:",code_decimal:"&#128171;",category:"s",emoji_order:"1308"},{name:"speech_balloon",unicode:"1f4ac",shortname:":speech_balloon:",code_decimal:"&#128172;",category:"s",emoji_order:"1309"},{name:"left_speech_bubble",unicode:"1f5e8",shortname:":speech_left:",code_decimal:"&#128488;",category:"s",emoji_order:"1310"},{name:"right_anger_bubble",unicode:"1f5ef",shortname:":anger_right:",code_decimal:"&#128495;",category:"s",emoji_order:"1311"},{name:"thought_balloon",unicode:"1f4ad",shortname:":thought_balloon:",code_decimal:"&#128173;",category:"s",emoji_order:"1312"},{name:"hole",unicode:"1f573",shortname:":hole:",code_decimal:"&#128371;",category:"o",emoji_order:"1313"},{name:"eyeglasses",unicode:"1f453",shortname:":eyeglasses:",code_decimal:"&#128083;",category:"p",emoji_order:"1314"},{name:"dark_sunglasses",unicode:"1f576",shortname:":dark_sunglasses:",code_decimal:"&#128374;",category:"p",emoji_order:"1315"},{name:"necktie",unicode:"1f454",shortname:":necktie:",code_decimal:"&#128084;",category:"p",emoji_order:"1316"},{name:"shirt",unicode:"1f455",shortname:":shirt:",code_decimal:"&#128085;",category:"p",emoji_order:"1317"},{name:"jeans",unicode:"1f456",shortname:":jeans:",code_decimal:"&#128086;",category:"p",emoji_order:"1318"},{name:"dress",unicode:"1f457",shortname:":dress:",code_decimal:"&#128087;",category:"p",emoji_order:"1319"},{name:"kimono",unicode:"1f458",shortname:":kimono:",code_decimal:"&#128088;",category:"p",emoji_order:"1320"},{name:"bikini",unicode:"1f459",shortname:":bikini:",code_decimal:"&#128089;",category:"p",emoji_order:"1321"},{name:"womans_clothes",unicode:"1f45a",shortname:":womans_clothes:",code_decimal:"&#128090;",category:"p",emoji_order:"1322"},{name:"purse",unicode:"1f45b",shortname:":purse:",code_decimal:"&#128091;",category:"p",emoji_order:"1323"},{name:"handbag",unicode:"1f45c",shortname:":handbag:",code_decimal:"&#128092;",category:"p",emoji_order:"1324"},{name:"pouch",unicode:"1f45d",shortname:":pouch:",code_decimal:"&#128093;",category:"p",emoji_order:"1325"},{name:"shopping_bags",unicode:"1f6cd",shortname:":shopping_bags:",code_decimal:"&#128717;",category:"o",emoji_order:"1326"},{name:"school_satchel",unicode:"1f392",shortname:":school_satchel:",code_decimal:"&#127890;",category:"p",emoji_order:"1327"},{name:"mans_shoe",unicode:"1f45e",shortname:":mans_shoe:",code_decimal:"&#128094;",category:"p",emoji_order:"1328"},{name:"athletic_shoe",unicode:"1f45f",shortname:":athletic_shoe:",code_decimal:"&#128095;",category:"p",emoji_order:"1329"},{name:"high_heel",unicode:"1f460",shortname:":high_heel:",code_decimal:"&#128096;",category:"p",emoji_order:"1330"},{name:"sandal",unicode:"1f461",shortname:":sandal:",code_decimal:"&#128097;",category:"p",emoji_order:"1331"},{name:"boot",unicode:"1f462",shortname:":boot:",code_decimal:"&#128098;",category:"p",emoji_order:"1332"},{name:"crown",unicode:"1f451",shortname:":crown:",code_decimal:"&#128081;",category:"p",emoji_order:"1333"},{name:"womans_hat",unicode:"1f452",shortname:":womans_hat:",code_decimal:"&#128082;",category:"p",emoji_order:"1334"},{name:"tophat",unicode:"1f3a9",shortname:":tophat:",code_decimal:"&#127913;",category:"p",emoji_order:"1335"},{name:"mortar_board",unicode:"1f393",shortname:":mortar_board:",code_decimal:"&#127891;",category:"p",emoji_order:"1336"},{name:"helmet_with_white_cross",unicode:"26d1",shortname:":helmet_with_cross:",code_decimal:"&#9937;",category:"p",emoji_order:"1337"},{name:"prayer_beads",unicode:"1f4ff",shortname:":prayer_beads:",code_decimal:"&#128255;",category:"o",emoji_order:"1338"},{name:"lipstick",unicode:"1f484",shortname:":lipstick:",code_decimal:"&#128132;",category:"p",emoji_order:"1339"},{name:"ring",unicode:"1f48d",shortname:":ring:",code_decimal:"&#128141;",category:"p",emoji_order:"1340"},{name:"gem",unicode:"1f48e",shortname:":gem:",code_decimal:"&#128142;",category:"o",emoji_order:"1341"},{name:"monkey_face",unicode:"1f435",shortname:":monkey_face:",code_decimal:"&#128053;",category:"n",emoji_order:"1342"},{name:"monkey",unicode:"1f412",shortname:":monkey:",code_decimal:"&#128018;",category:"n",emoji_order:"1343"},{name:"dog",unicode:"1f436",shortname:":dog:",code_decimal:"&#128054;",category:"n",emoji_order:"1345"},{name:"dog2",unicode:"1f415",shortname:":dog2:",code_decimal:"&#128021;",category:"n",emoji_order:"1346"},{name:"poodle",unicode:"1f429",shortname:":poodle:",code_decimal:"&#128041;",category:"n",emoji_order:"1347"},{name:"wolf",unicode:"1f43a",shortname:":wolf:",code_decimal:"&#128058;",category:"n",emoji_order:"1348"},{name:"cat",unicode:"1f431",shortname:":cat:",code_decimal:"&#128049;",category:"n",emoji_order:"1350"},{name:"cat2",unicode:"1f408",shortname:":cat2:",code_decimal:"&#128008;",category:"n",emoji_order:"1351"},{name:"lion_face",unicode:"1f981",shortname:":lion_face:",code_decimal:"&#129409;",category:"n",emoji_order:"1352"},{name:"tiger",unicode:"1f42f",shortname:":tiger:",code_decimal:"&#128047;",category:"n",emoji_order:"1353"},{name:"tiger2",unicode:"1f405",shortname:":tiger2:",code_decimal:"&#128005;",category:"n",emoji_order:"1354"},{name:"leopard",unicode:"1f406",shortname:":leopard:",code_decimal:"&#128006;",category:"n",emoji_order:"1355"},{name:"horse",unicode:"1f434",shortname:":horse:",code_decimal:"&#128052;",category:"n",emoji_order:"1356"},{name:"racehorse",unicode:"1f40e",shortname:":racehorse:",code_decimal:"&#128014;",category:"n",emoji_order:"1357"},{name:"unicorn_face",unicode:"1f984",shortname:":unicorn:",code_decimal:"&#129412;",category:"n",emoji_order:"1359"},{name:"cow",unicode:"1f42e",shortname:":cow:",code_decimal:"&#128046;",category:"n",emoji_order:"1360"},{name:"ox",unicode:"1f402",shortname:":ox:",code_decimal:"&#128002;",category:"n",emoji_order:"1361"},{name:"water_buffalo",unicode:"1f403",shortname:":water_buffalo:",code_decimal:"&#128003;",category:"n",emoji_order:"1362"},{name:"cow2",unicode:"1f404",shortname:":cow2:",code_decimal:"&#128004;",category:"n",emoji_order:"1363"},{name:"pig",unicode:"1f437",shortname:":pig:",code_decimal:"&#128055;",category:"n",emoji_order:"1364"},{name:"pig2",unicode:"1f416",shortname:":pig2:",code_decimal:"&#128022;",category:"n",emoji_order:"1365"},{name:"boar",unicode:"1f417",shortname:":boar:",code_decimal:"&#128023;",category:"n",emoji_order:"1366"},{name:"pig_nose",unicode:"1f43d",shortname:":pig_nose:",code_decimal:"&#128061;",category:"n",emoji_order:"1367"},{name:"ram",unicode:"1f40f",shortname:":ram:",code_decimal:"&#128015;",category:"n",emoji_order:"1368"},{name:"sheep",unicode:"1f411",shortname:":sheep:",code_decimal:"&#128017;",category:"n",emoji_order:"1369"},{name:"goat",unicode:"1f410",shortname:":goat:",code_decimal:"&#128016;",category:"n",emoji_order:"1370"},{name:"dromedary_camel",unicode:"1f42a",shortname:":dromedary_camel:",code_decimal:"&#128042;",category:"n",emoji_order:"1371"},{name:"camel",unicode:"1f42b",shortname:":camel:",code_decimal:"&#128043;",category:"n",emoji_order:"1372"},{name:"elephant",unicode:"1f418",shortname:":elephant:",code_decimal:"&#128024;",category:"n",emoji_order:"1373"},{name:"mouse",unicode:"1f42d",shortname:":mouse:",code_decimal:"&#128045;",category:"n",emoji_order:"1375"},{name:"mouse2",unicode:"1f401",shortname:":mouse2:",code_decimal:"&#128001;",category:"n",emoji_order:"1376"},{name:"rat",unicode:"1f400",shortname:":rat:",code_decimal:"&#128000;",category:"n",emoji_order:"1377"},{name:"hamster",unicode:"1f439",shortname:":hamster:",code_decimal:"&#128057;",category:"n",emoji_order:"1378"},{name:"rabbit",unicode:"1f430",shortname:":rabbit:",code_decimal:"&#128048;",category:"n",emoji_order:"1379"},{name:"rabbit2",unicode:"1f407",shortname:":rabbit2:",code_decimal:"&#128007;",category:"n",emoji_order:"1380"},{name:"chipmunk",unicode:"1f43f",shortname:":chipmunk:",code_decimal:"&#128063;",category:"n",emoji_order:"1381"},{name:"bear",unicode:"1f43b",shortname:":bear:",code_decimal:"&#128059;",category:"n",emoji_order:"1383"},{name:"koala",unicode:"1f428",shortname:":koala:",code_decimal:"&#128040;",category:"n",emoji_order:"1384"},{name:"panda_face",unicode:"1f43c",shortname:":panda_face:",code_decimal:"&#128060;",category:"n",emoji_order:"1385"},{name:"feet",unicode:"1f43e",shortname:":feet:",code_decimal:"&#128062;",category:"n",emoji_order:"1386"},{name:"turkey",unicode:"1f983",shortname:":turkey:",code_decimal:"&#129411;",category:"n",emoji_order:"1387"},{name:"chicken",unicode:"1f414",shortname:":chicken:",code_decimal:"&#128020;",category:"n",emoji_order:"1388"},{name:"rooster",unicode:"1f413",shortname:":rooster:",code_decimal:"&#128019;",category:"n",emoji_order:"1389"},{name:"hatching_chick",unicode:"1f423",shortname:":hatching_chick:",code_decimal:"&#128035;",category:"n",emoji_order:"1390"},{name:"baby_chick",unicode:"1f424",shortname:":baby_chick:",code_decimal:"&#128036;",category:"n",emoji_order:"1391"},{name:"hatched_chick",unicode:"1f425",shortname:":hatched_chick:",code_decimal:"&#128037;",category:"n",emoji_order:"1392"},{name:"bird",unicode:"1f426",shortname:":bird:",code_decimal:"&#128038;",category:"n",emoji_order:"1393"},{name:"penguin",unicode:"1f427",shortname:":penguin:",code_decimal:"&#128039;",category:"n",emoji_order:"1394"},{name:"dove_of_peace",unicode:"1f54a",shortname:":dove:",code_decimal:"&#128330;",category:"n",emoji_order:"1395"},{name:"frog",unicode:"1f438",shortname:":frog:",code_decimal:"&#128056;",category:"n",emoji_order:"1399"},{name:"crocodile",unicode:"1f40a",shortname:":crocodile:",code_decimal:"&#128010;",category:"n",emoji_order:"1400"},{name:"turtle",unicode:"1f422",shortname:":turtle:",code_decimal:"&#128034;",category:"n",emoji_order:"1401"},{name:"snake",unicode:"1f40d",shortname:":snake:",code_decimal:"&#128013;",category:"n",emoji_order:"1403"},{name:"dragon_face",unicode:"1f432",shortname:":dragon_face:",code_decimal:"&#128050;",category:"n",emoji_order:"1404"},{name:"dragon",unicode:"1f409",shortname:":dragon:",code_decimal:"&#128009;",category:"n",emoji_order:"1405"},{name:"whale",unicode:"1f433",shortname:":whale:",code_decimal:"&#128051;",category:"n",emoji_order:"1406"},{name:"whale2",unicode:"1f40b",shortname:":whale2:",code_decimal:"&#128011;",category:"n",emoji_order:"1407"},{name:"dolphin",unicode:"1f42c",shortname:":dolphin:",code_decimal:"&#128044;",category:"n",emoji_order:"1408"},{name:"fish",unicode:"1f41f",shortname:":fish:",code_decimal:"&#128031;",category:"n",emoji_order:"1409"},{name:"tropical_fish",unicode:"1f420",shortname:":tropical_fish:",code_decimal:"&#128032;",category:"n",emoji_order:"1410"},{name:"blowfish",unicode:"1f421",shortname:":blowfish:",code_decimal:"&#128033;",category:"n",emoji_order:"1411"},{name:"octopus",unicode:"1f419",shortname:":octopus:",code_decimal:"&#128025;",category:"n",emoji_order:"1413"},{name:"shell",unicode:"1f41a",shortname:":shell:",code_decimal:"&#128026;",category:"n",emoji_order:"1414"},{name:"crab",unicode:"1f980",shortname:":crab:",code_decimal:"&#129408;",category:"n",emoji_order:"1415"},{name:"snail",unicode:"1f40c",shortname:":snail:",code_decimal:"&#128012;",category:"n",emoji_order:"1419"},{name:"bug",unicode:"1f41b",shortname:":bug:",code_decimal:"&#128027;",category:"n",emoji_order:"1420"},{name:"ant",unicode:"1f41c",shortname:":ant:",code_decimal:"&#128028;",category:"n",emoji_order:"1421"},{name:"bee",unicode:"1f41d",shortname:":bee:",code_decimal:"&#128029;",category:"n",emoji_order:"1422"},{name:"beetle",unicode:"1f41e",shortname:":beetle:",code_decimal:"&#128030;",category:"n",emoji_order:"1423"},{name:"spider",unicode:"1f577",shortname:":spider:",code_decimal:"&#128375;",category:"n",emoji_order:"1424"},{name:"spider_web",unicode:"1f578",shortname:":spider_web:",code_decimal:"&#128376;",category:"n",emoji_order:"1425"},{name:"scorpion",unicode:"1f982",shortname:":scorpion:",code_decimal:"&#129410;",category:"n",emoji_order:"1426"},{name:"bouquet",unicode:"1f490",shortname:":bouquet:",code_decimal:"&#128144;",category:"n",emoji_order:"1427"},{name:"cherry_blossom",unicode:"1f338",shortname:":cherry_blossom:",code_decimal:"&#127800;",category:"n",emoji_order:"1428"},{name:"white_flower",unicode:"1f4ae",shortname:":white_flower:",code_decimal:"&#128174;",category:"s",emoji_order:"1429"},{name:"rosette",unicode:"1f3f5",shortname:":rosette:",code_decimal:"&#127989;",category:"n",emoji_order:"1430"},{name:"rose",unicode:"1f339",shortname:":rose:",code_decimal:"&#127801;",category:"n",emoji_order:"1431"},{name:"hibiscus",unicode:"1f33a",shortname:":hibiscus:",code_decimal:"&#127802;",category:"n",emoji_order:"1433"},{name:"sunflower",unicode:"1f33b",shortname:":sunflower:",code_decimal:"&#127803;",category:"n",emoji_order:"1434"},{name:"blossom",unicode:"1f33c",shortname:":blossom:",code_decimal:"&#127804;",category:"n",emoji_order:"1435"},{name:"tulip",unicode:"1f337",shortname:":tulip:",code_decimal:"&#127799;",category:"n",emoji_order:"1436"},{name:"seedling",unicode:"1f331",shortname:":seedling:",code_decimal:"&#127793;",category:"n",emoji_order:"1437"},{name:"evergreen_tree",unicode:"1f332",shortname:":evergreen_tree:",code_decimal:"&#127794;",category:"n",emoji_order:"1438"},{name:"deciduous_tree",unicode:"1f333",shortname:":deciduous_tree:",code_decimal:"&#127795;",category:"n",emoji_order:"1439"},{name:"palm_tree",unicode:"1f334",shortname:":palm_tree:",code_decimal:"&#127796;",category:"n",emoji_order:"1440"},{name:"cactus",unicode:"1f335",shortname:":cactus:",code_decimal:"&#127797;",category:"n",emoji_order:"1441"},{name:"ear_of_rice",unicode:"1f33e",shortname:":ear_of_rice:",code_decimal:"&#127806;",category:"n",emoji_order:"1442"},{name:"herb",unicode:"1f33f",shortname:":herb:",code_decimal:"&#127807;",category:"n",emoji_order:"1443"},{name:"shamrock",unicode:"2618",shortname:":shamrock:",code_decimal:"&#9752;",category:"n",emoji_order:"1444"},{name:"four_leaf_clover",unicode:"1f340",shortname:":four_leaf_clover:",code_decimal:"&#127808;",category:"n",emoji_order:"1445"},{name:"maple_leaf",unicode:"1f341",shortname:":maple_leaf:",code_decimal:"&#127809;",category:"n",emoji_order:"1446"},{name:"fallen_leaf",unicode:"1f342",shortname:":fallen_leaf:",code_decimal:"&#127810;",category:"n",emoji_order:"1447"},{name:"leaves",unicode:"1f343",shortname:":leaves:",code_decimal:"&#127811;",category:"n",emoji_order:"1448"},{name:"grapes",unicode:"1f347",shortname:":grapes:",code_decimal:"&#127815;",category:"d",emoji_order:"1449"},{name:"melon",unicode:"1f348",shortname:":melon:",code_decimal:"&#127816;",category:"d",emoji_order:"1450"},{name:"watermelon",unicode:"1f349",shortname:":watermelon:",code_decimal:"&#127817;",category:"d",emoji_order:"1451"},{name:"tangerine",unicode:"1f34a",shortname:":tangerine:",code_decimal:"&#127818;",category:"d",emoji_order:"1452"},{name:"lemon",unicode:"1f34b",shortname:":lemon:",code_decimal:"&#127819;",category:"d",emoji_order:"1453"},{name:"banana",unicode:"1f34c",shortname:":banana:",code_decimal:"&#127820;",category:"d",emoji_order:"1454"},{name:"pineapple",unicode:"1f34d",shortname:":pineapple:",code_decimal:"&#127821;",category:"d",emoji_order:"1455"},{name:"apple",unicode:"1f34e",shortname:":apple:",code_decimal:"&#127822;",category:"d",emoji_order:"1456"},{name:"green_apple",unicode:"1f34f",shortname:":green_apple:",code_decimal:"&#127823;",category:"d",emoji_order:"1457"},{name:"pear",unicode:"1f350",shortname:":pear:",code_decimal:"&#127824;",category:"d",emoji_order:"1458"},{name:"peach",unicode:"1f351",shortname:":peach:",code_decimal:"&#127825;",category:"d",emoji_order:"1459"},{name:"cherries",unicode:"1f352",shortname:":cherries:",code_decimal:"&#127826;",category:"d",emoji_order:"1460"},{name:"strawberry",unicode:"1f353",shortname:":strawberry:",code_decimal:"&#127827;",category:"d",emoji_order:"1461"},{name:"tomato",unicode:"1f345",shortname:":tomato:",code_decimal:"&#127813;",category:"d",emoji_order:"1463"},{name:"eggplant",unicode:"1f346",shortname:":eggplant:",code_decimal:"&#127814;",category:"d",emoji_order:"1465"},{name:"corn",unicode:"1f33d",shortname:":corn:",code_decimal:"&#127805;",category:"d",emoji_order:"1468"},{name:"hot_pepper",unicode:"1f336",shortname:":hot_pepper:",code_decimal:"&#127798;",category:"d",emoji_order:"1469"},{name:"mushroom",unicode:"1f344",shortname:":mushroom:",code_decimal:"&#127812;",category:"n",emoji_order:"1471"},{name:"chestnut",unicode:"1f330",shortname:":chestnut:",code_decimal:"&#127792;",category:"n",emoji_order:"1473"},{name:"bread",unicode:"1f35e",shortname:":bread:",code_decimal:"&#127838;",category:"d",emoji_order:"1474"},{name:"cheese_wedge",unicode:"1f9c0",shortname:":cheese:",code_decimal:"&#129472;",category:"d",emoji_order:"1478"},{name:"meat_on_bone",unicode:"1f356",shortname:":meat_on_bone:",code_decimal:"&#127830;",category:"d",emoji_order:"1479"},{name:"poultry_leg",unicode:"1f357",shortname:":poultry_leg:",code_decimal:"&#127831;",category:"d",emoji_order:"1480"},{name:"hamburger",unicode:"1f354",shortname:":hamburger:",code_decimal:"&#127828;",category:"d",emoji_order:"1482"},{name:"fries",unicode:"1f35f",shortname:":fries:",code_decimal:"&#127839;",category:"d",emoji_order:"1483"},{name:"pizza",unicode:"1f355",shortname:":pizza:",code_decimal:"&#127829;",category:"d",emoji_order:"1484"},{name:"hotdog",unicode:"1f32d",shortname:":hotdog:",code_decimal:"&#127789;",category:"d",emoji_order:"1485"},{name:"taco",unicode:"1f32e",shortname:":taco:",code_decimal:"&#127790;",category:"d",emoji_order:"1486"},{name:"burrito",unicode:"1f32f",shortname:":burrito:",code_decimal:"&#127791;",category:"d",emoji_order:"1487"},{name:"egg",unicode:"1f95a",shortname:":egg:",code_decimal:"&#129370;",category:"d",emoji_order:"1489"},{name:"stew",unicode:"1f372",shortname:":stew:",code_decimal:"&#127858;",category:"d",emoji_order:"1492"},{name:"popcorn",unicode:"1f37f",shortname:":popcorn:",code_decimal:"&#127871;",category:"d",emoji_order:"1494"},{name:"bento",unicode:"1f371",shortname:":bento:",code_decimal:"&#127857;",category:"d",emoji_order:"1495"},{name:"rice_cracker",unicode:"1f358",shortname:":rice_cracker:",code_decimal:"&#127832;",category:"d",emoji_order:"1496"},{name:"rice_ball",unicode:"1f359",shortname:":rice_ball:",code_decimal:"&#127833;",category:"d",emoji_order:"1497"},{name:"rice",unicode:"1f35a",shortname:":rice:",code_decimal:"&#127834;",category:"d",emoji_order:"1498"},{name:"curry",unicode:"1f35b",shortname:":curry:",code_decimal:"&#127835;",category:"d",emoji_order:"1499"},{name:"ramen",unicode:"1f35c",shortname:":ramen:",code_decimal:"&#127836;",category:"d",emoji_order:"1500"},{name:"spaghetti",unicode:"1f35d",shortname:":spaghetti:",code_decimal:"&#127837;",category:"d",emoji_order:"1501"},{name:"sweet_potato",unicode:"1f360",shortname:":sweet_potato:",code_decimal:"&#127840;",category:"d",emoji_order:"1502"},{name:"oden",unicode:"1f362",shortname:":oden:",code_decimal:"&#127842;",category:"d",emoji_order:"1503"},{name:"sushi",unicode:"1f363",shortname:":sushi:",code_decimal:"&#127843;",category:"d",emoji_order:"1504"},{name:"fried_shrimp",unicode:"1f364",shortname:":fried_shrimp:",code_decimal:"&#127844;",category:"d",emoji_order:"1505"},{name:"fish_cake",unicode:"1f365",shortname:":fish_cake:",code_decimal:"&#127845;",category:"d",emoji_order:"1506"},{name:"dango",unicode:"1f361",shortname:":dango:",code_decimal:"&#127841;",category:"d",emoji_order:"1507"},{name:"icecream",unicode:"1f366",shortname:":icecream:",code_decimal:"&#127846;",category:"d",emoji_order:"1508"},{name:"shaved_ice",unicode:"1f367",shortname:":shaved_ice:",code_decimal:"&#127847;",category:"d",emoji_order:"1509"},{name:"ice_cream",unicode:"1f368",shortname:":ice_cream:",code_decimal:"&#127848;",category:"d",emoji_order:"1510"},{name:"doughnut",unicode:"1f369",shortname:":doughnut:",code_decimal:"&#127849;",category:"d",emoji_order:"1511"},{name:"cookie",unicode:"1f36a",shortname:":cookie:",code_decimal:"&#127850;",category:"d",emoji_order:"1512"},{name:"birthday",unicode:"1f382",shortname:":birthday:",code_decimal:"&#127874;",category:"d",emoji_order:"1513"},{name:"cake",unicode:"1f370",shortname:":cake:",code_decimal:"&#127856;",category:"d",emoji_order:"1514"},{name:"chocolate_bar",unicode:"1f36b",shortname:":chocolate_bar:",code_decimal:"&#127851;",category:"d",emoji_order:"1515"},{name:"candy",unicode:"1f36c",shortname:":candy:",code_decimal:"&#127852;",category:"d",emoji_order:"1516"},{name:"lollipop",unicode:"1f36d",shortname:":lollipop:",code_decimal:"&#127853;",category:"d",emoji_order:"1517"},{name:"custard",unicode:"1f36e",shortname:":custard:",code_decimal:"&#127854;",category:"d",emoji_order:"1518"},{name:"honey_pot",unicode:"1f36f",shortname:":honey_pot:",code_decimal:"&#127855;",category:"d",emoji_order:"1519"},{name:"baby_bottle",unicode:"1f37c",shortname:":baby_bottle:",code_decimal:"&#127868;",category:"d",emoji_order:"1520"},{name:"coffee",unicode:"2615",shortname:":coffee:",code_decimal:"&#9749;",category:"d",emoji_order:"1522"},{name:"tea",unicode:"1f375",shortname:":tea:",code_decimal:"&#127861;",category:"d",emoji_order:"1523"},{name:"sake",unicode:"1f376",shortname:":sake:",code_decimal:"&#127862;",category:"d",emoji_order:"1524"},{name:"champagne",unicode:"1f37e",shortname:":champagne:",code_decimal:"&#127870;",category:"d",emoji_order:"1525"},{name:"wine_glass",unicode:"1f377",shortname:":wine_glass:",code_decimal:"&#127863;",category:"d",emoji_order:"1526"},{name:"cocktail",unicode:"1f378",shortname:":cocktail:",code_decimal:"&#127864;",category:"d",emoji_order:"1527"},{name:"tropical_drink",unicode:"1f379",shortname:":tropical_drink:",code_decimal:"&#127865;",category:"d",emoji_order:"1528"},{name:"beer",unicode:"1f37a",shortname:":beer:",code_decimal:"&#127866;",category:"d",emoji_order:"1529"},{name:"beers",unicode:"1f37b",shortname:":beers:",code_decimal:"&#127867;",category:"d",emoji_order:"1530"},{name:"knife_fork_plate",unicode:"1f37d",shortname:":fork_knife_plate:",code_decimal:"&#127869;",category:"d",emoji_order:"1533"},{name:"fork_and_knife",unicode:"1f374",shortname:":fork_and_knife:",code_decimal:"&#127860;",category:"d",emoji_order:"1534"},{name:"amphora",unicode:"1f3fa",shortname:":amphora:",code_decimal:"&#127994;",category:"o",emoji_order:"1537"},{name:"earth_africa",unicode:"1f30d",shortname:":earth_africa:",code_decimal:"&#127757;",category:"n",emoji_order:"1538"},{name:"earth_americas",unicode:"1f30e",shortname:":earth_americas:",code_decimal:"&#127758;",category:"n",emoji_order:"1539"},{name:"earth_asia",unicode:"1f30f",shortname:":earth_asia:",code_decimal:"&#127759;",category:"n",emoji_order:"1540"},{name:"globe_with_meridians",unicode:"1f310",shortname:":globe_with_meridians:",code_decimal:"&#127760;",category:"s",emoji_order:"1541"},{name:"world_map",unicode:"1f5fa",shortname:":map:",code_decimal:"&#128506;",category:"o",emoji_order:"1542"},{name:"japan",unicode:"1f5fe",shortname:":japan:",code_decimal:"&#128510;",category:"t",emoji_order:"1543"},{name:"snow_capped_mountain",unicode:"1f3d4",shortname:":mountain_snow:",code_decimal:"&#127956;",category:"t",emoji_order:"1544"},{name:"mountain",unicode:"26f0",shortname:":mountain:",code_decimal:"&#9968;",category:"t",emoji_order:"1545"},{name:"volcano",unicode:"1f30b",shortname:":volcano:",code_decimal:"&#127755;",category:"t",emoji_order:"1546"},{name:"mount_fuji",unicode:"1f5fb",shortname:":mount_fuji:",code_decimal:"&#128507;",category:"t",emoji_order:"1547"},{name:"camping",unicode:"1f3d5",shortname:":camping:",code_decimal:"&#127957;",category:"t",emoji_order:"1548"},{name:"beach_with_umbrella",unicode:"1f3d6",shortname:":beach:",code_decimal:"&#127958;",category:"t",emoji_order:"1549"},{name:"desert",unicode:"1f3dc",shortname:":desert:",code_decimal:"&#127964;",category:"t",emoji_order:"1550"},{name:"desert_island",unicode:"1f3dd",shortname:":island:",code_decimal:"&#127965;",category:"t",emoji_order:"1551"},{name:"national_park",unicode:"1f3de",shortname:":park:",code_decimal:"&#127966;",category:"t",emoji_order:"1552"},{name:"stadium",unicode:"1f3df",shortname:":stadium:",code_decimal:"&#127967;",category:"t",emoji_order:"1553"},{name:"classical_building",unicode:"1f3db",shortname:":classical_building:",code_decimal:"&#127963;",category:"t",emoji_order:"1554"},{name:"building_construction",unicode:"1f3d7",shortname:":construction_site:",code_decimal:"&#127959;",category:"t",emoji_order:"1555"},{name:"house_buildings",unicode:"1f3d8",shortname:":homes:",code_decimal:"&#127960;",category:"t",emoji_order:"1556"},{name:"cityscape",unicode:"1f3d9",shortname:":cityscape:",code_decimal:"&#127961;",category:"t",emoji_order:"1557"},{name:"derelict_house_building",unicode:"1f3da",shortname:":house_abandoned:",code_decimal:"&#127962;",category:"t",emoji_order:"1558"},{name:"house",unicode:"1f3e0",shortname:":house:",code_decimal:"&#127968;",category:"t",emoji_order:"1559"},{name:"house_with_garden",unicode:"1f3e1",shortname:":house_with_garden:",code_decimal:"&#127969;",category:"t",emoji_order:"1560"},{name:"office",unicode:"1f3e2",shortname:":office:",code_decimal:"&#127970;",category:"t",emoji_order:"1561"},{name:"post_office",unicode:"1f3e3",shortname:":post_office:",code_decimal:"&#127971;",category:"t",emoji_order:"1562"},{name:"european_post_office",unicode:"1f3e4",shortname:":european_post_office:",code_decimal:"&#127972;",category:"t",emoji_order:"1563"},{name:"hospital",unicode:"1f3e5",shortname:":hospital:",code_decimal:"&#127973;",category:"t",emoji_order:"1564"},{name:"bank",unicode:"1f3e6",shortname:":bank:",code_decimal:"&#127974;",category:"t",emoji_order:"1565"},{name:"hotel",unicode:"1f3e8",shortname:":hotel:",code_decimal:"&#127976;",category:"t",emoji_order:"1566"},{name:"love_hotel",unicode:"1f3e9",shortname:":love_hotel:",code_decimal:"&#127977;",category:"t",emoji_order:"1567"},{name:"convenience_store",unicode:"1f3ea",shortname:":convenience_store:",code_decimal:"&#127978;",category:"t",emoji_order:"1568"},{name:"school",unicode:"1f3eb",shortname:":school:",code_decimal:"&#127979;",category:"t",emoji_order:"1569"},{name:"department_store",unicode:"1f3ec",shortname:":department_store:",code_decimal:"&#127980;",category:"t",emoji_order:"1570"},{name:"factory",unicode:"1f3ed",shortname:":factory:",code_decimal:"&#127981;",category:"t",emoji_order:"1571"},{name:"japanese_castle",unicode:"1f3ef",shortname:":japanese_castle:",code_decimal:"&#127983;",category:"t",emoji_order:"1572"},{name:"european_castle",unicode:"1f3f0",shortname:":european_castle:",code_decimal:"&#127984;",category:"t",emoji_order:"1573"},{name:"wedding",unicode:"1f492",shortname:":wedding:",code_decimal:"&#128146;",category:"t",emoji_order:"1574"},{name:"tokyo_tower",unicode:"1f5fc",shortname:":tokyo_tower:",code_decimal:"&#128508;",category:"t",emoji_order:"1575"},{name:"statue_of_liberty",unicode:"1f5fd",shortname:":statue_of_liberty:",code_decimal:"&#128509;",category:"t",emoji_order:"1576"},{name:"church",unicode:"26ea",shortname:":church:",code_decimal:"&#9962;",category:"t",emoji_order:"1577"},{name:"mosque",unicode:"1f54c",shortname:":mosque:",code_decimal:"&#128332;",category:"t",emoji_order:"1578"},{name:"synagogue",unicode:"1f54d",shortname:":synagogue:",code_decimal:"&#128333;",category:"t",emoji_order:"1579"},{name:"shinto_shrine",unicode:"26e9",shortname:":shinto_shrine:",code_decimal:"&#9961;",category:"t",emoji_order:"1580"},{name:"kaaba",unicode:"1f54b",shortname:":kaaba:",code_decimal:"&#128331;",category:"t",emoji_order:"1581"},{name:"fountain",unicode:"26f2",shortname:":fountain:",code_decimal:"&#9970;",category:"t",emoji_order:"1582"},{name:"tent",unicode:"26fa",shortname:":tent:",code_decimal:"&#9978;",category:"t",emoji_order:"1583"},{name:"foggy",unicode:"1f301",shortname:":foggy:",code_decimal:"&#127745;",category:"t",emoji_order:"1584"},{name:"night_with_stars",unicode:"1f303",shortname:":night_with_stars:",code_decimal:"&#127747;",category:"t",emoji_order:"1585"},{name:"sunrise_over_mountains",unicode:"1f304",shortname:":sunrise_over_mountains:",code_decimal:"&#127748;",category:"t",emoji_order:"1586"},{name:"sunrise",unicode:"1f305",shortname:":sunrise:",code_decimal:"&#127749;",category:"t",emoji_order:"1587"},{name:"city_sunset",unicode:"1f307",shortname:":city_sunset:",code_decimal:"&#127751;",category:"t",emoji_order:"1589"},{name:"bridge_at_night",unicode:"1f309",shortname:":bridge_at_night:",code_decimal:"&#127753;",category:"t",emoji_order:"1590"},{name:"hotsprings",unicode:"2668",shortname:":hotsprings:",code_decimal:"&#9832;",category:"s",emoji_order:"1591"},{name:"milky_way",unicode:"1f30c",shortname:":milky_way:",code_decimal:"&#127756;",category:"t",emoji_order:"1592"},{name:"carousel_horse",unicode:"1f3a0",shortname:":carousel_horse:",code_decimal:"&#127904;",category:"t",emoji_order:"1593"},{name:"ferris_wheel",unicode:"1f3a1",shortname:":ferris_wheel:",code_decimal:"&#127905;",category:"t",emoji_order:"1594"},{name:"roller_coaster",unicode:"1f3a2",shortname:":roller_coaster:",code_decimal:"&#127906;",category:"t",emoji_order:"1595"},{name:"barber",unicode:"1f488",shortname:":barber:",code_decimal:"&#128136;",category:"o",emoji_order:"1596"},{name:"circus_tent",unicode:"1f3aa",shortname:":circus_tent:",code_decimal:"&#127914;",category:"a",emoji_order:"1597"},{name:"performing_arts",unicode:"1f3ad",shortname:":performing_arts:",code_decimal:"&#127917;",category:"a",emoji_order:"1598"},{name:"frame_with_picture",unicode:"1f5bc",shortname:":frame_photo:",code_decimal:"&#128444;",category:"o",emoji_order:"1599"},{name:"art",unicode:"1f3a8",shortname:":art:",code_decimal:"&#127912;",category:"a",emoji_order:"1600"},{name:"slot_machine",unicode:"1f3b0",shortname:":slot_machine:",code_decimal:"&#127920;",category:"a",emoji_order:"1601"},{name:"steam_locomotive",unicode:"1f682",shortname:":steam_locomotive:",code_decimal:"&#128642;",category:"t",emoji_order:"1602"},{name:"railway_car",unicode:"1f683",shortname:":railway_car:",code_decimal:"&#128643;",category:"t",emoji_order:"1603"},{name:"bullettrain_side",unicode:"1f684",shortname:":bullettrain_side:",code_decimal:"&#128644;",category:"t",emoji_order:"1604"},{name:"bullettrain_front",unicode:"1f685",shortname:":bullettrain_front:",code_decimal:"&#128645;",category:"t",emoji_order:"1605"},{name:"train2",unicode:"1f686",shortname:":train2:",code_decimal:"&#128646;",category:"t",emoji_order:"1606"},{name:"metro",unicode:"1f687",shortname:":metro:",code_decimal:"&#128647;",category:"t",emoji_order:"1607"},{name:"light_rail",unicode:"1f688",shortname:":light_rail:",code_decimal:"&#128648;",category:"t",emoji_order:"1608"},{name:"station",unicode:"1f689",shortname:":station:",code_decimal:"&#128649;",category:"t",emoji_order:"1609"},{name:"tram",unicode:"1f68a",shortname:":tram:",code_decimal:"&#128650;",category:"t",emoji_order:"1610"},{name:"monorail",unicode:"1f69d",shortname:":monorail:",code_decimal:"&#128669;",category:"t",emoji_order:"1611"},{name:"mountain_railway",unicode:"1f69e",shortname:":mountain_railway:",code_decimal:"&#128670;",category:"t",emoji_order:"1612"},{name:"train",unicode:"1f68b",shortname:":train:",code_decimal:"&#128651;",category:"t",emoji_order:"1613"},{name:"bus",unicode:"1f68c",shortname:":bus:",code_decimal:"&#128652;",category:"t",emoji_order:"1614"},{name:"oncoming_bus",unicode:"1f68d",shortname:":oncoming_bus:",code_decimal:"&#128653;",category:"t",emoji_order:"1615"},{name:"trolleybus",unicode:"1f68e",shortname:":trolleybus:",code_decimal:"&#128654;",category:"t",emoji_order:"1616"},{name:"minibus",unicode:"1f690",shortname:":minibus:",code_decimal:"&#128656;",category:"t",emoji_order:"1617"},{name:"ambulance",unicode:"1f691",shortname:":ambulance:",code_decimal:"&#128657;",category:"t",emoji_order:"1618"},{name:"fire_engine",unicode:"1f692",shortname:":fire_engine:",code_decimal:"&#128658;",category:"t",emoji_order:"1619"},{name:"police_car",unicode:"1f693",shortname:":police_car:",code_decimal:"&#128659;",category:"t",emoji_order:"1620"},{name:"oncoming_police_car",unicode:"1f694",shortname:":oncoming_police_car:",code_decimal:"&#128660;",category:"t",emoji_order:"1621"},{name:"taxi",unicode:"1f695",shortname:":taxi:",code_decimal:"&#128661;",category:"t",emoji_order:"1622"},{name:"oncoming_taxi",unicode:"1f696",shortname:":oncoming_taxi:",code_decimal:"&#128662;",category:"t",emoji_order:"1623"},{name:"car",unicode:"1f697",shortname:":red_car:",code_decimal:"&#128663;",category:"t",emoji_order:"1624"},{name:"oncoming_automobile",unicode:"1f698",shortname:":oncoming_automobile:",code_decimal:"&#128664;",category:"t",emoji_order:"1625"},{name:"blue_car",unicode:"1f699",shortname:":blue_car:",code_decimal:"&#128665;",category:"t",emoji_order:"1626"},{name:"truck",unicode:"1f69a",shortname:":truck:",code_decimal:"&#128666;",category:"t",emoji_order:"1627"},{name:"articulated_lorry",unicode:"1f69b",shortname:":articulated_lorry:",code_decimal:"&#128667;",category:"t",emoji_order:"1628"},{name:"tractor",unicode:"1f69c",shortname:":tractor:",code_decimal:"&#128668;",category:"t",emoji_order:"1629"},{name:"bike",unicode:"1f6b2",shortname:":bike:",code_decimal:"&#128690;",category:"t",emoji_order:"1630"},{name:"busstop",unicode:"1f68f",shortname:":busstop:",code_decimal:"&#128655;",category:"t",emoji_order:"1633"},{name:"motorway",unicode:"1f6e3",shortname:":motorway:",code_decimal:"&#128739;",category:"t",emoji_order:"1634"},{name:"railway_track",unicode:"1f6e4",shortname:":railway_track:",code_decimal:"&#128740;",category:"t",emoji_order:"1635"},{name:"fuelpump",unicode:"26fd",shortname:":fuelpump:",code_decimal:"&#9981;",category:"t",emoji_order:"1636"},{name:"rotating_light",unicode:"1f6a8",shortname:":rotating_light:",code_decimal:"&#128680;",category:"t",emoji_order:"1637"},{name:"traffic_light",unicode:"1f6a5",shortname:":traffic_light:",code_decimal:"&#128677;",category:"t",emoji_order:"1638"},{name:"vertical_traffic_light",unicode:"1f6a6",shortname:":vertical_traffic_light:",code_decimal:"&#128678;",category:"t",emoji_order:"1639"},{name:"construction",unicode:"1f6a7",shortname:":construction:",code_decimal:"&#128679;",category:"t",emoji_order:"1640"},{name:"octagonal_sign",unicode:"1f6d1",shortname:":octagonal_sign:",code_decimal:"&#128721;",category:"s",emoji_order:"1641"},{name:"anchor",unicode:"2693",shortname:":anchor:",code_decimal:"&#9875;",category:"t",emoji_order:"1642"},{name:"boat",unicode:"26f5",shortname:":sailboat:",code_decimal:"&#9973;",category:"t",emoji_order:"1643"},{name:"speedboat",unicode:"1f6a4",shortname:":speedboat:",code_decimal:"&#128676;",category:"t",emoji_order:"1645"},{name:"passenger_ship",unicode:"1f6f3",shortname:":cruise_ship:",code_decimal:"&#128755;",category:"t",emoji_order:"1646"},{name:"ferry",unicode:"26f4",shortname:":ferry:",code_decimal:"&#9972;",category:"t",emoji_order:"1647"},{name:"motor_boat",unicode:"1f6e5",shortname:":motorboat:",code_decimal:"&#128741;",category:"t",emoji_order:"1648"},{name:"ship",unicode:"1f6a2",shortname:":ship:",code_decimal:"&#128674;",category:"t",emoji_order:"1649"},{name:"airplane",unicode:"2708",shortname:":airplane:",code_decimal:"&#9992;",category:"t",emoji_order:"1650"},{name:"small_airplane",unicode:"1f6e9",shortname:":airplane_small:",code_decimal:"&#128745;",category:"t",emoji_order:"1651"},{name:"airplane_departure",unicode:"1f6eb",shortname:":airplane_departure:",code_decimal:"&#128747;",category:"t",emoji_order:"1652"},{name:"airplane_arriving",unicode:"1f6ec",shortname:":airplane_arriving:",code_decimal:"&#128748;",category:"t",emoji_order:"1653"},{name:"seat",unicode:"1f4ba",shortname:":seat:",code_decimal:"&#128186;",category:"t",emoji_order:"1654"},{name:"helicopter",unicode:"1f681",shortname:":helicopter:",code_decimal:"&#128641;",category:"t",emoji_order:"1655"},{name:"suspension_railway",unicode:"1f69f",shortname:":suspension_railway:",code_decimal:"&#128671;",category:"t",emoji_order:"1656"},{name:"mountain_cableway",unicode:"1f6a0",shortname:":mountain_cableway:",code_decimal:"&#128672;",category:"t",emoji_order:"1657"},{name:"aerial_tramway",unicode:"1f6a1",shortname:":aerial_tramway:",code_decimal:"&#128673;",category:"t",emoji_order:"1658"},{name:"rocket",unicode:"1f680",shortname:":rocket:",code_decimal:"&#128640;",category:"t",emoji_order:"1659"},{name:"satellite",unicode:"1f6f0",shortname:":satellite_orbital:",code_decimal:"&#128752;",category:"t",emoji_order:"1660"},{name:"bellhop_bell",unicode:"1f6ce",shortname:":bellhop:",code_decimal:"&#128718;",category:"o",emoji_order:"1661"},{name:"door",unicode:"1f6aa",shortname:":door:",code_decimal:"&#128682;",category:"o",emoji_order:"1662"},{name:"sleeping_accommodation",unicode:"1f6cc",shortname:":sleeping_accommodation:",code_decimal:"&#128716;",category:"o",emoji_order:"1663"},{name:"bed",unicode:"1f6cf",shortname:":bed:",code_decimal:"&#128719;",category:"o",emoji_order:"1669"},{name:"couch_and_lamp",unicode:"1f6cb",shortname:":couch:",code_decimal:"&#128715;",category:"o",emoji_order:"1670"},{name:"toilet",unicode:"1f6bd",shortname:":toilet:",code_decimal:"&#128701;",category:"o",emoji_order:"1671"},{name:"shower",unicode:"1f6bf",shortname:":shower:",code_decimal:"&#128703;",category:"o",emoji_order:"1672"},{name:"bath",unicode:"1f6c0",shortname:":bath:",code_decimal:"&#128704;",category:"a",emoji_order:"1673"},{name:"bathtub",unicode:"1f6c1",shortname:":bathtub:",code_decimal:"&#128705;",category:"o",emoji_order:"1679"},{name:"hourglass",unicode:"231b",shortname:":hourglass:",code_decimal:"&#8987;",category:"o",emoji_order:"1680"},{name:"hourglass_flowing_sand",unicode:"23f3",shortname:":hourglass_flowing_sand:",code_decimal:"&#9203;",category:"o",emoji_order:"1681"},{name:"watch",unicode:"231a",shortname:":watch:",code_decimal:"&#8986;",category:"o",emoji_order:"1682"},{name:"alarm_clock",unicode:"23f0",shortname:":alarm_clock:",code_decimal:"&#9200;",category:"o",emoji_order:"1683"},{name:"stopwatch",unicode:"23f1",shortname:":stopwatch:",code_decimal:"&#9201;",category:"o",emoji_order:"1684"},{name:"timer_clock",unicode:"23f2",shortname:":timer:",code_decimal:"&#9202;",category:"o",emoji_order:"1685"},{name:"mantelpiece_clock",unicode:"1f570",shortname:":clock:",code_decimal:"&#128368;",category:"o",emoji_order:"1686"},{name:"clock12",unicode:"1f55b",shortname:":clock12:",code_decimal:"&#128347;",category:"s",emoji_order:"1687"},{name:"clock1230",unicode:"1f567",shortname:":clock1230:",code_decimal:"&#128359;",category:"s",emoji_order:"1688"},{name:"clock1",unicode:"1f550",shortname:":clock1:",code_decimal:"&#128336;",category:"s",emoji_order:"1689"},{name:"clock130",unicode:"1f55c",shortname:":clock130:",code_decimal:"&#128348;",category:"s",emoji_order:"1690"},{name:"clock2",unicode:"1f551",shortname:":clock2:",code_decimal:"&#128337;",category:"s",emoji_order:"1691"},{name:"clock230",unicode:"1f55d",shortname:":clock230:",code_decimal:"&#128349;",category:"s",emoji_order:"1692"},{name:"clock3",unicode:"1f552",shortname:":clock3:",code_decimal:"&#128338;",category:"s",emoji_order:"1693"},{name:"clock330",unicode:"1f55e",shortname:":clock330:",code_decimal:"&#128350;",category:"s",emoji_order:"1694"},{name:"clock4",unicode:"1f553",shortname:":clock4:",code_decimal:"&#128339;",category:"s",emoji_order:"1695"},{name:"clock430",unicode:"1f55f",shortname:":clock430:",code_decimal:"&#128351;",category:"s",emoji_order:"1696"},{name:"clock5",unicode:"1f554",shortname:":clock5:",code_decimal:"&#128340;",category:"s",emoji_order:"1697"},{name:"clock530",unicode:"1f560",shortname:":clock530:",code_decimal:"&#128352;",category:"s",emoji_order:"1698"},{name:"clock6",unicode:"1f555",shortname:":clock6:",code_decimal:"&#128341;",category:"s",emoji_order:"1699"},{name:"clock630",unicode:"1f561",shortname:":clock630:",code_decimal:"&#128353;",category:"s",emoji_order:"1700"},{name:"clock7",unicode:"1f556",shortname:":clock7:",code_decimal:"&#128342;",category:"s",emoji_order:"1701"},{name:"clock730",unicode:"1f562",shortname:":clock730:",code_decimal:"&#128354;",category:"s",emoji_order:"1702"},{name:"clock8",unicode:"1f557",shortname:":clock8:",code_decimal:"&#128343;",category:"s",emoji_order:"1703"},{name:"clock830",unicode:"1f563",shortname:":clock830:",code_decimal:"&#128355;",category:"s",emoji_order:"1704"},{name:"clock9",unicode:"1f558",shortname:":clock9:",code_decimal:"&#128344;",category:"s",emoji_order:"1705"},{name:"clock930",unicode:"1f564",shortname:":clock930:",code_decimal:"&#128356;",category:"s",emoji_order:"1706"},{name:"clock10",unicode:"1f559",shortname:":clock10:",code_decimal:"&#128345;",category:"s",emoji_order:"1707"},{name:"clock1030",unicode:"1f565",shortname:":clock1030:",code_decimal:"&#128357;",category:"s",emoji_order:"1708"},{name:"clock11",unicode:"1f55a",shortname:":clock11:",code_decimal:"&#128346;",category:"s",emoji_order:"1709"},{name:"clock1130",unicode:"1f566",shortname:":clock1130:",code_decimal:"&#128358;",category:"s",emoji_order:"1710"},{name:"new_moon",unicode:"1f311",shortname:":new_moon:",code_decimal:"&#127761;",category:"n",emoji_order:"1711"},{name:"waxing_crescent_moon",unicode:"1f312",shortname:":waxing_crescent_moon:",code_decimal:"&#127762;",category:"n",emoji_order:"1712"},{name:"first_quarter_moon",unicode:"1f313",shortname:":first_quarter_moon:",code_decimal:"&#127763;",category:"n",emoji_order:"1713"},{name:"full_moon",unicode:"1f315",shortname:":full_moon:",code_decimal:"&#127765;",category:"n",emoji_order:"1715"},{name:"waning_gibbous_moon",unicode:"1f316",shortname:":waning_gibbous_moon:",code_decimal:"&#127766;",category:"n",emoji_order:"1716"},{name:"last_quarter_moon",unicode:"1f317",shortname:":last_quarter_moon:",code_decimal:"&#127767;",category:"n",emoji_order:"1717"},{name:"waning_crescent_moon",unicode:"1f318",shortname:":waning_crescent_moon:",code_decimal:"&#127768;",category:"n",emoji_order:"1718"},{name:"crescent_moon",unicode:"1f319",shortname:":crescent_moon:",code_decimal:"&#127769;",category:"n",emoji_order:"1719"},{name:"new_moon_with_face",unicode:"1f31a",shortname:":new_moon_with_face:",code_decimal:"&#127770;",category:"n",emoji_order:"1720"},{name:"first_quarter_moon_with_face",unicode:"1f31b",shortname:":first_quarter_moon_with_face:",code_decimal:"&#127771;",category:"n",emoji_order:"1721"},{name:"last_quarter_moon_with_face",unicode:"1f31c",shortname:":last_quarter_moon_with_face:",code_decimal:"&#127772;",category:"n",emoji_order:"1722"},{name:"thermometer",unicode:"1f321",shortname:":thermometer:",code_decimal:"&#127777;",category:"o",emoji_order:"1723"},{name:"sunny",unicode:"2600",shortname:":sunny:",code_decimal:"&#9728;",category:"n",emoji_order:"1724"},{name:"full_moon_with_face",unicode:"1f31d",shortname:":full_moon_with_face:",code_decimal:"&#127773;",category:"n",emoji_order:"1725"},{name:"sun_with_face",unicode:"1f31e",shortname:":sun_with_face:",code_decimal:"&#127774;",category:"n",emoji_order:"1726"},{name:"star",unicode:"2b50",shortname:":star:",code_decimal:"&#11088;",category:"n",emoji_order:"1727"},{name:"star2",unicode:"1f31f",shortname:":star2:",code_decimal:"&#127775;",category:"n",emoji_order:"1728"},{name:"stars",unicode:"1f320",shortname:":stars:",code_decimal:"&#127776;",category:"t",emoji_order:"1729"},{name:"cloud",unicode:"2601",shortname:":cloud:",code_decimal:"&#9729;",category:"n",emoji_order:"1730"},{name:"partly_sunny",unicode:"26c5",shortname:":partly_sunny:",code_decimal:"&#9925;",category:"n",emoji_order:"1731"},{name:"thunder_cloud_and_rain",unicode:"26c8",shortname:":thunder_cloud_rain:",code_decimal:"&#9928;",category:"n",emoji_order:"1732"},{name:"rain_cloud",unicode:"1f327",shortname:":cloud_rain:",code_decimal:"&#127783;",category:"n",emoji_order:"1736"},{name:"snow_cloud",unicode:"1f328",shortname:":cloud_snow:",code_decimal:"&#127784;",category:"n",emoji_order:"1737"},{name:"fog",unicode:"1f32b",shortname:":fog:",code_decimal:"&#127787;",category:"n",emoji_order:"1740"},{name:"wind_blowing_face",unicode:"1f32c",shortname:":wind_blowing_face:",code_decimal:"&#127788;",category:"n",emoji_order:"1741"},{name:"cyclone",unicode:"1f300",shortname:":cyclone:",code_decimal:"&#127744;",category:"s",emoji_order:"1742"},{name:"rainbow",unicode:"1f308",shortname:":rainbow:",code_decimal:"&#127752;",category:"t",emoji_order:"1743"},{name:"closed_umbrella",unicode:"1f302",shortname:":closed_umbrella:",code_decimal:"&#127746;",category:"p",emoji_order:"1744"},{name:"umbrella",unicode:"2602",shortname:":umbrella2:",code_decimal:"&#9730;",category:"n",emoji_order:"1745"},{name:"umbrella_with_rain_drops",unicode:"2614",shortname:":umbrella:",code_decimal:"&#9748;",category:"n",emoji_order:"1746"},{name:"beach_umbrella",unicode:"26f1",shortname:":beach_umbrella:",code_decimal:"&#9969;",category:"o",emoji_order:"1747"},{name:"zap",unicode:"26a1",shortname:":zap:",code_decimal:"&#9889;",category:"n",emoji_order:"1748"},{name:"snowflake",unicode:"2744",shortname:":snowflake:",code_decimal:"&#10052;",category:"n",emoji_order:"1749"},{name:"snowman",unicode:"2603",shortname:":snowman2:",code_decimal:"&#9731;",category:"n",emoji_order:"1750"},{name:"snowman_without_snow",unicode:"26c4",shortname:":snowman:",code_decimal:"&#9924;",category:"n",emoji_order:"1751"},{name:"comet",unicode:"2604",shortname:":comet:",code_decimal:"&#9732;",category:"n",emoji_order:"1752"},{name:"fire",unicode:"1f525",shortname:":fire:",code_decimal:"&#128293;",category:"n",emoji_order:"1753"},{name:"droplet",unicode:"1f4a7",shortname:":droplet:",code_decimal:"&#128167;",category:"n",emoji_order:"1754"},{name:"ocean",unicode:"1f30a",shortname:":ocean:",code_decimal:"&#127754;",category:"n",emoji_order:"1755"},{name:"jack_o_lantern",unicode:"1f383",shortname:":jack_o_lantern:",code_decimal:"&#127875;",category:"n",emoji_order:"1756"},{name:"christmas_tree",unicode:"1f384",shortname:":christmas_tree:",code_decimal:"&#127876;",category:"n",emoji_order:"1757"},{name:"fireworks",unicode:"1f386",shortname:":fireworks:",code_decimal:"&#127878;",category:"t",emoji_order:"1758"},{name:"sparkler",unicode:"1f387",shortname:":sparkler:",code_decimal:"&#127879;",category:"t",emoji_order:"1759"},{name:"sparkles",unicode:"2728",shortname:":sparkles:",code_decimal:"&#10024;",category:"n",emoji_order:"1760"},{name:"balloon",unicode:"1f388",shortname:":balloon:",code_decimal:"&#127880;",category:"o",emoji_order:"1761"},{name:"tada",unicode:"1f389",shortname:":tada:",code_decimal:"&#127881;",category:"o",emoji_order:"1762"},{name:"confetti_ball",unicode:"1f38a",shortname:":confetti_ball:",code_decimal:"&#127882;",category:"o",emoji_order:"1763"},{name:"tanabata_tree",unicode:"1f38b",shortname:":tanabata_tree:",code_decimal:"&#127883;",category:"n",emoji_order:"1764"},{name:"bamboo",unicode:"1f38d",shortname:":bamboo:",code_decimal:"&#127885;",category:"n",emoji_order:"1765"},{name:"dolls",unicode:"1f38e",shortname:":dolls:",code_decimal:"&#127886;",category:"o",emoji_order:"1766"},{name:"f",unicode:"1f38f",shortname:":flags:",code_decimal:"&#127887;",category:"o",emoji_order:"1767"},{name:"wind_chime",unicode:"1f390",shortname:":wind_chime:",code_decimal:"&#127888;",category:"o",emoji_order:"1768"},{name:"rice_scene",unicode:"1f391",shortname:":rice_scene:",code_decimal:"&#127889;",category:"t",emoji_order:"1769"},{name:"ribbon",unicode:"1f380",shortname:":ribbon:",code_decimal:"&#127872;",category:"o",emoji_order:"1770"},{name:"gift",unicode:"1f381",shortname:":gift:",code_decimal:"&#127873;",category:"o",emoji_order:"1771"},{name:"reminder_ribbon",unicode:"1f397",shortname:":reminder_ribbon:",code_decimal:"&#127895;",category:"a",emoji_order:"1772"},{name:"admission_tickets",unicode:"1f39f",shortname:":tickets:",code_decimal:"&#127903;",category:"a",emoji_order:"1773"},{name:"ticket",unicode:"1f3ab",shortname:":ticket:",code_decimal:"&#127915;",category:"a",emoji_order:"1774"},{name:"medal",unicode:"1f396",shortname:":military_medal:",code_decimal:"&#127894;",category:"a",emoji_order:"1775"},{name:"trophy",unicode:"1f3c6",shortname:":trophy:",code_decimal:"&#127942;",category:"a",emoji_order:"1776"},{name:"sports_medal",unicode:"1f3c5",shortname:":medal:",code_decimal:"&#127941;",category:"a",emoji_order:"1777"},{name:"soccer",unicode:"26bd",shortname:":soccer:",code_decimal:"&#9917;",category:"a",emoji_order:"1781"},{name:"baseball",unicode:"26be",shortname:":baseball:",code_decimal:"&#9918;",category:"a",emoji_order:"1782"},{name:"basketball",unicode:"1f3c0",shortname:":basketball:",code_decimal:"&#127936;",category:"a",emoji_order:"1783"},{name:"volleyball",unicode:"1f3d0",shortname:":volleyball:",code_decimal:"&#127952;",category:"a",emoji_order:"1784"},{name:"football",unicode:"1f3c8",shortname:":football:",code_decimal:"&#127944;",category:"a",emoji_order:"1785"},{name:"rugby_football",unicode:"1f3c9",shortname:":rugby_football:",code_decimal:"&#127945;",category:"a",emoji_order:"1786"},{name:"tennis",unicode:"1f3be",shortname:":tennis:",code_decimal:"&#127934;",category:"a",emoji_order:"1787"},{name:"8ball",unicode:"1f3b1",shortname:":8ball:",code_decimal:"&#127921;",category:"a",emoji_order:"1788"},{name:"bowling",unicode:"1f3b3",shortname:":bowling:",code_decimal:"&#127923;",category:"a",emoji_order:"1789"},{name:"cricket_bat_and_ball",unicode:"1f3cf",shortname:":cricket_game:",code_decimal:"&#127951;",category:"a",emoji_order:"1790"},{name:"field_hockey_stick_and_ball",unicode:"1f3d1",shortname:":field_hockey:",code_decimal:"&#127953;",category:"a",emoji_order:"1791"},{name:"ice_hockey_stick_and_puck",unicode:"1f3d2",shortname:":hockey:",code_decimal:"&#127954;",category:"a",emoji_order:"1792"},{name:"table_tennis_paddle_and_ball",unicode:"1f3d3",shortname:":ping_pong:",code_decimal:"&#127955;",category:"a",emoji_order:"1793"},{name:"badminton_racquet_and_shuttlecock",unicode:"1f3f8",shortname:":badminton:",code_decimal:"&#127992;",category:"a",emoji_order:"1794"},{name:"dart",unicode:"1f3af",shortname:":dart:",code_decimal:"&#127919;",category:"a",emoji_order:"1798"},{name:"golf",unicode:"26f3",shortname:":golf:",code_decimal:"&#9971;",category:"a",emoji_order:"1799"},{name:"ice_skate",unicode:"26f8",shortname:":ice_skate:",code_decimal:"&#9976;",category:"a",emoji_order:"1800"},{name:"fishing_pole_and_fish",unicode:"1f3a3",shortname:":fishing_pole_and_fish:",code_decimal:"&#127907;",category:"a",emoji_order:"1801"},{name:"running_shirt_with_sash",unicode:"1f3bd",shortname:":running_shirt_with_sash:",code_decimal:"&#127933;",category:"a",emoji_order:"1802"},{name:"ski",unicode:"1f3bf",shortname:":ski:",code_decimal:"&#127935;",category:"a",emoji_order:"1803"},{name:"video_game",unicode:"1f3ae",shortname:":video_game:",code_decimal:"&#127918;",category:"a",emoji_order:"1804"},{name:"joystick",unicode:"1f579",shortname:":joystick:",code_decimal:"&#128377;",category:"o",emoji_order:"1805"},{name:"game_die",unicode:"1f3b2",shortname:":game_die:",code_decimal:"&#127922;",category:"a",emoji_order:"1806"},{name:"spades",unicode:"2660",shortname:":spades:",code_decimal:"&spades;",category:"s",emoji_order:"1807"},{name:"hearts",unicode:"2665",shortname:":hearts:",code_decimal:"&hearts;",category:"s",emoji_order:"1808"},{name:"diamonds",unicode:"2666",shortname:":diamonds:",code_decimal:"&diams;",category:"s",emoji_order:"1809"},{name:"clubs",unicode:"2663",shortname:":clubs:",code_decimal:"&clubs;",category:"s",emoji_order:"1810"},{name:"black_joker",unicode:"1f0cf",shortname:":black_joker:",code_decimal:"&#127183;",category:"s",emoji_order:"1811"},{name:"mahjong",unicode:"1f004",shortname:":mahjong:",code_decimal:"&#126980;",category:"s",emoji_order:"1812"},{name:"flower_playing_cards",unicode:"1f3b4",shortname:":flower_playing_cards:",code_decimal:"&#127924;",category:"s",emoji_order:"1813"},{name:"mute",unicode:"1f507",shortname:":mute:",code_decimal:"&#128263;",category:"s",emoji_order:"1814"},{name:"speaker",unicode:"1f508",shortname:":speaker:",code_decimal:"&#128264;",category:"s",emoji_order:"1815"},{name:"sound",unicode:"1f509",shortname:":sound:",code_decimal:"&#128265;",category:"s",emoji_order:"1816"},{name:"loud_sound",unicode:"1f50a",shortname:":loud_sound:",code_decimal:"&#128266;",category:"s",emoji_order:"1817"},{name:"loudspeaker",unicode:"1f4e2",shortname:":loudspeaker:",code_decimal:"&#128226;",category:"s",emoji_order:"1818"},{name:"mega",unicode:"1f4e3",shortname:":mega:",code_decimal:"&#128227;",category:"s",emoji_order:"1819"},{name:"postal_horn",unicode:"1f4ef",shortname:":postal_horn:",code_decimal:"&#128239;",category:"o",emoji_order:"1820"},{name:"bell",unicode:"1f514",shortname:":bell:",code_decimal:"&#128276;",category:"s",emoji_order:"1821"},{name:"no_bell",unicode:"1f515",shortname:":no_bell:",code_decimal:"&#128277;",category:"s",emoji_order:"1822"},{name:"musical_score",unicode:"1f3bc",shortname:":musical_score:",code_decimal:"&#127932;",category:"a",emoji_order:"1823"},{name:"musical_note",unicode:"1f3b5",shortname:":musical_note:",code_decimal:"&#127925;",category:"s",emoji_order:"1824"},{name:"notes",unicode:"1f3b6",shortname:":notes:",code_decimal:"&#127926;",category:"s",emoji_order:"1825"},{name:"studio_microphone",unicode:"1f399",shortname:":microphone2:",code_decimal:"&#127897;",category:"o",emoji_order:"1826"},{name:"level_slider",unicode:"1f39a",shortname:":level_slider:",code_decimal:"&#127898;",category:"o",emoji_order:"1827"},{name:"control_knobs",unicode:"1f39b",shortname:":control_knobs:",code_decimal:"&#127899;",category:"o",emoji_order:"1828"},{name:"microphone",unicode:"1f3a4",shortname:":microphone:",code_decimal:"&#127908;",category:"a",emoji_order:"1829"},{name:"headphones",unicode:"1f3a7",shortname:":headphones:",code_decimal:"&#127911;",category:"a",emoji_order:"1830"},{name:"radio",unicode:"1f4fb",shortname:":radio:",code_decimal:"&#128251;",category:"o",emoji_order:"1831"},{name:"saxophone",unicode:"1f3b7",shortname:":saxophone:",code_decimal:"&#127927;",category:"a",emoji_order:"1832"},{name:"guitar",unicode:"1f3b8",shortname:":guitar:",code_decimal:"&#127928;",category:"a",emoji_order:"1833"},{name:"musical_keyboard",unicode:"1f3b9",shortname:":musical_keyboard:",code_decimal:"&#127929;",category:"a",emoji_order:"1834"},{name:"trumpet",unicode:"1f3ba",shortname:":trumpet:",code_decimal:"&#127930;",category:"a",emoji_order:"1835"},{name:"violin",unicode:"1f3bb",shortname:":violin:",code_decimal:"&#127931;",category:"a",emoji_order:"1836"},{name:"iphone",unicode:"1f4f1",shortname:":iphone:",code_decimal:"&#128241;",category:"o",emoji_order:"1838"},{name:"calling",unicode:"1f4f2",shortname:":calling:",code_decimal:"&#128242;",category:"o",emoji_order:"1839"},{name:"telephone",unicode:"260e",shortname:":telephone:",code_decimal:"&#9742;",category:"o",emoji_order:"1840"},{name:"telephone_receiver",unicode:"1f4de",shortname:":telephone_receiver:",code_decimal:"&#128222;",category:"o",emoji_order:"1841"},{name:"pager",unicode:"1f4df",shortname:":pager:",code_decimal:"&#128223;",category:"o",emoji_order:"1842"},{name:"fax",unicode:"1f4e0",shortname:":fax:",code_decimal:"&#128224;",category:"o",emoji_order:"1843"},{name:"battery",unicode:"1f50b",shortname:":battery:",code_decimal:"&#128267;",category:"o",emoji_order:"1844"},{name:"electric_plug",unicode:"1f50c",shortname:":electric_plug:",code_decimal:"&#128268;",category:"o",emoji_order:"1845"},{name:"computer",unicode:"1f4bb",shortname:":computer:",code_decimal:"&#128187;",category:"o",emoji_order:"1846"},{name:"desktop_computer",unicode:"1f5a5",shortname:":desktop:",code_decimal:"&#128421;",category:"o",emoji_order:"1847"},{name:"printer",unicode:"1f5a8",shortname:":printer:",code_decimal:"&#128424;",category:"o",emoji_order:"1848"},{name:"keyboard",unicode:"2328",shortname:":keyboard:",code_decimal:"&#9000;",category:"o",emoji_order:"1849"},{name:"three_button_mouse",unicode:"1f5b1",shortname:":mouse_three_button:",code_decimal:"&#128433;",category:"o",emoji_order:"1850"},{name:"trackball",unicode:"1f5b2",shortname:":trackball:",code_decimal:"&#128434;",category:"o",emoji_order:"1851"},{name:"minidisc",unicode:"1f4bd",shortname:":minidisc:",code_decimal:"&#128189;",category:"o",emoji_order:"1852"},{name:"floppy_disk",unicode:"1f4be",shortname:":floppy_disk:",code_decimal:"&#128190;",category:"o",emoji_order:"1853"},{name:"cd",unicode:"1f4bf",shortname:":cd:",code_decimal:"&#128191;",category:"o",emoji_order:"1854"},{name:"dvd",unicode:"1f4c0",shortname:":dvd:",code_decimal:"&#128192;",category:"o",emoji_order:"1855"},{name:"movie_camera",unicode:"1f3a5",shortname:":movie_camera:",code_decimal:"&#127909;",category:"o",emoji_order:"1856"},{name:"film_frames",unicode:"1f39e",shortname:":film_frames:",code_decimal:"&#127902;",category:"o",emoji_order:"1857"},{name:"film_projector",unicode:"1f4fd",shortname:":projector:",code_decimal:"&#128253;",category:"o",emoji_order:"1858"},{name:"clapper",unicode:"1f3ac",shortname:":clapper:",code_decimal:"&#127916;",category:"a",emoji_order:"1859"},{name:"tv",unicode:"1f4fa",shortname:":tv:",code_decimal:"&#128250;",category:"o",emoji_order:"1860"},{name:"camera",unicode:"1f4f7",shortname:":camera:",code_decimal:"&#128247;",category:"o",emoji_order:"1861"},{name:"camera_with_flash",unicode:"1f4f8",shortname:":camera_with_flash:",code_decimal:"&#128248;",category:"o",emoji_order:"1862"},{name:"video_camera",unicode:"1f4f9",shortname:":video_camera:",code_decimal:"&#128249;",category:"o",emoji_order:"1863"},{name:"vhs",unicode:"1f4fc",shortname:":vhs:",code_decimal:"&#128252;",category:"o",emoji_order:"1864"},{name:"mag",unicode:"1f50d",shortname:":mag:",code_decimal:"&#128269;",category:"o",emoji_order:"1865"},{name:"mag_right",unicode:"1f50e",shortname:":mag_right:",code_decimal:"&#128270;",category:"o",emoji_order:"1866"},{name:"microscope",unicode:"1f52c",shortname:":microscope:",code_decimal:"&#128300;",category:"o",emoji_order:"1867"},{name:"telescope",unicode:"1f52d",shortname:":telescope:",code_decimal:"&#128301;",category:"o",emoji_order:"1868"},{name:"satellite_antenna",unicode:"1f4e1",shortname:":satellite:",code_decimal:"&#128225;",category:"o",emoji_order:"1869"},{name:"candle",unicode:"1f56f",shortname:":candle:",code_decimal:"&#128367;",category:"o",emoji_order:"1870"},{name:"bulb",unicode:"1f4a1",shortname:":bulb:",code_decimal:"&#128161;",category:"o",emoji_order:"1871"},{name:"flashlight",unicode:"1f526",shortname:":flashlight:",code_decimal:"&#128294;",category:"o",emoji_order:"1872"},{name:"izakaya_lantern",unicode:"1f3ee",shortname:":izakaya_lantern:",code_decimal:"&#127982;",category:"o",emoji_order:"1873"},{name:"notebook_with_decorative_cover",unicode:"1f4d4",shortname:":notebook_with_decorative_cover:",code_decimal:"&#128212;",category:"o",emoji_order:"1874"},{name:"closed_book",unicode:"1f4d5",shortname:":closed_book:",code_decimal:"&#128213;",category:"o",emoji_order:"1875"},{name:"book",unicode:"1f4d6",shortname:":book:",code_decimal:"&#128214;",category:"o",emoji_order:"1876"},{name:"green_book",unicode:"1f4d7",shortname:":green_book:",code_decimal:"&#128215;",category:"o",emoji_order:"1877"},{name:"blue_book",unicode:"1f4d8",shortname:":blue_book:",code_decimal:"&#128216;",category:"o",emoji_order:"1878"},{name:"orange_book",unicode:"1f4d9",shortname:":orange_book:",code_decimal:"&#128217;",category:"o",emoji_order:"1879"},{name:"books",unicode:"1f4da",shortname:":books:",code_decimal:"&#128218;",category:"o",emoji_order:"1880"},{name:"notebook",unicode:"1f4d3",shortname:":notebook:",code_decimal:"&#128211;",category:"o",emoji_order:"1881"},{name:"ledger",unicode:"1f4d2",shortname:":ledger:",code_decimal:"&#128210;",category:"o",emoji_order:"1882"},{name:"page_with_curl",unicode:"1f4c3",shortname:":page_with_curl:",code_decimal:"&#128195;",category:"o",emoji_order:"1883"},{name:"scroll",unicode:"1f4dc",shortname:":scroll:",code_decimal:"&#128220;",category:"o",emoji_order:"1884"},{name:"page_facing_up",unicode:"1f4c4",shortname:":page_facing_up:",code_decimal:"&#128196;",category:"o",emoji_order:"1885"},{name:"newspaper",unicode:"1f4f0",shortname:":newspaper:",code_decimal:"&#128240;",category:"o",emoji_order:"1886"},{name:"rolled_up_newspaper",unicode:"1f5de",shortname:":newspaper2:",code_decimal:"&#128478;",category:"o",emoji_order:"1887"},{name:"bookmark_tabs",unicode:"1f4d1",shortname:":bookmark_tabs:",code_decimal:"&#128209;",category:"o",emoji_order:"1888"},{name:"bookmark",unicode:"1f516",shortname:":bookmark:",code_decimal:"&#128278;",category:"o",emoji_order:"1889"},{name:"label",unicode:"1f3f7",shortname:":label:",code_decimal:"&#127991;",category:"o",emoji_order:"1890"},{name:"moneybag",unicode:"1f4b0",shortname:":moneybag:",code_decimal:"&#128176;",category:"o",emoji_order:"1891"},{name:"yen",unicode:"1f4b4",shortname:":yen:",code_decimal:"&#128180;",category:"o",emoji_order:"1892"},{name:"dollar",unicode:"1f4b5",shortname:":dollar:",code_decimal:"&#128181;",category:"o",emoji_order:"1893"},{name:"euro",unicode:"1f4b6",shortname:":euro:",code_decimal:"&#128182;",category:"o",emoji_order:"1894"},{name:"pound",unicode:"1f4b7",shortname:":pound:",code_decimal:"&#128183;",category:"o",emoji_order:"1895"},{name:"money_with_wings",unicode:"1f4b8",shortname:":money_with_wings:",code_decimal:"&#128184;",category:"o",emoji_order:"1896"},{name:"credit_card",unicode:"1f4b3",shortname:":credit_card:",code_decimal:"&#128179;",category:"o",emoji_order:"1897"},{name:"chart",unicode:"1f4b9",shortname:":chart:",code_decimal:"&#128185;",category:"s",emoji_order:"1898"},{name:"currency_exchange",unicode:"1f4b1",shortname:":currency_exchange:",code_decimal:"&#128177;",category:"s",emoji_order:"1899"},{name:"heavy_dollar_sign",unicode:"1f4b2",shortname:":heavy_dollar_sign:",code_decimal:"&#128178;",category:"s",emoji_order:"1900"},{name:"e-mail",unicode:"1f4e7",shortname:":e-mail:",code_decimal:"&#128231;",category:"o",emoji_order:"1902"},{name:"incoming_envelope",unicode:"1f4e8",shortname:":incoming_envelope:",code_decimal:"&#128232;",category:"o",emoji_order:"1903"},{name:"envelope_with_arrow",unicode:"1f4e9",shortname:":envelope_with_arrow:",code_decimal:"&#128233;",category:"o",emoji_order:"1904"},{name:"outbox_tray",unicode:"1f4e4",shortname:":outbox_tray:",code_decimal:"&#128228;",category:"o",emoji_order:"1905"},{name:"inbox_tray",unicode:"1f4e5",shortname:":inbox_tray:",code_decimal:"&#128229;",category:"o",emoji_order:"1906"},{name:"package",unicode:"1f4e6",shortname:":package:",code_decimal:"&#128230;",category:"o",emoji_order:"1907"},{name:"mailbox",unicode:"1f4eb",shortname:":mailbox:",code_decimal:"&#128235;",category:"o",emoji_order:"1908"},{name:"mailbox_closed",unicode:"1f4ea",shortname:":mailbox_closed:",code_decimal:"&#128234;",category:"o",emoji_order:"1909"},{name:"mailbox_with_mail",unicode:"1f4ec",shortname:":mailbox_with_mail:",code_decimal:"&#128236;",category:"o",emoji_order:"1910"},{name:"mailbox_with_no_mail",unicode:"1f4ed",shortname:":mailbox_with_no_mail:",code_decimal:"&#128237;",category:"o",emoji_order:"1911"},{name:"postbox",unicode:"1f4ee",shortname:":postbox:",code_decimal:"&#128238;",category:"o",emoji_order:"1912"},{name:"ballot_box_with_ballot",unicode:"1f5f3",shortname:":ballot_box:",code_decimal:"&#128499;",category:"o",emoji_order:"1913"},{name:"pencil2",unicode:"270f",shortname:":pencil2:",code_decimal:"&#9999;",category:"o",emoji_order:"1914"},{name:"black_nib",unicode:"2712",shortname:":black_nib:",code_decimal:"&#10002;",category:"o",emoji_order:"1915"},{name:"lower_left_fountain_pen",unicode:"1f58b",shortname:":pen_fountain:",code_decimal:"&#128395;",category:"o",emoji_order:"1916"},{name:"lower_left_ballpoint_pen",unicode:"1f58a",shortname:":pen_ballpoint:",code_decimal:"&#128394;",category:"o",emoji_order:"1917"},{name:"lower_left_paintbrush",unicode:"1f58c",shortname:":paintbrush:",code_decimal:"&#128396;",category:"o",emoji_order:"1918"},{name:"lower_left_crayon",unicode:"1f58d",shortname:":crayon:",code_decimal:"&#128397;",category:"o",emoji_order:"1919"},{name:"memo",unicode:"1f4dd",shortname:":pencil:",code_decimal:"&#128221;",category:"o",emoji_order:"1920"},{name:"briefcase",unicode:"1f4bc",shortname:":briefcase:",code_decimal:"&#128188;",category:"p",emoji_order:"1921"},{name:"file_folder",unicode:"1f4c1",shortname:":file_folder:",code_decimal:"&#128193;",category:"o",emoji_order:"1922"},{name:"open_file_folder",unicode:"1f4c2",shortname:":open_file_folder:",code_decimal:"&#128194;",category:"o",emoji_order:"1923"},{name:"card_index_dividers",unicode:"1f5c2",shortname:":dividers:",code_decimal:"&#128450;",category:"o",emoji_order:"1924"},{name:"date",unicode:"1f4c5",shortname:":date:",code_decimal:"&#128197;",category:"o",emoji_order:"1925"},{name:"calendar",unicode:"1f4c6",shortname:":calendar:",code_decimal:"&#128198;",category:"o",emoji_order:"1926"},{name:"spiral_note_pad",unicode:"1f5d2",shortname:":notepad_spiral:",code_decimal:"&#128466;",category:"o",emoji_order:"1927"},{name:"spiral_calendar_pad",unicode:"1f5d3",shortname:":calendar_spiral:",code_decimal:"&#128467;",category:"o",emoji_order:"1928"},{name:"card_index",unicode:"1f4c7",shortname:":card_index:",code_decimal:"&#128199;",category:"o",emoji_order:"1929"},{name:"chart_with_upwards_trend",unicode:"1f4c8",shortname:":chart_with_upwards_trend:",code_decimal:"&#128200;",category:"o",emoji_order:"1930"},{name:"chart_with_downwards_trend",unicode:"1f4c9",shortname:":chart_with_downwards_trend:",code_decimal:"&#128201;",category:"o",emoji_order:"1931"},{name:"bar_chart",unicode:"1f4ca",shortname:":bar_chart:",code_decimal:"&#128202;",category:"o",emoji_order:"1932"},{name:"clipboard",unicode:"1f4cb",shortname:":clipboard:",code_decimal:"&#128203;",category:"o",emoji_order:"1933"},{name:"pushpin",unicode:"1f4cc",shortname:":pushpin:",code_decimal:"&#128204;",category:"o",emoji_order:"1934"},{name:"round_pushpin",unicode:"1f4cd",shortname:":round_pushpin:",code_decimal:"&#128205;",category:"o",emoji_order:"1935"},{name:"paperclip",unicode:"1f4ce",shortname:":paperclip:",code_decimal:"&#128206;",category:"o",emoji_order:"1936"},{name:"linked_paperclips",unicode:"1f587",shortname:":paperclips:",code_decimal:"&#128391;",category:"o",emoji_order:"1937"},{name:"straight_ruler",unicode:"1f4cf",shortname:":straight_ruler:",code_decimal:"&#128207;",category:"o",emoji_order:"1938"},{name:"triangular_ruler",unicode:"1f4d0",shortname:":triangular_ruler:",code_decimal:"&#128208;",category:"o",emoji_order:"1939"},{name:"scissors",unicode:"2702",shortname:":scissors:",code_decimal:"&#9986;",category:"o",emoji_order:"1940"},{name:"card_file_box",unicode:"1f5c3",shortname:":card_box:",code_decimal:"&#128451;",category:"o",emoji_order:"1941"},{name:"file_cabinet",unicode:"1f5c4",shortname:":file_cabinet:",code_decimal:"&#128452;",category:"o",emoji_order:"1942"},{name:"wastebasket",unicode:"1f5d1",shortname:":wastebasket:",code_decimal:"&#128465;",category:"o",emoji_order:"1943"},{name:"lock",unicode:"1f512",shortname:":lock:",code_decimal:"&#128274;",category:"o",emoji_order:"1944"},{name:"unlock",unicode:"1f513",shortname:":unlock:",code_decimal:"&#128275;",category:"o",emoji_order:"1945"},{name:"lock_with_ink_pen",unicode:"1f50f",shortname:":lock_with_ink_pen:",code_decimal:"&#128271;",category:"o",emoji_order:"1946"},{name:"closed_lock_with_key",unicode:"1f510",shortname:":closed_lock_with_key:",code_decimal:"&#128272;",category:"o",emoji_order:"1947"},{name:"key",unicode:"1f511",shortname:":key:",code_decimal:"&#128273;",category:"o",emoji_order:"1948"},{name:"old_key",unicode:"1f5dd",shortname:":key2:",code_decimal:"&#128477;",category:"o",emoji_order:"1949"},{name:"hammer",unicode:"1f528",shortname:":hammer:",code_decimal:"&#128296;",category:"o",emoji_order:"1950"},{name:"pick",unicode:"26cf",shortname:":pick:",code_decimal:"&#9935;",category:"o",emoji_order:"1951"},{name:"hammer_and_pick",unicode:"2692",shortname:":hammer_pick:",code_decimal:"&#9874;",category:"o",emoji_order:"1952"},{name:"hammer_and_wrench",unicode:"1f6e0",shortname:":tools:",code_decimal:"&#128736;",category:"o",emoji_order:"1953"},{name:"dagger_knife",unicode:"1f5e1",shortname:":dagger:",code_decimal:"&#128481;",category:"o",emoji_order:"1954"},{name:"crossed_swords",unicode:"2694",shortname:":crossed_swords:",code_decimal:"&#9876;",category:"o",emoji_order:"1955"},{name:"gun",unicode:"1f52b",shortname:":gun:",code_decimal:"&#128299;",category:"o",emoji_order:"1956"},{name:"bow_and_arrow",unicode:"1f3f9",shortname:":bow_and_arrow:",code_decimal:"&#127993;",category:"a",emoji_order:"1957"},{name:"shield",unicode:"1f6e1",shortname:":shield:",code_decimal:"&#128737;",category:"o",emoji_order:"1958"},{name:"wrench",unicode:"1f527",shortname:":wrench:",code_decimal:"&#128295;",category:"o",emoji_order:"1959"},{name:"nut_and_bolt",unicode:"1f529",shortname:":nut_and_bolt:",code_decimal:"&#128297;",category:"o",emoji_order:"1960"},{name:"gear",unicode:"2699",shortname:":gear:",code_decimal:"&#9881;",category:"o",emoji_order:"1961"},{name:"compression",unicode:"1f5dc",shortname:":compression:",code_decimal:"&#128476;",category:"o",emoji_order:"1962"},{name:"alembic",unicode:"2697",shortname:":alembic:",code_decimal:"&#9879;",category:"o",emoji_order:"1963"},{name:"scales",unicode:"2696",shortname:":scales:",code_decimal:"&#9878;",category:"o",emoji_order:"1964"},{name:"link",unicode:"1f517",shortname:":link:",code_decimal:"&#128279;",category:"o",emoji_order:"1965"},{name:"chains",unicode:"26d3",shortname:":chains:",code_decimal:"&#9939;",category:"o",emoji_order:"1966"},{name:"syringe",unicode:"1f489",shortname:":syringe:",code_decimal:"&#128137;",category:"o",emoji_order:"1967"},{name:"pill",unicode:"1f48a",shortname:":pill:",code_decimal:"&#128138;",category:"o",emoji_order:"1968"},{name:"smoking",unicode:"1f6ac",shortname:":smoking:",code_decimal:"&#128684;",category:"o",emoji_order:"1969"},{name:"coffin",unicode:"26b0",shortname:":coffin:",code_decimal:"&#9904;",category:"o",emoji_order:"1970"},{name:"funeral_urn",unicode:"26b1",shortname:":urn:",code_decimal:"&#9905;",category:"o",emoji_order:"1971"},{name:"moyai",unicode:"1f5ff",shortname:":moyai:",code_decimal:"&#128511;",category:"o",emoji_order:"1972"},{name:"oil_drum",unicode:"1f6e2",shortname:":oil:",code_decimal:"&#128738;",category:"o",emoji_order:"1973"},{name:"crystal_ball",unicode:"1f52e",shortname:":crystal_ball:",code_decimal:"&#128302;",category:"o",emoji_order:"1974"},{name:"atm",unicode:"1f3e7",shortname:":atm:",code_decimal:"&#127975;",category:"s",emoji_order:"1976"},{name:"put_litter_in_its_place",unicode:"1f6ae",shortname:":put_litter_in_its_place:",code_decimal:"&#128686;",category:"s",emoji_order:"1977"},{name:"potable_water",unicode:"1f6b0",shortname:":potable_water:",code_decimal:"&#128688;",category:"s",emoji_order:"1978"},{name:"wheelchair",unicode:"267f",shortname:":wheelchair:",code_decimal:"&#9855;",category:"s",emoji_order:"1979"},{name:"mens",unicode:"1f6b9",shortname:":mens:",code_decimal:"&#128697;",category:"s",emoji_order:"1980"},{name:"womens",unicode:"1f6ba",shortname:":womens:",code_decimal:"&#128698;",category:"s",emoji_order:"1981"},{name:"restroom",unicode:"1f6bb",shortname:":restroom:",code_decimal:"&#128699;",category:"s",emoji_order:"1982"},{name:"baby_symbol",unicode:"1f6bc",shortname:":baby_symbol:",code_decimal:"&#128700;",category:"s",emoji_order:"1983"},{name:"wc",unicode:"1f6be",shortname:":wc:",code_decimal:"&#128702;",category:"s",emoji_order:"1984"},{name:"passport_control",unicode:"1f6c2",shortname:":passport_control:",code_decimal:"&#128706;",category:"s",emoji_order:"1985"},{name:"customs",unicode:"1f6c3",shortname:":customs:",code_decimal:"&#128707;",category:"s",emoji_order:"1986"},{name:"baggage_claim",unicode:"1f6c4",shortname:":baggage_claim:",code_decimal:"&#128708;",category:"s",emoji_order:"1987"},{name:"left_luggage",unicode:"1f6c5",shortname:":left_luggage:",code_decimal:"&#128709;",category:"s",emoji_order:"1988"},{name:"warning",unicode:"26a0",shortname:":warning:",code_decimal:"&#9888;",category:"s",emoji_order:"1989"},{name:"children_crossing",unicode:"1f6b8",shortname:":children_crossing:",code_decimal:"&#128696;",category:"s",emoji_order:"1990"},{name:"no_entry",unicode:"26d4",shortname:":no_entry:",code_decimal:"&#9940;",category:"s",emoji_order:"1991"},{name:"no_entry_sign",unicode:"1f6ab",shortname:":no_entry_sign:",code_decimal:"&#128683;",category:"s",emoji_order:"1992"},{name:"no_bicycles",unicode:"1f6b3",shortname:":no_bicycles:",code_decimal:"&#128691;",category:"s",emoji_order:"1993"},{name:"no_smoking",unicode:"1f6ad",shortname:":no_smoking:",code_decimal:"&#128685;",category:"s",emoji_order:"1994"},{name:"do_not_litter",unicode:"1f6af",shortname:":do_not_litter:",code_decimal:"&#128687;",category:"s",emoji_order:"1995"},{name:"non-potable_water",unicode:"1f6b1",shortname:":non-potable_water:",code_decimal:"&#128689;",category:"s",emoji_order:"1996"},{name:"no_pedestrians",unicode:"1f6b7",shortname:":no_pedestrians:",code_decimal:"&#128695;",category:"s",emoji_order:"1997"},{name:"no_mobile_phones",unicode:"1f4f5",shortname:":no_mobile_phones:",code_decimal:"&#128245;",category:"s",emoji_order:"1998"},{name:"underage",unicode:"1f51e",shortname:":underage:",code_decimal:"&#128286;",category:"s",emoji_order:"1999"},{name:"radioactive",unicode:"2622",shortname:":radioactive:",code_decimal:"&#9762;",category:"s",emoji_order:"2000"},{name:"biohazard",unicode:"2623",shortname:":biohazard:",code_decimal:"&#9763;",category:"s",emoji_order:"2001"},{name:"arrow_up",unicode:"2b06",shortname:":arrow_up:",code_decimal:"&#11014;",category:"s",emoji_order:"2002"},{name:"arrow_upper_right",unicode:"2197",shortname:":arrow_upper_right:",code_decimal:"&#8599;",category:"s",emoji_order:"2003"},{name:"arrow_right",unicode:"27a1",shortname:":arrow_right:",code_decimal:"&#10145;",category:"s",emoji_order:"2004"},{name:"arrow_lower_right",unicode:"2198",shortname:":arrow_lower_right:",code_decimal:"&#8600;",category:"s",emoji_order:"2005"},{name:"arrow_down",unicode:"2b07",shortname:":arrow_down:",code_decimal:"&#11015;",category:"s",emoji_order:"2006"},{name:"arrow_lower_left",unicode:"2199",shortname:":arrow_lower_left:",code_decimal:"&#8601;",category:"s",emoji_order:"2007"},{name:"arrow_left",unicode:"2b05",shortname:":arrow_left:",code_decimal:"&#11013;",category:"s",emoji_order:"2008"},{name:"arrow_upper_left",unicode:"2196",shortname:":arrow_upper_left:",code_decimal:"&#8598;",category:"s",emoji_order:"2009"},{name:"arrow_up_down",unicode:"2195",shortname:":arrow_up_down:",code_decimal:"&#8597;",category:"s",emoji_order:"2010"},{name:"left_right_arrow",unicode:"2194",shortname:":left_right_arrow:",code_decimal:"&harr;",category:"s",emoji_order:"2011"},{name:"leftwards_arrow_with_hook",unicode:"21a9",shortname:":leftwards_arrow_with_hook:",code_decimal:"&#8617;",category:"s",emoji_order:"2012"},{name:"arrow_right_hook",unicode:"21aa",shortname:":arrow_right_hook:",code_decimal:"&#8618;",category:"s",emoji_order:"2013"},{name:"arrow_heading_up",unicode:"2934",shortname:":arrow_heading_up:",code_decimal:"&#10548;",category:"s",emoji_order:"2014"},{name:"arrow_heading_down",unicode:"2935",shortname:":arrow_heading_down:",code_decimal:"&#10549;",category:"s",emoji_order:"2015"},{name:"arrows_clockwise",unicode:"1f503",shortname:":arrows_clockwise:",code_decimal:"&#128259;",category:"s",emoji_order:"2016"},{name:"arrows_counterclockwise",unicode:"1f504",shortname:":arrows_counterclockwise:",code_decimal:"&#128260;",category:"s",emoji_order:"2017"},{name:"back",unicode:"1f519",shortname:":back:",code_decimal:"&#128281;",category:"s",emoji_order:"2018"},{name:"end",unicode:"1f51a",shortname:":end:",code_decimal:"&#128282;",category:"s",emoji_order:"2019"},{name:"on",unicode:"1f51b",shortname:":on:",code_decimal:"&#128283;",category:"s",emoji_order:"2020"},{name:"soon",unicode:"1f51c",shortname:":soon:",code_decimal:"&#128284;",category:"s",emoji_order:"2021"},{name:"top",unicode:"1f51d",shortname:":top:",code_decimal:"&#128285;",category:"s",emoji_order:"2022"},{name:"place_of_worship",unicode:"1f6d0",shortname:":place_of_worship:",code_decimal:"&#128720;",category:"s",emoji_order:"2023"},{name:"atom_symbol",unicode:"269b",shortname:":atom:",code_decimal:"&#9883;",category:"s",emoji_order:"2024"},{name:"om_symbol",unicode:"1f549",shortname:":om_symbol:",code_decimal:"&#128329;",category:"s",emoji_order:"2025"},{name:"star_of_david",unicode:"2721",shortname:":star_of_david:",code_decimal:"&#10017;",category:"s",emoji_order:"2026"},{name:"wheel_of_dharma",unicode:"2638",shortname:":wheel_of_dharma:",code_decimal:"&#9784;",category:"s",emoji_order:"2027"},{name:"yin_yang",unicode:"262f",shortname:":yin_yang:",code_decimal:"&#9775;",category:"s",emoji_order:"2028"},{name:"latin_cross",unicode:"271d",shortname:":cross:",code_decimal:"&#10013;",category:"s",emoji_order:"2029"},{name:"orthodox_cross",unicode:"2626",shortname:":orthodox_cross:",code_decimal:"&#9766;",category:"s",emoji_order:"2030"},{name:"star_and_crescent",unicode:"262a",shortname:":star_and_crescent:",code_decimal:"&#9770;",category:"s",emoji_order:"2031"},{name:"peace_symbol",unicode:"262e",shortname:":peace:",code_decimal:"&#9774;",category:"s",emoji_order:"2032"},{name:"menorah_with_nine_branches",unicode:"1f54e",shortname:":menorah:",code_decimal:"&#128334;",category:"s",emoji_order:"2033"},{name:"six_pointed_star",unicode:"1f52f",shortname:":six_pointed_star:",code_decimal:"&#128303;",category:"s",emoji_order:"2034"},{name:"aries",unicode:"2648",shortname:":aries:",code_decimal:"&#9800;",category:"s",emoji_order:"2035"},{name:"taurus",unicode:"2649",shortname:":taurus:",code_decimal:"&#9801;",category:"s",emoji_order:"2036"},{name:"gemini",unicode:"264a",shortname:":gemini:",code_decimal:"&#9802;",category:"s",emoji_order:"2037"},{name:"cancer",unicode:"264b",shortname:":cancer:",code_decimal:"&#9803;",category:"s",emoji_order:"2038"},{name:"leo",unicode:"264c",shortname:":leo:",code_decimal:"&#9804;",category:"s",emoji_order:"2039"},{name:"virgo",unicode:"264d",shortname:":virgo:",code_decimal:"&#9805;",category:"s",emoji_order:"2040"},{name:"libra",unicode:"264e",shortname:":libra:",code_decimal:"&#9806;",category:"s",emoji_order:"2041"},{name:"scorpius",unicode:"264f",shortname:":scorpius:",code_decimal:"&#9807;",category:"s",emoji_order:"2042"},{name:"sagittarius",unicode:"2650",shortname:":sagittarius:",code_decimal:"&#9808;",category:"s",emoji_order:"2043"},{name:"capricorn",unicode:"2651",shortname:":capricorn:",code_decimal:"&#9809;",category:"s",emoji_order:"2044"},{name:"aquarius",unicode:"2652",shortname:":aquarius:",code_decimal:"&#9810;",category:"s",emoji_order:"2045"},{name:"pisces",unicode:"2653",shortname:":pisces:",code_decimal:"&#9811;",category:"s",emoji_order:"2046"},{name:"ophiuchus",unicode:"26ce",shortname:":ophiuchus:",code_decimal:"&#9934;",category:"s",emoji_order:"2047"},{name:"twisted_rightwards_arrows",unicode:"1f500",shortname:":twisted_rightwards_arrows:",code_decimal:"&#128256;",category:"s",emoji_order:"2048"},{name:"repeat",unicode:"1f501",shortname:":repeat:",code_decimal:"&#128257;",category:"s",emoji_order:"2049"},{name:"repeat_one",unicode:"1f502",shortname:":repeat_one:",code_decimal:"&#128258;",category:"s",emoji_order:"2050"},{name:"arrow_forward",unicode:"25b6",shortname:":arrow_forward:",code_decimal:"&#9654;",category:"s",emoji_order:"2051"},{name:"fast_forward",unicode:"23e9",shortname:":fast_forward:",code_decimal:"&#9193;",category:"s",emoji_order:"2052"},{name:"black_right_pointing_double_triangle_with_vertical_bar",unicode:"23ed",shortname:":track_next:",code_decimal:"&#9197;",category:"s",emoji_order:"2053"},{name:"black_right_pointing_triangle_with_double_vertical_bar",unicode:"23ef",shortname:":play_pause:",code_decimal:"&#9199;",category:"s",emoji_order:"2054"},{name:"arrow_backward",unicode:"25c0",shortname:":arrow_backward:",code_decimal:"&#9664;",category:"s",emoji_order:"2055"},{name:"rewind",unicode:"23ea",shortname:":rewind:",code_decimal:"&#9194;",category:"s",emoji_order:"2056"},{name:"black_left_pointing_double_triangle_with_vertical_bar",unicode:"23ee",shortname:":track_previous:",code_decimal:"&#9198;",category:"s",emoji_order:"2057"},{name:"arrow_up_small",unicode:"1f53c",shortname:":arrow_up_small:",code_decimal:"&#128316;",category:"s",emoji_order:"2058"},{name:"arrow_double_up",unicode:"23eb",shortname:":arrow_double_up:",code_decimal:"&#9195;",category:"s",emoji_order:"2059"},{name:"arrow_down_small",unicode:"1f53d",shortname:":arrow_down_small:",code_decimal:"&#128317;",category:"s",emoji_order:"2060"},{name:"arrow_double_down",unicode:"23ec",shortname:":arrow_double_down:",code_decimal:"&#9196;",category:"s",emoji_order:"2061"},{name:"double_vertical_bar",unicode:"23f8",shortname:":pause_button:",code_decimal:"&#9208;",category:"s",emoji_order:"2062"},{name:"black_square_for_stop",unicode:"23f9",shortname:":stop_button:",code_decimal:"&#9209;",category:"s",emoji_order:"2063"},{name:"black_circle_for_record",unicode:"23fa",shortname:":record_button:",code_decimal:"&#9210;",category:"s",emoji_order:"2064"},{name:"cinema",unicode:"1f3a6",shortname:":cinema:",code_decimal:"&#127910;",category:"s",emoji_order:"2066"},{name:"low_brightness",unicode:"1f505",shortname:":low_brightness:",code_decimal:"&#128261;",category:"s",emoji_order:"2067"},{name:"high_brightness",unicode:"1f506",shortname:":high_brightness:",code_decimal:"&#128262;",category:"s",emoji_order:"2068"},{name:"signal_strength",unicode:"1f4f6",shortname:":signal_strength:",code_decimal:"&#128246;",category:"s",emoji_order:"2069"},{name:"vibration_mode",unicode:"1f4f3",shortname:":vibration_mode:",code_decimal:"&#128243;",category:"s",emoji_order:"2070"},{name:"mobile_phone_off",unicode:"1f4f4",shortname:":mobile_phone_off:",code_decimal:"&#128244;",category:"s",emoji_order:"2071"},{name:"recycle",unicode:"267b",shortname:":recycle:",code_decimal:"&#9851;",category:"s",emoji_order:"2072"},{name:"name_badge",unicode:"1f4db",shortname:":name_badge:",code_decimal:"&#128219;",category:"s",emoji_order:"2073"},{name:"fleur_de_lis",unicode:"269c",shortname:":fleur-de-lis:",code_decimal:"&#9884;",category:"s",emoji_order:"2074"},{name:"beginner",unicode:"1f530",shortname:":beginner:",code_decimal:"&#128304;",category:"s",emoji_order:"2075"},{name:"trident",unicode:"1f531",shortname:":trident:",code_decimal:"&#128305;",category:"s",emoji_order:"2076"},{name:"o",unicode:"2b55",shortname:":o:",code_decimal:"&#11093;",category:"s",emoji_order:"2077"},{name:"white_check_mark",unicode:"2705",shortname:":white_check_mark:",code_decimal:"&#9989;",category:"s",emoji_order:"2078"},{name:"ballot_box_with_check",unicode:"2611",shortname:":ballot_box_with_check:",code_decimal:"&#9745;",category:"s",emoji_order:"2079"},{name:"heavy_check_mark",unicode:"2714",shortname:":heavy_check_mark:",code_decimal:"&#10004;",category:"s",emoji_order:"2080"},{name:"heavy_multiplication_x",unicode:"2716",shortname:":heavy_multiplication_x:",code_decimal:"&#10006;",category:"s",emoji_order:"2081"},{name:"x",unicode:"274c",shortname:":x:",code_decimal:"&#10060;",category:"s",emoji_order:"2082"},{name:"negative_squared_cross_mark",unicode:"274e",shortname:":negative_squared_cross_mark:",code_decimal:"&#10062;",category:"s",emoji_order:"2083"},{name:"heavy_plus_sign",unicode:"2795",shortname:":heavy_plus_sign:",code_decimal:"&#10133;",category:"s",emoji_order:"2084"},{name:"heavy_minus_sign",unicode:"2796",shortname:":heavy_minus_sign:",code_decimal:"&#10134;",category:"s",emoji_order:"2088"},{name:"heavy_division_sign",unicode:"2797",shortname:":heavy_division_sign:",code_decimal:"&#10135;",category:"s",emoji_order:"2089"},{name:"curly_loop",unicode:"27b0",shortname:":curly_loop:",code_decimal:"&#10160;",category:"s",emoji_order:"2090"},{name:"loop",unicode:"27bf",shortname:":loop:",code_decimal:"&#10175;",category:"s",emoji_order:"2091"},{name:"part_alternation_mark",unicode:"303d",shortname:":part_alternation_mark:",code_decimal:"&#12349;",category:"s",emoji_order:"2092"},{name:"eight_spoked_asterisk",unicode:"2733",shortname:":eight_spoked_asterisk:",code_decimal:"&#10035;",category:"s",emoji_order:"2093"},{name:"eight_pointed_black_star",unicode:"2734",shortname:":eight_pointed_black_star:",code_decimal:"&#10036;",category:"s",emoji_order:"2094"},{name:"sparkle",unicode:"2747",shortname:":sparkle:",code_decimal:"&#10055;",category:"s",emoji_order:"2095"},{name:"bangbang",unicode:"203c",shortname:":bangbang:",code_decimal:"&#8252;",category:"s",emoji_order:"2096"},{name:"interrobang",unicode:"2049",shortname:":interrobang:",code_decimal:"&#8265;",category:"s",emoji_order:"2097"},{name:"question",unicode:"2753",shortname:":question:",code_decimal:"&#10067;",category:"s",emoji_order:"2098"},{name:"grey_question",unicode:"2754",shortname:":grey_question:",code_decimal:"&#10068;",category:"s",emoji_order:"2099"},{name:"grey_exclamation",unicode:"2755",shortname:":grey_exclamation:",code_decimal:"&#10069;",category:"s",emoji_order:"2100"},{name:"exclamation",unicode:"2757",shortname:":exclamation:",code_decimal:"&#10071;",category:"s",emoji_order:"2101"},{name:"wavy_dash",unicode:"3030",shortname:":wavy_dash:",code_decimal:"&#12336;",category:"s",emoji_order:"2102"},{name:"copyright",unicode:"00a9",shortname:":copyright:",code_decimal:"&copy;",category:"s",emoji_order:"2103"},{name:"registered",unicode:"00ae",shortname:":registered:",code_decimal:"&reg;",category:"s",emoji_order:"2104"},{name:"tm",unicode:"2122",shortname:":tm:",code_decimal:"&trade;",category:"s",emoji_order:"2105"},{name:"hash",unicode:"0023-20e3",shortname:":hash:",code_decimal:"#&#8419;",category:"s",emoji_order:"2106"},{name:"keycap_star",unicode:"002a-20e3",shortname:":asterisk:",code_decimal:"*&#8419;",category:"s",emoji_order:"2107"},{name:"zero",unicode:"0030-20e3",shortname:":zero:",code_decimal:"0&#8419;",category:"s",emoji_order:"2108"},{name:"one",unicode:"0031-20e3",shortname:":one:",code_decimal:"1&#8419;",category:"s",emoji_order:"2109"},{name:"two",unicode:"0032-20e3",shortname:":two:",code_decimal:"2&#8419;",category:"s",emoji_order:"2110"},{name:"three",unicode:"0033-20e3",shortname:":three:",code_decimal:"3&#8419;",category:"s",emoji_order:"2111"},{name:"four",unicode:"0034-20e3",shortname:":four:",code_decimal:"4&#8419;",category:"s",emoji_order:"2112"},{name:"five",unicode:"0035-20e3",shortname:":five:",code_decimal:"5&#8419;",category:"s",emoji_order:"2113"},{name:"six",unicode:"0036-20e3",shortname:":six:",code_decimal:"6&#8419;",category:"s",emoji_order:"2114"},{name:"seven",unicode:"0037-20e3",shortname:":seven:",code_decimal:"7&#8419;",category:"s",emoji_order:"2115"},{name:"eight",unicode:"0038-20e3",shortname:":eight:",code_decimal:"8&#8419;",category:"s",emoji_order:"2116"},{name:"nine",unicode:"0039-20e3",shortname:":nine:",code_decimal:"9&#8419;",category:"s",emoji_order:"2117"},{name:"keycap_ten",unicode:"1f51f",shortname:":keycap_ten:",code_decimal:"&#128287;",category:"s",emoji_order:"2118"},{name:"capital_abcd",unicode:"1f520",shortname:":capital_abcd:",code_decimal:"&#128288;",category:"s",emoji_order:"2120"},{name:"abcd",unicode:"1f521",shortname:":abcd:",code_decimal:"&#128289;",category:"s",emoji_order:"2121"},{name:"s",unicode:"1f523",shortname:":s:",code_decimal:"&#128291;",category:"s",emoji_order:"2123"},{name:"abc",unicode:"1f524",shortname:":abc:",code_decimal:"&#128292;",category:"s",emoji_order:"2124"},{name:"a",unicode:"1f170",shortname:":a:",code_decimal:"&#127344;",category:"s",emoji_order:"2125"},{name:"ab",unicode:"1f18e",shortname:":ab:",code_decimal:"&#127374;",category:"s",emoji_order:"2126"},{name:"b",unicode:"1f171",shortname:":b:",code_decimal:"&#127345;",category:"s",emoji_order:"2127"},{name:"cl",unicode:"1f191",shortname:":cl:",code_decimal:"&#127377;",category:"s",emoji_order:"2128"},{name:"cool",unicode:"1f192",shortname:":cool:",code_decimal:"&#127378;",category:"s",emoji_order:"2129"},{name:"free",unicode:"1f193",shortname:":free:",code_decimal:"&#127379;",category:"s",emoji_order:"2130"},{name:"information_source",unicode:"2139",shortname:":information_source:",code_decimal:"&#8505;",category:"s",emoji_order:"2131"},{name:"id",unicode:"1f194",shortname:":id:",code_decimal:"&#127380;",category:"s",emoji_order:"2132"},{name:"m",unicode:"24c2",shortname:":m:",code_decimal:"&#9410;",category:"s",emoji_order:"2133"},{name:"new",unicode:"1f195",shortname:":new:",code_decimal:"&#127381;",category:"s",emoji_order:"2134"},{name:"ng",unicode:"1f196",shortname:":ng:",code_decimal:"&#127382;",category:"s",emoji_order:"2135"},{name:"o2",unicode:"1f17e",shortname:":o2:",code_decimal:"&#127358;",category:"s",emoji_order:"2136"},{name:"ok",unicode:"1f197",shortname:":ok:",code_decimal:"&#127383;",category:"s",emoji_order:"2137"},{name:"parking",unicode:"1f17f",shortname:":parking:",code_decimal:"&#127359;",category:"s",emoji_order:"2138"},{name:"sos",unicode:"1f198",shortname:":sos:",code_decimal:"&#127384;",category:"s",emoji_order:"2139"},{name:"up",unicode:"1f199",shortname:":up:",code_decimal:"&#127385;",category:"s",emoji_order:"2140"},{name:"vs",unicode:"1f19a",shortname:":vs:",code_decimal:"&#127386;",category:"s",emoji_order:"2141"},{name:"koko",unicode:"1f201",shortname:":koko:",code_decimal:"&#127489;",category:"s",emoji_order:"2142"},{name:"sa",unicode:"1f202",shortname:":sa:",code_decimal:"&#127490;",category:"s",emoji_order:"2143"},{name:"u6708",unicode:"1f237",shortname:":u6708:",code_decimal:"&#127543;",category:"s",emoji_order:"2144"},{name:"u6709",unicode:"1f236",shortname:":u6709:",code_decimal:"&#127542;",category:"s",emoji_order:"2145"},{name:"u6307",unicode:"1f22f",shortname:":u6307:",code_decimal:"&#127535;",category:"s",emoji_order:"2146"},{name:"ideograph_advantage",unicode:"1f250",shortname:":ideograph_advantage:",code_decimal:"&#127568;",category:"s",emoji_order:"2147"},{name:"u5272",unicode:"1f239",shortname:":u5272:",code_decimal:"&#127545;",category:"s",emoji_order:"2148"},{name:"u7121",unicode:"1f21a",shortname:":u7121:",code_decimal:"&#127514;",category:"s",emoji_order:"2149"},{name:"u7981",unicode:"1f232",shortname:":u7981:",code_decimal:"&#127538;",category:"s",emoji_order:"2150"},{name:"accept",unicode:"1f251",shortname:":accept:",code_decimal:"&#127569;",category:"s",emoji_order:"2151"},{name:"u7533",unicode:"1f238",shortname:":u7533:",code_decimal:"&#127544;",category:"s",emoji_order:"2152"},{name:"u5408",unicode:"1f234",shortname:":u5408:",code_decimal:"&#127540;",category:"s",emoji_order:"2153"},{name:"u7a7a",unicode:"1f233",shortname:":u7a7a:",code_decimal:"&#127539;",category:"s",emoji_order:"2154"},{name:"congratulations",unicode:"3297",shortname:":congratulations:",code_decimal:"&#12951;",category:"s",emoji_order:"2155"},{name:"secret",unicode:"3299",shortname:":secret:",code_decimal:"&#12953;",category:"s",emoji_order:"2156"},{name:"u55b6",unicode:"1f23a",shortname:":u55b6:",code_decimal:"&#127546;",category:"s",emoji_order:"2157"},{name:"u6e80",unicode:"1f235",shortname:":u6e80:",code_decimal:"&#127541;",category:"s",emoji_order:"2158"},{name:"black_small_square",unicode:"25aa",shortname:":black_small_square:",code_decimal:"&#9642;",category:"s",emoji_order:"2159"},{name:"white_small_square",unicode:"25ab",shortname:":white_small_square:",code_decimal:"&#9643;",category:"s",emoji_order:"2160"},{name:"white_medium_square",unicode:"25fb",shortname:":white_medium_square:",code_decimal:"&#9723;",category:"s",emoji_order:"2161"},{name:"black_medium_square",unicode:"25fc",shortname:":black_medium_square:",code_decimal:"&#9724;",category:"s",emoji_order:"2162"},{name:"white_medium_small_square",unicode:"25fd",shortname:":white_medium_small_square:",code_decimal:"&#9725;",category:"s",emoji_order:"2163"},{name:"black_medium_small_square",unicode:"25fe",shortname:":black_medium_small_square:",code_decimal:"&#9726;",category:"s",emoji_order:"2164"},{name:"black_large_square",unicode:"2b1b",shortname:":black_large_square:",code_decimal:"&#11035;",category:"s",emoji_order:"2165"},{name:"white_large_square",unicode:"2b1c",shortname:":white_large_square:",code_decimal:"&#11036;",category:"s",emoji_order:"2166"},{name:"large_orange_diamond",unicode:"1f536",shortname:":large_orange_diamond:",code_decimal:"&#128310;",category:"s",emoji_order:"2167"},{name:"large_blue_diamond",unicode:"1f537",shortname:":large_blue_diamond:",code_decimal:"&#128311;",category:"s",emoji_order:"2168"},{name:"small_orange_diamond",unicode:"1f538",shortname:":small_orange_diamond:",code_decimal:"&#128312;",category:"s",emoji_order:"2169"},{name:"small_blue_diamond",unicode:"1f539",shortname:":small_blue_diamond:",code_decimal:"&#128313;",category:"s",emoji_order:"2170"},{name:"small_red_triangle",unicode:"1f53a",shortname:":small_red_triangle:",code_decimal:"&#128314;",category:"s",emoji_order:"2171"},{name:"small_red_triangle_down",unicode:"1f53b",shortname:":small_red_triangle_down:",code_decimal:"&#128315;",category:"s",emoji_order:"2172"},{name:"diamond_shape_with_a_dot_inside",unicode:"1f4a0",shortname:":diamond_shape_with_a_dot_inside:",code_decimal:"&#128160;",category:"s",emoji_order:"2173"},{name:"radio_button",unicode:"1f518",shortname:":radio_button:",code_decimal:"&#128280;",category:"s",emoji_order:"2174"},{name:"black_square_button",unicode:"1f532",shortname:":black_square_button:",code_decimal:"&#128306;",category:"s",emoji_order:"2175"},{name:"white_square_button",unicode:"1f533",shortname:":white_square_button:",code_decimal:"&#128307;",category:"s",emoji_order:"2176"},{name:"white_circle",unicode:"26aa",shortname:":white_circle:",code_decimal:"&#9898;",category:"s",emoji_order:"2177"},{name:"black_circle",unicode:"26ab",shortname:":black_circle:",code_decimal:"&#9899;",category:"s",emoji_order:"2178"},{name:"red_circle",unicode:"1f534",shortname:":red_circle:",code_decimal:"&#128308;",category:"s",emoji_order:"2179"},{name:"large_blue_circle",unicode:"1f535",shortname:":blue_circle:",code_decimal:"&#128309;",category:"s",emoji_order:"2180"},{name:"checkered_flag",unicode:"1f3c1",shortname:":checkered_flag:",code_decimal:"&#127937;",category:"t",emoji_order:"2181"},{name:"triangular_flag_on_post",unicode:"1f6a9",shortname:":triangular_flag_on_post:",code_decimal:"&#128681;",category:"o",emoji_order:"2182"},{name:"crossed_flags",unicode:"1f38c",shortname:":crossed_flags:",code_decimal:"&#127884;",category:"o",emoji_order:"2183"},{name:"waving_black_flag",unicode:"1f3f4",shortname:":flag_black:",code_decimal:"&#127988;",category:"o",emoji_order:"2184"},{name:"waving_white_flag",unicode:"1f3f3",shortname:":flag_white:",code_decimal:"&#127987;",category:"o",emoji_order:"2185"},{name:"flag-ac",unicode:"1f1e6-1f1e8",shortname:":flag_ac:",code_decimal:"&#127462;&#127464;",category:"f",emoji_order:"2187"},{name:"flag-ad",unicode:"1f1e6-1f1e9",shortname:":flag_ad:",code_decimal:"&#127462;&#127465;",category:"f",emoji_order:"2188"},{name:"flag-ae",unicode:"1f1e6-1f1ea",shortname:":flag_ae:",code_decimal:"&#127462;&#127466;",category:"f",emoji_order:"2189"},{name:"flag-af",unicode:"1f1e6-1f1eb",shortname:":flag_af:",code_decimal:"&#127462;&#127467;",category:"f",emoji_order:"2190"},{name:"flag-ag",unicode:"1f1e6-1f1ec",shortname:":flag_ag:",code_decimal:"&#127462;&#127468;",category:"f",emoji_order:"2191"},{name:"flag-ai",unicode:"1f1e6-1f1ee",shortname:":flag_ai:",code_decimal:"&#127462;&#127470;",category:"f",emoji_order:"2192"},{name:"flag-al",unicode:"1f1e6-1f1f1",shortname:":flag_al:",code_decimal:"&#127462;&#127473;",category:"f",emoji_order:"2193"},{name:"flag-am",unicode:"1f1e6-1f1f2",shortname:":flag_am:",code_decimal:"&#127462;&#127474;",category:"f",emoji_order:"2194"},{name:"flag-ao",unicode:"1f1e6-1f1f4",shortname:":flag-ao:",code_decimal:"&#127462;&#127476;",category:"f",emoji_order:"2195"},{name:"flag-aq",unicode:"1f1e6-1f1f6",shortname:":flag-aq:",code_decimal:"&#127462;&#127478;",category:"f",emoji_order:"2196"},{name:"flag-ar",unicode:"1f1e6-1f1f7",shortname:":flag-ar:",code_decimal:"&#127462;&#127479;",category:"f",emoji_order:"2197"},{name:"flag-as",unicode:"1f1e6-1f1f8",shortname:":flag-as:",code_decimal:"&#127462;&#127480;",category:"f",emoji_order:"2198"},{name:"flag-at",unicode:"1f1e6-1f1f9",shortname:":flag-at:",code_decimal:"&#127462;&#127481;",category:"f",emoji_order:"2199"},{name:"flag-au",unicode:"1f1e6-1f1fa",shortname:":flag-au:",code_decimal:"&#127462;&#127482;",category:"f",emoji_order:"2200"},{name:"flag-aw",unicode:"1f1e6-1f1fc",shortname:":flag-aw:",code_decimal:"&#127462;&#127484;",category:"f",emoji_order:"2201"},{name:"flag-ax",unicode:"1f1e6-1f1fd",shortname:":flag-ax:",code_decimal:"&#127462;&#127485;",category:"f",emoji_order:"2202"},{name:"flag-az",unicode:"1f1e6-1f1ff",shortname:":flag-az:",code_decimal:"&#127462;&#127487;",category:"f",emoji_order:"2203"},{name:"flag-ba",unicode:"1f1e7-1f1e6",shortname:":flag-ba:",code_decimal:"&#127463;&#127462;",category:"f",emoji_order:"2204"},{name:"flag-bb",unicode:"1f1e7-1f1e7",shortname:":flag-bb:",code_decimal:"&#127463;&#127463;",category:"f",emoji_order:"2205"},{name:"flag-bd",unicode:"1f1e7-1f1e9",shortname:":flag-bd:",code_decimal:"&#127463;&#127465;",category:"f",emoji_order:"2206"},{name:"flag-be",unicode:"1f1e7-1f1ea",shortname:":flag-be:",code_decimal:"&#127463;&#127466;",category:"f",emoji_order:"2207"},{name:"flag-bf",unicode:"1f1e7-1f1eb",shortname:":flag-bf:",code_decimal:"&#127463;&#127467;",category:"f",emoji_order:"2208"},{name:"flag-bg",unicode:"1f1e7-1f1ec",shortname:":flag-bg:",code_decimal:"&#127463;&#127468;",category:"f",emoji_order:"2209"},{name:"flag-bh",unicode:"1f1e7-1f1ed",shortname:":flag-bh:",code_decimal:"&#127463;&#127469;",category:"f",emoji_order:"2210"},{name:"flag-bi",unicode:"1f1e7-1f1ee",shortname:":flag-bi:",code_decimal:"&#127463;&#127470;",category:"f",emoji_order:"2211"},{name:"flag-bj",unicode:"1f1e7-1f1ef",shortname:":flag-bj:",code_decimal:"&#127463;&#127471;",category:"f",emoji_order:"2212"},{name:"flag-bl",unicode:"1f1e7-1f1f1",shortname:":flag-bl:",code_decimal:"&#127463;&#127473;",category:"f",emoji_order:"2213"},{name:"flag-bm",unicode:"1f1e7-1f1f2",shortname:":flag-bm:",code_decimal:"&#127463;&#127474;",category:"f",emoji_order:"2214"},{name:"flag-bn",unicode:"1f1e7-1f1f3",shortname:":flag-bn:",code_decimal:"&#127463;&#127475;",category:"f",emoji_order:"2215"},{name:"flag-bo",unicode:"1f1e7-1f1f4",shortname:":flag-bo:",code_decimal:"&#127463;&#127476;",category:"f",emoji_order:"2216"},{name:"flag-bq",unicode:"1f1e7-1f1f6",shortname:":flag-bq:",code_decimal:"&#127463;&#127478;",category:"f",emoji_order:"2217"},{name:"flag-br",unicode:"1f1e7-1f1f7",shortname:":flag-br:",code_decimal:"&#127463;&#127479;",category:"f",emoji_order:"2218"},{name:"flag-bs",unicode:"1f1e7-1f1f8",shortname:":flag-bs:",code_decimal:"&#127463;&#127480;",category:"f",emoji_order:"2219"},{name:"flag-bt",unicode:"1f1e7-1f1f9",shortname:":flag-bt:",code_decimal:"&#127463;&#127481;",category:"f",emoji_order:"2220"},{name:"flag-bv",unicode:"1f1e7-1f1fb",shortname:":flag-bv:",code_decimal:"&#127463;&#127483;",category:"f",emoji_order:"2221"},{name:"flag-bw",unicode:"1f1e7-1f1fc",shortname:":flag-bw:",code_decimal:"&#127463;&#127484;",category:"f",emoji_order:"2222"},{name:"flag-by",unicode:"1f1e7-1f1fe",shortname:":flag-by:",code_decimal:"&#127463;&#127486;",category:"f",emoji_order:"2223"},{name:"flag-bz",unicode:"1f1e7-1f1ff",shortname:":flag-bz:",code_decimal:"&#127463;&#127487;",category:"f",emoji_order:"2224"},{name:"flag-ca",unicode:"1f1e8-1f1e6",shortname:":flag-ca:",code_decimal:"&#127464;&#127462;",category:"f",emoji_order:"2225"},{name:"flag-cc",unicode:"1f1e8-1f1e8",shortname:":flag-cc:",code_decimal:"&#127464;&#127464;",category:"f",emoji_order:"2226"},{name:"flag-cd",unicode:"1f1e8-1f1e9",shortname:":flag-cd:",code_decimal:"&#127464;&#127465;",category:"f",emoji_order:"2227"},{name:"flag-cf",unicode:"1f1e8-1f1eb",shortname:":flag-cf:",code_decimal:"&#127464;&#127467;",category:"f",emoji_order:"2228"},{name:"flag-cg",unicode:"1f1e8-1f1ec",shortname:":flag-cg:",code_decimal:"&#127464;&#127468;",category:"f",emoji_order:"2229"},{name:"flag-ch",unicode:"1f1e8-1f1ed",shortname:":flag-ch:",code_decimal:"&#127464;&#127469;",category:"f",emoji_order:"2230"},{name:"flag-ci",unicode:"1f1e8-1f1ee",shortname:":flag-ci:",code_decimal:"&#127464;&#127470;",category:"f",emoji_order:"2231"},{name:"flag-ck",unicode:"1f1e8-1f1f0",shortname:":flag-ck:",code_decimal:"&#127464;&#127472;",category:"f",emoji_order:"2232"},{name:"flag-cl",unicode:"1f1e8-1f1f1",shortname:":flag-cl:",code_decimal:"&#127464;&#127473;",category:"f",emoji_order:"2233"},{name:"flag-cm",unicode:"1f1e8-1f1f2",shortname:":flag-cm:",code_decimal:"&#127464;&#127474;",category:"f",emoji_order:"2234"},{name:"flag-cn",unicode:"1f1e8-1f1f3",shortname:":flag-cn:",code_decimal:"&#127464;&#127475;",category:"f",emoji_order:"2235"},{name:"flag-co",unicode:"1f1e8-1f1f4",shortname:":flag-co:",code_decimal:"&#127464;&#127476;",category:"f",emoji_order:"2236"},{name:"flag-cp",unicode:"1f1e8-1f1f5",shortname:":flag-cp:",code_decimal:"&#127464;&#127477;",category:"f",emoji_order:"2237"},{name:"flag-cr",unicode:"1f1e8-1f1f7",shortname:":flag-cr:",code_decimal:"&#127464;&#127479;",category:"f",emoji_order:"2238"},{name:"flag-cu",unicode:"1f1e8-1f1fa",shortname:":flag-cu:",code_decimal:"&#127464;&#127482;",category:"f",emoji_order:"2239"},{name:"flag-cv",unicode:"1f1e8-1f1fb",shortname:":flag-cv:",code_decimal:"&#127464;&#127483;",category:"f",emoji_order:"2240"},{name:"flag-cw",unicode:"1f1e8-1f1fc",shortname:":flag-cw:",code_decimal:"&#127464;&#127484;",category:"f",emoji_order:"2241"},{name:"flag-cx",unicode:"1f1e8-1f1fd",shortname:":flag-cx:",code_decimal:"&#127464;&#127485;",category:"f",emoji_order:"2242"},{name:"flag-cy",unicode:"1f1e8-1f1fe",shortname:":flag-cy:",code_decimal:"&#127464;&#127486;",category:"f",emoji_order:"2243"},{name:"flag-cz",unicode:"1f1e8-1f1ff",shortname:":flag-cz:",code_decimal:"&#127464;&#127487;",category:"f",emoji_order:"2244"},{name:"flag-de",unicode:"1f1e9-1f1ea",shortname:":flag-de:",code_decimal:"&#127465;&#127466;",category:"f",emoji_order:"2245"},{name:"flag-dg",unicode:"1f1e9-1f1ec",shortname:":flag-dg:",code_decimal:"&#127465;&#127468;",category:"f",emoji_order:"2246"},{name:"flag-dj",unicode:"1f1e9-1f1ef",shortname:":flag-dj:",code_decimal:"&#127465;&#127471;",category:"f",emoji_order:"2247"},{name:"flag-dk",unicode:"1f1e9-1f1f0",shortname:":flag-dk:",code_decimal:"&#127465;&#127472;",category:"f",emoji_order:"2248"},{name:"flag-dm",unicode:"1f1e9-1f1f2",shortname:":flag-dm:",code_decimal:"&#127465;&#127474;",category:"f",emoji_order:"2249"},{name:"flag-do",unicode:"1f1e9-1f1f4",shortname:":flag-do:",code_decimal:"&#127465;&#127476;",category:"f",emoji_order:"2250"},{name:"flag-dz",unicode:"1f1e9-1f1ff",shortname:":flag-dz:",code_decimal:"&#127465;&#127487;",category:"f",emoji_order:"2251"},{name:"flag-ea",unicode:"1f1ea-1f1e6",shortname:":flag-ea:",code_decimal:"&#127466;&#127462;",category:"f",emoji_order:"2252"},{name:"flag-ec",unicode:"1f1ea-1f1e8",shortname:":flag-ec:",code_decimal:"&#127466;&#127464;",category:"f",emoji_order:"2253"},{name:"flag-ee",unicode:"1f1ea-1f1ea",shortname:":flag-ee:",code_decimal:"&#127466;&#127466;",category:"f",emoji_order:"2254"},{name:"flag-eg",unicode:"1f1ea-1f1ec",shortname:":flag-eg:",code_decimal:"&#127466;&#127468;",category:"f",emoji_order:"2255"},{name:"flag-eh",unicode:"1f1ea-1f1ed",shortname:":flag-eh:",code_decimal:"&#127466;&#127469;",category:"f",emoji_order:"2256"},{name:"flag-er",unicode:"1f1ea-1f1f7",shortname:":flag-er:",code_decimal:"&#127466;&#127479;",category:"f",emoji_order:"2257"},{name:"flag-es",unicode:"1f1ea-1f1f8",shortname:":flag-es:",code_decimal:"&#127466;&#127480;",category:"f",emoji_order:"2258"},{name:"flag-et",unicode:"1f1ea-1f1f9",shortname:":flag-et:",code_decimal:"&#127466;&#127481;",category:"f",emoji_order:"2259"},{name:"flag-eu",unicode:"1f1ea-1f1fa",shortname:":flag-eu:",code_decimal:"&#127466;&#127482;",category:"f",emoji_order:"2260"},{name:"flag-fi",unicode:"1f1eb-1f1ee",shortname:":flag-fi:",code_decimal:"&#127467;&#127470;",category:"f",emoji_order:"2261"},{name:"flag-fj",unicode:"1f1eb-1f1ef",shortname:":flag-fj:",code_decimal:"&#127467;&#127471;",category:"f",emoji_order:"2262"},{name:"flag-fk",unicode:"1f1eb-1f1f0",shortname:":flag-fk:",code_decimal:"&#127467;&#127472;",category:"f",emoji_order:"2263"},{name:"flag-fm",unicode:"1f1eb-1f1f2",shortname:":flag-fm:",code_decimal:"&#127467;&#127474;",category:"f",emoji_order:"2264"},{name:"flag-fo",unicode:"1f1eb-1f1f4",shortname:":flag-fo:",code_decimal:"&#127467;&#127476;",category:"f",emoji_order:"2265"},{name:"flag-fr",unicode:"1f1eb-1f1f7",shortname:":flag-fr:",code_decimal:"&#127467;&#127479;",category:"f",emoji_order:"2266"},{name:"flag-ga",unicode:"1f1ec-1f1e6",shortname:":flag-ga:",code_decimal:"&#127468;&#127462;",category:"f",emoji_order:"2267"},{name:"flag-gb",unicode:"1f1ec-1f1e7",shortname:":flag-gb:",code_decimal:"&#127468;&#127463;",category:"f",emoji_order:"2268"},{name:"flag-gd",unicode:"1f1ec-1f1e9",shortname:":flag-gd:",code_decimal:"&#127468;&#127465;",category:"f",emoji_order:"2269"},{name:"flag-ge",unicode:"1f1ec-1f1ea",shortname:":flag-ge:",code_decimal:"&#127468;&#127466;",category:"f",emoji_order:"2270"},{name:"flag-gf",unicode:"1f1ec-1f1eb",shortname:":flag-gf:",code_decimal:"&#127468;&#127467;",category:"f",emoji_order:"2271"},{name:"flag-gg",unicode:"1f1ec-1f1ec",shortname:":flag-gg:",code_decimal:"&#127468;&#127468;",category:"f",emoji_order:"2272"},{name:"flag-gh",unicode:"1f1ec-1f1ed",shortname:":flag-gh:",code_decimal:"&#127468;&#127469;",category:"f",emoji_order:"2273"},{name:"flag-gi",unicode:"1f1ec-1f1ee",shortname:":flag-gi:",code_decimal:"&#127468;&#127470;",category:"f",emoji_order:"2274"},{name:"flag-gl",unicode:"1f1ec-1f1f1",shortname:":flag-gl:",code_decimal:"&#127468;&#127473;",category:"f",emoji_order:"2275"},{name:"flag-gm",unicode:"1f1ec-1f1f2",shortname:":flag-gm:",code_decimal:"&#127468;&#127474;",category:"f",emoji_order:"2276"},{name:"flag-gn",unicode:"1f1ec-1f1f3",shortname:":flag-gn:",code_decimal:"&#127468;&#127475;",category:"f",emoji_order:"2277"},{name:"flag-gp",unicode:"1f1ec-1f1f5",shortname:":flag-gp:",code_decimal:"&#127468;&#127477;",category:"f",emoji_order:"2278"},{name:"flag-gq",unicode:"1f1ec-1f1f6",shortname:":flag-gq:",code_decimal:"&#127468;&#127478;",category:"f",emoji_order:"2279"},{name:"flag-gr",unicode:"1f1ec-1f1f7",shortname:":flag-gr:",code_decimal:"&#127468;&#127479;",category:"f",emoji_order:"2280"},{name:"flag-gs",unicode:"1f1ec-1f1f8",shortname:":flag-gs:",code_decimal:"&#127468;&#127480;",category:"f",emoji_order:"2281"},{name:"flag-gt",unicode:"1f1ec-1f1f9",shortname:":flag-gt:",code_decimal:"&#127468;&#127481;",category:"f",emoji_order:"2282"},{name:"flag-gu",unicode:"1f1ec-1f1fa",shortname:":flag-gu:",code_decimal:"&#127468;&#127482;",category:"f",emoji_order:"2283"},{name:"flag-gw",unicode:"1f1ec-1f1fc",shortname:":flag-gw:",code_decimal:"&#127468;&#127484;",category:"f",emoji_order:"2284"},{name:"flag-gy",unicode:"1f1ec-1f1fe",shortname:":flag-gy:",code_decimal:"&#127468;&#127486;",category:"f",emoji_order:"2285"},{name:"flag-hk",unicode:"1f1ed-1f1f0",shortname:":flag-hk:",code_decimal:"&#127469;&#127472;",category:"f",emoji_order:"2286"},{name:"flag-hm",unicode:"1f1ed-1f1f2",shortname:":flag-hm:",code_decimal:"&#127469;&#127474;",category:"f",emoji_order:"2287"},{name:"flag-hn",unicode:"1f1ed-1f1f3",shortname:":flag-hn:",code_decimal:"&#127469;&#127475;",category:"f",emoji_order:"2288"},{name:"flag-hr",unicode:"1f1ed-1f1f7",shortname:":flag-hr:",code_decimal:"&#127469;&#127479;",category:"f",emoji_order:"2289"},{name:"flag-ht",unicode:"1f1ed-1f1f9",shortname:":flag-ht:",code_decimal:"&#127469;&#127481;",category:"f",emoji_order:"2290"},{name:"flag-hu",unicode:"1f1ed-1f1fa",shortname:":flag-hu:",code_decimal:"&#127469;&#127482;",category:"f",emoji_order:"2291"},{name:"flag-ic",unicode:"1f1ee-1f1e8",shortname:":flag-ic:",code_decimal:"&#127470;&#127464;",category:"f",emoji_order:"2292"},{name:"flag-id",unicode:"1f1ee-1f1e9",shortname:":flag-id:",code_decimal:"&#127470;&#127465;",category:"f",emoji_order:"2293"},{name:"flag-ie",unicode:"1f1ee-1f1ea",shortname:":flag-ie:",code_decimal:"&#127470;&#127466;",category:"f",emoji_order:"2294"},{name:"flag-il",unicode:"1f1ee-1f1f1",shortname:":flag-il:",code_decimal:"&#127470;&#127473;",category:"f",emoji_order:"2295"},{name:"flag-im",unicode:"1f1ee-1f1f2",shortname:":flag-im:",code_decimal:"&#127470;&#127474;",category:"f",emoji_order:"2296"},{name:"flag-in",unicode:"1f1ee-1f1f3",shortname:":flag-in:",code_decimal:"&#127470;&#127475;",category:"f",emoji_order:"2297"},{name:"flag-io",unicode:"1f1ee-1f1f4",shortname:":flag-io:",code_decimal:"&#127470;&#127476;",category:"f",emoji_order:"2298"},{name:"flag-iq",unicode:"1f1ee-1f1f6",shortname:":flag-iq:",code_decimal:"&#127470;&#127478;",category:"f",emoji_order:"2299"},{name:"flag-ir",unicode:"1f1ee-1f1f7",shortname:":flag-ir:",code_decimal:"&#127470;&#127479;",category:"f",emoji_order:"2300"},{name:"flag-is",unicode:"1f1ee-1f1f8",shortname:":flag-is:",code_decimal:"&#127470;&#127480;",category:"f",emoji_order:"2301"},{name:"flag-it",unicode:"1f1ee-1f1f9",shortname:":flag-it:",code_decimal:"&#127470;&#127481;",category:"f",emoji_order:"2302"},{name:"flag-je",unicode:"1f1ef-1f1ea",shortname:":flag-je:",code_decimal:"&#127471;&#127466;",category:"f",emoji_order:"2303"},{name:"flag-jm",unicode:"1f1ef-1f1f2",shortname:":flag-jm:",code_decimal:"&#127471;&#127474;",category:"f",emoji_order:"2304"},{name:"flag-jo",unicode:"1f1ef-1f1f4",shortname:":flag-jo:",code_decimal:"&#127471;&#127476;",category:"f",emoji_order:"2305"},{name:"flag-jp",unicode:"1f1ef-1f1f5",shortname:":flag-jp:",code_decimal:"&#127471;&#127477;",category:"f",emoji_order:"2306"},{name:"flag-ke",unicode:"1f1f0-1f1ea",shortname:":flag-ke:",code_decimal:"&#127472;&#127466;",category:"f",emoji_order:"2307"},{name:"flag-kg",unicode:"1f1f0-1f1ec",shortname:":flag-kg:",code_decimal:"&#127472;&#127468;",category:"f",emoji_order:"2308"},{name:"flag-kh",unicode:"1f1f0-1f1ed",shortname:":flag-kh:",code_decimal:"&#127472;&#127469;",category:"f",emoji_order:"2309"},{name:"flag-ki",unicode:"1f1f0-1f1ee",shortname:":flag-ki:",code_decimal:"&#127472;&#127470;",category:"f",emoji_order:"2310"},{name:"flag-km",unicode:"1f1f0-1f1f2",shortname:":flag-km:",code_decimal:"&#127472;&#127474;",category:"f",emoji_order:"2311"},{name:"flag-kn",unicode:"1f1f0-1f1f3",shortname:":flag-kn:",code_decimal:"&#127472;&#127475;",category:"f",emoji_order:"2312"},{name:"flag-kp",unicode:"1f1f0-1f1f5",shortname:":flag-kp:",code_decimal:"&#127472;&#127477;",category:"f",emoji_order:"2313"},{name:"flag-kr",unicode:"1f1f0-1f1f7",shortname:":flag-kr:",code_decimal:"&#127472;&#127479;",category:"f",emoji_order:"2314"},{name:"flag-kw",unicode:"1f1f0-1f1fc",shortname:":flag-kw:",code_decimal:"&#127472;&#127484;",category:"f",emoji_order:"2315"},{name:"flag-ky",unicode:"1f1f0-1f1fe",shortname:":flag-ky:",code_decimal:"&#127472;&#127486;",category:"f",emoji_order:"2316"},{name:"flag-kz",unicode:"1f1f0-1f1ff",shortname:":flag-kz:",code_decimal:"&#127472;&#127487;",category:"f",emoji_order:"2317"},{name:"flag-la",unicode:"1f1f1-1f1e6",shortname:":flag-la:",code_decimal:"&#127473;&#127462;",category:"f",emoji_order:"2318"},{name:"flag-lb",unicode:"1f1f1-1f1e7",shortname:":flag-lb:",code_decimal:"&#127473;&#127463;",category:"f",emoji_order:"2319"},{name:"flag-lc",unicode:"1f1f1-1f1e8",shortname:":flag-lc:",code_decimal:"&#127473;&#127464;",category:"f",emoji_order:"2320"},{name:"flag-li",unicode:"1f1f1-1f1ee",shortname:":flag-li:",code_decimal:"&#127473;&#127470;",category:"f",emoji_order:"2321"},{name:"flag-lk",unicode:"1f1f1-1f1f0",shortname:":flag-lk:",code_decimal:"&#127473;&#127472;",category:"f",emoji_order:"2322"},{name:"flag-lr",unicode:"1f1f1-1f1f7",shortname:":flag-lr:",code_decimal:"&#127473;&#127479;",category:"f",emoji_order:"2323"},{name:"flag-ls",unicode:"1f1f1-1f1f8",shortname:":flag-ls:",code_decimal:"&#127473;&#127480;",category:"f",emoji_order:"2324"},{name:"flag-lt",unicode:"1f1f1-1f1f9",shortname:":flag-lt:",code_decimal:"&#127473;&#127481;",category:"f",emoji_order:"2325"},{name:"flag-lu",unicode:"1f1f1-1f1fa",shortname:":flag-lu:",code_decimal:"&#127473;&#127482;",category:"f",emoji_order:"2326"},{name:"flag-lv",unicode:"1f1f1-1f1fb",shortname:":flag-lv:",code_decimal:"&#127473;&#127483;",category:"f",emoji_order:"2327"},{name:"flag-ly",unicode:"1f1f1-1f1fe",shortname:":flag-ly:",code_decimal:"&#127473;&#127486;",category:"f",emoji_order:"2328"},{name:"flag-ma",unicode:"1f1f2-1f1e6",shortname:":flag-ma:",code_decimal:"&#127474;&#127462;",category:"f",emoji_order:"2329"},{name:"flag-mc",unicode:"1f1f2-1f1e8",shortname:":flag-mc:",code_decimal:"&#127474;&#127464;",category:"f",emoji_order:"2330"},{name:"flag-md",unicode:"1f1f2-1f1e9",shortname:":flag-md:",code_decimal:"&#127474;&#127465;",category:"f",emoji_order:"2331"},{name:"flag-me",unicode:"1f1f2-1f1ea",shortname:":flag-me:",code_decimal:"&#127474;&#127466;",category:"f",emoji_order:"2332"},{name:"flag-mf",unicode:"1f1f2-1f1eb",shortname:":flag-mf:",code_decimal:"&#127474;&#127467;",category:"f",emoji_order:"2333"},{name:"flag-mg",unicode:"1f1f2-1f1ec",shortname:":flag-mg:",code_decimal:"&#127474;&#127468;",category:"f",emoji_order:"2334"},{name:"flag-mh",unicode:"1f1f2-1f1ed",shortname:":flag-mh:",code_decimal:"&#127474;&#127469;",category:"f",emoji_order:"2335"},{name:"flag-mk",unicode:"1f1f2-1f1f0",shortname:":flag-mk:",code_decimal:"&#127474;&#127472;",category:"f",emoji_order:"2336"},{name:"flag-ml",unicode:"1f1f2-1f1f1",shortname:":flag-ml:",code_decimal:"&#127474;&#127473;",category:"f",emoji_order:"2337"},{name:"flag-mm",unicode:"1f1f2-1f1f2",shortname:":flag-mm:",code_decimal:"&#127474;&#127474;",category:"f",emoji_order:"2338"},{name:"flag-mn",unicode:"1f1f2-1f1f3",shortname:":flag-mn:",code_decimal:"&#127474;&#127475;",category:"f",emoji_order:"2339"},{name:"flag-mo",unicode:"1f1f2-1f1f4",shortname:":flag-mo:",code_decimal:"&#127474;&#127476;",category:"f",emoji_order:"2340"},{name:"flag-mp",unicode:"1f1f2-1f1f5",shortname:":flag-mp:",code_decimal:"&#127474;&#127477;",category:"f",emoji_order:"2341"},{name:"flag-mq",unicode:"1f1f2-1f1f6",shortname:":flag-mq:",code_decimal:"&#127474;&#127478;",category:"f",emoji_order:"2342"},{name:"flag-mr",unicode:"1f1f2-1f1f7",shortname:":flag-mr:",code_decimal:"&#127474;&#127479;",category:"f",emoji_order:"2343"},{name:"flag-ms",unicode:"1f1f2-1f1f8",shortname:":flag-ms:",code_decimal:"&#127474;&#127480;",category:"f",emoji_order:"2344"},{name:"flag-mt",unicode:"1f1f2-1f1f9",shortname:":flag-mt:",code_decimal:"&#127474;&#127481;",category:"f",emoji_order:"2345"},{name:"flag-mu",unicode:"1f1f2-1f1fa",shortname:":flag-mu:",code_decimal:"&#127474;&#127482;",category:"f",emoji_order:"2346"},{name:"flag-mv",unicode:"1f1f2-1f1fb",shortname:":flag-mv:",code_decimal:"&#127474;&#127483;",category:"f",emoji_order:"2347"},{name:"flag-mw",unicode:"1f1f2-1f1fc",shortname:":flag-mw:",code_decimal:"&#127474;&#127484;",category:"f",emoji_order:"2348"},{name:"flag-mx",unicode:"1f1f2-1f1fd",shortname:":flag-mx:",code_decimal:"&#127474;&#127485;",category:"f",emoji_order:"2349"},{name:"flag-my",unicode:"1f1f2-1f1fe",shortname:":flag-my:",code_decimal:"&#127474;&#127486;",category:"f",emoji_order:"2350"},{name:"flag-mz",unicode:"1f1f2-1f1ff",shortname:":flag-mz:",code_decimal:"&#127474;&#127487;",category:"f",emoji_order:"2351"},{name:"flag-na",unicode:"1f1f3-1f1e6",shortname:":flag-na:",code_decimal:"&#127475;&#127462;",category:"f",emoji_order:"2352"},{name:"flag-nc",unicode:"1f1f3-1f1e8",shortname:":flag-nc:",code_decimal:"&#127475;&#127464;",category:"f",emoji_order:"2353"},{name:"flag-ne",unicode:"1f1f3-1f1ea",shortname:":flag-ne:",code_decimal:"&#127475;&#127466;",category:"f",emoji_order:"2354"},{name:"flag-nf",unicode:"1f1f3-1f1eb",shortname:":flag-nf:",code_decimal:"&#127475;&#127467;",category:"f",emoji_order:"2355"},{name:"flag-ng",unicode:"1f1f3-1f1ec",shortname:":flag-ng:",code_decimal:"&#127475;&#127468;",category:"f",emoji_order:"2356"},{name:"flag-ni",unicode:"1f1f3-1f1ee",shortname:":flag-ni:",code_decimal:"&#127475;&#127470;",category:"f",emoji_order:"2357"},{name:"flag-nl",unicode:"1f1f3-1f1f1",shortname:":flag-nl:",code_decimal:"&#127475;&#127473;",category:"f",emoji_order:"2358"},{name:"flag-no",unicode:"1f1f3-1f1f4",shortname:":flag-no:",code_decimal:"&#127475;&#127476;",category:"f",emoji_order:"2359"},{name:"flag-np",unicode:"1f1f3-1f1f5",shortname:":flag-np:",code_decimal:"&#127475;&#127477;",category:"f",emoji_order:"2360"},{name:"flag-nr",unicode:"1f1f3-1f1f7",shortname:":flag-nr:",code_decimal:"&#127475;&#127479;",category:"f",emoji_order:"2361"},{name:"flag-nu",unicode:"1f1f3-1f1fa",shortname:":flag-nu:",code_decimal:"&#127475;&#127482;",category:"f",emoji_order:"2362"},{name:"flag-nz",unicode:"1f1f3-1f1ff",shortname:":flag-nz:",code_decimal:"&#127475;&#127487;",category:"f",emoji_order:"2363"},{name:"flag-om",unicode:"1f1f4-1f1f2",shortname:":flag-om:",code_decimal:"&#127476;&#127474;",category:"f",emoji_order:"2364"},{name:"flag-pa",unicode:"1f1f5-1f1e6",shortname:":flag-pa:",code_decimal:"&#127477;&#127462;",category:"f",emoji_order:"2365"},{name:"flag-pe",unicode:"1f1f5-1f1ea",shortname:":flag-pe:",code_decimal:"&#127477;&#127466;",category:"f",emoji_order:"2366"},{name:"flag-pf",unicode:"1f1f5-1f1eb",shortname:":flag-pf:",code_decimal:"&#127477;&#127467;",category:"f",emoji_order:"2367"},{name:"flag-pg",unicode:"1f1f5-1f1ec",shortname:":flag-pg:",code_decimal:"&#127477;&#127468;",category:"f",emoji_order:"2368"},{name:"flag-ph",unicode:"1f1f5-1f1ed",shortname:":flag-ph:",code_decimal:"&#127477;&#127469;",category:"f",emoji_order:"2369"},{name:"flag-pk",unicode:"1f1f5-1f1f0",shortname:":flag-pk:",code_decimal:"&#127477;&#127472;",category:"f",emoji_order:"2370"},{name:"flag-pl",unicode:"1f1f5-1f1f1",shortname:":flag-pl:",code_decimal:"&#127477;&#127473;",category:"f",emoji_order:"2371"},{name:"flag-pm",unicode:"1f1f5-1f1f2",shortname:":flag-pm:",code_decimal:"&#127477;&#127474;",category:"f",emoji_order:"2372"},{name:"flag-pn",unicode:"1f1f5-1f1f3",shortname:":flag-pn:",code_decimal:"&#127477;&#127475;",category:"f",emoji_order:"2373"},{name:"flag-pr",unicode:"1f1f5-1f1f7",shortname:":flag-pr:",code_decimal:"&#127477;&#127479;",category:"f",emoji_order:"2374"},{name:"flag-ps",unicode:"1f1f5-1f1f8",shortname:":flag-ps:",code_decimal:"&#127477;&#127480;",category:"f",emoji_order:"2375"},{name:"flag-pt",unicode:"1f1f5-1f1f9",shortname:":flag-pt:",code_decimal:"&#127477;&#127481;",category:"f",emoji_order:"2376"},{name:"flag-pw",unicode:"1f1f5-1f1fc",shortname:":flag-pw:",code_decimal:"&#127477;&#127484;",category:"f",emoji_order:"2377"},{name:"flag-py",unicode:"1f1f5-1f1fe",shortname:":flag-py:",code_decimal:"&#127477;&#127486;",category:"f",emoji_order:"2378"},{name:"flag-qa",unicode:"1f1f6-1f1e6",shortname:":flag-qa:",code_decimal:"&#127478;&#127462;",category:"f",emoji_order:"2379"},{name:"flag-re",unicode:"1f1f7-1f1ea",shortname:":flag-re:",code_decimal:"&#127479;&#127466;",category:"f",emoji_order:"2380"},{name:"flag-ro",unicode:"1f1f7-1f1f4",shortname:":flag-ro:",code_decimal:"&#127479;&#127476;",category:"f",emoji_order:"2381"},{name:"flag-rs",unicode:"1f1f7-1f1f8",shortname:":flag-rs:",code_decimal:"&#127479;&#127480;",category:"f",emoji_order:"2382"},{name:"flag-ru",unicode:"1f1f7-1f1fa",shortname:":flag-ru:",code_decimal:"&#127479;&#127482;",category:"f",emoji_order:"2383"},{name:"flag-rw",unicode:"1f1f7-1f1fc",shortname:":flag-rw:",code_decimal:"&#127479;&#127484;",category:"f",emoji_order:"2384"},{name:"flag-sa",unicode:"1f1f8-1f1e6",shortname:":flag-sa:",code_decimal:"&#127480;&#127462;",category:"f",emoji_order:"2385"},{name:"flag-sb",unicode:"1f1f8-1f1e7",shortname:":flag-sb:",code_decimal:"&#127480;&#127463;",category:"f",emoji_order:"2386"},{name:"flag-sc",unicode:"1f1f8-1f1e8",shortname:":flag-sc:",code_decimal:"&#127480;&#127464;",category:"f",emoji_order:"2387"},{name:"flag-sd",unicode:"1f1f8-1f1e9",shortname:":flag-sd:",code_decimal:"&#127480;&#127465;",category:"f",emoji_order:"2388"},{name:"flag-se",unicode:"1f1f8-1f1ea",shortname:":flag-se:",code_decimal:"&#127480;&#127466;",category:"f",emoji_order:"2389"},{name:"flag-sg",unicode:"1f1f8-1f1ec",shortname:":flag-sg:",code_decimal:"&#127480;&#127468;",category:"f",emoji_order:"2390"},{name:"flag-sh",unicode:"1f1f8-1f1ed",shortname:":flag-sh:",code_decimal:"&#127480;&#127469;",category:"f",emoji_order:"2391"},{name:"flag-si",unicode:"1f1f8-1f1ee",shortname:":flag-si:",code_decimal:"&#127480;&#127470;",category:"f",emoji_order:"2392"},{name:"flag-sj",unicode:"1f1f8-1f1ef",shortname:":flag-sj:",code_decimal:"&#127480;&#127471;",category:"f",emoji_order:"2393"},{name:"flag-sk",unicode:"1f1f8-1f1f0",shortname:":flag-sk:",code_decimal:"&#127480;&#127472;",category:"f",emoji_order:"2394"},{name:"flag-sl",unicode:"1f1f8-1f1f1",shortname:":flag-sl:",code_decimal:"&#127480;&#127473;",category:"f",emoji_order:"2395"},{name:"flag-sm",unicode:"1f1f8-1f1f2",shortname:":flag-sm:",code_decimal:"&#127480;&#127474;",category:"f",emoji_order:"2396"},{name:"flag-sn",unicode:"1f1f8-1f1f3",shortname:":flag-sn:",code_decimal:"&#127480;&#127475;",category:"f",emoji_order:"2397"},{name:"flag-so",unicode:"1f1f8-1f1f4",shortname:":flag-so:",code_decimal:"&#127480;&#127476;",category:"f",emoji_order:"2398"},{name:"flag-sr",unicode:"1f1f8-1f1f7",shortname:":flag-sr:",code_decimal:"&#127480;&#127479;",category:"f",emoji_order:"2399"},{name:"flag-ss",unicode:"1f1f8-1f1f8",shortname:":flag-ss:",code_decimal:"&#127480;&#127480;",category:"f",emoji_order:"2400"},{name:"flag-st",unicode:"1f1f8-1f1f9",shortname:":flag-st:",code_decimal:"&#127480;&#127481;",category:"f",emoji_order:"2401"},{name:"flag-sv",unicode:"1f1f8-1f1fb",shortname:":flag-sv:",code_decimal:"&#127480;&#127483;",category:"f",emoji_order:"2402"},{name:"flag-sx",unicode:"1f1f8-1f1fd",shortname:":flag-sx:",code_decimal:"&#127480;&#127485;",category:"f",emoji_order:"2403"},{name:"flag-sy",unicode:"1f1f8-1f1fe",shortname:":flag-sy:",code_decimal:"&#127480;&#127486;",category:"f",emoji_order:"2404"},{name:"flag-sz",unicode:"1f1f8-1f1ff",shortname:":flag-sz:",code_decimal:"&#127480;&#127487;",category:"f",emoji_order:"2405"},{name:"flag-ta",unicode:"1f1f9-1f1e6",shortname:":flag-ta:",code_decimal:"&#127481;&#127462;",category:"f",emoji_order:"2406"},{name:"flag-tc",unicode:"1f1f9-1f1e8",shortname:":flag-tc:",code_decimal:"&#127481;&#127464;",category:"f",emoji_order:"2407"},{name:"flag-td",unicode:"1f1f9-1f1e9",shortname:":flag-td:",code_decimal:"&#127481;&#127465;",category:"f",emoji_order:"2408"},{name:"flag-tf",unicode:"1f1f9-1f1eb",shortname:":flag-tf:",code_decimal:"&#127481;&#127467;",category:"f",emoji_order:"2409"},{name:"flag-tg",unicode:"1f1f9-1f1ec",shortname:":flag-tg:",code_decimal:"&#127481;&#127468;",category:"f",emoji_order:"2410"},{name:"flag-th",unicode:"1f1f9-1f1ed",shortname:":flag-th:",code_decimal:"&#127481;&#127469;",category:"f",emoji_order:"2411"},{name:"flag-tj",unicode:"1f1f9-1f1ef",shortname:":flag-tj:",code_decimal:"&#127481;&#127471;",category:"f",emoji_order:"2412"},{name:"flag-tk",unicode:"1f1f9-1f1f0",shortname:":flag-tk:",code_decimal:"&#127481;&#127472;",category:"f",emoji_order:"2413"},{name:"flag-tl",unicode:"1f1f9-1f1f1",shortname:":flag-tl:",code_decimal:"&#127481;&#127473;",category:"f",emoji_order:"2414"},{name:"flag-tm",unicode:"1f1f9-1f1f2",shortname:":flag-tm:",code_decimal:"&#127481;&#127474;",category:"f",emoji_order:"2415"},{name:"flag-tn",unicode:"1f1f9-1f1f3",shortname:":flag-tn:",code_decimal:"&#127481;&#127475;",category:"f",emoji_order:"2416"},{name:"flag-to",unicode:"1f1f9-1f1f4",shortname:":flag-to:",code_decimal:"&#127481;&#127476;",category:"f",emoji_order:"2417"},{name:"flag-tr",unicode:"1f1f9-1f1f7",shortname:":flag-tr:",code_decimal:"&#127481;&#127479;",category:"f",emoji_order:"2418"},{name:"flag-tt",unicode:"1f1f9-1f1f9",shortname:":flag-tt:",code_decimal:"&#127481;&#127481;",category:"f",emoji_order:"2419"},{name:"flag-tv",unicode:"1f1f9-1f1fb",shortname:":flag-tv:",code_decimal:"&#127481;&#127483;",category:"f",emoji_order:"2420"},{name:"flag-tw",unicode:"1f1f9-1f1fc",shortname:":flag-tw:",code_decimal:"&#127481;&#127484;",category:"f",emoji_order:"2421"},{name:"flag-tz",unicode:"1f1f9-1f1ff",shortname:":flag-tz:",code_decimal:"&#127481;&#127487;",category:"f",emoji_order:"2422"},{name:"flag-ua",unicode:"1f1fa-1f1e6",shortname:":flag-ua:",code_decimal:"&#127482;&#127462;",category:"f",emoji_order:"2423"},{name:"flag-ug",unicode:"1f1fa-1f1ec",shortname:":flag-ug:",code_decimal:"&#127482;&#127468;",category:"f",emoji_order:"2424"},{name:"flag-um",unicode:"1f1fa-1f1f2",shortname:":flag-um:",code_decimal:"&#127482;&#127474;",category:"f",emoji_order:"2425"},{name:"flag-us",unicode:"1f1fa-1f1f8",shortname:":flag-us:",code_decimal:"&#127482;&#127480;",category:"f",emoji_order:"2427"},{name:"flag-uy",unicode:"1f1fa-1f1fe",shortname:":flag-uy:",code_decimal:"&#127482;&#127486;",category:"f",emoji_order:"2428"},{name:"flag-uz",unicode:"1f1fa-1f1ff",shortname:":flag-uz:",code_decimal:"&#127482;&#127487;",category:"f",emoji_order:"2429"},{name:"flag-va",unicode:"1f1fb-1f1e6",shortname:":flag-va:",code_decimal:"&#127483;&#127462;",category:"f",emoji_order:"2430"},{name:"flag-vc",unicode:"1f1fb-1f1e8",shortname:":flag-vc:",code_decimal:"&#127483;&#127464;",category:"f",emoji_order:"2431"},{name:"flag-ve",unicode:"1f1fb-1f1ea",shortname:":flag-ve:",code_decimal:"&#127483;&#127466;",category:"f",emoji_order:"2432"},{name:"flag-vg",unicode:"1f1fb-1f1ec",shortname:":flag-vg:",code_decimal:"&#127483;&#127468;",category:"f",emoji_order:"2433"},{name:"flag-vi",unicode:"1f1fb-1f1ee",shortname:":flag-vi:",code_decimal:"&#127483;&#127470;",category:"f",emoji_order:"2434"},{name:"flag-vn",unicode:"1f1fb-1f1f3",shortname:":flag-vn:",code_decimal:"&#127483;&#127475;",category:"f",emoji_order:"2435"},{name:"flag-vu",unicode:"1f1fb-1f1fa",shortname:":flag_vu:",code_decimal:"&#127483;&#127482;",category:"f",emoji_order:"2436"},{name:"flag-wf",unicode:"1f1fc-1f1eb",shortname:":flag_wf:",code_decimal:"&#127484;&#127467;",category:"f",emoji_order:"2437"},{name:"flag-ws",unicode:"1f1fc-1f1f8",shortname:":flag_ws:",code_decimal:"&#127484;&#127480;",category:"f",emoji_order:"2438"},{name:"flag-xk",unicode:"1f1fd-1f1f0",shortname:":flag_xk:",code_decimal:"&#127485;&#127472;",category:"f",emoji_order:"2439"},{name:"flag-ye",unicode:"1f1fe-1f1ea",shortname:":flag_ye:",code_decimal:"&#127486;&#127466;",category:"f",emoji_order:"2440"},{name:"flag-yt",unicode:"1f1fe-1f1f9",shortname:":flag_yt:",code_decimal:"&#127486;&#127481;",category:"f",emoji_order:"2441"},{name:"flag-za",unicode:"1f1ff-1f1e6",shortname:":flag_za:",code_decimal:"&#127487;&#127462;",category:"f",emoji_order:"2442"},{name:"flag-zm",unicode:"1f1ff-1f1f2",shortname:":flag_zm:",code_decimal:"&#127487;&#127474;",category:"f",emoji_order:"2443"},{name:"flag-zw",unicode:"1f1ff-1f1fc",shortname:":flag_zw:",code_decimal:"&#127487;&#127484;",category:"f",emoji_order:"2444"},{name:"speech",unicode:"1f600",shortname:":speech:",code_decimal:"&#128172;",category:"p",emoji_order:"1"}],a={};i.forEach((function(e){a[e.name]=e}));var s=a;function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(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){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=o.a.import("blots/embed"),m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),A(this,f(t).apply(this,arguments))}var n,r,o;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&&h(e,t)}(t,p),n=t,o=[{key:"create",value:function(e){var n=d(f(t),"create",this).call(this);if("object"===l(e))t.buildSpan(e,n);else if("string"==typeof e){var r=s[e];r&&t.buildSpan(r,n)}return n}},{key:"value",value:function(e){return e.dataset.name}},{key:"buildSpan",value:function(e,n){n.setAttribute("data-name",e.name);var r=document.createElement("span");r.classList.add(this.emojiClass),r.classList.add(this.emojiPrefix+e.name),r.innerText=String.fromCodePoint.apply(String,c(t.parseUnicode(e.unicode))),n.appendChild(r)}},{key:"parseUnicode",value:function(e){return e.split("-").map((function(e){return parseInt(e,16)}))}}],(r=null)&&u(n.prototype,r),o&&u(n,o),t}();m.blotName="emoji",m.className="ql-emojiblot",m.tagName="span",m.emojiClass="ap",m.emojiPrefix="ap-";var g=m,v=n(1),y=n.n(v);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=o.a.import("core/module"),E=function(e){function t(e,n){var r,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,(r=!(i=_(t).call(this,e,n))||"object"!==b(i)&&"function"!=typeof i?x(o):i).emojiList=n.emojiList,r.fuse=new y.a(n.emojiList,n.fuse),r.quill=e,r.onClose=n.onClose,r.onOpen=n.onOpen,r.container=document.createElement("ul"),r.container.classList.add("emoji_completions"),r.quill.container.appendChild(r.container),r.container.style.position="absolute",r.container.style.display="none",r.onSelectionChange=r.maybeUnfocus.bind(x(r)),r.onTextChange=r.update.bind(x(r)),r.open=!1,r.atIndex=null,r.focusedButton=null,r.isWhiteSpace=function(e){var t=!1;return/\s/.test(e)&&(t=!0),t},e.keyboard.addBinding({key:186,shiftKey:!0},r.triggerPicker.bind(x(r))),e.keyboard.addBinding({key:59,shiftKey:!0},r.triggerPicker.bind(x(r))),e.keyboard.addBinding({key:39,collapsed:!0},r.handleArrow.bind(x(r))),e.keyboard.addBinding({key:40,collapsed:!0},r.handleArrow.bind(x(r))),r}var n,r,i;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&&B(e,t)}(t,C),n=t,(r=[{key:"triggerPicker",value:function(e,t){if(this.open)return!0;0<e.length&&this.quill.deleteText(e.index,e.length,o.a.sources.USER),this.quill.insertText(e.index,":","emoji-shortname",o.a.sources.USER);var n=this.quill.getBounds(e.index);this.quill.setSelection(e.index+1,o.a.sources.SILENT),this.atIndex=e.index,n.left+250>this.quill.container.offsetWidth?this.container.style.left=n.left-250+"px":this.container.style.left=n.left+"px",this.container.style.top=n.top+n.height+"px",this.open=!0,this.quill.on("text-change",this.onTextChange),this.quill.once("selection-change",this.onSelectionChange),this.onOpen&&this.onOpen()}},{key:"handleArrow",value:function(){if(!this.open)return!0;this.buttons[0].classList.remove("emoji-active"),this.buttons[0].focus(),1<this.buttons.length&&this.buttons[1].focus()}},{key:"update",value:function(){var e=this.quill.getSelection().index;if(this.atIndex>=e)return this.close(null);this.query=this.quill.getText(this.atIndex+1,e-this.atIndex-1);try{if(event&&this.isWhiteSpace(this.query))return void this.close(null)}catch(e){console.warn(e)}this.query=this.query.trim();var t=this.fuse.search(this.query);t.sort((function(e,t){return e.emoji_order-t.emoji_order})),this.query.length<this.options.fuse.minMatchCharLength||0===t.length?this.container.style.display="none":(15<t.length&&(t=t.slice(0,15)),this.renderCompletions(t))}},{key:"maybeUnfocus",value:function(){this.container.querySelector("*:focus")||this.close(null)}},{key:"renderCompletions",value:function(e){var t=this;try{if(event){if("Enter"===event.key||13===event.keyCode)return this.close(e[0],1),void(this.container.style.display="none");if("Tab"===event.key||9===event.keyCode)return this.quill.disable(),this.buttons[0].classList.remove("emoji-active"),void this.buttons[1].focus()}}catch(e){console.warn(e)}for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild);var n=Array(e.length);if(this.buttons=n,e.forEach((function(e,r){var o,i,a=j("li",{},j("button",{type:"button"},j("span",{className:"button-emoji ap ap-"+e.name,innerHTML:e.code_decimal}),j("span",{className:"unmatched"},e.shortname)));t.container.appendChild(a),n[r]=a.firstChild,n[r].addEventListener("keydown",(o=r,i=e,function(e){if("ArrowRight"===e.key||39===e.keyCode)e.preventDefault(),n[Math.min(n.length-1,o+1)].focus();else if("Tab"===e.key||9===e.keyCode){if(e.preventDefault(),o+1===n.length)return void n[0].focus();n[Math.min(n.length-1,o+1)].focus()}else"ArrowLeft"===e.key||37===e.keyCode?(e.preventDefault(),n[Math.max(0,o-1)].focus()):"ArrowDown"===e.key||40===e.keyCode?(e.preventDefault(),n[Math.min(n.length-1,o+1)].focus()):"ArrowUp"===e.key||38===e.keyCode?(e.preventDefault(),n[Math.max(0,o-1)].focus()):"Enter"!==e.key&&13!==e.keyCode&&" "!==e.key&&32!==e.keyCode&&"Tab"!==e.key&&9!==e.keyCode||(e.preventDefault(),t.quill.enable(),t.close(i))})),n[r].addEventListener("mousedown",(function(){return t.close(e)})),n[r].addEventListener("focus",(function(){return t.focusedButton=r})),n[r].addEventListener("unfocus",(function(){return t.focusedButton=null}))})),this.container.style.display="block",this.quill.container.classList.contains("top-emoji")){var r,o=this.container.querySelectorAll("li");for(r=0;r<o.length;r++)o[r].style.display="block";window.innerHeight/2<this.quill.container.getBoundingClientRect().top&&0<this.container.offsetHeight&&(this.container.style.top="-"+this.container.offsetHeight+"px")}n[0].classList.add("emoji-active")}},{key:"close",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;for(this.quill.enable(),this.container.style.display="none";this.container.firstChild;)this.container.removeChild(this.container.firstChild);this.quill.off("selection-change",this.onSelectionChange),this.quill.off("text-change",this.onTextChange),e&&(this.quill.deleteText(this.atIndex,this.query.length+1+n,o.a.sources.USER),this.quill.insertEmbed(this.atIndex,"emoji",e,o.a.sources.USER),setTimeout((function(){return t.quill.setSelection(t.atIndex+1)}),0)),this.quill.focus(),this.open=!1,this.onClose&&this.onClose(e)}}])&&w(n.prototype,r),i&&w(n,i),t}();function j(e,t){var n=document.createElement(e);Object.keys(t).forEach((function(e){return n[e]=t[e]}));for(var r=arguments.length,o=new Array(2<r?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return o.forEach((function(e){"string"==typeof e&&(e=document.createTextNode(e)),n.appendChild(e)})),n}E.DEFAULTS={emojiList:i,fuse:{shouldSort:!0,threshold:.1,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["shortname"]}};var k=E;function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(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 N(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}o.a.import("delta");var P=o.a.import("core/module"),L=function(e){function t(e,n){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=N(this,F(t).call(this,e,n))).quill=e,r.toolbar=e.getModule("toolbar"),void 0!==r.toolbar&&r.toolbar.addHandler("emoji",r.checkPalatteExist);var o=document.getElementsByClassName("ql-emoji");return o&&[].slice.call(o).forEach((function(e){e.innerHTML=n.buttonIcon})),r}var n,r,o;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&&I(e,t)}(t,P),n=t,(r=[{key:"checkPalatteExist",value:function(){var e,t,n=this.quill;e=n,(t=document.getElementById("emoji-palette"))?t.remove():function(e){var t=document.createElement("div"),n=(document.querySelector(".ql-toolbar"),e.getSelection()),r=e.getBounds(n.index);e.container.appendChild(t);var o=e.container.offsetWidth/2,i=e.container.offsetHeight/2,a=(r.left+r.right)/2,s=(r.top+r.bottom)/2;r.left,t.id="emoji-palette",t.style.top=10+r.top+r.height+"px",t.style.left=a<o?a+"px":a-250+"px",t.style.top=s<i?s+"px":s-250+"px";var c=document.createElement("div");c.id="tab-toolbar",t.appendChild(c);var l=document.createElement("div");l.id="tab-panel",t.appendChild(l);var u=document.createElement("ul");if(c.appendChild(u),null===document.getElementById("emoji-close-div")){var A=document.createElement("div");A.id="emoji-close-div",A.addEventListener("click",T,!1),document.getElementsByTagName("body")[0].appendChild(A)}else document.getElementById("emoji-close-div").style.display="block";[{type:"p",name:"people",content:'<div class="i-people"></div>'},{type:"n",name:"nature",content:'<div class="i-nature"></div>'},{type:"d",name:"food",content:'<div class="i-food"></div>'},{type:"s",name:"symbols",content:'<div class="i-symbols"></div>'},{type:"a",name:"activity",content:'<div class="i-activity"></div>'},{type:"t",name:"travel",content:'<div class="i-travel"></div>'},{type:"o",name:"objects",content:'<div class="i-objects"></div>'},{type:"f",name:"flags",content:'<div class="i-flags"></div>'}].map((function(t){var n=document.createElement("li");n.classList.add("emoji-tab"),n.classList.add("filter-"+t.name);var r=t.content;n.innerHTML=r,n.dataset.filter=t.type,u.appendChild(n);var o=document.querySelector(".filter-"+t.name);o.addEventListener("click",(function(){var t=document.querySelector(".active");t&&t.classList.remove("active"),o.classList.toggle("active"),function(e,t,n){for(;t.firstChild;)t.removeChild(t.firstChild);Q(e.dataset.filter,t,n)}(o,l,e)}))})),Q("p",l,e),document.querySelector(".filter-people").classList.add("active")}(e),this.quill.on("text-change",(function(e,t,r){"user"===r&&(T(),D(n))}))}}])&&O(n.prototype,r),o&&O(n,o),t}();function T(){var e=document.getElementById("emoji-palette");document.getElementById("emoji-close-div").style.display="none",e&&e.remove()}function D(e){return e.getSelection()}function Q(e,t,n){var r=new y.a(i,{shouldSort:!0,matchAllTokens:!0,threshold:.3,location:0,distance:100,maxPatternLength:32,minMatchCharLength:3,keys:["category"]}).search(e);r.sort((function(e,t){return e.emoji_order-t.emoji_order})),n.focus();var a=D(n);r.map((function(e){var r=document.createElement("span"),i=document.createTextNode(e.shortname);r.appendChild(i),r.classList.add("bem"),r.classList.add("bem-"+e.name),r.classList.add("ap"),r.classList.add("ap-"+e.name);var s=""+e.code_decimal;r.innerHTML=s+" ",t.appendChild(r);var c=document.querySelector(".bem-"+e.name);c&&c.addEventListener("click",(function(){(function(e,t){var n=document.createElement(e);Object.keys(t).forEach((function(e){return n[e]=t[e]}));for(var r=arguments.length,o=new Array(2<r?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return o.forEach((function(e){"string"==typeof e&&(e=document.createTextNode(e)),n.appendChild(e)})),n})("span",{className:"ico",innerHTML:e.code_decimal+" "}).innerHTML,n.insertEmbed(a.index,"emoji",e,o.a.sources.USER),setTimeout((function(){return n.setSelection(a.index+1)}),0),T()}))}))}L.DEFAULTS={buttonIcon:'<svg viewbox="0 0 18 18"><circle class="ql-fill" cx="7" cy="7" r="1"></circle><circle class="ql-fill" cx="11" cy="7" r="1"></circle><path class="ql-stroke" d="M7,10a2,2,0,0,0,4,0H7Z"></path><circle class="ql-stroke" cx="9" cy="9" r="6"></circle></svg>'};var U=L;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})(e)}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)}}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}o.a.import("delta");var K=o.a.import("core/module"),V=function(e){function t(e,n){var r,o,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=this,(r=!(i=$(t).call(this,e,n))||"object"!==M(i)&&"function"!=typeof i?H(o):i).quill=e,r.container=document.createElement("div"),r.container.classList.add("textarea-emoji-control"),r.container.style.position="absolute",r.container.innerHTML=n.buttonIcon,r.quill.container.appendChild(r.container),r.container.addEventListener("click",r.checkEmojiBoxExist.bind(H(r)),!1),r}var n,r,o;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&&q(e,t)}(t,K),n=t,(r=[{key:"checkEmojiBoxExist",value:function(){var e=document.getElementById("textarea-emoji");if(e)e.remove();else{var t=document.createElement("div");t.id="textarea-emoji",this.quill.container.appendChild(t);var n=document.createElement("div");n.id="tab-toolbar",t.appendChild(n);var r=document.createElement("ul");if(n.appendChild(r),null===document.getElementById("emoji-close-div")){var o=document.createElement("div");o.id="emoji-close-div",o.addEventListener("click",z,!1),document.getElementsByTagName("body")[0].appendChild(o)}else document.getElementById("emoji-close-div").style.display="block";var i=document.createElement("div");i.id="tab-panel",t.appendChild(i);var a=this.quill;[{type:"p",name:"people",content:'<div class="i-people"></div>'},{type:"n",name:"nature",content:'<div class="i-nature"></div>'},{type:"d",name:"food",content:'<div class="i-food"></div>'},{type:"s",name:"symbols",content:'<div class="i-symbols"></div>'},{type:"a",name:"activity",content:'<div class="i-activity"></div>'},{type:"t",name:"travel",content:'<div class="i-travel"></div>'},{type:"o",name:"objects",content:'<div class="i-objects"></div>'},{type:"f",name:"flags",content:'<div class="i-flags"></div>'}].map((function(e){var t=document.createElement("li");t.classList.add("emoji-tab"),t.classList.add("filter-"+e.name);var n=e.content;t.innerHTML=n,t.dataset.filter=e.type,r.appendChild(t);var o=document.querySelector(".filter-"+e.name);o.addEventListener("click",(function(){var e=document.getElementById("textarea-emoji"),t=e&&e.querySelector(".active");for(t&&t.classList.remove("active"),o.classList.toggle("active");i.firstChild;)i.removeChild(i.firstChild);Z(o.dataset.filter,i,a)}))})),window.innerHeight/2<this.quill.container.getBoundingClientRect().top&&(t.style.top="-250px"),Z("p",i,this.quill),document.querySelector(".filter-people").classList.add("active")}}}])&&R(n.prototype,r),o&&R(n,o),t}();function z(){var e=document.getElementById("textarea-emoji");document.getElementById("emoji-close-div").style.display="none",e&&e.remove()}function Z(e,t,n){var r=new y.a(i,{shouldSort:!0,matchAllTokens:!0,threshold:.3,location:0,distance:100,maxPatternLength:32,minMatchCharLength:3,keys:["category"]}).search(e);r.sort((function(e,t){return e.emoji_order-t.emoji_order})),n.focus();var a=n.getSelection();r.map((function(e){var r=document.createElement("span"),i=document.createTextNode(e.shortname);r.appendChild(i),r.classList.add("bem"),r.classList.add("bem-"+e.name),r.classList.add("ap"),r.classList.add("ap-"+e.name);var s=""+e.code_decimal;r.innerHTML=s+" ",t.appendChild(r);var c=document.querySelector(".bem-"+e.name);c&&c.addEventListener("click",(function(){n.insertEmbed(a.index,"emoji",e,o.a.sources.USER),setTimeout((function(){return n.setSelection(a.index+1)}),0),z()}))}))}V.DEFAULTS={buttonIcon:'<svg viewbox="0 0 18 18"><circle class="ql-fill" cx="7" cy="7" r="1"></circle><circle class="ql-fill" cx="11" cy="7" r="1"></circle><path class="ql-stroke" d="M7,10a2,2,0,0,0,4,0H7Z"></path><circle class="ql-stroke" cx="9" cy="9" r="6"></circle></svg>'};var G=V;n(2),o.a.register({"formats/emoji":g,"modules/emoji-shortname":k,"modules/emoji-toolbar":U,"modules/emoji-textarea":G},!0),t.default={EmojiBlot:g,ShortNameEmoji:k,ToolbarEmoji:U,TextAreaEmoji:G}}]))}(window)},6921:function(e){var t;"undefined"!==typeof self&&self,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),a=n(45),s=n(46),c=n(47),l=n(48),u=n(49),A=n(12),d=n(32),f=n(33),h=n(31),p=n(1),m={Scope:p.Scope,create:p.create,find:p.find,query:p.query,register:p.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:l.default,Scroll:a.default,Block:c.default,Inline:s.default,Text:u.default,Attributor:{Attribute:A.default,Class:d.default,Style:f.default,Store:h.default}};t.default=m},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=o;var i,a={},s={},c={},l={};function u(e,t){var n;if(void 0===t&&(t=i.ANY),"string"===typeof e)n=l[e]||a[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=l.text;else if("number"===typeof e)e&i.LEVEL&i.BLOCK?n=l.block:e&i.LEVEL&i.INLINE&&(n=l.inline);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=s[r[o]])break;n=n||c[e.tagName]}return null==n?null:t&i.LEVEL&n.scope&&t&i.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(i=t.Scope||(t.Scope={})),t.create=function(e,t){var n=u(e);if(null==n)throw new o("Unable to create "+e+" blot");var r=n,i=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:r.create(t);return new r(i,t)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=u,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new o("Invalid definition");if("abstract"===r.blotName)throw new o("Cannot register abstract class");if(l[r.blotName||r.attrName]=r,"string"===typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(s[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var i=Array.isArray(r.tagName)?r.tagName:[r.tagName];i.forEach((function(e){null!=c[e]&&null!=r.className||(c[e]=r)}))}return r}},function(e,t,n){var r=n(51),o=n(11),i=n(3),a=n(20),s=String.fromCharCode(0),c=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};c.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},c.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},c.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},c.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"===typeof n){if("number"===typeof e.delete&&"number"===typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"===typeof n.delete&&null!=e.insert&&(t-=1,"object"!==typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},c.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},c.prototype.filter=function(e){return this.ops.filter(e)},c.prototype.forEach=function(e){this.ops.forEach(e)},c.prototype.map=function(e){return this.ops.map(e)},c.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},c.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},c.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},c.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},c.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o<t&&r.hasNext();){var i;o<e?i=r.next(e-o):(i=r.next(t-o),n.push(i)),o+=a.length(i)}return new c(n)},c.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),r=[],i=n.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),r.push(t.next());i.retain-s>0&&n.next(i.retain-s)}for(var l=new c(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())l.push(n.next());else if("delete"===t.peekType())l.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),A=t.next(u),d=n.next(u);if("number"===typeof d.retain){var f={};"number"===typeof A.retain?f.retain=u:f.insert=A.insert;var h=a.attributes.compose(A.attributes,d.attributes,"number"===typeof A.retain);if(h&&(f.attributes=h),l.push(f),!n.hasNext()&&o(l.ops[l.ops.length-1],f)){var p=new c(t.rest());return l.concat(p).chop()}}else"number"===typeof d.delete&&"number"===typeof A.retain&&l.push(d)}return l.chop()},c.prototype.concat=function(e){var t=new c(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},c.prototype.diff=function(e,t){if(this.ops===e.ops)return new c;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new c,l=r(n[0],n[1],t),u=a.iterator(this.ops),A=a.iterator(e.ops);return l.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(A.peekLength(),t),i.push(A.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),A.peekLength(),t);var s=u.next(n),c=A.next(n);o(s.insert,c.insert)?i.retain(n,a.attributes.diff(s.attributes,c.attributes)):i.push(c).delete(n)}t-=n}})),i.chop()},c.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),r=new c,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=a.length(i)-n.peekLength(),l="string"===typeof i.insert?i.insert.indexOf(t,s)-s:-1;if(l<0)r.push(n.next());else if(l>0)r.push(n.next(l));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new c}}r.length()>0&&e(r,{},o)},c.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),r=a.iterator(e.ops),o=new c;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),s=n.next(i),l=r.next(i);if(s.delete)continue;l.delete?o.push(l):o.retain(i,a.attributes.transform(s.attributes,l.attributes,t))}else o.retain(a.length(n.next()));return o.chop()},c.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.exports=c},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(t in e);return"undefined"===typeof t||n.call(e,t)},c=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,i,u,A=arguments[0],d=1,f=arguments.length,h=!1;for("boolean"===typeof A&&(h=A,A=arguments[1]||{},d=2),(null==A||"object"!==typeof A&&"function"!==typeof A)&&(A={});d<f;++d)if(null!=(t=arguments[d]))for(n in t)r=l(A,n),A!==(o=l(t,n))&&(h&&o&&(s(o)||(i=a(o)))?(i?(i=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},c(A,{name:n,newValue:e(h,u,o)})):"undefined"!==typeof o&&c(A,{name:n,newValue:o}));return A}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=A(n(3)),a=A(n(2)),s=A(n(0)),c=A(n(16)),l=A(n(6)),u=A(n(7));function A(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),r(t,[{key:"attach",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"===typeof n&&n.endsWith("\n")){var i=s.default.create(m.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(s.default.Embed);p.scope=s.default.Scope.BLOCK_BLOT;var m=function(e){function t(e){d(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return h(t,e),r(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),g(t))}),new a.default).insert("\n",g(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,i){n<=0||(s.default.query(r,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,i):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,i),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;i.reduce((function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length}),e+a.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof c.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(s.default.Block);function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:g(e.parent,t))}m.blotName="block",m.tagName="P",m.defaultChild="break",m.allowedChildren=[l.default,s.default.Embed,u.default],t.bubbleFormats=g,t.BlockEmbed=p,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(50);var a=m(n(2)),s=m(n(14)),c=m(n(8)),l=m(n(9)),u=m(n(0)),A=n(15),d=m(A),f=m(n(3)),h=m(n(10)),p=m(n(34));function m(e){return e&&e.__esModule?e:{default: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}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill"),b=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(v(this,e),this.options=w(t,r),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new c.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new d.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(c.default.events.EDITOR_CHANGE,(function(e){e===c.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(c.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;_.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),h.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var o=e.attrName||e.blotName;"string"===typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,i=x(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],_.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;return _.call(this,(function(){var r=n.getSelection(!0),o=new a.default;if(null==r)return o;if(u.default.query(e,u.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,g({},e,t));else{if(0===r.length)return n.selection.format(e,t),o;o=n.editor.formatText(r.index,r.length,g({},e,t))}return n.setSelection(r,c.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(e,t,n,r,i){var a,s=this,c=x(e,t,n,r,i),l=o(c,4);return e=l[0],t=l[1],a=l[2],i=l[3],_.call(this,(function(){return s.editor.formatLine(e,t,a)}),i,e,0)}},{key:"formatText",value:function(e,t,n,r,i){var a,s=this,c=x(e,t,n,r,i),l=o(c,4);return e=l[0],t=l[1],a=l[2],i=l[3],_.call(this,(function(){return s.editor.formatText(e,t,a)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=x(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return _.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),i,t)}},{key:"insertText",value:function(e,t,n,r,i){var a,s=this,c=x(e,0,n,r,i),l=o(c,4);return e=l[0],a=l[2],i=l[3],_.call(this,(function(){return s.editor.insertText(e,t,a)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,i=x(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],_.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return _.call(this,(function(){e=new a.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=x(t,n,r),a=o(i,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new A.Range(t,n),r),r!==c.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return _.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function w(e,t){if((t=(0,f.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=p.default;var n=(0,f.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=b.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,f.default)(!0,{},b.DEFAULTS,{modules:r},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function _(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===c.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,s=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=B(o,s,t):0!==r&&(o=B(o,n,r,t)),this.setSelection(o,c.default.sources.SILENT)),s.length()>0){var l,u,A=[c.default.events.TEXT_CHANGE,s,i,t];(l=this.emitter).emit.apply(l,[c.default.events.EDITOR_CHANGE].concat(A)),t!==c.default.sources.SILENT&&(u=this.emitter).emit.apply(u,A)}return s}function x(e,t,n,o,i){var a={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(i=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(i=o,o=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,i=o):"string"===typeof n&&(null!=o?a[n]=o:i=n),[e,t,a,i=i||c.default.sources.API]}function B(e,t,n,r){if(null==e)return null;var i=void 0,s=void 0;if(t instanceof a.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==c.default.sources.USER)})),u=o(l,2);i=u[0],s=u[1]}else{var d=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===c.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),f=o(d,2);i=f[0],s=f[1]}return new A.Range(i,s-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=c.default.events,b.sources=c.default.sources,b.version="1.3.7",b.imports={delta:a.default,parchment:u.default,"core/module":l.default,"core/theme":p.default},t.expandConfig=w,t.overload=x,t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(7)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"formatAt",value:function(e,n,r,i){if(t.compare(this.statics.blotName,r)<0&&a.default.query(r,a.default.Scope.BLOT)){var s=this.isolate(e,n);i&&s.wrap(r,i)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i)}},{key:"optimize",value:function(e){if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),o=t.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e<n?-1:1}}]),t}(a.default.Inline);u.allowedChildren=[u,a.default.Embed,i.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default.Text);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=a(n(54));function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var c=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",s.error),e}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"emit",value:function(){s.log.apply(s,arguments),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);c.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},c.sources={API:"api",SILENT:"silent",USER:"user"},t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};o.DEFAULTS={},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(t=console)[e].apply(t,i)}}function a(e){return r.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=a.level=function(e){o=e},t.default=a},function(e,t,n){var r=Array.prototype.slice,o=n(52),i=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var l,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(c(e)){if(!c(t))return!1;if(e.length!==t.length)return!1;for(l=0;l<e.length;l++)if(e[l]!==t[l])return!1;return!0}try{var A=o(e),d=o(t)}catch(f){return!1}if(A.length!=d.length)return!1;for(A.sort(),d.sort(),l=A.length-1;l>=0;l--)if(A[l]!=d[l])return!1;for(l=A.length-1;l>=0;l--)if(u=A[l],!a(e[u],t[u],n))return!1;return typeof e===typeof t}(e,t,n))};function s(e){return null===e||void 0===e}function c(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&"function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=A(n(2)),s=A(n(0)),c=A(n(4)),l=A(n(6)),u=A(n(7));function A(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),t}(l.default);p.blotName="code",p.tagName="CODE";var m=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),o(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=r(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,o){if(0!==n&&null!=s.default.query(r,s.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var a=this.newlineIndex(e,!0)+1,c=i-a+1,l=this.isolate(a,c),u=l.next;l.format(r,o),u instanceof t&&u.formatAt(0,e-a+n-c,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(u.default,e),i=r(o,2),a=i[0],s=i[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(c.default);m.blotName="code-block",m.tagName="PRE",m.TAB="  ",t.Code=p,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=g(n(2)),s=g(n(20)),c=g(n(0)),l=g(n(13)),u=g(n(24)),A=n(4),d=g(A),f=g(n(16)),h=g(n(21)),p=g(n(11)),m=g(n(3));function g(e){return e&&e.__esModule?e:{default:e}}var v=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,h.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,h.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new a.default)}(e)).reduce((function(e,a){var l=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),e>=i&&!f.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,f);var h=t.scroll.line(e),p=o(h,2),g=p[0],v=p[1],y=(0,m.default)({},(0,A.bubbleFormats)(g));if(g instanceof d.default){var b=g.descendant(c.default.Leaf,v),w=o(b,1)[0];y=(0,m.default)(y,(0,A.bubbleFormats)(w))}u=s.default.attributes.diff(y,u)||{}}else if("object"===r(a.insert)){var _=Object.keys(a.insert)[0];if(null==_)return e;t.scroll.insertAt(e,_,a.insert[_])}i+=l}return Object.keys(u).forEach((function(n){t.scroll.formatAt(e,l,n,u[n])})),e+l}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),a=t;i.forEach((function(t){var i=t.length();if(t instanceof l.default){var s=e-t.offset(n.scroll),c=t.newlineIndex(s+a)-s+1;t.formatAt(s,c,o,r[o])}else t.format(o,r[o]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,h.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t,o,r[o])})),this.update((new a.default).retain(e).retain(t,(0,h.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=o(e,1)[0];t instanceof d.default?n.push(t):t instanceof c.default.Leaf&&r.push(t)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(c.default.Leaf,e,t));var i=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,A.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=b((0,A.bubbleFormats)(n),t)}return t}));return m.default.apply(m.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t.length,o,r[o])})),this.update((new a.default).retain(e).insert(t,(0,h.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===d.default.blotName&&!(e.children.length>1)&&e.children.head instanceof f.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),i=o(r,2),s=i[0],c=i[1],u=0,A=new a.default;null!=s&&(u=s instanceof l.default?s.newlineIndex(c)-c+1:s.length()-c,A=s.delta().slice(c,c+u-1).insert("\n"));var d=this.getContents(e,t+u).diff((new a.default).insert(n).concat(A)),f=(new a.default).retain(e).concat(d);return this.applyDelta(f)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(v)&&c.default.find(t[0].target)){var o=c.default.find(t[0].target),i=(0,A.bubbleFormats)(o),s=o.offset(this.scroll),l=t[0].oldValue.replace(u.default.CONTENTS,""),d=(new a.default).insert(l),f=(new a.default).insert(o.value()),h=(new a.default).retain(s).concat(d.diff(f,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new a.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,p.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function b(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(0)),a=l(n(21)),s=l(n(11)),c=l(n(8));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=(0,l(n(10)).default)("quill:selection"),f=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;A(this,e),this.index=t,this.length=n},h=function(){function e(t,n){var r=this;A(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,c.default.sources.USER),1)})),this.emitter.on(c.default.events.EDITOR_CHANGE,(function(e,t){e===c.default.events.TEXT_CHANGE&&t.length()>0&&r.update(c.default.sources.SILENT)})),this.emitter.on(c.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(c.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(c.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(o,i,a,s)}})),this.update(c.default.sources.SILENT)}return o(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(c.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,i=this.scroll.leaf(e),a=r(i,2),s=a[0],c=a[1];if(null==s)return null;var l=s.position(c,!0),u=r(l,2);o=u[0],c=u[1];var A=document.createRange();if(t>0){A.setStart(o,c);var d=this.scroll.leaf(e+t),f=r(d,2);if(s=f[0],c=f[1],null==s)return null;var h=s.position(c,!0),p=r(h,2);return o=p[0],c=p[1],A.setEnd(o,c),A.getBoundingClientRect()}var m="left",g=void 0;return o instanceof Text?(c<o.data.length?(A.setStart(o,c),A.setEnd(o,c+1)):(A.setStart(o,c-1),A.setEnd(o,c),m="right"),g=A.getBoundingClientRect()):(g=s.domNode.getBoundingClientRect(),c>0&&(m="right")),{bottom:g.top+g.height,height:g.height,left:g[m],right:g[m],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return d.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map((function(e){var n=r(e,2),o=n[0],a=n[1],s=i.default.find(o,!0),c=s.offset(t.scroll);return 0===a?c:s instanceof i.default.Container?c+s.length():c+s.index(o,a)})),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new f(s,a-s)}},{key:"normalizeNative",value:function(e){if(!p(this.root,e.startContainer)||!e.collapsed&&!p(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var a,s=t.scroll.leaf(e),c=r(s,2),l=c[0],u=c[1],A=l.position(u,0!==n),d=r(A,2);a=d[0],u=d[1],o.push(a,u)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),a=r(i,1)[0],s=a;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,o));s=r(c,1)[0]}if(null!=a&&null!=s){var l=e.getBoundingClientRect();n.top<l.top?e.scrollTop-=l.top-n.top:n.bottom>l.bottom&&(e.scrollTop+=n.bottom-l.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"===typeof t&&(n=t,t=!1),d.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,u(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],l=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=l&&l.native.collapsed&&l.start.node!==this.cursor.textNode&&this.cursor.restore();var A,d=[c.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];(u=this.emitter).emit.apply(u,[c.default.events.EDITOR_CHANGE].concat(d)),e!==c.default.sources.SILENT&&(A=this.emitter).emit.apply(A,d)}}}]),e}();function p(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=f,t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default.Embed);l.blotName="break",l.tagName="BR",t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(44),i=n(30),a=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(r){if(r instanceof a.ParchmentError)return;throw r}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),o=r[0],i=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,i]:o instanceof t?o.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,i))),i-=a})),o},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,o){e.formatAt(t,o,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),o=r[0],i=r[1];if(o)o.insertAt(i,t,n);else{var s=null==n?a.create("text",t):a.create(t,n);this.appendChild(s)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new a.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),o=r[0],i=r[1],a=[[this,e]];return o instanceof t?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],o=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),o.push.apply(o,e.removedNodes))})),o.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=a.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=a.find(e.nextSibling));var r=c(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(i.default);function c(e){var t=a.find(e);if(null==t)try{t=a.create(e)}catch(n){t=a.create(a.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),i=n(31),a=n(17),s=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new i.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=s.query(e);n instanceof o.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var o=e.prototype.wrap.call(this,n,r);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(a.default);t.default=c},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),i=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=i.Scope.INLINE_BLOT,t}(o.default);t.default=a},function(e,t,n){var r=n(11),o=n(3),i={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=o(!0,{},t);for(var i in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(r[i]=e[i]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"===typeof e.delete?e.delete:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=i.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"===typeof t.retain?o.retain=e:"string"===typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index].delete?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=i},function(e,t){var n=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{r=Promise}catch(s){r=function(){}}function o(i,s,c,l,u){"object"===typeof s&&(c=s.depth,l=s.prototype,u=s.includeNonEnumerable,s=s.circular);var A=[],d=[],f="undefined"!=typeof Buffer;return"undefined"==typeof s&&(s=!0),"undefined"==typeof c&&(c=1/0),function i(c,h){if(null===c)return null;if(0===h)return c;var p,m;if("object"!=typeof c)return c;if(e(c,t))p=new t;else if(e(c,n))p=new n;else if(e(c,r))p=new r((function(e,t){c.then((function(t){e(i(t,h-1))}),(function(e){t(i(e,h-1))}))}));else if(o.__isArray(c))p=[];else if(o.__isRegExp(c))p=new RegExp(c.source,a(c)),c.lastIndex&&(p.lastIndex=c.lastIndex);else if(o.__isDate(c))p=new Date(c.getTime());else{if(f&&Buffer.isBuffer(c))return p=Buffer.allocUnsafe?Buffer.allocUnsafe(c.length):new Buffer(c.length),c.copy(p),p;e(c,Error)?p=Object.create(c):"undefined"==typeof l?(m=Object.getPrototypeOf(c),p=Object.create(m)):(p=Object.create(l),m=l)}if(s){var g=A.indexOf(c);if(-1!=g)return d[g];A.push(c),d.push(p)}for(var v in e(c,t)&&c.forEach((function(e,t){var n=i(t,h-1),r=i(e,h-1);p.set(n,r)})),e(c,n)&&c.forEach((function(e){var t=i(e,h-1);p.add(t)})),c){var y;m&&(y=Object.getOwnPropertyDescriptor(m,v)),y&&null==y.set||(p[v]=i(c[v],h-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(c);for(v=0;v<b.length;v++){var w=b[v];(!(x=Object.getOwnPropertyDescriptor(c,w))||x.enumerable||u)&&(p[w]=i(c[w],h-1),x.enumerable||Object.defineProperty(p,w,{enumerable:!1}))}}if(u){var _=Object.getOwnPropertyNames(c);for(v=0;v<_.length;v++){var x,B=_[v];(x=Object.getOwnPropertyDescriptor(c,B))&&x.enumerable||(p[B]=i(c[B],h-1),Object.defineProperty(p,B,{enumerable:!1}))}}return p}(i,c)}function i(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=i,o.__isDate=function(e){return"object"===typeof e&&"[object Date]"===i(e)},o.__isArray=function(e){return"object"===typeof e&&"[object Array]"===i(e)},o.__isRegExp=function(e){return"object"===typeof e&&"[object RegExp]"===i(e)},o.__getRegExpFlags=a,o}();"object"===typeof e&&e.exports&&(e.exports=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=f(n(0)),s=f(n(8)),c=n(4),l=f(c),u=f(n(16)),A=f(n(13)),d=f(n(25));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return e instanceof l.default||e instanceof c.BlockEmbed}var p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var o=this.line(e),a=r(o,2),s=a[0],l=a[1],d=this.line(e+n),f=r(d,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=f&&s!==f&&l>0){if(s instanceof c.BlockEmbed||f instanceof c.BlockEmbed)return void this.optimize();if(s instanceof A.default){var h=s.newlineIndex(s.length(),!0);if(h>-1&&(s=s.split(h+1))===f)return void this.optimize()}else if(f instanceof A.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var m=f.children.head instanceof u.default?null:f.children.head;s.moveChildren(f,m),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var s=a.default.create(n,r);this.appendChild(s)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(e),e=r}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(h,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){h(t)?o.push(t):t instanceof a.default.Container&&(o=o.concat(e(t,n,i))),i-=r})),o};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}(a.default.Scroll);p.blotName="scroll",p.className="ql-editor",p.tagName="DIV",p.defaultChild="block",p.allowedChildren=[l.default,c.BlockEmbed,d.default],t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=p(n(21)),s=p(n(11)),c=p(n(3)),l=p(n(2)),u=p(n(20)),A=p(n(0)),d=p(n(5)),f=p(n(10)),h=p(n(9));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,f.default)("quill:keyboard"),v=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},B),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},w),r.addBinding({key:t.keys.DELETE},{collapsed:!0},_)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},_)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},x),r.addBinding({key:t.keys.DELETE},{collapsed:!1},x),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),r.listen(),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"match",value:function(e,t){return t=j(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=j(e);if(null==r||null==r.key)return g.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,c.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var c=e.quill.getSelection();if(null!=c&&e.quill.hasFocus()){var l=e.quill.getLine(c.index),u=o(l,2),d=u[0],f=u[1],h=e.quill.getLeaf(c.index),p=o(h,2),m=p[0],g=p[1],v=0===c.length?[m,g]:e.quill.getLeaf(c.index+c.length),y=o(v,2),b=y[0],w=y[1],_=m instanceof A.default.Text?m.value().slice(0,g):"",x=b instanceof A.default.Text?b.value().slice(w):"",B={collapsed:0===c.length,empty:0===c.length&&d.length()<=1,format:e.quill.getFormat(c),offset:f,prefix:_,suffix:x};a.some((function(t){if(null!=t.collapsed&&t.collapsed!==B.collapsed)return!1;if(null!=t.empty&&t.empty!==B.empty)return!1;if(null!=t.offset&&t.offset!==B.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==B.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=B.format[e]:!1===t.format[e]?null==B.format[e]:(0,s.default)(t.format[e],B.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(B.prefix))&&!(null!=t.suffix&&!t.suffix.test(B.suffix))&&!0!==t.handler.call(e,c,B)}))&&n.preventDefault()}}}}))}}]),t}(h.default);function b(e,t){var n,r=e===y.keys.LEFT?"prefix":"suffix";return m(n={key:e,shiftKey:t,altKey:null},r,/^$/),m(n,"handler",(function(n){var r=n.index;e===y.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof A.default.Embed)||(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),!1)})),n}function w(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var c=r.formats(),l=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(c,l)||{}}}var A=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-A,A,d.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-A,A,i,d.default.sources.USER),this.quill.focus()}}function _(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},i=0,a=this.quill.getLine(e.index),s=o(a,1)[0];if(t.offset>=s.length()-1){var c=this.quill.getLine(e.index+1),l=o(c,1)[0];if(l){var A=s.formats(),f=this.quill.getFormat(e.index,1);r=u.default.attributes.diff(A,f)||{},i=l.length()}}this.quill.deleteText(e.index,n,d.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+i-1,n,r,d.default.sources.USER)}}function x(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=u.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,d.default.sources.USER),this.quill.setSelection(e.index,d.default.sources.SILENT),this.quill.focus()}function B(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return A.default.query(n,A.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],d.default.sources.USER))}))}function C(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=A.default.query("code-block"),r=t.index,i=t.length,a=this.quill.scroll.descendant(n,r),s=o(a,2),c=s[0],l=s[1];if(null!=c){var u=this.quill.getIndex(c),f=c.newlineIndex(l,!0)+1,h=c.newlineIndex(u+l+i),p=c.domNode.textContent.slice(f,h).split("\n");l=0,p.forEach((function(t,o){e?(c.insertAt(f+l,n.TAB),l+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(c.deleteAt(f+l,n.TAB.length),l-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),l+=t.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(r,i,d.default.sources.SILENT)}}}}function E(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],d.default.sources.USER)}}}function j(e){if("string"===typeof e||"number"===typeof e)return j({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,a.default)(e,!1)),"string"===typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[v]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:E("bold"),italic:E("italic"),underline:E("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",d.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",d.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":C(!0),"outdent code-block":C(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,d.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new l.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,d.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,d.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(0,c.default)({},r.formats(),{list:"checked"}),s=(new l.default).retain(e.index).insert("\n",a).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=o(n,2),i=r[0],a=r[1],s=(new l.default).retain(e.index).insert("\n",t.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),i=o(r,2),a=i[0],s=i[1];if(s>n)return!0;var c=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":c="unchecked";break;case"[x]":c="checked";break;case"-":case"*":c="bullet";break;default:c="ordered"}this.quill.insertText(e.index," ",d.default.sources.USER),this.quill.history.cutoff();var u=(new l.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:c});this.quill.updateContents(u,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,d.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(new l.default).retain(e.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,d.default.sources.USER)}},"embed left":b(y.keys.LEFT,!1),"embed left shift":b(y.keys.LEFT,!0),"embed right":b(y.keys.RIGHT,!1),"embed right shift":b(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(0)),s=c(n(7));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var r=this,i=0;null!=r&&r.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=t.CONTENTS.length,r.optimize(),r.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),o=void 0,i=void 0,c=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var l=[e,n.start.offset,n.end.offset];o=l[0],i=l[1],c=l[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(o=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var A=[i,c].map((function(e){return Math.max(0,Math.min(o.data.length,e-1))})),d=r(A,2);return i=d[0],c=d[1],{startNode:o,startOffset:i,endNode:o,endOffset:c}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(a.default.Embed);l.blotName="cursor",l.className="ql-cursor",l.tagName="span",l.CONTENTS="\ufeff",t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),o=n(4),i=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Container);l.allowedChildren=[i.default,o.BlockEmbed,l],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(s.default.Attributor.Style),A=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),d=new u("color","color",{scope:s.default.Scope.INLINE});t.ColorAttributor=u,t.ColorClass=A,t.ColorStyle=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return u(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);function u(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}l.blotName="link",l.tagName="A",l.SANITIZED_URL="about:blank",l.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=l,t.sanitize=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(23)),a=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var c=0;function l(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return o(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),l(this.label,"aria-expanded"),l(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+c,c+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(0)),o=g(n(5)),i=n(4),a=g(i),s=g(n(16)),c=g(n(25)),l=g(n(24)),u=g(n(35)),A=g(n(6)),d=g(n(22)),f=g(n(7)),h=g(n(55)),p=g(n(42)),m=g(n(23));function g(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":c.default,"blots/cursor":l.default,"blots/embed":u.default,"blots/inline":A.default,"blots/scroll":d.default,"blots/text":f.default,"modules/clipboard":h.default,"modules/history":p.default,"modules/keyboard":m.default}),r.default.register(a.default,s.default,l.default,A.default,d.default,f.default),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=o.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){o(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(o(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return r(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(7));function s(e){return e&&e.__esModule?e:{default:e}}var c="\ufeff",l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(c),n.rightGuard=document.createTextNode(c),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(c).join("");if(e===this.leftGuard)if(this.prev instanceof a.default){var o=this.prev.length();this.prev.insertAt(o,r),t={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=c,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(i.default.Embed);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",a),c=new i.default.Attributor.Class("align","ql-align",a),l=new i.default.Attributor.Style("align","text-align",a);t.AlignAttribute=s,t.AlignClass=c,t.AlignStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),c=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",a),c=new i.default.Attributor.Class("direction","ql-direction",a),l=new i.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=s,t.DirectionClass=c,t.DirectionStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},A=new s.default.Attributor.Class("font","ql-font",u),d=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(s.default.Attributor.Style),f=new d("font","font-family",u);t.FontStyle=f,t.FontClass=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=s},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(0)),i=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,o){e!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var r=c(n[e]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(a(n(9)).default);function c(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}(e)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=s,t.getLastChangeIndex=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=h(n(3)),a=h(n(2)),s=h(n(8)),c=h(n(23)),l=h(n(34)),u=h(n(59)),A=h(n(60)),d=h(n(28)),f=h(n(61));function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],w=["1","2","3",!1],_=["small",!1,"large","huge"],x=function(e){function t(e,n){p(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),r}return g(t,e),r(t,[{key:"addModule",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"===typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&C(e,v),new A.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&C(e,y,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?C(e,b):e.classList.contains("ql-header")?C(e,w):e.classList.contains("ql-size")&&C(e,_)),new d.default(e)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(l.default);x.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),s.default.sources.USER),e.quill.setSelection(r.index+1,s.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var B=function(e){function t(e,n){p(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return g(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){c.default.match(t,"enter")?(e.save(),t.preventDefault()):c.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,s.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",s.default.sources.USER),this.quill.setSelection(r+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(f.default);function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=B,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var r,o=this.find(e),i=o[0],a=e-o[1],s=this.iterator(i);(r=s())&&a<e+t;){var c=r.length();e>a?n(r,e-a,Math.min(t,a+c-e)):n(r,0,Math.min(c,e+t-a)),a+=c}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),i=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)t.push(a.pop());for(var s=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),n&&e(t.parent))},c=function e(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(e),t.optimize(n))},l=t,u=0;l.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(l.forEach((function(e){var t=i.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(i.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=i.find(e,!1);s(t,!1),t instanceof o.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(c),a=(l=[].slice.call(this.observer.takeRecords())).slice();a.length>0;)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=i.find(e.target,!0);return null==t?null:null==t.domNode[i.DATA_KEY].mutations?(t.domNode[i.DATA_KEY].mutations=[e],t):(t.domNode[i.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[i.DATA_KEY]&&e.update(e.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="DIV",t}(o.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var i=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof o.default||(e=e.wrap(t.blotName,!0)),i.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){null!=this.formats()[r]||i.query(r,i.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=i.Scope.INLINE_BLOT,t.tagName="SPAN",t}(o.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=i.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),a=i.create(n,r);o.parent.insertBefore(a,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="P",t}(o.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),i=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=i.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=i.Scope.INLINE_BLOT,t}(o.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function r(e,t,c){if(e==t)return e?[[0,e]]:[];(c<0||e.length<c)&&(c=null);var u=i(e,t),A=e.substring(0,u);u=a(e=e.substring(u),t=t.substring(u));var d=e.substring(e.length-u),f=function(e,t){var s;if(!e)return[[1,t]];if(!t)return[[n,e]];var c=e.length>t.length?e:t,l=e.length>t.length?t:e,u=c.indexOf(l);if(-1!=u)return s=[[1,c.substring(0,u)],[0,l],[1,c.substring(u+l.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1==l.length)return[[n,e],[1,t]];var A=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function o(e,t,n){for(var r,o,s,c,l=e.substring(n,n+Math.floor(e.length/4)),u=-1,A="";-1!=(u=t.indexOf(l,u+1));){var d=i(e.substring(n),t.substring(u)),f=a(e.substring(0,n),t.substring(0,u));A.length<f+d&&(A=t.substring(u-f,u)+t.substring(u,u+d),r=e.substring(0,n-f),o=e.substring(n+d),s=t.substring(0,u-f),c=t.substring(u+d))}return 2*A.length>=e.length?[r,o,s,c,A]:null}var s,c,l,u,A,d=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;s=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(c=s[0],l=s[1],u=s[2],A=s[3]):(u=s[0],A=s[1],c=s[2],l=s[3]);var h=s[4];return[c,l,u,A,h]}(e,t);if(A){var d=A[0],f=A[1],h=A[2],p=A[3],m=A[4],g=r(d,h),v=r(f,p);return g.concat([[0,m]],v)}return function(e,t){for(var r=e.length,i=t.length,a=Math.ceil((r+i)/2),s=a,c=2*a,l=new Array(c),u=new Array(c),A=0;A<c;A++)l[A]=-1,u[A]=-1;l[s+1]=0,u[s+1]=0;for(var d=r-i,f=d%2!=0,h=0,p=0,m=0,g=0,v=0;v<a;v++){for(var y=-v+h;y<=v-p;y+=2){for(var b=s+y,w=(E=y==-v||y!=v&&l[b-1]<l[b+1]?l[b+1]:l[b-1]+1)-y;E<r&&w<i&&e.charAt(E)==t.charAt(w);)E++,w++;if(l[b]=E,E>r)p+=2;else if(w>i)h+=2;else if(f&&(B=s+d-y)>=0&&B<c&&-1!=u[B]&&E>=(x=r-u[B]))return o(e,t,E,w)}for(var _=-v+m;_<=v-g;_+=2){for(var x,B=s+_,C=(x=_==-v||_!=v&&u[B-1]<u[B+1]?u[B+1]:u[B-1]+1)-_;x<r&&C<i&&e.charAt(r-x-1)==t.charAt(i-C-1);)x++,C++;if(u[B]=x,x>r)g+=2;else if(C>i)m+=2;else if(!f){var E;if((b=s+d-_)>=0&&b<c&&-1!=l[b])if(w=s+(E=l[b])-b,E>=(x=r-x))return o(e,t,E,w)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-u),t=t.substring(0,t.length-u));return A&&f.unshift([0,A]),d&&f.push([0,d]),s(f),null!=c&&(f=function(e,t){var r=function(e,t){if(0===t)return[0,e];for(var r=0,o=0;o<e.length;o++){var i=e[o];if(i[0]===n||0===i[0]){var a=r+i[1].length;if(t===a)return[o+1,e];if(t<a){e=e.slice();var s=t-r,c=[i[0],i[1].slice(0,s)],l=[i[0],i[1].slice(s)];return e.splice(o,1,c,l),[o+1,e]}r=a}}throw new Error("cursor_pos is out of bounds!")}(e,t),o=r[1],i=r[0],a=o[i],s=o[i+1];if(null==a)return e;if(0!==a[0])return e;if(null!=s&&a[1]+s[1]===s[1]+a[1])return o.splice(i,2,s,a),l(o,i,2);if(null!=s&&0===s[1].indexOf(a[1])){o.splice(i,2,[s[0],a[1]],[0,a[1]]);var c=s[1].slice(a[1].length);return c.length>0&&o.splice(i+2,0,[s[0],c]),l(o,i,3)}return e}(f,c)),f=function(e){for(var t=!1,r=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&o(e[i-2][1])&&e[i-1][0]===n&&r(e[i-1][1])&&1===e[i][0]&&r(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var a=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&a.push(e[i]);return a}(f)}function o(e,t,n,o){var i=e.substring(0,n),a=t.substring(0,o),s=e.substring(n),c=t.substring(o),l=r(i,a),u=r(s,c);return l.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function a(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function s(e){e.push([0,""]);for(var t,r=0,o=0,c=0,l="",u="";r<e.length;)switch(e[r][0]){case 1:c++,u+=e[r][1],r++;break;case n:o++,l+=e[r][1],r++;break;case 0:o+c>1?(0!==o&&0!==c&&(0!==(t=i(u,l))&&(r-o-c>0&&0==e[r-o-c-1][0]?e[r-o-c-1][1]+=u.substring(0,t):(e.splice(0,0,[0,u.substring(0,t)]),r++),u=u.substring(t),l=l.substring(t)),0!==(t=a(u,l))&&(e[r][1]=u.substring(u.length-t)+e[r][1],u=u.substring(0,u.length-t),l=l.substring(0,l.length-t))),0===o?e.splice(r-c,o+c,[1,u]):0===c?e.splice(r-o,o+c,[n,l]):e.splice(r-o-c,o+c,[n,l],[1,u]),r=r-o-c+(o?1:0)+(c?1:0)+1):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,c=0,o=0,l="",u=""}""===e[e.length-1][1]&&e.pop();var A=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),A=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),A=!0)),r++;A&&s(e)}var c=r;function l(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var o=e[r],i=e[r+1];o[0]===i[1]&&e.splice(r,2,[o[0],o[1]+i[1]])}return e}c.INSERT=1,c.DELETE=n,c.EQUAL=0,e.exports=c},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"===typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?r:o).supported=r,t.unsupported=o},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,t,o=[];if(0===this._eventsCount)return o;for(t in e=this._events)n.call(e,t)&&o.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e,t){var n=r?r+e:e,o=this._events[n];if(t)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,s=new Array(a);i<a;i++)s[i]=o[i].fn;return s},a.prototype.emit=function(e,t,n,o,i,a){var s=r?r+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],A=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),A){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(l=1,c=new Array(A-1);l<A;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var d,f=u.length;for(l=0;l<f;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),A){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,n);break;case 4:u[l].fn.call(u[l].context,t,n,o);break;default:if(!c)for(d=1,c=new Array(A-1);d<A;d++)c[d-1]=arguments[d];u[l].fn.apply(u[l].context,c)}}return!0},a.prototype.on=function(e,t,n){var o=new i(t,n||this),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(e,t,n){var o=new i(t,n||this,!0),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||n&&s[c].context!==n)&&l.push(s[c]);l.length?this._events[a]=1===l.length?l[0]:l:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0===--this._eventsCount?this._events=new o:delete this._events[t])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,"undefined"!==typeof e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=y(n(3)),s=y(n(2)),c=y(n(0)),l=y(n(5)),u=y(n(10)),A=y(n(9)),d=n(36),f=n(37),h=y(n(13)),p=n(26),m=n(38),g=n(39),v=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,u.default)("quill:clipboard"),_="__ql-matcher",x=[[Node.TEXT_NODE,D],[Node.TEXT_NODE,L],["br",function(e,t){return S(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,P],[Node.ELEMENT_NODE,T],[Node.ELEMENT_NODE,I],[Node.ELEMENT_NODE,function(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===k(e).fontStyle&&(n.italic=!0),r.fontWeight&&(k(e).fontWeight.startsWith("bold")||parseInt(k(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=j(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=c.default.query(e);if(null==n||"list-item"!==n.blotName||!S(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(c.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:r}))}],["b",F.bind(F,"bold")],["i",F.bind(F,"italic")],["style",function(){return new s.default}]],B=[d.AlignAttribute,m.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),C=[d.AlignStyle,f.BackgroundStyle,p.ColorStyle,m.DirectionStyle,g.FontStyle,v.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),E=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],x.concat(r.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],a=t[1];(n.matchVisual||a!==T)&&r.addMatcher(i,a)})),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"===typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[h.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},h.default.blotName,t[h.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),a=i[0],c=i[1],l=N(this.container,a,c);return S(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new s.default).retain(l.length()-1).delete(1))),w.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,l.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),l.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new s.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(l.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,l.default.sources.USER),t.quill.setSelection(r.length()-n.length,l.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),a=i[0],s=i[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[_]=e[_]||[],e[_].push(s)}))}})),[t,n]}}]),t}(A.default);function j(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return j(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,a.default)({},b({},t,n),r.attributes))}),new s.default)}function k(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function S(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var o=e.ops[r];if("string"!==typeof o.insert)break;n=o.insert+n}return n.slice(-1*t.length)===t}function O(e){if(0===e.childNodes.length)return!1;var t=k(e);return["block","list-item"].indexOf(t.display)>-1}function N(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,o){var i=N(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[_]||[]).reduce((function(e,t){return t(o,e)}),i)),r.concat(i)}),new s.default):new s.default}function F(e,t,n){return j(n,e,!0)}function I(e,t){var n=c.default.Attributor.Attribute.keys(e),r=c.default.Attributor.Class.keys(e),o=c.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach((function(t){var n=c.default.query(t,c.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=B[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(n=C[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=j(t,i)),t}function P(e,t){var n=c.default.query(e);if(null==n)return t;if(n.prototype instanceof c.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new s.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=j(t,n.blotName,n.formats(e)));return t}function L(e,t){return S(t,"\n")||(O(e)||t.length()>0&&e.nextSibling&&O(e.nextSibling))&&t.insert("\n"),t}function T(e,t){if(O(e)&&null!=e.nextElementSibling&&!S(t,"\n\n")){var n=e.offsetHeight+parseFloat(k(e).marginTop)+parseFloat(k(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function D(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!k(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&O(e.parentNode)||null!=e.previousSibling&&O(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&O(e.parentNode)||null!=e.nextSibling&&O(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}E.DEFAULTS={matchers:[],matchVisual:!0},t.default=E,t.matchAttributor=I,t.matchBlot=P,t.matchNewline=L,t.matchSpacing=T,t.matchText=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);l.blotName="bold",l.tagName=["STRONG","B"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(2)),a=u(n(0)),s=u(n(5)),c=u(n(10)),l=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var d=(0,c.default)("quill:toolbar"),f=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,i=A(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");p(a,i.options.container),e.container.parentNode.insertBefore(a,e.container),i.container=a}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=r(e,1)[0];i.update(t)})),i):(o=d.error("Container required for toolbar",i.options),A(i,o))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void d.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void d.warn("ignoring attaching to nonexistent format",n,e)}var o="SELECT"===e.tagName?"change":"click";e.addEventListener(o,(function(o){var c=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var l=e.options[e.selectedIndex];c=!l.hasAttribute("selected")&&(l.value||!1)}else c=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),o.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),A=r(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,c);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(c=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(A.index).delete(A.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,c)),s.default.sources.USER)}else t.quill.format(n,c,s.default.sources.USER);t.update(A)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var o=r(n,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var s=void 0;if(null==e)s=null;else if(null==t[i])s=a.querySelector("option[selected]");else if(!Array.isArray(t[i])){var c=t[i];"string"===typeof c&&(c=c.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+c+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var l=t[i]===a.getAttribute("value")||null!=t[i]&&t[i].toString()===a.getAttribute("value")||null==t[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",l)}else a.classList.toggle("ql-active",null!=t[i])}))}}]),t}(l.default);function h(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function p(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"===typeof e)h(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?function(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}(n,t,r):h(n,t,r)}})),e.appendChild(n)}))}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=f,t.addControls=p},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=t+i+"px"),o.bottom>r.bottom){var a=o.bottom-o.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=f(n(3)),s=f(n(8)),c=n(43),l=f(c),u=f(n(27)),A=n(15),d=f(n(41));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],v=function(e){function t(e,n){h(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=g);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return m(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),d.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(l.default);v.DEFAULTS=(0,a.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){h(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return m(t,e),i(t,[{key:"listen",value:function(){var e=this;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(t,n,o){if(null!=t){if(0===t.length&&o===s.default.sources.USER){var i=e.quill.scroll.descendant(u.default,t.index),a=r(i,2),c=a[0],l=a[1];if(null!=c){e.linkRange=new A.Range(t.index-l,c.length());var d=u.default.formats(c.domNode);return e.preview.textContent=d,e.preview.setAttribute("href",d),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(c.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=L(n(29)),o=n(36),i=n(38),a=n(64),s=L(n(65)),c=L(n(66)),l=n(67),u=L(l),A=n(37),d=n(26),f=n(39),h=n(40),p=L(n(56)),m=L(n(68)),g=L(n(27)),v=L(n(69)),y=L(n(70)),b=L(n(71)),w=L(n(72)),_=L(n(73)),x=n(13),B=L(x),C=L(n(74)),E=L(n(75)),j=L(n(57)),k=L(n(41)),S=L(n(28)),O=L(n(59)),N=L(n(60)),F=L(n(61)),I=L(n(108)),P=L(n(62));function L(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":A.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":A.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":h.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":A.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":f.FontClass,"formats/size":h.SizeClass,"formats/blockquote":s.default,"formats/code-block":B.default,"formats/header":c.default,"formats/list":u.default,"formats/bold":p.default,"formats/code":x.Code,"formats/italic":m.default,"formats/link":g.default,"formats/script":v.default,"formats/strike":y.default,"formats/underline":b.default,"formats/image":w.default,"formats/video":_.default,"formats/list/item":l.ListItem,"modules/formula":C.default,"modules/syntax":E.default,"modules/toolbar":j.default,"themes/bubble":I.default,"themes/snow":P.default,"ui/icons":k.default,"ui/picker":S.default,"ui/icon-picker":N.default,"ui/color-picker":O.default,"ui/tooltip":F.default},!0),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var u=function(e){function t(){return c(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(s.default.Attributor.Class),A=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="blockquote",s.tagName="blockquote",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var c=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=c(n(0)),a=c(n(4)),s=c(n(25));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function A(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),r(t,[{key:"format",value:function(e,n){e!==f.blotName||n?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:o(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(a.default);d.blotName="list-item",d.tagName="LI";var f=function(e){function t(e){l(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),o=i.default.find(t.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return A(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof d)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(s.default);f.blotName="list",f.scope=i.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],t.ListItem=d,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="italic",s.tagName=["EM","I"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=function(e){function t(){return s(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);l.blotName="script",l.tagName=["SUB","SUP"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="strike",s.tagName="S",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="underline",s.tagName="U",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},c=n(27);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var A=["alt","height","width"],d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){A.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return A.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,c.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.default.Embed);d.blotName="image",d.tagName="IMG",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(4),s=n(27),c=(r=s)&&r.__esModule?r:{default:r};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var A=["height","width"],d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){A.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return A.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return c.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=c(n(35)),a=c(n(5)),s=c(n(9));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function A(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),r(t,null,[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);d.blotName="formula",d.className="ql-formula",d.tagName="SPAN";var f=function(e){function t(){l(this,t);var e=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return A(t,e),r(t,null,[{key:"register",value:function(){a.default.register(d,!0)}}]),t}(s.default);t.FormulaBlot=d,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=c(n(0)),a=c(n(5)),s=c(n(9));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function A(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(c(n(13)).default);d.className="ql-syntax";var f=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),h=function(e){function t(e,n){l(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return A(t,e),r(t,null,[{key:"register",value:function(){a.default.register(f,!0),a.default.register(d,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=t&&this.quill.setSelection(t,a.default.sources.SILENT)}}}]),t}(s.default);h.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=d,t.CodeToken=f,t.default=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=A(n(3)),a=A(n(8)),s=n(43),c=A(s),l=n(15),u=A(n(41));function A(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(e){function t(e,n){d(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=p);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return h(t,e),o(t,[{key:"extendToolbar",value:function(e){this.tooltip=new g(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}(c.default);m.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var g=function(e){function t(e,n){d(this,t);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t,n,o){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===a.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var s=i[i.length-1],c=r.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-c),A=r.quill.getBounds(new l.Range(c,u));r.position(A)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return h(t,e),o(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(s.BaseTooltip);g.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=g,t.default=m},function(e,t,n){e.exports=n(63)}]).default},e.exports=t()},4763:function(e,t,n){"use strict";var r,o=s(n(2791)),i=s(n(330)),a=s(n(2007));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function l(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 u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}var f=o.default.version.split(/[.-]/);r="0"!==f[0]||"13"!==f[1]&&"12"!==f[1]?function(e){return e}:function(e){return e.getDOMNode()};var h=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?A(e):t}(this,u(t).call(this,e))).renderElementRef=o.default.createRef(),n.update=n.update.bind(A(n)),n}var n,a,s;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&&d(e,t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){var n=this;return Object.keys(t.propTypes).some((function(t){return n.props[t]!==e[t]}))}},{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=r(this.renderElementRef.current);try{new i.default(e,this.props.value,Object.assign({},this.props))}catch(t){window.console.error(t)}}},{key:"render",value:function(){return"svg"===this.props.renderer?o.default.createElement("svg",{ref:this.renderElementRef}):"canvas"===this.props.renderer?o.default.createElement("canvas",{ref:this.renderElementRef}):"img"===this.props.renderer?o.default.createElement("img",{ref:this.renderElementRef}):void 0}}])&&l(n.prototype,a),s&&l(n,s),t}(o.default.Component);h.propTypes={value:a.default.string.isRequired,renderer:a.default.string,format:a.default.string,width:a.default.number,height:a.default.number,displayValue:a.default.bool,fontOptions:a.default.string,font:a.default.string,textAlign:a.default.string,textPosition:a.default.string,textMargin:a.default.number,fontSize:a.default.number,background:a.default.string,lineColor:a.default.string,margin:a.default.number,marginTop:a.default.number,marginBottom:a.default.number,marginLeft:a.default.number,marginRight:a.default.number},h.defaultProps={format:"CODE128",renderer:"svg",width:2,height:100,displayValue:!0,fontOptions:"",font:"monospace",textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10},e.exports=h},4463:function(e,t,n){"use strict";var r=n(2791),o=n(5296);function i(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 a=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),A=Object.prototype.hasOwnProperty,d=/^[: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]*$/,f={},h={};function p(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 m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new p(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new p(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new p(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){m[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new p(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new p(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new p(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=m.hasOwnProperty(t)?m[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||"undefined"===typeof 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!!A.call(h,e)||!A.call(f,e)&&(d.test(e)?h[e]=!0:(f[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(g,v);m[t]=new p(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(g,v);m[t]=new p(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(g,v);m[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),_=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),j=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var I=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function L(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=P&&e[P]||e["@@iterator"])?e:null}var T,D=Object.assign;function Q(e){if(void 0===T)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);T=t&&t[1]||""}return"\n"+T+e}var U=!1;function M(e,t){if(!e||U)return"";U=!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(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.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 c="\n"+o[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Q(e):""}function R(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return e=M(e.type,!1);case 11:return e=M(e.type.render,!1);case 1:return e=M(e.type,!0);default:return""}}function $(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 x:return"Fragment";case _:return"Portal";case C:return"Profiler";case B:return"StrictMode";case S:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case F:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function H(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 $(t);case 8:return t===B?"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 q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof 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=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function W(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(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 Y(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=q(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")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(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 ee(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(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=""+q(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 re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(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 ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ue,Ae=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.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 ue(e,t)}))}:ue);function de(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 fe={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},he=["Webkit","ms","Moz","O"];function pe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=D({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 ve(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function ye(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 be=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,xe=null,Be=null;function Ce(e){if(e=bo(e)){if("function"!==typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=_o(t),_e(e.stateNode,e.type,t))}}function Ee(e){xe?Be?Be.push(e):Be=[e]:xe=e}function je(){if(xe){var e=xe,t=Be;if(Be=xe=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function ke(e,t){return e(t)}function Se(){}var Oe=!1;function Ne(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return ke(e,t,n)}finally{Oe=!1,(null!==xe||null!==Be)&&(Se(),je())}}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=_o(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(i(231,t,typeof n));return n}var Ie=!1;if(u)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ie=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(ue){Ie=!1}function Le(e,t,n,r,o,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}var Te=!1,De=null,Qe=!1,Ue=null,Me={onError:function(e){Te=!0,De=e}};function Re(e,t,n,r,o,i,a,s,c){Te=!1,De=null,Le.apply(Me,arguments)}function $e(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 He(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 qe(e){if($e(e)!==e)throw Error(i(188))}function Ke(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,c=o.child;c;){if(c===n){s=!0,n=o,r=a;break}if(c===r){s=!0,r=o,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,r=o;break}if(c===r){s=!0,r=a,n=o;break}c=c.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var ze=o.unstable_scheduleCallback,Ze=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,We=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2;var lt=64,ut=4194304;function At(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 dt(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=At(s):0!==(i&=a)&&(r=At(i))}else 0!==(a=n&~o)?r=At(a):0!==i&&(r=At(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-at(t)),r|=e[n],t&=~o;return r}function ft(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 ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function pt(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,_t,xt,Bt,Ct,Et=!1,jt=[],kt=null,St=null,Ot=null,Nt=new Map,Ft=new Map,It=[],Pt="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 Lt(e,t){switch(e){case"focusin":case"focusout":kt=null;break;case"dragenter":case"dragleave":St=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ft.delete(t.pointerId)}}function Tt(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=bo(t))&&_t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=yo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(e.priority,(function(){xt(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 Qt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bo(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Ut(e,t,n){Qt(e)&&n.delete(t)}function Mt(){Et=!1,null!==kt&&Qt(kt)&&(kt=null),null!==St&&Qt(St)&&(St=null),null!==Ot&&Qt(Ot)&&(Ot=null),Nt.forEach(Ut),Ft.forEach(Ut)}function Rt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function $t(e){function t(t){return Rt(t,e)}if(0<jt.length){Rt(jt[0],e);for(var n=1;n<jt.length;n++){var r=jt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Rt(kt,e),null!==St&&Rt(St,e),null!==Ot&&Rt(Ot,e),Nt.forEach(t),Ft.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Dt(n),null===n.blockedOn&&It.shift()}var Ht=b.ReactCurrentBatchConfig,qt=!0;function Kt(e,t,n,r){var o=yt,i=Ht.transition;Ht.transition=null;try{yt=1,zt(e,t,n,r)}finally{yt=o,Ht.transition=i}}function Vt(e,t,n,r){var o=yt,i=Ht.transition;Ht.transition=null;try{yt=4,zt(e,t,n,r)}finally{yt=o,Ht.transition=i}}function zt(e,t,n,r){if(qt){var o=Gt(e,t,n,r);if(null===o)qr(e,t,r,Zt,n),Lt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return kt=Tt(kt,e,t,n,r,o),!0;case"dragenter":return St=Tt(St,e,t,n,r,o),!0;case"mouseover":return Ot=Tt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Nt.set(i,Tt(Nt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ft.set(i,Tt(Ft.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==o;){var i=bo(o);if(null!==i&&wt(i),null===(i=Gt(e,t,n,r))&&qr(e,t,r,Zt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Zt=null;function Gt(e,t,n,r){if(Zt=null,null!==(e=yo(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(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 Zt=e,null}function Wt(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(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.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 Jt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(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)?nn:rn,this.isPropagationStopped=rn,this}return D(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,cn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(ln),An=D({},ln,{view:0,detail:0}),dn=on(An),fn=D({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==cn&&(cn&&"mousemove"===e.type?(an=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=an=0,cn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(fn),pn=on(D({},fn,{dataTransfer:0})),mn=on(D({},An,{relatedTarget:0})),gn=on(D({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=D({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(vn),bn=on(D({},ln,{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"},_n={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function Cn(){return Bn}var En=D({},An,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),jn=on(En),kn=on(D({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Sn=on(D({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),On=on(D({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=D({},fn,{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=on(Nn),In=[9,13,27,32],Pn=u&&"CompositionEvent"in window,Ln=null;u&&"documentMode"in document&&(Ln=document.documentMode);var Tn=u&&"TextEvent"in window&&!Ln,Dn=u&&(!Pn||Ln&&8<Ln&&11>=Ln),Qn=String.fromCharCode(32),Un=!1;function Mn(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Hn={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 qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Kn(e,t,n,r){Ee(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,zn=null;function Zn(e){Qr(e,0)}function Gn(e){if(z(wo(e)))return e}function Wn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),zn=Vn=null)}function nr(e){if("value"===e.propertyName&&Gn(zn)){var t=[];Kn(t,zn,e,we(e)),Ne(Zn,t)}}function rr(e,t,n){"focusin"===e?(tr(),zn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(zn)}function ir(e,t){if("click"===e)return Gn(t)}function ar(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function cr(e,t){if(sr(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(!A.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=lr(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=lr(r)}}function Ar(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ar(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function fr(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 hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ar(n.ownerDocument.documentElement,n)){if(null!==r&&fr(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=ur(n,i);var a=ur(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 pr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,vr=null,yr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==mr||mr!==Z(r)||("selectionStart"in(r=mr)&&fr(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},vr&&cr(vr,r)||(vr=r,0<(r=Vr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Br={};function Cr(e){if(xr[e])return xr[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Br)return xr[e]=n[t];return e}u&&(Br=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Er=Cr("animationend"),jr=Cr("animationiteration"),kr=Cr("animationstart"),Sr=Cr("transitionend"),Or=new Map,Nr="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){Or.set(e,t),c(t,[e])}for(var Ir=0;Ir<Nr.length;Ir++){var Pr=Nr[Ir];Fr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Fr(Er,"onAnimationEnd"),Fr(jr,"onAnimationIteration"),Fr(kr,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(Sr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="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(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,c,l){if(Re.apply(this,arguments),Te){if(!Te)throw Error(i(198));var u=De;Te=!1,De=null,Qe||(Qe=!0,Ue=u)}}(r,t,void 0,e),e.currentTarget=null}function Qr(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],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&o.isPropagationStopped())break e;Dr(o,s,l),i=c}else for(a=0;a<r.length;a++){if(c=(s=r[a]).instance,l=s.currentTarget,s=s.listener,c!==i&&o.isPropagationStopped())break e;Dr(o,s,l),i=c}}}if(Qe)throw e=Ue,Qe=!1,Ue=null,e}function Ur(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Mr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[Rr]){e[Rr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Tr.has(t)||Mr(t,!1,e),Mr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rr]||(t[Rr]=!0,Mr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Wt(t)){case 1:var o=Kt;break;case 4:o=Vt;break;default:o=zt}n=o.bind(null,t,n,e),o=void 0,!Ie||"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 qr(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 c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===o||8===c.nodeType&&c.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=yo(s)))return;if(5===(c=a.tag)||6===c){r=i=a;continue e}s=s.parentNode}}r=r.return}Ne((function(){var r=i,o=we(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var c=un,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":c=jn;break;case"focusin":l="focus",c=mn;break;case"focusout":l="blur",c=mn;break;case"beforeblur":case"afterblur":c=mn;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":c=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Sn;break;case Er:case jr:case kr:c=gn;break;case Sr:c=On;break;case"scroll":c=dn;break;case"wheel":c=Fn;break;case"copy":case"cut":case"paste":c=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=kn}var u=0!==(4&t),A=!u&&"scroll"===e,d=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var p=(f=h).stateNode;if(5===f.tag&&null!==p&&(f=p,null!==d&&(null!=(p=Fe(h,d))&&u.push(Kr(h,p,f)))),A)break;h=h.return}0<u.length&&(s=new c(s,l,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(l=n.relatedTarget||n.fromElement)||!yo(l)&&!l[po])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(l=(l=n.relatedTarget||n.toElement)?yo(l):null)&&(l!==(A=$e(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(c=null,l=r),c!==l)){if(u=hn,p="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=kn,p="onPointerLeave",d="onPointerEnter",h="pointer"),A=null==c?s:wo(c),f=null==l?s:wo(l),(s=new u(p,h+"leave",c,n,o)).target=A,s.relatedTarget=f,p=null,yo(o)===r&&((u=new u(d,h+"enter",l,n,o)).target=f,u.relatedTarget=A,p=u),A=p,c&&l)e:{for(d=l,h=0,f=u=c;f;f=zr(f))h++;for(f=0,p=d;p;p=zr(p))f++;for(;0<h-f;)u=zr(u),h--;for(;0<f-h;)d=zr(d),f--;for(;h--;){if(u===d||null!==d&&u===d.alternate)break e;u=zr(u),d=zr(d)}u=null}else u=null;null!==c&&Zr(a,s,c,u,!1),null!==l&&null!==A&&Zr(a,A,l,u,!0)}if("select"===(c=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var m=Wn;else if(qn(s))if(Yn)m=ar;else{m=or;var g=rr}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(e,r))?Kn(a,m,n,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?wo(r):window,e){case"focusin":(qn(g)||"true"===g.contentEditable)&&(mr=g,gr=r,vr=null);break;case"focusout":vr=gr=mr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,br(a,n,o);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":br(a,n,o)}var v;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else $n?Mn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Dn&&"ko"!==n.locale&&($n||"onCompositionStart"!==y?"onCompositionEnd"===y&&$n&&(v=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,$n=!0)),0<(g=Vr(r,y)).length&&(y=new bn(y,e,null,n,o),a.push({event:y,listeners:g}),v?y.data=v:null!==(v=Rn(n))&&(y.data=v))),(v=Tn?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(Un=!0,Qn);case"textInput":return(e=t.data)===Qn&&Un?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!Pn&&Mn(e,t)?(e=en(),Jt=Xt=Yt=null,$n=!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 Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(o=new bn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Qr(a,t)}))}function Kr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(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(Kr(e,i,o)),null!=(i=Fe(e,t))&&r.push(Kr(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 Zr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(null!==c&&c===r)break;5===s.tag&&null!==l&&(s=l,o?null!=(c=Fe(n,i))&&a.unshift(Kr(n,c,s)):o||null!=(c=Fe(n,i))&&a.push(Kr(n,c,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,Wr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace(Wr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(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 ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function co(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 $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);$t(t)}function lo(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 uo(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 Ao=Math.random().toString(36).slice(2),fo="__reactFiber$"+Ao,ho="__reactProps$"+Ao,po="__reactContainer$"+Ao,mo="__reactEvents$"+Ao,go="__reactListeners$"+Ao,vo="__reactHandles$"+Ao;function yo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[po]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function bo(e){return!(e=e[fo]||e[po])||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(i(33))}function _o(e){return e[ho]||null}var xo=[],Bo=-1;function Co(e){return{current:e}}function Eo(e){0>Bo||(e.current=xo[Bo],xo[Bo]=null,Bo--)}function jo(e,t){Bo++,xo[Bo]=e.current,e.current=t}var ko={},So=Co(ko),Oo=Co(!1),No=ko;function Fo(e,t){var n=e.type.contextTypes;if(!n)return ko;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 Io(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Po(){Eo(Oo),Eo(So)}function Lo(e,t,n){if(So.current!==ko)throw Error(i(168));jo(So,t),jo(Oo,n)}function To(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(i(108,H(e)||"Unknown",o));return D({},n,r)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ko,No=So.current,jo(So,e),jo(Oo,Oo.current),!0}function Qo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=To(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,Eo(Oo),Eo(So),jo(So,e)):Eo(Oo),jo(Oo,n)}var Uo=null,Mo=!1,Ro=!1;function $o(e){null===Uo?Uo=[e]:Uo.push(e)}function Ho(){if(!Ro&&null!==Uo){Ro=!0;var e=0,t=yt;try{var n=Uo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Uo=null,Mo=!1}catch(o){throw null!==Uo&&(Uo=Uo.slice(e+1)),ze(Je,Ho),o}finally{yt=t,Ro=!1}}return null}var qo=[],Ko=0,Vo=null,zo=0,Zo=[],Go=0,Wo=null,Yo=1,Xo="";function Jo(e,t){qo[Ko++]=zo,qo[Ko++]=Vo,Vo=e,zo=t}function ei(e,t,n){Zo[Go++]=Yo,Zo[Go++]=Xo,Zo[Go++]=Wo,Wo=e;var r=Yo;e=Xo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Yo=1<<32-at(t)+o|n<<o|r,Xo=i+e}else Yo=1<<i|n<<o|r,Xo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Vo;)Vo=qo[--Ko],qo[Ko]=null,zo=qo[--Ko],qo[Ko]=null;for(;e===Wo;)Wo=Zo[--Go],Zo[Go]=null,Xo=Zo[--Go],Zo[Go]=null,Yo=Zo[--Go],Zo[Go]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Nl(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 ci(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,ri=e,oi=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Wo?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function li(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!ci(e,t)){if(li(e))throw Error(i(418));t=lo(n.nextSibling);var r=ri;t&&ci(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function Ai(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ii)return Ai(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(li(e))throw fi(),Error(i(418));for(;t;)si(e,t),t=lo(t.nextSibling)}if(Ai(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=lo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?lo(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=oi;e;)e=lo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function pi(e){null===ai?ai=[e]:ai.push(e)}var mi=b.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vi=Co(null),yi=null,bi=null,wi=null;function _i(){wi=bi=yi=null}function xi(e){var t=vi.current;Eo(vi),e._currentValue=t}function Bi(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 Ci(e,t){yi=e,wi=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ei(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var ji=null;function ki(e){null===ji?ji=[e]:ji.push(e)}function Si(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ki(t)):(n.next=o.next,o.next=n),t.interleaved=n,Oi(e,r)}function Oi(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 Ni=!1;function Fi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ii(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 Pi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Li(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&kc)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Oi(e,n)}return null===(o=r.interleaved)?(t.next=t,ki(r)):(t.next=o.next,o.next=t),r.interleaved=t,Oi(e,n)}function Ti(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,vt(e,n)}}function Di(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 Qi(e,t,n,r){var o=e.updateQueue;Ni=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var c=s,l=c.next;c.next=null,null===a?i=l:a.next=l,a=c;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(null!==i){var A=o.baseState;for(a=0,u=l=c=null,s=i;;){var d=s.lane,f=s.eventTime;if((r&d)===d){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,p=s;switch(d=t,f=n,p.tag){case 1:if("function"===typeof(h=p.payload)){A=h.call(f,A,d);break e}A=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=p.payload)?h.call(f,A,d):h)||void 0===d)break e;A=D({},A,d);break e;case 2:Ni=!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===u?(l=u=f,c=A):u=u.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===u&&(c=A),o.baseState=c,o.firstBaseUpdate=l,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Tc|=a,e.lanes=a,e.memoizedState=A}}function Ui(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(i(191,o));o.call(r)}}}var Mi=(new r.Component).refs;function Ri(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $i={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=el(),o=tl(e),i=Pi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Li(e,i,o))&&(nl(t,e,o,r),Ti(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=el(),o=tl(e),i=Pi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Li(e,i,o))&&(nl(t,e,o,r),Ti(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),r=tl(e),o=Pi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Li(e,o,r))&&(nl(t,e,r,n),Ti(t,e,r))}};function Hi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(o,i))}function qi(e,t,n){var r=!1,o=ko,i=t.contextType;return"object"===typeof i&&null!==i?i=Ei(i):(o=Io(t)?No:So.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Fo(e,o):ko),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$i,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ki(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&&$i.enqueueReplaceState(t,t.state,null)}function Vi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Mi,Fi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ei(i):(i=Io(t)?No:So.current,o.context=Fo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Ri(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&&$i.enqueueReplaceState(o,o.state,null),Qi(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(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Mi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Zi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gi(e){return(0,e._init)(e._payload)}function Wi(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=Il(e,t)).index=0,e.sibling=null,e}function a(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 c(e,t,n,r){return null===t||6!==t.tag?((t=Dl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){var i=n.type;return i===x?A(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===F&&Gi(i)===t.type)?((r=o(t,n.props)).ref=zi(e,t,n),r.return=e,r):((r=Pl(n.type,n.key,n.props,null,e.mode,r)).ref=zi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ql(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function A(e,t,n,r,i){return null===t||7!==t.tag?((t=Ll(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=Dl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Pl(t.type,t.key,t.props,null,e.mode,n)).ref=zi(e,null,t),n.return=e,n;case _:return(t=Ql(t,e.mode,n)).return=e,t;case F:return d(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Ll(t,e.mode,n,null)).return=e,t;Zi(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:c(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?l(e,t,n,r):null;case _:return n.key===o?u(e,t,n,r):null;case F:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||L(n))return null!==o?null:A(e,t,n,r,null);Zi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return u(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(te(r)||L(r))return A(t,e=e.get(n)||null,r,o,null);Zi(t,r)}return null}function p(o,i,s,c){for(var l=null,u=null,A=i,p=i=0,m=null;null!==A&&p<s.length;p++){A.index>p?(m=A,A=null):m=A.sibling;var g=f(o,A,s[p],c);if(null===g){null===A&&(A=m);break}e&&A&&null===g.alternate&&t(o,A),i=a(g,i,p),null===u?l=g:u.sibling=g,u=g,A=m}if(p===s.length)return n(o,A),ii&&Jo(o,p),l;if(null===A){for(;p<s.length;p++)null!==(A=d(o,s[p],c))&&(i=a(A,i,p),null===u?l=A:u.sibling=A,u=A);return ii&&Jo(o,p),l}for(A=r(o,A);p<s.length;p++)null!==(m=h(A,o,p,s[p],c))&&(e&&null!==m.alternate&&A.delete(null===m.key?p:m.key),i=a(m,i,p),null===u?l=m:u.sibling=m,u=m);return e&&A.forEach((function(e){return t(o,e)})),ii&&Jo(o,p),l}function m(o,s,c,l){var u=L(c);if("function"!==typeof u)throw Error(i(150));if(null==(c=u.call(c)))throw Error(i(151));for(var A=u=null,p=s,m=s=0,g=null,v=c.next();null!==p&&!v.done;m++,v=c.next()){p.index>m?(g=p,p=null):g=p.sibling;var y=f(o,p,v.value,l);if(null===y){null===p&&(p=g);break}e&&p&&null===y.alternate&&t(o,p),s=a(y,s,m),null===A?u=y:A.sibling=y,A=y,p=g}if(v.done)return n(o,p),ii&&Jo(o,m),u;if(null===p){for(;!v.done;m++,v=c.next())null!==(v=d(o,v.value,l))&&(s=a(v,s,m),null===A?u=v:A.sibling=v,A=v);return ii&&Jo(o,m),u}for(p=r(o,p);!v.done;m++,v=c.next())null!==(v=h(p,o,m,v.value,l))&&(e&&null!==v.alternate&&p.delete(null===v.key?m:v.key),s=a(v,s,m),null===A?u=v:A.sibling=v,A=v);return e&&p.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}return function e(r,i,a,c){if("object"===typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var l=a.key,u=i;null!==u;){if(u.key===l){if((l=a.type)===x){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===l||"object"===typeof l&&null!==l&&l.$$typeof===F&&Gi(l)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=zi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===x?((i=Ll(a.props.children,r.mode,c,a.key)).return=r,r=i):((c=Pl(a.type,a.key,a.props,null,r.mode,c)).ref=zi(r,i,a),c.return=r,r=c)}return s(r);case _:e:{for(u=a.key;null!==i;){if(i.key===u){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=Ql(a,r.mode,c)).return=r,r=i}return s(r);case F:return e(r,i,(u=a._init)(a._payload),c)}if(te(a))return p(r,i,a,c);if(L(a))return m(r,i,a,c);Zi(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=Dl(a,r.mode,c)).return=r,r=i),s(r)):n(r,i)}}var Yi=Wi(!0),Xi=Wi(!1),Ji={},ea=Co(Ji),ta=Co(Ji),na=Co(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(jo(na,t),jo(ta,e),jo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(ea),jo(ea,t)}function ia(){Eo(ea),Eo(ta),Eo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=ce(t,e.type);t!==n&&(jo(ta,e),jo(ea,n))}function sa(e){ta.current===e&&(Eo(ea),Eo(ta))}var ca=Co(0);function la(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 ua=[];function Aa(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var da=b.ReactCurrentDispatcher,fa=b.ReactCurrentBatchConfig,ha=0,pa=null,ma=null,ga=null,va=!1,ya=!1,ba=0,wa=0;function _a(){throw Error(i(321))}function xa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ba(e,t,n,r,o,a){if(ha=a,pa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?ss:cs,e=n(r,o),ya){a=0;do{if(ya=!1,ba=0,25<=a)throw Error(i(301));a+=1,ga=ma=null,t.updateQueue=null,da.current=ls,e=n(r,o)}while(ya)}if(da.current=as,t=null!==ma&&null!==ma.next,ha=0,ga=ma=pa=null,va=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==ba;return ba=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?pa.memoizedState=ga=e:ga=ga.next=e,ga}function ja(){if(null===ma){var e=pa.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ga?pa.memoizedState:ga.next;if(null!==t)ga=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ga?pa.memoizedState=ga=e:ga=ga.next=e}return ga}function ka(e,t){return"function"===typeof t?t(e):t}function Sa(e){var t=ja(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var c=s=null,l=null,u=a;do{var A=u.lane;if((ha&A)===A)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:A,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(c=l=d,s=r):l=l.next=d,pa.lanes|=A,Tc|=A}u=u.next}while(null!==u&&u!==a);null===l?s=r:l.next=c,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,pa.lanes|=a,Tc|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Oa(e){var t=ja(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Na(){}function Fa(e,t){var n=pa,r=ja(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,qa(La.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Ua(9,Pa.bind(null,n,r,o,t),void 0,null),null===Sc)throw Error(i(349));0!==(30&ha)||Ia(n,t,o)}return o}function Ia(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Pa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Da(e)}function La(e,t,n){return n((function(){Ta(t)&&Da(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Da(e){var t=Oi(e,1);null!==t&&nl(t,e,1,-1)}function Qa(e){var t=Ea();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,pa,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=pa.updateQueue)?(t={lastEffect:null,stores:null},pa.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 Ma(){return ja().memoizedState}function Ra(e,t,n,r){var o=Ea();pa.flags|=e,o.memoizedState=Ua(1|t,n,void 0,void 0===r?null:r)}function $a(e,t,n,r){var o=ja();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&xa(r,a.deps))return void(o.memoizedState=Ua(t,n,i,r))}pa.flags|=e,o.memoizedState=Ua(1|t,n,i,r)}function Ha(e,t){return Ra(8390656,8,e,t)}function qa(e,t){return $a(2048,8,e,t)}function Ka(e,t){return $a(4,2,e,t)}function Va(e,t){return $a(4,4,e,t)}function za(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Za(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,$a(4,4,za.bind(null,t,e),n)}function Ga(){}function Wa(e,t){var n=ja();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ya(e,t){var n=ja();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xa(e,t,n){return 0===(21&ha)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=pt(),pa.lanes|=n,Tc|=n,e.baseState=!0),t)}function Ja(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{yt=n,fa.transition=r}}function es(){return ja().memoizedState}function ts(e,t,n){var r=tl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Si(e,t,n,r))){nl(n,e,r,el()),is(n,t,r)}}function ns(e,t,n){var r=tl(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(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,sr(s,a)){var c=t.interleaved;return null===c?(o.next=o,ki(t)):(o.next=c.next,c.next=o),void(t.interleaved=o)}}catch(l){}null!==(n=Si(e,t,o,r))&&(nl(n,e,r,o=el()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===pa||null!==t&&t===pa}function os(e,t){ya=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var as={readContext:Ei,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},ss={readContext:Ei,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Ei,useEffect:Ha,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ra(4194308,4,za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();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=ts.bind(null,pa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Qa,useDebugValue:Ga,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Qa(!1),t=e[0];return e=Ja.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pa,o=Ea();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Sc)throw Error(i(349));0!==(30&ha)||Ia(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ha(La.bind(null,r,a,e),[e]),r.flags|=2048,Ua(9,Pa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Sc.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-at(Yo)-1)).toString(32)+n),0<(n=ba++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cs={readContext:Ei,useCallback:Wa,useContext:Ei,useEffect:qa,useImperativeHandle:Za,useInsertionEffect:Ka,useLayoutEffect:Va,useMemo:Ya,useReducer:Sa,useRef:Ma,useState:function(){return Sa(ka)},useDebugValue:Ga,useDeferredValue:function(e){return Xa(ja(),ma.memoizedState,e)},useTransition:function(){return[Sa(ka)[0],ja().memoizedState]},useMutableSource:Na,useSyncExternalStore:Fa,useId:es,unstable_isNewReconciler:!1},ls={readContext:Ei,useCallback:Wa,useContext:Ei,useEffect:qa,useImperativeHandle:Za,useInsertionEffect:Ka,useLayoutEffect:Va,useMemo:Ya,useReducer:Oa,useRef:Ma,useState:function(){return Oa(ka)},useDebugValue:Ga,useDeferredValue:function(e){var t=ja();return null===ma?t.memoizedState=e:Xa(t,ma.memoizedState,e)},useTransition:function(){return[Oa(ka)[0],ja().memoizedState]},useMutableSource:Na,useSyncExternalStore:Fa,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=R(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function As(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Pi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qc||(qc=!0,Kc=r),ds(0,t)},n}function ps(e,t,n){(n=Pi(-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(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===Vc?Vc=new Set([this]):Vc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;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=Cl.bind(null,e,t,n),t.then(e,e))}function gs(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 vs(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=Pi(-1,1)).tag=2,Li(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ys=b.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?Xi(t,null,n,r):Yi(t,e.child,n,r)}function _s(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=Ba(e,t,n,r,i,o),n=Ca(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function xs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Fl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Bs(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Il(i,r)).ref=t.ref,e.return=t,t.child=e}function Bs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(cr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);0!==(131072&e.flags)&&(bs=!0)}}return js(e,t,n,r,o)}function Cs(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},jo(Ic,Fc),Fc|=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,jo(Ic,Fc),Fc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,jo(Ic,Fc),Fc|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,jo(Ic,Fc),Fc|=r;return ws(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function js(e,t,n,r,o){var i=Io(n)?No:So.current;return i=Fo(t,i),Ci(t,o),n=Ba(e,t,n,r,i,o),r=Ca(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function ks(e,t,n,r,o){if(Io(n)){var i=!0;Do(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Hs(e,t),qi(t,n,r),Vi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=Ei(l):l=Fo(t,l=Io(n)?No:So.current);var u=n.getDerivedStateFromProps,A="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;A||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||c!==l)&&Ki(t,a,r,l),Ni=!1;var d=t.memoizedState;a.state=d,Qi(t,r,a,o),c=t.memoizedState,s!==r||d!==c||Oo.current||Ni?("function"===typeof u&&(Ri(t,n,u,r),c=t.memoizedState),(s=Ni||Hi(t,n,s,r,d,c,l))?(A||"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=c),a.props=r,a.state=c,a.context=l,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ii(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:gi(t.type,s),a.props=l,A=t.pendingProps,d=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=Ei(c):c=Fo(t,c=Io(n)?No:So.current);var f=n.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==A||d!==c)&&Ki(t,a,r,c),Ni=!1,d=t.memoizedState,a.state=d,Qi(t,r,a,o);var h=t.memoizedState;s!==A||d!==h||Oo.current||Ni?("function"===typeof f&&(Ri(t,n,f,r),h=t.memoizedState),(l=Ni||Hi(t,n,l,r,d,h,c)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,c)),"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=c,r=l):("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 Ss(e,t,n,r,i,o)}function Ss(e,t,n,r,o,i){Es(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Qo(t,n,!1),qs(e,t,i);r=t.stateNode,ys.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Yi(t,e.child,null,i),t.child=Yi(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Qo(t,n,!0),t.child}function Os(e){var t=e.stateNode;t.pendingContext?Lo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lo(0,t.context,!1),oa(e,t.containerInfo)}function Ns(e,t,n,r,o){return hi(),pi(o),t.flags|=256,ws(e,t,n,r),t.child}var Fs,Is,Ps,Ls={dehydrated:null,treeContext:null,retryLane:0};function Ts(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,o=t.pendingProps,a=ca.current,s=!1,c=0!==(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),jo(ca,1&a),null===e)return ui(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):(c=o.children,e=o.fallback,s?(o=t.mode,s=t.child,c={mode:"hidden",children:c},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=c):s=Tl(c,o,0,null),e=Ll(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ts(n),t.memoizedState=Ls,e):Qs(t,c));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=As(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Tl({mode:"visible",children:r.children},o,0,null),(a=Ll(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&Yi(t,e.child,null,s),t.child.memoizedState=Ts(s),t.memoizedState=Ls,a);if(0===(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var c=r.dgst;return r=c,Us(e,t,s,r=As(a=Error(i(419)),r,void 0))}if(c=0!==(s&e.childLanes),bs||c){if(null!==(r=Sc)){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!==a.retryLane&&(a.retryLane=o,Oi(e,o),nl(r,e,o,-1))}return pl(),Us(e,t,s,r=As(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=jl.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=lo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Zo[Go++]=Yo,Zo[Go++]=Xo,Zo[Go++]=Wo,Yo=e.id,Xo=e.overflow,Wo=t),(t=Qs(t,r.children)).flags|=4096,t)}(e,t,c,o,r,a,n);if(s){s=o.fallback,c=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 0===(1&c)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null):(o=Il(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Il(r,s):(s=Ll(s,c,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,c=null===(c=e.child.memoizedState)?Ts(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,o}return e=(s=e.child).sibling,o=Il(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 Qs(e,t){return(t=Tl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&pi(r),Yi(t,e.child,null,n),(e=Qs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ms(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Bi(e.return,t,n)}function Rs(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 $s(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),0!==(2&(r=ca.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&&Ms(e,n,t);else if(19===e.tag)Ms(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(jo(ca,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===la(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Rs(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===la(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Rs(t,!0,n,null,i);break;case"together":Rs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Tc|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Il(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Il(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ks(e,t){if(!ii)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 Vs(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(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Io(t.type)&&Po(),Vs(t),null;case 3:return r=t.stateNode,ia(),Eo(Oo),Eo(So),Aa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(al(ai),ai=null))),Vs(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Vs(t),null}if(e=ra(ea.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fo]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Ur(Lr[o],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":W(r,a),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ur("invalid",r);break;case"textarea":oe(r,a),Ur("invalid",r)}for(var c in ve(n,a),o=null,a)if(a.hasOwnProperty(c)){var l=a[c];"children"===c?"string"===typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,l,e),o=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,l,e),o=["children",""+l]):s.hasOwnProperty(c)&&null!=l&&"onScroll"===c&&Ur("scroll",r)}switch(n){case"input":V(r),J(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[fo]=t,e[ho]=r,Fs(e,t),t.stateNode=e;e:{switch(c=ye(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),o=r;break;case"iframe":case"object":case"embed":Ur("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Ur(Lr[o],e);o=r;break;case"source":Ur("error",e),o=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),o=r;break;case"details":Ur("toggle",e),o=r;break;case"input":W(e,r),o=G(e,r),Ur("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Ur("invalid",e)}for(a in ve(n,o),l=o)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&Ae(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&de(e,u):"number"===typeof u&&de(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Ur("scroll",e):null!=u&&y(e,a,u,c))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}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 Vs(t),null;case 6:if(e&&null!=t.stateNode)Ps(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return Vs(t),null;case 13:if(Eo(ca),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))fi(),hi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),a=!1}else null!==ai&&(al(ai),ai=null),a=!0;if(!a)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&ca.current)?0===Pc&&(Pc=3):pl())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return ia(),null===e&&$r(t.stateNode.containerInfo),Vs(t),null;case 10:return xi(t.type._context),Vs(t),null;case 19:if(Eo(ca),null===(a=t.memoizedState))return Vs(t),null;if(r=0!==(128&t.flags),null===(c=a.rendering))if(r)Ks(a,!1);else{if(0!==Pc||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=la(e))){for(t.flags|=128,Ks(a,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(c=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,e=c.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return jo(ca,1&ca.current|2),t.child}e=e.sibling}null!==a.tail&&Ye()>$c&&(t.flags|=128,r=!0,Ks(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=la(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ks(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!ii)return Vs(t),null}else 2*Ye()-a.renderingStartTime>$c&&1073741824!==n&&(t.flags|=128,r=!0,Ks(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=ca.current,jo(ca,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return Al(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Fc)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Zs(e,t){switch(ni(t),t.tag){case 1:return Io(t.type)&&Po(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Eo(Oo),Eo(So),Aa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Eo(ca),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(ca),null;case 4:return ia(),null;case 10:return xi(t.type._context),null;case 22:case 23:return Al(),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}},Is=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=G(e,o),r=G(e,r),a=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var c=o[u];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(i in c)!c.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&c[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(a||(a=[]),a.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(a=a||[]).push(u,l)):"children"===u?"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Ur("scroll",e),a||c===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ps=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gs=!1,Ws=!1,Ys="function"===typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Bl(e,t,r)}else n.current=null}function ec(e,t,n){try{n()}catch(r){Bl(e,t,r)}}var tc=!1;function nc(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&&ec(t,n,i)}o=o.next}while(o!==r)}}function rc(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 oc(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 ic(e){var t=e.alternate;null!==t&&(e.alternate=null,ic(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[mo],delete t[go],delete t[vo])),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 ac(e){return 5===e.tag||3===e.tag||4===e.tag}function sc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ac(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 cc(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)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cc(e,t,n),e=e.sibling;null!==e;)cc(e,t,n),e=e.sibling}function lc(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(lc(e,t,n),e=e.sibling;null!==e;)lc(e,t,n),e=e.sibling}var uc=null,Ac=!1;function dc(e,t,n){for(n=n.child;null!==n;)fc(e,t,n),n=n.sibling}function fc(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Ws||Js(n,t);case 6:var r=uc,o=Ac;uc=null,dc(e,t,n),Ac=o,null!==(uc=r)&&(Ac?(e=uc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):uc.removeChild(n.stateNode));break;case 18:null!==uc&&(Ac?(e=uc,n=n.stateNode,8===e.nodeType?co(e.parentNode,n):1===e.nodeType&&co(e,n),$t(e)):co(uc,n.stateNode));break;case 4:r=uc,o=Ac,uc=n.stateNode.containerInfo,Ac=!0,dc(e,t,n),uc=r,Ac=o;break;case 0:case 11:case 14:case 15:if(!Ws&&(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))&&ec(n,t,a),o=o.next}while(o!==r)}dc(e,t,n);break;case 1:if(!Ws&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Bl(n,t,s)}dc(e,t,n);break;case 21:dc(e,t,n);break;case 22:1&n.mode?(Ws=(r=Ws)||null!==n.memoizedState,dc(e,t,n),Ws=r):dc(e,t,n);break;default:dc(e,t,n)}}function hc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach((function(t){var r=kl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function pc(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 5:uc=c.stateNode,Ac=!1;break e;case 3:case 4:uc=c.stateNode.containerInfo,Ac=!0;break e}c=c.return}if(null===uc)throw Error(i(160));fc(a,s,o),uc=null,Ac=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(u){Bl(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)mc(t,e),t=t.sibling}function mc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pc(t,e),gc(e),4&r){try{nc(3,e,e.return),rc(3,e)}catch(m){Bl(e,e.return,m)}try{nc(5,e,e.return)}catch(m){Bl(e,e.return,m)}}break;case 1:pc(t,e),gc(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(pc(t,e),gc(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(m){Bl(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,c=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===c&&"radio"===a.type&&null!=a.name&&Y(o,a),ye(c,s);var u=ye(c,a);for(s=0;s<l.length;s+=2){var A=l[s],d=l[s+1];"style"===A?me(o,d):"dangerouslySetInnerHTML"===A?Ae(o,d):"children"===A?de(o,d):y(o,A,d,u)}switch(c){case"input":X(o,a);break;case"textarea":ie(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):f!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Bl(e,e.return,m)}}break;case 6:if(pc(t,e),gc(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Bl(e,e.return,m)}}break;case 3:if(pc(t,e),gc(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(m){Bl(e,e.return,m)}break;case 4:default:pc(t,e),gc(e);break;case 13:pc(t,e),gc(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Rc=Ye())),4&r&&hc(e);break;case 22:if(A=null!==n&&null!==n.memoizedState,1&e.mode?(Ws=(u=Ws)||A,pc(t,e),Ws=u):pc(t,e),gc(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!A&&0!==(1&e.mode))for(Xs=e,A=e.child;null!==A;){for(d=Xs=A;null!==Xs;){switch(h=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:nc(4,f,f.return);break;case 1:Js(f,f.return);var p=f.stateNode;if("function"===typeof p.componentWillUnmount){r=f,n=f.return;try{t=r,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(m){Bl(r,n,m)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){wc(d);continue}}null!==h?(h.return=f,Xs=h):wc(d)}A=A.sibling}e:for(A=null,d=e;;){if(5===d.tag){if(null===A){A=d;try{o=d.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(c=d.stateNode,s=void 0!==(l=d.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null,c.style.display=pe("display",s))}catch(m){Bl(e,e.return,m)}}}else if(6===d.tag){if(null===A)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){Bl(e,e.return,m)}}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;A===d&&(A=null),d=d.return}A===d&&(A=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:pc(t,e),gc(e),4&r&&hc(e);case 21:}}function gc(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ac(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),lc(e,sc(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cc(e,sc(e),a);break;default:throw Error(i(161))}}catch(s){Bl(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vc(e,t,n){Xs=e,yc(e,t,n)}function yc(e,t,n){for(var r=0!==(1&e.mode);null!==Xs;){var o=Xs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Gs;if(!a){var s=o.alternate,c=null!==s&&null!==s.memoizedState||Ws;s=Gs;var l=Ws;if(Gs=a,(Ws=c)&&!l)for(Xs=o;null!==Xs;)c=(a=Xs).child,22===a.tag&&null!==a.memoizedState?_c(o):null!==c?(c.return=a,Xs=c):_c(o);for(;null!==i;)Xs=i,yc(i,t,n),i=i.sibling;Xs=o,Gs=s,Ws=l}bc(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Xs=i):bc(e)}}function bc(e){for(;null!==Xs;){var t=Xs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ws||rc(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ws)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ui(t,a,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}Ui(t,s,n)}break;case 5:var c=t.stateNode;if(null===n&&4&t.flags){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.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 u=t.alternate;if(null!==u){var A=u.memoizedState;if(null!==A){var d=A.dehydrated;null!==d&&$t(d)}}}break;default:throw Error(i(163))}Ws||512&t.flags&&oc(t)}catch(f){Bl(t,t.return,f)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wc(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function _c(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rc(4,t)}catch(c){Bl(t,n,c)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(c){Bl(t,o,c)}}var i=t.return;try{oc(t)}catch(c){Bl(t,i,c)}break;case 5:var a=t.return;try{oc(t)}catch(c){Bl(t,a,c)}}}catch(c){Bl(t,t.return,c)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var xc,Bc=Math.ceil,Cc=b.ReactCurrentDispatcher,Ec=b.ReactCurrentOwner,jc=b.ReactCurrentBatchConfig,kc=0,Sc=null,Oc=null,Nc=0,Fc=0,Ic=Co(0),Pc=0,Lc=null,Tc=0,Dc=0,Qc=0,Uc=null,Mc=null,Rc=0,$c=1/0,Hc=null,qc=!1,Kc=null,Vc=null,zc=!1,Zc=null,Gc=0,Wc=0,Yc=null,Xc=-1,Jc=0;function el(){return 0!==(6&kc)?Ye():-1!==Xc?Xc:Xc=Ye()}function tl(e){return 0===(1&e.mode)?1:0!==(2&kc)&&0!==Nc?Nc&-Nc:null!==mi.transition?(0===Jc&&(Jc=pt()),Jc):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Wt(e.type)}function nl(e,t,n,r){if(50<Wc)throw Wc=0,Yc=null,Error(i(185));gt(e,n,r),0!==(2&kc)&&e===Sc||(e===Sc&&(0===(2&kc)&&(Dc|=n),4===Pc&&sl(e,Nc)),rl(e,r),1===n&&0===kc&&0===(1&t.mode)&&($c=Ye()+500,Mo&&Ho()))}function rl(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-at(i),s=1<<a,c=o[a];-1===c?0!==(s&n)&&0===(s&r)||(o[a]=ft(s,t)):c<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=dt(e,e===Sc?Nc:0);if(0===r)null!==n&&Ze(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ze(n),1===t)0===e.tag?function(e){Mo=!0,$o(e)}(cl.bind(null,e)):$o(cl.bind(null,e)),ao((function(){0===(6&kc)&&Ho()})),n=null;else{switch(bt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Sl(n,ol.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ol(e,t){if(Xc=-1,Jc=0,0!==(6&kc))throw Error(i(327));var n=e.callbackNode;if(_l()&&e.callbackNode!==n)return null;var r=dt(e,e===Sc?Nc:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=ml(e,r);else{t=r;var o=kc;kc|=2;var a=hl();for(Sc===e&&Nc===t||(Hc=null,$c=Ye()+500,dl(e,t));;)try{vl();break}catch(c){fl(e,c)}_i(),Cc.current=a,kc=o,null!==Oc?t=0:(Sc=null,Nc=0,t=Pc)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=il(e,o))),1===t)throw n=Lc,dl(e,0),sl(e,r),rl(e,Ye()),n;if(6===t)sl(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(!sr(i(),o))return!1}catch(s){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=ml(e,r))&&(0!==(a=ht(e))&&(r=a,t=il(e,a))),1===t))throw n=Lc,dl(e,0),sl(e,r),rl(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wl(e,Mc,Hc);break;case 3:if(sl(e,r),(130023424&r)===r&&10<(t=Rc+500-Ye())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){el(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wl.bind(null,e,Mc,Hc),t);break}wl(e,Mc,Hc);break;case 4:if(sl(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Bc(r/1960))-r)){e.timeoutHandle=ro(wl.bind(null,e,Mc,Hc),r);break}wl(e,Mc,Hc);break;default:throw Error(i(329))}}}return rl(e,Ye()),e.callbackNode===n?ol.bind(null,e):null}function il(e,t){var n=Uc;return e.current.memoizedState.isDehydrated&&(dl(e,t).flags|=256),2!==(e=ml(e,t))&&(t=Mc,Mc=n,null!==t&&al(t)),e}function al(e){null===Mc?Mc=e:Mc.push.apply(Mc,e)}function sl(e,t){for(t&=~Qc,t&=~Dc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cl(e){if(0!==(6&kc))throw Error(i(327));_l();var t=dt(e,0);if(0===(1&t))return rl(e,Ye()),null;var n=ml(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=il(e,r))}if(1===n)throw n=Lc,dl(e,0),sl(e,t),rl(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Mc,Hc),rl(e,Ye()),null}function ll(e,t){var n=kc;kc|=1;try{return e(t)}finally{0===(kc=n)&&($c=Ye()+500,Mo&&Ho())}}function ul(e){null!==Zc&&0===Zc.tag&&0===(6&kc)&&_l();var t=kc;kc|=1;var n=jc.transition,r=yt;try{if(jc.transition=null,yt=1,e)return e()}finally{yt=r,jc.transition=n,0===(6&(kc=t))&&Ho()}}function Al(){Fc=Ic.current,Eo(Ic)}function dl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Oc)for(n=Oc.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Po();break;case 3:ia(),Eo(Oo),Eo(So),Aa();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:Eo(ca);break;case 10:xi(r.type._context);break;case 22:case 23:Al()}n=n.return}if(Sc=e,Oc=e=Il(e.current,null),Nc=Fc=t,Pc=0,Lc=null,Qc=Dc=Tc=0,Mc=Uc=null,null!==ji){for(t=0;t<ji.length;t++)if(null!==(r=(n=ji[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}ji=null}return e}function fl(e,t){for(;;){var n=Oc;try{if(_i(),da.current=as,va){for(var r=pa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}va=!1}if(ha=0,ga=ma=pa=null,ya=!1,ba=0,Ec.current=null,null===n||null===n.return){Pc=1,Lc=t,Oc=null;break}e:{var a=e,s=n.return,c=n,l=t;if(t=Nc,c.flags|=32768,null!==l&&"object"===typeof l&&"function"===typeof l.then){var u=l,A=c,d=A.tag;if(0===(1&A.mode)&&(0===d||11===d||15===d)){var f=A.alternate;f?(A.updateQueue=f.updateQueue,A.memoizedState=f.memoizedState,A.lanes=f.lanes):(A.updateQueue=null,A.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,vs(h,s,c,0,t),1&h.mode&&ms(a,u,t),l=u;var p=(t=h).updateQueue;if(null===p){var m=new Set;m.add(l),t.updateQueue=m}else p.add(l);break e}if(0===(1&t)){ms(a,u,t),pl();break e}l=Error(i(426))}else if(ii&&1&c.mode){var g=gs(s);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),vs(g,s,c,0,t),pi(us(l,c));break e}}a=l=us(l,c),4!==Pc&&(Pc=2),null===Uc?Uc=[a]:Uc.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(a,hs(0,l,t));break e;case 1:c=l;var v=a.type,y=a.stateNode;if(0===(128&a.flags)&&("function"===typeof v.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===Vc||!Vc.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Di(a,ps(a,c,t));break e}}a=a.return}while(null!==a)}bl(n)}catch(b){t=b,Oc===n&&null!==n&&(Oc=n=n.return);continue}break}}function hl(){var e=Cc.current;return Cc.current=as,null===e?as:e}function pl(){0!==Pc&&3!==Pc&&2!==Pc||(Pc=4),null===Sc||0===(268435455&Tc)&&0===(268435455&Dc)||sl(Sc,Nc)}function ml(e,t){var n=kc;kc|=2;var r=hl();for(Sc===e&&Nc===t||(Hc=null,dl(e,t));;)try{gl();break}catch(o){fl(e,o)}if(_i(),kc=n,Cc.current=r,null!==Oc)throw Error(i(261));return Sc=null,Nc=0,Pc}function gl(){for(;null!==Oc;)yl(Oc)}function vl(){for(;null!==Oc&&!Ge();)yl(Oc)}function yl(e){var t=xc(e.alternate,e,Fc);e.memoizedProps=e.pendingProps,null===t?bl(e):Oc=t,Ec.current=null}function bl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=zs(n,t,Fc)))return void(Oc=n)}else{if(null!==(n=Zs(n,t)))return n.flags&=32767,void(Oc=n);if(null===e)return Pc=6,void(Oc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Oc=t);Oc=t=e}while(null!==t);0===Pc&&(Pc=5)}function wl(e,t,n){var r=yt,o=jc.transition;try{jc.transition=null,yt=1,function(e,t,n,r){do{_l()}while(null!==Zc);if(0!==(6&kc))throw Error(i(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(i(177));e.callbackNode=null,e.callbackPriority=0;var a=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-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Sc&&(Oc=Sc=null,Nc=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||zc||(zc=!0,Sl(tt,(function(){return _l(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=jc.transition,jc.transition=null;var s=yt;yt=1;var c=kc;kc|=4,Ec.current=null,function(e,t){if(eo=qt,fr(e=dr())){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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var s=0,c=-1,l=-1,u=0,A=0,d=e,f=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(c=s+o),d!==a||0!==r&&3!==d.nodeType||(l=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&&++u===o&&(c=s),f===a&&++A===r&&(l=s),null!==(h=d.nextSibling))break;f=(d=f).parentNode}d=h}n=-1===c||-1===l?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var p=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!==p){var m=p.memoizedProps,g=p.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:gi(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(i(163))}}catch(w){Bl(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}p=tc,tc=!1}(e,n),mc(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,vc(n,e,o),We(),kc=c,yt=s,jc.transition=a}else e.current=n;if(zc&&(zc=!1,Zc=e,Gc=o),0===(a=e.pendingLanes)&&(Vc=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rl(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(qc)throw qc=!1,e=Kc,Kc=null,e;0!==(1&Gc)&&0!==e.tag&&_l(),0!==(1&(a=e.pendingLanes))?e===Yc?Wc++:(Wc=0,Yc=e):Wc=0,Ho()}(e,t,n,r)}finally{jc.transition=o,yt=r}return null}function _l(){if(null!==Zc){var e=bt(Gc),t=jc.transition,n=yt;try{if(jc.transition=null,yt=16>e?16:e,null===Zc)var r=!1;else{if(e=Zc,Zc=null,Gc=0,0!==(6&kc))throw Error(i(331));var o=kc;for(kc|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(0!==(16&Xs.flags)){var c=a.deletions;if(null!==c){for(var l=0;l<c.length;l++){var u=c[l];for(Xs=u;null!==Xs;){var A=Xs;switch(A.tag){case 0:case 11:case 15:nc(8,A,a)}var d=A.child;if(null!==d)d.return=A,Xs=d;else for(;null!==Xs;){var f=(A=Xs).sibling,h=A.return;if(ic(A),A===u){Xs=null;break}if(null!==f){f.return=h,Xs=f;break}Xs=h}}}var p=a.alternate;if(null!==p){var m=p.child;if(null!==m){p.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Xs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(0!==(2048&(a=Xs).flags))switch(a.tag){case 0:case 11:case 15:nc(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Xs=v;break e}Xs=a.return}}var y=e.current;for(Xs=y;null!==Xs;){var b=(s=Xs).child;if(0!==(2064&s.subtreeFlags)&&null!==b)b.return=s,Xs=b;else e:for(s=y;null!==Xs;){if(0!==(2048&(c=Xs).flags))try{switch(c.tag){case 0:case 11:case 15:rc(9,c)}}catch(_){Bl(c,c.return,_)}if(c===s){Xs=null;break e}var w=c.sibling;if(null!==w){w.return=c.return,Xs=w;break e}Xs=c.return}}if(kc=o,Ho(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(_){}r=!0}return r}finally{yt=n,jc.transition=t}}return!1}function xl(e,t,n){e=Li(e,t=hs(0,t=us(n,t),1),1),t=el(),null!==e&&(gt(e,1,t),rl(e,t))}function Bl(e,t,n){if(3===e.tag)xl(e,e,n);else for(;null!==t;){if(3===t.tag){xl(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Vc||!Vc.has(r))){t=Li(t,e=ps(t,e=us(n,e),1),1),e=el(),null!==t&&(gt(t,1,e),rl(t,e));break}}t=t.return}}function Cl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=el(),e.pingedLanes|=e.suspendedLanes&n,Sc===e&&(Nc&n)===n&&(4===Pc||3===Pc&&(130023424&Nc)===Nc&&500>Ye()-Rc?dl(e,0):Qc|=n),rl(e,t)}function El(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=el();null!==(e=Oi(e,t))&&(gt(e,t,n),rl(e,n))}function jl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),El(e,n)}function kl(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(i(314))}null!==r&&r.delete(t),El(e,n)}function Sl(e,t){return ze(e,t)}function Ol(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 Nl(e,t,n,r){return new Ol(e,t,n,r)}function Fl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Il(e,t){var n=e.alternate;return null===n?((n=Nl(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 Pl(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Fl(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case x:return Ll(n.children,o,a,t);case B:s=8,o|=8;break;case C:return(e=Nl(12,n,t,2|o)).elementType=C,e.lanes=a,e;case S:return(e=Nl(13,n,t,o)).elementType=S,e.lanes=a,e;case O:return(e=Nl(19,n,t,o)).elementType=O,e.lanes=a,e;case I:return Tl(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case j:s=9;break e;case k:s=11;break e;case N:s=14;break e;case F:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nl(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ll(e,t,n,r){return(e=Nl(7,e,r,t)).lanes=n,e}function Tl(e,t,n,r){return(e=Nl(22,e,r,t)).elementType=I,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return(e=Nl(6,e,null,t)).lanes=n,e}function Ql(e,t,n){return(t=Nl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ul(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=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ml(e,t,n,r,o,i,a,s,c){return e=new Ul(e,t,n,s,c),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nl(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 Rl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function $l(e){if(!e)return ko;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Io(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Io(n))return To(e,n,t)}return t}function Hl(e,t,n,r,o,i,a,s,c){return(e=Ml(n,r,!0,e,0,i,0,s,c)).context=$l(null),n=e.current,(i=Pi(r=el(),o=tl(n))).callback=void 0!==t&&null!==t?t:null,Li(n,i,o),e.current.lanes=o,gt(e,o,r),rl(e,r),e}function ql(e,t,n,r){var o=t.current,i=el(),a=tl(o);return n=$l(n),null===t.context?t.context=n:t.pendingContext=n,(t=Pi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Li(o,t,a))&&(nl(e,o,a,i),Ti(e,o,a)),a}function Kl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function zl(e,t){Vl(e,t),(e=e.alternate)&&Vl(e,t)}xc=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Os(t),hi();break;case 5:aa(t);break;case 1:Io(t.type)&&Do(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;jo(vi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(jo(ca,1&ca.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ds(e,t,n):(jo(ca,1&ca.current),null!==(e=qs(e,t,n))?e.sibling:null);jo(ca,1&ca.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return $s(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),jo(ca,ca.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return qs(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ii&&0!==(1048576&t.flags)&&ei(t,zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var o=Fo(t,So.current);Ci(t,n),o=Ba(null,t,r,e,o,n);var a=Ca();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,Io(r)?(a=!0,Do(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Fi(t),o.updater=$i,t.stateNode=o,o._reactInternals=t,Vi(t,r,e,n),t=Ss(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Fl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===k)return 11;if(e===N)return 14}return 2}(r),e=gi(r,e),o){case 0:t=js(null,t,r,e,n);break e;case 1:t=ks(null,t,r,e,n);break e;case 11:t=_s(null,t,r,e,n);break e;case 14:t=xs(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,js(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Os(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ii(e,t),Qi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ns(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=Ns(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=lo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Xi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Ds(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yi(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:gi(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,a=t.memoizedProps,s=o.value,jo(vi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Oo.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var c=a.dependencies;if(null!==c){s=a.child;for(var l=c.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=Pi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var A=(u=u.shared).pending;null===A?l.next=l:(l.next=A.next,A.next=l),u.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Bi(a.return,n,t),c.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),Bi(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ei(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),xs(e,t,r,o=gi(r.type,o),n);case 15:return Bs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Hs(e,t),t.tag=1,Io(r)?(e=!0,Do(t)):e=!1,Ci(t,n),qi(t,r,o),Vi(t,r,o,n),Ss(null,t,r,!0,e,n);case 19:return $s(e,t,n);case 22:return Cs(e,t,n)}throw Error(i(156,t.tag))};var Zl="function"===typeof reportError?reportError:function(e){console.error(e)};function Gl(e){this._internalRoot=e}function Wl(e){this._internalRoot=e}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jl(){}function eu(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=Kl(a);s.call(e)}}ql(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=Kl(a);i.call(e)}}var a=Hl(t,r,e,0,null,!1,0,"",Jl);return e._reactRootContainer=a,e[po]=a.current,$r(8===e.nodeType?e.parentNode:e),ul(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=Kl(c);s.call(e)}}var c=Ml(e,0,!1,null,0,!1,0,"",Jl);return e._reactRootContainer=c,e[po]=c.current,$r(8===e.nodeType?e.parentNode:e),ul((function(){ql(t,c,n,r)})),c}(n,t,e,o,r);return Kl(a)}Wl.prototype.render=Gl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));ql(e,t,null,null)},Wl.prototype.unmount=Gl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ul((function(){ql(null,e,null,null)})),t[po]=null}},Wl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=At(t.pendingLanes);0!==n&&(vt(t,1|n),rl(t,Ye()),0===(6&kc)&&($c=Ye()+500,Ho()))}break;case 13:ul((function(){var t=Oi(e,1);if(null!==t){var n=el();nl(t,e,1,n)}})),zl(e,1)}},_t=function(e){if(13===e.tag){var t=Oi(e,134217728);if(null!==t)nl(t,e,134217728,el());zl(e,134217728)}},xt=function(e){if(13===e.tag){var t=tl(e),n=Oi(e,t);if(null!==n)nl(n,e,t,el());zl(e,t)}},Bt=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},_e=function(e,t,n){switch(t){case"input":if(X(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=_o(r);if(!o)throw Error(i(90));z(r),X(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ke=ll,Se=ul;var tu={usingClientEntryPoint:!1,Events:[bo,wo,_o,Ee,je,ll]},nu={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ke(e))?null:e.stateNode},findFiberByHostInstance:nu.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 ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yl(t))throw Error(i(200));return Rl(e,t,null,n)},t.createRoot=function(e,t){if(!Yl(e))throw Error(i(299));var n=!1,r="",o=Zl;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Ml(e,1,!1,null,0,n,0,r,o),e[po]=t.current,$r(8===e.nodeType?e.parentNode:e),new Gl(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(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ke(t))?null:e.stateNode},t.flushSync=function(e){return ul(e)},t.hydrate=function(e,t,n){if(!Xl(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yl(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Zl;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hl(t,null,e,1,null!=n?n:null,o,0,a,s),e[po]=t.current,$r(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 Wl(t)},t.render=function(e,t,n){if(!Xl(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xl(e))throw Error(i(40));return!!e._reactRootContainer&&(ul((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[po]=null}))})),!0)},t.unstable_batchedUpdates=ll,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xl(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},6742:function(e,t,n){!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=n(t);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var a=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))},s={error:null},c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state=s,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}i(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var n=t.prototype;return n.reset=function(){this.setState(s)},n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},n.componentDidUpdate=function(e,t){var n,r,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&a(e.resetKeys,i)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,i),this.reset())},n.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,o=t.FallbackComponent,i=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(i))return i;if("function"===typeof n)return n(a);if(o)return r.createElement(o,a);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);function l(e,t){var n=function(n){return r.createElement(c,t,r.createElement(e,n))},o=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+o+")",n}function u(e){var t=r.useState(null),n=t[0],o=t[1];if(null!=e)throw e;if(null!=n)throw n;return o}e.ErrorBoundary=c,e.useErrorHandler=u,e.withErrorBoundary=l,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2791))},77:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(!i(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!==c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!i(e[l[c]],a[l[c]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},7087:function(e,t,n){!function(){var t={296:function(e,t,n){var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),A=Object.prototype.toString,d=Math.max,f=Math.min,h=function(){return u.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==A.call(e)}(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,c,l=0,u=!1,A=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function y(e){return l=e,s=setTimeout(w,t),u?v(e):a}function b(e){var n=e-c;return void 0===c||n>=t||n<0||A&&e-l>=i}function w(){var e=h();if(b(e))return _(e);s=setTimeout(w,function(e){var n=t-(e-c);return A?f(n,i-(e-l)):n}(e))}function _(e){return s=void 0,g&&r?v(e):(r=o=void 0,a)}function x(){var e=h(),n=b(e);if(r=arguments,o=this,c=e,n){if(void 0===s)return y(c);if(A)return s=setTimeout(w,t),v(c)}return void 0===s&&(s=setTimeout(w,t)),a}return t=m(t)||0,p(n)&&(u=!!n.leading,i=(A="maxWait"in n)?d(m(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=o=s=void 0},x.flush=function(){return void 0===s?a:_(h())},x}},96:function(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,A=l||u||Function("return this")(),d=Object.prototype.toString,f=Math.max,h=Math.min,p=function(){return A.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return m(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,s,c,l,u=0,A=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError(r);function y(t){var n=o,r=i;return o=i=void 0,u=t,s=e.apply(r,n)}function b(e){return u=e,c=setTimeout(_,t),A?y(e):s}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=a}function _(){var e=p();if(w(e))return x(e);c=setTimeout(_,function(e){var n=t-(e-l);return d?h(n,a-(e-u)):n}(e))}function x(e){return c=void 0,v&&o?y(e):(o=i=void 0,s)}function B(){var e=p(),n=w(e);if(o=arguments,i=this,l=e,n){if(void 0===c)return b(l);if(d)return c=setTimeout(_,t),y(l)}return void 0===c&&(c=setTimeout(_,t)),s}return t=g(t)||0,m(n)&&(A=!!n.leading,a=(d="maxWait"in n)?f(g(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),B.cancel=function(){void 0!==c&&clearTimeout(c),u=0,o=l=i=c=void 0},B.flush=function(){return void 0===c?s:x(p())},B}(e,t,{leading:o,maxWait:t,trailing:i})}},703:function(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}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),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})};var i={};(function(){"use strict";o.r(i),o.d(i,{LazyLoadComponent:function(){return z},LazyLoadImage:function(){return oe},trackWindowScroll:function(){return P}});var e=n(2791),t=o.n(e),r=o(697),a=n(4164),s=o.n(a);function c(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){e.forEach((function(e){e.isIntersecting&&e.target.onVisible()}))},m={},g=function(e){!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&&d(e,t)}(a,e);var n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function a(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&c(),t.supportsObserver){var n=e.threshold;t.observer=function(e){return m[e]=m[e]||new IntersectionObserver(p,{rootMargin:e+"px"}),m[e]}(n)}return t}return(n=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),n=s().findDOMNode(this.placeholder).style,r={left:parseInt(n.getPropertyValue("margin-left"),10)||0,top:parseInt(n.getPropertyValue("margin-top"),10)||0};return{bottom:e.y+t.bottom+r.top,left:e.x+t.left+r.left,right:e.x+t.right+r.left,top:e.y+t.top+r.top}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,n=e.threshold,r=this.getPlaceholderBoundingBox(t),o=t.y+window.innerHeight,i=t.x,a=t.x+window.innerWidth,s=t.y;return Boolean(s-n<=r.bottom&&o+n>=r.top&&i-n<=r.right&&a+n>=r.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,n=this.props,r=n.className,o=n.height,i=n.placeholder,a=n.style,s=n.width;if(i&&"function"!=typeof i.type)return t().cloneElement(i,{ref:function(t){return e.placeholder=t}});var c=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({display:"inline-block"},a);return void 0!==s&&(c.width=s),void 0!==o&&(c.height=o),t().createElement("span",{className:r,ref:function(t){return e.placeholder=t},style:c},i)}}])&&function(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)}}(a.prototype,n),a}(t().Component);g.propTypes={onVisible:r.PropTypes.func.isRequired,className:r.PropTypes.string,height:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),placeholder:r.PropTypes.element,threshold:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool,scrollPosition:r.PropTypes.shape({x:r.PropTypes.number.isRequired,y:r.PropTypes.number.isRequired}),width:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string])},g.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};var v=g,y=o(296),b=o.n(y),w=o(96),_=o.n(w),x=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")},B=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(x(t)))return t;t=t.parentNode}return window};function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var E=["delayMethod","delayTime"];function j(){return(j=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)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){if(t&&("object"===C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},I=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset},P=function(e){var n=function(n){!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&&k(e,t)}(l,n);var r,o,i,a=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=N(o);if(i){var n=N(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function l(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=a.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&c(),n.useIntersectionObserver)return S(n);var r=n.onChangeScroll.bind(O(n));return"debounce"===e.delayMethod?n.delayedScroll=b()(r,e.delayTime):"throttle"===e.delayMethod&&(n.delayedScroll=_()(r,e.delayTime)),n.state={scrollPosition:{x:F(),y:I()}},n.baseComponentRef=t().createRef(),n}return(r=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||B(s().findDOMNode(this.baseComponentRef.current))!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=B(s().findDOMNode(this.baseComponentRef.current)),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:F(),y:I()}})}},{key:"render",value:function(){var n=this.props,r=(n.delayMethod,n.delayTime,function(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}(n,E)),o=this.useIntersectionObserver?null:this.state.scrollPosition;return t().createElement(e,j({forwardRef:this.baseComponentRef,scrollPosition:o},r))}}])&&function(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)}}(l.prototype,r),l}(t().Component);return n.propTypes={delayMethod:r.PropTypes.oneOf(["debounce","throttle"]),delayTime:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool},n.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},n};function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!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&&T(e,t)}(a,e);var n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Q(r);if(o){var n=Q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return D(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return(n=[{key:"render",value:function(){return t().createElement(v,this.props)}}])&&function(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)}}(a.prototype,n),a}(t().Component),M=P(U);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})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return q(e)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e){!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&&$(e,t)}(a,e);var n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=K(r);if(o){var n=K(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return H(this,e)});function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=i.call(this,e);var n=e.afterLoad,r=e.beforeLoad,o=e.scrollPosition,s=e.visibleByDefault;return t.state={visible:s},s&&(r(),n()),t.onVisible=t.onVisible.bind(q(t)),t.isScrollTracked=Boolean(o&&Number.isFinite(o.x)&&o.x>=0&&Number.isFinite(o.y)&&o.y>=0),t}return(n=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,n=e.className,r=e.delayMethod,o=e.delayTime,i=e.height,a=e.placeholder,s=e.scrollPosition,l=e.style,u=e.threshold,A=e.useIntersectionObserver,d=e.width;return this.isScrollTracked||A&&c()?t().createElement(v,{className:n,height:i,onVisible:this.onVisible,placeholder:a,scrollPosition:s,style:l,threshold:u,useIntersectionObserver:A,width:d}):t().createElement(M,{className:n,delayMethod:r,delayTime:o,height:i,onVisible:this.onVisible,placeholder:a,style:l,threshold:u,width:d})}}])&&function(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)}}(a.prototype,n),a}(t().Component);V.propTypes={afterLoad:r.PropTypes.func,beforeLoad:r.PropTypes.func,useIntersectionObserver:r.PropTypes.bool,visibleByDefault:r.PropTypes.bool},V.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};var z=V;function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var G=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function W(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 Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){X(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(){return(J=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)}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(e,t){if(t&&("object"===Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ne(e){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re=function(e){!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&&ee(e,t)}(a,e);var n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ne(r);if(o){var n=ne(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return te(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={loaded:!1},t}return(n=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(){e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,n=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(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}(e,G));return t().createElement("img",J({onLoad:this.onImageLoad()},n))}},{key:"getLazyLoadImage",value:function(){var e=this.props,n=e.beforeLoad,r=e.className,o=e.delayMethod,i=e.delayTime,a=e.height,s=e.placeholder,c=e.scrollPosition,l=e.style,u=e.threshold,A=e.useIntersectionObserver,d=e.visibleByDefault,f=e.width;return t().createElement(z,{beforeLoad:n,className:r,delayMethod:o,delayTime:i,height:a,placeholder:s,scrollPosition:c,style:l,threshold:u,useIntersectionObserver:A,visibleByDefault:d,width:f},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var n=this.props,r=n.effect,o=n.height,i=n.placeholderSrc,a=n.width,s=n.wrapperClassName,c=n.wrapperProps,l=this.state.loaded,u=l?" lazy-load-image-loaded":"",A=l||!i?{}:{backgroundImage:"url(".concat(i,")"),backgroundSize:"100% 100%"};return t().createElement("span",J({className:s+" lazy-load-image-background "+r+u,style:Y(Y({},A),{},{color:"transparent",display:"inline-block",height:o,width:a})},c),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,n=e.placeholderSrc,r=e.visibleByDefault,o=e.wrapperClassName,i=e.wrapperProps,a=this.getLazyLoadImage();return(t||n)&&!r||o||i?this.getWrappedLazyLoadImage(a):a}}])&&function(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)}}(a.prototype,n),a}(t().Component);re.propTypes={afterLoad:r.PropTypes.func,beforeLoad:r.PropTypes.func,delayMethod:r.PropTypes.string,delayTime:r.PropTypes.number,effect:r.PropTypes.string,placeholderSrc:r.PropTypes.string,threshold:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool,visibleByDefault:r.PropTypes.bool,wrapperClassName:r.PropTypes.string,wrapperProps:r.PropTypes.object},re.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};var oe=re})(),e.exports=i}()},6179:function(e){e.exports={ReactQueryDevtools:function(){return null},ReactQueryDevtoolsPanel:function(){return null}}},5590:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(4578),o=n(8846),i=n(1985),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!i.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(o.l))},5708:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.S}});var r=n(7161),o=n(5044);n.o(o,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return o.QueryClientProvider}}),n.o(o,"useMutation")&&n.d(t,{useMutation:function(){return o.useMutation}}),n.o(o,"useQuery")&&n.d(t,{useQuery:function(){return o.useQuery}}),n.o(o,"useQueryClient")&&n.d(t,{useQueryClient:function(){return o.useQueryClient}})},209:function(e,t,n){"use strict";n.d(t,{E:function(){return i},j:function(){return o}});var r=console;function o(){return r}function i(e){r=e}},1909:function(e,t,n){"use strict";n.d(t,{R:function(){return l},m:function(){return c}});var r=n(7462),o=n(209),i=n(2363),a=n(6350),s=n(1985),c=function(){function e(e){this.options=(0,r.Z)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||l(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.ZT).catch(s.ZT)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,o.j)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new a.m4({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.Z)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"loading":return(0,r.Z)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.Z)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},e,t.state);default:return e}}(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function l(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},2363:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(1985),o=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.A4)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.A4)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),i=new o},5503:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(4578),o=n(8846),i=n(1985),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!i.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},t}(o.l))},7161:function(e,t,n){"use strict";n.d(t,{S:function(){return v}});var r=n(7462),o=n(1985),i=n(4578),a=n(2363),s=n(209),c=n(6350),l=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.Z)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,o.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,i=this.state.data,a=(0,o.SE)(e,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,a))?a=i:!1!==this.options.structuralSharing&&(a=(0,o.Q$)(i,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(o.ZT).catch(o.ZT):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.Kp)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,i,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var l;return null==(l=this.retryer)||l.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find((function(e){return e.options.queryFn}));u&&this.setOptions(u.options)}var A=(0,o.mc)(this.queryKey),d=(0,o.G9)(),f={queryKey:A,pageParam:void 0,meta:this.meta};Object.defineProperty(f,"signal",{enumerable:!0,get:function(){if(d)return a.abortSignalConsumed=!0,d.signal}});var h,p,m={fetchOptions:t,options:this.options,queryKey:A,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(f)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(h=this.options.behavior)||h.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=m.fetchOptions)?void 0:p.meta});return this.retryer=new c.m4({fn:m.fetchFn,abort:null==d||null==(i=d.abort)?void 0:i.bind(d),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){(0,c.DV)(e)&&e.silent||a.dispatch({type:"error",error:e}),(0,c.DV)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,s.j)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.V.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,o;switch(t.type){case"failed":return(0,r.Z)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"fetch":return(0,r.Z)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(o=t.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var i=t.error;return(0,c.DV)(i)&&i.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},e,{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},e,{isInvalidated:!0});case"setState":return(0,r.Z)({},e,t.state);default:return e}},e}(),u=n(8846),A=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,i.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,i=t.queryKey,a=null!=(r=t.queryHash)?r:(0,o.Rm)(i,t),s=this.get(a);return s||(s=new l({cache:this,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,o.I6)(e,t)[0];return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,o._x)(n,e)}))},n.findAll=function(e,t){var n=(0,o.I6)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,o._x)(n,e)})):this.queries},n.notify=function(e){var t=this;a.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;a.V.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(u.l),d=n(1909),f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,i.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new d.m({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;a.V.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,o.X7)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,o.X7)(e,t)}))},n.notify=function(e){var t=this;a.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return a.V.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(o.ZT)}))}),Promise.resolve())}))},t}(u.l),h=n(5590),p=n(5503);function m(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function g(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var v=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new A,this.mutationCache=e.mutationCache||new f,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=h.j.subscribe((function(){h.j.isFocused()&&p.N.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=p.N.subscribe((function(){h.j.isFocused()&&p.N.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,o.I6)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.Z)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,o._v)(e),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return a.V.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,o.I6)(e,t)[0],r=this.queryCache;a.V.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var i=this,s=(0,o.I6)(e,t,n),c=s[0],l=s[1],u=this.queryCache,A=(0,r.Z)({},c,{active:!0});return a.V.batch((function(){return u.findAll(c).forEach((function(e){e.reset()})),i.refetchQueries(A,l)}))},t.cancelQueries=function(e,t,n){var r=this,i=(0,o.I6)(e,t,n),s=i[0],c=i[1],l=void 0===c?{}:c;"undefined"===typeof l.revert&&(l.revert=!0);var u=a.V.batch((function(){return r.queryCache.findAll(s).map((function(e){return e.cancel(l)}))}));return Promise.all(u).then(o.ZT).catch(o.ZT)},t.invalidateQueries=function(e,t,n){var i,s,c,l=this,u=(0,o.I6)(e,t,n),A=u[0],d=u[1],f=(0,r.Z)({},A,{active:null==(i=null!=(s=A.refetchActive)?s:A.active)||i,inactive:null!=(c=A.refetchInactive)&&c});return a.V.batch((function(){return l.queryCache.findAll(A).forEach((function(e){e.invalidate()})),l.refetchQueries(f,d)}))},t.refetchQueries=function(e,t,n){var i=this,s=(0,o.I6)(e,t,n),c=s[0],l=s[1],u=a.V.batch((function(){return i.queryCache.findAll(c).map((function(e){return e.fetch(void 0,(0,r.Z)({},l,{meta:{refetchPage:null==c?void 0:c.refetchPage}}))}))})),A=Promise.all(u).then(o.ZT);return(null==l?void 0:l.throwOnError)||(A=A.catch(o.ZT)),A},t.fetchQuery=function(e,t,n){var r=(0,o._v)(e,t,n),i=this.defaultQueryOptions(r);"undefined"===typeof i.retry&&(i.retry=!1);var a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(o.ZT).catch(o.ZT)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,o._v)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,i,a,s,l,u=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,A=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,d=null==A?void 0:A.pageParam,f="forward"===(null==A?void 0:A.direction),h="backward"===(null==A?void 0:A.direction),p=(null==(a=e.state.data)?void 0:a.pages)||[],v=(null==(s=e.state.data)?void 0:s.pageParams)||[],y=(0,o.G9)(),b=null==y?void 0:y.signal,w=v,_=!1,x=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},B=function(e,t,n,r){return w=r?[t].concat(w):[].concat(w,[t]),r?[n].concat(e):[].concat(e,[n])},C=function(t,n,r,o){if(_)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:b,pageParam:r,meta:e.meta},a=x(i),s=Promise.resolve(a).then((function(e){return B(t,r,e,o)}));return(0,c.LE)(a)&&(s.cancel=a.cancel),s};if(p.length)if(f){var E="undefined"!==typeof d,j=E?d:m(e.options,p);l=C(p,E,j)}else if(h){var k="undefined"!==typeof d,S=k?d:g(e.options,p);l=C(p,k,S,!0)}else!function(){w=[];var t="undefined"===typeof e.options.getNextPageParam,n=!u||!p[0]||u(p[0],0,p);l=n?C([],t,v[0]):Promise.resolve(B([],v[0],p[0]));for(var r=function(n){l=l.then((function(r){if(!u||!p[n]||u(p[n],n,p)){var o=t?v[n]:m(e.options,r);return C(r,t,o)}return Promise.resolve(B(r,v[n],p[n]))}))},o=1;o<p.length;o++)r(o)}();else l=C([]);var O=l.then((function(e){return{pages:e,pageParams:w}}));return O.cancel=function(){_=!0,null==y||y.abort(),(0,c.LE)(l)&&l.cancel()},O}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(o.ZT).catch(o.ZT)},t.cancelMutations=function(){var e=this,t=a.V.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(o.ZT).catch(o.ZT)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,o.yF)(e)===(0,o.yF)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,o.to)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,o.yF)(e)===(0,o.yF)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,o.to)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,o.Rm)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},6350:function(e,t,n){"use strict";n.d(t,{DV:function(){return l},LE:function(){return s},m4:function(){return u}});var r=n(5590),o=n(5503),i=n(1985);function a(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"===typeof(null==e?void 0:e.cancel)}var c=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function l(e){return e instanceof c}var u=function(e){var t,n,l,u,A=this,d=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){d=!0},this.continueRetry=function(){d=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){l=e,u=t}));var f=function(t){A.isResolved||(A.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),l(t))},h=function(t){A.isResolved||(A.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),u(t))};!function l(){if(!A.isResolved){var u;try{u=e.fn()}catch(p){u=Promise.reject(p)}t=function(e){if(!A.isResolved&&(h(new c(e)),null==A.abort||A.abort(),s(u)))try{u.cancel()}catch(t){}},A.isTransportCancelable=s(u),Promise.resolve(u).then(f).catch((function(t){var s,c;if(!A.isResolved){var u=null!=(s=e.retry)?s:3,f=null!=(c=e.retryDelay)?c:a,p="function"===typeof f?f(A.failureCount,t):f,m=!0===u||"number"===typeof u&&A.failureCount<u||"function"===typeof u&&u(A.failureCount,t);!d&&m?(A.failureCount++,null==e.onFail||e.onFail(A.failureCount,t),(0,i.Gh)(p).then((function(){if(!r.j.isFocused()||!o.N.isOnline())return new Promise((function(t){n=t,A.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,A.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){d?h(t):l()}))):h(t)}}))}}()}},8846:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},5044:function(){},1985:function(e,t,n){"use strict";n.d(t,{A4:function(){return C},G9:function(){return E},Gh:function(){return B},I6:function(){return d},Kp:function(){return l},PN:function(){return s},Q$:function(){return y},Rm:function(){return p},SE:function(){return a},VS:function(){return b},X7:function(){return h},ZT:function(){return i},_v:function(){return u},_x:function(){return f},lV:function(){return A},mc:function(){return c},sk:function(){return o},to:function(){return g},yF:function(){return m}});var r=n(7462),o="undefined"===typeof window;function i(){}function a(e,t){return"function"===typeof e?e(t):e}function s(e){return"number"===typeof e&&e>=0&&e!==1/0}function c(e){return Array.isArray(e)?e:[e]}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,n){return x(e)?"function"===typeof t?(0,r.Z)({},n,{queryKey:e,queryFn:t}):(0,r.Z)({},t,{queryKey:e}):e}function A(e,t,n){return x(e)?"function"===typeof t?(0,r.Z)({},n,{mutationKey:e,mutationFn:t}):(0,r.Z)({},t,{mutationKey:e}):"function"===typeof e?(0,r.Z)({},t,{mutationFn:e}):(0,r.Z)({},e)}function d(e,t,n){return x(e)?[(0,r.Z)({},t,{queryKey:e}),n]:[e||{},t]}function f(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,s=e.queryKey,c=e.stale;if(x(s))if(r){if(t.queryHash!==p(s,t.options))return!1}else if(!g(t.queryKey,s))return!1;var l=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===l)return!1;if("all"!==l){var u=t.isActive();if("active"===l&&!u)return!1;if("inactive"===l&&u)return!1}return("boolean"!==typeof c||t.isStale()===c)&&(("boolean"!==typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function h(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(x(i)){if(!t.options.mutationKey)return!1;if(n){if(m(t.options.mutationKey)!==m(i))return!1}else if(!g(t.options.mutationKey,i))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function p(e,t){return((null==t?void 0:t.queryKeyHashFn)||m)(e)}function m(e){var t,n=c(e);return t=n,JSON.stringify(t,(function(e,t){return w(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function g(e,t){return v(c(e),c(t))}function v(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!v(e[n],t[n])})))}function y(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||w(e)&&w(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},s=0,c=0;c<i;c++){var l=n?c:o[c];a[l]=y(e[l],t[l]),a[l]===e[l]&&s++}return r===i&&s===r?e:a}return t}function b(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function w(e){if(!_(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!_(n)&&!!n.hasOwnProperty("isPrototypeOf")}function _(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return"string"===typeof e||Array.isArray(e)}function B(e){return new Promise((function(t){setTimeout(t,e)}))}function C(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function E(){if("function"===typeof AbortController)return new AbortController}},1933:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.QueryClient},QueryClientProvider:function(){return o.QueryClientProvider},useMutation:function(){return o.useMutation},useQuery:function(){return o.useQuery},useQueryClient:function(){return o.useQueryClient}});var r=n(5708);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}}),n.o(r,"useQueryClient")&&n.d(t,{useQueryClient:function(){return r.useQueryClient}});var o=n(5704)},5704:function(e,t,n){"use strict";n.d(t,{QueryClientProvider:function(){return d},useMutation:function(){return b},useQuery:function(){return N},useQueryClient:function(){return A}});var r=n(2363),o=n(4164).unstable_batchedUpdates;r.V.setBatchNotifyFunction(o);var i=n(209),a=console;(0,i.E)(a);var s=n(2791),c=s.createContext(void 0),l=s.createContext(!1);function u(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=c),window.ReactQueryClientContext):c}var A=function(){var e=s.useContext(u(s.useContext(l)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},d=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;s.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var i=u(r);return s.createElement(l.Provider,{value:r},s.createElement(i.Provider,{value:t},o))},f=n(7462),h=n(1985),p=n(4578),m=n(1909),g=n(8846),v=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,p.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,f.Z)({},this.options,{variables:"undefined"!==typeof e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,m.R)(),t=(0,f.Z)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;r.V.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(g.l);function y(e,t,n){return"function"===typeof t?t.apply(void 0,n):"boolean"===typeof t?t:!!e}function b(e,t,n){var o=s.useRef(!1),i=s.useState(0)[1],a=(0,h.lV)(e,t,n),c=A(),l=s.useRef();l.current?l.current.setOptions(a):l.current=new v(c,a);var u=l.current.getCurrentResult();s.useEffect((function(){o.current=!0;var e=l.current.subscribe(r.V.batchCalls((function(){o.current&&i((function(e){return e+1}))})));return function(){o.current=!1,e()}}),[]);var d=s.useCallback((function(e,t){l.current.mutate(e,t).catch(h.ZT)}),[]);if(u.error&&y(void 0,l.current.options.useErrorBoundary,[u.error]))throw u.error;return(0,f.Z)({},u,{mutate:d,mutateAsync:u.mutate})}var w=n(5590),_=n(6350),x=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,p.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),B(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return C(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return C(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&E(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,f.Z)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(h.ZT)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!h.sk&&!this.currentResult.isStale&&(0,h.PN)(this.options.staleTime)){var t=(0,h.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!h.sk&&!1!==this.options.enabled&&(0,h.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||w.j.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,a=this.currentResult,s=this.currentResultState,c=this.currentResultOptions,l=e!==r,u=l?e.state:this.currentQueryInitialState,A=l?this.currentResult:this.previousQueryResult,d=e.state,f=d.dataUpdatedAt,p=d.error,m=d.errorUpdatedAt,g=d.isFetching,v=d.status,y=!1,b=!1;if(t.optimisticResults){var w=this.hasListeners(),_=!w&&B(e,t),x=w&&E(e,r,t,o);(_||x)&&(g=!0,f||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==A?void 0:A.isSuccess)&&"error"!==v)n=A.data,f=A.dataUpdatedAt,v=A.status,y=!0;else if(t.select&&"undefined"!==typeof d.data)if(a&&d.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=(0,h.Q$)(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(k){(0,i.j)().error(k),this.selectError=k}else n=d.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&("loading"===v||"idle"===v)){var C;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==c?void 0:c.placeholderData))C=a.data;else if(C="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof C)try{C=t.select(C),!1!==t.structuralSharing&&(C=(0,h.Q$)(null==a?void 0:a.data,C)),this.selectError=null}catch(k){(0,i.j)().error(k),this.selectError=k}"undefined"!==typeof C&&(v="success",n=C,b=!0)}return this.selectError&&(p=this.selectError,n=this.selectResult,m=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:f,error:p,errorUpdatedAt:m,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:b,isPreviousData:y,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:j(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var i="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,a=e[r]!==t[r],s=null==i?void 0:i.some((function(e){return e===n})),c=null==o?void 0:o.some((function(e){return e===n}));return a&&!c&&(!i||s)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,h.VS)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,f.Z)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,_.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.V.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(g.l);function B(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&C(e,t,t.refetchOnMount)}function C(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&j(e,t)}return!1}function E(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&j(e,n)}function j(e,t){return e.isStaleByTime(t.staleTime)}function k(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var S=s.createContext(k());function O(e,t){var n=s.useRef(!1),o=s.useState(0)[1],i=A(),a=s.useContext(S),c=i.defaultQueryObserverOptions(e);c.optimisticResults=!0,c.onError&&(c.onError=r.V.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=r.V.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=r.V.batchCalls(c.onSettled)),c.suspense&&("number"!==typeof c.staleTime&&(c.staleTime=1e3),0===c.cacheTime&&(c.cacheTime=1)),(c.suspense||c.useErrorBoundary)&&(a.isReset()||(c.retryOnMount=!1));var l=s.useState((function(){return new t(i,c)}))[0],u=l.getOptimisticResult(c);if(s.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(r.V.batchCalls((function(){n.current&&o((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),s.useEffect((function(){l.setOptions(c,{listeners:!1})}),[c,l]),c.suspense&&u.isLoading)throw l.fetchOptimistic(c).then((function(e){var t=e.data;null==c.onSuccess||c.onSuccess(t),null==c.onSettled||c.onSettled(t,null)})).catch((function(e){a.clearReset(),null==c.onError||c.onError(e),null==c.onSettled||c.onSettled(void 0,e)}));if(u.isError&&!a.isReset()&&!u.isFetching&&y(c.suspense,c.useErrorBoundary,[u.error,l.getCurrentQuery()]))throw u.error;return"tracked"===c.notifyOnChangeProps&&(u=l.trackResult(u,c)),u}function N(e,t,n){return O((0,h._v)(e,t,n),x)}},6770:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),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.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=a(n(2791)),c=a(n(4164)),l=a(n(8111)),u=a(n(6921)),A=function(e){function t(t){var n=e.call(this,t)||this;n.dirtyProps=["modules","formats","bounds","theme","children"],n.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],n.state={generation:0},n.selection=null,n.onEditorChange=function(e,t,r,o){var i,a,s,c;"text-change"===e?null===(a=(i=n).onEditorChangeText)||void 0===a||a.call(i,n.editor.root.innerHTML,t,o,n.unprivilegedEditor):"selection-change"===e&&(null===(c=(s=n).onEditorChangeSelection)||void 0===c||c.call(s,t,o,n.unprivilegedEditor))};var r=n.isControlled()?t.value:t.defaultValue;return n.value=null!==r&&void 0!==r?r:"",n}return r(t,e),t.prototype.validateProps=function(e){var t;if(s.default.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(s.default.Children.count(e.children)&&"textarea"===(null===(t=s.default.Children.only(e.children))||void 0===t?void 0:t.type))throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.");if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")},t.prototype.shouldComponentUpdate=function(e,t){var n,r=this;if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){var o=this.getEditorContents(),a=null!==(n=e.value)&&void 0!==n?n:"";this.isEqualValue(a,o)||this.setEditorContents(this.editor,a)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),i(this.cleanProps,this.dirtyProps).some((function(t){return!l.default(e[t],r.props[t])}))},t.prototype.shouldComponentRegenerate=function(e){var t=this;return this.dirtyProps.some((function(n){return!l.default(e[n],t.props[n])}))},t.prototype.componentDidMount=function(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())},t.prototype.componentWillUnmount=function(){this.destroyEditor()},t.prototype.componentDidUpdate=function(e,t){var n=this;if(this.editor&&this.shouldComponentRegenerate(e)){var r=this.editor.getContents(),o=this.editor.getSelection();this.regenerationSnapshot={delta:r,selection:o},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){var i=this.regenerationSnapshot,a=(r=i.delta,i.selection);delete this.regenerationSnapshot,this.instantiateEditor();var s=this.editor;s.setContents(r),d((function(){return n.setEditorSelection(s,a)}))}},t.prototype.instantiateEditor=function(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())},t.prototype.destroyEditor=function(){this.editor&&this.unhookEditor(this.editor)},t.prototype.isControlled=function(){return"value"in this.props},t.prototype.getEditorConfig=function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},t.prototype.getEditor=function(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor},t.prototype.createEditor=function(e,t){var n=new u.default(e,t);return null!=t.tabIndex&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n},t.prototype.hookEditor=function(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)},t.prototype.unhookEditor=function(e){e.off("editor-change",this.onEditorChange)},t.prototype.getEditorContents=function(){return this.value},t.prototype.getEditorSelection=function(){return this.selection},t.prototype.isDelta=function(e){return e&&e.ops},t.prototype.isEqualValue=function(e,t){return this.isDelta(e)&&this.isDelta(t)?l.default(e.ops,t.ops):l.default(e,t)},t.prototype.setEditorContents=function(e,t){var n=this;this.value=t;var r=this.getEditorSelection();"string"===typeof t?e.setContents(e.clipboard.convert(t)):e.setContents(t),d((function(){return n.setEditorSelection(e,r)}))},t.prototype.setEditorSelection=function(e,t){if(this.selection=t,t){var n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}},t.prototype.setEditorTabIndex=function(e,t){var n,r;(null===(r=null===(n=e)||void 0===n?void 0:n.scroll)||void 0===r?void 0:r.domNode)&&(e.scroll.domNode.tabIndex=t)},t.prototype.setEditorReadOnly=function(e,t){t?e.disable():e.enable()},t.prototype.makeUnprivilegedEditor=function(e){var t=e;return{getHTML:function(){return t.root.innerHTML},getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}},t.prototype.getEditingArea=function(){if(!this.editingArea)throw new Error("Instantiating on missing editing area");var e=c.default.findDOMNode(this.editingArea);if(!e)throw new Error("Cannot find element for editing area");if(3===e.nodeType)throw new Error("Editing area cannot be a text node");return e},t.prototype.renderEditingArea=function(){var e=this,t=this.props,n=t.children,r=t.preserveWhitespace,i={key:this.state.generation,ref:function(t){e.editingArea=t}};return s.default.Children.count(n)?s.default.cloneElement(s.default.Children.only(n),i):r?s.default.createElement("pre",o({},i)):s.default.createElement("div",o({},i))},t.prototype.render=function(){var e;return s.default.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:"quill "+(e=this.props.className,null!==e&&void 0!==e?e:""),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},t.prototype.onEditorChangeText=function(e,t,n,r){var o,i;if(this.editor){var a=this.isDelta(this.value)?r.getContents():r.getHTML();a!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=a,null===(i=(o=this.props).onChange)||void 0===i||i.call(o,e,t,n,r))}},t.prototype.onEditorChangeSelection=function(e,t,n){var r,o,i,a,s,c;if(this.editor){var u=this.getEditorSelection(),A=!u&&e,d=u&&!e;l.default(e,u)||(this.selection=e,null===(o=(r=this.props).onChangeSelection)||void 0===o||o.call(r,e,t,n),A?null===(a=(i=this.props).onFocus)||void 0===a||a.call(i,e,t,n):d&&(null===(c=(s=this.props).onBlur)||void 0===c||c.call(s,u,t,n)))}},t.prototype.focus=function(){this.editor&&this.editor.focus()},t.prototype.blur=function(){this.editor&&(this.selection=null,this.editor.blur())},t.displayName="React Quill",t.Quill=u.default,t.defaultProps={theme:"snow",modules:{},readOnly:!1},t}(s.default.Component);function d(e){Promise.resolve().then(e)}e.exports=A},6374:function(e,t,n){"use strict";var r=n(2791),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,i={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},9117:function(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"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,p(b,g.prototype),b.isPureReactComponent=!0;var w=Array.isArray,_=Object.prototype.hasOwnProperty,x={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function C(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)_.call(t,o)&&!B.hasOwnProperty(o)&&(i[o]=t[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:x.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var j=/\/+/g;function k(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 S(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return a=a(c=e),e=""===i?"."+k(c,0):i,w(a)?(o="",null!=e&&(o=e.replace(j,"$&/")+"/"),S(a,t,o,"",(function(e){return e}))):null!=a&&(E(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||c&&c.key===a.key?"":(""+a.key).replace(j,"$&/")+"/")+e)),t.push(a)),1;if(c=0,i=""===i?".":i+":",w(e))for(var l=0;l<e.length;l++){var u=i+k(s=e[l],l);c+=S(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),l=0;!(s=e.next()).done;)c+=S(s=s.value,t,o,u=i+k(s,l++),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 c}function O(e,t,n){if(null==e)return e;var r=[],o=0;return S(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function N(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 F={current:null},I={transition:null},P={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:I,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(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=p({},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 c=e.type.defaultProps;for(l in t)_.call(t,l)&&!B.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:A,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return F.current.useCallback(e,t)},t.useContext=function(e){return F.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return F.current.useDeferredValue(e)},t.useEffect=function(e,t){return F.current.useEffect(e,t)},t.useId=function(){return F.current.useId()},t.useImperativeHandle=function(e,t,n){return F.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return F.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return F.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return F.current.useMemo(e,t)},t.useReducer=function(e,t,n){return F.current.useReducer(e,t,n)},t.useRef=function(e){return F.current.useRef(e)},t.useState=function(e){return F.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return F.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return F.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(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,a=o>>>1;r<a;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<o&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else{if(!(l<o&&0>i(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var l=[],u=[],A=1,d=null,f=3,h=!1,p=!1,m=!1,g="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(l,t)}t=r(u)}}function w(e){if(m=!1,b(e),!p)if(null!==r(l))p=!0,I(_);else{var t=r(u);null!==t&&P(w,t.startTime-e)}}function _(e,n){p=!1,m&&(m=!1,v(E),E=-1),h=!0;var i=f;try{for(b(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!S());){var a=d.callback;if("function"===typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?d.callback=s:d===r(l)&&o(l),b(n)}else o(l);d=r(l)}if(null!==d)var c=!0;else{var A=r(u);null!==A&&P(w,A.startTime-n),c=!1}return c}finally{d=null,f=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,B=!1,C=null,E=-1,j=5,k=-1;function S(){return!(t.unstable_now()-k<j)}function O(){if(null!==C){var e=t.unstable_now();k=e;var n=!0;try{n=C(!0,e)}finally{n?x():(B=!1,C=null)}}else B=!1}if("function"===typeof y)x=function(){y(O)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,F=N.port2;N.port1.onmessage=O,x=function(){F.postMessage(null)}}else x=function(){g(O,0)};function I(e){C=e,B||(B=!0,x())}function P(e,n){E=g((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(){p||h||(p=!0,I(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=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=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=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:A++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(l)&&e===r(u)&&(m?(v(E),E=-1):m=!0,P(w,i-a))):(e.sortIndex=s,n(l,e),p||h||(p=!0,I(_))),e},t.unstable_shouldYield=S,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},9613:function(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),c=0;c<i.length;c++){var l=i[c];if(!s(l))return!1;var u=e[l],A=t[l];if(!1===(o=n?n.call(r,u,A,l):void 0)||void 0===o&&u!==A)return!1}return!0}},977:function(){!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=193)}([function(e,t,n){(function(t){function n(e){return e&&e.Math==Math&&e}e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(154))},function(e,t,n){n=n(60);var r=Function.prototype,o=r.bind,i=r.call,a=n&&o.bind(i,i);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(0),o=n(42).f,i=n(45),a=n(37),s=n(98),c=n(126),l=n(81);e.exports=function(e,t){var n,u,A,d=e.target,f=e.global,h=e.stat,p=f?r:h?r[d]||s(d,{}):(r[d]||{}).prototype;if(p)for(n in t){if(u=t[n],A=e.noTargetGet?(A=o(p,n))&&A.value:p[n],!l(f?n:d+(h?".":"#")+n,e.forced)&&void 0!==A){if(typeof u==typeof A)continue;c(u,A)}(e.sham||A&&A.sham)&&i(u,"sham",!0),a(p,n,u,e)}}},function(e,t,n){var r=n(105),o=n(37);n=n(158);r||o(Object.prototype,"toString",n,{unsafe:!0})},function(e,t,n){"use strict";var r=n(30),o=n(89),i=n(68),a=n(49),s=n(22).f,c=n(109),l=n(54),u=(n=n(17),"Array Iterator"),A=a.set,d=a.getterFor(u);e.exports=c(Array,"Array",(function(e,t){A(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&n&&"values"!==a.name)try{s(a,"name",{value:"values"})}catch(e){}},function(e,t,n){"use strict";var r=n(137).charAt,o=n(23),i=n(49),a=(n=n(109),"String Iterator"),s=i.set,c=i.getterFor(a);n(String,"String",(function(e){s(this,{type:a,string:o(e),index:0})}),(function(){var e=c(this),t=e.string,n=e.index;return n>=t.length?{value:void 0,done:!0}:(t=r(t,n),e.index+=t.length,{value:t,done:!1})}))},function(e,t,n){"use strict";function r(e,t){var n=he[e]=I(ae);return ne(n,{type:te,tag:e,description:t}),v||(n.description=t),n}function o(e,t,n){return e===oe&&o(pe,t,n),j(e),t=O(t),j(n),w(he,t)?(n.enumerable?(w(e,ee)&&e[ee][t]&&(e[ee][t]=!1),n=I(n,{enumerable:F(0,!1)})):(w(e,ee)||ue(e,ee,F(1,{})),e[ee][t]=!0),ye(e,t,n)):ue(e,t,n)}function i(e,t){j(e);var n=S(t);t=P(n).concat(l(n));return J(t,(function(t){v&&!p(a,n,t)||o(e,t,n[t])})),e}function a(e){e=O(e);var t=p(de,this,e);return!(this===oe&&w(he,e)&&!w(pe,e))&&(!(t||!w(this,e)||!w(he,e)||w(this,ee)&&this[ee][e])||t)}function s(e,t){var n;e=S(e),t=O(t);if(e!==oe||!w(he,t)||w(pe,t))return!(n=le(e,t))||!w(he,t)||w(e,ee)&&e[ee][t]||(n.enumerable=!0),n}function c(e){e=Ae(S(e));var t=[];return J(e,(function(e){w(he,e)||w(V,e)||fe(t,e)})),t}function l(e){var t=e===oe,n=(e=Ae(t?pe:S(e)),[]);return J(e,(function(e){!w(he,e)||t&&!w(oe,e)||fe(n,he[e])})),n}var u,A=n(3),d=n(0),f=n(43),h=n(84),p=n(21),m=n(1),g=n(54),v=n(17),y=n(96),b=n(2),w=n(20),_=n(86),x=n(14),B=n(19),C=n(44),E=n(73),j=n(18),k=n(36),S=n(30),O=n(72),N=n(23),F=n(61),I=n(50),P=n(66),L=n(55),T=n(107),D=n(103),Q=n(42),U=n(22),M=n(132),R=n(70),$=n(106),H=n(37),q=n(77),K=n(79),V=n(63),z=n(78),Z=n(12),G=n(133),W=n(134),Y=n(87),X=n(49),J=n(56).forEach,ee=K("hidden"),te="Symbol",ne=(n="prototype",K=Z("toPrimitive"),X.set),re=X.getterFor(te),oe=Object[n],ie=d.Symbol,ae=ie&&ie[n],se=d.TypeError,ce=(X=d.QObject,f("JSON","stringify")),le=Q.f,ue=U.f,Ae=T.f,de=R.f,fe=m([].push),he=q("symbols"),pe=q("op-symbols"),me=q("string-to-symbol-registry"),ge=q("symbol-to-string-registry"),ve=(d=q("wks"),!X||!X[n]||!X[n].findChild),ye=v&&b((function(){return 7!=I(ue({},"a",{get:function(){return ue(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=le(oe,t);r&&delete oe[t],ue(e,t,n),r&&e!==oe&&ue(oe,t,r)}:ue;y||(H(ae=(ie=function(){if(C(ae,this))throw se("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?N(arguments[0]):void 0,t=z(e),n=function e(n){this===oe&&p(e,pe,n),w(this,ee)&&w(this[ee],t)&&(this[ee][t]=!1),ye(this,t,F(1,n))};return v&&ve&&ye(oe,t,{configurable:!0,set:n}),r(t,e)})[n],"toString",(function(){return re(this).tag})),H(ie,"withoutSetter",(function(e){return r(z(e),e)})),R.f=a,U.f=o,M.f=i,Q.f=s,L.f=T.f=c,D.f=l,G.f=function(e){return r(Z(e),e)},v&&(ue(ae,"description",{configurable:!0,get:function(){return re(this).description}}),g||H(oe,"propertyIsEnumerable",a,{unsafe:!0}))),A({global:!0,wrap:!0,forced:!y,sham:!y},{Symbol:ie}),J(P(d),(function(e){W(e)})),A({target:te,stat:!0,forced:!y},{for:function(e){if(e=N(e),w(me,e))return me[e];var t=ie(e);return me[e]=t,ge[t]=e,t},keyFor:function(e){if(!E(e))throw se(e+" is not a symbol");if(w(ge,e))return ge[e]},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),A({target:"Object",stat:!0,forced:!y,sham:!v},{create:function(e,t){return void 0===t?I(e):i(I(e),t)},defineProperty:o,defineProperties:i,getOwnPropertyDescriptor:s}),A({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:c,getOwnPropertySymbols:l}),A({target:"Object",stat:!0,forced:b((function(){D.f(1)}))},{getOwnPropertySymbols:function(e){return D.f(k(e))}}),ce&&A({target:"JSON",stat:!0,forced:!y||b((function(){var e=ie();return"[null]"!=ce([e])||"{}"!=ce({a:e})||"{}"!=ce(Object(e))}))},{stringify:function(e,t,n){var r=$(arguments),o=t;if((B(t)||void 0!==e)&&!E(e))return _(t)||(t=function(e,t){if(x(o)&&(t=p(o,this,e,t)),!E(t))return t}),r[1]=t,h(ce,null,r)}}),ae[K]||(u=ae.valueOf,H(ae,K,(function(e){return p(u,this)}))),Y(ie,te),V[ee]=!0},function(e,t,n){function r(e,t){if(e){if(e[u]!==d)try{l(e,u,d)}catch(t){e[u]=d}if(e[A]||l(e,A,t),a[t])for(var n in c)if(e[n]!==c[n])try{l(e,n,c[n])}catch(t){e[n]=c[n]}}}var o,i=n(0),a=n(138),s=n(139),c=n(5),l=n(45),u=(n=n(12))("iterator"),A=n("toStringTag"),d=c.values;for(o in a)r(i[o]&&i[o].prototype,o);r(s,"DOMTokenList")},function(e,t,n){function r(t){if(t&&t.forEach!==c)try{l(t,"forEach",c)}catch(e){t.forEach=c}}var o,i=n(0),a=n(138),s=n(139),c=n(168),l=n(45);for(o in a)a[o]&&r(i[o]&&i[o].prototype);r(s)},function(e,t,n){"use strict";var r,o,i,a,s,c,l,u=n(3),A=n(17),d=n(0),f=n(1),h=n(20),p=n(14),m=n(44),g=n(23),v=n(22).f,y=(n=n(126),d.Symbol),b=y&&y.prototype;!A||!p(y)||"description"in b&&void 0===y().description||(r={},n(d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:g(arguments[0]),t=m(b,this)?new y(e):void 0===e?y():y(e);return""===e&&(r[t]=!0),t},y),(d.prototype=b).constructor=d,o="Symbol(test)"==String(y("test")),i=f(b.toString),a=f(b.valueOf),s=/^Symbol\((.*)\)[^)]+$/,c=f("".replace),l=f("".slice),v(b,"description",{configurable:!0,get:function(){var e=a(this),t=i(e);return h(r,e)?"":""===(e=o?l(t,7,-1):c(t,s,"$1"))?void 0:e}}),u({global:!0,forced:!0},{Symbol:d}))},function(e,t,n){n(134)("iterator")},function(e,t,n){var r=n(0),o=n(77),i=n(20),a=n(78),s=n(96),c=n(123),l=o("wks"),u=r.Symbol,A=u&&u.for,d=c?u:u&&u.withoutSetter||a;e.exports=function(e){var t;return i(l,e)&&(s||"string"==typeof l[e])||(t="Symbol."+e,s&&i(u,e)?l[e]=u[e]:l[e]=(c&&A?A:d)(t)),l[e]}},function(e,t,n){var r=n(3),o=n(36),i=n(66);r({target:"Object",stat:!0,forced:n(2)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t){e.exports=function(e){return"function"==typeof e}},function(e,t,n){"use strict";var r=n(3),o=n(56).filter;r({target:"Array",proto:!0,forced:!n(94)("filter")},{filter:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3);n=n(90);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},function(e,t,n){n=n(2),e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(0),o=n(19),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},function(e,t,n){var r=n(14);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},function(e,t,n){var r=n(1),o=n(36),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},function(e,t,n){n=n(60);var r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},function(e,t,n){var r=n(0),o=n(17),i=n(124),a=n(125),s=n(18),c=n(72),l=r.TypeError,u=Object.defineProperty,A=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=o?a?function(e,t,n){var r;return s(e),t=c(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]&&(r=A(e,t))&&r[h]&&(e[t]=n.value,n={configurable:(f in n?n:r)[f],enumerable:(d in n?n:r)[d],writable:!1}),u(e,t,n)}:u:function(e,t,n){if(s(e),t=c(t),s(n),i)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}},function(e,t,n){var r=n(0),o=n(83),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},function(e,t,n){var r=n(3),o=n(2),i=n(30),a=n(42).f;n=n(17),o=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!n||o,sham:!n},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(3),o=n(17),i=n(127),a=n(30),s=n(42),c=n(67);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,l=i(r),u={},A=0;l.length>A;)void 0!==(n=o(r,t=l[A++]))&&c(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(3),o=n(0),i=n(2),a=n(86),s=n(19),c=n(36),l=n(46),u=n(67),A=n(135),d=n(94),f=n(12),h=(n=n(74),f("isConcatSpreadable")),p=9007199254740991,m="Maximum allowed index exceeded",g=o.TypeError;f=51<=n||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),o=d("concat");r({target:"Array",proto:!0,forced:!f||!o},{concat:function(e){for(var t,n,r,o=c(this),i=A(o,0),d=0,f=-1,v=arguments.length;f<v;f++)if(function(e){if(!s(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)}(r=-1===f?o:arguments[f])){if(n=l(r),p<d+n)throw g(m);for(t=0;t<n;t++,d++)t in r&&u(i,d,r[t])}else{if(p<=d)throw g(m);u(i,d++,r)}return i.length=d,i}})},function(e,t,n){"use strict";var r=n(3),o=n(0),i=n(86),a=n(85),s=n(19),c=n(101),l=n(46),u=n(30),A=n(67),d=n(12),f=n(94),h=n(106),p=(n=f("slice"),d("species")),m=o.Array,g=Math.max;r({target:"Array",proto:!0,forced:!n},{slice:function(e,t){var n,r,o,d=u(this),f=l(d),v=c(e,f),y=c(void 0===t?f:t,f);if(i(d)&&(n=d.constructor,(n=a(n)&&(n===m||i(n.prototype))||s(n)&&null===(n=n[p])?void 0:n)===m||void 0===n))return h(d,v,y);for(r=new(void 0===n?m:n)(g(y-v,0)),o=0;v<y;v++,o++)v in d&&A(r,o,d[v]);return r.length=o,r}})},function(e,t,n){"use strict";var r=n(3),o=n(56).find,i=(n=n(89),"find"),a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}}),n(i)},function(e,t,n){n(3)({target:"Object",stat:!0},{setPrototypeOf:n(104)})},function(e,t,n){var r=n(71),o=n(39);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(3),o=n(2),i=n(36),a=n(82);n=n(130);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!n},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(3),o=n(43),i=n(84),a=n(159),s=n(131),c=n(18),l=n(19),u=n(50),A=(n=n(2),o("Reflect","construct")),d=Object.prototype,f=[].push,h=n((function(){function e(){}return!(A((function(){}),[],e)instanceof e)})),p=!n((function(){A((function(){}))}));r({target:"Reflect",stat:!0,forced:o=h||p,sham:o},{construct:function(e,t){s(e),c(t);var n=arguments.length<3?e:s(arguments[2]);if(p&&!h)return A(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(f,r,t),new(i(a,e,r))}return r=n.prototype,n=u(l(r)?r:d),r=i(e,n,t),l(r)?r:n}})},function(e,t,n){"use strict";var r=n(3),o=n(129).includes;n=n(89);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}}),n("includes")},function(e,t,n){"use strict";var r=n(17),o=n(0),i=n(1),a=n(81),s=n(37),c=n(20),l=n(117),u=n(44),A=n(73),d=n(122),f=n(2),h=n(55).f,p=n(42).f,m=n(22).f,g=n(167),v=n(92).trim,y=o[n="Number"],b=y.prototype,w=o.TypeError,_=i("".slice),x=i("".charCodeAt),B=function(e){var t,n,r,o,i,a,s,c=d(e,"number");if(A(c))throw w("Cannot convert a Symbol value to a number");if("string"==typeof c&&2<c.length)if(c=v(c),43===(e=x(c,0))||45===e){if(88===(t=x(c,2))||120===t)return NaN}else if(48===e){switch(x(c,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+c}for(i=(o=_(c,2)).length,a=0;a<i;a++)if((s=x(o,a))<48||r<s)return NaN;return parseInt(o,n)}return+c};if(a(n,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var C,E=function e(t){t=arguments.length<1?0:y(function(e){return"bigint"==typeof(e=d(e,"number"))?e:B(e)}(t));var n=this;return u(b,n)&&f((function(){g(n)}))?l(Object(t),n,e):t},j=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),k=0;j.length>k;k++)c(y,C=j[k])&&!c(E,C)&&m(E,C,p(y,C));s(o,n,(E.prototype=b).constructor=E)}},function(e,t,n){var r=n(3),o=n(174);r({target:"Array",stat:!0,forced:!n(152)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){var r=n(0),o=n(39),i=r.Object;e.exports=function(e){return i(o(e))}},function(e,t,n){var r=n(0),o=n(14),i=n(20),a=n(45),s=n(98),c=n(100),l=n(49),u=n(64).CONFIGURABLE,A=l.get,d=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,c){var l,A=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;c=c&&void 0!==c.name?c.name:t;o(n)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||u&&n.name!==c)&&a(n,"name",c),(l=d(n)).source||(l.source=f.join("string"==typeof c?c:""))),e===r?h?e[t]=n:s(t,n):(A?!p&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n))})(Function.prototype,"toString",(function(){return o(this)&&A(this).source||c(this)}))},function(e,t,n){"use strict";var r=n(84),o=n(21),i=n(1),a=n(112),s=n(115),c=n(18),l=n(39),u=n(164),A=n(113),d=n(65),f=n(23),h=n(53),p=n(108),m=n(114),g=n(90),v=n(111),y=(n=n(2),v.UNSUPPORTED_Y),b=4294967295,w=Math.min,_=[].push,x=i(/./.exec),B=i(_),C=i("".slice);a("split",(function(e,t,n){var i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,n){var i=f(l(this)),a=void 0===n?b:n>>>0;if(0==a)return[];if(void 0===e)return[i];if(!s(e))return o(t,i,e,a);for(var c,u,A,d=[],h=(n=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),0),m=new RegExp(e.source,n+"g");(c=o(g,m,i))&&!(h<(u=m.lastIndex)&&(B(d,C(i,h,c.index)),1<c.length&&c.index<i.length&&r(_,d,p(c,1)),A=c[0].length,h=u,a<=d.length));)m.lastIndex===c.index&&m.lastIndex++;return h===i.length?!A&&x(m,"")||B(d,""):B(d,C(i,h)),a<d.length?p(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;return[function(t,n){var r=l(this),a=null==t?void 0:h(t,e);return a?o(a,t,r,n):o(i,f(r),t,n)},function(e,r){var o=c(this),a=f(e);if((e=n(i,o,a,r,i!==t)).done)return e.value;e=u(o,RegExp);var s=o.unicode,l=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(y?"g":"y"),h=new e(y?"^(?:"+o.source+")":o,l),p=void 0===r?b:r>>>0;if(0==p)return[];if(0===a.length)return null===m(h,a)?[a]:[];for(var g=0,v=0,_=[];v<a.length;){h.lastIndex=y?0:v;var x,E=m(h,y?C(a,v):a);if(null===E||(x=w(d(h.lastIndex+(y?v:0)),a.length))===g)v=A(a,v,s);else{if(B(_,C(a,g,v)),_.length===p)return _;for(var j=1;j<=E.length-1;j++)if(B(_,E[j]),_.length===p)return _;v=g=x}}return B(_,C(a,g)),_}]}),!!n((function(){var e=(t=/(?:)/).exec,t=(t.exec=function(){return e.apply(this,arguments)},"ab".split(t));return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),y)},function(e,t,n){var r=n(0).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(1),o=n(64).PROPER,i=n(37),a=n(18),s=n(44),c=n(23),l=n(2),u=(n=n(110),"toString"),A=RegExp.prototype,d=A[u],f=r(n);r=l((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),n=o&&d.name!=u;(r||n)&&i(RegExp.prototype,u,(function(){var e=a(this),t=c(e.source),n=e.flags;return"/"+t+"/"+c(void 0!==n||!s(A,e)||"flags"in A?n:f(e))}),{unsafe:!0})},function(e,t,n){var r=n(17),o=n(64).EXISTS,i=n(1),a=(n=n(22).f,Function.prototype),s=i(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);r&&!o&&n(a,"name",{configurable:!0,get:function(){try{return l(c,s(this))[1]}catch(e){return""}}})},function(e,t,n){var r=n(17),o=n(21),i=n(70),a=n(61),s=n(30),c=n(72),l=n(20),u=n(124),A=Object.getOwnPropertyDescriptor;t.f=r?A:function(e,t){if(e=s(e),t=c(t),u)try{return A(e,t)}catch(e){}if(l(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,n){var r=n(0),o=n(14);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},function(e,t,n){n=n(1),e.exports=n({}.isPrototypeOf)},function(e,t,n){var r=n(17),o=n(22),i=n(61);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(65);e.exports=function(e){return r(e.length)}},function(e,t,n){"use strict";var r=n(84),o=n(21),i=n(1),a=n(112),s=n(2),c=n(18),l=n(14),u=n(80),A=n(65),d=n(23),f=n(39),h=n(113),p=n(53),m=n(173),g=n(114),v=n(12)("replace"),y=Math.max,b=Math.min,w=i([].concat),_=i([].push),x=i("".indexOf),B=i("".slice),C=(n="$0"==="a".replace(/./,"$0"),!!/./[v]&&""===/./[v]("a","$0"));a("replace",(function(e,t,n){var i=C?"$":"$0";return[function(e,n){var r=f(this),i=null==e?void 0:p(e,v);return i?o(i,e,r,n):o(t,d(r),e,n)},function(e,o){var a=c(this),s=d(e);if("string"==typeof o&&-1===x(o,i)&&-1===x(o,"$<")&&(e=n(t,a,s,o)).done)return e.value;for(var f,p=l(o),v=(p||(o=d(o)),a.global),C=(v&&(f=a.unicode,a.lastIndex=0),[]);null!==(O=g(a,s))&&(_(C,O),v);)""===d(O[0])&&(a.lastIndex=h(s,A(a.lastIndex),f));for(var E,j="",k=0,S=0;S<C.length;S++){for(var O,N=d((O=C[S])[0]),F=y(b(u(O.index),s.length),0),I=[],P=1;P<O.length;P++)_(I,void 0===(E=O[P])?E:String(E));var L=O.groups,T=p?(T=w([N],I,F,s),void 0!==L&&_(T,L),d(r(o,void 0,T))):m(N,s,F,I,L,o);k<=F&&(j+=B(s,k,F)+T,k=F+N.length)}return j+B(s,k)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!n||C)},function(e,t,n){var r=(n=n(1))({}.toString),o=n("".slice);e.exports=function(e){return o(r(e),8,-1)}},function(e,t,n){var r,o,i,a,s,c,l,u,A=n(156),d=n(0),f=n(1),h=n(19),p=n(45),m=n(20),g=n(97),v=n(79),y=(n=n(63),"Object already initialized"),b=d.TypeError;d=d.WeakMap;l=A||g.state?(r=g.state||(g.state=new d),o=f(r.get),i=f(r.has),a=f(r.set),s=function(e,t){if(i(r,e))throw new b(y);return t.facade=e,a(r,e,t),t},c=function(e){return o(r,e)||{}},function(e){return i(r,e)}):(n[u=v("state")]=!0,s=function(e,t){if(m(e,u))throw new b(y);return t.facade=e,p(e,u,t),t},c=function(e){return m(e,u)?e[u]:{}},function(e){return m(e,u)}),e.exports={set:s,get:c,has:l,enforce:function(e){return l(e)?c(e):s(e,{})},getterFor:function(e){return function(t){if(h(t)&&(t=c(t)).type===e)return t;throw b("Incompatible receiver, "+e+" required")}}}},function(e,t,n){function r(){}var o,i=n(18),a=n(132),s=n(102),c=n(63),l=n(160),u=n(99),A=(n=n(79),"prototype"),d="script",f=n("IE_PROTO"),h=function(e){return"<"+d+">"+e+"</"+d+">"},p=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}p="undefined"==typeof document||document.domain&&o?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):(e=u("iframe"),t="java"+d+":",e.style.display="none",l.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var e,t,n=s.length;n--;)delete p[A][s[n]];return p()};c[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(r[A]=i(e),n=new r,r[A]=null,n[f]=e):n=p(),void 0===t?n:a.f(n,t)}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(142),a=n(39),s=n(23),c=(n=n(143),o("".indexOf));r({target:"String",proto:!0,forced:!n("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),1<arguments.length?arguments[1]:void 0)}})},function(e,t,n){var r=n(17),o=n(0),i=n(1),a=n(81),s=n(117),c=n(45),l=n(22).f,u=n(55).f,A=n(44),d=n(115),f=n(23),h=n(110),p=n(111),m=n(37),g=n(2),v=n(20),y=n(49).enforce,b=n(144),w=n(12),_=n(140),x=n(141),B=w("match"),C=o.RegExp,E=C.prototype,j=o.SyntaxError,k=i(h),S=i(E.exec),O=i("".charAt),N=i("".replace),F=i("".indexOf),I=i("".slice),P=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,T=/a/g,D=(n=new C(L)!==L,p.MISSED_STICKY),Q=p.UNSUPPORTED_Y;w=r&&(!n||D||_||x||g((function(){return T[B]=!1,C(L)!=L||C(T)==T||"/a/i"!=C(L,"i")})));if(a("RegExp",w)){for(var U=function e(t,n){var r,o,i=A(E,this),a=d(t),l=void 0===n,u=[],h=t;if(!i&&a&&l&&t.constructor===e)return t;if((a||A(E,t))&&(t=t.source,l&&(n="flags"in h?h.flags:k(h))),t=void 0===t?"":f(t),n=void 0===n?"":f(n),h=t,a=n=_&&"dotAll"in L&&(r=!!n&&-1<F(n,"s"))?N(n,/s/g,""):n,D&&"sticky"in L&&(o=!!n&&-1<F(n,"y"))&&Q&&(n=N(n,/y/g,"")),x&&(t=(l=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,c=!1,l=0,u="";r<=n;r++){if("\\"===(t=O(e,r)))t+=O(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:S(P,I(e,r+1))&&(r+=2,c=!0),o+=t,l++;continue;case">"===t&&c:if(""===u||v(a,u))throw new j("Invalid capture group name");a[u]=!0,c=!(i[i.length]=[u,l]),u="";continue}c?u+=t:o+=t}return[o,i]}(t))[0],u=l[1]),l=s(C(t,n),i?this:E,e),(r||o||u.length)&&(n=y(l),r&&(n.dotAll=!0,n.raw=e(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"===(t=O(e,r))?o+=t+O(e,++r):i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]";return o}(t),a)),o&&(n.sticky=!0),u.length&&(n.groups=u)),t!==h)try{c(l,"source",""===h?"(?:)":h)}catch(t){}return l},M=u(C),R=0;M.length>R;)!function(e){e in U||l(U,e,{configurable:!0,get:function(){return C[e]},set:function(t){C[e]=t}})}(M[R++]);(E.constructor=U).prototype=E,m(o,"RegExp",U)}b("RegExp")},function(e,t,n){var r=n(62);e.exports=function(e,t){return null==(e=e[t])?void 0:r(e)}},function(e,t){e.exports=!1},function(e,t,n){var r=n(128),o=n(102).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){function r(e){var t=1==e,n=2==e,r=3==e,i=4==e,A=6==e,d=7==e,f=5==e||A;return function(h,p,m,g){for(var v,y,b=s(h),w=a(b),_=o(p,m),x=c(w),B=0,C=(p=g||l,t?p(h,x):n||d?p(h,0):void 0);B<x;B++)if((f||B in w)&&(y=_(v=w[B],B,b),e))if(t)C[B]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return B;case 2:u(C,v)}else switch(e){case 4:return!1;case 7:u(C,v)}return A?-1:r||i?i:C}}var o=n(88),i=n(1),a=n(71),s=n(36),c=n(46),l=n(135),u=i([].push);e.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6),filterReject:r(7)}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(42).f,a=n(65),s=n(23),c=n(142),l=n(39),u=n(143),A=(n=n(54),o("".startsWith)),d=o("".slice),f=Math.min;o=u("startsWith");r({target:"String",proto:!0,forced:!(!n&&!o&&(u=i(String.prototype,"startsWith"))&&!u.writable)&&!o},{startsWith:function(e){var t=s(l(this)),n=(c(e),a(f(1<arguments.length?arguments[1]:void 0,t.length)));e=s(e);return A?A(t,e,n):d(t,n,n+e.length)===e}})},function(e,t,n){"use strict";var r=n(3),o=n(56).map;r({target:"Array",proto:!0,forced:!n(94)("map")},{map:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(21),i=n(19),a=n(18),s=n(179),c=n(42),l=n(82);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,u=arguments.length<3?t:arguments[2];return a(t)===u?t[n]:(r=c.f(t,n))?s(r)?r.value:void 0===r.get?void 0:o(r.get,u):i(r=l(t))?e(r,n,u):void 0}})},function(e,t,n){n=n(2),e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(0),o=n(14),i=n(76),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},function(e,t){e.exports={}},function(e,t,n){var r=n(17),o=(n=n(20),Function.prototype),i=r&&Object.getOwnPropertyDescriptor,a=(n=n(o,"name"))&&"something"===function(){}.name;r=n&&(!r||i(o,"name").configurable);e.exports={EXISTS:n,PROPER:a,CONFIGURABLE:r}},function(e,t,n){var r=n(80),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(128),o=n(102);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(72),o=n(22),i=n(61);e.exports=function(e,t,n){(t=r(t))in e?o.f(e,t,i(0,n)):e[t]=n}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(21),o=n(112),i=n(18),a=n(65),s=n(23),c=n(39),l=n(53),u=n(113),A=n(114);o("match",(function(e,t,n){return[function(t){var n=c(this),o=null==t?void 0:l(t,e);return o?r(o,t,n):new RegExp(t)[e](s(n))},function(e){var r=i(this),o=s(e);if((e=n(t,r,o)).done)return e.value;if(!r.global)return A(r,o);for(var c=r.unicode,l=[],d=r.lastIndex=0;null!==(f=A(r,o));){var f=s(f[0]);""===(l[d]=f)&&(r.lastIndex=u(o,a(r.lastIndex),c)),d++}return 0===d?null:l}]}))},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){return!!(e=o(this,e))&&e.enumerable}:r},function(e,t,n){var r=n(0),o=n(1),i=n(2),a=n(48),s=r.Object,c=o("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):s(e)}:s},function(e,t,n){var r=n(122),o=n(73);e.exports=function(e){return e=r(e,"string"),o(e)?e:e+""}},function(e,t,n){var r=n(0),o=n(43),i=n(14),a=n(44),s=(n=n(123),r.Object);e.exports=n?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,s(e))}},function(e,t,n){var r,o,i=n(0),a=(n=n(75),i.process);i=i.Deno;!(o=(i=(a=a&&a.versions||i&&i.version)&&a.v8)?0<(r=i.split("."))[0]&&r[0]<4?1:+(r[0]+r[1]):o)&&n&&(!(r=n.match(/Edge\/(\d+)/))||74<=r[1])&&(r=n.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},function(e,t,n){n=n(43),e.exports=n("navigator","userAgent")||""},function(e,t,n){var r=n(0).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},function(e,t,n){var r=n(54),o=n(97);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,n){n=n(1);var r=0,o=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+o,36)}},function(e,t,n){var r=n(77),o=n(78),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return(e=+e)!=e||0==e?0:(0<e?r:n)(e)}},function(e,t,n){function r(e,t){return(e=c[s(e)])==u||e!=l&&(i(t)?o(t):!!t)}var o=n(2),i=n(14),a=/#|\.prototype\./,s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=r.data={},l=r.NATIVE="N",u=r.POLYFILL="P";e.exports=r},function(e,t,n){var r=n(0),o=n(20),i=n(14),a=n(36),s=n(79),c=(n=n(130),s("IE_PROTO")),l=r.Object,u=l.prototype;e.exports=n?l.getPrototypeOf:function(e){if(e=a(e),o(e,c))return e[c];var t=e.constructor;return i(t)&&e instanceof t?t.prototype:e instanceof l?u:null}},function(e,t,n){var r=n(0),o=n(105),i=n(14),a=n(48),s=n(12)("toStringTag"),c=r.Object,l="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=c(e),s))?t:l?a(e):"Object"==(t=a(e))&&i(e.callee)?"Arguments":t}},function(e,t,n){n=n(60);var r=Function.prototype,o=r.apply,i=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},function(e,t,n){function r(){}function o(e){if(!c(e))return!1;try{return f(r,d,e),!0}catch(e){return!1}}function i(e){if(!c(e))return!1;switch(l(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!p(h,A(e))}catch(e){return!0}}var a=n(1),s=n(2),c=n(14),l=n(83),u=n(43),A=n(100),d=[],f=u("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=a(h.exec),m=!h.exec(r);i.sham=!0,e.exports=!f||s((function(){var e;return o(o.call)||!o(Object)||!o((function(){e=!0}))||e}))?i:o},function(e,t,n){var r=n(48);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(22).f,o=n(20),i=n(12)("toStringTag");e.exports=function(e,t,n){(e=e&&!n?e.prototype:e)&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(1),o=n(62),i=n(60),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)}}},function(e,t,n){var r=n(12),o=n(50),i=(n=n(22),r("unscopables")),a=Array.prototype;null==a[i]&&n.f(a,i,{configurable:!0,value:o(null)}),e.exports=function(e){a[i][e]=!0}},function(e,t,n){"use strict";var r=n(21),o=n(1),i=n(23),a=n(110),s=n(111),c=n(77),l=n(50),u=n(49).get,A=n(140),d=(n=n(141),c("native-string-replace",String.prototype.replace)),f=RegExp.prototype.exec,h=f,p=o("".charAt),m=o("".indexOf),g=o("".replace),v=o("".slice),y=(c=/b*/g,r(f,o=/a/,"a"),r(f,c,"a"),0!==o.lastIndex||0!==c.lastIndex),b=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(y||w||b||A||n)&&(h=function(e){var t,n,o,s,c,A,_=this,x=u(_);e=i(e);if(C=x.raw)return C.lastIndex=_.lastIndex,E=r(h,C,e),_.lastIndex=C.lastIndex,E;var B=x.groups,C=b&&_.sticky,E=r(a,_),j=(x=_.source,0),k=e;if(C&&(E=g(E,"y",""),-1===m(E,"g")&&(E+="g"),k=v(e,_.lastIndex),0<_.lastIndex&&(!_.multiline||_.multiline&&"\n"!==p(e,_.lastIndex-1))&&(x="(?: "+x+")",k=" "+k,j++),t=new RegExp("^(?:"+x+")",E)),w&&(t=new RegExp("^"+x+"$(?!\\s)",E)),y&&(n=_.lastIndex),o=r(f,C?t:_,k),C?o?(o.input=v(o.input,j),o[0]=v(o[0],j),o.index=_.lastIndex,_.lastIndex+=o[0].length):_.lastIndex=0:y&&o&&(_.lastIndex=_.global?o.index+o[0].length:n),w&&o&&1<o.length&&r(d,o[0],t,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&B)for(o.groups=c=l(null),s=0;s<B.length;s++)c[(A=B[s])[0]]=o[A[1]];return o}),e.exports=h},function(e,t,n){"use strict";var r=n(3),o=n(92).trim;r({target:"String",proto:!0,forced:n(165)("trim")},{trim:function(){return o(this)}})},function(e,t,n){function r(e){return function(t){return t=a(i(t)),1&e&&(t=s(t,c,"")),2&e?s(t,l,""):t}}var o=n(1),i=n(39),a=n(23),s=(n=n(93),o("".replace)),c=(o="["+n+"]",RegExp("^"+o+o+"*")),l=RegExp(o+o+"*$");e.exports={start:r(1),end:r(2),trim:r(3)}},function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,n){var r=n(2),o=n(12),i=n(74),a=o("species");e.exports=function(e){return 51<=i||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(71),a=n(30),s=(n=n(118),o([].join));o=i!=Object,i=n("join",",");r({target:"Array",proto:!0,forced:o||!i},{join:function(e){return s(a(this),void 0===e?",":e)}})},function(e,t,n){var r=n(74);n=n(2);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t,n){var r=n(0),o=(n=n(98),"__core-js_shared__");r=r[o]||n(o,{});e.exports=r},function(e,t,n){var r=n(0),o=Object.defineProperty;e.exports=function(t,n){try{o(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(e,t,n){var r=n(0),o=(n=n(19),r.document),i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(1),o=n(14),i=(n=n(97),r(Function.toString));o(n.inspectSource)||(n.inspectSource=function(e){return i(e)}),e.exports=n.inspectSource},function(e,t,n){var r=n(80),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(1),o=n(18),i=n(157);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(n){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},function(e,t,n){var r={};r[n(12)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){n=n(1),e.exports=n([].slice)},function(e,t,n){var r=n(48),o=n(30),i=n(55).f,a=n(108),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){if(!s||"Window"!=r(e))return i(o(e));try{return i(e)}catch(e){return a(s)}}},function(e,t,n){var r=n(0),o=n(101),i=n(46),a=n(67),s=r.Array,c=Math.max;e.exports=function(e,t,n){for(var r=i(e),l=o(t,r),u=o(void 0===n?r:n,r),A=s(c(u-l,0)),d=0;l<u;l++,d++)a(A,d,e[l]);return A.length=d,A}},function(e,t,n){"use strict";function r(){return this}var o=n(3),i=n(21),a=n(54),s=n(64),c=n(14),l=n(163),u=n(82),A=n(104),d=n(87),f=n(45),h=n(37),p=n(12),m=n(68),g=(n=n(136),s.PROPER),v=s.CONFIGURABLE,y=n.IteratorPrototype,b=n.BUGGY_SAFARI_ITERATORS,w=p("iterator"),_="values",x="entries";e.exports=function(e,t,n,s,p,B,C){function E(e){if(e===p&&F)return F;if(!b&&e in O)return O[e];switch(e){case"keys":case _:case x:return function(){return new n(this,e)}}return function(){return new n(this)}}l(n,t,s);s=t+" Iterator";var j,k,S=!1,O=e.prototype,N=O[w]||O["@@iterator"]||p&&O[p],F=!b&&N||E(p),I="Array"==t&&O.entries||N;if(I&&(I=u(I.call(new e)))!==Object.prototype&&I.next&&(a||u(I)===y||(A?A(I,y):c(I[w])||h(I,w,r)),d(I,s,!0,!0),a&&(m[s]=r)),g&&p==_&&N&&N.name!==_&&(!a&&v?f(O,"name",_):(S=!0,F=function(){return i(N,this)})),p)if(j={values:E(_),keys:B?F:E("keys"),entries:E(x)},C)for(k in j)!b&&!S&&k in O||h(O,k,j[k]);else o({target:t,proto:!0,forced:b||S},j);return a&&!C||O[w]===F||h(O,w,F,{name:p}),m[t]=F,j}},function(e,t,n){"use strict";var r=n(18);e.exports=function(){var e=r(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(e,t,n){var r=n(2),o=n(0).RegExp,i=(n=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),n||r((function(){return!o("a","y").sticky})));r=n||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:r,MISSED_STICKY:i,UNSUPPORTED_Y:n}},function(e,t,n){"use strict";n(16);var r=n(1),o=n(37),i=n(90),a=n(2),s=n(12),c=n(45),l=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,A){var d,f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={constructor:{}}).constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));h&&p&&!n||(d=r(/./[f]),p=t(f,""[e],(function(e,t,n,o,a){e=r(e);var s=t.exec;return s===i||s===u.exec?h&&!a?{done:!0,value:d(t,n,o)}:{done:!0,value:e(n,t,o)}:{done:!1}})),o(String.prototype,e,p[0]),o(u,f,p[1])),A&&c(u[f],"sham",!0)}},function(e,t,n){"use strict";var r=n(137).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(0),o=n(21),i=n(18),a=n(14),s=n(48),c=n(90),l=r.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n))return null!==(n=o(n,e,t))&&i(n),n;if("RegExp"===s(e))return o(c,e,t);throw l("RegExp#exec called on incompatible receiver")}},function(e,t,n){var r=n(19),o=n(48),i=n(12)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(3);n=n(166);r({target:"Number",stat:!0,forced:Number.parseFloat!=n},{parseFloat:n})},function(e,t,n){var r=n(14),o=n(19),i=n(104);e.exports=function(e,t,n){return i&&r(t=t.constructor)&&t!==n&&o(t=t.prototype)&&t!==n.prototype&&i(e,t),e}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},function(e,t,n){"use strict";n(145)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(153))},function(e,t,n){var r=n(83),o=n(53),i=n(68),a=n(12)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},function(e,t,n){var r=n(3);n=n(178);r({target:"Number",stat:!0,forced:Number.parseInt!=n},{parseInt:n})},function(e,t,n){var r=n(0),o=n(21),i=n(19),a=n(73),s=n(53),c=n(155),l=(n=n(12),r.TypeError),u=n("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n=s(e,u);if(n){if(n=o(n,e,t=void 0===t?"default":t),!i(n)||a(n))return n;throw l("Can't convert object to primitive value")}return c(e,t=void 0===t?"number":t)}},function(e,t,n){n=n(96),e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(17),o=n(2),i=n(99);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(17);n=n(2);e.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){var r=n(20),o=n(127),i=n(42),a=n(22);e.exports=function(e,t,n){for(var s=o(t),c=a.f,l=i.f,u=0;u<s.length;u++){var A=s[u];r(e,A)||n&&r(n,A)||c(e,A,l(t,A))}}},function(e,t,n){var r=n(43),o=n(1),i=n(55),a=n(103),s=n(18),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},function(e,t,n){var r=n(1),o=n(20),i=n(30),a=n(129).indexOf,s=n(63),c=r([].push);e.exports=function(e,t){var n,r=i(e),l=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&c(u,n);for(;t.length>l;)!o(r,n=t[l++])||~a(u,n)||c(u,n);return u}},function(e,t,n){function r(e){return function(t,n,r){var s,c=o(t),l=a(c),u=i(r,l);if(e&&n!=n){for(;u<l;)if((s=c[u++])!=s)return!0}else for(;u<l;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}var o=n(30),i=n(101),a=n(46);e.exports={includes:r(!0),indexOf:r(!1)}},function(e,t,n){n=n(2),e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(0),o=n(85),i=n(76),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},function(e,t,n){var r=n(17),o=n(125),i=n(22),a=n(18),s=n(30),c=n(66);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=c(t),l=o.length,u=0;u<l;)i.f(e,n=o[u++],r[n]);return e}},function(e,t,n){n=n(12),t.f=n},function(e,t,n){var r=n(161),o=n(20),i=n(133),a=n(22).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(162);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},function(e,t,n){"use strict";var r,o,i=n(2),a=n(14),s=n(50),c=n(82),l=n(37),u=n(12),A=(n=n(54),u("iterator"));u=!1;[].keys&&("next"in(o=[].keys())?(c=c(c(o)))!==Object.prototype&&(r=c):u=!0),null==r||i((function(){var e={};return r[A].call(e)!==e}))?r={}:n&&(r=s(r)),a(r[A])||l(r,A,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:u}},function(e,t,n){function r(e){return function(t,n){t=a(s(t)),n=i(n);var r,o=t.length;return n<0||o<=n?e?"":void 0:(r=l(t,n))<55296||56319<r||n+1===o||(o=l(t,n+1))<56320||57343<o?e?c(t,n):r:e?u(t,n,n+2):o-56320+(r-55296<<10)+65536}}var o=n(1),i=n(80),a=n(23),s=n(39),c=o("".charAt),l=o("".charCodeAt),u=o("".slice);e.exports={codeAt:r(!1),charAt:r(!0)}},function(e,t){e.exports={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}},function(e,t,n){n=(n=n(99)("span").classList)&&n.constructor&&n.constructor.prototype,e.exports=n===Object.prototype?void 0:n},function(e,t,n){var r=n(2),o=n(0).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,n){var r=n(2),o=n(0).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){var r=n(0),o=n(115),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(12)("match");e.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(43),o=n(22),i=n(12),a=n(17),s=i("species");e.exports=function(e){e=r(e);var t=o.f;a&&e&&!e[s]&&t(e,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(3),o=n(0),i=n(1),a=n(81),s=n(37),c=n(146),l=n(147),u=n(151),A=n(14),d=n(19),f=n(2),h=n(152),p=n(87),m=n(117);e.exports=function(e,t,n){function g(e){var t=i(j[e]);s(j,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(B&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return B&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(B&&!d(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})}var v,y,b,w,_,x=-1!==e.indexOf("Map"),B=-1!==e.indexOf("Weak"),C=x?"set":"add",E=o[e],j=E&&E.prototype,k=E,S={};return a(e,!A(E)||!(B||j.forEach&&!f((function(){(new E).entries().next()}))))?(k=n.getConstructor(t,e,x,C),c.enable()):a(e,!0)&&(y=(v=new k)[C](B?{}:-0,1)!=v,b=f((function(){v.has(1)})),w=h((function(e){new E(e)})),_=!B&&f((function(){for(var e=new E,t=5;t--;)e[C](t,t);return!e.has(-0)})),w||(((k=t((function(e,t){return u(e,j),e=m(new E,e,k),null!=t&&l(t,e[C],{that:e,AS_ENTRIES:x}),e}))).prototype=j).constructor=k),(b||_)&&(g("delete"),g("has"),x&&g("get")),(_||y)&&g(C),B&&j.clear&&delete j.clear),S[e]=k,r({global:!0,forced:k!=E},S),p(k,e),B||n.setStrong(k,e,x),k}},function(e,t,n){function r(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})}var o=n(3),i=n(1),a=n(63),s=n(19),c=n(20),l=n(22).f,u=n(55),A=n(107),d=n(169),f=n(78),h=n(171),p=!1,m=f("meta"),g=0,v=e.exports={enable:function(){v.enable=function(){},p=!0;var e=u.f,t=i([].splice),n={};n[m]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===m){t(r,o,1);break}return r},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:A.f}))},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,m)){if(!d(e))return"F";if(!t)return"E";r(e)}return e[m].objectID},getWeakData:function(e,t){if(!c(e,m)){if(!d(e))return!0;if(!t)return!1;r(e)}return e[m].weakData},onFreeze:function(e){return h&&p&&d(e)&&!c(e,m)&&r(e),e}};a[m]=!0},function(e,t,n){function r(e,t){this.stopped=e,this.result=t}var o=n(0),i=n(88),a=n(21),s=n(18),c=n(76),l=n(148),u=n(46),A=n(44),d=n(149),f=n(120),h=n(150),p=o.TypeError,m=r.prototype;e.exports=function(e,t,n){function o(e){return v&&h(v,"normal",e),new r(!0,e)}function g(e){return C?(s(e),j?k(e[0],e[1],o):k(e[0],e[1])):j?k(e,o):k(e)}var v,y,b,w,_,x,B=n&&n.that,C=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_ITERATOR),j=!(!n||!n.INTERRUPTED),k=i(t,B);if(E)v=e;else{if(!(n=f(e)))throw p(c(e)+" is not iterable");if(l(n)){for(y=0,b=u(e);y<b;y++)if((w=g(e[y]))&&A(m,w))return w;return new r(!1)}v=d(e,n)}for(_=v.next;!(x=a(_,v)).done;){try{w=g(x.value)}catch(e){h(v,"throw",e)}if("object"==typeof w&&w&&A(m,w))return w}return new r(!1)}},function(e,t,n){var r=n(12),o=n(68),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(0),o=n(21),i=n(62),a=n(18),s=n(76),c=n(120),l=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return a(o(n,e));throw l(s(e)+" is not iterable")}},function(e,t,n){var r=n(21),o=n(18),i=n(53);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},function(e,t,n){var r=n(0),o=n(44),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},function(e,t,n){var r=n(12)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(22).f,o=n(50),i=n(172),a=n(88),s=n(151),c=n(147),l=n(109),u=n(144),A=n(17),d=n(146).fastKey,f=(n=n(49)).set,h=n.getterFor;e.exports={getConstructor:function(e,t,n,l){function u(e,t,n){var r,o=g(e),i=p(e,t);return i?i.value=n:(o.last=i={index:r=d(t,!0),key:t,value:n,previous:t=o.last,next:void 0,removed:!1},o.first||(o.first=i),t&&(t.next=i),A?o.size++:e.size++,"F"!==r&&(o.index[r]=i)),e}function p(e,t){e=g(e);var n,r=d(t);if("F"!==r)return e.index[r];for(n=e.first;n;n=n.next)if(n.key==t)return n}e=e((function(e,r){s(e,m),f(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),A||(e.size=0),null!=r&&c(r,e[l],{that:e,AS_ENTRIES:n})}));var m=e.prototype,g=h(t);return i(m,{clear:function(){for(var e=g(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,A?e.size=0:this.size=0},delete:function(e){var t,n,r=g(this);return(e=p(this,e))&&(t=e.next,n=e.previous,delete r.index[e.index],e.removed=!0,n&&(n.next=t),t&&(t.previous=n),r.first==e&&(r.first=t),r.last==e&&(r.last=n),A?r.size--:this.size--),!!e},forEach:function(e){for(var t,n=g(this),r=a(e,1<arguments.length?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!p(this,e)}}),i(m,n?{get:function(e){return(e=p(this,e))&&e.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),A&&r(m,"size",{get:function(){return g(this).size}}),e},setStrong:function(e,t,n){var r=t+" Iterator",o=h(t),i=h(r);l(e,t,(function(e,t){f(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}:{value:e.target=void 0,done:!0}}),n?"entries":"values",!n,!0),u(t)}}},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(0),o=n(21),i=n(14),a=n(19),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!a(r=o(n,e)))return r;if(i(n=e.valueOf)&&!a(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!a(r=o(n,e)))return r;throw s("Can't convert object to primitive value")}},function(e,t,n){var r=n(0),o=n(14);n=n(100),r=r.WeakMap;e.exports=o(r)&&/native code/.test(n(r))},function(e,t,n){var r=n(0),o=n(14),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},function(e,t,n){"use strict";var r=n(105),o=n(83);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(62),a=n(19),s=n(20),c=n(106),l=(n=n(60),r.Function),u=o([].concat),A=o([].join),d={};e.exports=n?l.bind:function(e){var t=i(this),n=t.prototype,r=c(arguments,1),o=function n(){var o=u(r,c(arguments));if(this instanceof n){var i=t,a=o.length,f=o;if(!s(d,a)){for(var h=[],p=0;p<a;p++)h[p]="a["+p+"]";d[a]=l("C,a","return new C("+A(h,",")+")")}return d[a](i,f)}return t.apply(e,o)};return a(n)&&(o.prototype=n),o}},function(e,t,n){n=n(43),e.exports=n("document","documentElement")},function(e,t,n){n=n(0),e.exports=n},function(e,t,n){var r=n(0),o=n(86),i=n(85),a=n(19),s=n(12)("species"),c=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===c||o(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?c:t}},function(e,t,n){"use strict";function r(){return this}var o=n(136).IteratorPrototype,i=n(50),a=n(61),s=n(87),c=n(68);e.exports=function(e,t,n,l){return t+=" Iterator",e.prototype=i(o,{next:a(+!l,n)}),s(e,t,!1,!0),c[t]=r,e}},function(e,t,n){var r=n(18),o=n(131),i=n(12)("species");e.exports=function(e,t){return void 0===(e=r(e).constructor)||null==(e=r(e)[i])?t:o(e)}},function(e,t,n){var r=n(64).PROPER,o=n(2),i=n(93);e.exports=function(e){return o((function(){return!!i[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&i[e].name!==e}))}},function(e,t,n){var r=n(0),o=n(2),i=n(1),a=n(23),s=n(92).trim,c=(n=n(93),i("".charAt)),l=r.parseFloat,u=(i=r.Symbol)&&i.iterator;r=1/l(n+"-0")!=-1/0||u&&!o((function(){l(Object(u))}));e.exports=r?function(e){e=s(a(e));var t=l(e);return 0===t&&"-"==c(e,0)?-0:t}:l},function(e,t,n){n=n(1),e.exports=n(1..valueOf)},function(e,t,n){"use strict";var r=n(56).forEach;n=n(118)("forEach");e.exports=n?[].forEach:function(e){return r(this,e,1<arguments.length?arguments[1]:void 0)}},function(e,t,n){var r=n(2),o=n(19),i=n(48),a=n(170),s=Object.isExtensible;n=r((function(){s(1)}));e.exports=n||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!=i(e))&&(!s||s(e))}:s},function(e,t,n){n=n(2),e.exports=n((function(){var e;"function"==typeof ArrayBuffer&&(e=new ArrayBuffer(8),Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8}))}))},function(e,t,n){n=n(2),e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(37);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(1),o=n(36),i=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,A,d){var f=n+e.length,h=r.length,p=u;return void 0!==A&&(A=o(A),p=l),s(d,p,(function(o,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,f);case"<":l=A[c(s,1,-1)];break;default:var u,d=+s;if(0==d)return o;if(h<d)return 0!==(u=i(d/10))&&u<=h?void 0===r[u-1]?a(s,1):r[u-1]+a(s,1):o;l=r[d-1]}return void 0===l?"":l}))}},function(e,t,n){"use strict";var r=n(0),o=n(88),i=n(21),a=n(36),s=n(175),c=n(148),l=n(85),u=n(46),A=n(67),d=n(149),f=n(120),h=r.Array;e.exports=function(e){var t,n,r,p,m,g,v,y=a(e),b=(e=l(this),1<(v=arguments.length)?arguments[1]:void 0),w=void 0!==b,_=0;if(!(v=(w&&(b=o(b,2<v?arguments[2]:void 0)),f(y)))||this==h&&c(v))for(t=u(y),n=e?new this(t):h(t);_<t;_++)g=w?b(y[_],_):y[_],A(n,_,g);else for(m=(p=d(y,v)).next,n=e?new this:[];!(r=i(m,p)).done;_++)g=w?s(p,b,[r.value,_],!0):r.value,A(n,_,g);return n.length=_,n}},function(e,t,n){var r=n(18),o=n(150);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},function(e,t,n){var r=n(3),o=n(2);n=n(107).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:n})},function(e,t,n){"use strict";n(145)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(153))},function(e,t,n){var r=n(0),o=n(2),i=n(1),a=n(23),s=n(92).trim,c=(n=n(93),r.parseInt),l=(r=r.Symbol)&&r.iterator,u=/^[+-]?0x/i,A=i(u.exec);r=8!==c(n+"08")||22!==c(n+"0x16")||l&&!o((function(){c(Object(l))}));e.exports=r?function(e,t){return e=s(a(e)),c(e,t>>>0||(A(u,e)?16:10))}:c},function(e,t,n){var r=n(20);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(62),a=n(36),s=n(46),c=n(23),l=n(2),u=n(181),A=n(118),d=n(182),f=n(183),h=n(74),p=n(184),m=[],g=o(m.sort),v=o(m.push),y=(n=l((function(){m.sort(void 0)})),o=l((function(){m.sort(null)})),A=A("sort"),!l((function(){if(h)return h<70;if(!(d&&3<d)){if(f)return!0;if(p)return p<603;for(var e,t,n,r="",o=65;o<76;o++){switch(e=String.fromCharCode(o),o){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(n=0;n<47;n++)m.push({k:e+n,v:t})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}})));r({target:"Array",proto:!0,forced:n||!o||!A||!y},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(y)return void 0===e?g(t):g(t,e);for(var n,r,o=[],l=s(t),A=0;A<l;A++)A in t&&v(o,t[A]);for(u(o,(r=e,function(e,t){return void 0===t?-1:void 0===e?1:void 0!==r?+r(e,t)||0:c(e)>c(t)?1:-1})),n=o.length,A=0;A<n;)t[A]=o[A++];for(;A<l;)delete t[A++];return t}})},function(e,t,n){var r=n(108),o=Math.floor;e.exports=function e(t,n){var i=t.length,a=o(i/2);if(i<8){for(var s,c,l=t,u=n,A=l.length,d=1;d<A;){for(s=l[c=d];c&&0<u(l[c-1],s);)l[c]=l[--c];c!==d++&&(l[c]=s)}return l}for(var f=t,h=e(r(t,0,a),n),p=e(r(t,a),n),m=n,g=h.length,v=p.length,y=0,b=0;y<g||b<v;)f[y+b]=y<g&&b<v?m(h[y],p[b])<=0?h[y++]:p[b++]:y<g?h[y++]:p[b++];return f}},function(e,t,n){n=n(75).match(/firefox\/(\d+)/i),e.exports=!!n&&+n[1]},function(e,t,n){n=n(75),e.exports=/MSIE|Trident/.test(n)},function(e,t,n){n=n(75).match(/AppleWebKit\/(\d+)\./),e.exports=!!n&&+n[1]},function(e,t,n){var r=n(3);n=n(186);r({target:"Object",stat:!0,forced:Object.assign!==n},{assign:n})},function(e,t,n){"use strict";var r=n(17),o=n(1),i=n(21),a=n(2),s=n(66),c=n(103),l=n(70),u=n(36),A=n(71),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=u(e),o=arguments.length,a=1,d=c.f,f=l.f;a<o;)for(var p,m=A(arguments[a++]),g=d?h(s(m),d(m)):s(m),v=g.length,y=0;y<v;)p=g[y++],r&&!i(f,m,p)||(n[p]=m[p]);return n}:d},function(e,t,n){"use strict";var r=n(3),o=n(56).findIndex,i=(n=n(89),"findIndex"),a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}}),n(i)},function(e,t,n){n(3)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(3),o=n(190).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){function r(e){return function(t){for(var n,r=s(t),i=a(r),u=i.length,A=0,d=[];A<u;)n=i[A++],o&&!c(r,n)||l(d,e?[n,r[n]]:r[n]);return d}}var o=n(17),i=n(1),a=n(66),s=n(30),c=i(n(70).f),l=i([].push);e.exports={entries:r(!0),values:r(!1)}},function(e,t,n){n=n(3);var r=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(e){return(0<e?o:r)(e)}})},,function(e,t,n){"use strict";n.r(t);var r={};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(e=x(e))&&document.querySelector(e)?e:null}function a(e){return(e=x(e))?document.querySelector(e):null}function s(e){e.dispatchEvent(new Event(_))}function c(e){return B(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(e):null}function l(e,t,n){Object.keys(n).forEach((function(r){var o=n[r],i=(i=t[r])&&B(i)?"element":null==i?"".concat(i):{}.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(i))throw new TypeError("".concat(e.toUpperCase(),': Option "').concat(r,'" provided type "').concat(i,'" but expected type "').concat(o,'".'))}))}function u(e){return!(!B(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility")}function A(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))}function d(e){return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?d(e.parentNode):null:null;var t}function f(){}function h(e){e.offsetHeight}function p(){var e=window.jQuery;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null}function m(){return"rtl"===document.documentElement.dir}function g(e){var t;t=function(){var t,n,r=p();r&&(t=e.NAME,n=r.fn[t],r.fn[t]=e.jQueryInterface,r.fn[t].Constructor=e,r.fn[t].noConflict=function(){return r.fn[t]=n,e.jQueryInterface})},"loading"===document.readyState?(C.length||document.addEventListener("DOMContentLoaded",(function(){C.forEach((function(e){return e()}))})),C.push(t)):t()}function v(e){"function"==typeof e&&e()}function y(e,t){var n,r;2<arguments.length&&void 0!==arguments[2]&&!arguments[2]?v(e):(n=function(e){if(!e)return 0;var t=(e=window.getComputedStyle(e)).transitionDuration,n=(e=e.transitionDelay,Number.parseFloat(t)),r=Number.parseFloat(e);return n||r?(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*w):0}(t)+5,r=!1,t.addEventListener(_,(function n(o){o.target===t&&(r=!0,t.removeEventListener(_,n),v(e))})),setTimeout((function(){r||s(t)}),n))}function b(e,t,n,r){if(-1===(t=e.indexOf(t)))return e[!n&&r?e.length-1:0];var o=e.length;return t+=n?1:-1,r&&(t=(t+o)%o),e[Math.max(0,Math.min(t,o-1))]}n.r(r),n.d(r,"top",(function(){return ne})),n.d(r,"bottom",(function(){return re})),n.d(r,"right",(function(){return oe})),n.d(r,"left",(function(){return ie})),n.d(r,"auto",(function(){return ae})),n.d(r,"basePlacements",(function(){return se})),n.d(r,"start",(function(){return ce})),n.d(r,"end",(function(){return le})),n.d(r,"clippingParents",(function(){return ue})),n.d(r,"viewport",(function(){return Ae})),n.d(r,"popper",(function(){return de})),n.d(r,"reference",(function(){return fe})),n.d(r,"variationPlacements",(function(){return he})),n.d(r,"placements",(function(){return pe})),n.d(r,"beforeRead",(function(){return me})),n.d(r,"read",(function(){return ge})),n.d(r,"afterRead",(function(){return ve})),n.d(r,"beforeMain",(function(){return ye})),n.d(r,"main",(function(){return be})),n.d(r,"afterMain",(function(){return we})),n.d(r,"beforeWrite",(function(){return _e})),n.d(r,"write",(function(){return xe})),n.d(r,"afterWrite",(function(){return Be})),n.d(r,"modifierPhases",(function(){return Ce})),n.d(r,"applyStyles",(function(){return Ne})),n.d(r,"arrow",(function(){return Ze})),n.d(r,"computeStyles",(function(){return Xe})),n.d(r,"eventListeners",(function(){return et})),n.d(r,"flip",(function(){return ht})),n.d(r,"hide",(function(){return gt})),n.d(r,"offset",(function(){return vt})),n.d(r,"popperOffsets",(function(){return yt})),n.d(r,"preventOverflow",(function(){return bt})),n.d(r,"popperGenerator",(function(){return Bt})),n.d(r,"detectOverflow",(function(){return ft})),n.d(r,"createPopperBase",(function(){return Ct})),n.d(r,"createPopper",(function(){return Et})),n.d(r,"createPopperLite",(function(){return jt})),n(29),n(31),n(4),n(32),n(7),n(10),n(11),n(5),n(6),n(8),n(16),n(69),n(33),n(51),n(57),n(38),n(91),n(116),n(34),n(9),n(13),n(52),n(40),n(26);var w=1e3,_="transitionend",x=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){if(!(e=e.getAttribute("href"))||!e.includes("#")&&!e.startsWith("."))return null;t=(e=e.includes("#")&&!e.startsWith("#")?"#".concat(e.split("#")[1]):e)&&"#"!==e?e.trim():null}return t},B=function(e){return!(!e||"object"!==o(e))&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType},C=[];function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(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 j(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}n(119),n(47),n(27),n(41),n(35);var k=/[^.]*(?=\..*)\.|.*/,S=/\..*/,O=/::\d+$/,N={},F=1,I={mouseenter:"mouseover",mouseleave:"mouseout"},P=/^(mouseenter|mouseleave)/i,L=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function T(e,t){return t&&"".concat(t,"::").concat(F++)||e.uidEvent||F++}function D(e){var t=T(e);return e.uidEvent=t,N[t]=N[t]||{},N[t]}function Q(e,t,n){for(var r=2<arguments.length&&void 0!==n?n:null,o=Object.keys(e),i=0,a=o.length;i<a;i++){var s=e[o[i]];if(s.originalHandler===t&&s.delegationSelector===r)return s}return null}function U(e,t,n){var r="string"==typeof t;n=r?n:t,t=$(e);return[r,n,t=L.has(t)?t:e]}function M(e,t,n,r,o){var i,a,s,c,l,u,A,d,f,h;"string"==typeof t&&e&&(n||(n=r,r=null),P.test(t)&&(s=function(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}},r?r=s(r):n=s(n)),i=(s=E(U(t,n,r),3))[0],a=s[1],s=s[2],(l=Q(c=(c=D(e))[s]||(c[s]={}),a,i?n:null))?l.oneOff=l.oneOff&&o:(l=T(a,t.replace(k,"")),(t=i?(d=e,f=n,h=r,function e(t){for(var n=d.querySelectorAll(f),r=t.target;r&&r!==this;r=r.parentNode)for(var o=n.length;o--;)if(n[o]===r)return t.delegateTarget=r,e.oneOff&&H.off(d,t.type,f,h),h.apply(r,[t]);return null}):(u=e,A=n,function e(t){return t.delegateTarget=u,e.oneOff&&H.off(u,t.type,A),A.apply(u,[t])})).delegationSelector=i?n:null,t.originalHandler=a,t.oneOff=o,c[t.uidEvent=l]=t,e.addEventListener(s,t,i)))}function R(e,t,n,r,o){(r=Q(t[n],r,o))&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function $(e){return e=e.replace(S,""),I[e]||e}var H={on:function(e,t,n,r){M(e,t,n,r,!1)},one:function(e,t,n,r){M(e,t,n,r,!0)},off:function(e,t,n,r){if("string"==typeof t&&e){var o=(r=E(U(t,n,r),3))[0],i=r[1],a=r[2],s=a!==t,c=D(e);r=t.startsWith(".");if(void 0!==i)return c&&c[a]?void R(e,c,a,i,o?n:null):void 0;r&&Object.keys(c).forEach((function(n){var r,o,i,a,s;r=e,o=c,i=n,a=t.slice(1),s=o[i]||{},Object.keys(s).forEach((function(e){e.includes(a)&&(e=s[e],R(r,o,i,e.originalHandler,e.delegationSelector))}))}));var l=c[a]||{};Object.keys(l).forEach((function(n){var r=n.replace(O,"");s&&!t.includes(r)||(r=l[n],R(e,c,a,r.originalHandler,r.delegationSelector))}))}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var r,o=p(),i=$(t),a=t!==i,s=L.has(i),c=!0,l=!0,u=!1,A=null;return a&&o&&(r=o.Event(t,n),o(e).trigger(r),c=!r.isPropagationStopped(),l=!r.isImmediatePropagationStopped(),u=r.isDefaultPrevented()),s?(A=document.createEvent("HTMLEvents")).initEvent(i,c,!0):A=new CustomEvent(t,{bubbles:c,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((function(e){Object.defineProperty(A,e,{get:function(){return n[e]}})})),u&&A.preventDefault(),l&&e.dispatchEvent(A),A.defaultPrevented&&void 0!==r&&r.preventDefault(),A}},q=H,K=(n(176),n(177),new Map),V=function(e,t,n){K.has(e)||K.set(e,new Map),(e=K.get(e)).has(t)||0===e.size?e.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(e.keys())[0],"."))};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Z(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 G=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");(t=c(t))&&(this._element=t,V(this._element,this.constructor.DATA_KEY,this))}var t,n,r;return t=e,r=[{key:"getInstance",value:function(e){return function(e,t){return K.has(e)&&K.get(e).get(t)||null}(c(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===z(t)?t:null)}},{key:"VERSION",get:function(){return"5.1.3"}},{key:"NAME",get:function(){throw new Error('You have to implement the static method "NAME", for each component!')}},{key:"DATA_KEY",get:function(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function(){return".".concat(this.DATA_KEY)}}],(n=[{key:"dispose",value:function(){var e=this;(function(e,t){var n;K.has(e)&&((n=K.get(e)).delete(t),0===n.size&&K.delete(e))})(this._element,this.constructor.DATA_KEY),q.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((function(t){e[t]=null}))}},{key:"_queueCallback",value:function(e,t){y(e,t,!(2<arguments.length&&void 0!==arguments[2])||arguments[2])}}])&&Z(t.prototype,n),r&&Z(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(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 X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t=".".concat("bs.button");var ee='[data-bs-toggle="button"]',te=(t="click".concat(t).concat(".data-api"),function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=J(t);if(e=n?(e=J(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(){var e=this,t=o;if(e instanceof t)return r.apply(this,arguments);throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"NAME",get:function(){return"button"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}],(n=[{key:"toggle",value:function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}}])&&Y(e.prototype,n),t&&Y(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}()),ne=(t=(q.on(document,t,ee,(function(e){e.preventDefault(),e=e.target.closest(ee),te.getOrCreateInstance(e).toggle()})),g(te),te),n(28),n(58),n(121),n(15),n(59),n(24),n(25),"top"),re="bottom",oe="right",ie="left",ae="auto",se=[ne,re,oe,ie],ce="start",le="end",ue="clippingParents",Ae="viewport",de="popper",fe="reference",he=se.reduce((function(e,t){return e.concat([t+"-"+ce,t+"-"+le])}),[]),pe=[].concat(se,[ae]).reduce((function(e,t){return e.concat([t,t+"-"+ce,t+"-"+le])}),[]),me="beforeRead",ge="read",ve="afterRead",ye="beforeMain",be="main",we="afterMain",_e="beforeWrite",xe="write",Be="afterWrite",Ce=[me,ge,ve,ye,be,we,_e,xe,Be];function Ee(e){return e?(e.nodeName||"").toLowerCase():null}function je(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function ke(e){return e instanceof je(e).Element||e instanceof Element}function Se(e){return e instanceof je(e).HTMLElement||e instanceof HTMLElement}function Oe(e){if("undefined"!=typeof ShadowRoot)return e instanceof je(e).ShadowRoot||e instanceof ShadowRoot}var Ne={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];Se(o)&&Ee(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]||{};e=Object.keys((t.styles.hasOwnProperty(e)?t.styles:n)[e]).reduce((function(e,t){return e[t]="",e}),{});Se(r)&&Ee(r)&&(Object.assign(r.style,e),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Fe(e){return e.split("-")[0]}var Ie=Math.max,Pe=Math.min,Le=Math.round;function Te(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;return Se(e)&&t&&(t=e.offsetHeight,0<(e=e.offsetWidth)&&(r=Le(n.width)/e||1),0<t&&(o=Le(n.height)/t||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 De(e){var t=Te(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 Qe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Oe(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function Ue(e){return je(e).getComputedStyle(e)}function Me(e){return((ke(e)?e.ownerDocument:e.document)||window.document).documentElement}function Re(e){return"html"===Ee(e)?e:e.assignedSlot||e.parentNode||(Oe(e)?e.host:null)||Me(e)}function $e(e){return Se(e)&&"fixed"!==Ue(e).position?e.offsetParent:null}function He(e){for(var t=je(e),n=$e(e);n&&0<=["table","td","th"].indexOf(Ee(n))&&"static"===Ue(n).position;)n=$e(n);return(!n||"html"!==Ee(n)&&("body"!==Ee(n)||"static"!==Ue(n).position))&&(n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Se(e)&&"fixed"===Ue(e).position)return null;var n=Re(e);for(Oe(n)&&(n=n.host);Se(n)&&["html","body"].indexOf(Ee(n))<0;){var r=Ue(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}function qe(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function Ke(e,t,n){return Ie(e,Pe(t,n))}function Ve(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ze(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Ze={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r,o,i=e.state,a=e.name,s=(e=e.options,i.elements.arrow),c=i.modifiersData.popperOffsets,l=qe(u=Fe(i.placement)),u=0<=[ie,oe].indexOf(u)?"height":"width";s&&c&&(n=i,n=Ve("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},n.rects,{placement:n.placement})):e)?e:ze(e,se)),e=De(s),o="y"===l?ne:ie,r="y"===l?re:oe,t=i.rects.reference[u]+i.rects.reference[l]-c[l]-i.rects.popper[u],c=c[l]-i.rects.reference[l],s=(s=He(s))?"y"===l?s.clientHeight||0:s.clientWidth||0:0,o=n[o],n=s-e[u]-n[r],o=Ke(o,r=s/2-e[u]/2+(t/2-c/2),n),i.modifiersData[a]=((s={})[l]=o,s.centerOffset=o-r,s))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&Qe(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ge(e){return e.split("-")[1]}var We={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e){var t,n,r,o=e.popper,i=e.popperRect,a=e.placement,s=e.variation,c=e.offsets,l=e.position,u=e.gpuAcceleration,A=e.adaptive,d=e.roundOffsets,f=(e=e.isFixed,void 0===(f=c.x)?0:f),h=void 0===(h=c.y)?0:h,p=(f=(p="function"==typeof d?d({x:f,y:h}):{x:f,y:h}).x,h=p.y,c.hasOwnProperty("x")),m=(c=c.hasOwnProperty("y"),ie),g=ne,v=window;A&&(n="clientHeight",t="clientWidth",(r=He(o))===je(o)&&"static"!==Ue(r=Me(o)).position&&"absolute"===l&&(n="scrollHeight",t="scrollWidth"),a!==ne&&(a!==ie&&a!==oe||s!==le)||(g=re,h=(h-((e&&r===v&&v.visualViewport?v.visualViewport.height:r[n])-i.height))*(u?1:-1)),a!==ie&&(a!==ne&&a!==re||s!==le)||(m=oe,f=(f-((e&&r===v&&v.visualViewport?v.visualViewport.width:r[t])-i.width))*(u?1:-1))),o=Object.assign({position:l},A&&We);return f=(e=!0===d?(a=(n={x:f,y:h}).x,n=n.y,s=window.devicePixelRatio||1,{x:Le(a*s)/s||0,y:Le(n*s)/s||0}):{x:f,y:h}).x,h=e.y,u?Object.assign({},o,((r={})[g]=c?"0":"",r[m]=p?"0":"",r.transform=(v.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",r)):Object.assign({},o,((t={})[g]=c?h+"px":"",t[m]=p?f+"px":"",t.transform="",t))}var Xe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=void 0===(n=(e=e.options).gpuAcceleration)||n,r=void 0===(r=e.adaptive)||r;e=void 0===(e=e.roundOffsets)||e,n={placement:Fe(t.placement),variation:Ge(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},n,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},n,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Je={passive:!0},et={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=(e=e.options).scroll,o=void 0===r||r,i=void 0===(r=e.resize)||r,a=je(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&s.forEach((function(e){e.addEventListener("scroll",n.update,Je)})),i&&a.addEventListener("resize",n.update,Je),function(){o&&s.forEach((function(e){e.removeEventListener("scroll",n.update,Je)})),i&&a.removeEventListener("resize",n.update,Je)}},data:{}},tt={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(e){return e.replace(/left|right|bottom|top/g,(function(e){return tt[e]}))}var rt={start:"end",end:"start"};function ot(e){return e.replace(/start|end/g,(function(e){return rt[e]}))}function it(e){return{scrollLeft:(e=je(e)).pageXOffset,scrollTop:e.pageYOffset}}function at(e){return Te(Me(e)).left+it(e).scrollLeft}function st(e){var t=(e=Ue(e)).overflow,n=e.overflowX;e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+n)}function ct(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Ee(t))?t.ownerDocument.body:Se(t)&&st(t)?t:e(Re(t))}(e),r=(e=n===(null==(e=e.ownerDocument)?void 0:e.body),je(n));r=e?[r].concat(r.visualViewport||[],st(n)?n:[]):n,n=t.concat(r);return e?n:n.concat(ct(Re(r)))}function lt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ut(e,t){return t===Ae?lt((r=je(n=e),o=Me(n),r=r.visualViewport,i=o.clientWidth,o=o.clientHeight,s=a=0,r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+at(n),y:s})):ke(t)?((i=Te(r=t)).top=i.top+r.clientTop,i.left=i.left+r.clientLeft,i.bottom=i.top+r.clientHeight,i.right=i.left+r.clientWidth,i.width=r.clientWidth,i.height=r.clientHeight,i.x=i.left,i.y=i.top,i):lt((o=Me(e),a=Me(o),n=it(o),s=null==(s=o.ownerDocument)?void 0:s.body,t=Ie(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),e=Ie(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+at(o),n=-n.scrollTop,"rtl"===Ue(s||a).direction&&(o+=Ie(a.clientWidth,s?s.clientWidth:0)-t),{width:t,height:e,x:o,y:n}));var n,r,o,i,a,s}function At(e,t,n){var r,o="clippingParents"===t?(i=ct(Re(o=e)),ke(r=0<=["absolute","fixed"].indexOf(Ue(o).position)&&Se(o)?He(o):o)?i.filter((function(e){return ke(e)&&Qe(e,r)&&"body"!==Ee(e)})):[]):[].concat(t),i=[].concat(o,[n]);t=i[0],n=i.reduce((function(t,n){return n=ut(e,n),t.top=Ie(n.top,t.top),t.right=Pe(n.right,t.right),t.bottom=Pe(n.bottom,t.bottom),t.left=Ie(n.left,t.left),t}),ut(e,t));return n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function dt(e){var t,n=e.reference,r=e.element,o=(e=e.placement)?Fe(e):null,i=(e=e?Ge(e):null,n.x+n.width/2-r.width/2),a=n.y+n.height/2-r.height/2;switch(o){case ne:t={x:i,y:n.y-r.height};break;case re:t={x:i,y:n.y+n.height};break;case oe:t={x:n.x+n.width,y:a};break;case ie:t={x:n.x-r.width,y:a};break;default:t={x:n.x,y:n.y}}var s=o?qe(o):null;if(null!=s){var c="y"===s?"height":"width";switch(e){case ce:t[s]=t[s]-(n[c]/2-r[c]/2);break;case le:t[s]=t[s]+(n[c]/2-r[c]/2)}}return t}function ft(e,t){var n,r=void 0===(r=(t=t=void 0===t?{}:t).placement)?e.placement:r,o=void 0===(o=t.boundary)?ue:o,i=void 0===(i=t.rootBoundary)?Ae:i,a=void 0===(a=t.elementContext)?de:a,s=void 0!==(s=t.altBoundary)&&s,c=(t=Ve("number"!=typeof(t=void 0===(t=t.padding)?0:t)?t:ze(t,se)),e.rects.popper),l=(s=At(ke(s=e.elements[s?a===de?fe:de:a])?s:s.contextElement||Me(e.elements.popper),o,i),i=dt({reference:o=Te(e.elements.reference),element:c,strategy:"absolute",placement:r}),c=lt(Object.assign({},c,i)),i=a===de?c:o,{top:s.top-i.top+t.top,bottom:i.bottom-s.bottom+t.bottom,left:s.left-i.left+t.left,right:i.right-s.right+t.right});c=e.modifiersData.offset;return a===de&&c&&(n=c[r],Object.keys(l).forEach((function(e){var t=0<=[oe,re].indexOf(e)?1:-1,r=0<=[ne,re].indexOf(e)?"y":"x";l[e]+=n[r]*t}))),l}var ht={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;e=e.name;if(!t.modifiersData[e]._skip){for(var r,o=void 0===(a=n.mainAxis)||a,i=void 0===(a=n.altAxis)||a,a=n.fallbackPlacements,s=n.padding,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,A=void 0===(r=n.flipVariations)||r,d=n.allowedAutoPlacements,f=(n=Fe(r=t.options.placement),a=a||(n!==r&&A?function(e){if(Fe(e)===ae)return[];var t=nt(e);return[ot(e),t,ot(t)]}(r):[nt(r)]),[r].concat(a).reduce((function(e,n){return e.concat(Fe(n)===ae?(r=t,o=(e=e=void 0===(e={placement:n,boundary:c,rootBoundary:l,padding:s,flipVariations:A,allowedAutoPlacements:d})?{}:e).placement,i=e.boundary,a=e.rootBoundary,u=e.padding,f=e.flipVariations,h=void 0===(e=e.allowedAutoPlacements)?pe:e,e=(p=Ge(o))?f?he:he.filter((function(e){return Ge(e)===p})):se,m=(o=0===(o=e.filter((function(e){return 0<=h.indexOf(e)}))).length?e:o).reduce((function(e,t){return e[t]=ft(r,{placement:t,boundary:i,rootBoundary:a,padding:u})[Fe(t)],e}),{}),Object.keys(m).sort((function(e,t){return m[e]-m[t]}))):n);var r,o,i,a,u,f,h,p,m}),[])),h=t.rects.reference,p=t.rects.popper,m=new Map,g=!0,v=f[0],y=0;y<f.length;y++){var b=f[y],w=Fe(b),_=Ge(b)===ce,x=(C=0<=[ne,re].indexOf(w))?"width":"height",B=ft(t,{placement:b,boundary:c,rootBoundary:l,altBoundary:u,padding:s}),C=C?_?oe:ie:_?re:ne;_=(h[x]>p[x]&&(C=nt(C)),nt(C)),x=[];if(o&&x.push(B[w]<=0),i&&x.push(B[C]<=0,B[_]<=0),x.every((function(e){return e}))){v=b,g=!1;break}m.set(b,x)}if(g)for(var E=A?3:1;0<E&&"break"!==function(e){var t=f.find((function(t){if(t=m.get(t))return t.slice(0,e).every((function(e){return e}))}));if(t)return v=t,"break"}(E);E--);t.placement!==v&&(t.modifiersData[e]._skip=!0,t.placement=v,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pt(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function mt(e){return[ne,oe,re,ie].some((function(t){return 0<=e[t]}))}var gt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=(e=e.name,t.rects.reference),r=t.rects.popper,o=t.modifiersData.preventOverflow,i=ft(t,{elementContext:"reference"}),a=ft(t,{altBoundary:!0});i=pt(i,n),n=pt(a,r,o),a=mt(i),r=mt(n);t.modifiersData[e]={referenceClippingOffsets:i,popperEscapeOffsets:n,isReferenceHidden:a,hasPopperEscaped:r},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":r})}},vt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=(e=e.name,void 0===(n=n.offset)?[0,0]:n),o=(n=pe.reduce((function(e,n){var o,i,a,s;return e[n]=(o=t.rects,i=r,a=Fe(n),s=0<=[ie,ne].indexOf(a)?-1:1,n=(o="function"==typeof i?i(Object.assign({},o,{placement:n})):i)[0]||0,i=(o[1]||0)*s,0<=[ie,oe].indexOf(a)?{x:i,y:n}:{x:n,y:i}),e}),{}),(i=n[t.placement]).x),i=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=o,t.modifiersData.popperOffsets.y+=i),t.modifiersData[e]=n}},yt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;e=e.name;t.modifiersData[e]=dt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},bt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,r,o,i,a,s,c,l,u=e.state,A=e.options,d=(e=e.name,void 0===(d=A.mainAxis)||d),f=void 0!==(f=A.altAxis)&&f,h=A.boundary,p=A.rootBoundary,m=A.altBoundary,g=A.padding,v=void 0===(v=A.tether)||v,y=(A=void 0===(A=A.tetherOffset)?0:A,h=ft(u,{boundary:h,rootBoundary:p,padding:g,altBoundary:m}),p=Fe(u.placement),m=!(g=Ge(u.placement)),qe(p)),b="x"===y?"y":"x",w=u.modifiersData.popperOffsets,_=u.rects.reference,x=u.rects.popper,B=(A="number"==typeof(A="function"==typeof A?A(Object.assign({},u.rects,{placement:u.placement})):A)?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),u.modifiersData.offset?u.modifiersData.offset[u.placement]:null),C={x:0,y:0};w&&(d&&(d="y"===y?"height":"width",a=(s=w[y])+h[n="y"===y?ne:ie],c=s-h[l="y"===y?re:oe],t=v?-x[d]/2:0,o=(g===ce?_:x)[d],g=g===ce?-x[d]:-_[d],i=u.elements.arrow,i=v&&i?De(i):{width:0,height:0},n=(r=u.modifiersData["arrow#persistent"]?u.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[n],r=r[l],l=Ke(0,_[d],i[d]),i=m?_[d]/2-t-l-n-A.mainAxis:o-l-n-A.mainAxis,o=m?-_[d]/2+t+l+r+A.mainAxis:g+l+r+A.mainAxis,m=(n=u.elements.arrow&&He(u.elements.arrow))?"y"===y?n.clientTop||0:n.clientLeft||0:0,g=s+o-(t=null!=(d=null==B?void 0:B[y])?d:0),l=Ke(v?Pe(a,s+i-t-m):a,s,v?Ie(c,g):c),w[y]=l,C[y]=l-s),f&&(r="y"==b?"height":"width",o=(n=w[b])+h["x"===y?ne:ie],d=n-h["x"===y?re:oe],i=-1!==[ne,ie].indexOf(p),m=null!=(t=null==B?void 0:B[b])?t:0,a=i?o:n-_[r]-x[r]-m+A.altAxis,g=i?n+_[r]+x[r]-m-A.altAxis:d,s=v&&i?(c=Ke(c=a,n,l=g),l<c?l:c):Ke(v?a:o,n,v?g:d),w[b]=s,C[b]=s-n),u.modifiersData[e]=C)},requiresIfExists:["offset"]};function wt(e,t,n){void 0===n&&(n=!1);var r=Se(t),o=Se(t)&&(a=(o=t).getBoundingClientRect(),i=Le(a.width)/o.offsetWidth||1,a=Le(a.height)/o.offsetHeight||1,1!==i||1!==a),i=Me(t),a=Te(e,o),s=(e={scrollLeft:0,scrollTop:0},{x:0,y:0});return!r&&n||("body"===Ee(t)&&!st(i)||(e=(r=t)!==je(r)&&Se(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:it(r)),Se(t)?((s=Te(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=at(i))),{x:a.left+e.scrollLeft-s.x,y:a.top+e.scrollTop-s.y,width:a.width,height:a.height}}var _t={placement:"bottom",modifiers:[],strategy:"absolute"};function xt(){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 Bt(e){var t,n=void 0===(t=(e=e=void 0===e?{}:e).defaultModifiers)?[]:t,r=void 0===(t=e.defaultOptions)?_t:t;return function(e,t,o){void 0===o&&(o=r);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},_t,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:s,setOptions:function(o){var i,a;o="function"==typeof o?o(s.options):o,A(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:ke(e)?ct(e):e.contextElement?ct(e.contextElement):[],popper:ct(t)},o=[].concat(n,s.options.modifiers),a=o.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}),{}),o=Object.keys(a).map((function(e){return a[e]})),i=function(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){n.has(r)||(r=t.get(r))&&e(r)})),r.push(o)}(e)})),r}(o),o=Ce.reduce((function(e,t){return e.concat(i.filter((function(e){return e.phase===t})))}),[]);return s.orderedModifiers=o.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options;"function"==typeof(e=e.effect)&&(e=e({state:s,name:t,instance:u,options:void 0===n?{}:n}),c.push(e||function(){}))})),u.update()},forceUpdate:function(){if(!l){var e,t=(e=s.elements).reference;if(xt(t,e=e.popper)){s.rects={reference:wt(t,He(e),"fixed"===s.options.strategy),popper:De(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var n,r,o,i=0;i<s.orderedModifiers.length;i++)!0===s.reset?(s.reset=!1,i=-1):(n=(o=s.orderedModifiers[i]).fn,r=o.options,o=o.name,"function"==typeof n&&(s=n({state:s,options:void 0===r?{}:r,name:o,instance:u})||s))}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a=a||new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(i())}))}))}),destroy:function(){A(),l=!0}};return xt(e,t)&&u.setOptions(o).then((function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)})),u;function A(){c.forEach((function(e){return e()})),c=[]}}}var Ct=Bt(),Et=Bt({defaultModifiers:[et,yt,Xe,Ne,vt,ht,bt,Ze,gt]}),jt=Bt({defaultModifiers:[et,yt,Xe,Ne]});function kt(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function St(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}var Ot={setDataAttribute:function(e,t,n){e.setAttribute("data-bs-".concat(St(t)),n)},removeDataAttribute:function(e,t){e.removeAttribute("data-bs-".concat(St(t)))},getDataAttributes:function(e){if(!e)return{};var t={};return Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")})).forEach((function(n){var r=(r=n.replace(/^bs/,"")).charAt(0).toLowerCase()+r.slice(1,r.length);t[r]=kt(e.dataset[n])})),t},getDataAttribute:function(e,t){return kt(e.getAttribute("data-bs-".concat(St(t))))},offset:function(e){return{top:(e=e.getBoundingClientRect()).top+window.pageYOffset,left:e.left+window.pageXOffset}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}}};function Nt(e){return function(e){if(Array.isArray(e))return Ft(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 Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ft(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 Ft(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}n(95);var It={find:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,Nt(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,Nt(e.children)).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],r=e.parentNode;r&&r.nodeType===Node.ELEMENT_NODE&&3!==r.nodeType;)r.matches(t)&&n.push(r),r=r.parentNode;return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return"".concat(e,':not([tabindex^="-"])')})).join(", ");return this.find(t,e).filter((function(e){return!A(e)&&u(e)}))}};function Pt(e){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lt(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dt(e){return function(e){if(Array.isArray(e))return Qt(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 Qt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qt(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 Qt(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 Ut(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 Mt(){return(Mt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$t(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $t(e){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ht="dropdown",qt=".".concat("bs.dropdown"),Kt=".data-api",Vt="Escape",zt="ArrowUp",Zt="ArrowDown",Gt=new RegExp("".concat(zt,"|").concat(Zt,"|").concat(Vt)),Wt="hide".concat(qt),Yt="hidden".concat(qt),Xt="show".concat(qt),Jt="shown".concat(qt),en="click".concat(qt).concat(Kt),tn="keydown".concat(qt).concat(Kt),nn=(qt="keyup".concat(qt).concat(Kt),"show"),rn='[data-bs-toggle="dropdown"]',on=".dropdown-menu",an=m()?"top-end":"top-start",sn=m()?"top-start":"top-end",cn=m()?"bottom-end":"bottom-start",ln=m()?"bottom-start":"bottom-end",un=m()?"left-start":"right-start",An=m()?"right-start":"left-start",dn={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},fn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"},hn=function(){var e=i,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rt(e,t);var n,o=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=$t(t);if(e=n?(e=$t(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Pt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(i);function i(e,t){if(this instanceof i)return(e=o.call(this,e))._popper=null,e._config=e._getConfig(t),e._menu=e._getMenuElement(),e._inNavbar=e._detectNavbar(),e;throw new TypeError("Cannot call a class as a function")}return e=i,t=[{key:"Default",get:function(){return dn}},{key:"DefaultType",get:function(){return fn}},{key:"NAME",get:function(){return Ht}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}},{key:"clearMenus",value:function(e){if(!e||2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(var t=It.find(rn),n=0,r=t.length;n<r;n++){var o=i.getInstance(t[n]);if(o&&!1!==o._config.autoClose&&o._isShown()){var a={relatedTarget:o._element};if(e){var s=e.composedPath(),c=s.includes(o._menu);if(s.includes(o._element)||"inside"===o._config.autoClose&&!c||"outside"===o._config.autoClose&&c)continue;if(o._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(a.clickEvent=e)}o._completeHide(a)}}}},{key:"getParentFromElement",value:function(e){return a(e)||e.parentNode}},{key:"dataApiKeydownHandler",value:function(e){if(/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||e.key!==Vt&&(e.key!==Zt&&e.key!==zt||e.target.closest(on))):Gt.test(e.key)){var t=this.classList.contains(nn);if((t||e.key!==Vt)&&(e.preventDefault(),e.stopPropagation(),!A(this))){var n=this.matches(rn)?this:It.prev(this,rn)[0];n=i.getOrCreateInstance(n);if(e.key!==Vt)return e.key===zt||e.key===Zt?(t||n.show(),void n._selectMenuItem(e)):void(t&&"Space"!==e.key||i.clearMenus());n.hide()}}}}],(n=[{key:"toggle",value:function(){return this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var e,t;A(this._element)||this._isShown(this._menu)||(e={relatedTarget:this._element},q.trigger(this._element,Xt,e).defaultPrevented||(t=i.getParentFromElement(this._element),this._inNavbar?Ot.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&(t=[]).concat.apply(t,Dt(document.body.children)).forEach((function(e){return q.on(e,"mouseover",f)})),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(nn),this._element.classList.add(nn),q.trigger(this._element,Jt,e)))}},{key:"hide",value:function(){var e;!A(this._element)&&this._isShown(this._menu)&&(e={relatedTarget:this._element},this._completeHide(e))}},{key:"dispose",value:function(){this._popper&&this._popper.destroy(),Mt($t(i.prototype),"dispose",this).call(this)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}},{key:"_completeHide",value:function(e){var t;q.trigger(this._element,Wt,e).defaultPrevented||("ontouchstart"in document.documentElement&&(t=[]).concat.apply(t,Dt(document.body.children)).forEach((function(e){return q.off(e,"mouseover",f)})),this._popper&&this._popper.destroy(),this._menu.classList.remove(nn),this._element.classList.remove(nn),this._element.setAttribute("aria-expanded","false"),Ot.removeDataAttribute(this._menu,"popper"),q.trigger(this._element,Yt,e))}},{key:"_getConfig",value:function(e){if(e=Tt(Tt(Tt({},this.constructor.Default),Ot.getDataAttributes(this._element)),e),l(Ht,e,this.constructor.DefaultType),"object"!==Pt(e.reference)||B(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError("".concat(Ht.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'))}},{key:"_createPopper",value:function(e){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var t=this._element,n=(e=("parent"===this._config.reference?t=e:B(this._config.reference)?t=c(this._config.reference):"object"===Pt(this._config.reference)&&(t=this._config.reference),this._getPopperConfig())).modifiers.find((function(e){return"applyStyles"===e.name&&!1===e.enabled}));this._popper=Et(t,this._menu,e),n&&Ot.setDataAttribute(this._menu,"popper","static")}},{key:"_isShown",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(nn)}},{key:"_getMenuElement",value:function(){return It.next(this._element,on)[0]}},{key:"_getPlacement",value:function(){var e=this._element.parentNode;if(e.classList.contains("dropend"))return un;if(e.classList.contains("dropstart"))return An;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?sn:an:t?ln:cn}},{key:"_detectNavbar",value:function(){return null!==this._element.closest(".".concat("navbar"))}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t}},{key:"_getPopperConfig",value:function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),Tt(Tt({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_selectMenuItem",value:function(e){var t=e.key,n=(e=e.target,It.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(u));n.length&&b(n,e,t===Zt,!n.includes(e)).focus()}}])&&Ut(e.prototype,n),t&&Ut(e,t),Object.defineProperty(e,"prototype",{writable:!1}),i}();q.on(document,tn,rn,hn.dataApiKeydownHandler),q.on(document,tn,on,hn.dataApiKeydownHandler),q.on(document,en,hn.clearMenus),q.on(document,qt,hn.clearMenus),q.on(document,en,rn,(function(e){e.preventDefault(),hn.getOrCreateInstance(this).toggle()})),g(hn),Kt=hn;function pn(e){return(pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mn(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vn(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 yn(e,t){return(yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bn(e){return(bn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wn="collapse",_n="bs.collapse",xn=(tn=".".concat(_n),{toggle:!0,parent:null}),Bn={toggle:"boolean",parent:"(null|element)"},Cn="show".concat(tn),En="shown".concat(tn),jn="hide".concat(tn),kn="hidden".concat(tn),Sn=(qt="click".concat(tn).concat(".data-api"),"show"),On="collapse",Nn="collapsing",Fn="collapsed",In=":scope .".concat(On," .").concat(On),Pn='[data-bs-toggle="collapse"]',Ln=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yn(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=bn(t);if(e=n?(e=bn(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===pn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){var n;if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");(n=r.call(this,e))._isTransitioning=!1,n._config=n._getConfig(t),n._triggerArray=[];for(var a=It.find(Pn),s=0,c=a.length;s<c;s++){var l=a[s],u=i(l),A=It.find(u).filter((function(e){return e===n._element}));null!==u&&A.length&&(n._selector=u,n._triggerArray.push(l))}return n._initializeChildren(),n._config.parent||n._addAriaAndCollapsedClass(n._triggerArray,n._isShown()),n._config.toggle&&n.toggle(),n}return e=o,t=[{key:"Default",get:function(){return xn}},{key:"NAME",get:function(){return wn}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),t=o.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}],(n=[{key:"toggle",value:function(){this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!this._isShown()){var t,n,r=[],i=(this._config.parent&&(t=It.find(In,this._config.parent),r=It.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((function(e){return!t.includes(e)}))),It.findOne(this._selector));if(r.length){var a,s=r.find((function(e){return i!==e}));if((a=s?o.getInstance(s):null)&&a._isTransitioning)return}q.trigger(this._element,Cn).defaultPrevented||(r.forEach((function(e){i!==e&&o.getOrCreateInstance(e,{toggle:!1}).hide(),a||V(e,_n,null)})),n=this._getDimension(),this._element.classList.remove(On),this._element.classList.add(Nn),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0,s=n[0].toUpperCase()+n.slice(1),r="scroll".concat(s),this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(Nn),e._element.classList.add(On,Sn),e._element.style[n]="",q.trigger(e._element,En)}),this._element,!0),this._element.style[n]="".concat(this._element[r],"px"))}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&this._isShown()&&!(t=q.trigger(this._element,jn)).defaultPrevented){for(var t=this._getDimension(),n=(this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),h(this._element),this._element.classList.add(Nn),this._element.classList.remove(On,Sn),this._triggerArray.length),r=0;r<n;r++){var o=this._triggerArray[r],i=a(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(Nn),e._element.classList.add(On),q.trigger(e._element,kn)}),this._element,!0)}}},{key:"_isShown",value:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Sn)}},{key:"_getConfig",value:function(e){return(e=gn(gn(gn({},xn),Ot.getDataAttributes(this._element)),e)).toggle=Boolean(e.toggle),e.parent=c(e.parent),l(wn,e,Bn),e}},{key:"_getDimension",value:function(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function(){var e,t=this;this._config.parent&&(e=It.find(In,this._config.parent),It.find(Pn,this._config.parent).filter((function(t){return!e.includes(t)})).forEach((function(e){var n=a(e);n&&t._addAriaAndCollapsedClass([e],t._isShown(n))})))}},{key:"_addAriaAndCollapsedClass",value:function(e,t){e.length&&e.forEach((function(e){t?e.classList.remove(Fn):e.classList.add(Fn),e.setAttribute("aria-expanded",t)}))}}])&&vn(e.prototype,n),t&&vn(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(document,qt,Pn,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault(),e=i(this),It.find(e).forEach((function(e){Ln.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),g(Ln),en=Ln;function Tn(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 Dn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qn=".sticky-top",Un=function(){function e(){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._element=document.body}var t,n;return t=e,(n=[{key:"getWidth",value:function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},{key:"hide",value:function(){var e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(function(t){return t+e})),this._setElementAttributes(Dn,"paddingRight",(function(t){return t+e})),this._setElementAttributes(Qn,"marginRight",(function(t){return t-e}))}},{key:"_disableOverFlow",value:function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function(e,t,n){var r=this,o=this.getWidth();this._applyManipulationCallback(e,(function(e){var i;e!==r._element&&window.innerWidth>e.clientWidth+o||(r._saveInitialAttribute(e,t),i=window.getComputedStyle(e)[t],e.style[t]="".concat(n(Number.parseFloat(i)),"px"))}))}},{key:"reset",value:function(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Dn,"paddingRight"),this._resetElementAttributes(Qn,"marginRight")}},{key:"_saveInitialAttribute",value:function(e,t){var n=e.style[t];n&&Ot.setDataAttribute(e,t,n)}},{key:"_resetElementAttributes",value:function(e,t){this._applyManipulationCallback(e,(function(e){var n=Ot.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(Ot.removeDataAttribute(e,t),e.style[t]=n)}))}},{key:"_applyManipulationCallback",value:function(e,t){B(e)?t(e):It.find(e,this._element).forEach(t)}},{key:"isOverflowing",value:function(){return 0<this.getWidth()}}])&&Tn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Mn(e){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rn(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function $n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rn(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hn(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 qn={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Kn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Vn="backdrop",zn="mousedown.bs.".concat(Vn),Zn=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._config=this._getConfig(t),this._isAppended=!1,this._element=null}var t,n;return t=e,(n=[{key:"show",value:function(e){this._config.isVisible?(this._append(),this._config.isAnimated&&h(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation((function(){v(e)}))):v(e)}},{key:"hide",value:function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((function(){t.dispose(),v(e)}))):v(e)}},{key:"_getElement",value:function(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}},{key:"_getConfig",value:function(e){return(e=$n($n({},qn),"object"===Mn(e)?e:{})).rootElement=c(e.rootElement),l(Vn,e,Kn),e}},{key:"_append",value:function(){var e=this;this._isAppended||(this._config.rootElement.append(this._getElement()),q.on(this._getElement(),zn,(function(){v(e._config.clickCallback)})),this._isAppended=!0)}},{key:"dispose",value:function(){this._isAppended&&(q.off(this._element,zn),this._element.remove(),this._isAppended=!1)}},{key:"_emulateAnimation",value:function(e){y(e,this._getElement(),this._config.isAnimated)}}])&&Hn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Gn(e){return(Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wn(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wn(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xn(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 Jn(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"hide",n="click.dismiss".concat(e.EVENT_KEY),r=e.NAME;q.on(document,n,'[data-bs-dismiss="'.concat(r,'"]'),(function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),A(this)||(n=a(this)||this.closest(".".concat(r)),e.getOrCreateInstance(n)[t]())}))}var er={trapElement:null,autofocus:!0},tr={trapElement:"element",autofocus:"boolean"},nr=".".concat("bs.focustrap"),rr="focusin".concat(nr),or="keydown.tab".concat(nr),ir="backward",ar=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}var t,n;return t=e,(n=[{key:"activate",value:function(){var e=this,t=(n=this._config).trapElement,n=n.autofocus;this._isActive||(n&&t.focus(),q.off(document,nr),q.on(document,rr,(function(t){return e._handleFocusin(t)})),q.on(document,or,(function(t){return e._handleKeydown(t)})),this._isActive=!0)}},{key:"deactivate",value:function(){this._isActive&&(this._isActive=!1,q.off(document,nr))}},{key:"_handleFocusin",value:function(e){e=e.target;var t=this._config.trapElement;e===document||e===t||t.contains(e)||(0===(e=It.focusableChildren(t)).length?t:this._lastTabNavDirection===ir?e[e.length-1]:e[0]).focus()}},{key:"_handleKeydown",value:function(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ir:"forward")}},{key:"_getConfig",value:function(e){return l("focustrap",e=Yn(Yn({},er),"object"===Gn(e)?e:{}),tr),e}}])&&Xn(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function sr(e){return(sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cr(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cr(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ur(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 Ar(){return(Ar="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=fr(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function dr(e,t){return(dr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fr(e){return(fr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var hr="offcanvas",pr=(tn=".".concat("bs.offcanvas"),qt=".data-api","load".concat(tn).concat(qt)),mr={backdrop:!0,keyboard:!0,scroll:!1},gr={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},vr=".offcanvas.show",yr="show".concat(tn),br="shown".concat(tn),wr="hide".concat(tn),_r="hidden".concat(tn),xr=(qt="click".concat(tn).concat(qt),"keydown.dismiss".concat(tn)),Br=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dr(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=fr(t);if(e=n?(e=fr(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===sr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){if(this instanceof o)return(e=r.call(this,e))._config=e._getConfig(t),e._isShown=!1,e._backdrop=e._initializeBackDrop(),e._focustrap=e._initializeFocusTrap(),e._addEventListeners(),e;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"NAME",get:function(){return hr}},{key:"Default",get:function(){return mr}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}],(n=[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||q.trigger(this._element,yr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Un).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback((function(){t._config.scroll||t._focustrap.activate(),q.trigger(t._element,br,{relatedTarget:e})}),this._element,!0))}},{key:"hide",value:function(){var e=this;this._isShown&&!q.trigger(this._element,wr).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback((function(){e._element.setAttribute("aria-hidden",!0),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._element.style.visibility="hidden",e._config.scroll||(new Un).reset(),q.trigger(e._element,_r)}),this._element,!0))}},{key:"dispose",value:function(){this._backdrop.dispose(),this._focustrap.deactivate(),Ar(fr(o.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function(e){return e=lr(lr(lr({},mr),Ot.getDataAttributes(this._element)),"object"===sr(e)?e:{}),l(hr,e,gr),e}},{key:"_initializeBackDrop",value:function(){var e=this;return new Zn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:function(){return e.hide()}})}},{key:"_initializeFocusTrap",value:function(){return new ar({trapElement:this._element})}},{key:"_addEventListeners",value:function(){var e=this;q.on(this._element,xr,(function(t){e._config.keyboard&&"Escape"===t.key&&e.hide()}))}}])&&ur(e.prototype,n),t&&ur(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(document,qt,'[data-bs-toggle="offcanvas"]',(function(e){var t=this,n=a(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),A(this)||(q.one(n,_r,(function(){u(t)&&t.focus()})),(e=It.findOne(vr))&&e!==n&&Br.getInstance(e).hide(),Br.getOrCreateInstance(n).toggle(this))})),q.on(window,pr,(function(){return It.find(vr).forEach((function(e){return Br.getOrCreateInstance(e).show()}))})),Jn(Br),g(Br),tn=Br;function Cr(e){return(Cr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Er(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 jr(e,t){return(jr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kr(e){return(kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}qt=".".concat("bs.alert");var Sr="close".concat(qt),Or="closed".concat(qt);pr=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jr(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=kr(t);if(e=n?(e=kr(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Cr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(){var e=this,t=o;if(e instanceof t)return r.apply(this,arguments);throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"NAME",get:function(){return"alert"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}],(n=[{key:"close",value:function(){var e,t=this;q.trigger(this._element,Sr).defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback((function(){return t._destroyElement()}),this._element,e))}},{key:"_destroyElement",value:function(){this._element.remove(),q.trigger(this._element,Or),this.dispose()}}])&&Er(e.prototype,n),t&&Er(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}(),Jn(pr,"close"),g(pr),qt=pr;function Nr(e){return(Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fr(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){Dr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pr(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 Lr(e,t){return(Lr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tr(e){return(Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Dr(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}var Qr="carousel",Ur=(pr=".".concat("bs.carousel"),".data-api"),Mr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Rr={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},$r="next",Hr="prev",qr="left",Kr="right",Vr=(Dr(oo={},"ArrowLeft",Kr),Dr(oo,"ArrowRight",qr),oo),zr="slide".concat(pr),Zr="slid".concat(pr),Gr="keydown".concat(pr),Wr="mouseenter".concat(pr),Yr="mouseleave".concat(pr),Xr="touchstart".concat(pr),Jr="touchmove".concat(pr),eo="touchend".concat(pr),to="pointerdown".concat(pr),no="pointerup".concat(pr),ro="dragstart".concat(pr),oo="load".concat(pr).concat(Ur),io=(pr="click".concat(pr).concat(Ur),"active"),ao=".active.carousel-item",so=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lr(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Tr(t);if(e=n?(e=Tr(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Nr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){if(this instanceof o)return(e=r.call(this,e))._items=null,e._interval=null,e._activeElement=null,e._isPaused=!1,e._isSliding=!1,e.touchTimeout=null,e.touchStartX=0,e.touchDeltaX=0,e._config=e._getConfig(t),e._indicatorsElement=It.findOne(".carousel-indicators",e._element),e._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,e._pointerEvent=Boolean(window.PointerEvent),e._addEventListeners(),e;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"Default",get:function(){return Mr}},{key:"NAME",get:function(){return Qr}},{key:"carouselInterface",value:function(e,t){var n=(e=o.getOrCreateInstance(e,t))._config,r=("object"===Nr(t)&&(n=Ir(Ir({},n),t)),"string"==typeof t?t:n.slide);if("number"==typeof t)e.to(t);else if("string"==typeof r){if(void 0===e[r])throw new TypeError('No method named "'.concat(r,'"'));e[r]()}else n.interval&&n.ride&&(e.pause(),e.cycle())}},{key:"jQueryInterface",value:function(e){return this.each((function(){o.carouselInterface(this,e)}))}},{key:"dataApiClickHandler",value:function(e){var t,n,r=a(this);r&&r.classList.contains("carousel")&&(t=Ir(Ir({},Ot.getDataAttributes(r)),Ot.getDataAttributes(this)),(n=this.getAttribute("data-bs-slide-to"))&&(t.interval=!1),o.carouselInterface(r,t),n&&o.getInstance(r).to(n),e.preventDefault())}}],(n=[{key:"next",value:function(){this._slide($r)}},{key:"nextWhenVisible",value:function(){!document.hidden&&u(this._element)&&this.next()}},{key:"prev",value:function(){this._slide(Hr)}},{key:"pause",value:function(e){e||(this._isPaused=!0),It.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(s(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}},{key:"to",value:function(e){var t=this,n=(this._activeElement=It.findOne(ao,this._element),this._getItemIndex(this._activeElement));if(!(e>this._items.length-1||e<0))if(this._isSliding)q.one(this._element,Zr,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();this._slide(n<e?$r:Hr,this._items[e])}}},{key:"_getConfig",value:function(e){return e=Ir(Ir(Ir({},Mr),Ot.getDataAttributes(this._element)),"object"===Nr(e)?e:{}),l(Qr,e,Rr),e}},{key:"_handleSwipe",value:function(){var e=Math.abs(this.touchDeltaX);e<=40||(e/=this.touchDeltaX,this.touchDeltaX=0,e&&this._slide(0<e?Kr:qr))}},{key:"_addEventListeners",value:function(){var e=this;this._config.keyboard&&q.on(this._element,Gr,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(q.on(this._element,Wr,(function(t){return e.pause(t)})),q.on(this._element,Yr,(function(t){return e.cycle(t)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){function e(e){r(e)?n.touchStartX=e.clientX:n._pointerEvent||(n.touchStartX=e.touches[0].clientX)}function t(e){r(e)&&(n.touchDeltaX=e.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout((function(e){return n.cycle(e)}),500+n._config.interval))}var n=this,r=function(e){return n._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType)};It.find(".carousel-item img",this._element).forEach((function(e){q.on(e,ro,(function(e){return e.preventDefault()}))})),this._pointerEvent?(q.on(this._element,to,e),q.on(this._element,no,t),this._element.classList.add("pointer-event")):(q.on(this._element,Xr,e),q.on(this._element,Jr,(function(e){n.touchDeltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-n.touchStartX})),q.on(this._element,eo,t))}},{key:"_keydown",value:function(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Vr[e.key])&&(e.preventDefault(),this._slide(t))}},{key:"_getItemIndex",value:function(e){return this._items=e&&e.parentNode?It.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}},{key:"_getItemByOrder",value:function(e,t){return b(this._items,t,e===$r,this._config.wrap)}},{key:"_triggerSlideEvent",value:function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(It.findOne(ao,this._element));return q.trigger(this._element,zr,{relatedTarget:e,direction:t,from:r,to:n})}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement)for(var t=It.findOne(".active",this._indicatorsElement),n=(t.classList.remove(io),t.removeAttribute("aria-current"),It.find("[data-bs-target]",this._indicatorsElement)),r=0;r<n.length;r++)if(Number.parseInt(n[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[r].classList.add(io),n[r].setAttribute("aria-current","true");break}}},{key:"_updateInterval",value:function(){var e=this._activeElement||It.findOne(ao,this._element);e&&((e=Number.parseInt(e.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval)}},{key:"_slide",value:function(e,t){var n,r=this,o=(e=this._directionToOrder(e),It.findOne(ao,this._element)),i=this._getItemIndex(o),a=t||this._getItemByOrder(e,o),s=this._getItemIndex(a),c=(t=Boolean(this._interval),e===$r),l=c?"carousel-item-start":"carousel-item-end",u=c?"carousel-item-next":"carousel-item-prev",A=this._orderToDirection(e);a&&a.classList.contains(io)?this._isSliding=!1:this._isSliding||this._triggerSlideEvent(a,A).defaultPrevented||o&&a&&(this._isSliding=!0,t&&this.pause(),this._setActiveIndicatorElement(a),this._activeElement=a,n=function(){q.trigger(r._element,Zr,{relatedTarget:a,direction:A,from:i,to:s})},this._element.classList.contains("slide")?(a.classList.add(u),h(a),o.classList.add(l),a.classList.add(l),this._queueCallback((function(){a.classList.remove(l,u),a.classList.add(io),o.classList.remove(io,u,l),r._isSliding=!1,setTimeout(n,0)}),o,!0)):(o.classList.remove(io),a.classList.add(io),this._isSliding=!1,n()),t&&this.cycle())}},{key:"_directionToOrder",value:function(e){return[Kr,qr].includes(e)?m()?e===qr?Hr:$r:e===qr?$r:Hr:e}},{key:"_orderToDirection",value:function(e){return[$r,Hr].includes(e)?m()?e===Hr?qr:Kr:e===Hr?Kr:qr:e}}])&&Pr(e.prototype,n),t&&Pr(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(document,pr,"[data-bs-slide], [data-bs-slide-to]",so.dataApiClickHandler),q.on(window,oo,(function(){for(var e=It.find('[data-bs-ride="carousel"]'),t=0,n=e.length;t<n;t++)so.carouselInterface(e[t],so.getInstance(e[t]))})),g(so),Ur=so;function co(e){return(co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lo(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ao(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 fo(){return(fo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=po(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function ho(e,t){return(ho=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function po(e){return(po=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var mo=".".concat("bs.modal"),go={backdrop:!0,keyboard:!0,focus:!0},vo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},yo="hide".concat(mo),bo="hidePrevented".concat(mo),wo="hidden".concat(mo),_o="show".concat(mo),xo="shown".concat(mo),Bo="resize".concat(mo),Co="click.dismiss".concat(mo),Eo="keydown.dismiss".concat(mo),jo="mouseup.dismiss".concat(mo),ko="mousedown.dismiss".concat(mo),So=(pr="click".concat(mo).concat(".data-api"),"modal-open"),Oo="modal-static",No=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ho(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=po(t);if(e=n?(e=po(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===co(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){if(this instanceof o)return(e=r.call(this,e))._config=e._getConfig(t),e._dialog=It.findOne(".modal-dialog",e._element),e._backdrop=e._initializeBackDrop(),e._focustrap=e._initializeFocusTrap(),e._isShown=!1,e._ignoreBackdropClick=!1,e._isTransitioning=!1,e._scrollBar=new Un,e;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"Default",get:function(){return go}},{key:"NAME",get:function(){return"modal"}},{key:"jQueryInterface",value:function(e,t){return this.each((function(){var n=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e](t)}}))}}],(n=[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||this._isTransitioning||q.trigger(this._element,_o,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(So),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),q.on(this._dialog,ko,(function(){q.one(t._element,jo,(function(e){e.target===t._element&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},{key:"hide",value:function(){var e,t=this;!this._isShown||this._isTransitioning||q.trigger(this._element,yo).defaultPrevented||(this._isShown=!1,(e=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),q.off(this._element,Co),q.off(this._dialog,ko),this._queueCallback((function(){return t._hideModal()}),this._element,e))}},{key:"dispose",value:function(){[window,this._dialog].forEach((function(e){return q.off(e,mo)})),this._backdrop.dispose(),this._focustrap.deactivate(),fo(po(o.prototype),"dispose",this).call(this)}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new Zn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_initializeFocusTrap",value:function(){return new ar({trapElement:this._element})}},{key:"_getConfig",value:function(e){return l("modal",e=uo(uo(uo({},go),Ot.getDataAttributes(this._element)),"object"===co(e)?e:{}),vo),e}},{key:"_showElement",value:function(e){var t=this,n=this._isAnimated(),r=It.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,r&&(r.scrollTop=0),n&&h(this._element),this._element.classList.add("show"),this._queueCallback((function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,q.trigger(t._element,xo,{relatedTarget:e})}),this._dialog,n)}},{key:"_setEscapeEvent",value:function(){var e=this;this._isShown?q.on(this._element,Eo,(function(t){e._config.keyboard&&"Escape"===t.key?(t.preventDefault(),e.hide()):e._config.keyboard||"Escape"!==t.key||e._triggerBackdropTransition()})):q.off(this._element,Eo)}},{key:"_setResizeEvent",value:function(){var e=this;this._isShown?q.on(window,Bo,(function(){return e._adjustDialog()})):q.off(window,Bo)}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((function(){document.body.classList.remove(So),e._resetAdjustments(),e._scrollBar.reset(),q.trigger(e._element,wo)}))}},{key:"_showBackdrop",value:function(e){var t=this;q.on(this._element,Co,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===t._config.backdrop?t.hide():"static"===t._config.backdrop&&t._triggerBackdropTransition())})),this._backdrop.show(e)}},{key:"_isAnimated",value:function(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function(){var e,t,n,r,o,i=this;q.trigger(this._element,bo).defaultPrevented||(e=this._element,t=e.classList,n=e.scrollHeight,r=e.style,!(o=n>document.documentElement.clientHeight)&&"hidden"===r.overflowY||t.contains(Oo)||(o||(r.overflowY="hidden"),t.add(Oo),this._queueCallback((function(){t.remove(Oo),o||i._queueCallback((function(){r.overflowY=""}),i._dialog)}),this._dialog),this._element.focus()))}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=0<t;(!n&&e&&!m()||n&&!e&&m())&&(this._element.style.paddingLeft="".concat(t,"px")),(n&&!e&&!m()||!n&&e&&m())&&(this._element.style.paddingRight="".concat(t,"px"))}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}])&&Ao(e.prototype,n),t&&Ao(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(document,pr,'[data-bs-toggle="modal"]',(function(e){var t=this,n=a(this);(e=(["A","AREA"].includes(this.tagName)&&e.preventDefault(),q.one(n,_o,(function(e){e.defaultPrevented||q.one(n,wo,(function(){u(t)&&t.focus()}))})),It.findOne(".modal.show")))&&No.getInstance(e).hide(),No.getOrCreateInstance(n).toggle(this)})),Jn(No),g(No),oo=No;function Fo(e){return function(e){if(Array.isArray(e))return Io(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 Io(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Io(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 Io(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 Po=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Lo=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,To=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;pr={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Do(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);n=(new window.DOMParser).parseFromString(e,"text/html");for(var r=(e=[]).concat.apply(e,Fo(n.body.querySelectorAll("*"))),o=function(e,n){var o=r[e];e=o.nodeName.toLowerCase();if(!Object.keys(t).includes(e))return o.remove(),"continue";var i=(i=[]).concat.apply(i,Fo(o.attributes)),a=[].concat(t["*"]||[],t[e]||[]);i.forEach((function(e){!function(e,t){var n=e.nodeName.toLowerCase();if(t.includes(n))return!Po.has(n)||Boolean(Lo.test(e.nodeValue)||To.test(e.nodeValue));for(var r=t.filter((function(e){return e instanceof RegExp})),o=0,i=r.length;o<i;o++)if(r[o].test(n))return!0;return!1}(e,a)&&o.removeAttribute(e.nodeName)}))},i=0,a=r.length;i<a;i++)o(i);return n.body.innerHTML}function Qo(e){return(Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uo(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ro(e){return function(e){if(Array.isArray(e))return $o(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 $o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$o(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 $o(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 Ho(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 qo(){return(qo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Vo(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function Ko(e,t){return(Ko=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vo(e){return(Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zo="tooltip",Zo=".".concat("bs.tooltip"),Go=new Set(["sanitize","allowList","sanitizeFn"]),Wo={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Yo={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},Xo={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:pr,popperConfig:null},Jo={HIDE:"hide".concat(Zo),HIDDEN:"hidden".concat(Zo),SHOW:"show".concat(Zo),SHOWN:"shown".concat(Zo),INSERTED:"inserted".concat(Zo),CLICK:"click".concat(Zo),FOCUSIN:"focusin".concat(Zo),FOCUSOUT:"focusout".concat(Zo),MOUSEENTER:"mouseenter".concat(Zo),MOUSELEAVE:"mouseleave".concat(Zo)},ei="fade",ti="show",ni="show",ri=".tooltip-inner",oi=".".concat("modal"),ii="hide.bs.modal",ai="hover",si="focus",ci=(pr=function(){var e=i,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ko(e,t);var n,o=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Vo(t);if(e=n?(e=Vo(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Qo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(i);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(e=o.call(this,e))._isEnabled=!0,e._timeout=0,e._hoverState="",e._activeTrigger={},e._popper=null,e._config=e._getConfig(t),e.tip=null,e._setListeners(),e}return e=i,t=[{key:"Default",get:function(){return Xo}},{key:"NAME",get:function(){return zo}},{key:"Event",get:function(){return Jo}},{key:"DefaultType",get:function(){return Wo}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}],(n=[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){this._isEnabled&&(e?((e=this._initializeOnDelegatedTarget(e))._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)):this.getTipElement().classList.contains(ti)?this._leave(null,this):this._enter(null,this))}},{key:"dispose",value:function(){clearTimeout(this._timeout),q.off(this._element.closest(oi),ii,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),qo(Vo(i.prototype),"dispose",this).call(this)}},{key:"show",value:function(){var e,t,n,r=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");this.isWithContent()&&this._isEnabled&&(t=q.trigger(this._element,this.constructor.Event.SHOW),n=(null===(n=d(this._element))?this._element.ownerDocument.documentElement:n).contains(this._element),!t.defaultPrevented&&n&&("tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(ri).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null),t=this.getTipElement(),n=function(e){for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e}(this.constructor.NAME),t.setAttribute("id",n),this._element.setAttribute("aria-describedby",n),this._config.animation&&t.classList.add(ei),n="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=this._getAttachment(n),this._addAttachmentClass(n),e=this._config.container,V(t,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),q.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Et(this._element,t,this._getPopperConfig(n)),t.classList.add(ti),(e=this._resolvePossibleFunction(this._config.customClass))&&(n=t.classList).add.apply(n,Ro(e.split(" "))),"ontouchstart"in document.documentElement&&(t=[]).concat.apply(t,Ro(document.body.children)).forEach((function(e){q.on(e,"mouseover",f)})),n=this.tip.classList.contains(ei),this._queueCallback((function(){var e=r._hoverState;r._hoverState=null,q.trigger(r._element,r.constructor.Event.SHOWN),"out"===e&&r._leave(null,r)}),this.tip,n)))}},{key:"hide",value:function(){var e,t,n=this;this._popper&&(e=this.getTipElement(),q.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(e.classList.remove(ti),"ontouchstart"in document.documentElement&&(t=[]).concat.apply(t,Ro(document.body.children)).forEach((function(e){return q.off(e,"mouseover",f)})),this._activeTrigger.click=!1,this._activeTrigger[si]=!1,this._activeTrigger[ai]=!1,t=this.tip.classList.contains(ei),this._queueCallback((function(){n._isWithActiveTrigger()||(n._hoverState!==ni&&e.remove(),n._cleanTipClass(),n._element.removeAttribute("aria-describedby"),q.trigger(n._element,n.constructor.Event.HIDDEN),n._disposePopper())}),this.tip,t),this._hoverState=""))}},{key:"update",value:function(){null!==this._popper&&this._popper.update()}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function(){if(this.tip)return this.tip;var e=((e=document.createElement("div")).innerHTML=this._config.template,e.children[0]);return this.setContent(e),e.classList.remove(ei,ti),this.tip=e,this.tip}},{key:"setContent",value:function(e){this._sanitizeAndSetContent(e,this.getTitle(),ri)}},{key:"_sanitizeAndSetContent",value:function(e,t,n){n=It.findOne(n,e),!t&&n?n.remove():this.setElementContent(n,t)}},{key:"setElementContent",value:function(e,t){if(null!==e)return B(t)?(t=c(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Do(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}},{key:"getTitle",value:function(){var e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}},{key:"updateAttachment",value:function(e){return"right"===e?"end":"left"===e?"start":e}},{key:"_initializeOnDelegatedTarget",value:function(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t}},{key:"_resolvePossibleFunction",value:function(e){return"function"==typeof e?e.call(this._element):e}},{key:"_getPopperConfig",value:function(e){var t=this;return Mo(Mo({},e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function(e){return t._handlePopperPlacementChange(e)}}],onFirstUpdate:function(e){e.options.placement!==e.placement&&t._handlePopperPlacementChange(e)}}),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_addAttachmentClass",value:function(e){this.getTipElement().classList.add("".concat(this._getBasicClassPrefix(),"-").concat(this.updateAttachment(e)))}},{key:"_getAttachment",value:function(e){return Yo[e.toUpperCase()]}},{key:"_setListeners",value:function(){var e=this;this._config.trigger.split(" ").forEach((function(t){var n;"click"===t?q.on(e._element,e.constructor.Event.CLICK,e._config.selector,(function(t){return e.toggle(t)})):"manual"!==t&&(n=t===ai?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,t=t===ai?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT,q.on(e._element,n,e._config.selector,(function(t){return e._enter(t)})),q.on(e._element,t,e._config.selector,(function(t){return e._leave(t)})))})),this._hideModalHandler=function(){e._element&&e.hide()},q.on(this._element.closest(oi),ii,this._hideModalHandler),this._config.selector?this._config=Mo(Mo({},this._config),{},{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var e=this._element.getAttribute("title"),t=Qo(this._element.getAttribute("data-bs-original-title"));!e&&"string"===t||(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}},{key:"_enter",value:function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?si:ai]=!0),t.getTipElement().classList.contains(ti)||t._hoverState===ni?t._hoverState=ni:(clearTimeout(t._timeout),t._hoverState=ni,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((function(){t._hoverState===ni&&t.show()}),t._config.delay.show):t.show())}},{key:"_leave",value:function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?si:ai]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((function(){"out"===t._hoverState&&t.hide()}),t._config.delay.hide):t.hide())}},{key:"_isWithActiveTrigger",value:function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}},{key:"_getConfig",value:function(e){var t=Ot.getDataAttributes(this._element);return Object.keys(t).forEach((function(e){Go.has(e)&&delete t[e]})),(e=Mo(Mo(Mo({},this.constructor.Default),t),"object"===Qo(e)&&e?e:{})).container=!1===e.container?document.body:c(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),l(zo,e,this.constructor.DefaultType),e.sanitize&&(e.template=Do(e.template,e.allowList,e.sanitizeFn)),e}},{key:"_getDelegateConfig",value:function(){var e,t={};for(e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}},{key:"_cleanTipClass",value:function(){var e=this.getTipElement(),t=new RegExp("(^|\\s)".concat(this._getBasicClassPrefix(),"\\S+"),"g");null!==(t=e.getAttribute("class").match(t))&&0<t.length&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))}},{key:"_getBasicClassPrefix",value:function(){return"bs-tooltip"}},{key:"_handlePopperPlacementChange",value:function(e){(e=e.state)&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}},{key:"_disposePopper",value:function(){this._popper&&(this._popper.destroy(),this._popper=null)}}])&&Ho(e.prototype,n),t&&Ho(e,t),Object.defineProperty(e,"prototype",{writable:!1}),i}(),g(pr),pr);function li(e){return(li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ui(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 Ai(e,t){return(Ai=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function di(e){return(di=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fi(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Zo=".".concat("bs.popover");var pi=hi(hi({},ci.Default),{},{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),mi=hi(hi({},ci.DefaultType),{},{content:"(string|element|function)"}),gi={HIDE:"hide".concat(Zo),HIDDEN:"hidden".concat(Zo),SHOW:"show".concat(Zo),SHOWN:"shown".concat(Zo),INSERTED:"inserted".concat(Zo),CLICK:"click".concat(Zo),FOCUSIN:"focusin".concat(Zo),FOCUSOUT:"focusout".concat(Zo),MOUSEENTER:"mouseenter".concat(Zo),MOUSELEAVE:"mouseleave".concat(Zo)};pr=function(){var e=o,t=ci;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ai(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=di(t);if(e=n?(e=di(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===li(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(){var e=this,t=o;if(e instanceof t)return r.apply(this,arguments);throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"Default",get:function(){return pi}},{key:"NAME",get:function(){return"popover"}},{key:"Event",get:function(){return gi}},{key:"DefaultType",get:function(){return mi}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}],(n=[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"setContent",value:function(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}},{key:"_getContent",value:function(){return this._resolvePossibleFunction(this._config.content)}},{key:"_getBasicClassPrefix",value:function(){return"bs-popover"}}])&&ui(e.prototype,n),t&&ui(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}(),g(pr),Zo=pr;function vi(e){return(vi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yi(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yi(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wi(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 _i(){return(_i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Bi(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function xi(e,t){return(xi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bi(e){return(Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(180);var Ci="scrollspy",Ei=".".concat("bs.scrollspy"),ji={offset:10,method:"auto",target:""},ki={offset:"number",method:"string",target:"(string|element)"},Si="activate".concat(Ei),Oi="scroll".concat(Ei),Ni=(pr="load".concat(Ei).concat(".data-api"),"dropdown-item"),Fi="active",Ii=".nav-link",Pi=".list-group-item",Li="".concat(Ii,", ").concat(Pi,", .").concat(Ni),Ti="position",Di=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xi(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Bi(t);if(e=n?(e=Bi(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===vi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){var n;if(this instanceof o)return(n=r.call(this,e))._scrollElement="BODY"===n._element.tagName?window:n._element,n._config=n._getConfig(t),n._offsets=[],n._targets=[],n._activeTarget=null,n._scrollHeight=0,q.on(n._scrollElement,Oi,(function(){return n._process()})),n.refresh(),n._process(),n;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"Default",get:function(){return ji}},{key:"NAME",get:function(){return Ci}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}],(n=[{key:"refresh",value:function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":Ti,n="auto"===this._config.method?t:this._config.method,r=n===Ti?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),It.find(Li,this._config.target).map((function(e){var t=(e=i(e))?It.findOne(e):null;if(t){var o=t.getBoundingClientRect();if(o.width||o.height)return[Ot[n](t).top+r,e]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))}},{key:"dispose",value:function(){q.off(this._scrollElement,Ei),_i(Bi(o.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function(e){return(e=bi(bi(bi({},ji),Ot.getDataAttributes(this._element)),"object"===vi(e)&&e?e:{})).target=c(e.target)||document.documentElement,l(Ci,e,ki),e}},{key:"_getScrollTop",value:function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}},{key:"_getScrollHeight",value:function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"_getOffsetHeight",value:function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}},{key:"_process",value:function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e)return t=this._targets[this._targets.length-1],void(this._activeTarget!==t&&this._activate(t));if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},{key:"_activate",value:function(e){this._activeTarget=e,this._clear();var t=Li.split(",").map((function(t){return"".concat(t,'[data-bs-target="').concat(e,'"],').concat(t,'[href="').concat(e,'"]')}));(t=It.findOne(t.join(","),this._config.target)).classList.add(Fi),t.classList.contains(Ni)?It.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Fi):It.parents(t,".nav, .list-group").forEach((function(e){It.prev(e,"".concat(Ii,", ").concat(Pi)).forEach((function(e){return e.classList.add(Fi)})),It.prev(e,".nav-item").forEach((function(e){It.children(e,Ii).forEach((function(e){return e.classList.add(Fi)}))}))})),q.trigger(this._scrollElement,Si,{relatedTarget:e})}},{key:"_clear",value:function(){It.find(Li,this._config.target).filter((function(e){return e.classList.contains(Fi)})).forEach((function(e){return e.classList.remove(Fi)}))}}])&&wi(e.prototype,n),t&&wi(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(window,pr,(function(){It.find('[data-bs-spy="scroll"]').forEach((function(e){return new Di(e)}))})),g(Di),pr=Di;function Qi(e){return(Qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ui(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 Mi(e,t){return(Mi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ri(e){return(Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $i=".".concat("bs.tab"),Hi="hide".concat($i),qi="hidden".concat($i),Ki="show".concat($i),Vi="shown".concat($i),zi=($i="click".concat($i).concat(".data-api"),"active"),Zi=".active",Gi=":scope > li > .active",Wi=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mi(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=Ri(t);if(e=n?(e=Ri(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Qi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(){var e=this,t=o;if(e instanceof t)return r.apply(this,arguments);throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"NAME",get:function(){return"tab"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}],(n=[{key:"show",value:function(){var e,t,n,r,o=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(zi)||(e=a(this._element),(t=this._element.closest(".nav, .list-group"))&&(r="UL"===t.nodeName||"OL"===t.nodeName?Gi:Zi,n=(n=It.find(r,t))[n.length-1]),r=n?q.trigger(n,Hi,{relatedTarget:this._element}):null,q.trigger(this._element,Ki,{relatedTarget:n}).defaultPrevented||null!==r&&r.defaultPrevented||(this._activate(this._element,t),r=function(){q.trigger(n,qi,{relatedTarget:o._element}),q.trigger(o._element,Vi,{relatedTarget:n})},e?this._activate(e,e.parentNode,r):r()))}},{key:"_activate",value:function(e,t,n){function r(){return o._transitionComplete(e,i,n)}var o=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?It.children(t,Zi):It.find(Gi,t))[0];t=n&&i&&i.classList.contains("fade");i&&t?(i.classList.remove("show"),this._queueCallback(r,e,!0)):r()}},{key:"_transitionComplete",value:function(e,t,n){t&&(t.classList.remove(zi),(r=It.findOne(":scope > .dropdown-menu .active",t.parentNode))&&r.classList.remove(zi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)),e.classList.add(zi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),h(e),e.classList.contains("fade")&&e.classList.add("show");var r=e.parentNode;(r=r&&"LI"===r.nodeName?r.parentNode:r)&&r.classList.contains("dropdown-menu")&&((t=e.closest(".dropdown"))&&It.find(".dropdown-toggle",t).forEach((function(e){return e.classList.add(zi)})),e.setAttribute("aria-expanded",!0)),n&&n()}}])&&Ui(e.prototype,n),t&&Ui(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}();q.on(document,$i,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),A(this)||Wi.getOrCreateInstance(this).show()})),g(Wi),$i=Wi;function Yi(e){return(Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xi(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ji(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xi(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ea(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 ta(){return(ta="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ra(e)););return e}(e,t);if(r)return(r=Object.getOwnPropertyDescriptor(r,t)).get?r.get.call(arguments.length<3?e:n):r.value}).apply(this,arguments)}function na(e,t){return(na=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ra(e){return(ra=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oa(e){for(;e+=Math.floor(Math.random()*xa),document.getElementById(e););return e}function ia(e,t,n){Object.keys(n).forEach((function(r){var o,i=n[r],a=(a=t[r])&&((o=a)[0]||o).nodeType?"element":null==(o=a)?"".concat(o):{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(a))throw new Error("".concat(e.toUpperCase(),": ")+'Option "'.concat(r,'" provided type "').concat(a,'" ')+'but expected type "'.concat(i,'".'))}))}function aa(){var e=window.jQuery;return e&&!document.body.hasAttribute("data-mdb-no-jquery")?e:null}function sa(e){return document.createElement(e)}var ca,la,ua=".".concat("bs.toast"),Aa="mouseover".concat(ua),da="mouseout".concat(ua),fa="focusin".concat(ua),ha="focusout".concat(ua),pa="hide".concat(ua),ma="hidden".concat(ua),ga="show".concat(ua),va="shown".concat(ua),ya="show",ba="showing",wa={animation:"boolean",autohide:"boolean",delay:"number"},_a={animation:!0,autohide:!0,delay:5e3},xa=(ua=function(){var e=o,t=G;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&na(e,t);var n,r=function(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,r=ra(t);if(e=n?(e=ra(this).constructor,Reflect.construct(r,arguments,e)):r.apply(this,arguments),r=this,e&&("object"===Yi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0!==r)return r;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}}(o);function o(e,t){if(this instanceof o)return(e=r.call(this,e))._config=e._getConfig(t),e._timeout=null,e._hasMouseInteraction=!1,e._hasKeyboardInteraction=!1,e._setListeners(),e;throw new TypeError("Cannot call a class as a function")}return e=o,t=[{key:"DefaultType",get:function(){return wa}},{key:"Default",get:function(){return _a}},{key:"NAME",get:function(){return"toast"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=o.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}],(n=[{key:"show",value:function(){var e=this;q.trigger(this._element,ga).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),h(this._element),this._element.classList.add(ya),this._element.classList.add(ba),this._queueCallback((function(){e._element.classList.remove(ba),q.trigger(e._element,va),e._maybeScheduleHide()}),this._element,this._config.animation))}},{key:"hide",value:function(){var e=this;this._element.classList.contains(ya)&&!q.trigger(this._element,pa).defaultPrevented&&(this._element.classList.add(ba),this._queueCallback((function(){e._element.classList.add("hide"),e._element.classList.remove(ba),e._element.classList.remove(ya),q.trigger(e._element,ma)}),this._element,this._config.animation))}},{key:"dispose",value:function(){this._clearTimeout(),this._element.classList.contains(ya)&&this._element.classList.remove(ya),ta(ra(o.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function(e){return l("toast",e=Ji(Ji(Ji({},_a),Ot.getDataAttributes(this._element)),"object"===Yi(e)&&e?e:{}),this.constructor.DefaultType),e}},{key:"_maybeScheduleHide",value:function(){var e=this;!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}},{key:"_setListeners",value:function(){var e=this;q.on(this._element,Aa,(function(t){return e._onInteraction(t,!0)})),q.on(this._element,da,(function(t){return e._onInteraction(t,!1)})),q.on(this._element,fa,(function(t){return e._onInteraction(t,!0)})),q.on(this._element,ha,(function(t){return e._onInteraction(t,!1)}))}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}])&&ea(e.prototype,n),t&&ea(e,t),Object.defineProperty(e,"prototype",{writable:!1}),o}(),Jn(ua),g(ua),1e6),Ba=(document.documentElement.dir,ca={},la=1,{set:function(e,t,n){void 0===e[t]&&(e[t]={key:t,id:la},la++),ca[e[t].id]=n},get:function(e,t){return e&&void 0!==e[t]&&(e=e[t]).key===t?ca[e.id]:null},delete:function(e,t){var n;void 0!==e[t]&&(n=e[t]).key===t&&(delete ca[n.id],delete e[t])}}),Ca=function(e,t,n){Ba.set(e,t,n)},Ea=function(e,t){return Ba.get(e,t)},ja=function(e,t){Ba.delete(e,t)};function ka(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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)||function(e,t){if(e){if("string"==typeof e)return Sa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sa(e,t):void 0}}(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 Sa(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 Oa=aa(),Na=/[^.]*(?=\..*)\.|.*/,Fa=/\..*/,Ia=/::\d+$/,Pa={},La=1,Ta={mouseenter:"mouseover",mouseleave:"mouseout"},Da=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function Qa(e,t){return t&&"".concat(t,"::").concat(La++)||e.uidEvent||La++}function Ua(e){var t=Qa(e);return e.uidEvent=t,Pa[t]=Pa[t]||{},Pa[t]}function Ma(e,t,n){for(var r=2<arguments.length&&void 0!==n?n:null,o=Object.keys(e),i=0,a=o.length;i<a;i++){var s=e[o[i]];if(s.originalHandler===t&&s.delegationSelector===r)return s}return null}function Ra(e,t,n){var r="string"==typeof t,o=(n=r?n:t,t=e.replace(Fa,""),Ta[t]);return[r,n,t=-1<Da.indexOf(t=o||t)?t:e]}function $a(e,t,n,r,o){var i,a,s,c,l,u,A,d,f,h;"string"==typeof t&&e&&(n||(n=r,r=null),i=(s=ka(Ra(t,n,r),3))[0],a=s[1],s=s[2],(l=Ma(c=(c=Ua(e))[s]||(c[s]={}),a,i?n:null))?l.oneOff=l.oneOff&&o:(l=Qa(a,t.replace(Na,"")),(t=i?(d=e,f=n,h=r,function e(t){for(var n=d.querySelectorAll(f),r=t.target;r&&r!==this;r=r.parentNode)for(var o=n.length;o--;)if(n[o]===r)return t.delegateTarget=r,e.oneOff&&qa.off(d,t.type,h),h.apply(r,[t]);return null}):(u=e,A=n,function e(t){return t.delegateTarget=u,e.oneOff&&qa.off(u,t.type,A),A.apply(u,[t])})).delegationSelector=i?n:null,t.originalHandler=a,t.oneOff=o,c[t.uidEvent=l]=t,e.addEventListener(s,t,i)))}function Ha(e,t,n,r,o){(r=Ma(t[n],r,o))&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}var qa={on:function(e,t,n,r){$a(e,t,n,r,!1)},one:function(e,t,n,r){$a(e,t,n,r,!0)},off:function(e,t,n,r){if("string"==typeof t&&e){var o=(r=ka(Ra(t,n,r),3))[0],i=r[1],a=r[2],s=a!==t,c=Ua(e);r="."===t.charAt(0);if(void 0!==i)return c&&c[a]?void Ha(e,c,a,i,o?n:null):void 0;r&&Object.keys(c).forEach((function(n){var r,o,i,a,s;r=e,o=c,i=n,a=t.slice(1),s=o[i]||{},Object.keys(s).forEach((function(e){-1<e.indexOf(a)&&(e=s[e],Ha(r,o,i,e.originalHandler,e.delegationSelector))}))}));var l=c[a]||{};Object.keys(l).forEach((function(n){var r=n.replace(Ia,"");(!s||-1<t.indexOf(r))&&(r=l[n],Ha(e,c,a,r.originalHandler,r.delegationSelector))}))}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var r,o=t.replace(Fa,""),i=t!==o,a=-1<Da.indexOf(o),s=!0,c=!0,l=!1,u=null;return i&&Oa&&(r=Oa.Event(t,n),Oa(e).trigger(r),s=!r.isPropagationStopped(),c=!r.isImmediatePropagationStopped(),l=r.isDefaultPrevented()),a?(u=document.createEvent("HTMLEvents")).initEvent(o,s,!0):u=new CustomEvent(t,{bubbles:s,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((function(e){Object.defineProperty(u,e,{get:function(){return n[e]}})})),l&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==r&&r.preventDefault(),u}},Ka=function(e,t,n,r){for(var o=t.split(" "),i=0;i<o.length;i++)qa.on(e,o[i],n,r)},Va=qa;function za(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Za(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function Ga(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}n(185);var Wa=function(e){if(!e)return{};var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?za(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.dataset);return Object.keys(t).filter((function(e){return e.startsWith("mdb")})).forEach((function(e){var n=(n=e.replace(/^mdb/,"")).charAt(0).toLowerCase()+n.slice(1,n.length);t[n]=Za(t[e])})),t},Ya=function(e,t){return Za(e.getAttribute("data-mdb-".concat(Ga(t))))},Xa=function(e,t){Object.assign(e.style,t)},Ja=function(e,t){e.classList.contains(t)||e.classList.add(t)},es=function(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))},ts=function(e,t){e.classList.contains(t)&&e.classList.remove(t)},ns=function(e,t){return e.classList.contains(t)};function rs(e){return function(e){if(Array.isArray(e))return os(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 os(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?os(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 os(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 is={closest:function(e,t){return e.closest(t)},matches:function(e,t){return e.matches(t)},find:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,rs(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,rs(e.children)).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],r=e.parentNode;r&&r.nodeType===Node.ELEMENT_NODE&&3!==r.nodeType;)this.matches(r,t)&&n.push(r),r=r.parentNode;return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(this.matches(n,t))return[n];n=n.nextElementSibling}return[]}};function as(e){return(as="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ss(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ss(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ss(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ls(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 us="ripple",As="mdb.ripple",ds="ripple-surface",fs="ripple-wave",hs=["[data-mdb-ripple]"],ps="ripple-surface-unbound",ms=[0,0,0],gs=["primary","secondary","success","danger","warning","info","light","dark"],vs={rippleCentered:!1,rippleColor:"",rippleDuration:"500ms",rippleRadius:0,rippleUnbound:!1},ys={rippleCentered:"boolean",rippleColor:"string",rippleDuration:"string",rippleRadius:"number",rippleUnbound:"boolean"},bs=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._element=t,this._options=this._getConfig(n),this._element&&(Ca(t,As,this),Ja(this._element,ds)),this._clickHandler=this._createRipple.bind(this),this._rippleTimer=null,this._isMinWidthSet=!1,this.init()}var t,n,r;return t=e,r=[{key:"NAME",get:function(){return us}},{key:"autoInitial",value:function(e){return function(t){e._autoInit(t)}}},{key:"jQueryInterface",value:function(t){return this.each((function(){return Ea(this,As)?null:new e(this,t)}))}},{key:"getInstance",value:function(e){return Ea(e,As)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===as(t)?t:null)}}],(n=[{key:"init",value:function(){this._addClickEvent(this._element)}},{key:"dispose",value:function(){ja(this._element,As),Va.off(this._element,"click",this._clickHandler),this._element=null,this._options=null}},{key:"_autoInit",value:function(e){var t=this;hs.forEach((function(n){is.closest(e.target,n)&&(t._element=is.closest(e.target,n))})),this._element.style.minWidth||(Xa(this._element,{"min-width":"".concat(this._element.offsetWidth,"px")}),this._isMinWidthSet=!0),Ja(this._element,ds),this._options=this._getConfig(),this._createRipple(e)}},{key:"_addClickEvent",value:function(e){Va.on(e,"mousedown",this._clickHandler)}},{key:"_createRipple",value:function(e){ns(this._element,ds)||Ja(this._element,ds);var t=e.layerX,n=(e=e.layerY,this._element.offsetHeight),r=this._element.offsetWidth,o=this._durationToMsNumber(this._options.rippleDuration),i={offsetX:this._options.rippleCentered?n/2:t,offsetY:this._options.rippleCentered?r/2:e,height:n,width:r},a=(i=this._getDiameter(i),this._options.rippleRadius||i/2),s={delay:.5*o,duration:o-.5*o};r={left:this._options.rippleCentered?"".concat(r/2-a,"px"):"".concat(t-a,"px"),top:this._options.rippleCentered?"".concat(n/2-a,"px"):"".concat(e-a,"px"),height:"".concat(2*this._options.rippleRadius||i,"px"),width:"".concat(2*this._options.rippleRadius||i,"px"),transitionDelay:"0s, ".concat(s.delay,"ms"),transitionDuration:"".concat(o,"ms, ").concat(s.duration,"ms")},t=sa("div");this._createHTMLRipple({wrapper:this._element,ripple:t,styles:r}),this._removeHTMLRipple({ripple:t,duration:o})}},{key:"_createHTMLRipple",value:function(e){var t=e.wrapper,n=e.ripple,r=e.styles;Object.keys(r).forEach((function(e){return n.style[e]=r[e]})),n.classList.add(fs),""!==this._options.rippleColor&&(this._removeOldColorClasses(t),this._addColor(n,t)),this._toggleUnbound(t),this._appendRipple(n,t)}},{key:"_removeHTMLRipple",value:function(e){var t=this,n=e.ripple;e=e.duration;this._rippleTimer&&(clearTimeout(this._rippleTimer),this._rippleTimer=null),this._rippleTimer=setTimeout((function(){n&&(n.remove(),t._element&&(is.find(".".concat(fs),t._element).forEach((function(e){e.remove()})),t._isMinWidthSet&&(Xa(t._element,{"min-width":""}),t._isMinWidthSet=!1),ts(t._element,ds)))}),e)}},{key:"_durationToMsNumber",value:function(e){return Number(e.replace("ms","").replace("s","000"))}},{key:"_getConfig",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=Wa(this._element);e=cs(cs(cs({},vs),t),e);return ia(us,e,ys),e}},{key:"_getDiameter",value:function(e){function t(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var n=e.offsetX,r=e.offsetY,o=e.height,i=n<=(e=e.width)/2,a=r===o/2&&n===e/2,s=1==(u=r<=o/2)&&0==i,c=1==u&&1==i,l=0==u&&1==i,u=0==u&&0==i;i={topLeft:t(n,r),topRight:t(e-n,r),bottomLeft:t(n,o-r),bottomRight:t(e-n,o-r)},e=0;return a||u?e=i.topLeft:l?e=i.topRight:c?e=i.bottomRight:s&&(e=i.bottomLeft),2*e}},{key:"_appendRipple",value:function(e,t){t.appendChild(e),setTimeout((function(){Ja(e,"active")}),50)}},{key:"_toggleUnbound",value:function(e){!0===this._options.rippleUnbound?Ja(e,ps):e.classList.remove(ps)}},{key:"_addColor",value:function(e,t){var n=this;gs.find((function(e){return e===n._options.rippleColor.toLowerCase()}))?Ja(t,"".concat(ds,"-").concat(this._options.rippleColor.toLowerCase())):(t=this._colorToRGB(this._options.rippleColor).join(","),t="rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%".split("{{color}}").join("".concat(t)),e.style.backgroundImage="radial-gradient(circle, ".concat(t,")"))}},{key:"_removeOldColorClasses",value:function(e){var t=new RegExp("".concat(ds,"-[a-z]+"),"gi");(e.classList.value.match(t)||[]).forEach((function(t){e.classList.remove(t)}))}},{key:"_colorToRGB",value:function(e){return"transparent"===e.toLowerCase()?ms:"#"===e[0]?((t=e).length<7&&(t="#".concat(t[1]).concat(t[1]).concat(t[2]).concat(t[2]).concat(t[3]).concat(t[3])),[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)]):(-1===e.indexOf("rgb")&&(t=e,r="rgb(1, 2, 3)",(n=document.body.appendChild(document.createElement("fictum"))).style.color=r,e=n.style.color!==r?ms:(n.style.color=t,n.style.color===r||""===n.style.color?ms:(t=getComputedStyle(n).color,document.body.removeChild(n),t))),0===e.indexOf("rgb")?((r=(r=e).match(/[.\d]+/g).map((function(e){return+Number(e)}))).length=3,r):ms);var t,n,r}}])&&ls(t.prototype,n),r&&ls(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ws=(hs.forEach((function(e){Va.one(document,"mousedown",e,bs.autoInitial(new bs))})),function(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}((function(){var e,t=aa();t&&(e=t.fn[us],t.fn[us]=bs.jQueryInterface,t.fn[us].Constructor=bs,t.fn[us].noConflict=function(){return t.fn[us]=e,bs.jQueryInterface})})),bs);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)}}n(187);var xs=function(){function e(t){var n=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=2<arguments.length?arguments[2]:void 0,i=this,a=e;if(!(i instanceof a))throw new TypeError("Cannot call a class as a function");this._element=t,this._toggler=o,this._event=r.event||"blur",this._condition=r.condition||function(){return!0},this._selector=r.selector||'button, a, input, select, textarea, [tabindex]:not([tabindex="-1"])',this._onlyVisible=r.onlyVisible||!1,this._focusableElements=[],this._firstElement=null,this._lastElement=null,this.handler=function(e){n._condition(e)&&e.target===n._lastElement&&(e.preventDefault(),n._firstElement.focus())}}var t,n;return t=e,(n=[{key:"trap",value:function(){this._setElements(),this._init(),this._setFocusTrap()}},{key:"disable",value:function(){var e=this;this._focusableElements.forEach((function(t){t.removeEventListener(e._event,e.handler)})),this._toggler&&this._toggler.focus()}},{key:"update",value:function(){this._setElements(),this._setFocusTrap()}},{key:"_init",value:function(){var e=this;window.addEventListener("keydown",(function t(n){e._firstElement&&"Tab"===n.key&&!e._focusableElements.includes(n.target)&&(n.preventDefault(),e._firstElement.focus(),window.removeEventListener("keydown",t))}))}},{key:"_filterVisible",value:function(e){return e.filter((function(e){if(!(t=e)||!(t.style&&t.parentNode&&t.parentNode.style)||(n=getComputedStyle(t),t=getComputedStyle(t.parentNode),"none"===n.display||"none"===t.display||"hidden"===n.visibility))return!1;for(var t,n,r=is.parents(e,"*"),o=0;o<r.length;o++){var i=window.getComputedStyle(r[o]);if(i&&("none"===i.display||"hidden"===i.visibility))return!1}return!0}))}},{key:"_setElements",value:function(){this._focusableElements=is.find(this._selector,this._element),this._onlyVisible&&(this._focusableElements=this._filterVisible(this._focusableElements)),this._firstElement=this._focusableElements[0],this._lastElement=this._focusableElements[this._focusableElements.length-1]}},{key:"_setFocusTrap",value:function(){var e=this;this._focusableElements.forEach((function(t,n){n===e._focusableElements.length-1?t.addEventListener(e._event,e.handler):t.removeEventListener(e._event,e.handler)}))}}])&&_s(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Bs(e){return e.getDate()}function Cs(e){return e.getDay()}function Es(e){return e.getMonth()}function js(e){return e.getFullYear()}function ks(e){return Is(e.getFullYear(),e.getMonth()+1,0).getDate()}function Ss(){return new Date}function Os(e,t){return Ns(e,12*t)}function Ns(e,t){return t=Is(e.getFullYear(),e.getMonth()+t,e.getDate()),Bs(e)!==Bs(t)&&t.setDate(0),t}function Fs(e,t){return Is(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Is(e,t,n){return t=new Date(e,t,n),0<=e&&e<100&&t.setFullYear(t.getFullYear()-1900),t}function Ps(e){return Is((e=e.split("-"))[0],e[1],e[2])}function Ls(e,t){return e.setHours(0,0,0,0),t.setHours(0,0,0,0),e.getTime()===t.getTime()}function Ts(e,t){return((js(e)-function(e,t,n){var r=0;return n&&(r=(n=js(n))-void 0+1),r}())%t+t)%t}function Ds(e,t,n,r,o){return"days"===n?js(e)===js(t)&&Es(e)===Es(t):"months"===n?js(e)===js(t):"years"===n&&js(t)>=o&&js(t)<=r}function Qs(e,t,n){return e=function(e,t,n){for(var r=[],o=Es(e),i=Es(Ns(e,-1)),a=Es(Ns(e,1)),s=js(e),c=function(e,t,n){return n=0<(n=n.startDay)?7-n:0,7<=(e=new Date(e,t).getDay()+n)?e-7:e}(s,o,n),l=ks(e),u=ks(Ns(e,-1)),A=1,d=!1,f=1;f<7;f++){var h=[];if(1===f){for(var p=u-c+1;p<=u;p++){var m=Is(s,i,p);h.push({date:m,currentMonth:d,isSelected:t&&Ls(m,t),isToday:Ls(m,Ss()),dayNumber:Bs(m)})}d=!0;for(var g=7-h.length,v=0;v<g;v++){var y=Is(s,o,A);h.push({date:y,currentMonth:d,isSelected:t&&Ls(y,t),isToday:Ls(y,Ss()),dayNumber:Bs(y)}),A++}}else for(var b=1;b<8;b++){l<A&&(d=!(A=1));var w=Is(s,d?o:a,A);h.push({date:w,currentMonth:d,isSelected:t&&Ls(w,t),isToday:Ls(w,Ss()),dayNumber:Bs(w)}),A++}r.push(h)}return r}(e,t,n),t=n.weekdaysNarrow,t="\n      <tr>\n        ".concat(t.map((function(e,t){return'<th class="datepicker-day-heading" scope="col" aria-label="'.concat(n.weekdaysFull[t],'">').concat(e,"</th>")})).join(""),"\n      </tr>\n    "),e=e.map((function(e){return"\n        <tr>\n          ".concat(e.map((function(e){return'\n              <td\n              class="datepicker-cell datepicker-small-cell datepicker-day-cell\n              '.concat(e.currentMonth?"":"disabled"," ").concat(e.disabled?"disabled":"","\n              ").concat(e.isToday&&"current"," ").concat(e.isSelected&&"selected",'"\n              data-mdb-date="').concat(js(e.date),"-").concat(Es(e.date),"-").concat(Bs(e.date),'"\n              aria-label="').concat(e.date,'"\n              aria-selected="').concat(e.isSelected,'">\n                <div\n                  class="datepicker-cell-content datepicker-small-cell-content"\n                  style="').concat(e.currentMonth?"display: block":"display: none",'">\n                  ').concat(e.dayNumber,"\n                  </div>\n              </td>\n            ")})).join(""),"\n        </tr>\n      ")})).join(""),'\n      <table class="datepicker-table">\n        <thead>\n          '.concat(t,'\n        </thead>\n        <tbody class="datepicker-table-body">\n         ').concat(e,"\n        </tbody>\n      </table>\n    ")}function Us(e,t,n,r,o){o=function(e,t){for(var n=[],r=[],o=0;o<e.monthsShort.length;o++){var i;r.push(e.monthsShort[o]),r.length===t&&(i=r,n.push(i),r=[])}return n}(r,o);var i=Es(Ss());o="\n      ".concat(o.map((function(o){return"\n          <tr>\n            ".concat(o.map((function(o){var a=r.monthsShort.indexOf(o);return'\n                <td class="datepicker-cell datepicker-large-cell datepicker-month-cell '.concat(a===n&&e===t?"selected":""," ").concat(a===i?"current":"",'" data-mdb-month="').concat(a,'" data-mdb-year="').concat(e,'" aria-label="').concat(o,", ").concat(e,'">\n                  <div class="datepicker-cell-content datepicker-large-cell-content">').concat(o,"</div>\n                </td>\n              ")})).join(""),"\n          </tr>\n        ")})).join(""),"\n    ");return'\n      <table class="datepicker-table">\n        <tbody class="datepicker-table-body">\n         '.concat(o,"\n        </tbody>\n      </table>\n    ")}function Ms(e,t,n,r,o){e=function(e,t,n){for(var r=[],o=js(e)-(e=Ts(e,t)),i=[],a=0;a<t;a++){var s;i.push(o+a),i.length===n&&(s=i,r.push(s),i=[])}return r}(e,r,o);var i=js(Ss());r="\n    ".concat(e.map((function(e){return"\n        <tr>\n          ".concat(e.map((function(e){return'\n              <td class="datepicker-cell datepicker-large-cell datepicker-year-cell '.concat(e===t?"selected":""," ").concat(e===i?"current":"",'" aria-label="').concat(e,'" data-mdb-year="').concat(e,'">\n                <div class="datepicker-cell-content datepicker-large-cell-content">').concat(e,"</div>\n              </td>\n            ")})).join(""),"\n        </tr>\n      ")})).join(""),"\n  ");return'\n      <table class="datepicker-table">\n        <tbody class="datepicker-table-body">\n        '.concat(r,"\n        </tbody>\n      </table>\n    ")}function Rs(e){return(Rs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $s(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(n),!0).forEach((function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qs(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)}}n(188);var Ks="datepicker",Vs="mdb.datepicker",zs=".".concat(Vs),Zs="close".concat(zs),Gs="open".concat(zs),Ws="dateChange".concat(zs),Ys="click".concat(zs).concat(".data-api"),Xs={title:"Select date",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysNarrow:["S","M","T","W","T","F","S"],okBtnText:"Ok",clearBtnText:"Clear",cancelBtnText:"Cancel",okBtnLabel:"Confirm selection",clearBtnLabel:"Clear selection",cancelBtnLabel:"Cancel selection",nextMonthLabel:"Next month",prevMonthLabel:"Previous month",nextYearLabel:"Next year",prevYearLabel:"Previous year",nextMultiYearLabel:"Next 24 years",prevMultiYearLabel:"Previous 24 years",switchToMultiYearViewLabel:"Choose year and month",switchToMonthViewLabel:"Choose date",switchToDayViewLabel:"Choose date",startDate:null,startDay:0,format:"dd/mm/yyyy",view:"days",toggleButton:!0,disableToggleButton:!1,disableInput:!1},Js={title:"string",monthsFull:"array",monthsShort:"array",weekdaysFull:"array",weekdaysShort:"array",weekdaysNarrow:"array",okBtnText:"string",clearBtnText:"string",cancelBtnText:"string",okBtnLabel:"string",clearBtnLabel:"string",cancelBtnLabel:"string",nextMonthLabel:"string",prevMonthLabel:"string",nextYearLabel:"string",prevYearLabel:"string",nextMultiYearLabel:"string",prevMultiYearLabel:"string",switchToMultiYearViewLabel:"string",switchToMonthViewLabel:"string",switchToDayViewLabel:"string",startDate:"(null|string|date)",startDay:"number",format:"string",view:"string",toggleButton:"boolean",disableToggleButton:"boolean",disableInput:"boolean"},ec=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._element=t,this._input=is.findOne("input",this._element),this._options=this._getConfig(n),this._activeDate=new Date,this._selectedDate=null,this._selectedYear=null,this._selectedMonth=null,this._view=this._options.view,this._popper=null,this._focusTrap=null,this._isOpen=!1,this._toggleButtonId=oa("datepicker-toggle-"),this._element&&Ca(t,Vs,this),this._init(),this.toggleButton&&this._options.disableToggle&&(this.toggleButton.disabled="true"),this._options.disableInput&&(this._input.disabled="true")}var t,n,r;return t=e,r=[{key:"NAME",get:function(){return Ks}},{key:"getInstance",value:function(e){return Ea(e,Vs)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===Rs(t)?t:null)}}],(n=[{key:"container",get:function(){return is.findOne(".datepicker-modal-container".concat("-",this._toggleButtonId))||is.findOne(".datepicker-dropdown-container".concat("-",this._toggleButtonId))}},{key:"options",get:function(){return this._options}},{key:"activeCell",get:function(){var e;return"days"===this._view&&(e=this._getActiveDayCell()),"months"===this._view&&(e=this._getActiveMonthCell()),"years"===this._view?this._getActiveYearCell():e}},{key:"activeDay",get:function(){return Bs(this._activeDate)}},{key:"activeMonth",get:function(){return Es(this._activeDate)}},{key:"activeYear",get:function(){return js(this._activeDate)}},{key:"firstYearInView",get:function(){return this.activeYear-Ts(this._activeDate,24)}},{key:"lastYearInView",get:function(){return this.firstYearInView+24-1}},{key:"viewChangeButton",get:function(){return is.findOne(".datepicker-view-change-button",this.container)}},{key:"previousButton",get:function(){return is.findOne(".datepicker-previous-button",this.container)}},{key:"nextButton",get:function(){return is.findOne(".datepicker-next-button",this.container)}},{key:"okButton",get:function(){return is.findOne(".datepicker-ok-btn",this.container)}},{key:"cancelButton",get:function(){return is.findOne(".datepicker-cancel-btn",this.container)}},{key:"clearButton",get:function(){return is.findOne(".datepicker-clear-btn",this.container)}},{key:"datesContainer",get:function(){return is.findOne(".datepicker-view",this.container)}},{key:"toggleButton",get:function(){return is.findOne(".datepicker-toggle-button",this._element)}},{key:"_getConfig",value:function(e){var t=Wa(this._element);return e=Hs(Hs(Hs({},Xs),t),e),ia(Ks,e,Js),e.startDay&&0!==e.startDay&&(t=this._getNewDaysOrderArray(e),e.weekdaysNarrow=t),e}},{key:"_getNewDaysOrderArray",value:function(e){var t=e.startDay;return(e=e.weekdaysNarrow).slice(t).concat(e.slice(0,t))}},{key:"_init",value:function(){!this.toggleButton&&this._options.toggleButton&&(this._appendToggleButton(),(this._input.readOnly||this._input.disabled)&&(this.toggleButton.style.pointerEvents="none")),this._listenToUserInput(),this._listenToToggleClick(),this._listenToToggleKeydown()}},{key:"_appendToggleButton",value:function(){var e='\n    <button id="'.concat(this._toggleButtonId,'" type="button" class="datepicker-toggle-button" data-mdb-toggle="datepicker">\n      <i class="far fa-calendar datepicker-toggle-icon"></i>\n    </button>\n  ');this._element.insertAdjacentHTML("beforeend",e),Ja(this._input,"form-icon-trailing")}},{key:"open",value:function(){var e,t,n=this;this._input.readOnly||this._input.disabled||(e=Va.trigger(this._element,Gs),this._isOpen||e.defaultPrevented||(this._setInitialDate(),e=sa("div"),Ja(e,"datepicker-backdrop"),t=function(e,t,n,r,o,i,a,s,c){var l,u,A=Es(e),d=js(e),f=Bs(e),h=Cs(e),p=sa("div");return a="\n      ".concat((l=A,'\n      <div class="datepicker-header">\n        <div class="datepicker-title">\n          <span class="datepicker-title-text">'.concat((u=o).title,'</span>\n        </div>\n        <div class="datepicker-date">\n          <span class="datepicker-date-text">').concat(u.weekdaysShort[h],", ").concat(u.monthsShort[l]," ").concat(f,"</span>\n        </div>\n      </div>\n    ")),"\n      ").concat((h=e,u=t,l=n,f=r,e=i,t=a,n=s,'\n    <div class="datepicker-main">\n      '.concat(function(e,t,n){return'\n    <div class="datepicker-date-controls">\n      <button class="datepicker-view-change-button" aria-label="'.concat(n.switchToMultiYearViewLabel,'">\n        ').concat(n.monthsFull[e]," ").concat(t,'\n      </button>\n      <div class="datepicker-arrow-controls">\n        <button class="datepicker-previous-button" aria-label="').concat(n.prevMonthLabel,'"></button>\n        <button class="datepicker-next-button" aria-label="').concat(n.nextMonthLabel,'"></button>\n      </div>\n    </div>\n    ')}(A,r=d,i=o),'\n      <div class="datepicker-view" tabindex="0">\n        ').concat(function(e,t,n,r,o,i,a,s,c){return"days"===i.view?Qs(e,n,i):"months"===i.view?Us(t,r,o,i,a):Ms(e,r,0,s,c)}(h,r,u,l,f,i,e,t,n),"\n      </div>\n      ").concat(function(e){return'\n        <div class="datepicker-footer">\n          <button class="datepicker-footer-btn datepicker-clear-btn" aria-label="'.concat(e.clearBtnLabel,'">').concat(e.clearBtnText,'</button>\n          <button class="datepicker-footer-btn datepicker-cancel-btn" aria-label="').concat(e.cancelBtnLabel,'">').concat(e.cancelBtnText,'</button>\n          <button class="datepicker-footer-btn datepicker-ok-btn" aria-label="').concat(e.okBtnLabel,'">').concat(e.okBtnText,"</button>\n        </div>\n      ")}(i),"\n    </div>\n  ")),"\n    "),Ja(p,"datepicker-modal-container"),Ja(p,"datepicker-modal-container-".concat(c)),p.innerHTML=a,p}(this._activeDate,this._selectedDate,this._selectedYear,this._selectedMonth,this._options,4,24,24,this._toggleButtonId),this._openModal(e,t),Ja(this.container,"animation"),Ja(this.container,"fade-in"),this.container.style.animationDuration="300ms",Ja(e,"animation"),Ja(e,"fade-in"),e.style.animationDuration="150ms",this._setFocusTrap(this.container),this._listenToDateSelection(),this._addControlsListeners(),this._listenToEscapeClick(),this._listenToKeyboardNavigation(),this._listenToDatesContainerFocus(),this._listenToDatesContainerBlur(),this._asyncFocusDatesContainer(),this._updateViewControlsAndAttributes(this._view),this._isOpen=!0,setTimeout((function(){n._listenToOutsideClick()}),0)))}},{key:"_openDropdown",value:function(e){this._popper=Et(this._input,e,{placement:"bottom-start"}),document.body.appendChild(e)}},{key:"_openModal",value:function(e,t){document.body.appendChild(e),document.body.appendChild(t),window.innerWidth>document.documentElement.clientWidth&&(document.body.style.overflow="hidden",document.body.style.paddingRight="15px")}},{key:"_setFocusTrap",value:function(e){this._focusTrap=new xs(e,{event:"keydown",condition:function(e){return"Tab"===e.key}}),this._focusTrap.trap()}},{key:"_listenToUserInput",value:function(){var e=this;Va.on(this._input,"input",(function(t){e._handleUserInput(t.target.value)}))}},{key:"_listenToToggleClick",value:function(){var e=this;Va.on(this._element,Ys,'[data-mdb-toggle="datepicker"]',(function(t){t.preventDefault(),e.open()}))}},{key:"_listenToToggleKeydown",value:function(){var e=this;Va.on(this._element,"keydown",'[data-mdb-toggle="datepicker"]',(function(t){13!==t.keyCode||e._isOpen||e.open()}))}},{key:"_listenToDateSelection",value:function(){var e=this;Va.on(this.datesContainer,"click",(function(t){var n,r=("DIV"===t.target.nodeName?t.target.parentNode:t.target).dataset;t="DIV"===t.target.nodeName?t.target.parentNode:t.target;r.mdbDate&&e._pickDay(r.mdbDate,t),r.mdbMonth&&r.mdbYear&&(t=parseInt(r.mdbMonth,10),n=parseInt(r.mdbYear,10),e._pickMonth(t,n)),r.mdbYear&&!r.mdbMonth&&(t=parseInt(r.mdbYear,10),e._pickYear(t)),e._updateHeaderDate(e._activeDate,e._options.monthsShort,e._options.weekdaysShort)}))}},{key:"_updateHeaderDate",value:function(e,t,n){var r=is.findOne(".datepicker-date-text",this.container),o=Es(e),i=Bs(e);e=Cs(e);r.innerHTML="".concat(n[e],", ").concat(t[o]," ").concat(i)}},{key:"_addControlsListeners",value:function(){var e=this;Va.on(this.nextButton,"click",(function(){"days"===e._view?e.nextMonth():"years"===e._view?e.nextYears():e.nextYear()})),Va.on(this.previousButton,"click",(function(){"days"===e._view?e.previousMonth():"years"===e._view?e.previousYears():e.previousYear()})),Va.on(this.viewChangeButton,"click",(function(){"days"===e._view?e._changeView("years"):"years"!==e._view&&"months"!==e._view||e._changeView("days")})),this._listenToFooterButtonsClick()}},{key:"_listenToFooterButtonsClick",value:function(){var e=this;Va.on(this.okButton,"click",(function(){return e.handleOk()})),Va.on(this.cancelButton,"click",(function(){return e.handleCancel()})),Va.on(this.clearButton,"click",(function(){return e.handleClear()}))}},{key:"_listenToOutsideClick",value:function(){var e=this;Va.on(document,Ys,(function(t){var n=t.target===e.container;t=e.container&&e.container.contains(t.target);n||t||e.close()}))}},{key:"_listenToEscapeClick",value:function(){var e=this;Va.on(document,"keydown",(function(t){27===t.keyCode&&e._isOpen&&e.close()}))}},{key:"_listenToKeyboardNavigation",value:function(){var e=this;Va.on(this.datesContainer,"keydown",(function(t){e._handleKeydown(t)}))}},{key:"_listenToDatesContainerFocus",value:function(){var e=this;Va.on(this.datesContainer,"focus",(function(){e._focusActiveCell(e.activeCell)}))}},{key:"_listenToDatesContainerBlur",value:function(){var e=this;Va.on(this.datesContainer,"blur",(function(){e._removeCurrentFocusStyles()}))}},{key:"_handleKeydown",value:function(e){"days"===this._view&&this._handleDaysViewKeydown(e),"months"===this._view&&this._handleMonthsViewKeydown(e),"years"===this._view&&this._handleYearsViewKeydown(e)}},{key:"_handleDaysViewKeydown",value:function(e){var t=this._activeDate,n=this.activeCell;switch(e.keyCode){case 37:this._activeDate=Fs(this._activeDate,-1);break;case 39:this._activeDate=Fs(this._activeDate,1);break;case 38:this._activeDate=Fs(this._activeDate,-7);break;case 40:this._activeDate=Fs(this._activeDate,7);break;case 36:this._activeDate=Fs(this._activeDate,1-Bs(this._activeDate));break;case 35:this._activeDate=Fs(this._activeDate,ks(this._activeDate)-Bs(this._activeDate));break;case 33:this._activeDate=Ns(this._activeDate,-1);break;case 34:this._activeDate=Ns(this._activeDate,1);break;case 13:case 32:return this._selectDate(this._activeDate),void e.preventDefault();default:return}Ds(t,this._activeDate,this._view,24,0)||this._changeView("days"),this._removeHighlightFromCell(n),this._focusActiveCell(this.activeCell),e.preventDefault()}},{key:"_asyncFocusDatesContainer",value:function(){var e=this;setTimeout((function(){e.datesContainer.focus()}),0)}},{key:"_focusActiveCell",value:function(e){e&&Ja(e,"focused")}},{key:"_removeHighlightFromCell",value:function(e){e&&e.classList.remove("focused")}},{key:"_getActiveDayCell",value:function(){var e=this,t=is.find("td",this.datesContainer);return Array.from(t).find((function(t){return Ls(Ps(t.dataset.mdbDate),e._activeDate)}))}},{key:"_handleMonthsViewKeydown",value:function(e){var t=this._activeDate,n=this.activeCell;switch(e.keyCode){case 37:this._activeDate=Ns(this._activeDate,-1);break;case 39:this._activeDate=Ns(this._activeDate,1);break;case 38:this._activeDate=Ns(this._activeDate,-4);break;case 40:this._activeDate=Ns(this._activeDate,4);break;case 36:this._activeDate=Ns(this._activeDate,-this.activeMonth);break;case 35:this._activeDate=Ns(this._activeDate,11-this.activeMonth);break;case 33:this._activeDate=Os(this._activeDate,-1);break;case 34:this._activeDate=Os(this._activeDate,1);break;case 13:case 32:return void this._selectMonth(this.activeMonth);default:return}Ds(t,this._activeDate,this._view,24,0)||this._changeView("months"),this._removeHighlightFromCell(n),this._focusActiveCell(this.activeCell),e.preventDefault()}},{key:"_getActiveMonthCell",value:function(){var e=this,t=is.find("td",this.datesContainer);return Array.from(t).find((function(t){var n=parseInt(t.dataset.mdbYear,10);t=parseInt(t.dataset.mdbMonth,10);return n===e.activeYear&&t===e.activeMonth}))}},{key:"_handleYearsViewKeydown",value:function(e){var t=this._activeDate,n=this.activeCell;switch(e.keyCode){case 37:this._activeDate=Os(this._activeDate,-1);break;case 39:this._activeDate=Os(this._activeDate,1);break;case 38:this._activeDate=Os(this._activeDate,-4);break;case 40:this._activeDate=Os(this._activeDate,4);break;case 36:this._activeDate=Os(this._activeDate,-Ts(this._activeDate,24));break;case 35:this._activeDate=Os(this._activeDate,24-Ts(this._activeDate,24)-1);break;case 33:this._activeDate=Os(this._activeDate,-24);break;case 34:this._activeDate=Os(this._activeDate,24);break;case 13:case 32:return void this._selectYear(this.activeYear);default:return}Ds(t,this._activeDate,this._view,24,0)||this._changeView("years"),this._removeHighlightFromCell(n),this._focusActiveCell(this.activeCell),e.preventDefault()}},{key:"_getActiveYearCell",value:function(){var e=this,t=is.find("td",this.datesContainer);return Array.from(t).find((function(t){return parseInt(t.dataset.mdbYear,10)===e.activeYear}))}},{key:"_setInitialDate",value:function(){this._input.value?this._handleUserInput(this._input.value):this._options.startDate?this._activeDate=new Date(this._options.startDate):this._activeDate=new Date}},{key:"close",value:function(){var e=Va.trigger(this._element,Zs);this._isOpen&&!e.defaultPrevented&&(this._removeDatepickerListeners(),Ja(this.container,"animation"),Ja(this.container,"fade-out"),this._closeModal(),this._isOpen=!1,this._view=this._options.view,(this.toggleButton||this._input).focus())}},{key:"_closeDropdown",value:function(){var e=this,t=is.findOne(".datepicker-dropdown-container");t.addEventListener("animationend",(function(){t&&document.body.removeChild(t),e._popper&&e._popper.destroy()})),this._removeFocusTrap()}},{key:"_closeModal",value:function(){var e=is.findOne(".datepicker-backdrop"),t=is.findOne(".datepicker-modal-container");Ja(e,"animation"),Ja(e,"fade-out"),t&&e&&e.addEventListener("animationend",(function(){document.body.removeChild(e),document.body.removeChild(t),document.body.style.overflow="",document.body.style.paddingRight=""}))}},{key:"_removeFocusTrap",value:function(){this._focusTrap&&(this._focusTrap.disable(),this._focusTrap=null)}},{key:"_removeDatepickerListeners",value:function(){Va.off(this.nextButton,"click"),Va.off(this.previousButton,"click"),Va.off(this.viewChangeButton,"click"),Va.off(this.okButton,"click"),Va.off(this.cancelButton,"click"),Va.off(this.clearButton,"click"),Va.off(this.datesContainer,"click"),Va.off(this.datesContainer,"keydown"),Va.off(this.datesContainer,"focus"),Va.off(this.datesContainer,"blur"),Va.off(document,Ys)}},{key:"dispose",value:function(){this._isOpen&&this.close(),this._removeInputAndToggleListeners();var e=is.findOne("#".concat(this._toggleButtonId));e&&this._element.removeChild(e),ja(this._element,Vs),this._element=null,this._input=null,this._options=null,this._activeDate=null,this._selectedDate=null,this._selectedYear=null,this._selectedMonth=null,this._view=null,this._popper=null,this._focusTrap=null}},{key:"_removeInputAndToggleListeners",value:function(){Va.off(this._input,"input"),Va.off(this._element,Ys,'[data-mdb-toggle="datepicker"]'),Va.off(this._element,"keydown",'[data-mdb-toggle="datepicker"]')}},{key:"handleOk",value:function(){this._confirmSelection(this._selectedDate),this.close()}},{key:"_selectDate",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.activeCell;this._removeCurrentSelectionStyles(),this._removeCurrentFocusStyles(),this._addSelectedStyles(t),this._selectedDate=e}},{key:"_selectYear",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.activeCell;this._removeCurrentSelectionStyles(),this._removeCurrentFocusStyles(),this._addSelectedStyles(t),this._selectedYear=e,this._asyncChangeView("months")}},{key:"_selectMonth",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.activeCell;this._removeCurrentSelectionStyles(),this._removeCurrentFocusStyles(),this._addSelectedStyles(t),this._selectedMonth=e,this._asyncChangeView("days")}},{key:"_removeSelectedStyles",value:function(e){e&&e.classList.remove("selected")}},{key:"_addSelectedStyles",value:function(e){e&&Ja(e,"selected")}},{key:"_confirmSelection",value:function(e){var t;e&&(t=this.formatDate(e),this._input.value=t,Ja(this._input,"active"),Va.trigger(this._element,Ws,{date:e}))}},{key:"handleCancel",value:function(){this._selectedDate=null,this._selectedYear=null,this._selectedMonth=null,this.close()}},{key:"handleClear",value:function(){this._selectedDate=null,this._selectedMonth=null,this._selectedYear=null,this._removeCurrentSelectionStyles(),this._input.value="",this._input.classList.remove("active"),this._setInitialDate(),this._changeView("days")}},{key:"_removeCurrentSelectionStyles",value:function(){var e=is.findOne(".selected",this.container);e&&e.classList.remove("selected")}},{key:"_removeCurrentFocusStyles",value:function(){var e=is.findOne(".focused",this.container);e&&e.classList.remove("focused")}},{key:"formatDate",value:function(e){var t=Bs(e),n=this._addLeadingZero(Bs(e)),r=this._options.weekdaysShort[Cs(e)],o=this._options.weekdaysFull[Cs(e)],i=Es(e)+1,a=this._addLeadingZero(Es(e)+1),s=this._options.monthsShort[Es(e)],c=this._options.monthsFull[Es(e)],l=2===js(e).toString().length?js(e):js(e).toString().slice(2,4),u=js(e),A=(e=this._options.format.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g),"");return e.forEach((function(e){switch(e){case"dddd":e=e.replace(e,o);break;case"ddd":e=e.replace(e,r);break;case"dd":e=e.replace(e,n);break;case"d":e=e.replace(e,t);break;case"mmmm":e=e.replace(e,c);break;case"mmm":e=e.replace(e,s);break;case"mm":e=e.replace(e,a);break;case"m":e=e.replace(e,i);break;case"yyyy":e=e.replace(e,u);break;case"yy":e=e.replace(e,l)}A+=e})),A}},{key:"_addLeadingZero",value:function(e){return parseInt(e,10)<10?"0".concat(e):e}},{key:"_pickDay",value:function(e,t){e=Ps(e),this._activeDate=e,this._selectDate(e,t)}},{key:"_pickYear",value:function(e){var t=Is(e,this.activeMonth,this.activeDay);this._activeDate=t,this._selectedDate=t,this._selectYear(e)}},{key:"_pickMonth",value:function(e,t){t=Is(t,e,this.activeDay),this._activeDate=t,this._selectMonth(e)}},{key:"nextMonth",value:function(){var e,t=Qs(e=Ns(this._activeDate,1),this._selectedDate,this._options);this._activeDate=e,this.viewChangeButton.textContent="".concat(this._options.monthsFull[this.activeMonth]," ").concat(this.activeYear),this.datesContainer.innerHTML=t}},{key:"previousMonth",value:function(){var e=Ns(this._activeDate,-1);e=Qs(this._activeDate=e,this._selectedDate,this._options);this.viewChangeButton.textContent="".concat(this._options.monthsFull[this.activeMonth]," ").concat(this.activeYear),this.datesContainer.innerHTML=e}},{key:"nextYear",value:function(){var e=Os(this._activeDate,1);this._activeDate=e,this.viewChangeButton.textContent="".concat(this.activeYear),e=Us(this.activeYear,this._selectedYear,this._selectedMonth,this._options,4);this.datesContainer.innerHTML=e}},{key:"previousYear",value:function(){var e=Os(this._activeDate,-1);this._activeDate=e,this.viewChangeButton.textContent="".concat(this.activeYear),e=Us(this.activeYear,this._selectedYear,this._selectedMonth,this._options,4);this.datesContainer.innerHTML=e}},{key:"nextYears",value:function(){var e=Os(this._activeDate,24);e=Ms(this._activeDate=e,this._selectedYear,this._options,24,4);this.viewChangeButton.textContent="".concat(this.firstYearInView," - ").concat(this.lastYearInView),this.datesContainer.innerHTML=e}},{key:"previousYears",value:function(){var e=Os(this._activeDate,-24);e=Ms(this._activeDate=e,this._selectedYear,this._options,24,4);this.viewChangeButton.textContent="".concat(this.firstYearInView," - ").concat(this.lastYearInView),this.datesContainer.innerHTML=e}},{key:"_asyncChangeView",value:function(e){var t=this;setTimeout((function(){t._changeView(e)}),0)}},{key:"_changeView",value:function(e){this._view=e,this.datesContainer.blur(),"days"===e&&(this.datesContainer.innerHTML=Qs(this._activeDate,this._selectedDate,this._options)),"months"===e&&(this.datesContainer.innerHTML=Us(this.activeYear,this._selectedYear,this._selectedMonth,this._options,4)),"years"===e&&(this.datesContainer.innerHTML=Ms(this._activeDate,this._selectedYear,this._options,24,4)),this.datesContainer.focus(),this._updateViewControlsAndAttributes(e)}},{key:"_updateViewControlsAndAttributes",value:function(e){"days"===e&&(this.viewChangeButton.textContent="".concat(this._options.monthsFull[this.activeMonth]," ").concat(this.activeYear),this.viewChangeButton.setAttribute("aria-label",this._options.switchToMultiYearViewLabel),this.previousButton.setAttribute("aria-label",this._options.prevMonthLabel),this.nextButton.setAttribute("aria-label",this._options.nextMonthLabel)),"months"===e&&(this.viewChangeButton.textContent="".concat(this.activeYear),this.viewChangeButton.setAttribute("aria-label",this._options.switchToDayViewLabel),this.previousButton.setAttribute("aria-label",this._options.prevYearLabel),this.nextButton.setAttribute("aria-label",this._options.nextYearLabel)),"years"===e&&(this.viewChangeButton.textContent="".concat(this.firstYearInView," - ").concat(this.lastYearInView),this.viewChangeButton.setAttribute("aria-label",this._options.switchToMonthViewLabel),this.previousButton.setAttribute("aria-label",this._options.prevMultiYearLabel),this.nextButton.setAttribute("aria-label",this._options.nextMultiYearLabel))}},{key:"_handleUserInput",value:function(e){var t=this._getDelimeters(this._options.format);e=this._parseDate(e,this._options.format,t);Number.isNaN(e.getTime())?(this._activeDate=new Date,this._selectedDate=null,this._selectedMonth=null,this._selectedYear=null):(this._activeDate=e,this._selectedDate=e)}},{key:"_getDelimeters",value:function(e){return e.match(/[^(dmy)]{1,}/g)}},{key:"_parseDate",value:function(e,t,n){n=n[0]!==n[1]?n[0]+n[1]:n[0],n=new RegExp("[".concat(n,"]"));for(var r=e.split(n),o=t.split(n),i=(e=-1!==t.indexOf("mmm"),[]),a=0;a<o.length;a++)-1!==o[a].indexOf("yy")&&(i[0]={value:r[a],format:o[a]}),-1!==o[a].indexOf("m")&&(i[1]={value:r[a],format:o[a]}),-1!==o[a].indexOf("d")&&o[a].length<=2&&(i[2]={value:r[a],format:o[a]});return n=-1!==t.indexOf("mmmm")?this._options.monthsFull:this._options.monthsShort,Is(Number(i[0].value),e?this.getMonthNumberByMonthName(i[1].value,n):Number(i[1].value)-1,Number(i[2].value))}},{key:"getMonthNumberByMonthName",value:function(e,t){return t.findIndex((function(t){return t===e}))}}])&&qs(t.prototype,n),r&&qs(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();zs=ec;function tc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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)||function(e,t){if(e){if("string"==typeof e)return nc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nc(e,t):void 0}}(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 nc(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 rc(e,t){var n=e.clientX,r=e.clientY,o=(e=e.touches,2<arguments.length&&void 0!==arguments[2]&&arguments[2]),i=(t=t.getBoundingClientRect()).left,a=(t=t.top,{});return o&&e?o&&0<Object.keys(e).length&&(a={x:e[0].clientX-i,y:e[0].clientY-t}):a={x:n-i,y:r-t},a}function oc(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}is.find(".datepicker").forEach((function(e){ec.getInstance(e)||new ec(e)})),n(189),n(191);var ic=function(e){return e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e)},ac=function(e){return(e=(1<arguments.length&&void 0!==arguments[1]&&!arguments[1]?e:e.value).replace(/:/gi," ")).split(" ")};function sc(e){return(sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cc(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function lc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cc(Object(n),!0).forEach((function(t){pc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var 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)||dc(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 Ac(e){return function(e){if(Array.isArray(e))return fc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||dc(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 dc(e,t){if(e){if("string"==typeof e)return fc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fc(e,t):void 0}}function fc(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 hc(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 pc(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}var mc="timepicker",gc="mdb.".concat(mc),vc="active",yc="".concat(mc,"-am"),bc="".concat(mc,"-cancel"),wc="".concat(mc,"-clear"),_c="".concat(mc,"-submit"),xc="".concat(mc,"-circle"),Bc="".concat(mc,"-clock-animation"),Cc="".concat(mc,"-clock"),Ec="".concat(mc,"-clock-inner"),jc="".concat(mc,"-clock-wrapper"),kc=".".concat(mc,"-current"),Sc="".concat(mc,"-current-inline"),Oc="".concat(mc,"-hand-pointer"),Nc="".concat(mc,"-hour"),Fc="".concat(mc,"-hour-mode"),Ic="".concat(mc,"-icon-down"),Pc="".concat(mc,"-icon-inline-hour"),Lc="".concat(mc,"-icon-inline-minute"),Tc="".concat(mc,"-icon-up"),Dc="".concat(mc,"-inline-hour-icons"),Qc="".concat(mc,"-middle-dot"),Uc="".concat(mc,"-minute"),Mc="".concat(mc,"-modal"),Rc="".concat(mc,"-pm"),$c="".concat(mc,"-tips-element"),Hc="".concat(mc,"-time-tips-hours"),qc="".concat(mc,"-tips-inner-element"),Kc="".concat(mc,"-time-tips-inner"),Vc="".concat(mc,"-time-tips-minutes"),zc="".concat(mc,"-transform"),Zc="".concat(mc,"-wrapper"),Gc="".concat(mc,"-input"),Wc={appendValidationInfo:!0,bodyID:"",cancelLabel:"Cancel",clearLabel:"Clear",closeModalOnBackdropClick:!0,closeModalOnMinutesClick:!1,defaultTime:"",disabled:!1,focusInputAfterApprove:!1,footerID:"",format12:!0,headID:"",increment:!1,invalidLabel:"Invalid Time Format",maxHour:"",minHour:"",maxTime:"",minTime:"",modalID:"",okLabel:"Ok",overflowHidden:!0,pickerID:"",readOnly:!1,showClearBtn:!0,switchHoursToMinutesOnClick:!0,iconClass:"far fa-clock fa-sm timepicker-icon",withIcon:!0,pmLabel:"PM",amLabel:"AM"},Yc={appendValidationInfo:"boolean",bodyID:"string",cancelLabel:"string",clearLabel:"string",closeModalOnBackdropClick:"boolean",closeModalOnMinutesClick:"boolean",disabled:"boolean",footerID:"string",format12:"boolean",headID:"string",increment:"boolean",invalidLabel:"string",maxHour:"(string|number)",minHour:"(string|number)",modalID:"string",okLabel:"string",overflowHidden:"boolean",pickerID:"string",readOnly:"boolean",showClearBtn:"boolean",switchHoursToMinutesOnClick:"boolean",defaultTime:"(string|date|number)",iconClass:"string",withIcon:"boolean",pmLabel:"string",amLabel:"string"},Xc=function(){function e(t){var n=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=this,i=e;if(!(o instanceof i))throw new TypeError("Cannot call a class as a function");pc(this,"_toggleBackgroundColorCircle",(function(e){null!==n._modal.querySelector(".".concat(e,".").concat(vc))?es(n._circle,{backgroundColor:"#1976d2"}):es(n._circle,{backgroundColor:"transparent"})})),pc(this,"_toggleClassActive",(function(e,t,n){var r=t.textContent,o=Ac(e).find((function(e){return Number(e)===Number(r)}));return n.forEach((function(e){ns(e,"disabled")||(e.textContent===o?Ja(e,vc):ts(e,vc))}))})),pc(this,"_makeMinutesDegrees",(function(e,t){var r=n._options.increment;return e=e<0?(t=Math.round(360+e/6)%60,360+6*Math.round(e/6)):(t=Math.round(e/6)%60,6*Math.round(e/6)),r&&(e=30*Math.round(e/30),60===(t=6*Math.round(e/6)/6)&&(t="00")),{degrees:e=360<=e?0:e,minute:t,addDegrees:r?30:6}})),pc(this,"_makeHourDegrees",(function(e,t,r){var o=(i=n._options).maxHour,i=i.minHour;if(e&&(ns(e,Ec)||ns(e,Kc)||ns(e,qc)?t<0?(r=Math.round(360+t/30)%24,t=360+t):12===(r=Math.round(t/30)+12)&&(r="00"):t<0?(r=Math.round(360+t/30)%12,t=360+t):(0===(r=Math.round(t/30)%12)||12<r)&&(r=12),360<=t&&(t=0),!(""!==o&&r>Number(o)||""!==i&&r<Number(i))))return{degrees:t,hour:r,addDegrees:30}})),pc(this,"_makeInnerHoursDegrees",(function(e,t){return e<0?(t=Math.round(360+e/30)%24,e=360+e):12===(t=Math.round(e/30)+12)&&(t="00"),{degrees:e,hour:t,addDegrees:30}})),pc(this,"_getAppendClock",(function(){var e,t,r,o,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:".".concat(Cc),s=2<arguments.length?arguments[2]:void 0,c=(f=n._options).maxHour,l=f.minHour,u=f.minTime,A=f.maxTime,d=f.inline,f=f.format12,h=(o=uc(ac(A,!1),3))[0],p=o[1],m=o[2],g=(o=uc(ac(u,!1),3))[0],v=o[1],y=o[2],b=(d||f&&n._isInvalidTimeFormat&&!ns(n._AM,"active")&&Ja(n._PM,"active"),is.findOne(".".concat(Fc,".").concat(vc))),w=is.findOne(a),_=360/i.length;null!==w&&(e=(w.offsetWidth-32)/2,t=(w.offsetHeight-32)/2,r=e-4,Ac(i).forEach((function(o,a){a=a*_*(Math.PI/180);var d=sa("span"),f=sa("span"),x=(f.innerHTML=o,Ja(d,s),d.offsetWidth),B=d.offsetHeight;return es(d,{left:"".concat(e+Math.sin(a)*r-x,"px"),bottom:"".concat(t+Math.cos(a)*r-B,"px")}),i.includes("05")&&Ja(d,"".concat(Vc)),i.includes("13")?f.classList.add(qc):f.classList.add($c),ns(d,"".concat(Vc))?ns(d,"".concat(Vc))&&(""!==A&&Number(o)>Number(p)&&Number(n._hour.textContent)>=Number(h)&&Ja(d,"disabled"),""!==u&&Number(o)<Number(v)&&Number(n._hour.textContent)<=Number(g)&&Ja(d,"disabled"),""!==A&&void 0!==m&&("PM"===m&&"PM"===b.textContent?Number(o)>Number(p)&&Number(n._hour.textContent)>=Number(h)&&Ja(d,"disabled"):"PM"===m&&"AM"===b.textContent&&ts(d,"disabled"),("AM"===m&&"PM"===b.textContent||"AM"===m&&"AM"===b.textContent&&Number(n._hour.textContent)>=Number(h)&&Number(o)>Number(p))&&Ja(d,"disabled")),""!==u&&void 0!==y&&("PM"===y&&"PM"===b.textContent?(Number(o)<Number(v)&&Number(n._hour.textContent)===Number(g)||Number(n._hour.textContent)<Number(g))&&Ja(d,"disabled"):"PM"===y&&"AM"===b.textContent&&Ja(d,"disabled"),"AM"===y&&"PM"===b.textContent?ts(d,"disabled"):"AM"===y&&"AM"===b.textContent&&(Number(n._hour.textContent)===Number(g)&&Number(o)<Number(v)||Number(n._hour.textContent)<Number(g))&&Ja(d,"disabled"))):(""!==c&&Number(o)>Number(c)&&Ja(d,"disabled"),""!==l&&Number(o)<Number(l)&&Ja(d,"disabled"),""!==A&&(void 0!==m?("PM"===m&&"PM"===b.textContent&&(n._isAmEnabled=!1,n._isPmEnabled=!0,Number(o)>Number(h)&&Ja(d,"disabled")),"AM"===m&&"PM"===b.textContent?(n._isAmEnabled=!1,n._isPmEnabled=!0,Ja(d,"disabled")):"AM"===m&&"AM"===b.textContent&&(n._isAmEnabled=!0,n._isPmEnabled=!1,Number(o)>Number(h)&&Ja(d,"disabled"))):Number(o)>Number(h)&&Ja(d,"disabled")),""!==u&&Number(o)<Number(g)&&Ja(d,"disabled"),""!==u&&void 0!==y&&("PM"===y&&"PM"===b.textContent?(n._isAmEnabled=!1,n._isPmEnabled=!0,Number(o)<Number(g)&&Ja(d,"disabled")):"PM"===y&&"AM"===b.textContent&&(n._isAmEnabled=!0,n._isPmEnabled=!1,Ja(d,"disabled")),"AM"===y&&"PM"===b.textContent?(n._isAmEnabled=!1,n._isPmEnabled=!0,ts(d,"disabled")):"AM"===y&&"AM"===b.textContent&&(n._isAmEnabled=!0,n._isPmEnabled=!1,Number(o)<Number(g)&&Ja(d,"disabled")))),d.appendChild(f),w.appendChild(d)})))})),this._element=t,this._element&&Ca(t,gc,this),this._document=document,this._options=this._getConfig(r),this._currentTime=null,this._toggleButtonId=oa("timepicker-toggle-"),this.hoursArray=["12","1","2","3","4","5","6","7","8","9","10","11"],this.innerHours=["00","13","14","15","16","17","18","19","20","21","22","23"],this.minutesArray=["00","05","10","15","20","25","30","35","40","45","50","55"],this.input=is.findOne("input",this._element),this.dataWithIcon=t.dataset.withIcon,this.dataToggle=t.dataset.toggle,this.customIcon=is.findOne(".timepicker-toggle-button",this._element),this._checkToggleButton(),this.inputFormatShow=is.findOne("[data-mdb-timepicker-format24]",this._element),this.inputFormat=null===this.inputFormatShow?"":Object.values(this.inputFormatShow.dataset)[0],this.elementToggle=is.findOne("[data-mdb-toggle]",this._element),this.toggleElement=Object.values(t.querySelector("[data-mdb-toggle]").dataset)[0],this._hour=null,this._minutes=null,this._AM=null,this._PM=null,this._wrapper=null,this._modal=null,this._hand=null,this._circle=null,this._focusTrap=null,this._popper=null,this._interval=null,this._inputValue=""!==this._options.defaultTime?this._options.defaultTime:this.input.value,this._options.format12&&(this._currentTime=function(e){var t,n,r;if(""!==e)return ic(e)?(t=e.getHours(),0===(t%=12)&&(r="AM"),t=t||12,void 0===r&&(r=12<=t?"PM":"AM"),n=(n=e.getMinutes())<10?"0".concat(n):n):(t=(e=tc(ac(e,!1),3))[0],n=e[1],r=e[2],0===(t%=12)&&(r="AM"),t=t||12,void 0===r&&(r=12<=t?"PM":"AM")),{hours:t,minutes:n,amOrPm:r}}(this._inputValue)),this._options.readOnly&&this.input.setAttribute("readonly",!0),this.init(),this._isHours=!0,this._isMinutes=!1,this._isInvalidTimeFormat=!1,this._isMouseMove=!1,this._isInner=!1,this._isAmEnabled=!1,this._isPmEnabled=!1,this._objWithDataOnChange={degrees:null}}var t,n,r;return t=e,r=[{key:"NAME",get:function(){return mc}},{key:"getInstance",value:function(e){return Ea(e,gc)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===sc(t)?t:null)}}],(n=[{key:"init",value:function(){var e,t,n,r;Ja(this.input,Gc),void 0!==this._currentTime?(n=(e=this._currentTime).hours,r=e.minutes,e=e.amOrPm,t=Number(n)<10?0:"",n="".concat(t).concat(Number(n),":").concat(r),r=e,this.input.value="".concat(n," ").concat(r)):this.input.value=r=n=t="",0<this.input.value.length&&""!==this.input.value&&Ja(this.input,"active"),null===this._options&&null===this._element||(this._handleOpen(),this._listenToToggleKeydown())}},{key:"dispose",value:function(){this._removeModal(),null!==this._element&&ja(this._element,gc),this._element=null,this._options=null,this.input=null,this._focusTrap=null,Va.off(this._document,"click","[data-mdb-toggle='".concat(this.toggleElement,"']")),Va.off(this._element,"keydown","[data-mdb-toggle='".concat(this.toggleElement,"']"))}},{key:"_checkToggleButton",value:function(){null===this.customIcon&&(void 0!==this.dataWithIcon&&(this._options.withIcon=null,"true"===this.dataWithIcon&&this._appendToggleButton(this._options)),this._options.withIcon&&this._appendToggleButton(this._options))}},{key:"_appendToggleButton",value:function(){var e=function(e,t){return e=e.iconClass,'\n  <button id="'.concat(t,'" tabindex="0" type="button" class="timepicker-toggle-button" data-mdb-toggle="timepicker"  >\n    <i class="').concat(e,'"></i>\n  </button>\n')}(this._options,this._toggleButtonId);this.input.insertAdjacentHTML("afterend",e)}},{key:"_getDomElements",value:function(){this._hour=is.findOne(".".concat(Nc)),this._minutes=is.findOne(".".concat(Uc)),this._AM=is.findOne(".".concat(yc)),this._PM=is.findOne(".".concat(Rc)),this._wrapper=is.findOne(".".concat(Zc)),this._modal=is.findOne(".".concat(Mc)),this._hand=is.findOne(".".concat(Oc)),this._circle=is.findOne(".".concat(xc)),this._clock=is.findOne(".".concat(Cc)),this._clockInner=is.findOne(".".concat(Ec))}},{key:"_handlerMaxMinHoursOptions",value:function(e,t,n,r,o,i){var a=""!==n?30*n:"",s=""!==r?30*r:"";if(""!==n&&""!==r){if((e=e<=0?360+e:e)<=a&&s<=e)return t()}else if(""!==r){if(e<=0&&(e=360+e),(s=12<Number(r)?30*r-s:s)<=e&&void 0===i)return t();if(void 0!==i){if("PM"===i&&this._isAmEnabled)return;if("PM"===i&&this._isPmEnabled&&s<=e)return t();if("AM"===i&&this._isPmEnabled)return t();if("AM"===i&&this._isAmEnabled&&s<=e)return t()}}else{if(""===n)return t();if((e=e<=0?360+e:e)<=a&&void 0===o)return t();if(void 0!==o){if("AM"===o&&this._isPmEnabled)return;if("AM"===o&&this._isAmEnabled&&e<=a)return t();if("PM"===o&&this._isPmEnabled){if(e<=a)return t()}else if("PM"===o&&this._isAmEnabled)return t()}}return t}},{key:"_handleKeyboard",value:function(){var e=this;Va.on(this._document,"keydown","",(function(t){var n,r=(i=e._options).maxHour,o=i.minHour,i=i.increment,a=null!==is.findOne(".".concat(Vc)),s=null!==is.findOne(".".concat(Kc)),c=Number(e._hand.style.transform.replace(/[^\d-]/g,"")),l=is.find(".".concat(Vc),e._modal),u=is.find(".".concat(Hc),e._modal),A=is.find(".".concat(Kc),e._modal),d=""!==r?Number(r):"",f=""!==o?Number(o):"",h=e._makeHourDegrees(t.target,c,void 0).hour,p=(v=e._makeHourDegrees(t.target,c,void 0)).degrees,m=v.addDegrees,g=(v=e._makeMinutesDegrees(c,void 0)).minute,v=v.degrees,y=e._makeMinutesDegrees(c,void 0).addDegrees;c=e._makeInnerHoursDegrees(c,void 0).hour;27===t.keyCode&&(n=is.findOne(".".concat(bc),e._modal),Va.trigger(n,"click")),a?(38===t.keyCode&&(es(e._hand,{transform:"rotateZ(".concat(v+=y,"deg)")}),g+=1,i&&"0014"===(g+=4)&&(g=5),e._minutes.textContent=e._setHourOrMinute(59<g?0:g),e._toggleClassActive(e.minutesArray,e._minutes,l),e._toggleBackgroundColorCircle("".concat(Vc))),40===t.keyCode&&(es(e._hand,{transform:"rotateZ(".concat(v-=y,"deg)")}),i?g-=5:--g,-1===g?g=59:-5===g&&(g=55),e._minutes.textContent=e._setHourOrMinute(g),e._toggleClassActive(e.minutesArray,e._minutes,l),e._toggleBackgroundColorCircle("".concat(Vc)))):(s&&(39===t.keyCode&&(e._isInner=!1,es(e._hand,{height:"calc(40% + 1px)"}),e._hour.textContent=e._setHourOrMinute(12<h?1:h),e._toggleClassActive(e.hoursArray,e._hour,u),e._toggleClassActive(e.innerHours,e._hour,A)),37===t.keyCode&&(e._isInner=!0,es(e._hand,{height:"21.5%"}),e._hour.textContent=e._setHourOrMinute(24<=c||"00"===c?0:c),e._toggleClassActive(e.innerHours,e._hour,A),e._toggleClassActive(e.hoursArray,e._hour-1,u))),38===t.keyCode&&(e._handlerMaxMinHoursOptions(p+30,(function(){return es(e._hand,{transform:"rotateZ(".concat(p+m,"deg)")})}),r,o),e._isInner?(24===(c+=1)?c=0:25!==c&&"001"!==c||(c=13),e._hour.textContent=e._setHourOrMinute(c),e._toggleClassActive(e.innerHours,e._hour,A)):(h+=1,""!==r&&""!==o?r<h?h=d:h<o&&(h=f):""!==r&&""===o?r<h&&(h=d):""===r&&""!==o&&12<=h&&(h=12),e._hour.textContent=e._setHourOrMinute(12<h?1:h),e._toggleClassActive(e.hoursArray,e._hour,u))),40===t.keyCode&&(e._handlerMaxMinHoursOptions(p-30,(function(){return es(e._hand,{transform:"rotateZ(".concat(p-m,"deg)")})}),r,o),e._isInner?(12===--c?c=0:-1===c&&(c=23),e._hour.textContent=e._setHourOrMinute(c),e._toggleClassActive(e.innerHours,e._hour,A)):(--h,""!==r&&""!==o?d<h?h=d:h<f&&(h=f):""===r&&""!==o?h<=f&&(h=f):""!==r&&""===o&&h<=1&&(h=1),e._hour.textContent=e._setHourOrMinute(0===h?12:h),e._toggleClassActive(e.hoursArray,e._hour,u))))}))}},{key:"_setActiveClassToTipsOnOpen",value:function(e){var t=this;if(!this._isInvalidTimeFormat){for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];[].concat(r).filter((function(e){return"PM"===e?Ja(t._PM,vc):"AM"===e?Ja(t._AM,vc):(ts(t._AM,vc),ts(t._PM,vc)),e}));var i=is.find(".".concat(Hc),this._modal);this._addActiveClassToTip(i,e)}}},{key:"_setTipsAndTimesDependOnInputValue",value:function(e,t){var n=(r=this._options).inline,r=r.format12;this._isInvalidTimeFormat?(this._hour.textContent="12",this._minutes.textContent="00",n||es(this._hand,{transform:"rotateZ(0deg)"}),r&&Ja(this._PM,vc)):(r=12<e?30*e-360:30*e,this._hour.textContent=e,this._minutes.textContent=t,n||(es(this._hand,{transform:"rotateZ(".concat(r,"deg)")}),es(this._circle,{backgroundColor:"#1976d2"}),(12<Number(e)||"00"===e)&&es(this._hand,{height:"21.5%"})))}},{key:"_listenToToggleKeydown",value:function(){var e=this;Va.on(this._element,"keydown","[data-mdb-toggle='".concat(this.toggleElement,"']"),(function(t){13===t.keyCode&&(t.preventDefault(),Va.trigger(e.elementToggle,"click"))}))}},{key:"_handleOpen",value:function(){var e=this;Ka(this._element,"click","[data-mdb-toggle='".concat(this.toggleElement,"']"),(function(t){var n;null!==e._options&&(n=null!==Ya(e.input,"toggle")?200:0,setTimeout((function(){es(e.elementToggle,{pointerEvents:"none"}),e.elementToggle.blur(),v=""===ac(e.input)[0]?["12","00","PM"]:ac(e.input);var n,r,o,i,a,s,c,l,u,A,d=(p=e._options).modalID,f=p.inline,h=p.format12,p=p.overflowHidden,m=(v=uc(v,3))[0],g=v[1],v=v[2],y=sa("div");(12<Number(m)||"00"===m)&&(e._isInner=!0),e.input.blur(),t.target.blur(),y.innerHTML=(r=(n=e._options).okLabel,o=n.cancelLabel,A=n.headID,i=n.footerID,a=n.bodyID,u=n.pickerID,s=n.clearLabel,c=n.showClearBtn,l=n.amLabel,n=n.pmLabel,"<div id='".concat(u,"' class='timepicker-wrapper h-full flex items-center justify-center flex-col fixed'>\n      <div class=\"flex items-center justify-center flex-col timepicker-container\">\n        <div class=\"flex flex-col timepicker-elements justify-around\">\n        <div id='").concat(A,"' class='timepicker-head flex flex-row items-center justify-center'>\n        <div class='timepicker-head-content flex w-100 justify-evenly'>\n            <div class=\"timepicker-current-wrapper\">\n              <span class=\"relative h-100\">\n                <button type='button' class='timepicker-current timepicker-hour active ripple' tabindex=\"0\">21</button>\n              </span>\n              <button type='button' class='timepicker-dot' disabled>:</button>\n            <span class=\"relative h-100\">\n              <button type='button' class='timepicker-current timepicker-minute ripple' tabindex=\"0\">21</button>\n            </span>\n            </div>\n            <div class=\"flex flex-col justify-center timepicker-mode-wrapper\">\n              <button type='button' class=\"timepicker-hour-mode timepicker-am ripple\" tabindex=\"0\">").concat(l,'</button>\n              <button class="timepicker-hour-mode timepicker-pm ripple" tabindex="0">').concat(n,"</button>\n            </div>\n        </div>\n      </div>\n      <div id='").concat(a,"' class='timepicker-clock-wrapper flex justify-center flex-col items-center'>\n        <div class='timepicker-clock'>\n          <span class='timepicker-middle-dot absolute'></span>\n          <div class='timepicker-hand-pointer absolute'>\n            <div class='timepicker-circle absolute'></div>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div id='").concat(i,"' class='timepicker-footer'>\n      <div class=\"w-full flex justify-between\">\n        ").concat(c?"<button type='button' class='timepicker-button timepicker-clear ripple' tabindex=\"0\">".concat(s,"</button>"):"","\n        <button type='button' class='timepicker-button timepicker-cancel ripple' tabindex=\"0\">").concat(o,"</button>\n        <button type='button' class='timepicker-button timepicker-submit ripple' tabindex=\"0\">").concat(r,"</button>\n      </div>\n    </div>\n  </div>\n</div>")),Ja(y,Mc),y.setAttribute("role","dialog"),y.setAttribute("tabIndex","-1"),y.setAttribute("id",d),f&&(e._popper=Et(e.input,y,{placement:"bottom-start"})),e._document.body.appendChild(y),e._getDomElements(),e._toggleBackdropAnimation(),e._setActiveClassToTipsOnOpen(m,g,v),e._appendTimes(),e._setActiveClassToTipsOnOpen(m,g,v),e._setTipsAndTimesDependOnInputValue(m,g),""===e.input.value&&(u=is.find(".".concat(Hc),e._modal),h&&Ja(e._PM,vc),e._hour.textContent="12",e._minutes.textContent="00",e._addActiveClassToTip(u,Number(e._hour.textContent))),e._handleSwitchTimeMode(),e._handleOkButton(),e._handleClose(),f?(e._handleHoverInlineBtn(),e._handleDocumentClickInline(),e._handleInlineClicks()):(e._handleSwitchHourMinute(),e._handleClockClick(),e._handleKeyboard(),es(e._hour,{pointerEvents:"none"}),es(e._minutes,{pointerEvents:""})),p&&(A=window.innerWidth>document.documentElement.clientWidth,es(e._document.body,{overflow:"hidden"}),!oc()&&A&&es(e._document.body,{paddingRight:"15px"})),e._focusTrap=new xs(e._wrapper,{event:"keydown",condition:function(e){return"Tab"===e.key}}),e._focusTrap.trap()}),n))}))}},{key:"_handleInlineClicks",value:function(){var e=this;Ka(this._modal,"click mousedown mouseup touchstart touchend contextmenu",".".concat(Tc,", .").concat(Ic),(function(t){function n(t){t=d(t),e._hour.textContent=e._setHourOrMinute(t)}function r(t){t=A(t),e._minutes.textContent=e._setHourOrMinute(t)}function o(){n(l+=1)}function i(){r(u+=1)}function a(){n(--l)}function s(){r(--u)}var c=t.target,l=(t=t.type,Number(e._hour.textContent)),u=Number(e._minutes.textContent),A=function(e){return 59<e?e=0:e<0&&(e=59),e},d=function(e){return 12<e?e=1:e<1&&(e=12),12<e?1:e};ns(c,Tc)?ns(c.parentNode,Dc)?"mousedown"===t||"touchstart"===t?(clearInterval(e._interval),e._interval=setInterval(o,100)):"mouseup"===t||"touchend"===t||"contextmenu"===t?clearInterval(e._interval):o():"mousedown"===t||"touchstart"===t?(clearInterval(e._interval),e._interval=setInterval(i,100)):"mouseup"===t||"touchend"===t||"contextmenu"===t?clearInterval(e._interval):i():ns(c,Ic)&&(ns(c.parentNode,Dc)?"mousedown"===t||"touchstart"===t?(clearInterval(e._interval),e._interval=setInterval(a,100)):"mouseup"===t||"touchend"===t?clearInterval(e._interval):a():"mousedown"===t||"touchstart"===t?(clearInterval(e._interval),e._interval=setInterval(s,100)):"mouseup"===t||"touchend"===t?clearInterval(e._interval):s())}))}},{key:"_handleClose",value:function(){var e=this;Va.on(this._modal,"click",".".concat(Zc,", .").concat(bc,", .").concat(wc),(function(t){t=t.target;var n,r,o,i=e._options.closeModalOnBackdropClick;ns(t,wc)?(e.input.value="",ts(e.input,"active"),n=(o=uc(o=""===ac(e.input)[0]?["12","00","PM"]:ac(e.input),3))[0],r=o[1],o=o[2],e._setTipsAndTimesDependOnInputValue("12","00"),e._setActiveClassToTipsOnOpen(n,r,o),e._hour.click()):(ns(t,bc)||ns(t,Zc)&&i)&&(es(e.elementToggle,{pointerEvents:"auto"}),e._toggleBackdropAnimation(!0),e._removeModal(),e._focusTrap.disable(),e._focusTrap=null,e.elementToggle?e.elementToggle.focus():e.input&&e.input.focus())}))}},{key:"showValueInput",value:function(){return this.input.value}},{key:"_handleOkButton",value:function(){var e=this;Ka(this._modal,"click",".".concat(_c),(function(){var t=(n=e._options).readOnly,n=n.focusInputAfterApprove,r=e._document.querySelector(".".concat(Fc,".").concat(vc)),o="".concat(e._hour.textContent,":").concat(e._minutes.textContent);Ja(e.input,"active"),es(e.elementToggle,{pointerEvents:"auto"}),e._isInvalidTimeFormat&&ts(e.input,"is-invalid"),!t&&n&&e.input.focus(),es(e.elementToggle,{pointerEvents:"auto"}),e.input.value=null===r?"".concat(o," PM"):"".concat(o," ").concat(r.textContent),e._toggleBackdropAnimation(!0),e._removeModal(),Va.trigger(e.input,"input.mdb.timepicker")}))}},{key:"_handleHoverInlineBtn",value:function(){var e=this;Ka(this._modal,"mouseover mouseleave",".".concat(Sc),(function(t){var n=t.type,r=(t=t.target,is.find(".".concat(Pc),e._modal)),o=is.find(".".concat(Lc),e._modal);"mouseover"===n?ns(t,Nc)?r.forEach((function(e){return Ja(e,vc)})):o.forEach((function(e){return Ja(e,vc)})):ns(t,Nc)?r.forEach((function(e){return ts(e,vc)})):o.forEach((function(e){return ts(e,vc)}))}))}},{key:"_handleDocumentClickInline",value:function(){var e=this;Va.on(document,"click",(function(t){t=t.target,!e._modal||e._modal.contains(t)||ns(t,"timepicker-icon")||(clearInterval(e._interval),es(e.elementToggle,{pointerEvents:"auto"}),e._removeModal())}))}},{key:"_handleSwitchHourMinute",value:function(){var e,t=this;e=kc,Va.on(document,"click",e,(function(t){t=t.target,ns(t,"active")||(document.querySelectorAll(e).forEach((function(e){ns(e,"active")&&ts(e,"active")})),Ja(t,"active"))})),Va.on(this._modal,"click",kc,(function(){function e(e,n){o.forEach((function(e){return e.remove()})),r.forEach((function(e){return e.remove()})),Ja(t._hand,zc),setTimeout((function(){ts(t._hand,zc)}),401),t._getAppendClock(e,".".concat(Cc),n),setTimeout((function(){var e,n;e=is.find(".".concat(Hc),t._modal),n=is.find(".".concat(Vc),t._modal),t._addActiveClassToTip(e,a),t._addActiveClassToTip(n,s)}),401)}var n=is.find(kc,t._modal),r=is.find(".".concat(Vc),t._modal),o=is.find(".".concat(Hc),t._modal),i=is.find(".".concat(Kc),t._modal),a=Number(t._hour.textContent),s=Number(t._minutes.textContent);n.forEach((function(n){ns(n,vc)&&(ns(n,Uc)?(Ja(t._hand,zc),es(t._hand,{transform:"rotateZ(".concat(6*t._minutes.textContent,"deg)"),height:"calc(40% + 1px)"}),0<i.length&&i.forEach((function(e){return e.remove()})),e(t.minutesArray,"".concat(Vc)),t._hour.style.pointerEvents="",t._minutes.style.pointerEvents="none"):ns(n,Nc)&&(es(t._hand,{transform:"rotateZ(".concat(30*t._hour.textContent,"deg)")}),12<Number(t._hour.textContent)?(es(t._hand,{transform:"rotateZ(".concat(30*t._hour.textContent-360,"deg)"),height:"21.5%"}),12<Number(t._hour.textContent)&&es(t._hand,{height:"21.5%"})):es(t._hand,{height:"calc(40% + 1px)"}),0<i.length&&i.forEach((function(e){return e.remove()})),e(t.hoursArray,"".concat(Hc)),es(t._hour,{pointerEvents:"none"}),es(t._minutes,{pointerEvents:""})))}))}))}},{key:"_handleSwitchTimeMode",value:function(){Va.on(document,"click",".".concat(Fc),(function(e){e=e.target,ns(e,vc)||(is.find(".".concat(Fc)).forEach((function(e){ns(e,vc)&&ts(e,vc)})),Ja(e,vc))}))}},{key:"_handleClockClick",value:function(){var e=this,t=is.findOne(".".concat(jc));Ka(document,"mousedown mouseup mousemove mouseleave mouseover touchstart touchmove touchend","",(function(n){oc()||n.preventDefault();var r=(o=e._options).maxHour,o=o.minHour,i=n.type,a=n.target,s=(c=e._options).closeModalOnMinutesClick,c=c.switchHoursToMinutesOnClick,l=null!==is.findOne(".".concat(Vc),e._modal),u=null!==is.findOne(".".concat(Hc),e._modal),A=null!==is.findOne(".".concat(Kc),e._modal),d=is.find(".".concat(Vc),e._modal),f=rc(n,t),h=t.offsetWidth/2,p=(f=Math.atan2(f.y-h,f.x-h),oc()&&(m=rc(n,t,!0),f=Math.atan2(m.y-h,m.x-h)),null);if("mousedown"===i||"mousemove"===i||"touchmove"===i||"touchstart"===i?"mousedown"!==i&&"touchstart"!==i&&"touchmove"!==i||(ns(a,jc)||ns(a,Cc)||ns(a,Vc)||ns(a,Ec)||ns(a,Kc)||ns(a,Hc)||ns(a,xc)||ns(a,Oc)||ns(a,Qc)||ns(a,$c)||ns(a,qc))&&(e._isMouseMove=!0,oc()&&n.touches&&(m=n.touches[0].clientX,h=n.touches[0].clientY,p=document.elementFromPoint(m,h))):"mouseup"!==i&&"touchend"!==i||(e._isMouseMove=!1,(ns(a,Cc)||ns(a,Ec)||ns(a,Kc)||ns(a,Hc)||ns(a,xc)||ns(a,Oc)||ns(a,Qc)||ns(a,$c)||ns(a,qc))&&(u||A)&&c&&Va.trigger(e._minutes,"click"),l&&s&&(m=is.findOne(".".concat(_c),e._modal),Va.trigger(m,"click"))),l){if(h=Math.trunc(180*f/Math.PI)+90,c=(i=e._makeMinutesDegrees(h,void 0)).degrees,s=i.minute,void 0===e._handlerMaxMinMinutesOptions(c,s))return;var m=e._handlerMaxMinMinutesOptions(c,s);l=m.degrees,h=m.minute;if(e._isMouseMove){if(es(e._hand,{transform:"rotateZ(".concat(l,"deg)")}),void 0===h)return;e._minutes.textContent=10<=h||"00"===h?h:"0".concat(h),e._toggleClassActive(e.minutesArray,e._minutes,d),e._toggleBackgroundColorCircle("".concat(Vc)),e._objWithDataOnChange.degreesMinutes=l,e._objWithDataOnChange.minutes=h}}if(u||A){var g=Math.trunc(180*f/Math.PI)+90;g=30*Math.round(g/30);if(es(e._circle,{backgroundColor:"#1976d2"}),void 0===e._makeHourDegrees(a,g,void 0))return;e._objWithDataOnChange.degreesHours=g,e._handlerMaxMinHoursOptions(g,(function(){var t,n;return oc()&&g?(t=(n=e._makeHourDegrees(p,g,void 0)).degrees,n=n.hour,e._handleMoveHand(p,n,t)):(t=(n=e._makeHourDegrees(a,g,void 0)).degrees,n=n.hour,e._handleMoveHand(a,n,t))}),r,o)}n.stopPropagation()}))}},{key:"_handleMoveHand",value:function(e,t,n){var r=is.find(".".concat(Hc),this._modal),o=is.find(".".concat(Kc),this._modal);this._isMouseMove&&(ns(e,Ec)||ns(e,Kc)||ns(e,qc)?es(this._hand,{height:"21.5%"}):es(this._hand,{height:"calc(40% + 1px)"}),es(this._hand,{transform:"rotateZ(".concat(n,"deg)")}),this._hour.textContent=10<=t||"00"===t?t:"0".concat(t),this._toggleClassActive(this.hoursArray,this._hour,r),this._toggleClassActive(this.innerHours,this._hour,o),this._objWithDataOnChange.hour=10<=t||"00"===t?t:"0".concat(t))}},{key:"_handlerMaxMinMinutesOptions",value:function(e,t){var n=(o=this._options).increment,r=o.maxTime,o=o.minTime,i=ac(r,!1)[1],a=ac(o,!1)[1],s=ac(r,!1)[0],c=ac(o,!1)[0],l=ac(r,!1)[2],u=ac(o,!1)[2];i=""!==i?6*i:"",a=""!==a?6*a:"";if(void 0===l&&void 0===u){if(""!==r&&""!==o){if(e<=i&&a<=e)return e}else if(""!==o&&Number(this._hour.textContent)<=Number(c)){if(e<=a-6)return e}else if(""!==r&&Number(this._hour.textContent)>=Number(s)&&i+6<=e)return e}else if(""!==o){if("PM"===u&&this._isAmEnabled)return;if("PM"===u&&this._isPmEnabled){if(Number(this._hour.textContent)<Number(c))return;if(Number(this._hour.textContent)<=Number(c)&&e<=a-6)return e}else if("AM"===u&&this._isAmEnabled){if(Number(this._hour.textContent)<Number(c))return;if(Number(this._hour.textContent)<=Number(c)&&e<=a-6)return e}}else if(""!==r){if("AM"===l&&this._isPmEnabled)return;if("PM"===l&&this._isPmEnabled){if(Number(this._hour.textContent)>=Number(s)&&i+6<=e)return e}else if("AM"===l&&this._isAmEnabled&&Number(this._hour.textContent)>=Number(s)&&i+6<=e)return e}return(e=n?30*Math.round(e/30):e)<=0?e=360+e:360<=e&&(e=0),{degrees:e,minute:t}}},{key:"_removeModal",value:function(){var e=this;setTimeout((function(){e._modal.remove(),es(e._document.body,{overflow:""}),oc()||es(e._document.body,{paddingRight:""})}),300),function(e,t,n,r){for(var o=t.split(" "),i=0;i<o.length;i++)qa.off(e,o[i],n,r)}(this._document,"click keydown mousedown mouseup mousemove mouseleave mouseover touchmove touchend")}},{key:"_toggleBackdropAnimation",value:function(){0<arguments.length&&void 0!==arguments[0]&&arguments[0]?(Ja(this._wrapper,"animation"),Ja(this._wrapper,"fade-out"),this._wrapper.style.animationDuration="300ms"):(Ja(this._wrapper,"animation"),Ja(this._wrapper,"fade-in"),this._wrapper.style.animationDuration="300ms",this._options.inline||Ja(this._clock,Bc))}},{key:"_addActiveClassToTip",value:function(e,t){e.forEach((function(e){Number(e.textContent)===Number(t)&&Ja(e,vc)}))}},{key:"_setHourOrMinute",value:function(e){return e<10?"0".concat(e):e}},{key:"_appendTimes",value:function(){this._getAppendClock(this.hoursArray,".".concat(Cc),"".concat(Hc))}},{key:"_getConfig",value:function(e){var t=Wa(this._element);return e=lc(lc(lc({},Wc),t),e),ia(mc,e,Yc),e}}])&&hc(t.prototype,n),r&&hc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();n=Xc;function Jc(e){return(Jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function el(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}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){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):el(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nl(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)}}Va.on(window,"DOMContentLoaded",(function(){is.find(".".concat(mc)).forEach((function(e){Xc.getInstance(e)||new Xc(e)}))}));var rl="stepper",ol="mdb.stepper",il=".".concat(ol),al="horizontal",sl="vertical",cl={stepperType:"string",stepperLinear:"boolean",stepperNoEditable:"boolean",stepperActive:"string",stepperCompleted:"string",stepperInvalid:"string",stepperDisabled:"string",stepperVerticalBreakpoint:"number",stepperMobileBreakpoint:"number",stepperMobileBarBreakpoint:"number"},ll={stepperType:al,stepperLinear:!1,stepperNoEditable:!1,stepperActive:"",stepperCompleted:"",stepperInvalid:"",stepperDisabled:"",stepperVerticalBreakpoint:0,stepperMobileBreakpoint:0,stepperMobileBarBreakpoint:4},ul="mousedown".concat(il),Al="keydown".concat(il),dl="keyup".concat(il),fl="resize".concat(il),hl="animationend",pl="".concat(rl,"-step"),ml="".concat(rl,"-head"),gl="".concat(rl,"-content"),vl="".concat(rl,"-active"),yl="".concat(rl,"-completed"),bl="".concat(rl,"-invalid"),wl="".concat(rl,"-disabled"),_l="".concat(rl,"-").concat(sl),xl="".concat(rl,"-content-hide"),Bl="".concat(rl,"-").concat(al),Cl=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._element=t,this._options=this._getConfig(n),this._elementHeight=0,this._steps=is.find(".".concat(pl),this._element),this._currentView="",this._activeStepIndex=0,this._verticalStepperStyles=[],this._element&&(Ca(t,ol,this),this._init())}var t,n,r;return t=e,r=[{key:"NAME",get:function(){return rl}},{key:"getInstance",value:function(e){return Ea(e,ol)}},{key:"getOrCreateInstance",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===Jc(t)?t:null)}}],(n=[{key:"activeStep",get:function(){return this._steps[this._activeStepIndex]}},{key:"activeStepIndex",get:function(){return this._activeStepIndex}},{key:"dispose",value:function(){this._steps.forEach((function(e){Va.off(e,ul),Va.off(e,Al)})),Va.off(window,fl),ja(this._element,ol),this._element=null}},{key:"changeStep",value:function(e){this._toggleStep(e)}},{key:"nextStep",value:function(){this._toggleStep(this._activeStepIndex+1)}},{key:"previousStep",value:function(){this._toggleStep(this._activeStepIndex-1)}},{key:"_init",value:function(){var e=is.findOne(".".concat(vl),this._element);e?this._activeStepIndex=this._steps.indexOf(e):this._toggleStepClass(this._activeStepIndex,"add",vl),this._toggleStepClass(this._activeStepIndex,"add",this._options.stepperActive),this._bindMouseDown(),this._bindKeysNavigation(),this._options.stepperType===sl?this._toggleVertical():this._toggleHorizontal(),(this._options.stepperVerticalBreakpoint||this._options.stepperMobileBreakpoint)&&this._toggleStepperView(),this._bindResize()}},{key:"_getConfig",value:function(e){var t=Wa(this._element);return e=tl(tl(tl({},ll),t),e),ia(rl,e,cl),e}},{key:"_bindMouseDown",value:function(){var e=this;this._steps.forEach((function(t){t=is.findOne(".".concat(ml),t),Va.on(t,ul,(function(t){var n=is.parents(t.target,".".concat(pl))[0];n=e._steps.indexOf(n);t.preventDefault(),e._toggleStep(n)}))}))}},{key:"_bindResize",value:function(){var e=this;Va.on(window,fl,(function(){e._currentView===sl&&e._setSingleStepHeight(e.activeStep),e._currentView===al&&e._setHeight(e.activeStep),(e._options.stepperVerticalBreakpoint||e._options.stepperMobileBreakpoint)&&e._toggleStepperView()}))}},{key:"_toggleStepperView",value:function(){var e=this,t=this._options.stepperVerticalBreakpoint<window.innerWidth,n=this._options.stepperVerticalBreakpoint>window.innerWidth,r=this._options.stepperMobileBreakpoint>window.innerWidth;t&&this._currentView!==al&&this._toggleHorizontal(),n&&!r&&this._currentView!==sl&&(this._steps.forEach((function(t){t=is.findOne(".".concat(gl),t),e._resetStepperHeight(),e._showElement(t)})),this._toggleVertical())}},{key:"_toggleStep",value:function(e){this._activeStepIndex!==e&&(this._options.stepperNoEditable&&this._toggleDisabled(),this._showElement(is.findOne(".".concat(gl),this._steps[e])),this._toggleActive(e),e>this._activeStepIndex&&this._toggleCompleted(this._activeStepIndex),this._currentView===al?this._animateHorizontalStep(e):(this._animateVerticalStep(e),this._setSingleStepHeight(this._steps[e])),this._toggleStepTabIndex(is.findOne(".".concat(ml),this.activeStep),is.findOne(".".concat(ml),this._steps[e])),this._activeStepIndex=e)}},{key:"_resetStepperHeight",value:function(){this._element.style.height=""}},{key:"_setStepsHeight",value:function(){var e=this;this._steps.forEach((function(t){t=is.findOne(".".concat(gl),t);var n=window.getComputedStyle(t);e._verticalStepperStyles.push({paddingTop:parseFloat(n.paddingTop),paddingBottom:parseFloat(n.paddingBottom)}),n=t.scrollHeight;t.style.height="".concat(n,"px")}))}},{key:"_setSingleStepHeight",value:function(e){var t=is.findOne(".".concat(gl),e),n=this.activeStep===e;e=this._steps.indexOf(e),n=n?(t.style.height="",t.scrollHeight):t.scrollHeight+this._verticalStepperStyles[e].paddingTop+this._verticalStepperStyles[e].paddingBottom;t.style.height="".concat(n,"px")}},{key:"_toggleVertical",value:function(){this._currentView=sl,this._toggleStepperClass(_l),this._setStepsHeight(),this._hideInactiveSteps()}},{key:"_toggleHorizontal",value:function(){this._currentView=al,this._toggleStepperClass(Bl),this._setHeight(this.activeStep),this._hideInactiveSteps()}},{key:"_toggleStepperClass",value:function(e){this._element.classList.remove(Bl,_l),this._element.classList.add(e),e!==_l&&this._steps.forEach((function(e){is.findOne(".".concat(gl),e).classList.remove(xl)}))}},{key:"_toggleStepClass",value:function(e,t,n){n&&this._steps[e].classList[t](n)}},{key:"_bindKeysNavigation",value:function(){var e=this;this._toggleStepTabIndex(!1,is.findOne(".".concat(ml),this.activeStep)),this._steps.forEach((function(t){t=is.findOne(".".concat(ml),t),Va.on(t,Al,(function(t){var n=is.parents(t.currentTarget,".".concat(pl))[0],r=is.next(n,".".concat(pl))[0],o=is.prev(n,".".concat(pl))[0],i=is.findOne(".".concat(ml),n),a=is.findOne(".".concat(ml),e.activeStep),s=null,c=null;r&&(s=is.findOne(".".concat(ml),r)),o&&(c=is.findOne(".".concat(ml),o)),37===t.keyCode&&e._currentView!==sl&&(c?(e._toggleStepTabIndex(i,c),e._toggleOutlineStyles(i,c),c.focus()):s&&(e._toggleStepTabIndex(i,s),e._toggleOutlineStyles(i,s),s.focus())),39===t.keyCode&&e._currentView!==sl&&(s?(e._toggleStepTabIndex(i,s),e._toggleOutlineStyles(i,s),s.focus()):c&&(e._toggleStepTabIndex(i,c),e._toggleOutlineStyles(i,c),c.focus())),40===t.keyCode&&e._currentView===sl&&(t.preventDefault(),s&&(e._toggleStepTabIndex(i,s),e._toggleOutlineStyles(i,s),s.focus())),38===t.keyCode&&e._currentView===sl&&(t.preventDefault(),c&&(e._toggleStepTabIndex(i,c),e._toggleOutlineStyles(i,c),c.focus())),36===t.keyCode&&(r=is.findOne(".".concat(ml),e._steps[0]),e._toggleStepTabIndex(i,r),e._toggleOutlineStyles(i,r),r.focus()),35===t.keyCode&&(o=e._steps[e._steps.length-1],s=is.findOne(".".concat(ml),o),e._toggleStepTabIndex(i,s),e._toggleOutlineStyles(i,s),s.focus()),13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),e.changeStep(e._steps.indexOf(n))),9===t.keyCode&&(e._toggleStepTabIndex(i,a),e._toggleOutlineStyles(i,!1),a.focus())})),Va.on(t,dl,(function(t){var n=is.parents(t.currentTarget,".".concat(pl))[0],r=(n=is.findOne(".".concat(ml),n),is.findOne(".".concat(ml),e.activeStep));9===t.keyCode&&(e._toggleStepTabIndex(n,r),e._toggleOutlineStyles(!1,r),r.focus())}))}))}},{key:"_toggleStepTabIndex",value:function(e,t){e&&e.setAttribute("tabIndex",-1),t&&t.setAttribute("tabIndex",0)}},{key:"_toggleOutlineStyles",value:function(e,t){e&&(e.style.outline=""),t&&(t.style.outline="revert")}},{key:"_toggleDisabled",value:function(){this._toggleStepClass(this._activeStepIndex,"add",wl),this._toggleStepClass(this._activeStepIndex,"add",this._options.stepperDisabled)}},{key:"_toggleActive",value:function(e){this._toggleStepClass(e,"add",vl),this._toggleStepClass(this._activeStepIndex,"remove",vl),this._toggleStepClass(e,"add",this._options.stepperActive),this._toggleStepClass(this._activeStepIndex,"remove",this._options.stepperActive)}},{key:"_toggleCompleted",value:function(e){this._toggleStepClass(e,"add",yl),this._toggleStepClass(e,"remove",bl),this._toggleStepClass(e,"add",this._options.stepperCompleted),this._toggleStepClass(e,"remove",this._options.stepperInvalid)}},{key:"_hideInactiveSteps",value:function(){var e=this;this._steps.forEach((function(t){t.classList.contains(vl)||e._hideElement(is.findOne(".".concat(gl),t))}))}},{key:"_setHeight",value:function(e){var t=is.findOne(".".concat(gl),e),n=getComputedStyle(t),r=(e=is.findOne(".".concat(ml),e),getComputedStyle(e));t=t.offsetHeight+parseFloat(n.marginTop)+parseFloat(n.marginBottom),n=e.offsetHeight+parseFloat(r.marginTop)+parseFloat(r.marginBottom);this._element.style.height="".concat(n+t,"px")}},{key:"_hideElement",value:function(e){is.parents(e,".".concat(pl))[0].classList.contains(vl)||this._currentView===sl?e.classList.add(xl):e.style.display="none"}},{key:"_showElement",value:function(e){this._currentView===sl?e.classList.remove(xl):e.style.display="block"}},{key:"_animateHorizontalStep",value:function(e){var t,n=this,r=e>this._activeStepIndex,o=is.findOne(".".concat(gl),this._steps[e]),i=is.findOne(".".concat(gl),this.activeStep);this._steps.forEach((function(t,r){t=is.findOne(".".concat(gl),t),n._clearStepAnimation(t),r!==e&&r!==n._activeStepIndex&&n._hideElement(t)})),r=r?(t="slide-out-left","slide-in-right"):(t="slide-out-right","slide-in-left"),i.classList.add(t,"animation","fast"),o.classList.add(r,"animation","fast"),this._setHeight(this._steps[e]),Va.one(i,hl,(function(e){n._clearStepAnimation(e.target),n._hideElement(e.target)})),Va.one(o,hl,(function(e){n._clearStepAnimation(e.target)}))}},{key:"_animateVerticalStep",value:function(e){e=is.findOne(".".concat(gl),this._steps[e]);var t=is.findOne(".".concat(gl),this.activeStep);this._hideElement(t),this._showElement(e)}},{key:"_clearStepAnimation",value:function(e){e.classList.remove("slide-out-left","slide-in-right","slide-out-right","slide-in-left","animation","fast")}}])&&nl(t.prototype,n),r&&nl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();is.find('[data-mdb-stepper="stepper"]').forEach((function(e){return Cl.getInstance(e)||new Cl(e)})),il=Cl;window.Alert=qt,window.Button=t,window.Dropdown=Kt,window.Carousel=Ur,window.Collapse=en,window.Offcanvas=tn,window.Modal=oo,window.Popover=Zo,window.ScrollSpy=pr,window.Tab=$i,window.Toast=ua,window.Tooltip=ci,window.Ripple=ws,window.Datepicker=zs,window.Timepicker=n,window.Stepper=il}])},1561:function(e,t,n){"use strict";var r=n(2791);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,l(o)&&u({inst:o})}),[e,n,t]),a((function(){return l(o)&&u({inst:o}),e((function(){l(o)&&u({inst:o})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},7595:function(e,t,n){"use strict";var r=n(2791),o=n(7248);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,c=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var A=s(null);if(null===A.current){var d={hasValue:!1,value:null};A.current=d}else d=A.current;A=l((function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,c=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,o]);var f=a(e,A[0],A[1]);return c((function(){d.hasValue=!0,d.value=f}),[f]),u(f),f}},7248:function(e,t,n){"use strict";e.exports=n(1561)},327:function(e,t,n){"use strict";e.exports=n(7595)},907:function(e,t,n){"use strict";function r(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}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5861:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9142);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},7762:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},9388:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1120),o=n(8814),i=n(2963);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},8814:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002),o=n(7326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},4165:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function A(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{A({},"")}catch(e){A=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new N(r||[]);return a(i,"_invoke",{value:j(e,n,s)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};A(w,c,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(F([])));x&&x!==n&&i.call(x,c)&&(w=x);var B=b.prototype=v.prototype=Object.create(w);function C(e){["next","throw","return"].forEach((function(t){A(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,s,c){var l=f(e[o],e,a);if("throw"!==l.type){var u=l.arg,A=u.value;return A&&"object"==(0,r.Z)(A)&&i.call(A,"__await")?t.resolve(A.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(A).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function j(t,n,r){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=k(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var l=f(t,n,r);if("normal"===l.type){if(o=r.done?m:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function k(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function F(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.Z)(t)+" is not iterable")}return y.prototype=b,a(B,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=A(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,A(e,u,"GeneratorFunction")),e.prototype=Object.create(B),e},t.awrap=function(e){return{__await:e}},C(E.prototype),A(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(B),A(B,u,"Generator"),A(B,c,(function(){return this})),A(B,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=F,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:F(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||(0,r.Z)(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.")}()}},2982:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);var o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(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.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002: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)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(i,a),i}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+"."+{598:"543cff46",787:"33fa5de9"}[e]+".chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="ncdc-eshop:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var s,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var A=l[u];if(A.getAttribute("src")==r||A.getAttribute("data-webpack")==t+i){s=A;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];var d=function(t,n){s.onerror=s.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(n)})),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),c&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="/",function(){var e={179:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),s=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=function(t,r){var o,i,a=r[0],s=r[1],c=r[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(c)c(n)}for(t&&t(r);l<a.length;l++)i=a[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkncdc_eshop=self.webpackChunkncdc_eshop||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{VERSION:function(){return Av},after:function(){return Rb},all:function(){return sw},allKeys:function(){return xy},any:function(){return cw},assign:function(){return Ry},before:function(){return $b},bind:function(){return Sb},bindAll:function(){return Fb},chain:function(){return Cb},chunk:function(){return qw},clone:function(){return Ky},collect:function(){return tw},compact:function(){return Iw},compose:function(){return Mb},constant:function(){return iy},contains:function(){return lw},countBy:function(){return xw},create:function(){return qy},debounce:function(){return Db},default:function(){return zw},defaults:function(){return $y},defer:function(){return Lb},delay:function(){return Pb},detect:function(){return Xb},difference:function(){return Lw},drop:function(){return Nw},each:function(){return ew},escape:function(){return fb},every:function(){return sw},extend:function(){return My},extendOwn:function(){return Ry},filter:function(){return iw},find:function(){return Xb},findIndex:function(){return Vb},findKey:function(){return qb},findLastIndex:function(){return zb},findWhere:function(){return Jb},first:function(){return Ow},flatten:function(){return Pw},foldl:function(){return rw},foldr:function(){return ow},forEach:function(){return ew},functions:function(){return Qy},get:function(){return Wy},groupBy:function(){return ww},has:function(){return Yy},head:function(){return Ow},identity:function(){return Xy},include:function(){return lw},includes:function(){return lw},indexBy:function(){return _w},indexOf:function(){return Wb},initial:function(){return Sw},inject:function(){return rw},intersection:function(){return Uw},invert:function(){return Dy},invoke:function(){return uw},isArguments:function(){return ny},isArray:function(){return Jv},isArrayBuffer:function(){return qv},isBoolean:function(){return Lv},isDataView:function(){return Xv},isDate:function(){return Mv},isElement:function(){return Tv},isEmpty:function(){return py},isEqual:function(){return _y},isError:function(){return $v},isFinite:function(){return ry},isFunction:function(){return zv},isMap:function(){return Ny},isMatch:function(){return my},isNaN:function(){return oy},isNull:function(){return Iv},isNumber:function(){return Uv},isObject:function(){return Fv},isRegExp:function(){return Rv},isSet:function(){return Iy},isString:function(){return Qv},isSymbol:function(){return Hv},isTypedArray:function(){return Ay},isUndefined:function(){return Pv},isWeakMap:function(){return Fy},isWeakSet:function(){return Py},iteratee:function(){return rb},keys:function(){return hy},last:function(){return Fw},lastIndexOf:function(){return Yb},map:function(){return tw},mapObject:function(){return ib},matcher:function(){return Jy},matches:function(){return Jy},max:function(){return fw},memoize:function(){return Ib},methods:function(){return Qy},min:function(){return hw},mixin:function(){return Vw},negate:function(){return Ub},noop:function(){return ab},now:function(){return ub},object:function(){return $w},omit:function(){return kw},once:function(){return Hb},pairs:function(){return Ty},partial:function(){return kb},partition:function(){return Bw},pick:function(){return jw},pluck:function(){return Aw},property:function(){return eb},propertyOf:function(){return sb},random:function(){return lb},range:function(){return Hw},reduce:function(){return rw},reduceRight:function(){return ow},reject:function(){return aw},rest:function(){return Nw},restArguments:function(){return Nv},result:function(){return _b},sample:function(){return gw},select:function(){return iw},shuffle:function(){return vw},size:function(){return Cw},some:function(){return cw},sortBy:function(){return yw},sortedIndex:function(){return Zb},tail:function(){return Nw},take:function(){return Ow},tap:function(){return Vy},template:function(){return wb},templateSettings:function(){return pb},throttle:function(){return Tb},times:function(){return cb},toArray:function(){return mw},toPath:function(){return zy},transpose:function(){return Mw},unescape:function(){return hb},union:function(){return Qw},uniq:function(){return Dw},unique:function(){return Dw},uniqueId:function(){return Bb},unzip:function(){return Mw},values:function(){return Ly},where:function(){return dw},without:function(){return Tw},wrap:function(){return Qb},zip:function(){return Rw}});var t=n(2791),r=n.t(t,2),o=n(1250),i=n(4942);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(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}function l(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=l(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var u=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=l(e))&&(r&&(r+=" "),r+=t);return r},A=n(184),d={sm:"h-4 w-4",md:"h-8 w-8",lg:"h-16 w-16",xl:"h-24 w-24"},f={light:"text-white",primary:"text-green-600"},h=function(e){var t=e.size,n=void 0===t?"md":t,r=e.variant,o=void 0===r?"primary":r,i=e.className,a=void 0===i?"":i;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("svg",{className:u("animate-spin",d[n],f[o],a),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","data-testid":"loading",children:[(0,A.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,A.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),(0,A.jsx)("span",{className:"sr-only",children:"Loading"})]})},p=n.p+"static/media/logo.642cd8ae74cd49c758c6.png",m=n.p+"static/media/spinner.4e63666927f8e2926dca.gif",g=function(){return(0,A.jsx)("div",{children:(0,A.jsx)("img",{src:m,className:"h-40",alt:"Loading..."})})},v=["type","className","variant","size","isLoading","startIcon","endIcon"],y={primary:"bg-green-500 text-white",inverse:"bg-white text-blue-600",danger:"bg-red-600 text-white"},b={sm:"py-2 px-4 text-sm",md:"py-2 px-6 text-md",lg:"py-3 px-8 text-lg"},w=t.forwardRef((function(e,t){var n=e.type,r=void 0===n?"button":n,o=e.className,i=void 0===o?"":o,a=e.variant,l=void 0===a?"primary":a,d=e.size,f=void 0===d?"md":d,p=e.isLoading,m=void 0!==p&&p,g=e.startIcon,w=e.endIcon,_=c(e,v);return(0,A.jsxs)("button",s(s({ref:t,type:r,className:u("flex justify-center items-center border-0 disabled:opacity-70 disabled:cursor-not-allowed rounded-md shadow-sm font-medium focus:outline-none",y[l],b[f],i)},_),{},{children:[m&&(0,A.jsx)(h,{size:"sm",className:"text-white"}),!m&&g,(0,A.jsx)("span",{className:"mx-2",children:_.children})," ",!m&&w]}))}));w.displayName="Button";var _=n(7762),x=n(2982),B=n(885);function C(e,t){if(e in t){for(var n=t[e],r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return"function"==typeof n?n.apply(void 0,o):n}var a=new Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map((function(e){return'"'.concat(e,'"')})).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,C),a}var E=["static"],j=["unmount"],k=["as","children","refName"],S=function(e){return e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e}(S||{}),O=function(e){return e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e}(O||{});function N(e){var t=e.ourProps,n=e.theirProps,r=e.slot,o=e.defaultTag,a=e.features,l=e.visible,u=void 0===l||l,A=e.name,d=P(n,t);if(u)return F(d,r,o,A);var f=null!=a?a:0;if(2&f){var h=d.static,p=void 0!==h&&h,m=c(d,E);if(p)return F(m,r,o,A)}if(1&f){var g,v=d.unmount,y=void 0===v||v,b=c(d,j);return C(y?0:1,(g={},(0,i.Z)(g,0,(function(){return null})),(0,i.Z)(g,1,(function(){return F(s(s({},b),{},{hidden:!0,style:{display:"none"}}),r,o,A)})),g))}return F(d,r,o,A)}function F(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=D(e,["unmount","static"]),s=a.as,l=void 0===s?r:s,u=a.children,A=a.refName,d=void 0===A?"ref":A,f=c(a,k),h=void 0!==e.ref?(0,i.Z)({},d,e.ref):{},p="function"==typeof u?u(n):u;f.className&&"function"==typeof f.className&&(f.className=f.className(n));var m={};if(n){for(var g=!1,v=[],y=0,b=Object.entries(n);y<b.length;y++){var w=(0,B.Z)(b[y],2),_=w[0],x=w[1];"boolean"==typeof x&&(g=!0),!0===x&&v.push(_)}g&&(m["data-headlessui-state"]=v.join(" "))}if(l===t.Fragment&&Object.keys(T(f)).length>0){if(!(0,t.isValidElement)(p)||Array.isArray(p)&&p.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <".concat(o,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(f).map((function(e){return"  - ".concat(e)})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((function(e){return"  - ".concat(e)})).join("\n")].join("\n"));return(0,t.cloneElement)(p,Object.assign({},P(p.props,T(D(f,["ref"]))),m,h,I(p.ref,h.ref)))}return(0,t.createElement)(l,Object.assign({},D(f,["ref"]),l!==t.Fragment&&h,l!==t.Fragment&&m),p)}function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return{ref:t.every((function(e){return null==e}))?void 0:function(e){var n,r=(0,_.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;null!=o&&("function"==typeof o?o(e):o.current=e)}}catch(i){r.e(i)}finally{r.f()}}}}function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];for(var r={},o={},a=0,s=t;a<s.length;a++){var c=s[a];for(var l in c)l.startsWith("on")&&"function"==typeof c[l]?(null!=o[l]||(o[l]=[]),o[l].push(c[l])):r[l]=c[l]}if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(o).map((function(e){return[e,void 0]}))));var u=function(e){Object.assign(r,(0,i.Z)({},e,(function(t){for(var n=o[e],r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var s,c=(0,_.Z)(n);try{for(c.s();!(s=c.n()).done;){var l=s.value;if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;l.apply(void 0,[t].concat(i))}}catch(u){c.e(u)}finally{c.f()}})))};for(var A in o)u(A);return r}function L(e){var n;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(n=e.displayName)?n:e.name})}function T(e){var t=Object.assign({},e);for(var n in t)void 0===t[n]&&delete t[n];return t}function D(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e),o=(0,_.Z)(n);try{for(o.s();!(t=o.n()).done;){var i=t.value;i in r&&delete r[i]}}catch(a){o.e(a)}finally{o.f()}return r}var Q="undefined"==typeof window||"undefined"==typeof document,U=Q?t.useEffect:t.useLayoutEffect;function M(e){var n=(0,t.useRef)(e);return U((function(){n.current=e}),[e]),n}var R=function(e){var n=M(e);return t.useCallback((function(){return n.current.apply(n,arguments)}),[n])},$=Symbol();function H(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.assign(e,(0,i.Z)({},$,t))}function q(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,t.useRef)(n);(0,t.useEffect)((function(){o.current=n}),[n]);var i=R((function(e){var t,n=(0,_.Z)(o.current);try{for(n.s();!(t=n.n()).done;){var r=t.value;null!=r&&("function"==typeof r?r(e):r.current=e)}}catch(i){n.e(i)}finally{n.f()}}));return n.every((function(e){return null==e||(null==e?void 0:e[$])}))?void 0:i}var K=function(e){return e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e}(K||{});function V(e){for(var t=e.parentElement,n=null;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;var r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;for(var t=e.previousElementSibling;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}var z,Z={serverHandoffComplete:!1};function G(){var e=(0,t.useState)(Z.serverHandoffComplete),n=(0,B.Z)(e,2),r=n[0],o=n[1];return(0,t.useEffect)((function(){!0!==r&&o(!0)}),[r]),(0,t.useEffect)((function(){!1===Z.serverHandoffComplete&&(Z.serverHandoffComplete=!0)}),[]),r}var W=0;function Y(){return++W}var X=null!=(z=t.useId)?z:function(){var e=G(),n=t.useState(e?Y:null),r=(0,B.Z)(n,2),o=r[0],i=r[1];return U((function(){null===o&&i(Y())}),[o]),null!=o?""+o:void 0},J=["features"],ee=function(e){return e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e}(ee||{}),te=L((function(e,t){var n=e.features,r=void 0===n?1:n,o=c(e,J);return N({ourProps:{ref:t,"aria-hidden":2===(2&r)||void 0,style:s({position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},4===(4&r)&&2!==(2&r)&&{display:"none"})},theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})})),ne=n(4165),re=n(5861);function oe(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function ie(){var e=[],t=[],n={enqueue:function(e){t.push(e)},addEventListener:function(e,t,r,o){return e.addEventListener(t,r,o),n.add((function(){return e.removeEventListener(t,r,o)}))},requestAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=requestAnimationFrame.apply(void 0,arguments);return n.add((function(){return cancelAnimationFrame(e)}))})),nextFrame:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.requestAnimationFrame((function(){return n.requestAnimationFrame.apply(n,t)}))},setTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=setTimeout.apply(void 0,arguments);return n.add((function(){return clearTimeout(e)}))})),microTask:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o={current:!0};return oe((function(){o.current&&t[0]()})),n.add((function(){o.current=!1}))},add:function(t){return e.push(t),function(){var n=e.indexOf(t);if(n>=0){var r=e.splice(n,1);(0,(0,B.Z)(r,1)[0])()}}},dispose:function(){var t,n=(0,_.Z)(e.splice(0));try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(r){n.e(r)}finally{n.f()}},workQueue:function(){return(0,re.Z)((0,ne.Z)().mark((function e(){var n,r,o;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,_.Z)(t.splice(0)),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=9;break}return o=r.value,e.next=7,o();case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})))()}};return n}function ae(e){return Q?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}var se=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((function(e){return"".concat(e,":not([tabindex='-1'])")})).join(","),ce=function(e){return e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e}(ce||{}),le=function(e){return e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e}(le||{}),ue=function(e){return e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e}(ue||{});function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(se))}var de=function(e){return e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e}(de||{});function fe(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(n=ae(e))?void 0:n.body)&&C(r,(t={},(0,i.Z)(t,0,(function(){return e.matches(se)})),(0,i.Z)(t,1,(function(){for(var t=e;null!==t;){if(t.matches(se))return!0;t=t.parentElement}return!1})),t))}function he(e){var t=ae(e);ie().nextFrame((function(){t&&!fe(t.activeElement,0)&&pe(e)}))}function pe(e){null==e||e.focus({preventScroll:!0})}var me=["textarea","input"].join(",");function ge(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,me))&&n}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return e.slice().sort((function(e,n){var r=t(e),o=t(n);if(null===r||null===o)return 0;var i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function ye(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?ve(e):e:Ae(e);r=null!=r?r:o.activeElement;var a,s=function(){if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),c=function(){if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),l=32&t?{preventScroll:!0}:{},u=0,A=i.length;do{if(u>=A||u+A<=0)return 0;var d=c+u;if(16&t)d=(d+A)%A;else{if(d<0)return 3;if(d>=A)return 1}null==(a=i[d])||a.focus(l),u+=s}while(a!==o.activeElement);return 6&t&&ge(a)&&a.select(),a.hasAttribute("tabindex")||a.setAttribute("tabindex","0"),2}var be=function(e){return e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e}(be||{});function we(){var e=(0,t.useRef)(0);return function(e,n,r){var o=M(n);(0,t.useEffect)((function(){function t(e){o.current(e)}return window.addEventListener(e,t,r),function(){return window.removeEventListener(e,t,r)}}),[e,r])}("keydown",(function(t){"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}function _e(){var e=(0,t.useRef)(!1);return U((function(){return e.current=!0,function(){e.current=!1}}),[]),e}function xe(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,t.useMemo)((function(){return ae.apply(void 0,n)}),[].concat(n))}function Be(e,n,r,o){var i=M(r);(0,t.useEffect)((function(){function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(n,t,o),function(){return e.removeEventListener(n,t,o)}}),[e,n,o])}function Ce(e,n){var r=(0,t.useRef)([]),o=R(e);(0,t.useEffect)((function(){var e,t=(0,x.Z)(r.current),i=(0,_.Z)(n.entries());try{for(i.s();!(e=i.n()).done;){var a=(0,B.Z)(e.value,2),s=a[0],c=a[1];if(r.current[s]!==c){var l=o(n,t);return r.current=n,l}}}catch(u){i.e(u)}finally{i.f()}}),[o].concat((0,x.Z)(n)))}var Ee=["initialFocus","containers","features"],je=function(e){return e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e}(je||{}),ke=Object.assign(L((function(e,n){var r=(0,t.useRef)(null),o=q(r,n),a=e.initialFocus,s=e.containers,l=e.features,u=void 0===l?30:l,A=c(e,Ee);G()||(u=1);var d=xe(r);!function(e,n){var r=e.ownerDocument,o=(0,t.useRef)(null);Be(null==r?void 0:r.defaultView,"focusout",(function(e){!n||o.current||(o.current=e.target)}),!0),Ce((function(){n||((null==r?void 0:r.activeElement)===(null==r?void 0:r.body)&&pe(o.current),o.current=null)}),[n]);var i=(0,t.useRef)(!1);(0,t.useEffect)((function(){return i.current=!1,function(){i.current=!0,oe((function(){!i.current||(pe(o.current),o.current=null)}))}}),[])}({ownerDocument:d},Boolean(16&u));var f=function(e,n){var r=e.ownerDocument,o=e.container,i=e.initialFocus,a=(0,t.useRef)(null),s=_e();return Ce((function(){if(n){var e=o.current;!e||oe((function(){if(s.current){var t=null==r?void 0:r.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===t)return void(a.current=t)}else if(e.contains(t))return void(a.current=t);null!=i&&i.current?pe(i.current):ye(e,ce.First)===le.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.current=null==r?void 0:r.activeElement}}))}}),[n]),a}({ownerDocument:d,container:r,initialFocus:a},Boolean(2&u));!function(e,t){var n=e.ownerDocument,r=e.container,o=e.containers,i=e.previousActiveElement,a=_e();Be(null==n?void 0:n.defaultView,"focus",(function(e){if(t&&a.current){var n=new Set(null==o?void 0:o.current);n.add(r);var s=i.current;if(s){var c=e.target;c&&c instanceof HTMLElement?function(e,t){var n,r,o=(0,_.Z)(e);try{for(o.s();!(r=o.n()).done;){if(null!=(n=r.value.current)&&n.contains(t))return!0}}catch(i){o.e(i)}finally{o.f()}return!1}(n,c)?(i.current=c,pe(c)):(e.preventDefault(),e.stopPropagation(),pe(s)):pe(i.current)}}}),!0)}({ownerDocument:d,container:r,containers:s,previousActiveElement:f},Boolean(8&u));var h=we(),p=R((function(){var e,t=r.current;!t||C(h.current,(e={},(0,i.Z)(e,be.Forwards,(function(){return ye(t,ce.First)})),(0,i.Z)(e,be.Backwards,(function(){return ye(t,ce.Last)})),e))})),m={ref:o};return t.createElement(t.Fragment,null,Boolean(4&u)&&t.createElement(te,{as:"button",type:"button",onFocus:p,features:ee.Focusable}),N({ourProps:m,theirProps:A,defaultTag:"div",name:"FocusTrap"}),Boolean(4&u)&&t.createElement(te,{as:"button",type:"button",onFocus:p,features:ee.Focusable}))})),{features:je});var Se=new Set,Oe=new Map;function Ne(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Fe(e){var t=Oe.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}var Ie=n(4164),Pe=(0,t.createContext)(!1);function Le(){return(0,t.useContext)(Pe)}function Te(e){return t.createElement(Pe.Provider,{value:e.force},e.children)}var De=["target"];var Qe=t.Fragment,Ue=L((function(e,n){var r=e,o=(0,t.useRef)(null),i=q(H((function(e){o.current=e})),n),a=xe(o),s=function(e){var n=Le(),r=(0,t.useContext)(Re),o=xe(e),i=(0,t.useState)((function(){if(!n&&null!==r||Q)return null;var e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;var t=o.createElement("div");return t.setAttribute("id","headlessui-portal-root"),o.body.appendChild(t)})),a=(0,B.Z)(i,2),s=a[0],c=a[1];return(0,t.useEffect)((function(){null!==s&&(null!=o&&o.body.contains(s)||null==o||o.body.appendChild(s))}),[s,o]),(0,t.useEffect)((function(){n||null!==r&&c(r.current)}),[r,c,n]),s}(o),c=(0,t.useState)((function(){var e;return Q?null:null!=(e=null==a?void 0:a.createElement("div"))?e:null})),l=(0,B.Z)(c,1)[0],u=G(),A=(0,t.useRef)(!1);return U((function(){if(A.current=!1,s&&l)return s.contains(l)||(l.setAttribute("data-headlessui-portal",""),s.appendChild(l)),function(){A.current=!0,oe((function(){var e;!A.current||!s||!l||(s.removeChild(l),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s)))}))}}),[s,l]),u&&s&&l?(0,Ie.createPortal)(N({ourProps:{ref:i},theirProps:r,defaultTag:Qe,name:"Portal"}),l):null})),Me=t.Fragment,Re=(0,t.createContext)(null),$e=L((function(e,n){var r=e.target,o=c(e,De),i={ref:q(n)};return t.createElement(Re.Provider,{value:r},N({ourProps:i,theirProps:o,defaultTag:Me,name:"Popover.Group"}))})),He=Object.assign(Ue,{Group:$e}),qe=(0,t.createContext)(null);function Ke(){var e=(0,t.useContext)(qe);if(null===e){var n=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Ke),n}return e}var Ve=L((function(e,t){var n=Ke(),r="headlessui-description-".concat(X()),o=q(t);U((function(){return n.register(r)}),[r,n.register]);var i=e;return N({ourProps:s(s({ref:o},n.props),{},{id:r}),theirProps:i,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})})),ze=(0,t.createContext)(null);ze.displayName="OpenClosedContext";var Ze=function(e){return e[e.Open=0]="Open",e[e.Closed=1]="Closed",e}(Ze||{});function Ge(){return(0,t.useContext)(ze)}function We(e){var n=e.value,r=e.children;return t.createElement(ze.Provider,{value:n},r)}var Ye=(0,t.createContext)((function(){}));Ye.displayName="StackContext";var Xe=function(e){return e[e.Add=0]="Add",e[e.Remove=1]="Remove",e}(Xe||{});function Je(e){var n=e.children,r=e.onUpdate,o=e.type,i=e.element,a=e.enabled,s=(0,t.useContext)(Ye),c=R((function(){null==r||r.apply(void 0,arguments),s.apply(void 0,arguments)}));return U((function(){var e=void 0===a||!0===a;return e&&c(0,o,i),function(){e&&c(1,o,i)}}),[c,o,i,a]),t.createElement(Ye.Provider,{value:c},n)}function et(e,n,r){var o=M(n);(0,t.useEffect)((function(){function t(e){o.current(e)}return document.addEventListener(e,t,r),function(){return document.removeEventListener(e,t,r)}}),[e,r])}function tt(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=(0,t.useRef)(!1);function i(t,r){if(o.current&&!t.defaultPrevented){var i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),a=r(t);if(null!==a&&a.getRootNode().contains(a)){var s,c=(0,_.Z)(i);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(null!==l){var u=l instanceof HTMLElement?l:l.current;if(null!=u&&u.contains(a))return}}}catch(A){c.e(A)}finally{c.f()}return!fe(a,de.Loose)&&-1!==a.tabIndex&&t.preventDefault(),n(t,a)}}}(0,t.useEffect)((function(){requestAnimationFrame((function(){o.current=r}))}),[r]);var a=(0,t.useRef)(null);et("mousedown",(function(e){var t,n;o.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),et("click",(function(e){!a.current||(i(e,(function(){return a.current})),a.current=null)}),!0),et("blur",(function(e){return i(e,(function(){return window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null}))}),!0)}var nt=["open","onClose","initialFocus","__demoMode"],rt=function(e){return e[e.Open=0]="Open",e[e.Closed=1]="Closed",e}(rt||{}),ot=function(e){return e[e.SetTitleId=0]="SetTitleId",e}(ot||{}),it=(0,i.Z)({},0,(function(e,t){return e.titleId===t.id?e:s(s({},e),{},{titleId:t.id})})),at=(0,t.createContext)(null);function st(e){var n=(0,t.useContext)(at);if(null===n){var r=new Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(r,st),r}return n}function ct(e,n){(0,t.useEffect)((function(){var t;if(n&&e){var r=ie(),o=e.documentElement,a=(null!=(t=e.defaultView)?t:window).innerWidth-o.clientWidth;if(l(o,"overflow","hidden"),a>0){var s=o.clientWidth-o.offsetWidth;l(o,"paddingRight","".concat(a-s,"px"))}if(/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0){var c=window.pageYOffset;l(o,"position","fixed"),l(o,"marginTop","-".concat(c,"px")),l(o,"width","100%"),r.add((function(){return window.scrollTo(0,c)}))}return r.dispose}function l(e,t,n){var o=e.style.getPropertyValue(t);return Object.assign(e.style,(0,i.Z)({},t,n)),r.add((function(){Object.assign(e.style,(0,i.Z)({},t,o))}))}}),[e,n])}function lt(e,t){return C(t.type,it,e,t)}at.displayName="DialogContext";var ut=S.RenderStrategy|S.Static,At=L((function(e,n){var r,o=e.open,a=e.onClose,s=e.initialFocus,l=e.__demoMode,u=void 0!==l&&l,A=c(e,nt),d=(0,t.useState)(0),f=(0,B.Z)(d,2),h=f[0],p=f[1],m=Ge();void 0===o&&null!==m&&(o=C(m,(r={},(0,i.Z)(r,Ze.Open,!0),(0,i.Z)(r,Ze.Closed,!1),r)));var g=(0,t.useRef)(new Set),v=(0,t.useRef)(null),y=q(v,n),b=(0,t.useRef)(null),w=xe(v),E=e.hasOwnProperty("open")||null!==m,j=e.hasOwnProperty("onClose");if(!E&&!j)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!j)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof o)throw new Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(o));if("function"!=typeof a)throw new Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(a));var k=o?0:1,S=(0,t.useReducer)(lt,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),O=(0,B.Z)(S,2),F=O[0],I=O[1],P=R((function(){return a(!1)})),L=R((function(e){return I({type:0,id:e})})),T=!!G()&&(!u&&0===k),D=h>1,Q=null!==(0,t.useContext)(at),M=D?"parent":"leaf";(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];U((function(){if(t&&e.current){var n=e.current,r=ae(n);if(r){Se.add(n);var o,i=(0,_.Z)(Oe.keys());try{for(i.s();!(o=i.n()).done;){var a=o.value;a.contains(n)&&(Fe(a),Oe.delete(a))}}catch(s){i.e(s)}finally{i.f()}return r.querySelectorAll("body > *").forEach((function(e){if(e instanceof HTMLElement){var t,n=(0,_.Z)(Se);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e.contains(r))return}}catch(s){n.e(s)}finally{n.f()}1===Se.size&&(Oe.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),Ne(e))}})),function(){if(Se.delete(n),Se.size>0)r.querySelectorAll("body > *").forEach((function(e){if(e instanceof HTMLElement&&!Oe.has(e)){var t,n=(0,_.Z)(Se);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e.contains(r))return}}catch(s){n.e(s)}finally{n.f()}Oe.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),Ne(e)}}));else{var e,t=(0,_.Z)(Oe.keys());try{for(t.s();!(e=t.n()).done;){var o=e.value;Fe(o),Oe.delete(o)}}catch(s){t.e(s)}finally{t.f()}}}}}}),[t])})(v,!!D&&T),tt((function(){var e,t;return[].concat((0,x.Z)(Array.from(null!=(e=null==w?void 0:w.querySelectorAll("body > *, [data-headlessui-portal]"))?e:[]).filter((function(e){return!(!(e instanceof HTMLElement)||e.contains(b.current)||F.panelRef.current&&e.contains(F.panelRef.current))}))),[null!=(t=F.panelRef.current)?t:v.current])}),P,T&&!D),Be(null==w?void 0:w.defaultView,"keydown",(function(e){e.defaultPrevented||e.key===K.Escape&&0===k&&(D||(e.preventDefault(),e.stopPropagation(),P()))})),ct(w,0===k&&!Q),(0,t.useEffect)((function(){if(0===k&&v.current){var e=new IntersectionObserver((function(e){var t,n=(0,_.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;0===r.boundingClientRect.x&&0===r.boundingClientRect.y&&0===r.boundingClientRect.width&&0===r.boundingClientRect.height&&P()}}catch(o){n.e(o)}finally{n.f()}}));return e.observe(v.current),function(){return e.disconnect()}}}),[k,v,P]);var $=function(){var e=(0,t.useState)([]),n=(0,B.Z)(e,2),r=n[0],o=n[1];return[r.length>0?r.join(" "):void 0,(0,t.useMemo)((function(){return function(e){var n=R((function(e){return o((function(t){return[].concat((0,x.Z)(t),[e])})),function(){return o((function(t){var n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))}})),r=(0,t.useMemo)((function(){return{register:n,slot:e.slot,name:e.name,props:e.props}}),[n,e.slot,e.name,e.props]);return t.createElement(qe.Provider,{value:r},e.children)}}),[o])]}(),H=(0,B.Z)($,2),V=H[0],z=H[1],Z="headlessui-dialog-".concat(X()),W=(0,t.useMemo)((function(){return[{dialogState:k,close:P,setTitleId:L},F]}),[k,F,P,L]),Y=(0,t.useMemo)((function(){return{open:0===k}}),[k]),J={ref:y,id:Z,role:"dialog","aria-modal":0===k||void 0,"aria-labelledby":F.titleId,"aria-describedby":V};return t.createElement(Je,{type:"Dialog",enabled:0===k,element:v,onUpdate:R((function(e,t,n){var r;"Dialog"===t&&C(e,(r={},(0,i.Z)(r,Xe.Add,(function(){g.current.add(n),p((function(e){return e+1}))})),(0,i.Z)(r,Xe.Remove,(function(){g.current.add(n),p((function(e){return e-1}))})),r))}))},t.createElement(Te,{force:!0},t.createElement(He,null,t.createElement(at.Provider,{value:W},t.createElement(He.Group,{target:v},t.createElement(Te,{force:!1},t.createElement(z,{slot:Y,name:"Dialog.Description"},t.createElement(ke,{initialFocus:s,containers:g,features:T?C(M,{parent:ke.features.RestoreFocus,leaf:ke.features.All&~ke.features.FocusLock}):ke.features.None},N({ourProps:J,theirProps:A,slot:Y,defaultTag:"div",features:ut,visible:0===k,name:"Dialog"})))))))),t.createElement(te,{features:ee.Hidden,ref:b}))})),dt=L((function(e,n){var r=st("Dialog.Overlay"),o=(0,B.Z)(r,1)[0],i=o.dialogState,a=o.close,s=q(n),c="headlessui-dialog-overlay-".concat(X()),l=R((function(e){if(e.target===e.currentTarget){if(V(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}}));return N({ourProps:{ref:s,id:c,"aria-hidden":!0,onClick:l},theirProps:e,slot:(0,t.useMemo)((function(){return{open:0===i}}),[i]),defaultTag:"div",name:"Dialog.Overlay"})})),ft=L((function(e,n){var r=st("Dialog.Backdrop"),o=(0,B.Z)(r,2),i=o[0].dialogState,a=o[1],s=q(n),c="headlessui-dialog-backdrop-".concat(X());(0,t.useEffect)((function(){if(null===a.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[a.panelRef]);var l=(0,t.useMemo)((function(){return{open:0===i}}),[i]);return t.createElement(Te,{force:!0},t.createElement(He,null,N({ourProps:{ref:s,id:c,"aria-hidden":!0},theirProps:e,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),ht=L((function(e,n){var r=st("Dialog.Panel"),o=(0,B.Z)(r,2),i=o[0].dialogState,a=q(n,o[1].panelRef),s="headlessui-dialog-panel-".concat(X()),c=(0,t.useMemo)((function(){return{open:0===i}}),[i]),l=R((function(e){e.stopPropagation()}));return N({ourProps:{ref:a,id:s,onClick:l},theirProps:e,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),pt=L((function(e,n){var r=st("Dialog.Title"),o=(0,B.Z)(r,1)[0],i=o.dialogState,a=o.setTitleId,s="headlessui-dialog-title-".concat(X()),c=q(n);(0,t.useEffect)((function(){return a(s),function(){return a(null)}}),[s,a]);var l=(0,t.useMemo)((function(){return{open:0===i}}),[i]);return N({ourProps:{ref:c,id:s},theirProps:e,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),mt=Object.assign(At,{Backdrop:ft,Panel:ht,Overlay:dt,Title:pt,Description:Ve}),gt=(n(132),mt.Title,mt.Description,n(8703)),vt=n.n(gt),yt=n(5671),bt=n(3144);function wt(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var _t={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};var xt=/[&<>"']/,Bt=/[&<>"']/g,Ct=/[<>"']|&(?!#?\w+;)/,Et=/[<>"']|&(?!#?\w+;)/g,jt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},kt=function(e){return jt[e]};function St(e,t){if(t){if(xt.test(e))return e.replace(Bt,kt)}else if(Ct.test(e))return e.replace(Et,kt);return e}var Ot=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Nt(e){return e.replace(Ot,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var Ft=/(^|[^\[])\^/g;function It(e,t){e="string"===typeof e?e:e.source,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(Ft,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var Pt=/[^\w:]/g,Lt=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Tt(e,t,n){if(e){var r;try{r=decodeURIComponent(Nt(n)).replace(Pt,"").toLowerCase()}catch(Pe){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!Lt.test(n)&&(n=function(e,t){Dt[" "+e]||(Qt.test(e)?Dt[" "+e]=e+"/":Dt[" "+e]=qt(e,"/",!0));var n=-1===(e=Dt[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Ut,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Mt,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(Pe){return null}return n}var Dt={},Qt=/^[^:]+:\/*[^/]*$/,Ut=/^([^:]+:)[\s\S]*$/,Mt=/^([^:]+:\/*[^/]*)[\s\S]*$/;var Rt={exec:function(){}};function $t(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Ht(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,o=t;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"})),r=n.split(/ \|/),o=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;o<r.length;o++)r[o]=r[o].trim().replace(/\\\|/g,"|");return r}function qt(e,t,n){var r=e.length;if(0===r)return"";for(var o=0;o<r;){var i=e.charAt(r-o-1);if(i!==t||n){if(i===t||!n)break;o++}else o++}return e.slice(0,r-o)}function Kt(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Vt(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function zt(e,t,n,r){var o=t.href,i=t.title?St(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var s={type:"link",raw:n,href:o,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,s}return{type:"image",raw:n,href:o,title:i,text:St(a)}}var Zt=function(){function e(t){(0,yt.Z)(this,e),this.options=t||_t}return(0,bt.Z)(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:qt(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:(0,B.Z)(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=qt(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,o,i,a,s,c,l,u,A,d,f,h=t[1].trim(),p=h.length>1,m={type:"list",raw:"",ordered:p,start:p?+h.slice(0,-1):"",loose:!1,items:[]};h=p?"\\d{1,9}\\".concat(h.slice(-1)):"\\".concat(h),this.options.pedantic&&(h=p?h:"[*+-]");for(var g=new RegExp("^( {0,3}".concat(h,")((?:[\t ][^\\n]*)?(?:\\n|$))"));e&&(f=!1,t=g.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),l=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(i=2,d=l.trimLeft()):(i=(i=t[2].search(/[^ ]/))>4?1:i,d=l.slice(i),i+=t[1].length),s=!1,!l&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),f=!0),!f)for(var v=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))")),y=new RegExp("^ {0,".concat(Math.min(3,i-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),b=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:```|~~~)")),w=new RegExp("^ {0,".concat(Math.min(3,i-1),"}#"));e&&(l=A=e.split("\n",1)[0],this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),!b.test(l))&&!w.test(l)&&!v.test(l)&&!y.test(e);){if(l.search(/[^ ]/)>=i||!l.trim())d+="\n"+l.slice(i);else{if(s)break;d+="\n"+l}s||l.trim()||(s=!0),n+=A+"\n",e=e.substring(A.length+1)}m.loose||(c?m.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(d))&&(o="[ ] "!==r[0],d=d.replace(/^\[[ xX]\] +/,"")),m.items.push({type:"list_item",raw:n,task:!!r,checked:o,loose:!1,text:d}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=d.trimRight(),m.raw=m.raw.trimRight();var x=m.items.length;for(a=0;a<x;a++){this.lexer.state.top=!1,m.items[a].tokens=this.lexer.blockTokens(m.items[a].text,[]);var B=m.items[a].tokens.filter((function(e){return"space"===e.type})),C=B.every((function(e){var t,n=e.raw.split(""),r=0,o=(0,_.Z)(n);try{for(o.s();!(t=o.n()).done;){if("\n"===t.value&&(r+=1),r>1)return!0}}catch(i){o.e(i)}finally{o.f()}return!1}));!m.loose&&B.length&&C&&(m.loose=!0,m.items[a].loose=!0)}return m}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){var r=this.options.sanitizer?this.options.sanitizer(t[0]):St(t[0]);n.type="paragraph",n.text=r,n.tokens=this.lexer.inline(r)}return n}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2]?t[2].replace(this.rules.inline._escapes,"$1"):t[2],title:t[3]?t[3].replace(this.rules.inline._escapes,"$1"):t[3]}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:Ht(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,o,i,a,s=n.align.length;for(r=0;r<s;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(s=n.rows.length,r=0;r<s;r++)n.rows[r]=Ht(n.rows[r],n.header.length).map((function(e){return{text:e}}));for(s=n.header.length,o=0;o<s;o++)n.header[o].tokens=this.lexer.inline(n.header[o].text);for(s=n.rows.length,o=0;o<s;o++)for(a=n.rows[o],i=0;i<a.length;i++)a[i].tokens=this.lexer.inline(a[i].text);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:St(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):St(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=qt(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var o=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&--r<0)return o;return-1}(t[2],"()");if(o>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,i).trim(),t[3]=""}}var a=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),zt(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return zt(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\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\u2150-\u2189\u2460-\u249B\u24EA-\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\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\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\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-\uDF75\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-\uDE00\uDE10-\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-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\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\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\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\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\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\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\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]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))){var o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){var i,a,s=r[0].length-1,c=s,l=0,u="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+s);null!=(r=u.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(a=i.length,r[3]||r[4])c+=a;else if(!((r[5]||r[6])&&s%3)||(s+a)%3){if(!((c-=a)>0)){a=Math.min(a,a+c+l);var A=e.slice(0,s+r.index+(r[0].length-i.length)+a);if(Math.min(s,a)%2){var d=A.slice(1,-1);return{type:"em",raw:A,text:d,tokens:this.lexer.inlineTokens(d)}}var f=A.slice(2,-2);return{type:"strong",raw:A,text:f,tokens:this.lexer.inlineTokens(f)}}}else l+=a}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return r&&o&&(n=n.substring(1,n.length-1)),n=St(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e,t){var n,r,o=this.rules.inline.autolink.exec(e);if(o)return r="@"===o[2]?"mailto:"+(n=St(this.options.mangle?t(o[1]):o[1])):n=St(o[1]),{type:"link",raw:o[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,o;if("@"===n[2])o="mailto:"+(r=St(this.options.mangle?t(n[0]):n[0]));else{var i;do{i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(i!==n[0]);r=St(n[0]),o="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):St(r[0]):r[0]:St(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}}}]),e}(),Gt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Rt,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Gt.def=It(Gt.def).replace("label",Gt._label).replace("title",Gt._title).getRegex(),Gt.bullet=/(?:[*+-]|\d{1,9}[.)])/,Gt.listItemStart=It(/^( *)(bull) */).replace("bull",Gt.bullet).getRegex(),Gt.list=It(Gt.list).replace(/bull/g,Gt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Gt.def.source+")").getRegex(),Gt._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Gt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Gt.html=It(Gt.html,"i").replace("comment",Gt._comment).replace("tag",Gt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gt.paragraph=It(Gt._paragraph).replace("hr",Gt.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gt._tag).getRegex(),Gt.blockquote=It(Gt.blockquote).replace("paragraph",Gt.paragraph).getRegex(),Gt.normal=$t({},Gt),Gt.gfm=$t({},Gt.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Gt.gfm.table=It(Gt.gfm.table).replace("hr",Gt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gt._tag).getRegex(),Gt.gfm.paragraph=It(Gt._paragraph).replace("hr",Gt.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Gt.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gt._tag).getRegex(),Gt.pedantic=$t({},Gt.normal,{html:It("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Gt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Rt,paragraph:It(Gt.normal._paragraph).replace("hr",Gt.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Gt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Wt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Rt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Rt,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function Yt(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function Xt(e){var t,n,r="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}Wt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Wt.punctuation=It(Wt.punctuation).replace(/punctuation/g,Wt._punctuation).getRegex(),Wt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Wt.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,Wt._comment=It(Gt._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Wt.emStrong.lDelim=It(Wt.emStrong.lDelim).replace(/punct/g,Wt._punctuation).getRegex(),Wt.emStrong.rDelimAst=It(Wt.emStrong.rDelimAst,"g").replace(/punct/g,Wt._punctuation).getRegex(),Wt.emStrong.rDelimUnd=It(Wt.emStrong.rDelimUnd,"g").replace(/punct/g,Wt._punctuation).getRegex(),Wt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Wt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Wt._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Wt.autolink=It(Wt.autolink).replace("scheme",Wt._scheme).replace("email",Wt._email).getRegex(),Wt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Wt.tag=It(Wt.tag).replace("comment",Wt._comment).replace("attribute",Wt._attribute).getRegex(),Wt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Wt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Wt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Wt.link=It(Wt.link).replace("label",Wt._label).replace("href",Wt._href).replace("title",Wt._title).getRegex(),Wt.reflink=It(Wt.reflink).replace("label",Wt._label).replace("ref",Gt._label).getRegex(),Wt.nolink=It(Wt.nolink).replace("ref",Gt._label).getRegex(),Wt.reflinkSearch=It(Wt.reflinkSearch,"g").replace("reflink",Wt.reflink).replace("nolink",Wt.nolink).getRegex(),Wt.normal=$t({},Wt),Wt.pedantic=$t({},Wt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:It(/^!?\[(label)\]\((.*?)\)/).replace("label",Wt._label).getRegex(),reflink:It(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Wt._label).getRegex()}),Wt.gfm=$t({},Wt.normal,{escape:It(Wt.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Wt.gfm.url=It(Wt.gfm.url,"i").replace("email",Wt.gfm._extended_email).getRegex(),Wt.breaks=$t({},Wt.gfm,{br:It(Wt.br).replace("{2,}","*").getRegex(),text:It(Wt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Jt=function(){function e(t){(0,yt.Z)(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||_t,this.options.tokenizer=this.options.tokenizer||new Zt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:Gt.normal,inline:Wt.normal};this.options.pedantic?(n.block=Gt.pedantic,n.inline=Wt.pedantic):this.options.gfm&&(n.block=Gt.gfm,this.options.breaks?n.inline=Wt.breaks:n.inline=Wt.gfm),this.tokenizer.rules=n}return(0,bt.Z)(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,o,i=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,n){return t+"    ".repeat(n.length)}));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(t=n.call({lexer:i},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)}))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?a.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),a.push(t);else if(r=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),o=void 0;i.options.extensions.startBlock.forEach((function(e){"number"===typeof(o=e.call({lexer:this},n))&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),this.state.top&&(t=this.tokenizer.paragraph(r)))n=a[a.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):a.push(t),o=r.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),(n=a[a.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):a.push(t);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return this.state.top=!0,a}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,n,r,o,i,a,s=this,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=e;if(this.tokens.links){var u=Object.keys(this.tokens.links);if(u.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)u.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+Vt("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+Vt("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,o.index+o[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(i||(a=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(t=n.call({lexer:s},e,c))&&(e=e.substring(t.raw.length),c.push(t),!0)}))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),(n=c[c.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),(n=c[c.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t);else if(t=this.tokenizer.emStrong(e,l,a))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),c.push(t);else if(t=this.tokenizer.autolink(e,Xt))e=e.substring(t.raw.length),c.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e,Xt))){if(r=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),o=void 0;s.options.extensions.startInline.forEach((function(e){"number"===typeof(o=e.call({lexer:this},n))&&o>=0&&(t=Math.min(t,o))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),t=this.tokenizer.inlineText(r,Yt))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(a=t.raw.slice(-1)),i=!0,(n=c[c.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):c.push(t);else if(e){var A="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(A);break}throw new Error(A)}}else e=e.substring(t.raw.length),c.push(t);return c}}],[{key:"rules",get:function(){return{block:Gt,inline:Wt}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}(),en=function(){function e(t){(0,yt.Z)(this,e),this.options=t||_t}return(0,bt.Z)(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,r);null!=o&&o!==e&&(n=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+St(r,!0)+'">'+(n?e:St(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:St(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n".concat(e,"</blockquote>\n")}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){if(this.options.headerIds){var o=this.options.headerPrefix+r.slug(n);return"<h".concat(t,' id="').concat(o,'">').concat(e,"</h").concat(t,">\n")}return"<h".concat(t,">").concat(e,"</h").concat(t,">\n")}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>".concat(e,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>".concat(e,"</p>\n")}},{key:"table",value:function(e,t){return t&&(t="<tbody>".concat(t,"</tbody>")),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n".concat(e,"</tr>\n")}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<".concat(n,' align="').concat(t.align,'">'):"<".concat(n,">"))+e+"</".concat(n,">\n")}},{key:"strong",value:function(e){return"<strong>".concat(e,"</strong>")}},{key:"em",value:function(e){return"<em>".concat(e,"</em>")}},{key:"codespan",value:function(e){return"<code>".concat(e,"</code>")}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>".concat(e,"</del>")}},{key:"link",value:function(e,t,n){if(null===(e=Tt(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+St(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=Tt(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'.concat(e,'" alt="').concat(n,'"');return t&&(r+=' title="'.concat(t,'"')),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}(),tn=function(){function e(){(0,yt.Z)(this,e)}return(0,bt.Z)(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}(),nn=function(){function e(){(0,yt.Z)(this,e),this.seen={}}return(0,bt.Z)(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}(),rn=function(){function e(t){(0,yt.Z)(this,e),this.options=t||_t,this.options.renderer=this.options.renderer||new en,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new tn,this.slugger=new nn}return(0,bt.Z)(e,[{key:"parse",value:function(e){var t,n,r,o,i,a,s,c,l,u,A,d,f,h,p,m,g,v,y,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],w="",_=e.length;for(t=0;t<_;t++)if(u=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type])||!1===(y=this.options.extensions.renderers[u.type].call({parser:this},u))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type))switch(u.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(u.tokens),u.depth,Nt(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(u.text,u.lang,u.escaped);continue;case"table":for(c="",s="",o=u.header.length,n=0;n<o;n++)s+=this.renderer.tablecell(this.parseInline(u.header[n].tokens),{header:!0,align:u.align[n]});for(c+=this.renderer.tablerow(s),l="",o=u.rows.length,n=0;n<o;n++){for(s="",i=(a=u.rows[n]).length,r=0;r<i;r++)s+=this.renderer.tablecell(this.parseInline(a[r].tokens),{header:!1,align:u.align[r]});l+=this.renderer.tablerow(s)}w+=this.renderer.table(c,l);continue;case"blockquote":l=this.parse(u.tokens),w+=this.renderer.blockquote(l);continue;case"list":for(A=u.ordered,d=u.start,f=u.loose,o=u.items.length,l="",n=0;n<o;n++)m=(p=u.items[n]).checked,g=p.task,h="",p.task&&(v=this.renderer.checkbox(m),f?p.tokens.length>0&&"paragraph"===p.tokens[0].type?(p.tokens[0].text=v+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&"text"===p.tokens[0].tokens[0].type&&(p.tokens[0].tokens[0].text=v+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:v}):h+=v),h+=this.parse(p.tokens,f),l+=this.renderer.listitem(h,g,m);w+=this.renderer.list(l,A,d);continue;case"html":w+=this.renderer.html(u.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(l=u.tokens?this.parseInline(u.tokens):u.text;t+1<_&&"text"===e[t+1].type;)l+="\n"+((u=e[++t]).tokens?this.parseInline(u.tokens):u.text);w+=b?this.renderer.paragraph(l):l;continue;default:var x='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}else w+=y||"";return w}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,o,i="",a=e.length;for(n=0;n<a;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(o=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"escape":case"text":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;default:var s='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}else i+=o||"";return i}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}();function on(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"===typeof t&&(n=t,t=null),Kt(t=$t({},on.defaults,t||{})),n){var r,o=t.highlight;try{r=Jt.lex(e,t)}catch(Pe){return n(Pe)}var i=function(e){var i;if(!e)try{t.walkTokens&&on.walkTokens(r,t.walkTokens),i=rn.parse(r,t)}catch(Pe){e=Pe}return t.highlight=o,e?n(e):n(null,i)};if(!o||o.length<3)return i();if(delete t.highlight,!r.length)return i();var a=0;return on.walkTokens(r,(function(e){"code"===e.type&&(a++,setTimeout((function(){o(e.text,e.lang,(function(t,n){if(t)return i(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--a&&i()}))}),0))})),void(0===a&&i())}function s(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+St(e.message+"",!0)+"</pre>";throw e}try{var c=Jt.lex(e,t);if(t.walkTokens){if(t.async)return Promise.all(on.walkTokens(c,t.walkTokens)).then((function(){return rn.parse(c,t)})).catch(s);on.walkTokens(c,t.walkTokens)}return rn.parse(c,t)}catch(Pe){s(Pe)}}on.options=on.setOptions=function(e){var t;return $t(on.defaults,e),t=on.defaults,_t=t,on},on.getDefaults=wt,on.defaults=_t,on.use=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=$t.apply(void 0,[{}].concat(t)),i=on.defaults.extensions||{renderers:{},childTokens:{}};t.forEach((function(e){if(e.extensions&&(r=!0,e.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=i.renderers?i.renderers[e.name]:null;i.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=e.renderer.apply(this,r);return!1===i&&(i=t.apply(this,r)),i}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");i[e.level]?i[e.level].unshift(e.tokenizer):i[e.level]=[e.tokenizer],e.start&&("block"===e.level?i.startBlock?i.startBlock.push(e.start):i.startBlock=[e.start]:"inline"===e.level&&(i.startInline?i.startInline.push(e.start):i.startInline=[e.start]))}e.childTokens&&(i.childTokens[e.name]=e.childTokens)}))),e.renderer&&function(){var t=on.defaults.renderer||new en,n=function(n){var r=t[n];t[n]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=e.renderer[n].apply(t,i);return!1===s&&(s=r.apply(t,i)),s}};for(var r in e.renderer)n(r);o.renderer=t}(),e.tokenizer&&function(){var t=on.defaults.tokenizer||new Zt,n=function(n){var r=t[n];t[n]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=e.tokenizer[n].apply(t,i);return!1===s&&(s=r.apply(t,i)),s}};for(var r in e.tokenizer)n(r);o.tokenizer=t}(),e.walkTokens){var t=on.defaults.walkTokens;o.walkTokens=function(n){var r=[];return r.push(e.walkTokens.call(this,n)),t&&(r=r.concat(t.call(this,n))),r}}r&&(o.extensions=i),on.setOptions(o)}))},on.walkTokens=function(e,t){var n,r=[],o=(0,_.Z)(e);try{var i=function(){var e=n.value;switch(r=r.concat(t.call(on,e)),e.type){case"table":var o,i=(0,_.Z)(e.header);try{for(i.s();!(o=i.n()).done;){var a=o.value;r=r.concat(on.walkTokens(a.tokens,t))}}catch(f){i.e(f)}finally{i.f()}var s,c=(0,_.Z)(e.rows);try{for(c.s();!(s=c.n()).done;){var l,u=s.value,A=(0,_.Z)(u);try{for(A.s();!(l=A.n()).done;){var d=l.value;r=r.concat(on.walkTokens(d.tokens,t))}}catch(f){A.e(f)}finally{A.f()}}}catch(f){c.e(f)}finally{c.f()}break;case"list":r=r.concat(on.walkTokens(e.items,t));break;default:on.defaults.extensions&&on.defaults.extensions.childTokens&&on.defaults.extensions.childTokens[e.type]?on.defaults.extensions.childTokens[e.type].forEach((function(n){r=r.concat(on.walkTokens(e[n],t))})):e.tokens&&(r=r.concat(on.walkTokens(e.tokens,t)))}};for(o.s();!(n=o.n()).done;)i()}catch(a){o.e(a)}finally{o.f()}return r},on.parseInline=function(e,t){if("undefined"===typeof e||null===e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");Kt(t=$t({},on.defaults,t||{}));try{var n=Jt.lexInline(e,t);return t.walkTokens&&on.walkTokens(n,t.walkTokens),rn.parseInline(n,t)}catch(Pe){if(Pe.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+St(Pe.message+"",!0)+"</pre>";throw Pe}},on.Parser=rn,on.parser=rn.parse,on.Renderer=en,on.TextRenderer=tn,on.Lexer=Jt,on.lexer=Jt.lex,on.Tokenizer=Zt,on.Slugger=nn,on.parse=on;on.options,on.setOptions,on.use,on.walkTokens,on.parseInline,rn.parse,Jt.lex;var an=vt()(window),sn=function(e){var t=e.value,n=void 0===t?"":t;return(0,A.jsx)("div",{className:"p-2 w-full prose prose-indigo",dangerouslySetInnerHTML:{__html:an.sanitize(on(n))}})},cn=function(e){for(var t=e.postsPerPage,n=e.totalPosts,r=e.paginate,o=e.currentPage,i=e.maxPageNumber,a=e.minPageNumber,s=e.paginateFront,c=e.paginateBack,l=[],u=1;u<=Math.ceil(n/t);u++)l.push(u);return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:0===l.length?"hidden":"flex justify-center",children:(0,A.jsx)("nav",{"aria-label":"Page navigation example",children:(0,A.jsxs)("ul",{className:"flex list-style-none",children:[(0,A.jsx)("li",{className:"page-item",children:(0,A.jsx)("button",{onClick:function(){c()},disabled:o===l[0],className:"hover:bg-gray-700 page-link relative block py-1.5 px-3 rounded  border-0 bg-transparent outline-none transition-all duration-300 text-gray-300  focus:shadow-none",children:(0,A.jsx)("span",{"aria-hidden":"true",children:"Previous"})})}),l.map((function(e){return e<i+1&&e>=a?(0,A.jsx)("li",{className:"page-item",children:(0,A.jsx)("button",{onClick:function(){return r(e)},className:o===e?"page-link relative block py-1.5 px-3 bg-gray-200 outline-none transition-all duration-300 rounded text-black focus:shadow-none":"page-link relative block py-1.5 px-3 border-0 bg-transparent outline-none transition-all duration-300 rounded text-gray-500 hover:text-gray-800 hover:bg-gray-200 focus:shadow-none",children:e})},e):null})),(0,A.jsx)("li",{className:"page-item",children:(0,A.jsx)("button",{onClick:function(){s()},disabled:o===l[l.length-1],className:"hover:bg-gray-700 page-link relative block py-1.5 px-3 border-0  bg-transparent outline-none transition-all duration-300 rounded text-gray-300",children:(0,A.jsx)("span",{"aria-hidden":"true",children:"Next"})})})]})})})})},ln=function(e){var n=e.data,r=e.columns,o=(0,t.useState)(""),i=(0,B.Z)(o,2),a=i[0],s=i[1];return(0,t.useEffect)((function(){s(n)}),[n]),null!==a&&void 0!==a&&a.length?(0,A.jsx)("div",{className:"overflow-x-auto relative",children:(0,A.jsxs)("div",{className:"",children:[a.map((function(e,t){return(0,A.jsx)("div",{className:"bg-white border-b border-gray-100 hover:bg-gray-100",children:r.map((function(t,n){var r=t.Cell,o=t.field,i=t.title;return(0,A.jsx)("div",{className:"px-4 py-2 whitespace-nowrap text-xs  font-medium text-gray-600",children:r?(0,A.jsx)(r,{entry:e}):e[o]},i+n)}))},(null===e||void 0===e?void 0:e.id)||t)})),null!==a&&void 0!==a&&a.length?null:(0,A.jsx)("div",{className:"bg-white border-b",children:(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"bg-gray-100 text-gray-600 py-2 rounded-md flex justify-center",children:(0,A.jsx)("h4",{className:"text-gray-600",children:"You have no more entries"})})})})]})}):(0,A.jsx)("div",{className:"bg-white text-gray-500 flex justify-center text-center items-center flex-col",children:(0,A.jsx)("h4",{className:"text-gray-500",children:"No products available"})})},un=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(e)).reduce((function(e,t){return e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"}),"")},An=function(e){var t,n=new Set,r=function(e,r){var o="function"===typeof e?e(t):e;if(!Object.is(o,t)){var i=t;t=(null!=r?r:"object"!==typeof o)?o:Object.assign({},t,o),n.forEach((function(e){return e(t,i)}))}},o=function(){return t},i={setState:r,getState:o,subscribe:function(e){return n.add(e),function(){return n.delete(e)}},destroy:function(){return n.clear()}};return t=e(r,o,i),i},dn=n(327).useSyncExternalStoreWithSelector;var fn,hn=function(e){var n="function"===typeof e?function(e){return e?An(e):An}(e):e,r=function(e,r){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.getState,r=arguments.length>2?arguments[2]:void 0,o=dn(e.subscribe,e.getState,e.getServerState||e.getState,n,r);return(0,t.useDebugValue)(o),o}(n,e,r)};return Object.assign(r,n),r},pn=(fn=function(e){return{notifications:[],addNotification:function(t){return e((function(e){return{notifications:[].concat((0,x.Z)(e.notifications),[s({id:un()},t)])}}))},dismissNotification:function(t){return e((function(e){return{notifications:e.notifications.filter((function(e){return e.id!==t}))}}))}}},fn?hn(fn):hn);function mn(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e&&r.length>0&&(t=e.classList).add.apply(t,r)}function gn(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e&&r.length>0&&(t=e.classList).remove.apply(t,r)}var vn=function(e){return e.Ended="ended",e.Cancelled="cancelled",e}(vn||{});function yn(e,t,n,r){var o=n?"enter":"leave",i=ie(),a=void 0!==r?function(e){var t={called:!1};return function(){if(!t.called)return t.called=!0,e.apply(void 0,arguments)}}(r):function(){};"enter"===o&&(e.removeAttribute("hidden"),e.style.display="");var s=C(o,{enter:function(){return t.enter},leave:function(){return t.leave}}),c=C(o,{enter:function(){return t.enterTo},leave:function(){return t.leaveTo}}),l=C(o,{enter:function(){return t.enterFrom},leave:function(){return t.leaveFrom}});return gn.apply(void 0,[e].concat((0,x.Z)(t.enter),(0,x.Z)(t.enterTo),(0,x.Z)(t.enterFrom),(0,x.Z)(t.leave),(0,x.Z)(t.leaveFrom),(0,x.Z)(t.leaveTo),(0,x.Z)(t.entered))),mn.apply(void 0,[e].concat((0,x.Z)(s),(0,x.Z)(l))),i.nextFrame((function(){gn.apply(void 0,[e].concat((0,x.Z)(l))),mn.apply(void 0,[e].concat((0,x.Z)(c))),function(e,t){var n=ie();if(!e)return n.dispose;var r=getComputedStyle(e),o=[r.transitionDuration,r.transitionDelay].map((function(e){var t=e.split(",").filter(Boolean).map((function(e){return e.includes("ms")?parseFloat(e):1e3*parseFloat(e)})).sort((function(e,t){return t-e})),n=(0,B.Z)(t,1)[0];return void 0===n?0:n})),i=(0,B.Z)(o,2);if(i[0]+i[1]!==0){var a=[];a.push(n.addEventListener(e,"transitionrun",(function(r){r.target===r.currentTarget&&(a.splice(0).forEach((function(e){return e()})),a.push(n.addEventListener(e,"transitionend",(function(e){e.target===e.currentTarget&&(t("ended"),a.splice(0).forEach((function(e){return e()})))})),n.addEventListener(e,"transitioncancel",(function(e){e.target===e.currentTarget&&(t("cancelled"),a.splice(0).forEach((function(e){return e()})))}))))})))}else t("ended");n.add((function(){return t("cancelled")})),n.dispose}(e,(function(n){return"ended"===n&&(gn.apply(void 0,[e].concat((0,x.Z)(s))),mn.apply(void 0,[e].concat((0,x.Z)(t.entered)))),a(n)}))})),i.dispose}function bn(){var e=(0,t.useState)(ie),n=(0,B.Z)(e,1)[0];return(0,t.useEffect)((function(){return function(){return n.dispose()}}),[n]),n}function wn(e){var t=e.container,n=e.direction,r=e.classes,o=e.onStart,a=e.onStop,s=_e(),c=bn(),l=M(n);U((function(){var e=ie();c.add(e.dispose);var n=t.current;if(n&&"idle"!==l.current&&s.current)return e.dispose(),o.current(l.current),e.add(yn(n,r.current,"enter"===l.current,(function(t){var n;e.dispose(),C(t,(n={},(0,i.Z)(n,vn.Ended,(function(){a.current(l.current)})),(0,i.Z)(n,vn.Cancelled,(function(){})),n))}))),e.dispose}),[n])}var _n=["beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"],xn=["show","appear","unmount"];function Bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(" ").filter((function(e){return e.trim().length>1}))}var Cn=(0,t.createContext)(null);Cn.displayName="TransitionContext";var En=function(e){return e.Visible="visible",e.Hidden="hidden",e}(En||{});var jn=(0,t.createContext)(null);function kn(e){return"children"in e?kn(e.children):e.current.filter((function(e){return null!==e.el.current})).filter((function(e){return"visible"===e.state})).length>0}function Sn(e,n){var r=M(e),o=(0,t.useRef)([]),a=_e(),s=bn(),c=R((function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.Hidden,c=o.current.findIndex((function(t){return t.el===e}));-1!==c&&(C(n,(t={},(0,i.Z)(t,O.Unmount,(function(){o.current.splice(c,1)})),(0,i.Z)(t,O.Hidden,(function(){o.current[c].state="hidden"})),t)),s.microTask((function(){var e;!kn(o)&&a.current&&(null==(e=r.current)||e.call(r))})))})),l=R((function(e){var t=o.current.find((function(t){return t.el===e}));return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),function(){return c(e,O.Unmount)}})),u=(0,t.useRef)([]),A=(0,t.useRef)(Promise.resolve()),d=(0,t.useRef)({enter:[],leave:[],idle:[]}),f=R((function(e,t,r){u.current.splice(0),n&&(n.chains.current[t]=n.chains.current[t].filter((function(t){return(0,B.Z)(t,1)[0]!==e}))),null==n||n.chains.current[t].push([e,new Promise((function(e){u.current.push(e)}))]),null==n||n.chains.current[t].push([e,new Promise((function(e){Promise.all(d.current[t].map((function(e){var t=(0,B.Z)(e,2);t[0];return t[1]}))).then((function(){return e()}))}))]),"enter"===t?A.current=A.current.then((function(){return null==n?void 0:n.wait.current})).then((function(){return r(t)})):r(t)})),h=R((function(e,t,n){Promise.all(d.current[t].splice(0).map((function(e){var t=(0,B.Z)(e,2);t[0];return t[1]}))).then((function(){var e;null==(e=u.current.shift())||e()})).then((function(){return n(t)}))}));return(0,t.useMemo)((function(){return{children:o,register:l,unregister:c,onStart:f,onStop:h,wait:A,chains:d}}),[l,c,o,f,h,d,A])}function On(){}jn.displayName="NestingContext";var Nn=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Fn(e){var t,n,r={},o=(0,_.Z)(Nn);try{for(o.s();!(n=o.n()).done;){var i=n.value;r[i]=null!=(t=e[i])?t:On}}catch(a){o.e(a)}finally{o.f()}return r}var In=S.RenderStrategy,Pn=L((function(e,n){var r,o=e.beforeEnter,a=e.afterEnter,s=e.beforeLeave,l=e.afterLeave,u=e.enter,A=e.enterFrom,d=e.enterTo,f=e.entered,h=e.leave,p=e.leaveFrom,m=e.leaveTo,g=c(e,_n),v=(0,t.useRef)(null),y=q(v,n),b=g.unmount?O.Unmount:O.Hidden,w=function(){var e=(0,t.useContext)(Cn);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),_=w.show,x=w.appear,E=w.initial,j=(0,t.useState)(_?"visible":"hidden"),k=(0,B.Z)(j,2),S=k[0],F=k[1],I=function(){var e=(0,t.useContext)(jn);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),P=I.register,L=I.unregister,T=(0,t.useRef)(null);(0,t.useEffect)((function(){return P(v)}),[P,v]),(0,t.useEffect)((function(){var e;if(b===O.Hidden&&v.current)return _&&"visible"!==S?void F("visible"):C(S,(e={},(0,i.Z)(e,"hidden",(function(){return L(v)})),(0,i.Z)(e,"visible",(function(){return P(v)})),e))}),[S,v,P,L,_,b]);var D=M({enter:Bn(u),enterFrom:Bn(A),enterTo:Bn(d),entered:Bn(f),leave:Bn(h),leaveFrom:Bn(p),leaveTo:Bn(m)}),Q=function(e){var n=(0,t.useRef)(Fn(e));return(0,t.useEffect)((function(){n.current=Fn(e)}),[e]),n}({beforeEnter:o,afterEnter:a,beforeLeave:s,afterLeave:l}),U=G();(0,t.useEffect)((function(){if(U&&"visible"===S&&null===v.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[v,S,U]);var $=E&&!x,H=!U||$||T.current===_?"idle":_?"enter":"leave",K=R((function(e){return C(e,{enter:function(){return Q.current.beforeEnter()},leave:function(){return Q.current.beforeLeave()},idle:function(){}})})),V=R((function(e){return C(e,{enter:function(){return Q.current.afterEnter()},leave:function(){return Q.current.afterLeave()},idle:function(){}})})),z=Sn((function(){F("hidden"),L(v)}),I);wn({container:v,classes:D,direction:H,onStart:M((function(e){z.onStart(v,e,K)})),onStop:M((function(e){z.onStop(v,e,V),"leave"===e&&!kn(z)&&(F("hidden"),L(v))}))}),(0,t.useEffect)((function(){!$||(b===O.Hidden?T.current=null:T.current=_)}),[_,$,S]);var Z=g,W={ref:y};return t.createElement(jn.Provider,{value:z},t.createElement(We,{value:C(S,(r={},(0,i.Z)(r,"visible",Ze.Open),(0,i.Z)(r,"hidden",Ze.Closed),r))},N({ourProps:W,theirProps:Z,defaultTag:"div",features:In,visible:"visible"===S,name:"Transition.Child"})))})),Ln=L((function(e,n){var r,o=e.show,a=e.appear,l=void 0!==a&&a,u=e.unmount,A=c(e,xn),d=(0,t.useRef)(null),f=q(d,n);G();var h=Ge();if(void 0===o&&null!==h&&(o=C(h,(r={},(0,i.Z)(r,Ze.Open,!0),(0,i.Z)(r,Ze.Closed,!1),r))),![!0,!1].includes(o))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");var p=(0,t.useState)(o?"visible":"hidden"),m=(0,B.Z)(p,2),g=m[0],v=m[1],y=Sn((function(){v("hidden")})),b=(0,t.useState)(!0),w=(0,B.Z)(b,2),_=w[0],x=w[1],E=(0,t.useRef)([o]);U((function(){!1!==_&&E.current[E.current.length-1]!==o&&(E.current.push(o),x(!1))}),[E,o]);var j=(0,t.useMemo)((function(){return{show:o,appear:l,initial:_}}),[o,l,_]);(0,t.useEffect)((function(){if(o)v("visible");else if(kn(y)){var e=d.current;if(!e)return;var t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&v("hidden")}else v("hidden")}),[o,y]);var k={unmount:u};return t.createElement(jn.Provider,{value:y},t.createElement(Cn.Provider,{value:j},N({ourProps:s(s({},k),{},{as:t.Fragment,children:t.createElement(Pn,s(s({ref:f},k),A))}),theirProps:{},defaultTag:t.Fragment,features:In,visible:"visible"===g,name:"Transition"})))})),Tn=L((function(e,n){var r=null!==(0,t.useContext)(Cn),o=null!==Ge();return t.createElement(t.Fragment,null,!r&&o?t.createElement(Ln,s({ref:n},e)):t.createElement(Pn,s({ref:n},e)))})),Dn=Object.assign(Ln,{Child:Tn,Root:Ln});var Qn=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}));var Un=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))}));var Mn=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}));var Rn=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}))}));var $n=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Hn={info:(0,A.jsx)(Qn,{className:"h-6 w-6 text-blue-500","aria-hidden":"true"}),success:(0,A.jsx)(Un,{className:"h-6 w-6 text-green-500","aria-hidden":"true"}),warning:(0,A.jsx)(Mn,{className:"h-6 w-6 text-yellow-500","aria-hidden":"true"}),error:(0,A.jsx)(Rn,{className:"h-6 w-6 text-red-500","aria-hidden":"true"})},qn=function(e){var n=e.notification,r=n.id,o=n.type,i=n.title,a=n.message,s=e.onDismiss;return(0,t.useEffect)((function(){setTimeout((function(){s(r)}),4e3)}),[r,s]),(0,A.jsx)("div",{className:"w-full flex flex-col items-center space-y-4 sm:items-end",children:(0,A.jsx)(Dn,{show:!0,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,A.jsx)("div",{className:"max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden",children:(0,A.jsx)("div",{className:"p-4",role:"alert","aria-label":i,children:(0,A.jsxs)("div",{className:"flex items-start",children:[(0,A.jsx)("div",{className:"flex-shrink-0",children:Hn[o]}),(0,A.jsxs)("div",{className:"ml-3 w-0 flex-1 pt-0.5",children:[(0,A.jsx)("p",{className:"text-sm font-medium text-gray-900",children:i}),(0,A.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:a})]}),(0,A.jsx)("div",{className:"ml-4 flex-shrink-0 flex",children:(0,A.jsxs)("button",{className:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",onClick:function(){s(r)},children:[(0,A.jsx)("span",{className:"sr-only",children:"Close"}),(0,A.jsx)($n,{className:"h-5 w-5","aria-hidden":"true"})]})})]})})})})})},Kn=function(){var e=pn(),t=e.notifications,n=e.dismissNotification;return(0,A.jsx)("div",{"aria-live":"assertive",className:"z-50 flex flex-col fixed inset-0 space-y-4 items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start",children:t.map((function(e){return(0,A.jsx)(qn,{notification:e,onDismiss:n},e.id)}))})},Vn="https://shopapi.ncdc.go.ug/images",zn="msw-db",Zn={getToken:function(){return JSON.parse(window.localStorage.getItem("".concat(zn,"token")))},setToken:function(e){window.localStorage.setItem("".concat(zn,"token"),JSON.stringify(e))},clearToken:function(){window.localStorage.removeItem("".concat(zn,"token"))}},Gn=n(4569),Wn=n.n(Gn),Yn=n(2007),Xn=n.n(Yn);function Jn(e){var t=Zn.getToken();return t&&(e.headers.authorization="Bearer ".concat(t)),e.headers.Accept="application/json",e}Jn.propTypes={config:Xn().any};var er=Wn().create({baseURL:"https://shopapi.ncdc.go.ug/api"});er.interceptors.request.use(Jn),er.interceptors.response.use((function(e){return e.data}),(function(e){var t,n,r,o=(null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||e.message;return pn.getState().addNotification({type:"error",title:"Error",message:o}),e.response&&401===(null===(r=e.response)||void 0===r?void 0:r.status)&&(window.location.href="/"),Promise.reject(e)}));var tr=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,er.get("/me");case 2:return t=e.sent,e.abrupt("return",t.user);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),nr=function(e){return er.post("/login",e)},rr=function(e){return er.post("/register",e)},or=function(){return er.post("/logout")},ir=function(){return er.post("/refresh")},ar=["name"],sr=["_f"],cr=["_f"],lr=function(e){return"checkbox"===e.type},ur=function(e){return e instanceof Date},Ar=function(e){return null==e},dr=function(e){return"object"===typeof e},fr=function(e){return!Ar(e)&&!Array.isArray(e)&&dr(e)&&!ur(e)},hr=function(e){return fr(e)&&e.target?lr(e.target)?e.target.checked:e.target.value:e},pr=function(e,t){return e.has(function(e){return e.substring(0,e.search(/\.\d+(\.|$)/))||e}(t))},mr=function(e){return Array.isArray(e)?e.filter(Boolean):[]},gr=function(e){return void 0===e},vr=function(e,t,n){if(!t||!fr(e))return n;var r=mr(t.split(/[,[\].]+?/)).reduce((function(e,t){return Ar(e)?e:e[t]}),e);return gr(r)||r===e?gr(e[t])?n:e[t]:r},yr="blur",br="focusout",wr="onBlur",_r="onChange",xr="onSubmit",Br="onTouched",Cr="all",Er="max",jr="min",kr="maxLength",Sr="minLength",Or="pattern",Nr="required",Fr="validate",Ir=(t.createContext(null),function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o={defaultValues:t._defaultValues},i=function(i){Object.defineProperty(o,i,{get:function(){var o=i;return t._proxyFormState[o]!==Cr&&(t._proxyFormState[o]=!r||Cr),n&&(n[o]=!0),e[o]}})};for(var a in e)i(a);return o}),Pr=function(e){return fr(e)&&!Object.keys(e).length},Lr=function(e,t,n){e.name;var r=c(e,ar);return Pr(r)||Object.keys(r).length>=Object.keys(t).length||Object.keys(r).find((function(e){return t[e]===(!n||Cr)}))},Tr=function(e){return Array.isArray(e)?e:[e]};function Dr(e){var n=t.useRef(e);n.current=e,t.useEffect((function(){var t=!e.disabled&&n.current.subject.subscribe({next:n.current.callback});return function(){t&&t.unsubscribe()}}),[e.disabled])}var Qr=function(e){return"string"===typeof e},Ur=function(e,t,n,r){var o=Array.isArray(e);return Qr(e)?(r&&t.watch.add(e),vr(n,e)):o?e.map((function(e){return r&&t.watch.add(e),vr(n,e)})):(r&&(t.watchAll=!0),n)},Mr=function(e){return"function"===typeof e},Rr=function(e){for(var t in e)if(Mr(e[t]))return!0;return!1};var $r=function(e,t,n,r,o){return t?s(s({},n[e]),{},{types:s(s({},n[e]&&n[e].types?n[e].types:{}),{},(0,i.Z)({},r,o||!0))}):{}},Hr=function(e){return/^\w*$/.test(e)},qr=function(e){return mr(e.replace(/["|']|\]/g,"").split(/\.|\[/))};function Kr(e,t,n){for(var r=-1,o=Hr(t)?[t]:qr(t),i=o.length,a=i-1;++r<i;){var s=o[r],c=n;if(r!==a){var l=e[s];c=fr(l)||Array.isArray(l)?l:isNaN(+o[r+1])?{}:[]}e[s]=c,e=e[s]}return e}var Vr=function e(t,n,r){var o,i=(0,_.Z)(r||Object.keys(t));try{for(i.s();!(o=i.n()).done;){var a=o.value,s=vr(t,a);if(s){var l=s._f,u=c(s,sr);if(l&&n(l.name)){if(l.ref.focus){l.ref.focus();break}if(l.refs&&l.refs[0].focus){l.refs[0].focus();break}}else fr(u)&&e(u,n)}}}catch(A){i.e(A)}finally{i.f()}},zr=function(e,t,n){return!n&&(t.watchAll||t.watch.has(e)||(0,x.Z)(t.watch).some((function(t){return e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))})))},Zr=function(e,t,n){var r=mr(vr(e,n));return Kr(r,"root",t[n]),Kr(e,n,r),e},Gr=function(e){return"boolean"===typeof e},Wr=function(e){return"file"===e.type},Yr=function(e){return Qr(e)||t.isValidElement(e)},Xr=function(e){return"radio"===e.type},Jr=function(e){return e instanceof RegExp},eo={value:!1,isValid:!1},to={value:!0,isValid:!0},no=function(e){if(Array.isArray(e)){if(e.length>1){var t=e.filter((function(e){return e&&e.checked&&!e.disabled})).map((function(e){return e.value}));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!gr(e[0].attributes.value)?gr(e[0].value)||""===e[0].value?to:{value:e[0].value,isValid:!0}:to:eo}return eo},ro={isValid:!1,value:null},oo=function(e){return Array.isArray(e)?e.reduce((function(e,t){return t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e}),ro):ro};function io(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(Yr(e)||Array.isArray(e)&&e.every(Yr)||Gr(e)&&!e)return{type:n,message:Yr(e)?e:"",ref:t}}var ao=function(e){return fr(e)&&!Jr(e)?e:{value:e,message:""}},so=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t,n,r,o,i){var a,c,l,u,A,d,f,h,p,m,g,v,y,b,w,_,x,B,C,E,j,k,S,O,N,F,I,P,L,T,D,Q,U,M,R,$,H,q,K,V,z,Z,G,W,Y,X,J;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t._f,c=a.ref,l=a.refs,u=a.required,A=a.maxLength,d=a.minLength,f=a.min,h=a.max,p=a.pattern,m=a.validate,g=a.name,v=a.valueAsNumber,y=a.mount,b=a.disabled,y&&!b){e.next=3;break}return e.abrupt("return",{});case 3:if(w=l?l[0]:c,_=function(e){o&&Qr(e)&&(w.setCustomValidity(e),w.reportValidity())},x={},B=Xr(c),C=lr(c),E=B||C,j=(v||Wr(c))&&!c.value||""===n||Array.isArray(n)&&!n.length,k=$r.bind(null,g,r,x),S=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:kr,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Sr,i=e?t:n;x[g]=s({type:e?r:o,message:i,ref:c},k(e?r:o,i))},!(i?!Array.isArray(n)||!n.length:u&&(!E&&(j||Ar(n))||Gr(n)&&!n||C&&!no(l).isValid||B&&!oo(l).isValid))){e.next=19;break}if(O=Yr(u)?{value:!!u,message:u}:ao(u),N=O.value,F=O.message,!N){e.next=19;break}if(x[g]=s({type:Nr,message:F,ref:w},k(Nr,F)),r){e.next=19;break}return _(F),e.abrupt("return",x);case 19:if(j||Ar(f)&&Ar(h)){e.next=28;break}if(L=ao(h),T=ao(f),Ar(n)||isNaN(n)?(Q=c.valueAsDate||new Date(n),U=function(e){return new Date((new Date).toDateString()+" "+e)},M="time"==c.type,R="week"==c.type,Qr(L.value)&&n&&(I=M?U(n)>U(L.value):R?n>L.value:Q>new Date(L.value)),Qr(T.value)&&n&&(P=M?U(n)<U(T.value):R?n<T.value:Q<new Date(T.value))):(D=c.valueAsNumber||(n?+n:n),Ar(L.value)||(I=D>L.value),Ar(T.value)||(P=D<T.value)),!I&&!P){e.next=28;break}if(S(!!I,L.message,T.message,Er,jr),r){e.next=28;break}return _(x[g].message),e.abrupt("return",x);case 28:if(!A&&!d||j||!(Qr(n)||i&&Array.isArray(n))){e.next=38;break}if($=ao(A),H=ao(d),q=!Ar($.value)&&n.length>$.value,K=!Ar(H.value)&&n.length<H.value,!q&&!K){e.next=38;break}if(S(q,$.message,H.message),r){e.next=38;break}return _(x[g].message),e.abrupt("return",x);case 38:if(!p||j||!Qr(n)){e.next=45;break}if(V=ao(p),z=V.value,Z=V.message,!Jr(z)||n.match(z)){e.next=45;break}if(x[g]=s({type:Or,message:Z,ref:c},k(Or,Z)),r){e.next=45;break}return _(Z),e.abrupt("return",x);case 45:if(!m){e.next=79;break}if(!Mr(m)){e.next=58;break}return e.next=49,m(n);case 49:if(G=e.sent,!(W=io(G,w))){e.next=56;break}if(x[g]=s(s({},W),k(Fr,W.message)),r){e.next=56;break}return _(W.message),e.abrupt("return",x);case 56:e.next=79;break;case 58:if(!fr(m)){e.next=79;break}Y={},e.t0=(0,ne.Z)().keys(m);case 61:if((e.t1=e.t0()).done){e.next=75;break}if(X=e.t1.value,Pr(Y)||r){e.next=65;break}return e.abrupt("break",75);case 65:return e.t2=io,e.next=68,m[X](n);case 68:e.t3=e.sent,e.t4=w,e.t5=X,(J=(0,e.t2)(e.t3,e.t4,e.t5))&&(Y=s(s({},J),k(X,J.message)),_(J.message),r&&(x[g]=Y)),e.next=61;break;case 75:if(Pr(Y)){e.next=79;break}if(x[g]=s({ref:w},Y),r){e.next=79;break}return e.abrupt("return",x);case 79:return _(!0),e.abrupt("return",x);case 81:case"end":return e.stop()}}),e)})));return function(t,n,r,o,i){return e.apply(this,arguments)}}();var co="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function lo(e){var t,n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(co&&(e instanceof Blob||e instanceof FileList)||!n&&!fr(e))return e;if(t=n?[]:{},Array.isArray(e)||function(e){var t=e.constructor&&e.constructor.prototype;return fr(t)&&t.hasOwnProperty("isPrototypeOf")}(e))for(var r in e)t[r]=lo(e[r]);else t=e}return t}var uo=function(e){return{isOnSubmit:!e||e===xr,isOnBlur:e===wr,isOnChange:e===_r,isOnAll:e===Cr,isOnTouch:e===Br}};function Ao(e){for(var t in e)if(!gr(e[t]))return!1;return!0}function fo(e,t){var n,r=Hr(t)?[t]:qr(t),o=1==r.length?e:function(e,t){for(var n=t.slice(0,-1).length,r=0;r<n;)e=gr(e)?r++:e[t[r++]];return e}(e,r),i=r[r.length-1];o&&delete o[i];for(var a=0;a<r.slice(0,-1).length;a++){var s=-1,c=void 0,l=r.slice(0,-(a+1)),u=l.length-1;for(a>0&&(n=e);++s<l.length;){var A=l[s];c=c?c[A]:e[A],u===s&&(fr(c)&&Pr(c)||Array.isArray(c)&&Ao(c))&&(n?delete n[A]:delete e[A]),n=c}}return e}function ho(){var e=[];return{get observers(){return e},next:function(t){var n,r=(0,_.Z)(e);try{for(r.s();!(n=r.n()).done;){n.value.next(t)}}catch(o){r.e(o)}finally{r.f()}},subscribe:function(t){return e.push(t),{unsubscribe:function(){e=e.filter((function(e){return e!==t}))}}},unsubscribe:function(){e=[]}}}var po=function(e){return Ar(e)||!dr(e)};function mo(e,t){if(po(e)||po(t))return e===t;if(ur(e)&&ur(t))return e.getTime()===t.getTime();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0,i=n;o<i.length;o++){var a=i[o],s=e[a];if(!r.includes(a))return!1;if("ref"!==a){var c=t[a];if(ur(s)&&ur(c)||fr(s)&&fr(c)||Array.isArray(s)&&Array.isArray(c)?!mo(s,c):s!==c)return!1}}return!0}var go=function(e){var t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},vo=function(e){return"select-multiple"===e.type},yo=function(e){return Xr(e)||lr(e)},bo=function(e){return go(e)&&e.isConnected};function wo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Array.isArray(e);if(fr(e)||n)for(var r in e)Array.isArray(e[r])||fr(e[r])&&!Rr(e[r])?(t[r]=Array.isArray(e[r])?[]:{},wo(e[r],t[r])):Ar(e[r])||(t[r]=!0);return t}function _o(e,t,n){var r=Array.isArray(e);if(fr(e)||r)for(var o in e)Array.isArray(e[o])||fr(e[o])&&!Rr(e[o])?gr(t)||po(n[o])?n[o]=Array.isArray(e[o])?wo(e[o],[]):s({},wo(e[o])):_o(e[o],Ar(t)?{}:t[o],n[o]):mo(e[o],t[o])?delete n[o]:n[o]=!0;return n}var xo=function(e,t){return _o(e,t,wo(t))},Bo=function(e,t){var n=t.valueAsNumber,r=t.valueAsDate,o=t.setValueAs;return gr(e)?e:n?""===e?NaN:e?+e:e:r&&Qr(e)?new Date(e):o?o(e):e};function Co(e){var t=e.ref;if(!(e.refs?e.refs.every((function(e){return e.disabled})):t.disabled))return Wr(t)?t.files:Xr(t)?oo(e.refs).value:vo(t)?(0,x.Z)(t.selectedOptions).map((function(e){return e.value})):lr(t)?no(e.refs).value:Bo(gr(t.value)?e.ref.value:t.value,e)}var Eo=function(e,t,n,r){var o,i={},a=(0,_.Z)(e);try{for(a.s();!(o=a.n()).done;){var s=o.value,c=vr(t,s);c&&Kr(i,s,c._f)}}catch(l){a.e(l)}finally{a.f()}return{criteriaMode:n,names:(0,x.Z)(e),fields:i,shouldUseNativeValidation:r}},jo=function(e){return gr(e)?void 0:Jr(e)?e.source:fr(e)?Jr(e.value)?e.value.source:e.value:e},ko=function(e){return e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate)};function So(e,t,n){var r=vr(e,n);if(r||Hr(n))return{error:r,name:n};for(var o=n.split(".");o.length;){var i=o.join("."),a=vr(t,i),s=vr(e,i);if(a&&!Array.isArray(a)&&n!==i)return{name:n};if(s&&s.type)return{name:i,error:s};o.pop()}return{name:n}}var Oo=function(e,t,n,r,o){return!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e)},No=function(e,t){return!mr(vr(e,t)).length&&fo(e,t)},Fo={mode:xr,reValidateMode:_r,shouldFocusError:!0};function Io(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=s(s({},Fo),t),r={submitCount:0,isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},o={},a=lo(n.defaultValues)||{},l=n.shouldUnregister?{}:lo(a),u={action:!1,mount:!1,watch:!1},A={mount:new Set,unMount:new Set,array:new Set,watch:new Set},d=0,f={},h={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},p={watch:ho(),array:ho(),state:ho()},m=uo(n.mode),g=uo(n.reValidateMode),v=n.criteriaMode===Cr,y=function(e){return function(t){clearTimeout(d),d=window.setTimeout(e,t)}},b=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!1,!h.isValid){e.next=15;break}if(!n.resolver){e.next=10;break}return e.t1=Pr,e.next=6,k();case 6:e.t2=e.sent.errors,e.t0=(0,e.t1)(e.t2),e.next=13;break;case 10:return e.next=12,O(o,!0);case 12:e.t0=e.sent;case 13:(t=e.t0)!==r.isValid&&(r.isValid=t,p.state.next({isValid:t}));case 15:return e.abrupt("return",t);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(i&&n){if(u.action=!0,c&&Array.isArray(vr(o,e))){var A=n(vr(o,e),i.argA,i.argB);s&&Kr(o,e,A)}if(h.errors&&c&&Array.isArray(vr(r.errors,e))){var d=n(vr(r.errors,e),i.argA,i.argB);s&&Kr(r.errors,e,d),No(r.errors,e)}if(h.touchedFields&&c&&Array.isArray(vr(r.touchedFields,e))){var f=n(vr(r.touchedFields,e),i.argA,i.argB);s&&Kr(r.touchedFields,e,f)}h.dirtyFields&&(r.dirtyFields=xo(a,l)),p.state.next({isDirty:F(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Kr(l,e,t)},B=function(e,t){Kr(r.errors,e,t),p.state.next({errors:r.errors})},C=function(e,t,n,r){var i=vr(o,e);if(i){var s=vr(l,e,gr(n)?vr(a,e):n);gr(s)||r&&r.defaultChecked||t?Kr(l,e,t?s:Co(i._f)):L(e,s),u.mount&&b()}},E=function(e,t,n,o,i){var s=!1,c={name:e},l=vr(r.touchedFields,e);if(h.isDirty){var u=r.isDirty;r.isDirty=c.isDirty=F(),s=u!==c.isDirty}if(h.dirtyFields&&(!n||o)){var A=vr(r.dirtyFields,e);mo(vr(a,e),t)?fo(r.dirtyFields,e):Kr(r.dirtyFields,e,!0),c.dirtyFields=r.dirtyFields,s=s||A!==vr(r.dirtyFields,e)}return n&&!l&&(Kr(r.touchedFields,e,n),c.touchedFields=r.touchedFields,s=s||h.touchedFields&&l!==n),s&&i&&p.state.next(c),s?c:{}},j=function(n,o,i,a){var c=vr(r.errors,n),l=h.isValid&&Gr(o)&&r.isValid!==o;if(t.delayError&&i?(e=y((function(){return B(n,i)})))(t.delayError):(clearTimeout(d),e=null,i?Kr(r.errors,n,i):fo(r.errors,n)),(i?!mo(c,i):c)||!Pr(a)||l){var u=s(s(s({},a),l&&Gr(o)?{isValid:o}:{}),{},{errors:r.errors,name:n});r=s(s({},r),u),p.state.next(u)}f[n]--,h.isValidating&&!Object.values(f).some((function(e){return e}))&&(p.state.next({isValidating:!1}),f={})},k=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.resolver){e.next=6;break}return e.next=3,n.resolver(s({},l),n.context,Eo(t||A.mount,o,n.criteriaMode,n.shouldUseNativeValidation));case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0={};case 7:return e.abrupt("return",e.t0);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n,o,i,a,s,c;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k();case 2:if(n=e.sent,o=n.errors,t){i=(0,_.Z)(t);try{for(i.s();!(a=i.n()).done;)s=a.value,(c=vr(o,s))?Kr(r.errors,s,c):fo(r.errors,s)}catch(l){i.e(l)}finally{i.f()}}else r.errors=o;return e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t,o){var i,a,s,u,d,f,h,p=arguments;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=p.length>2&&void 0!==p[2]?p[2]:{valid:!0},e.t0=(0,ne.Z)().keys(t);case 2:if((e.t1=e.t0()).done){e.next=23;break}if(a=e.t1.value,!(s=t[a])){e.next=21;break}if(u=s._f,d=c(s,cr),!u){e.next=17;break}return f=A.array.has(u.name),e.next=11,so(s,vr(l,u.name),v,n.shouldUseNativeValidation,f);case 11:if(!(h=e.sent)[u.name]){e.next=16;break}if(i.valid=!1,!o){e.next=16;break}return e.abrupt("break",23);case 16:!o&&(vr(h,u.name)?f?Zr(r.errors,h,u.name):Kr(r.errors,u.name,h[u.name]):fo(r.errors,u.name));case 17:if(e.t2=d,!e.t2){e.next=21;break}return e.next=21,O(d,o,i);case 21:e.next=2;break;case 23:return e.abrupt("return",i.valid);case 24:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),N=function(){var e,t=(0,_.Z)(A.unMount);try{for(t.s();!(e=t.n()).done;){var n=e.value,r=vr(o,n);r&&(r._f.refs?r._f.refs.every((function(e){return!bo(e)})):!bo(r._f.ref))&&K(n)}}catch(i){t.e(i)}finally{t.f()}A.unMount=new Set},F=function(e,t){return e&&t&&Kr(l,e,t),!mo(M(),a)},I=function(e,t,n){var r=s({},u.mount?l:gr(t)?a:Qr(e)?(0,i.Z)({},e,t):t);return Ur(e,A,r,n)},P=function(e){return mr(vr(u.mount?l:a,e,t.shouldUnregister?vr(a,e,[]):[]))},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=vr(o,e),i=t;if(r){var a=r._f;a&&(!a.disabled&&Kr(l,e,Bo(t,a)),i=co&&go(a.ref)&&Ar(t)?"":t,vo(a.ref)?(0,x.Z)(a.ref.options).forEach((function(e){return e.selected=i.includes(e.value)})):a.refs?lr(a.ref)?a.refs.length>1?a.refs.forEach((function(e){return(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find((function(t){return t===e.value})):i===e.value)})):a.refs[0]&&(a.refs[0].checked=!!i):a.refs.forEach((function(e){return e.checked=e.value===i})):Wr(a.ref)?a.ref.value="":(a.ref.value=i,a.ref.type||p.watch.next({name:e})))}(n.shouldDirty||n.shouldTouch)&&E(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&U(e)},T=function e(t,n,r){for(var i in n){var a=n[i],s="".concat(t,".").concat(i),c=vr(o,s);!A.array.has(t)&&po(a)&&(!c||c._f)||ur(a)?L(s,a,r):e(s,a,r)}},D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=vr(o,e),s=A.array.has(e),c=lo(t);Kr(l,e,c),s?(p.array.next({name:e,values:l}),(h.isDirty||h.dirtyFields)&&n.shouldDirty&&(r.dirtyFields=xo(a,l),p.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:F(e,c)}))):!i||i._f||Ar(c)?L(e,c,n):T(e,c,n),zr(e,A)&&p.state.next({}),p.watch.next({name:e})},Q=function(){var t=(0,re.Z)((0,ne.Z)().mark((function t(i){var a,c,u,d,y,w,_,x,B,C,S,O,N,F,I;return(0,ne.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=i.target,c=a.name,!(u=vr(o,c))){t.next=38;break}if(w=a.type?Co(u._f):hr(i),_=i.type===yr||i.type===br,x=!ko(u._f)&&!n.resolver&&!vr(r.errors,c)&&!u._f.deps||Oo(_,vr(r.touchedFields,c),r.isSubmitted,g,m),B=zr(c,A,_),Kr(l,c,w),_?(u._f.onBlur&&u._f.onBlur(i),e&&e(0)):u._f.onChange&&u._f.onChange(i),C=E(c,w,_,!1),S=!Pr(C)||B,!_&&p.watch.next({name:c,type:i.type}),!x){t.next=16;break}return h.isValid&&b(),t.abrupt("return",S&&p.state.next(s({name:c},B?{}:C)));case 16:if(!_&&B&&p.state.next({}),f[c]=f[c]?f[c]+1:1,p.state.next({isValidating:!0}),!n.resolver){t.next=31;break}return t.next=22,k([c]);case 22:O=t.sent,N=O.errors,F=So(r.errors,o,c),I=So(N,o,F.name||c),d=I.error,c=I.name,y=Pr(N),t.next=36;break;case 31:return t.next=33,so(u,vr(l,c),v,n.shouldUseNativeValidation);case 33:t.t0=c,d=t.sent[t.t0],b();case 36:u._f.deps&&U(u._f.deps),j(c,y,d,C);case 38:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),U=function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var a,c,l,u,d,f=arguments;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=f.length>1&&void 0!==f[1]?f[1]:{},u=Tr(t),p.state.next({isValidating:!0}),!n.resolver){e.next=11;break}return e.next=6,S(gr(t)?t:u);case 6:d=e.sent,c=Pr(d),l=t?!u.some((function(e){return vr(d,e)})):c,e.next=21;break;case 11:if(!t){e.next=18;break}return e.next=14,Promise.all(u.map(function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=vr(o,t),e.next=3,O(n&&n._f?(0,i.Z)({},t,n):n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 14:((l=e.sent.every(Boolean))||r.isValid)&&b(),e.next=21;break;case 18:return e.next=20,O(o);case 20:l=c=e.sent;case 21:return p.state.next(s(s(s({},!Qr(t)||h.isValid&&c!==r.isValid?{}:{name:t}),n.resolver||!t?{isValid:c}:{}),{},{errors:r.errors,isValidating:!1})),a.shouldFocus&&!l&&Vr(o,(function(e){return e&&vr(r.errors,e)}),t?u:A.mount),e.abrupt("return",l);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(e){var t=s(s({},a),u.mount?l:{});return gr(e)?t:Qr(e)?vr(t,e):e.map((function(e){return vr(t,e)}))},R=function(e,t){return{invalid:!!vr((t||r).errors,e),isDirty:!!vr((t||r).dirtyFields,e),isTouched:!!vr((t||r).touchedFields,e),error:vr((t||r).errors,e)}},$=function(e){e?Tr(e).forEach((function(e){return fo(r.errors,e)})):r.errors={},p.state.next({errors:r.errors})},H=function(e,t,n){var i=(vr(o,e,{_f:{}})._f||{}).ref;Kr(r.errors,e,s(s({},t),{},{ref:i})),p.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},q=function(e,t){return Mr(e)?p.watch.subscribe({next:function(n){return e(I(void 0,t),n)}}):I(e,t,!0)},K=function(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=(0,_.Z)(e?Tr(e):A.mount);try{for(c.s();!(t=c.n()).done;){var u=t.value;A.mount.delete(u),A.array.delete(u),vr(o,u)&&(i.keepValue||(fo(o,u),fo(l,u)),!i.keepError&&fo(r.errors,u),!i.keepDirty&&fo(r.dirtyFields,u),!i.keepTouched&&fo(r.touchedFields,u),!n.shouldUnregister&&!i.keepDefaultValue&&fo(a,u))}}catch(d){c.e(d)}finally{c.f()}p.watch.next({}),p.state.next(s(s({},r),i.keepDirty?{isDirty:F()}:{})),!i.keepIsValid&&b()},V=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=vr(o,t),c=Gr(r.disabled);return Kr(o,t,s(s({},i||{}),{},{_f:s(s({},i&&i._f?i._f:{ref:{name:t}}),{},{name:t,mount:!0},r)})),A.mount.add(t),i?c&&Kr(l,t,r.disabled?void 0:vr(l,t,Co(i._f))):C(t,!0,r.value),s(s(s({},c?{disabled:r.disabled}:{}),n.shouldUseNativeValidation?{required:!!r.required,min:jo(r.min),max:jo(r.max),minLength:jo(r.minLength),maxLength:jo(r.maxLength),pattern:jo(r.pattern)}:{}),{},{name:t,onChange:Q,onBlur:Q,ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(c){if(c){e(t,r),i=vr(o,t);var l=gr(c.value)&&c.querySelectorAll&&c.querySelectorAll("input,select,textarea")[0]||c,d=yo(l),f=i._f.refs||[];if(d?f.find((function(e){return e===l})):l===i._f.ref)return;Kr(o,t,{_f:s(s({},i._f),d?{refs:[].concat((0,x.Z)(f.filter(bo)),[l],(0,x.Z)(Array.isArray(vr(a,t))?[{}]:[])),ref:{type:l.type,name:t}}:{ref:l})}),C(t,!1,void 0,l)}else(i=vr(o,t,{}))._f&&(i._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&(!pr(A.array,t)||!u.action)&&A.unMount.add(t)}))})},z=function(){return n.shouldFocusError&&Vr(o,(function(e){return e&&vr(r.errors,e)}),A.mount)},Z=function(e,t){return function(){var i=(0,re.Z)((0,ne.Z)().mark((function i(a){var c,u,A,d,f;return(0,ne.Z)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist()),c=!0,u=lo(l),p.state.next({isSubmitting:!0}),i.prev=4,!n.resolver){i.next=15;break}return i.next=8,k();case 8:A=i.sent,d=A.errors,f=A.values,r.errors=d,u=f,i.next=17;break;case 15:return i.next=17,O(o);case 17:if(!Pr(r.errors)){i.next=23;break}return p.state.next({errors:{},isSubmitting:!0}),i.next=21,e(u,a);case 21:i.next=27;break;case 23:if(!t){i.next=26;break}return i.next=26,t(s({},r.errors),a);case 26:z();case 27:i.next=33;break;case 29:throw i.prev=29,i.t0=i.catch(4),c=!1,i.t0;case 33:return i.prev=33,r.isSubmitted=!0,p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Pr(r.errors)&&c,submitCount:r.submitCount+1,errors:r.errors}),i.finish(33);case 37:case"end":return i.stop()}}),i,null,[[4,29,33,37]])})));return function(e){return i.apply(this,arguments)}}()},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};vr(o,e)&&(gr(t.defaultValue)?D(e,vr(a,e)):(D(e,t.defaultValue),Kr(a,e,t.defaultValue)),t.keepTouched||fo(r.touchedFields,e),t.keepDirty||(fo(r.dirtyFields,e),r.isDirty=t.defaultValue?F(e,vr(a,e)):F()),t.keepError||(fo(r.errors,e),h.isValid&&b()),p.state.next(s({},r)))},W=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e||a,s=lo(i),c=e&&!Pr(e)?s:a;if(n.keepDefaultValues||(a=i),!n.keepValues){if(n.keepDirtyValues){var d,f=(0,_.Z)(A.mount);try{for(f.s();!(d=f.n()).done;){var m=d.value;vr(r.dirtyFields,m)?Kr(c,m,vr(l,m)):D(m,vr(c,m))}}catch(B){f.e(B)}finally{f.f()}}else{if(co&&gr(e)){var g,v=(0,_.Z)(A.mount);try{for(v.s();!(g=v.n()).done;){var y=g.value,b=vr(o,y);if(b&&b._f){var w=Array.isArray(b._f.refs)?b._f.refs[0]:b._f.ref;if(go(w)){var x=w.closest("form");if(x){x.reset();break}}}}}catch(B){v.e(B)}finally{v.f()}}o={}}l=t.shouldUnregister?n.keepDefaultValues?lo(a):{}:s,p.array.next({values:c}),p.watch.next({values:c})}A={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!h.isValid||!!n.keepIsValid,u.watch=!!t.shouldUnregister,p.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:n.keepDirty||n.keepDirtyValues?r.isDirty:!(!n.keepDefaultValues||mo(e,a)),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:n.keepDirty||n.keepDirtyValues?r.dirtyFields:n.keepDefaultValues&&e?xo(a,e):{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Y=function(e,t){return W(Mr(e)?e(l):e,t)},X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=vr(o,e),r=n&&n._f;if(r){var i=r.refs?r.refs[0]:r.ref;i.focus&&(i.focus(),t.shouldSelect&&i.select())}};return{control:{register:V,unregister:K,getFieldState:R,_executeSchema:k,_focusError:z,_getWatch:I,_getDirty:F,_updateValid:b,_removeUnmounted:N,_updateFieldArray:w,_getFieldArray:P,_subjects:p,_proxyFormState:h,get _fields(){return o},get _formValues(){return l},get _stateFlags(){return u},set _stateFlags(e){u=e},get _defaultValues(){return a},get _names(){return A},set _names(e){A=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n=s(s({},n),e)}},trigger:U,register:V,handleSubmit:Z,watch:q,setValue:D,getValues:M,reset:Y,resetField:G,clearErrors:$,unregister:K,setError:H,setFocus:X,getFieldState:R}}var Po=function(e,t,n){if(e&&"reportValidity"in e){var r=vr(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},Lo=function(e,t){var n=function(n){var r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?Po(r.ref,n,e):r.refs&&r.refs.forEach((function(t){return Po(t,n,e)}))};for(var r in t.fields)n(r)},To=function(e,t){t.shouldUseNativeValidation&&Lo(e,t);var n={};for(var r in e){var o=vr(t.fields,r);Kr(n,r,Object.assign(e[r],{ref:o&&o.ref}))}return n},Do=function(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,a=r.path.join(".");if(!n[a])if("unionErrors"in r){var s=r.unionErrors[0].errors[0];n[a]={message:s.message,type:s.code}}else n[a]={message:i,type:o};if("unionErrors"in r&&r.unionErrors.forEach((function(t){return t.errors.forEach((function(t){return e.push(t)}))})),t){var c=n[a].types,l=c&&c[r.code];n[a]=$r(a,t,n,o,l?[].concat(l,r.message):r.message)}e.shift()}return n},Qo=function(e,t,n){return void 0===n&&(n={}),function(r,o,i){try{return Promise.resolve(function(o,a){try{var s=Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](r,t)).then((function(e){return i.shouldUseNativeValidation&&Lo({},i),{errors:{},values:n.rawValues?r:e}}))}catch(e){return a(e)}return s&&s.then?s.then(void 0,a):s}(0,(function(e){return{values:{},errors:e.isEmpty?{}:To(Do(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)}})))}catch(e){return Promise.reject(e)}}},Uo=["onSubmit","children","className","options","id","schema","encType"],Mo=function(e){var n=e.onSubmit,r=e.children,o=e.className,i=e.options,a=e.id,l=e.schema,d=e.encType,f=c(e,Uo),h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.useRef(),r=t.useState({isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:e.defaultValues}),o=(0,B.Z)(r,2),i=o[0],a=o[1];n.current||(n.current=s(s({},Io(e)),{},{formState:i}));var c=n.current.control;return c._options=e,Dr({subject:c._subjects.state,callback:t.useCallback((function(e){Lr(e,c._proxyFormState,!0)&&(c._formState=s(s({},c._formState),e),a(s({},c._formState)))}),[c])}),t.useEffect((function(){c._stateFlags.mount||(c._proxyFormState.isValid&&c._updateValid(),c._stateFlags.mount=!0),c._stateFlags.watch&&(c._stateFlags.watch=!1,c._subjects.state.next({})),c._removeUnmounted()})),t.useEffect((function(){i.submitCount&&c._focusError()}),[c,i.submitCount]),n.current.formState=Ir(i,c),n.current}(s(s({},i),{},{resolver:l&&Qo(l)}));return(0,A.jsx)("form",s(s({className:u("space-y-6",o),onSubmit:h.handleSubmit(n),encType:d,id:a},f),{},{children:r(h)}))},Ro=function(e){var t=e.label,n=e.className,r=e.error,o=e.children,i=e.required;return(0,A.jsxs)("div",{children:[(0,A.jsxs)("label",{className:u("block text-sm font-medium text-gray-700",n),children:[(0,A.jsx)("span",{className:"text-gray-600",children:t}),i&&(0,A.jsx)("span",{className:"text-red-600",children:" *"}),(0,A.jsx)("br",{}),(0,A.jsx)("div",{className:"mt-2",children:o})]}),(null===r||void 0===r?void 0:r.message)&&(0,A.jsx)("div",{role:"alert","aria-label":r.message,className:"text-sm font-semibold text-red-500",children:r.message})]})},$o=function(e){var t=e.type,n=void 0===t?"text":t,r=e.label,o=e.className,i=e.placeholder,a=e.registration,c=e.error,l=e.inputProps,d=e.caption,f=e.required;return(0,A.jsxs)(Ro,{label:r,error:c,required:f,children:[(0,A.jsx)("input",s(s({type:n,placeholder:i,className:u("appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",o)},a),l)),(0,A.jsx)("div",{className:"my-1 text-xs flex justify-end",children:d})]})},Ho=n(1152);n(6770).Quill.register("modules/emoji",Ho);function qo(){return qo=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},qo.apply(this,arguments)}function Ko(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 Vo=(0,t.forwardRef)((function(e,n){var r=e.color,o=void 0===r?"currentColor":r,i=e.size,a=void 0===i?24:i,s=Ko(e,["color","size"]);return t.createElement("svg",qo({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),t.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),t.createElement("circle",{cx:"12",cy:"7",r:"4"}))}));Vo.propTypes={color:Xn().string,size:Xn().oneOfType([Xn().string,Xn().number])},Vo.displayName="User";var zo=Vo,Zo=n(136),Go=n(9388),Wo=n(1120),Yo=n(9611);var Xo,Jo=n(8814);function ei(e,t,n){return ei=(0,Jo.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,Yo.Z)(o,n.prototype),o},ei.apply(null,arguments)}function ti(e){var t="function"===typeof Map?new Map:void 0;return ti=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(Pe){return"function"===typeof e}}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ei(e,arguments,(0,Wo.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,Yo.Z)(n,e)},ti(e)}function ni(){return ni=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},ni.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Xo||(Xo={}));var ri,oi="popstate";function ii(e){return{usr:e.state,key:e.key}}function ai(e,t,n,r){return void 0===n&&(n=null),ni({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?ci(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function si(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function ci(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function li(e){var t="undefined"!==typeof window&&"undefined"!==typeof window.location&&"null"!==window.location.origin?window.location.origin:"unknown://unknown",n="string"===typeof e?e:si(e);return new URL(n,t)}function ui(e,t,n,r){void 0===r&&(r={});var o=r,i=o.window,a=void 0===i?document.defaultView:i,s=o.v5Compat,c=void 0!==s&&s,l=a.history,u=Xo.Pop,A=null;function d(){u=Xo.Pop,A&&A({action:u,location:f.location})}var f={get action(){return u},get location(){return e(a,l)},listen:function(e){if(A)throw new Error("A history only accepts one active listener");return a.addEventListener(oi,d),A=e,function(){a.removeEventListener(oi,d),A=null}},createHref:function(e){return t(a,e)},encodeLocation:function(e){var t=li(si(e));return ni({},e,{pathname:t.pathname,search:t.search,hash:t.hash})},push:function(e,t){u=Xo.Push;var r=ai(f.location,e,t);n&&n(r,e);var o=ii(r),i=f.createHref(r);try{l.pushState(o,"",i)}catch(s){a.location.assign(i)}c&&A&&A({action:u,location:f.location})},replace:function(e,t){u=Xo.Replace;var r=ai(f.location,e,t);n&&n(r,e);var o=ii(r),i=f.createHref(r);l.replaceState(o,"",i),c&&A&&A({action:u,location:f.location})},go:function(e){return l.go(e)}};return f}function Ai(e,t,n){void 0===n&&(n="/");var r=yi(("string"===typeof t?ci(t):t).pathname||"/",n);if(null==r)return null;var o=di(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(o);for(var i=null,a=0;null==i&&a<o.length;++a)i=mi(o[a],vi(r));return i}function di(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach((function(e,o){var i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(bi(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));var a=Ci([r,i.relativePath]),s=n.concat(i);e.children&&e.children.length>0&&(bi(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+a+'".'),di(e.children,t,s,a)),(null!=e.path||e.index)&&t.push({path:a,score:pi(a,e.index),routesMeta:s})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(ri||(ri={}));var fi=/^:\w+$/,hi=function(e){return"*"===e};function pi(e,t){var n=e.split("/"),r=n.length;return n.some(hi)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!hi(e)})).reduce((function(e,t){return e+(fi.test(t)?3:""===t?1:10)}),r)}function mi(e,t){for(var n=e.routesMeta,r={},o="/",i=[],a=0;a<n.length;++a){var s=n[a],c=a===n.length-1,l="/"===o?t:t.slice(o.length)||"/",u=gi({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l);if(!u)return null;Object.assign(r,u.params);var A=s.route;i.push({params:r,pathname:Ci([o,u.pathname]),pathnameBase:Ei(Ci([o,u.pathnameBase])),route:A}),"/"!==u.pathnameBase&&(o=Ci([o,u.pathnameBase]))}return i}function gi(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);wi("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}));e.endsWith("*")?(r.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");return[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),r=(0,B.Z)(n,2),o=r[0],i=r[1],a=t.match(o);if(!a)return null;var s=a[0],c=s.replace(/(.)\/+$/,"$1"),l=a.slice(1),u=i.reduce((function(e,t,n){if("*"===t){var r=l[n]||"";c=s.slice(0,s.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return wi(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l[n]||"",t),e}),{});return{params:u,pathname:s,pathnameBase:c,pattern:e}}function vi(e){try{return decodeURI(e)}catch(t){return wi(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function yi(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function bi(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function wi(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(Pe){}}}function _i(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function xi(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Bi(e,t,n,r){var o;void 0===r&&(r=!1),"string"===typeof e?o=ci(e):(bi(!(o=ni({},e)).pathname||!o.pathname.includes("?"),_i("?","pathname","search",o)),bi(!o.pathname||!o.pathname.includes("#"),_i("#","pathname","hash",o)),bi(!o.search||!o.search.includes("#"),_i("#","search","hash",o)));var i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(r||null==s)i=n;else{var c=t.length-1;if(s.startsWith("..")){for(var l=s.split("/");".."===l[0];)l.shift(),c-=1;o.pathname=l.join("/")}i=c>=0?t[c]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?ci(e):e,r=n.pathname,o=n.search,i=void 0===o?"":o,a=n.hash,s=void 0===a?"":a,c=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:c,search:ji(i),hash:ki(s)}}(o,i),A=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return u.pathname.endsWith("/")||!A&&!d||(u.pathname+="/"),u}var Ci=function(e){return e.join("/").replace(/\/\/+/g,"/")},Ei=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},ji=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ki=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Si=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n)}(ti(Error));var Oi=(0,bt.Z)((function e(t,n,r){(0,yt.Z)(this,e),this.status=t,this.statusText=n||"",this.data=r}));function Ni(e){return e instanceof Oi}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Fi=new Set(["POST","PUT","PATCH","DELETE"]);new Set(["GET","HEAD"].concat((0,x.Z)(Fi)));function Ii(){return Ii=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},Ii.apply(this,arguments)}var Pi="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Li=t.useState,Ti=t.useEffect,Di=t.useLayoutEffect,Qi=t.useDebugValue;function Ui(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Pi(n,r)}catch(o){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,r.useSyncExternalStore;var Mi=t.createContext(null);var Ri=t.createContext(null);var $i=t.createContext(null);var Hi=t.createContext(null);var qi=t.createContext(null);var Ki=t.createContext({outlet:null,matches:[]});var Vi=t.createContext(null);function zi(){return null!=t.useContext(qi)}function Zi(){return zi()||bi(!1),t.useContext(qi).location}function Gi(){zi()||bi(!1);var e=t.useContext(Hi),n=e.basename,r=e.navigator,o=t.useContext(Ki).matches,i=Zi().pathname,a=JSON.stringify(xi(o).map((function(e){return e.pathnameBase}))),s=t.useRef(!1);t.useEffect((function(){s.current=!0}));var c=t.useCallback((function(e,t){if(void 0===t&&(t={}),s.current)if("number"!==typeof e){var o=Bi(e,JSON.parse(a),i,"path"===t.relative);"/"!==n&&(o.pathname="/"===o.pathname?n:Ci([n,o.pathname])),(t.replace?r.replace:r.push)(o,t.state,t)}else r.go(e)}),[n,r,a,i]);return c}function Wi(){var e=t.useContext(Ki).matches,n=e[e.length-1];return n?n.params:{}}function Yi(e,n){var r=(void 0===n?{}:n).relative,o=t.useContext(Ki).matches,i=Zi().pathname,a=JSON.stringify(xi(o).map((function(e){return e.pathnameBase})));return t.useMemo((function(){return Bi(e,JSON.parse(a),i,"path"===r)}),[e,a,i,r])}function Xi(e,n){zi()||bi(!1);var r,o=t.useContext(Ri),i=t.useContext(Ki).matches,a=i[i.length-1],s=a?a.params:{},c=(a&&a.pathname,a?a.pathnameBase:"/"),l=(a&&a.route,Zi());if(n){var u,A="string"===typeof n?ci(n):n;"/"===c||(null==(u=A.pathname)?void 0:u.startsWith(c))||bi(!1),r=A}else r=l;var d=r.pathname||"/",f=Ai(e,{pathname:"/"===c?d:d.slice(c.length)||"/"});var h=oa(f&&f.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:Ci([c,e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Ci([c,e.pathnameBase])})})),i,o||void 0);return n&&h?t.createElement(qi.Provider,{value:{location:Ii({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:Xo.Pop}},h):h}function Ji(){var e=function(){var e,n=t.useContext(Vi),r=ia(ta.UseRouteError),o=t.useContext(Ki),i=o.matches[o.matches.length-1];if(n)return n;return o||bi(!1),!i.route.id&&bi(!1),null==(e=r.errors)?void 0:e[i.route.id]}(),n=Ni(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unhandled Thrown Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:i},r):null,t.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),t.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",t.createElement("code",{style:a},"errorElement")," props on\xa0",t.createElement("code",{style:a},"<Route>")))}var ea,ta,na=function(e){(0,Zo.Z)(r,e);var n=(0,Go.Z)(r);function r(e){var t;return(0,yt.Z)(this,r),(t=n.call(this,e)).state={location:e.location,error:e.error},t}return(0,bt.Z)(r,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(Vi.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),r}(t.Component);function ra(e){var n=e.routeContext,r=e.match,o=e.children,i=t.useContext(Mi);return i&&r.route.errorElement&&(i._deepestRenderedBoundaryId=r.route.id),t.createElement(Ki.Provider,{value:n},o)}function oa(e,n,r){if(void 0===n&&(n=[]),null==e){if(null==r||!r.errors)return null;e=r.matches}var o=e,i=null==r?void 0:r.errors;if(null!=i){var a=o.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));a>=0||bi(!1),o=o.slice(0,Math.min(o.length,a+1))}return o.reduceRight((function(e,a,s){var c=a.route.id?null==i?void 0:i[a.route.id]:null,l=r?a.route.errorElement||t.createElement(Ji,null):null,u=function(){return t.createElement(ra,{match:a,routeContext:{outlet:e,matches:n.concat(o.slice(0,s+1))}},c?l:void 0!==a.route.element?a.route.element:e)};return r&&(a.route.errorElement||0===s)?t.createElement(na,{location:r.location,component:l,error:c,children:u()}):u()}),null)}function ia(e){var n=t.useContext(Ri);return n||bi(!1),n}!function(e){e.UseRevalidator="useRevalidator"}(ea||(ea={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(ta||(ta={}));var aa;function sa(e){var n=e.basename,r=void 0===n?"/":n,o=e.children,i=void 0===o?null:o,a=e.location,s=e.navigationType,c=void 0===s?Xo.Pop:s,l=e.navigator,u=e.static,A=void 0!==u&&u;zi()&&bi(!1);var d=r.replace(/^\/*/,"/"),f=t.useMemo((function(){return{basename:d,navigator:l,static:A}}),[d,l,A]);"string"===typeof a&&(a=ci(a));var h=a,p=h.pathname,m=void 0===p?"/":p,g=h.search,v=void 0===g?"":g,y=h.hash,b=void 0===y?"":y,w=h.state,_=void 0===w?null:w,x=h.key,B=void 0===x?"default":x,C=t.useMemo((function(){var e=yi(m,d);return null==e?null:{pathname:e,search:v,hash:b,state:_,key:B}}),[d,m,v,b,_,B]);return null==C?null:t.createElement(Hi.Provider,{value:f},t.createElement(qi.Provider,{children:i,value:{location:C,navigationType:c}}))}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(aa||(aa={}));var ca=new Promise((function(){}));t.Component;function la(){return la=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},la.apply(this,arguments)}function ua(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}var Aa=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function da(e){var n=e.basename,r=e.children,o=e.window,i=t.useRef();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),ui((function(e,t){var n=e.location;return ai("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:si(t)}),null,e)}({window:o,v5Compat:!0}));var a=i.current,s=t.useState({action:a.action,location:a.location}),c=(0,B.Z)(s,2),l=c[0],u=c[1];return t.useLayoutEffect((function(){return a.listen(u)}),[a]),t.createElement(sa,{basename:n,children:r,location:l.location,navigationType:l.action,navigator:a})}var fa=t.forwardRef((function(e,n){var r=e.onClick,o=e.relative,i=e.reloadDocument,a=e.replace,s=e.state,c=e.target,l=e.to,u=e.preventScrollReset,A=ua(e,Aa),d=function(e,n){var r=(void 0===n?{}:n).relative;zi()||bi(!1);var o=t.useContext(Hi),i=o.basename,a=o.navigator,s=Yi(e,{relative:r}),c=s.hash,l=s.pathname,u=s.search,A=l;return"/"!==i&&(A="/"===l?i:Ci([i,l])),a.createHref({pathname:A,search:u,hash:c})}(l,{relative:o}),f=function(e,n){var r=void 0===n?{}:n,o=r.target,i=r.replace,a=r.state,s=r.preventScrollReset,c=r.relative,l=Gi(),u=Zi(),A=Yi(e,{relative:c});return t.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,o)){t.preventDefault();var n=void 0!==i?i:si(u)===si(A);l(e,{replace:n,state:a,preventScrollReset:s,relative:c})}}),[u,l,A,i,a,o,e,s,c])}(l,{replace:a,state:s,target:c,preventScrollReset:u,relative:o});return t.createElement("a",la({},A,{href:d,onClick:i?r:function(e){r&&r(e),e.defaultPrevented||f(e)},ref:n,target:c}))}));var ha,pa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(ha||(ha={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(pa||(pa={}));var ma,ga=n(7326);!function(e){e.assertEqual=function(e){return e},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=function(e){var t,n={},r=(0,_.Z)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n[o]=o}}catch(i){r.e(i)}finally{r.f()}return n},e.getValidEnumValues=function(t){var n,r=e.objectKeys(t).filter((function(e){return"number"!==typeof t[t[e]]})),o={},i=(0,_.Z)(r);try{for(i.s();!(n=i.n()).done;){var a=n.value;o[a]=t[a]}}catch(s){i.e(s)}finally{i.f()}return e.objectValues(o)},e.objectValues=function(t){return e.objectKeys(t).map((function(e){return t[e]}))},e.objectKeys="function"===typeof Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=function(e,t){var n,r=(0,_.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(t(o))return o}}catch(i){r.e(i)}finally{r.f()}},e.isInteger="function"===typeof Number.isInteger?function(e){return Number.isInteger(e)}:function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e},e.joinValues=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" | ";return e.map((function(e){return"string"===typeof e?"'".concat(e,"'"):e})).join(t)},e.jsonStringifyReplacer=function(e,t){return"bigint"===typeof t?t.toString():t}}(ma||(ma={}));var va=ma.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ya=function(e){switch(typeof e){case"undefined":return va.undefined;case"string":return va.string;case"number":return isNaN(e)?va.nan:va.number;case"boolean":return va.boolean;case"function":return va.function;case"bigint":return va.bigint;case"object":return Array.isArray(e)?va.array:null===e?va.null:e.then&&"function"===typeof e.then&&e.catch&&"function"===typeof e.catch?va.promise:"undefined"!==typeof Map&&e instanceof Map?va.map:"undefined"!==typeof Set&&e instanceof Set?va.set:"undefined"!==typeof Date&&e instanceof Date?va.date:va.object;default:return va.unknown}},ba=ma.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of"]),wa=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(e){var r;(0,yt.Z)(this,n),(r=t.call(this)).issues=[],r.addIssue=function(e){r.issues=[].concat((0,x.Z)(r.issues),[e])},r.addIssues=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r.issues=[].concat((0,x.Z)(r.issues),(0,x.Z)(e))};var o=(this instanceof n?this.constructor:void 0).prototype;return Object.setPrototypeOf?Object.setPrototypeOf((0,ga.Z)(r),o):r.__proto__=o,r.name="ZodError",r.issues=e,r}return(0,bt.Z)(n,[{key:"errors",get:function(){return this.issues}},{key:"format",value:function(e){var t=e||function(e){return e.message},n={_errors:[]};return function e(r){var o,i=(0,_.Z)(r.issues);try{for(i.s();!(o=i.n()).done;){var a=o.value;if("invalid_union"===a.code)a.unionErrors.map(e);else if("invalid_return_type"===a.code)e(a.returnTypeError);else if("invalid_arguments"===a.code)e(a.argumentsError);else if(0===a.path.length)n._errors.push(t(a));else for(var s=n,c=0;c<a.path.length;){var l=a.path[c];c===a.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(t(a))):s[l]=s[l]||{_errors:[]},s=s[l],c++}}}catch(u){i.e(u)}finally{i.f()}}(this),n}},{key:"toString",value:function(){return this.message}},{key:"message",get:function(){return JSON.stringify(this.issues,ma.jsonStringifyReplacer,2)}},{key:"isEmpty",get:function(){return 0===this.issues.length}},{key:"flatten",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e.message},n={},r=[],o=(0,_.Z)(this.issues);try{for(o.s();!(e=o.n()).done;){var i=e.value;i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i))}}catch(a){o.e(a)}finally{o.f()}return{formErrors:r,fieldErrors:n}}},{key:"formErrors",get:function(){return this.flatten()}}]),n}(ti(Error));wa.create=function(e){return new wa(e)};var _a=function(e,t){var n;switch(e.code){case ba.invalid_type:n=e.received===va.undefined?"Required":"Expected ".concat(e.expected,", received ").concat(e.received);break;case ba.invalid_literal:n="Invalid literal value, expected ".concat(JSON.stringify(e.expected,ma.jsonStringifyReplacer));break;case ba.unrecognized_keys:n="Unrecognized key(s) in object: ".concat(ma.joinValues(e.keys,", "));break;case ba.invalid_union:n="Invalid input";break;case ba.invalid_union_discriminator:n="Invalid discriminator value. Expected ".concat(ma.joinValues(e.options));break;case ba.invalid_enum_value:n="Invalid enum value. Expected ".concat(ma.joinValues(e.options),", received '").concat(e.received,"'");break;case ba.invalid_arguments:n="Invalid function arguments";break;case ba.invalid_return_type:n="Invalid function return type";break;case ba.invalid_date:n="Invalid date";break;case ba.invalid_string:"object"===typeof e.validation?"startsWith"in e.validation?n='Invalid input: must start with "'.concat(e.validation.startsWith,'"'):"endsWith"in e.validation?n='Invalid input: must end with "'.concat(e.validation.endsWith,'"'):ma.assertNever(e.validation):n="regex"!==e.validation?"Invalid ".concat(e.validation):"Invalid";break;case ba.too_small:n="array"===e.type?"Array must contain ".concat(e.inclusive?"at least":"more than"," ").concat(e.minimum," element(s)"):"string"===e.type?"String must contain ".concat(e.inclusive?"at least":"over"," ").concat(e.minimum," character(s)"):"number"===e.type?"Number must be greater than ".concat(e.inclusive?"or equal to ":"").concat(e.minimum):"date"===e.type?"Date must be greater than ".concat(e.inclusive?"or equal to ":"").concat(new Date(e.minimum)):"Invalid input";break;case ba.too_big:n="array"===e.type?"Array must contain ".concat(e.inclusive?"at most":"less than"," ").concat(e.maximum," element(s)"):"string"===e.type?"String must contain ".concat(e.inclusive?"at most":"under"," ").concat(e.maximum," character(s)"):"number"===e.type?"Number must be less than ".concat(e.inclusive?"or equal to ":"").concat(e.maximum):"date"===e.type?"Date must be smaller than ".concat(e.inclusive?"or equal to ":"").concat(new Date(e.maximum)):"Invalid input";break;case ba.custom:n="Invalid input";break;case ba.invalid_intersection_types:n="Intersection results could not be merged";break;case ba.not_multiple_of:n="Number must be a multiple of ".concat(e.multipleOf);break;default:n=t.defaultError,ma.assertNever(e)}return{message:n}},xa=_a;function Ba(){return xa}var Ca=function(e){var t,n=e.data,r=e.path,o=e.errorMaps,i=e.issueData,a=[].concat((0,x.Z)(r),(0,x.Z)(i.path||[])),c=s(s({},i),{},{path:a}),l="",u=o.filter((function(e){return!!e})).slice().reverse(),A=(0,_.Z)(u);try{for(A.s();!(t=A.n()).done;){l=(0,t.value)(c,{data:n,defaultError:l}).message}}catch(d){A.e(d)}finally{A.f()}return s(s({},i),{},{path:a,message:i.message||l})};function Ea(e,t){var n=Ca({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,Ba(),_a].filter((function(e){return!!e}))});e.common.issues.push(n)}var ja,ka=function(){function e(){(0,yt.Z)(this,e),this.value="valid"}return(0,bt.Z)(e,[{key:"dirty",value:function(){"valid"===this.value&&(this.value="dirty")}},{key:"abort",value:function(){"aborted"!==this.value&&(this.value="aborted")}}],[{key:"mergeArray",value:function(e,t){var n,r=[],o=(0,_.Z)(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("aborted"===i.status)return Sa;"dirty"===i.status&&e.dirty(),r.push(i.value)}}catch(a){o.e(a)}finally{o.f()}return{status:e.value,value:r}}},{key:"mergeObjectAsync",value:function(){var t=(0,re.Z)((0,ne.Z)().mark((function t(n,r){var o,i,a,s;return(0,ne.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=[],i=(0,_.Z)(r),t.prev=2,i.s();case 4:if((a=i.n()).done){t.next=17;break}return s=a.value,t.t0=o,t.next=9,s.key;case 9:return t.t1=t.sent,t.next=12,s.value;case 12:t.t2=t.sent,t.t3={key:t.t1,value:t.t2},t.t0.push.call(t.t0,t.t3);case 15:t.next=4;break;case 17:t.next=22;break;case 19:t.prev=19,t.t4=t.catch(2),i.e(t.t4);case 22:return t.prev=22,i.f(),t.finish(22);case 25:return t.abrupt("return",e.mergeObjectSync(n,o));case 26:case"end":return t.stop()}}),t,null,[[2,19,22,25]])})));return function(e,n){return t.apply(this,arguments)}}()},{key:"mergeObjectSync",value:function(e,t){var n,r={},o=(0,_.Z)(t);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=i.key,s=i.value;if("aborted"===a.status)return Sa;if("aborted"===s.status)return Sa;"dirty"===a.status&&e.dirty(),"dirty"===s.status&&e.dirty(),("undefined"!==typeof s.value||i.alwaysSet)&&(r[a.value]=s.value)}}catch(c){o.e(c)}finally{o.f()}return{status:e.value,value:r}}}]),e}(),Sa=Object.freeze({status:"aborted"}),Oa=function(e){return{status:"valid",value:e}},Na=function(e){return"aborted"===e.status},Fa=function(e){return"dirty"===e.status},Ia=function(e){return"valid"===e.status},Pa=function(e){return void 0!==typeof Promise&&e instanceof Promise};!function(e){e.errToObj=function(e){return"string"===typeof e?{message:e}:e||{}},e.toString=function(e){return"string"===typeof e?e:null===e||void 0===e?void 0:e.message}}(ja||(ja={}));var La=function(){function e(t,n,r,o){(0,yt.Z)(this,e),this.parent=t,this.data=n,this._path=r,this._key=o}return(0,bt.Z)(e,[{key:"path",get:function(){return this._path.concat(this._key)}}]),e}(),Ta=function(e,t){if(Ia(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,error:new wa(e.common.issues)}};function Da(e){if(!e)return{};var t=e.errorMap,n=e.invalid_type_error,r=e.required_error,o=e.description;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:o};return{errorMap:function(e,t){return"invalid_type"!==e.code?{message:t.defaultError}:"undefined"===typeof t.data?{message:null!==r&&void 0!==r?r:t.defaultError}:{message:null!==n&&void 0!==n?n:t.defaultError}},description:o}}var Qa=function(){function e(t){(0,yt.Z)(this,e),this.spa=this.safeParseAsync,this.superRefine=this._refinement,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.default=this.default.bind(this),this.describe=this.describe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}return(0,bt.Z)(e,[{key:"description",get:function(){return this._def.description}},{key:"_getType",value:function(e){return ya(e.data)}},{key:"_getOrReturnCtx",value:function(e,t){return t||{common:e.parent.common,data:e.data,parsedType:ya(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}},{key:"_processInputParams",value:function(e){return{status:new ka,ctx:{common:e.parent.common,data:e.data,parsedType:ya(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}},{key:"_parseSync",value:function(e){var t=this._parse(e);if(Pa(t))throw new Error("Synchronous parse encountered promise.");return t}},{key:"_parseAsync",value:function(e){var t=this._parse(e);return Promise.resolve(t)}},{key:"parse",value:function(e,t){var n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}},{key:"safeParse",value:function(e,t){var n,r={common:{issues:[],async:null!==(n=null===t||void 0===t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null===t||void 0===t?void 0:t.errorMap},path:(null===t||void 0===t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ya(e)},o=this._parseSync({data:e,path:r.path,parent:r});return Ta(r,o)}},{key:"parseAsync",value:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t,n){var r;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeParseAsync(t,n);case 2:if(!(r=e.sent).success){e.next=5;break}return e.abrupt("return",r.data);case 5:throw r.error;case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"safeParseAsync",value:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t,n){var r,o,i;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={common:{issues:[],contextualErrorMap:null===n||void 0===n?void 0:n.errorMap,async:!0},path:(null===n||void 0===n?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ya(t)},o=this._parse({data:t,path:[],parent:r}),e.next=4,Pa(o)?o:Promise.resolve(o);case 4:return i=e.sent,e.abrupt("return",Ta(r,i));case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"refine",value:function(e,t){return this._refinement((function(n,r){var o=e(n),i=function(){return r.addIssue(s({code:ba.custom},function(e){return"string"===typeof t||"undefined"===typeof t?{message:t}:"function"===typeof t?t(e):t}(n)))};return"undefined"!==typeof Promise&&o instanceof Promise?o.then((function(e){return!!e||(i(),!1)})):!!o||(i(),!1)}))}},{key:"refinement",value:function(e,t){return this._refinement((function(n,r){return!!e(n)||(r.addIssue("function"===typeof t?t(n,r):t),!1)}))}},{key:"_refinement",value:function(e){return new bs({schema:this,typeName:Cs.ZodEffects,effect:{type:"refinement",refinement:e}})}},{key:"optional",value:function(){return ws.create(this)}},{key:"nullable",value:function(){return _s.create(this)}},{key:"nullish",value:function(){return this.optional().nullable()}},{key:"array",value:function(){return ts.create(this)}},{key:"promise",value:function(){return ys.create(this)}},{key:"or",value:function(e){return is.create([this,e])}},{key:"and",value:function(e){return cs.create(this,e)}},{key:"transform",value:function(e){return new bs({schema:this,typeName:Cs.ZodEffects,effect:{type:"transform",transform:e}})}},{key:"default",value:function(e){return new xs({innerType:this,defaultValue:"function"===typeof e?e:function(){return e},typeName:Cs.ZodDefault})}},{key:"brand",value:function(){return new js(s({typeName:Cs.ZodBranded,type:this},Da(void 0)))}},{key:"describe",value:function(e){return new(0,this.constructor)(s(s({},this._def),{},{description:e}))}},{key:"isOptional",value:function(){return this.safeParse(void 0).success}},{key:"isNullable",value:function(){return this.safeParse(null).success}}]),e}(),Ua=/^c[^\s-]{8,}$/i,Ma=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,Ra=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,$a=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments))._regex=function(t,n,r){return e.refinement((function(e){return t.test(e)}),s({validation:n,code:ba.invalid_string},ja.errToObj(r)))},e.nonempty=function(t){return e.min(1,ja.errToObj(t))},e.trim=function(){return new n(s(s({},e._def),{},{checks:[].concat((0,x.Z)(e._def.checks),[{kind:"trim"}])}))},e}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.string){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.string,received:t.parsedType}),Sa}var n,r=new ka,o=void 0,i=(0,_.Z)(this._def.checks);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("min"===a.kind)e.data.length<a.value&&(Ea(o=this._getOrReturnCtx(e,o),{code:ba.too_small,minimum:a.value,type:"string",inclusive:!0,message:a.message}),r.dirty());else if("max"===a.kind)e.data.length>a.value&&(Ea(o=this._getOrReturnCtx(e,o),{code:ba.too_big,maximum:a.value,type:"string",inclusive:!0,message:a.message}),r.dirty());else if("email"===a.kind)Ra.test(e.data)||(Ea(o=this._getOrReturnCtx(e,o),{validation:"email",code:ba.invalid_string,message:a.message}),r.dirty());else if("uuid"===a.kind)Ma.test(e.data)||(Ea(o=this._getOrReturnCtx(e,o),{validation:"uuid",code:ba.invalid_string,message:a.message}),r.dirty());else if("cuid"===a.kind)Ua.test(e.data)||(Ea(o=this._getOrReturnCtx(e,o),{validation:"cuid",code:ba.invalid_string,message:a.message}),r.dirty());else if("url"===a.kind)try{new URL(e.data)}catch(G_){Ea(o=this._getOrReturnCtx(e,o),{validation:"url",code:ba.invalid_string,message:a.message}),r.dirty()}else if("regex"===a.kind){a.regex.lastIndex=0,a.regex.test(e.data)||(Ea(o=this._getOrReturnCtx(e,o),{validation:"regex",code:ba.invalid_string,message:a.message}),r.dirty())}else"trim"===a.kind?e.data=e.data.trim():"startsWith"===a.kind?e.data.startsWith(a.value)||(Ea(o=this._getOrReturnCtx(e,o),{code:ba.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):"endsWith"===a.kind?e.data.endsWith(a.value)||(Ea(o=this._getOrReturnCtx(e,o),{code:ba.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):ma.assertNever(a)}}catch(s){i.e(s)}finally{i.f()}return{status:r.value,value:e.data}}},{key:"_addCheck",value:function(e){return new n(s(s({},this._def),{},{checks:[].concat((0,x.Z)(this._def.checks),[e])}))}},{key:"email",value:function(e){return this._addCheck(s({kind:"email"},ja.errToObj(e)))}},{key:"url",value:function(e){return this._addCheck(s({kind:"url"},ja.errToObj(e)))}},{key:"uuid",value:function(e){return this._addCheck(s({kind:"uuid"},ja.errToObj(e)))}},{key:"cuid",value:function(e){return this._addCheck(s({kind:"cuid"},ja.errToObj(e)))}},{key:"regex",value:function(e,t){return this._addCheck(s({kind:"regex",regex:e},ja.errToObj(t)))}},{key:"startsWith",value:function(e,t){return this._addCheck(s({kind:"startsWith",value:e},ja.errToObj(t)))}},{key:"endsWith",value:function(e,t){return this._addCheck(s({kind:"endsWith",value:e},ja.errToObj(t)))}},{key:"min",value:function(e,t){return this._addCheck(s({kind:"min",value:e},ja.errToObj(t)))}},{key:"max",value:function(e,t){return this._addCheck(s({kind:"max",value:e},ja.errToObj(t)))}},{key:"length",value:function(e,t){return this.min(e,t).max(e,t)}},{key:"isEmail",get:function(){return!!this._def.checks.find((function(e){return"email"===e.kind}))}},{key:"isURL",get:function(){return!!this._def.checks.find((function(e){return"url"===e.kind}))}},{key:"isUUID",get:function(){return!!this._def.checks.find((function(e){return"uuid"===e.kind}))}},{key:"isCUID",get:function(){return!!this._def.checks.find((function(e){return"cuid"===e.kind}))}},{key:"minLength",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return t}},{key:"maxLength",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return t}}]),n}(Qa);function Ha(e,t){var n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)}$a.create=function(e){return new $a(s({checks:[],typeName:Cs.ZodString},Da(e)))};var qa=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments)).min=e.gte,e.max=e.lte,e.step=e.multipleOf,e}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.number){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.number,received:t.parsedType}),Sa}var n,r=void 0,o=new ka,i=(0,_.Z)(this._def.checks);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("int"===a.kind)ma.isInteger(e.data)||(Ea(r=this._getOrReturnCtx(e,r),{code:ba.invalid_type,expected:"integer",received:"float",message:a.message}),o.dirty());else if("min"===a.kind){(a.inclusive?e.data<a.value:e.data<=a.value)&&(Ea(r=this._getOrReturnCtx(e,r),{code:ba.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,message:a.message}),o.dirty())}else if("max"===a.kind){(a.inclusive?e.data>a.value:e.data>=a.value)&&(Ea(r=this._getOrReturnCtx(e,r),{code:ba.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,message:a.message}),o.dirty())}else"multipleOf"===a.kind?0!==Ha(e.data,a.value)&&(Ea(r=this._getOrReturnCtx(e,r),{code:ba.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):ma.assertNever(a)}}catch(s){i.e(s)}finally{i.f()}return{status:o.value,value:e.data}}},{key:"gte",value:function(e,t){return this.setLimit("min",e,!0,ja.toString(t))}},{key:"gt",value:function(e,t){return this.setLimit("min",e,!1,ja.toString(t))}},{key:"lte",value:function(e,t){return this.setLimit("max",e,!0,ja.toString(t))}},{key:"lt",value:function(e,t){return this.setLimit("max",e,!1,ja.toString(t))}},{key:"setLimit",value:function(e,t,r,o){return new n(s(s({},this._def),{},{checks:[].concat((0,x.Z)(this._def.checks),[{kind:e,value:t,inclusive:r,message:ja.toString(o)}])}))}},{key:"_addCheck",value:function(e){return new n(s(s({},this._def),{},{checks:[].concat((0,x.Z)(this._def.checks),[e])}))}},{key:"int",value:function(e){return this._addCheck({kind:"int",message:ja.toString(e)})}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ja.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ja.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ja.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ja.toString(e)})}},{key:"multipleOf",value:function(e,t){return this._addCheck({kind:"multipleOf",value:e,message:ja.toString(t)})}},{key:"minValue",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return t}},{key:"maxValue",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return t}},{key:"isInt",get:function(){return!!this._def.checks.find((function(e){return"int"===e.kind}))}}]),n}(Qa);qa.create=function(e){return new qa(s({checks:[],typeName:Cs.ZodNumber},Da(e)))};var Ka=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.bigint){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.bigint,received:t.parsedType}),Sa}return Oa(e.data)}}]),n}(Qa);Ka.create=function(e){return new Ka(s({typeName:Cs.ZodBigInt},Da(e)))};var Va=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.boolean){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.boolean,received:t.parsedType}),Sa}return Oa(e.data)}}]),n}(Qa);Va.create=function(e){return new Va(s({typeName:Cs.ZodBoolean},Da(e)))};var za=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.date){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.date,received:t.parsedType}),Sa}if(isNaN(e.data.getTime()))return Ea(this._getOrReturnCtx(e),{code:ba.invalid_date}),Sa;var n,r=new ka,o=void 0,i=(0,_.Z)(this._def.checks);try{for(i.s();!(n=i.n()).done;){var a=n.value;"min"===a.kind?e.data.getTime()<a.value&&(Ea(o=this._getOrReturnCtx(e,o),{code:ba.too_small,message:a.message,inclusive:!0,minimum:a.value,type:"date"}),r.dirty()):"max"===a.kind?e.data.getTime()>a.value&&(Ea(o=this._getOrReturnCtx(e,o),{code:ba.too_big,message:a.message,inclusive:!0,maximum:a.value,type:"date"}),r.dirty()):ma.assertNever(a)}}catch(s){i.e(s)}finally{i.f()}return{status:r.value,value:new Date(e.data.getTime())}}},{key:"_addCheck",value:function(e){return new n(s(s({},this._def),{},{checks:[].concat((0,x.Z)(this._def.checks),[e])}))}},{key:"min",value:function(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:ja.toString(t)})}},{key:"max",value:function(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:ja.toString(t)})}},{key:"minDate",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"min"===r.kind&&(null===t||r.value>t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return null!=t?new Date(t):null}},{key:"maxDate",get:function(){var e,t=null,n=(0,_.Z)(this._def.checks);try{for(n.s();!(e=n.n()).done;){var r=e.value;"max"===r.kind&&(null===t||r.value<t)&&(t=r.value)}}catch(o){n.e(o)}finally{n.f()}return null!=t?new Date(t):null}}]),n}(Qa);za.create=function(e){return new za(s({checks:[],typeName:Cs.ZodDate},Da(e)))};var Za=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.undefined){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.undefined,received:t.parsedType}),Sa}return Oa(e.data)}}]),n}(Qa);Za.create=function(e){return new Za(s({typeName:Cs.ZodUndefined},Da(e)))};var Ga=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.null){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.null,received:t.parsedType}),Sa}return Oa(e.data)}}]),n}(Qa);Ga.create=function(e){return new Ga(s({typeName:Cs.ZodNull},Da(e)))};var Wa=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments))._any=!0,e}return(0,bt.Z)(n,[{key:"_parse",value:function(e){return Oa(e.data)}}]),n}(Qa);Wa.create=function(e){return new Wa(s({typeName:Cs.ZodAny},Da(e)))};var Ya=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments))._unknown=!0,e}return(0,bt.Z)(n,[{key:"_parse",value:function(e){return Oa(e.data)}}]),n}(Qa);Ya.create=function(e){return new Ya(s({typeName:Cs.ZodUnknown},Da(e)))};var Xa=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.never,received:t.parsedType}),Sa}}]),n}(Qa);Xa.create=function(e){return new Xa(s({typeName:Cs.ZodNever},Da(e)))};var Ja=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.undefined){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.void,received:t.parsedType}),Sa}return Oa(e.data)}}]),n}(Qa);Ja.create=function(e){return new Ja(s({typeName:Cs.ZodVoid},Da(e)))};var es,ts=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.ctx,r=t.status,o=this._def;if(n.parsedType!==va.array)return Ea(n,{code:ba.invalid_type,expected:va.array,received:n.parsedType}),Sa;if(null!==o.minLength&&n.data.length<o.minLength.value&&(Ea(n,{code:ba.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,message:o.minLength.message}),r.dirty()),null!==o.maxLength&&n.data.length>o.maxLength.value&&(Ea(n,{code:ba.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all(n.data.map((function(e,t){return o.type._parseAsync(new La(n,e,n.path,t))}))).then((function(e){return ka.mergeArray(r,e)}));var i=n.data.map((function(e,t){return o.type._parseSync(new La(n,e,n.path,t))}));return ka.mergeArray(r,i)}},{key:"element",get:function(){return this._def.type}},{key:"min",value:function(e,t){return new n(s(s({},this._def),{},{minLength:{value:e,message:ja.toString(t)}}))}},{key:"max",value:function(e,t){return new n(s(s({},this._def),{},{maxLength:{value:e,message:ja.toString(t)}}))}},{key:"length",value:function(e,t){return this.min(e,t).max(e,t)}},{key:"nonempty",value:function(e){return this.min(1,e)}}]),n}(Qa);ts.create=function(e,t){return new ts(s({type:e,minLength:null,maxLength:null,typeName:Cs.ZodArray},Da(t)))},function(e){e.mergeShapes=function(e,t){return s(s({},e),t)}}(es||(es={}));var ns=function(e){return function(t){return new os(s(s({},e),{},{shape:function(){return s(s({},e.shape()),t)}}))}};function rs(e){if(e instanceof os){var t={};for(var n in e.shape){var r=e.shape[n];t[n]=ws.create(rs(r))}return new os(s(s({},e._def),{},{shape:function(){return t}}))}return e instanceof ts?ts.create(rs(e.element)):e instanceof ws?ws.create(rs(e.unwrap())):e instanceof _s?_s.create(rs(e.unwrap())):e instanceof ls?ls.create(e.items.map((function(e){return rs(e)}))):e}var os=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments))._cached=null,e.nonstrict=e.passthrough,e.augment=ns(e._def),e.extend=ns(e._def),e}return(0,bt.Z)(n,[{key:"_getCached",value:function(){if(null!==this._cached)return this._cached;var e=this._def.shape(),t=ma.objectKeys(e);return this._cached={shape:e,keys:t}}},{key:"_parse",value:function(e){if(this._getType(e)!==va.object){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.object,received:t.parsedType}),Sa}var n=this._processInputParams(e),r=n.status,o=n.ctx,i=this._getCached(),a=i.shape,s=i.keys,c=[];if(!(this._def.catchall instanceof Xa&&"strip"===this._def.unknownKeys))for(var l in o.data)s.includes(l)||c.push(l);var u,A=[],d=(0,_.Z)(s);try{for(d.s();!(u=d.n()).done;){var f=u.value,h=a[f],p=o.data[f];A.push({key:{status:"valid",value:f},value:h._parse(new La(o,p,o.path,f)),alwaysSet:f in o.data})}}catch(E){d.e(E)}finally{d.f()}if(this._def.catchall instanceof Xa){var m=this._def.unknownKeys;if("passthrough"===m){var g,v=(0,_.Z)(c);try{for(v.s();!(g=v.n()).done;){var y=g.value;A.push({key:{status:"valid",value:y},value:{status:"valid",value:o.data[y]}})}}catch(E){v.e(E)}finally{v.f()}}else if("strict"===m)c.length>0&&(Ea(o,{code:ba.unrecognized_keys,keys:c}),r.dirty());else if("strip"!==m)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{var b,w=this._def.catchall,x=(0,_.Z)(c);try{for(x.s();!(b=x.n()).done;){var B=b.value,C=o.data[B];A.push({key:{status:"valid",value:B},value:w._parse(new La(o,C,o.path,B)),alwaysSet:B in o.data})}}catch(E){x.e(E)}finally{x.f()}}return o.common.async?Promise.resolve().then((0,re.Z)((0,ne.Z)().mark((function e(){var t,n,r,o,i;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],n=(0,_.Z)(A),e.prev=2,n.s();case 4:if((r=n.n()).done){e.next=19;break}return o=r.value,e.next=8,o.key;case 8:return i=e.sent,e.t0=t,e.t1=i,e.next=13,o.value;case 13:e.t2=e.sent,e.t3=o.alwaysSet,e.t4={key:e.t1,value:e.t2,alwaysSet:e.t3},e.t0.push.call(e.t0,e.t4);case 17:e.next=4;break;case 19:e.next=24;break;case 21:e.prev=21,e.t5=e.catch(2),n.e(e.t5);case 24:return e.prev=24,n.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[2,21,24,27]])})))).then((function(e){return ka.mergeObjectSync(r,e)})):ka.mergeObjectSync(r,A)}},{key:"shape",get:function(){return this._def.shape()}},{key:"strict",value:function(e){var t=this;return ja.errToObj,new n(s(s({},this._def),{},{unknownKeys:"strict"},void 0!==e?{errorMap:function(n,r){var o,i,a,s,c=null!==(a=null===(i=(o=t._def).errorMap)||void 0===i?void 0:i.call(o,n,r).message)&&void 0!==a?a:r.defaultError;return"unrecognized_keys"===n.code?{message:null!==(s=ja.errToObj(e).message)&&void 0!==s?s:c}:{message:c}}}:{}))}},{key:"strip",value:function(){return new n(s(s({},this._def),{},{unknownKeys:"strip"}))}},{key:"passthrough",value:function(){return new n(s(s({},this._def),{},{unknownKeys:"passthrough"}))}},{key:"setKey",value:function(e,t){return this.augment((0,i.Z)({},e,t))}},{key:"merge",value:function(e){var t=this;return new n({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:function(){return es.mergeShapes(t._def.shape(),e._def.shape())},typeName:Cs.ZodObject})}},{key:"catchall",value:function(e){return new n(s(s({},this._def),{},{catchall:e}))}},{key:"pick",value:function(e){var t=this,r={};return ma.objectKeys(e).map((function(e){t.shape[e]&&(r[e]=t.shape[e])})),new n(s(s({},this._def),{},{shape:function(){return r}}))}},{key:"omit",value:function(e){var t=this,r={};return ma.objectKeys(this.shape).map((function(n){-1===ma.objectKeys(e).indexOf(n)&&(r[n]=t.shape[n])})),new n(s(s({},this._def),{},{shape:function(){return r}}))}},{key:"deepPartial",value:function(){return rs(this)}},{key:"partial",value:function(e){var t=this,r={};if(e)return ma.objectKeys(this.shape).map((function(n){-1===ma.objectKeys(e).indexOf(n)?r[n]=t.shape[n]:r[n]=t.shape[n].optional()})),new n(s(s({},this._def),{},{shape:function(){return r}}));for(var o in this.shape){var i=this.shape[o];r[o]=i.optional()}return new n(s(s({},this._def),{},{shape:function(){return r}}))}},{key:"required",value:function(){var e={};for(var t in this.shape){for(var r=this.shape[t];r instanceof ws;)r=r._def.innerType;e[t]=r}return new n(s(s({},this._def),{},{shape:function(){return e}}))}},{key:"keyof",value:function(){return ms(ma.objectKeys(this.shape))}}]),n}(Qa);os.create=function(e,t){return new os(s({shape:function(){return e},unknownKeys:"strip",catchall:Xa.create(),typeName:Cs.ZodObject},Da(t)))},os.strictCreate=function(e,t){return new os(s({shape:function(){return e},unknownKeys:"strict",catchall:Xa.create(),typeName:Cs.ZodObject},Da(t)))},os.lazycreate=function(e,t){return new os(s({shape:e,unknownKeys:"strip",catchall:Xa.create(),typeName:Cs.ZodObject},Da(t)))};var is=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=this._def.options;if(t.common.async)return Promise.all(n.map(function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(n){var r;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=s(s({},t),{},{common:s(s({},t.common),{},{issues:[]}),parent:null}),e.next=3,n._parseAsync({data:t.data,path:t.path,parent:r});case 3:return e.t0=e.sent,e.t1=r,e.abrupt("return",{result:e.t0,ctx:e.t1});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())).then((function(e){var n,r=(0,_.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if("valid"===o.result.status)return o.result}}catch(u){r.e(u)}finally{r.f()}var i,a=(0,_.Z)(e);try{for(a.s();!(i=a.n()).done;){var s,c=i.value;if("dirty"===c.result.status)return(s=t.common.issues).push.apply(s,(0,x.Z)(c.ctx.common.issues)),c.result}}catch(u){a.e(u)}finally{a.f()}var l=e.map((function(e){return new wa(e.ctx.common.issues)}));return Ea(t,{code:ba.invalid_union,unionErrors:l}),Sa}));var r,o,i=void 0,a=[],c=(0,_.Z)(n);try{for(c.s();!(r=c.n()).done;){var l=r.value,u=s(s({},t),{},{common:s(s({},t.common),{},{issues:[]}),parent:null}),A=l._parseSync({data:t.data,path:t.path,parent:u});if("valid"===A.status)return A;"dirty"!==A.status||i||(i={result:A,ctx:u}),u.common.issues.length&&a.push(u.common.issues)}}catch(f){c.e(f)}finally{c.f()}if(i)return(o=t.common.issues).push.apply(o,(0,x.Z)(i.ctx.common.issues)),i.result;var d=a.map((function(e){return new wa(e)}));return Ea(t,{code:ba.invalid_union,unionErrors:d}),Sa}},{key:"options",get:function(){return this._def.options}}]),n}(Qa);is.create=function(e,t){return new is(s({options:e,typeName:Cs.ZodUnion},Da(t)))};var as=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;if(t.parsedType!==va.object)return Ea(t,{code:ba.invalid_type,expected:va.object,received:t.parsedType}),Sa;var n=this.discriminator,r=t.data[n],o=this.options.get(r);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(Ea(t,{code:ba.invalid_union_discriminator,options:this.validDiscriminatorValues,path:[n]}),Sa)}},{key:"discriminator",get:function(){return this._def.discriminator}},{key:"validDiscriminatorValues",get:function(){return Array.from(this.options.keys())}},{key:"options",get:function(){return this._def.options}}],[{key:"create",value:function(e,t,r){var o=new Map;try{t.forEach((function(t){var n=t.shape[e].value;o.set(n,t)}))}catch(Pe){throw new Error("The discriminator value could not be extracted from all the provided schemas")}if(o.size!==t.length)throw new Error("Some of the discriminator values are not unique");return new n(s({typeName:Cs.ZodDiscriminatedUnion,discriminator:e,options:o},Da(r)))}}]),n}(Qa);function ss(e,t){var n=ya(e),r=ya(t);if(e===t)return{valid:!0,data:e};if(n===va.object&&r===va.object){var o,i=ma.objectKeys(t),a=ma.objectKeys(e).filter((function(e){return-1!==i.indexOf(e)})),c=s(s({},e),t),l=(0,_.Z)(a);try{for(l.s();!(o=l.n()).done;){var u=o.value,A=ss(e[u],t[u]);if(!A.valid)return{valid:!1};c[u]=A.data}}catch(p){l.e(p)}finally{l.f()}return{valid:!0,data:c}}if(n===va.array&&r===va.array){if(e.length!==t.length)return{valid:!1};for(var d=[],f=0;f<e.length;f++){var h=ss(e[f],t[f]);if(!h.valid)return{valid:!1};d.push(h.data)}return{valid:!0,data:d}}return n===va.date&&r===va.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}var cs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx,o=function(e,t){if(Na(e)||Na(t))return Sa;var o=ss(e.value,t.value);return o.valid?((Fa(e)||Fa(t))&&n.dirty(),{status:n.value,value:o.data}):(Ea(r,{code:ba.invalid_intersection_types}),Sa)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((function(e){var t=(0,B.Z)(e,2),n=t[0],r=t[1];return o(n,r)})):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}]),n}(Qa);cs.create=function(e,t,n){return new cs(s({left:e,right:t,typeName:Cs.ZodIntersection},Da(n)))};var ls=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e),r=n.status,o=n.ctx;if(o.parsedType!==va.array)return Ea(o,{code:ba.invalid_type,expected:va.array,received:o.parsedType}),Sa;if(o.data.length<this._def.items.length)return Ea(o,{code:ba.too_small,minimum:this._def.items.length,inclusive:!0,type:"array"}),Sa;!this._def.rest&&o.data.length>this._def.items.length&&(Ea(o,{code:ba.too_big,maximum:this._def.items.length,inclusive:!0,type:"array"}),r.dirty());var i=o.data.map((function(e,n){var r=t._def.items[n]||t._def.rest;return r?r._parse(new La(o,e,o.path,n)):null})).filter((function(e){return!!e}));return o.common.async?Promise.all(i).then((function(e){return ka.mergeArray(r,e)})):ka.mergeArray(r,i)}},{key:"items",get:function(){return this._def.items}},{key:"rest",value:function(e){return new n(s(s({},this._def),{},{rest:e}))}}]),n}(Qa);ls.create=function(e,t){if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ls(s({items:e,typeName:Cs.ZodTuple,rest:null},Da(t)))};var us=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==va.object)return Ea(r,{code:ba.invalid_type,expected:va.object,received:r.parsedType}),Sa;var o=[],i=this._def.keyType,a=this._def.valueType;for(var s in r.data)o.push({key:i._parse(new La(r,s,r.path,s)),value:a._parse(new La(r,r.data[s],r.path,s))});return r.common.async?ka.mergeObjectAsync(n,o):ka.mergeObjectSync(n,o)}},{key:"element",get:function(){return this._def.valueType}}],[{key:"create",value:function(e,t,r){return new n(t instanceof Qa?s({keyType:e,valueType:t,typeName:Cs.ZodRecord},Da(r)):s({keyType:$a.create(),valueType:e,typeName:Cs.ZodRecord},Da(t)))}}]),n}(Qa),As=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==va.map)return Ea(r,{code:ba.invalid_type,expected:va.map,received:r.parsedType}),Sa;var o=this._def.keyType,i=this._def.valueType,a=(0,x.Z)(r.data.entries()).map((function(e,t){var n=(0,B.Z)(e,2),a=n[0],s=n[1];return{key:o._parse(new La(r,a,r.path,[t,"key"])),value:i._parse(new La(r,s,r.path,[t,"value"]))}}));if(r.common.async){var s=new Map;return Promise.resolve().then((0,re.Z)((0,ne.Z)().mark((function e(){var t,r,o,i,c;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=(0,_.Z)(a),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=17;break}return o=r.value,e.next=7,o.key;case 7:return i=e.sent,e.next=10,o.value;case 10:if(c=e.sent,"aborted"!==i.status&&"aborted"!==c.status){e.next=13;break}return e.abrupt("return",Sa);case 13:"dirty"!==i.status&&"dirty"!==c.status||n.dirty(),s.set(i.value,c.value);case 15:e.next=3;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(1),t.e(e.t0);case 22:return e.prev=22,t.f(),e.finish(22);case 25:return e.abrupt("return",{status:n.value,value:s});case 26:case"end":return e.stop()}}),e,null,[[1,19,22,25]])}))))}var c,l=new Map,u=(0,_.Z)(a);try{for(u.s();!(c=u.n()).done;){var A=c.value,d=A.key,f=A.value;if("aborted"===d.status||"aborted"===f.status)return Sa;"dirty"!==d.status&&"dirty"!==f.status||n.dirty(),l.set(d.value,f.value)}}catch(h){u.e(h)}finally{u.f()}return{status:n.value,value:l}}}]),n}(Qa);As.create=function(e,t,n){return new As(s({valueType:t,keyType:e,typeName:Cs.ZodMap},Da(n)))};var ds=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,r=t.ctx;if(r.parsedType!==va.set)return Ea(r,{code:ba.invalid_type,expected:va.set,received:r.parsedType}),Sa;var o=this._def;null!==o.minSize&&r.data.size<o.minSize.value&&(Ea(r,{code:ba.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,message:o.minSize.message}),n.dirty()),null!==o.maxSize&&r.data.size>o.maxSize.value&&(Ea(r,{code:ba.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,message:o.maxSize.message}),n.dirty());var i=this._def.valueType;function a(e){var t,r=new Set,o=(0,_.Z)(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;if("aborted"===i.status)return Sa;"dirty"===i.status&&n.dirty(),r.add(i.value)}}catch(a){o.e(a)}finally{o.f()}return{status:n.value,value:r}}var s=(0,x.Z)(r.data.values()).map((function(e,t){return i._parse(new La(r,e,r.path,t))}));return r.common.async?Promise.all(s).then((function(e){return a(e)})):a(s)}},{key:"min",value:function(e,t){return new n(s(s({},this._def),{},{minSize:{value:e,message:ja.toString(t)}}))}},{key:"max",value:function(e,t){return new n(s(s({},this._def),{},{maxSize:{value:e,message:ja.toString(t)}}))}},{key:"size",value:function(e,t){return this.min(e,t).max(e,t)}},{key:"nonempty",value:function(e){return this.min(1,e)}}]),n}(Qa);ds.create=function(e,t){return new ds(s({valueType:e,minSize:null,maxSize:null,typeName:Cs.ZodSet},Da(t)))};var fs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){var e;return(0,yt.Z)(this,n),(e=t.apply(this,arguments)).validate=e.implement,e}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e).ctx;if(n.parsedType!==va.function)return Ea(n,{code:ba.invalid_type,expected:va.function,received:n.parsedType}),Sa;function r(e,t){return Ca({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ba(),_a].filter((function(e){return!!e})),issueData:{code:ba.invalid_arguments,argumentsError:t}})}function o(e,t){return Ca({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Ba(),_a].filter((function(e){return!!e})),issueData:{code:ba.invalid_return_type,returnTypeError:t}})}var i={errorMap:n.common.contextualErrorMap},a=n.data;return this._def.returns instanceof ys?Oa((0,re.Z)((0,ne.Z)().mark((function e(){var n,s,c,l,u,A,d,f=arguments;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=f.length,s=new Array(n),c=0;c<n;c++)s[c]=f[c];return l=new wa([]),e.next=4,t._def.args.parseAsync(s,i).catch((function(e){throw l.addIssue(r(s,e)),l}));case 4:return u=e.sent,e.next=7,a.apply(void 0,(0,x.Z)(u));case 7:return A=e.sent,e.next=10,t._def.returns._def.type.parseAsync(A,i).catch((function(e){throw l.addIssue(o(A,e)),l}));case 10:return d=e.sent,e.abrupt("return",d);case 12:case"end":return e.stop()}}),e)})))):Oa((function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];var c=t._def.args.safeParse(n,i);if(!c.success)throw new wa([r(n,c.error)]);var l=a.apply(void 0,(0,x.Z)(c.data)),u=t._def.returns.safeParse(l,i);if(!u.success)throw new wa([o(l,u.error)]);return u.data}))}},{key:"parameters",value:function(){return this._def.args}},{key:"returnType",value:function(){return this._def.returns}},{key:"args",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new n(s(s({},this._def),{},{args:ls.create(t).rest(Ya.create())}))}},{key:"returns",value:function(e){return new n(s(s({},this._def),{},{returns:e}))}},{key:"implement",value:function(e){return this.parse(e)}},{key:"strictImplement",value:function(e){return this.parse(e)}}],[{key:"create",value:function(e,t,r){return new n(s({args:e||ls.create([]).rest(Ya.create()),returns:t||Ya.create(),typeName:Cs.ZodFunction},Da(r)))}}]),n}(Qa),hs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"schema",get:function(){return this._def.getter()}},{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}]),n}(Qa);hs.create=function(e,t){return new hs(s({getter:e,typeName:Cs.ZodLazy},Da(t)))};var ps=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){return e.data!==this._def.value?(Ea(this._getOrReturnCtx(e),{code:ba.invalid_literal,expected:this._def.value}),Sa):{status:"valid",value:e.data}}},{key:"value",get:function(){return this._def.value}}]),n}(Qa);function ms(e,t){return new gs(s({values:e,typeName:Cs.ZodEnum},Da(t)))}ps.create=function(e,t){return new ps(s({value:e,typeName:Cs.ZodLiteral},Da(t)))};var gs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if("string"!==typeof e.data){var t=this._getOrReturnCtx(e),n=this._def.values;return Ea(t,{expected:ma.joinValues(n),received:t.parsedType,code:ba.invalid_type}),Sa}if(-1===this._def.values.indexOf(e.data)){var r=this._getOrReturnCtx(e),o=this._def.values;return Ea(r,{received:r.data,code:ba.invalid_enum_value,options:o}),Sa}return Oa(e.data)}},{key:"options",get:function(){return this._def.values}},{key:"enum",get:function(){var e,t={},n=(0,_.Z)(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(o){n.e(o)}finally{n.f()}return t}},{key:"Values",get:function(){var e,t={},n=(0,_.Z)(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(o){n.e(o)}finally{n.f()}return t}},{key:"Enum",get:function(){var e,t={},n=(0,_.Z)(this._def.values);try{for(n.s();!(e=n.n()).done;){var r=e.value;t[r]=r}}catch(o){n.e(o)}finally{n.f()}return t}}]),n}(Qa);gs.create=ms;var vs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=ma.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==va.string&&n.parsedType!==va.number){var r=ma.objectValues(t);return Ea(n,{expected:ma.joinValues(r),received:n.parsedType,code:ba.invalid_type}),Sa}if(-1===t.indexOf(e.data)){var o=ma.objectValues(t);return Ea(n,{received:n.data,code:ba.invalid_enum_value,options:o}),Sa}return Oa(e.data)}},{key:"enum",get:function(){return this._def.values}}]),n}(Qa);vs.create=function(e,t){return new vs(s({values:e,typeName:Cs.ZodNativeEnum},Da(t)))};var ys=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e).ctx;if(n.parsedType!==va.promise&&!1===n.common.async)return Ea(n,{code:ba.invalid_type,expected:va.promise,received:n.parsedType}),Sa;var r=n.parsedType===va.promise?n.data:Promise.resolve(n.data);return Oa(r.then((function(e){return t._def.type.parseAsync(e,{path:n.path,errorMap:n.common.contextualErrorMap})})))}}]),n}(Qa);ys.create=function(e,t){return new ys(s({type:e,typeName:Cs.ZodPromise},Da(t)))};var bs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"innerType",value:function(){return this._def.schema}},{key:"_parse",value:function(e){var t=this,n=this._processInputParams(e),r=n.status,o=n.ctx,i=this._def.effect||null;if("preprocess"===i.type){var a=i.transform(o.data);return o.common.async?Promise.resolve(a).then((function(e){return t._def.schema._parseAsync({data:e,path:o.path,parent:o})})):this._def.schema._parseSync({data:a,path:o.path,parent:o})}var s={addIssue:function(e){Ea(o,e),e.fatal?r.abort():r.dirty()},get path(){return o.path}};if(s.addIssue=s.addIssue.bind(s),"refinement"===i.type){var c=function(e){var t=i.refinement(e,s);if(o.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===o.common.async){var l=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});return"aborted"===l.status?Sa:("dirty"===l.status&&r.dirty(),c(l.value),{status:r.value,value:l.value})}return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then((function(e){return"aborted"===e.status?Sa:("dirty"===e.status&&r.dirty(),c(e.value).then((function(){return{status:r.value,value:e.value}})))}))}if("transform"===i.type){if(!1===o.common.async){var u=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});if(!Ia(u))return u;var A=i.transform(u.value,s);if(A instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:A}}return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then((function(e){return Ia(e)?Promise.resolve(i.transform(e.value,s)).then((function(e){return{status:r.value,value:e}})):e}))}ma.assertNever(i)}}]),n}(Qa);bs.create=function(e,t,n){return new bs(s({schema:e,typeName:Cs.ZodEffects,effect:t},Da(n)))},bs.createWithPreprocess=function(e,t,n){return new bs(s({schema:t,effect:{type:"preprocess",transform:e},typeName:Cs.ZodEffects},Da(n)))};var ws=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){return this._getType(e)===va.undefined?Oa(void 0):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}]),n}(Qa);ws.create=function(e,t){return new ws(s({innerType:e,typeName:Cs.ZodOptional},Da(t)))};var _s=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){return this._getType(e)===va.null?Oa(null):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}]),n}(Qa);_s.create=function(e,t){return new _s(s({innerType:e,typeName:Cs.ZodNullable},Da(t)))};var xs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=t.data;return t.parsedType===va.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}},{key:"removeDefault",value:function(){return this._def.innerType}}]),n}(Qa);xs.create=function(e,t){return new ws(s({innerType:e,typeName:Cs.ZodOptional},Da(t)))};var Bs=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){if(this._getType(e)!==va.nan){var t=this._getOrReturnCtx(e);return Ea(t,{code:ba.invalid_type,expected:va.nan,received:t.parsedType}),Sa}return{status:"valid",value:e.data}}}]),n}(Qa);Bs.create=function(e){return new Bs(s({typeName:Cs.ZodNaN},Da(e)))};var Cs,Es=Symbol("zod_brand"),js=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(){return(0,yt.Z)(this,n),t.apply(this,arguments)}return(0,bt.Z)(n,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}},{key:"unwrap",value:function(){return this._def.type}}]),n}(Qa),ks=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e?Wa.create().superRefine((function(r,o){if(!e(r)){var i="function"===typeof t?t(r):t,a="string"===typeof i?{message:i}:i;o.addIssue(s(s({code:"custom"},a),{},{fatal:n}))}})):Wa.create()},Ss={object:os.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded"}(Cs||(Cs={}));var Os=$a.create,Ns=qa.create,Fs=Bs.create,Is=Ka.create,Ps=Va.create,Ls=za.create,Ts=Za.create,Ds=Ga.create,Qs=Wa.create,Us=Ya.create,Ms=Xa.create,Rs=Ja.create,$s=ts.create,Hs=os.create,qs=os.strictCreate,Ks=is.create,Vs=as.create,zs=cs.create,Zs=ls.create,Gs=us.create,Ws=As.create,Ys=ds.create,Xs=fs.create,Js=hs.create,ec=ps.create,tc=gs.create,nc=vs.create,rc=ys.create,oc=bs.create,ic=ws.create,ac=_s.create,sc=bs.createWithPreprocess,cc=Sa,lc=Object.freeze({__proto__:null,getParsedType:ya,ZodParsedType:va,defaultErrorMap:_a,setErrorMap:function(e){xa=e},getErrorMap:Ba,makeIssue:Ca,EMPTY_PATH:[],addIssueToContext:Ea,ParseStatus:ka,INVALID:Sa,DIRTY:function(e){return{status:"dirty",value:e}},OK:Oa,isAborted:Na,isDirty:Fa,isValid:Ia,isAsync:Pa,ZodType:Qa,ZodString:$a,ZodNumber:qa,ZodBigInt:Ka,ZodBoolean:Va,ZodDate:za,ZodUndefined:Za,ZodNull:Ga,ZodAny:Wa,ZodUnknown:Ya,ZodNever:Xa,ZodVoid:Ja,ZodArray:ts,get objectUtil(){return es},ZodObject:os,ZodUnion:is,ZodDiscriminatedUnion:as,ZodIntersection:cs,ZodTuple:ls,ZodRecord:us,ZodMap:As,ZodSet:ds,ZodFunction:fs,ZodLazy:hs,ZodLiteral:ps,ZodEnum:gs,ZodNativeEnum:vs,ZodPromise:ys,ZodEffects:bs,ZodTransformer:bs,ZodOptional:ws,ZodNullable:_s,ZodDefault:xs,ZodNaN:Bs,BRAND:Es,ZodBranded:js,custom:ks,Schema:Qa,ZodSchema:Qa,late:Ss,get ZodFirstPartyTypeKind(){return Cs},any:Qs,array:$s,bigint:Is,boolean:Ps,date:Ls,discriminatedUnion:Vs,effect:oc,enum:tc,function:Xs,instanceof:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:"Input not instance of ".concat(e.name)};return ks((function(t){return t instanceof e}),t,!0)},intersection:zs,lazy:Js,literal:ec,map:Ws,nan:Fs,nativeEnum:nc,never:Ms,null:Ds,nullable:ac,number:Ns,object:Hs,oboolean:function(){return Ps().optional()},onumber:function(){return Ns().optional()},optional:ic,ostring:function(){return Os().optional()},preprocess:sc,promise:rc,record:Gs,set:Ys,strictObject:qs,string:Os,transformer:oc,tuple:Zs,undefined:Ts,union:Ks,unknown:Us,void:Rs,NEVER:cc,ZodIssueCode:ba,quotelessJson:function(e){return JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:")},ZodError:wa}),uc=n(1933),Ac=new uc.QueryClient({defaultOptions:{queries:{useErrorBoundary:!0,refetchOnWindowFocus:!1,retry:!1}}}),dc=function(e){var t=e.email;return er.post("/forgot-password",t)};dc.propTypes={data:Xn().shape({email:Xn().string.isRequired}).isRequired};var fc=Hs({email:Os().min(1,"Required").email({message:"Enter valid email"})}),hc=function(){var e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(){Ac.invalidateQueries("forgotPassword"),t({type:"success",title:"You requested to reset your password. Check your email for instructions."})}},e),{},{mutationFn:dc}))}(),t=Gi();return(0,A.jsxs)("div",{children:[(0,A.jsx)(Mo,{onSubmit:function(){var n=(0,re.Z)((0,ne.Z)().mark((function n(r){return(0,ne.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.mutateAsync({email:r});case 2:t("/auth/reset-password");case 3:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),schema:fc,children:function(t){var n=t.register,r=t.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"email",icon:(0,A.jsx)(zo,{}),placeholder:"Email Address",error:r.errors.email,registration:n("email")}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:e.isLoading,type:"submit",className:"w-full text-gray-g9",children:"Forgot Password"})})]})}}),(0,A.jsx)("div",{className:"mt-2 flex items-center justify-center",children:(0,A.jsx)("div",{className:"text-sm",children:(0,A.jsx)(fa,{to:"/auth/login",className:"font-medium text-orange-o10 hover:text-green-500",children:"Go to Login"})})})]})},pc=n(77),mc=n.n(pc),gc=n(2176),vc=n.n(gc),yc=n(9613),bc=n.n(yc);function wc(){return wc=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},wc.apply(this,arguments)}function _c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xc(e,t)}function xc(e,t){return xc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xc(e,t)}function Bc(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}var Cc={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Ec={rel:["amphtml","canonical","alternate"]},jc={type:["application/ld+json"]},kc={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Sc=Object.keys(Cc).map((function(e){return Cc[e]})),Oc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Nc=Object.keys(Oc).reduce((function(e,t){return e[Oc[t]]=t,e}),{}),Fc=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Ic=function(e){var t=Fc(e,Cc.TITLE),n=Fc(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=Fc(e,"defaultTitle");return t||r||void 0},Pc=function(e){return Fc(e,"onChangeClientState")||function(){}},Lc=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return wc({},e,t)}),{})},Tc=function(e,t){return t.filter((function(e){return void 0!==e[Cc.BASE]})).map((function(e){return e[Cc.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o+=1){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},Dc=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n,i=Object.keys(e),a=0;a<i.length;a+=1){var s=i[a],c=s.toLowerCase();-1===t.indexOf(c)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===c&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][l]&&(o[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a+=1){var s=i[a],c=wc({},r[s],o[s]);r[s]=c}return e}),[]).reverse()},Qc=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},Uc=function(e){return Array.isArray(e)?e.join(""):e},Mc=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},Rc=function(e,t){var n;return wc({},e,((n={})[t]=void 0,n))},$c=[Cc.NOSCRIPT,Cc.SCRIPT,Cc.STYLE],Hc=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},qc=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Kc=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[Oc[n]||n]=e[n],t}),t)},Vc=function(e,n){return n.map((function(n,r){var o,i=((o={key:r})["data-rh"]=!0,o);return Object.keys(n).forEach((function(e){var t=Oc[e]||e;"innerHTML"===t||"cssText"===t?i.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:i[t]=n[e]})),t.createElement(e,i)}))},zc=function(e,n,r){switch(e){case Cc.TITLE:return{toComponent:function(){return r=n.titleAttributes,(o={key:e=n.title})["data-rh"]=!0,i=Kc(r,o),[t.createElement(Cc.TITLE,i,e)];var e,r,o,i},toString:function(){return function(e,t,n,r){var o=qc(n),i=Uc(t);return o?"<"+e+' data-rh="true" '+o+">"+Hc(i,r)+"</"+e+">":"<"+e+' data-rh="true">'+Hc(i,r)+"</"+e+">"}(e,n.title,n.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Kc(n)},toString:function(){return qc(n)}};default:return{toComponent:function(){return Vc(e,n)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+Hc(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===$c.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,n,r)}}}},Zc=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.noscriptTags,a=e.styleTags,s=e.title,c=void 0===s?"":s,l=e.titleAttributes,u=e.linkTags,A=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=Mc(e.metaTags,kc),i=Mc(t,Ec),a=Mc(n,jc);return{priorityMethods:{toComponent:function(){return[].concat(Vc(Cc.META,o.priority),Vc(Cc.LINK,i.priority),Vc(Cc.SCRIPT,a.priority))},toString:function(){return zc(Cc.META,o.priority,r)+" "+zc(Cc.LINK,i.priority,r)+" "+zc(Cc.SCRIPT,a.priority,r)}},metaTags:o.default,linkTags:i.default,scriptTags:a.default}}(e);f=h.priorityMethods,u=h.linkTags,A=h.metaTags,d=h.scriptTags}return{priority:f,base:zc(Cc.BASE,t,r),bodyAttributes:zc("bodyAttributes",n,r),htmlAttributes:zc("htmlAttributes",o,r),link:zc(Cc.LINK,u,r),meta:zc(Cc.META,A,r),noscript:zc(Cc.NOSCRIPT,i,r),script:zc(Cc.SCRIPT,d,r),style:zc(Cc.STYLE,a,r),title:zc(Cc.TITLE,{title:c,titleAttributes:l},r)}},Gc=[],Wc=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?Gc:n.instances},add:function(e){(n.canUseDOM?Gc:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?Gc:n.instances).indexOf(e);(n.canUseDOM?Gc:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=Zc({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Yc=t.createContext({}),Xc=Xn().shape({setHelmet:Xn().func,helmetInstances:Xn().shape({get:Xn().func,add:Xn().func,remove:Xn().func})}),Jc="undefined"!=typeof document,el=function(e){function n(t){var r;return(r=e.call(this,t)||this).helmetData=new Wc(r.props.context,n.canUseDOM),r}return _c(n,e),n.prototype.render=function(){return t.createElement(Yc.Provider,{value:this.helmetData.value},this.props.children)},n}(t.Component);el.canUseDOM=Jc,el.propTypes={context:Xn().shape({helmet:Xn().shape()}),children:Xn().node.isRequired},el.defaultProps={context:{}},el.displayName="HelmetProvider";var tl=function(e,t){var n,r=document.head||document.querySelector(Cc.HEAD),o=r.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),a=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),i.some((function(e,t){return n=t,r.isEqualNode(e)}))?i.splice(n,1):a.push(r)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:i,newTags:a}},nl=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s+=1){var c=a[s],l=t[c]||"";n.getAttribute(c)!==l&&n.setAttribute(c,l),-1===o.indexOf(c)&&o.push(c);var u=i.indexOf(c);-1!==u&&i.splice(u,1)}for(var A=i.length-1;A>=0;A-=1)n.removeAttribute(i[A]);o.length===i.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},rl=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,u=e.title,A=e.titleAttributes;nl(Cc.BODY,e.bodyAttributes),nl(Cc.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=Uc(e)),nl(Cc.TITLE,t)}(u,A);var d={baseTag:tl(Cc.BASE,n),linkTags:tl(Cc.LINK,o),metaTags:tl(Cc.META,i),noscriptTags:tl(Cc.NOSCRIPT,a),scriptTags:tl(Cc.SCRIPT,c),styleTags:tl(Cc.STYLE,l)},f={},h={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(h[e]=d[e].oldTags)})),t&&t(),s(e,f,h)},ol=null,il=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}_c(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!bc()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,o=null,i=(e=n.helmetInstances.get().map((function(e){var t=wc({},e.props);return delete t.context,t})),{baseTag:Tc(["href"],e),bodyAttributes:Lc("bodyAttributes",e),defer:Fc(e,"defer"),encode:Fc(e,"encodeSpecialCharacters"),htmlAttributes:Lc("htmlAttributes",e),linkTags:Dc(Cc.LINK,["rel","href"],e),metaTags:Dc(Cc.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Dc(Cc.NOSCRIPT,["innerHTML"],e),onChangeClientState:Pc(e),scriptTags:Dc(Cc.SCRIPT,["src","innerHTML"],e),styleTags:Dc(Cc.STYLE,["cssText"],e),title:Ic(e),titleAttributes:Lc("titleAttributes",e),prioritizeSeoTags:Qc(e,"prioritizeSeoTags")});el.canUseDOM?(t=i,ol&&cancelAnimationFrame(ol),t.defer?ol=requestAnimationFrame((function(){rl(t,(function(){ol=null}))})):(rl(t),ol=null)):Zc&&(o=Zc(i)),r(o)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(t.Component);il.propTypes={context:Xc.isRequired},il.displayName="HelmetDispatcher";var al=["children"],sl=["children"],cl=function(e){function n(){return e.apply(this,arguments)||this}_c(n,e);var r=n.prototype;return r.shouldComponentUpdate=function(e){return!mc()(Rc(this.props,"helmetData"),Rc(e,"helmetData"))},r.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Cc.SCRIPT:case Cc.NOSCRIPT:return{innerHTML:t};case Cc.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return wc({},r,((t={})[n.type]=[].concat(r[n.type]||[],[wc({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case Cc.TITLE:return wc({},o,((t={})[r.type]=a,t.titleAttributes=wc({},i),t));case Cc.BODY:return wc({},o,{bodyAttributes:wc({},i)});case Cc.HTML:return wc({},o,{htmlAttributes:wc({},i)});default:return wc({},o,((n={})[r.type]=wc({},i),n))}},r.mapArrayTypeChildrenToProps=function(e,t){var n=wc({},t);return Object.keys(e).forEach((function(t){var r;n=wc({},n,((r={})[t]=e[t],r))})),n},r.warnOnInvalidChildren=function(e,t){return vc()(Sc.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Sc.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),vc()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,n){var r=this,o={};return t.Children.forEach(e,(function(e){if(e&&e.props){var t=e.props,i=t.children,a=Bc(t,al),s=Object.keys(a).reduce((function(e,t){return e[Nc[t]||t]=a[t],e}),{}),c=e.type;switch("symbol"==typeof c?c=c.toString():r.warnOnInvalidChildren(e,i),c){case Cc.FRAGMENT:n=r.mapChildrenToProps(i,n);break;case Cc.LINK:case Cc.META:case Cc.NOSCRIPT:case Cc.SCRIPT:case Cc.STYLE:o=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:i});break;default:n=r.mapObjectTypeChildren({child:e,newProps:n,newChildProps:s,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(o,n)},r.render=function(){var e=this.props,n=e.children,r=Bc(e,sl),o=wc({},r),i=r.helmetData;return n&&(o=this.mapChildrenToProps(n,o)),!i||i instanceof Wc||(i=new Wc(i.context,i.instances)),i?t.createElement(il,wc({},o,{context:i.value,helmetData:void 0})):t.createElement(Yc.Consumer,null,(function(e){return t.createElement(il,wc({},o,{context:e}))}))},n}(t.Component);cl.propTypes={base:Xn().object,bodyAttributes:Xn().object,children:Xn().oneOfType([Xn().arrayOf(Xn().node),Xn().node]),defaultTitle:Xn().string,defer:Xn().bool,encodeSpecialCharacters:Xn().bool,htmlAttributes:Xn().object,link:Xn().arrayOf(Xn().object),meta:Xn().arrayOf(Xn().object),noscript:Xn().arrayOf(Xn().object),onChangeClientState:Xn().func,script:Xn().arrayOf(Xn().object),style:Xn().arrayOf(Xn().object),title:Xn().string,titleAttributes:Xn().object,titleTemplate:Xn().string,prioritizeSeoTags:Xn().bool,helmetData:Xn().object},cl.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},cl.displayName="Helmet";var ll=function(e){var t=e.title,n=void 0===t?"":t,r=e.description,o=void 0===r?"":r;return(0,A.jsx)(cl,{title:n?"".concat(n," | NCDC"):void 0,defaultTitle:"NCDC Shop",children:(0,A.jsx)("meta",{name:"description",content:o})})},ul=function(e){var t=e.children,n=e.title;return(0,A.jsxs)("div",{className:"w-full h-screen",children:[(0,A.jsx)(ll,{title:n}),(0,A.jsxs)("div",{className:"flex flex-col justify-center h-full py-6 sm:px-6 lg:px-8",children:[(0,A.jsxs)("div",{className:"sm:mx-auto sm:w-full sm:max-w-md",children:[(0,A.jsx)(fa,{to:"/",children:(0,A.jsx)("img",{src:p,className:"h-24 mx-auto my-4",loading:"lazy",alt:"logo"})}),(0,A.jsx)("h2",{className:"mt-3 text-center text-3xl font-extrabold text-gray-900",children:n})]}),(0,A.jsx)("div",{className:"sm:mx-auto sm:w-full sm:max-w-md mt-4",children:(0,A.jsx)("div",{className:"bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10",children:t})}),(0,A.jsx)("div",{className:"w-5/6 mx-auto my-4",children:(0,A.jsx)("p",{className:"text-center text-gray-600",children:"For further support, you may visit the Help Center or contact our customer service team."})})]})]})},Al=function(){return(0,A.jsx)(ul,{title:"Forgot Password",children:(0,A.jsx)(hc,{})})},dl=Hs({email:Os().min(1,"Required").email({message:"Enter valid email"}),password:Os().min(1,"Required")}),fl=function(e){var t=e.onSuccess,n=wh(),r=n.login,o=n.isLoggingIn;return(0,A.jsxs)("div",{children:[(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(n){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(n);case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:dl,children:function(e){var t=e.register,n=e.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"email",label:"Email Address",error:n.errors.email,registration:t("email")}),(0,A.jsx)($o,{type:"password",label:"Password",error:n.errors.password,registration:t("password")}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:o,type:"submit",className:"w-full ".concat(o?"bg-green-400":"bg-green-600"),children:o?"Logging in...":"Login"})})]})}}),(0,A.jsxs)("div",{className:"mt-2 flex items-center justify-between text-sm",children:[(0,A.jsx)("div",{children:(0,A.jsx)(fa,{to:"/auth/register",className:"font-medium text-green-600 hover:text-green-500",children:"Create new account"})}),(0,A.jsx)("div",{children:(0,A.jsx)(fa,{to:"/auth/forgot-password",className:"font-medium text-green-600 hover:text-green-500",children:"Forgot Password"})})]})]})},hl=function(){var e=Gi();return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),(0,A.jsx)(ul,{title:"Login to account",children:(0,A.jsx)(fl,{onSuccess:function(){return e("/")}})})},pl=function(e){var t=e.data;return er.post("validate-tin",t)};var ml=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),gl=function(e){var n=e.setDetails,r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(){t({type:"success",title:"Nice. Your Tin is Valid"})}},e),{},{mutationFn:pl}))}(),o=(0,t.useState)(),i=(0,B.Z)(o,2),a=i[0],c=i[1];(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]);var l=lc.object({tin:lc.string().optional().refine((function(e){return""===e||/^\d{10}$/.test(e)}),{message:"TIN must be 10 digits",path:["tin"]})});return(0,A.jsx)("div",{className:"flex flex-col items-center",children:(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var o;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.mutateAsync({data:t});case 2:o=e.sent,n(o),c(!0);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:l,options:{shouldUnregister:!0},children:function(e){var t=e.register,n=e.formState;return(0,A.jsxs)("div",{className:"flex flex-col space-y-2 w-full md:w-96",children:[(0,A.jsx)($o,{type:"text",label:"TIN number",error:n.errors.tin,registration:t("tin"),inputProps:{maxLength:10,pattern:"\\d{0,10}"},caption:"TIN must be 10 digits."}),a?null:(0,A.jsx)("button",{type:"submit",className:"p-2 ".concat(r.isLoading?"bg-gray-300":"bg-green-600"," rounded-full flex justify-center items-center w-full text-white"),children:r.isLoading?(0,A.jsx)("span",{children:"Wait..."}):(0,A.jsxs)("div",{className:"flex flex-row items-center space-x-2",children:[(0,A.jsx)("span",{children:"Verify TIN & Continue"})," ",(0,A.jsx)(ml,{className:"h-4 w-4"})]})})]})}})})},vl={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["5"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-46-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|(?:[235-8]\\d|99)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-3]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-3]|479[0-2]|76(?:2[27]|3[0-37]|9\\d)))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,0,["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-6]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:4722(?:0[0-35]|27)|505(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|4[46])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:(?:(?:26|63)9|80\\d)\\d|9398)\\d{5}",[9],0,"0",0,0,0,0,"269|63|9398"],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function yl(e){return yl="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},yl(e)}function bl(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 wl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(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(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return xl(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 xl(e,t)}(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 xl(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 Bl(e){var t,n,r,o=_l(Array.prototype.slice.call(e),4),i=o[0],a=o[1],s=o[2],c=o[3];if("string"!==typeof i)throw new TypeError("A text for parsing must be a string.");if(t=i,a&&"string"!==typeof a){if(!Cl(a))throw new Error("Invalid second argument: ".concat(a));s?(n=a,r=s):r=a}else c?(n=s,r=c):(n=void 0,r=s),a&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bl(Object(n),!0).forEach((function(t){wl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({defaultCountry:a},n));return{text:t,options:n,metadata:r}}var Cl=function(e){return"object"===yl(e)},El="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",jl="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");function kl(e){return kl="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},kl(e)}function Sl(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 Ol(e,t){if(t&&("object"===kl(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Nl(e)}function Nl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fl(e){var t="function"===typeof Map?new Map:void 0;return Fl=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("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Il(e,arguments,Tl(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ll(r,e)},Fl(e)}function Il(e,t,n){return Il=Pl()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Ll(o,n.prototype),o},Il.apply(null,arguments)}function Pl(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Pe){return!1}}function Ll(e,t){return Ll=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ll(e,t)}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tl(e)}var Dl=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ll(e,t)}(i,e);var t,n,r,o=function(e){var t=Pl();return function(){var n,r=Tl(e);if(t){var o=Tl(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ol(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),Object.setPrototypeOf(Nl(t),i.prototype),t.name=t.constructor.name,t}return t=i,n&&Sl(t.prototype,n),r&&Sl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(Fl(Error));function Ql(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function Ul(e){return Ul="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},Ul(e)}function Ml(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rl(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&&Rl(e.prototype,t),n&&Rl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Hl=" ext. ",ql=/^\d+$/,Kl=function(){function e(t){Ml(this,e),function(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Yl(e)||!Yl(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Yl(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Xl(e)+": "+e,"."))}(t),this.metadata=t,tu.call(this,t)}return $l(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(e){return"001"!==e}))}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&ql.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw new Error("Unknown country: ".concat(e));this.numberingPlan=new Vl(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new Vl(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),e}(),Vl=function(){function e(t,n){Ml(this,e),this.globalMetadataObject=n,this.metadata=t,tu.call(this,n.metadata)}return $l(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this,t=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return t.map((function(t){return new zl(t,e)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&Wl(this.types(),e))return new Gl(Wl(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?Hl:this.metadata[13]||Hl}}]),e}(),zl=function(){function e(t,n){Ml(this,e),this._format=t,this.metadata=n}return $l(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||Zl.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Zl=/^\(?\$1\)?$/,Gl=function(){function e(t,n){Ml(this,e),this.type=t,this.metadata=n}return $l(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Wl(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}var Yl=function(e){return"object"===Ul(e)},Xl=function(e){return Ul(e)};function Jl(e,t){if((t=new Kl(t)).hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function eu(e,t){return void 0!==t.countries[e]}function tu(e){var t=e.version;"number"===typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===Ql(t,"1.2.0")?this.v2=!0:-1===Ql(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var nu=function(e){return"([".concat(El,"]{1,").concat(e,"})")};function ru(e){var t="#?";return";ext="+nu("20")+"|"+("[ \xa0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)[:\\.\uff0e]?[ \xa0\\t,-]*"+nu("20")+t)+"|"+("[ \xa0\\t,]*(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \xa0\\t,-]*"+nu("9")+t)+"|"+("[- ]+"+nu("6")+"#")+"|"+("[ \xa0\\t]*(?:,{2}|;)[:\\.\uff0e]?[ \xa0\\t,-]*"+nu("15")+t)+"|"+("[ \xa0\\t]*(?:,)+[:\\.\uff0e]?[ \xa0\\t,-]*"+nu("9")+t)}var ou="[+\uff0b]{0,1}(?:["+jl+"]*["+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]){3,}["+jl+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]*",iu=new RegExp("^[+\uff0b]{0,1}(?:["+jl+"]*["+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]){1,2}$","i"),au=ou+"(?:"+ru()+")?",su=new RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^"+au+"$","i");var cu=new RegExp("(?:"+ru()+")$","i");function lu(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return uu(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 uu(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function uu(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 Au={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"};function du(e){return Au[e]}function fu(e){for(var t,n="",r=lu(e.split(""));!(t=r()).done;){var o=du(t.value);o&&(n+=o)}return n}function hu(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return pu(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 pu(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pu(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 mu(e){for(var t,n="",r=hu(e.split(""));!(t=r()).done;){n+=gu(t.value,n)||""}return n}function gu(e,t){if("+"===e){if(t)return;return"+"}return du(e)}function vu(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return yu(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 yu(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yu(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 bu(e,t){return wu(e,void 0,t)}function wu(e,t,n){var r=n.type(t),o=r&&r.possibleLengths()||n.possibleLengths();if(!o)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===t){if(!n.type("FIXED_LINE"))return wu(e,"MOBILE",n);var i=n.type("MOBILE");i&&(o=function(e,t){for(var n,r=e.slice(),o=vu(t);!(n=o()).done;){var i=n.value;e.indexOf(i)<0&&r.push(i)}return r.sort((function(e,t){return e-t}))}(o,i.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var a=e.length,s=o[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":o[o.length-1]<a?"TOO_LONG":o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function _u(e,t){return"IS_POSSIBLE"===bu(e,t)}function xu(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Bu(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Cu(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 Cu(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cu(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 Eu=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function ju(e,t,n){if(t=t||{},e.country){(n=new Kl(n)).selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(xu(r,n.nationalNumberPattern())){if(ku(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?ku(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var o,i=Bu(Eu);!(o=i()).done;){var a=o.value;if(ku(r,a,n))return a}}}}function ku(e,t,n){return!(!(t=n.type(t))||!t.pattern())&&(!(t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0)&&xu(e,t.pattern()))}function Su(e,t,n){var r=new Kl(n).getCountryCodesForCallingCode(e);return r?r.filter((function(e){return function(e,t,n){var r=new Kl(n);if(r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0)return!0;return!1}(t,e,n)})):[]}function Ou(e){return e.replace(new RegExp("[".concat(jl,"]+"),"g")," ").trim()}var Nu=/(\$\d)/;function Fu(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix,i=(n.carrierCode,n.metadata,e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(Nu,t.nationalPrefixFormattingRule()):t.format()));return r?Ou(i):i}var Iu=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Pu(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Lu(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 Lu(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lu(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 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 Du(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tu(Object(n),!0).forEach((function(t){Qu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uu={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function Mu(e,t,n,r){if(n=n?Du(Du({},Uu),n):Uu,r=new Kl(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var o,i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return a?$u(o=Ru(a,e.carrierCode,"NATIONAL",r,n),e.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(o=Ru(a,null,"INTERNATIONAL",r,n),$u(o="+".concat(i," ").concat(o),e.ext,r,n.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var s=function(e,t,n,r,o){if(Jl(r,o.metadata)===n){var i=Ru(e,t,"NATIONAL",o);return"1"===n?n+" "+i:i}var a=function(e,t,n){var r=new Kl(n);return r.selectNumberingPlan(e,t),r.defaultIDDPrefix()?r.defaultIDDPrefix():Iu.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,o.metadata);if(a)return"".concat(a," ").concat(n," ").concat(Ru(e,null,"INTERNATIONAL",o))}(a,e.carrierCode,i,n.fromCountry,r);return $u(s,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Ru(e,t,n,r,o){var i=function(e,t){for(var n,r=Pu(e);!(n=r()).done;){var o=n.value;if(o.leadingDigitsPatterns().length>0){var i=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(0!==t.search(i))continue}if(xu(t,o.pattern()))return o}}(r.formats(),e);return i?Fu(e,i,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!o||!1!==o.nationalPrefix,carrierCode:t,metadata:r}):e}function $u(e,t,n,r){return t?r(e,t,n):e}function Hu(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 qu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(n),!0).forEach((function(t){Ku(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(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 zu=function(){function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=function(e,t){var n,r,o=new Kl(t);!function(e){return/^[A-Z]{2}$/.test(e)}(e)?r=e:(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode());return{country:n,countryCallingCode:r}}(t,r),i=o.country,a=o.countryCallingCode;this.country=i,this.countryCallingCode=a,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=r}var t,n,r;return t=e,n=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Su(this.countryCallingCode,this.nationalNumber,this.metadata)}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new Kl(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return _u(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return function(e,t,n){return t=t||{},(n=new Kl(n)).selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?void 0!==ju(e,t,n.metadata):xu(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern())}(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new Kl(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return ju(this,{v2:!0},this.metadata)}},{key:"format",value:function(e,t){return Mu(this,e,t?qu(qu({},t),{},{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],n&&Vu(t.prototype,n),r&&Vu(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();var Zu=new RegExp("([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])");function Gu(e,t,n,r){if(t){var o=new Kl(r);o.selectNumberingPlan(t,n);var i=new RegExp(o.IDDPrefix());if(0===e.search(i)){var a=(e=e.slice(e.match(i)[0].length)).match(Zu);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return e}}}function Wu(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a,s=r.length-1,c=s>0&&r[s];if(t.nationalPrefixTransformRule()&&c)o=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(i=r[1]);else{var l=r[0];o=e.slice(l.length),c&&(i=r[1])}if(c){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:o,nationalPrefix:a,carrierCode:i}}}return{nationalNumber:e}}function Yu(e,t){var n=Wu(e,t),r=n.carrierCode,o=n.nationalNumber;if(o!==e){if(!function(e,t,n){if(xu(e,n.nationalNumberPattern())&&!xu(t,n.nationalNumberPattern()))return!1;return!0}(e,o,t))return{nationalNumber:e};if(t.possibleLengths()&&!function(e,t){switch(bu(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,t))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function Xu(e,t,n,r){var o=t?Jl(t,r):n;if(0===e.indexOf(o)){(r=new Kl(r)).selectNumberingPlan(t,n);var i=e.slice(o.length),a=Yu(i,r).nationalNumber,s=Yu(e,r).nationalNumber;if(!xu(s,r.nationalNumberPattern())&&xu(a,r.nationalNumberPattern())||"TOO_LONG"===bu(s,r))return{countryCallingCode:o,number:i}}return{number:e}}function Ju(e,t,n,r){if(!e)return{};var o;if("+"!==e[0]){var i=Gu(e,t,n,r);if(!i||i===e){if(t||n){var a=Xu(e,t,n,r),s=a.countryCallingCode,c=a.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:c}}return{number:e}}o=!0,e="+"+i}if("0"===e[1])return{};r=new Kl(r);for(var l=2;l-1<=3&&l<=e.length;){var u=e.slice(1,l);if(r.hasCallingCode(u))return r.selectNumberingPlan(u),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:u,number:e.slice(l)};l++}return{}}function eA(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return tA(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 tA(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tA(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 nA(e,t,n){var r=n.getCountryCodesForCallingCode(e);if(r)return 1===r.length?r[0]:function(e,t,n){n=new Kl(n);for(var r,o=eA(e);!(r=o()).done;){var i=r.value;if(n.country(i),n.leadingDigits()){if(t&&0===t.search(n.leadingDigits()))return i}else if(ju({phone:t,country:i},void 0,n.metadata))return i}}(r,t,n.metadata)}var rA=new RegExp("^\\+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]|[\\-\\.\\(\\)]?)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]|[\\-\\.\\(\\)]?)*$","g"),oA=new RegExp("^([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]+((\\-)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])*\\.)*[a-zA-Z]+((\\-)*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])*\\.?$","g"),iA="tel:",aA=";phone-context=";function sA(e,t){var n,r=t.extractFormattedPhoneNumber,o=function(e){var t=e.indexOf(aA);if(t<0)return null;var n=t+aA.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!function(e){return null===e||0!==e.length&&(rA.test(e)||oA.test(e))}(o))throw new Dl("NOT_A_NUMBER");if(null===o)n=r(e)||"";else{n="","+"===o.charAt(0)&&(n+=o);var i,a=e.indexOf(iA);i=a>=0?a+iA.length:0;var s=e.indexOf(aA);n+=e.substring(i,s)}var c=n.indexOf(";isub=");if(c>0&&(n=n.substring(0,c)),""!==n)return n}var cA=new RegExp("[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]"),lA=new RegExp("[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9#]+$");function uA(e,t,n){if(t=t||{},n=new Kl(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new Dl("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var r=function(e,t,n){var r=sA(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(!e)return;if(e.length>250){if(n)throw new Dl("TOO_LONG");return}if(!1===t)return e;var r=e.search(cA);if(r<0)return;return e.slice(r).replace(lA,"")}(e,n,t)}});if(!r)return{};if(!function(e){return e.length>=2&&su.test(e)}(r))return function(e){return iu.test(e)}(r)?{error:"TOO_SHORT"}:{};var o=function(e){var t=e.search(cu);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(cu),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}(r);if(o.ext)return o;return{number:r}}(e,t.v2,t.extract),o=r.number,i=r.ext,a=r.error;if(!o){if(t.v2){if("TOO_SHORT"===a)throw new Dl("TOO_SHORT");throw new Dl("NOT_A_NUMBER")}return{}}var s=function(e,t,n,r){var o,i=Ju(mu(e),t,n,r.metadata),a=i.countryCallingCodeSource,s=i.countryCallingCode,c=i.number;if(s)r.selectNumberingPlan(s);else{if(!c||!t&&!n)return{};r.selectNumberingPlan(t,n),t&&(o=t),s=n||Jl(t,r.metadata)}if(!c)return{countryCallingCodeSource:a,countryCallingCode:s};var l=Yu(mu(c),r),u=l.nationalNumber,A=l.carrierCode,d=nA(s,u,r);d&&(o=d,"001"===d||r.country(o));return{country:o,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:u,carrierCode:A}}(o,t.defaultCountry,t.defaultCallingCode,n),c=s.country,l=s.nationalNumber,u=s.countryCallingCode,A=s.countryCallingCodeSource,d=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Dl("INVALID_COUNTRY");return{}}if(!l||l.length<2){if(t.v2)throw new Dl("TOO_SHORT");return{}}if(l.length>17){if(t.v2)throw new Dl("TOO_LONG");return{}}if(t.v2){var f=new zu(u,l,n.metadata);return c&&(f.country=c),d&&(f.carrierCode=d),i&&(f.ext=i),f.__countryCallingCodeSource=A,f}var h=!!(t.extended?n.hasSelectedNumberingPlan():c)&&xu(l,n.nationalNumberPattern());return t.extended?{country:c,countryCallingCode:u,carrierCode:d,valid:h,possible:!!h||!(!0!==t.extended||!n.possibleLengths()||!_u(l,n)),phone:l,ext:i}:h?function(e,t,n){var r={country:e,phone:t};n&&(r.ext=n);return r}(c,l,i):{}}function AA(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 dA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AA(Object(n),!0).forEach((function(t){fA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hA(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 pA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hA(Object(n),!0).forEach((function(t){mA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gA(e,t,n){t&&t.defaultCountry&&!eu(t.defaultCountry,n)&&(t=pA(pA({},t),{},{defaultCountry:void 0}));try{return function(e,t,n){return uA(e,dA(dA({},t),{},{v2:!0}),n)}(e,t,n)}catch(r){if(!(r instanceof Dl))throw r}}function vA(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 yA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vA(Object(n),!0).forEach((function(t){bA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wA(){var e=Bl(arguments),t=e.text,n=e.options,r=e.metadata,o=gA(t,n=yA(yA({},n),{},{extract:!1}),r);return o&&o.isValid()||!1}var _A={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"\xc5land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xe7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"},xA=Yn.shape({country_calling_codes:Yn.object.isRequired,countries:Yn.object.isRequired}),BA=Yn.objectOf(Yn.string),CA=n(1694);function EA(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return jA(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 jA(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jA(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 kA(e,t){for(var n,r=0,o=EA(t.split(""));!(n=o()).done;){n.value===e&&r++}return r}function SA(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",o=e.length,i=kA("(",e),a=kA(")",e),s=i-a;s>0&&o<t.length;)e+=t[o].replace(n,r),")"===t[o]&&s--,o++;return e}function OA(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return NA(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 NA(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function NA(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 FA(e,t,n){"string"===typeof n&&(n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(e){return{text:e}};var r=kA(t,e);return function(o){if(!o)return{text:"",template:e};for(var i,a=0,s="",c=OA(e.split(""));!(i=c()).done;){var l=i.value;if(l===t){if(s+=o[a],++a===o.length&&o.length<r)break}else s+=l}return n&&(s=SA(s,e)),{text:s,template:e}}}(n));var r=n(e)||{},o=r.text,i=r.template;if(void 0===o&&(o=e),i)if(void 0===t)t=o.length;else{for(var a=0,s=!1,c=-1;a<o.length&&a<i.length;){if(o[a]!==i[a]){if(0===t){s=!0,t=a;break}c=a,t--}a++}s||(t=c+1)}return{text:o,caret:t}}var IA=8,PA=46;function LA(e,t){void 0!==t&&(!function(){if("undefined"!==typeof navigator)return TA.test(navigator.userAgent)}()?e.setSelectionRange(t,t):setTimeout((function(){return e.setSelectionRange(t,t)}),0))}var TA=/Android/i;function DA(e,t,n,r,o){if(!t.hasAttribute("readonly")){var i=function(e){switch(e.keyCode){case IA:return"Backspace";case PA:return"Delete"}}(e);switch(i){case"Delete":case"Backspace":e.preventDefault();var a=function(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}(t);return a?(QA(t,a),UA(t,n,r,void 0,o)):UA(t,n,r,i,o)}}}function QA(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,LA(e,t.start)}function UA(e,t,n,r,o){var i=function(e,t,n){for(var r="",o=0,i=0;i<e.length;){var a=n(e[i],r);void 0!==a&&(r+=a,void 0!==t&&(t===i?o=r.length-1:t>i&&(o=r.length))),i++}return void 0===t&&(o=r.length),{value:r,caret:o}}(e.value,e.selectionStart,t),a=i.value,s=i.caret;if(r){var c=function(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1)}return{value:e,caret:t}}(a,s,r);a=c.value,s=c.caret}var l=FA(a,s,n),u=l.text;s=l.caret,e.value=u,LA(e,s),o(a)}var MA=["value","parse","format","inputComponent","onChange","onKeyDown"];function RA(){return RA=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},RA.apply(this,arguments)}function $A(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}function HA(e,n){var r=e.value,o=e.parse,i=e.format,a=e.inputComponent,s=e.onChange,c=e.onKeyDown,l=$A(e,MA),u=(0,t.useRef)(),A=(0,t.useCallback)((function(e){u.current=e,n&&("function"===typeof n?n(e):n.current=e)}),[n]),d=(0,t.useCallback)((function(e){UA(u.current,o,i,void 0,s)}),[u,o,i,s]),f=(0,t.useCallback)((function(e){return c&&c(e),DA(e,u.current,o,i,s)}),[u,o,i,s,c]);return t.createElement(a,RA({},l,{ref:A,value:i(KA(r)?"":r).text,onKeyDown:f,onChange:d}))}(HA=t.forwardRef(HA)).propTypes={parse:Yn.func.isRequired,format:Yn.func.isRequired,inputComponent:Yn.elementType.isRequired,type:Yn.string.isRequired,value:Yn.string,onChange:Yn.func.isRequired,onKeyDown:Yn.func,onCut:Yn.func,onPaste:Yn.func},HA.defaultProps={inputComponent:"input",type:"text"};var qA=HA;function KA(e){return void 0===e||null===e}function VA(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 zA=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}var t,n,r;return t=e,(n=[{key:"reset",value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.IDDPrefix=void 0,this.missingPlus=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:"initCountryAndCallingCode",value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:"setCountry",value:function(e){this.country=e,this.onCountryChange(e)}},{key:"setCallingCode",value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:"startInternationalNumber",value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:"appendDigits",value:function(e){this.digits+=e}},{key:"appendNationalSignificantNumberDigits",value:function(e){this.nationalSignificantNumber+=e}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])&&VA(t.prototype,n),r&&VA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ZA(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return GA(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 GA(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function GA(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 WA="x",YA=new RegExp(WA);function XA(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function JA(e,t){return")"===e[t]&&t++,function(e){var t=[],n=0;for(;n<e.length;)"("===e[n]?t.push(n):")"===e[n]&&t.pop(),n++;var r=0,o="";t.push(e.length);for(var i=0,a=t;i<a.length;i++){var s=a[i];o+=e.slice(r,s),r=s+1}return o}(e.slice(0,t))}function ed(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(e.nationalSignificantNumber))return function(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode;if(o(t)){var a=td(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:r});if(a)return a}return td(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:r})}(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:i})}function td(e,t,n){var r=n.metadata,o=n.useNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=Fu(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:o,metadata:r});if(o||(e.nationalPrefix?a=e.nationalPrefix+i(t)+a:e.complexPrefixBeforeNationalSignificantNumber&&(a=e.complexPrefixBeforeNationalSignificantNumber+" "+a)),function(e,t){return fu(e)===t.getNationalDigits()}(a,e))return a}function nd(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 rd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"parse",value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:"|",args:n.concat([sd(r)])};if(0===r.length)throw new Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(e){this.context.push(e)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(e){if(!e)throw new Error("Pattern is required");var t=e.match(ad);if(t){var n=t[1],r=e.slice(0,t.index),o=e.slice(t.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(sd(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(sd(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:od(r)});break;default:throw new Error("Unknown operator: ".concat(n))}o&&this.parsePattern(o)}else{if(id.test(e))throw new Error("Illegal characters found in a pattern: ".concat(e));this.getContext().instructions=this.getContext().instructions.concat(e.split(""))}}}],n&&nd(t.prototype,n),r&&nd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function od(e){for(var t=[],n=0;n<e.length;){if("-"===e[n]){if(0===n||n===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,o=e[n+1].charCodeAt(0)-1,i=r;i<=o;)t.push(String.fromCharCode(i)),i++}else t.push(e[n]);n++}return t}var id=/[\(\)\[\]\?\:\|]/,ad=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function sd(e){return 1===e.length?e[0]:e}function cd(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return ld(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 ld(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ld(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 ud(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 Ad=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.matchTree=(new rd).parse(t)}var t,n,r;return t=e,n=[{key:"match",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowOverflow;if(!e)throw new Error("String is required");var r=dd(e.split(""),this.matchTree,!0);if(r&&r.match&&delete r.matchedChars,!r||!r.overflow||n)return r}}],n&&ud(t.prototype,n),r&&ud(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function dd(e,t,n){if("string"===typeof t){var r=e.join("");return 0===t.indexOf(r)?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===r.indexOf(t)?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var o=e.slice(),i=0;i<t.length;){var a=dd(o,t[i],n&&i===t.length-1);if(!a)return;if(a.overflow)return a;if(!a.match){if(a.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(a,null,2)))}if(0===(o=o.slice(a.matchedChars.length)).length)return i===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0};i++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-o.length)}}switch(t.op){case"|":for(var s,c,l=cd(t.args);!(c=l()).done;){var u=dd(e,c.value,n);if(u){if(u.overflow)return u;if(u.match)return{match:!0,matchedChars:u.matchedChars};if(!u.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(u,null,2)));s=!0}}return s?{partialMatch:!0}:void 0;case"[]":for(var A,d=cd(t.args);!(A=d()).done;){var f=A.value;if(e[0]===f)return 1===e.length?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[f]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function fd(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return hd(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 hd(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hd(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 pd(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 md=XA("9",15),gd=/[- ]/,vd=function(){return/\[([^\[\]])*\]/g},yd=function(){return/\d(?=[^,}][^,}])/g},bd=new RegExp("["+jl+"]*\\$1["+jl+"]*(\\$\\d["+jl+"]*)*$"),wd=function(){function e(t){t.state;var n=t.metadata;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=n,this.resetFormat()}var t,n,r;return t=e,n=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(e,t){this.resetFormat(),e?(this.isNANP="1"===e.callingCode(),this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,t){var n=this;if(function(e,t){return"IS_POSSIBLE"===bu(e,t)}(t.nationalSignificantNumber,this.metadata))for(var r,o=fd(this.matchingFormats);!(r=o()).done;){var i=r.value,a=ed(t,i,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(a)return this.resetFormat(),this.chosenFormat=i,this.setNationalNumberTemplate(a.replace(/\d/g,WA),t),this.populatedNationalNumberTemplate=a,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(WA),a}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,o=e.international,i=n,a=i.length-3;a<0&&(a=0),this.matchingFormats=this.matchingFormats.filter((function(e){return t.formatSuits(e,o,r)&&t.formatMatches(e,i,a)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat())&&!(!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(0===r)return!0;n=Math.min(n,r-1);var o=e.leadingDigitsPatterns()[n];if(t.length<3)try{return void 0!==new Ad(o).match(t,{allowOverflow:!0})}catch(i){return console.error(i),!0}return new RegExp("^(".concat(o,")")).test(t)}},{key:"getFormatFormat",value:function(e,t){return t?e.internationalFormat():e.format()}},{key:"chooseFormat",value:function(e){for(var t,n=this,r=function(){var r=t.value;return n.chosenFormat===r?"break":bd.test(n.getFormatFormat(r,e.international))?n.createTemplateForFormat(r,e)?(n.chosenFormat=r,"break"):(n.matchingFormats=n.matchingFormats.filter((function(e){return e!==r})),"continue"):"continue"},o=fd(this.matchingFormats.slice());!(t=o()).done;){var i=r();if("break"===i)break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(e,t){if(!(e.pattern().indexOf("|")>=0)){var n=this.getTemplateForFormat(e,t);return n?(this.setNationalNumberTemplate(n,t),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&gd.test(e.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&!1===t.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):"";n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(WA,t+1),n++;return JA(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,WA)+XA(WA,t.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,o=t.nationalPrefix,i=t.complexPrefixBeforeNationalSignificantNumber,a=e.pattern();a=a.replace(vd(),"\\d").replace(yd(),"\\d");var s=md.match(a)[0];if(!(n.length>s.length)){var c=new RegExp("^"+a+"$"),l=n.replace(/\d/g,"9");c.test(l)&&(s=l);var u,A=this.getFormatFormat(e,r);if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:o})){var d=A.replace(Nu,e.nationalPrefixFormattingRule());if(fu(e.nationalPrefixFormattingRule())===(o||"")+fu("$1")&&(A=d,u=!0,o))for(var f=o.length;f>0;)A=A.replace(/\d/,WA),f--}var h=s.replace(new RegExp(a),A).replace(new RegExp("9","g"),WA);return u||(i?h=XA(WA,i.length)+" "+h:o&&(h=XA(WA,o.length)+this.getSeparatorAfterNationalPrefix(e)+h)),r&&(h=Ou(h)),h}}},{key:"formatNextNationalNumberDigits",value:function(e){var t=function(e,t,n){for(var r,o=ZA(n.split(""));!(r=o()).done;){var i=r.value;if(e.slice(t+1).search(YA)<0)return;t=e.search(YA),e=e.replace(YA,i)}return[e,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(t)return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],JA(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var o=e.usesNationalPrefix();if(o&&r||!o&&!n)return!0}}}],n&&pd(t.prototype,n),r&&pd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function _d(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(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return xd(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 xd(e,t)}(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 xd(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 Bd(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 Cd=new RegExp("^"+("["+jl+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]+")+"$","i"),Ed="(?:[+\uff0b]["+jl+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]*|["+jl+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]+)",jd=new RegExp("[^"+jl+"0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]+.*$"),kd=/[^\d\[\]]/,Sd=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,o=t.metadata,i=t.onNationalSignificantNumberChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=o,this.onNationalSignificantNumberChange=i}var t,n,r;return t=e,(n=[{key:"input",value:function(e,t){var n,r=function(e){var t=_d(function(e){var t=function(e){var t,n=e.search(Ed);if(!(n<0))return"+"===(e=e.slice(n))[0]&&(t=!0,e=e.slice("+".length)),e=e.replace(jd,""),t&&(e="+"+e),e}(e)||"";return"+"===t[0]?[t.slice("+".length),!0]:[t]}(e),2),n=t[0],r=t[1];return Cd.test(n)||(n=""),[n,r]}(e),o=_d(r,2),i=o[0],a=o[1],s=fu(i);return a&&(t.digits||(t.startInternationalNumber(),s||(n=!0))),s&&this.inputDigits(s,t),{digits:s,justLeadingPlus:n}}},{key:"inputDigits",value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}},{key:"isWaitingForCountryCallingCode",value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:"extractCountryCallingCode",value:function(e){var t=Ju("+"+e.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&kd.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(e,t){if(this.hasSelectedNumberingPlan){var n=Wu(e,this.metadata),r=n.nationalPrefix,o=n.nationalNumber,i=n.carrierCode;if(o!==e)return this.onExtractedNationalNumber(r,i,o,e,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=Wu(e,this.metadata),o=r.nationalPrefix,i=r.nationalNumber,a=r.carrierCode;if(i!==t)return this.onExtractedNationalNumber(o,a,i,e,n),!0}}},{key:"onExtractedNationalNumber",value:function(e,t,n,r,o){var i,a,s=r.lastIndexOf(n);if(s>=0&&s===r.length-n.length){a=!0;var c=r.slice(0,s);c!==e&&(i=c)}o({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:a,complexPrefixBeforeNationalSignificantNumber:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(e){return!!this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,(function(t){return e.update(t)}))||(this.extractIddPrefix(e)||this.fixMissingPlus(e)?(this.extractCallingCodeAndNationalSignificantNumber(e),!0):void 0)}},{key:"extractIddPrefix",value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!t&&!n){var o=Gu(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==o&&o!==r?(e.update({IDDPrefix:r.slice(0,r.length-o.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(e){if(!e.international){var t=Xu(e.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode;if(t.number,n)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}}])&&Bd(t.prototype,n),r&&Bd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Od(e){return Od="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},Od(e)}function Nd(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(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Fd(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 Fd(e,t)}(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 Fd(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 Id(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 Pd=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=new Kl(n);var r=Nd(this.getCountryAndCallingCode(t),2),o=r[0],i=r[1];this.defaultCountry=o,this.defaultCallingCode=i,this.reset()}var t,n,r;return t=e,(n=[{key:"getCountryAndCallingCode",value:function(e){var t,n;return e&&("object"===Od(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,n]}},{key:"input",value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(n){var r;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),void 0===r&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var o=this.state.getNationalDigits();o&&(r=this.formatter.format(o,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var e=this;return this.state=new zA({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n,t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new wd({state:this.state,metadata:this.metadata}),this.parser=new Sd({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){var e=this.state.country;return e}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?"".concat(r," ").concat(e):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return e}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.complexPrefixBeforeNationalSignificantNumber,r=e.nationalPrefix,o=t,i=n||r;return i&&(o=i+o),o}},{key:"getNonFormattedNumber",value:function(){var e=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(e?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,WA)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(nA(this.isInternational()?this.state.callingCode:this.defaultCallingCode,this.state.nationalSignificantNumber,this.metadata))}},{key:"getNumberValue",value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,o=e.nationalSignificantNumber;if(t)return this.isInternational()?n?"+"+n+o:"+"+t:r||n?"+"+(r?this.metadata.countryCallingCode():n)+o:void 0}},{key:"getNumber",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode,o=this._getCountry();if(t&&(o||r)){var i=new zu(o||r,t,this.metadata.metadata);return n&&(i.carrierCode=n),i}}},{key:"isPossible",value:function(){var e=this.getNumber();return!!e&&e.isPossible()}},{key:"isValid",value:function(){var e=this.getNumber();return!!e&&e.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])&&Id(t.prototype,n),r&&Id(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ld(e){var t=e.country,n=e.international,r=e.withCountryCallingCode,o=e.metadata;return t&&n&&!r?"+".concat(Jl(t,o)):""}function Td(e,t){return t&&" "===(e=e.slice(t.length))[0]&&(e=e.slice(1)),e}var Dd=["country","international","withCountryCallingCode","metadata"];function Qd(){return Qd=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},Qd.apply(this,arguments)}function Ud(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 Md=function(e){function n(e,n){var r=e.country,o=e.international,i=e.withCountryCallingCode,a=e.metadata,s=Ud(e,Dd),c=(0,t.useCallback)((function(e){var t=new Pd(r,a),n=Ld({country:r,international:o,withCountryCallingCode:i,metadata:a}),s=t.input(n+e),c=t.getTemplate();return n&&(s=Td(s,n),c&&(c=Td(c,n))),{text:s,template:c}}),[r,a]);return t.createElement(qA,Qd({},s,{ref:n,parse:gu,format:c}))}return(n=t.forwardRef(n)).propTypes={value:Yn.string.isRequired,onChange:Yn.func.isRequired,country:Yn.string,international:Yn.bool,withCountryCallingCode:Yn.bool,metadata:Yn.object.isRequired},n.defaultProps={metadata:e},n}();var Rd=["value","onChange","country","international","withCountryCallingCode","metadata","inputComponent"];function $d(){return $d=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},$d.apply(this,arguments)}function Hd(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 qd=function(e){function n(e,n){var r=e.value,o=e.onChange,i=e.country,a=e.international,s=e.withCountryCallingCode,c=e.metadata,l=e.inputComponent,u=Hd(e,Rd),A=Ld({country:i,international:a,withCountryCallingCode:s,metadata:c}),d=(0,t.useCallback)((function(e){var t=mu(e.target.value);t===r&&(0===Kd(A,t,i,c).indexOf(e.target.value)&&(t=t.slice(0,-1)));o(t)}),[A,r,o,i,c]);return t.createElement(l,$d({},u,{ref:n,value:Kd(A,r,i,c),onChange:d}))}return(n=t.forwardRef(n)).propTypes={value:Yn.string.isRequired,onChange:Yn.func.isRequired,country:Yn.string,international:Yn.bool,withCountryCallingCode:Yn.bool,metadata:Yn.object.isRequired,inputComponent:Yn.elementType.isRequired},n.defaultProps={metadata:e,inputComponent:"input"},n}();function Kd(e,t,n,r){return Td(function(e,t,n){return n||(n=t,t=void 0),new Pd(t,n).input(e)}(e+t,n,r),e)}function Vd(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var zd=["value","onChange","options"],Zd=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function Gd(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Wd(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 Wd(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wd(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 Yd(){return Yd=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},Yd.apply(this,arguments)}function Xd(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}function Jd(e){var n=e.value,r=e.onChange,o=e.options,i=Xd(e,zd),a=(0,t.useCallback)((function(e){var t=e.target.value;r("ZZ"===t?void 0:t)}),[r]);(0,t.useMemo)((function(){return nf(o,n)}),[o,n]);return t.createElement("select",Yd({},i,{value:n||"ZZ",onChange:a}),o.map((function(e){var n=e.value,r=e.label,o=e.divider;return t.createElement("option",{key:o?"|":n||"ZZ",value:o?"|":n||"ZZ",disabled:!!o,style:o?ef:void 0},r)})))}Jd.propTypes={value:Yn.string,onChange:Yn.func.isRequired,options:Yn.arrayOf(Yn.shape({value:Yn.string,label:Yn.string,divider:Yn.bool})).isRequired};var ef={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function tf(e){var n,r=e.value,o=e.options,i=e.className,a=e.iconComponent,s=(e.getIconAspectRatio,e.arrowComponent),c=e.unicodeFlags,l=Xd(e,Zd),u=(0,t.useMemo)((function(){return nf(o,r)}),[o,r]);return t.createElement("div",{className:"PhoneInputCountry"},t.createElement(Jd,Yd({},l,{value:r,options:o,className:CA("PhoneInputCountrySelect",i)})),c&&r&&t.createElement("div",{className:"PhoneInputCountryIconUnicode"},Vd((n=r)[0])+Vd(n[1])),!(c&&r)&&t.createElement(a,{"aria-hidden":!0,country:r,label:u&&u.label,aspectRatio:c?1:void 0}),t.createElement(s,null))}function nf(e,t){for(var n,r=Gd(e);!(n=r()).done;){var o=n.value;if(!o.divider&&o.value===t)return o}}tf.propTypes={iconComponent:Yn.elementType,arrowComponent:Yn.elementType.isRequired,unicodeFlags:Yn.bool},tf.defaultProps={arrowComponent:function(){return t.createElement("div",{className:"PhoneInputCountrySelectArrow"})}};var rf=["country","countryName","flags","flagUrl"];function of(){return of=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},of.apply(this,arguments)}function af(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}function sf(e){var n=e.country,r=e.countryName,o=e.flags,i=e.flagUrl,a=af(e,rf);return o&&o[n]?o[n]({title:r}):t.createElement("img",of({},a,{alt:r,role:r?void 0:"presentation",src:i.replace("{XX}",n).replace("{xx}",n.toLowerCase())}))}sf.propTypes={country:Yn.string.isRequired,countryName:Yn.string.isRequired,flags:Yn.objectOf(Yn.elementType),flagUrl:Yn.string.isRequired};var cf=["aspectRatio"],lf=["title"],uf=["title"];function Af(){return Af=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},Af.apply(this,arguments)}function df(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}function ff(e){var n=e.aspectRatio,r=df(e,cf);return 1===n?t.createElement(pf,r):t.createElement(hf,r)}function hf(e){var n=e.title,r=df(e,lf);return t.createElement("svg",Af({},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),t.createElement("title",null,n),t.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},t.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),t.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),t.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),t.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),t.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),t.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),t.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function pf(e){var n=e.title,r=df(e,uf);return t.createElement("svg",Af({},r,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),t.createElement("title",null,n),t.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},t.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),t.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),t.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),t.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),t.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),t.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),t.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function mf(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return gf(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 gf(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gf(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 vf(e,t){return!!eu(e,t)||(console.error("Country not found: ".concat(e)),!1)}function yf(e,t){return e&&0===(e=e.filter((function(e){return vf(e,t)}))).length&&(e=void 0),e}function bf(e){return new Kl(e).getCountries()}ff.propTypes={title:Yn.string.isRequired,aspectRatio:Yn.number},hf.propTypes={title:Yn.string.isRequired},pf.propTypes={title:Yn.string.isRequired};var wf=["country","label","aspectRatio"];function _f(){return _f=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},_f.apply(this,arguments)}function xf(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}function Bf(e){var n=e.flags,r=e.flagUrl,o=e.flagComponent,i=e.internationalIcon;function a(e){var a=e.country,s=e.label,c=e.aspectRatio,l=xf(e,wf),u=i===ff?c:void 0;return t.createElement("div",_f({},l,{className:CA("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===u,"PhoneInputCountryIcon--border":a})}),a?t.createElement(o,{country:a,countryName:s,flags:n,flagUrl:r,className:"PhoneInputCountryIconImg"}):t.createElement(i,{title:s,aspectRatio:u,className:"PhoneInputCountryIconImg"}))}return a.propTypes={country:Yn.string,label:Yn.string.isRequired,aspectRatio:Yn.number},a}Bf({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:sf,internationalIcon:ff});function Cf(e,t){return"+"+Jl(e,t)}function Ef(e,t){return function(){var e=Bl(arguments),t=e.text,n=e.options,r=e.metadata;return gA(t,n,r)}(e||"",t)}function jf(e,t){var n=t.prevCountry,r=t.newCountry,o=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":Cf(r,o);if(r){if("+"===e[0]){if(i)return 0===e.indexOf("+"+Jl(r,o))?function(e,t,n){if(t){var r="+"+Jl(t,n);if(e.length<r.length){if(0===r.indexOf(e))return""}else if(0===e.indexOf(r))return e.slice(r.length)}for(var o=0,i=Object.keys(n.country_calling_codes);o<i.length;o++){var a=i[o];if(e.indexOf(a)==="+".length)return e.slice("+".length+a.length)}return""}(e,r,o):"";if(n){var a=Cf(r,o);return 0===e.indexOf(a)?e:a}var s=Cf(r,o);return 0===e.indexOf(s)?e:s}}else if("+"!==e[0])return kf(e,n,o)||"";return e}function kf(e,t,n){if(e){if("+"===e[0]){if("+"===e)return;var r=new Pd(t,n);return r.input(e),r.getNumberValue()}if(t){var o=If(e,t,n);return"+".concat(Jl(t,n)).concat(o||"")}}}function Sf(e,t,n){var r=If(e,t,n);if(r){var o=r.length-function(e,t){return(t=new Kl(t)).selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}(t,n);if(o>0)return e.slice(0,e.length-o)}return e}function Of(e,t){var n=t.country,r=t.countries,o=t.required,i=t.metadata;if("+"===e)return n;var a=function(e,t){var n=new Pd(null,t);return n.input(e),n.getCountry()}(e,i);return a&&(!r||r.indexOf(a)>=0)?a:!n||o||Pf(e,n,i)?n:void 0}function Nf(e,t,n){if(0===e.indexOf(Cf(t,n))){var r=new Pd(t,n);r.input(e);var o=r.getNumber();return o?o.formatNational().replace(/\D/g,""):""}return e.replace(/\D/g,"")}function Ff(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function If(e,t,n){var r=new Pd(t,n);r.input(e);var o=r.getNumber();return o&&o.nationalNumber}function Pf(e,t,n){for(var r=Cf(t,n),o=0;o<e.length&&o<r.length;){if(e[o]!==r[o])return!1;o++}return!0}function Lf(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.international,i=e.useNationalFormat,a=e.metadata;return(!1===o||i)&&n&&n.country?function(e){return e.formatNational().replace(/\D/g,"")}(n):!t&&o&&r?Cf(r,a):t}function Tf(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 Df(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tf(Object(n),!0).forEach((function(t){Qf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uf(e,t){return null===e&&(e=void 0),null===t&&(t=void 0),e===t}function Mf(e){return Mf="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},Mf(e)}var Rf=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];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 Hf(){return Hf=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},Hf.apply(this,arguments)}function qf(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}function Kf(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 Vf(e,t){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vf(e,t)}function zf(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Pe){return!1}}();return function(){var n,r=Wf(e);if(t){var o=Wf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zf(this,n)}}function Zf(e,t){if(t&&("object"===Mf(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gf(e)}function Gf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wf(e)}function Yf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xf=function(e){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vf(e,t)}(a,e);var n,r,o,i=zf(a);function a(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Yf(Gf(n=i.call(this,e)),"setInputRef",(function(e){n.inputRef.current=e;var t=n.props.inputRef;t&&("function"===typeof t?t(e):t.current=e)})),Yf(Gf(n),"isCountrySupportedWithError",(function(e){return vf(e,n.props.metadata)})),Yf(Gf(n),"onCountryChange",(function(e){var t=n.props,r=t.international,o=t.metadata,i=t.onChange,a=t.focusInputOnCountrySelection,s=n.state,c=jf(s.phoneDigits,{prevCountry:s.country,newCountry:e,metadata:o,useNationalFormat:!r}),l=kf(c,e,o);a&&n.inputRef.current.focus(),n.setState({country:e,hasUserSelectedACountry:!0,phoneDigits:c,value:l},(function(){i(l)}))})),Yf(Gf(n),"onChange",(function(e){var t=n.props,r=t.defaultCountry,o=t.onChange,i=t.addInternationalOption,a=t.international,s=t.limitMaxLength,c=t.countryCallingCodeEditable,l=t.metadata,u=n.state,A=u.countries,d=function(e,t){var n,r=t.prevPhoneDigits,o=t.country,i=t.defaultCountry,a=t.countryRequired,s=t.getAnyCountry,c=t.countries,l=t.international,u=t.limitMaxLength,A=t.countryCallingCodeEditable,d=t.metadata;if(l&&!1===A&&o){var f,h=Cf(o,d);if(0!==e.indexOf(h))return e&&"+"!==e[0]?f=kf(e=h+e,o,d):e=h,{phoneDigits:e,value:f,country:o}}return!1===l&&o&&e&&"+"===e[0]&&(e=Nf(e,o,d)),e&&o&&u&&(e=Sf(e,o,d)),!e||"+"===e[0]||o&&!l||(e="+"+e),!e&&r&&"+"===r[0]&&(o=l?void 0:i),"+"===e&&r&&"+"===r[0]&&r.length>"+".length&&(o=void 0),e&&(n="+"===e[0]&&("+"===e||o&&0===Cf(o,d).indexOf(e))?void 0:kf(e,o,d)),n&&(o=Of(n,{country:o,countries:c,metadata:d}),!1===l&&o&&e&&"+"===e[0]&&(n=kf(e=Nf(e,o,d),o,d))),!o&&a&&(o=i||s()),{phoneDigits:e,country:o,value:n}}(e,{prevPhoneDigits:u.phoneDigits,country:u.country,countryRequired:!i,defaultCountry:r,getAnyCountry:function(){return n.getFirstSupportedCountry({countries:A})},countries:A,international:a,limitMaxLength:s,countryCallingCodeEditable:c,metadata:l}),f=d.phoneDigits,h=d.country,p=d.value,m={phoneDigits:f,value:p,country:h};!1===c&&(p||f!==n.state.phoneDigits||(m.forceRerender={})),n.setState(m,(function(){return o(p)}))})),Yf(Gf(n),"_onFocus",(function(){return n.setState({isFocused:!0})})),Yf(Gf(n),"_onBlur",(function(){return n.setState({isFocused:!1})})),Yf(Gf(n),"onFocus",(function(e){n._onFocus();var t=n.props.onFocus;t&&t(e)})),Yf(Gf(n),"onBlur",(function(e){var t=n.props.onBlur;n._onBlur(),t&&t(e)})),Yf(Gf(n),"onCountryFocus",(function(e){n._onFocus();var t=n.props.countrySelectProps;if(t){var r=t.onFocus;r&&r(e)}})),Yf(Gf(n),"onCountryBlur",(function(e){n._onBlur();var t=n.props.countrySelectProps;if(t){var r=t.onBlur;r&&r(e)}})),n.inputRef=t.createRef();var r=n.props,o=r.value,s=(r.labels,r.international),c=r.addInternationalOption,l=r.displayInitialValueAsLocalNumber,u=r.initialValueFormat,A=r.metadata,d=n.props,f=d.defaultCountry,h=d.countries;f&&(n.isCountrySupportedWithError(f)||(f=void 0)),h=yf(h,A);var p=Ef(o,A);n.CountryIcon=Bf(n.props);var m=function(e){var t,n=e.value,r=e.phoneNumber,o=e.defaultCountry,i=e.getAnyCountry,a=e.countries,s=e.required,c=e.metadata;return r&&r.country?t=r.country:o&&(n&&!Pf(n,o,c)||(t=o)),a&&a.indexOf(t)<0&&(t=void 0),!t&&s&&a&&a.length>0&&(t=i()),t}({value:o,phoneNumber:p,defaultCountry:f,required:!c,countries:h||bf(A),getAnyCountry:function(){return n.getFirstSupportedCountry({countries:h})},metadata:A});return n.state={props:n.props,country:m,countries:h,phoneDigits:Lf({value:o,phoneNumber:p,defaultCountry:f,international:s,useNationalFormat:l||"national"===u,metadata:A}),value:o},n}return n=a,r=[{key:"componentDidMount",value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,n=this.state.country;e&&(t&&(this.isCountrySupportedWithError(t)||(t=void 0)),n!==t&&e(n))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.onCountryChange,r=this.state.country;n&&r!==t.country&&n(r)}},{key:"getCountrySelectOptions",value:function(e){var t=e.countries,n=this.props,r=n.international,o=n.countryCallingCodeEditable,i=n.countryOptionsOrder,a=n.addInternationalOption,s=n.labels,c=n.locales,l=n.metadata;return this.useMemoCountrySelectOptions((function(){return function(e,t){if(!t)return e;for(var n,r=[],o=[],i=r,a=mf(t);!(n=a()).done;){var s=n.value;"|"===s?i.push({divider:!0}):"..."===s||"\u2026"===s?i=o:function(){var t=void 0;t="\ud83c\udf10"===s?void 0:s;var n=e.indexOf(e.filter((function(e){return e.value===t}))[0]),r=e[n];e.splice(n,1),i.push(r)}()}return r.concat(e).concat(o)}(function(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,o=e.compareStringsLocales,i=e.compareStrings;i||(i=Ff);var a=t.map((function(e){return{value:e,label:n[e]||e}}));return a.sort((function(e,t){return i(e.label,t.label,o)})),r&&a.unshift({label:n.ZZ}),a}({countries:t||bf(l),countryNames:s,addInternationalOption:(!r||!1!==o)&&a,compareStringsLocales:c}),function(e,t){if(e&&(e=e.filter((function(e){switch(e){case"\ud83c\udf10":case"|":case"...":case"\u2026":return!0;default:return vf(e,t)}}))).length>0)return e}(i,l))}),[t,i,a,s,l])}},{key:"useMemoCountrySelectOptions",value:function(e,t){return this.countrySelectOptionsMemoDependencies&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}(t,this.countrySelectOptionsMemoDependencies)||(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:"render",value:function(){var e=this.props,n=e.name,r=e.disabled,o=e.readOnly,i=e.autoComplete,a=e.style,s=e.className,c=(e.inputRef,e.inputComponent),l=e.numberInputProps,u=e.smartCaret,A=e.countrySelectComponent,d=e.countrySelectProps,f=e.containerComponent,h=(e.defaultCountry,e.countries,e.countryOptionsOrder,e.labels),p=(e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset,e.metadata),m=(e.international,e.locales,qf(e,Rf)),g=this.state,v=g.country,y=g.countries,b=g.phoneDigits,w=g.isFocused,_=u?Md:qd,x=this.getCountrySelectOptions({countries:y});return t.createElement(f,{style:a,className:CA(s,"PhoneInput",{"PhoneInput--focus":w,"PhoneInput--disabled":r,"PhoneInput--readOnly":o})},t.createElement(A,Hf({name:n?"".concat(n,"Country"):void 0,"aria-label":h.country},d,{value:v,options:x,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:r||d&&d.disabled,readOnly:o||d&&d.readOnly,iconComponent:this.CountryIcon})),t.createElement(_,Hf({ref:this.setInputRef,type:"tel",autoComplete:i},l,m,{name:n,metadata:p,country:v,value:b||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:r,readOnly:o,inputComponent:c,className:CA("PhoneInputInput",l&&l.className,m.className)})))}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$f(Object(n),!0).forEach((function(t){Yf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({props:e},function(e,t,n){var r=e.metadata,o=e.countries,i=e.defaultCountry,a=e.value,s=e.reset,c=e.international,l=e.displayInitialValueAsLocalNumber,u=e.initialValueFormat,A=t.defaultCountry,d=t.value,f=t.reset,h=(n.country,n.value),p=n.hasUserSelectedACountry,m=function(e){return Lf(Df(Df({},e),{},{international:c,useNationalFormat:l||"national"===u,metadata:r}))};if(s!==f)return{phoneDigits:m({value:void 0,defaultCountry:i}),value:void 0,country:i,hasUserSelectedACountry:void 0};if(i!==A){var g=!i||vf(i,r),v=!h||c&&h===m({value:void 0,defaultCountry:A});if(!p&&g&&!a&&v)return{country:i,phoneDigits:m({value:void 0,defaultCountry:i}),value:void 0}}if(!Uf(a,d)&&!Uf(a,h)){var y,b,w;if(a){y=Ef(a,r);var _=yf(o,r);y&&y.country?(!_||_.indexOf(y.country)>=0)&&(b=y.country):(b=Of(a,{country:void 0,countries:_,metadata:r}))||0===a.indexOf(Cf(i,r))&&(b=i)}return a||(w={hasUserSelectedACountry:void 0}),Df(Df({},w),{},{phoneDigits:m({phoneNumber:y,value:a,defaultCountry:i}),value:a,country:a?b:i})}}(e,t.props,t))}}],r&&Kf(n.prototype,r),o&&Kf(n,o),Object.defineProperty(n,"prototype",{writable:!1}),a}(t.PureComponent),Jf=t.forwardRef((function(e,n){return t.createElement(Xf,Hf({},e,{inputRef:n}))}));Jf.propTypes={value:Yn.string,onChange:Yn.func.isRequired,onFocus:Yn.func,onBlur:Yn.func,disabled:Yn.bool,readOnly:Yn.bool,autoComplete:Yn.string.isRequired,initialValueFormat:Yn.oneOf(["national"]),displayInitialValueAsLocalNumber:Yn.bool,defaultCountry:Yn.string,countries:Yn.arrayOf(Yn.string),labels:BA.isRequired,locales:Yn.oneOfType([Yn.string,Yn.arrayOf(Yn.string)]),flagUrl:Yn.string.isRequired,flags:Yn.objectOf(Yn.elementType),flagComponent:Yn.elementType.isRequired,addInternationalOption:Yn.bool.isRequired,internationalIcon:Yn.elementType.isRequired,countryOptionsOrder:Yn.arrayOf(Yn.string),style:Yn.object,className:Yn.string,countrySelectComponent:Yn.elementType.isRequired,countrySelectProps:Yn.object,inputComponent:Yn.elementType.isRequired,containerComponent:Yn.elementType.isRequired,numberInputProps:Yn.object,smartCaret:Yn.bool.isRequired,international:Yn.bool,limitMaxLength:Yn.bool.isRequired,countryCallingCodeEditable:Yn.bool.isRequired,metadata:xA.isRequired,onCountryChange:Yn.func,focusInputOnCountrySelection:Yn.bool.isRequired},Jf.defaultProps={autoComplete:"tel",countrySelectComponent:tf,flagComponent:sf,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:ff,inputComponent:"input",containerComponent:"div",reset:Yn.any,smartCaret:!0,addInternationalOption:!0,limitMaxLength:!1,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};var eh=Jf;function th(){return th=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},th.apply(this,arguments)}function nh(e){var n=t.forwardRef((function(e,n){return t.createElement(eh,th({ref:n},e))}));return n.propTypes={metadata:xA.isRequired,labels:BA.isRequired},n.defaultProps={metadata:e,labels:_A},n}nh();function rh(e,t){var n=Array.prototype.slice.call(t);return n.push(vl),e.apply(this,n)}var oh=nh(vl);function ih(){return rh(wA,arguments)}var ah=function(e){var n,r,o,i,a=e.onSuccess,s=e.details,c=wh(),l=c.register,u=c.isRegistering,d=(0,t.useState)(""),f=(0,B.Z)(d,2),h=f[0],p=f[1];(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]);var m=lc.object({name:lc.string().min(2,"Name must be at least 2 characters").max(50),email:lc.string().email("Invalid email format"),password:lc.string().refine((function(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()]).{8,}$/.test(e)}),{message:"Password must include at least one lowercase letter, one uppercase letter, one digit, and one special character (!@#$%^&*())",path:["password"]})});return(0,A.jsx)("div",{children:(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.tin=null===s||void 0===s?void 0:s.TIN,t.role="USER",t.phone_number=h,e.next=5,l(t);case 5:a();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:m,options:{shouldUnregister:!0,defaultValues:{name:null===s||void 0===s||null===(n=s.GetClientRegistrationResponse)||void 0===n||null===(r=n.GetClientRegistrationResult)||void 0===r?void 0:r.TaxPayerName,email:null===s||void 0===s||null===(o=s.GetClientRegistrationResponse)||void 0===o||null===(i=o.GetClientRegistrationResult)||void 0===i?void 0:i.TaxPayerEmail}},children:function(e){var t=e.register,n=e.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"text",label:"Name",registration:t("name"),error:n.errors.name,required:!0}),(0,A.jsx)($o,{type:"email",label:"Email Address",registration:t("email"),error:n.errors.email,required:!0}),(0,A.jsxs)("div",{children:[(0,A.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-4",children:(0,A.jsx)("span",{className:"text-gray-400",children:"Phone Number"})}),(0,A.jsx)(oh,{international:!0,countryCallingCodeEditable:!1,defaultCountry:"UG",onChange:function(e){p(null===e||void 0===e?"":e)},className:"border-0"}),h&&!ih(h)&&(0,A.jsx)("span",{className:"text-sm font-semibold text-red-500",children:"Enter valid phone number"})]}),(0,A.jsx)($o,{type:"password",label:"Password",error:n.errors.password,registration:t("password"),required:!0,caption:"Password must include at least one lowercase letter, one uppercase letter, one digit, and one special character (!@#$%^&*())"}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:u,type:"submit",className:"w-full ".concat(u?" bg-gray-400":" bg-green-600"),children:u?"Registering...":"Register"})})]})}})})},sh=function(){var e=(0,t.useState)(),n=(0,B.Z)(e,2),r=n[0],o=n[1],i=Gi();return(0,A.jsxs)("div",{children:[(0,A.jsx)(gl,{setDetails:o}),r?(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)(ah,{details:r,onSuccess:function(){return i("/verify")}})}):"",(0,A.jsx)("div",{className:"mt-2 flex items-center justify-end",children:(0,A.jsx)("div",{className:"text-sm",children:(0,A.jsx)(fa,{to:"/auth/login",className:"font-medium text-green-600 hover:text-green-500",children:"Login instead"})})})]})},ch=function(e){var n=e.onSuccess,r=wh(),o=r.register,i=r.isRegistering,a=(0,t.useState)(""),s=(0,B.Z)(a,2),c=s[0],l=s[1];(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]);var u=lc.object({name:lc.string().min(1,"Required"),email:lc.string().email("Enter a valid email").min(1,"Required"),password:lc.string().refine((function(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()]).{8,}$/.test(e)}),{message:"Password must include at least one lowercase letter, one uppercase letter, one digit, and one special character (!@#$%^&*())",path:["password"]})});return(0,A.jsxs)("div",{children:[(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object.assign(t,{phone_number:c}),t.role="USER",e.next=4,o(t);case 4:n();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:u,options:{shouldUnregister:!0},children:function(e){var t=e.register,n=e.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"text",label:"Name",error:n.errors.name,registration:t("name"),required:!0}),(0,A.jsx)($o,{type:"email",label:"Email Address",error:n.errors.email,registration:t("email"),required:!0}),(0,A.jsxs)("div",{children:[(0,A.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-4",children:(0,A.jsx)("span",{className:"text-gray-400",children:"Phone Number"})}),(0,A.jsx)(oh,{international:!0,countryCallingCodeEditable:!1,defaultCountry:"UG",onChange:function(e){l(null===e||void 0===e?"":e)},className:"border-0"}),c&&!ih(c)&&(0,A.jsx)("span",{className:"text-sm font-semibold text-red-500",children:"Enter valid phone number"})]}),(0,A.jsx)($o,{type:"password",label:"Password",error:n.errors.password,registration:t("password"),required:!0,caption:"Password must include at least one lowercase letter, one uppercase letter, one digit, and one special character (!@#$%^&*())"}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:i,type:"submit",className:"w-full ".concat(i?" bg-gray-400":" bg-green-600"),children:i?"Registering...":"Register"})})]})}}),(0,A.jsx)("div",{className:"mt-2 flex items-center justify-end",children:(0,A.jsx)("div",{className:"text-sm",children:(0,A.jsx)(fa,{to:"/auth/login",className:"font-medium text-green-600 hover:text-green-500",children:"Login instead"})})})]})};var lh=t.forwardRef((function(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:n},e),t.createElement("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))})),uh=function(){var e=Gi(),n=(0,t.useState)(),r=(0,B.Z)(n,2),o=r[0],i=r[1],a=function(){i(!o)};return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),(0,A.jsxs)(ul,{title:"Register your account",children:[(0,A.jsx)("div",{className:"mb-3",children:o?(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("button",{className:"rounded-md flex flex-row items-center justify-end hover:text-green-600 p-2 w-full text-start text-xs text-gray-500",onClick:a,children:[(0,A.jsx)(lh,{className:"h-4 w-4"}),(0,A.jsx)("span",{children:"Register without TIN"})]})}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"mb-2 text-gray-600",children:"Do you have a TIN?"}),(0,A.jsx)("button",{className:"rounded-md border border-gray-200 bg-gray-100 hover:bg-green-600 hover:border-green-600 hover:text-white p-2 w-full text-start text-xs text-gray-500",onClick:a,children:"Please click this button only if you have a valid TIN registered with URA."})]})}),o?(0,A.jsx)(sh,{}):(0,A.jsx)(ch,{onSuccess:function(){return e("/verify")}})]})};function Ah(e){return dh.apply(this,arguments)}function dh(){return dh=(0,re.Z)((0,ne.Z)().mark((function e(t){var n,r,o,i;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.token,r=t.user,o=t.message,i=t.status,n&&Zn.setToken(n),pn.getState().addNotification({type:i,title:i,message:o}),n||r){e.next=5;break}return e.abrupt("return",window.location.assign("/"));case 5:return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)}))),dh.apply(this,arguments)}function fh(){return fh=(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Zn.getToken()){e.next=10;break}return e.next=3,tr();case 3:if(t=e.sent){e.next=9;break}return e.next=7,ir();case 7:return t=e.sent,e.abrupt("return",t);case 9:return e.abrupt("return",t);case 10:return e.abrupt("return",null);case 11:case"end":return e.stop()}}),e)}))),fh.apply(this,arguments)}function hh(){return hh=(0,re.Z)((0,ne.Z)().mark((function e(t){var n,r;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nr(t);case 2:return n=e.sent,e.next=5,Ah(n);case 5:return r=e.sent,e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))),hh.apply(this,arguments)}function ph(){return ph=(0,re.Z)((0,ne.Z)().mark((function e(){var t,n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ir();case 2:return t=e.sent,e.next=5,Ah(t);case 5:return n=e.sent,e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)}))),ph.apply(this,arguments)}function mh(){return mh=(0,re.Z)((0,ne.Z)().mark((function e(t){var n,r;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,rr(t);case 2:return n=e.sent,e.next=5,Ah(n);case 5:return r=e.sent,e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)}))),mh.apply(this,arguments)}function gh(){return gh=(0,re.Z)((0,ne.Z)().mark((function e(){var t,n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,or();case 2:return t=e.sent,Zn.clearToken(),e.next=6,Ah(t);case 6:return n=e.sent,e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),gh.apply(this,arguments)}var vh={loadUser:function(){return fh.apply(this,arguments)},loginFn:function(e){return hh.apply(this,arguments)},registerFn:function(e){return mh.apply(this,arguments)},refetchUser:function(){return ph.apply(this,arguments)},logoutFn:function(){return gh.apply(this,arguments)},LoaderComponent:function(){return(0,A.jsx)("div",{className:"fixed w-full h-full bg-white flex justify-center items-center",children:(0,A.jsx)(g,{})})}},yh=function(e){var n=t.createContext(null);n.displayName="AuthContext";var r=e.loadUser,o=e.loginFn,i=e.registerFn,a=e.logoutFn,s=e.key,c=void 0===s?"auth-user":s,l=e.waitInitial,u=void 0===l||l,A=e.LoaderComponent,d=void 0===A?function(){return t.createElement("div",null,"Loading...")}:A,f=e.ErrorComponent,h=void 0===f?function(e){return t.createElement("div",{style:{color:"tomato"}},JSON.stringify(e,null,2))}:f;return{AuthProvider:function(e){var s=e.children,l=(0,uc.useQueryClient)(),A=(0,uc.useQuery)({queryKey:c,queryFn:r}),f=A.data,p=A.error,m=A.status,g=A.isLoading,v=A.isIdle,y=A.isSuccess,b=A.refetch,w=t.useCallback((function(e){return l.setQueryData(c,e)}),[l]),_=(0,uc.useMutation)({mutationFn:o,onSuccess:function(e){w(e)}}),x=(0,uc.useMutation)({mutationFn:i,onSuccess:function(e){w(e)}}),B=(0,uc.useMutation)({mutationFn:a,onSuccess:function(){l.clear()}}),C=t.useMemo((function(){return{user:f,error:p,refetchUser:b,login:_.mutateAsync,isLoggingIn:_.isLoading,logout:B.mutateAsync,isLoggingOut:B.isLoading,register:x.mutateAsync,isRegistering:x.isLoading}}),[f,p,b,_.mutateAsync,_.isLoading,B.mutateAsync,B.isLoading,x.mutateAsync,x.isLoading]);return y||!u?t.createElement(n.Provider,{value:C},s):g||v?t.createElement(d,null):p?t.createElement(h,{error:p}):t.createElement("div",null,"Unhandled status: ",m)},AuthConsumer:n.Consumer,useAuth:function(){var e=t.useContext(n);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}}}(vh),bh=yh.AuthProvider,wh=yh.useAuth,_h=n(6742),xh=n(6179),Bh=function(){return(0,t.useEffect)((function(){localStorage.clear()})),(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"bg-gray-100 min-h-screen flex flex-col items-center justify-center",children:(0,A.jsxs)("div",{className:"bg-white rounded-md p-8 shadow-md",children:[(0,A.jsx)("h2",{className:"text-2xl font-bold mb-4 text-gray-800",children:"Oops! Something went wrong."}),(0,A.jsxs)("p",{className:"text-gray-600 mb-6",children:["We encountered an error while processing your request."," ",(0,A.jsx)("b",{className:"text-blue-500",children:"No worries, "})," our team has been notified about this issue. Please contact our support if the problem persists."]}),(0,A.jsx)("button",{className:"bg-blue-500 hover:bg-blue-600 text-white font-semibold py-2 px-4 rounded focus:outline-none focus:shadow-outline",onClick:function(){localStorage.clear(),window.location.assign(window.location.origin)},children:"Go Back to Home"})]})})})},Ch=function(e){var n=e.children;return(0,A.jsx)(t.Suspense,{fallback:(0,A.jsx)("div",{className:"fixed w-full h-full bg-white flex justify-center items-center",children:(0,A.jsx)(g,{})}),children:(0,A.jsx)(_h.ErrorBoundary,{FallbackComponent:Bh,children:(0,A.jsx)(el,{children:(0,A.jsx)(uc.QueryClientProvider,{client:Ac,children:(0,A.jsxs)(bh,{children:[(0,A.jsx)(xh.ReactQueryDevtools,{}),(0,A.jsx)(Kn,{}),(0,A.jsx)(da,{children:n})]})})})})})},Eh=n.p+"static/media/confetti.ccf6a5fd308969198341.png",jh=function(){return(0,A.jsx)(ul,{title:"",children:(0,A.jsxs)("div",{className:"text-center",children:[(0,A.jsxs)("div",{className:"flex justify-around",children:[(0,A.jsx)("img",{src:Eh,alt:"...",className:"w-12 h-12 my-4",loading:"lazy"}),(0,A.jsx)("img",{src:Eh,alt:"...",className:"w-12 h-12 my-4",loading:"lazy"})]}),(0,A.jsx)("p",{className:"text-2xl font-bold my-4",children:"Thank you for creating an account with us."}),(0,A.jsx)("p",{className:"text-xl my-4",children:"Please check your email to activate your account."})]})})},kh={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Sh=t.createContext&&t.createContext(kh),Oh=function(){return Oh=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},Oh.apply(this,arguments)},Nh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Fh(e){return e&&e.map((function(e,n){return t.createElement(e.tag,Oh({key:n},e.attr),Fh(e.child))}))}function Ih(e){return function(n){return t.createElement(Ph,Oh({attr:Oh({},e.attr)},n),Fh(e.child))}}function Ph(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,s=Nh(e,["attr","size","title"]),c=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",Oh({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,s,{className:r,style:Oh(Oh({color:e.color||n.color},n.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==Sh?t.createElement(Sh.Consumer,null,(function(e){return n(e)})):n(kh)}function Lh(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"5"}},{tag:"polyline",attr:{points:"5 12 12 5 19 12"}}]})(e)}function Th(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(e)}function Dh(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"}}]})(e)}function Qh(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(e)}function Uh(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"15",y1:"9",x2:"9",y2:"15"}},{tag:"line",attr:{x1:"9",y1:"9",x2:"15",y2:"15"}}]})(e)}function Mh(e){return Ih({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"}}]})(e)}function Rh(){return Rh=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},Rh.apply(this,arguments)}function $h(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 Hh=(0,t.forwardRef)((function(e,n){var r=e.color,o=void 0===r?"currentColor":r,i=e.size,a=void 0===i?24:i,s=$h(e,["color","size"]);return t.createElement("svg",Rh({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),t.createElement("polyline",{points:"6 9 12 15 18 9"}))}));Hh.propTypes={color:Xn().string,size:Xn().oneOfType([Xn().string,Xn().number])},Hh.displayName="ChevronDown";var qh=Hh;function Kh(){return Kh=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},Kh.apply(this,arguments)}function Vh(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 zh=(0,t.forwardRef)((function(e,n){var r=e.color,o=void 0===r?"currentColor":r,i=e.size,a=void 0===i?24:i,s=Vh(e,["color","size"]);return t.createElement("svg",Kh({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),t.createElement("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),t.createElement("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}))}));zh.propTypes={color:Xn().string,size:Xn().oneOfType([Xn().string,Xn().number])},zh.displayName="Lock";var Zh=zh;var Gh=function(e){return e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e}(Gh||{});function Wh(e,t){var n=t.resolveItems();if(n.length<=0)return null;var r=t.resolveActiveIndex(),o=null!=r?r:-1,i=function(){switch(e.focus){case 0:return n.findIndex((function(e){return!t.resolveDisabled(e)}));case 1:var r=n.slice().reverse().findIndex((function(e,n,r){return!(-1!==o&&r.length-n-1>=o)&&!t.resolveDisabled(e)}));return-1===r?r:n.length-1-r;case 2:return n.findIndex((function(e,n){return!(n<=o)&&!t.resolveDisabled(e)}));case 3:var i=n.slice().reverse().findIndex((function(e){return!t.resolveDisabled(e)}));return-1===i?i:n.length-1-i;case 4:return n.findIndex((function(n){return t.resolveId(n)===e.id}));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}();return-1===i?r:i}function Yh(e){var t;if(e.type)return e.type;var n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function Xh(e,n){var r=(0,t.useState)((function(){return Yh(e)})),o=(0,B.Z)(r,2),i=o[0],a=o[1];return U((function(){a(Yh(e))}),[e.type,e.as]),U((function(){i||!n.current||n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&a("button")}),[i,n]),i}var Jh,ep=["disabled"],tp=function(e){return e[e.Open=0]="Open",e[e.Closed=1]="Closed",e}(tp||{}),np=function(e){return e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e}(np||{}),rp=function(e){return e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e}(rp||{});function op(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=ve(t(e.items.slice()),(function(e){return e.dataRef.current.domRef.current})),o=n?r.indexOf(n):null;return-1===o&&(o=null),{items:r,activeItemIndex:o}}var ip=(Jh={},(0,i.Z)(Jh,1,(function(e){return 1===e.menuState?e:s(s({},e),{},{activeItemIndex:null,menuState:1})})),(0,i.Z)(Jh,0,(function(e){return 0===e.menuState?e:s(s({},e),{},{menuState:0})})),(0,i.Z)(Jh,2,(function(e,t){var n,r=op(e),o=Wh(t,{resolveItems:function(){return r.items},resolveActiveIndex:function(){return r.activeItemIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return s(s(s({},e),r),{},{searchQuery:"",activeItemIndex:o,activationTrigger:null!=(n=t.trigger)?n:1})})),(0,i.Z)(Jh,3,(function(e,t){var n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((function(e){var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),i=o?e.items.indexOf(o):-1;return-1===i||i===e.activeItemIndex?s(s({},e),{},{searchQuery:r}):s(s({},e),{},{searchQuery:r,activeItemIndex:i,activationTrigger:1})})),(0,i.Z)(Jh,4,(function(e){return""===e.searchQuery?e:s(s({},e),{},{searchQuery:"",searchActiveItemIndex:null})})),(0,i.Z)(Jh,5,(function(e,t){var n=op(e,(function(e){return[].concat((0,x.Z)(e),[{id:t.id,dataRef:t.dataRef}])}));return s(s({},e),n)})),(0,i.Z)(Jh,6,(function(e,t){var n=op(e,(function(e){var n=e.findIndex((function(e){return e.id===t.id}));return-1!==n&&e.splice(n,1),e}));return s(s(s({},e),n),{},{activationTrigger:1})})),Jh),ap=(0,t.createContext)(null);function sp(e){var n=(0,t.useContext)(ap);if(null===n){var r=new Error("<".concat(e," /> is missing a parent <Menu /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(r,sp),r}return n}function cp(e,t){return C(t.type,ip,e,t)}ap.displayName="MenuContext";var lp=t.Fragment,up=L((function(e,n){var r,o=(0,t.useReducer)(cp,{menuState:1,buttonRef:(0,t.createRef)(),itemsRef:(0,t.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),a=(0,B.Z)(o,2),s=a[0],c=s.menuState,l=s.itemsRef,u=s.buttonRef,A=a[1],d=q(n);tt([u,l],(function(e,t){var n;A({type:1}),fe(t,de.Loose)||(e.preventDefault(),null==(n=u.current)||n.focus())}),0===c);var f=R((function(){A({type:1})})),h=(0,t.useMemo)((function(){return{open:0===c,close:f}}),[c,f]),p=e,m={ref:d};return t.createElement(ap.Provider,{value:o},t.createElement(We,{value:C(c,(r={},(0,i.Z)(r,0,Ze.Open),(0,i.Z)(r,1,Ze.Closed),r))},N({ourProps:m,theirProps:p,slot:h,defaultTag:lp,name:"Menu"})))})),Ap=L((function(e,n){var r,o=sp("Menu.Button"),i=(0,B.Z)(o,2),a=i[0],s=i[1],c=q(a.buttonRef,n),l="headlessui-menu-button-".concat(X()),u=bn(),A=R((function(e){switch(e.key){case K.Space:case K.Enter:case K.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame((function(){return s({type:2,focus:Gh.First})}));break;case K.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame((function(){return s({type:2,focus:Gh.Last})}))}})),d=R((function(e){if(e.key===K.Space)e.preventDefault()})),f=R((function(t){if(V(t.currentTarget))return t.preventDefault();e.disabled||(0===a.menuState?(s({type:1}),u.nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),s({type:0})))})),h=(0,t.useMemo)((function(){return{open:0===a.menuState}}),[a]),p=e;return N({ourProps:{ref:c,id:l,type:Xh(e,a.buttonRef),"aria-haspopup":!0,"aria-controls":null==(r=a.itemsRef.current)?void 0:r.id,"aria-expanded":e.disabled?void 0:0===a.menuState,onKeyDown:A,onKeyUp:d,onClick:f},theirProps:p,slot:h,defaultTag:"button",name:"Menu.Button"})})),dp=S.RenderStrategy|S.Static,fp=L((function(e,n){var r,o,i=sp("Menu.Items"),a=(0,B.Z)(i,2),s=a[0],c=a[1],l=q(s.itemsRef,n),u=xe(s.itemsRef),A="headlessui-menu-items-".concat(X()),d=bn(),f=Ge(),h=null!==f?f===Ze.Open:0===s.menuState;(0,t.useEffect)((function(){var e=s.itemsRef.current;!e||0===s.menuState&&e!==(null==u?void 0:u.activeElement)&&e.focus({preventScroll:!0})}),[s.menuState,s.itemsRef,u]),function(e){var n=e.container,r=e.accept,o=e.walk,i=e.enabled,a=void 0===i||i,s=(0,t.useRef)(r),c=(0,t.useRef)(o);(0,t.useEffect)((function(){s.current=r,c.current=o}),[r,o]),U((function(){if(n&&a){var e=ae(n);if(e)for(var t=s.current,r=c.current,o=Object.assign((function(e){return t(e)}),{acceptNode:t}),i=e.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,o,!1);i.nextNode();)r(i.currentNode)}}),[n,a,s,c])}({container:s.itemsRef.current,enabled:0===s.menuState,accept:function(e){return"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(e){e.setAttribute("role","none")}});var p=R((function(e){var t,n;switch(d.dispose(),e.key){case K.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:3,value:e.key});case K.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:1}),null!==s.activeItemIndex)null==(n=null==(t=s.items[s.activeItemIndex].dataRef.current)?void 0:t.domRef.current)||n.click();he(s.buttonRef.current);break;case K.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:Gh.Next});case K.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:Gh.Previous});case K.Home:case K.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:Gh.First});case K.End:case K.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:Gh.Last});case K.Escape:e.preventDefault(),e.stopPropagation(),c({type:1}),ie().nextFrame((function(){var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case K.Tab:e.preventDefault(),e.stopPropagation(),c({type:1}),ie().nextFrame((function(){!function(e,t){ye(Ae(),t,!0,e)}(s.buttonRef.current,e.shiftKey?ce.Previous:ce.Next)}));break;default:1===e.key.length&&(c({type:3,value:e.key}),d.setTimeout((function(){return c({type:4})}),350))}})),m=R((function(e){if(e.key===K.Space)e.preventDefault()})),g=(0,t.useMemo)((function(){return{open:0===s.menuState}}),[s]),v=e;return N({ourProps:{"aria-activedescendant":null===s.activeItemIndex||null==(r=s.items[s.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(o=s.buttonRef.current)?void 0:o.id,id:A,onKeyDown:p,onKeyUp:m,role:"menu",tabIndex:0,ref:l},theirProps:v,slot:g,defaultTag:"div",features:dp,visible:h,name:"Menu.Items"})})),hp=t.Fragment,pp=L((function(e,n){var r=e.disabled,o=void 0!==r&&r,i=c(e,ep),a=sp("Menu.Item"),s=(0,B.Z)(a,2),l=s[0],u=s[1],A="headlessui-menu-item-".concat(X()),d=null!==l.activeItemIndex&&l.items[l.activeItemIndex].id===A,f=(0,t.useRef)(null),h=q(n,f);U((function(){if(0===l.menuState&&d&&0!==l.activationTrigger){var e=ie();return e.requestAnimationFrame((function(){var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}}),[f,d,l.menuState,l.activationTrigger,l.activeItemIndex]);var p=(0,t.useRef)({disabled:o,domRef:f});U((function(){p.current.disabled=o}),[p,o]),U((function(){var e,t;p.current.textValue=null==(t=null==(e=f.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[p,f]),U((function(){return u({type:5,id:A,dataRef:p}),function(){return u({type:6,id:A})}}),[p,A]);var m=R((function(){u({type:1})})),g=R((function(e){if(o)return e.preventDefault();u({type:1}),he(l.buttonRef.current)})),v=R((function(){if(o)return u({type:2,focus:Gh.Nothing});u({type:2,focus:Gh.Specific,id:A})})),y=R((function(){o||d||u({type:2,focus:Gh.Specific,id:A,trigger:0})})),b=R((function(){o||!d||u({type:2,focus:Gh.Nothing})})),w=(0,t.useMemo)((function(){return{active:d,disabled:o,close:m}}),[d,o,m]);return N({ourProps:{id:A,ref:h,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,disabled:void 0,onClick:g,onFocus:v,onPointerMove:y,onMouseMove:y,onPointerLeave:b,onMouseLeave:b},theirProps:i,slot:w,defaultTag:hp,name:"Menu.Item"})})),mp=Object.assign(up,{Button:Ap,Items:fp,Item:pp}),gp=function(){return er.get("/products")},vp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["products"],queryFn:function(){return gp()}}))},yp=n(7087);function bp(e){return Ih({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z"}}]})(e)}function wp(e){return Ih({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5zM3.14 5l1.25 5h8.22l1.25-5H3.14zM5 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"}}]})(e)}function _p(e){return Ih({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}}]})(e)}var xp=function(){return er.get("/carts/mine")},Bp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["cart"],queryFn:function(){return xp()}}))},Cp=function(e){var t,n,r=Bp();return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"text-green-600 hover:shadow-xl hover:text-white py-2 px-2 flex items-center rounded-sm gap-4",children:[(0,A.jsxs)("div",{className:"relative",children:[(0,A.jsx)(wp,{className:"text-green-200 font-bold hover:text-white cursor-pointer"}),(0,A.jsx)("span",{className:"absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full",children:(null===(t=r.data)||void 0===t||null===(n=t.cartItems)||void 0===n?void 0:n.length)||0})]}),(0,A.jsx)("h1",{className:"text-green-200 hover:text-white cursor-pointer",children:"My Cart"})]})})},Ep=function(){return er.get("/wishlist/mine")},jp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["wishlist"],queryFn:function(){return Ep()}}))};function kp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z"}}]})(e)}function Sp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"}}]})(e)}function Op(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"}}]})(e)}function Np(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}}]})(e)}var Fp=function(){var e,t,n=jp();return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"hover:text-white hover:shadow-xl py-2 px-2 text-md flex items-center rounded-sm gap-2",children:[(0,A.jsx)(Op,{className:"".concat((null===n||void 0===n||null===(e=n.data)||void 0===e||null===(t=e.wishlistItems)||void 0===t?void 0:t.length)>0?"text-red-500":"text-green-200"," hover:text-white text-xl font-bold cursor-pointer")}),(0,A.jsx)("h1",{className:"text-green-200 hover:text-white cursor-pointer",children:"Wishlist"})]})})},Ip=function(e){var n=e.openSidebar,r=e.setOpenSidebar,o=(e.page,wh()),i=Gi(),a=vp(),s=(0,t.useRef)(null),c=(0,t.useState)(""),l=(0,B.Z)(c,2),u=l[0],d=l[1],f=(0,t.useState)(["slug"]),p=(0,B.Z)(f,2),m=p[0];p[1];function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var v=[{title:"",field:"name",Cell:function(e){var t=e.entry,n=t.slug,r=t.name,o=t.defaultImage;return(0,A.jsxs)(fa,{to:"/products/".concat(n),className:"flex flex-row items-center",children:[o&&(0,A.jsx)(yp.LazyLoadImage,{src:"".concat(Vn,"/").concat(null===o||void 0===o?void 0:o.name),alt:"default image for product",className:"h-16 hidden md:block rounded-lg mr-4"}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)("div",{className:"w-[80vw] overflow-hidden",children:(0,A.jsx)("p",{className:"break-words text-gray-800",children:r})})})]})}}];var y,b=null===(y=a.data)||void 0===y?void 0:y.filter((function(e){return m.some((function(t){return e[t].toString().toLowerCase().indexOf(u.toLowerCase())>-1}))}));return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"bg-green-700 shadow-sm",children:(0,A.jsx)("div",{className:"max-w-screen-xl mx-auto",children:(0,A.jsxs)("div",{className:"mx-5 md:mx-10 pt-3 flex md:justify-between items-start",children:[(0,A.jsx)("div",{className:"w-11/12 lg:w-5/12",children:(0,A.jsxs)("div",{className:"input-group flex justify-between gap-4 md:gap-0 items-center lg:items-start lg:w-96 mb-4",children:[(0,A.jsx)("div",{className:"lg:hidden",children:(0,A.jsx)(Mh,{className:"text-2xl text-green-100 cursor-pointer",onClick:function(){return r(!n)}})}),(0,A.jsxs)("div",{className:"flex w-60 lg:w-full",children:[(0,A.jsx)("input",{type:"search",className:"flex-auto min-w-0 rounded-l-full px-4 py-2 text-xs md:text-base text-white placeholder-green-200 bg-green-600  m-0  focus:outline-none",placeholder:"Search for product...",value:u,onChange:function(e){return d(e.target.value)},ref:s}),(0,A.jsx)(fa,{to:"/",className:"btn px-3 py-2 bg-green-500 text-white hover:bg-green-800 focus:outline-none flex items-center rounded-r-full",children:(0,A.jsx)("button",{children:(0,A.jsx)(Qh,{className:"text-md"})})})]}),(0,A.jsxs)("div",{className:"h-fit mt-10 absolute shadow-md rounded-lg bg-white p-4 flex w-64 md:w-96 ".concat(u?"":"hidden"),children:[(0,A.jsx)(ln,{data:b,columns:v}),a.isLoading&&(0,A.jsx)("div",{children:(0,A.jsx)(h,{})})]})]})}),(0,A.jsx)("p",{className:"hidden md:flex lg:hidden text-green-200 py-2 px-6 text-md flex items-center rounded-sm gap-2",children:(0,A.jsx)(fa,{to:"/",className:"hover:text-white",children:"Home"})}),(0,A.jsxs)("div",{className:"hidden lg:flex justify-end items-start w-6/12 ",children:[(0,A.jsx)("p",{className:"text-green-200 hover:shadow-xl hover:text-white py-2 px-2 text-md flex items-center rounded-sm gap-2",children:(0,A.jsx)(fa,{to:"/",className:"hover:text-white",children:"Home"})}),o.user?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{children:(0,A.jsxs)(mp,{as:"div",className:"relative inline-block text-left",children:[(0,A.jsx)("div",{children:(0,A.jsxs)(mp.Button,{className:"hover:text-white hover:shadow-xl inline-flex w-full text-gray-200 items-center justify-center rounded-md border-none bg-none px-4 py-2 text-green-200  hover:text-white focus:outline-none",children:[(0,A.jsx)("div",{className:"flex items-center mr-2 justify-center h-6 w-6 rounded-full bg-green-500 text-white text-xs font-medium",children:o.user.name[0]}),(0,A.jsx)("span",{children:o.user.name}),(0,A.jsx)(qh,{className:"mx-2"})]})}),(0,A.jsx)(Dn,{as:t.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,A.jsx)(mp.Items,{className:"absolute right-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,A.jsxs)("div",{className:"py-1",children:[(0,A.jsx)(mp.Item,{children:function(e){var t=e.active;return(0,A.jsx)(fa,{to:"/profile",className:g(t?"bg-green-100 text-gray-900":"text-gray-700","block px-4 py-2"),children:"My Profile"})}}),(0,A.jsx)(mp.Item,{children:function(e){var t=e.active;return(0,A.jsx)(fa,{to:"/profile/orders",className:g(t?"bg-green-100 text-gray-900":"text-gray-700","block px-4 py-2"),children:"My Orders"})}}),(0,A.jsx)(mp.Item,{children:function(e){var t=e.active;return(0,A.jsx)("button",{onClick:function(){o.logout(),i("/")},className:g(t?"bg-gray-100 text-gray-900":"text-gray-700","block w-full px-4 py-2 text-left"),children:"Sign out"})}})]})})})]})}),(0,A.jsx)(fa,{to:"/wishlist",className:"",children:(0,A.jsx)(Fp,{})}),(0,A.jsx)(fa,{to:"/cart",children:(0,A.jsx)(Cp,{})})]}):(0,A.jsx)(fa,{to:"/auth/login",className:"",children:(0,A.jsxs)("div",{className:"text-green-200 py-2 px-2 flex items-center rounded-sm gap-2",children:[(0,A.jsx)(Zh,{className:"text-green-200 font-bold cursor-pointer"}),(0,A.jsx)("h1",{className:"text-green-200 cursor-pointer hover:text-white",children:"Login / Register"})]})})]})]})})})})},Pp=function(){return er.get("/adverts")},Lp=function(){return er.get("/categories")},Tp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["categories"],queryFn:function(){return Lp()}}))};function Dp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}}]})(e)}function Qp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"}}]})(e)}function Up(e){return Ih({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(e)}function Mp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}function Rp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}}]})(e)}function $p(e){return Ih({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M14 2v13h-10.5c-0.829 0-1.5-0.672-1.5-1.5s0.671-1.5 1.5-1.5h9.5v-12h-10c-1.1 0-2 0.9-2 2v12c0 1.1 0.9 2 2 2h12v-14h-1z"}},{tag:"path",attr:{d:"M3.501 13v0c-0 0-0.001 0-0.001 0-0.276 0-0.5 0.224-0.5 0.5s0.224 0.5 0.5 0.5c0 0 0.001-0 0.001-0v0h9.498v-1h-9.498z"}}]})(e)}function Hp(e){return Ih({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M15.25 0h-6c-0.412 0-0.989 0.239-1.28 0.53l-7.439 7.439c-0.292 0.292-0.292 0.769 0 1.061l6.439 6.439c0.292 0.292 0.769 0.292 1.061 0l7.439-7.439c0.292-0.292 0.53-0.868 0.53-1.28v-6c0-0.412-0.338-0.75-0.75-0.75zM11.5 6c-0.828 0-1.5-0.672-1.5-1.5s0.672-1.5 1.5-1.5 1.5 0.672 1.5 1.5-0.672 1.5-1.5 1.5z"}}]})(e)}function qp(e){return Ih({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM8 14.5c-3.59 0-6.5-2.91-6.5-6.5s2.91-6.5 6.5-6.5 6.5 2.91 6.5 6.5-2.91 6.5-6.5 6.5z"}},{tag:"path",attr:{d:"M10.5 4l-2.5 2.5-2.5-2.5-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 2.5-2.5 2.5 2.5 1.5-1.5-2.5-2.5 2.5-2.5z"}}]})(e)}var Kp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAJYCAYAAABM7LCIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABljSURBVHgB7d1vjBzlfcDxxxX4RZ34Tyo5arEdmReAwh1tQGoAmzQqSvCfxpEaEmPUREqpgyNA+QPBUqhCQXUlIwipQoWJaSKFyIdpWgkqiCNCRIptIFJIlDtXgFRbnE2lWKrts3Be2C+u86yZ8+zc7t7e7/bOnP35WCfbd7t7c7O7853nmdm9OUdGj4wmAJic0T9IABAgIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIQICQIiAABAiIACECAgAIRckmAHDJw6m3b/bm4aO7Wv8e/DovnT85EgaOXU88d7St6gv9S+8PG3uvzMtm7c0QTtzjoweGU0wDXIwnnt7V3r20K50sIgGs8/mvrsaIYEWRgWEnsojioH/eTI9+/ZP057DexOz35cv2Zi2XHV/ghoBoXcG9u9MW4ceakxRce6YU/x55KMPpw0Xr09QISBM3W+PDqZ7XvsHI45z2BUL+9KLq59PUDHqLCym5NE3vpc+vuuT4nGOG3z35AeoEhBCjp0aSX/zX18sRh73Js4Pe35nJ4FmTuNl0t46MZy+8NItafDoUALOXwLCpOR4fPqFG01nAKaw6J54AFUCQldGiz952ko8gJKA0JUHhr7tmAfQRECY0I79T6atgw8mgCoBoaN8um4efQDUCQgdPfbG4457AC0JCG3lcJi6AtoRENoSD6ATAaGlPPoYOPBUAmhHQGjJ+x4BExEQWtr25vYE0ImAME75O8sBOhEQxjF9BXRDQBjn2bd3JYCJCAjjHPTCQaALAkKTkZPHHf8AuiIgNBn+vdEH0B0BocnIyZEE0A0BocnBd4xAgO4ICAAhAgJAiIAAECIgAIQICAAhAgJAiIAAECIgAIQICAAhAgJAyAUJZokFF85PGy5e3/j7fDZ0dCg9+/ZPE5xtAsKsMKf4s+Wq+9PNy9en891o8WfdCzemPYf95kjOLlNYzBorF1+bOB3TlYuvSXC2CQgAIQICQIiAABAiIACECAgAIQICQIiAMCvk1z489vr2REpvnRhOAweeSnC2eSEhs8ajb25POw7sTPPnLkjns4MnDiZ4LxAQZpWRU8cbH8DZZwoLgBABASBEQAAIERAAQgQEgBABASBEQAAI8ToQZpX+RZef97/SdvjEoeLDiwk5+wSEWWNz351pc/9d6Xx37ORIWvfzz6Sho/sSnE2msJgV8q9xXbN0VSKlhXMXpLUXWRecfQLCrLHgwvP7PbDgvUZAAAgREABCBASAEAEBIERAAAgREGaF/CttB/bvTJxeF8++vSvB2eaFhMwaW4ceSoPH9p33p/PmV6F7ESHvBQLCrPLcIXve8F5hCguAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBASAEAEBIERAAAgREABCBAToytJ5SxNUCQjQlf4P9CWoEhBgQhuWr08LLpyfoEpAgI4+NG9Zurv/6wnqBARoK8fjh9f9a1rm+ActCAjQ1polN6T+RY590NoFCc6CPJ/ev+jy1FdsnMytT4+BA0+l4RMHU9Sc4s+1i69J0I6AMKPyVMjd/XemtUtWC8c0Gi3+7D788pQCki24cEGCdgSEGbPp0o1pc/9dwjFDjp8aSVO17H2OfdCegDAjNvfd2YgHM2fkZA8C4uA5HTiIzrS7eflN4nEWDJ84lKZiwVwjRToTEKZVPhDrNQSzk+MfTERAmFb5FcymQWYnx6qYiIAwbfLo46bln03MvJGTx9NUmcJiIgLCtFr5wWsTM2+kB2dgwUQEhGlj6grObQICQIiAMG1Mo8C5TUBosrSHrzzOB3Kn+lYaxDgFl5kgIDTp5XGL/H5MA/t3JmZeL86g6sWZXJzbBIQmvd5zfezNx4upLBui2cj9xkQEhCZ5z3XZvCWpV46dHEkP/PbBBJx7BIRxVizu7Ws3thWjkB0HnkrMrKnuCDh+xUQEhHHyL3rqpXws5I5XvpK2vbE9MbuYxqITAWGcNUtWp14bLT6++dq30m2vfNWe7QxZMHfqx7OGTwwnaMfvA2GcfCZWnsbac3hv6rWBAzsbH/n21150Q+NX2tJ7o40/Uzf8zsHUv9B9RGsCQksrP3jNtASklG97Om+fqcsJ2nv45cavH4ZWTGHR0qZLvuTtvEm7D79iypG2BISW8um8Gy5enzi/DR4dTJ9/6ZYErQgIbW26dKNRCI2IbB30Wh7GExDaygfTN122MUF+RwGoExA6ysdC/F4P8vtiDR4bSlAlIHSUj4V89+qHEwwd2ZegSkCY0MrF1zaOhwBUCQgTmlP82XLlfT1/jyxgdhMQupIj8sR133c8BBgjIHRt4dwF6enrfywiQIOAMCkfmrdMRIAGAWHSckReXPV8WnPRqsT5Y/5cLyqlmYAQkqezfvSxH6TN/Xcmzg/L3mfUSbM5R0aP9OJdnzmPvXViOH36hRu96d45LI86f73u1QQVo0YgTFneuPxm3S/TI1d/x7GRc1A+A+8b/V9PUGcEQs/tOLAzPTD4kBHJOeLLl25MW668P0HNqIAwbXYf3psG9u9Mew6/LCazlHjQgYAwMwaPDqXBY/vS0NH8MZRGTh1v/LrU/DfvLcvmLUlrlqwuPlY13sYG2hAQAEIcRAcgRkAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBICQCxLTYvjEwTT8zsE0cup4WnDh/NT/gb7G3xNdZ/Dovsa/210n397IyZGx/y+Yu6Dj7dYvv2ze0sb36Ua+bKvbaHe5blW/f7vrtlruTrc32fXWjV7+XL2439p9faLbqi5X9bL1x8Fkf97oMtR1um67ZZ9oeTqZ6Hbo3pwjo0dGEz2RH8DbXt+etr3xvca/61YsvjZt7rszrfzgtU2fH9i/Mz365vY09O5GsGrD8vVpc/+dY0/u3Yf3pnUvfKbpNv/z+n9vu0yfKi67p7hO6Tfrfllc/6+LJ+ahNJF82fx9b3vlK2ngwFMdL7uyWI4tV92X+hf2dbzcaPFn3Qs3NpZpTvH/LVfenzZdunHcZW5/5atj3/ND85alX697ddxtbR18qO26rq+3HfufTLe/+rXUrTnFn6f/8sfj7qt23joxnD7yzEffve74n+ulw3vSp4ufu7Ry8Yr0zPU/bnlb1XWU5Z//6eKy5c9SXz8T3dYfDfzJ2P+vK+6np4vHS6vv0Wodt1NfhiuK+/3F1c93tQyt5A36miWrm+6zfL2PPPPnY4/Vctnbqa/jdia6Hbo2agqrR/KeUt6wbx16sOUGLctP1nU//0zT128rnoS3vfrVlvHIBg7sTH9WPIl2jG0srm1Eo3qbg8eG2i5TNR55ozrZvcxu5bB9/CefTM8e2tX1dfKeyz2v3Zt2/25vmoxjp0YaYey0rvN6+/iuT7RdN72UN3QPFDE78/+UHnvj8abLtLrf2i17/X7L16veb/nr1aDny052HU5VfRkGj+2b0jLkdZHvsxyAduuF9x5TWD2S41Efpue9qgVz5xfD6uNjT4qVi68ZGz5/87VvNZ40VcvmLWlsLPKUTPWJdHsxCuhf9OHGHn7eS1v3wpkn68D+p1L/leP3/LcOPtj0/3y9usaUz6LLUyt5qN9Kvnz5M+RlLKeP8ob0jiKGa5e8nrqVr/OF3X+bXlz1fFdxy5e/51ffatrAVpeput6OFdMZeYOUb3t+8bPkdVtVHYWV91VpTmMc0Z3TG/yXx30ub1DLEUy+vbv7v14sz96xn2Pb698r7pO7xv181RiV12v39bHPDX2769HSVE11GfoX9RWP4w+P/X93se7K585wMZLLI/L6qDSi+jit6mvzeGfyBKQH8gO+aa62eNA+cs0/p7UXrRr7XN5Dv6cIxk0Xr2/8P19+2xvbm67zxMd+0NhTLeU97K2VJ+o3f3VvY7qq3JstN6I5QnlDVH2y5Nt/rjIaaDf6yNMG/3L1d1K38gbtiet+0DTNkEcR5c+SY5m/92RGOnlD//mXbmlMw0w0N53XY3XPN0+9fPfqh8fWW/7eOZzlZfJt3/7K1xq3/VfFz1qqT6tcUWzUotMae4pQ1HceWm1QV747kigv+9ibj6dNl31p3P1W/fnq91v96/m6OZjlKGQmIlJ/bE12GdZcdENTOPN9lKeq8m3k0dvQ0f9OU5Ufp1s+cv+MRfV8ZQqrB3bUjg9suer+pnhkeePxi1U/SzcvPx2Qajyy/ISqxqPxub67xk17lBufDRd/buzzeaOd92ar8katOoLZsPxzaTrkJ+qKYlRVlU8emKzBo4PFyOLejpfJG+Un9z/V9L2/UeydV9db3tjm4w/VjXKn6aKpKkNxennysY/7xr53fWopL++tl94y9v98wDfvfFTtqV2+OvrInjzwb2P/zqPZTZdtHLcc0y0vQ3VEPdVlaB755RHChxOzg4D0QHU6JT8Zykh0Mlg75rHig9e0vNzaJTc0f693NzD5e1Q3kvWD3FuHzoxc8pO83Z5YXvbGcZjaR33D1k4+HjGwv/l757OgIgYOPDkurHVDx5rXW6t1ne+DDRc3f37wyPQcC6mOPpcVo6E89VJ+71Yb1A3Lbxq73/Le9nOHfjr2tfrl8/1WHX3kr5f3S45LHs2uXnJmR2UmjoW0WoabKjsn3SxDnrLKo8TyY13luEdeh2uWrEq9WM4HiudAq8d2t2chMjFTWFOU9/6rlv1hd1M3x081n27Y7uylBRc2H4eoPvjznl85xVWdc8/TC9XL3XRx+6A1Tjc+0DoWG1pcLz8xP1U5C+x4sRfdPNJZP6lTJNcUI7Xh3x9snERQHlTvW9h+jro6umk3TZY3bPVlODgNG43m0cfp0VD+e3UR/TKE9WmdhcWxmOr9Vv16NUaN2+trPmbVHKuljXjmZSinMxsjtGJ0MJ3TNt0sQ56a67QM+XL1Y1hZXjfVs82maneL75HXax6NT9fJJOcbI5Ae63aqZLKvSWhl0yXN8+flqOPRyl58+STvpbwxLj+qP+8Vi/rHTblMJB+of+K671f2ykfT53d/savTjM+2+rGvciqtesZVq1HIrZdsbPp589cbe/aV6al8v1U3wvXbuWn5Zxt/16e58vGw6drDri9DPpbRahnqOzDdKk96MEKYPYxApihPl5QHEbORUyNjLx7spK84aFvdSLY78Fx/MlXPIMnfu743mzdq1b27u1uceVWVj1/UzwTKOu2hlWe37K6cebS2OECdQzBZeeOTD4T/8GPfHzuHP4/qWu2hNpbrfUvHpv+GTxxsua7zhq6+3pb2eI+zvjGdP/f9TSc8VM/hKo9dleu0nGKrjlLy6c/lz1yOZqrqscpnfeXpmFbL9Vhxu/k4UK/VlyGfuhtZhjwCqI5u82to/r44/pXvy/zv8qSHqSiPR+XnWV3/otgUK+MZgfRA9UGaN36djh+UoamfOtvuOvVjG/UHfx6FVOXXlJS6GX3kOee8x1z/6DQ9lM/Ceub6/0j/eNV9Y59/9tBPGqfXRl23eEXT7bVTPamgPBW2rtVptb2e1tl9uPnMq8b9Xuz9lx/V6ZPTp72eic3pg+l/1/T1Ozrcb61GMafPRjvz/aryY6bXJw30chkao6vKYy3/rNWgDPXktTtziqnQvpaPba9C7x0B6YH66yvy6zvy3mW5gclPpB1FIP5i1yfGQtFq+ql6ADlfp37Ar9WpuI292TZnWN3ag3PpO/lyMRVT3aBvK+a+p3IQN99ep7PFyuMLVY+9ub0pvnkP9gsv3TJuvfVSPQjdeO7tnzRtUPP9WF135bG0bkYfE8lTQa3COhXTvQymrWYnU1g9UH9dRpYjkj/q5hfRyGfq5A3/3Vfc1bTXni+fz0rJL3o72OJFiZvbTEflvbdWbzWytouzWZ4rRg5/+kzrjX5+zUmnqaxWL46bygvaGufuF9MeeWqk3Svz87rO66+M7bFiw5tHXXndtVpveXpsssdlJpKX78x00+m3LWl15tCxk8fGXlldblDL6cL6uivl9b229nqV6rGR8m1NWqm+/qV8jcn8C9+fupHD+4GBPx73+fItXXq5DPnr1enPvH6Gjp4ZdfS3OYnipWKdt1vG/9vwv02faxxLe+mLjcdEXR7tPnL1w4mpMwLpkR8V0zorFk+84ay+JiHvcdejkL/WKh7PdNiY198mI+v2bUvK79fqoxut3qJjKqOQhbWD6nWnI3PfuFcqt1pv9feQ6oXG/P7r1ZMUTp+6m79H/SNPN1anZvIGtToKaXW/rahNseyunLFUjk5afa/8cetlZ9ZJr0Yh+efd0+NlKN+qpfyoxuP0C0O7f2FrJ+0f28OJ3hCQHskjirzH/kjx4G/11iB5o3BzMT3zi1XPN20g8osF83VWLr6m5XXyxukXq3824YG/eog2T3DwvFdavdXGHZN408JWyoPqnb7nPxV7/Z3WW/7585v79fp0zforwcszkdotZ3XKrb5Bra+7Vuuy+sLJiY5p5T33apDqwYqq/rzTtQz5bWbyY73XwWd6eTfeaZKfNMPvDDf+LvfOpuM6lO/HdXov1nqDGTMqIABEeDt3AGIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEgREAACBEQAEIEBIAQAQEg5IIEwGSNJkb/Hy864OKWQI1jAAAAAElFTkSuQmCC",Vp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAADxCAYAAAC54zfPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABElSURBVHgB7d3pcxNXugbwV17l3awhhAAxhCWAITghyQzJzb2pm9y6NTU1VfNh/sX5Mh+mZp9JQhKWsNtgO8ZgZ4AYBwjGtnbZkjznaVtyq9UttaRmpl76+bmoYMkyhHrcOn3Oe94TmZ6eXhMiRVqESBmGltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSR2GltRhaEkdhpbUYWhJHYaW1GFoSZ02oUA9XX0mf176Una2b5P/H/xEKHi80gbsSuKm9d+nqwvyw8q8UPAY2gBNpqdlIbdU+vx87IqsrK0KBYuhDUiikJLJ1N2yxxDY8dSUULAY2oBMmcCmCumKx++kZ10fp8YxtAFIFJLyXfqe63Or5mp7I3FLKDgMbQBGkxOyZj68zGYfyrPcc6FgMLRNWs7HZDbzoObX3UyOCwWDoW3SdZ9v/fMrT+Tx6lOh5jG0TZjLzpu52B99f/352FXJr+WFmsPQNihbWJFvkzfrek3STItNZWaEmsPQNgizBcl8Suo1npyS7NqKUOMY2gasT3HdlUYgsN+lGnstrWNoG3ArOWnNvzYKy72ZQlaoMQxtneL5pNzL3Jdm5MzN2GhqQqgxDG2dRgOab72X/qfE8nGh+jG0dUrmg6kj6G6JSqv5oPoxtHX6aOB9aY80Xzs/0jssPa3dQvVjaOvU09IlIz3D0oyDnfvljc69Qo1haH1ImUWBu+nZ0udHug7Kq+07pRG9LT1yqud46fOl3HLD02dhxdD6MJm6J5cSN8oqtT7sf086Iu1Sr9M9J6R3Y1iQWcvK57HzMmam0LjDwT+GtgZrISGzfiX8x/I31lIsdJthwod970k9TnQfkaHo5rDgr4vnJGFW1RBYLjj4x9DWgIWEtbX1WlnUG5xbviT5tYL1+eudu+Vo15sVrxls7a94rK+1V053nyh9fjM5IUv5WOlzDBG4vOsPQ1tFPJ+oWEjAEOF26rvS56e6j5mbs/JZgHd6TkqbbYYhYj4+Gfi5RCIR6/MfV5+WfQ/A1XYyNS1UG0NbBXYjtLlMb90ygUN/A+hs6ZBjXYdKz7Wbce7ujldkZ9v20mN7OnaZq++A9XsMLy7Gr7r+eX2tPUK1MbRV9Lf2maum+/TWV7FL1o0U3M/+UHp8T/ur0hJpkf2de0qPPTYBL95ofRO7Yo1jnQ507pM3o0NCtTG0NWB6a3f7KxWPpwoZ+cvSOflpdUGe5hZKjw91rd9o7Y/uKS1CoLhmOjMr1xK35MnqTxXfC9NgmFUgfxhaHz7oG5HOSEfF48u5mHwRu1D6HOF7vWO39fsO8/VD0X2l59ATAdVdbk71HOPqWB0YWgeMORdyi2WP4c7faxXMXmL48cDPyp7D0KIr0rnxdRnX178ZfUMORvdX/B3ur8wJuWNoHXCT9cXyhYrpp0NdQ3LAES67YTMHu71tS9ljuCn7sP99z9f0mlmH0y4/DN/Gb8rl+A3JreWEKjG0NlhIQMkgOsJcil+veP693retq64TVsaGu99y/Z6YSSgOGexws/bZ4MfS1dJZ9vjt1JTMrcxbV/Dx1B2hSgytzWVzhSs23XiQnbOuunYI59m+dyteh5mB+dUnrt8TPwhu3ROHu45W/ADgJs0eVPQBW8wtC5VjaDegC8ycYzs4OscU52OLXmnfIce7jlS83msZFlduJ0yl4ebLDlf3r810mH0bT8H8AF1LsqWSE0Mr64sIo8nbrs99Ha9s14nAbWkbKHvssblKPre1+Sx+39ns/bLHWiOt8unARxV/ztX4mFVN5jS/8phNPhwYWlnvbJjw2A6ezCflSry8v0GbCd7ZvjPWuNTOuRVnxiwBO7/vSTP27XWsfE2YqbD7Kz+IF9Qp0CaGVnD1q/7PMJt9YAJY/ja/zcwUnHLcfD1xDCWcY9ldbTvkhGNogTHvRI0brq1tg0KbGFrjkFk+fdVl1cvuSmLUapxshxmDWq8rwvQW5nGLRTOA4cPnS+erbifH6962FY0TQ1tytv+MWQiIej6/auZM/2qWbZ1zpx+a19W6UsMZM10WdUxvXYxfKytPdPNO70nX1bgwY2g3YO8XdiNUkzDj26uJsbLHcNdfrK+txtmfFm2VZmr0TxjuPir7O18XKsfQ2mAh4FCNSqu7me+tqq6CCeojc2ePai8/UOR9xwQVlWEYx6K4vBprL1k3hwVueI6YA96Of8g+kvSa9zjz69hla+qqnmVWdJW5bMbFV8yVGrMPqzVei6t+i238S5tCeaV9YELptZFwfdXrTNXX4waq0boAvLZWYI91HzKLGNs9n582V/swC11oEZhrydGKuVe71zpftYqy/xMwLMBY1gvmdL+NX69YqQuT0IV2OjNjTfhj7nW0yqQ97vZ7W+qrcbXXzwIKZVoi/v+JsZfsTN8pM1vQ6fr889xiaSwc5jMcQhVa3OmPJzcLsVEQ43XqDPZ+VSsrtMMY9f3eEfPrdNnjqJX91ZbPfIcfmyT3drzm+hxKJb+MXSwNLbBsjBvBMApVaFH2l3XcYH0d+9ZzfItx5TGXLeJOv976CznSdcD1ORTH/Grr/8nOtm1Vv8dAa3/VYQEOJHEuCV9LjlmzGGETmtAumCvqXZcbGPSbHU14DxOGzdWv1pUyVmOBADMNy1Xaeq5vMT9btlpmh0qxe5nKarGlXKyifDIMQhPaq+ZK5XVVmsrc83yrxTABb/3VuG1WtMPmx2qNOI53HzFX5F7X5zCnO5ryntOdMnO/2bVwdRUPRWjvZ+dqBut8/KoVEDd7zGwCxqdeHmarH8s0l/Uee1o7cT0WETA9djF2zbVksQhDm7FkuK62oQitnzttbDz8fPm85/wrusZ41QDgrr5aA7lHq96h/WTQe1hwI3Hb6kZTC7anh+nQ6FCEdp/HHbkTxoi3PY66xzDhfwc/kqiZjjredbhsT1jBfDxecQ8X+iMs2GYo9pppsHfND8CguUFDr4MtrQOur5szw5WJtL82SegdVq3Y52UTimXc070n5MHKI19nHCC0ezt3y3aXu/3tbVvlN9t+aV0Zl3Pxsn5cP64+Ma+r/OGo3K6z01rxOtZ9WLwkzVXzcuK6+IG2Tf/T/3PPq/XLKBRXWtydf9z3gbWl249zy97TYMVwOMsMH2bn5afcQsWvWUclF6bAarkWH/PcSeE0YvW7DVcPsNAUzGxtH7S2gF/waP5mh2YZWOatVqqI4QLqFIrhxmv+tPiF1BJtrV4bO52erbr1xu5wdMi11ejLLlRVXujkggouDBVqwTLvlvRAxc7bn1afW30JHq48aqh791dmMQO9wVAni1JIvAsUYbv4WGrS1/fBrMNJx47esAhdaeIHfe/Kk+fPSh0Pq7mRGJc97a/JWqRghR29atGzthk4T/defn2xAA3q3ojulaHOfdY+sC9i5yXt0T6p8v9jxOpGHkaR6enpNQmZOTOvirMO/MCNjt8yROx+OIkVNDPGRPjGkhMS95j7dUJhjd8lWXRydNY5hEko62mxWHDIZy/YeupmD5oFCPT8wtv+geg++eWWTyv6I3jxG1i2BQ3xdpvTPcetudIgTaTvWLUMRS2RVtnV4NFNbtA+9L/632/oVJ2XSWhDG22JylkTgHrqXWvpjnRtHrdUyMrvnv/Jqg0Iysmet2RH+zYJu1BvbERrzpNdRyUImAVAeWJxNgDzuEHupMVJOvazHcIs9Ltxh3H1amvu6tVigvrZwMdmRaz86NAd7VslCDg9572et4XWhT60uDJiI2NbE4c047WXEzflD4t/swpcljfqa39cCaZxHJZ8w7bqVQ37HhgDbX3ydo0eA2jx6VXzikWGpfyy9d+/LX0lkbWI5KVg7fqtZV/HnurPd+6Rt0K46lUN+x5sQBHLYn6prOsL2h1hauxQ9IA1dfXl8gWJ1VhcQMD6zQ/BnfSMr+Ls/x74mbXggN64OCM3vba5uIDprTM9p4TKMbQ275iA4C0db8VvmJso7K6tZ3oJB97hhHEUbY+n/beex8k2h81NHH5AsEQ8k3lgLROj1pan3lRiaG2iLR3WggCCWm+pHwKLkOG148kp6+pZL/yZr3e+Zv1ClVcvA+uKoXVA9Va9cDzop4MfWTdkqNmt5yrrhYH1xhuxJvWYcSemuxBY7GD4+/I3Qi8WQ9ukkd7NImy0mU/k/RXIUOMY2iagG8zQxoLC3fT3NdvQUzAY2iac6V2fjlotrFYUb2O6DJsg7UXeFAzeiDVod8eu0rDg8eqz0hZuzK3igLyd7dutYpz8Wt7aQnM1OSYUDIa2QfZqK9QYHOzcb9UIHOs5XDa3i5ZIb5mFC8ygXUkwuEFgaF0s5pZcl2Dt/biitsYdqOjCQSPVHO06ZO0v+z77sOzxMZc29lh9w/ItuWNoXVyIX5OF3GLVr8n43Mtl90HviFlxe1LWGt9tIyP2ju3q2MlTbTzwRswBZ+TWCiw8rtEbzE17S7tVClkLetBOpvx1lwkjhtah1qkzRTidcc7ldPFasI/MzxV0Kj1TVjxDmxhaGxy15Kd1UtE3sStle8LcYMMiKsfQARHw1o/dtLXgNPLvUsFt1XmZMLQbsARb7zH1qJ/949Ln1oHQxVA63U5PWV1t7IfmVWsbajeemrJaK1E5hnYDVrQaqczKFrJyOXFDfvvs9/KXpXOltkvo0I162qis9/zCBkfUzALmd1FU7sfNRHgPBPHC0Mp68CaarMxCp280bi4GEw1BLsWvy+HuA7Jt4xRxbMkpFobj5Bs/sH0nzMcvuWFoZb1vV6KBq6wbbB1fMQFGiDHXi1mGkZ5h6zkU00xszArkxH8TkLEQnqtQTehDiw4yEwFPL2GYUexMczF21VrS3bUxHJg2wxAMHcZ8zlLA/MpjE/5gNkm+DEIfWuzlCrr1O7p/4yYNy7pvdg1J3nwc3jiyqWB+X+3QPS/1hPxlF+oVMTSJm8rMSLMQzhPdR6zl3Bbzsb19i9ULF7t382bK635mTibTd62vxcHOjcAwA1fbINssaRXq0OJcsWQAY9kD0f3WlBne9nFuA84Eu2iWgoOGq+1ngztCX+4Y2tBiUWA8oKLteTNj8Dy3bAUXVgor8iLgajubeWA1hw6z0I5pb6Um62rjWc2z3GIpsIAZhBcFV9ug/t5ahTK0OORuxnGAR5AK8uL6VOPv/n3moYRZKEM7+oLvxFtf8JgTY+d8CA9yLgpdaHFmwuwLvMrCFjN78CLhJJ172X9KWIUutH5Pj6lXW6TV6jJzovuotP8b7m9vhXhsG8qDQkg31h6QOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOgwtqcPQkjoMLanD0JI6DC2pw9CSOv8Cpy1sLDZMqKwAAAAASUVORK5CYII=",zp=function(){var e,t,n,r,o=Tp(),i=vp(),a=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["adverts"],queryFn:function(){return Pp()}}))}();return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{children:[(0,A.jsxs)("div",{className:"my-2 flex items-center justify-between gap-2 px-4",children:[(0,A.jsx)("h1",{className:"uppercase text-sm font-bold text-gray-800",children:"Categories"}),(0,A.jsxs)("div",{className:"flex gap-1",children:[(0,A.jsx)("div",{className:"py-1 px-3 rounded-full bg-green-500"}),(0,A.jsx)("div",{className:"py-1 px-1 rounded-full bg-gray-500"}),(0,A.jsx)("div",{className:"py-1 px-1 rounded-full bg-gray-500"})]})]}),(0,A.jsx)("div",{className:"px-4 py-2 shadow-md rounded-2xl bg-white",children:(0,A.jsxs)("ul",{className:"text-sm mt-5 ",children:[null===(e=o.data)||void 0===e?void 0:e.map((function(e,t){return(0,A.jsx)("li",{className:"mb-2",children:(0,A.jsxs)(fa,{className:"flex items-center gap-3 cursor-pointer hover:text-green-600",to:"/categories/".concat(e.slug),children:[(0,A.jsx)("img",{className:"w-8 h-8 object-cover rounded-full",src:"".concat(Vn+"/categories/"+e.icon)||"https://via.placeholder.com/40x40.png",onError:function(t){var n,r=null===(n=e.name[0])||void 0===n?void 0:n.toUpperCase(),o="https://dummyimage.com/40x40/EEFFEE/00A607.png&text=".concat(r,"&fontsize=").concat(16);t.target.src=o},loading:"lazy",alt:"advert"}),e.name]})},t)})),o.isLoading&&(0,A.jsxs)("li",{className:"space-y-4 mb-2",children:[(0,A.jsx)("div",{className:"h-6 animate-pulse bg-gray-300 rounded w-full"}),(0,A.jsx)("div",{className:"h-6 bg-gray-200 animate-pulse rounded w-full"})]})]})}),(0,A.jsxs)("div",{className:" my-4",children:[(0,A.jsxs)("div",{className:"my-2 flex items-center justify-between gap-2 px-4",children:[(0,A.jsx)("h1",{className:"uppercase text-sm font-black text-gray-800",children:"Services"}),(0,A.jsxs)("div",{className:"flex gap-1",children:[(0,A.jsx)("div",{className:"py-1 px-3 rounded-full bg-green-500"}),(0,A.jsx)("div",{className:"py-1 px-1 rounded-full bg-gray-500"}),(0,A.jsx)("div",{className:"py-1 px-1 rounded-full bg-gray-500"})]})]}),(0,A.jsx)("div",{className:"px-4 py-2 my-4 shadow-md rounded-2xl bg-white",children:(0,A.jsxs)("ul",{className:"text-sm my-5 space-y-6",children:[(0,A.jsx)("li",{className:"mb-2",children:(0,A.jsxs)(fa,{className:"flex items-center gap-3 cursor-pointer hover:text-green-600",to:"/services/bids",children:[(0,A.jsx)(Rp,{className:"w-6 h-6"}),"Bids"]})}),(0,A.jsx)("li",{className:"mb-2",children:(0,A.jsxs)(fa,{className:"flex items-center gap-3 cursor-pointer hover:text-green-600",to:"/services/book-evaluation",children:[(0,A.jsx)($p,{className:"w-6 h-6"}),"Book Evaluation"]})})]})})]}),(0,A.jsxs)("div",{className:"relative mt-5",children:[null===(t=a.data)||void 0===t?void 0:t.map((function(e,t){return 1===e.active?(0,A.jsx)("a",{href:null===e||void 0===e?void 0:e.url,children:(0,A.jsx)("img",{src:Vn+"/adverts/"+(null===e||void 0===e?void 0:e.location),alt:"computing-ad",className:"rounded-lg w-full object-cover",loading:"lazy",onError:function(e){e.target.src=Kp}})},t):null})),a.isLoading&&(0,A.jsx)("div",{className:"h-96 skeleton w-full"})]}),(0,A.jsxs)("div",{className:"mt-5 flex items-center justify-between gap-2 px-4",children:[(0,A.jsx)("h1",{className:"uppercase text-sm font-black text-gray-800",children:"Latest Products"}),(0,A.jsxs)("div",{className:"flex gap-1",children:[(0,A.jsx)("div",{className:"py-1 px-3 bg-green-500 rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-500 rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-500 rounded-full"})]})]}),(0,A.jsx)("div",{className:"mt-3 h-fit px-5 bg-white py-1 pb-5 shadow-md rounded-2xl",children:(0,A.jsxs)("ul",{className:"text-sm mt-5 ",children:[null===(n=i.data)||void 0===n?void 0:n.slice(0,3).map((function(e,t){var n,r,o;return(0,A.jsx)("li",{className:"mt-4 hover:bg-green-50",children:(0,A.jsxs)(fa,{className:"flex items-center gap-3",to:"/products/".concat(e.slug),children:[(0,A.jsx)("img",{className:"w-3/12 h-[6rem]",src:null===e.coverImage?Vp:Vn+"/products/"+(null===(n=e.coverImage)||void 0===n?void 0:n.location),onError:function(e){e.target.src=Kp},alt:e.name,loading:"lazy"}),(0,A.jsxs)("div",{className:"space-y-2",children:[(0,A.jsxs)("div",{className:"font-bold",children:[(0,A.jsx)("p",{className:"",children:e.name.slice(0,25)+"..."})," "]}),(0,A.jsx)("p",{className:"text-gray-500 my-2 text-sm",children:null===e||void 0===e||null===(r=e.level)||void 0===r?void 0:r.name}),(0,A.jsxs)("p",{className:"text-red-700 uppercase text-sm font-bold",children:["ugx ",null===e||void 0===e||null===(o=e.amount)||void 0===o?void 0:o.toLocaleString()]})]})]})},t)})),i.isLoading&&[0,1].map((function(e){return(0,A.jsxs)("div",{className:"flex gap-3 items-center justify-center my-4",children:[(0,A.jsx)("div",{className:"",children:(0,A.jsx)("div",{className:"bg-gray-300 animate-pulse rounded h-20 w-24"})}),(0,A.jsxs)("div",{className:"flex flex-col space-y-3 w-28 justify-center",children:[(0,A.jsx)("div",{className:"h-6 bg-gray-300 animate-pulse rounded w-full"}),(0,A.jsx)("div",{className:"h-6 bg-gray-300 animate-pulse rounded w-2/3"})]})]},e)}))]})}),(0,A.jsxs)("div",{className:"relative mt-3",children:[null===(r=a.data)||void 0===r?void 0:r.map((function(e,t){return 1===e.active&&"secondary"===e.advert_type?(0,A.jsx)("a",{href:null===e||void 0===e?void 0:e.url,children:(0,A.jsx)("img",{src:Vn+"/adverts/"+(null===e||void 0===e?void 0:e.location),alt:"computing-ad",className:"rounded-lg w-full object-cover",loading:"lazy"})},t):null})),a.isLoading&&(0,A.jsx)("div",{className:"h-96 skeleton w-full"})]})]})})};function Zp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21 11H6.414l5.293-5.293-1.414-1.414L2.586 12l7.707 7.707 1.414-1.414L6.414 13H21z"}}]})(e)}function Gp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v.511l-8 6.223-8-6.222V6h16zM4 18V9.044l7.386 5.745a.994.994 0 0 0 1.228 0L20 9.044 20.002 18H4z"}}]})(e)}function Wp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z"}},{tag:"path",attr:{d:"M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819zM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6z"}}]})(e)}function Yp(e){return Ih({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.707 12.293a.999.999 0 0 0-1.414 0l-1.594 1.594c-.739-.22-2.118-.72-2.992-1.594s-1.374-2.253-1.594-2.992l1.594-1.594a.999.999 0 0 0 0-1.414l-4-4a.999.999 0 0 0-1.414 0L3.581 5.005c-.38.38-.594.902-.586 1.435.023 1.424.4 6.37 4.298 10.268s8.844 4.274 10.269 4.298h.028c.528 0 1.027-.208 1.405-.586l2.712-2.712a.999.999 0 0 0 0-1.414l-4-4.001zm-.127 6.712c-1.248-.021-5.518-.356-8.873-3.712-3.366-3.366-3.692-7.651-3.712-8.874L7 4.414 9.586 7 8.293 8.293a1 1 0 0 0-.272.912c.024.115.611 2.842 2.271 4.502s4.387 2.247 4.502 2.271a.991.991 0 0 0 .912-.271L17 14.414 19.586 17l-2.006 2.005z"}}]})(e)}var Xp=function(){return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"md:w-2/3 mx-auto py-8 space-y-4",children:[(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"flex space-x-6 items-center",children:[(0,A.jsx)(Yp,{className:"text-green-700 w-7 h-7"}),(0,A.jsx)("p",{className:"font-semibold text-lg text-gray-800",children:"+256-349-506-234"})]})}),(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"flex space-x-6 items-center",children:[(0,A.jsx)(Gp,{className:"text-green-700 w-7 h-7"}),(0,A.jsx)("p",{className:"font-semibold text-lg text-gray-800",children:"info@ncdc.go.ug"})]})}),(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"flex space-x-6 items-center",children:[(0,A.jsx)(Wp,{className:"text-green-700 w-7 h-7"}),(0,A.jsx)("p",{className:"font-semibold text-lg text-gray-800",children:"NCDC head office, Kyambogo"})]})})]})})},Jp=function(){var e=(0,t.useState)(!1),n=(0,B.Z)(e,2),r=n[0],o=n[1],i=(0,t.useState)(),a=(0,B.Z)(i,2),s=a[0],c=a[1];return(0,A.jsxs)("div",{className:"bg-footer-color text-base",children:[(0,A.jsx)("div",{className:"max-w-screen-xl lg:flex lg:mx-auto",children:(0,A.jsx)("div",{className:"w-full",children:(0,A.jsxs)("div",{className:"mx-4 md:mx-10 pt-4 py-5 md:flex justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("h1",{className:"text-green-600 uppercase font-extrabold ",children:"Let us help you"}),(0,A.jsxs)("ul",{className:"text-sm text-white mt-5 space-y-4 text",children:[(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)("button",{onClick:function(){c({title:"Contact us",body:(0,A.jsx)(Xp,{})}),o(!0)},children:"Help Center"})}),(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)(fa,{to:"/buy-guide",children:"How to buy on NCDC-eShop"})}),(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)("button",{onClick:function(){c({title:"Contact us",body:(0,A.jsx)(Xp,{})}),o(!0)},children:"Report a Product"})})]})]}),(0,A.jsxs)("div",{className:"mt-5 md:mt-0",children:[(0,A.jsx)("h1",{className:"text-green-600 uppercase font-extrabold ",children:"About NCDC E-Shop"}),(0,A.jsxs)("ul",{className:"text-sm text-white mt-5 space-y-4",children:[(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)(fa,{to:"/IPR",children:"IPR Protection Policy"})}),(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)(fa,{to:"/dispute",children:"Dispute Resolution Policy"})}),(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)(fa,{to:"/privacy-policy",children:"Privacy Policy"})}),(0,A.jsx)("li",{className:"mt-2 hover:text-green-600 cursor-pointer",children:(0,A.jsx)(fa,{to:"/terms-conditions",children:"Terms and Conditions"})})]})]}),(0,A.jsxs)("div",{className:"mt-5 md:mt-0",children:[(0,A.jsx)("h1",{className:"text-green-600 uppercase font-extrabold ",children:"Payment Methods"}),(0,A.jsxs)("ul",{className:"text-sm text-white mt-5 space-y-4",children:[(0,A.jsxs)("li",{className:"mt-2 flex items-center gap-1",children:[(0,A.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKOSURBVHgB7Zi5aypRFId/mo0EshJCSJMmSxMSskASyEKqNCGlhWCvtYWVYO9foIVYaGOhYGUhCqKooKKFFoJiI9qouOLue+fCBF7xEkfv4yHMBxd05ur5PHPumTvKbm5uJlgA5FgQJFHeSKK8kUR5szCiy2Imh8Nh8Kbf7+P19fXHeaJEV1dX8b+QapQ3kihvRC2m76DV22w20Wg02JDJZNjc3MTW1hYbKysrmIeZRUmM2lUwGEQqlUIul/vrXJI+PT3F5eUlnp+f8fDwgOVlcaFFi47HY7hcLphMJlQqFezs7GBjYwNLS0vY29tjmev1elhbW2Pzh8MhEy0WiyiXy/B6veycRqPBx8fH1HFFiY5GI+h0Ovj9/q9jRqMRv58SoFQqYbFYUCqV0O12cX5+ziQp65RBh8OBg4MDZLNZWK1WGAwGRCIR6PX6qWKLWkyBQOAPScrMxcUFOp0OFAoFy3Y8HodKpUKr1YJWq4XdbmdZvr6+xt3dHTsv4PF4EI1Gp4o916qnmmu32ygUCiyrdGljsRjOzs5YOSSTSdze3sLn87Fj6+vryGQymAVRoi8vL3h7e/t6L2RoMpnA7Xbj+PgYiUQCR0dHsNlsLNM0hxZcOp1m4lQ+Au/v77i/v58qtkzMUyhJ0eV1Op0wm83sNQWmEqDWtLu7y2p0e3sbcrkctVoNh4eHqFarLMP0g+r1OqtVtVqNz89PDAYDPD4+/hhbtKgAtadQKMQGtad8Pv/tZ09OTnB1dYWnpycmJvRV+p5pRGfuo7STojIQSoECUqOnjAkNX2j2NObdeXG7M5HI/v4+G/8CaVPCG0mUN6IWE92FeEN9dBpk0t+OnJFEeSOJ8kYS5Y0kypuFEf0FLO4FnORw9H4AAAAASUVORK5CYII=",alt:"mtn"}),"MTN Mobile Money"]}),(0,A.jsxs)("li",{className:"mt-2 flex items-center gap-1",children:[(0,A.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMjSURBVHgB7ZdLKHRhGMf/o2HhktzKLSnJXbETZUFZoCgbVrJRVoqFUkhKKdciCxZKUVaSsnLJNWIr9wUx0zTT3Jrm0sx83/PUnJqvoTPf+1pMnV9NM+c8Z877O+/led6jq62tDSIGiEOMoInKRhOVjSYqm5gR1UMi1dXVaG1tRXl5OYqKimAwGHBzc4Pl5WXY7XaIoJNRmTIyMjA6OorGxsaI8fv7e/T19cHr9eJ/ER76yspKbG1tfStJlJWVoampCSIIiaalpWF+fp579F/e3t5weHgIn8/Hx3l5eRBBaI52dnYiPT097Nzr6yuWlpZwenrKx0NDQ+jp6YHZbIYIQqLJycnK70AggM3NTaysrCi9SOh0Oo5dXFxABCHRtbU1fH19we124+rqCiaTKSyelJSElpYW7O3twWg0QgShOepyubCzs8MiVVVV3KPd3d1KfGRkBDabDXNzcxBFSsKnVT09PY3S0lI4nU4e7uHhYT4/MDDA50SRkvA7Ojqg1+sxOzuL8/Nz/qac2dvbK0WSkCLqcDj4u6SkhOfkxsYGpyaZSKlM8fHx+HsfWK1WPD4+IhiU/xqm017uJCMkSpVpYmIiYoxy6E9QPC5OffNCooWFhRFrOGWBk5OTb0Xq6+s5npKSArWoXvUFBQVoa2tDdnY2bm9vsbu7y41RZSJIuKurC1lZWXh5eeFcOjg4yMm+oaEBzc3N+Pz85IxAqYzi0aC6R/Pz87nKPD09YWxsjFc5Nd7e3s41f3t7G5mZmTg4OFDS1cPDA4qLi1n2/f2dH7S/v1/JCtHIqhb9+PhAbm4uampq+Jh6OERCQgISExNxfHyMs7MzRYSkaR/q9/v5IagI1NXVKf+LRlT10C8sLHCPrq+vh22SqbGf8ibNQ3oNoQegD21gQgvtV3o0NTUVz8/PuLu7U86RYKTGSIbIycnB9fU1b7CplNIcpetDcRoh6aKTk5OoqKjgRURDfHl5yXPRYrHwfpO2cR6Ph689OjrC/v4+ZmZmeMGtrq5ifHwci4uLfA96WNp1TU1NqW1eq0zS0URlo4nKRhOVjSYqm5gR/QPA9z9xAkcD9QAAAABJRU5ErkJggg==",alt:"airtel"}),"Airtel Money"]}),(0,A.jsxs)("li",{className:"mt-2 flex items-center gap-1",children:[(0,A.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJKSURBVHgB7Zc5a2pBGIZfQ0IIhED2fSGQBVIlEBAEC0tLFwQrRWws/CdiJVYWVqIg4tJY+gPsRFAQwRVRXBA3VLz3+y6RCylUmBSBeUCOc86ZOc+838yBo/j4+FjgF7CFX4IUFY0UFY0UFY0UFY0UFY0UFY0UFc1KUb1ej0QiwT+tVsvnTk9PEYvFEI1GcXx8DLfbzdcfHx/x9PQEr9eLVCqFSCQCi8WyHIv6f411fX2NTdhedUM4HMbu7i4cDgdubm74nNls5geRaKfTwefnJ3Z2dtBsNhEMBnF+fo56vY7Dw0NMJpN/iWxtwWaz4fLykttXV1eoVqtYl5WifNP2NrrdLg4ODrC/vw+dTofZbAafz4fb21vs7e2hUCjwREhyNBpxkjQJmgCh0Wjw8PDA/Wi8i4sLbMJaa7RSqXASNLjBYGBZKh8l8vLywvfk83mUSiW0Wi0WDwQCUCqVGI/HfN1qtWKxWCCZTHL7R0TL5TIfaW2aTKZlmsTz8/NSdDAYwG63I5vN4ujoCC6XC3d3d1CpVHh9fUW/3+fEia+jUFFKjtJ4e3vD2dkZ4vE4arXaN1FadzQpKnuj0eCy39/fc5oEVeLvxyT/3zTRtdbocDhEu93mHT6dTpdpEv+X3uPxsACtTUqs1+vxJnp/f0exWITRaOQ3QygU+pnSE5lMhlOih9COJmhzzedz5HI5LjulSe2TkxOk02k4nU6o1Wru5/f7uSo0YWorFApsgkJ+1wtGiopGiopGiopGiopGiopGiopGiopGiormDznl5f04/vFjAAAAAElFTkSuQmCC",alt:"visa"}),"Visa Card"]})]})]}),(0,A.jsxs)("div",{className:"mt-5 md:mt-0",children:[(0,A.jsx)("h1",{className:"text-green-600 uppercase font-extrabold ",children:"Follow us"}),(0,A.jsxs)("ul",{className:"text-sm text-white mt-5 space-y-4",children:[(0,A.jsx)("a",{href:"https://www.facebook.com/NCDCUg/",target:"_blank",rel:"noreferrer",children:(0,A.jsxs)("li",{className:"my-4 flex items-center gap-1 cursor-pointer hover:text-green-600",children:[(0,A.jsx)(Dp,{})," Facebook"]})}),(0,A.jsx)("a",{href:"https://twitter.com/NCDCUg",target:"_blank",rel:"noreferrer",children:(0,A.jsxs)("li",{className:"my-4 flex items-center gap-1 cursor-pointer hover:text-green-600",children:[(0,A.jsx)(Up,{}),"Twitter"]})}),(0,A.jsx)("a",{href:"https://www.youtube.com/c/NCDCUgEduc",target:"_blank",rel:"noreferrer",children:(0,A.jsxs)("li",{className:"my-4 flex items-center gap-1 cursor-pointer hover:text-green-600",children:[(0,A.jsx)(Mp,{})," YouTube"]})}),(0,A.jsx)("a",{href:"https://www.linkedin.com/company/national-curriculum-development-centre/",target:"_blank",rel:"noreferrer",children:(0,A.jsxs)("li",{className:"my-4 flex items-center gap-1 cursor-pointer hover:text-green-600",children:[(0,A.jsx)(Qp,{}),"Linkedin"]})})]})]})]})})}),(0,A.jsx)("div",{className:"flex items-center justify-center gap-5 pb-10 pt-5 ",children:(0,A.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,A.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHFSURBVHgB1ZiBVYMwEIYvfQ7gCHUCHYFuoBvgBHaDOoJuUDeoE5RO0HYC4wTUCc67EgrlXUoQJNfvvUsJgfTnkks4ABEXZDkWrMlS0ATKLEALzmsSKWiBxDySzcm+agLXoA0n8gQo4KZRz+qVCCIzsg9jzFJsJT1T1MEpSI0gUsXQEk/kydVEaLCggxcuNAtMuJAEfoMiNHtwx4VmgceRlAQeQAcZF5LAHejAO8RaPCgLpMWRBcYWeXA6RA8yFuJymmZaBe7LA5/A2Iv1qjzQ6EFL8y8rKz6BMYNkVq/4BMZaC5/Je7Z+QosHLdlMepM2vjtGeHFlJ/BIfZIty3UvGDxPR6NleJMLbZvacUIi56AJEnSL53nyMZnh8zAi5lIjiUnopzm85dyxMAwbb5oZAolM8f9JfP8/aRPonu4OGkn9WJguF9OTPkCRbd3DcOzJCW9wrQR50EVuCoXnOEjem1tSQB9TKJJx7qtfYAidbxuTOnfDHSwOq6+4JVscYslCfxQH7y7o/0jauvi3RjG4TxAdzne5tjXYQgT6NnEL4fj6+IG+eOYP89qhj7lwf+4Cpz8cEFgFSo5/eHHgB8Jqb1+HBtkv886XkroDMAgAAAAASUVORK5CYII=",alt:"shopping-cart",className:"w-8 h-auto"}),(0,A.jsx)("h1",{className:"text-xl text-white font-extrabold",children:"eShop"})]})}),r&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"justify-center items-center flex overflow-x-hidden overflow-y-auto  fixed inset-0 z-50 transition ease-in-out delay-100 duration-300 bg-black-0.1",children:(0,A.jsx)("div",{className:"relative w-5/6 md:w-1/2 lg:w-1/3 my-6 mx-auto max-w-5xl",children:(0,A.jsxs)("div",{className:"bg-white w-full rounded-md shadow-lg px-4",children:[(0,A.jsxs)("div",{className:"flex items-center justify-between p-4 ",children:[(0,A.jsx)("div",{children:(0,A.jsx)("p",{className:"text-lg md:text-2xl text-center font-semibold text-gray-800",children:s.title})}),(0,A.jsx)("div",{children:(0,A.jsx)("button",{type:"button",onClick:function(){return o(!1)},className:"w-4 h-4 p-1 text-black border-none rounded-none  opacity-50 hover:text-green-600 hover:opacity-75 hover:no-underline",children:(0,A.jsx)(Uh,{className:"w-7 h-7"})})})]}),s.body]})})}),(0,A.jsx)("div",{className:"opacity-30 fixed inset-0 z-40 bg-black"})]})]})};function em(e){e.page;return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"bg-white",children:(0,A.jsx)("div",{className:" max-w-screen-xl mx-auto",children:(0,A.jsxs)("div",{className:"flex items-center justify-between mx-4 md:mx-10 pt-4 py-2 max-w-screen-xl",children:[(0,A.jsx)("div",{className:"flex items-center",children:(0,A.jsx)(fa,{to:"/",children:(0,A.jsx)("img",{src:p,alt:"ncdc eshop logo",className:"w-20",loading:"lazy"})})}),(0,A.jsxs)("a",{href:"tel:+393112088",className:"flex items-center gap-2",children:[(0,A.jsx)(Dh,{className:"text-green-600 text-lg"}),(0,A.jsx)("h1",{className:"text-green-700 text-xs",children:"Hotline: +393 112088"})]})]})})})})}function tm(){return tm=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},tm.apply(this,arguments)}function nm(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 rm=(0,t.forwardRef)((function(e,n){var r=e.color,o=void 0===r?"currentColor":r,i=e.size,a=void 0===i?24:i,s=nm(e,["color","size"]);return t.createElement("svg",tm({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),t.createElement("path",{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),t.createElement("polyline",{points:"9 22 9 12 15 12 15 22"}))}));rm.propTypes={color:Xn().string,size:Xn().oneOfType([Xn().string,Xn().number])},rm.displayName="Home";var om=rm,im=function(e){e.page;var t,n=wh(),r=Tp();return(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("div",{className:"mx-4 my-2 w-full space-y-4",children:[(0,A.jsx)("div",{className:"my-2 md:hidden flex",children:(0,A.jsx)("p",{className:"text-green-600 py-2 px-2 text-sm flex items-center rounded-sm gap-2",children:(0,A.jsxs)(fa,{to:"/",className:"hover:text-white flex space-x-2",children:[(0,A.jsx)(om,{}),(0,A.jsx)("span",{children:"Home"})]})})}),n.user?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex justify-left text-sm px-2 py-1 items-center",children:(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"dropdown relative inline-block text-left",children:[(0,A.jsxs)("button",{className:"inline-flex w-full text-green-600 rounded-md border-none py-2 text-md font-medium text-gray-700  hover:bg-gray-50 focus:outline-none",type:"button",id:"menuDropdown","data-bs-toggle":"dropdown","aria-expanded":"false",children:[(0,A.jsx)("div",{className:"flex items-center mr-2 justify-center h-6 w-6 rounded-full bg-green-500 text-white text-xs font-medium",children:n.user.name[0]}),n.user.name,(0,A.jsx)(Np,{className:"-mr-1 ml-2 h-5 w-5"})]}),(0,A.jsxs)("ul",{className:"dropdown-menu min-w-max absolute hidden bg-white text-md z-50 float-left py-2 list-none text-left  rounded-lg shadow-lg mt-1 hidden m-0 bg-clip-padding border-none","aria-labelledby":"menuDropdown",children:[(0,A.jsx)("li",{children:(0,A.jsx)(fa,{to:"/profile",className:"dropdown-item text-gray-900 block px-4 py-2 text-md",children:"Profile"})}),(0,A.jsx)("li",{children:(0,A.jsx)(fa,{to:"/profile/orders",className:"dropdown-item text-gray-900 block px-4 py-2 text-md",children:"Orders"})}),(0,A.jsx)("li",{onClick:function(){return n.logout()},children:(0,A.jsx)(fa,{to:"/",className:"dropdown-item text-gray-900 block px-4 py-2 text-md",children:"Sign out"})})]})]})})})}),(0,A.jsx)(fa,{to:"/wishlist",className:"",children:(0,A.jsxs)("div",{className:"text-sm text-green-600 py-2 px-2 text-md flex items-center rounded-sm gap-2",children:[(0,A.jsx)(Sp,{className:"text-green-600  text-xl font-bold cursor-pointer"}),(0,A.jsx)("h1",{className:"text-green-600 cursor-pointer",children:"Wishlist"})]})}),(0,A.jsx)(fa,{to:"/cart",className:"",children:(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"text-sm text-green-600 py-2 px-2 text-md flex items-center rounded-sm gap-2",children:[(0,A.jsx)(wp,{className:"text-green-600 font-bold  text-xl cursor-pointer"}),(0,A.jsx)("h1",{className:"text-green-600 cursor-pointer",children:"My Cart"})]})})})]}):(0,A.jsx)(fa,{to:"/auth/login",className:"",children:(0,A.jsxs)("div",{className:"flex lg:hidden text-green-600 py-2 px-2 text-sm flex items-center rounded-sm gap-2",children:[(0,A.jsx)(Zh,{className:"text-green-600 font-bold cursor-pointer"}),(0,A.jsx)("h1",{className:"text-green-600 cursor-pointer",children:"Login / Register"})]})}),(0,A.jsxs)("div",{className:"text-green-500 text-sm flex flex-col rounded-sm gap-2",children:[(0,A.jsx)("div",{className:"flex items-center text-white bg-green-500 py-3 px-4",children:(0,A.jsx)("p",{children:"Services"})}),(0,A.jsxs)("div",{className:"mx-3 my-2 space-y-4",children:[(0,A.jsx)(fa,{to:"/services/bids",children:(0,A.jsx)("p",{className:"my-2",children:"Bids"})}),(0,A.jsx)(fa,{to:"/services/book-evaluation",children:(0,A.jsx)("p",{className:"my-2",children:"Book Evaluation"})})]})]}),(0,A.jsxs)("div",{className:"text-green-500 text-sm flex flex-col rounded-sm gap-2",children:[(0,A.jsx)("div",{className:"flex items-center text-white bg-green-500 py-3 px-4",children:(0,A.jsx)("p",{children:"Categories"})}),(0,A.jsx)("div",{className:"mx-3 my-2",children:null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.map((function(e,t){return(0,A.jsx)("div",{className:"py-2",children:(0,A.jsx)(fa,{to:"/categories/".concat(e.slug),children:(0,A.jsx)("p",{children:e.name})})},t)}))})]})]})})},am=function(e){return er.post("/email/verify",e)},sm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config,n=pn(),r=n.addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){r({type:"success",title:e.message})}},t),{},{mutationFn:am}))},cm=function(e){var n,r=e.page,o=e.children,i=e.title,a=wh(),s=(0,t.useState)(!1),c=(0,B.Z)(s,2),l=c[0],u=c[1],d=(0,t.useState)(!1),f=(0,B.Z)(d,2),h=f[0],p=f[1],m=sm();return(0,t.useEffect)((function(){window.addEventListener("scroll",(function(){window.scrollY>400?p(!0):p(!1)}))}),[]),(0,A.jsxs)("div",{className:"bg-gray-100 relative",children:[h&&(0,A.jsx)("div",{className:"fixed right-12 bottom-10 z-20",children:(0,A.jsx)("button",{className:"rounded-full shadow-lg bg-green-800 p-3",onClick:function(){return window.scrollTo({top:0,behavior:"smooth"})},children:(0,A.jsx)(Lh,{className:"text-white h-6 w-auto"})})}),(0,A.jsx)(ll,{title:i}),(0,A.jsx)(em,{page:r}),(0,A.jsx)(Ip,{openSidebar:l,setOpenSidebar:u,page:r}),m.isSuccess?(0,A.jsx)(A.Fragment,{}):(0,A.jsx)(A.Fragment,{children:null===(null===a||void 0===a||null===(n=a.user)||void 0===n?void 0:n.email_verified_at)&&(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"w-5/6 md:w-3/4 mx-auto flex flex-col md:flex-row justify-between my-4 bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded-lg shadow relative",role:"alert",children:[(0,A.jsx)("span",{className:"block sm:inline my-2",children:"Please verify your account. You will not be able to access some features without verifying your account."}),(0,A.jsx)("span",{className:"my-2",children:(0,A.jsx)("button",{className:"underline",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.mutateAsync({email:a.user.email});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:m.isLoading?"Sending email...":"Click here to verify"})})]})})}),(0,A.jsx)("div",{className:"max-w-screen-xl lg:mx-auto",children:(0,A.jsxs)("div",{className:"mx-5 my-4 grid grid-cols-12 h-fit lg:gap-8",children:[(0,A.jsxs)("div",{className:"lg:col-span-3",children:[(0,A.jsx)("div",{className:"hidden lg:block ",children:(0,A.jsx)(zp,{})}),(0,A.jsx)("div",{className:"".concat(l?"w-5/6 flex":"w-0 hidden"," absolute duration-300 backdrop-blur-md bg-white/80 flex w-5/6 h-screen -my-4 "),children:(0,A.jsx)("div",{className:"text-black origin-left font-medium text-xl duration-300 w-fit ".concat(!l&&"scale-0"),children:(0,A.jsx)(im,{page:r})})})]}),(0,A.jsx)("div",{className:"col-span-12 lg:col-span-9",children:o})]})}),(0,A.jsx)(Jp,{})]})},lm=function(){return er.get("/notices/1")};function um(){var e,t,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["notices"],queryFn:function(){return lm()}}))}();return(0,A.jsxs)(A.Fragment,{children:[null!==(e=n.data)&&void 0!==e&&e.active?!n.isLoading&&(0,A.jsx)("div",{className:"w-full shadow-md h-32 md:h-60",children:(0,A.jsx)("img",{className:"rounded-md object-cover h-full w-full",src:Vn+"/notices/"+(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.location),alt:"advert",loading:"lazy"})}):null,n.isLoading&&(0,A.jsx)("div",{className:"w-full shadow-md h-32 md:h-60 skeleton"})]})}var Am=function(){return er.get("/daily-deals")};function dm(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function fm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:dm(t[n])&&dm(e[n])&&Object.keys(t[n]).length>0&&fm(e[n],t[n])}))}var hm={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function pm(){var e="undefined"!==typeof document?document:{};return fm(e,hm),e}var mm={document:hm,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function gm(){var e="undefined"!==typeof window?window:{};return fm(e,mm),e}var vm=n(2963);var ym=function(e){(0,Zo.Z)(n,e);var t=(0,Go.Z)(n);function n(e){var r;return(0,yt.Z)(this,n),"number"===typeof e?r=t.call(this,e):(r=t.call.apply(t,[this].concat((0,x.Z)(e||[]))),function(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}((0,ga.Z)(r))),(0,vm.Z)(r)}return(0,bt.Z)(n)}(ti(Array));function bm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,(0,x.Z)(bm(e))):t.push(e)})),t}function wm(e,t){return Array.prototype.filter.call(e,t)}function _m(e,t){var n=gm(),r=pm(),o=[];if(!t&&e instanceof ym)return e;if(!e)return new ym(o);if("string"===typeof e){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";0===i.indexOf("<li")&&(a="ul"),0===i.indexOf("<tr")&&(a="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(a="tr"),0===i.indexOf("<tbody")&&(a="table"),0===i.indexOf("<option")&&(a="select");var s=r.createElement(a);s.innerHTML=i;for(var c=0;c<s.childNodes.length;c+=1)o.push(s.childNodes[c])}else o=function(e,t){if("string"!==typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof ym)return e;o=e}return new ym(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(o))}_m.fn=ym.prototype;var xm="resize scroll".split(" ");function Bm(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if("undefined"===typeof n[0]){for(var o=0;o<this.length;o+=1)xm.indexOf(e)<0&&(e in this[o]?this[o][e]():_m(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}Bm("click"),Bm("blur"),Bm("focus"),Bm("focusin"),Bm("focusout"),Bm("keyup"),Bm("keydown"),Bm("keypress"),Bm("submit"),Bm("change"),Bm("mousedown"),Bm("mousemove"),Bm("mouseup"),Bm("mouseenter"),Bm("mouseleave"),Bm("mouseout"),Bm("mouseover"),Bm("touchstart"),Bm("touchend"),Bm("touchmove"),Bm("resize"),Bm("scroll");var Cm={addClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=bm(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,(0,x.Z)(r))})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=bm(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,(0,x.Z)(r))})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=bm(t.map((function(e){return e.split(" ")})));return wm(this,(function(e){return r.filter((function(t){return e.classList.contains(t)})).length>0})).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=bm(t.map((function(e){return e.split(" ")})));this.forEach((function(e){r.forEach((function(t){e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!==typeof e?"".concat(e,"ms"):e;return this},on: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],a=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),_m(t).is(o))i.apply(t,n);else for(var r=_m(t).parents(),a=0;a<r.length;a+=1)_m(r[a]).is(o)&&i.apply(r[a],n)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t)}"function"===typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var l,u=r.split(" "),A=0;A<this.length;A+=1){var d=this[A];if(o)for(l=0;l<u.length;l+=1){var f=u[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[f]||(d.dom7LiveListeners[f]=[]),d.dom7LiveListeners[f].push({listener:i,proxyListener:s}),d.addEventListener(f,s,a)}else for(l=0;l<u.length;l+=1){var h=u[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[h]||(d.dom7Listeners[h]=[]),d.dom7Listeners[h].push({listener:i,proxyListener:c}),d.addEventListener(h,c,a)}}return this},off: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],a=t[3];"function"===typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var s=r.split(" "),c=0;c<s.length;c+=1)for(var l=s[c],u=0;u<this.length;u+=1){var A=this[u],d=void 0;if(!o&&A.dom7Listeners?d=A.dom7Listeners[l]:o&&A.dom7LiveListeners&&(d=A.dom7LiveListeners[l]),d&&d.length)for(var f=d.length-1;f>=0;f-=1){var h=d[f];i&&h.listener===i||i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(A.removeEventListener(l,h.proxyListener,a),d.splice(f,1)):i||(A.removeEventListener(l,h.proxyListener,a),d.splice(f,1))}}return this},trigger:function(){for(var e=gm(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o=n[0].split(" "),i=n[1],a=0;a<o.length;a+=1)for(var s=o[a],c=0;c<this.length;c+=1){var l=this[c];if(e.CustomEvent){var u=new e.CustomEvent(s,{detail:i,bubbles:!0,cancelable:!0});l.dom7EventData=n.filter((function(e,t){return t>0})),l.dispatchEvent(u),l.dom7EventData=[],delete l.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=gm();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=gm(),t=pm(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,c=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-i,left:r.left+c-a}}return null},css:function(e,t){var n,r=gm();if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach((function(t,n){e.apply(t,[t,n])})),this):this},html:function(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,r=gm(),o=pm(),i=this[0];if(!i||"undefined"===typeof e)return!1;if("string"===typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=_m(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}if(e===o)return i===o;if(e===r)return i===r;if(e.nodeType||e instanceof ym){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;var t=this.length;if(e>t-1)return _m([]);if(e<0){var n=t+e;return _m(n<0?[]:[this[n]])}return _m([this[e]])},append:function(){for(var e,t=pm(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"===typeof e){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof ym)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this},prepend:function(e){var t,n,r=pm();for(t=0;t<this.length;t+=1)if("string"===typeof e){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0])}else if(e instanceof ym)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&_m(this[0].nextElementSibling).is(e)?_m([this[0].nextElementSibling]):_m([]):this[0].nextElementSibling?_m([this[0].nextElementSibling]):_m([]):_m([])},nextAll:function(e){var t=[],n=this[0];if(!n)return _m([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;e?_m(r).is(e)&&t.push(r):t.push(r),n=r}return _m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&_m(t.previousElementSibling).is(e)?_m([t.previousElementSibling]):_m([]):t.previousElementSibling?_m([t.previousElementSibling]):_m([])}return _m([])},prevAll:function(e){var t=[],n=this[0];if(!n)return _m([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;e?_m(r).is(e)&&t.push(r):t.push(r),n=r}return _m(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?_m(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return _m(t)},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?_m(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return _m(t)},closest:function(e){var t=this;return"undefined"===typeof e?_m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return _m(t)},children:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)e&&!_m(r[o]).is(e)||t.push(r[o]);return _m(t)},filter:function(e){return _m(wm(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(Cm).forEach((function(e){Object.defineProperty(_m.fn,e,{value:Cm[e],writable:!0})}));var Em,jm,km,Sm=_m;function Om(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(Pe){}try{delete t[e]}catch(Pe){}}))}function Nm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)}function Fm(){return Date.now()}function Im(e){var t,n=gm();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function Pm(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",i=gm(),a=Im(e);return i.WebKitCSSMatrix?((n=a.transform||a.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new i.WebKitCSSMatrix("none"===n?"":n)):t=(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===o&&(n=i.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===o&&(n=i.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0}function Lm(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Tm(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function Dm(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!Tm(r))for(var o=Object.keys(Object(r)).filter((function(e){return t.indexOf(e)<0})),i=0,a=o.length;i<a;i+=1){var s=o[i],c=Object.getOwnPropertyDescriptor(r,s);void 0!==c&&c.enumerable&&(Lm(e[s])&&Lm(r[s])?r[s].__swiper__?e[s]=r[s]:Dm(e[s],r[s]):!Lm(e[s])&&Lm(r[s])?(e[s]={},r[s].__swiper__?e[s]=r[s]:Dm(e[s],r[s])):e[s]=r[s])}}return e}function Qm(e,t,n){e.style.setProperty(t,n)}function Um(e){var t,n=e.swiper,r=e.targetPosition,o=e.side,a=gm(),s=-n.translate,c=null,l=n.params.speed;n.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(n.cssModeFrameID);var u=r>s?"next":"prev",A=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t};!function e(){t=(new Date).getTime(),null===c&&(c=t);var u=Math.max(Math.min((t-c)/l,1),0),d=.5-Math.cos(u*Math.PI)/2,f=s+d*(r-s);if(A(f,r)&&(f=r),n.wrapperEl.scrollTo((0,i.Z)({},o,f)),A(f,r))return n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout((function(){n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo((0,i.Z)({},o,f))})),void a.cancelAnimationFrame(n.cssModeFrameID);n.cssModeFrameID=a.requestAnimationFrame(e)}()}function Mm(){return Em||(Em=function(){var e=gm(),t=pm();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(Pe){}return t}(),gestures:"ongesturestart"in e}}()),Em}function Rm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.userAgent,n=Mm(),r=gm(),o=r.navigator.platform,i=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,c=r.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/),u=i.match(/(iPad).*OS\s([\d_]+)/),A=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===o,h="MacIntel"===o,p=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&h&&n.touch&&p.indexOf("".concat(s,"x").concat(c))>=0&&((u=i.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),l&&!f&&(a.os="android",a.android=!0),(u||d||A)&&(a.os="ios",a.ios=!0),a}function $m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return jm||(jm=Rm(e)),jm}function Hm(){return km||(km=function(){var e=gm();return{isSafari:function(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),km}var qm={on:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;var o=n?"unshift":"push";return e.split(" ").forEach((function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][o](t)})),r},once:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.apply(r,i)}return o.__emitterProxy=t,r.on(e,o,n)},onAny:function(e,t){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;var r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(r,o){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)}))})),n):n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];"string"===typeof i[0]||Array.isArray(i[0])?(e=i[0],t=i.slice(1,i.length),n=r):(e=i[0].events,t=i[0].data,n=i[0].context||r),t.unshift(n);var s=Array.isArray(e)?e:e.split(" ");return s.forEach((function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(n,[e].concat((0,x.Z)(t)))})),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(e){e.apply(n,t)}))})),r}};var Km={updateSize:function(){var e,t,n=this,r=n.$el;e="undefined"!==typeof n.params.width&&null!==n.params.width?n.params.width:r[0].clientWidth,t="undefined"!==typeof n.params.height&&null!==n.params.height?n.params.height:r[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),t=t-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}var r=e.params,o=e.$wrapperEl,a=e.size,s=e.rtlTranslate,c=e.wrongRTL,l=e.virtual&&r.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,A=o.children(".".concat(e.params.slideClass)),d=l?e.virtual.slides.length:A.length,f=[],h=[],p=[],m=r.slidesOffsetBefore;"function"===typeof m&&(m=r.slidesOffsetBefore.call(e));var g=r.slidesOffsetAfter;"function"===typeof g&&(g=r.slidesOffsetAfter.call(e));var v=e.snapGrid.length,y=e.slidesGrid.length,b=r.spaceBetween,w=-m,_=0,x=0;if("undefined"!==typeof a){"string"===typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*a),e.virtualSize=-b,s?A.css({marginLeft:"",marginBottom:"",marginTop:""}):A.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(Qm(e.wrapperEl,"--swiper-centered-offset-before",""),Qm(e.wrapperEl,"--swiper-centered-offset-after",""));var B,C=r.grid&&r.grid.rows>1&&e.grid;C&&e.grid.initSlides(d);for(var E="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((function(e){return"undefined"!==typeof r.breakpoints[e].slidesPerView})).length>0,j=0;j<d;j+=1){B=0;var k=A.eq(j);if(C&&e.grid.updateSlide(j,k,d,t),"none"!==k.css("display")){if("auto"===r.slidesPerView){E&&(A[j].style[t("width")]="");var S=getComputedStyle(k[0]),O=k[0].style.transform,N=k[0].style.webkitTransform;if(O&&(k[0].style.transform="none"),N&&(k[0].style.webkitTransform="none"),r.roundLengths)B=e.isHorizontal()?k.outerWidth(!0):k.outerHeight(!0);else{var F=n(S,"width"),I=n(S,"padding-left"),P=n(S,"padding-right"),L=n(S,"margin-left"),T=n(S,"margin-right"),D=S.getPropertyValue("box-sizing");if(D&&"border-box"===D)B=F+L+T;else{var Q=k[0],U=Q.clientWidth;B=F+I+P+L+T+(Q.offsetWidth-U)}}O&&(k[0].style.transform=O),N&&(k[0].style.webkitTransform=N),r.roundLengths&&(B=Math.floor(B))}else B=(a-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(B=Math.floor(B)),A[j]&&(A[j].style[t("width")]="".concat(B,"px"));A[j]&&(A[j].swiperSlideSize=B),p.push(B),r.centeredSlides?(w=w+B/2+_/2+b,0===_&&0!==j&&(w=w-a/2-b),0===j&&(w=w-a/2-b),Math.abs(w)<.001&&(w=0),r.roundLengths&&(w=Math.floor(w)),x%r.slidesPerGroup===0&&f.push(w),h.push(w)):(r.roundLengths&&(w=Math.floor(w)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&f.push(w),h.push(w),w=w+B+b),e.virtualSize+=B+b,_=B,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,s&&c&&("slide"===r.effect||"coverflow"===r.effect)&&o.css({width:"".concat(e.virtualSize+r.spaceBetween,"px")}),r.setWrapperSize&&o.css((0,i.Z)({},t("width"),"".concat(e.virtualSize+r.spaceBetween,"px"))),C&&e.grid.updateWrapperSize(B,f,t),!r.centeredSlides){for(var M=[],R=0;R<f.length;R+=1){var $=f[R];r.roundLengths&&($=Math.floor($)),f[R]<=e.virtualSize-a&&M.push($)}f=M,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(0===f.length&&(f=[0]),0!==r.spaceBetween){var H=e.isHorizontal()&&s?"marginLeft":t("marginRight");A.filter((function(e,t){return!r.cssMode||t!==A.length-1})).css((0,i.Z)({},H,"".concat(b,"px")))}if(r.centeredSlides&&r.centeredSlidesBounds){var q=0;p.forEach((function(e){q+=e+(r.spaceBetween?r.spaceBetween:0)}));var K=(q-=r.spaceBetween)-a;f=f.map((function(e){return e<0?-m:e>K?K+g:e}))}if(r.centerInsufficientSlides){var V=0;if(p.forEach((function(e){V+=e+(r.spaceBetween?r.spaceBetween:0)})),(V-=r.spaceBetween)<a){var z=(a-V)/2;f.forEach((function(e,t){f[t]=e-z})),h.forEach((function(e,t){h[t]=e+z}))}}if(Object.assign(e,{slides:A,snapGrid:f,slidesGrid:h,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Qm(e.wrapperEl,"--swiper-centered-offset-before","".concat(-f[0],"px")),Qm(e.wrapperEl,"--swiper-centered-offset-after","".concat(e.size/2-p[p.length-1]/2,"px"));var Z=-e.snapGrid[0],G=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((function(e){return e+Z})),e.slidesGrid=e.slidesGrid.map((function(e){return e+G}))}if(d!==u&&e.emit("slidesLengthChange"),f.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){var W="".concat(r.containerModifierClass,"backface-hidden"),Y=e.$el.hasClass(W);d<=r.maxBackfaceHiddenSlides?Y||e.$el.addClass(W):Y&&e.$el.removeClass(W)}}},updateAutoHeight:function(e){var t,n=this,r=[],o=n.virtual&&n.params.virtual.enabled,i=0;"number"===typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);var a=function(e){return o?n.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:n.slides.eq(e)[0]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||Sm([])).each((function(e){r.push(e)}));else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length&&!o)break;r.push(a(s))}else r.push(a(n.activeIndex));for(t=0;t<r.length;t+=1)if("undefined"!==typeof r[t]){var c=r[t].offsetHeight;i=c>i?c:i}(i||0===i)&&n.$wrapperEl.css("height","".concat(i,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,r=t.slides,o=t.rtlTranslate,i=t.snapGrid;if(0!==r.length){"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();var a=-e;o&&(a=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<r.length;s+=1){var c=r[s],l=c.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);var u=(a+(n.centeredSlides?t.minTranslate():0)-l)/(c.swiperSlideSize+n.spaceBetween),A=(a-i[0]+(n.centeredSlides?t.minTranslate():0)-l)/(c.swiperSlideSize+n.spaceBetween),d=-(a-l),f=d+t.slidesSizesGrid[s],h=d>=0&&d<t.size-1||f>1&&f<=t.size||d<=0&&f>=t.size;h&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(s),r.eq(s).addClass(n.slideVisibleClass)),c.progress=o?-u:u,c.originalProgress=o?-A:A}t.visibleSlides=Sm(t.visibleSlides)}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var r=t.params,o=t.maxTranslate()-t.minTranslate(),i=t.progress,a=t.isBeginning,s=t.isEnd,c=a,l=s;0===o?(i=0,a=!0,s=!0):(a=(i=(e-t.minTranslate())/o)<=0,s=i>=1),Object.assign(t,{progress:i,isBeginning:a,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!c&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(c&&!a||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){var e,t=this,n=t.slides,r=t.params,o=t.$wrapperEl,i=t.activeIndex,a=t.realIndex,s=t.virtual&&r.virtual.enabled;n.removeClass("".concat(r.slideActiveClass," ").concat(r.slideNextClass," ").concat(r.slidePrevClass," ").concat(r.slideDuplicateActiveClass," ").concat(r.slideDuplicateNextClass," ").concat(r.slideDuplicatePrevClass)),(e=s?t.$wrapperEl.find(".".concat(r.slideClass,'[data-swiper-slide-index="').concat(i,'"]')):n.eq(i)).addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?o.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(a,'"]')).addClass(r.slideDuplicateActiveClass):o.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(a,'"]')).addClass(r.slideDuplicateActiveClass));var c=e.nextAll(".".concat(r.slideClass)).eq(0).addClass(r.slideNextClass);r.loop&&0===c.length&&(c=n.eq(0)).addClass(r.slideNextClass);var l=e.prevAll(".".concat(r.slideClass)).eq(0).addClass(r.slidePrevClass);r.loop&&0===l.length&&(l=n.eq(-1)).addClass(r.slidePrevClass),r.loop&&(c.hasClass(r.slideDuplicateClass)?o.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicateNextClass):o.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicateNextClass),l.hasClass(r.slideDuplicateClass)?o.children(".".concat(r.slideClass,":not(.").concat(r.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicatePrevClass):o.children(".".concat(r.slideClass,".").concat(r.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(r.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,o=n.slidesGrid,i=n.snapGrid,a=n.params,s=n.activeIndex,c=n.realIndex,l=n.snapIndex,u=e;if("undefined"===typeof u){for(var A=0;A<o.length;A+=1)"undefined"!==typeof o[A+1]?r>=o[A]&&r<o[A+1]-(o[A+1]-o[A])/2?u=A:r>=o[A]&&r<o[A+1]&&(u=A+1):r>=o[A]&&(u=A);a.normalizeSlideIndex&&(u<0||"undefined"===typeof u)&&(u=0)}if(i.indexOf(r)>=0)t=i.indexOf(r);else{var d=Math.min(a.slidesPerGroupSkip,u);t=d+Math.floor((u-d)/a.slidesPerGroup)}if(t>=i.length&&(t=i.length-1),u!==s){var f=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(n,{snapIndex:t,realIndex:f,previousIndex:s,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),c!==f&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else t!==l&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,n=this,r=n.params,o=Sm(e).closest(".".concat(r.slideClass))[0],i=!1;if(o)for(var a=0;a<n.slides.length;a+=1)if(n.slides[a]===o){i=!0,t=a;break}if(!o||!i)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(Sm(o).attr("data-swiper-slide-index"),10):n.clickedIndex=t,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var Vm={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,n=t.params,r=t.rtlTranslate,o=t.translate,i=t.$wrapperEl;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;var a=Pm(i[0],e);return r&&(a=-a),a||0},setTranslate:function(e,t){var n=this,r=n.rtlTranslate,o=n.params,i=n.$wrapperEl,a=n.wrapperEl,s=n.progress,c=0,l=0;n.isHorizontal()?c=r?-e:e:l=e,o.roundLengths&&(c=Math.floor(c),l=Math.floor(l)),o.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-l:o.virtualTranslate||i.transform("translate3d(".concat(c,"px, ").concat(l,"px, ").concat(0,"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:l;var u=n.maxTranslate()-n.minTranslate();(0===u?0:(e-n.minTranslate())/u)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4?arguments[4]:void 0,a=this,s=a.params,c=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l,u=a.minTranslate(),A=a.maxTranslate();if(l=r&&e>u?u:r&&e<A?A:e,a.updateProgress(l),s.cssMode){var d=a.isHorizontal();if(0===t)c[d?"scrollLeft":"scrollTop"]=-l;else{var f;if(!a.support.smoothScroll)return Um({swiper:a,targetPosition:-l,side:d?"left":"top"}),!0;c.scrollTo((f={},(0,i.Z)(f,d?"left":"top",-l),(0,i.Z)(f,"behavior","smooth"),f))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,o),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,o),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}};function zm(e){var t=e.swiper,n=e.runCallbacks,r=e.direction,o=e.step,i=t.activeIndex,a=t.previousIndex,s=r;if(s||(s=i>a?"next":i<a?"prev":"reset"),t.emit("transition".concat(o)),n&&i!==a){if("reset"===s)return void t.emit("slideResetTransition".concat(o));t.emit("slideChangeTransition".concat(o)),"next"===s?t.emit("slideNextTransition".concat(o)):t.emit("slidePrevTransition".concat(o))}}var Zm={setTransition:function(e,t){var n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),zm({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;n.animating=!1,r.cssMode||(n.setTransition(0),zm({swiper:n,runCallbacks:e,direction:t,step:"End"}))}};var Gm={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if("number"!==typeof e&&"string"!==typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(typeof e,"] given."));if("string"===typeof e){var a=parseInt(e,10),s=isFinite(a);if(!s)throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=a}var c=this,l=e;l<0&&(l=0);var u=c.params,A=c.snapGrid,d=c.slidesGrid,f=c.previousIndex,h=c.activeIndex,p=c.rtlTranslate,m=c.wrapperEl,g=c.enabled;if(c.animating&&u.preventInteractionOnTransition||!g&&!r&&!o)return!1;var v=Math.min(c.params.slidesPerGroupSkip,l),y=v+Math.floor((l-v)/c.params.slidesPerGroup);y>=A.length&&(y=A.length-1);var b,w=-A[y];if(u.normalizeSlideIndex)for(var _=0;_<d.length;_+=1){var x=-Math.floor(100*w),B=Math.floor(100*d[_]),C=Math.floor(100*d[_+1]);"undefined"!==typeof d[_+1]?x>=B&&x<C-(C-B)/2?l=_:x>=B&&x<C&&(l=_+1):x>=B&&(l=_)}if(c.initialized&&l!==h){if(!c.allowSlideNext&&w<c.translate&&w<c.minTranslate())return!1;if(!c.allowSlidePrev&&w>c.translate&&w>c.maxTranslate()&&(h||0)!==l)return!1}if(l!==(f||0)&&n&&c.emit("beforeSlideChangeStart"),c.updateProgress(w),b=l>h?"next":l<h?"prev":"reset",p&&-w===c.translate||!p&&w===c.translate)return c.updateActiveIndex(l),u.autoHeight&&c.updateAutoHeight(),c.updateSlidesClasses(),"slide"!==u.effect&&c.setTranslate(w),"reset"!==b&&(c.transitionStart(n,b),c.transitionEnd(n,b)),!1;if(u.cssMode){var E=c.isHorizontal(),j=p?w:-w;if(0===t){var k=c.virtual&&c.params.virtual.enabled;k&&(c.wrapperEl.style.scrollSnapType="none",c._immediateVirtual=!0),m[E?"scrollLeft":"scrollTop"]=j,k&&requestAnimationFrame((function(){c.wrapperEl.style.scrollSnapType="",c._swiperImmediateVirtual=!1}))}else{var S;if(!c.support.smoothScroll)return Um({swiper:c,targetPosition:j,side:E?"left":"top"}),!0;m.scrollTo((S={},(0,i.Z)(S,E?"left":"top",j),(0,i.Z)(S,"behavior","smooth"),S))}return!0}return c.setTransition(t),c.setTranslate(w),c.updateActiveIndex(l),c.updateSlidesClasses(),c.emit("beforeTransitionStart",t,r),c.transitionStart(n,b),0===t?c.transitionEnd(n,b):c.animating||(c.animating=!0,c.onSlideToWrapperTransitionEnd||(c.onSlideToWrapperTransitionEnd=function(e){c&&!c.destroyed&&e.target===this&&(c.$wrapperEl[0].removeEventListener("transitionend",c.onSlideToWrapperTransitionEnd),c.$wrapperEl[0].removeEventListener("webkitTransitionEnd",c.onSlideToWrapperTransitionEnd),c.onSlideToWrapperTransitionEnd=null,delete c.onSlideToWrapperTransitionEnd,c.transitionEnd(n,b))}),c.$wrapperEl[0].addEventListener("transitionend",c.onSlideToWrapperTransitionEnd),c.$wrapperEl[0].addEventListener("webkitTransitionEnd",c.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0;if("string"===typeof e){var o=parseInt(e,10),i=isFinite(o);if(!i)throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=o}var a=this,s=e;return a.params.loop&&(s+=a.loopedSlides),a.slideTo(s,t,n,r)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,o=r.animating,i=r.enabled,a=r.params;if(!i)return r;var s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));var c=r.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(o&&a.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+c,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,o=r.params,i=r.animating,a=r.snapGrid,s=r.slidesGrid,c=r.rtlTranslate,l=r.enabled;if(!l)return r;if(o.loop){if(i&&o.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}var u=c?r.translate:-r.translate;function A(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,f=A(u),h=a.map((function(e){return A(e)})),p=a[h.indexOf(f)-1];"undefined"===typeof p&&o.cssMode&&(a.forEach((function(e,t){f>=e&&(d=t)})),"undefined"!==typeof d&&(p=a[d>0?d-1:d]));var m=0;if("undefined"!==typeof p&&((m=s.indexOf(p))<0&&(m=r.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),o.rewind&&r.isBeginning){var g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}return r.slideTo(m,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this;return r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=this,i=o.activeIndex,a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),c=o.rtlTranslate?o.translate:-o.translate;if(c>=o.snapGrid[s]){var l=o.snapGrid[s],u=o.snapGrid[s+1];c-l>(u-l)*r&&(i+=o.params.slidesPerGroup)}else{var A=o.snapGrid[s-1],d=o.snapGrid[s];c-A<=(d-A)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,o="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,i=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(Sm(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?i<t.loopedSlides-o/2||i>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),i=r.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),Nm((function(){t.slideTo(i)}))):t.slideTo(i):i>t.slides.length-o?(t.loopFix(),i=r.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),Nm((function(){t.slideTo(i)}))):t.slideTo(i)}else t.slideTo(i)}};var Wm={loopCreate:function(){var e=this,t=pm(),n=e.params,r=e.$wrapperEl,o=r.children().length>0?Sm(r.children()[0].parentNode):r;o.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass)).remove();var i=o.children(".".concat(n.slideClass));if(n.loopFillGroupWithBlank){var a=n.slidesPerGroup-i.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(var s=0;s<a;s+=1){var c=Sm(t.createElement("div")).addClass("".concat(n.slideClass," ").concat(n.slideBlankClass));o.append(c)}i=o.children(".".concat(n.slideClass))}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>i.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=i.length);var l=[],u=[];i.each((function(e,t){Sm(e).attr("data-swiper-slide-index",t)}));for(var A=0;A<e.loopedSlides;A+=1){var d=A-Math.floor(A/i.length)*i.length;u.push(i.eq(d)[0]),l.unshift(i.eq(i.length-d-1)[0])}for(var f=0;f<u.length;f+=1)o.append(Sm(u[f].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=l.length-1;h>=0;h-=1)o.prepend(Sm(l[h].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,n=e.activeIndex,r=e.slides,o=e.loopedSlides,i=e.allowSlidePrev,a=e.allowSlideNext,s=e.snapGrid,c=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var l=-s[n]-e.getTranslate();if(n<o)t=r.length-3*o+n,t+=o,e.slideTo(t,0,!1,!0)&&0!==l&&e.setTranslate((c?-e.translate:e.translate)-l);else if(n>=r.length-o){t=-r.length+n+o,t+=o,e.slideTo(t,0,!1,!0)&&0!==l&&e.setTranslate((c?-e.translate:e.translate)-l)}e.allowSlidePrev=i,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides;t.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,",.").concat(n.slideClass,".").concat(n.slideBlankClass)).remove(),r.removeAttr("data-swiper-slide-index")}};function Ym(e){var t=this,n=pm(),r=gm(),o=t.touchEventsData,i=t.params,a=t.touches;if(t.enabled&&(!t.animating||!i.preventInteractionOnTransition)){!t.animating&&i.cssMode&&i.loop&&t.loopFix();var s=e;s.originalEvent&&(s=s.originalEvent);var c=Sm(s.target);if(("wrapper"!==i.touchEventsTarget||c.closest(t.wrapperEl).length)&&(o.isTouchEvent="touchstart"===s.type,(o.isTouchEvent||!("which"in s)||3!==s.which)&&!(!o.isTouchEvent&&"button"in s&&s.button>0)&&(!o.isTouched||!o.isMoved))){var l=!!i.noSwipingClass&&""!==i.noSwipingClass,u=e.composedPath?e.composedPath():e.path;l&&s.target&&s.target.shadowRoot&&u&&(c=Sm(u[0]));var A=i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass),d=!(!s.target||!s.target.shadowRoot);if(i.noSwiping&&(d?function(e){function t(n){if(!n||n===pm()||n===gm())return null;n.assignedSlot&&(n=n.assignedSlot);var r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}return t(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this)}(A,c[0]):c.closest(A)[0]))t.allowClick=!0;else if(!i.swipeHandler||c.closest(i.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var f=a.currentX,h=a.currentY,p=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,m=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(p&&(f<=m||f>=r.innerWidth-m)){if("prevent"!==p)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=h,o.touchStartTime=Fm(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==s.type){var g=!0;c.is(o.focusableElements)&&(g=!1,"SELECT"===c[0].nodeName&&(o.isTouched=!1)),n.activeElement&&Sm(n.activeElement).is(o.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();var v=g&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!v||c[0].isContentEditable||s.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",s)}}}}function Xm(e){var t=pm(),n=this,r=n.touchEventsData,o=n.params,i=n.touches,a=n.rtlTranslate;if(n.enabled){var s=e;if(s.originalEvent&&(s=s.originalEvent),r.isTouched){if(!r.isTouchEvent||"touchmove"===s.type){var c="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),l="touchmove"===s.type?c.pageX:s.pageX,u="touchmove"===s.type?c.pageY:s.pageY;if(s.preventedByNestedSwiper)return i.startX=l,void(i.startY=u);if(!n.allowTouchMove)return Sm(s.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(i,{startX:l,startY:u,currentX:l,currentY:u}),r.touchStartTime=Fm()));if(r.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(u<i.startY&&n.translate<=n.maxTranslate()||u>i.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(l<i.startX&&n.translate<=n.maxTranslate()||l>i.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&Sm(s.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){i.currentX=l,i.currentY=u;var A=i.currentX-i.startX,d=i.currentY-i.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(A,2)+Math.pow(d,2))<n.params.threshold)){var f;if("undefined"===typeof r.isScrolling)n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:A*A+d*d>=25&&(f=180*Math.atan2(Math.abs(d),Math.abs(A))/Math.PI,r.isScrolling=n.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle);if(r.isScrolling&&n.emit("touchMoveOpposite",s),"undefined"===typeof r.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(r.startMoving=!0)),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!o.cssMode&&s.cancelable&&s.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&s.stopPropagation(),r.isMoved||(o.loop&&!o.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",s)),n.emit("sliderMove",s),r.isMoved=!0;var h=n.isHorizontal()?A:d;i.diff=h,h*=o.touchRatio,a&&(h=-h),n.swipeDirection=h>0?"prev":"next",r.currentTranslate=h+r.startTranslate;var p=!0,m=o.resistanceRatio;if(o.touchReleaseOnEdges&&(m=0),h>0&&r.currentTranslate>n.minTranslate()?(p=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+h,m))):h<0&&r.currentTranslate<n.maxTranslate()&&(p=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-h,m))),p&&(s.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),o.threshold>0){if(!(Math.abs(h)>o.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s)}}function Jm(e){var t=this,n=t.touchEventsData,r=t.params,o=t.touches,i=t.rtlTranslate,a=t.slidesGrid;if(t.enabled){var s=e;if(s.originalEvent&&(s=s.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",s),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,l=Fm(),u=l-n.touchStartTime;if(t.allowClick){var A=s.path||s.composedPath&&s.composedPath();t.updateClickedSlide(A&&A[0]||s.target),t.emit("tap click",s),u<300&&l-n.lastClickTime<300&&t.emit("doubleTap doubleClick",s)}if(n.lastClickTime=Fm(),Nm((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===o.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=r.followFinger?i?t.translate:-t.translate:-n.currentTranslate,!r.cssMode)if(t.params.freeMode&&r.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:c});else{for(var d=0,f=t.slidesSizesGrid[0],h=0;h<a.length;h+=h<r.slidesPerGroupSkip?1:r.slidesPerGroup){var p=h<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;"undefined"!==typeof a[h+p]?c>=a[h]&&c<a[h+p]&&(d=h,f=a[h+p]-a[h]):c>=a[h]&&(d=h,f=a[a.length-1]-a[a.length-2])}var m=null,g=null;r.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));var v=(c-a[d])/f,y=d<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?m:d+y):t.slideTo(d)),"prev"===t.swipeDirection&&(v>1-r.longSwipesRatio?t.slideTo(d+y):null!==g&&v<0&&Math.abs(v)>r.longSwipesRatio?t.slideTo(g):t.slideTo(d))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(s.target===t.navigation.nextEl||s.target===t.navigation.prevEl)?s.target===t.navigation.nextEl?t.slideTo(d+y):t.slideTo(d):("next"===t.swipeDirection&&t.slideTo(null!==m?m:d+y),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:d))}}}}function eg(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,o=e.allowSlidePrev,i=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}}function tg(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function ng(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var rg=!1;function og(){}var ig=function(e,t){var n=pm(),r=e.params,o=e.touchEvents,i=e.el,a=e.wrapperEl,s=e.device,c=e.support,l=!!r.nested,u="on"===t?"addEventListener":"removeEventListener",A=t;if(c.touch){var d=!("touchstart"!==o.start||!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};i[u](o.start,e.onTouchStart,d),i[u](o.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:l}:l),i[u](o.end,e.onTouchEnd,d),o.cancel&&i[u](o.cancel,e.onTouchEnd,d)}else i[u](o.start,e.onTouchStart,!1),n[u](o.move,e.onTouchMove,l),n[u](o.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&i[u]("click",e.onClick,!0),r.cssMode&&a[u]("scroll",e.onScroll),r.updateOnWindowResize?e[A](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",eg,!0):e[A]("observerUpdate",eg,!0)};var ag={attachEvents:function(){var e=this,t=pm(),n=e.params,r=e.support;e.onTouchStart=Ym.bind(e),e.onTouchMove=Xm.bind(e),e.onTouchEnd=Jm.bind(e),n.cssMode&&(e.onScroll=ng.bind(e)),e.onClick=tg.bind(e),r.touch&&!rg&&(t.addEventListener("touchstart",og),rg=!0),ig(e,"on")},detachEvents:function(){ig(this,"off")}},sg=function(e,t){return e.grid&&t.grid&&t.grid.rows>1};var cg={setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,r=e.loopedSlides,o=void 0===r?0:r,i=e.params,a=e.$el,s=i.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var c=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(c&&e.currentBreakpoint!==c){var l=(c in s?s[c]:void 0)||e.originalParams,u=sg(e,i),A=sg(e,l),d=i.enabled;u&&!A?(a.removeClass("".concat(i.containerModifierClass,"grid ").concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()):!u&&A&&(a.addClass("".concat(i.containerModifierClass,"grid")),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&a.addClass("".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(t){var n=i[t]&&i[t].enabled,r=l[t]&&l[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));var f=l.direction&&l.direction!==i.direction,h=i.loop&&(l.slidesPerView!==i.slidesPerView||f);f&&n&&e.changeDirection(),Dm(e.params,l);var p=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!p?e.disable():!d&&p&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",l),h&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-o+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}},getBreakpoint:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"window",n=arguments.length>2?arguments[2]:void 0;if(e&&("container"!==t||n)){var r=!1,o=gm(),i="window"===t?o.innerHeight:n.clientHeight,a=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));a.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var s=0;s<a.length;s+=1){var c=a[s],l=c.point,u=c.value;"window"===t?o.matchMedia("(min-width: ".concat(u,"px)")).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}}};var lg={addClasses:function(){var e=this,t=e.classNames,n=e.params,r=e.rtl,o=e.$el,i=e.device,a=e.support,s=function(e,t){var n=[];return e.forEach((function(e){"object"===typeof e?Object.keys(e).forEach((function(r){e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push.apply(t,(0,x.Z)(s)),o.addClass((0,x.Z)(t).join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,n=e.classNames;t.removeClass(n.join(" ")),e.emitContainerClasses()}};var ug={loadImage:function(e,t,n,r,o,i){var a,s=gm();function c(){i&&i()}Sm(e).parent("picture")[0]||e.complete&&o?c():t?((a=new s.Image).onload=c,a.onerror=c,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):c()},preloadImages:function(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}};var Ag={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function dg(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.keys(n)[0],o=n[r];"object"===typeof o&&null!==o?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in o?(!0===e[r]&&(e[r]={enabled:!0}),"object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),Dm(t,n)):Dm(t,n)):Dm(t,n)}}var fg={eventsEmitter:qm,update:Km,translate:Vm,transition:Zm,slide:Gm,loop:Wm,grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:ag,breakpoints:cg,checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked,n=e.params,r=n.slidesOffsetBefore;if(r){var o=e.slides.length-1,i=e.slidesGrid[o]+e.slidesSizesGrid[o]+2*r;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:lg,images:ug},hg={},pg=function(){function e(){var t,n;(0,yt.Z)(this,e);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];if(1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?n=o[0]:(t=o[0],n=o[1]),n||(n={}),n=Dm({},n),t&&!n.el&&(n.el=t),n.el&&Sm(n.el).length>1){var a=[];return Sm(n.el).each((function(t){var r=Dm({},n,{el:t});a.push(new e(r))})),a}var s,c=this;(c.__swiper__=!0,c.support=Mm(),c.device=$m({userAgent:n.userAgent}),c.browser=Hm(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=(0,x.Z)(c.__modules__),n.modules&&Array.isArray(n.modules))&&(s=c.modules).push.apply(s,(0,x.Z)(n.modules));var l={};c.modules.forEach((function(e){e({swiper:c,extendParams:dg(n,l),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})}));var u=Dm({},Ag,l);return c.params=Dm({},u,hg,n),c.originalParams=Dm({},c.params),c.passedParams=Dm({},n),c.params&&c.params.on&&Object.keys(c.params.on).forEach((function(e){c.on(e,c.params.on[e])})),c.params&&c.params.onAny&&c.onAny(c.params.onAny),c.$=Sm,Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:Sm(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===c.params.direction},isVertical:function(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return c.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},c.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},c.support.touch||!c.params.simulateTouch?c.touchEventsTouch:c.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:Fm(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}return(0,bt.Z)(e,[{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var r=n.minTranslate(),o=(n.maxTranslate()-r)*e+r;n.translateTo(o,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,r=n.params,o=n.slides,i=n.slidesGrid,a=n.slidesSizesGrid,s=n.size,c=n.activeIndex,l=1;if(r.centeredSlides){for(var u,A=o[c].swiperSlideSize,d=c+1;d<o.length;d+=1)o[d]&&!u&&(l+=1,(A+=o[d].swiperSlideSize)>s&&(u=!0));for(var f=c-1;f>=0;f-=1)o[f]&&!u&&(l+=1,(A+=o[f].swiperSlideSize)>s&&(u=!0))}else if("current"===e)for(var h=c+1;h<o.length;h+=1){var p=t?i[h]+a[h]-i[c]<s:i[h]-i[c]<s;p&&(l+=1)}else for(var m=c-1;m>=0;m-=1){var g=i[c]-i[m]<s;g&&(l+=1)}return l}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||r(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass("".concat(n.params.containerModifierClass).concat(r)).addClass("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.$el.removeClass("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=Sm(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},o=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=Sm(e.shadowRoot.querySelector(r()));return t.children=function(e){return n.children(e)},t}return n.children?n.children(r()):Sm(n).children(r())}();if(0===o.length&&t.params.createElements){var i=pm().createElement("div");o=Sm(i),i.className=t.params.wrapperClass,n.append(i),n.children(".".concat(t.params.slideClass)).each((function(e){o.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===o.css("display")}),!0}},{key:"init",value:function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params,o=n.$el,i=n.$wrapperEl,a=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o.removeAttr("style"),i.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,Om(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){Dm(hg,e)}},{key:"extendedDefaults",get:function(){return hg}},{key:"defaults",get:function(){return Ag}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var n=e.prototype.__modules__;"function"===typeof t&&n.indexOf(t)<0&&n.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}]),e}();Object.keys(fg).forEach((function(e){Object.keys(fg[e]).forEach((function(t){pg.prototype[t]=fg[e][t]}))})),pg.use([function(e){var t=e.swiper,n=e.on,r=e.emit,o=gm(),i=null,a=null,s=function(){t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},c=function(){t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(function(){t.params.resizeObserver&&"undefined"!==typeof o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(i=new ResizeObserver((function(e){a=o.requestAnimationFrame((function(){var n=t.width,r=t.height,o=n,i=r;e.forEach((function(e){var n=e.contentBoxSize,r=e.contentRect,a=e.target;a&&a!==t.el||(o=r?r.width:(n[0]||n).inlineSize,i=r?r.height:(n[0]||n).blockSize)})),o===n&&i===r||s()}))})),i.observe(t.el)):(o.addEventListener("resize",s),o.addEventListener("orientationchange",c))})),n("destroy",(function(){a&&o.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)}))},function(e){var t=e.swiper,n=e.extendParams,r=e.on,o=e.emit,i=[],a=gm(),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.MutationObserver||a.WebkitMutationObserver,r=new n((function(e){if(1!==e.length){var t=function(){o("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)}else o("observerUpdate",e[0])}));r.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),i.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(function(){if(t.params.observer){if(t.params.observeParents)for(var e=t.$el.parents(),n=0;n<e.length;n+=1)s(e[n]);s(t.$el[0],{childList:t.params.observeSlideChildren}),s(t.$wrapperEl[0],{attributes:!1})}})),r("destroy",(function(){i.forEach((function(e){e.disconnect()})),i.splice(0,i.length)}))}]);var mg=pg;function gg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return".".concat(e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,"."))}function vg(e){var t,n=e.swiper,r=e.extendParams,o=e.on,i=e.emit,a="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(a,"-bullet"),bulletActiveClass:"".concat(a,"-bullet-active"),modifierClass:"".concat(a,"-"),currentClass:"".concat(a,"-current"),totalClass:"".concat(a,"-total"),hiddenClass:"".concat(a,"-hidden"),progressbarFillClass:"".concat(a,"-progressbar-fill"),progressbarOppositeClass:"".concat(a,"-progressbar-opposite"),clickableClass:"".concat(a,"-clickable"),lockClass:"".concat(a,"-lock"),horizontalClass:"".concat(a,"-horizontal"),verticalClass:"".concat(a,"-vertical"),paginationDisabledClass:"".concat(a,"-disabled")}}),n.pagination={el:null,$el:null,bullets:[]};var s=0;function c(){return!n.params.pagination.el||!n.pagination.el||!n.pagination.$el||0===n.pagination.$el.length}function l(e,t){var r=n.params.pagination.bulletActiveClass;e[t]().addClass("".concat(r,"-").concat(t))[t]().addClass("".concat(r,"-").concat(t,"-").concat(t))}function u(){var e=n.rtl,r=n.params.pagination;if(!c()){var o,a=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,u=n.pagination.$el,A=n.params.loop?Math.ceil((a-2*n.loopedSlides)/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?((o=Math.ceil((n.activeIndex-n.loopedSlides)/n.params.slidesPerGroup))>a-1-2*n.loopedSlides&&(o-=a-2*n.loopedSlides),o>A-1&&(o-=A),o<0&&"bullets"!==n.params.paginationType&&(o=A+o)):o="undefined"!==typeof n.snapIndex?n.snapIndex:n.activeIndex||0,"bullets"===r.type&&n.pagination.bullets&&n.pagination.bullets.length>0){var d,f,h,p=n.pagination.bullets;if(r.dynamicBullets&&(t=p.eq(0)[n.isHorizontal()?"outerWidth":"outerHeight"](!0),u.css(n.isHorizontal()?"width":"height","".concat(t*(r.dynamicMainBullets+4),"px")),r.dynamicMainBullets>1&&void 0!==n.previousIndex&&((s+=o-(n.previousIndex-n.loopedSlides||0))>r.dynamicMainBullets-1?s=r.dynamicMainBullets-1:s<0&&(s=0)),d=Math.max(o-s,0),h=((f=d+(Math.min(p.length,r.dynamicMainBullets)-1))+d)/2),p.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((function(e){return"".concat(r.bulletActiveClass).concat(e)})).join(" ")),u.length>1)p.each((function(e){var t=Sm(e),n=t.index();n===o&&t.addClass(r.bulletActiveClass),r.dynamicBullets&&(n>=d&&n<=f&&t.addClass("".concat(r.bulletActiveClass,"-main")),n===d&&l(t,"prev"),n===f&&l(t,"next"))}));else{var m=p.eq(o),g=m.index();if(m.addClass(r.bulletActiveClass),r.dynamicBullets){for(var v=p.eq(d),y=p.eq(f),b=d;b<=f;b+=1)p.eq(b).addClass("".concat(r.bulletActiveClass,"-main"));if(n.params.loop)if(g>=p.length){for(var w=r.dynamicMainBullets;w>=0;w-=1)p.eq(p.length-w).addClass("".concat(r.bulletActiveClass,"-main"));p.eq(p.length-r.dynamicMainBullets-1).addClass("".concat(r.bulletActiveClass,"-prev"))}else l(v,"prev"),l(y,"next");else l(v,"prev"),l(y,"next")}}if(r.dynamicBullets){var _=Math.min(p.length,r.dynamicMainBullets+4),x=(t*_-t)/2-h*t,B=e?"right":"left";p.css(n.isHorizontal()?B:"top","".concat(x,"px"))}}if("fraction"===r.type&&(u.find(gg(r.currentClass)).text(r.formatFractionCurrent(o+1)),u.find(gg(r.totalClass)).text(r.formatFractionTotal(A))),"progressbar"===r.type){var C;C=r.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";var E=(o+1)/A,j=1,k=1;"horizontal"===C?j=E:k=E,u.find(gg(r.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(j,") scaleY(").concat(k,")")).transition(n.params.speed)}"custom"===r.type&&r.renderCustom?(u.html(r.renderCustom(n,o+1,A)),i("paginationRender",u[0])):i("paginationUpdate",u[0]),n.params.watchOverflow&&n.enabled&&u[n.isLocked?"addClass":"removeClass"](r.lockClass)}}function A(){var e=n.params.pagination;if(!c()){var t=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,r=n.pagination.$el,o="";if("bullets"===e.type){var a=n.params.loop?Math.ceil((t-2*n.loopedSlides)/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&!n.params.loop&&a>t&&(a=t);for(var s=0;s<a;s+=1)e.renderBullet?o+=e.renderBullet.call(n,s,e.bulletClass):o+="<".concat(e.bulletElement,' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">");r.html(o),n.pagination.bullets=r.find(gg(e.bulletClass))}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(n,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>'),r.html(o)),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(n,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>'),r.html(o)),"custom"!==e.type&&i("paginationRender",n.pagination.$el[0])}}function d(){n.params.pagination=function(e,t,n,r){var o=pm();return e.params.createElements&&Object.keys(r).forEach((function(i){if(!n[i]&&!0===n.auto){var a=e.$el.children(".".concat(r[i]))[0];a||((a=o.createElement("div")).className=r[i],e.$el.append(a)),n[i]=a,t[i]=a}})),n}(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});var e=n.params.pagination;if(e.el){var t=Sm(e.el);0!==t.length&&(n.params.uniqueNavElements&&"string"===typeof e.el&&t.length>1&&(t=n.$el.find(e.el)).length>1&&(t=t.filter((function(e){return Sm(e).parents(".swiper")[0]===n.el}))),"bullets"===e.type&&e.clickable&&t.addClass(e.clickableClass),t.addClass(e.modifierClass+e.type),t.addClass(n.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(t.addClass("".concat(e.modifierClass).concat(e.type,"-dynamic")),s=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&t.addClass(e.progressbarOppositeClass),e.clickable&&t.on("click",gg(e.bulletClass),(function(e){e.preventDefault();var t=Sm(this).index()*n.params.slidesPerGroup;n.params.loop&&(t+=n.loopedSlides),n.slideTo(t)})),Object.assign(n.pagination,{$el:t,el:t[0]}),n.enabled||t.addClass(e.lockClass))}}function f(){var e=n.params.pagination;if(!c()){var t=n.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),t.removeClass(n.isHorizontal()?e.horizontalClass:e.verticalClass),n.pagination.bullets&&n.pagination.bullets.removeClass&&n.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click",gg(e.bulletClass))}}o("init",(function(){!1===n.params.pagination.enabled?h():(d(),A(),u())})),o("activeIndexChange",(function(){(n.params.loop||"undefined"===typeof n.snapIndex)&&u()})),o("snapIndexChange",(function(){n.params.loop||u()})),o("slidesLengthChange",(function(){n.params.loop&&(A(),u())})),o("snapGridLengthChange",(function(){n.params.loop||(A(),u())})),o("destroy",(function(){f()})),o("enable disable",(function(){var e=n.pagination.$el;e&&e[n.enabled?"removeClass":"addClass"](n.params.pagination.lockClass)})),o("lock unlock",(function(){u()})),o("click",(function(e,t){var r=t.target,o=n.pagination.$el;if(n.params.pagination.el&&n.params.pagination.hideOnClick&&o&&o.length>0&&!Sm(r).hasClass(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&r===n.navigation.nextEl||n.navigation.prevEl&&r===n.navigation.prevEl))return;var a=o.hasClass(n.params.pagination.hiddenClass);i(!0===a?"paginationShow":"paginationHide"),o.toggleClass(n.params.pagination.hiddenClass)}}));var h=function(){n.$el.addClass(n.params.pagination.paginationDisabledClass),n.pagination.$el&&n.pagination.$el.addClass(n.params.pagination.paginationDisabledClass),f()};Object.assign(n.pagination,{enable:function(){n.$el.removeClass(n.params.pagination.paginationDisabledClass),n.pagination.$el&&n.pagination.$el.removeClass(n.params.pagination.paginationDisabledClass),d(),A(),u()},disable:h,render:A,update:u,init:d,destroy:f})}function yg(e){var t,n=e.swiper,r=e.extendParams,o=e.on,i=e.emit;function a(){if(!n.size)return n.autoplay.running=!1,void(n.autoplay.paused=!1);var e=n.slides.eq(n.activeIndex),r=n.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(r=e.attr("data-swiper-autoplay")||n.params.autoplay.delay),clearTimeout(t),t=Nm((function(){var e;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),e=n.slidePrev(n.params.speed,!0,!0),i("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?c():(e=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),i("autoplay")):(e=n.slidePrev(n.params.speed,!0,!0),i("autoplay")):n.params.loop?(n.loopFix(),e=n.slideNext(n.params.speed,!0,!0),i("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?c():(e=n.slideTo(0,n.params.speed,!0,!0),i("autoplay")):(e=n.slideNext(n.params.speed,!0,!0),i("autoplay")),(n.params.cssMode&&n.autoplay.running||!1===e)&&a()}),r)}function s(){return"undefined"===typeof t&&(!n.autoplay.running&&(n.autoplay.running=!0,i("autoplayStart"),a(),!0))}function c(){return!!n.autoplay.running&&("undefined"!==typeof t&&(t&&(clearTimeout(t),t=void 0),n.autoplay.running=!1,i("autoplayStop"),!0))}function l(e){n.autoplay.running&&(n.autoplay.paused||(t&&clearTimeout(t),n.autoplay.paused=!0,0!==e&&n.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].addEventListener(e,A)})):(n.autoplay.paused=!1,a())))}function u(){var e=pm();"hidden"===e.visibilityState&&n.autoplay.running&&l(),"visible"===e.visibilityState&&n.autoplay.paused&&(a(),n.autoplay.paused=!1)}function A(e){n&&!n.destroyed&&n.$wrapperEl&&e.target===n.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].removeEventListener(e,A)})),n.autoplay.paused=!1,n.autoplay.running?a():c())}function d(){n.params.autoplay.disableOnInteraction?c():(i("autoplayPause"),l()),["transitionend","webkitTransitionEnd"].forEach((function(e){n.$wrapperEl[0].removeEventListener(e,A)}))}function f(){n.params.autoplay.disableOnInteraction||(n.autoplay.paused=!1,i("autoplayResume"),a())}n.autoplay={running:!1,paused:!1},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),o("init",(function(){n.params.autoplay.enabled&&(s(),pm().addEventListener("visibilitychange",u),n.params.autoplay.pauseOnMouseEnter&&(n.$el.on("mouseenter",d),n.$el.on("mouseleave",f)))})),o("beforeTransitionStart",(function(e,t,r){n.autoplay.running&&(r||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):c())})),o("sliderFirstMove",(function(){n.autoplay.running&&(n.params.autoplay.disableOnInteraction?c():l())})),o("touchEnd",(function(){n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&a()})),o("destroy",(function(){n.$el.off("mouseenter",d),n.$el.off("mouseleave",f),n.autoplay.running&&c(),pm().removeEventListener("visibilitychange",u)})),Object.assign(n.autoplay,{pause:l,run:a,start:s,stop:c})}function bg(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function wg(e,t){var n=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return n.indexOf(e)<0})).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:bg(t[n])&&bg(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:wg(e[n],t[n]):e[n]=t[n]}))}function _g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function xg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.pagination&&"undefined"===typeof e.pagination.el}function Bg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.scrollbar&&"undefined"===typeof e.scrollbar.el}function Cg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),n=[];return t.forEach((function(e){n.indexOf(e)<0&&n.push(e)})),n.join(" ")}var Eg=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];var jg=function(e,t){var n=t.slidesPerView;if(t.breakpoints){var r=mg.prototype.getBreakpoint(t.breakpoints),o=r in t.breakpoints?t.breakpoints[r]:void 0;o&&o.slidesPerView&&(n=o.slidesPerView)}var i=Math.ceil(parseFloat(t.loopedSlides||n,10));return(i+=t.loopAdditionalSlides)>e.length&&t.loopedSlidesLimit&&(i=e.length),i};function kg(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function Sg(e){var n=[];return t.Children.toArray(e).forEach((function(e){kg(e)?n.push(e):e.props&&e.props.children&&Sg(e.props.children).forEach((function(e){return n.push(e)}))})),n}function Og(e){var n=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return t.Children.toArray(e).forEach((function(e){if(kg(e))n.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){var t=Sg(e.props.children);t.length>0?t.forEach((function(e){return n.push(e)})):r["container-end"].push(e)}else r["container-end"].push(e)})),{slides:n,slots:r}}function Ng(e){var t,n,r,o,i,a=e.swiper,s=e.slides,c=e.passedParams,l=e.changedParams,u=e.nextEl,A=e.prevEl,d=e.scrollbarEl,f=e.paginationEl,h=l.filter((function(e){return"children"!==e&&"direction"!==e})),p=a.params,m=a.pagination,g=a.navigation,v=a.scrollbar,y=a.virtual,b=a.thumbs;l.includes("thumbs")&&c.thumbs&&c.thumbs.swiper&&p.thumbs&&!p.thumbs.swiper&&(t=!0),l.includes("controller")&&c.controller&&c.controller.control&&p.controller&&!p.controller.control&&(n=!0),l.includes("pagination")&&c.pagination&&(c.pagination.el||f)&&(p.pagination||!1===p.pagination)&&m&&!m.el&&(r=!0),l.includes("scrollbar")&&c.scrollbar&&(c.scrollbar.el||d)&&(p.scrollbar||!1===p.scrollbar)&&v&&!v.el&&(o=!0),l.includes("navigation")&&c.navigation&&(c.navigation.prevEl||A)&&(c.navigation.nextEl||u)&&(p.navigation||!1===p.navigation)&&g&&!g.prevEl&&!g.nextEl&&(i=!0);(h.forEach((function(e){if(bg(p[e])&&bg(c[e]))wg(p[e],c[e]);else{var t=c[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?p[e]=c[e]:!1===t&&function(e){a[e]&&(a[e].destroy(),"navigation"===e?(p[e].prevEl=void 0,p[e].nextEl=void 0,a[e].prevEl=void 0,a[e].nextEl=void 0):(p[e].el=void 0,a[e].el=void 0))}(e)}})),h.includes("controller")&&!n&&a.controller&&a.controller.control&&p.controller&&p.controller.control&&(a.controller.control=p.controller.control),l.includes("children")&&s&&y&&p.virtual.enabled?(y.slides=s,y.update(!0)):l.includes("children")&&a.lazy&&a.params.lazy.enabled&&a.lazy.load(),t)&&(b.init()&&b.update(!0));n&&(a.controller.control=p.controller.control),r&&(f&&(p.pagination.el=f),m.init(),m.render(),m.update()),o&&(d&&(p.scrollbar.el=d),v.init(),v.updateSize(),v.setTranslate()),i&&(u&&(p.navigation.nextEl=u),A&&(p.navigation.prevEl=A),g.init(),g.update()),l.includes("allowSlideNext")&&(a.allowSlideNext=c.allowSlideNext),l.includes("allowSlidePrev")&&(a.allowSlidePrev=c.allowSlidePrev),l.includes("direction")&&a.changeDirection(c.direction,!1),a.update()}function Fg(e,n){return"undefined"===typeof window?(0,t.useEffect)(e,n):(0,t.useLayoutEffect)(e,n)}var Ig=(0,t.createContext)(null),Pg=(0,t.createContext)(null),Lg=["className","tag","wrapperTag","children","onSwiper"];function Tg(){return Tg=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},Tg.apply(this,arguments)}var Dg=(0,t.forwardRef)((function(e,n){var r=void 0===e?{}:e,o=r.className,a=r.tag,s=void 0===a?"div":a,l=r.wrapperTag,u=void 0===l?"div":l,A=r.children,d=r.onSwiper,f=c(r,Lg),h=!1,p=(0,t.useState)("swiper"),m=(0,B.Z)(p,2),g=m[0],v=m[1],y=(0,t.useState)(null),b=(0,B.Z)(y,2),w=b[0],_=b[1],C=(0,t.useState)(!1),E=(0,B.Z)(C,2),j=E[0],k=E[1],S=(0,t.useRef)(!1),O=(0,t.useRef)(null),N=(0,t.useRef)(null),F=(0,t.useRef)(null),I=(0,t.useRef)(null),P=(0,t.useRef)(null),L=(0,t.useRef)(null),T=(0,t.useRef)(null),D=(0,t.useRef)(null),Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={on:{}},r={},o={};wg(n,mg.defaults),wg(n,mg.extendedDefaults),n._emitClasses=!0,n.init=!1;var i={},a=Eg.map((function(e){return e.replace(/_/,"")})),s=Object.assign({},e);return Object.keys(s).forEach((function(s){"undefined"!==typeof e[s]&&(a.indexOf(s)>=0?bg(e[s])?(n[s]={},o[s]={},wg(n[s],e[s]),wg(o[s],e[s])):(n[s]=e[s],o[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"===typeof e[s]?t?r["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:n.on["".concat(s[2].toLowerCase()).concat(s.substr(3))]=e[s]:i[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((function(e){!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:o,rest:i,events:r}}(f),U=Q.params,M=Q.passedParams,R=Q.rest,$=Q.events,H=Og(A),q=H.slides,K=H.slots,V=function(){k(!j)};Object.assign(U.on,{_containerClasses:function(e,t){v(t)}});var z=function(){if(Object.assign(U.on,$),h=!0,N.current=new mg(U),N.current.loopCreate=function(){},N.current.loopDestroy=function(){},U.loop&&(N.current.loopedSlides=jg(q,U)),N.current.virtual&&N.current.params.virtual.enabled){N.current.virtual.slides=q;var e={cache:!1,slides:q,renderExternal:_,renderExternalUpdate:!1};wg(N.current.params.virtual,e),wg(N.current.originalParams.virtual,e)}};O.current||z(),N.current&&N.current.on("_beforeBreakpoint",V);return(0,t.useEffect)((function(){return function(){N.current&&N.current.off("_beforeBreakpoint",V)}})),(0,t.useEffect)((function(){!S.current&&N.current&&(N.current.emitSlidesClasses(),S.current=!0)})),Fg((function(){if(n&&(n.current=O.current),O.current)return N.current.destroyed&&z(),function(e,t){var n=e.el,r=e.nextEl,o=e.prevEl,i=e.paginationEl,a=e.scrollbarEl,s=e.swiper;_g(t)&&r&&o&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),xg(t)&&i&&(s.params.pagination.el=i,s.originalParams.pagination.el=i),Bg(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:O.current,nextEl:P.current,prevEl:L.current,paginationEl:T.current,scrollbarEl:D.current,swiper:N.current},U),d&&d(N.current),function(){N.current&&!N.current.destroyed&&N.current.destroy(!0,!1)}}),[]),Fg((function(){!h&&$&&N.current&&Object.keys($).forEach((function(e){N.current.on(e,$[e])}));var e=function(e,t,n,r,o){var i=[];if(!t)return i;var a=function(e){i.indexOf(e)<0&&i.push(e)};if(n&&r){var s=r.map(o),c=n.map(o);s.join("")!==c.join("")&&a("children"),r.length!==n.length&&a("children")}return Eg.filter((function(e){return"_"===e[0]})).map((function(e){return e.replace(/_/,"")})).forEach((function(n){if(n in e&&n in t)if(bg(e[n])&&bg(t[n])){var r=Object.keys(e[n]),o=Object.keys(t[n]);r.length!==o.length?a(n):(r.forEach((function(r){e[n][r]!==t[n][r]&&a(n)})),o.forEach((function(r){e[n][r]!==t[n][r]&&a(n)})))}else e[n]!==t[n]&&a(n)})),i}(M,F.current,q,I.current,(function(e){return e.key}));return F.current=M,I.current=q,e.length&&N.current&&!N.current.destroyed&&Ng({swiper:N.current,slides:q,passedParams:M,changedParams:e,nextEl:P.current,prevEl:L.current,scrollbarEl:D.current,paginationEl:T.current}),function(){$&&N.current&&Object.keys($).forEach((function(e){N.current.off(e,$[e])}))}})),Fg((function(){var e;!(e=N.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[w]),t.createElement(s,Tg({ref:O,className:Cg("".concat(g).concat(o?" ".concat(o):""))},R),t.createElement(Pg.Provider,{value:N.current},K["container-start"],t.createElement(u,{className:"swiper-wrapper"},K["wrapper-start"],U.virtual?function(e,n,r){if(!r)return null;var o=e.isHorizontal()?(0,i.Z)({},e.rtlTranslate?"right":"left","".concat(r.offset,"px")):{top:"".concat(r.offset,"px")};return n.filter((function(e,t){return t>=r.from&&t<=r.to})).map((function(n){return t.cloneElement(n,{swiper:e,style:o})}))}(N.current,q,w):!U.loop||N.current&&N.current.destroyed?q.map((function(e){return t.cloneElement(e,{swiper:N.current})})):function(e,n,r){var o=n.map((function(n,r){return t.cloneElement(n,{swiper:e,"data-swiper-slide-index":r})}));function i(e,n,o){return t.cloneElement(e,{key:"".concat(e.key,"-duplicate-").concat(n,"-").concat(o),className:"".concat(e.props.className||""," ").concat(r.slideDuplicateClass)})}if(r.loopFillGroupWithBlank){var a=r.slidesPerGroup-o.length%r.slidesPerGroup;if(a!==r.slidesPerGroup)for(var s=0;s<a;s+=1){var c=t.createElement("div",{className:"".concat(r.slideClass," ").concat(r.slideBlankClass)});o.push(c)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=o.length);for(var l=jg(o,r),u=[],A=[],d=0;d<l;d+=1){var f=d-Math.floor(d/o.length)*o.length;A.push(i(o[f],d,"append")),u.unshift(i(o[o.length-f-1],d,"prepend"))}return e&&(e.loopedSlides=l),[].concat(u,(0,x.Z)(o),A)}(N.current,q,U),K["wrapper-end"]),_g(U)&&t.createElement(t.Fragment,null,t.createElement("div",{ref:L,className:"swiper-button-prev"}),t.createElement("div",{ref:P,className:"swiper-button-next"})),Bg(U)&&t.createElement("div",{ref:D,className:"swiper-scrollbar"}),xg(U)&&t.createElement("div",{ref:T,className:"swiper-pagination"}),K["container-end"]))}));Dg.displayName="Swiper";var Qg=["tag","children","className","swiper","zoom","virtualIndex"];function Ug(){return Ug=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},Ug.apply(this,arguments)}var Mg=(0,t.forwardRef)((function(e,n){var r=void 0===e?{}:e,o=r.tag,i=void 0===o?"div":o,a=r.children,s=r.className,l=void 0===s?"":s,u=r.swiper,A=r.zoom,d=r.virtualIndex,f=c(r,Qg),h=(0,t.useRef)(null),p=(0,t.useState)("swiper-slide"),m=(0,B.Z)(p,2),g=m[0],v=m[1];function y(e,t,n){t===h.current&&v(n)}Fg((function(){if(n&&(n.current=h.current),h.current&&u){if(!u.destroyed)return u.on("_slideClass",y),function(){u&&u.off("_slideClass",y)};"swiper-slide"!==g&&v("swiper-slide")}})),Fg((function(){u&&h.current&&!u.destroyed&&v(u.getSlideClasses(h.current))}),[u]);var b={isActive:g.indexOf("swiper-slide-active")>=0||g.indexOf("swiper-slide-duplicate-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isDuplicate:g.indexOf("swiper-slide-duplicate")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0||g.indexOf("swiper-slide-duplicate-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0||g.indexOf("swiper-slide-duplicate-next")>=0},w=function(){return"function"===typeof a?a(b):a};return t.createElement(i,Ug({ref:h,className:Cg("".concat(g).concat(l?" ".concat(l):"")),"data-swiper-slide-index":d},f),t.createElement(Ig.Provider,{value:b},A?t.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof A?A:void 0},w()):w()))}));Mg.displayName="SwiperSlide";var Rg=function(){var e,n=(0,t.useState)(3),r=(0,B.Z)(n,2),o=r[0],i=r[1],a=function(){return window.innerWidth<770?i(1):(window.innerWidth,i(3))};(0,t.useEffect)((function(){a(),window.addEventListener("resize",a)}));var c=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["dailyDeals"],queryFn:function(){return Am()}}))}();return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-green-600 rounded-md p-2 px-4 mb-4",children:[(0,A.jsx)("div",{className:"flex items-center justify-between gap-2 md:w-[50%]",children:(0,A.jsxs)("h1",{className:"flex flex-row space-x-2 items-center uppercase text-md font-black text-white",children:[(0,A.jsx)(Hp,{}),(0,A.jsx)("span",{children:" Daily Sales"})]})}),(0,A.jsxs)("div",{className:"flex gap-1 items-center justify-end text-white",children:[(0,A.jsx)("div",{className:"py-1 px-3 bg-white rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-200 rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-200 rounded-full"})]})]}),(0,A.jsx)("div",{className:"md:w-4/5 lg:w-full mx-auto",children:(0,A.jsxs)(Dg,{slidesPerView:o,spaceBetween:20,autoplay:{delay:2500,disableOnInteraction:!1},pagination:{clickable:!0},modules:[vg,yg],className:"mySwiper",children:[null===(e=c.data)||void 0===e?void 0:e.map((function(e,t){var n,r,o,i,a,s,c,l,u,d;return(0,A.jsx)(Mg,{children:(0,A.jsx)("div",{className:"pb-10 md:pb-8 lg:pb-0",children:(0,A.jsxs)(fa,{to:"/products/".concat(null===(n=e.product)||void 0===n?void 0:n.slug),className:"rounded-lg shadow-md bg-white flex items-center hover:bg-green-50",children:[(0,A.jsxs)("div",{className:"w-5/12",children:[(0,A.jsx)("img",{src:Vn+"/products/"+(null===(r=e.product)||void 0===r||null===(o=r.images[0])||void 0===o?void 0:o.location),onError:function(e){e.target.src=Kp},alt:e.alt,className:"h-40 lg:h-42 rounded-l-lg object-cover",loading:"lazy"})," "]}),(0,A.jsx)("div",{className:"px-2 py-2 w-7/12 space-y-4",children:(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("h1",{className:"font-extrabold",children:(null===(i=e.product)||void 0===i||null===(a=i.name)||void 0===a?void 0:a.length)>15?(null===(s=e.product)||void 0===s?void 0:s.name.slice(0,12))+"...":null===(c=e.product)||void 0===c?void 0:c.name}),(0,A.jsxs)("p",{className:"text-[#9B9191] font-extrabold text-sm uppercase line-through",children:["ugx ",null===e||void 0===e||null===(l=e.discount)||void 0===l?void 0:l.toLocaleString()]}),(0,A.jsxs)("p",{className:"text-red-700 font-extrabold",children:["UGX ",null===(u=e.product)||void 0===u||null===(d=u.amount)||void 0===d?void 0:d.toLocaleString()]})]})})]},t)})},t)})),c.isLoading&&[0,1,2].map((function(e){return(0,A.jsx)(Mg,{children:(0,A.jsx)("div",{className:"pb-14 lg:pb-0",children:(0,A.jsxs)("div",{className:"rounded-lg shadow-md bg-white flex items-center",children:[(0,A.jsx)("div",{className:"w-6/12",children:(0,A.jsx)("div",{className:"skeleton w-full h-36"})}),(0,A.jsxs)("div",{className:"px-2 py-2 w-6/12 space-y-4",children:[(0,A.jsx)("div",{className:"skeleton w-full h-8"}),(0,A.jsx)("div",{className:"skeleton w-full h-8"})]})]},e)})},e)}))]})})]})},$g=function(){return er.get("/adverts")};function Hg(){var e,t=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["adverts"],queryFn:function(){return $g()}}))}();return(0,A.jsx)("div",{className:"relative w-full h-fit overflow-hidden",children:(0,A.jsxs)("div",{className:"relative ",children:[null===(e=t.data)||void 0===e?void 0:e.map((function(e,t){return"banner"===e.advert_type&&1===e.active?(0,A.jsx)("a",{href:null===e||void 0===e?void 0:e.url,children:(0,A.jsx)("img",{src:Vn+"/adverts/"+(null===e||void 0===e?void 0:e.location),alt:"computing-ad",className:" bg-repeat rounded-lg h-32 md:h-60 shadow-md object-cover rounded-md w-full",loading:"lazy"})},t):null})),t.isLoading&&(0,A.jsx)("div",{className:"w-full flex justify-center items-center shadow-md h-32 md:h-60 skeleton"})]})})}var qg=function(){return er.get("/products")},Kg=function(e){var t,n,r,o,i,a,s,c=e.product;return(0,A.jsx)("div",{className:"h-[18rem] md:h-[23]rem] lg:h-[24rem]",children:(0,A.jsx)(fa,{className:"flex items-between gap-y-3 h-full rounded-lg shadow-md md:rounded-2xl bg-white hover:bg-green-50",to:"/products/".concat(null===c||void 0===c?void 0:c.slug),children:(0,A.jsxs)("div",{className:"rounded-lg md:rounded-2xl space-y-2 w-full",children:[(0,A.jsx)("div",{className:"h-32 lg:h-56 bg-teal-50 py-3 rounded-tr-lg rounded-tl-lg md:rounded-tr-2xl md:rounded-tl-2xl",children:(0,A.jsx)("img",{src:null===c.coverImage?Vp:Vn+"/products/"+(null===(t=c.coverImage)||void 0===t?void 0:t.location),onError:function(e){e.target.src=Kp},alt:"..",loading:"lazy",className:"h-full w-full object-contain"})}),(0,A.jsxs)("div",{className:"p-4 h-full",children:[(0,A.jsxs)("p",{className:"text-red-600",children:["UGX ",null===c||void 0===c||null===(n=c.amount)||void 0===n?void 0:n.toLocaleString()]}),(0,A.jsx)("p",{className:"font-bold my-2 h-12",children:(null===c||void 0===c||null===(r=c.name)||void 0===r?void 0:r.length)>25?(null===c||void 0===c||null===(o=c.name)||void 0===o?void 0:o.slice(0,22))+"...":null===c||void 0===c?void 0:c.name}),(0,A.jsx)("p",{className:"font-bold text-gray-600 text-sm my-2",children:(null===c||void 0===c||null===(i=c.level)||void 0===i?void 0:i.name.length)>25?(null===c||void 0===c||null===(a=c.level)||void 0===a?void 0:a.name.slice(0,22))+"...":null===c||void 0===c||null===(s=c.level)||void 0===s?void 0:s.name})]})]})})})};function Vg(){var e,t,n,r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["products"],queryFn:function(){return qg()}}))}();return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 bg-green-600 rounded-md p-2 px-4 mb-4",children:[(0,A.jsx)("div",{className:"flex items-center justify-between gap-2 md:w-[50%]",children:(0,A.jsxs)("h1",{className:"flex flex-row space-x-2 items-center uppercase text-md font-black text-white",children:[(0,A.jsx)(Hp,{}),(0,A.jsx)("span",{children:" Trending Items"})]})}),(0,A.jsxs)("div",{className:"flex gap-1 items-center justify-end text-white",children:[(0,A.jsx)("div",{className:"py-1 px-3 bg-white rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-200 rounded-full"}),(0,A.jsx)("div",{className:"py-1 px-1 bg-gray-200 rounded-full"})]})]}),(0,A.jsxs)("div",{className:"w-full my-4",children:[(0,A.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[null===(e=r.data)||void 0===e||null===(t=e.slice(0,8))||void 0===t?void 0:t.map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)})),r.isLoading&&[0,1,2,3].map((function(e){return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex items-center gap-y-3 h-full rounded-lg shadow-md bg-white",children:(0,A.jsxs)("div",{className:"rounded-lg space-y-2 w-full",children:[(0,A.jsx)("div",{className:"skeleton h-48 w-full"}),(0,A.jsxs)("div",{className:"p-4",children:[(0,A.jsx)("div",{className:"skeleton h-6 w-full"}),(0,A.jsx)("div",{className:"skeleton h-6 w-3/4 my-2"})]})]})})},e)}))]}),0===(null===(n=r.data)||void 0===n?void 0:n.length)&&(0,A.jsx)("div",{className:"",children:(0,A.jsx)("p",{className:"text-xl text-center font-bold my-4",children:"No Products available"})})]})]})})}var zg=function(){return er.get("/banners")},Zg=function(){return er.get("/special-sales")};function Gg(){var e,t,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["banners"],queryFn:function(){return zg()}}))}(),r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["specialSales"],queryFn:function(){return Zg()}}))}(),o=Kp;return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"w-full grid grid-cols-1 gap-4 lg:grid-cols-5",children:[(0,A.jsxs)("div",{className:"col-span-3",children:[null===(e=n.data)||void 0===e?void 0:e.slice(0,1).map((function(e,t){var n,r,i,a,s,c,l,u,d,f,h,p;return(0,A.jsxs)("div",{className:"grid grid-cols-2 items-center bg-white rounded-lg md:rounded-2xl shadow-md",children:[(0,A.jsx)("img",{src:Vn+"/products/"+(null===e||void 0===e||null===(n=e.coverImage)||void 0===n?void 0:n.location)||(null===e||void 0===e||null===(r=e.product)||void 0===r||null===(i=r.images[0])||void 0===i?void 0:i.location)||o,onError:function(e){e.target.src=o},alt:null===(a=e.product)||void 0===a?void 0:a.slug,loading:"lazy",className:"w-5/6 h-full md:h-72 lg:h-[21rem] md:w-full rounded-l-lg md:rounded-l-2xl object-cover"}),(0,A.jsxs)("div",{className:"px-2 md:px-8 py-2 md:py-4 w-full flex items-start flex-col",children:[(0,A.jsx)("h1",{className:"text-md text-gray-700 md:text-2xl font-bold uppercase font-homepage",children:e.title}),(0,A.jsx)("span",{className:"mt-1 uppercase text-green-600 font-bold text-sm md:text-base",children:(null===e||void 0===e||null===(s=e.product)||void 0===s||null===(c=s.name)||void 0===c?void 0:c.length)>35?(null===e||void 0===e||null===(l=e.product)||void 0===l||null===(u=l.name)||void 0===u?void 0:u.slice(0,35))+"...":null===e||void 0===e||null===(d=e.product)||void 0===d?void 0:d.name}),(0,A.jsxs)("h1",{className:"md:mt-4 font-extrabold uppercase text-red-700 text-lg md:text-2xl font-homepage",children:["ugx ",null===(f=e.product)||void 0===f||null===(h=f.amount)||void 0===h?void 0:h.toLocaleString()]}),(0,A.jsx)(fa,{to:"/products/".concat(null===(p=e.product)||void 0===p?void 0:p.slug),className:"mt-1 md:mt-5 py-2 md:py-4 px-5 bg-[#232F3F] w-full h-fit text-white rounded-full text-center uppercase font-extrabold md:text-2xl font-homepage hover:bg-green-900",children:"Shop Now"})]})]},t)})),n.isLoading&&(0,A.jsxs)("div",{className:"grid grid-cols-2 gap-4 items-center bg-white rounded-lg shadow-md",children:[(0,A.jsx)("div",{className:"skeleton w-full h-72"}),(0,A.jsxs)("div",{className:"w-full flex items-start flex-col space-y-6 px-4",children:[(0,A.jsx)("div",{className:"skeleton h-10 w-full"}),(0,A.jsx)("div",{className:"mt-1 skeleton h-8 w-2/3"}),(0,A.jsx)("div",{className:"skeleton h-6 w-2/3"})]})]})]}),(0,A.jsxs)("div",{className:"w-full flex flex-col md:flex-row lg:flex-col gap-3 col-span-2",children:[null===(t=r.data)||void 0===t?void 0:t.slice(0,2).map((function(e,t){var n,r,i,a,s,c,l;return(0,A.jsxs)(fa,{to:"/products/".concat(null===(n=e.product)||void 0===n?void 0:n.slug),className:"bg-white grid grid-cols-6 gap-2 rounded-lg md:rounded-2xl shadow hover:shadow-lg",children:[(0,A.jsxs)("div",{className:"col-span-4 flex flex-col justify-center px-5 py-3",children:[(0,A.jsx)("span",{className:"bg-[#FFB800] text-black text-xs md:text-md rounded-full py-1 px-4 w-fit font-bold",children:null===e||void 0===e?void 0:e.title}),(0,A.jsx)("span",{className:"font-extrabold my-2",children:(null===(r=e.product)||void 0===r?void 0:r.name.length)>25?e.product.name.slice(0,22)+"...":e.product.name}),(0,A.jsxs)("span",{className:"text-[#9B9191] font-extrabold text-sm uppercase line-through",children:["ugx ",null===(i=e.product)||void 0===i||null===(a=i.amount)||void 0===a?void 0:a.toLocaleString()]}),(0,A.jsxs)("span",{className:"text-red-700 font-extrabold text-lg uppercase font-extrabold",children:["ugx ",null===e||void 0===e||null===(s=e.amount)||void 0===s?void 0:s.toLocaleString()]})]}),(0,A.jsx)("div",{className:"col-span-2 justify-center item-center",children:(0,A.jsx)("img",{src:Vn+"/products/"+(null===(c=e.product)||void 0===c||null===(l=c.images[0])||void 0===l?void 0:l.location)||o,onError:function(e){e.target.src=o},alt:e.title,className:"w-full h-36 lg:h-40 object-cover rounded-r-lg md:rounded-r-2xl",loading:"lazy"})})]},t)})),r.isLoading&&[0,1].map((function(e){return(0,A.jsxs)("div",{className:"bg-white py-3 grid grid-cols-6 px-2 gap-2 rounded-md shadow-md hover:bg-green-50",children:[(0,A.jsxs)("div",{className:"col-span-4 flex flex-col justify-center px-5",children:[(0,A.jsx)("span",{className:"bg-[#FFB800] text-black text-xs md:text-md rounded-full py-1 px-4 w-fit font-bold",children:"Special Sale"}),(0,A.jsx)("div",{className:"my-2 skeleton h-6 w-full"}),(0,A.jsx)("div",{className:"my-2 skeleton h-4 w-3/4"})]}),(0,A.jsx)("div",{className:"col-span-2 justify-center item-center",children:(0,A.jsx)("div",{className:"my-2 skeleton h-24 w-full"})})]},e)}))]})]})})}var Wg=function(){return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"",children:(0,A.jsx)(cm,{page:"home",title:"Shop",children:(0,A.jsxs)("div",{className:"w-full space-y-6",children:[(0,A.jsx)("div",{className:"md:mt-8",children:(0,A.jsx)(Gg,{})}),(0,A.jsx)("div",{children:(0,A.jsx)(um,{})}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)(Rg,{})}),(0,A.jsx)("div",{children:(0,A.jsx)(Hg,{})}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)(Vg,{})}),(0,A.jsx)("div",{children:" "})]})})})})},Yg=function(){return(0,A.jsx)(cm,{children:(0,A.jsx)("div",{className:"md:w-2/3 lg:w-1/2 mx-auto py-10 md:py-20 h-full rounded-md",children:(0,A.jsxs)("div",{className:"flex flex-col items-center",children:[(0,A.jsx)("h1",{className:"font-bold text-green-600 text-9xl",children:"404"}),(0,A.jsxs)("h6",{className:"mb-2 text-2xl font-bold text-center text-gray-400 md:text-3xl",children:[(0,A.jsx)("span",{className:"text-red-500",children:"Sorry, "})," Page not found"]}),(0,A.jsx)("p",{className:"mb-8 text-center text-gray-500 md:text-lg",children:"The page you\u2019re looking for doesn\u2019t exist."}),(0,A.jsx)(fa,{to:"./",className:"px-6 py-3 text-sm font-semibold text-gray-500 bg-blue-100 rounded rounded-md",children:"Go back home"})]})})})},Xg=function(e){var t=e.slug,n=e.config;return(0,uc.useQuery)(s(s({},n),{},{queryKey:["product",t],queryFn:function(){return function(e){var t=e.slug;return er.get("/products/slug/".concat(t))}({slug:t})}}))},Jg=function(e){var t=e.data;return er.post("/carts",t)},ev=function(){return er.get("/products")},tv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["products"],queryFn:function(){return ev()}}))},nv=function(){var e,t=tv();return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)("p",{className:"font-bold text-xl",children:"More related products"})}),(0,A.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:null===t||void 0===t||null===(e=t.data)||void 0===e?void 0:e.slice(0,4).map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)}))})]})})},rv=function(e){var t=e.data;return er.post("/wishlist",t)},ov=function(){return er.get("/wishlist/mine")},iv=function(e){var t,n,r=e.product_id,o=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("wishlist");case 2:return n=Ac.getQueryData("wishlist"),Ac.setQueryData("wishlist",[].concat((0,x.Z)(n.wishlistItems||[]),[t.productId])),e.abrupt("return",{previousWishlist:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousWishlist&&Ac.setQueryData("wishlist",n.previousWishlist)},onSuccess:function(e){Ac.invalidateQueries("wishlist"),t({type:"success",title:e.message})}},e),{},{mutationFn:rv}))}(),i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["wishlist"],queryFn:function(){return ov()}}))}(),a=null===i||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.wishlistItems)||void 0===n?void 0:n.filter((function(e){return e.product_id===r}));return(0,A.jsx)("div",{children:void 0===a||a.length<1?(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.mutateAsync({data:{product_id:r}});case 2:case"end":return e.stop()}}),e)}))),className:"text-green-500 rounded-lg shadow-sm border border-green-500 font-extrabold px-5 py-1.5",children:o.isLoading?(0,A.jsx)(h,{size:"sm"}):(0,A.jsxs)("div",{className:"flex items-center gap-2 ",children:[(0,A.jsx)(Sp,{className:"text-xl text-green-500"}),(0,A.jsx)("span",{children:"Add to wishlist"})]})}):(0,A.jsx)("p",{className:"text-center text-gray-400 rounded-lg shadow-sm border border-gray-300 font-extrabold px-5 py-1.5",children:"Added to wishlist"})})},av=function(){var e,n,r,o,i,a,c,l,u,d,f,p=wh(),m=Wi().slug,g=Xg({slug:m}),v=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("carts");case 2:return n=Ac.getQueryData("carts"),Ac.setQueryData("carts",[].concat((0,x.Z)(n||[]),[t.productId])),e.abrupt("return",{previousCartItems:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItems&&Ac.setQueryData("carts",n.previousCartItems)},onSuccess:function(e){Ac.invalidateQueries("cartItem"),Ac.invalidateQueries("cart"),Ac.invalidateQueries("carts"),t({type:"success",title:e.message})}},e),{},{mutationFn:Jg}))}();if((0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),g.data){var y,b,w;localStorage.getItem("viewedProducts")||localStorage.setItem("viewedProducts",JSON.stringify([]));var _=JSON.parse(localStorage.getItem("viewedProducts")),B={product_id:g.data.id,name:g.data.name,amount:null===(y=g.data)||void 0===y?void 0:y.amount,image:null===(b=g.data)||void 0===b||null===(w=b.coverImage)||void 0===w?void 0:w.location,slug:g.data.slug,view_count:1};if(_){var C=_.findIndex((function(e){return e.product_id===g.data.id}));-1===C?(_.push(B),localStorage.setItem("viewedProducts",JSON.stringify(_))):(_[C].view_count++,localStorage.setItem("viewedProducts",JSON.stringify(_)))}}return(0,A.jsxs)(cm,{title:null===g||void 0===g||null===(e=g.data)||void 0===e?void 0:e.name,children:[(0,A.jsxs)("div",{className:"shadow-md bg-white rounded-lg md:rounded-2xl mt-8",children:[g.isLoading&&(0,A.jsxs)("div",{className:"p-8",children:[(0,A.jsxs)("div",{className:"flex p-8",children:[(0,A.jsx)("div",{className:"skeleton h-48 w-36"}),(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{className:"skeleton h-8 w-1/2 my-4"}),(0,A.jsx)("div",{className:"skeleton h-8 w-2/3 my-4"})]})]}),(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"skeleton h-8 w-full my-4"}),(0,A.jsx)("div",{className:"skeleton h-8 w-3/4 my-4"}),(0,A.jsx)("h1",{className:"font-extrabold",children:"Product description"}),(0,A.jsx)("div",{className:"skeleton h-8 w-2/4 my-4"})]})]}),!g.isLoading&&(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("div",{className:"px-5 py-5 w-full",children:[(0,A.jsxs)("div",{className:"w-full md:flex",children:[(0,A.jsxs)("div",{className:"md:flex md:w-7/12 items-center",children:[(0,A.jsx)("div",{className:"md:w-2/6 w-full flex justify-center ",children:(0,A.jsx)("img",{src:null===g.data.coverImage?Vp:Vn+"/products/"+(null===(n=g.data.coverImage)||void 0===n?void 0:n.location),alt:"...",className:"w-4/6",loading:"lazy"})}),(0,A.jsxs)("div",{className:"md:w-4/6 py-5 px-5",children:[(0,A.jsx)("h1",{className:"text-xl font-extrabold mb-2 text-green-700",children:null===(r=g.data)||void 0===r?void 0:r.name}),(0,A.jsxs)("span",{className:"font-extrabold uppercase text-red-700 text-xl ",children:["ugx ",null===(o=g.data)||void 0===o||null===(i=o.amount)||void 0===i?void 0:i.toLocaleString()]})]})]}),(0,A.jsx)("div",{className:"flex justify-end md:w-5/12 py-5 px-5",children:p.user?(0,A.jsxs)("div",{className:"flex flex-row md:flex-col gap-4 md:gap-10 justify-evenly ",children:[(0,A.jsx)("button",{type:"submit",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.mutateAsync({data:{product_id:null===(t=g.data)||void 0===t?void 0:t.id,quantity:1}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:"px-4 py-2 rounded-lg shadow-sm bg-green-500 text-white font-bold",children:v.isLoading?(0,A.jsx)(h,{size:"sm"}):(0,A.jsx)("span",{children:"Add to Cart"})}),(0,A.jsx)(iv,{product_id:null===(a=g.data)||void 0===a?void 0:a.id})]}):(0,A.jsx)("div",{children:(0,A.jsx)(fa,{to:"/auth/login",children:(0,A.jsx)("button",{className:"text-green-500 rounded-lg shadow-sm border border-green-500 font-extrabold px-5 py-1.5 ",children:"Log in and start shopping"})})})})]}),(0,A.jsx)("div",{className:"mt-10 px-5",children:(0,A.jsx)("div",{className:"flex gap-5",children:(null===(c=g.data)||void 0===c?void 0:c.images.length)>1&&(null===(l=g.data)||void 0===l||null===(u=l.images)||void 0===u?void 0:u.map((function(e,t){return(0,A.jsx)("div",{className:"cursor-pointer",children:(0,A.jsx)("img",{src:Vn+"/"+e.name,alt:"...",loading:"lazy"})},t)})))})}),(0,A.jsx)("div",{className:"my-4 mx-5 font-extrabold text-lg",children:1===(null===(d=g.data)||void 0===d?void 0:d.downloadable)?(0,A.jsx)("p",{children:"This product is available in soft-copy"}):(0,A.jsx)("p",{children:"This product is not available in soft-copy"})}),(0,A.jsx)("div",{className:"mt-5",children:(0,A.jsx)("div",{className:"mx-5",children:(0,A.jsxs)("div",{children:[(0,A.jsx)("h1",{className:"font-extrabold",children:"Product description"}),(0,A.jsx)("div",{className:"mt-2 font-light flex flex-wrap text-sm",children:(null===(f=g.data)||void 0===f?void 0:f.description)&&(0,A.jsx)(sn,{value:g.data.description})})]})})})]})})]}),!g.isLoading&&(0,A.jsx)(nv,{})]})};function sv(){return sv=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},sv.apply(this,arguments)}function cv(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 lv=(0,t.forwardRef)((function(e,n){var r=e.color,o=void 0===r?"currentColor":r,i=e.size,a=void 0===i?24:i,s=cv(e,["color","size"]);return t.createElement("svg",sv({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),t.createElement("polyline",{points:"9 18 15 12 9 6"}))}));lv.propTypes={color:Xn().string,size:Xn().oneOfType([Xn().string,Xn().number])},lv.displayName="ChevronRight";var uv=lv,Av="1.13.6",dv="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},fv=Array.prototype,hv=Object.prototype,pv="undefined"!==typeof Symbol?Symbol.prototype:null,mv=fv.push,gv=fv.slice,vv=hv.toString,yv=hv.hasOwnProperty,bv="undefined"!==typeof ArrayBuffer,wv="undefined"!==typeof DataView,_v=Array.isArray,xv=Object.keys,Bv=Object.create,Cv=bv&&ArrayBuffer.isView,Ev=isNaN,jv=isFinite,kv=!{toString:null}.propertyIsEnumerable("toString"),Sv=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ov=Math.pow(2,53)-1;function Nv(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function Fv(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function Iv(e){return null===e}function Pv(e){return void 0===e}function Lv(e){return!0===e||!1===e||"[object Boolean]"===vv.call(e)}function Tv(e){return!(!e||1!==e.nodeType)}function Dv(e){var t="[object "+e+"]";return function(e){return vv.call(e)===t}}var Qv=Dv("String"),Uv=Dv("Number"),Mv=Dv("Date"),Rv=Dv("RegExp"),$v=Dv("Error"),Hv=Dv("Symbol"),qv=Dv("ArrayBuffer"),Kv=Dv("Function"),Vv=dv.document&&dv.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof Vv&&(Kv=function(e){return"function"==typeof e||!1});var zv=Kv,Zv=Dv("Object"),Gv=wv&&Zv(new DataView(new ArrayBuffer(8))),Wv="undefined"!==typeof Map&&Zv(new Map),Yv=Dv("DataView");var Xv=Gv?function(e){return null!=e&&zv(e.getInt8)&&qv(e.buffer)}:Yv,Jv=_v||Dv("Array");function ey(e,t){return null!=e&&yv.call(e,t)}var ty=Dv("Arguments");!function(){ty(arguments)||(ty=function(e){return ey(e,"callee")})}();var ny=ty;function ry(e){return!Hv(e)&&jv(e)&&!isNaN(parseFloat(e))}function oy(e){return Uv(e)&&Ev(e)}function iy(e){return function(){return e}}function ay(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=Ov}}function sy(e){return function(t){return null==t?void 0:t[e]}}var cy=sy("byteLength"),ly=ay(cy),uy=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var Ay=bv?function(e){return Cv?Cv(e)&&!Xv(e):ly(e)&&uy.test(vv.call(e))}:iy(!1),dy=sy("length");function fy(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=Sv.length,r=e.constructor,o=zv(r)&&r.prototype||hv,i="constructor";for(ey(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=Sv[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function hy(e){if(!Fv(e))return[];if(xv)return xv(e);var t=[];for(var n in e)ey(e,n)&&t.push(n);return kv&&fy(e,t),t}function py(e){if(null==e)return!0;var t=dy(e);return"number"==typeof t&&(Jv(e)||Qv(e)||ny(e))?0===t:0===dy(hy(e))}function my(e,t){var n=hy(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function gy(e){return e instanceof gy?e:this instanceof gy?void(this._wrapped=e):new gy(e)}function vy(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,cy(e))}gy.VERSION=Av,gy.prototype.value=function(){return this._wrapped},gy.prototype.valueOf=gy.prototype.toJSON=gy.prototype.value,gy.prototype.toString=function(){return String(this._wrapped)};var yy="[object DataView]";function by(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&wy(e,t,n,r)}function wy(e,t,n,r){e instanceof gy&&(e=e._wrapped),t instanceof gy&&(t=t._wrapped);var o=vv.call(e);if(o!==vv.call(t))return!1;if(Gv&&"[object Object]"==o&&Xv(e)){if(!Xv(t))return!1;o=yy}switch(o){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return pv.valueOf.call(e)===pv.valueOf.call(t);case"[object ArrayBuffer]":case yy:return wy(vy(e),vy(t),n,r)}var i="[object Array]"===o;if(!i&&Ay(e)){if(cy(e)!==cy(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(zv(a)&&a instanceof a&&zv(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),i){if((c=e.length)!==t.length)return!1;for(;c--;)if(!by(e[c],t[c],n,r))return!1}else{var l,u=hy(e);if(c=u.length,hy(t).length!==c)return!1;for(;c--;)if(!ey(t,l=u[c])||!by(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0}function _y(e,t){return by(e,t)}function xy(e){if(!Fv(e))return[];var t=[];for(var n in e)t.push(n);return kv&&fy(e,t),t}function By(e){var t=dy(e);return function(n){if(null==n)return!1;var r=xy(n);if(dy(r))return!1;for(var o=0;o<t;o++)if(!zv(n[e[o]]))return!1;return e!==Sy||!zv(n[Cy])}}var Cy="forEach",Ey=["clear","delete"],jy=["get","has","set"],ky=Ey.concat(Cy,jy),Sy=Ey.concat(jy),Oy=["add"].concat(Ey,Cy,"has"),Ny=Wv?By(ky):Dv("Map"),Fy=Wv?By(Sy):Dv("WeakMap"),Iy=Wv?By(Oy):Dv("Set"),Py=Dv("WeakSet");function Ly(e){for(var t=hy(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function Ty(e){for(var t=hy(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function Dy(e){for(var t={},n=hy(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Qy(e){var t=[];for(var n in e)zv(e[n])&&t.push(n);return t.sort()}function Uy(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),s=a.length,c=0;c<s;c++){var l=a[c];t&&void 0!==n[l]||(n[l]=i[l])}return n}}var My=Uy(xy),Ry=Uy(hy),$y=Uy(xy,!0);function Hy(e){if(!Fv(e))return{};if(Bv)return Bv(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function qy(e,t){var n=Hy(e);return t&&Ry(n,t),n}function Ky(e){return Fv(e)?Jv(e)?e.slice():My({},e):e}function Vy(e,t){return t(e),e}function zy(e){return Jv(e)?e:[e]}function Zy(e){return gy.toPath(e)}function Gy(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Wy(e,t,n){var r=Gy(e,Zy(t));return Pv(r)?n:r}function Yy(e,t){for(var n=(t=Zy(t)).length,r=0;r<n;r++){var o=t[r];if(!ey(e,o))return!1;e=e[o]}return!!n}function Xy(e){return e}function Jy(e){return e=Ry({},e),function(t){return my(t,e)}}function eb(e){return e=Zy(e),function(t){return Gy(t,e)}}function tb(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function nb(e,t,n){return null==e?Xy:zv(e)?tb(e,t,n):Fv(e)&&!Jv(e)?Jy(e):eb(e)}function rb(e,t){return nb(e,t,1/0)}function ob(e,t,n){return gy.iteratee!==rb?gy.iteratee(e,t):nb(e,t,n)}function ib(e,t,n){t=ob(t,n);for(var r=hy(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i}function ab(){}function sb(e){return null==e?ab:function(t){return Wy(e,t)}}function cb(e,t,n){var r=Array(Math.max(0,e));t=tb(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function lb(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}gy.toPath=zy,gy.iteratee=rb;var ub=Date.now||function(){return(new Date).getTime()};function Ab(e){var t=function(t){return e[t]},n="(?:"+hy(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}var db={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},fb=Ab(db),hb=Ab(Dy(db)),pb=gy.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},mb=/(.)^/,gb={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},vb=/\\|'|\r|\n|\u2028|\u2029/g;function yb(e){return"\\"+gb[e]}var bb=/^\s*(\w|\$)+\s*$/;function wb(e,t,n){!t&&n&&(t=n),t=$y({},t,gy.templateSettings);var r=RegExp([(t.escape||mb).source,(t.interpolate||mb).source,(t.evaluate||mb).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,s){return i+=e.slice(o,s).replace(vb,yb),o=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,s=t.variable;if(s){if(!bb.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(s,"_",i)}catch(Pe){throw Pe.source=i,Pe}var c=function(e){return a.call(this,e,gy)};return c.source="function("+s+"){\n"+i+"}",c}function _b(e,t,n){var r=(t=Zy(t)).length;if(!r)return zv(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=zv(i)?i.call(e):i}return e}var xb=0;function Bb(e){var t=++xb+"";return e?e+t:t}function Cb(e){var t=gy(e);return t._chain=!0,t}function Eb(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Hy(e.prototype),a=e.apply(i,o);return Fv(a)?a:i}var jb=Nv((function(e,t){var n=jb.placeholder;return function r(){for(var o=0,i=t.length,a=Array(i),s=0;s<i;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return Eb(e,r,this,this,a)}}));jb.placeholder=gy;var kb=jb,Sb=Nv((function(e,t,n){if(!zv(e))throw new TypeError("Bind must be called on a function");var r=Nv((function(o){return Eb(e,r,t,this,n.concat(o))}));return r})),Ob=ay(dy);function Nb(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=dy(e);i<a;i++){var s=e[i];if(Ob(s)&&(Jv(s)||ny(s)))if(t>1)Nb(s,t-1,n,r),o=r.length;else for(var c=0,l=s.length;c<l;)r[o++]=s[c++];else n||(r[o++]=s)}return r}var Fb=Nv((function(e,t){var n=(t=Nb(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Sb(e[r],e)}return e}));function Ib(e,t){var n=function n(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return ey(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}var Pb=Nv((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),Lb=kb(Pb,gy,1);function Tb(e,t,n){var r,o,i,a,s=0;n||(n={});var c=function(){s=!1===n.leading?0:ub(),r=null,a=e.apply(o,i),r||(o=i=null)},l=function(){var l=ub();s||!1!==n.leading||(s=l);var u=t-(l-s);return o=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=o=i=null},l}function Db(e,t,n){var r,o,i,a,s,c=function c(){var l=ub()-o;t>l?r=setTimeout(c,t-l):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},l=Nv((function(l){return s=this,i=l,o=ub(),r||(r=setTimeout(c,t),n&&(a=e.apply(s,i))),a}));return l.cancel=function(){clearTimeout(r),r=i=s=null},l}function Qb(e,t){return kb(t,e)}function Ub(e){return function(){return!e.apply(this,arguments)}}function Mb(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function Rb(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function $b(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Hb=kb($b,2);function qb(e,t,n){t=ob(t,n);for(var r,o=hy(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function Kb(e){return function(t,n,r){n=ob(n,r);for(var o=dy(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}var Vb=Kb(1),zb=Kb(-1);function Zb(e,t,n,r){for(var o=(n=ob(n,r,1))(t),i=0,a=dy(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])<o?i=s+1:a=s}return i}function Gb(e,t,n){return function(r,o,i){var a=0,s=dy(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return r[i=n(r,o)]===o?i:-1;if(o!==o)return(i=t(gv.call(r,a,s),oy))>=0?i+a:-1;for(i=e>0?a:s-1;i>=0&&i<s;i+=e)if(r[i]===o)return i;return-1}}var Wb=Gb(1,Vb,Zb),Yb=Gb(-1,zb);function Xb(e,t,n){var r=(Ob(e)?Vb:qb)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function Jb(e,t){return Xb(e,Jy(t))}function ew(e,t,n){var r,o;if(t=tb(t,n),Ob(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=hy(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function tw(e,t,n){t=ob(t,n);for(var r=!Ob(e)&&hy(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var s=r?r[a]:a;i[a]=t(e[s],s,e)}return i}function nw(e){var t=function(t,n,r,o){var i=!Ob(t)&&hy(t),a=(i||t).length,s=e>0?0:a-1;for(o||(r=t[i?i[s]:s],s+=e);s>=0&&s<a;s+=e){var c=i?i[s]:s;r=n(r,t[c],c,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,tb(n,o,4),r,i)}}var rw=nw(1),ow=nw(-1);function iw(e,t,n){var r=[];return t=ob(t,n),ew(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function aw(e,t,n){return iw(e,Ub(ob(t)),n)}function sw(e,t,n){t=ob(t,n);for(var r=!Ob(e)&&hy(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function cw(e,t,n){t=ob(t,n);for(var r=!Ob(e)&&hy(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function lw(e,t,n,r){return Ob(e)||(e=Ly(e)),("number"!=typeof n||r)&&(n=0),Wb(e,t,n)>=0}var uw=Nv((function(e,t,n){var r,o;return zv(t)?o=t:(t=Zy(t),r=t.slice(0,-1),t=t[t.length-1]),tw(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Gy(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function Aw(e,t){return tw(e,eb(t))}function dw(e,t){return iw(e,Jy(t))}function fw(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=Ob(e)?e:Ly(e)).length;s<c;s++)null!=(r=e[s])&&r>i&&(i=r);else t=ob(t,n),ew(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}function hw(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=Ob(e)?e:Ly(e)).length;s<c;s++)null!=(r=e[s])&&r<i&&(i=r);else t=ob(t,n),ew(e,(function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)}));return i}var pw=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mw(e){return e?Jv(e)?gv.call(e):Qv(e)?e.match(pw):Ob(e)?tw(e,Xy):Ly(e):[]}function gw(e,t,n){if(null==t||n)return Ob(e)||(e=Ly(e)),e[lb(e.length-1)];var r=mw(e),o=dy(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var s=lb(a,i),c=r[a];r[a]=r[s],r[s]=c}return r.slice(0,t)}function vw(e){return gw(e,1/0)}function yw(e,t,n){var r=0;return t=ob(t,n),Aw(tw(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function bw(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=ob(r,o),ew(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}var ww=bw((function(e,t,n){ey(e,n)?e[n].push(t):e[n]=[t]})),_w=bw((function(e,t,n){e[n]=t})),xw=bw((function(e,t,n){ey(e,n)?e[n]++:e[n]=1})),Bw=bw((function(e,t,n){e[n?0:1].push(t)}),!0);function Cw(e){return null==e?0:Ob(e)?e.length:hy(e).length}function Ew(e,t,n){return t in n}var jw=Nv((function(e,t){var n={},r=t[0];if(null==e)return n;zv(r)?(t.length>1&&(r=tb(r,t[1])),t=xy(e)):(r=Ew,t=Nb(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],s=e[a];r(s,a,e)&&(n[a]=s)}return n})),kw=Nv((function(e,t){var n,r=t[0];return zv(r)?(r=Ub(r),t.length>1&&(n=t[1])):(t=tw(Nb(t,!1,!1),String),r=function(e,n){return!lw(t,n)}),jw(e,r,n)}));function Sw(e,t,n){return gv.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Ow(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Sw(e,e.length-t)}function Nw(e,t,n){return gv.call(e,null==t||n?1:t)}function Fw(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Nw(e,Math.max(0,e.length-t))}function Iw(e){return iw(e,Boolean)}function Pw(e,t){return Nb(e,t,!1)}var Lw=Nv((function(e,t){return t=Nb(t,!0,!0),iw(e,(function(e){return!lw(t,e)}))})),Tw=Nv((function(e,t){return Lw(e,t)}));function Dw(e,t,n,r){Lv(t)||(r=n,n=t,t=!1),null!=n&&(n=ob(n,r));for(var o=[],i=[],a=0,s=dy(e);a<s;a++){var c=e[a],l=n?n(c,a,e):c;t&&!n?(a&&i===l||o.push(c),i=l):n?lw(i,l)||(i.push(l),o.push(c)):lw(o,c)||o.push(c)}return o}var Qw=Nv((function(e){return Dw(Nb(e,!0,!0))}));function Uw(e){for(var t=[],n=arguments.length,r=0,o=dy(e);r<o;r++){var i=e[r];if(!lw(t,i)){var a;for(a=1;a<n&&lw(arguments[a],i);a++);a===n&&t.push(i)}}return t}function Mw(e){for(var t=e&&fw(e,dy).length||0,n=Array(t),r=0;r<t;r++)n[r]=Aw(e,r);return n}var Rw=Nv(Mw);function $w(e,t){for(var n={},r=0,o=dy(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Hw(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function qw(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(gv.call(e,r,r+=t));return n}function Kw(e,t){return e._chain?gy(t).chain():t}function Vw(e){return ew(Qy(e),(function(t){var n=gy[t]=e[t];gy.prototype[t]=function(){var e=[this._wrapped];return mv.apply(e,arguments),Kw(this,n.apply(gy,e))}})),gy}ew(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=fv[e];gy.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Kw(this,n)}})),ew(["concat","join","slice"],(function(e){var t=fv[e];gy.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Kw(this,e)}}));var zw=gy,Zw=Vw(e);Zw._=Zw;var Gw=function(){var e,t=tv(),n=[];return null===t||void 0===t||null===(e=t.data)||void 0===e||e.forEach((function(e){null==Jb(n,e.level)&&null!==e.level&&n.push(e.level)})),(0,A.jsxs)("div",{children:[null===n||void 0===n?void 0:n.map((function(e,n){var r,o;return(0,A.jsxs)("div",{children:[(0,A.jsxs)("div",{className:"border border-gray-200 shadow rounded-2xl px-4 py-3 text-gray-800 my-6 flex justify-between space-x-12",children:[(0,A.jsx)("p",{className:"text-md font-bold",children:null===e||void 0===e?void 0:e.name}),(0,A.jsxs)(fa,{className:"hover:text-green-500 flex items-center space-x-1",to:"/products/levels/".concat(null===e||void 0===e?void 0:e.slug),children:[(0,A.jsx)("div",{children:"View more"}),(0,A.jsx)(uv,{size:14})]})]}),(0,A.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.filter((function(t){var n;return(null===t||void 0===t||null===(n=t.level)||void 0===n?void 0:n.name)===(null===e||void 0===e?void 0:e.name)})).slice(0,4).map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)})),0===(null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.filter((function(t){var n;return(null===t||void 0===t||null===(n=t.level)||void 0===n?void 0:n.name)===(null===e||void 0===e?void 0:e.name)})).length)?(0,A.jsx)("p",{className:"text-center font-bold text-lg",children:"No products"}):(0,A.jsx)(A.Fragment,{})]})]},n)})),t.isLoading&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"w-full my-4 skeleton h-10"}),[0,1,2,3].map((function(e){return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex items-center gap-y-3 h-full rounded-lg shadow-md bg-white",children:(0,A.jsxs)("div",{className:"rounded-lg space-y-2 w-full",children:[(0,A.jsx)("div",{className:"skeleton h-48 w-full"}),(0,A.jsxs)("div",{className:"p-4",children:[(0,A.jsx)("div",{className:"skeleton h-6 w-full"}),(0,A.jsx)("div",{className:"skeleton h-6 w-3/4 my-2"})]})]})})},e)}))]})]})},Ww=function(e){var n,r=e.slug,o=tv(),i=null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.filter((function(e){return e.category.slug===r})),a=(0,t.useState)(1),s=(0,B.Z)(a,2),c=s[0],l=s[1],u=(0,t.useState)(16),d=(0,B.Z)(u,1)[0],f=c*d,h=f-d,p=null===i||void 0===i?void 0:i.slice(h,f),m=(0,t.useState)(5),g=(0,B.Z)(m,2),v=g[0],y=g[1],b=(0,t.useState)(1),w=(0,B.Z)(b,2),_=w[0],x=w[1];return(0,A.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[null===p||void 0===p?void 0:p.map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)})),o.isLoading&&[0,1,2,3].map((function(e){return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex items-center gap-y-3 h-full rounded-lg shadow-md bg-white",children:(0,A.jsxs)("div",{className:"rounded-lg space-y-2 w-full",children:[(0,A.jsx)("div",{className:"skeleton h-48 w-full"}),(0,A.jsxs)("div",{className:"p-4",children:[(0,A.jsx)("div",{className:"skeleton h-6 w-full"}),(0,A.jsx)("div",{className:"skeleton h-6 w-3/4 my-2"})]})]})})},e)}))]}),0===(null===i||void 0===i?void 0:i.filter((function(e){return e.category.slug===r})).length)?(0,A.jsx)("div",{className:"w-full",children:(0,A.jsx)("div",{className:"flex flex-col w-2/3 mx-auto items-center justify-center",children:(0,A.jsx)("p",{className:"my-4 text-xl",children:"Sorry, we currently don't have any products under this category."})})}):(0,A.jsx)(A.Fragment,{})]}),(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)(cn,{postsPerPage:d,totalPosts:null===i||void 0===i?void 0:i.length,paginate:function(e){return l(e)},currentPage:c,paginateFront:function(){l(c+1),c+1>v&&(y(v+5),x(_+5))},paginateBack:function(){l(c-1),(c-1)%5===0&&(y(v-5),x(_-5))},maxPageNumber:v,minPageNumber:_})})]})},Yw=function(){var e=Wi().slug;return(0,A.jsxs)(cm,{page:e,children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-8 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:" text-gray-400",children:e})]}),(0,A.jsx)("div",{className:"space-y-6",children:(0,A.jsx)("div",{className:"w-full h-full",children:"books"===e?(0,A.jsx)(Gw,{}):(0,A.jsx)(Ww,{slug:e})})})]})},Xw=function(){var e,n,r=Wi().slug,o=tv();(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]);var i=null===o||void 0===o||null===(e=o.data)||void 0===e?void 0:e.filter((function(e){var t;return(null===(t=e.level)||void 0===t?void 0:t.slug)===r})),a=(0,t.useState)(!1),s=(0,B.Z)(a,2),c=s[0],l=s[1],u=[];u=c?null===i||void 0===i?void 0:i.filter((function(e){return 1===e.downloadable})):i;var d=(0,t.useState)(1),f=(0,B.Z)(d,2),h=f[0],p=f[1],m=(0,t.useState)(8),g=(0,B.Z)(m,1)[0],v=h*g,y=v-g,b=null===(n=u)||void 0===n?void 0:n.slice(y,v),w=(0,t.useState)(5),_=(0,B.Z)(w,2),x=_[0],C=_[1],E=(0,t.useState)(1),j=(0,B.Z)(E,2),k=j[0],S=j[1];return(0,A.jsxs)(cm,{children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-8 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)(fa,{to:"/categories/books",className:"",children:"Books"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:" text-gray-400",children:r})]}),(0,A.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,A.jsxs)("div",{className:"space-y-6",children:[(0,A.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,A.jsx)("p",{children:"Filter: "}),(0,A.jsx)("input",{type:"checkbox",value:c,onChange:function(){return l(!c)}}),(0,A.jsx)("label",{children:"Display only soft copy books."})]}),(0,A.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[null===b||void 0===b?void 0:b.map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)})),0===(null===b||void 0===b?void 0:b.length)&&(0,A.jsx)("div",{className:"text-center text-xl my-4",children:(0,A.jsx)("p",{children:"No products available"})}),o.isLoading&&[0,1,2,3].map((function(e){return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex items-center gap-y-3 h-full rounded-lg shadow-md bg-white",children:(0,A.jsxs)("div",{className:"rounded-lg space-y-2 w-full",children:[(0,A.jsx)("div",{className:"skeleton h-48 w-full"}),(0,A.jsxs)("div",{className:"p-4",children:[(0,A.jsx)("div",{className:"skeleton h-6 w-full"}),(0,A.jsx)("div",{className:"skeleton h-6 w-3/4 my-2"})]})]})})},e)}))]}),0===(null===i||void 0===i?void 0:i.filter((function(e){return e.level.slug===r})).length)?(0,A.jsx)("div",{className:"w-full",children:(0,A.jsx)("div",{className:"flex flex-col w-2/3 mx-auto items-center justify-center",children:(0,A.jsx)("p",{className:"my-4 text-2xl",children:"Sorry, we currently don't have any products under this category."})})}):(0,A.jsx)(A.Fragment,{})]}),(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)(cn,{postsPerPage:g,totalPosts:null===i||void 0===i?void 0:i.length,paginate:function(e){return p(e)},currentPage:h,paginateFront:function(){p(h+1),h+1>x&&(C(x+5),S(k+5))},paginateBack:function(){p(h-1),(h-1)%5===0&&(C(x-5),S(k-5))},maxPageNumber:x,minPageNumber:k})})]})]})},Jw=function(){return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex px-4 md:px-8 py-5 shadow-lg items-center justify-between",children:(0,A.jsx)("div",{children:(0,A.jsxs)("h1",{className:"text-sm md:text-base",children:["Search \u201c",(0,A.jsx)("span",{className:"font-extrabold ",children:" Trending Items"}),"\u201d"]})})})})},e_=function(){return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"bg-gray-100",children:(0,A.jsx)(cm,{page:"search",children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"",children:(0,A.jsx)(Jw,{})}),(0,A.jsx)("div",{className:"my-3"})]})})})})},t_=function(){return er.get("/bids")},n_=function(){var e,t=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["bids"],queryFn:function(){return t_()}}))}(),n=Gi();return(0,A.jsxs)(cm,{page:"Bids",children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-8 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:"text-gray-400",children:"Bids"})]}),(0,A.jsx)("div",{className:"space-y-6",children:(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-1 lg:grid-cols-1 gap-6",children:[null===t||void 0===t||null===(e=t.data)||void 0===e?void 0:e.map((function(e,t){return(0,A.jsx)("div",{className:"flex items-center gap-3",children:(0,A.jsxs)("div",{className:"bg-white shadow-lg rounded-lg md:rounded-2xl p-4 h-full w-full",children:[(0,A.jsx)("div",{className:"text-start capitalize h-8",children:(0,A.jsx)("p",{className:"text-gray-800",children:null===e||void 0===e?void 0:e.name})}),(0,A.jsxs)("div",{className:"text-gray-600",children:[(0,A.jsxs)("p",{children:["Opening Date :"," ",(0,A.jsx)("span",{className:"text-green-400 font-semibold",children:null===e||void 0===e?void 0:e.bid_opening_date})]}),(0,A.jsxs)("p",{children:["Closing Date :"," ",(0,A.jsx)("span",{className:"text-red-400 font-semibold",children:null===e||void 0===e?void 0:e.bid_closing_date})]})]}),(0,A.jsx)("div",{className:"mt-3",children:(0,A.jsx)(w,{onClick:function(){return n("/services/bids/".concat(null===e||void 0===e?void 0:e.slug))},children:"Go to details"})})]})},t)})),t.isLoading&&(0,A.jsx)("div",{className:"flex items-center justify-center col-span-full",children:(0,A.jsxs)("div",{className:"bg-white rounded-md shadow-lg p-4 space-y-4",children:[(0,A.jsx)("div",{className:"skeleton h-8 w-full"}),(0,A.jsx)("div",{className:"skeleton h-32 w-full"}),(0,A.jsx)("div",{className:"skeleton h-8 w-full"}),(0,A.jsx)("div",{className:"skeleton h-8 w-full"})]})})]})})]})},r_=function(e){var t=e.slug,n=e.config;return(0,uc.useQuery)(s(s({},n),{},{queryKey:["bid",t],queryFn:function(){return function(e){var t=e.slug;return er.get("/bids/slug/".concat(t))}({slug:t})}}))},o_=n(1002);function i_(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function a_(e){i_(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,o_.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function s_(e,t){return i_(2,arguments),a_(e).getTime()-a_(t).getTime()}var c_={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function l_(e){return e?c_[e]:c_.trunc}var u_=function(){var e,n,r,o,i,a,s,c,l;(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]);var u=Wi().slug,d=wh(),f=r_({slug:u}),h=sm(),p=0,m=(0,t.useState)(b()),g=(0,B.Z)(m,2),v=g[0],y=g[1];function b(){var e=function(e,t,n){i_(2,arguments);var r=s_(e,t)/1e3;return l_(null===n||void 0===n?void 0:n.roundingMethod)(r)}(1700420825723,new Date);return e<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(e/86400),hours:Math.floor(e%86400/3600),minutes:Math.floor(e%3600/60),seconds:e%60}}return(0,t.useEffect)((function(){var e=setInterval((function(){y(b())}),1e3);return function(){return clearInterval(e)}}),[]),(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)(cm,{children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-8 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)(fa,{to:"/services/bids",className:"",children:"Bids"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:"text-gray-400",children:null===(e=f.data)||void 0===e?void 0:e.name})]}),f.isLoading&&(0,A.jsxs)("div",{className:"shadow-md bg-white rounded-lg md:rounded-2xl mt-8 p-8 space-y-4",children:[(0,A.jsx)("div",{className:"skeleton h-8 my-2 w-4/6 mx-auto"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2 w-5/6 mx-auto"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2 w-5/6 mx-auto"})]}),!f.isLoading&&(0,A.jsxs)("div",{className:"shadow-md bg-white rounded-lg md:rounded-2xl mt-8 p-8",children:[(0,A.jsx)("div",{className:"",children:(0,A.jsx)("p",{className:"font-bold text-2xl text-center my-4",children:null===(n=f.data)||void 0===n?void 0:n.name})}),(0,A.jsx)("div",{children:(0,A.jsxs)("p",{className:"font-bold text-xl text-center text-green-400",children:[v.days," days, ",v.hours," hours,"," ",v.minutes," minutes, ",v.seconds," seconds"]})}),(0,A.jsx)("div",{className:"flex justify-center",children:(0,A.jsxs)("div",{className:"text-gray-600 text-lg my-6 space-y-4",children:[(0,A.jsxs)("p",{className:"",children:["Bid Opening date :"," ",(0,A.jsx)("span",{className:"font-semibold",children:null===(r=f.data)||void 0===r?void 0:r.bid_opening_date})]}),(0,A.jsxs)("p",{children:["Bid Closing date:"," ",(0,A.jsx)("span",{className:"text-red-400 font-semibold",children:null===(o=f.data)||void 0===o?void 0:o.bid_closing_date})]})]})}),null!=f.data&&(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"font-bold text-xl text-center my-4",children:"Details"}),(0,A.jsx)("div",{className:"my-4",children:(0,A.jsx)("p",{className:"text-gray-800 text-lg",children:null===(i=f.data)||void 0===i?void 0:i.details})}),(0,A.jsx)("div",{className:"my-4 overflow-auto",children:(0,A.jsxs)("table",{className:"table-auto overflow-scroll w-full text-left border-collapse",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:"Procurement Reference Number"}),(0,A.jsx)("th",{children:"Subject matter of Procurement"})]})}),(0,A.jsx)("tbody",{className:"text-left ",children:null===(a=f.data)||void 0===a||null===(s=a.bidItems)||void 0===s?void 0:s.map((function(e,t){return p=(null===e||void 0===e?void 0:e.bid_cost)+p,(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:null===e||void 0===e?void 0:e.procurement_ref_no}),(0,A.jsx)("td",{children:null===e||void 0===e?void 0:e.subject_matter})]},t)}))})]})})]}),(0,A.jsx)("div",{className:"my-4",children:(0,A.jsxs)("div",{className:"flex flex-col md:flex-row space-y-4 md:space-y-0 space-x-0 md:space-x-4 my-8  items-center justify-center",children:[(0,A.jsx)("div",{children:(0,A.jsx)("a",{href:"https://shopapi.ncdc.go.ug/documents/bids/"+(null===f||void 0===f||null===(c=f.data)||void 0===c?void 0:c.bid_details_location),target:"_blank",rel:"noreferrer",children:(0,A.jsx)("button",{className:"btn text-white bg-green-500 rounded-lg shadow-sm font-extrabold px-5 py-1.5",children:"Download Bid Details"})})}),(0,A.jsx)("div",{children:d.user?null===(null===d||void 0===d||null===(l=d.user)||void 0===l?void 0:l.email_verified_at)?(0,A.jsx)("button",{className:"bg-green-500 px-5 py-2 m-4 text-white rounded",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.mutateAsync({email:null===d||void 0===d||null===(t=d.user)||void 0===t?void 0:t.email});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:"Verify account"}):(0,A.jsx)(fa,{to:"/bid-payment",children:(0,A.jsx)("button",{onClick:function(){var e;localStorage.setItem("bidID",null===f||void 0===f||null===(e=f.data)||void 0===e?void 0:e.id)},className:"bg-green-500 px-5 py-2 m-4 text-white rounded",children:"Continue to payment"})}):(0,A.jsx)("div",{children:(0,A.jsx)(fa,{to:"/auth/login",children:(0,A.jsx)("button",{className:"text-green-500 rounded-lg shadow-sm border border-green-500 font-extrabold px-5 py-1.5",children:"Log in and pay for bid"})})})})]})})]})]})})},A_=function(){return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"w-full",children:(0,A.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,A.jsx)("p",{className:"my-4 text-lg md:text-2xl",children:"Sorry, you can not access these services without logging in"}),(0,A.jsx)("p",{className:"my-4 text-lg",children:"Please log in to access book evaluation services."}),(0,A.jsx)("div",{children:(0,A.jsx)(fa,{to:"/auth/login",children:(0,A.jsx)("button",{className:"text-green-500 rounded-lg shadow-sm border border-green-500 font-extrabold px-5 py-1.5 ",children:"Log in and evaluate your book"})})})]})})})},d_=function(e){var t=e.books;return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 my-4",children:null===t||void 0===t?void 0:t.map((function(e,t){return(0,A.jsxs)("div",{className:"space-y-1 px-3",children:[(0,A.jsx)("h1",{className:"uppercase mb-2",children:null===e.amount?"Thank you for using NCDC Evaluation Service":""}),null!==e.amount&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"font-black",children:e.book_title}),(0,A.jsxs)("div",{className:"bg-green-100 flex flex-row items-center space-x-2 p-2 rounded-md px-3 text-green-500",children:[(0,A.jsx)("div",{className:"text-xs",children:"Fee"}),(0,A.jsx)("div",{className:"font-black",children:parseFloat(null===e||void 0===e?void 0:e.amount).toLocaleString("en-US",{style:"currency",currency:"UGX"})})]}),(0,A.jsxs)("div",{className:"",children:["Please pay the evaluation fee within a period of",(0,A.jsxs)("span",{className:"font-black text-green-500",children:[" ",null===e||void 0===e?void 0:e.period_of_delivery]})," ","days"]}),(0,A.jsxs)("div",{className:"p-2",children:[(0,A.jsx)("div",{className:"text-sm text-gray-500 ml-2 underline",children:"Comments"}),(0,A.jsx)("div",{children:null===(null===e||void 0===e?void 0:e.comments)?(0,A.jsx)("p",{className:"text-gray-500",children:"No comments for now."}):(0,A.jsx)(sn,{value:null===e||void 0===e?void 0:e.comments})})]}),(0,A.jsx)(fa,{to:"/evaluation-payment",children:(0,A.jsx)("button",{className:"my-4 text-white bg-green-500 rounded-lg shadow-sm font-extrabold px-5 py-2",onClick:function(){localStorage.setItem("evaluationAmount",null===e||void 0===e?void 0:e.amount),localStorage.setItem("evaluation_id",null===e||void 0===e?void 0:e.id)},children:"Pay Evaluation Fee"})})]})]},t)}))})})},f_=function(e){var t=e.data;return er.post("evaluation",t)},h_=function(){var e=Hs({book_title:Os().min(1,"Required")}),n=(0,t.useState)(),r=(0,B.Z)(n,2),o=r[0],i=r[1],a=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onError:function(){t({type:"error",title:"Error occured while uploading book"})},onSuccess:function(){t({type:"success",title:"Book uploaded"})}},e),{},{mutationFn:f_}))}();return(0,A.jsx)("div",{className:"my-12 mx-auto",children:(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n,r;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.book_title,(r=new FormData).append("book_title",n),r.append("location",o),e.next=6,a.mutateAsync({data:r});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:e,children:function(e){var t=e.register,n=e.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{label:"Book title",error:n.errors.book_title,registration:t("book_title")}),(0,A.jsxs)("div",{className:"space-y-4 flex flex-col",children:[(0,A.jsx)("label",{className:"text-gray-400",children:"Select file to upload"}),(0,A.jsx)("input",{className:"border border-gray-300 rounded-md shadow-sm",type:"file",accept:".pdf,.doc,.docx",onChange:function(e){return i(e.target.files[0])},required:!0})]}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:null===a||void 0===a?void 0:a.isLoading,type:"submit",className:"w-full ".concat(null!==a&&void 0!==a&&a.isLoading?"bg-green-400":"bg-green-600"),children:null!==a&&void 0!==a&&a.isLoading?"Uploading book...":"Upload book"})})]})}})})},p_=function(){return er.get("/evaluation")},m_=function(){var e,t=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["evaluation"],queryFn:function(){return p_()}}))}(),n=wh(),r=null===(e=t.data)||void 0===e?void 0:e.filter((function(e){var t;return(null===e||void 0===e?void 0:e.user_id)===(null===n||void 0===n||null===(t=n.user)||void 0===t?void 0:t.id)}));return(0,A.jsxs)("div",{children:[0!==(null===r||void 0===r?void 0:r.length)?(0,A.jsx)(d_,{books:r}):(0,A.jsx)(h_,{}),t.isLoading&&(0,A.jsx)("div",{className:"w-72",children:(0,A.jsxs)("div",{className:"bg-white rounded-md shadow-lg p-3 space-y-8",children:[(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"skeleton h-8 w-full",children:(0,A.jsx)("p",{})})}),(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"my-4 space-y-4",children:[(0,A.jsx)("div",{className:"skeleton w-2/3 h-6"}),(0,A.jsx)("div",{className:"skeleton w-2/3 h-6"})]})})]})})]})},g_=function(){var e=wh().user;return(0,A.jsxs)(cm,{children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-8 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:"text-gray-400",children:"Book Evaluation"})]}),(0,A.jsx)("div",{className:"flex bg-white rounded-2xl shadow flex-col px-2 py-5 justify-between",children:(0,A.jsx)("div",{className:"flex items-center ",children:e?(0,A.jsx)(m_,{}):(0,A.jsx)(A_,{})})})]})},v_=function(e){var n=e.children,r=(0,t.useState)(!1),o=(0,B.Z)(r,2),i=o[0],a=o[1],s=(0,t.useState)(!1),c=(0,B.Z)(s,2),l=c[0],u=c[1];return(0,t.useEffect)((function(){window.scrollTo(0,0),window.addEventListener("scroll",(function(){window.scrollY>400?u(!0):u(!1)}))}),[]),(0,A.jsxs)("div",{children:[l&&(0,A.jsx)("div",{className:"fixed right-12 bottom-10 z-20",children:(0,A.jsx)("button",{className:"rounded-md bg-green-800 px-4 py-4",onClick:function(){return window.scrollTo({top:0,behavior:"smooth"})},children:(0,A.jsx)(Lh,{className:"text-white h-8 w-auto"})})}),(0,A.jsx)(em,{}),(0,A.jsx)(Ip,{openSidebar:i,setOpenSidebar:a}),(0,A.jsx)("div",{className:"max-w-screen-xl lg:mx-auto",children:(0,A.jsxs)("div",{className:"mx-5 my-4 h-fit lg:gap-8",children:[(0,A.jsx)("div",{className:"",children:(0,A.jsx)("div",{className:"".concat(i?"w-5/6 flex":"w-0 hidden"," absolute duration-300 backdrop-blur-md bg-white/80 flex w-5/6 h-screen -my-4 "),children:(0,A.jsx)("div",{className:"text-black origin-left font-medium text-xl duration-300 w-fit ".concat(!i&&"scale-0"),children:(0,A.jsx)(im,{})})})}),(0,A.jsx)("div",{className:"px-12 md:w-4/6 mx-auto",children:n})]})}),(0,A.jsx)(Jp,{})]})},y_=function(){return(0,A.jsxs)(v_,{children:[(0,A.jsx)("h1",{className:"font-bold text-2xl md:text-3xl lg:text-4xl my-8 text-center",children:"IPR Protection Policy"}),(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("h1",{className:"font-semibold",children:"Introduction"}),(0,A.jsx)("p",{className:"text-base",children:"National Curriculum Development Center (NCDC) is committed to the protection of intellectual property rights (IPR) in all its operations. NCDC has established this IPR Protection Policy to safeguard the rights of creators, innovators, and inventors, and to promote a culture of respect for IPR within the organization and its stakeholders."}),(0,A.jsx)("h2",{className:"font-semibold",children:"Scope"}),(0,A.jsx)("p",{className:"text-base",children:"This policy applies to all NCDC employees, consultants, partners, and stakeholders involved in the development, sale, and distribution of NCDC\u2019s products, including curriculum materials, books, and any other materials or resources developed by NCDC."}),(0,A.jsx)("h2",{className:"font-semibold",children:"Policy Statement"}),(0,A.jsxs)("ul",{className:"text-base list-disc mx-4",children:[(0,A.jsx)("li",{children:"NCDC recognizes and respects the intellectual property rights of all creators, innovators, and inventors, including patents, trademarks, copyrights, and trade secrets."}),(0,A.jsx)("li",{children:"NCDC will take all necessary measures to protect its intellectual property rights, including but not limited to registering patents, trademarks, and copyrights, and maintaining trade secrets."}),(0,A.jsx)("li",{children:"NCDC will not tolerate any unauthorized use or infringement of its intellectual property rights by any person or entity, and will take all necessary legal action to protect its rights."}),(0,A.jsx)("li",{children:"NCDC employees, consultants, partners, and stakeholders involved in the development, sale, and distribution of NCDC\u2019s products must respect and protect the intellectual property rights of others, and must obtain all necessary licenses and permissions before using any third-party intellectual property."}),(0,A.jsx)("li",{children:"NCDC employees, consultants, partners, and stakeholders must report any suspected infringement or violation of NCDC\u2019s or any third-party\u2019s intellectual property rights to the appropriate NCDC authorities."}),(0,A.jsx)("li",{children:"NCDC will ensure that all its products are marked with appropriate copyright notices and trademarks, and that all materials distributed by NCDC are accompanied by appropriate licensing agreements and terms of use."}),(0,A.jsx)("li",{children:"NCDC will provide training and awareness-raising activities to its employees, consultants, partners, and stakeholders to ensure that they understand the importance of IPR protection and are able to comply with this policy."})]}),(0,A.jsx)("h1",{className:"font-semibold",children:" Conclusion"}),(0,A.jsx)("p",{className:"text-base",children:"NCDC is committed to upholding the highest standards of IPR protection in all its operations, and to promoting a culture of respect for IPR among its stakeholders. NCDC will continuously review and update this policy to ensure that it remains current and effective in protecting the intellectual property rights of NCDC and its stakeholders."})]})]})},b_=function(){return(0,A.jsxs)(v_,{children:[(0,A.jsx)("h1",{className:"font-bold text-2xl md:text-3xl lg:text-4xl my-8 text-center",children:"Dispute Resolution Policy"}),(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("h1",{className:"font-semibold",children:"Introduction"}),(0,A.jsx)("p",{className:"text-base",children:"At the National Curriculum Development Center (NCDC), we are committed to providing quality services to our customers. However, if a dispute arises, we encourage you to contact us immediately to try and resolve the issue. If we are unable to reach a satisfactory resolution, we have a dispute resolution policy in place to ensure that any disputes are handled fairly and efficiently."}),(0,A.jsxs)("ul",{className:"text-base list-disc mx-4",children:[(0,A.jsx)("li",{children:"Mediation: In the event of a dispute, we encourage the parties involved to first attempt to resolve the dispute through mediation. Mediation will be conducted by a neutral third party mediator agreed upon by both parties."}),(0,A.jsx)("li",{children:"Arbitration: If mediation is not successful in resolving the dispute, the parties may proceed to binding arbitration. The arbitration will be conducted by a single arbitrator agreed upon by both parties or appointed by a competent court of law. The decision of the arbitrator will be final and binding on both parties."}),(0,A.jsx)("li",{children:"Court Proceedings: If neither mediation nor arbitration is successful in resolving the dispute, the parties may seek relief from the courts. Any legal proceedings arising out of or in connection with a dispute will be governed by the laws of Uganda and will be subject to the exclusive jurisdiction of the courts of Uganda."})]}),(0,A.jsx)("h1",{className:"font-semibold",children:" Conclusion"}),(0,A.jsx)("p",{className:"text-base",children:"At NCDC, we are committed to ensuring that any dispute is resolved in a fair and efficient manner, and we will make every effort to work with you to find a resolution."})]})]})},w_=function(){return(0,A.jsxs)(v_,{children:[(0,A.jsx)("h1",{className:"font-bold text-2xl md:text-3xl lg:text-4xl my-8 text-center",children:"Privacy Policy"}),(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("p",{className:"text-base",children:"At National Curriculum Development Center, we are committed to protecting the privacy and personal information of our customers, users, and visitors to our website. This Privacy Policy outlines the type of information we collect, how we use it, and how we protect it."}),(0,A.jsx)("h2",{className:"font-semibold",children:"Information we collect:"}),(0,A.jsxs)("ul",{className:"text-base list-disc mx-4",children:[(0,A.jsx)("li",{children:"Personal information such as name, email, address, and phone number"}),(0,A.jsx)("li",{children:"Payment information for purchasing our products and services"}),(0,A.jsx)("li",{children:"Demographic information such as gender"})]}),(0,A.jsx)("h2",{className:"font-semibold",children:"How we use the information:"}),(0,A.jsxs)("ul",{className:"text-base list-disc mx-4",children:[(0,A.jsx)("li",{children:"To process orders and deliver products and services to customers"}),(0,A.jsx)("li",{children:"To improve our products and services based on customer feedback"}),(0,A.jsx)("li",{children:"To communicate with customers about their orders, account information, and promotions"})]}),(0,A.jsxs)("h1",{className:"font-semibold",children:[" ","We do not share or sell any personal information to third parties unless required by law."]}),(0,A.jsx)("h2",{className:"font-semibold",children:"How we protect the information:"}),(0,A.jsxs)("ul",{className:"text-base list-disc mx-4",children:[(0,A.jsx)("li",{children:"We use secure servers to store and transmit personal and payment information"}),(0,A.jsx)("li",{children:"We limit access to personal information to only authorized personnel"}),(0,A.jsx)("li",{children:"We use industry-standard security measures to protect against unauthorized access, alteration, or destruction of personal information"})]}),(0,A.jsx)("h2",{className:"font-semibold",children:"Changes to this Privacy Policy:"}),(0,A.jsx)("p",{className:"text-base",children:"We reserve the right to update or change this Privacy Policy at any time. Any changes will be posted on our website with the updated policy effective immediately upon posting."})]})]})},__=function(){return(0,A.jsxs)(v_,{children:[(0,A.jsx)("h1",{className:"font-bold text-2xl md:text-3xl lg:text-4xl my-8 text-center",children:"Terms and Conditions"}),(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("p",{className:"text-base",children:'Welcome to the National Curriculum Development Center website. The following terms and conditions ("Terms") govern your access to and use of the website, including any content, functionality, and services offered on or through the website.'}),(0,A.jsx)("h2",{className:"font-semibold",children:"ACCEPTANCE OF TERMS"}),(0,A.jsx)("p",{className:"text-base",children:"By accessing or using this website, you agree to be bound by these Terms, as well as any additional terms and conditions that may apply to specific areas or services of the website. If you do not agree to these Terms, you may not access or use this website."}),(0,A.jsx)("h2",{className:"font-semibold",children:"MODIFICATIONS"}),(0,A.jsx)("p",{className:"text-base",children:"We may revise and update these Terms from time to time in our sole discretion. All changes are effective immediately when we post them, and apply to all access to and use of the website thereafter. Your continued use of the website following the posting of revised Terms means that you accept and agree to the changes. It is your responsibility to check this page regularly for changes to the Terms."}),(0,A.jsx)("h2",{className:"font-semibold",children:"INTELLECTUAL PROPERTY RIGHTS"}),(0,A.jsx)("p",{className:"text-base",children:"The website and its entire contents, features, and functionality, including but not limited to all text, graphics, logos, images, and software, are the property of the National Curriculum Development Center or its licensors and are protected by Ugandan and international copyright, trademark, patent, trade secret, and other intellectual property or proprietary rights laws."}),(0,A.jsx)("h2",{className:"font-semibold",children:"LICENSE AND WEBSITE ACCESS"}),(0,A.jsx)("p",{className:"text-base",children:"The National Curriculum Development Center grants you a limited license to access and use this website for personal use only. You may not download (other than page caching) or modify the website or any portion of it, without our express written consent. This license does not include any resale or commercial use of this website or its contents; any derivative use of this website or its contents; or any use of data mining, robots, or similar data gathering and extraction tools."}),(0,A.jsx)("h2",{className:"font-semibold",children:"USER CONTENT"}),(0,A.jsx)("p",{className:"text-base",children:'The website may allow you to submit content, including but not limited to text, photographs, videos, and other materials ("User Content"). By submitting User Content, you grant us a non-exclusive, transferable, sub-licensable, royalty-free, worldwide license to use, store, display, reproduce, modify, create derivative works, perform, and distribute your User Content on this website and on any other website or platform owned or operated by the National Curriculum Development Center.'}),(0,A.jsx)("h2",{className:"font-semibold",children:"DISCLAIMER OF WARRANTIES"}),(0,A.jsx)("p",{className:"text-base",children:'The website is provided "as is" and without warranties of any kind, either express or implied. We do not warrant that the website or any of its functions will be uninterrupted or error-free, that defects will be corrected, or that the website is free of viruses or other harmful components.'}),(0,A.jsx)("h2",{className:"font-semibold",children:"LIMITATION OF LIABILITY"}),(0,A.jsx)("p",{className:"text-base",children:"In no event shall the National Curriculum Development Center be liable for any direct, indirect, special, incidental, consequential or punitive damages arising out of or in connection with the use or inability to use the website or any content or services provided through the website."}),(0,A.jsx)("h2",{className:"font-semibold",children:"GOVERNING LAW AND JURISDICTION"}),(0,A.jsx)("p",{className:"text-base",children:"These Terms and your use of the website shall be governed by and construed in accordance with the laws of Uganda. Any legal action or proceeding relating to your access to, or use of, the website shall be instituted in the courts of Uganda."}),(0,A.jsx)("h2",{className:"font-semibold",children:"CONTACT INFORMATION"}),(0,A.jsx)("p",{className:"text-base",children:"If you have any questions about these Terms, please contact us at info@ncdc.go.ug."})]})]})},x_=function(){return(0,A.jsxs)(v_,{children:[(0,A.jsx)("h1",{className:"font-bold text-2xl md:text-3xl lg:text-4xl my-8 text-center",children:"How to Buy"}),(0,A.jsxs)("div",{className:"space-y-6",children:[(0,A.jsx)("p",{className:"text-base",children:"If you're interested in buying a product from National Curriculum Development Center, we're happy to help you through the process."}),(0,A.jsx)("p",{className:"text-base",children:"Firstly, browse through our website to find the product you're interested in. You can use the search bar to look for a specific item or browse through our categories to find what you need."}),(0,A.jsx)("p",{className:"text-base",children:"Once you've found the product you want to buy, add it to your cart and proceed to checkout. You'll be prompted to enter your shipping and billing information, as well as any discount codes you may have."}),(0,A.jsx)("p",{className:"text-base",children:"After reviewing your order and making sure everything is correct, you can complete your purchase by making a payment. We accept various payment methods, including credit/debit cards, bank transfers, and mobile money."}),(0,A.jsx)("p",{className:"text-base",children:"Once your payment has been confirmed, we'll process your order. You'll receive an email with your order details."}),(0,A.jsx)("p",{className:"text-base",children:"If you have any questions or concerns about the buying process or our products, don't hesitate to contact us. Our customer support team is always happy to assist you. Thank you for choosing National Curriculum Development Center for your educational needs."})]})]})},B_=function(e){var t=e.data;return er.post("/email/verify/".concat(t.username,"/").concat(t.code))},C_=function(){var e=Wi(),n=e.username,r=e.code,o=Gi(),i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){t({type:"success",title:e.message})}},e),{},{mutationFn:B_}))}();return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),(0,A.jsx)(ul,{title:"Verify Account",children:(0,A.jsxs)("div",{className:"p-10",children:["Thank you for creating an account with us. Please click the link below to activate your account.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),(0,A.jsx)("button",{className:"bg-green-500 text-white p-4 rounded-md w-full",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){var t;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={username:n,code:r},e.next=3,i.mutateAsync({data:t});case 3:o("/"),window.location.reload();case 5:case"end":return e.stop()}}),e)}))),children:"Click to activate account"})]})})},E_=function(e){var t=e.data;return er.post("/profile?_method=PUT",t)};E_.propTypes={data:Xn().shape({name:Xn().string.isRequired,email:Xn().string.isRequired,role:Xn().string.isRequired}).isRequired};var j_=function(){return er.get("/orders/mine")},k_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config;return(0,uc.useQuery)(s(s({},t),{},{queryKey:["order"],queryFn:function(){return j_()}}))},S_=function(){var e,n,r,o=wh().user,i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification,n=wh().refetchUser;return(0,uc.useMutation)(s(s({onSuccess:function(){t({type:"success",title:"User Profile Updated Successfully"}),n()}},e),{},{mutationFn:E_}))}(),a=k_(),c=(Bp(),jp()),l=(0,t.useState)((null===o||void 0===o?void 0:o.name)||""),u=(0,B.Z)(l,2),d=u[0],f=u[1],p=(0,t.useState)((null===o||void 0===o?void 0:o.email)||""),m=(0,B.Z)(p,2),g=m[0],v=m[1],y=(0,t.useState)((null===o||void 0===o?void 0:o.tin)||""),b=(0,B.Z)(y,2),w=b[0],_=(b[1],(0,t.useState)((null===o||void 0===o?void 0:o.tax_payer_code)||"")),x=(0,B.Z)(_,2),C=(x[0],x[1],(0,t.useState)((null===o||void 0===o?void 0:o.phone_number)||"")),E=(0,B.Z)(C,2),j=E[0],k=E[1];return(0,A.jsxs)(cm,{children:[(0,A.jsx)("div",{className:"md:mt-8 px-8 py-4 shadow-md rounded-2xl bg-white flex justify-between items-center",children:(0,A.jsx)("div",{className:"font-bold text-md md:text-lg",children:"Account Overview"})}),(0,A.jsx)("div",{className:"my-4 space-y-8",children:(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,A.jsxs)("div",{className:"shadow-lg space-y-4 bg-gray-50 rounded-md",children:[(0,A.jsxs)("div",{className:"bg-white flex justify-between rounded-t-md",children:[(0,A.jsx)("p",{className:"text-lg font-bold px-8 py-4",children:"Personal Details"}),(0,A.jsx)("button",{className:"text-green-500 px-8 py-4","data-bs-toggle":"modal","data-bs-target":"#editModal",children:"Edit"})]}),(0,A.jsxs)("div",{className:"space-y-4 px-8 py-4",children:[(0,A.jsxs)("p",{children:[(0,A.jsx)("span",{className:"font-bold",children:"Name: "}),null===o||void 0===o?void 0:o.name]}),(0,A.jsxs)("p",{children:[(0,A.jsx)("span",{className:"font-bold",children:"Email: "}),null===o||void 0===o?void 0:o.email]}),(0,A.jsxs)("p",{children:[(0,A.jsx)("span",{className:"font-bold",children:"Phone: "}),null===o||void 0===o?void 0:o.phone_number]}),(null===o||void 0===o?void 0:o.tin)&&(0,A.jsxs)("p",{children:[(0,A.jsx)("span",{className:"font-bold",children:"TIN number: "}),null===o||void 0===o?void 0:o.tin]})]})]}),(0,A.jsxs)("div",{className:"shadow-lg space-y-2 bg-gray-50 rounded-md",children:[(0,A.jsx)("div",{className:"bg-white rounded-t-md",children:(0,A.jsx)("p",{className:"text-lg font-bold px-8 py-4",children:"Transaction Summary"})}),(0,A.jsx)("div",{className:"space-y-2 px-8 py-2",children:(0,A.jsxs)("div",{className:"justify-between flex",children:[(0,A.jsx)("p",{className:"font-bold",children:"Orders"}),(0,A.jsxs)("p",{children:[null===a||void 0===a||null===(e=a.data)||void 0===e?void 0:e.length," orders"]})]})}),(0,A.jsx)("div",{className:"space-y-2 px-8 py-2",children:(0,A.jsxs)("div",{className:"justify-between flex",children:[(0,A.jsx)("p",{className:"font-bold",children:"Wishlist"}),(0,A.jsxs)("p",{children:[null===c||void 0===c||null===(n=c.data)||void 0===n||null===(r=n.wishlistItems)||void 0===r?void 0:r.length," products"]})]})})]})]})}),(0,A.jsx)("div",{className:"modal fade fixed top-0 left-0 hidden w-full h-full outline-none overflow-x-hidden overflow-y-auto",id:"editModal",tabIndex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true",children:(0,A.jsx)("div",{className:"modal-dialog relative w-auto pointer-events-none",children:(0,A.jsxs)("div",{className:"modal-content border-none shadow-lg relative flex flex-col w-full pointer-events-auto bg-white bg-clip-padding rounded-md outline-none text-current",children:[(0,A.jsxs)("div",{className:"modal-header flex flex-shrink-0 items-center justify-between p-4 border-b border-gray-200 rounded-t-md",children:[(0,A.jsx)("h5",{className:"text-xl font-medium leading-normal text-gray-800",id:"exampleModalLabel",children:"Edit Profile"}),(0,A.jsx)("button",{type:"button",className:"btn-close box-content w-4 h-4 p-1 text-black border-none rounded-none opacity-50 focus:shadow-none focus:outline-none focus:opacity-100 hover:text-black hover:opacity-75 hover:no-underline","data-bs-dismiss":"modal","aria-label":"Close"})]}),(0,A.jsx)("div",{className:"modal-body relative p-4",children:(0,A.jsxs)("div",{className:"space-y-4 px-8 py-4",children:[(0,A.jsxs)("div",{className:"flex space-x-4 items-center",children:[(0,A.jsx)("label",{children:"Name: "}),(0,A.jsx)("input",{value:d,onChange:function(e){return f(e.target.value)},type:"text",className:"border border-gray-300 rounded px-4 py-2 w-full",placeholder:"Please enter your name"})]}),(0,A.jsxs)("div",{className:"flex space-x-4 items-center",children:[(0,A.jsx)("label",{children:"Email: "}),(0,A.jsx)("input",{value:g,type:"email",onChange:function(e){return v(e.target.value)},className:"border border-gray-300 rounded px-4 py-2 w-full",placeholder:"Please enter your email"})]}),(0,A.jsxs)("div",{className:"flex space-x-4 items-center",children:[(0,A.jsx)("label",{children:"Phone number: "}),(0,A.jsx)(oh,{international:!0,countryCallingCodeEditable:!1,defaultCountry:"UG",onChange:function(e){k(null===e?"":e)}}),!ih(j)&&(0,A.jsx)("span",{className:"text-sm font-semibold text-red-500",children:"Enter valid phone number"})]}),(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.mutateAsync({data:{name:d,email:g,phone_number:j,tin:w,role:"User"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:"px-4 py-2 bg-green-700 my-4 text-white rounded","data-bs-dismiss":"modal","aria-label":"Close",children:i.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"Submit"})})]})})]})})})]})},O_=n(7892),N_=n.n(O_),F_=function(e){return N_()(e).format("MMM D, YYYY h:mm A")};F_.propTypes={date:Xn().string.isRequired};var I_=function(){var e,n=k_(),r=Gi(),o=null===n||void 0===n||null===(e=n.data)||void 0===e?void 0:e.sort((function(e,t){return(null===t||void 0===t?void 0:t.id)-(null===e||void 0===e?void 0:e.id)})),i=(0,t.useState)(1),a=(0,B.Z)(i,2),s=a[0],c=a[1],l=(0,t.useState)(4),u=(0,B.Z)(l,1)[0],d=s*u,f=d-u,h=null===o||void 0===o?void 0:o.slice(f,d),p=(0,t.useState)(5),m=(0,B.Z)(p,2),g=m[0],v=m[1],y=(0,t.useState)(1),b=(0,B.Z)(y,2),_=b[0],x=b[1],C=function(e){switch(e){case"BOOKS":return"Book Purchase";case"BID_DOCUMENTS":return"Bids Service";case"BOOK_EVALUATION":return"Evaluations Service";default:return e}};return(0,A.jsx)(cm,{children:(0,A.jsxs)("div",{className:"flex flex-col justify-between md:mt-8",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)("div",{className:"px-8 py-4 shadow-md rounded-2xl bg-white flex justify-between items-center",children:[(0,A.jsx)("div",{className:"font-bold text-md md:text-lg",children:"My Orders"}),(0,A.jsx)(w,{size:"sm",onClick:function(){return r("/check-prn")},children:(0,A.jsx)("span",{className:"text-xs md:text-md",children:"Check Payment Status"})})]}),(null===o||void 0===o?void 0:o.length)<1?(0,A.jsxs)("div",{className:"mx-auto flex flex-col justify-center text-center my-12 font-bold h-48 space-y-6",children:[(0,A.jsx)("p",{className:"text-2xl",children:"Your Order list is empty"}),(0,A.jsx)("p",{children:"Check out our products to get the best deals"}),(0,A.jsx)(w,{onClick:function(){return r("/")},children:"Go Shopping"})]}):null===h||void 0===h?void 0:h.map((function(e,t){return(0,A.jsx)("div",{className:"bg-white my-4 px-8 py-8 rounded-lg md:rounded-2xl hover:shadow-lg hover:cursor-pointer",onClick:function(){return r("/order-summary/".concat(null===e||void 0===e?void 0:e.id))},children:(0,A.jsxs)("div",{className:"space-y-2",children:[(0,A.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,A.jsxs)("div",{className:"",children:[(0,A.jsxs)("div",{className:"text-xs",children:[(0,A.jsx)("span",{className:"text-gray-400",children:"ORDER"})," #",null===e||void 0===e?void 0:e.id]}),(0,A.jsx)("div",{className:"font-bold",children:null===e||void 0===e?void 0:e.amount.toLocaleString("en-US",{style:"currency",currency:"UGX"})})]}),(0,A.jsx)("div",{className:"p-2 rounded-md text-xs flex items-center space-x-1",children:(0,A.jsx)("div",{className:"text-green-500",children:C(null===e||void 0===e?void 0:e.type_of_service)})})]}),(0,A.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,A.jsx)("div",{className:"text-green-500 bg-green-100 rounded-full p-1 text-sm px-4",children:null===e||void 0===e?void 0:e.status}),(0,A.jsx)("div",{className:"text-xs text-gray-500",children:F_(null===e||void 0===e?void 0:e.created_at)})]})]})},t)})),n.isLoading&&(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"shadow-lg rounded-md my-4 w-full bg-white my-4 px-8 py-4",children:[(0,A.jsx)("p",{className:"text-lg font-semibold text-gray-600",children:"Order: "}),(0,A.jsxs)("div",{className:"w-full flex flex-col md:flex-row md:items-center md:justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"Payment Method"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"Total Amount"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"Status"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]})]})]})})]}),(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)(cn,{postsPerPage:u,totalPosts:null===o||void 0===o?void 0:o.length,paginate:function(e){return c(e)},currentPage:s,paginateFront:function(){c(s+1),s+1>g&&(v(g+5),x(_+5))},paginateBack:function(){c(s-1),(s-1)%5===0&&(v(g-5),x(_-5))},maxPageNumber:g,minPageNumber:_})})]})})},P_=function(e){var t,n=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.data;return(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"my-3 uppercase border border-gray-200 bg-gray-100 p-6 rounded-2xl text-center font-black",children:null===n||void 0===n?void 0:n.StatusDesc})})},L_=function(e){var t=e.prn;return er.get("/payments/ura/status/".concat(t))},T_=function(){var e,t=Hs({prn:Os().min(1,"Required")}),n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){return t({type:"success",title:"PRN status has been loaded"}),e}},e),{},{mutationFn:L_}))}();return(0,A.jsxs)(cm,{children:[(0,A.jsx)("div",{className:"shadow-md rounded-lg rounded-2xl bg-white px-8 py-4 md:mt-8 mb-4",children:(0,A.jsxs)("div",{className:"flex flex-row items-center space-x-2",children:[(0,A.jsx)(fa,{to:"/profile/orders",children:(0,A.jsx)("div",{className:"text-green-600 font-bold h-8 w-8 items-center flex justify-center rounded-full bg-green-100",children:(0,A.jsx)(Zp,{})})}),(0,A.jsx)("span",{className:"font-bold text-md md:text-lg",children:"Check Payment Status"})]})}),(0,A.jsxs)("div",{className:"shadow rounded-2xl bg-white px-8 py-4",children:[(0,A.jsx)("div",{className:"text-orange-500 bg-orange-100 p-2 rounded-md mb-2",children:"Please note that this Payment status is generated by URA."}),(0,A.jsx)("div",{className:"mb-4",children:(0,A.jsx)("p",{className:"text-gray-600 text-sm mb-4",children:"To check the payment status of your order, please enter the Payment Reference Number (PRN) below. The PRN is a unique identifier associated with your payment and is used to process payments with Uganda Revenue Authority (URA)"})}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)(Mo,{onSubmit:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),schema:t,children:function(e){var t=e.register,r=e.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"text",label:"Payment Reference Number (PRN)",required:!0,error:r.errors.prn,registration:t("prn")}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:n.isLoading,type:"submit",className:"".concat(n.isLoading?"bg-green-400":"bg-green-600"),children:n.isLoading?"Checking...":"Continue"})})]})}})}),(null===n||void 0===n?void 0:n.isError)&&(0,A.jsx)("p",{className:"text-red-500 mt-2",children:"An error occurred while checking the payment status. Please try again later."}),void 0!==(null===n||void 0===n||null===(e=n.data)||void 0===e?void 0:e.data)&&(0,A.jsx)(P_,{data:null===n||void 0===n?void 0:n.data})]})]})},D_=function(e){var t=e.id,n=e.config;return(0,uc.useQuery)(s(s({},n),{},{queryKey:["orders",t],queryFn:function(){return function(e){var t=e.id;return er.get("/orders/".concat(t))}({id:t})}}))},Q_=function(){var e,t,n,r,o,i,a,s,c=Wi().id,l=D_({id:c}),u=Gi(),d=l.data;return(0,A.jsxs)(cm,{children:[(0,A.jsx)("div",{className:"shadow-md rounded-lg rounded-2xl bg-white px-8 py-4 md:mt-8 mb-4",children:(0,A.jsxs)("div",{className:"flex flex-col md:flex-row justify-between",children:[(0,A.jsxs)("div",{className:"flex flex-row items-center space-x-2 mb-3 md:mb-0",children:[(0,A.jsx)(fa,{to:"/profile/orders",children:(0,A.jsx)("div",{className:"text-green-600 font-bold h-8 w-8 items-center flex justify-center rounded-full bg-green-100",children:(0,A.jsx)(Zp,{})})}),(0,A.jsxs)("span",{className:"font-bold text-md md:text-lg",children:["ORDER ",(0,A.jsxs)("span",{className:"text-gray-400",children:["#",null===d||void 0===d?void 0:d.id]})]})]}),(0,A.jsx)("div",{className:"flex space-y-2 md:space-y-0 md:space-x-2",children:(0,A.jsx)(w,{size:"sm",onClick:function(){return u("/payment-slip/".concat(null===d||void 0===d?void 0:d.id))},children:(0,A.jsx)("span",{className:"text-xs md:text-md",children:"Print Receipt"})})})]})}),(0,A.jsx)("div",{className:"rounded-lg rounded-2xl bg-white px-8 py-4",children:(0,A.jsxs)("div",{className:"p-2 md:p-8",children:[(0,A.jsxs)("div",{className:"space-y-2",children:[(0,A.jsxs)("p",{className:"font-normal text-base",children:["Ordered on:"," ",(0,A.jsxs)("span",{className:"font-semibold text-md",children:[" ",!l.isLoading&&(null===(e=new Date(null===d||void 0===d?void 0:d.created_at))||void 0===e?void 0:e.toLocaleDateString())]})]}),(0,A.jsxs)("p",{className:"font-normal text-base",children:["Total Amount:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:!l.isLoading&&(null===d||void 0===d||null===(t=d.amount)||void 0===t?void 0:t.toLocaleString("en-US",{style:"currency",currency:"UGX"}))})]})]}),"BOOKS"===(null===d||void 0===d?void 0:d.type_of_service)&&(0,A.jsx)("div",{className:"my-2 grid grid-cols-1 md:grid-cols-12 gap-4",children:(0,A.jsxs)("div",{className:"col-span-7",children:[(0,A.jsxs)("h4",{className:"my-4 font-normal",children:["List of items (",!l.isLoading&&(null===d||void 0===d||null===(n=d.orderItems)||void 0===n?void 0:n.length),")"]}),null===d||void 0===d||null===(r=d.orderItems)||void 0===r?void 0:r.map((function(e,t){var n;return(0,A.jsxs)("div",{className:"border border-gray-200 my-2 rounded-md px-3 py-2 text-sm space-y-2",children:[(0,A.jsxs)("p",{className:"font-normal",children:["Book name:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:null===e||void 0===e?void 0:e.name})]}),(0,A.jsxs)("p",{className:"font-normal",children:["Quantity:"," ",(0,A.jsxs)("span",{className:"font-semibold text-md",children:[null===e||void 0===e?void 0:e.quantity," items"]})]}),(0,A.jsxs)("p",{className:"font-normal",children:["Amount:"," ",(0,A.jsxs)("span",{className:"font-semibold text-md",children:["ugsh. ",null===e||void 0===e||null===(n=e.amount)||void 0===n?void 0:n.toLocaleString()]})]})]},t)})),l.isLoading&&(0,A.jsxs)("div",{className:"space-y-2",children:[(0,A.jsx)("div",{className:"h-8 skeleton w-full"}),(0,A.jsx)("div",{className:"h-8 skeleton w-3/4"})]})]})}),(0,A.jsxs)("div",{className:"col-span-5",children:[(0,A.jsx)("h4",{className:"my-4 font-normal",children:"Payment Information"}),!l.isLoading&&(0,A.jsxs)("div",{className:"border border-gray-200 my-2 rounded-md px-3 py-2 text-sm space-y-2",children:[(0,A.jsxs)("p",{className:"font-normal",children:["Paymend Menthod:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:"Mobile money"})]}),(0,A.jsxs)("p",{className:"font-normal",children:["PRN:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:null===d||void 0===d||null===(o=d.payment)||void 0===o?void 0:o.prn})]}),(0,A.jsxs)("p",{className:"font-normal",children:["PRN Status:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:null===d||void 0===d||null===(i=d.payment)||void 0===i?void 0:i.prn_status_desc})]}),(0,A.jsxs)("p",{className:"font-normal",children:["PRN search code:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:null===d||void 0===d||null===(a=d.payment)||void 0===a?void 0:a.prn_search_code})]}),(0,A.jsxs)("p",{className:"font-normal",children:["PRN expiry date:"," ",(0,A.jsx)("span",{className:"font-semibold text-md",children:null===d||void 0===d||null===(s=d.payment)||void 0===s?void 0:s.prn_expiry_date})]})]}),l.isLoading&&(0,A.jsxs)("div",{className:"space-y-2",children:[(0,A.jsx)("div",{className:"h-8 skeleton w-full"}),(0,A.jsx)("div",{className:"h-8 skeleton w-3/4"})]})]})]})})]})},U_=n.p+"static/media/ura-logo.9d921cbeac5e426cba98.png",M_=n(5498),R_=n.n(M_),$_=Uint8Array,H_=Uint16Array,q_=Uint32Array,K_=new $_([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),V_=new $_([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),z_=new $_([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Z_=function(e,t){for(var n=new H_(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new q_(n[30]);for(r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)o[i]=i-n[r]<<5|r;return[n,o]},G_=Z_(K_,2),W_=G_[0],Y_=G_[1];W_[28]=258,Y_[258]=28;for(var X_=Z_(V_,0),J_=X_[0],ex=X_[1],tx=new H_(32768),nx=0;nx<32768;++nx){var rx=(43690&nx)>>>1|(21845&nx)<<1;rx=(61680&(rx=(52428&rx)>>>2|(13107&rx)<<2))>>>4|(3855&rx)<<4,tx[nx]=((65280&rx)>>>8|(255&rx)<<8)>>>1}var ox=function(e,t,n){for(var r=e.length,o=0,i=new H_(t);o<r;++o)++i[e[o]-1];var a,s=new H_(t);for(o=0;o<t;++o)s[o]=s[o-1]+i[o-1]<<1;if(n){a=new H_(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var l=o<<4|e[o],u=t-e[o],A=s[e[o]-1]++<<u,d=A|(1<<u)-1;A<=d;++A)a[tx[A]>>>c]=l}else for(a=new H_(r),o=0;o<r;++o)a[o]=tx[s[e[o]-1]++]>>>15-e[o];return a},ix=new $_(288);for(nx=0;nx<144;++nx)ix[nx]=8;for(nx=144;nx<256;++nx)ix[nx]=9;for(nx=256;nx<280;++nx)ix[nx]=7;for(nx=280;nx<288;++nx)ix[nx]=8;var ax=new $_(32);for(nx=0;nx<32;++nx)ax[nx]=5;var sx=ox(ix,9,0),cx=ox(ix,9,1),lx=ox(ax,5,0),ux=ox(ax,5,1),Ax=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},dx=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},fx=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},hx=function(e){return(e/8>>0)+(7&e&&1)},px=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof H_?H_:e instanceof q_?q_:$_)(n-t);return r.set(e.subarray(t,n)),r},mx=function(e,t,n){var r=e.length,o=!t||n,i=!n||n.i;n||(n={}),t||(t=new $_(3*r));var a=function(e){var n=t.length;if(e>n){var r=new $_(Math.max(2*n,e));r.set(t),t=r}},s=n.f||0,c=n.p||0,l=n.b||0,u=n.l,A=n.d,d=n.m,f=n.n,h=8*r;do{if(!u){n.f=s=dx(e,c,1);var p=dx(e,c+1,3);if(c+=3,!p){var m=e[(j=hx(c)+4)-4]|e[j-3]<<8,g=j+m;if(g>r){if(i)throw"unexpected EOF";break}o&&a(l+m),t.set(e.subarray(j,g),l),n.b=l+=m,n.p=c=8*g;continue}if(1==p)u=cx,A=ux,d=9,f=5;else{if(2!=p)throw"invalid block type";var v=dx(e,c,31)+257,y=dx(e,c+10,15)+4,b=v+dx(e,c+5,31)+1;c+=14;for(var w=new $_(b),_=new $_(19),x=0;x<y;++x)_[z_[x]]=dx(e,c+3*x,7);c+=3*y;var B=Ax(_),C=(1<<B)-1;if(!i&&c+b*(B+7)>h)break;var E=ox(_,B,1);for(x=0;x<b;){var j,k=E[dx(e,c,C)];if(c+=15&k,(j=k>>>4)<16)w[x++]=j;else{var S=0,O=0;for(16==j?(O=3+dx(e,c,3),c+=2,S=w[x-1]):17==j?(O=3+dx(e,c,7),c+=3):18==j&&(O=11+dx(e,c,127),c+=7);O--;)w[x++]=S}}var N=w.subarray(0,v),F=w.subarray(v);d=Ax(N),f=Ax(F),u=ox(N,d,1),A=ox(F,f,1)}if(c>h)throw"unexpected EOF"}o&&a(l+131072);for(var I=(1<<d)-1,P=(1<<f)-1,L=d+f+18;i||c+L<h;){var T=(S=u[fx(e,c)&I])>>>4;if((c+=15&S)>h)throw"unexpected EOF";if(!S)throw"invalid length/literal";if(T<256)t[l++]=T;else{if(256==T){u=null;break}var D=T-254;if(T>264){var Q=K_[x=T-257];D=dx(e,c,(1<<Q)-1)+W_[x],c+=Q}var U=A[fx(e,c)&P],M=U>>>4;if(!U)throw"invalid distance";c+=15&U;F=J_[M];if(M>3){Q=V_[M];F+=fx(e,c)&(1<<Q)-1,c+=Q}if(c>h)throw"unexpected EOF";o&&a(l+131072);for(var R=l+D;l<R;l+=4)t[l]=t[l-F],t[l+1]=t[l+1-F],t[l+2]=t[l+2-F],t[l+3]=t[l+3-F];l=R}}n.l=u,n.p=c,n.b=l,u&&(s=1,n.m=d,n.d=A,n.n=f)}while(!s);return l==t.length?t:px(t,0,l)},gx=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},vx=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},yx=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var o=n.length,i=n.slice();if(!o)return[new $_(0),0];if(1==o){var a=new $_(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var s=n[0],c=n[1],l=0,u=1,A=2;for(n[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=o-1;)s=n[n[l].f<n[A].f?l++:A++],c=n[l!=u&&n[l].f<n[A].f?l++:A++],n[u++]={s:-1,f:s.f+c.f,l:s,r:c};var d=i[0].s;for(r=1;r<o;++r)i[r].s>d&&(d=i[r].s);var f=new H_(d+1),h=bx(n[u-1],f,0);if(h>t){r=0;var p=0,m=h-t,g=1<<m;for(i.sort((function(e,t){return f[t.s]-f[e.s]||e.f-t.f}));r<o;++r){var v=i[r].s;if(!(f[v]>t))break;p+=g-(1<<h-f[v]),f[v]=t}for(p>>>=m;p>0;){var y=i[r].s;f[y]<t?p-=1<<t-f[y]++-1:++r}for(;r>=0&&p;--r){var b=i[r].s;f[b]==t&&(--f[b],++p)}h=t}return[new $_(f),h]},bx=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},wx=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new H_(++t),r=0,o=e[0],i=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==o&&s!=t)++i;else{if(!o&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(o),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(o);i=1,o=e[s]}return[n.subarray(0,r),t]},_x=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},xx=function(e,t,n){var r=n.length,o=hx(t+2);e[o]=255&r,e[o+1]=r>>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<r;++i)e[o+i+4]=n[i];return 8*(o+4+r)},Bx=function(e,t,n,r,o,i,a,s,c,l,u){gx(t,u++,n),++o[256];for(var A=yx(o,15),d=A[0],f=A[1],h=yx(i,15),p=h[0],m=h[1],g=wx(d),v=g[0],y=g[1],b=wx(p),w=b[0],_=b[1],x=new H_(19),B=0;B<v.length;++B)x[31&v[B]]++;for(B=0;B<w.length;++B)x[31&w[B]]++;for(var C=yx(x,7),E=C[0],j=C[1],k=19;k>4&&!E[z_[k-1]];--k);var S,O,N,F,I=l+5<<3,P=_x(o,ix)+_x(i,ax)+a,L=_x(o,d)+_x(i,p)+a+14+3*k+_x(x,E)+(2*x[16]+3*x[17]+7*x[18]);if(I<=P&&I<=L)return xx(t,u,e.subarray(c,c+l));if(gx(t,u,1+(L<P)),u+=2,L<P){S=ox(d,f,0),O=d,N=ox(p,m,0),F=p;var T=ox(E,j,0);gx(t,u,y-257),gx(t,u+5,_-1),gx(t,u+10,k-4),u+=14;for(B=0;B<k;++B)gx(t,u+3*B,E[z_[B]]);u+=3*k;for(var D=[v,w],Q=0;Q<2;++Q){var U=D[Q];for(B=0;B<U.length;++B){var M=31&U[B];gx(t,u,T[M]),u+=E[M],M>15&&(gx(t,u,U[B]>>>5&127),u+=U[B]>>>12)}}}else S=sx,O=ix,N=lx,F=ax;for(B=0;B<s;++B)if(r[B]>255){M=r[B]>>>18&31;vx(t,u,S[M+257]),u+=O[M+257],M>7&&(gx(t,u,r[B]>>>23&31),u+=K_[M]);var R=31&r[B];vx(t,u,N[R]),u+=F[R],R>3&&(vx(t,u,r[B]>>>5&8191),u+=V_[R])}else vx(t,u,S[r[B]]),u+=O[r[B]];return vx(t,u,S[256]),u+O[256]},Cx=new q_([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ex=new $_(0),jx=function(e,t,n,r,o,i){var a=e.length,s=new $_(r+a+5*(1+Math.floor(a/7e3))+o),c=s.subarray(r,s.length-o),l=0;if(!t||a<8)for(var u=0;u<=a;u+=65535){var A=u+65535;A<a?l=xx(c,l,e.subarray(u,A)):(c[u]=i,l=xx(c,l,e.subarray(u,a)))}else{for(var d=Cx[t-1],f=d>>>13,h=8191&d,p=(1<<n)-1,m=new H_(32768),g=new H_(p+1),v=Math.ceil(n/3),y=2*v,b=function(t){return(e[t]^e[t+1]<<v^e[t+2]<<y)&p},w=new q_(25e3),_=new H_(288),x=new H_(32),B=0,C=0,E=(u=0,0),j=0,k=0;u<a;++u){var S=b(u),O=32767&u,N=g[S];if(m[O]=N,g[S]=O,j<=u){var F=a-u;if((B>7e3||E>24576)&&F>423){l=Bx(e,c,0,w,_,x,C,E,k,u-k,l),E=B=C=0,k=u;for(var I=0;I<286;++I)_[I]=0;for(I=0;I<30;++I)x[I]=0}var P=2,L=0,T=h,D=O-N&32767;if(F>2&&S==b(u-D))for(var Q=Math.min(f,F)-1,U=Math.min(32767,u),M=Math.min(258,F);D<=U&&--T&&O!=N;){if(e[u+P]==e[u+P-D]){for(var R=0;R<M&&e[u+R]==e[u+R-D];++R);if(R>P){if(P=R,L=D,R>Q)break;var $=Math.min(D,R-2),H=0;for(I=0;I<$;++I){var q=u-D+I+32768&32767,K=q-m[q]+32768&32767;K>H&&(H=K,N=q)}}}D+=(O=N)-(N=m[O])+32768&32767}if(L){w[E++]=268435456|Y_[P]<<18|ex[L];var V=31&Y_[P],z=31&ex[L];C+=K_[V]+V_[z],++_[257+V],++x[z],j=u+P,++B}else w[E++]=e[u],++_[e[u]]}}l=Bx(e,c,i,w,_,x,C,E,k,u-k,l),i||(l=xx(c,l,Ex))}return px(s,0,r+hx(l)+o)},kx=function(){var e=1,t=0;return{p:function(n){for(var r=e,o=t,i=n.length,a=0;a!=i;){for(var s=Math.min(a+5552,i);a<s;++a)o+=r+=n[a];r%=65521,o%=65521}e=r,t=o},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},Sx=function(e,t,n,r,o){return jx(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!o)},Ox=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},Nx=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)},Fx=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function Ix(e,t){void 0===t&&(t={});var n=kx();n.p(e);var r=Sx(e,t,2,4);return Nx(r,t),Ox(r,r.length-4,n.d()),r}function Px(e,t){return mx((Fx(e),e.subarray(2,-4)),t)}var Lx=function(){return"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:this}();function Tx(){Lx.console&&"function"==typeof Lx.console.log&&Lx.console.log.apply(Lx.console,arguments)}var Dx={log:Tx,warn:function(e){Lx.console&&("function"==typeof Lx.console.warn?Lx.console.warn.apply(Lx.console,arguments):Tx.call(null,arguments))},error:function(e){Lx.console&&("function"==typeof Lx.console.error?Lx.console.error.apply(Lx.console,arguments):Tx(e))}};function Qx(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){Hx(r.response,t,n)},r.onerror=function(){Dx.error("could not download file")},r.send()}function Ux(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function Mx(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(l){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var Rx,$x,Hx=Lx.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,o_.Z)(window))||window!==Lx?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Lx.URL||Lx.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?Ux(o.href)?Qx(e,t,n):Mx(o,o.target="_blank"):Mx(o)):(o.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(o.href)}),4e4),setTimeout((function(){Mx(o)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(Ux(e))Qx(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){Mx(r)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,o_.Z)(t)&&(Dx.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return Qx(e,t,n);var o="application/octet-stream"===e.type,i=/constructor/i.test(Lx.HTMLElement)||Lx.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||o&&i)&&"object"===("undefined"==typeof FileReader?"undefined":(0,o_.Z)(FileReader))){var s=new FileReader;s.onloadend=function(){var e=s.result;e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},s.readAsDataURL(e)}else{var c=Lx.URL||Lx.webkitURL,l=c.createObjectURL(e);r?r.location=l:location.href=l,r=null,setTimeout((function(){c.revokeObjectURL(l)}),4e4)}});function qx(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var o=n[r].re,i=n[r].process,a=o.exec(e);a&&(t=i(a),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function Kx(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];n=zx(n,r,o,i,t[0],7,-680876936),i=zx(i,n,r,o,t[1],12,-389564586),o=zx(o,i,n,r,t[2],17,606105819),r=zx(r,o,i,n,t[3],22,-1044525330),n=zx(n,r,o,i,t[4],7,-176418897),i=zx(i,n,r,o,t[5],12,1200080426),o=zx(o,i,n,r,t[6],17,-1473231341),r=zx(r,o,i,n,t[7],22,-45705983),n=zx(n,r,o,i,t[8],7,1770035416),i=zx(i,n,r,o,t[9],12,-1958414417),o=zx(o,i,n,r,t[10],17,-42063),r=zx(r,o,i,n,t[11],22,-1990404162),n=zx(n,r,o,i,t[12],7,1804603682),i=zx(i,n,r,o,t[13],12,-40341101),o=zx(o,i,n,r,t[14],17,-1502002290),n=Zx(n,r=zx(r,o,i,n,t[15],22,1236535329),o,i,t[1],5,-165796510),i=Zx(i,n,r,o,t[6],9,-1069501632),o=Zx(o,i,n,r,t[11],14,643717713),r=Zx(r,o,i,n,t[0],20,-373897302),n=Zx(n,r,o,i,t[5],5,-701558691),i=Zx(i,n,r,o,t[10],9,38016083),o=Zx(o,i,n,r,t[15],14,-660478335),r=Zx(r,o,i,n,t[4],20,-405537848),n=Zx(n,r,o,i,t[9],5,568446438),i=Zx(i,n,r,o,t[14],9,-1019803690),o=Zx(o,i,n,r,t[3],14,-187363961),r=Zx(r,o,i,n,t[8],20,1163531501),n=Zx(n,r,o,i,t[13],5,-1444681467),i=Zx(i,n,r,o,t[2],9,-51403784),o=Zx(o,i,n,r,t[7],14,1735328473),n=Gx(n,r=Zx(r,o,i,n,t[12],20,-1926607734),o,i,t[5],4,-378558),i=Gx(i,n,r,o,t[8],11,-2022574463),o=Gx(o,i,n,r,t[11],16,1839030562),r=Gx(r,o,i,n,t[14],23,-35309556),n=Gx(n,r,o,i,t[1],4,-1530992060),i=Gx(i,n,r,o,t[4],11,1272893353),o=Gx(o,i,n,r,t[7],16,-155497632),r=Gx(r,o,i,n,t[10],23,-1094730640),n=Gx(n,r,o,i,t[13],4,681279174),i=Gx(i,n,r,o,t[0],11,-358537222),o=Gx(o,i,n,r,t[3],16,-722521979),r=Gx(r,o,i,n,t[6],23,76029189),n=Gx(n,r,o,i,t[9],4,-640364487),i=Gx(i,n,r,o,t[12],11,-421815835),o=Gx(o,i,n,r,t[15],16,530742520),n=Wx(n,r=Gx(r,o,i,n,t[2],23,-995338651),o,i,t[0],6,-198630844),i=Wx(i,n,r,o,t[7],10,1126891415),o=Wx(o,i,n,r,t[14],15,-1416354905),r=Wx(r,o,i,n,t[5],21,-57434055),n=Wx(n,r,o,i,t[12],6,1700485571),i=Wx(i,n,r,o,t[3],10,-1894986606),o=Wx(o,i,n,r,t[10],15,-1051523),r=Wx(r,o,i,n,t[1],21,-2054922799),n=Wx(n,r,o,i,t[8],6,1873313359),i=Wx(i,n,r,o,t[15],10,-30611744),o=Wx(o,i,n,r,t[6],15,-1560198380),r=Wx(r,o,i,n,t[13],21,1309151649),n=Wx(n,r,o,i,t[4],6,-145523070),i=Wx(i,n,r,o,t[11],10,-1120210379),o=Wx(o,i,n,r,t[2],15,718787259),r=Wx(r,o,i,n,t[9],21,-343485551),e[0]=oB(n,e[0]),e[1]=oB(r,e[1]),e[2]=oB(o,e[2]),e[3]=oB(i,e[3])}function Vx(e,t,n,r,o,i){return t=oB(oB(t,e),oB(r,i)),oB(t<<o|t>>>32-o,n)}function zx(e,t,n,r,o,i,a){return Vx(t&n|~t&r,e,t,o,i,a)}function Zx(e,t,n,r,o,i,a){return Vx(t&r|n&~r,e,t,o,i,a)}function Gx(e,t,n,r,o,i,a){return Vx(t^n^r,e,t,o,i,a)}function Wx(e,t,n,r,o,i,a){return Vx(n^(t|~r),e,t,o,i,a)}function Yx(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Kx(r,Xx(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(Kx(r,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,Kx(r,o),r}function Xx(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}Rx=Lx.atob.bind(Lx),$x=Lx.btoa.bind(Lx);var Jx="0123456789abcdef".split("");function eB(e){for(var t="",n=0;n<4;n++)t+=Jx[e>>8*n+4&15]+Jx[e>>8*n&15];return t}function tB(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function nB(e){return Yx(e).map(tB).join("")}var rB="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=eB(e[t]);return e.join("")}(Yx("hello"));function oB(e,t){if(rB){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function iB(e,t){var n,r,o,i;if(e!==n){for(var a=(o=e,i=1+(256/e.length>>0),new Array(i+1).join(o)),s=[],c=0;c<256;c++)s[c]=c;var l=0;for(c=0;c<256;c++){var u=s[c];l=(l+u+a.charCodeAt(c))%256,s[c]=s[l],s[l]=u}n=e,r=s}else s=r;var A=t.length,d=0,f=0,h="";for(c=0;c<A;c++)f=(f+(u=s[d=(d+1)%256]))%256,s[d]=s[f],s[f]=u,a=s[(s[d]+s[f])%256],h+=String.fromCharCode(t.charCodeAt(c)^a);return h}var aB={print:4,modify:8,copy:16,"annot-forms":32};function sB(e,t,n,r){this.v=1,this.r=2;var o=192;e.forEach((function(e){if(void 0!==aB.perm)throw new Error("Invalid permission: "+e);o+=aB[e]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var i=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^o)),this.encryptionKey=nB(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=iB(this.encryptionKey,this.padding)}function cB(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var o=e.charCodeAt(r);t+=o<33||35===o||37===o||40===o||41===o||47===o||60===o||62===o||91===o||93===o||123===o||125===o||o>126?"#"+("0"+o.toString(16)).slice(-2):e[r]}return t}function lB(e){if("object"!==(0,o_.Z)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var o=Math.random().toString(35);return t[e][o]=[n,!!r],o},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),o=[];for(var i in t[n]){var a=t[n][i];try{a[0].apply(e,r)}catch(n){Lx.console&&Dx.error("jsPDF PubSub Error",n.message,n)}a[1]&&o.push(i)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function uB(e){if(!(this instanceof uB))return new uB(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function AB(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function dB(e,t,n,r,o){if(!(this instanceof dB))return new dB(e,t,n,r,o);this.type="axial"===e?2:3,this.coords=t,this.colors=n,AB.call(this,r,o)}function fB(e,t,n,r,o){if(!(this instanceof fB))return new fB(e,t,n,r,o);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,AB.call(this,r,o)}function hB(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],o=arguments[2],i=arguments[3],a=[],s=1,c=16,l="S",u=null;"object"===(0,o_.Z)(e=e||{})&&(n=e.orientation,r=e.unit||r,o=e.format||o,i=e.compress||e.compressPdf||i,null!==(u=e.encryption||null)&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),s="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(c=e.floatPrecision),l=e.defaultPathOperation||"S"),a=e.filters||(!0===i?["FlateEncode"]:a),r=r||"mm",n=(""+(n||"P")).toLowerCase();var A=e.putOnlyUsedFonts||!1,d={},f={internal:{},__private__:{}};f.__private__.PubSub=lB;var h="1.3",p=f.__private__.getPdfVersion=function(){return h};f.__private__.setPdfVersion=function(e){h=e};var m={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return m};var g=f.__private__.getPageFormat=function(e){return m[e]};o=o||"a4";var v={COMPAT:"compat",ADVANCED:"advanced"},y=v.COMPAT;function b(){this.saveGraphicsState(),X(new Fe(fe,0,0,-fe,0,jn()*fe).toString()+" cm"),this.setFontSize(this.getFontSize()/fe),l="n",y=v.ADVANCED}function w(){this.restoreGraphicsState(),l="S",y=v.COMPAT}var _=f.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};f.advancedAPI=function(e){var t=y===v.COMPAT;return t&&b.call(this),"function"!=typeof e||(e(this),t&&w.call(this)),this},f.compatAPI=function(e){var t=y===v.ADVANCED;return t&&w.call(this),"function"!=typeof e||(e(this),t&&b.call(this)),this},f.isAdvancedAPI=function(){return y===v.ADVANCED};var x,B=function(e){if(y!==v.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},C=f.roundToPrecision=f.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};x=f.hpf=f.__private__.hpf="number"==typeof c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return C(e,c)}:"smart"===c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return C(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return C(e,16)};var E=f.f2=f.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return C(e,2)},j=f.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return C(e,3)},k=f.scale=f.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return y===v.COMPAT?e*fe:y===v.ADVANCED?e:void 0},S=function(e){return y===v.COMPAT?jn()-e:y===v.ADVANCED?e:void 0},O=function(e){return k(S(e))};f.__private__.setPrecision=f.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var N,F="00000000000000000000000000000000",I=f.__private__.getFileId=function(){return F},P=f.__private__.setFileId=function(e){return F=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():F.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==u&&(Pt=new sB(u.userPermissions,u.userPassword,u.ownerPassword,F)),F};f.setFileId=function(e){return P(e),this},f.getFileId=function(){return I()};var L=f.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),o=Math.abs(t%60),i=[n,M(r),"'",M(o),"'"].join("");return["D:",e.getFullYear(),M(e.getMonth()+1),M(e.getDate()),M(e.getHours()),M(e.getMinutes()),M(e.getSeconds()),i].join("")},T=f.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),i=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,o,i,a,0)},D=f.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=L(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return N=t},Q=f.__private__.getCreationDate=function(e){var t=N;return"jsDate"===e&&(t=T(N)),t};f.setCreationDate=function(e){return D(e),this},f.getCreationDate=function(e){return Q(e)};var U,M=f.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},R=f.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},$=0,H=[],q=[],K=0,V=[],z=[],Z=!1,G=q,W=function(){$=0,K=0,q=[],H=[],V=[],Me=De(),Re=De()};f.__private__.setCustomOutputDestination=function(e){Z=!0,G=e};var Y=function(e){Z||(G=e)};f.__private__.resetCustomOutputDestination=function(){Z=!1,G=q};var X=f.__private__.out=function(e){return e=e.toString(),K+=e.length+1,G.push(e),G},J=f.__private__.write=function(e){return X(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ee=f.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},te=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return te};var ne=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(e){return ne=y===v.ADVANCED?e/fe:e,this};var re,oe=f.__private__.getFontSize=f.getFontSize=function(){return y===v.COMPAT?ne:ne*fe},ie=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(e){return ie=e,this},f.__private__.getR2L=f.getR2L=function(){return ie};var ae,se=f.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))re=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');re=e}else re=parseInt(e,10)};f.__private__.getZoomMode=function(){return re};var ce,le=f.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ae=e};f.__private__.getPageMode=function(){return ae};var ue=f.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ce=e};f.__private__.getLayoutMode=function(){return ce},f.__private__.setDisplayMode=f.setDisplayMode=function(e,t,n){return se(e),ue(t),le(n),this};var Ae={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Ae).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ae[e]},f.__private__.getDocumentProperties=function(){return Ae},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(e){for(var t in Ae)Ae.hasOwnProperty(t)&&e[t]&&(Ae[t]=e[t]);return this},f.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Ae).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ae[e]=t};var de,fe,he,pe,me,ge={},ve={},ye=[],be={},we={},_e={},xe={},Be=null,Ce=0,Ee=[],je=new lB(f),ke=e.hotfixes||[],Se={},Oe={},Ne=[],Fe=function e(t,n,r,o,i,a){if(!(this instanceof e))return new e(t,n,r,o,i,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(o)&&(o=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,o,i,a]};Object.defineProperty(Fe.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Fe.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Fe.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Fe.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Fe.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Fe.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Fe.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Fe.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Fe.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Fe.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Fe.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Fe.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Fe.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Fe.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Fe.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Fe.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Fe.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(x).join(e)},Fe.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,o=e.shx*this.shy+e.sy*this.sy,i=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Fe(t,n,r,o,i,a)},Fe.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var c=Math.sqrt(n*n+r*r);return s/=c,e*(r/=c)<t*(n/=c)&&(e=-e,t=-t,s=-s,a=-a),{scale:new Fe(a,0,0,c,0,0),translate:new Fe(1,0,0,1,o,i),rotate:new Fe(e,t,-t,e,0,0),skew:new Fe(1,0,s,1,0,0)}},Fe.prototype.toString=function(e){return this.join(" ")},Fe.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=1/(e*r-t*n),s=r*a,c=-t*a,l=-n*a,u=e*a;return new Fe(s,c,l,u,-s*o-l*i,-c*o-u*i)},Fe.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new yn(t,n)},Fe.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new yn(e.x+e.w,e.y+e.h));return new bn(t.x,t.y,n.x-t.x,n.y-t.y)},Fe.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty;return new Fe(e,t,n,r,o,i)},f.Matrix=Fe;var Ie=f.matrixMult=function(e,t){return t.multiply(e)},Pe=new Fe(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=Pe;var Le=function(e,t){if(!we[e]){var n=(t instanceof dB?"Sh":"P")+(Object.keys(be).length+1).toString(10);t.id=n,we[e]=n,be[n]=t,je.publish("addPattern",t)}};f.ShadingPattern=dB,f.TilingPattern=fB,f.addShadingPattern=function(e,t){return B("addShadingPattern()"),Le(e,t),this},f.beginTilingPattern=function(e){B("beginTilingPattern()"),_n(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},f.endTilingPattern=function(e,t){B("endTilingPattern()"),t.stream=z[U].join("\n"),Le(e,t),je.publish("endTilingPattern",t),Ne.pop().restore()};var Te=f.__private__.newObject=function(){var e=De();return Qe(e,!0),e},De=f.__private__.newObjectDeferred=function(){return $++,H[$]=function(){return K},$},Qe=function(e,t){return t="boolean"==typeof t&&t,H[e]=K,t&&X(e+" 0 obj"),e},Ue=f.__private__.newAdditionalObject=function(){var e={objId:De(),content:""};return V.push(e),e},Me=De(),Re=De(),$e=f.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",o=0;o<3;o++)r+=("0"+Math.floor(255*parseFloat(t[o])).toString(16)).slice(-2);return r},He=f.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,o=e.ch3,i=e.ch4,a="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var s=new qx(n);if(s.ok)n=s.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,r=c>>8&255,o=255&c}if(void 0===r||void 0===i&&n===r&&r===o)if("string"==typeof n)t=n+" "+a[0];else if(2===e.precision)t=E(n/255)+" "+a[0];else t=j(n/255)+" "+a[0];else if(void 0===i||"object"===(0,o_.Z)(i)){if(i&&!isNaN(i.a)&&0===i.a)return["1.","1.","1.",a[1]].join(" ");if("string"==typeof n)t=[n,r,o,a[1]].join(" ");else if(2===e.precision)t=[E(n/255),E(r/255),E(o/255),a[1]].join(" ");else t=[j(n/255),j(r/255),j(o/255),a[1]].join(" ")}else if("string"==typeof n)t=[n,r,o,i,a[2]].join(" ");else if(2===e.precision)t=[E(n),E(r),E(o),E(i),a[2]].join(" ");else t=[j(n),j(r),j(o),j(i),a[2]].join(" ");return t},qe=f.__private__.getFilters=function(){return a},Ke=f.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||qe(),r=e.alreadyAppliedFilters||[],o=e.addLength1||!1,i=t.length,a=e.objectId,s=function(e){return e};if(null!==u&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==u&&(s=Pt.encryptor(a,0));var c={};!0===n&&(n=["FlateEncode"]);var l=e.additionalKeyValues||[],A=(c=void 0!==hB.API.processDataByFilters?hB.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===o&&l.push({key:"Length1",value:i})),0!=A.length)if(A.split("/").length-1==1)l.push({key:"Filter",value:A});else{l.push({key:"Filter",value:"["+A+"]"});for(var d=0;d<l.length;d+=1)if("DecodeParms"===l[d].key){for(var f=[],h=0;h<c.reverseChain.split("/").length-1;h+=1)f.push("null");f.push(l[d].value),l[d].value="["+f.join(" ")+"]"}}X("<<");for(var p=0;p<l.length;p++)X("/"+l[p].key+" "+l[p].value);X(">>"),0!==c.data.length&&(X("stream"),X(s(c.data)),X("endstream"))},Ve=f.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,o=e.contentsObjId;Qe(r,!0),X("<</Type /Page"),X("/Parent "+e.rootDictionaryObjId+" 0 R"),X("/Resources "+e.resourceDictionaryObjId+" 0 R"),X("/MediaBox ["+parseFloat(x(e.mediaBox.bottomLeftX))+" "+parseFloat(x(e.mediaBox.bottomLeftY))+" "+x(e.mediaBox.topRightX)+" "+x(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&X("/CropBox ["+x(e.cropBox.bottomLeftX)+" "+x(e.cropBox.bottomLeftY)+" "+x(e.cropBox.topRightX)+" "+x(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&X("/BleedBox ["+x(e.bleedBox.bottomLeftX)+" "+x(e.bleedBox.bottomLeftY)+" "+x(e.bleedBox.topRightX)+" "+x(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&X("/TrimBox ["+x(e.trimBox.bottomLeftX)+" "+x(e.trimBox.bottomLeftY)+" "+x(e.trimBox.topRightX)+" "+x(e.trimBox.topRightY)+"]"),null!==e.artBox&&X("/ArtBox ["+x(e.artBox.bottomLeftX)+" "+x(e.artBox.bottomLeftY)+" "+x(e.artBox.topRightX)+" "+x(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&X("/UserUnit "+e.userUnit),je.publish("putPage",{objId:r,pageContext:Ee[t],pageNumber:t,page:n}),X("/Contents "+o+" 0 R"),X(">>"),X("endobj");var i=n.join("\n");return y===v.ADVANCED&&(i+="\nQ"),Qe(o,!0),Ke({data:i,filters:qe(),objectId:o}),X("endobj"),r},ze=f.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Ce;e++)Ee[e].objId=De(),Ee[e].contentsObjId=De();for(e=1;e<=Ce;e++)n.push(Ve({number:e,data:z[e],objId:Ee[e].objId,contentsObjId:Ee[e].contentsObjId,mediaBox:Ee[e].mediaBox,cropBox:Ee[e].cropBox,bleedBox:Ee[e].bleedBox,trimBox:Ee[e].trimBox,artBox:Ee[e].artBox,userUnit:Ee[e].userUnit,rootDictionaryObjId:Me,resourceDictionaryObjId:Re}));Qe(Me,!0),X("<</Type /Pages");var r="/Kids [";for(t=0;t<Ce;t++)r+=n[t]+" 0 R ";X(r+"]"),X("/Count "+Ce),X(">>"),X("endobj"),je.publish("postPutPages")},Ze=function(e){je.publish("putFont",{font:e,out:X,newObject:Te,putStream:Ke}),!0!==e.isAlreadyPutted&&(e.objectNumber=Te(),X("<<"),X("/Type /Font"),X("/BaseFont /"+cB(e.postScriptName)),X("/Subtype /Type1"),"string"==typeof e.encoding&&X("/Encoding /"+e.encoding),X("/FirstChar 32"),X("/LastChar 255"),X(">>"),X("endobj"))},Ge=function(){for(var e in ge)ge.hasOwnProperty(e)&&(!1===A||!0===A&&d.hasOwnProperty(e))&&Ze(ge[e])},We=function(e){e.objectNumber=Te();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[x(e.x),x(e.y),x(e.x+e.width),x(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");Ke({data:n,additionalKeyValues:t,objectId:e.objectNumber}),X("endobj")},Ye=function(){for(var e in Se)Se.hasOwnProperty(e)&&We(Se[e])},Xe=function(e,t){var n,r=[],o=1/(t-1);for(n=0;n<1;n+=o)r.push(n);if(r.push(1),0!=e[0].offset){var i={offset:0,color:e[0].color};e.unshift(i)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",c=0,l=0;l<r.length;l++){for(n=r[l];n>e[c+1].offset;)c++;var u=e[c].offset,A=(n-u)/(e[c+1].offset-u),d=e[c].color,f=e[c+1].color;s+=R(Math.round((1-A)*d[0]+A*f[0]).toString(16))+R(Math.round((1-A)*d[1]+A*f[1]).toString(16))+R(Math.round((1-A)*d[2]+A*f[2]).toString(16))}return s.trim()},Je=function(e,t){t||(t=21);var n=Te(),r=Xe(e.colors,t),o=[];o.push({key:"FunctionType",value:"0"}),o.push({key:"Domain",value:"[0.0 1.0]"}),o.push({key:"Size",value:"["+t+"]"}),o.push({key:"BitsPerSample",value:"8"}),o.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),o.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ke({data:r,additionalKeyValues:o,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),X("endobj"),e.objectNumber=Te(),X("<< /ShadingType "+e.type),X("/ColorSpace /DeviceRGB");var i="/Coords ["+x(parseFloat(e.coords[0]))+" "+x(parseFloat(e.coords[1]))+" ";2===e.type?i+=x(parseFloat(e.coords[2]))+" "+x(parseFloat(e.coords[3])):i+=x(parseFloat(e.coords[2]))+" "+x(parseFloat(e.coords[3]))+" "+x(parseFloat(e.coords[4]))+" "+x(parseFloat(e.coords[5])),X(i+="]"),e.matrix&&X("/Matrix ["+e.matrix.toString()+"]"),X("/Function "+n+" 0 R"),X("/Extend [true true]"),X(">>"),X("endobj")},et=function(e,t){var n=De(),r=Te();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var o=[];o.push({key:"Type",value:"/Pattern"}),o.push({key:"PatternType",value:"1"}),o.push({key:"PaintType",value:"1"}),o.push({key:"TilingType",value:"1"}),o.push({key:"BBox",value:"["+e.boundingBox.map(x).join(" ")+"]"}),o.push({key:"XStep",value:x(e.xStep)}),o.push({key:"YStep",value:x(e.yStep)}),o.push({key:"Resources",value:n+" 0 R"}),e.matrix&&o.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),Ke({data:e.stream,additionalKeyValues:o,objectId:e.objectNumber}),X("endobj")},tt=function(e){var t;for(t in be)be.hasOwnProperty(t)&&(be[t]instanceof dB?Je(be[t]):be[t]instanceof fB&&et(be[t],e))},nt=function(e){for(var t in e.objectNumber=Te(),X("<<"),e)switch(t){case"opacity":X("/ca "+E(e[t]));break;case"stroke-opacity":X("/CA "+E(e[t]))}X(">>"),X("endobj")},rt=function(){var e;for(e in _e)_e.hasOwnProperty(e)&&nt(_e[e])},ot=function(){for(var e in X("/XObject <<"),Se)Se.hasOwnProperty(e)&&Se[e].objectNumber>=0&&X("/"+e+" "+Se[e].objectNumber+" 0 R");je.publish("putXobjectDict"),X(">>")},it=function(){Pt.oid=Te(),X("<<"),X("/Filter /Standard"),X("/V "+Pt.v),X("/R "+Pt.r),X("/U <"+Pt.toHexString(Pt.U)+">"),X("/O <"+Pt.toHexString(Pt.O)+">"),X("/P "+Pt.P),X(">>"),X("endobj")},at=function(){for(var e in X("/Font <<"),ge)ge.hasOwnProperty(e)&&(!1===A||!0===A&&d.hasOwnProperty(e))&&X("/"+e+" "+ge[e].objectNumber+" 0 R");X(">>")},st=function(){if(Object.keys(be).length>0){for(var e in X("/Shading <<"),be)be.hasOwnProperty(e)&&be[e]instanceof dB&&be[e].objectNumber>=0&&X("/"+e+" "+be[e].objectNumber+" 0 R");je.publish("putShadingPatternDict"),X(">>")}},ct=function(e){if(Object.keys(be).length>0){for(var t in X("/Pattern <<"),be)be.hasOwnProperty(t)&&be[t]instanceof f.TilingPattern&&be[t].objectNumber>=0&&be[t].objectNumber<e&&X("/"+t+" "+be[t].objectNumber+" 0 R");je.publish("putTilingPatternDict"),X(">>")}},lt=function(){if(Object.keys(_e).length>0){var e;for(e in X("/ExtGState <<"),_e)_e.hasOwnProperty(e)&&_e[e].objectNumber>=0&&X("/"+e+" "+_e[e].objectNumber+" 0 R");je.publish("putGStateDict"),X(">>")}},ut=function(e){Qe(e.resourcesOid,!0),X("<<"),X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),at(),st(),ct(e.objectOid),lt(),ot(),X(">>"),X("endobj")},At=function(){var e=[];Ge(),rt(),Ye(),tt(e),je.publish("putResources"),e.forEach(ut),ut({resourcesOid:Re,objectOid:Number.MAX_SAFE_INTEGER}),je.publish("postPutResources")},dt=function(){je.publish("putAdditionalObjects");for(var e=0;e<V.length;e++){var t=V[e];Qe(t.objId,!0),X(t.content),X("endobj")}je.publish("postPutAdditionalObjects")},ft=function(e){ve[e.fontName]=ve[e.fontName]||{},ve[e.fontName][e.fontStyle]=e.id},ht=function(e,t,n,r,o){var i={id:"F"+(Object.keys(ge).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:o||!1,metadata:{}};return je.publish("addFont",{font:i,instance:this}),ge[i.id]=i,ft(i),i.id},pt=function(e){for(var t=0,n=te.length;t<n;t++){var r=ht.call(this,e[t][0],e[t][1],e[t][2],te[t][3],!0);!1===A&&(d[r]=!0);var o=e[t][0].split("-");ft({id:r,fontName:o[0],fontStyle:o[1]||""})}je.publish("addFonts",{fonts:ge,dictionary:ve})},mt=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!Lx.console)throw new Error(n);Lx.console.error(n,e),Lx.alert&&alert(n)}},e.foo.bar=e,e.foo},gt=function(e,t){var n,r,o,i,a,s,c,l,u;if(o=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&ge[de].metadata&&ge[de].metadata[o]&&ge[de].metadata[o].encoding&&(i=ge[de].metadata[o].encoding,!a&&ge[de].encoding&&(a=ge[de].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(c=!1,s=[],n=0,r=e.length;n<r;n++)(l=a[e.charCodeAt(n)])?s.push(String.fromCharCode(l)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(c=!0);e=s.join("")}for(n=e.length;void 0===c&&0!==n;)e.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(l=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)},vt=f.__private__.pdfEscape=f.pdfEscape=function(e,t){return gt(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},yt=f.__private__.beginPage=function(e){z[++Ce]=[],Ee[Ce]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},_t(Ce),Y(z[U])},bt=function(e,t){var r,i,a;switch(n=t||n,"string"==typeof e&&(r=g(e.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(e)&&(i=e[0]*fe,a=e[1]*fe),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(Dx.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],n.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}yt(o),tn(Jt),X(un),0!==mn&&X(mn+" J"),0!==gn&&X(gn+" j"),je.publish("addPage",{pageNumber:Ce})},wt=function(e){e>0&&e<=Ce&&(z.splice(e,1),Ee.splice(e,1),Ce--,U>Ce&&(U=Ce),this.setPage(U))},_t=function(e){e>0&&e<=Ce&&(U=e)},xt=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return z.length-1},Bt=function(e,t,n){var r,o=void 0;return n=n||{},e=void 0!==e?e:ge[de].fontName,t=void 0!==t?t:ge[de].fontStyle,r=e.toLowerCase(),void 0!==ve[r]&&void 0!==ve[r][t]?o=ve[r][t]:void 0!==ve[e]&&void 0!==ve[e][t]?o=ve[e][t]:!1===n.disableWarning&&Dx.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||n.noFallback||null==(o=ve.times[t])&&(o=ve.times.normal),o},Ct=f.__private__.putInfo=function(){var e=Te(),t=function(e){return e};for(var n in null!==u&&(t=Pt.encryptor(e,0)),X("<<"),X("/Producer ("+vt(t("jsPDF "+hB.version))+")"),Ae)Ae.hasOwnProperty(n)&&Ae[n]&&X("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+vt(t(Ae[n]))+")");X("/CreationDate ("+vt(t(N))+")"),X(">>"),X("endobj")},Et=f.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Me;switch(Te(),X("<<"),X("/Type /Catalog"),X("/Pages "+t+" 0 R"),re||(re="fullwidth"),re){case"fullwidth":X("/OpenAction [3 0 R /FitH null]");break;case"fullheight":X("/OpenAction [3 0 R /FitV null]");break;case"fullpage":X("/OpenAction [3 0 R /Fit]");break;case"original":X("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+re;"%"===n.substr(n.length-1)&&(re=parseInt(re)/100),"number"==typeof re&&X("/OpenAction [3 0 R /XYZ null null "+E(re)+"]")}switch(ce||(ce="continuous"),ce){case"continuous":X("/PageLayout /OneColumn");break;case"single":X("/PageLayout /SinglePage");break;case"two":case"twoleft":X("/PageLayout /TwoColumnLeft");break;case"tworight":X("/PageLayout /TwoColumnRight")}ae&&X("/PageMode /"+ae),je.publish("putCatalog"),X(">>"),X("endobj")},jt=f.__private__.putTrailer=function(){X("trailer"),X("<<"),X("/Size "+($+1)),X("/Root "+$+" 0 R"),X("/Info "+($-1)+" 0 R"),null!==u&&X("/Encrypt "+Pt.oid+" 0 R"),X("/ID [ <"+F+"> <"+F+"> ]"),X(">>")},kt=f.__private__.putHeader=function(){X("%PDF-"+h),X("%\xba\xdf\xac\xe0")},St=f.__private__.putXRef=function(){var e="0000000000";X("xref"),X("0 "+($+1)),X("0000000000 65535 f ");for(var t=1;t<=$;t++)"function"==typeof H[t]?X((e+H[t]()).slice(-10)+" 00000 n "):void 0!==H[t]?X((e+H[t]).slice(-10)+" 00000 n "):X("0000000000 00000 n ")},Ot=f.__private__.buildDocument=function(){W(),Y(q),je.publish("buildDocument"),kt(),ze(),dt(),At(),null!==u&&it(),Ct(),Et();var e=K;return St(),jt(),X("startxref"),X(""+e),X("%%EOF"),Y(z[U]),q.join("\n")},Nt=f.__private__.getBlob=function(e){return new Blob([ee(e)],{type:"application/pdf"})},Ft=f.output=f.__private__.output=mt((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Ot();case"save":f.save(t.filename);break;case"arraybuffer":return ee(Ot());case"blob":return Nt(Ot());case"bloburi":case"bloburl":if(void 0!==Lx.URL&&"function"==typeof Lx.URL.createObjectURL)return Lx.URL&&Lx.URL.createObjectURL(Nt(Ot()))||void 0;Dx.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=Ot();try{n=$x(r)}catch(e){n=$x(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(Lx)){var o="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(o=t.pdfObjectUrl,i="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+o+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",s=Lx.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(Lx)){var c='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',l=Lx.open();if(null!==l){l.document.write(c);var u=this;l.document.documentElement.querySelector("#pdfViewer").onload=function(){l.document.title=t.filename,l.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(u.output("bloburl"))}}return l}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(Lx))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var A='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',d=Lx.open();if(null!==d&&(d.document.write(A),d.document.title=t.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return Lx.document.location.href=this.output("datauristring",t);default:return null}})),It=function(e){return!0===Array.isArray(ke)&&ke.indexOf(e)>-1};switch(r){case"pt":fe=1;break;case"mm":fe=72/25.4;break;case"cm":fe=72/2.54;break;case"in":fe=72;break;case"px":fe=1==It("px_scaling")?.75:96/72;break;case"pc":case"em":fe=12;break;case"ex":fe=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);fe=r}var Pt=null;D(),P();var Lt=function(e){return null!==u?Pt.encryptor(e,0):function(e){return e}},Tt=f.__private__.getPageInfo=f.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ee[e].objId,pageNumber:e,pageContext:Ee[e]}},Dt=f.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Ee)if(Ee[t].objId===e)break;return Tt(t)},Qt=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:Ee[U].objId,pageNumber:U,pageContext:Ee[U]}};f.addPage=function(){return bt.apply(this,arguments),this},f.setPage=function(){return _t.apply(this,arguments),Y.call(this,z[U]),this},f.insertPage=function(e){return this.addPage(),this.movePage(U,e),this},f.movePage=function(e,t){var n,r;if(e>t){n=z[e],r=Ee[e];for(var o=e;o>t;o--)z[o]=z[o-1],Ee[o]=Ee[o-1];z[t]=n,Ee[t]=r,this.setPage(t)}else if(e<t){n=z[e],r=Ee[e];for(var i=e;i<t;i++)z[i]=z[i+1],Ee[i]=Ee[i+1];z[t]=n,Ee[t]=r,this.setPage(t)}return this},f.deletePage=function(){return wt.apply(this,arguments),this},f.__private__.text=f.text=function(e,t,n,r,o){var i,a,s,c,l,u,A,f,h,p=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var m=n;n=t,t=e,e=m}if(arguments[3]instanceof Fe==0?(s=arguments[4],c=arguments[5],"object"===(0,o_.Z)(A=arguments[3])&&null!==A||("string"==typeof s&&(c=s,s=null),"string"==typeof A&&(c=A,A=null),"number"==typeof A&&(s=A,A=null),r={flags:A,angle:s,align:c})):(B("The transform parameter of text() with a Matrix value"),h=o),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return p;var g="",b=!1,w="number"==typeof r.lineHeightFactor?r.lineHeightFactor:Xt,_=p.internal.scaleFactor;function C(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),vt(e,A)}function E(e){for(var t,n=e.concat(),r=[],o=n.length;o--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function j(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,o,i=e.concat(),a=[],s=i.length;s--;)"string"==typeof(r=i.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(o=t(r[0],r[1],r[2]),a.push([o[0],o[1],o[2]]));n=a}return n}var S=!1,O=!0;if("string"==typeof e)S=!0;else if(Array.isArray(e)){var N=e.concat();a=[];for(var F,I=N.length;I--;)("string"!=typeof(F=N.shift())||Array.isArray(F)&&"string"!=typeof F[0])&&(O=!1);S=O}if(!1===S)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var P=ne/p.internal.scaleFactor,L=P*(w-1);switch(r.baseline){case"bottom":n-=L;break;case"top":n+=P-L;break;case"hanging":n+=P-2*L;break;case"middle":n+=P/2-L}if((u=r.maxWidth||0)>0&&("string"==typeof e?e=p.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(p.splitTextToSize(t,u))}),[]))),i={text:e,x:t,y:n,options:r,mutex:{pdfEscape:vt,activeFontKey:de,fonts:ge,activeFontSize:ne}},je.publish("preProcessText",i),e=i.text,s=(r=i.options).angle,h instanceof Fe==0&&s&&"number"==typeof s){s*=Math.PI/180,0===r.rotationDirection&&(s=-s),y===v.ADVANCED&&(s=-s);var T=Math.cos(s),D=Math.sin(s);h=new Fe(T,D,-D,T,0,0)}else s&&s instanceof Fe&&(h=s);y!==v.ADVANCED||h||(h=Pe),void 0!==(l=r.charSpace||hn)&&(g+=x(k(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=r.horizontalScale)&&(g+=x(100*f)+" Tz\n"),r.lang;var Q=-1,U=void 0!==r.renderingMode?r.renderingMode:r.stroke,M=p.internal.getCurrentPageInfo().pageContext;switch(U){case 0:case!1:case"fill":Q=0;break;case 1:case!0:case"stroke":Q=1;break;case 2:case"fillThenStroke":Q=2;break;case 3:case"invisible":Q=3;break;case 4:case"fillAndAddForClipping":Q=4;break;case 5:case"strokeAndAddPathForClipping":Q=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Q=6;break;case 7:case"addToPathForClipping":Q=7}var R=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==Q?g+=Q+" Tr\n":-1!==R&&(g+="0 Tr\n"),-1!==Q&&(M.usedRenderingMode=Q),c=r.align||"left";var $,H=ne*w,q=p.internal.pageSize.getWidth(),K=ge[de];l=r.charSpace||hn,u=r.maxWidth||0,A=Object.assign({autoencode:!0,noBOM:!0},r.flags);var V=[];if("[object Array]"===Object.prototype.toString.call(e)){var z;a=E(e),"left"!==c&&($=a.map((function(e){return p.getStringUnitWidth(e,{font:K,charSpace:l,fontSize:ne,doKerning:!1})*ne/_})));var Z,G=0;if("right"===c){t-=$[0],e=[],I=a.length;for(var W=0;W<I;W++)0===W?(Z=an(t),z=sn(n)):(Z=k(G-$[W]),z=-H),e.push([a[W],Z,z]),G=$[W]}else if("center"===c){t-=$[0]/2,e=[],I=a.length;for(var Y=0;Y<I;Y++)0===Y?(Z=an(t),z=sn(n)):(Z=k((G-$[Y])/2),z=-H),e.push([a[Y],Z,z]),G=$[Y]}else if("left"===c){e=[],I=a.length;for(var J=0;J<I;J++)e.push(a[J])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],I=a.length,u=0!==u?u:q;for(var ee=0;ee<I;ee++)z=0===ee?sn(n):-H,Z=0===ee?an(t):0,ee<I-1?V.push(x(k((u-$[ee])/(a[ee].split(" ").length-1)))):V.push(0),e.push([a[ee],Z,z])}}var te="boolean"==typeof r.R2L?r.R2L:ie;!0===te&&(e=j(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),i={text:e,x:t,y:n,options:r,mutex:{pdfEscape:vt,activeFontKey:de,fonts:ge,activeFontSize:ne}},je.publish("postProcessText",i),e=i.text,b=i.mutex.isHex||!1;var re=ge[de].encoding;"WinAnsiEncoding"!==re&&"StandardEncoding"!==re||(e=j(e,(function(e,t,n){return[C(e),t,n]}))),a=E(e),e=[];for(var oe,ae,se,ce=0,le=1,ue=Array.isArray(a[0])?le:ce,Ae="",fe=function(e,t,n){var o="";return n instanceof Fe?(n="number"==typeof r.angle?Ie(n,new Fe(1,0,0,1,e,t)):Ie(new Fe(1,0,0,1,e,t),n),y===v.ADVANCED&&(n=Ie(new Fe(1,0,0,-1,0,0),n)),o=n.join(" ")+" Tm\n"):o=x(e)+" "+x(t)+" Td\n",o},he=0;he<a.length;he++){switch(Ae="",ue){case le:se=(b?"<":"(")+a[he][0]+(b?">":")"),oe=parseFloat(a[he][1]),ae=parseFloat(a[he][2]);break;case ce:se=(b?"<":"(")+a[he]+(b?">":")"),oe=an(t),ae=sn(n)}void 0!==V&&void 0!==V[he]&&(Ae=V[he]+" Tw\n"),0===he?e.push(Ae+fe(oe,ae,h)+se):ue===ce?e.push(Ae+se):ue===le&&e.push(Ae+fe(oe,ae,h)+se)}e=ue===ce?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var pe="BT\n/";return pe+=de+" "+ne+" Tf\n",pe+=x(ne*w)+" TL\n",pe+=dn+"\n",pe+=g,pe+=e,X(pe+="ET"),d[de]=!0,p};var Ut=f.__private__.clip=f.clip=function(e){return X("evenodd"===e?"W*":"W"),this};f.clipEvenOdd=function(){return Ut("evenodd")},f.__private__.discardPath=f.discardPath=function(){return X("n"),this};var Mt=f.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(e){return Mt(e)&&(l=e),this};var Rt=f.__private__.getStyle=f.getStyle=function(e){var t=l;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},$t=f.close=function(){return X("h"),this};f.stroke=function(){return X("S"),this},f.fill=function(e){return Ht("f",e),this},f.fillEvenOdd=function(e){return Ht("f*",e),this},f.fillStroke=function(e){return Ht("B",e),this},f.fillStrokeEvenOdd=function(e){return Ht("B*",e),this};var Ht=function(e,t){"object"===(0,o_.Z)(t)?Vt(t,e):X(e)},qt=function(e){null===e||y===v.ADVANCED&&void 0===e||(e=Rt(e),X(e))};function Kt(e,t,n,r,o){var i=new fB(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,o||this.matrix);i.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Le(a,i),i}var Vt=function(e,t){var n=we[e.key],r=be[n];if(r instanceof dB)X("q"),X(zt(t)),r.gState&&f.setGState(r.gState),X(e.matrix.toString()+" cm"),X("/"+n+" sh"),X("Q");else if(r instanceof fB){var o=new Fe(1,0,0,-1,0,jn());e.matrix&&(o=o.multiply(e.matrix||Pe),n=Kt.call(r,e.key,e.boundingBox,e.xStep,e.yStep,o).id),X("q"),X("/Pattern cs"),X("/"+n+" scn"),r.gState&&f.setGState(r.gState),X(t),X("Q")}},zt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Zt=f.moveTo=function(e,t){return X(x(k(e))+" "+x(O(t))+" m"),this},Gt=f.lineTo=function(e,t){return X(x(k(e))+" "+x(O(t))+" l"),this},Wt=f.curveTo=function(e,t,n,r,o,i){return X([x(k(e)),x(O(t)),x(k(n)),x(O(r)),x(k(o)),x(O(i)),"c"].join(" ")),this};f.__private__.line=f.line=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Mt(o))throw new Error("Invalid arguments passed to jsPDF.line");return y===v.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],o||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},f.__private__.lines=f.lines=function(e,t,n,r,o,i){var a,s,c,l,u,A,d,f,h,p,m,g;if("number"==typeof e&&(g=n,n=t,t=e,e=g),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Mt(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(Zt(t,n),a=r[0],s=r[1],l=e.length,p=t,m=n,c=0;c<l;c++)2===(u=e[c]).length?(p=u[0]*a+p,m=u[1]*s+m,Gt(p,m)):(A=u[0]*a+p,d=u[1]*s+m,f=u[2]*a+p,h=u[3]*s+m,p=u[4]*a+p,m=u[5]*s+m,Wt(A,d,f,h,p,m));return i&&$t(),qt(o),this},f.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":Zt(r[0],r[1]);break;case"l":Gt(r[0],r[1]);break;case"c":Wt.apply(this,r);break;case"h":$t()}}return this},f.__private__.rect=f.rect=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Mt(o))throw new Error("Invalid arguments passed to jsPDF.rect");return y===v.COMPAT&&(r=-r),X([x(k(e)),x(O(t)),x(k(n)),x(k(r)),"re"].join(" ")),qt(o),this},f.__private__.triangle=f.triangle=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Mt(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[o-n,i-r],[e-o,t-i]],e,t,[1,1],a,!0),this},f.__private__.roundedRect=f.roundedRect=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Mt(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return o=Math.min(o,.5*n),i=Math.min(i,.5*r),this.lines([[n-2*o,0],[o*s,0,o,i-i*s,o,i],[0,r-2*i],[0,i*s,-o*s,i,-o,i],[2*o-n,0],[-o*s,0,-o,-i*s,-o,-i],[0,2*i-r],[0,-i*s,o*s,-i,o,-i]],e+o,t,[1,1],a,!0),this},f.__private__.ellipse=f.ellipse=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Mt(o))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return Zt(e+n,t),Wt(e+n,t-a,e+i,t-r,e,t-r),Wt(e-i,t-r,e-n,t-a,e-n,t),Wt(e-n,t+a,e-i,t+r,e,t+r),Wt(e+i,t+r,e+n,t+a,e+n,t),qt(o),this},f.__private__.circle=f.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Mt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},f.setFont=function(e,t,n){return n&&(t=_(t,n)),de=Bt(e,t,{disableWarning:!1}),this};var Yt=f.__private__.getFont=f.getFont=function(){return ge[Bt.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var e,t,n={};for(e in ve)if(ve.hasOwnProperty(e))for(t in n[e]=[],ve[e])ve[e].hasOwnProperty(t)&&n[e].push(t);return n},f.addFont=function(e,t,n,r,o){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?o=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(n=_(n,r)),o=o||"Identity-H",ht.call(this,e,t,n,o)};var Xt,Jt=e.lineWidth||.200025,en=f.__private__.getLineWidth=f.getLineWidth=function(){return Jt},tn=f.__private__.setLineWidth=f.setLineWidth=function(e){return Jt=e,X(x(k(e))+" w"),this};f.__private__.setLineDash=hB.API.setLineDash=hB.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return x(k(e))})).join(" "),t=x(k(t)),X("["+e+"] "+t+" d"),this};var nn=f.__private__.getLineHeight=f.getLineHeight=function(){return ne*Xt};f.__private__.getLineHeight=f.getLineHeight=function(){return ne*Xt};var rn=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Xt=e),this},on=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return Xt};rn(e.lineHeight);var an=f.__private__.getHorizontalCoordinate=function(e){return k(e)},sn=f.__private__.getVerticalCoordinate=function(e){return y===v.ADVANCED?e:Ee[U].mediaBox.topRightY-Ee[U].mediaBox.bottomLeftY-k(e)},cn=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(e){return x(an(e))},ln=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(e){return x(sn(e))},un=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return $e(un)},f.__private__.setStrokeColor=f.setDrawColor=function(e,t,n,r){return un=He({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),X(un),this};var An=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return $e(An)},f.__private__.setFillColor=f.setFillColor=function(e,t,n,r){return An=He({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),X(An),this};var dn=e.textColor||"0 g",fn=f.__private__.getTextColor=f.getTextColor=function(){return $e(dn)};f.__private__.setTextColor=f.setTextColor=function(e,t,n,r){return dn=He({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var hn=e.charSpace,pn=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(hn||0)};f.__private__.setCharSpace=f.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return hn=e,this};var mn=0;f.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},f.__private__.setLineCap=f.setLineCap=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return mn=t,X(t+" J"),this};var gn=0;f.__private__.setLineJoin=f.setLineJoin=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return gn=t,X(t+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return X(x(k(e))+" M"),this},f.GState=uB,f.setGState=function(e){(e="string"==typeof e?_e[xe[e]]:vn(null,e)).equals(Be)||(X("/"+e.id+" gs"),Be=e)};var vn=function(e,t){if(!e||!xe[e]){var n=!1;for(var r in _e)if(_e.hasOwnProperty(r)&&_e[r].equals(t)){n=!0;break}if(n)t=_e[r];else{var o="GS"+(Object.keys(_e).length+1).toString(10);_e[o]=t,t.id=o}return e&&(xe[e]=t.id),je.publish("addGState",t),t}};f.addGState=function(e,t){return vn(e,t),this},f.saveGraphicsState=function(){return X("q"),ye.push({key:de,size:ne,color:dn}),this},f.restoreGraphicsState=function(){X("Q");var e=ye.pop();return de=e.key,ne=e.size,dn=e.color,Be=null,this},f.setCurrentTransformationMatrix=function(e){return X(e.toString()+" cm"),this},f.comment=function(e){return X("#"+e),this};var yn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var o="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return o},set:function(e){o=e.toString()}}),this},bn=function(e,t,n,r){yn.call(this,e,t),this.type="rect";var o=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},wn=function(){this.page=Ce,this.currentPage=U,this.pages=z.slice(0),this.pagesContext=Ee.slice(0),this.x=he,this.y=pe,this.matrix=me,this.width=Cn(U),this.height=jn(U),this.outputDestination=G,this.id="",this.objectNumber=-1};wn.prototype.restore=function(){Ce=this.page,U=this.currentPage,Ee=this.pagesContext,z=this.pages,he=this.x,pe=this.y,me=this.matrix,En(U,this.width),kn(U,this.height),G=this.outputDestination};var _n=function(e,t,n,r,o){Ne.push(new wn),Ce=U=0,z=[],he=e,pe=t,me=o,yt([n,r])},xn=function(e){if(Oe[e])Ne.pop().restore();else{var t=new wn,n="Xo"+(Object.keys(Se).length+1).toString(10);t.id=n,Oe[e]=n,Se[n]=t,je.publish("addFormObject",t),Ne.pop().restore()}};for(var Bn in f.beginFormObject=function(e,t,n,r,o){return _n(e,t,n,r,o),this},f.endFormObject=function(e){return xn(e),this},f.doFormObject=function(e,t){var n=Se[Oe[e]];return X("q"),X(t.toString()+" cm"),X("/"+n.id+" Do"),X("Q"),this},f.getFormObject=function(e){var t=Se[Oe[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},f.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(Hx(Nt(Ot()),e),"function"==typeof Hx.unload&&Lx.setTimeout&&setTimeout(Hx.unload,911),this):new Promise((function(t,n){try{var r=Hx(Nt(Ot()),e);"function"==typeof Hx.unload&&Lx.setTimeout&&setTimeout(Hx.unload,911),t(r)}catch(e){n(e.message)}}))},hB.API)hB.API.hasOwnProperty(Bn)&&("events"===Bn&&hB.API.events.length?function(e,t){var n,r,o;for(o=t.length-1;-1!==o;o--)n=t[o][0],r=t[o][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(je,hB.API.events):f[Bn]=hB.API[Bn]);var Cn=f.getPageWidth=function(e){return(Ee[e=e||U].mediaBox.topRightX-Ee[e].mediaBox.bottomLeftX)/fe},En=f.setPageWidth=function(e,t){Ee[e].mediaBox.topRightX=t*fe+Ee[e].mediaBox.bottomLeftX},jn=f.getPageHeight=function(e){return(Ee[e=e||U].mediaBox.topRightY-Ee[e].mediaBox.bottomLeftY)/fe},kn=f.setPageHeight=function(e,t){Ee[e].mediaBox.topRightY=t*fe+Ee[e].mediaBox.bottomLeftY};return f.internal={pdfEscape:vt,getStyle:Rt,getFont:Yt,getFontSize:oe,getCharSpace:pn,getTextColor:fn,getLineHeight:nn,getLineHeightFactor:on,getLineWidth:en,write:J,getHorizontalCoordinate:an,getVerticalCoordinate:sn,getCoordinateString:cn,getVerticalCoordinateString:ln,collections:{},newObject:Te,newAdditionalObject:Ue,newObjectDeferred:De,newObjectDeferredBegin:Qe,getFilters:qe,putStream:Ke,events:je,scaleFactor:fe,pageSize:{getWidth:function(){return Cn(U)},setWidth:function(e){En(U,e)},getHeight:function(){return jn(U)},setHeight:function(e){kn(U,e)}},encryptionOptions:u,encryption:Pt,getEncryptor:Lt,output:Ft,getNumberOfPages:xt,pages:z,out:X,f2:E,f3:j,getPageInfo:Tt,getPageInfoByObjId:Dt,getCurrentPageInfo:Qt,getPDFVersion:p,Point:yn,Rectangle:bn,Matrix:Fe,hasHotfix:It},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return Cn(U)},set:function(e){En(U,e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return jn(U)},set:function(e){kn(U,e)},enumerable:!0,configurable:!0}),pt.call(f,te),de="F1",bt(o,n),je.publish("initialized"),f}sB.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},sB.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},sB.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},sB.prototype.processOwnerPassword=function(e,t){return iB(nB(t).substr(0,5),e)},sB.prototype.encryptor=function(e,t){var n=nB(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return iB(n,e)}},uB.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||(0,o_.Z)(e)!==(0,o_.Z)(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},hB.API={events:[]},hB.version="2.5.1";var pB=hB.API,mB=1,gB=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},vB=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},yB=function(e){return e.toFixed(2)},bB=function(e){return e.toFixed(5)};pB.__acroform__={};var wB=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},_B=function(e){return e*mB},xB=function(e){var t=new MB,n=eC.internal.getHeight(e)||0,r=eC.internal.getWidth(e)||0;return t.BBox=[0,0,Number(yB(r)),Number(yB(n))],t},BB=pB.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},CB=pB.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},EB=pB.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},jB=pB.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return EB(e,t-1)},kB=pB.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return BB(e,t-1)},SB=pB.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return CB(e,t-1)},OB=pB.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,o=e[0],i=e[1],a=e[2],s=e[3],c={};return c.lowerLeft_X=n(o)||0,c.lowerLeft_Y=r(i+s)||0,c.upperRight_X=n(o+a)||0,c.upperRight_Y=r(i)||0,[Number(yB(c.lowerLeft_X)),Number(yB(c.lowerLeft_Y)),Number(yB(c.upperRight_X)),Number(yB(c.upperRight_Y))]},NB=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=FB(e,n),o=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+o+" "+yB(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=xB(e);return i.scope=e.scope,i.stream=t.join("\n"),i}},FB=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");o=e.multiline?o.map((function(e){return e.split("\n")})):o.map((function(e){return[e]}));var i=n,a=eC.internal.getHeight(e)||0;a=a<0?-a:a;var s=eC.internal.getWidth(e)||0;s=s<0?-s:s;var c=function(t,n,r){if(t+1<o.length){var i=n+" "+o[t+1][0];return IB(i,e,r).width<=s-4}return!1};i++;e:for(;i>0;){t="",i--;var l,u,A=IB("3",e,i).height,d=e.multiline?a-i:(a-A)/2,f=d+=2,h=0,p=0,m=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+IB(t,e,i=12).width+", FieldWidth:"+s+"\n";break}for(var g="",v=0,y=0;y<o.length;y++)if(o.hasOwnProperty(y)){var b=!1;if(1!==o[y].length&&m!==o[y].length-1){if((A+2)*(v+2)+2>a)continue e;g+=o[y][m],b=!0,p=y,y--}else{g=" "==(g+=o[y][m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w=parseInt(y),_=c(w,g,i),x=y>=o.length-1;if(_&&!x){g+=" ",m=0;continue}if(_||x){if(x)p=w;else if(e.multiline&&(A+2)*(v+2)+2>a)continue e}else{if(!e.multiline)continue e;if((A+2)*(v+2)+2>a)continue e;p=w}}for(var B="",C=h;C<=p;C++){var E=o[C];if(e.multiline){if(C===p){B+=E[m]+" ",m=(m+1)%E.length;continue}if(C===h){B+=E[E.length-1]+" ";continue}}B+=E[0]+" "}switch(B=" "==B.substr(B.length-1)?B.substr(0,B.length-1):B,u=IB(B,e,i).width,e.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;default:l=2}t+=yB(l)+" "+yB(f)+" Td\n",t+="("+gB(B)+") Tj\n",t+=-yB(l)+" 0 Td\n",f=-(i+2),u=0,h=b?p:p+1,v++,g=""}break}return r.text=t,r.fontSize=i,r},IB=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),o=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:o}},PB={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},LB=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},TB=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if($B.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(PB)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");mB=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new RB,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&LB(r,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var r in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(r)){var o=e[r],i=[],a=o.Rect;if(o.Rect&&(o.Rect=OB(o.Rect,t)),t.internal.newObjectDeferredBegin(o.objId,!0),o.DA=eC.createDefaultAppearanceStream(o),"object"===(0,o_.Z)(o)&&"function"==typeof o.getKeyValueListForStream&&(i=o.getKeyValueListForStream()),o.Rect=a,o.hasAppearanceStream&&!o.appearanceStreamContent){var s=NB(o);i.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(o.appearanceStreamContent){var c="";for(var l in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(l)){var u=o.appearanceStreamContent[l];if(c+="/"+l+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var r in u)if(u.hasOwnProperty(r)){var A=u[r];"function"==typeof A&&(A=A.call(t,o)),c+="/"+r+" "+A+" ",t.internal.acroformPlugin.xForms.indexOf(A)>=0||t.internal.acroformPlugin.xForms.push(A)}}else"function"==typeof(A=u)&&(A=A.call(t,o)),c+="/"+r+" "+A,t.internal.acroformPlugin.xForms.indexOf(A)>=0||t.internal.acroformPlugin.xForms.push(A);c+=">>"}i.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:i,objectId:o.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,o=e[n];t.internal.newObjectDeferredBegin(o.objId,!0),"object"===(0,o_.Z)(o)&&"function"==typeof o.putStream&&o.putStream(),delete e[r]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},DB=pB.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var o="[",i=0;i<e.length;i++)switch(0!==i&&(o+=" "),(0,o_.Z)(e[i])){case"boolean":case"number":case"object":o+=e[i].toString();break;case"string":"/"!==e[i].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),o+="("+gB(r(e[i].toString()))+")"):o+=e[i].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},QB=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+gB(r(e))+")"},UB=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};UB.prototype.toString=function(){return this.objId+" 0 R"},UB.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},UB.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],o=this[r];o&&(Array.isArray(o)?e.push({key:r,value:DB(o,this.objId,this.scope)}):o instanceof UB?(o.scope=this.scope,e.push({key:r,value:o.objId+" 0 R"})):"function"!=typeof o&&e.push({key:r,value:o}))}return e};var MB=function(){UB.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};wB(MB,UB);var RB=function(){UB.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+gB(t(e))+")"}},set:function(t){e=t}})};wB(RB,UB);var $B=function e(){UB.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(t,3))},set:function(e){!0===Boolean(e)?this.F=kB(t,3):this.F=SB(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var o="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return o},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":o=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof WB)return;i="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+gB(t(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===l?50/mB:l},set:function(e){l=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var A="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!A||this instanceof WB||this instanceof XB))return QB(A,this.objId,this.scope)},set:function(e){e=e.toString(),A=e}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof zB==0?QB(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof zB==0?"("===e.substr(0,1)?vB(e.substr(1,e.length-2)):vB(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof zB==1?vB(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof zB==1?"/"+e:e}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof zB==0?QB(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof zB==0?"("===e.substr(0,1)?vB(e.substr(1,e.length-2)):vB(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof zB==1?vB(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof zB==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(e){h=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,1):this.Ff=SB(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,2):this.Ff=SB(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,3):this.Ff=SB(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');m=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(m){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:m=2;break;case"center":case 1:m=1;break;default:m=0}}})};wB($B,UB);var HB=function(){$B.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return DB(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,o=[];r=t.exec(e);)o.push(r[n]);return o}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,18):this.Ff=SB(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=kB(this.Ff,19):this.Ff=SB(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=kB(this.Ff,20),t.sort()):this.Ff=SB(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,22):this.Ff=SB(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,23):this.Ff=SB(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,27):this.Ff=SB(this.Ff,27)}}),this.hasAppearanceStream=!1};wB(HB,$B);var qB=function(){HB.call(this),this.fontName="helvetica",this.combo=!1};wB(qB,HB);var KB=function(){qB.call(this),this.combo=!0};wB(KB,qB);var VB=function(){KB.call(this),this.edit=!0};wB(VB,KB);var zB=function(){$B.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,15):this.Ff=SB(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,16):this.Ff=SB(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,17):this.Ff=SB(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,26):this.Ff=SB(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+gB(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,o_.Z)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};wB(zB,$B);var ZB=function(){zB.call(this),this.pushButton=!0};wB(ZB,zB);var GB=function(){zB.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};wB(GB,zB);var WB=function(){var e,t;$B.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+gB(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===(0,o_.Z)(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=eC.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};wB(WB,$B),GB.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},GB.prototype.createOption=function(e){var t=new WB;return t.Parent=this,t.optionName=e,this.Kids.push(t),tC.call(this.scope,t),t};var YB=function(){zB.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=eC.CheckBox.createAppearanceStream()};wB(YB,zB);var XB=function(){$B.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,13):this.Ff=SB(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,21):this.Ff=SB(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,23):this.Ff=SB(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,24):this.Ff=SB(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,25):this.Ff=SB(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,26):this.Ff=SB(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};wB(XB,$B);var JB=function(){XB.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(jB(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=kB(this.Ff,14):this.Ff=SB(this.Ff,14)}}),this.password=!0};wB(JB,XB);var eC={CheckBox:{createAppearanceStream:function(){return{N:{On:eC.CheckBox.YesNormal},D:{On:eC.CheckBox.YesPushDown,Off:eC.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,o=e.scope.__private__.encodeColorString(e.color),i=FB(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+yB(eC.internal.getWidth(e))+" "+yB(eC.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+yB(i.fontSize)+" Tf "+o),n.push("BT"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=xB(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),o=[],i=eC.internal.getHeight(e),a=eC.internal.getWidth(e),s=FB(e,e.caption);return o.push("1 g"),o.push("0 0 "+yB(a)+" "+yB(i)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+yB(a-1)+" "+yB(i-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+n+" "+yB(s.fontSize)+" Tf "+r),o.push(s.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+yB(eC.internal.getWidth(e))+" "+yB(eC.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:eC.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=eC.RadioButton.Circle.YesNormal,t.D[e]=eC.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=xB(e);t.scope=e.scope;var n=[],r=eC.internal.getWidth(e)<=eC.internal.getHeight(e)?eC.internal.getWidth(e)/4:eC.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=eC.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+bB(eC.internal.getWidth(e)/2)+" "+bB(eC.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=[],r=eC.internal.getWidth(e)<=eC.internal.getHeight(e)?eC.internal.getWidth(e)/4:eC.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*eC.internal.Bezier_C).toFixed(5)),a=Number((r*eC.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+bB(eC.internal.getWidth(e)/2)+" "+bB(eC.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+bB(eC.internal.getWidth(e)/2)+" "+bB(eC.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=[],r=eC.internal.getWidth(e)<=eC.internal.getHeight(e)?eC.internal.getWidth(e)/4:eC.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*eC.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+bB(eC.internal.getWidth(e)/2)+" "+bB(eC.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:eC.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=eC.RadioButton.Cross.YesNormal,t.D[e]=eC.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=xB(e);t.scope=e.scope;var n=[],r=eC.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+yB(eC.internal.getWidth(e)-2)+" "+yB(eC.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(yB(r.x1.x)+" "+yB(r.x1.y)+" m"),n.push(yB(r.x2.x)+" "+yB(r.x2.y)+" l"),n.push(yB(r.x4.x)+" "+yB(r.x4.y)+" m"),n.push(yB(r.x3.x)+" "+yB(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=eC.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+yB(eC.internal.getWidth(e))+" "+yB(eC.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+yB(eC.internal.getWidth(e)-2)+" "+yB(eC.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(yB(n.x1.x)+" "+yB(n.x1.y)+" m"),r.push(yB(n.x2.x)+" "+yB(n.x2.y)+" l"),r.push(yB(n.x4.x)+" "+yB(n.x4.y)+" m"),r.push(yB(n.x3.x)+" "+yB(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=xB(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+yB(eC.internal.getWidth(e))+" "+yB(eC.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};eC.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=eC.internal.getWidth(e),n=eC.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},eC.internal.getWidth=function(e){var t=0;return"object"===(0,o_.Z)(e)&&(t=_B(e.Rect[2])),t},eC.internal.getHeight=function(e){var t=0;return"object"===(0,o_.Z)(e)&&(t=_B(e.Rect[3])),t};var tC=pB.addField=function(e){if(TB(this,e),!(e instanceof $B))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};pB.AcroFormChoiceField=HB,pB.AcroFormListBox=qB,pB.AcroFormComboBox=KB,pB.AcroFormEditBox=VB,pB.AcroFormButton=zB,pB.AcroFormPushButton=ZB,pB.AcroFormRadioButton=GB,pB.AcroFormCheckBox=YB,pB.AcroFormTextField=XB,pB.AcroFormPasswordField=JB,pB.AcroFormAppearance=eC,pB.AcroForm={ChoiceField:HB,ListBox:qB,ComboBox:KB,EditBox:VB,Button:zB,PushButton:ZB,RadioButton:GB,CheckBox:YB,TextField:XB,PasswordField:JB,Appearance:eC},hB.AcroForm={ChoiceField:HB,ListBox:qB,ComboBox:KB,EditBox:VB,Button:zB,PushButton:ZB,RadioButton:GB,CheckBox:YB,TextField:XB,PasswordField:JB,Appearance:eC};hB.AcroForm;function nC(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=e.__addimage__.getImageFileTypeByImageData=function(e,r){var o,i,a,s,c,l=t;if("RGBA"===(r=r||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(_(e))for(c in n)for(a=n[c],o=0;o<a.length;o+=1){for(s=!0,i=0;i<a[o].length;i+=1)if(void 0!==a[o][i]&&a[o][i]!==e[i]){s=!1;break}if(!0===s){l=c;break}}else for(c in n)for(a=n[c],o=0;o<a.length;o+=1){for(s=!0,i=0;i<a[o].length;i+=1)if(void 0!==a[o][i]&&a[o][i]!==e.charCodeAt(i)){s=!1;break}if(!0===s){l=c;break}}return l===t&&r!==t&&(l=r),l},o=function e(t){for(var n=this.internal.write,r=this.internal.putStream,o=(0,this.internal.getFilters)();-1!==o.indexOf("FlateEncode");)o.splice(o.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===m.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===m.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var a="",s=0,c=t.transparency.length;s<c;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";i.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var l=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:l,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,A={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(A.filter=t.filter),e.call(this,A)}if(t.colorSpace===m.INDEXED){var d=this.internal.newObject();r({data:B(new Uint8Array(t.palette)),objectId:d}),n("endobj")}},i=function(){var e=this.internal.collections.addImage_images;for(var t in e)o.call(this,e[t])},a=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},s=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",a))},c=function(){var e=this.internal.collections.addImage_images;return s.call(this),e},l=function(){return Object.keys(this.internal.collections.addImage_images).length},u=function(t){return"function"==typeof e["process"+t.toUpperCase()]},A=function(e){return"object"===(0,o_.Z)(e)&&1===e.nodeType},d=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return Rx(unescape(r).split("base64,").pop());var o=e.loadFile(r,!0);if(void 0!==o)return o}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(n){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;default:i="image/jpeg"}return Rx(t.toDataURL(i,1).split("base64,").pop())}},f=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},h=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},p=function(e,t,n,r,o,i){var a=h.call(this,n,r,o),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(n=a[0],r=a[1],u[o.index]=o,i){i*=Math.PI/180;var A=Math.cos(i),d=Math.sin(i),f=function(e){return e.toFixed(4)},p=[f(A),f(d),f(-1*d),f(A),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+o.index+" Do"),this.internal.write("Q")},m=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var g=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(_(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},y=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},b=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},w=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return w()&&e instanceof ArrayBuffer};var _=e.__addimage__.isArrayBufferView=function(e){return w()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},x=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},B=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=_(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,n,r,o,i,a,c,l,u;if("number"==typeof arguments[1]?(n=t,r=arguments[1],o=arguments[2],i=arguments[3],a=arguments[4],c=arguments[5],l=arguments[6],u=arguments[7]):(n=arguments[1],r=arguments[2],o=arguments[3],i=arguments[4],a=arguments[5],c=arguments[6],l=arguments[7],u=arguments[8]),"object"===(0,o_.Z)(e=arguments[0])&&!A(e)&&"imageData"in e){var d=e;e=d.imageData,n=d.format||n||t,r=d.x||r||0,o=d.y||o||0,i=d.w||d.width||i,a=d.h||d.height||a,c=d.alias||c,l=d.compression||l,u=d.rotation||d.angle||u}var f=this.internal.getFilters();if(void 0===l&&-1!==f.indexOf("FlateEncode")&&(l="SLOW"),isNaN(r)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");s.call(this);var h=C.call(this,e,n,c,l);return p.call(this,r,o,i,a,h,u),this};var C=function(n,o,i,a){var s,c,h;if("string"==typeof n&&r(n)===t){n=unescape(n);var p=E(n,!1);(""!==p||void 0!==(p=e.loadFile(n,!0)))&&(n=p)}if(A(n)&&(n=d(n,o)),o=r(n,o),!u(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if((null==(h=i)||0===h.length)&&(i=function(e){return"string"==typeof e||_(e)?v(e):_(e.data)?v(e.data):null}(n)),(s=f.call(this,i))||(w()&&(n instanceof Uint8Array||"RGBA"===o||(c=n,n=x(n))),s=this["process"+o.toUpperCase()](n,l.call(this),i,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:g.NONE}(a),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},E=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,o="";if("string"==typeof e){r=null!==(n=b(e))?n.data:e;try{o=Rx(r)}catch(e){if(t)throw y(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return o};e.getImageProperties=function(n){var o,i,a="";if(A(n)&&(n=d(n)),"string"==typeof n&&r(n)===t&&(""===(a=E(n,!1))&&(a=e.loadFile(n)||""),n=a),i=r(n),!u(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(!w()||n instanceof Uint8Array||(n=x(n)),!(o=this["process"+i.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return o.fileType=i,o}}(hB.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};hB.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,o,i=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),c=e.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((n=c[u]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var A=0;A<c.length;A++){n=c[A];var d=this.internal.pdfEscape,f=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var h=this.internal.newAdditionalObject(),p=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(h.objId),g=n.title||"Note";o="<</Type /Annot /Subtype /Text "+(r="/Rect ["+i(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+i(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+d(m(n.contents))+")",o+=" /Popup "+p.objId+" 0 R",o+=" /P "+s.objId+" 0 R",o+=" /T ("+d(m(g))+") >>",h.content=o;var v=h.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+i(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+i(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+v,n.open&&(o+=" /Open true"),o+=" >>",p.content=o,this.internal.write(h.objId,"0 R",p.objId,"0 R");break;case"freetext":r="/Rect ["+i(n.bounds.x)+" "+a(n.bounds.y)+" "+i(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+d(f(n.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(n.options.name){var b=this.annotations._nameMap[n.options.name];n.options.pageNumber=b.page,n.options.top=b.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",o="",n.options.url)o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+d(f(n.options.url))+") >>";else if(n.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,o+=" /FitV "+n.options.left+"]";break;default:var w=a(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),o+=" /XYZ "+n.options.left+" "+w+" "+n.options.zoom+"]"}""!=o&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,r,o){var i=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:o,type:"link"})},e.textWithLink=function(e,t,n,r){var o,i,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){i=r.maxWidth;var c=this.splitTextToSize(e,i).length;o=Math.ceil(s*c)}else i=a,o=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,i,o,r),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(hB.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},c=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&o.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length},A=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o="",i=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(i++,"number"==typeof(r=r[e.charCodeAt(t)])&&(o+=String.fromCharCode(r),r=n,i=0),t===e.length-1&&(r=n,o+=e.charAt(t-(i-1)),t-=i-1,i=0)):(r=n,o+=e.charAt(t-i),t-=i,i=0);return o};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var d=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===i(e)?-1:!l(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&c(t)||s(e)&&s(t)?0:u(e)&&a(t)&&!s(t)&&a(n)&&l(n)?3:s(e)||!a(n)?1:2:-1},f=function(e){var n=0,r=0,o=0,i="",s="",c="",l=(e=e||"").split("\\s+"),u=[];for(n=0;n<l.length;n+=1){for(u.push(""),r=0;r<l[n].length;r+=1)i=l[n][r],s=l[n][r-1],c=l[n][r+1],a(i)?(o=d(i,s,c),u[n]+=-1!==o?String.fromCharCode(t[i.charCodeAt(0)][o]):i):u[n]+=i;u[n]=A(u[n])}return u.join(" ")},h=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([f(t[r][0]),t[r][1],t[r][2]]):n.push([f(t[r])]);e=n}else e=f(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",h])}(hB.API),hB.API.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(hB.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var o=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(e){a=e}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),o=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,c=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(l.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var A=0;A<e.length;A++)a<(c=this.getStringUnitWidth(e[A],{font:o})*n)&&(a=c);return 0!==a&&(s=e.length),{w:a/=i,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/i,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new i(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=e.cell=function(){var e;e=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var o=this.internal.__cell__.lastCell,a=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==o.lineNumber&&(o.lineNumber===e.lineNumber?(e.x=(o.x||0)+(o.width||0),e.y=o.y||0):o.y+o.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,l&&c&&(this.printHeaderRow(e.lineNumber,!0),e.y+=c[0].height)):e.y=o.y+o.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-a,e.y+a,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+a,{align:"center",baseline:"top",maxWidth:e.width-a-a}):this.text(e.text,e.x+a,e.y+a,{align:"left",baseline:"top",maxWidth:e.width-a-a})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,c,l,u){if(r.call(this),!c)throw new Error("No data for PDF table.");var A,d,f,h,p=[],m=[],g=[],v={},y={},b=[],w=[],_=(u=u||{}).autoSize||!1,x=!1!==u.printHeaders,B=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,C=u.margins||Object.assign({width:this.getPageWidth()},t),E="number"==typeof u.padding?u.padding:3,j=u.headerBackgroundColor||"#c8c8c8",k=u.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=x,this.internal.__cell__.margins=C,this.internal.__cell__.table_font_size=B,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=j,this.internal.__cell__.headerTextColor=k,this.setFontSize(B),null==l)m=p=Object.keys(c[0]),g=p.map((function(){return"left"}));else if(Array.isArray(l)&&"object"===(0,o_.Z)(l[0]))for(p=l.map((function(e){return e.name})),m=l.map((function(e){return e.prompt||e.name||""})),g=l.map((function(e){return e.align||"left"})),A=0;A<l.length;A+=1)y[l[A].name]=l[A].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(m=p=l,g=p.map((function(){return"left"})));if(_||Array.isArray(l)&&"string"==typeof l[0])for(A=0;A<p.length;A+=1){for(v[h=p[A]]=c.map((function(e){return e[h]})),this.setFont(void 0,"bold"),b.push(this.getTextDimensions(m[A],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=v[h],this.setFont(void 0,"normal"),f=0;f<d.length;f+=1)b.push(this.getTextDimensions(d[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[h]=Math.max.apply(null,b)+E+E,b=[]}if(x){var S={};for(A=0;A<p.length;A+=1)S[p[A]]={},S[p[A]].text=m[A],S[p[A]].align=g[A];var O=s.call(this,S,y);w=p.map((function(t){return new i(e,n,y[t],O,S[t].text,void 0,S[t].align)})),this.setTableHeaderRow(w),this.printHeaderRow(1,!1)}var N=l.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(A=0;A<c.length;A+=1){"rowStart"in u&&u.rowStart instanceof Function&&u.rowStart({row:A,data:c[A]},this);var F=s.call(this,c[A],y);for(f=0;f<p.length;f+=1){var I=c[A][p[f]];"cellStart"in u&&u.cellStart instanceof Function&&u.cellStart({row:A,col:f,data:I},this),a.call(this,new i(e,n,y[p[f]],F,I,A+2,N[p[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var s=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,o=this.internal.scaleFactor;return Object.keys(e).map((function(r){var o=e[r];return this.splitTextToSize(o.hasOwnProperty("text")?o.text:o,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/o+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var o;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1){o=this.internal.__cell__.tableHeaderRow[l].clone(),t&&(o.y=this.internal.__cell__.margins.top||0,c.push(o)),o.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,o),this.setTextColor(u)}c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),n=!1}}(hB.API);var rC={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},oC=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],iC=nC(oC),aC=[100,200,300,400,500,600,700,800,900],sC=nC(aC);function cC(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return rC[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),o=function(e){return"number"==typeof iC[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:t,style:[o,n,r].join(" ")}}}function lC(e,t,n,r){var o;for(o=n;o>=0&&o<t.length;o+=r)if(e[t[o]])return e[t[o]];for(o=n;o>=0&&o<t.length;o-=r)if(e[t[o]])return e[t[o]]}var uC={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},AC={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function dC(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function fC(e){return e.trimLeft()}function hC(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function pC(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var mC,gC,vC,yC,bC=["times"];!function(e){var t,n,r,o,i,a,s,c,l,u=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new a,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new a,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new A(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,a=this.internal.Point,s=this.internal.Rectangle,c=this.internal.Matrix,l=new u}]);var A=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var o=0;Object.defineProperty(this,"posX",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}}),Object.defineProperty(this,"margin",{get:function(){return l.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),l.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"ctx",{get:function(){return l},set:function(e){e instanceof u&&(l=e)}}),Object.defineProperty(this,"path",{get:function(){return l.path},set:function(e){l.path=e}});var A=[];Object.defineProperty(this,"ctxStack",{get:function(){return A},set:function(e){A=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=d(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=d(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var f=null;function h(e,t){if(null===f){var n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());f=function(e){for(var t={},n=0;n<e.length;++n){var r=cC(e[n]),o=r.family,i=r.stretch,a=r.style,s=r.weight;t[o]=t[o]||{},t[o][i]=t[o][i]||{},t[o][i][a]=t[o][i][a]||{},t[o][i][a][s]=r}return t}(n.concat(t))}return f}var p=null;Object.defineProperty(this,"fontFaces",{get:function(){return p},set:function(e){f=null,p=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),o=t[4],i=(t[5],t[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(o)[2];o="px"===a?Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(o)*this.pdf.getFontSize()):Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(o);var s=function(e){var t,n,r=[],o=e.trim();if(""===o)return bC;if(o in AC)return[AC[o]];for(;""!==o;){switch(n=null,t=(o=fC(o)).charAt(0)){case'"':case"'":n=hC(o.substring(1),t);break;default:n=pC(o)}if(null===n)return bC;if(r.push(n[0]),""!==(o=fC(n[1]))&&","!==o.charAt(0))return bC;o=o.replace(/^,/,"")}return r}(i);if(this.fontFaces){var c=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",o=Object.assign({},uC,n.genericFontFamilies||{}),i=null,a=null,s=0;s<t.length;++s)if(o[(i=cC(t[s])).family]&&(i.family=o[i.family]),e.hasOwnProperty(i.family)){a=e[i.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+dC(i)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=iC[e],r=n<=iC.normal?-1:1,o=lC(t,oC,n,r);if(!o)throw new Error("Could not find a matching font-stretch value for "+e);return o}(i.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=rC[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(i.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=sC[e],r=lC(t,aC,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+dC(i)+"'.");return a}(h(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var l="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(l="bold"),"italic"===n&&(l+="italic"),0===l.length&&(l="normal");for(var u="",A={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},d=0;d<s.length;d++){if(void 0!==this.pdf.internal.getFont(s[d],l,{noFallback:!0,disableWarning:!0})){u=s[d];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[d],"bold",{noFallback:!0,disableWarning:!0}))u=s[d],l="bold";else if(void 0!==this.pdf.internal.getFont(s[d],"normal",{noFallback:!0,disableWarning:!0})){u=s[d],l="normal";break}}if(""===u)for(var f=0;f<s.length;f++)if(A[s[f]]){u=A[s[f]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,D.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,D.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};A.prototype.setLineDash=function(e){this.lineDash=e},A.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},A.prototype.fill=function(){b.call(this,"fill",!1)},A.prototype.stroke=function(){b.call(this,"stroke",!1)},A.prototype.beginPath=function(){this.path=[{type:"begin"}]},A.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw Dx.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(e,t)},A.prototype.closePath=function(){var e=new a(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,o_.Z)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new a(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(e.x,e.y)},A.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw Dx.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(n.x,n.y)},A.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},A.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw Dx.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new a(n,r)),i=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new a(o.x,o.y)},A.prototype.bezierCurveTo=function(e,t,n,r,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Dx.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new a(o,i)),c=this.ctx.transform.applyToPoint(new a(e,t)),l=this.ctx.transform.applyToPoint(new a(n,r));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:l.x,y2:l.y,x:s.x,y:s.y}),this.ctx.lastPoint=new a(s.x,s.y)},A.prototype.arc=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o))throw Dx.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new a(e,t));e=s.x,t=s.y;var c=this.ctx.transform.applyToPoint(new a(0,n)),l=this.ctx.transform.applyToPoint(new a(0,0));n=Math.sqrt(Math.pow(c.x-l.x,2)+Math.pow(c.y-l.y,2))}Math.abs(o-r)>=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},A.prototype.arcTo=function(e,t,n,r,o){throw new Error("arcTo not implemented.")},A.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Dx.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},A.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Dx.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},A.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Dx.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},A.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw Dx.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},A.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},A.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},A.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(e){var t,n,r,o;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,o=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=parseFloat(i[4]);else{if(o=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new qx(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:o,style:e}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},h=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};A.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Dx.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){var o=P(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;k.call(this,{text:e,x:t,y:n,scale:i,angle:o,align:this.textAlign,maxWidth:r})}},A.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw Dx.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){r=isNaN(r)?void 0:r;var o=P(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;k.call(this,{text:e,x:t,y:n,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:r})}},A.prototype.measureText=function(e){if("string"!=typeof e)throw Dx.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*r/t.internal.scaleFactor,i=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new i({width:o*=Math.round(96*n/72*1e4)/1e4})},A.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw Dx.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},A.prototype.rotate=function(e){if(isNaN(e))throw Dx.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},A.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw Dx.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},A.prototype.transform=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i))throw Dx.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new c(e,t,n,r,o,i);this.ctx.transform=this.ctx.transform.multiply(a)},A.prototype.setTransform=function(e,t,n,r,o,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,o=isNaN(o)?0:o,i=isNaN(i)?0:i,this.ctx.transform=new c(e,t,n,r,o,i)};var p=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};A.prototype.drawImage=function(e,t,n,r,o,i,a,l,u){var A=this.pdf.getImageProperties(e),d=1,f=1,h=1,g=1;void 0!==r&&void 0!==l&&(h=l/r,g=u/o,d=A.width/r*l/r,f=A.height/o*u/o),void 0===i&&(i=t,a=n,t=0,n=0),void 0!==r&&void 0===l&&(l=r,u=o),void 0===r&&void 0===l&&(l=A.width,u=A.height);for(var b,_=this.ctx.transform.decompose(),x=P(_.rotate.shx),B=new c,C=(B=(B=(B=B.multiply(_.translate)).multiply(_.skew)).multiply(_.scale)).applyToRectangle(new s(i-t*h,a-n*g,r*d,o*f)),E=m.call(this,C),j=[],k=0;k<E.length;k+=1)-1===j.indexOf(E[k])&&j.push(E[k]);if(y(j),this.autoPaging)for(var S=j[0],O=j[j.length-1],N=S;N<O+1;N++){this.pdf.setPage(N);var F=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===N?this.posY+this.margin[0]:this.margin[0],L=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===N?0:L+(N-2)*T;if(0!==this.ctx.clip_path.length){var Q=this.path;b=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(b,this.posX+this.margin[3],-D+I+this.ctx.prevPageLastElemOffset),w.call(this,"fill",!0),this.path=Q}var U=JSON.parse(JSON.stringify(C));U=v([U],this.posX+this.margin[3],-D+I+this.ctx.prevPageLastElemOffset)[0];var M=(N>S||N<O)&&p.call(this);M&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],F,T,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",U.x,U.y,U.w,U.h,null,null,x),M&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",C.x,C.y,C.w,C.h,null,null,x)};var m=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var o=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+o)/n)+1);break;case"arc":r.push(Math.floor((e.y+o-e.radius)/n)+1),r.push(Math.floor((e.y+o+e.radius)/n)+1);break;case"qct":var i=L(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((i.y+o)/n)+1),r.push(Math.floor((i.y+i.h+o)/n)+1);break;case"bct":var a=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+o)/n)+1),r.push(Math.floor((a.y+a.h+o)/n)+1);break;case"rect":r.push(Math.floor((e.y+o)/n)+1),r.push(Math.floor((e.y+e.h+o)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)g.call(this);return r},g=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,o=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=o,this.lineJoin=i},v=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},y=function(e){return e.sort((function(e,t){return e-t}))},b=function(e,t){for(var n,r,o=this.fillStyle,i=this.strokeStyle,a=this.lineCap,s=this.lineWidth,c=Math.abs(s*this.ctx.transform.scaleX),l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),A=JSON.parse(JSON.stringify(this.path)),d=[],f=0;f<A.length;f++)if(void 0!==A[f].x)for(var h=m.call(this,A[f]),b=0;b<h.length;b+=1)-1===d.indexOf(h[b])&&d.push(h[b]);for(var _=0;_<d.length;_++)for(;this.pdf.internal.getNumberOfPages()<d[_];)g.call(this);if(y(d),this.autoPaging)for(var x=d[0],B=d[d.length-1],C=x;C<B+1;C++){this.pdf.setPage(C),this.fillStyle=o,this.strokeStyle=i,this.lineCap=a,this.lineWidth=c,this.lineJoin=l;var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],j=1===C?this.posY+this.margin[0]:this.margin[0],k=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],S=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],O=1===C?0:k+(C-2)*S;if(0!==this.ctx.clip_path.length){var N=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(n,this.posX+this.margin[3],-O+j+this.ctx.prevPageLastElemOffset),w.call(this,e,!0),this.path=N}if(r=JSON.parse(JSON.stringify(u)),this.path=v(r,this.posX+this.margin[3],-O+j+this.ctx.prevPageLastElemOffset),!1===t||0===C){var F=(C>x||C<B)&&p.call(this);F&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,S,null).clip().discardPath()),w.call(this,e,t),F&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=c,w.call(this,e,t),this.lineWidth=s;this.path=u},w=function(e,t){if(("stroke"!==e||t||!h.call(this))&&("stroke"===e||t||!f.call(this))){for(var n,r,o=[],i=this.path,a=0;a<i.length;a++){var s=i[a];switch(s.type){case"begin":o.push({begin:!0});break;case"close":o.push({close:!0});break;case"mt":o.push({start:s,deltas:[],abs:[]});break;case"lt":var c=o.length;if(i[a-1]&&!isNaN(i[a-1].x)&&(n=[s.x-i[a-1].x,s.y-i[a-1].y],c>0))for(;c>=0;c--)if(!0!==o[c-1].close&&!0!==o[c-1].begin){o[c-1].deltas.push(n),o[c-1].abs.push(s);break}break;case"bct":n=[s.x1-i[a-1].x,s.y1-i[a-1].y,s.x2-i[a-1].x,s.y2-i[a-1].y,s.x-i[a-1].x,s.y-i[a-1].y],o[o.length-1].deltas.push(n);break;case"qct":var l=i[a-1].x+2/3*(s.x1-i[a-1].x),u=i[a-1].y+2/3*(s.y1-i[a-1].y),A=s.x+2/3*(s.x1-s.x),d=s.y+2/3*(s.y1-s.y),p=s.x,m=s.y;n=[l-i[a-1].x,u-i[a-1].y,A-i[a-1].x,d-i[a-1].y,p-i[a-1].x,m-i[a-1].y],o[o.length-1].deltas.push(n);break;case"arc":o.push({deltas:[],abs:[],arc:!0}),Array.isArray(o[o.length-1].abs)&&o[o.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var g=!1,v=0;v<o.length;v++)if(o[v].arc)for(var y=o[v].abs,b=0;b<y.length;b++){var w=y[b];"arc"===w.type?B.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t,!g):S.call(this,w.x,w.y),g=!0}else if(!0===o[v].close)this.pdf.internal.out("h"),g=!1;else if(!0!==o[v].begin){var _=o[v].start.x,x=o[v].start.y;O.call(this,o[v].deltas,_,x),g=!0}r&&C.call(this,r),t&&E.call(this)}},_=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},x=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};A.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},A.prototype.createPattern=function(){return this.createLinearGradient()},A.prototype.createRadialGradient=function(){return this.createLinearGradient()};var B=function(e,t,n,r,o,i,a,s,c){for(var l=F.call(this,n,r,o,i),u=0;u<l.length;u++){var A=l[u];0===u&&(c?j.call(this,A.x1+e,A.y1+t):S.call(this,A.x1+e,A.y1+t)),N.call(this,e,t,A.x2,A.y2,A.x3,A.y3,A.x4,A.y4)}s?E.call(this):C.call(this,a)},C=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},E=function(){this.pdf.clip(),this.pdf.discardPath()},j=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},k=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.pdf.getTextDimensions(e.text),r=_.call(this,e.y),o=x.call(this,r)-n.h,i=this.ctx.transform.applyToPoint(new a(e.x,r)),l=this.ctx.transform.decompose(),u=new c;u=(u=(u=u.multiply(l.translate)).multiply(l.skew)).multiply(l.scale);for(var A,d,f,h=this.ctx.transform.applyToRectangle(new s(e.x,r,n.w,n.h)),g=u.applyToRectangle(new s(e.x,o,n.w,n.h)),b=m.call(this,g),B=[],C=0;C<b.length;C+=1)-1===B.indexOf(b[C])&&B.push(b[C]);if(y(B),this.autoPaging)for(var E=B[0],j=B[B.length-1],k=E;k<j+1;k++){this.pdf.setPage(k);var S=1===k?this.posY+this.margin[0]:this.margin[0],O=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],N=this.pdf.internal.pageSize.height-this.margin[2],F=N-this.margin[0],I=this.pdf.internal.pageSize.width-this.margin[1],P=I-this.margin[3],L=1===k?0:O+(k-2)*F;if(0!==this.ctx.clip_path.length){var T=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(A,this.posX+this.margin[3],-1*L+S),w.call(this,"fill",!0),this.path=T}var D=v([JSON.parse(JSON.stringify(g))],this.posX+this.margin[3],-L+S+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale);var Q="text"!==this.autoPaging;if(Q||D.y+D.h<=N){if(Q||D.y>=S&&D.x<=I){var U=Q?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||I-D.x)[0],M=v([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-L+S+this.ctx.prevPageLastElemOffset)[0],R=Q&&(k>E||k<j)&&p.call(this);R&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,F,null).clip().discardPath()),this.pdf.text(U,M.x,M.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),R&&this.pdf.restoreGraphicsState()}}else D.y<N&&(this.ctx.prevPageLastElemOffset+=N-D.y);e.scale>=.01&&(this.pdf.setFontSize(d),this.lineWidth=f)}else e.scale>=.01&&(d=this.pdf.internal.getFontSize(),this.pdf.setFontSize(d*e.scale),f=this.lineWidth,this.lineWidth=f*e.scale),this.pdf.text(e.text,i.x+this.posX,i.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(d),this.lineWidth=f)},S=function(e,t,o,i){o=o||0,i=i||0,this.pdf.internal.out(n(e+o)+" "+r(t+i)+" l")},O=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},N=function(e,n,r,a,s,c,l,u){this.pdf.internal.out([t(o(r+e)),t(i(a+n)),t(o(s+e)),t(i(c+n)),t(o(l+e)),t(i(u+n)),"c"].join(" "))},F=function(e,t,n,r){for(var o=2*Math.PI,i=Math.PI/2;t>n;)t-=o;var a=Math.abs(n-t);a<o&&r&&(a=o-a);for(var s=[],c=r?-1:1,l=t;a>1e-5;){var u=l+c*Math.min(a,i);s.push(I.call(this,e,l,u)),a-=Math.abs(u-l),l=u}return s},I=function(e,t,n){var r=(n-t)/2,o=e*Math.cos(r),i=e*Math.sin(r),a=o,s=-i,c=a*a+s*s,l=c+a*o+s*i,u=4/3*(Math.sqrt(2*c*l)-l)/(a*i-s*o),A=a-u*s,d=s+u*a,f=A,h=-d,p=r+t,m=Math.cos(p),g=Math.sin(p);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:A*m-d*g,y2:A*g+d*m,x3:f*m-h*g,y3:f*g+h*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},P=function(e){return 180*e/Math.PI},L=function(e,t,n,r,o,i){var a=e+.5*(n-e),c=t+.5*(r-t),l=o+.5*(n-o),u=i+.5*(r-i),A=Math.min(e,o,a,l),d=Math.max(e,o,a,l),f=Math.min(t,i,c,u),h=Math.max(t,i,c,u);return new s(A,f,d-A,h-f)},T=function(e,t,n,r,o,i,a,c){var l,u,A,d,f,h,p,m,g,v,y,b,w,_,x=n-e,B=r-t,C=o-n,E=i-r,j=a-o,k=c-i;for(u=0;u<41;u++)g=(p=(A=e+(l=u/40)*x)+l*((f=n+l*C)-A))+l*(f+l*(o+l*j-f)-p),v=(m=(d=t+l*B)+l*((h=r+l*E)-d))+l*(h+l*(i+l*k-h)-m),0==u?(y=g,b=v,w=g,_=v):(y=Math.min(y,g),b=Math.min(b,v),w=Math.max(w,g),_=Math.max(_,v));return new s(Math.round(y),Math.round(b),Math.round(w-y),Math.round(_-b))},D=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(hB.API),function(e){var t=function(e){var t,n,r,o,i,a,s,c,l,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,o=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;o>r;r+=4)0!==(i=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(i=((i=((i=((i=(i-(u=i%85))/85)-(l=i%85))/85)-(c=i%85))/85)-(s=i%85))/85)%85,n.push(a+33,s+33,c+33,l+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,o,i,a=String,s="length",c=255,l="charCodeAt",u="slice",A="replace";for(e[u](-2),e=e[u](0,-2)[A](/\s/g,"")[A]("z","!!!!!"),r=[],o=0,i=(e+=t="uuuuu"[u](e[s]%5||5))[s];i>o;o+=5)n=52200625*(e[l](o)-33)+614125*(e[l](o+1)-33)+7225*(e[l](o+2)-33)+85*(e[l](o+3)-33)+(e[l](o+4)-33),r.push(c&n>>24,c&n>>16,c&n>>8,c&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)},r=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},o=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=Ix(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,i){var a=0,s=e||"",c=[];for("string"==typeof(i=i||[])&&(i=[i]),a=0;a<i.length;a+=1)switch(i[a]){case"ASCII85Decode":case"/ASCII85Decode":s=n(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=r(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=o(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[a]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(hB.API),(yC=hB.API).loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,o=0,i=function(e){var t=e.length,n=[],r=String.fromCharCode;for(o=0;o<t;o+=1)n.push(r(255&e.charCodeAt(o)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(i(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return i(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},yC.loadImageFile=yC.loadFile,function(e){function t(){return(Lx.html2canvas?Promise.resolve(Lx.html2canvas):Promise.resolve().then(n.t.bind(n,5498,23))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function r(){return(Lx.DOMPurify?Promise.resolve(Lx.DOMPurify):Promise.resolve().then(n.t.bind(n,8703,23))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=(0,o_.Z)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},a=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(e,t){return e.__proto__=t||a.prototype,e},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then((function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},a.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==n&&1===o.nodeType&&"SCRIPT"===o.nodeName||r.appendChild(e(o,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},a.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},a.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,o=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete o.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var a=n[i],s=a.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,a.ref.name,a.ref.style)}return o.windowHeight=o.windowHeight||0,o.windowHeight=0==o.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):o.windowHeight,t.context2d.save(!0),e(this.prop.container,o)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},a.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},a.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},a.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},a.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},a.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in a.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},a.prototype.get=function(e,t){return this.then((function(){var n=e in a.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},a.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},a.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||hB.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},a.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},a.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},a.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:a.convert(Object.assign({},this),Promise.prototype),o=n.call(r,e,t);return a.convert(o,this.__proto__)},a.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},a.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},a.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return a.convert(t,this)},a.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},a.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,hB.getPageSize=function(e,t,n){if("object"===(0,o_.Z)(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var o,i=(""+n).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+t}var s,c=0,l=0;if(a.hasOwnProperty(i))c=a[i][1]/o,l=a[i][0]/o;else try{c=n[1],l=n[0]}catch(yC){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",l>c&&(s=l,l=c,c=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>l&&(s=l,l=c,c=s)}return{width:l,height:c,unit:t,k:o,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(cC):null;var n=new a(t);return t.worker?n:n.from(e).doCallback()}}(hB.API),hB.API.addJS=function(e){return vC=e,this.internal.events.subscribe("postPutResources",(function(){mC=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(mC+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),gC=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+vC+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==mC&&void 0!==gC&&this.internal.out("/Names <</JavaScript "+mC+" 0 R>>")})),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),o=0;o<r.length;o++){var i=r[o],a=n.exec(i);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(i)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(o=0;o<c;o++){var u=e.internal.newObject();l.push(u);var A=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+A.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<l.length;o++)e.internal.write("(page_"+(o+1)+")"+l[o]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var o=t.children[r];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var i=this.count=this.count_r({count:0},o);if(i>0&&this.line("/Count "+i),o.options&&o.options.pageNumber){var a=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(hB.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,o,i,a){var s,c=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=i||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),o=e.length,i={width:0,height:0,numcomponents:1},a=4;a<o;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),i={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return i}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}l={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:c,index:n,alias:r}}return l}}(hB.API);var wC,_C,xC,BC,CC,EC=function(){var e,t,n;function r(e){var t,n,r,o,i,a,s,c,l,u,A,d,f,h;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(t=this.readUInt32(),l=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),o=this.readUInt16()||100,a.delay=1e3*i/o,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),e=(null!=a?a.data:void 0)||this.imgData,d=0;0<=t?d<t:d>t;0<=t?++d:--d)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(f=0;0<=u?f<u:f>u;0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(A=this.read(t)).indexOf(0),c=String.fromCharCode.apply(String,A.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,A.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(h=this.colorType)||6===h,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,o=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function i(i,a,s,c){var l,u,A,d,f,h,p,m,g,v,y,b,w,_,x,B,C,E,j,k,S,O=Math.ceil((o.width-i)/s),N=Math.ceil((o.height-a)/c),F=o.width==O&&o.height==N;for(_=t*O,b=F?n:new Uint8Array(_*N),h=e.length,w=0,u=0;w<N&&r<h;){switch(e[r++]){case 0:for(d=C=0;C<_;d=C+=1)b[u++]=e[r++];break;case 1:for(d=E=0;E<_;d=E+=1)l=e[r++],f=d<t?0:b[u-t],b[u++]=(l+f)%256;break;case 2:for(d=j=0;j<_;d=j+=1)l=e[r++],A=(d-d%t)/t,x=w&&b[(w-1)*_+A*t+d%t],b[u++]=(x+l)%256;break;case 3:for(d=k=0;k<_;d=k+=1)l=e[r++],A=(d-d%t)/t,f=d<t?0:b[u-t],x=w&&b[(w-1)*_+A*t+d%t],b[u++]=(l+Math.floor((f+x)/2))%256;break;case 4:for(d=S=0;S<_;d=S+=1)l=e[r++],A=(d-d%t)/t,f=d<t?0:b[u-t],0===w?x=B=0:(x=b[(w-1)*_+A*t+d%t],B=A&&b[(w-1)*_+(A-1)*t+d%t]),p=f+x-B,m=Math.abs(p-f),v=Math.abs(p-x),y=Math.abs(p-B),g=m<=v&&m<=y?f:v<=y?x:B,b[u++]=(l+g)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!F){var I=((a+w*c)*o.width+i)*t,P=w*_;for(d=0;d<O;d+=1){for(var L=0;L<t;L+=1)n[I++]=b[P++];I+=(s-1)*t}}w++}}return e=Px(e),1==o.interlaceMethod?(i(0,0,8,8),i(4,0,8,8),i(0,4,4,8),i(2,0,4,4),i(0,2,2,4),i(1,0,2,2),i(0,1,1,2)):i(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,o,i,a,s,c;for(n=this.palette,i=this.transparency.indexed||[],o=new Uint8Array((i.length||0)+n.length),r=0,e=0,t=a=0,s=n.length;a<s;t=a+=3)o[r++]=n[t],o[r++]=n[t+1],o[r++]=n[t+2],o[r++]=null!=(c=i[e++])?c:255;return o},r.prototype.copyToImageData=function(e,t){var n,r,o,i,a,s,c,l,u,A,d;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(d=this._decodedPalette)?d:this._decodedPalette=this.decodePalette(),r=4,n=!0),l=(o=e.data||e).length,a=u||t,i=s=0,1===r)for(;i<l;)c=u?4*t[i/4]:s,A=a[c++],o[i++]=A,o[i++]=A,o[i++]=A,o[i++]=n?a[c++]:255,s=c;else for(;i<l;)c=u?4*t[i/4]:s,o[i++]=a[c++],o[i++]=a[c++],o[i++]=a[c++],o[i++]=n?a[c++]:255,s=c},r.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(Lx)){try{t=Lx.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var r;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var n,r,o,i,a,s,c,l;if(this.animation){for(l=[],r=a=0,s=(c=this.animation.frames).length;a<s;r=++a)n=c[r],o=t.createImageData(n.width,n.height),i=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(o,i),n.imageData=o,l.push(n.image=e(o));return l}},r.prototype.renderFrame=function(e,t){var n,r,o;return n=(r=this.animation.frames)[t],o=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=o?o.disposeOp:void 0)?e.clearRect(o.xOffset,o.yOffset,o.width,o.height):2===(null!=o?o.disposeOp:void 0)&&e.putImageData(o.imageData,o.xOffset,o.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,o,i,a,s=this;return n=0,a=this.animation,o=a.numFrames,r=a.frames,i=a.numPlays,(t=function(){var a,c;if(a=n++%o,c=r[a],s.renderFrame(e,a),o>1&&n/o<i)return s.animation._timeout=setTimeout(t,c.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}();function jC(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,o=e[t++],i=o>>7,a=1<<1+(7&o);e[t++],e[t++];var s=null,c=null;i&&(s=t,c=a,t+=3*a);var l=!0,u=[],A=0,d=null,f=0,h=null;for(this.width=n,this.height=r;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,h=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((j=e[t++])>=0))throw Error("Invalid block size");if(0===j)break;t+=j}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var p=e[t++];A=e[t++]|e[t++]<<8,d=e[t++],0==(1&p)&&(d=null),f=p>>2&7,t++;break;case 254:for(;;){if(!((j=e[t++])>=0))throw Error("Invalid block size");if(0===j)break;t+=j}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,b=e[t++],w=b>>6&1,_=1<<1+(7&b),x=s,B=c,C=!1;b>>7&&(C=!0,x=t,B=_,t+=3*_);var E=t;for(t++;;){var j;if(!((j=e[t++])>=0))throw Error("Invalid block size");if(0===j)break;t+=j}u.push({x:m,y:g,width:v,height:y,has_local_palette:C,palette_offset:x,palette_size:B,data_offset:E,data_length:t-E,transparent_index:d,interlaced:!!w,delay:A,disposal:f});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);kC(e,o.data_offset,a,i);var s=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var l=o.width,u=n-l,A=l,d=4*(o.y*n+o.x),f=4*((o.y+o.height)*n+o.x),h=d,p=4*u;!0===o.interlaced&&(p+=4*n*7);for(var m=8,g=0,v=a.length;g<v;++g){var y=a[g];if(0===A&&(A=l,(h+=p)>=f&&(p=4*u+4*n*(m-1),h=d+(l+u)*(m<<1),m>>=1)),y===c)h+=4;else{var b=e[s+3*y],w=e[s+3*y+1],_=e[s+3*y+2];r[h++]=_,r[h++]=w,r[h++]=b,r[h++]=255}--A}},this.decodeAndBlitFrameRGBA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);kC(e,o.data_offset,a,i);var s=o.palette_offset,c=o.transparent_index;null===c&&(c=256);var l=o.width,u=n-l,A=l,d=4*(o.y*n+o.x),f=4*((o.y+o.height)*n+o.x),h=d,p=4*u;!0===o.interlaced&&(p+=4*n*7);for(var m=8,g=0,v=a.length;g<v;++g){var y=a[g];if(0===A&&(A=l,(h+=p)>=f&&(p=4*u+4*n*(m-1),h=d+(l+u)*(m<<1),m>>=1)),y===c)h+=4;else{var b=e[s+3*y],w=e[s+3*y+1],_=e[s+3*y+2];r[h++]=b,r[h++]=w,r[h++]=_,r[h++]=255}--A}}}function kC(e,t,n,r){for(var o=e[t++],i=1<<o,a=i+1,s=a+1,c=o+1,l=(1<<c)-1,u=0,A=0,d=0,f=e[t++],h=new Int32Array(4096),p=null;;){for(;u<16&&0!==f;)A|=e[t++]<<u,u+=8,1===f?f=e[t++]:--f;if(u<c)break;var m=A&l;if(A>>=c,u-=c,m!==i){if(m===a)break;for(var g=m<s?m:p,v=0,y=g;y>i;)y=h[y]>>8,++v;var b=y;if(d+v+(g!==m?1:0)>r)return void Dx.log("Warning, gif stream longer than expected.");n[d++]=b;var w=d+=v;for(g!==m&&(n[d++]=b),y=g;v--;)y=h[y],n[--w]=255&y,y>>=8;null!==p&&s<4096&&(h[s++]=p<<8|b,s>=l+1&&c<12&&(++c,l=l<<1|1)),p=m}else s=a+1,l=(1<<(c=o+1))-1,p=null}return d!==r&&Dx.log("Warning, gif stream shorter than expected."),n}function SC(e){var t,n,r,o,i,a=Math.floor,s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),A=new Array(65535),d=new Array(65535),f=new Array(64),h=new Array(64),p=[],m=0,g=7,v=new Array(64),y=new Array(64),b=new Array(64),w=new Array(256),_=new Array(2048),x=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],B=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],j=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],k=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],N=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function F(e,t){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=e[i];a++)o[t[r]]=[],o[t[r]][0]=n,o[t[r]][1]=i,r++,n++;n*=2}return o}function I(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<g),n--,--g<0&&(255==m?(P(255),P(0)):P(m),g=7,m=0)}function P(e){p.push(e)}function L(e){P(e>>8&255),P(255&e)}function T(e,t,n,r,o){for(var i,a=o[0],s=o[240],c=function(e,t){var n,r,o,i,a,s,c,l,u,A,d=0;for(u=0;u<8;++u){n=e[d],r=e[d+1],o=e[d+2],i=e[d+3],a=e[d+4],s=e[d+5],c=e[d+6];var h=n+(l=e[d+7]),p=n-l,m=r+c,g=r-c,v=o+s,y=o-s,b=i+a,w=i-a,_=h+b,x=h-b,B=m+v,C=m-v;e[d]=_+B,e[d+4]=_-B;var E=.707106781*(C+x);e[d+2]=x+E,e[d+6]=x-E;var j=.382683433*((_=w+y)-(C=g+p)),k=.5411961*_+j,S=1.306562965*C+j,O=.707106781*(B=y+g),N=p+O,F=p-O;e[d+5]=F+k,e[d+3]=F-k,e[d+1]=N+S,e[d+7]=N-S,d+=8}for(d=0,u=0;u<8;++u){n=e[d],r=e[d+8],o=e[d+16],i=e[d+24],a=e[d+32],s=e[d+40],c=e[d+48];var I=n+(l=e[d+56]),P=n-l,L=r+c,T=r-c,D=o+s,Q=o-s,U=i+a,M=i-a,R=I+U,$=I-U,H=L+D,q=L-D;e[d]=R+H,e[d+32]=R-H;var K=.707106781*(q+$);e[d+16]=$+K,e[d+48]=$-K;var V=.382683433*((R=M+Q)-(q=T+P)),z=.5411961*R+V,Z=1.306562965*q+V,G=.707106781*(H=Q+T),W=P+G,Y=P-G;e[d+40]=Y+z,e[d+24]=Y-z,e[d+8]=W+Z,e[d+56]=W-Z,d++}for(u=0;u<64;++u)A=e[u]*t[u],f[u]=A>0?A+.5|0:A-.5|0;return f}(e,t),l=0;l<64;++l)h[x[l]]=c[l];var u=h[0]-n;n=h[0],0==u?I(r[0]):(I(r[d[i=32767+u]]),I(A[i]));for(var p=63;p>0&&0==h[p];)p--;if(0==p)return I(a),n;for(var m,g=1;g<=p;){for(var v=g;0==h[g]&&g<=p;)++g;var y=g-v;if(y>=16){m=y>>4;for(var b=1;b<=m;++b)I(s);y&=15}i=32767+h[g],I(o[(y<<4)+d[i]]),I(A[i]),g++}return 63!=p&&I(a),n}function D(e){e=Math.min(Math.max(e,1),100),i!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[x[n]]=r}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var A=a((o[i]*e+50)/100);A=Math.min(Math.max(A,1),255),c[x[i]]=A}for(var d=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,h=0;h<8;h++)for(var p=0;p<8;p++)l[f]=1/(s[x[f]]*d[h]*d[p]*8),u[f]=1/(c[x[f]]*d[h]*d[p]*8),f++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){i&&D(i),p=new Array,m=0,g=7,L(65496),L(65504),L(16),P(74),P(70),P(73),P(70),P(0),P(1),P(1),P(0),L(1),L(1),P(0),P(0),function(){L(65499),L(132),P(0);for(var e=0;e<64;e++)P(s[e]);P(1);for(var t=0;t<64;t++)P(c[t])}(),function(e,t){L(65472),L(17),P(8),L(t),L(e),P(3),P(1),P(17),P(0),P(2),P(17),P(1),P(3),P(17),P(1)}(e.width,e.height),function(){L(65476),L(418),P(0);for(var e=0;e<16;e++)P(B[e+1]);for(var t=0;t<=11;t++)P(C[t]);P(16);for(var n=0;n<16;n++)P(E[n+1]);for(var r=0;r<=161;r++)P(j[r]);P(1);for(var o=0;o<16;o++)P(k[o+1]);for(var i=0;i<=11;i++)P(S[i]);P(17);for(var a=0;a<16;a++)P(O[a+1]);for(var s=0;s<=161;s++)P(N[s])}(),L(65498),L(12),P(3),P(1),P(0),P(2),P(17),P(3),P(17),P(0),P(63),P(0);var a=0,A=0,d=0;m=0,g=7,this.encode.displayName="_encode_";for(var f,h,w,x,F,Q,U,M,R,$=e.data,H=e.width,q=e.height,K=4*H,V=0;V<q;){for(f=0;f<K;){for(F=K*V+f,U=-1,M=0,R=0;R<64;R++)Q=F+(M=R>>3)*K+(U=4*(7&R)),V+M>=q&&(Q-=K*(V+1+M-q)),f+U>=K&&(Q-=f+U-K+4),h=$[Q++],w=$[Q++],x=$[Q++],v[R]=(_[h]+_[w+256>>0]+_[x+512>>0]>>16)-128,y[R]=(_[h+768>>0]+_[w+1024>>0]+_[x+1280>>0]>>16)-128,b[R]=(_[h+1280>>0]+_[w+1536>>0]+_[x+1792>>0]>>16)-128;a=T(v,l,a,t,r),A=T(y,u,A,n,o),d=T(b,u,d,n,o),f+=32}V+=8}if(g>=0){var z=[];z[1]=g+1,z[0]=(1<<g+1)-1,I(z)}return L(65497),new Uint8Array(p)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)w[t]=e(t)}(),t=F(B,C),n=F(k,S),r=F(E,j),o=F(O,N),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)d[32767+r]=n,A[32767+r]=[],A[32767+r][1]=n,A[32767+r][0]=r;for(var o=-(t-1);o<=-e;o++)d[32767+o]=n,A[32767+o]=[],A[32767+o][1]=n,A[32767+o][0]=t-1+o;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)_[e]=19595*e,_[e+256>>0]=38470*e,_[e+512>>0]=7471*e+32768,_[e+768>>0]=-11059*e,_[e+1024>>0]=-21709*e,_[e+1280>>0]=32768*e+8421375,_[e+1536>>0]=-27439*e,_[e+1792>>0]=-5329*e}(),D(e)}function OC(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function NC(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,o){for(var i=0;i<o;i++)e[t+i]=n[r+i]}function o(e,t,n,r){for(var o=0;o<r;o++)e[t+o]=n}function i(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,o){for(var i=o[r],a=0;a<i&&(n.push(o.length>r+1?[]:new t),!(o.length<r+1));a++)e(n[a],r+1,o)}(n,0,e),n}var c=function(){var e=this;function c(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function l(e,n,r,o,i){t(!(o%r));do{e[n+(o-=r)]=i}while(0<o)}function u(e,n,r,o,a){if(t(2328>=a),512>=a)var s=i(512);else if(null==(s=i(a)))return 0;return function(e,n,r,o,a,s){var u,d,f=n,h=1<<r,p=i(16),m=i(16);for(t(0!=a),t(null!=o),t(null!=e),t(0<r),d=0;d<a;++d){if(15<o[d])return 0;++p[o[d]]}if(p[0]==a)return 0;for(m[1]=0,u=1;15>u;++u){if(p[u]>1<<u)return 0;m[u+1]=m[u]+p[u]}for(d=0;d<a;++d)u=o[d],0<o[d]&&(s[m[u]++]=d);if(1==m[15])return(o=new A).g=0,o.value=s[0],l(e,f,1,h,o),h;var g,v=-1,y=h-1,b=0,w=1,_=1,x=1<<r;for(d=0,u=1,a=2;u<=r;++u,a<<=1){if(w+=_<<=1,0>(_-=p[u]))return 0;for(;0<p[u];--p[u])(o=new A).g=u,o.value=s[d++],l(e,f+b,a,x,o),b=c(b,u)}for(u=r+1,a=2;15>=u;++u,a<<=1){if(w+=_<<=1,0>(_-=p[u]))return 0;for(;0<p[u];--p[u]){if(o=new A,(b&y)!=v){for(f+=x,g=1<<(v=u)-r;15>v&&!(0>=(g-=p[v]));)++v,g<<=1;h+=x=1<<(g=v-r),e[n+(v=b&y)].g=g+r,e[n+v].value=f-n-v}o.g=u-r,o.value=s[d++],l(e,f+(b>>r),a,x,o),b=c(b,u)}}return w!=2*m[15]-1?0:h}(e,n,r,o,a,s)}function A(){this.value=this.g=0}function d(){this.value=this.g=0}function f(){this.G=a(5,A),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Un,d)}function h(e,n,r,o){t(null!=e),t(null!=n),t(2147483648>o),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+o,e.Zc=4<=o?r+o-4+1:r,E(e)}function p(e,t){for(var n=0;0<t--;)n|=k(e,128)<<t;return n}function m(e,t){var n=p(e,t);return j(e)?-n:n}function g(e,n,r,o){var i,a=0;for(t(null!=e),t(null!=n),t(4294967288>o),e.Sb=o,e.Ra=0,e.u=0,e.h=0,4<o&&(o=4),i=0;i<o;++i)a+=n[r+i]<<8*i;e.Ra=a,e.bb=o,e.oa=n,e.pa=r}function v(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<$n-8>>>0,++e.bb,e.u-=8;x(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Rn){var r=_(e)&Mn[n];return e.u+=n,v(e),r}return e.h=1,e.u=0}function b(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function w(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function _(e){return e.Ra>>>(e.u&$n-1)>>>0}function x(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>$n}function B(e,t){e.u=t,e.h=x(e)}function C(e){e.u>=Hn&&(t(e.u>=Hn),v(e))}function E(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function j(e){return p(e,1)}function k(e,t){var n=e.Ca;0>e.b&&E(e);var r=e.b,o=n*t>>>8,i=(e.I>>>r>o)+0;for(i?(n-=o,e.I-=o+1<<r>>>0):n=o+1,r=n,o=0;256<=r;)o+=8,r>>=8;return r=7^o+qn[r],e.b-=r,e.Ca=(n<<r)-1,i}function S(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function O(e,t){return e[t+0]<<0|e[t+1]<<8}function N(e,t){return O(e,t)|e[t+2]<<16}function F(e,t){return O(e,t)|O(e,t+2)<<16}function I(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=i(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function P(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function T(e,n,r,o){t(null!=r),t(null!=o);var i=r[0],a=o[0];return 0==i&&(i=(e*a+n/2)/n),0==a&&(a=(n*i+e/2)/e),0>=i||0>=a?0:(r[0]=i,o[0]=a,1)}function D(e,t){return e+(1<<t)-1>>>t}function Q(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function U(t,n){e[n]=function(n,r,o,i,a,s,c){var l;for(l=0;l<a;++l){var u=e[t](s[c+l-1],o,i+l);s[c+l]=Q(n[r+l],u)}}}function M(){this.ud=this.hd=this.jd=0}function R(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function $(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function H(e,t){return $(e+(e-t+.5>>1))}function q(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function K(e,t,n,r,o,i,a){for(r=i[a-1],n=0;n<o;++n)i[a+n]=r=Q(e[t+n],r)}function V(e,t,n,r,o){var i;for(i=0;i<n;++i){var a=e[t+i],s=a>>8&255,c=16711935&(c=(c=16711935&a)+((s<<16)+s));r[o+i]=(4278255360&a)+c>>>0}}function z(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function Z(e,t,n,r,o,i){var a;for(a=0;a<r;++a){var s=t[n+a],c=s>>>8,l=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(e.hd<<24>>24)*(c<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),o[i+a]=(4278255360&s)+(u<<16)+l}}function G(t,n,r,o,i){e[n]=function(e,t,n,r,a,s,c,l,u){for(r=c;r<l;++r)for(c=0;c<u;++c)a[s++]=i(n[o(e[t++])])},e[t]=function(t,n,a,s,c,l,u){var A=8>>t.b,d=t.Ea,f=t.K[0],h=t.w;if(8>A)for(t=(1<<t.b)-1,h=(1<<A)-1;n<a;++n){var p,m=0;for(p=0;p<d;++p)p&t||(m=o(s[c++])),l[u++]=i(f[m&h]),m>>=A}else e["VP8LMapColor"+r](s,c,f,h,l,u,n,a,d)}}function W(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=i>>0&255}}function Y(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=i>>0&255,r[o++]=i>>24&255}}function X(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;r[o++]=i,r[o++]=a}}function J(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[o++]=i,r[o++]=a}}function ee(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>0&255,r[o++]=i>>8&255,r[o++]=i>>16&255}}function te(e,t,n,o,i,a){if(0==a)for(n=t+n;t<n;)S(o,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),i+=32;else r(o,i,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Hr||e==qr||e==Kr||e==Vr}function oe(){this.eb=[],this.size=this.A=this.fb=0}function ie(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new oe,this.f.kb=new ie,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ce(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function le(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var n=e.T,o=t.ba.f.RGBA,i=o.eb,a=o.fb+e.ka*o.A,s=vo[t.ba.S],c=e.y,l=e.O,u=e.f,A=e.N,d=e.ea,f=e.W,h=t.cc,p=t.dc,m=t.Mc,g=t.Nc,v=e.ka,y=e.ka+e.T,b=e.U,w=b+1>>1;for(0==v?s(c,l,null,null,u,A,d,f,u,A,d,f,i,a,null,null,b):(s(t.ec,t.fc,c,l,h,p,m,g,u,A,d,f,i,a-o.A,i,a,b),++n);v+2<y;v+=2)h=u,p=A,m=d,g=f,A+=e.Rc,f+=e.Rc,a+=2*o.A,s(c,(l+=2*e.fa)-e.fa,c,l,h,p,m,g,u,A,d,f,i,a-o.A,i,a,b);return l+=e.fa,e.j+y<e.o?(r(t.ec,t.fc,c,l,b),r(t.cc,t.dc,u,A,w),r(t.Mc,t.Nc,d,f,w),n--):1&y||s(c,l,null,null,u,A,d,f,u,A,d,f,i,a+o.A,null,null,b),n}function Ae(e,n,r){var o=e.F,i=[e.J];if(null!=o){var a=e.U,s=n.ba.S,c=s==Mr||s==Kr;n=n.ba.f.RGBA;var l=[0],u=e.ka;l[0]=e.T,e.Kb&&(0==u?--l[0]:(--u,i[0]-=e.width),e.j+e.ka+e.T==e.o&&(l[0]=e.o-e.j-u));var A=n.eb;u=n.fb+u*n.A,e=Cr(o,i[0],e.width,a,l,A,u+(c?0:3),n.A),t(r==l),e&&re(s)&&xr(A,u,c,a,l,n.A)}return 0}function de(e){var t=e.ma,n=t.ba.S,r=11>n,o=n==Dr||n==Ur||n==Mr||n==Rr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Tn(t.Oa,e,o?11:12))return 0;if(o&&re(n)&&yn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=le,e.Kb){if(n=e.U+1>>1,t.memory=i(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ue,yn()}}else alert("todo:EmitYUV");o&&(t.Jb=Ae,r&&gn())}if(r&&!Fo){for(e=0;256>e;++e)Io[e]=89858*(e-128)+jo>>Eo,To[e]=-22014*(e-128)+jo,Lo[e]=-45773*(e-128),Po[e]=113618*(e-128)+jo>>Eo;for(e=ko;e<So;++e)t=76283*(e-16)+jo>>Eo,Do[e-ko]=Ke(t,255),Qo[e-ko]=Ke(t+8>>4,15);Fo=1}return 1}function fe(e){var n=e.ma,r=e.U,o=e.T;return t(!(1&e.ka)),0>=r||0>=o?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function he(e){e.ma.memory=null}function pe(e,t,n,r){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,n[0]=y(e,14)+1,r[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+y(t,n)+1}function ge(e,t){return 120<t?t-120:1<=(n=((n=Xr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ve(e,t,n){var r=_(n),o=e[t+=255&r].g-8;return 0<o&&(B(n,n.u+8),r=_(n),t+=e[t].value,t+=r&(1<<o)-1),B(n,n.u+e[t].g),e[t].value}function ye(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function be(e,n,r){var o=e.xc;return t((n=0==o?0:e.vc[e.md*(r>>o)+(n>>o)])<e.Wb),e.Ya[n]}function we(e,n,o,i){var a=e.ab,s=e.c*n,c=e.C;n=c+n;var l=o,u=i;for(i=e.Ta,o=e.Ua;0<a--;){var A=e.gc[a],d=c,f=n,h=l,p=u,m=(u=i,l=o,A.Ea);switch(t(d<f),t(f<=A.nc),A.hc){case 2:zn(h,p,(f-d)*m,u,l);break;case 0:var g=d,v=f,y=u,b=l,w=(E=A).Ea;0==g&&(Kn(h,p,null,null,1,y,b),K(h,p+1,0,0,w-1,y,b+1),p+=w,b+=w,++g);for(var _=1<<E.b,x=_-1,B=D(w,E.b),C=E.K,E=E.w+(g>>E.b)*B;g<v;){var j=C,k=E,S=1;for(Vn(h,p,y,b-w,1,y,b);S<w;){var O=(S&~x)+_;O>w&&(O=w),(0,Xn[j[k++]>>8&15])(h,p+ +S,y,b+S-w,O-S,y,b+S),S=O}p+=w,b+=w,++g&x||(E+=B)}f!=A.nc&&r(u,l-m,u,l+(f-d-1)*m,m);break;case 1:for(m=h,v=p,w=(h=A.Ea)-(b=h&~(y=(p=1<<A.b)-1)),g=D(h,A.b),_=A.K,A=A.w+(d>>A.b)*g;d<f;){for(x=_,B=A,C=new M,E=v+b,j=v+h;v<E;)z(x[B++],C),Jn(C,m,v,p,u,l),v+=p,l+=p;v<j&&(z(x[B++],C),Jn(C,m,v,w,u,l),v+=w,l+=w),++d&y||(A+=g)}break;case 3:if(h==u&&p==l&&0<A.b){for(v=u,h=m=l+(f-d)*m-(b=(f-d)*D(A.Ea,A.b)),p=u,y=l,g=[],b=(w=b)-1;0<=b;--b)g[b]=p[y+b];for(b=w-1;0<=b;--b)v[h+b]=g[b];Zn(A,d,f,u,m,u,l)}else Zn(A,d,f,h,p,u,l)}l=i,u=o}u!=o&&r(i,o,l,u,s)}function _e(e,n){var r=e.V,o=e.Ba+e.c*e.C,i=n-e.C;if(t(n<=e.l.o),t(16>=i),0<i){var a=e.l,s=e.Ta,c=e.Ua,l=a.width;if(we(e,i,r,o),i=c=[c],t((r=e.C)<(o=n)),t(a.v<a.va),o>a.o&&(o=a.o),r<a.j){var u=a.j-r;r=a.j,i[0]+=u*l}if(r>=o?r=0:(i[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=o-r,r=1),r){if(c=c[0],11>(r=e.ca).S){var A=r.f.RGBA,d=(o=r.S,i=a.U,a=a.T,u=A.eb,A.A),f=a;for(A=A.fb+e.Ma*A.A;0<f--;){var h=s,p=c,m=i,g=u,v=A;switch(o){case Tr:er(h,p,m,g,v);break;case Dr:tr(h,p,m,g,v);break;case Hr:tr(h,p,m,g,v),xr(g,v,0,m,1,0);break;case Qr:or(h,p,m,g,v);break;case Ur:te(h,p,m,g,v,1);break;case qr:te(h,p,m,g,v,1),xr(g,v,0,m,1,0);break;case Mr:te(h,p,m,g,v,0);break;case Kr:te(h,p,m,g,v,0),xr(g,v,1,m,1,0);break;case Rr:nr(h,p,m,g,v);break;case Vr:nr(h,p,m,g,v),Br(g,v,m,1,0);break;case $r:rr(h,p,m,g,v);break;default:t(0)}c+=l,A+=d}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function xe(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Be(e,n,r,o,i,a){if(0!=e.Z){var s=e.qd,c=e.rd;for(t(null!=go[e.Z]);n<r;++n)go[e.Z](s,c,o,i,o,i,a),s=o,c=i,i+=a;e.qd=s,e.rd=c}}function Ce(e,n){var r=e.l.ma,o=0==r.Z||1==r.Z?e.l.j:e.C;if(o=e.C<o?o:e.C,t(n<=e.l.o),n>o){var i=e.l.width,a=r.ca,s=r.tb+i*o,c=e.V,l=e.Ba+e.c*o,u=e.gc;t(1==e.ab),t(3==u[0].hc),Wn(u[0],o,n,c,l,a,s),Be(r,o,n,a,s,i)}e.C=e.Ma=n}function Ee(e,n,r,o,i,a,s){var c=e.$/o,l=e.$%o,u=e.m,A=e.s,d=r+e.$,f=d;i=r+o*i;var h=r+o*a,p=280+A.ua,m=e.Pb?c:16777216,g=0<A.ua?A.Wa:null,v=A.wc,y=d<h?be(A,l,c):null;t(e.C<a),t(h<=i);var b=!1;e:for(;;){for(;b||d<h;){var w=0;if(c>=m){var E=d-r;t((m=e).Pb),m.wd=m.m,m.xd=E,0<m.s.ua&&P(m.s.Wa,m.s.vb),m=c+eo}if(l&v||(y=be(A,l,c)),t(null!=y),y.Qb&&(n[d]=y.qb,b=!0),!b)if(C(u),y.jc){w=u,E=n;var j=d,k=y.pd[_(w)&Un-1];t(y.jc),256>k.g?(B(w,w.u+k.g),E[j]=k.value,w=0):(B(w,w.u+k.g-256),t(256<=k.value),w=k.value),0==w&&(b=!0)}else w=ve(y.G[0],y.H[0],u);if(u.h)break;if(b||256>w){if(!b)if(y.nd)n[d]=(y.qb|w<<8)>>>0;else{if(C(u),b=ve(y.G[1],y.H[1],u),C(u),E=ve(y.G[2],y.H[2],u),j=ve(y.G[3],y.H[3],u),u.h)break;n[d]=(j<<24|b<<16|w<<8|E)>>>0}if(b=!1,++d,++l>=o&&(l=0,++c,null!=s&&c<=a&&!(c%16)&&s(e,c),null!=g))for(;f<d;)w=n[f++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else if(280>w){if(w=me(w-256,u),E=ve(y.G[4],y.H[4],u),C(u),E=ge(o,E=me(E,u)),u.h)break;if(d-r<E||i-d<w)break e;for(j=0;j<w;++j)n[d+j]=n[d+j-E];for(d+=w,l+=w;l>=o;)l-=o,++c,null!=s&&c<=a&&!(c%16)&&s(e,c);if(t(d<=i),l&v&&(y=be(A,l,c)),null!=g)for(;f<d;)w=n[f++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else{if(!(w<p))break e;for(b=w-280,t(null!=g);f<d;)w=n[f++],g.X[(506832829*w&4294967295)>>>g.Mb]=w;w=d,t(!(b>>>(E=g).Xa)),n[w]=E.X[b],b=!0}b||t(u.h==x(u))}if(e.Pb&&u.h&&d<i)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&P(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,c>a?a:c),e.a=0,e.$=d-r}return 1}return e.a=3,0}function je(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function ke(){var t=new sn;return null==t?null:(t.a=0,t.xb=mo,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),zn=V,Jn=Z,er=W,tr=Y,nr=X,rr=J,or=ee,e.VP8LMapColor32b=Gn,e.VP8LMapColor8b=Yn,t)}function Se(e,n,r,s,c){var l=1,d=[e],h=[n],p=s.m,m=s.s,g=null,v=0;e:for(;;){if(r)for(;l&&y(p,1);){var b=d,w=h,x=s,E=1,j=x.m,k=x.gc[x.ab],S=y(j,2);if(x.Oc&1<<S)l=0;else{switch(x.Oc|=1<<S,k.hc=S,k.Ea=b[0],k.nc=w[0],k.K=[null],++x.ab,t(4>=x.ab),S){case 0:case 1:k.b=y(j,3)+2,E=Se(D(k.Ea,k.b),D(k.nc,k.b),0,x,k.K),k.K=k.K[0];break;case 3:var O,N=y(j,8)+1,F=16<N?0:4<N?1:2<N?2:3;if(b[0]=D(k.Ea,F),k.b=F,O=E=Se(N,1,0,x,k.K)){var P,L=N,T=k,U=1<<(8>>T.b),M=i(U);if(null==M)O=0;else{var R=T.K[0],$=T.w;for(M[0]=T.K[0][0],P=1;P<1*L;++P)M[P]=Q(R[$+P],M[P-1]);for(;P<4*U;++P)M[P]=0;T.K[0]=null,T.K[0]=M,O=1}}E=O;break;case 2:break;default:t(0)}l=E}}if(d=d[0],h=h[0],l&&y(p,1)&&!(l=1<=(v=y(p,4))&&11>=v)){s.a=3;break e}var H;if(H=l)t:{var q,K,V,z=s,Z=d,G=h,W=v,Y=r,X=z.m,J=z.s,ee=[null],te=1,ne=0,re=Jr[W];n:for(;;){if(Y&&y(X,1)){var oe=y(X,3)+2,ie=D(Z,oe),ae=D(G,oe),se=ie*ae;if(!Se(ie,ae,0,z,ee))break n;for(ee=ee[0],J.xc=oe,q=0;q<se;++q){var ce=ee[q]>>8&65535;ee[q]=ce,ce>=te&&(te=ce+1)}}if(X.h)break n;for(K=0;5>K;++K){var le=Gr[K];!K&&0<W&&(le+=1<<W),ne<le&&(ne=le)}var ue=a(te*re,A),Ae=te,de=a(Ae,f);if(null==de)var fe=null;else t(65536>=Ae),fe=de;var he=i(ne);if(null==fe||null==he||null==ue){z.a=1;break n}var pe=ue;for(q=V=0;q<te;++q){var me=fe[q],ge=me.G,ve=me.H,be=0,we=1,_e=0;for(K=0;5>K;++K){le=Gr[K],ge[K]=pe,ve[K]=V,!K&&0<W&&(le+=1<<W);r:{var xe,Be=le,Ce=z,ke=he,Oe=pe,Ne=V,Fe=0,Ie=Ce.m,Pe=y(Ie,1);if(o(ke,0,0,Be),Pe){var Le=y(Ie,1)+1,Te=y(Ie,1),De=y(Ie,0==Te?1:8);ke[De]=1,2==Le&&(ke[De=y(Ie,8)]=1);var Qe=1}else{var Ue=i(19),Me=y(Ie,4)+4;if(19<Me){Ce.a=3;var Re=0;break r}for(xe=0;xe<Me;++xe)Ue[Yr[xe]]=y(Ie,3);var $e=void 0,He=void 0,qe=Ce,Ke=Ue,Ve=Be,ze=ke,Ze=0,Ge=qe.m,We=8,Ye=a(128,A);o:for(;u(Ye,0,7,Ke,19);){if(y(Ge,1)){var Xe=2+2*y(Ge,3);if(($e=2+y(Ge,Xe))>Ve)break o}else $e=Ve;for(He=0;He<Ve&&$e--;){C(Ge);var Je=Ye[0+(127&_(Ge))];B(Ge,Ge.u+Je.g);var et=Je.value;if(16>et)ze[He++]=et,0!=et&&(We=et);else{var tt=16==et,nt=et-16,rt=Zr[nt],ot=y(Ge,zr[nt])+rt;if(He+ot>Ve)break o;for(var it=tt?We:0;0<ot--;)ze[He++]=it}}Ze=1;break o}Ze||(qe.a=3),Qe=Ze}(Qe=Qe&&!Ie.h)&&(Fe=u(Oe,Ne,8,ke,Be)),Qe&&0!=Fe?Re=Fe:(Ce.a=3,Re=0)}if(0==Re)break n;if(we&&1==Wr[K]&&(we=0==pe[V].g),be+=pe[V].g,V+=Re,3>=K){var at,st=he[0];for(at=1;at<le;++at)he[at]>st&&(st=he[at]);_e+=st}}if(me.nd=we,me.Qb=0,we&&(me.qb=(ge[3][ve[3]+0].value<<24|ge[1][ve[1]+0].value<<16|ge[2][ve[2]+0].value)>>>0,0==be&&256>ge[0][ve[0]+0].value&&(me.Qb=1,me.qb+=ge[0][ve[0]+0].value<<8)),me.jc=!me.Qb&&6>_e,me.jc){var ct,lt=me;for(ct=0;ct<Un;++ct){var ut=ct,At=lt.pd[ut],dt=lt.G[0][lt.H[0]+ut];256<=dt.value?(At.g=dt.g+256,At.value=dt.value):(At.g=0,At.value=0,ut>>=ye(dt,8,At),ut>>=ye(lt.G[1][lt.H[1]+ut],16,At),ut>>=ye(lt.G[2][lt.H[2]+ut],0,At),ye(lt.G[3][lt.H[3]+ut],24,At))}}}J.vc=ee,J.Wb=te,J.Ya=fe,J.yc=ue,H=1;break t}H=0}if(!(l=H)){s.a=3;break e}if(0<v){if(m.ua=1<<v,!I(m.Wa,v)){s.a=1,l=0;break e}}else m.ua=0;var ft=s,ht=d,pt=h,mt=ft.s,gt=mt.xc;if(ft.c=ht,ft.i=pt,mt.md=D(ht,gt),mt.wc=0==gt?-1:(1<<gt)-1,r){s.xb=po;break e}if(null==(g=i(d*h))){s.a=1,l=0;break e}l=(l=Ee(s,g,0,d,h,h,null))&&!p.h;break e}return l?(null!=c?c[0]=g:(t(null==g),t(r)),s.$=0,r||je(m)):je(m),l}function Oe(e,n){var r=e.c*e.i,o=r+n+16*n;return t(e.c<=n),e.V=i(o),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Ne(e,n){var r=e.C,o=n-r,i=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<o;){var s=16<o?16:o,c=e.l.ma,l=e.l.width,u=l*s,A=c.ca,d=c.tb+l*r,f=e.Ta,h=e.Ua;we(e,s,i,a),Er(f,h,A,d,u),Be(c,r,r+s,A,d,l),o-=s,i+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Fe(){this.ub=this.yd=this.td=this.Rb=0}function Ie(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Pe(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Le(){this.Yb=function(){var e=[];return function e(t,n,r){for(var o=r[n],i=0;i<o&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));i++)e(t[i],n+1,r)}(e,0,[3,11]),e}()}function Te(){this.jb=i(3),this.Wc=s([4,8],Le),this.Xc=s([4,17],Le)}function De(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function Qe(){this.ld=this.La=this.dd=this.tc=0}function Ue(){this.Na=this.la=0}function Me(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Re(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function $e(){this.uc=this.M=this.Nb=0,this.wa=Array(new Qe),this.Y=0,this.ya=Array(new Re),this.aa=0,this.l=new Ve}function He(){this.y=i(16),this.f=i(8),this.ea=i(8)}function qe(){this.cb=this.a=0,this.sc="",this.m=new b,this.Od=new Fe,this.Kc=new Ie,this.ed=new De,this.Qa=new Pe,this.Ic=this.$c=this.Aa=0,this.D=new $e,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,b),this.ia=0,this.pb=a(4,Me),this.Pa=new Te,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new He),this.Hd=0,this.rb=Array(new Ue),this.sb=0,this.wa=Array(new Qe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Re),this.L=this.aa=0,this.gd=s([4,2],Qe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ke(e,t){return 0>e?0:e>t?t:e}function Ve(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ze(){var e=new qe;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ro||(ro=Ye)),e}function Ze(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ge(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function We(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ze(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,i=n.w,a=n.ha;if(4>a)return Ze(e,7,"Truncated header.");var s=r[i+0]|r[i+1]<<8|r[i+2]<<16,c=e.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Ze(e,3,"Incorrect keyframe parameters.");if(!c.yd)return Ze(e,4,"Frame not displayable.");i+=3,a-=3;var l=e.Kc;if(c.Rb){if(7>a)return Ze(e,7,"cannot parse picture header");if(!Ge(r,i,a))return Ze(e,3,"Bad code word");l.c=16383&(r[i+4]<<8|r[i+3]),l.Td=r[i+4]>>6,l.i=16383&(r[i+6]<<8|r[i+5]),l.Ud=r[i+6]>>6,i+=7,a-=7,e.za=l.c+15>>4,e.Ub=l.i+15>>4,n.width=l.c,n.height=l.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,o((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,o(s.Zb,0,0,s.Zb.length),o(s.Lb,0,0,s.Lb)}if(c.ub>a)return Ze(e,7,"bad partition length");h(s=e.m,r,i,c.ub),i+=c.ub,a-=c.ub,c.Rb&&(l.Ld=j(s),l.Kd=j(s)),l=e.Qa;var u,A=e.Pa;if(t(null!=s),t(null!=l),l.Cb=j(s),l.Cb){if(l.Bb=j(s),j(s)){for(l.Fb=j(s),u=0;4>u;++u)l.Zb[u]=j(s)?m(s,7):0;for(u=0;4>u;++u)l.Lb[u]=j(s)?m(s,6):0}if(l.Bb)for(u=0;3>u;++u)A.jb[u]=j(s)?p(s,8):255}else l.Bb=0;if(s.Ka)return Ze(e,3,"cannot parse segment header");if((l=e.ed).zd=j(s),l.Tb=p(s,6),l.wb=p(s,3),l.Pc=j(s),l.Pc&&j(s)){for(A=0;4>A;++A)j(s)&&(l.vd[A]=m(s,6));for(A=0;4>A;++A)j(s)&&(l.od[A]=m(s,6))}if(e.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Ze(e,3,"cannot parse filter header");var d=a;if(a=u=i,i=u+d,l=d,e.Xb=(1<<p(e.m,2))-1,d<3*(A=e.Xb))r=7;else{for(u+=3*A,l-=3*A,d=0;d<A;++d){var f=r[a+0]|r[a+1]<<8|r[a+2]<<16;f>l&&(f=l),h(e.Jc[+d],r,u,f),u+=f,l-=f,a+=3}h(e.Jc[+A],r,u,l),r=u<i?0:5}if(0!=r)return Ze(e,r,"cannot parse partitions");for(r=p(u=e.m,7),a=j(u)?m(u,4):0,i=j(u)?m(u,4):0,l=j(u)?m(u,4):0,A=j(u)?m(u,4):0,u=j(u)?m(u,4):0,d=e.Qa,f=0;4>f;++f){if(d.Cb){var g=d.Zb[f];d.Fb||(g+=r)}else{if(0<f){e.pb[f]=e.pb[0];continue}g=r}var v=e.pb[f];v.Sc[0]=to[Ke(g+a,127)],v.Sc[1]=no[Ke(g+0,127)],v.Eb[0]=2*to[Ke(g+i,127)],v.Eb[1]=101581*no[Ke(g+l,127)]>>16,8>v.Eb[1]&&(v.Eb[1]=8),v.Qc[0]=to[Ke(g+A,117)],v.Qc[1]=no[Ke(g+u,127)],v.lc=g+u}if(!c.Rb)return Ze(e,4,"Not a key frame.");for(j(s),c=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(i=0;3>i;++i)for(l=0;11>l;++l)A=k(s,lo[r][a][i][l])?p(s,8):so[r][a][i][l],c.Wc[r][a].Yb[i][l]=A;for(a=0;17>a;++a)c.Xc[r][a]=c.Wc[r][uo[a]]}return e.kc=j(s),e.kc&&(e.Bd=p(s,8)),e.cb=1}function Ye(e,t,n,r,o,i,a){var s=t[o].Yb[n];for(n=0;16>o;++o){if(!k(e,s[n+0]))return o;for(;!k(e,s[n+1]);)if(s=t[++o].Yb[0],n=0,16==o)return 16;var c=t[o+1].Yb;if(k(e,s[n+2])){var l=e,u=0;if(k(l,(d=s)[(A=n)+3]))if(k(l,d[A+6])){for(s=0,A=2*(u=k(l,d[A+8]))+(d=k(l,d[A+9+u])),u=0,d=oo[A];d[s];++s)u+=u+k(l,d[s]);u+=3+(8<<A)}else k(l,d[A+7])?(u=7+2*k(l,165),u+=k(l,145)):u=5+k(l,159);else u=k(l,d[A+4])?3+k(l,d[A+5]):2;s=c[2]}else u=1,s=c[1];c=a+io[o],0>(l=e).b&&E(l);var A,d=l.b,f=(A=l.Ca>>1)-(l.I>>d)>>31;--l.b,l.Ca+=f,l.Ca|=1,l.I-=(A+1&f)<<d,i[c]=((u^f)-f)*r[(0<o)+0]}return 16}function Xe(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,o(e.zc,0,0,e.zc.length),e.ja=0}function Je(e,n){if(null==e)return 0;if(null==n)return Ze(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!We(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Mo[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var c=e.ed;for(s=0;4>s;++s){var l;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var A=e.gd[s][l],d=u;if(c.Pc&&(d+=c.vd[0],l&&(d+=c.od[0])),0<(d=0>d?0:63<d?63:d)){var f=d;0<c.wb&&(f=4<c.wb?f>>2:f>>1)>9-c.wb&&(f=9-c.wb),1>f&&(f=1),A.dd=f,A.tc=2*d+f,A.ld=40<=d?2:15<=d?1:0}else A.tc=0;A.La=l}}}s=0}else Ze(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=$o);e:{s=e.Ic,c=4*(f=e.za);var h=32*f,p=f+1,m=0<e.L?f*(0<e.Aa?2:1):0,g=(2==e.Aa?2:1)*f;if((A=c+832+(l=3*(16*s+Mo[e.L])/2*h)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=A)s=0;else{if(A>e.Vb){if(e.Vb=0,e.Ec=i(A),e.Fc=0,null==e.Ec){s=Ze(e,1,"no memory during frame initialization.");break e}e.Vb=A}A=e.Ec,d=e.Fc,e.Ac=A,e.Bc=d,d+=c,e.Gd=a(h,He),e.Hd=0,e.rb=a(p+1,Ue),e.sb=1,e.wa=m?a(m,Qe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=f),t(!0),e.oc=A,e.pc=d,d+=832,e.ya=a(g,Re),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=f),e.R=16*f,e.B=8*f,f=(h=Mo[e.L])*e.R,h=h/2*e.B,e.sa=A,e.ta=d+f,e.qa=e.sa,e.ra=e.ta+16*s*e.R+h,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+h,e.$c=0,d+=l,e.mb=u?A:null,e.nb=u?d:null,t(d+u<=e.Fc+e.Vb),Xe(e),o(e.Ac,e.Bc,0,c),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Nr){for(s=-255;255>=s;++s)jr[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)kr[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Sr[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Or[255+s]=0>s?0:255<s?255:s;Nr=1}ir=lt,ar=it,cr=at,lr=st,ur=ct,sr=ot,Ar=Zt,dr=Gt,fr=Xt,hr=Jt,pr=Wt,mr=Yt,gr=en,vr=tn,yr=$t,br=Ht,wr=qt,_r=Kt,fo[0]=Bt,fo[1]=At,fo[2]=_t,fo[3]=xt,fo[4]=Ct,fo[5]=jt,fo[6]=Et,fo[7]=kt,fo[8]=Ot,fo[9]=St,Ao[0]=gt,Ao[1]=ft,Ao[2]=ht,Ao[3]=pt,Ao[4]=vt,Ao[5]=yt,Ao[6]=bt,ho[0]=Pt,ho[1]=dt,ho[2]=Nt,ho[3]=Ft,ho[4]=Tt,ho[5]=Lt,ho[6]=Dt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],c=e.m,l=e;for(a=0;a<l.za;++a){var u=c,A=l,d=A.Ac,f=A.Bc+4*a,h=A.zc,p=A.ya[A.aa+a];if(A.Qa.Bb?p.$b=k(u,A.Pa.jb[0])?2+k(u,A.Pa.jb[2]):k(u,A.Pa.jb[1]):p.$b=0,A.kc&&(p.Ad=k(u,A.Bd)),p.Za=!k(u,145)+0,p.Za){var m=p.Ob,g=0;for(A=0;4>A;++A){var v,y=h[0+A];for(v=0;4>v;++v){y=co[d[f+v]][y];for(var b=ao[k(u,y[0])];0<b;)b=ao[2*b+k(u,y[b])];y=-b,d[f+v]=y}r(m,g,d,f,4),g+=4,h[0+A]=y}}else y=k(u,156)?k(u,128)?1:3:k(u,163)?2:0,p.Ob[0]=y,o(d,f,y,4),o(h,0,y,4);p.Dd=k(u,142)?k(u,114)?k(u,183)?1:3:2:0}if(l.m.Ka)return Ze(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(l=s,u=(c=e).rb[c.sb-1],d=c.rb[c.sb+c.ja],a=c.ya[c.aa+c.ja],f=c.kc?a.Ad:0)u.la=d.la=0,a.Za||(u.Na=d.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var w,_;if(u=d,d=l,f=c.Pa.Xc,h=c.ya[c.aa+c.ja],p=c.pb[h.$b],A=h.ad,m=0,g=c.rb[c.sb-1],y=v=0,o(A,m,0,384),h.Za)var x=0,B=f[3];else{b=i(16);var C=u.Na+g.Na;if(C=ro(d,f[1],C,p.Eb,0,b,0),u.Na=g.Na=(0<C)+0,1<C)ir(b,0,A,m);else{var E=b[0]+3>>3;for(b=0;256>b;b+=16)A[m+b]=E}x=1,B=f[0]}var j=15&u.la,S=15&g.la;for(b=0;4>b;++b){var O=1&S;for(E=_=0;4>E;++E)j=j>>1|(O=(C=ro(d,B,C=O+(1&j),p.Sc,x,A,m))>x)<<7,_=_<<2|(3<C?3:1<C?2:0!=A[m+0]),m+=16;j>>=4,S=S>>1|O<<7,v=(v<<8|_)>>>0}for(B=j,x=S>>4,w=0;4>w;w+=2){for(_=0,j=u.la>>4+w,S=g.la>>4+w,b=0;2>b;++b){for(O=1&S,E=0;2>E;++E)C=O+(1&j),j=j>>1|(O=0<(C=ro(d,f[2],C,p.Qc,0,A,m)))<<3,_=_<<2|(3<C?3:1<C?2:0!=A[m+0]),m+=16;j>>=2,S=S>>1|O<<5}y|=_<<4*w,B|=j<<4<<w,x|=(240&S)<<w}u.la=B,g.la=x,h.Hc=v,h.Gc=y,h.ia=43690&y?0:p.ia,f=!(v|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[a.$b][a.Za],c.wa[c.Y+c.ja].La|=!f),l.Ka)return Ze(e,7,"Premature end-of-file encountered.")}if(Xe(e),c=n,l=1,a=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(a.M=s.M,a.uc=u,Pn(s,a),l=1,a=(_=s.D).Nb,u=(y=Mo[s.L])*s.R,d=y/2*s.B,b=16*a*s.R,E=8*a*s.B,f=s.sa,h=s.ta-u+b,p=s.qa,A=s.ra-d+E,m=s.Ha,g=s.Ia-d+E,S=0==(j=_.M),v=j>=s.Va-1,2==s.Aa&&Pn(s,_),_.uc)for(O=(C=s).D.M,t(C.D.uc),_=C.yb;_<C.Hb;++_){x=_,B=O;var N=(F=(R=C).D).Nb;w=R.R;var F=F.wa[F.Y+x],I=R.sa,P=R.ta+16*N*w+16*x,L=F.dd,T=F.tc;if(0!=T)if(t(3<=T),1==R.L)0<x&&br(I,P,w,T+4),F.La&&_r(I,P,w,T),0<B&&yr(I,P,w,T+4),F.La&&wr(I,P,w,T);else{var D=R.B,Q=R.qa,U=R.ra+8*N*D+8*x,M=R.Ha,R=R.Ia+8*N*D+8*x;N=F.ld,0<x&&(dr(I,P,w,T+4,L,N),hr(Q,U,M,R,D,T+4,L,N)),F.La&&(mr(I,P,w,T,L,N),vr(Q,U,M,R,D,T,L,N)),0<B&&(Ar(I,P,w,T+4,L,N),fr(Q,U,M,R,D,T+4,L,N)),F.La&&(pr(I,P,w,T,L,N),gr(Q,U,M,R,D,T,L,N))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(_=16*j,j=16*(j+1),S?(c.y=s.sa,c.O=s.ta+b,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(_-=y,c.y=f,c.O=h,c.f=p,c.N=A,c.ea=m,c.W=g),v||(j-=y),j>c.o&&(j=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&_<j&&(c.J=dn(s,c,_,j-_),c.F=s.mb,null==c.F&&0==c.F.length)){l=Ze(s,3,"Could not decode alpha data.");break e}_<c.j&&(y=c.j-_,_=c.j,t(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),_<j&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=_-c.j,c.U=c.va-c.v,c.T=j-_,l=c.put(c))}a+1!=s.Ic||v||(r(s.sa,s.ta-u,f,h+16*s.R,u),r(s.qa,s.ra-d,p,A+8*s.B,d),r(s.Ha,s.Ia-d,m,g+8*s.B,d))}if(!l)return Ze(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0}function et(e,t,n,r,o){o=e[t+n+32*r]+(o>>3),e[t+n+32*r]=-256&o?0>o?0:255:o}function tt(e,t,n,r,o,i){et(e,t,0,n,r+o),et(e,t,1,n,r+i),et(e,t,2,n,r-i),et(e,t,3,n,r-o)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var o,a=0,s=i(16);for(o=0;4>o;++o){var c=e[t+0]+e[t+8],l=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-nt(e[t+12]),A=nt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=c+A,s[a+1]=l+u,s[a+2]=l-u,s[a+3]=c-A,a+=4,t++}for(o=a=0;4>o;++o)c=(e=s[a+0]+4)+s[a+8],l=e-s[a+8],u=(35468*s[a+4]>>16)-nt(s[a+12]),et(n,r,0,0,c+(A=nt(s[a+4])+(35468*s[a+12]>>16))),et(n,r,1,0,l+u),et(n,r,2,0,l-u),et(n,r,3,0,c-A),a++,r+=32}function ot(e,t,n,r){var o=e[t+0]+4,i=35468*e[t+4]>>16,a=nt(e[t+4]),s=35468*e[t+1]>>16;tt(n,r,0,o+a,e=nt(e[t+1]),s),tt(n,r,1,o+i,e,s),tt(n,r,2,o-i,e,s),tt(n,r,3,o-a,e,s)}function it(e,t,n,r,o){rt(e,t,n,r),o&&rt(e,t+16,n,r+4)}function at(e,t,n,r){ar(e,t+0,n,r,1),ar(e,t+32,n,r+128,1)}function st(e,t,n,r){var o;for(e=e[t+0]+4,o=0;4>o;++o)for(t=0;4>t;++t)et(n,r,t,o,e)}function ct(e,t,n,r){e[t+0]&&lr(e,t+0,n,r),e[t+16]&&lr(e,t+16,n,r+4),e[t+32]&&lr(e,t+32,n,r+128),e[t+48]&&lr(e,t+48,n,r+128+4)}function lt(e,t,n,r){var o,a=i(16);for(o=0;4>o;++o){var s=e[t+0+o]+e[t+12+o],c=e[t+4+o]+e[t+8+o],l=e[t+4+o]-e[t+8+o],u=e[t+0+o]-e[t+12+o];a[0+o]=s+c,a[8+o]=s-c,a[4+o]=u+l,a[12+o]=u-l}for(o=0;4>o;++o)s=(e=a[0+4*o]+3)+a[3+4*o],c=a[1+4*o]+a[2+4*o],l=a[1+4*o]-a[2+4*o],u=e-a[3+4*o],n[r+0]=s+c>>3,n[r+16]=u+l>>3,n[r+32]=s-c>>3,n[r+48]=u-l>>3,r+=64}function ut(e,t,n){var r,o=t-32,i=Pr,a=255-e[o-1];for(r=0;r<n;++r){var s,c=i,l=a+e[t-1];for(s=0;s<n;++s)e[t+s]=c[l+e[o+s]];t+=32}}function At(e,t){ut(e,t,4)}function dt(e,t){ut(e,t,8)}function ft(e,t){ut(e,t,16)}function ht(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function pt(e,t){var n;for(n=16;0<n;--n)o(e,t,e[t-1],16),t+=32}function mt(e,t,n){var r;for(r=0;16>r;++r)o(t,n+32*r,e,16)}function gt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];mt(r>>5,e,t)}function vt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];mt(r>>4,e,t)}function yt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];mt(r>>4,e,t)}function bt(e,t){mt(128,e,t)}function wt(e,t,n){return e+2*t+n+2>>2}function _t(e,t){var n,o=t-32;for(o=new Uint8Array([wt(e[o-1],e[o+0],e[o+1]),wt(e[o+0],e[o+1],e[o+2]),wt(e[o+1],e[o+2],e[o+3]),wt(e[o+2],e[o+3],e[o+4])]),n=0;4>n;++n)r(e,t+32*n,o,0,o.length)}function xt(e,t){var n=e[t-1],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];S(e,t+0,16843009*wt(e[t-1-32],n,r)),S(e,t+32,16843009*wt(n,r,o)),S(e,t+64,16843009*wt(r,o,i)),S(e,t+96,16843009*wt(o,i,i))}function Bt(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)o(e,t+32*n,r,4)}function Ct(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+96]=wt(r,o,e[t-1+96]),e[t+1+96]=e[t+0+64]=wt(n,r,o),e[t+2+96]=e[t+1+64]=e[t+0+32]=wt(i,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=wt(a,i,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=wt(s,a,i),e[t+3+32]=e[t+2+0]=wt(c,s,a),e[t+3+0]=wt(l,c,s)}function Et(e,t){var n=e[t+1-32],r=e[t+2-32],o=e[t+3-32],i=e[t+4-32],a=e[t+5-32],s=e[t+6-32],c=e[t+7-32];e[t+0+0]=wt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=wt(n,r,o),e[t+2+0]=e[t+1+32]=e[t+0+64]=wt(r,o,i),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=wt(o,i,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=wt(i,a,s),e[t+3+64]=e[t+2+96]=wt(a,s,c),e[t+3+96]=wt(s,c,c)}function jt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+0]=e[t+1+64]=i+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+c+1>>1,e[t+3+0]=c+l+1>>1,e[t+0+96]=wt(o,r,n),e[t+0+64]=wt(r,n,i),e[t+0+32]=e[t+1+96]=wt(n,i,a),e[t+1+32]=e[t+2+96]=wt(i,a,s),e[t+2+32]=e[t+3+96]=wt(a,s,c),e[t+3+32]=wt(s,c,l)}function kt(e,t){var n=e[t+0-32],r=e[t+1-32],o=e[t+2-32],i=e[t+3-32],a=e[t+4-32],s=e[t+5-32],c=e[t+6-32],l=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+o+1>>1,e[t+2+0]=e[t+1+64]=o+i+1>>1,e[t+3+0]=e[t+2+64]=i+a+1>>1,e[t+0+32]=wt(n,r,o),e[t+1+32]=e[t+0+96]=wt(r,o,i),e[t+2+32]=e[t+1+96]=wt(o,i,a),e[t+3+32]=e[t+2+96]=wt(i,a,s),e[t+3+64]=wt(a,s,c),e[t+3+96]=wt(s,c,l)}function St(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+o+1>>1,e[t+2+32]=e[t+0+64]=o+i+1>>1,e[t+1+0]=wt(n,r,o),e[t+3+0]=e[t+1+32]=wt(r,o,i),e[t+3+32]=e[t+1+64]=wt(o,i,i),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=i}function Ot(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96],a=e[t-1-32],s=e[t+0-32],c=e[t+1-32],l=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=o+r+1>>1,e[t+0+96]=i+o+1>>1,e[t+3+0]=wt(s,c,l),e[t+2+0]=wt(a,s,c),e[t+1+0]=e[t+3+32]=wt(n,a,s),e[t+1+32]=e[t+3+64]=wt(r,n,a),e[t+1+64]=e[t+3+96]=wt(o,r,n),e[t+1+96]=wt(i,o,r)}function Nt(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Ft(e,t){var n;for(n=0;8>n;++n)o(e,t,e[t-1],8),t+=32}function It(e,t,n){var r;for(r=0;8>r;++r)o(t,n+32*r,e,8)}function Pt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];It(r>>4,e,t)}function Lt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];It(r>>3,e,t)}function Tt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];It(r>>3,e,t)}function Dt(e,t){It(128,e,t)}function Qt(e,t,n){var r=e[t-n],o=e[t+0],i=3*(o-r)+Fr[1020+e[t-2*n]-e[t+n]],a=Ir[112+(i+4>>3)];e[t-n]=Pr[255+r+Ir[112+(i+3>>3)]],e[t+0]=Pr[255+o-a]}function Ut(e,t,n,r){var o=e[t+0],i=e[t+n];return Lr[255+e[t-2*n]-e[t-n]]>r||Lr[255+i-o]>r}function Mt(e,t,n,r){return 4*Lr[255+e[t-n]-e[t+0]]+Lr[255+e[t-2*n]-e[t+n]]<=r}function Rt(e,t,n,r,o){var i=e[t-3*n],a=e[t-2*n],s=e[t-n],c=e[t+0],l=e[t+n],u=e[t+2*n],A=e[t+3*n];return 4*Lr[255+s-c]+Lr[255+a-l]>r?0:Lr[255+e[t-4*n]-i]<=o&&Lr[255+i-a]<=o&&Lr[255+a-s]<=o&&Lr[255+A-u]<=o&&Lr[255+u-l]<=o&&Lr[255+l-c]<=o}function $t(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)Mt(e,t+r,n,o)&&Qt(e,t+r,n)}function Ht(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)Mt(e,t+r*n,1,o)&&Qt(e,t+r*n,1)}function qt(e,t,n,r){var o;for(o=3;0<o;--o)$t(e,t+=4*n,n,r)}function Kt(e,t,n,r){var o;for(o=3;0<o;--o)Ht(e,t+=4,n,r)}function Vt(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Rt(e,t,n,i,a))if(Ut(e,t,n,s))Qt(e,t,n);else{var c=e,l=t,u=n,A=c[l-2*u],d=c[l-u],f=c[l+0],h=c[l+u],p=c[l+2*u],m=27*(v=Fr[1020+3*(f-d)+Fr[1020+A-h]])+63>>7,g=18*v+63>>7,v=9*v+63>>7;c[l-3*u]=Pr[255+c[l-3*u]+v],c[l-2*u]=Pr[255+A+g],c[l-u]=Pr[255+d+m],c[l+0]=Pr[255+f-m],c[l+u]=Pr[255+h-g],c[l+2*u]=Pr[255+p-v]}t+=r}}function zt(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Rt(e,t,n,i,a))if(Ut(e,t,n,s))Qt(e,t,n);else{var c=e,l=t,u=n,A=c[l-u],d=c[l+0],f=c[l+u],h=Ir[112+(4+(p=3*(d-A))>>3)],p=Ir[112+(p+3>>3)],m=h+1>>1;c[l-2*u]=Pr[255+c[l-2*u]+m],c[l-u]=Pr[255+A+p],c[l+0]=Pr[255+d-h],c[l+u]=Pr[255+f-m]}t+=r}}function Zt(e,t,n,r,o,i){Vt(e,t,n,1,16,r,o,i)}function Gt(e,t,n,r,o,i){Vt(e,t,1,n,16,r,o,i)}function Wt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)zt(e,t+=4*n,n,1,16,r,o,i)}function Yt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)zt(e,t+=4,1,n,16,r,o,i)}function Xt(e,t,n,r,o,i,a,s){Vt(e,t,o,1,8,i,a,s),Vt(n,r,o,1,8,i,a,s)}function Jt(e,t,n,r,o,i,a,s){Vt(e,t,1,o,8,i,a,s),Vt(n,r,1,o,8,i,a,s)}function en(e,t,n,r,o,i,a,s){zt(e,t+4*o,o,1,8,i,a,s),zt(n,r+4*o,o,1,8,i,a,s)}function tn(e,t,n,r,o,i,a,s){zt(e,t+4,1,o,8,i,a,s),zt(n,r+4,1,o,8,i,a,s)}function nn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function an(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new A}function sn(){this.xb=this.a=0,this.l=new Ve,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new w,this.Pb=0,this.wd=new w,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new an,this.ab=0,this.gc=a(4,on),this.Oc=0}function cn(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ve,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ln(e,t,n,r,o,i,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)o[i+t]=e+n[r+t]&255,e=o[i+t]}function un(e,t,n,r,o,i,a){var s;if(null==e)ln(null,null,n,r,o,i,a);else for(s=0;s<a;++s)o[i+s]=e[t+s]+n[r+s]&255}function An(e,t,n,r,o,i,a){if(null==e)ln(null,null,n,r,o,i,a);else{var s,c=e[t+0],l=c,u=c;for(s=0;s<a;++s)l=u+(c=e[t+s])-l,u=n[r+s]+(-256&l?0>l?0:255:l)&255,l=c,o[i+s]=u}}function dn(e,n,o,a){var s=n.width,c=n.o;if(t(null!=e&&null!=n),0>o||0>=a||o+a>c)return null;if(!e.Cc){if(null==e.ga){var l;if(e.ga=new cn,(l=null==e.ga)||(l=n.width*n.o,t(0==e.Gb.length),e.Gb=i(l),e.Uc=0,null==e.Gb?l=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,l=1),l=!l),!l){l=e.ga;var u=e.Fa,A=e.P,d=e.qc,f=e.mb,h=e.nb,p=A+1,m=d-1,v=l.l;if(t(null!=u&&null!=f&&null!=n),go[0]=null,go[1]=ln,go[2]=un,go[3]=An,l.ca=f,l.tb=h,l.c=n.width,l.i=n.height,t(0<l.c&&0<l.i),1>=d)n=0;else if(l.$a=u[A+0]>>0&3,l.Z=u[A+0]>>2&3,l.Lc=u[A+0]>>4&3,A=u[A+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||A)n=0;else if(v.put=fe,v.ac=de,v.bc=he,v.ma=l,v.width=n.width,v.height=n.height,v.Da=n.Da,v.v=n.v,v.va=n.va,v.j=n.j,v.o=n.o,l.$a)e:{t(1==l.$a),n=ke();t:for(;;){if(null==n){n=0;break e}if(t(null!=l),l.mc=n,n.c=l.c,n.i=l.i,n.l=l.l,n.l.ma=l,n.l.width=l.c,n.l.height=l.i,n.a=0,g(n.m,u,p,m),!Se(l.c,l.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&xe(n.s)?(l.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=i(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(l.ic=0,n=Oe(n,l.c)),!n)break t;n=1;break e}l.mc=null,n=0}else n=m>=l.c*l.i;l=!n}if(l)return null;1!=e.ga.Lc?e.Ga=0:a=c-o}t(null!=e.ga),t(o+a<=c);e:{if(n=(u=e.ga).c,c=u.l.o,0==u.$a){if(p=e.rc,m=e.Vc,v=e.Fa,A=e.P+1+o*n,d=e.mb,f=e.nb+o*n,t(A<=e.P+e.qc),0!=u.Z)for(t(null!=go[u.Z]),l=0;l<a;++l)go[u.Z](p,m,v,A,d,f,n),p=d,m=f,f+=n,A+=n;else for(l=0;l<a;++l)r(d,f,v,A,n),p=d,m=f,f+=n,A+=n;e.rc=p,e.Vc=m}else{if(t(null!=u.mc),n=o+a,t(null!=(l=u.mc)),t(n<=l.i),l.C>=n)n=1;else if(u.ic||gn(),u.ic){u=l.V,p=l.Ba,m=l.c;var y=l.i,b=(v=1,A=l.$/m,d=l.$%m,f=l.m,h=l.s,l.$),w=m*y,_=m*n,B=h.wc,E=b<_?be(h,d,A):null;t(b<=w),t(n<=y),t(xe(h));t:for(;;){for(;!f.h&&b<_;){if(d&B||(E=be(h,d,A)),t(null!=E),C(f),256>(y=ve(E.G[0],E.H[0],f)))u[p+b]=y,++b,++d>=m&&(d=0,++A<=n&&!(A%16)&&Ce(l,A));else{if(!(280>y)){v=0;break t}y=me(y-256,f);var j,k=ve(E.G[4],E.H[4],f);if(C(f),!(b>=(k=ge(m,k=me(k,f)))&&w-b>=y)){v=0;break t}for(j=0;j<y;++j)u[p+b+j]=u[p+b+j-k];for(b+=y,d+=y;d>=m;)d-=m,++A<=n&&!(A%16)&&Ce(l,A);b<_&&d&B&&(E=be(h,d,A))}t(f.h==x(f))}Ce(l,A>n?n:A);break t}!v||f.h&&b<w?(v=0,l.a=f.h?5:3):l.$=b,n=v}else n=Ee(l,l.V,l.Ba,l.c,l.i,n,Ne);if(!n){a=0;break e}}o+a>=c&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+o*s}function fn(e,t,n,r,o,i){for(;0<o--;){var a,s=e,c=t+(n?1:0),l=e,u=t+(n?0:3);for(a=0;a<r;++a){var A=l[u+4*a];255!=A&&(A*=32897,s[c+4*a+0]=s[c+4*a+0]*A>>23,s[c+4*a+1]=s[c+4*a+1]*A>>23,s[c+4*a+2]=s[c+4*a+2]*A>>23)}t+=i}}function hn(e,t,n,r,o){for(;0<r--;){var i;for(i=0;i<n;++i){var a=e[t+2*i+0],s=15&(l=e[t+2*i+1]),c=4369*s,l=(240&l|l>>4)*c>>16;e[t+2*i+0]=(240&a|a>>4)*c>>16&240|(15&a|a<<4)*c>>16>>4&15,e[t+2*i+1]=240&l|s}t+=o}}function pn(e,t,n,r,o,i,a,s){var c,l,u=255;for(l=0;l<o;++l){for(c=0;c<r;++c){var A=e[t+c];i[a+4*c]=A,u&=A}t+=n,a+=s}return 255!=u}function mn(e,t,n,r,o){var i;for(i=0;i<o;++i)n[r+i]=e[t+i]>>8}function gn(){xr=fn,Br=hn,Cr=pn,Er=mn}function vn(n,r,o){e[n]=function(e,n,i,a,s,c,l,u,A,d,f,h,p,m,g,v,y){var b,w=y-1>>1,_=s[c+0]|l[u+0]<<16,x=A[d+0]|f[h+0]<<16;t(null!=e);var B=3*_+x+131074>>2;for(r(e[n+0],255&B,B>>16,p,m),null!=i&&(B=3*x+_+131074>>2,r(i[a+0],255&B,B>>16,g,v)),b=1;b<=w;++b){var C=s[c+b]|l[u+b]<<16,E=A[d+b]|f[h+b]<<16,j=_+C+x+E+524296,k=j+2*(C+x)>>3;B=k+_>>1,_=(j=j+2*(_+E)>>3)+C>>1,r(e[n+2*b-1],255&B,B>>16,p,m+(2*b-1)*o),r(e[n+2*b-0],255&_,_>>16,p,m+(2*b-0)*o),null!=i&&(B=j+x>>1,_=k+E>>1,r(i[a+2*b-1],255&B,B>>16,g,v+(2*b-1)*o),r(i[a+2*b+0],255&_,_>>16,g,v+(2*b+0)*o)),_=C,x=E}1&y||(B=3*_+x+131074>>2,r(e[n+y-1],255&B,B>>16,p,m+(y-1)*o),null!=i&&(B=3*x+_+131074>>2,r(i[a+y-1],255&B,B>>16,g,v+(y-1)*o)))}}function yn(){vo[Tr]=yo,vo[Dr]=wo,vo[Qr]=bo,vo[Ur]=_o,vo[Mr]=xo,vo[Rr]=Bo,vo[$r]=Co,vo[Hr]=wo,vo[qr]=_o,vo[Kr]=xo,vo[Vr]=Bo}function bn(e){return e&~No?0>e?0:255:e>>Oo}function wn(e,t){return bn((19077*e>>8)+(26149*t>>8)-14234)}function _n(e,t,n){return bn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function xn(e,t){return bn((19077*e>>8)+(33050*t>>8)-17685)}function Bn(e,t,n,r,o){r[o+0]=wn(e,n),r[o+1]=_n(e,t,n),r[o+2]=xn(e,t)}function Cn(e,t,n,r,o){r[o+0]=xn(e,t),r[o+1]=_n(e,t,n),r[o+2]=wn(e,n)}function En(e,t,n,r,o){var i=_n(e,t,n);t=i<<3&224|xn(e,t)>>3,r[o+0]=248&wn(e,n)|i>>5,r[o+1]=t}function jn(e,t,n,r,o){var i=240&xn(e,t)|15;r[o+0]=240&wn(e,n)|_n(e,t,n)>>4,r[o+1]=i}function kn(e,t,n,r,o){r[o+0]=255,Bn(e,t,n,r,o+1)}function Sn(e,t,n,r,o){Cn(e,t,n,r,o),r[o+3]=255}function On(e,t,n,r,o){Bn(e,t,n,r,o),r[o+3]=255}function Ke(e,t){return 0>e?0:e>t?t:e}function Nn(t,n,r){e[t]=function(e,t,o,i,a,s,c,l,u){for(var A=l+(-2&u)*r;l!=A;)n(e[t+0],o[i+0],a[s+0],c,l),n(e[t+1],o[i+0],a[s+0],c,l+r),t+=2,++i,++s,l+=2*r;1&u&&n(e[t+0],o[i+0],a[s+0],c,l)}}function Fn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function In(e,t,n,r,o){switch(e>>>30){case 3:ar(t,n,r,o,0);break;case 2:sr(t,n,r,o);break;case 1:lr(t,n,r,o)}}function Pn(e,t){var n,i,a=t.M,s=t.Nb,c=e.oc,l=e.pc+40,u=e.oc,A=e.pc+584,d=e.oc,f=e.pc+600;for(n=0;16>n;++n)c[l+32*n-1]=129;for(n=0;8>n;++n)u[A+32*n-1]=129,d[f+32*n-1]=129;for(0<a?c[l-1-32]=u[A-1-32]=d[f-1-32]=129:(o(c,l-32-1,127,21),o(u,A-32-1,127,9),o(d,f-32-1,127,9)),i=0;i<e.za;++i){var h=t.ya[t.aa+i];if(0<i){for(n=-1;16>n;++n)r(c,l+32*n-4,c,l+32*n+12,4);for(n=-1;8>n;++n)r(u,A+32*n-4,u,A+32*n+4,4),r(d,f+32*n-4,d,f+32*n+4,4)}var p=e.Gd,m=e.Hd+i,g=h.ad,v=h.Hc;if(0<a&&(r(c,l-32,p[m].y,0,16),r(u,A-32,p[m].f,0,8),r(d,f-32,p[m].ea,0,8)),h.Za){var y=c,b=l-32+16;for(0<a&&(i>=e.za-1?o(y,b,p[m].y[15],4):r(y,b,p[m+1].y,0,4)),n=0;4>n;n++)y[b+128+n]=y[b+256+n]=y[b+384+n]=y[b+0+n];for(n=0;16>n;++n,v<<=2)y=c,b=l+Uo[n],fo[h.Ob[n]](y,b),In(v,g,16*+n,y,b)}else if(y=Fn(i,a,h.Ob[0]),Ao[y](c,l),0!=v)for(n=0;16>n;++n,v<<=2)In(v,g,16*+n,c,l+Uo[n]);for(n=h.Gc,y=Fn(i,a,h.Dd),ho[y](u,A),ho[y](d,f),v=g,y=u,b=A,255&(h=n>>0)&&(170&h?cr(v,256,y,b):ur(v,256,y,b)),h=d,v=f,255&(n>>=8)&&(170&n?cr(g,320,h,v):ur(g,320,h,v)),a<e.Ub-1&&(r(p[m].y,0,c,l+480,16),r(p[m].f,0,u,A+224,8),r(p[m].ea,0,d,f+224,8)),n=8*s*e.B,p=e.sa,m=e.ta+16*i+16*s*e.R,g=e.qa,h=e.ra+8*i+n,v=e.Ha,y=e.Ia+8*i+n,n=0;16>n;++n)r(p,m+n*e.R,c,l+32*n,16);for(n=0;8>n;++n)r(g,h+n*e.B,u,A+32*n,8),r(v,y+n*e.B,d,f+32*n,8)}}function Ln(e,r,o,i,a,s,c,l,u){var A=[0],d=[0],f=0,h=null!=u?u.kd:0,p=null!=u?u:new rn;if(null==e||12>o)return 7;p.data=e,p.w=r,p.ha=o,r=[r],o=[o],p.gb=[p.gb];e:{var m=r,v=o,y=p.gb;if(t(null!=e),t(null!=v),t(null!=y),y[0]=0,12<=v[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){y=3;break e}var b=F(e,m[0]+4);if(12>b||4294967286<b){y=3;break e}if(h&&b>v[0]-8){y=7;break e}y[0]=b,m[0]+=12,v[0]-=12}y=0}if(0!=y)return y;for(b=0<p.gb[0],o=o[0];;){e:{var _=e;v=r,y=o;var x=A,B=d,C=m=[0];if((k=f=[f])[0]=0,8>y[0])y=7;else{if(!n(_,v[0],"VP8X")){if(10!=F(_,v[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var E=F(_,v[0]+8),j=1+N(_,v[0]+12);if(2147483648<=j*(_=1+N(_,v[0]+15))){y=3;break e}null!=C&&(C[0]=E),null!=x&&(x[0]=j),null!=B&&(B[0]=_),v[0]+=18,y[0]-=18,k[0]=1}y=0}}if(f=f[0],m=m[0],0!=y)return y;if(v=!!(2&m),!b&&f)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=c&&(c[0]=v),null!=l&&(l[0]=0),c=A[0],m=d[0],f&&v&&null==u){y=0;break}if(4>o){y=7;break}if(b&&f||!b&&!f&&!n(e,r[0],"ALPH")){o=[o],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];e:{E=e,y=r,b=o;var k=p.gb;x=p.na,B=p.P,C=p.Sa,j=22,t(null!=E),t(null!=b),_=y[0];var S=b[0];for(t(null!=x),t(null!=C),x[0]=null,B[0]=null,C[0]=0;;){if(y[0]=_,b[0]=S,8>S){y=7;break e}var O=F(E,_+4);if(4294967286<O){y=3;break e}var I=8+O+1&-2;if(j+=I,0<k&&j>k){y=3;break e}if(!n(E,_,"VP8 ")||!n(E,_,"VP8L")){y=0;break e}if(S[0]<I){y=7;break e}n(E,_,"ALPH")||(x[0]=E,B[0]=_+8,C[0]=O),_+=I,S-=I}}if(o=o[0],p.na=p.na[0],p.P=p.P[0],p.Sa=p.Sa[0],0!=y)break}o=[o],p.Ja=[p.Ja],p.xa=[p.xa];e:if(k=e,y=r,b=o,x=p.gb[0],B=p.Ja,C=p.xa,E=y[0],_=!n(k,E,"VP8 "),j=!n(k,E,"VP8L"),t(null!=k),t(null!=b),t(null!=B),t(null!=C),8>b[0])y=7;else{if(_||j){if(k=F(k,E+4),12<=x&&k>x-12){y=3;break e}if(h&&k>b[0]-8){y=7;break e}B[0]=k,y[0]+=8,b[0]-=8,C[0]=j}else C[0]=5<=b[0]&&47==k[E+0]&&!(k[E+4]>>5),B[0]=b[0];y=0}if(o=o[0],p.Ja=p.Ja[0],p.xa=p.xa[0],r=r[0],0!=y)break;if(4294967286<p.Ja)return 3;if(null==l||v||(l[0]=p.xa?2:1),c=[c],m=[m],p.xa){if(5>o){y=7;break}l=c,h=m,v=s,null==e||5>o?e=0:5<=o&&47==e[r+0]&&!(e[r+4]>>5)?(b=[0],k=[0],x=[0],g(B=new w,e,r,o),pe(B,b,k,x)?(null!=l&&(l[0]=b[0]),null!=h&&(h[0]=k[0]),null!=v&&(v[0]=x[0]),e=1):e=0):e=0}else{if(10>o){y=7;break}l=m,null==e||10>o||!Ge(e,r+3,o-3)?e=0:(h=e[r+0]|e[r+1]<<8|e[r+2]<<16,v=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&h||3<(h>>1&7)||!(h>>4&1)||h>>5>=p.Ja||!v||!e?e=0:(c&&(c[0]=v),l&&(l[0]=e),e=1))}if(!e)return 3;if(c=c[0],m=m[0],f&&(A[0]!=c||d[0]!=m))return 3;null!=u&&(u[0]=p,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-o));break}return 0==y||7==y&&f&&null==u?(null!=s&&(s[0]|=null!=p.na&&0<p.na.length),null!=i&&(i[0]=c),null!=a&&(a[0]=m),0):y}function Tn(e,t,n){var r=t.width,o=t.height,i=0,a=0,s=r,c=o;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,c=e.bd,i=e.v,a=e.j,11>n||(i&=-2,a&=-2),0>i||0>a||0>=s||0>=c||i+s>r||a+c>o))return 0;if(t.v=i,t.j=a,t.va=i+s,t.o=a+c,t.U=s,t.T=c,t.da=null!=e&&0<e.da,t.da){if(!T(s,c,n=[e.ib],i=[e.hb]))return 0;t.ib=n[0],t.hb=i[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*o/4,t.Kb=0),1}function Dn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Qn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var o=n.cd,a=n.bd,s=-2&n.v,c=-2&n.j;if(0>s||0>c||0>=o||0>=a||s+o>e||c+a>t)return 2;e=o,t=a}if(n.da){if(!T(e,t,o=[n.ib],a=[n.hb]))return 2;e=o[0],t=a[0]}}r.width=e,r.height=t;e:{var l=r.width,u=r.height;if(e=r.S,0>=l||0>=u||!(e>=Tr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=o=t=0;var A=(c=l*Ho[e])*u;if(11>e||(a=(u+1)/2*(t=(l+1)/2),12==e&&(s=(o=l)*u)),null==(u=i(A+2*a+s))){e=1;break e}r.sd=u,11>e?((l=r.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=A):((l=r.f.kb).y=u,l.O=0,l.fa=c,l.Fd=A,l.f=u,l.N=0+A,l.Ab=t,l.Cd=a,l.ea=u,l.W=0+A+a,l.Db=t,l.Ed=a,12==e&&(l.F=u,l.J=0+A+2*a),l.Tc=s,l.lb=o)}if(t=1,o=r.S,a=r.width,s=r.height,o>=Tr&&13>o)if(11>o)e=r.f.RGBA,t&=(c=Math.abs(e.A))*(s-1)+a<=e.size,t&=c>=a*Ho[o],t&=null!=e.eb;else{e=r.f.kb,c=(a+1)/2,A=(s+1)/2,l=Math.abs(e.fa),u=Math.abs(e.Ab);var d=Math.abs(e.Db),f=Math.abs(e.lb),h=f*(s-1)+a;t&=l*(s-1)+a<=e.Fd,t&=u*(A-1)+c<=e.Cd,t=(t&=d*(A-1)+c<=e.Ed)&l>=a&u>=c&d>=c,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==o&&(t&=f>=a,t&=h<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Dn(r)),e}var Un=64,Mn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Rn=24,$n=32,Hn=8,qn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];U("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return R(R(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return R(e,t[n-1])},e.Predictor7=function(e,t,n){return R(e,t[n+0])},e.Predictor8=function(e,t,n){return R(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return R(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return R(R(e,t[n-1]),R(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=q(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+q(r>>16&255,e>>16&255,t>>16&255)+q(r>>8&255,e>>8&255,t>>8&255)+q(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return($((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|$((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|$((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|$((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(H((e=R(e,t[n+0]))>>24&255,r>>24&255)<<24|H(e>>16&255,r>>16&255)<<16|H(e>>8&255,r>>8&255)<<8|H(e>>0&255,r>>0&255))>>>0};var Kn=e.PredictorAdd0;e.PredictorAdd1=K,U("Predictor2","PredictorAdd2"),U("Predictor3","PredictorAdd3"),U("Predictor4","PredictorAdd4"),U("Predictor5","PredictorAdd5"),U("Predictor6","PredictorAdd6"),U("Predictor7","PredictorAdd7"),U("Predictor8","PredictorAdd8"),U("Predictor9","PredictorAdd9"),U("Predictor10","PredictorAdd10"),U("Predictor11","PredictorAdd11"),U("Predictor12","PredictorAdd12"),U("Predictor13","PredictorAdd13");var Vn=e.PredictorAdd2;G("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),G("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var zn,Zn=e.ColorIndexInverseTransform,Gn=e.MapARGB,Wn=e.VP8LColorIndexInverseTransformAlpha,Yn=e.MapAlpha,Xn=e.VP8LPredictorsAdd=[];Xn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jn,er,tr,nr,rr,or,ir,ar,sr,cr,lr,ur,Ar,dr,fr,hr,pr,mr,gr,vr,yr,br,wr,_r,xr,Br,Cr,Er,jr=i(511),kr=i(2041),Sr=i(225),Or=i(767),Nr=0,Fr=kr,Ir=Sr,Pr=Or,Lr=jr,Tr=0,Dr=1,Qr=2,Ur=3,Mr=4,Rr=5,$r=6,Hr=7,qr=8,Kr=9,Vr=10,zr=[2,3,7],Zr=[3,3,11],Gr=[280,256,256,256,40],Wr=[0,1,1,1,0],Yr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Jr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],eo=8,to=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],no=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ro=null,oo=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],io=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ao=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],so=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],co=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],lo=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uo=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],fo=[],ho=[],po=1,mo=2,go=[],vo=[];vn("UpsampleRgbLinePair",Bn,3),vn("UpsampleBgrLinePair",Cn,3),vn("UpsampleRgbaLinePair",On,4),vn("UpsampleBgraLinePair",Sn,4),vn("UpsampleArgbLinePair",kn,4),vn("UpsampleRgba4444LinePair",jn,2),vn("UpsampleRgb565LinePair",En,2);var yo=e.UpsampleRgbLinePair,bo=e.UpsampleBgrLinePair,wo=e.UpsampleRgbaLinePair,_o=e.UpsampleBgraLinePair,xo=e.UpsampleArgbLinePair,Bo=e.UpsampleRgba4444LinePair,Co=e.UpsampleRgb565LinePair,Eo=16,jo=1<<Eo-1,ko=-227,So=482,Oo=6,No=(256<<Oo)-1,Fo=0,Io=i(256),Po=i(256),Lo=i(256),To=i(256),Do=i(So-ko),Qo=i(So-ko);Nn("YuvToRgbRow",Bn,3),Nn("YuvToBgrRow",Cn,3),Nn("YuvToRgbaRow",On,4),Nn("YuvToBgraRow",Sn,4),Nn("YuvToArgbRow",kn,4),Nn("YuvToRgba4444Row",jn,2),Nn("YuvToRgb565Row",En,2);var Uo=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Mo=[0,2,8],Ro=[8,7,6,4,4,2,2,2,1,1,1,1],$o=1;this.WebPDecodeRGBA=function(e,n,r,o,i){var a=Dr,s=new nn,c=new ae;s.ba=c,c.S=a,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,A=new se;if(null==A||null==e)var d=2;else t(null!=A),d=Ln(e,n,r,A.width,A.height,A.Pd,A.Qd,A.format,null);if(0!=d?l=0:(null!=l&&(l[0]=A.width[0]),null!=u&&(u[0]=A.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=o&&(o[0]=c.width),null!=i&&(i[0]=c.height);e:{if(o=new Ve,(i=new rn).data=e,i.w=n,i.ha=r,i.kd=1,n=[0],t(null!=i),(0==(e=Ln(i.data,i.w,i.ha,null,null,null,n,null,i))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=s),o.data=i.data,o.w=i.w+i.offset,o.ha=i.ha-i.offset,o.put=fe,o.ac=de,o.bc=he,o.ma=s,i.xa){if(null==(e=ke())){s=1;break e}if(function(e,n){var r=[0],o=[0],i=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,g(e.m,n.data,n.w,n.ha),!pe(e.m,r,o,i)){e.a=3;break t}if(e.xb=mo,n.width=r[0],n.height=o[0],!Se(r[0],o[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,o)){if(o=0==(n=Qn(o.width,o.height,s.Oa,s.ba))){t:{o=e;n:for(;;){if(null==o){o=0;break t}if(t(null!=o.s.yc),t(null!=o.s.Ya),t(0<o.s.Wb),t(null!=(r=o.l)),t(null!=(i=r.ma)),0!=o.xb){if(o.ca=i.ba,o.tb=i.tb,t(null!=o.ca),!Tn(i.Oa,r,Ur)){o.a=2;break n}if(!Oe(o,r.width))break n;if(r.da)break n;if((r.da||re(o.ca.S))&&gn(),11>o.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=o.ca.f.kb.F&&gn()),o.Pb&&0<o.s.ua&&null==o.s.vb.X&&!I(o.s.vb,o.s.Wa.Xa)){o.a=1;break n}o.xb=0}if(!Ee(o,o.V,o.Ba,o.c,o.i,r.o,_e))break n;i.Dc=o.Ma,o=1;break t}t(0!=o.a),o=0}o=!o}o&&(n=e.a)}else n=e.a}else{if(null==(e=new ze)){s=1;break e}if(e.Fa=i.na,e.P=i.P,e.qc=i.Sa,We(e,o)){if(0==(n=Qn(o.width,o.height,s.Oa,s.ba))){if(e.Aa=0,r=s.Oa,t(null!=(i=e)),null!=r){if(0<(l=0>(l=r.Md)?0:100<l?255:255*l/100)){for(u=A=0;4>u;++u)12>(d=i.pb[u]).lc&&(d.ia=l*Ro[0>d.lc?0:d.lc]>>3),A|=d.ia;A&&(alert("todo:VP8InitRandom"),i.ia=1)}i.Ga=r.Id,100<i.Ga?i.Ga=100:0>i.Ga&&(i.Ga=0)}Je(e,o)||(n=e.a)}}else n=e.a}0==n&&null!=s.Oa&&s.Oa.fd&&(n=Dn(s.ba))}s=n}a=0!=s?null:11>a?c.f.RGBA.eb:c.f.kb.y}else a=null;return a};var Ho=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function A(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new c;var d=[0],f=[0],h=[],p=new c,m=e,g=function(e,t){var n={},r=0,o=!1,i=0,a=0;if(n.frames=[],!function(e,t,n,r){for(var o=0;o<4;o++)if(e[t+o]!="RIFF".charCodeAt(o))return!0;return!1}(e,t)){var s,c;for(A(e,t+=4),t+=8;t<e.length;){var d=l(e,t),f=A(e,t+=4);t+=4;var h=f+(1&f);switch(d){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(g=n.frames[r]).src_off=o?a:t-8,g.src_size=i+f+8,r++,o&&(o=!1,i=0,a=0);break;case"VP8X":(g=n.header={}).feature_flags=e[t];var p=t+4;g.canvas_width=1+u(e,p),p+=3,g.canvas_height=1+u(e,p),p+=3;break;case"ALPH":o=!0,i=h+8,a=t-8;break;case"ANIM":(g=n.header).bgcolor=A(e,t),p=t+4,g.loop_count=(s=e)[(c=p)+0]<<0|s[c+1]<<8,p+=2;break;case"ANMF":var m,g;(g=n.frames[r]={}).offset_x=2*u(e,t),t+=3,g.offset_y=2*u(e,t),t+=3,g.width=1+u(e,t),t+=3,g.height=1+u(e,t),t+=3,g.duration=u(e,t),t+=3,m=e[t++],g.dispose=1&m,g.blend=m>>1&1}"ANMF"!=d&&(t+=h)}return n}}(m,0);g.response=m,g.rgbaoutput=!0,g.dataurl=!1;var v=g.header?g.header:null,y=g.frames?g.frames:null;if(v){v.loop_counter=v.loop_count,d=[v.canvas_height],f=[v.canvas_width];for(var b=0;b<y.length&&0!=y[b].blend;b++);}var w=y[0],_=p.WebPDecodeRGBA(m,w.src_off,w.src_size,f,d);w.rgba=_,w.imgwidth=f[0],w.imgheight=d[0];for(var x=0;x<f[0]*d[0]*4;x++)h[x]=_[x];return this.width=f,this.height=d,this.data=h,this}!function(e){var t=function(t,r,c,l){var u=4,A=i;switch(l){case e.image_compression.FAST:u=1,A=o;break;case e.image_compression.MEDIUM:u=6,A=a;break;case e.image_compression.SLOW:u=9,A=s}var d=Ix(t=n(t,r,c,A),{level:u});return e.__addimage__.arrayBufferToBinaryString(d)},n=function(e,t,n,r){for(var o,i,a,s=e.length/t,c=new Uint8Array(e.length+s),A=l(),d=0;d<s;d+=1){if(a=d*t,o=e.subarray(a,a+t),r)c.set(r(o,n,i),a+d);else{for(var f,h=A.length,p=[];f<h;f+=1)p[f]=A[f](o,n,i);var m=u(p.concat());c.set(p[m],a+d)}i=o}return c},r=function(e){var t=Array.apply([],e);return t.unshift(0),t},o=function(e,t){var n,r=[],o=e.length;r[0]=1;for(var i=0;i<o;i+=1)n=e[i-t]||0,r[i+1]=e[i]-n+256&255;return r},i=function(e,t,n){var r,o=[],i=e.length;o[0]=2;for(var a=0;a<i;a+=1)r=n&&n[a]||0,o[a+1]=e[a]-r+256&255;return o},a=function(e,t,n){var r,o,i=[],a=e.length;i[0]=3;for(var s=0;s<a;s+=1)r=e[s-t]||0,o=n&&n[s]||0,i[s+1]=e[s]+256-(r+o>>>1)&255;return i},s=function(e,t,n){var r,o,i,a,s=[],l=e.length;s[0]=4;for(var u=0;u<l;u+=1)r=e[u-t]||0,o=n&&n[u]||0,i=n&&n[u-t]||0,a=c(r,o,i),s[u+1]=e[u]-a+256&255;return s},c=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),o=Math.abs(e-n),i=Math.abs(e+t-n-n);return r<=o&&r<=i?e:o<=i?t:n},l=function(){return[r,o,i,a,s]},u=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,r,o,i){var a,s,c,l,u,A,d,f,h,p,m,g,v,y,b,w=this.decode.FLATE_DECODE,_="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(c=new EC(n)).imgData,s=c.bits,a=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){h=(f=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,m=new Uint8Array(h*c.colors),p=new Uint8Array(h);var x,B=c.pixelBitlength-c.bits;for(y=0,b=0;y<h;y++){for(v=f[y],x=0;x<B;)m[b++]=v>>>x&255,x+=c.bits;p[y]=v>>>x&255}}if(16===c.bits){h=(f=new Uint32Array(c.decodePixels().buffer)).length,m=new Uint8Array(h*(32/c.pixelBitlength)*c.colors),p=new Uint8Array(h*(32/c.pixelBitlength)),g=c.colors>1,y=0,b=0;for(var C=0;y<h;)v=f[y++],m[b++]=v>>>0&255,g&&(m[b++]=v>>>16&255,v=f[y++],m[b++]=v>>>0&255),p[C++]=v>>>16&255;s=8}i!==e.image_compression.NONE?(n=t(m,c.width*c.colors,c.colors,i),d=t(p,c.width,1,i)):(n=m,d=p,w=void 0)}if(3===c.colorType&&(a=this.color_spaces.INDEXED,A=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,j=0;for(y=0,h=E.length;y<h;++y)j+=E[y];if((j/=255)===h-1&&-1!==E.indexOf(0))l=[E.indexOf(0)];else if(j!==h){for(f=c.decodePixels(),p=new Uint8Array(f.length),y=0,h=f.length;y<h;y++)p[y]=E[f[y]];d=t(p,c.width,1)}}var k=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(i);return w===this.decode.FLATE_DECODE&&(_="/Predictor "+k+" "),_+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:o,data:n,index:r,filter:w,decodeParameters:_,transparency:l,palette:A,sMask:d,predictor:k,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:a}}}}(hB.API),function(e){e.processGIF89A=function(t,n,r,o){var i=new jC(t),a=i.width,s=i.height,c=[];i.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:a,height:s},u=new SC(100).encode(l,100);return e.processJPEG.call(this,u,n,r,o)},e.processGIF87A=e.processGIF89A}(hB.API),OC.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:o,green:r,blue:n,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},OC.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){Dx.log("bit decode error:"+e)}},OC.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,o=0;o<t;o++)for(var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*o*4,s=0;s<8&&8*o+s<this.width;s++){var c=this.palette[i>>7-s&1];this.data[a+4*s]=c.blue,this.data[a+4*s+1]=c.green,this.data[a+4*s+2]=c.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},OC.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<e;o++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*o*4,s=i>>4,c=15&i,l=this.palette[s];if(this.data[a]=l.blue,this.data[a+1]=l.green,this.data[a+2]=l.red,this.data[a+3]=255,2*o+1>=this.width)break;l=this.palette[c],this.data[a+4]=l.blue,this.data[a+4+1]=l.green,this.data[a+4+2]=l.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},OC.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+4*r;if(o<this.palette.length){var a=this.palette[o];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==e&&(this.pos+=4-e)}},OC.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&t)/t*255|0,s=(i>>5&t)/t*255|0,c=(i>>10&t)/t*255|0,l=i>>15?255:0,u=r*this.width*4+4*o;this.data[u]=c,this.data[u+1]=s,this.data[u+2]=a,this.data[u+3]=l}this.pos+=e}},OC.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var o=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,c=(a>>5&n)/n*255|0,l=(a>>11)/t*255|0,u=o*this.width*4+4*i;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},OC.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=i,this.data[a+1]=o,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},OC.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=i,this.data[s+1]=o,this.data[s+2]=r,this.data[s+3]=a}},OC.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,o){var i=new OC(t,!1),a=i.width,s=i.height,c={data:i.getData(),width:a,height:s},l=new SC(100).encode(c,100);return e.processJPEG.call(this,l,n,r,o)}}(hB.API),NC.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,o){var i=new NC(t,!1),a=i.width,s=i.height,c={data:i.getData(),width:a,height:s},l=new SC(100).encode(c,100);return e.processJPEG.call(this,l,n,r,o)}}(hB.API),hB.API.processRGBA=function(e,t,n){for(var r=e.data,o=r.length,i=new Uint8Array(o/4*3),a=new Uint8Array(o/4),s=0,c=0,l=0;l<o;l+=4){var u=r[l],A=r[l+1],d=r[l+2],f=r[l+3];i[s++]=u,i[s++]=A,i[s++]=d,a[c++]=f}var h=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},hB.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},wC=hB.API,_C=wC.getCharWidthsArray=function(e,t){var n,r,o=(t=t||{}).font||this.internal.getFont(),i=t.fontSize||this.internal.getFontSize(),a=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:o.metadata.Unicode.widths,c=s.fof?s.fof:1,l=t.kerning?t.kerning:o.metadata.Unicode.kerning,u=l.fof?l.fof:1,A=!1!==t.doKerning,d=0,f=e.length,h=0,p=s[0]||c,m=[];for(n=0;n<f;n++)r=e.charCodeAt(n),"function"==typeof o.metadata.widthOfString?m.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(r))+a*(1e3/i)||0)/1e3):(d=A&&"object"===(0,o_.Z)(l[r])&&!isNaN(parseInt(l[r][h],10))?l[r][h]/u:0,m.push((s[r]||p)/c+d)),h=r;return m},xC=wC.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),o=t.charSpace||this.internal.getCharSpace();return wC.processArabic&&(e=wC.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,o)/n:_C.apply(this,arguments).reduce((function(e,t){return e+t}),0)},BC=function(e,t,n,r){for(var o=[],i=0,a=e.length,s=0;i!==a&&s+t[i]<n;)s+=t[i],i++;o.push(e.slice(0,i));var c=i;for(s=0;i!==a;)s+t[i]>r&&(o.push(e.slice(c,i)),s=0,c=i),s+=t[i],i++;return c!==i&&o.push(e.slice(c,i)),o},CC=function(e,t,n){n||(n={});var r,o,i,a,s,c,l,u=[],A=[u],d=n.textIndent||0,f=0,h=0,p=e.split(" "),m=_C.apply(this,[" ",n])[0];if(c=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var g=Array(c).join(" "),v=[];p.map((function(e){(e=e.split(/\s*\n/)).length>1?v=v.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):v.push(e[0])})),p=v,c=xC.apply(this,[g,n])}for(i=0,a=p.length;i<a;i++){var y=0;if(r=p[i],c&&"\n"==r[0]&&(r=r.substr(1),y=1),d+f+(h=(o=_C.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||y){if(h>t){for(s=BC.apply(this,[r,o,t-(d+f),t]),u.push(s.shift()),u=[s.pop()];s.length;)A.push([s.shift()]);h=o.slice(r.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[r];A.push(u),d=h+c,f=m}else u.push(r),d+=f+h,f=m}return l=c?function(e,t){return(t?g:"")+e.join(" ")}:function(e){return e.join(" ")},A.map(l)},wC.splitTextToSize=function(e,t,n){var r,o=(n=n||{}).fontSize||this.internal.getFontSize(),i=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/o;i.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/o:0,i.lineIndent=n.lineIndent;var s,c,l=[];for(s=0,c=r.length;s<c;s++)l=l.concat(CC.apply(this,[r[s],a,i]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},o=0;o<t.length;o++)n[t[o]]="0123456789abcdef"[o],r["0123456789abcdef"[o]]=t[o];var i=function(e){return"0x"+parseInt(e,10).toString(16)},a=e.__fontmetrics__.compress=function(e){var t,n,o,s,c=["{"];for(var l in e){if(t=e[l],isNaN(parseInt(l,10))?n="'"+l+"'":(l=parseInt(l,10),n=(n=i(l).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof t)t<0?(o=i(t).slice(3),s="-"):(o=i(t).slice(2),s=""),o=s+o.slice(0,-1)+r[o.slice(-1)];else{if("object"!==(0,o_.Z)(t))throw new Error("Don't know what to do with value type "+(0,o_.Z)(t)+".");o=a(t)}c.push(n+o)}return c.push("}"),c.join("")},s=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,r,o,i,a={},s=1,c=a,l=[],u="",A="",d=e.length-1,f=1;f<d;f+=1)"'"==(i=e[f])?t?(o=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(l.push([c,o]),c={},o=void 0):"}"==i?((r=l.pop())[0][r[1]]=c,o=void 0,c=r[0]):"-"==i?s=-1:void 0===o?n.hasOwnProperty(i)?(u+=n[i],o=parseInt(u,16)*s,s=1,u=""):u+=i:n.hasOwnProperty(i)?(A+=n[i],c[o]=parseInt(A,16)*s,s=1,o=void 0,A=""):A+=i;return a},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=u.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=l.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(hB.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,o=n.font,i=n.instance;if(!o.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");if("string"!=typeof(r=!1===i.existsFileInVFS(o.postScriptName)?i.loadFile(o.postScriptName):i.getFileFromVFS(o.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(Rx(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(o,r)}}])}(hB),function(e){function t(){return(Lx.canvg?Promise.resolve(Lx.canvg):n.e(598).then(n.bind(n,5598))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}hB.API.addSvgAsImage=function(e,n,r,o,i,a,s,c){if(isNaN(n)||isNaN(r))throw Dx.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw Dx.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=o,l.height=i;var u=l.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,l.width,l.height);var A={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return t().then((function(t){return t.fromString(u,e,A)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(A)})).then((function(){d.addImage(l.toDataURL("image/jpeg",1),n,r,o,i,s,c)}))}}(),hB.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var o=0;o<this.internal.pages[r].length;o++)this.internal.pages[r][o]=this.internal.pages[r][o].replace(t,n);return this},hB.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,o,i,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(a),c=[],l=0,u=0,A=0;function d(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=s.length;for(A=0;A<f;A+=1)n[s[A]].value=n[s[A]].defaultValue,n[s[A]].explicitSet=!1}if("object"===(0,o_.Z)(e))for(o in e)if(i=e[o],d(s,o)&&void 0!==i){if("boolean"===n[o].type&&"boolean"==typeof i)n[o].value=i;else if("name"===n[o].type&&d(n[o].valueSet,i))n[o].value=i;else if("integer"===n[o].type&&Number.isInteger(i))n[o].value=i;else if("array"===n[o].type){for(l=0;l<i.length;l+=1)if(r=!0,1===i[l].length&&"number"==typeof i[l][0])c.push(String(i[l]-1));else if(i[l].length>1){for(u=0;u<i[l].length;u+=1)"number"!=typeof i[l][u]&&(r=!1);!0===r&&c.push([i[l][0]-1,i[l][1]-1].join(" "))}n[o].value="["+c.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+o.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+o+i),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(hB.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return i.join("");n=n.toString(16),i.push(o[4-n.length],n)}return i.join("")},r=function(e){var t,n,r,o,i,a,s;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;a<s;a++)t=n[a],r.length>=100&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(o=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+o+">"));return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,c=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var A=i();a({data:l,addLength1:!0,objectId:A}),o("endobj");var d=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),o("endobj");var f=i();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+cB(n.fontName)),o("/FontFile2 "+A+" 0 R"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/Flags "+n.metadata.flags),o("/StemV "+n.metadata.stemV),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o(">>"),o("endobj");var h=i();o("<<"),o("/Type /Font"),o("/BaseFont /"+cB(n.fontName)),o("/FontDescriptor "+f+" 0 R"),o("/W "+e.API.PDFObject.convert(s)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+n.encoding+")"),o(">>"),o(">>"),o("endobj"),n.objectNumber=i(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+d+" 0 R"),o("/BaseFont /"+cB(n.fontName)),o("/Encoding /"+n.encoding),o("/DescendantFonts ["+h+" 0 R]"),o(">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,c="",l=0;l<s.length;l++)c+=String.fromCharCode(s[l]);var u=i();a({data:c,addLength1:!0,objectId:u}),o("endobj");var A=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:A}),o("endobj");var d=i();o("<<"),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o("/StemV "+n.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+u+" 0 R"),o("/Flags 96"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/FontName /"+cB(n.fontName)),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o(">>"),o("endobj"),n.objectNumber=i();for(var f=0;f<n.metadata.hmtx.widths.length;f++)n.metadata.hmtx.widths[f]=parseInt(n.metadata.hmtx.widths[f]*(1e3/n.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+A+" 0 R/BaseFont/"+cB(n.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]);var o=function(e){var t,r=e.text||"",o=e.x,i=e.y,a=e.options||{},s=e.mutex||{},c=s.pdfEscape,l=s.activeFontKey,u=s.fonts,A=l,d="",f=0,h="",p=u[A].encoding;if("Identity-H"!==u[A].encoding)return{text:r,x:o,y:i,options:a,mutex:s};for(h=r,A=l,Array.isArray(r)&&(h=r[0]),f=0;f<h.length;f+=1)u[A].metadata.hasOwnProperty("cmap")&&(t=u[A].metadata.cmap.unicode.codeMap[h[f].charCodeAt(0)]),t||h[f].charCodeAt(0)<256&&u[A].metadata.hasOwnProperty("Unicode")?d+=h[f]:d+="";var m="";return parseInt(A.slice(1))<14||"WinAnsiEncoding"===p?m=c(d,A).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===p&&(m=n(d,u[A])),s.isHex=!0,{text:m,x:o,y:i,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?n.push([o(Object.assign({},r,{text:t[i][0]})).text,t[i][1],t[i][2]]):n.push(o(Object.assign({},r,{text:t[i]})).text);e.text=n}else e.text=o(Object.assign({},r,{text:t})).text}])}(hB),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(hB.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,o,i,a,s,c,l=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],A=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},f={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],p=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,g=0;this.__bidiEngine__={};var v=function(e){var t=e.charCodeAt(),n=t>>8,r=f[n];return void 0!==r?l[256*r+(255&t)]:252===n||253===n?"AL":p.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=v(e.charAt(n))))return!1;if("R"===t)return!0}return!1},b=function(e,t,a,s){var c,l,u,A,d=t[s];switch(d){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(d="AN");break;case"AL":m=!0,d="R";break;case"WS":case"BN":d="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(c=a[s-1])&&"AN"!==c||"EN"!==(l=t[s+1])&&"AN"!==l?d="N":m&&(l="AN"),d=l===c?l:"N";break;case"ES":d="EN"===(c=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){d="EN";break}if(m){d="N";break}for(u=s+1,A=t.length;u<A&&"ET"===t[u];)u++;d=u<A&&"EN"===t[u]?"EN":"N";break;case"NSM":if(o&&!i){for(A=t.length,u=s+1;u<A&&"NSM"===t[u];)u++;if(u<A){var f=e[s],h=f>=1425&&f<=2303||64286===f;if(c=t[u],h&&("R"===c||"AL"===c)){d="R";break}}}d=s<1||"B"===(c=t[s-1])?"N":a[s-1];break;case"B":m=!1,n=!0,d=g;break;case"S":r=!0,d="N"}return d},w=function(e,t,n){var r=e.split("");return n&&_(r,n,{hiLevel:g}),r.reverse(),t&&t.reverse(),r.join("")},_=function(e,t,o){var i,a,s,c,l,f=-1,h=e.length,p=0,y=[],w=g?A:u,_=[];for(m=!1,n=!1,r=!1,a=0;a<h;a++)_[a]=v(e[a]);for(s=0;s<h;s++){if(l=p,y[s]=b(e,_,y,s),i=240&(p=w[l][d[y[s]]]),p&=15,t[s]=c=w[p][5],i>0)if(16===i){for(a=f;a<s;a++)t[a]=1;f=-1}else f=-1;if(w[p][6])-1===f&&(f=s);else if(f>-1){for(a=f;a<s;a++)t[a]=c;f=-1}"B"===_[s]&&(t[s]=0),o.hiLevel|=c}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=g;for(var o=r-1;o>=0&&"WS"===e[o];o--)t[o]=g}}(_,t,h)},x=function(e,t,r,o,i){if(!(i.hiLevel<e)){if(1===e&&1===g&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,c,l,u=t.length,A=0;A<u;){if(o[A]>=e){for(c=A+1;c<u&&o[c]>=e;)c++;for(l=A,s=c-1;l<s;l++,s--)a=t[l],t[l]=t[s],t[s]=a,r&&(a=r[l],r[l]=r[s],r[s]=a);A=c}A++}}},B=function(e,t,n){var r=e.split(""),o={hiLevel:g};return n||(n=[]),_(r,n,o),function(e,t,n){if(0!==n.hiLevel&&c)for(var r,o=0;o<e.length;o++)1===t[o]&&(r=h.indexOf(e[o]))>=0&&(e[o]=h[r+1])}(r,n,o),x(2,r,t,n,o),x(1,r,t,n,o),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===i&&(i=y(e)),void 0===s&&(s=y(e))}(e,t),o||!a||s)if(o&&a&&i^s)g=i?1:0,e=w(e,t,n);else if(!o&&a&&s)g=i?1:0,e=B(e,t,n),e=w(e,t);else if(!o||i||a||s){if(o&&!a&&i^s)e=w(e,t),i?(g=0,e=B(e,t,n)):(g=1,e=B(e,t,n),e=w(e,t));else if(o&&i&&!a&&s)g=1,e=B(e,t,n),e=w(e,t);else if(!o&&!a&&i^s){var r=c;i?(g=1,e=B(e,t,n),g=0,c=!1,e=B(e,t,n),c=r):(g=0,e=B(e,t,n),e=w(e,t),g=1,c=!1,e=B(e,t,n),c=r,e=w(e,t))}}else g=0,e=B(e,t,n);else g=i?1:0,e=B(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(o=e.isInputVisual,a=e.isOutputVisual,i=e.isInputRtl,s=e.isOutputRtl,c=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),o=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(o=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?o.push([n.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):o.push([n.doBidiReorder(t[i])]);e.text=o}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(hB),hB.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new IC(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new XC(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new PC(this.contents),this.head=new DC(this),this.name=new qC(this),this.cmap=new UC(this),this.toUnicode={},this.hhea=new MC(this),this.maxp=new KC(this),this.hmtx=new VC(this),this.post=new $C(this),this.os2=new RC(this),this.loca=new YC(this),this.glyf=new ZC(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,o;for(o=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],o.push(Math.round(e*this.scaleFactor));return o}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(o=this.familyClass)||2===o||3===o||4===o||5===o||7===o,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,o,i,a;for(i=0,o=0,a=(e=""+e).length;0<=a?o<a:o>a;o=0<=a?++o:--o)r=e.charCodeAt(o),i+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return i*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var FC,IC=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,o,i,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),o=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^o)+65536*(255^i)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*o+65536*i+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;n<r;n++)t=e[n],o.push(this.writeByte(t));return o},e}(),PC=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,o,i,a,s,c,l,u,A,d,f,h;for(h in d=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(d)/s),i=Math.floor(u/s),l=16*d-u,(r=new IC).writeInt(this.scalarType),r.writeShort(d),r.writeShort(u),r.writeShort(i),r.writeShort(l),o=16*d,c=r.pos+o,a=null,f=[],t)for(A=t[h],r.writeString(h),r.writeInt(e(A)),r.writeInt(c),r.writeInt(A.length),f=f.concat(A),"head"===h&&(a=c),c+=A.length;c%4;)f.push(0),c++;return r.write(f),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,o;for(e=zC.call(e);e.length%4;)e.push(0);for(r=new IC(e),n=0,t=0,o=e.length;t<o;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),LC={}.hasOwnProperty,TC=function(e,t){for(var n in t)LC.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};FC=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var DC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new IC).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),QC=function(){function e(e,t){var n,r,o,i,a,s,c,l,u,A,d,f,h,p,m,g,v;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(d=e.readUInt16(),A=d/2,e.pos+=6,o=function(){var t,n;for(n=[],s=t=0;0<=A?t<A:t>A;s=0<=A?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],s=t=0;0<=A?t<A:t>A;s=0<=A?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=A?t<A:t>A;s=0<=A?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=A?t<A:t>A;s=0<=A?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=m=0,v=o.length;m<v;s=++m)for(p=o[s],n=g=f=h[s];f<=p?g<=p:g>=p;n=f<=p?++g:--g)0===l[s]?i=n+c[s]:0!==(i=a[l[s]/2+(n-f)-(A-s)]||0)&&(i+=c[s]),this.codeMap[n]=65535&i}e.pos=u}return e.encode=function(e,t){var n,r,o,i,a,s,c,l,u,A,d,f,h,p,m,g,v,y,b,w,_,x,B,C,E,j,k,S,O,N,F,I,P,L,T,D,Q,U,M,R,$,H,q,K,V,z;switch(S=new IC,i=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(h=0,p=function(){var e=[];for(f=0;f<256;++f)e.push(0);return e}(),g={0:0},o={},O=0,P=i.length;O<P;O++)null==g[q=e[r=i[O]]]&&(g[q]=++h),o[r]={old:e[r],new:g[e[r]]},p[r]=g[e[r]];return S.writeUInt16(1),S.writeUInt16(0),S.writeUInt32(12),S.writeUInt16(0),S.writeUInt16(262),S.writeUInt16(0),S.write(p),{charMap:o,subtable:S.data,maxGlyphID:h+1};case"unicode":for(j=[],u=[],v=0,g={},n={},m=c=null,N=0,L=i.length;N<L;N++)null==g[b=e[r=i[N]]]&&(g[b]=++v),n[r]={old:b,new:g[b]},a=g[b]-r,null!=m&&a===c||(m&&u.push(m),j.push(r),c=a),m=r;for(m&&u.push(m),u.push(65535),j.push(65535),C=2*(B=j.length),x=2*Math.pow(Math.log(B)/Math.LN2,2),A=Math.log(x/2)/Math.LN2,_=2*B-x,s=[],w=[],d=[],f=F=0,T=j.length;F<T;f=++F){if(E=j[f],l=u[f],65535===E){s.push(0),w.push(0);break}if(E-(k=n[E].new)>=32768)for(s.push(0),w.push(2*(d.length+B-f)),r=I=E;E<=l?I<=l:I>=l;r=E<=l?++I:--I)d.push(n[r].new);else s.push(k-E),w.push(0)}for(S.writeUInt16(3),S.writeUInt16(1),S.writeUInt32(12),S.writeUInt16(4),S.writeUInt16(16+8*B+2*d.length),S.writeUInt16(0),S.writeUInt16(C),S.writeUInt16(x),S.writeUInt16(A),S.writeUInt16(_),$=0,D=u.length;$<D;$++)r=u[$],S.writeUInt16(r);for(S.writeUInt16(0),H=0,Q=j.length;H<Q;H++)r=j[H],S.writeUInt16(r);for(K=0,U=s.length;K<U;K++)a=s[K],S.writeUInt16(a);for(V=0,M=w.length;V<M;V++)y=w[V],S.writeUInt16(y);for(z=0,R=d.length;z<R;z++)h=d[z],S.writeUInt16(h);return{charMap:n,subtable:S.data,maxGlyphID:v+1}}},e}(),UC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new QC(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=QC.encode(e,t),(r=new IC).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),MC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),RC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),$C=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(n=e.readUInt16(),this.glyphNameIndex=[],o=0;0<=n?o<n:o>n;o=0<=n?++o:--o)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],o=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;o=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),HC=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},qC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,o,i,a,s,c,l,u,A;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],o=0;0<=t?o<t:o>t;o=0<=t?++o:--o)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},o=l=0,u=n.length;l<u;o=++l)r=n[o],e.pos=r.offset,c=e.readString(r.length),i=new HC(c,r),null==s[A=r.nameID]&&(s[A]=[]),s[r.nameID].push(i);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),KC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),VC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,o,i,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,o;for(o=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)o.push(e.readInt16());return o}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)o=n[e],r.push(o.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=i=0;0<=r?i<r:i>r;t=0<=r?++i:--i)s.push(this.widths.push(n));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),zC=[].slice,ZC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,o,i,a,s,c,l,u;return e in this.cache?this.cache[e]:(o=this.file.loca,t=this.file.contents,n=o.indexOf(e),0===(r=o.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,i=(a=new IC(t.read(r))).readShort(),c=a.readShort(),u=a.readShort(),s=a.readShort(),l=a.readShort(),this.cache[e]=-1===i?new WC(a,c,u,s,l):new GC(a,i,c,u,s,l),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,o,i,a,s;for(i=[],o=[],a=0,s=t.length;a<s;a++)r=e[t[a]],o.push(i.length),r&&(i=i.concat(r.encode(n)));return o.push(i.length),{table:i,offsets:o}},t}(),GC=function(){function e(e,t,n,r,o,i){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=o,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),WC=function(){function e(e,t,n,r,o){var i,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;a=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&a;)i.pos+=1&a?4:2,128&a?i.pos+=8:64&a?i.pos+=4:8&a&&(i.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new IC(zC.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),YC=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return TC(t,FC),t.prototype.tag="loca",t.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,o=0,i=0;i<n.length;++i)if(n[i]=r,o<t.length&&t[o]==i){++o,n[i]=r;var a=this.offsets[i],s=this.offsets[i+1]-a;s>0&&(r+=s)}for(var c=new Array(4*n.length),l=0;l<n.length;++l)c[4*l+3]=255&n[l],c[4*l+2]=(65280&n[l])>>8,c[4*l+1]=(16711680&n[l])>>16,c[4*l]=(4278190080&n[l])>>24;return c},t}(),XC=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,o;for(t in r=this.font.cmap.tables[0].codeMap,e={},o=this.subset)n=o[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,o,i,a,s;for(r={},i=0,a=e.length;i<a;i++)r[o=e[i]]=this.font.glyf.glyphFor(o);for(o in t=[],r)(null!=(n=r[o])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(o in s=this.glyphsFor(t))n=s[o],r[o]=n;return r},e.prototype.encode=function(e,t){var n,r,o,i,a,s,c,l,u,A,d,f,h,p,m;for(r in n=UC.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),d={0:0},m=n.charMap)d[(s=m[r]).old]=s.new;for(f in A=n.maxGlyphID,i)f in d||(d[f]=A++);return l=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(d),u=Object.keys(l).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)a=u[e],n.push(l[a]);return n}(),o=this.font.glyf.encode(i,h,d),c=this.font.loca.encode(o.offsets,h),p={cmap:this.font.cmap.raw(),glyf:o.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(p["OS/2"]=this.font.os2.raw()),this.font.directory.encode(p)},e}();hB.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,o,i,a;if(Array.isArray(n))return"["+function(){var e,o,i;for(i=[],e=0,o=n.length;e<o;e++)r=n[e],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(o in i=["<<"],n)a=n[o],i.push("/"+o+" "+t.convert(a));return i.push(">>"),i.join("\n")}return""+n},t}();var JC=hB,eE=function(e){var t=e.rootId;return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"px-8 py-2 bg-green-200 flex flex-col md:flex-row justify-between items-center my-12",children:[(0,A.jsx)("p",{className:"font-bold text-lg",children:"Payment Slip"}),(0,A.jsxs)("div",{className:"flex space-x-4 items-center",children:[(0,A.jsx)(fa,{to:"/profile/orders",children:"Go back to Orders"}),(0,A.jsx)("button",{className:"bg-green-800 text-white px-4 py-2",onClick:function(){var e=document.getElementById(t);R_()(e).then((function(e){var t=e.toDataURL("image/png"),n=new JC("p","mm","a4",!0),r=n.internal.pageSize.getWidth(),o=n.internal.pageSize.getHeight();n.addImage(t,"JPEG",0,0,r,o),n.save("paymentSlip.pdf")}))},children:"Print Payment Slip"})]})]})})},tE=n(4763),nE=n.n(tE),rE=function(){var e,n,r,o,i,a,s,c,l,u,d,f,h,p,m,g,v,y,b,w,_,x,C,E,j=Wi().id,k=D_({id:j}),S=function(){return window.matchMedia("(orientation: portrait)").matches?"Portrait":"Landscape"},O=(0,t.useState)(S()),N=(0,B.Z)(O,2),F=N[0],I=N[1];(0,t.useEffect)((function(){window.scrollTo({top:0,behavior:"smooth"});var e=function(){I(S())};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]);var P=new Date;return(0,A.jsxs)("div",{className:"h-full bg-white px-8 py-2",children:[(0,A.jsx)(eE,{rootId:"paymentSlip"}),"Landscape"===F||window.innerWidth>=1024?(0,A.jsx)("div",{className:"print-content",id:"paymentSlip",children:(0,A.jsxs)("div",{className:"text-xs lg:text-base w-5/6 mx-auto py-10",children:[(0,A.jsxs)("div",{className:"grid grid-cols-3 gap-8",children:[(0,A.jsxs)("div",{className:"space-y-8",children:[(0,A.jsx)("img",{src:U_,className:"w-32",alt:"ura logo"}),(0,A.jsx)("div",{children:(0,A.jsxs)("p",{children:[null===k||void 0===k||null===(e=k.data)||void 0===e||null===(n=e.user)||void 0===n?void 0:n.name," ",(0,A.jsx)("br",{}),null===k||void 0===k||null===(r=k.data)||void 0===r||null===(o=r.tax_payer_address)||void 0===o?void 0:o.village_name,(0,A.jsx)("br",{})," ",null===k||void 0===k||null===(i=k.tax_payer_address)||void 0===i||null===(a=i.user)||void 0===a?void 0:a.sub_county_name,(0,A.jsx)("br",{})," ",null===k||void 0===k||null===(s=k.tax_payer_address)||void 0===s||null===(c=s.user)||void 0===c?void 0:c.district_name,(0,A.jsx)("br",{}),null===k||void 0===k||null===(l=k.data)||void 0===l||null===(u=l.tax_payer_address)||void 0===u?void 0:u.county_name]})})]}),(0,A.jsx)("div",{className:"text-center space-y-4",children:(0,A.jsx)("p",{className:"font-black px-3 py-2 bg-gray-300 md:text-lg",children:"Payment Registration Slip"})}),(0,A.jsxs)("div",{className:"flex flex-col items-end space-y-4",children:[(0,A.jsxs)("div",{className:"flex flex-col items-end",children:[(0,A.jsx)("p",{className:"font-bold md:font-black md:text-lg",children:"For General Tax Questions"}),(0,A.jsx)("p",{children:"call our Toll Free"}),(0,A.jsx)("p",{className:"font-bold md:font-black md:text-lg",children:"(256) 800117000"}),(0,A.jsx)("p",{children:"Or log on to URA web portal"}),(0,A.jsx)("p",{className:"font-bold md:font-black md:text-lg",children:"http://ura.go.ug"})]}),(0,A.jsx)("p",{children:"NOTICE DT - 2074"}),(0,A.jsxs)("div",{className:"flex flex-col items-end",children:[(0,A.jsx)("p",{className:"font-bold md:font-black md:text-lg",children:"Taxpayer TIN"}),(0,A.jsx)("p",{children:null===k||void 0===k||null===(d=k.data)||void 0===d||null===(f=d.user)||void 0===f?void 0:f.tin}),(0,A.jsx)("p",{className:"font-bold md:font-black md:text-lg",children:"Payment Registration Number"}),(0,A.jsx)("p",{children:null===k||void 0===k||null===(h=k.data)||void 0===h||null===(p=h.payment)||void 0===p?void 0:p.prn})]}),(0,A.jsx)(nE(),{value:null===k||void 0===k||null===(m=k.data)||void 0===m||null===(g=m.payment)||void 0===g?void 0:g.prn,height:50,textPosition:"top",displayValue:"false"})]})]}),(0,A.jsx)("p",{className:"text-center font-black md:text-lg my-4",children:"PAYMENT REGISTRATION DETAILS"}),(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("table",{className:"table-auto w-full text-left border-collapse",children:(0,A.jsxs)("tbody",{className:"text-left",children:[(0,A.jsx)("tr",{children:(0,A.jsxs)("td",{colSpan:"3",children:[(0,A.jsx)("span",{className:"font-black",children:"Tax Head:"}),null===k||void 0===k||null===(v=k.data)||void 0===v?void 0:v.tax_head_name]})}),(0,A.jsxs)("tr",{children:[(0,A.jsxs)("td",{children:[(0,A.jsx)("span",{className:"font-black",children:"Amount(in UGX):"})," ",null===k||void 0===k||null===(y=k.data)||void 0===y||null===(b=y.amount)||void 0===b?void 0:b.toLocaleString()]}),(0,A.jsxs)("td",{children:[(0,A.jsx)("span",{className:"font-black",children:"Base value in Ugx:"})," "]})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Units:"})}),(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Identity Proof Type: "})})]}),(0,A.jsxs)("tr",{children:[(0,A.jsxs)("td",{children:[(0,A.jsxs)("span",{className:"font-black",children:["Order Reference Number:"," "]}),null===k||void 0===k||null===(w=k.data)||void 0===w?void 0:w.id]}),(0,A.jsx)("td",{children:(0,A.jsxs)("span",{className:"font-black",children:["Identity Proof Number:"," "]})})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Country of Registration:"})}),(0,A.jsxs)("td",{children:[(0,A.jsx)("span",{className:"font-black",children:"Reference Date:"})," ",P.toDateString()]})]})]})}),(0,A.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"text-center bg-gray-300 py-2 px-2 font-black",children:"CHEQUES ONLY"}),(0,A.jsx)("table",{className:"table-auto w-full text-left border-collapse",children:(0,A.jsxs)("tbody",{children:[(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Bank: "})}),(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Check number: "})}),(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Amount (UGX)"})})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:(0,A.jsx)("div",{className:"my-4"})}),(0,A.jsx)("td",{}),(0,A.jsx)("td",{})]})]})}),(0,A.jsxs)("p",{className:"my-2",children:["Amount in words: _____________________________________",(0,A.jsx)("br",{}),"_____________________________________"]}),(0,A.jsx)("p",{className:"border border-gray-500 py-8 px-10 text-center my-4",children:"BANK STAMP AND ENDORSEMENT"})]}),(0,A.jsx)("div",{children:(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"text-center bg-gray-300 py-2 px-2",children:"CASH ONLY"}),(0,A.jsxs)("table",{className:"table-auto w-full text-left border-collapse",children:[(0,A.jsx)("thead",{children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{children:"Currency"}),(0,A.jsx)("th",{children:"Amount"})]})}),(0,A.jsxs)("tbody",{children:[(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"50,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"20,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"10,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"5,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"2,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"1,000/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"500/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"200/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"100/="}),(0,A.jsx)("td",{})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"Total"}),(0,A.jsx)("td",{})]})]})]}),(0,A.jsxs)("p",{className:"my-4",children:["Amount in words: _____________________________________",(0,A.jsx)("br",{}),"_____________________________________"]})]})})]}),(0,A.jsx)("div",{children:(0,A.jsx)("table",{className:"table-auto w-full text-left border-collapse",children:(0,A.jsxs)("tbody",{children:[(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Paid in by"})}),(0,A.jsx)("td",{children:(0,A.jsx)("span",{className:"font-black",children:"Contact number"})})]}),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{children:"Signature"}),(0,A.jsxs)("td",{children:[(0,A.jsx)("span",{className:"font-black",children:"Search Code:"})," ",null===k||void 0===k||null===(_=k.data)||void 0===_||null===(x=_.payment)||void 0===x?void 0:x.prn_search_code]})]})]})})}),(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("p",{children:[(0,A.jsx)("span",{className:"my-4 font-bold",children:"This notice has been issued for and on behalf of the National Curriculum Development Center."}),(0,A.jsx)("br",{}),(0,A.jsx)("br",{}),"After payment to the bank, you may track the status of your payment either at any nearest tax office or URA web portal at",(0,A.jsxs)("span",{className:"text-green-500",children:[" ","https://www.ura.go.ug"]})," ","or NCDC eshop at",(0,A.jsxs)("span",{className:"text-green-500",children:[" ","https://www.eshop.ncdc.go.ug/check-prn-status"]}),", using the Payment Registration Number (PRN) above. This Payment Registration Slip shall remain valid until"," ",(0,A.jsx)("span",{className:"text-green-500",children:null===k||void 0===k||null===(C=k.data)||void 0===C||null===(E=C.payment)||void 0===E?void 0:E.prn_expiry_date}),". After its expiry, you will not be able to use it for effecting your payment at the bank. You will be required to generate another payment Slip. If this payment registration slip is lost or defected, you may obtain a copy from your email inbox, eshop account, or a reprint from URA web portal using the PRN and search code above."]})})]})]})}):(0,A.jsx)("p",{children:"Please rotate your screen to view and print the receipt properly."})]})},oE=function(){return er.get("/payments/mine")},iE=function(){var e,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["payments"],queryFn:function(){return oE()}}))}(),r=null===n||void 0===n||null===(e=n.data)||void 0===e?void 0:e.sort((function(e,t){return(null===t||void 0===t?void 0:t.id)-(null===e||void 0===e?void 0:e.id)})),o=(0,t.useState)(1),i=(0,B.Z)(o,2),a=i[0],c=i[1],l=(0,t.useState)(8),u=(0,B.Z)(l,1)[0],d=a*u,f=d-u,h=null===r||void 0===r?void 0:r.slice(f,d),p=(0,t.useState)(5),m=(0,B.Z)(p,2),g=m[0],v=m[1],y=(0,t.useState)(1),b=(0,B.Z)(y,2),w=b[0],_=b[1];return(0,A.jsx)(cm,{children:(0,A.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{className:"px-8 py-4 shadow-lg rounded-md bg-white",children:(0,A.jsx)("p",{className:"font-bold text-lg",children:"Payments List"})}),(null===r||void 0===r?void 0:r.length)<1?(0,A.jsxs)("div",{className:"mx-auto flex flex-col justify-center text-center my-12 font-bold h-48 space-y-6",children:[(0,A.jsx)("p",{className:"text-2xl",children:"Your Payments list is empty"}),(0,A.jsx)("p",{children:"Check out our products to get the best deals"}),(0,A.jsx)(fa,{to:"/",children:(0,A.jsx)("button",{className:"py-2 px-4 bg-green-500 text-white rounded",children:"Go to products"})})]}):null===h||void 0===h?void 0:h.map((function(e,t){var n,r;return(0,A.jsxs)("div",{className:"my-6 px-8 py-4 bg-white rounded-md shadow-lg",children:[(0,A.jsx)("div",{className:"flex justify-between my-8",children:(0,A.jsxs)("div",{children:[(0,A.jsxs)("p",{className:"text-lg font-semibold text-gray-600",children:["Payment: ",null===e||void 0===e?void 0:e.id]}),(0,A.jsxs)("p",{className:"font-semibold text-gray-600",children:["Date: ",null===(n=new Date(null===e||void 0===e?void 0:e.created_at))||void 0===n?void 0:n.toLocaleString()]})]})}),(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 my-2",children:[(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"PRN"}),(0,A.jsx)("p",{className:"text-lg my-2 text-gray-500 font-semibold",children:null===e||void 0===e?void 0:e.prn})]}),(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"Amount"}),(0,A.jsxs)("p",{className:"text-lg my-2 text-gray-500 font-semibold",children:["sh. ",null===e||void 0===e||null===(r=e.amount)||void 0===r?void 0:r.toLocaleString()]})]}),(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"Status"}),(0,A.jsx)("p",{className:"text-lg my-2 text-red-500 font-semibold",children:null===e||void 0===e?void 0:e.status})]})]}),(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 my-2",children:[(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"PRN expiry"}),(0,A.jsx)("p",{className:"text-lg my-2 text-gray-500 font-semibold",children:null===e||void 0===e?void 0:e.prn_expiry_date})]}),(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"Phone number: "}),(0,A.jsx)("p",{className:"text-lg my-2 text-gray-500 font-semibold",children:null===e||void 0===e?void 0:e.phone_number})]}),(0,A.jsxs)("div",{className:"flex flex-row lg:flex-col space-x-2 lg:space-x-0",children:[(0,A.jsx)("p",{className:"text-lg my-2",children:"PRN Status"}),(0,A.jsx)("p",{className:"text-lg my-2 text-red-500 font-semibold",children:null===e||void 0===e?void 0:e.prn_status})]})]})]},t)})),n.isLoading&&(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"shadow-lg rounded-md my-4 w-full bg-white my-4 px-8 py-4",children:[(0,A.jsx)("p",{className:"text-lg font-semibold text-gray-600",children:"Payment: "}),(0,A.jsxs)("div",{className:"w-full flex flex-col md:flex-row md:items-center md:justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"PRN"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"Amount"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{children:"Status"}),(0,A.jsx)("div",{className:"skeleton h-8 my-2"})]})]})]})})]}),(0,A.jsx)("div",{className:"my-8",children:(0,A.jsx)(cn,{postsPerPage:u,totalPosts:null===r||void 0===r?void 0:r.length,paginate:function(e){return c(e)},currentPage:a,paginateFront:function(){c(a+1),a+1>g&&(v(g+5),_(w+5))},paginateBack:function(){c(a-1),(a-1)%5===0&&(v(g-5),_(w-5))},maxPageNumber:g,minPageNumber:w})})]})})},aE=function(e){var t=e.cartItemId;return er.post("/cart-items/".concat(t,"?_method=DELETE"))},sE=function(e){var t=e.cartItemId,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("cartItem");case 2:return n=Ac.getQueryData("cartItem"),Ac.setQueryData("cartItem",null===n||void 0===n?void 0:n.filter((function(e){return e.id!==t.cartItemId}))),e.abrupt("return",{previousCartItem:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItem&&Ac.setQueryData("cartItem",n.previousCartItem)},onSuccess:function(){Ac.invalidateQueries("cartItem"),Ac.invalidateQueries("cart"),t({type:"success",title:"Item removed from cart"})}},e),{},{mutationFn:aE}))}();return(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync({cartItemId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:n.isLoading?(0,A.jsx)(h,{}):(0,A.jsxs)("div",{className:"flex items-center text-green-500 cursor-pointer",children:[(0,A.jsx)(kp,{className:"text-2xl "}),(0,A.jsx)("span",{children:"Remove"})]})})},cE=function(e){var t=e.cartItemId,n=e.data;return er.post("/cart-items/".concat(t,"?_method=PUT"),n)},lE=function(e){var t=e.item,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("cartItem");case 2:return n=Ac.getQueryData("cartItem"),Ac.setQueryData("cartItem",null===n||void 0===n?void 0:n.filter((function(e){return e.id!==t.cartItemId}))),e.abrupt("return",{previousCartItem:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItem&&Ac.setQueryData("cartItem",n.previousCartItem)},onSuccess:function(){Ac.invalidateQueries("cartItem"),Ac.invalidateQueries("cart"),t({type:"success",title:"Quantity has been added"})}},e),{},{mutationFn:cE}))}();return(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync({cartItemId:t.id,data:{quantity:t.quantity+1}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:"bg-green-500 px-2 text-xl text-white",children:n.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"+"})})},uE=function(e){var t=e.cartItemId,n=e.data;return er.post("/cart-items/".concat(t,"?_method=PUT"),n)},AE=function(e){var t=e.item,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("cartItem");case 2:return n=Ac.getQueryData("cartItem"),Ac.setQueryData("cartItem",null===n||void 0===n?void 0:n.filter((function(e){return e.id!==t.cartItemId}))),e.abrupt("return",{previousCartItem:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItem&&Ac.setQueryData("cartItem",n.previousCartItem)},onSuccess:function(){Ac.invalidateQueries("cartItem"),Ac.invalidateQueries("cart"),t({type:"success",title:"Quantity has been added"})}},e),{},{mutationFn:uE}))}();return(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync({cartItemId:t.id,data:{quantity:t.quantity-1}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:1===t.quantity?"bg-green-300 px-2 text-xl text-white pointer-events-none":"bg-green-500 px-2 text-xl text-white",children:n.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"-"})})},dE=function(){var e,t,n=Bp();return(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"py-3 bg-white px-4 shadow-lg rounded-lg md:rounded-2xl font-extrabold",children:"Cart"}),null===n||void 0===n||null===(e=n.data)||void 0===e||null===(t=e.cartItems)||void 0===t?void 0:t.map((function(e,t){var n,r,o,i,a,s,c;return(0,A.jsxs)("div",{className:"shadow-lg rounded-lg md:rounded-2xl my-4 w-full bg-white flex item-center",children:[(0,A.jsx)("div",{className:"w-2/6 flex item-center",children:(0,A.jsx)("img",{src:null===(null===e||void 0===e?void 0:e.product.image)?Vp:Vn+"/products/"+(null===e||void 0===e||null===(n=e.product)||void 0===n||null===(r=n.image)||void 0===r?void 0:r.location),alt:"",className:"h-36 md:h-40 object-contain rounded-tl-lg rounded-bl-lg md:rounded-tl-2xl md:rounded-bl-2xl",loading:"lazy"})}),(0,A.jsxs)("div",{className:"px-5 py-2 md:py-5 w-4/6",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("h1",{className:"font-extrabold my-2",children:(null===e||void 0===e||null===(o=e.product)||void 0===o||null===(i=o.name)||void 0===i?void 0:i.length)>30?(null===e||void 0===e||null===(a=e.product)||void 0===a?void 0:a.name.slice(0,28))+"...":null===e||void 0===e||null===(s=e.product)||void 0===s?void 0:s.name}),(0,A.jsxs)("span",{className:"text-red-700 uppercase font-extrabold",children:["UGX ",null===e||void 0===e||null===(c=e.amount)||void 0===c?void 0:c.toLocaleString()]})]}),(0,A.jsxs)("div",{className:"mt-7 md:mt-3 flex  justify-between",children:[(0,A.jsx)(sE,{cartItemId:null===e||void 0===e?void 0:e.id}),1===(null===e||void 0===e?void 0:e.downloadable)?"":(0,A.jsxs)("div",{className:"flex justify-evenly  gap-2 md:gap-4 ",children:[(0,A.jsx)(AE,{item:e}),(0,A.jsx)("h1",{children:null===e||void 0===e?void 0:e.quantity}),(0,A.jsx)(lE,{item:e})]})]})]})]},t)})),n.isLoading&&[0,1].map((function(e){return(0,A.jsx)("div",{children:(0,A.jsxs)("div",{className:"shadow-lg rounded-md my-4 w-full bg-white flex item-center",children:[(0,A.jsx)("div",{className:"skeleton h-40 w-48"}),(0,A.jsxs)("div",{className:"w-full",children:[(0,A.jsx)("div",{className:"skeleton h-8 w-3/4 m-8"}),(0,A.jsx)("div",{className:"skeleton h-8 w-2/4 m-8"})]})]})},e)}))]})},fE=function(){var e,t,n,r=0,o=Bp();return(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"py-3 px-4 shadow-lg rounded-t-lg md:rounded-t-2xl bg-white font-extrabold",children:"Cart Summary"}),(0,A.jsxs)("div",{className:"w-full h-fit py-5 px-5 shadow-lg rounded-b-lg md:rounded-b-2xl bg-white",children:[null===o||void 0===o||null===(e=o.data)||void 0===e||null===(t=e.cartItems)||void 0===t?void 0:t.map((function(e,t){var n,o,i,a,s;return r+=e.amount*e.quantity,(0,A.jsxs)("div",{className:"flex justify-between border-b py-1 border-gray-300",children:[(0,A.jsx)("h1",{className:"py-2 md:py-0",children:(null===e||void 0===e||null===(n=e.product)||void 0===n||null===(o=n.name)||void 0===o?void 0:o.length)>25?(null===e||void 0===e||null===(i=e.product)||void 0===i?void 0:i.name.slice(0,22))+"...":null===e||void 0===e||null===(a=e.product)||void 0===a?void 0:a.name}),(0,A.jsxs)("span",{className:"font-extrabold uppercase py-2 md:py-0",children:["ugx ",null===(s=(null===e||void 0===e?void 0:e.amount)*(null===e||void 0===e?void 0:e.quantity))||void 0===s?void 0:s.toLocaleString()]})]},t)})),(0,A.jsxs)("div",{children:[(0,A.jsxs)("div",{className:"flex justify-between my-8",children:[(0,A.jsx)("h1",{className:"font-extrabold",children:"Total"}),(0,A.jsxs)("span",{className:"font-extrabold uppercase",children:["ugx ",null===(n=r)||void 0===n?void 0:n.toLocaleString()]})]}),(0,A.jsxs)("div",{className:"flex mt-3 justify-between",children:[(0,A.jsx)("div",{}),(0,A.jsx)(fa,{to:"/order",children:(0,A.jsxs)("div",{className:"py-2 px-4 bg-green-600 text-white font-extrabold cursor-pointer rounded-md",children:["Check Out UGX ",r.toLocaleString()]})})]})]})]})]})},hE=function(){var e,n,r,o,i,a,s=Bp(),c=tv();return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),(0,A.jsxs)(cm,{page:"cart",children:[(0,A.jsx)("div",{className:"md:flex w-full gap-3"}),(0,A.jsx)("div",{className:"my-8",children:(null===s||void 0===s||null===(e=s.data)||void 0===e||null===(n=e.cartItems)||void 0===n?void 0:n.length)<1||"No cart found"===(null===s||void 0===s||null===(r=s.data)||void 0===r?void 0:r.message)?(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"flex flex-col justify-center text-center my-12 font-bold h-48 space-y-6",children:[(0,A.jsx)("p",{className:"text-2xl",children:"Your Cart is empty"}),(0,A.jsx)("p",{children:"Check out our products to get the best deals"}),(0,A.jsx)(fa,{to:"/",children:(0,A.jsx)("button",{className:"py-2 px-4 bg-green-500 text-white rounded",children:"Go to products"})})]})}):(0,A.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,A.jsx)("div",{className:"",children:(0,A.jsx)(dE,{})}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)(fE,{})})]})}),(null===s||void 0===s||null===(o=s.data)||void 0===o||null===(i=o.cartItems)||void 0===i?void 0:i.length)>0&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("p",{className:"font-bold text-xl",children:"You might be interested"}),(0,A.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:null===(a=c.data)||void 0===a?void 0:a.slice(0,4).map((function(e,t){return(0,A.jsx)("div",{children:(0,A.jsx)(Kg,{product:e})},t)}))})]})]})},pE=function(){return er.get("/carts/mine")},mE=function(e){var t=e.data;return er.post("orders",t)},gE=function(e){var n,r=e.cartItems,o=e.cartId,i=sm(),a=wh().user,c=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification,n=Gi();return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("order");case 2:return n=Ac.getQueryData("order"),Ac.setQueryData("order",null===n||void 0===n?void 0:n.filter((function(e){return e.id!==t.orderId}))),e.abrupt("return",{previousCartItem:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItem&&Ac.setQueryData("order",n.previousCartItem)},onSuccess:function(e){var r;localStorage.setItem("orderId",null===e||void 0===e||null===(r=e.order)||void 0===r?void 0:r.id),Ac.invalidateQueries("order"),t({type:"success",title:"Order has been added"}),n("/payment")}},e),{},{mutationFn:mE}))}(),l=new Date,u="".concat(l.getDate(),"/").concat(l.getMonth()+1,"/").concat(l.getFullYear()),d=0;r.forEach((function(e){d+=e.amount*e.quantity}));var f=(0,t.useState)(!0),p=(0,B.Z)(f,2),m=p[0],g=p[1];return(0,A.jsxs)("div",{className:"",children:[(0,A.jsxs)("div",{className:"py-5 mt-5 flex flex-col-reverse md:flex-row  justify-between",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)("p",{className:"font-extrabold mt-2",children:["Name: ",(0,A.jsx)("span",{className:"font-light",children:a.name})]}),(0,A.jsxs)("p",{className:"font-extrabold mt-2",children:["Phone number:"," ",(0,A.jsxs)("span",{className:"font-light",children:[a.phone_number," "]})]}),(0,A.jsxs)("p",{className:"font-extrabold mt-2",children:["Date: ",(0,A.jsx)("span",{className:"font-light",children:u})]})]}),(0,A.jsxs)("div",{className:!1===m?"hidden":"bg-gray-100 rounded-2xl p-4 md:w-3/12 mb-3 md:mb-0",children:[(0,A.jsxs)("div",{className:"flex items-center justify-between",children:[(0,A.jsx)("h1",{className:"uppercase",children:"Note "}),(0,A.jsx)(qp,{className:"cursor-pointer",onClick:function(){g(!1)}})]}),(0,A.jsxs)("p",{className:"flex flex-wrap text-sm mt-3",children:["Please confirm the details before payment.",(0,A.jsx)("br",{}),(0,A.jsx)("br",{})," Thanks for shopping with us"]})]})]}),(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex flex-col md:w-7/12",children:(0,A.jsx)("div",{className:"overflow-x-auto ",children:(0,A.jsx)("div",{className:"py-2 inline-block min-w-full ",children:(0,A.jsx)("div",{className:"overflow-hidden",children:(0,A.jsxs)("table",{className:"min-w-full",children:[(0,A.jsx)("thead",{className:"border-b ",children:(0,A.jsxs)("tr",{children:[(0,A.jsx)("th",{scope:"col",className:"text-sm  text-gray-900 md:px-6 py-4 text-left font-extrabold",children:"Items"}),(0,A.jsx)("th",{scope:"col",className:"text-sm  text-gray-900 md:px-6 py-4 text-left font-extrabold",children:"Qty"}),(0,A.jsx)("th",{scope:"col",className:"text-sm  text-gray-900 md:px-6 py-4 text-left font-extrabold",children:"Cost"})]})}),(0,A.jsxs)("tbody",{children:[null===r||void 0===r?void 0:r.map((function(e,t){var n;return(0,A.jsxs)("tr",{className:"border-b",children:[(0,A.jsx)("td",{className:"md:px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900",children:e.product.name.length>25?e.product.name.slice(0,22)+"...":e.product.name}),(0,A.jsx)("td",{className:"text-sm text-gray-900 font-light md:px-6 py-4 whitespace-nowrap",children:e.quantity}),(0,A.jsxs)("td",{className:"text-sm text-gray-900  md:px-6 py-4 whitespace-nowrap font-extrabold",children:["UGX",null===(n=e.amount*e.quantity)||void 0===n?void 0:n.toLocaleString()]})]},t)})),(0,A.jsxs)("tr",{children:[(0,A.jsx)("td",{colSpan:"2",className:"md:px-6 py-4 whitespace-nowrap  font-extrabold text-gray-900",children:"Total"}),(0,A.jsxs)("td",{className:" text-gray-900  md:px-6 py-4 whitespace-nowrap font-extrabold",children:["UGX ",null===(n=d)||void 0===n?void 0:n.toLocaleString()]})]})]})]})})})})})}),(0,A.jsxs)("div",{className:"mt-5 mb-5 flex justify-end items-center",children:[(0,A.jsx)("div",{className:"flex gap-10",children:(0,A.jsx)(fa,{to:"/cart",children:(0,A.jsxs)("button",{className:"flex items-center gap-1 hover:text-green-600",children:[(0,A.jsx)(bp,{className:"text-xl"}),"Back to cart"]})})}),null===a.email_verified_at?(0,A.jsx)("button",{className:"bg-green-500 px-5 py-2 m-4 text-white rounded",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.mutateAsync({email:a.email});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:"Verify account"}):(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return localStorage.setItem("totalCost",d),e.next=3,c.mutateAsync({data:{cart_id:o,paymentMethod:"mtn"}});case 3:case"end":return e.stop()}}),e)}))),className:"bg-green-500 px-5 py-2 m-4 text-white rounded",children:c.isLoading?(0,A.jsx)(h,{size:"sm"}):(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("span",{children:"Order now"})})})]})]})},vE=function(){var e,t,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["cart"],queryFn:function(){return pE()}}))}();return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)(cm,{children:[(0,A.jsx)("div",{className:"md:mt-8 px-8 py-4 shadow-md rounded-2xl bg-white flex justify-between items-center",children:(0,A.jsx)("div",{className:"font-bold text-md md:text-lg",children:"Confirm Order"})}),(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex flex-wrap",children:(0,A.jsx)("div",{className:"w-screen md:w-full",children:(0,A.jsx)("div",{className:"relative mt-2 flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded-lg md:rounded-2xl",children:(0,A.jsx)("div",{className:"px-4 py-2 flex-auto",children:(0,A.jsx)("div",{className:"tab-content tab-space",children:(0,A.jsx)("div",{className:"block",children:(0,A.jsx)("div",{children:(0,A.jsx)(gE,{cartItems:null===n||void 0===n||null===(e=n.data)||void 0===e?void 0:e.cartItems,cartId:null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.id})})})})})})})})})]})})},yE=function(e){return er.post("payments/gt/generate-payment-url",e)},bE=function(){var e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return pn().addNotification,Gi(),(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onError:function(e,t,n){},onSuccess:function(e){return e}},e),{},{mutationFn:yE}))}(),n=(0,t.useState)(),r=(0,B.Z)(n,2),o=r[0],i=r[1],a=localStorage.getItem("orderId");return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsxs)("div",{className:"",children:["For credit card payments, please note that all bank transactions are securely processed through"," ",(0,A.jsxs)("a",{href:"https://www.gtbank.co.ug/",target:"_blank",className:"text-red-500",children:[" ","Guaranty Trust Bank (Uganda) LTD"," "]}),', ensuring a reliable and protected payment experience. Once you click "Proceed to make Payment," you have confirmed your intent to finalize the transaction securely and efficiently.']}),e.isSuccess?(0,A.jsxs)("div",{className:"mt-4",children:[(0,A.jsx)("div",{className:"bg-orange-100 text-orange-600 p-4 rounded-2xl",children:"Please make sure to have your Visa card details ready before proceeding from this point. If you have any questions or concerns, please don't hesitate to contact our customer support team."}),(0,A.jsx)(w,{onClick:function(){var t,n,r;window.location.href=null===(t=e.data)||void 0===t||null===(n=t.payment_url)||void 0===n||null===(r=n.original)||void 0===r?void 0:r.secureURL,i(!0)},className:"my-3 text-sm",children:o?"Please wait...":"Pay Now"})]}):(0,A.jsx)("div",{className:"space-y-2",children:(0,A.jsx)(w,{onClick:(0,re.Z)((0,ne.Z)().mark((function t(){return(0,ne.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mutateAsync({order_id:a});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),isLoading:e.isLoading,className:"my-3 text-sm",children:"Proceed To Make Payment"})})]})})},wE=function(){return(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"",children:"For mobile money payments, please follow the instructions below;"}),(0,A.jsxs)("ul",{className:"my-4",children:[(0,A.jsxs)("li",{children:["Dial ",(0,A.jsx)("span",{className:"text-red-500",children:"*165#"})]}),(0,A.jsx)("li",{children:"Select 4 Payments"}),(0,A.jsx)("li",{children:"Select 4 Goods and Services"})]})]})},_E=function(){var e=t.useState("Mobile money"),n=(0,B.Z)(e,2),r=n[0],o=n[1],i=Gi();return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{children:(0,A.jsxs)("ul",{className:"flex space-x-2 justify-start mb-2 list-none flex-row",children:[(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-md rounded-md px-4 py-2 ".concat("Mobile money"===r?" bg-green-100  text-green-500":"text-gray-500 border border-gray-200"),onClick:function(e){e.preventDefault(),o("Mobile money")},children:"Mobile Money"})}),(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-md rounded-md px-4 py-2 ".concat("Visa"===r?" bg-green-100  text-green-500":"text-gray-500 border border-gray-200"),onClick:function(e){e.preventDefault(),o("Visa")},children:"Visa"})})]})}),(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white w-full mb-6  rounded ",children:(0,A.jsx)("div",{className:"py-5 flex-auto",children:"Visa"===r?(0,A.jsx)(bE,{}):"Mobile money"===r?(0,A.jsx)(wE,{}):" "})}),(0,A.jsx)("div",{className:"mt-5 mb-5 flex justify-end items-center",children:(0,A.jsx)(w,{onClick:function(){return i("/receipt")},className:"bg-green-500 mx-4 text-white px-5 py-2 font-extrabold rounded",children:"Preview Invoice"})})]})})},xE=function(e){var t=e.data;return er.post("payments/ura/generate-prn",t)},BE=function(){var e,n,r,o,i,a,c=wh().user;(0,t.useEffect)((function(){window.scrollTo({top:0,behavior:"smooth"})}),[]);var l=(0,t.useState)(!1),u=(0,B.Z)(l,2),d=u[0],f=u[1],p=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){return localStorage.removeItem("totalCost"),localStorage.removeItem("gtp_pay_url"),t({type:"success",title:"PRN has been generated"}),e}},e),{},{mutationFn:xE}))}(),m=null===p||void 0===p||null===(e=p.data)||void 0===e||null===(n=e.GetPRNResponse)||void 0===n||null===(r=n.GetPRNResult)||void 0===r?void 0:r.ErrorCode,g=null===p||void 0===p||null===(o=p.data)||void 0===o||null===(i=o.GetPRNResponse)||void 0===i||null===(a=i.GetPRNResult)||void 0===a?void 0:a.PRN;return(0,A.jsx)(cm,{children:(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex flex-wrap md:mt-5",children:(0,A.jsxs)("div",{className:"w-screen md:w-full",children:[(0,A.jsx)("div",{className:"my-4",children:(0,A.jsx)("div",{className:"rounded-2xl px-5 py-4 bg-white shadow-md",children:(0,A.jsx)("div",{className:"font-extrabold md:text-xl",children:"Payment"})})}),(0,A.jsxs)("div",{className:"bg-white p-4 md:p-8 shadow-md rounded-2xl mb-4",children:[(0,A.jsx)("div",{className:"font-bold text-lg mb-4",children:"Awesome!"}),(0,A.jsx)("div",{className:"mb-4",children:"Your order has been created successfully. Please generate a Payment Reference Number (PRN) to proceed and make a payment for your item."}),(0,A.jsx)("div",{className:"text-sm text-green-500 mb-4",children:"A PRN is is a unique auto-generated number used in processing Uganda Revenue Authority (URA) payments."}),void 0===m&&(0,A.jsx)("button",{className:"hover:bg-green-600 bg-green-800 text-white text-lg  rounded-md px-4 py-2 text-center",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.mutateAsync({data:{Amount:localStorage.getItem("totalCost"),TaxPayerName:null===c||void 0===c?void 0:c.name,order_id:localStorage.getItem("orderId")}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:null!==p&&void 0!==p&&p.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"Generate PRN"})})]}),"E000"===m&&(0,A.jsxs)("div",{className:"flex flex-col md:flex-row items-center space-x-2 bg-white rounded-2xl shadow-md p-8 mb-4",children:[(0,A.jsx)("div",{className:"",children:"Your PRN is"}),(0,A.jsx)("div",{className:"mr-4 text-green-500 font-black text-lg",children:g}),(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard.writeText(g),f(!0)},className:"flex flex-row items-center space-x-2 hover:text-green-400",children:[(0,A.jsx)(Th,{className:"h-4 w-auto"}),(0,A.jsx)("span",{className:"text-sm",children:d?"Copied":"Copy to clipboard"})]})})]}),"E000"===m&&(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white  w-full mb-6 shadow-md rounded-2xl p-8",children:(0,A.jsx)("div",{className:"flex-auto ",children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"my-4 font-black",children:"Please select a payment option below."}),(0,A.jsx)(_E,{cartId:undefined})]})})})]})})})})},CE=function(e){return er.post("payments/gt/update-payment-status",e)},EE=function(){var e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return pn().addNotification,Gi(),(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onError:function(e,t,n){},onSuccess:function(e){return e}},e),{},{mutationFn:CE}))}(),n=localStorage.getItem("orderId");return(0,t.useEffect)((0,re.Z)((0,ne.Z)().mark((function t(){return(0,ne.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mutateAsync({order_id:n});case 2:case"end":return t.stop()}}),t)}))),[]),(0,A.jsx)(cm,{children:(0,A.jsx)("div",{className:"flex items-center md:mt-8",children:(0,A.jsx)("div",{className:"bg-white p-8 rounded-2xl shadow-md w-full md:h-[60vh]",children:(0,A.jsx)("div",{className:"text-center",children:(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("h2",{className:"text-3xl font-extrabold text-green-600 mb-4",children:"Transaction Successful!"}),(0,A.jsx)("p",{className:"text-gray-700",children:"Thank you for your purchase. Your order has been successfully processed. Please check your email address for the receipt."})]})})})})})},jE=function(){return(0,A.jsx)(cm,{children:(0,A.jsx)("div",{className:"flex items-center md:mt-8",children:(0,A.jsx)("div",{className:"bg-white p-8 rounded-2xl shadow-md w-full md:h-[60vh]",children:(0,A.jsx)("div",{className:"text-center",children:(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("h2",{className:"text-3xl font-extrabold text-red-600 mb-4",children:"Transaction Failed"}),(0,A.jsx)("p",{className:"text-gray-700",children:"Oops! Something went wrong with your transaction. Please try again."}),(0,A.jsx)("div",{className:""})]})})})})})},kE=function(){return er.get("/orders/mine")},SE=function(e){var t=e.rootId;return(0,A.jsx)("div",{children:(0,A.jsx)("button",{className:"bg-green-500 text-white px-5 py-2 font-extrabold",onClick:function(){var e=document.getElementById(t);R_()(e).then((function(e){var t=e.toDataURL("image/png"),n=new JC("p","mm","a4"),r=n.getImageProperties(t),o=n.internal.pageSize.getWidth(),i=r.height*o/r.width;n.addImage(t,"JPEG",0,0,o,i),n.save("receipt.pdf")}))},children:"Print Receipt"})})},OE=function(){var e,n,r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return(0,uc.useQuery)(s(s({},e),{},{queryKey:["order"],queryFn:function(){return kE()}}))}(),o=wh().user;(0,t.useEffect)((function(){window.scrollTo({top:0,behavior:"smooth"})}),[]);var i=null===r||void 0===r||null===(e=r.data)||void 0===e?void 0:e.sort((function(e,t){return(null===t||void 0===t?void 0:t.id)-(null===e||void 0===e?void 0:e.id)}));return(0,A.jsxs)(cm,{children:[(0,A.jsx)("div",{className:"shadow-lg my-4",children:(0,A.jsx)("div",{className:"rounded-md px-5 py-4 bg-white",children:(0,A.jsx)("div",{className:"font-extrabold md:text-xl",children:"Receipt"})})}),(0,A.jsx)("div",{children:null===i||void 0===i||null===(n=i.slice(0,1))||void 0===n?void 0:n.map((function(e,t){var n;return(0,A.jsxs)("div",{className:"rounded shadow-lg px-8 py-6 bg-white",children:[(0,A.jsxs)("div",{id:"receipt",className:"px-12 py-8",children:[(0,A.jsxs)("div",{className:"flex justify-between items-center",children:[(0,A.jsx)("img",{src:p,className:"w-36",alt:"logo"}),(0,A.jsx)("p",{className:"font-bold text-2xl",children:"Order Invoice"})]}),(0,A.jsxs)("div",{className:"grid grid-cols-2 gap-8 my-8",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"font-bold my-4",children:"National Curriculum Development Center"}),(0,A.jsxs)("div",{className:"text-gray-600",children:[(0,A.jsx)("p",{children:"Plot M838, Kyambogo."}),(0,A.jsx)("p",{children:"P.O.Box 7002 Kampala, Uganda"}),(0,A.jsx)("p",{children:"+256-393-112-088"})]})]}),(0,A.jsxs)("div",{className:"flex flex-col items-end",children:[(0,A.jsx)("p",{className:"font-bold my-4",children:"Bill To:"}),(0,A.jsx)("p",{children:null===o||void 0===o?void 0:o.name}),(0,A.jsx)("p",{children:null===o||void 0===o?void 0:o.phone_number}),(0,A.jsx)("p",{children:null===o||void 0===o?void 0:o.email})]})]}),(0,A.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"font-bold my-4",children:"Payment"}),(0,A.jsxs)("p",{className:"my-2 text-gray-600",children:["Tin number: ",null===o||void 0===o?void 0:o.tin]}),(0,A.jsxs)("p",{className:"my-2 text-gray-600",children:["Prn number: ",null===e||void 0===e||null===(n=e.payment)||void 0===n?void 0:n.prn]})]}),(0,A.jsxs)("div",{className:"flex flex-col items-end justify-end space-y-2",children:[(0,A.jsx)("p",{className:"font-bold my-4",children:"Product"}),(0,A.jsxs)("p",{children:["Product: ",null===e||void 0===e?void 0:e.type_of_service]}),(0,A.jsxs)("p",{children:["Total amount: Ugx ",null===e||void 0===e?void 0:e.amount]}),(0,A.jsxs)("p",{children:["Paid: Ugx ",null===e||void 0===e?void 0:e.amount]})]})]})]}),(0,A.jsx)("div",{className:"mt-8 flex justify-end px-8",children:(0,A.jsx)(SE,{rootId:"receipt"})})]},t)}))})]})},NE=function(){var e="https://testpmtservice.ura.go.ug/paymentController/showHistory?actionCode=SHOWPMTHST&searchPrnNo="+localStorage.getItem("prn");return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)("div",{className:"py-5",children:(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsx)("p",{children:'Thank you for choosing to make a payment with your Visa card! In order to complete your payment, you will need to click the "Pay Now" button below. This will redirect you to our secure payment gateway where you can enter your Visa card details and complete the payment process.'}),(0,A.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:(0,A.jsx)("button",{className:"hover:bg-green-600 bg-green-800 text-white text-lg  rounded-md px-4 py-2 text-center my-6",children:"Pay now"})}),(0,A.jsxs)("div",{className:"flex p-4 mb-4 text-sm text-blue-800 border border-blue-300  rounded-lg bg-blue-50",role:"alert",children:[(0,A.jsx)("svg",{"aria-hidden":"true",className:"flex-shrink-0 inline w-5 h-5 mr-3",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,A.jsx)("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012  0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"})}),(0,A.jsx)("span",{className:"sr-only",children:"Info"}),(0,A.jsx)("div",{children:(0,A.jsx)("p",{className:"text-sm",children:'Please make sure to have your Visa card details ready before clicking the "Pay Now" button. If you have any questions or concerns, please don\'t hesitate to contact our customer support team.'})})]})]})})})},FE=function(){return(0,A.jsx)("div",{className:"space-y-8",children:(0,A.jsxs)("div",{className:"md:w-1/2 mx-auto text-lg",children:[(0,A.jsx)("p",{children:"Please enter the following codes in your phone"}),(0,A.jsxs)("ul",{className:"my-4",children:[(0,A.jsx)("li",{children:"Dial *165# MTN Mobile Money Menu"}),(0,A.jsx)("li",{children:"Select 4 Payments"}),(0,A.jsx)("li",{children:"Select 4 Goods and Services"})]})]})})},IE=function(){var e=t.useState("Mobile money"),n=(0,B.Z)(e,2),r=n[0],o=n[1];return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{children:(0,A.jsxs)("ul",{className:"flex space-x-8 justify-center mb-2 list-none py-4 flex-row",children:[(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-lg rounded-md px-4 py-2 ".concat("Mobile money"===r?" bg-green-800  text-white":"text-black border-2 border-green-400 hover:bg-green-500"),onClick:function(e){e.preventDefault(),o("Mobile money")},children:"Mobile Money"})}),(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-lg rounded-md px-4 py-2 ".concat("Visa"===r?" bg-green-800 text-white":"text-black border-2 border-green-400 hover:bg-green-500"),onClick:function(e){e.preventDefault(),o("Visa")},children:"Visa"})})]})}),(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white w-full mb-6  rounded ",children:(0,A.jsx)("div",{className:"px-4 py-5 flex-auto",children:"Visa"===r?(0,A.jsx)(NE,{}):"Mobile money"===r?(0,A.jsx)(FE,{}):" "})}),(0,A.jsx)("div",{className:"mt-5 mb-5 flex justify-end items-center",children:(0,A.jsx)(fa,{to:"/receipt",children:(0,A.jsx)("button",{className:"bg-green-500 mx-4 text-white px-5 py-2 font-extrabold rounded",children:"View receipt"})})})]})})},PE=function(e){var t=e.data;return er.post("bids/generate-prn",t)},LE=function(){var e,n,r,o,i,a,c=wh().user,l=(0,t.useState)(!1),u=(0,B.Z)(l,2),d=u[0],f=u[1],p=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){return localStorage.removeItem("totalCost"),localStorage.removeItem("bidID"),t({type:"success",title:"PRN has been generated"}),e}},e),{},{mutationFn:PE}))}(),m=null===p||void 0===p||null===(e=p.data)||void 0===e||null===(n=e.GetPRNResponse)||void 0===n||null===(r=n.GetPRNResult)||void 0===r?void 0:r.ErrorCode,g=null===p||void 0===p||null===(o=p.data)||void 0===o||null===(i=o.GetPRNResponse)||void 0===i||null===(a=i.GetPRNResult)||void 0===a?void 0:a.PRN;return(0,A.jsx)(cm,{children:(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex flex-wrap md:mt-5",children:(0,A.jsxs)("div",{className:"w-screen md:w-full",children:[(0,A.jsx)("div",{className:"my-4",children:(0,A.jsx)("div",{className:"rounded-2xl px-5 py-4 bg-white shadow-md",children:(0,A.jsx)("div",{className:"font-extrabold md:text-xl",children:"Payment"})})}),(0,A.jsxs)("div",{className:"bg-white p-4 md:p-8 shadow-md rounded-2xl mb-4",children:[(0,A.jsx)("div",{className:"font-bold text-lg mb-4",children:"Awesome!"}),(0,A.jsx)("div",{className:"mb-4",children:"Your order has been created successfully. Please generate a Payment Reference Number (PRN) to proceed and make a payment for your item."}),(0,A.jsx)("div",{className:"text-sm text-green-500 mb-4",children:"A PRN is is a unique auto-generated number used in processing Uganda Revenue Authority (URA) payments."}),void 0===m&&(0,A.jsx)("button",{className:"hover:bg-green-600 bg-green-800 text-white text-lg  rounded-md px-4 py-2 text-center",onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.mutateAsync({data:{Amount:localStorage.getItem("totalCost"),TaxPayerName:null===c||void 0===c?void 0:c.name,order_id:localStorage.getItem("orderId")}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),children:null!==p&&void 0!==p&&p.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"Generate PRN"})})]}),"E000"===m&&(0,A.jsxs)("div",{className:"flex flex-col md:flex-row items-center space-x-2 bg-white rounded-2xl shadow-md p-8 mb-4",children:[(0,A.jsx)("div",{className:"",children:"Your PRN is"}),(0,A.jsx)("div",{className:"mr-4 text-green-500 font-black text-lg",children:g}),(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard.writeText(g),f(!0)},className:"flex flex-row items-center space-x-2 hover:text-green-400",children:[(0,A.jsx)(Th,{className:"h-4 w-auto"}),(0,A.jsx)("span",{className:"text-sm",children:d?"Copied":"Copy to clipboard"})]})})]}),"E000"===m&&(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white  w-full mb-6 shadow-md rounded-2xl p-8",children:(0,A.jsx)("div",{className:"flex-auto ",children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"my-4 font-black",children:"Please select a payment option below."}),(0,A.jsx)(IE,{})]})})})]})})})})},TE=function(e){return console.log(e),er.post("payments/gt/generate-payment-url",e)},DE=function(){var e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config;return pn().addNotification,Gi(),(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onError:function(e,t,n){},onSuccess:function(e){return e}},e),{},{mutationFn:TE}))}(),n=(0,t.useState)(),r=(0,B.Z)(n,2),o=r[0],i=r[1];return console.log(e.data),(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsxs)("div",{className:"",children:["For credit card payments, please note that all bank transactions are securely processed through"," ",(0,A.jsxs)("a",{href:"https://www.gtbank.co.ug/",target:"_blank",className:"text-red-500",children:[" ","Guaranty Trust Bank (Uganda) LTD"," "]}),', ensuring a reliable and protected payment experience. Once you click "Proceed to make Payment," you have confirmed your intent to finalize the transaction securely and efficiently.']}),e.isSuccess?(0,A.jsxs)("div",{className:"mt-4",children:[(0,A.jsx)("div",{className:"bg-orange-100 text-orange-600 p-4 rounded-2xl",children:"Please make sure to have your Visa card details ready before proceeding from this point. If you have any questions or concerns, please don't hesitate to contact our customer support team."}),(0,A.jsx)(w,{onClick:function(){var t,n,r;window.location.href=null===(t=e.data)||void 0===t||null===(n=t.payment_url)||void 0===n||null===(r=n.original)||void 0===r?void 0:r.secureURL,i(!0)},className:"my-3 text-sm",children:o?"Please wait...":"Pay Now"})]}):(0,A.jsx)("div",{className:"space-y-2",children:(0,A.jsx)(w,{onClick:(0,re.Z)((0,ne.Z)().mark((function t(){return(0,ne.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mutateAsync({order_id:"orderId"});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),isLoading:e.isLoading,className:"my-3 text-sm",children:"Proceed To Make Payment"})})]})})},QE=function(){return(0,A.jsx)("div",{className:"space-y-8",children:(0,A.jsxs)("div",{className:"md:w-1/2 mx-auto text-lg",children:[(0,A.jsx)("p",{children:"Please enter the following codes in your phone"}),(0,A.jsxs)("ul",{className:"my-4",children:[(0,A.jsx)("li",{children:"Dial *165# MTN Mobile Money Menu"}),(0,A.jsx)("li",{children:"Select 4 Payments"}),(0,A.jsx)("li",{children:"Select 4 Goods and Services"})]})]})})},UE=function(){var e=t.useState("Mobile money"),n=(0,B.Z)(e,2),r=n[0],o=n[1],i=Gi();return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{children:(0,A.jsxs)("ul",{className:"flex space-x-2 justify-start mb-2 list-none flex-row",children:[(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-md rounded-md px-4 py-2 ".concat("Mobile money"===r?" bg-green-100  text-green-500":"text-gray-500 border border-gray-200"),onClick:function(e){e.preventDefault(),o("Mobile money")},children:"Mobile Money"})}),(0,A.jsx)("li",{className:"",children:(0,A.jsx)("button",{className:"text-md rounded-md px-4 py-2 ".concat("Visa"===r?" bg-green-100  text-green-500":"text-gray-500 border border-gray-200"),onClick:function(e){e.preventDefault(),o("Visa")},children:"Visa"})})]})}),(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white w-full mb-6  rounded ",children:(0,A.jsx)("div",{className:"py-5 flex-auto",children:"Visa"===r?(0,A.jsx)(DE,{}):"Mobile money"===r?(0,A.jsx)(QE,{}):" "})}),(0,A.jsx)("div",{className:"mt-5 mb-5 flex justify-end items-center",children:(0,A.jsx)(w,{onClick:function(){return i("/receipt")},className:"bg-green-500 mx-4 text-white px-5 py-2 font-extrabold rounded",children:"Preview Invoice"})})]})},ME=function(e){var t=e.data;return er.post("evaluation/generate-prn",t)},RE=function(){var e,n,r,o,i,a,c=(0,t.useState)(!1),l=(0,B.Z)(c,2),u=l[0],d=l[1],f=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(e){return localStorage.removeItem("totalCost"),localStorage.removeItem("evaluation_id"),t({type:"success",title:"PRN has been generated"}),e}},e),{},{mutationFn:ME}))}(),h=null===f||void 0===f||null===(e=f.data)||void 0===e||null===(n=e.GetPRNResponse)||void 0===n||null===(r=n.GetPRNResult)||void 0===r?void 0:r.ErrorCode,p=null===f||void 0===f||null===(o=f.data)||void 0===o||null===(i=o.GetPRNResponse)||void 0===i||null===(a=i.GetPRNResult)||void 0===a?void 0:a.PRN;return(0,A.jsxs)(cm,{children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 mb-4 py-4 shadow-md rounded-2xl bg-white flex justify-start space-x-2 items-center uppercase text-sm font-bold text-gray-800",children:[(0,A.jsx)(fa,{to:"/",className:"",children:"Home"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)(fa,{to:"/services/book-evaluation",className:"text-gray-400 ",children:"Book Evaluation"}),(0,A.jsx)(uv,{size:14}),(0,A.jsx)("div",{className:"text-gray-400 ",children:"Pay Evaluation Fee"})]}),(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flex flex-wrap",children:(0,A.jsxs)("div",{className:"w-screen md:w-full",children:[(0,A.jsxs)("div",{className:"bg-white p-4 md:p-8 shadow-md rounded-2xl mb-4",children:[(0,A.jsx)("div",{className:"font-bold text-lg mb-4",children:"Pay Evaluation Fee"}),(0,A.jsx)("div",{className:"mb-4",children:"In order to evaluate your book, please proceed and generate a PRN (Payment Reference Number) which is used to process payments with URA."}),void 0===h&&(0,A.jsx)(w,{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.mutateAsync({data:{amount:localStorage.getItem("evaluationAmount"),evaluation_id:localStorage.getItem("evaluation_id")}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),isLoading:f.isLoading,children:(0,A.jsx)("span",{children:"Generate PRN Now"})})]}),"E000"===h&&(0,A.jsxs)("div",{className:"flex flex-col md:flex-row items-center space-x-2 bg-white rounded-2xl shadow-md p-8 mb-4",children:[(0,A.jsx)("div",{className:"",children:"Your PRN is"}),(0,A.jsx)("div",{className:"mr-4 text-green-500 font-black text-lg",children:p}),(0,A.jsx)("div",{className:"",children:(0,A.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard.writeText(p),d(!0)},className:"flex flex-row items-center space-x-2 hover:text-green-400",children:[(0,A.jsx)(Th,{className:"h-4 w-auto"}),(0,A.jsx)("span",{className:"text-sm",children:u?"Copied":"Copy to clipboard"})]})})]}),"E000"===h&&(0,A.jsx)("div",{className:"flex flex-col min-w-0 break-words bg-white  w-full mb-6 shadow-md rounded-2xl p-8",children:(0,A.jsx)("div",{className:"flex-auto ",children:(0,A.jsxs)("div",{className:"",children:[(0,A.jsx)("div",{className:"my-4 font-black",children:"Please select a payment option below."}),(0,A.jsx)(UE,{})]})})})]})})})]})},$E=function(e){var t=e.data;return er.post("/carts",t)},HE=function(e){var t=e.productId,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("carts");case 2:return n=Ac.getQueryData("carts"),Ac.setQueryData("carts",[].concat((0,x.Z)(n||[]),[t.productId])),e.abrupt("return",{previousCartItems:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousCartItems&&Ac.setQueryData("carts",n.previousCartItems)},onSuccess:function(e){Ac.invalidateQueries("carts"),t({type:"success",title:e.message})}},e),{},{mutationFn:$E}))}();return(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync({data:{product_id:t,quantity:1}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:"px-4 py-2 rounded-lg shadow-sm bg-green-500 text-white font-bold",children:n.isLoading?(0,A.jsx)(h,{}):(0,A.jsx)("span",{children:"Add to Cart"})})},qE=function(e){var t=e.wishlistItemId;return er.post("/wishlist-items/".concat(t,"?_method=DELETE"))},KE=function(e){var t=e.wishlistItemId,n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onMutate:function(){var e=(0,re.Z)((0,ne.Z)().mark((function e(t){var n;return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ac.cancelQueries("wishlistItem");case 2:return n=Ac.getQueryData("wishlistItem"),Ac.setQueryData("wishlistItem",null===n||void 0===n?void 0:n.filter((function(e){return e.id!==t.wishlistItemId}))),e.abrupt("return",{previousWishlistItem:n});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),onError:function(e,t,n){null!==n&&void 0!==n&&n.previousWishlistItem&&Ac.setQueryData("wishlistItem",n.previousWishlistItem)},onSuccess:function(){Ac.invalidateQueries("wishlistItem"),Ac.invalidateQueries("wishlist"),t({type:"success",title:"Item removed from wishlist"})}},e),{},{mutationFn:qE}))}();return(0,A.jsx)("button",{onClick:(0,re.Z)((0,ne.Z)().mark((function e(){return(0,ne.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.mutateAsync({wishlistItemId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),className:"",children:n.isLoading?(0,A.jsx)(h,{}):(0,A.jsxs)("div",{className:"flex text-green-500 rounded-lg shadow-sm border border-green-500 font-extrabold px-5 py-1.5",children:[(0,A.jsx)(kp,{className:"text-xl "}),(0,A.jsx)("span",{children:"Remove"})]})})},VE=function(){var e,t,n,r,o=jp();return(0,A.jsxs)("div",{className:"bg-white shadow rounded-2xl mt-2",children:[null===o||void 0===o||null===(e=o.data)||void 0===e||null===(t=e.wishlistItems)||void 0===t?void 0:t.map((function(e,t){var n,r,o,i,a,s,c,l,u,d,f,h;return(0,A.jsxs)("div",{className:"shadow-lg rounded-lg md:rounded-2xl my-4 w-full md:h-44 bg-white",children:[(0,A.jsxs)("div",{className:"flex",children:[(0,A.jsx)("div",{className:"w-4/12 md:w-2/12 md:h-full",children:(0,A.jsx)("img",{src:null===(null===(n=e.product)||void 0===n?void 0:n.image)?Vp:Vn+"/products/"+(null===(r=e.product)||void 0===r||null===(o=r.image)||void 0===o?void 0:o.location),alt:"...",className:"object-cover h-36 w-full md:h-44 rounded-tl-lg md:rounded-bl-2xl md:rounded-tl-2xl",loading:"lazy"})}),(0,A.jsx)("div",{className:"w-8/12 md:w-10/12",children:(0,A.jsxs)("div",{className:"flex flex-col md:flex-row justify-between py-2 px-5",children:[(0,A.jsxs)("div",{className:"py-4 space-y-4",children:[(0,A.jsx)(fa,{to:"/products/".concat(null===(i=e.product)||void 0===i?void 0:i.slug),children:(0,A.jsx)("h1",{className:"font-extrabold text-lg",children:(null===(a=e.product)||void 0===a||null===(s=a.name)||void 0===s?void 0:s.length)>38?(null===(c=e.product)||void 0===c?void 0:c.name.slice(0,35))+"...":null===(l=e.product)||void 0===l?void 0:l.name})}),(0,A.jsx)("div",{className:"space-y-4",children:(0,A.jsxs)("span",{className:"font-extrabold uppercase text-lg text-red-700",children:["Ugx: ",null===(u=e.product)||void 0===u||null===(d=u.amount)||void 0===d?void 0:d.toLocaleString()]})})]}),(0,A.jsxs)("div",{className:"hidden md:flex md:flex-col space-x-2 md:space-x-0 md:space-y-8 py-4 items-end",children:[(0,A.jsx)("div",{children:(0,A.jsx)(HE,{productId:null===(f=e.product)||void 0===f?void 0:f.id})}),(0,A.jsx)("div",{children:(0,A.jsx)(KE,{wishlistItemId:null===e||void 0===e?void 0:e.id})})]})]})})]}),(0,A.jsxs)("div",{className:"flex md:hidden space-x-2 py-4 items-center justify-center",children:[(0,A.jsx)("div",{children:(0,A.jsx)(HE,{productId:null===(h=e.product)||void 0===h?void 0:h.id})}),(0,A.jsx)("div",{children:(0,A.jsx)(KE,{wishlistItemId:null===e||void 0===e?void 0:e.id})})]})]},t)})),o.isLoading&&[0,1].map((function(e){return(0,A.jsxs)("div",{className:"shadow-lg rounded-md my-4 w-full bg-white flex item-center my-8",children:[(0,A.jsx)("div",{className:"skeleton h-40 w-48"}),(0,A.jsxs)("div",{className:"w-full",children:[(0,A.jsx)("div",{className:"skeleton h-8 w-3/4 m-8"}),(0,A.jsx)("div",{className:"skeleton h-8 w-2/4 m-8"})]})]},e)})),(0,A.jsx)("div",{className:"No wishlist found"===(null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.message)||(null===o||void 0===o||null===(r=o.data)||void 0===r?void 0:r.wishlistItems.length)<1?"flex":"hidden",children:(0,A.jsxs)("div",{className:"mx-auto flex flex-col justify-center text-center my-12 font-bold h-48 space-y-6",children:[(0,A.jsx)("p",{className:"text-xl md:text-2xl",children:"Your Wishlist is empty"}),(0,A.jsx)("p",{children:"Check out our products to get the best deals"}),(0,A.jsx)(fa,{to:"/",children:(0,A.jsx)("button",{className:"py-2 px-4 bg-green-500 text-white rounded",children:"Go to products"})})]})})]})},zE=function(){return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[]),(0,A.jsxs)(cm,{page:"wishlist",children:[(0,A.jsxs)("div",{className:"md:mt-8 px-8 py-4 shadow-md rounded-2xl bg-white flex justify-between items-center",children:[(0,A.jsx)("div",{className:"font-bold text-md md:text-lg",children:"My Wishlist"}),(0,A.jsx)(_p,{className:"text-2xl cursor-pointer"})]}),(0,A.jsx)("div",{className:"",children:(0,A.jsx)("div",{className:"w-full",children:(0,A.jsx)("div",{className:"my-3",children:(0,A.jsx)(VE,{})})})})]})},ZE=[{path:"/wishlist",element:(0,A.jsx)(zE,{})},{path:"/profile",element:(0,A.jsx)(S_,{})},{path:"/profile/orders",element:(0,A.jsx)(I_,{})},{path:"/cart",element:(0,A.jsx)(hE,{})},{path:"/payment",element:(0,A.jsx)(BE,{})},{path:"/payment/failed",element:(0,A.jsx)(jE,{})},{path:"/payment/success",element:(0,A.jsx)(EE,{})},{path:"/order",element:(0,A.jsx)(vE,{})},{path:"/receipt",element:(0,A.jsx)(OE,{})},{path:"/profile/payments",element:(0,A.jsx)(iE,{})},{path:"/bid-payment",element:(0,A.jsx)(LE,{})},{path:"/evaluation-payment",element:(0,A.jsx)(RE,{})},{path:"/check-prn",element:(0,A.jsx)(T_,{})},{path:"/order-summary/:id",element:(0,A.jsx)(Q_,{})},{path:"/payment-slip/:id",element:(0,A.jsx)(rE,{})},{path:"*",element:(0,A.jsx)(Yg,{})}],GE=function(e){var t=e.data;return er.post("/reset-password",t)},WE=function(){var e=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).config,t=pn().addNotification;return(0,uc.useMutation)(s(s({onSuccess:function(){t({type:"success",title:"You have successfully reset your password."})}},e),{},{mutationFn:GE}))}(),t=Gi();return(0,A.jsxs)("div",{children:[(0,A.jsx)(Mo,{onSubmit:function(){var n=(0,re.Z)((0,ne.Z)().mark((function n(r){return(0,ne.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.mutateAsync({data:r});case 2:t("/auth/login");case 3:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),children:function(t){var n=t.register,r=t.formState;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)($o,{type:"number",placeholder:"Code",error:r.errors.code,registration:n("code")}),(0,A.jsx)($o,{type:"password",placeholder:"Password",error:r.errors.password,registration:n("password")}),(0,A.jsx)($o,{type:"password",placeholder:"Confirm Password",error:r.errors.password_confirmation,registration:n("password_confirmation")}),(0,A.jsx)("div",{children:(0,A.jsx)(w,{isLoading:e.isLoading,type:"submit",className:"w-full text-gray-g9",children:"Reset Password"})})]})}}),(0,A.jsx)("div",{className:"mt-2 flex items-center justify-center",children:(0,A.jsx)("div",{className:"text-sm",children:(0,A.jsx)(fa,{to:"/auth/login",className:"font-medium text-orange-o10 hover:text-blue-500",children:"Go to Login"})})})]})},YE=function(){return(0,A.jsx)(ul,{title:"Reset Password",children:(0,A.jsx)(WE,{})})},XE=[{path:"/auth/login",element:(0,A.jsx)(hl,{})},{path:"/auth/register",element:(0,A.jsx)(uh,{})},{path:"/auth/forgot-password",element:(0,A.jsx)(Al,{})},{path:"/auth/reset-password",element:(0,A.jsx)(YE,{})},{path:"*",element:(0,A.jsx)(Yg,{})}],JE=function(){var e=wh(),t=[{path:"/",element:(0,A.jsx)(Wg,{})},{path:"/search",element:(0,A.jsx)(e_,{})},{path:"/products/:slug",element:(0,A.jsx)(av,{})},{path:"/products/levels/:slug",element:(0,A.jsx)(Xw,{})},{path:"/categories/:slug",element:(0,A.jsx)(Yw,{})},{path:"/services/bids",element:(0,A.jsx)(n_,{})},{path:"/services/bids/:slug",element:(0,A.jsx)(u_,{})},{path:"/services/book-evaluation",element:(0,A.jsx)(g_,{})},{path:"/verify",element:(0,A.jsx)(jh,{})},{path:"/accounts/users/:username/verify/:code",element:(0,A.jsx)(C_,{})},{path:"/IPR",element:(0,A.jsx)(y_,{})},{path:"/dispute",element:(0,A.jsx)(b_,{})},{path:"/privacy-policy",element:(0,A.jsx)(w_,{})},{path:"/terms-conditions",element:(0,A.jsx)(__,{})},{path:"/buy-guide",element:(0,A.jsx)(x_,{})}],n=e.user?ZE:XE,r=Xi([].concat((0,x.Z)(n),t));return(0,A.jsx)(A.Fragment,{children:r})};var ej=function(){return(0,A.jsx)(Ch,{children:(0,A.jsx)(JE,{})})},tj=function(e){e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((function(t){var n=t.getCLS,r=t.getFID,o=t.getFCP,i=t.getLCP,a=t.getTTFB;n(e),r(e),o(e),i(e),a(e)}))};n(977);o.createRoot(document.getElementById("root")).render((0,A.jsx)(t.StrictMode,{children:(0,A.jsx)(ej,{})})),tj()}()}();
//# sourceMappingURL=main.b7ac11a4.js.map